@sunbird-cb/collection 1.0.9 → 1.0.12
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 +68 -241
- 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/_common/user-content-rating/user-content-rating.component.js +3 -10
- package/esm2015/lib/_services/search-serv.service.js +2 -17
- package/esm2015/lib/btn-call/btn-call-dialog/btn-call-dialog.component.js +3 -12
- package/esm2015/lib/btn-call/btn-call.component.js +3 -10
- package/esm2015/lib/btn-content-download/btn-content-download.component.js +3 -15
- package/esm2015/lib/btn-content-like/btn-content-like.component.js +2 -5
- package/esm2015/lib/btn-content-mail-me/btn-content-mail-me.component.js +3 -10
- package/esm2015/lib/btn-content-share/btn-content-share-dialog/btn-content-share-dialog.component.js +3 -13
- package/esm2015/lib/btn-feature/btn-feature.component.js +3 -9
- package/esm2015/lib/btn-follow/btn-follow.service.js +4 -29
- package/esm2015/lib/btn-goals/btn-goals-selection/btn-goals-selection.component.js +4 -12
- package/esm2015/lib/btn-mail-user/btn-mail-user-dialog/btn-mail-user-dialog.component.js +2 -10
- package/esm2015/lib/btn-mail-user/btn-mail-user.component.js +3 -10
- package/esm2015/lib/btn-playlist/btn-playlist-selection/btn-playlist-selection.component.js +4 -12
- package/esm2015/lib/btn-profile/btn-profile.component.js +2 -7
- package/esm2015/lib/card-breadcrumb/card-breadcrumb.component.js +4 -13
- package/esm2015/lib/card-content/card-content.component.js +3 -11
- package/esm2015/lib/card-knowledge/card-knowledge.component.js +3 -10
- package/esm2015/lib/card-network/card-network.service.js +4 -4
- package/esm2015/lib/player-pdf/player-pdf.component.js +3 -7
- package/esm2015/lib/player-video/player-video.component.js +2 -2
- package/esm2015/lib/sliders/sliders.component.js +4 -15
- package/esm2015/lib/sliders-mob/sliders-mob.component.js +4 -15
- package/esm2015/lib/ui-admin-table/create-department.services.js +66 -0
- package/esm2015/lib/ui-admin-table/user-list/ui-admin-user-table.component.js +8 -8
- package/esm2015/lib/ui-org-table/user-list/org-user-table.component.js +8 -2
- package/esm2015/sunbird-cb-collection.js +2 -2
- package/esm5/lib/_common/user-content-rating/user-content-rating.component.js +3 -10
- package/esm5/lib/_services/search-serv.service.js +2 -17
- package/esm5/lib/btn-call/btn-call-dialog/btn-call-dialog.component.js +3 -12
- package/esm5/lib/btn-call/btn-call.component.js +3 -10
- package/esm5/lib/btn-content-download/btn-content-download.component.js +3 -15
- package/esm5/lib/btn-content-like/btn-content-like.component.js +2 -5
- package/esm5/lib/btn-content-mail-me/btn-content-mail-me.component.js +3 -10
- package/esm5/lib/btn-content-share/btn-content-share-dialog/btn-content-share-dialog.component.js +3 -13
- package/esm5/lib/btn-feature/btn-feature.component.js +3 -9
- package/esm5/lib/btn-follow/btn-follow.service.js +4 -29
- package/esm5/lib/btn-goals/btn-goals-selection/btn-goals-selection.component.js +4 -12
- package/esm5/lib/btn-mail-user/btn-mail-user-dialog/btn-mail-user-dialog.component.js +2 -10
- package/esm5/lib/btn-mail-user/btn-mail-user.component.js +3 -10
- package/esm5/lib/btn-playlist/btn-playlist-selection/btn-playlist-selection.component.js +4 -12
- package/esm5/lib/btn-profile/btn-profile.component.js +2 -7
- package/esm5/lib/card-breadcrumb/card-breadcrumb.component.js +5 -15
- package/esm5/lib/card-content/card-content.component.js +3 -11
- package/esm5/lib/card-knowledge/card-knowledge.component.js +3 -10
- package/esm5/lib/card-network/card-network.service.js +4 -4
- package/esm5/lib/player-pdf/player-pdf.component.js +3 -7
- package/esm5/lib/player-video/player-video.component.js +2 -2
- package/esm5/lib/sliders/sliders.component.js +4 -15
- package/esm5/lib/sliders-mob/sliders-mob.component.js +4 -15
- package/esm5/lib/ui-admin-table/create-department.services.js +68 -0
- package/esm5/lib/ui-admin-table/user-list/ui-admin-user-table.component.js +8 -8
- package/esm5/lib/ui-org-table/user-list/org-user-table.component.js +8 -2
- package/esm5/sunbird-cb-collection.js +2 -2
- package/fesm2015/sunbird-cb-collection.js +59 -231
- package/fesm2015/sunbird-cb-collection.js.map +1 -1
- package/fesm5/sunbird-cb-collection.js +66 -239
- package/fesm5/sunbird-cb-collection.js.map +1 -1
- package/lib/_common/user-content-rating/user-content-rating.component.d.ts +2 -3
- package/lib/_services/search-serv.service.d.ts +1 -1
- package/lib/btn-call/btn-call-dialog/btn-call-dialog.component.d.ts +2 -4
- package/lib/btn-call/btn-call.component.d.ts +2 -3
- package/lib/btn-content-download/btn-content-download.component.d.ts +2 -5
- package/lib/btn-content-like/btn-content-like.component.d.ts +1 -1
- package/lib/btn-content-mail-me/btn-content-mail-me.component.d.ts +2 -3
- package/lib/btn-content-share/btn-content-share-dialog/btn-content-share-dialog.component.d.ts +2 -4
- package/lib/btn-feature/btn-feature.component.d.ts +2 -3
- package/lib/btn-follow/btn-follow.service.d.ts +2 -4
- package/lib/btn-goals/btn-goals-selection/btn-goals-selection.component.d.ts +3 -4
- package/lib/btn-mail-user/btn-mail-user-dialog/btn-mail-user-dialog.component.d.ts +1 -3
- package/lib/btn-mail-user/btn-mail-user.component.d.ts +2 -3
- package/lib/btn-playlist/btn-playlist-selection/btn-playlist-selection.component.d.ts +3 -4
- package/lib/card-breadcrumb/card-breadcrumb.component.d.ts +2 -4
- package/lib/card-content/card-content.component.d.ts +2 -3
- package/lib/card-knowledge/card-knowledge.component.d.ts +2 -3
- package/lib/card-network/card-network.service.d.ts +1 -1
- package/lib/player-pdf/player-pdf.component.d.ts +1 -1
- package/lib/sliders/sliders.component.d.ts +2 -4
- package/lib/sliders-mob/sliders-mob.component.d.ts +2 -4
- package/lib/ui-admin-table/{create-mdo.services.d.ts → create-department.services.d.ts} +1 -1
- package/lib/ui-admin-table/user-list/ui-admin-user-table.component.d.ts +3 -3
- package/lib/ui-org-table/user-list/org-user-table.component.d.ts +2 -0
- package/package.json +1 -1
- package/sunbird-cb-collection.d.ts +1 -1
- package/sunbird-cb-collection.metadata.json +1 -1
- package/esm2015/lib/ui-admin-table/create-mdo.services.js +0 -66
- package/esm5/lib/ui-admin-table/create-mdo.services.js +0 -68
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@sunbird-cb/resolver'), require('@angular/router'), require('@angular/material'), require('@sunbird-cb/utils'), require('rxjs'), require('@angular/common/http'), require('rxjs/operators'), require('@angular/cdk/tree'), require('@angular/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@sunbird-cb/collection', ['exports', '@angular/core', '@angular/common', '@sunbird-cb/resolver', '@angular/router', '@angular/material', '@sunbird-cb/utils', 'rxjs', '@angular/common/http', 'rxjs/operators', '@angular/cdk/tree', '@angular/
|
|
4
|
-
(global = global || self, factory((global['sunbird-cb'] = global['sunbird-cb'] || {}, global['sunbird-cb'].collection = {}), global.ng.core, global.ng.common, global['@sunbird-cb/resolver'], global.ng.router, global.ng.material, global['@sunbird-cb/utils'], global.rxjs, global.ng.common.http, global.rxjs.operators, global.ng.cdk.tree, global.ng.
|
|
5
|
-
}(this, (function (exports, core, common, resolver, router, material, utils, rxjs, http, operators, tree,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@sunbird-cb/resolver'), require('@angular/router'), require('@angular/material'), require('@sunbird-cb/utils'), require('rxjs'), require('@angular/common/http'), require('rxjs/operators'), require('@angular/cdk/tree'), require('@angular/forms'), require('ngx-quill'), require('@angular/cdk/keycodes'), require('@angular/platform-browser'), require('@angular/material/snack-bar'), require('@angular/material/dialog'), require('@angular/animations'), require('@angular/material/grid-list'), require('@angular/material/progress-bar'), require('@angular/material/tooltip'), require('@angular/cdk/collections'), require('lodash'), require('moment'), require('mustache'), require('chart.js'), require('@angular/material/radio'), require('keycloak-angular'), require('video.js'), require('videojs-youtube'), require('videojs-contrib-quality-levels'), require('videojs-hls-quality-selector'), require('videojs-vr'), require('pdfjs-dist/webpack'), require('@angular/cdk/layout'), require('hammerjs'), require('@angular/cdk/platform'), require('@angular/material/table'), require('@angular/material/sort'), require('@angular/material/icon'), require('@angular/material/menu'), require('@angular/material/paginator'), require('@angular/material/button')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@sunbird-cb/collection', ['exports', '@angular/core', '@angular/common', '@sunbird-cb/resolver', '@angular/router', '@angular/material', '@sunbird-cb/utils', 'rxjs', '@angular/common/http', 'rxjs/operators', '@angular/cdk/tree', '@angular/forms', 'ngx-quill', '@angular/cdk/keycodes', '@angular/platform-browser', '@angular/material/snack-bar', '@angular/material/dialog', '@angular/animations', '@angular/material/grid-list', '@angular/material/progress-bar', '@angular/material/tooltip', '@angular/cdk/collections', 'lodash', 'moment', 'mustache', 'chart.js', '@angular/material/radio', 'keycloak-angular', 'video.js', 'videojs-youtube', 'videojs-contrib-quality-levels', 'videojs-hls-quality-selector', 'videojs-vr', 'pdfjs-dist/webpack', '@angular/cdk/layout', 'hammerjs', '@angular/cdk/platform', '@angular/material/table', '@angular/material/sort', '@angular/material/icon', '@angular/material/menu', '@angular/material/paginator', '@angular/material/button'], factory) :
|
|
4
|
+
(global = global || self, factory((global['sunbird-cb'] = global['sunbird-cb'] || {}, global['sunbird-cb'].collection = {}), global.ng.core, global.ng.common, global['@sunbird-cb/resolver'], global.ng.router, global.ng.material, global['@sunbird-cb/utils'], global.rxjs, global.ng.common.http, global.rxjs.operators, global.ng.cdk.tree, global.ng.forms, global['ngx-quill'], global.ng.cdk.keycodes, global.ng.platformBrowser, global.ng.material['snack-bar'], global.ng.material.dialog, global.ng.animations, global.ng.material['grid-list'], global.ng.material['progress-bar'], global.ng.material.tooltip, global.ng.cdk.collections, global.lodash, global.moment, global.mustache, global.chart.js, global.ng.material.radio, global.keycloakAngular, global.video.js, null, null, null, null, global['pdfjs-dist/webpack'], global.ng.cdk.layout, global.hammerjs, global.ng.cdk.platform, global.ng.material.table, global.ng.material.sort, global.ng.material.icon, global.ng.material.menu, global.ng.material.paginator, global.ng.material.button));
|
|
5
|
+
}(this, (function (exports, core, common, resolver, router, material, utils, rxjs, http, operators, tree, forms, ngxQuill, keycodes, platformBrowser, snackBar, dialog, animations, gridList, progressBar, tooltip, collections, ___default, _rollupMoment__default, mustache, chart_js, radio, keycloakAngular, videoJs, videojsYoutube, videojsContribQualityLevels, videojsHlsQualitySelector, videojsVr, webpack, layout, Hammer, platform, table, sort, icon, menu, paginator, button) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var ___default__default = 'default' in ___default ? ___default['default'] : ___default;
|
|
8
8
|
var _rollupMoment__default__default = 'default' in _rollupMoment__default ? _rollupMoment__default['default'] : _rollupMoment__default;
|
|
@@ -773,9 +773,8 @@
|
|
|
773
773
|
IWidgetBtnCallDialogData.prototype.phone;
|
|
774
774
|
}
|
|
775
775
|
var BtnCallDialogComponent = (function () {
|
|
776
|
-
function BtnCallDialogComponent(snackBar,
|
|
776
|
+
function BtnCallDialogComponent(snackBar, data) {
|
|
777
777
|
this.snackBar = snackBar;
|
|
778
|
-
this.events = events;
|
|
779
778
|
this.data = data;
|
|
780
779
|
}
|
|
781
780
|
BtnCallDialogComponent.prototype.ngOnInit = function () {
|
|
@@ -789,13 +788,8 @@
|
|
|
789
788
|
document.execCommand('copy');
|
|
790
789
|
document.body.removeChild(textArea);
|
|
791
790
|
this.snackBar.open(this.data.phone + " : " + successMsg, 'X');
|
|
792
|
-
this.raiseTelemetry('copyToClipboard');
|
|
793
791
|
};
|
|
794
|
-
BtnCallDialogComponent.prototype.raiseTelemetry = function (
|
|
795
|
-
this.events.raiseInteractTelemetry('call', subType, {
|
|
796
|
-
name: this.data.name,
|
|
797
|
-
phone: this.data.phone,
|
|
798
|
-
});
|
|
792
|
+
BtnCallDialogComponent.prototype.raiseTelemetry = function (_subType) {
|
|
799
793
|
};
|
|
800
794
|
BtnCallDialogComponent.decorators = [
|
|
801
795
|
{ type: core.Component, args: [{
|
|
@@ -806,14 +800,12 @@
|
|
|
806
800
|
];
|
|
807
801
|
BtnCallDialogComponent.ctorParameters = function () { return [
|
|
808
802
|
{ type: material.MatSnackBar },
|
|
809
|
-
{ type: utils.EventService },
|
|
810
803
|
{ type: undefined, decorators: [{ type: core.Inject, args: [material.MAT_DIALOG_DATA,] }] }
|
|
811
804
|
]; };
|
|
812
805
|
return BtnCallDialogComponent;
|
|
813
806
|
}());
|
|
814
807
|
if (false) {
|
|
815
808
|
BtnCallDialogComponent.prototype.snackBar;
|
|
816
|
-
BtnCallDialogComponent.prototype.events;
|
|
817
809
|
BtnCallDialogComponent.prototype.data;
|
|
818
810
|
}
|
|
819
811
|
|
|
@@ -825,9 +817,8 @@
|
|
|
825
817
|
}
|
|
826
818
|
var BtnCallComponent = (function (_super) {
|
|
827
819
|
__extends(BtnCallComponent, _super);
|
|
828
|
-
function BtnCallComponent(
|
|
820
|
+
function BtnCallComponent(dialog, configSvc) {
|
|
829
821
|
var _this = _super.call(this) || this;
|
|
830
|
-
_this.events = events;
|
|
831
822
|
_this.dialog = dialog;
|
|
832
823
|
_this.configSvc = configSvc;
|
|
833
824
|
_this.isCallEnabled = false;
|
|
@@ -848,10 +839,6 @@
|
|
|
848
839
|
});
|
|
849
840
|
};
|
|
850
841
|
BtnCallComponent.prototype.raiseTelemetry = function () {
|
|
851
|
-
this.events.raiseInteractTelemetry('call', 'openDialog', {
|
|
852
|
-
name: this.widgetData.userName,
|
|
853
|
-
phone: this.widgetData.userPhone,
|
|
854
|
-
});
|
|
855
842
|
};
|
|
856
843
|
BtnCallComponent.decorators = [
|
|
857
844
|
{ type: core.Component, args: [{
|
|
@@ -861,7 +848,6 @@
|
|
|
861
848
|
}] }
|
|
862
849
|
];
|
|
863
850
|
BtnCallComponent.ctorParameters = function () { return [
|
|
864
|
-
{ type: utils.EventService },
|
|
865
851
|
{ type: material.MatDialog },
|
|
866
852
|
{ type: utils.ConfigurationsService }
|
|
867
853
|
]; };
|
|
@@ -873,7 +859,6 @@
|
|
|
873
859
|
if (false) {
|
|
874
860
|
BtnCallComponent.prototype.widgetData;
|
|
875
861
|
BtnCallComponent.prototype.isCallEnabled;
|
|
876
|
-
BtnCallComponent.prototype.events;
|
|
877
862
|
BtnCallComponent.prototype.dialog;
|
|
878
863
|
BtnCallComponent.prototype.configSvc;
|
|
879
864
|
}
|
|
@@ -1679,10 +1664,8 @@
|
|
|
1679
1664
|
}
|
|
1680
1665
|
var BtnContentDownloadComponent = (function (_super) {
|
|
1681
1666
|
__extends(BtnContentDownloadComponent, _super);
|
|
1682
|
-
function BtnContentDownloadComponent(
|
|
1667
|
+
function BtnContentDownloadComponent(configSvc) {
|
|
1683
1668
|
var _this = _super.call(this) || this;
|
|
1684
|
-
_this.platform = platform;
|
|
1685
|
-
_this.events = events;
|
|
1686
1669
|
_this.configSvc = configSvc;
|
|
1687
1670
|
_this.forPreview = false;
|
|
1688
1671
|
_this.id = 'download-content';
|
|
@@ -1732,11 +1715,6 @@
|
|
|
1732
1715
|
}
|
|
1733
1716
|
};
|
|
1734
1717
|
BtnContentDownloadComponent.prototype.raiseTelemetry = function () {
|
|
1735
|
-
this.events.raiseInteractTelemetry('download', 'content', {
|
|
1736
|
-
platform: this.platform,
|
|
1737
|
-
contentId: this.widgetData.identifier,
|
|
1738
|
-
contentType: this.widgetData.contentType,
|
|
1739
|
-
});
|
|
1740
1718
|
};
|
|
1741
1719
|
BtnContentDownloadComponent.decorators = [
|
|
1742
1720
|
{ type: core.Component, args: [{
|
|
@@ -1746,8 +1724,6 @@
|
|
|
1746
1724
|
}] }
|
|
1747
1725
|
];
|
|
1748
1726
|
BtnContentDownloadComponent.ctorParameters = function () { return [
|
|
1749
|
-
{ type: platform.Platform },
|
|
1750
|
-
{ type: utils.EventService },
|
|
1751
1727
|
{ type: utils.ConfigurationsService }
|
|
1752
1728
|
]; };
|
|
1753
1729
|
BtnContentDownloadComponent.propDecorators = {
|
|
@@ -1762,8 +1738,6 @@
|
|
|
1762
1738
|
BtnContentDownloadComponent.prototype.forPreview;
|
|
1763
1739
|
BtnContentDownloadComponent.prototype.id;
|
|
1764
1740
|
BtnContentDownloadComponent.prototype.downloadable;
|
|
1765
|
-
BtnContentDownloadComponent.prototype.platform;
|
|
1766
|
-
BtnContentDownloadComponent.prototype.events;
|
|
1767
1741
|
BtnContentDownloadComponent.prototype.configSvc;
|
|
1768
1742
|
}
|
|
1769
1743
|
|
|
@@ -2724,10 +2698,7 @@
|
|
|
2724
2698
|
this.status = this.status === 'LIKED' ? 'NOT_LIKED' : 'LIKED';
|
|
2725
2699
|
}
|
|
2726
2700
|
};
|
|
2727
|
-
BtnContentLikeComponent.prototype.raiseTelemetry = function (
|
|
2728
|
-
this.events.raiseInteractTelemetry(action, 'content', {
|
|
2729
|
-
contentId: this.widgetData.identifier,
|
|
2730
|
-
});
|
|
2701
|
+
BtnContentLikeComponent.prototype.raiseTelemetry = function (_action) {
|
|
2731
2702
|
};
|
|
2732
2703
|
BtnContentLikeComponent.decorators = [
|
|
2733
2704
|
{ type: core.Component, args: [{
|
|
@@ -2944,9 +2915,8 @@
|
|
|
2944
2915
|
var VALID_CATEGORIES = new Set(['leave behind']);
|
|
2945
2916
|
var BtnContentMailMeComponent = (function (_super) {
|
|
2946
2917
|
__extends(BtnContentMailMeComponent, _super);
|
|
2947
|
-
function BtnContentMailMeComponent(
|
|
2918
|
+
function BtnContentMailMeComponent(dialog, snackBar, shareSvc, configSvc) {
|
|
2948
2919
|
var _this = _super.call(this) || this;
|
|
2949
|
-
_this.events = events;
|
|
2950
2920
|
_this.dialog = dialog;
|
|
2951
2921
|
_this.snackBar = snackBar;
|
|
2952
2922
|
_this.shareSvc = shareSvc;
|
|
@@ -2996,10 +2966,6 @@
|
|
|
2996
2966
|
.afterClosed()
|
|
2997
2967
|
.pipe(operators.switchMap((function (dialogResponse) {
|
|
2998
2968
|
if (dialogResponse && dialogResponse.send) {
|
|
2999
|
-
_this.events.raiseInteractTelemetry('mailMe', undefined, {
|
|
3000
|
-
contentId: _this.widgetData.identifier,
|
|
3001
|
-
contentType: _this.widgetData.contentType,
|
|
3002
|
-
});
|
|
3003
2969
|
return _this.shareSvc.shareContent(_this.widgetData, [], dialogResponse.mailBody, 'attachment').pipe(operators.map((function (_a) {
|
|
3004
2970
|
var response = _a.response;
|
|
3005
2971
|
return response === 'Success';
|
|
@@ -3028,7 +2994,6 @@
|
|
|
3028
2994
|
}] }
|
|
3029
2995
|
];
|
|
3030
2996
|
BtnContentMailMeComponent.ctorParameters = function () { return [
|
|
3031
|
-
{ type: utils.EventService },
|
|
3032
2997
|
{ type: material.MatDialog },
|
|
3033
2998
|
{ type: material.MatSnackBar },
|
|
3034
2999
|
{ type: WidgetContentShareService },
|
|
@@ -3042,7 +3007,6 @@
|
|
|
3042
3007
|
if (false) {
|
|
3043
3008
|
BtnContentMailMeComponent.prototype.widgetData;
|
|
3044
3009
|
BtnContentMailMeComponent.prototype.enabled;
|
|
3045
|
-
BtnContentMailMeComponent.prototype.events;
|
|
3046
3010
|
BtnContentMailMeComponent.prototype.dialog;
|
|
3047
3011
|
BtnContentMailMeComponent.prototype.snackBar;
|
|
3048
3012
|
BtnContentMailMeComponent.prototype.shareSvc;
|
|
@@ -3351,8 +3315,7 @@
|
|
|
3351
3315
|
IContentShareData.prototype.content;
|
|
3352
3316
|
}
|
|
3353
3317
|
var BtnContentShareDialogComponent = (function () {
|
|
3354
|
-
function BtnContentShareDialogComponent(
|
|
3355
|
-
this.events = events;
|
|
3318
|
+
function BtnContentShareDialogComponent(snackBar, dialogRef, data, shareSvc, configSvc) {
|
|
3356
3319
|
this.snackBar = snackBar;
|
|
3357
3320
|
this.dialogRef = dialogRef;
|
|
3358
3321
|
this.data = data;
|
|
@@ -3424,7 +3387,6 @@
|
|
|
3424
3387
|
BtnContentShareDialogComponent.prototype.contentShare = function (txtBody, successToast) {
|
|
3425
3388
|
var _this = this;
|
|
3426
3389
|
this.sendInProgress = true;
|
|
3427
|
-
this.raiseTelemetry();
|
|
3428
3390
|
var req = {
|
|
3429
3391
|
'event-id': 'share_content',
|
|
3430
3392
|
'tag-value-pair': {
|
|
@@ -3470,12 +3432,6 @@
|
|
|
3470
3432
|
enumerable: true,
|
|
3471
3433
|
configurable: true
|
|
3472
3434
|
});
|
|
3473
|
-
BtnContentShareDialogComponent.prototype.raiseTelemetry = function () {
|
|
3474
|
-
this.events.raiseInteractTelemetry('share', 'content', {
|
|
3475
|
-
contentId: this.data.content.identifier,
|
|
3476
|
-
contentType: this.data.content.contentType,
|
|
3477
|
-
});
|
|
3478
|
-
};
|
|
3479
3435
|
BtnContentShareDialogComponent.decorators = [
|
|
3480
3436
|
{ type: core.Component, args: [{
|
|
3481
3437
|
selector: 'ws-widget-btn-content-share-dialog',
|
|
@@ -3484,7 +3440,6 @@
|
|
|
3484
3440
|
}] }
|
|
3485
3441
|
];
|
|
3486
3442
|
BtnContentShareDialogComponent.ctorParameters = function () { return [
|
|
3487
|
-
{ type: utils.EventService },
|
|
3488
3443
|
{ type: material.MatSnackBar },
|
|
3489
3444
|
{ type: material.MatDialogRef },
|
|
3490
3445
|
{ type: undefined, decorators: [{ type: core.Inject, args: [material.MAT_DIALOG_DATA,] }] },
|
|
@@ -3501,7 +3456,6 @@
|
|
|
3501
3456
|
BtnContentShareDialogComponent.prototype.message;
|
|
3502
3457
|
BtnContentShareDialogComponent.prototype.isSocialMediaShareEnabled;
|
|
3503
3458
|
BtnContentShareDialogComponent.prototype.sendStatus;
|
|
3504
|
-
BtnContentShareDialogComponent.prototype.events;
|
|
3505
3459
|
BtnContentShareDialogComponent.prototype.snackBar;
|
|
3506
3460
|
BtnContentShareDialogComponent.prototype.dialogRef;
|
|
3507
3461
|
BtnContentShareDialogComponent.prototype.data;
|
|
@@ -4198,9 +4152,8 @@
|
|
|
4198
4152
|
};
|
|
4199
4153
|
var BtnFeatureComponent = (function (_super) {
|
|
4200
4154
|
__extends(BtnFeatureComponent, _super);
|
|
4201
|
-
function BtnFeatureComponent(
|
|
4155
|
+
function BtnFeatureComponent(configurationsSvc, btnFeatureSvc, router, mobileSvc, configSvc, tour) {
|
|
4202
4156
|
var _this = _super.call(this) || this;
|
|
4203
|
-
_this.events = events;
|
|
4204
4157
|
_this.configurationsSvc = configurationsSvc;
|
|
4205
4158
|
_this.btnFeatureSvc = btnFeatureSvc;
|
|
4206
4159
|
_this.router = router;
|
|
@@ -4304,9 +4257,6 @@
|
|
|
4304
4257
|
var _this = this;
|
|
4305
4258
|
event.preventDefault();
|
|
4306
4259
|
event.stopPropagation();
|
|
4307
|
-
this.events.raiseInteractTelemetry('pin', 'feature', {
|
|
4308
|
-
featureId: featureId,
|
|
4309
|
-
});
|
|
4310
4260
|
this.configurationsSvc.pinnedApps.pipe(operators.take(1)).subscribe((function (pinnedApps) {
|
|
4311
4261
|
var newPinnedApps = new Set(pinnedApps);
|
|
4312
4262
|
if (newPinnedApps.has(featureId)) {
|
|
@@ -4333,7 +4283,6 @@
|
|
|
4333
4283
|
}] }
|
|
4334
4284
|
];
|
|
4335
4285
|
BtnFeatureComponent.ctorParameters = function () { return [
|
|
4336
|
-
{ type: utils.EventService },
|
|
4337
4286
|
{ type: utils.ConfigurationsService },
|
|
4338
4287
|
{ type: BtnFeatureService },
|
|
4339
4288
|
{ type: router.Router },
|
|
@@ -4360,7 +4309,6 @@
|
|
|
4360
4309
|
BtnFeatureComponent.prototype.isPinFeatureAvailable;
|
|
4361
4310
|
BtnFeatureComponent.prototype.pinnedAppsChangeSubs;
|
|
4362
4311
|
BtnFeatureComponent.prototype.navigationSubs;
|
|
4363
|
-
BtnFeatureComponent.prototype.events;
|
|
4364
4312
|
BtnFeatureComponent.prototype.configurationsSvc;
|
|
4365
4313
|
BtnFeatureComponent.prototype.btnFeatureSvc;
|
|
4366
4314
|
BtnFeatureComponent.prototype.router;
|
|
@@ -4449,9 +4397,8 @@
|
|
|
4449
4397
|
getFollowing: '/apis/protected/v8/user/follow/getFollowing',
|
|
4450
4398
|
};
|
|
4451
4399
|
var BtnFollowService = (function () {
|
|
4452
|
-
function BtnFollowService(http,
|
|
4400
|
+
function BtnFollowService(http, configSvc) {
|
|
4453
4401
|
this.http = http;
|
|
4454
|
-
this.events = events;
|
|
4455
4402
|
this.configSvc = configSvc;
|
|
4456
4403
|
this.fetchStatus = 'none';
|
|
4457
4404
|
this.fetchingFollowing = true;
|
|
@@ -4504,7 +4451,6 @@
|
|
|
4504
4451
|
BtnFollowService.prototype.follow = function (targetId, type) {
|
|
4505
4452
|
var _this = this;
|
|
4506
4453
|
if (type === void 0) { type = 'Knowledge Board'; }
|
|
4507
|
-
this.raiseTelemetry(targetId, type, 'follow');
|
|
4508
4454
|
return this.http
|
|
4509
4455
|
.post(API_END_POINTS$5.follow, {
|
|
4510
4456
|
type: type,
|
|
@@ -4521,7 +4467,6 @@
|
|
|
4521
4467
|
BtnFollowService.prototype.unfollow = function (targetId, type) {
|
|
4522
4468
|
var _this = this;
|
|
4523
4469
|
if (type === void 0) { type = 'Knowledge Board'; }
|
|
4524
|
-
this.raiseTelemetry(targetId, type, 'unfollow');
|
|
4525
4470
|
return this.http
|
|
4526
4471
|
.post(API_END_POINTS$5.unfollow, {
|
|
4527
4472
|
type: type,
|
|
@@ -4539,26 +4484,6 @@
|
|
|
4539
4484
|
var url = "" + (API_END_POINTS$5.getFollowing + (type ? "?type=" + type : ''));
|
|
4540
4485
|
return this.http.get(url);
|
|
4541
4486
|
};
|
|
4542
|
-
BtnFollowService.prototype.raiseTelemetry = function (targetId, type, action) {
|
|
4543
|
-
this.events.dispatchEvent({
|
|
4544
|
-
eventType: utils.WsEvents.WsEventType.Telemetry,
|
|
4545
|
-
eventLogLevel: utils.WsEvents.WsEventLogLevel.Warn,
|
|
4546
|
-
data: {
|
|
4547
|
-
eventSubType: utils.WsEvents.EnumTelemetrySubType.Interact,
|
|
4548
|
-
type: action,
|
|
4549
|
-
subType: type,
|
|
4550
|
-
object: {
|
|
4551
|
-
id: targetId,
|
|
4552
|
-
},
|
|
4553
|
-
},
|
|
4554
|
-
from: {
|
|
4555
|
-
type: 'widget',
|
|
4556
|
-
widgetType: 'actionButton',
|
|
4557
|
-
widgetSubType: 'follow',
|
|
4558
|
-
},
|
|
4559
|
-
to: 'Telemetry',
|
|
4560
|
-
});
|
|
4561
|
-
};
|
|
4562
4487
|
BtnFollowService.decorators = [
|
|
4563
4488
|
{ type: core.Injectable, args: [{
|
|
4564
4489
|
providedIn: 'root',
|
|
@@ -4566,10 +4491,9 @@
|
|
|
4566
4491
|
];
|
|
4567
4492
|
BtnFollowService.ctorParameters = function () { return [
|
|
4568
4493
|
{ type: http.HttpClient },
|
|
4569
|
-
{ type: utils.EventService },
|
|
4570
4494
|
{ type: utils.ConfigurationsService }
|
|
4571
4495
|
]; };
|
|
4572
|
-
/** @nocollapse */ BtnFollowService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function BtnFollowService_Factory() { return new BtnFollowService(core.ɵɵinject(http.HttpClient), core.ɵɵinject(utils.
|
|
4496
|
+
/** @nocollapse */ BtnFollowService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function BtnFollowService_Factory() { return new BtnFollowService(core.ɵɵinject(http.HttpClient), core.ɵɵinject(utils.ConfigurationsService)); }, token: BtnFollowService, providedIn: "root" });
|
|
4573
4497
|
return BtnFollowService;
|
|
4574
4498
|
}());
|
|
4575
4499
|
if (false) {
|
|
@@ -4580,7 +4504,6 @@
|
|
|
4580
4504
|
BtnFollowService.prototype.followReplaySubject;
|
|
4581
4505
|
BtnFollowService.prototype.followedIds;
|
|
4582
4506
|
BtnFollowService.prototype.http;
|
|
4583
|
-
BtnFollowService.prototype.events;
|
|
4584
4507
|
BtnFollowService.prototype.configSvc;
|
|
4585
4508
|
}
|
|
4586
4509
|
|
|
@@ -5234,10 +5157,9 @@
|
|
|
5234
5157
|
}
|
|
5235
5158
|
|
|
5236
5159
|
var BtnGoalsSelectionComponent = (function () {
|
|
5237
|
-
function BtnGoalsSelectionComponent(snackBar, goalsSvc
|
|
5160
|
+
function BtnGoalsSelectionComponent(snackBar, goalsSvc) {
|
|
5238
5161
|
this.snackBar = snackBar;
|
|
5239
5162
|
this.goalsSvc = goalsSvc;
|
|
5240
|
-
this.eventSvc = eventSvc;
|
|
5241
5163
|
this.closeDialog = new core.EventEmitter();
|
|
5242
5164
|
this.fetchGoalStatus = 'none';
|
|
5243
5165
|
this.goals = null;
|
|
@@ -5294,11 +5216,7 @@
|
|
|
5294
5216
|
}));
|
|
5295
5217
|
}
|
|
5296
5218
|
};
|
|
5297
|
-
BtnGoalsSelectionComponent.prototype.raiseTelemetry = function (
|
|
5298
|
-
this.eventSvc.raiseInteractTelemetry('goal', "btn-goal-" + action, {
|
|
5299
|
-
goalId: goalId,
|
|
5300
|
-
contentId: contentId,
|
|
5301
|
-
});
|
|
5219
|
+
BtnGoalsSelectionComponent.prototype.raiseTelemetry = function (_action, _goalId, _contentId) {
|
|
5302
5220
|
};
|
|
5303
5221
|
BtnGoalsSelectionComponent.decorators = [
|
|
5304
5222
|
{ type: core.Component, args: [{
|
|
@@ -5309,8 +5227,7 @@
|
|
|
5309
5227
|
];
|
|
5310
5228
|
BtnGoalsSelectionComponent.ctorParameters = function () { return [
|
|
5311
5229
|
{ type: material.MatSnackBar },
|
|
5312
|
-
{ type: BtnGoalsService }
|
|
5313
|
-
{ type: utils.EventService }
|
|
5230
|
+
{ type: BtnGoalsService }
|
|
5314
5231
|
]; };
|
|
5315
5232
|
BtnGoalsSelectionComponent.propDecorators = {
|
|
5316
5233
|
contentId: [{ type: core.Input }],
|
|
@@ -5334,7 +5251,6 @@
|
|
|
5334
5251
|
BtnGoalsSelectionComponent.prototype.selectedGoals;
|
|
5335
5252
|
BtnGoalsSelectionComponent.prototype.snackBar;
|
|
5336
5253
|
BtnGoalsSelectionComponent.prototype.goalsSvc;
|
|
5337
|
-
BtnGoalsSelectionComponent.prototype.eventSvc;
|
|
5338
5254
|
}
|
|
5339
5255
|
|
|
5340
5256
|
var BtnGoalsModule = (function () {
|
|
@@ -6228,9 +6144,8 @@
|
|
|
6228
6144
|
}());
|
|
6229
6145
|
|
|
6230
6146
|
var BtnMailUserDialogComponent = (function () {
|
|
6231
|
-
function BtnMailUserDialogComponent(snackBar,
|
|
6147
|
+
function BtnMailUserDialogComponent(snackBar, shareSvc, dialogRef, data) {
|
|
6232
6148
|
this.snackBar = snackBar;
|
|
6233
|
-
this.events = events;
|
|
6234
6149
|
this.shareSvc = shareSvc;
|
|
6235
6150
|
this.dialogRef = dialogRef;
|
|
6236
6151
|
this.data = data;
|
|
@@ -6261,10 +6176,6 @@
|
|
|
6261
6176
|
}));
|
|
6262
6177
|
};
|
|
6263
6178
|
BtnMailUserDialogComponent.prototype.raiseTelemetry = function () {
|
|
6264
|
-
this.events.raiseInteractTelemetry('email', 'emailSME', {
|
|
6265
|
-
contentId: this.data.content.identifier,
|
|
6266
|
-
emails: this.data.emails,
|
|
6267
|
-
});
|
|
6268
6179
|
};
|
|
6269
6180
|
BtnMailUserDialogComponent.prototype.close = function () {
|
|
6270
6181
|
this.dialogRef.close();
|
|
@@ -6278,7 +6189,6 @@
|
|
|
6278
6189
|
];
|
|
6279
6190
|
BtnMailUserDialogComponent.ctorParameters = function () { return [
|
|
6280
6191
|
{ type: material.MatSnackBar },
|
|
6281
|
-
{ type: utils.EventService },
|
|
6282
6192
|
{ type: WidgetContentShareService },
|
|
6283
6193
|
{ type: material.MatDialogRef },
|
|
6284
6194
|
{ type: undefined, decorators: [{ type: core.Inject, args: [material.MAT_DIALOG_DATA,] }] }
|
|
@@ -6289,7 +6199,6 @@
|
|
|
6289
6199
|
BtnMailUserDialogComponent.prototype.mailSendInProgress;
|
|
6290
6200
|
BtnMailUserDialogComponent.prototype.sendStatus;
|
|
6291
6201
|
BtnMailUserDialogComponent.prototype.snackBar;
|
|
6292
|
-
BtnMailUserDialogComponent.prototype.events;
|
|
6293
6202
|
BtnMailUserDialogComponent.prototype.shareSvc;
|
|
6294
6203
|
BtnMailUserDialogComponent.prototype.dialogRef;
|
|
6295
6204
|
BtnMailUserDialogComponent.prototype.data;
|
|
@@ -6304,9 +6213,8 @@
|
|
|
6304
6213
|
}
|
|
6305
6214
|
var BtnMailUserComponent = (function (_super) {
|
|
6306
6215
|
__extends(BtnMailUserComponent, _super);
|
|
6307
|
-
function BtnMailUserComponent(
|
|
6216
|
+
function BtnMailUserComponent(dialog, configSvc) {
|
|
6308
6217
|
var _this = _super.call(this) || this;
|
|
6309
|
-
_this.events = events;
|
|
6310
6218
|
_this.dialog = dialog;
|
|
6311
6219
|
_this.configSvc = configSvc;
|
|
6312
6220
|
_this.isShareEnabled = false;
|
|
@@ -6327,10 +6235,6 @@
|
|
|
6327
6235
|
});
|
|
6328
6236
|
};
|
|
6329
6237
|
BtnMailUserComponent.prototype.raiseTelemetry = function () {
|
|
6330
|
-
this.events.raiseInteractTelemetry('email', 'openDialog', {
|
|
6331
|
-
contentId: this.widgetData.content.identifier,
|
|
6332
|
-
emails: this.widgetData.emails,
|
|
6333
|
-
});
|
|
6334
6238
|
};
|
|
6335
6239
|
BtnMailUserComponent.decorators = [
|
|
6336
6240
|
{ type: core.Component, args: [{
|
|
@@ -6340,7 +6244,6 @@
|
|
|
6340
6244
|
}] }
|
|
6341
6245
|
];
|
|
6342
6246
|
BtnMailUserComponent.ctorParameters = function () { return [
|
|
6343
|
-
{ type: utils.EventService },
|
|
6344
6247
|
{ type: material.MatDialog },
|
|
6345
6248
|
{ type: utils.ConfigurationsService }
|
|
6346
6249
|
]; };
|
|
@@ -6352,7 +6255,6 @@
|
|
|
6352
6255
|
if (false) {
|
|
6353
6256
|
BtnMailUserComponent.prototype.widgetData;
|
|
6354
6257
|
BtnMailUserComponent.prototype.isShareEnabled;
|
|
6355
|
-
BtnMailUserComponent.prototype.events;
|
|
6356
6258
|
BtnMailUserComponent.prototype.dialog;
|
|
6357
6259
|
BtnMailUserComponent.prototype.configSvc;
|
|
6358
6260
|
}
|
|
@@ -7437,10 +7339,9 @@
|
|
|
7437
7339
|
}
|
|
7438
7340
|
|
|
7439
7341
|
var BtnPlaylistSelectionComponent = (function () {
|
|
7440
|
-
function BtnPlaylistSelectionComponent(snackBar, playlistSvc
|
|
7342
|
+
function BtnPlaylistSelectionComponent(snackBar, playlistSvc) {
|
|
7441
7343
|
this.snackBar = snackBar;
|
|
7442
7344
|
this.playlistSvc = playlistSvc;
|
|
7443
|
-
this.eventSvc = eventSvc;
|
|
7444
7345
|
this.playlistCreateEvent = new core.EventEmitter();
|
|
7445
7346
|
this.fetchPlaylistStatus = 'none';
|
|
7446
7347
|
this.playlists = [];
|
|
@@ -7505,11 +7406,7 @@
|
|
|
7505
7406
|
_this.snackBar.open(errorToast, 'X');
|
|
7506
7407
|
}));
|
|
7507
7408
|
};
|
|
7508
|
-
BtnPlaylistSelectionComponent.prototype.raiseTelemetry = function (
|
|
7509
|
-
this.eventSvc.raiseInteractTelemetry('playlist', "btn-playlist-" + action, {
|
|
7510
|
-
playlistId: playlistId,
|
|
7511
|
-
contentId: contentId,
|
|
7512
|
-
});
|
|
7409
|
+
BtnPlaylistSelectionComponent.prototype.raiseTelemetry = function (_action, _playlistId, _contentId) {
|
|
7513
7410
|
};
|
|
7514
7411
|
BtnPlaylistSelectionComponent.decorators = [
|
|
7515
7412
|
{ type: core.Component, args: [{
|
|
@@ -7520,8 +7417,7 @@
|
|
|
7520
7417
|
];
|
|
7521
7418
|
BtnPlaylistSelectionComponent.ctorParameters = function () { return [
|
|
7522
7419
|
{ type: material.MatSnackBar },
|
|
7523
|
-
{ type: BtnPlaylistService }
|
|
7524
|
-
{ type: utils.EventService }
|
|
7420
|
+
{ type: BtnPlaylistService }
|
|
7525
7421
|
]; };
|
|
7526
7422
|
BtnPlaylistSelectionComponent.propDecorators = {
|
|
7527
7423
|
contentAddMessage: [{ type: core.ViewChild, args: ['contentAdd', { static: true },] }],
|
|
@@ -7547,7 +7443,6 @@
|
|
|
7547
7443
|
BtnPlaylistSelectionComponent.prototype.playlistNameFormControl;
|
|
7548
7444
|
BtnPlaylistSelectionComponent.prototype.snackBar;
|
|
7549
7445
|
BtnPlaylistSelectionComponent.prototype.playlistSvc;
|
|
7550
|
-
BtnPlaylistSelectionComponent.prototype.eventSvc;
|
|
7551
7446
|
}
|
|
7552
7447
|
|
|
7553
7448
|
var BtnPlaylistModule = (function () {
|
|
@@ -8300,10 +8195,8 @@
|
|
|
8300
8195
|
|
|
8301
8196
|
var CardBreadcrumbComponent = (function (_super) {
|
|
8302
8197
|
__extends(CardBreadcrumbComponent, _super);
|
|
8303
|
-
function CardBreadcrumbComponent(
|
|
8304
|
-
|
|
8305
|
-
_this.events = events;
|
|
8306
|
-
return _this;
|
|
8198
|
+
function CardBreadcrumbComponent() {
|
|
8199
|
+
return _super.call(this) || this;
|
|
8307
8200
|
}
|
|
8308
8201
|
CardBreadcrumbComponent.prototype.ngOnInit = function () { };
|
|
8309
8202
|
CardBreadcrumbComponent.prototype.encodeUrl = function (clickUrl) {
|
|
@@ -8318,11 +8211,7 @@
|
|
|
8318
8211
|
}
|
|
8319
8212
|
return null;
|
|
8320
8213
|
};
|
|
8321
|
-
CardBreadcrumbComponent.prototype.raiseTelemetry = function (
|
|
8322
|
-
this.events.raiseInteractTelemetry('click', 'breadcrumb', {
|
|
8323
|
-
clickedItem: clickedItem,
|
|
8324
|
-
path: this.widgetData.path,
|
|
8325
|
-
});
|
|
8214
|
+
CardBreadcrumbComponent.prototype.raiseTelemetry = function (_clickedItem) {
|
|
8326
8215
|
};
|
|
8327
8216
|
CardBreadcrumbComponent.decorators = [
|
|
8328
8217
|
{ type: core.Component, args: [{
|
|
@@ -8331,9 +8220,7 @@
|
|
|
8331
8220
|
styles: [".border-radius-zero{border-radius:0!important}"]
|
|
8332
8221
|
}] }
|
|
8333
8222
|
];
|
|
8334
|
-
CardBreadcrumbComponent.ctorParameters = function () { return [
|
|
8335
|
-
{ type: utils.EventService }
|
|
8336
|
-
]; };
|
|
8223
|
+
CardBreadcrumbComponent.ctorParameters = function () { return []; };
|
|
8337
8224
|
CardBreadcrumbComponent.propDecorators = {
|
|
8338
8225
|
widgetData: [{ type: core.Input }]
|
|
8339
8226
|
};
|
|
@@ -8341,7 +8228,6 @@
|
|
|
8341
8228
|
}(resolver.WidgetBaseComponent));
|
|
8342
8229
|
if (false) {
|
|
8343
8230
|
CardBreadcrumbComponent.prototype.widgetData;
|
|
8344
|
-
CardBreadcrumbComponent.prototype.events;
|
|
8345
8231
|
}
|
|
8346
8232
|
|
|
8347
8233
|
var CardBreadcrumbModule = (function () {
|
|
@@ -8727,9 +8613,8 @@
|
|
|
8727
8613
|
|
|
8728
8614
|
var CardContentComponent = (function (_super) {
|
|
8729
8615
|
__extends(CardContentComponent, _super);
|
|
8730
|
-
function CardContentComponent(
|
|
8616
|
+
function CardContentComponent(configSvc, utilitySvc, snackBar) {
|
|
8731
8617
|
var _this = _super.call(this) || this;
|
|
8732
|
-
_this.events = events;
|
|
8733
8618
|
_this.configSvc = configSvc;
|
|
8734
8619
|
_this.utilitySvc = utilitySvc;
|
|
8735
8620
|
_this.snackBar = snackBar;
|
|
@@ -8891,11 +8776,6 @@
|
|
|
8891
8776
|
configurable: true
|
|
8892
8777
|
});
|
|
8893
8778
|
CardContentComponent.prototype.raiseTelemetry = function () {
|
|
8894
|
-
this.events.raiseInteractTelemetry('click', this.widgetType + "-" + this.widgetSubType, {
|
|
8895
|
-
contentId: this.widgetData.content.identifier,
|
|
8896
|
-
contentType: this.widgetData.content.contentType,
|
|
8897
|
-
context: this.widgetData.context,
|
|
8898
|
-
});
|
|
8899
8779
|
};
|
|
8900
8780
|
Object.defineProperty(CardContentComponent.prototype, "isGreyedImage", {
|
|
8901
8781
|
get: function () {
|
|
@@ -8967,7 +8847,6 @@
|
|
|
8967
8847
|
}] }
|
|
8968
8848
|
];
|
|
8969
8849
|
CardContentComponent.ctorParameters = function () { return [
|
|
8970
|
-
{ type: utils.EventService },
|
|
8971
8850
|
{ type: utils.ConfigurationsService },
|
|
8972
8851
|
{ type: utils.UtilityService },
|
|
8973
8852
|
{ type: material.MatSnackBar }
|
|
@@ -8992,7 +8871,6 @@
|
|
|
8992
8871
|
CardContentComponent.prototype.prefChangeSubscription;
|
|
8993
8872
|
CardContentComponent.prototype.sourceLogos;
|
|
8994
8873
|
CardContentComponent.prototype.isIntranetAllowedSettings;
|
|
8995
|
-
CardContentComponent.prototype.events;
|
|
8996
8874
|
CardContentComponent.prototype.configSvc;
|
|
8997
8875
|
CardContentComponent.prototype.utilitySvc;
|
|
8998
8876
|
CardContentComponent.prototype.snackBar;
|
|
@@ -9051,8 +8929,7 @@
|
|
|
9051
8929
|
IKbCardData.prototype.actionBtns;
|
|
9052
8930
|
}
|
|
9053
8931
|
var CardKnowledgeComponent = (function () {
|
|
9054
|
-
function CardKnowledgeComponent(
|
|
9055
|
-
this.events = events;
|
|
8932
|
+
function CardKnowledgeComponent(configSvc, utilitySvc) {
|
|
9056
8933
|
this.configSvc = configSvc;
|
|
9057
8934
|
this.utilitySvc = utilitySvc;
|
|
9058
8935
|
this.followed = new core.EventEmitter();
|
|
@@ -9084,9 +8961,6 @@
|
|
|
9084
8961
|
this.unFollowed.emit(id);
|
|
9085
8962
|
};
|
|
9086
8963
|
CardKnowledgeComponent.prototype.raiseTelemetry = function () {
|
|
9087
|
-
this.events.raiseInteractTelemetry('click', exports.ɵn.EContentTypes.KNOWLEDGE_BOARD, {
|
|
9088
|
-
contentId: this.widgetData.content.identifier,
|
|
9089
|
-
});
|
|
9090
8964
|
};
|
|
9091
8965
|
CardKnowledgeComponent.prototype.greyOut = function () {
|
|
9092
8966
|
if (this.widgetData.content.isInIntranet && this.utilitySvc.isMobile) {
|
|
@@ -9102,7 +8976,6 @@
|
|
|
9102
8976
|
}] }
|
|
9103
8977
|
];
|
|
9104
8978
|
CardKnowledgeComponent.ctorParameters = function () { return [
|
|
9105
|
-
{ type: utils.EventService },
|
|
9106
8979
|
{ type: utils.ConfigurationsService },
|
|
9107
8980
|
{ type: utils.UtilityService }
|
|
9108
8981
|
]; };
|
|
@@ -9120,7 +8993,6 @@
|
|
|
9120
8993
|
CardKnowledgeComponent.prototype.defaultThumbnail;
|
|
9121
8994
|
CardKnowledgeComponent.prototype.prefChangeSubscription;
|
|
9122
8995
|
CardKnowledgeComponent.prototype.isIntranetAllowedSettings;
|
|
9123
|
-
CardKnowledgeComponent.prototype.events;
|
|
9124
8996
|
CardKnowledgeComponent.prototype.configSvc;
|
|
9125
8997
|
CardKnowledgeComponent.prototype.utilitySvc;
|
|
9126
8998
|
}
|
|
@@ -9510,10 +9382,10 @@
|
|
|
9510
9382
|
return response;
|
|
9511
9383
|
})));
|
|
9512
9384
|
};
|
|
9513
|
-
CardNetWorkService.prototype.
|
|
9514
|
-
var usrDept = '
|
|
9385
|
+
CardNetWorkService.prototype.fetchMyDepartmentUsers = function () {
|
|
9386
|
+
var usrDept = 'cb';
|
|
9515
9387
|
if (this.configSvc.userProfile) {
|
|
9516
|
-
usrDept = this.configSvc.userProfile.departmentName || '
|
|
9388
|
+
usrDept = this.configSvc.userProfile.departmentName || 'cb';
|
|
9517
9389
|
}
|
|
9518
9390
|
var req;
|
|
9519
9391
|
req = {
|
|
@@ -16248,22 +16120,7 @@
|
|
|
16248
16120
|
}
|
|
16249
16121
|
return name;
|
|
16250
16122
|
};
|
|
16251
|
-
SearchServService.prototype.raiseSearchEvent = function (
|
|
16252
|
-
this.events.dispatchEvent({
|
|
16253
|
-
eventType: utils.WsEvents.WsEventType.Telemetry,
|
|
16254
|
-
eventLogLevel: utils.WsEvents.WsEventLogLevel.Warn,
|
|
16255
|
-
data: {
|
|
16256
|
-
eventSubType: utils.WsEvents.EnumTelemetrySubType.Interact,
|
|
16257
|
-
object: {
|
|
16258
|
-
query: query,
|
|
16259
|
-
filters: filters,
|
|
16260
|
-
locale: locale,
|
|
16261
|
-
},
|
|
16262
|
-
type: 'search',
|
|
16263
|
-
},
|
|
16264
|
-
from: 'search',
|
|
16265
|
-
to: 'telemetry',
|
|
16266
|
-
});
|
|
16123
|
+
SearchServService.prototype.raiseSearchEvent = function (_query, _filters, _locale) {
|
|
16267
16124
|
};
|
|
16268
16125
|
SearchServService.prototype.raiseSearchResponseEvent = function (query, filters, totalHits, locale) {
|
|
16269
16126
|
this.events.dispatchEvent({
|
|
@@ -17724,12 +17581,7 @@
|
|
|
17724
17581
|
this.eventDispatcher(utils.WsEvents.EnumTelemetrySubType.StateChange);
|
|
17725
17582
|
}
|
|
17726
17583
|
};
|
|
17727
|
-
PlayerPdfComponent.prototype.raiseTelemetry = function (
|
|
17728
|
-
if (this.identifier) {
|
|
17729
|
-
this.eventSvc.raiseInteractTelemetry(action, 'click', {
|
|
17730
|
-
contentId: this.identifier,
|
|
17731
|
-
});
|
|
17732
|
-
}
|
|
17584
|
+
PlayerPdfComponent.prototype.raiseTelemetry = function (_action) {
|
|
17733
17585
|
};
|
|
17734
17586
|
PlayerPdfComponent.prototype.saveContinueLearning = function (id) {
|
|
17735
17587
|
if (this.activatedRoute.snapshot.queryParams.collectionType &&
|
|
@@ -17859,6 +17711,7 @@
|
|
|
17859
17711
|
},
|
|
17860
17712
|
to: '',
|
|
17861
17713
|
data: {
|
|
17714
|
+
object: {},
|
|
17862
17715
|
eventSubType: eventType,
|
|
17863
17716
|
activityType: activity,
|
|
17864
17717
|
currentPage: this.currentPage.value,
|
|
@@ -18233,7 +18086,7 @@
|
|
|
18233
18086
|
PlayerVideoComponent.decorators = [
|
|
18234
18087
|
{ type: core.Component, args: [{
|
|
18235
18088
|
selector: 'ws-widget-player-video',
|
|
18236
|
-
template: "<video crossorigin=\"Anonymous\" #videoTag *ngIf=\"widgetData?.isVideojs\"\r\n class=\"video-js vjs-default-skin vjs-big-play-centered\">\r\n\r\n <source [src]=\"widgetData.url\" />\r\n <source [src]=\"widgetData.url\" type=\"video/mp4\" />\r\n <source [src]=\"widgetData.url\" type=\"application/x-mpegURL\" />\r\n
|
|
18089
|
+
template: "<video crossorigin=\"Anonymous\" #videoTag *ngIf=\"widgetData?.isVideojs\"\r\n class=\"video-js vjs-default-skin vjs-big-play-centered\">\r\n\r\n <source [src]=\"widgetData.url\" />\r\n <source [src]=\"widgetData.url\" type=\"video/mp4\" />\r\n <source [src]=\"widgetData.url\" type=\"application/x-mpegURL\" />\r\n <track kind=\"captions\" *ngIf=\"widgetData.subtitles\" [src]=\"widgetData?.subtitles[0]?.url\" srclang=\"en\" label=\"English\"\r\n default>\r\n</video>\r\n\r\n<video crossorigin=\"Anonymous\" [poster]=\"widgetData?.posterImage\" #realvideoTag class=\"video-js\"\r\n *ngIf=\"!widgetData?.isVideojs\" controls>\r\n <source [src]=\"widgetData.url\" type=\"video/mp4\" />\r\n <source [src]=\"widgetData.url\" type=\"application/x-mpegURL\" />\r\n <track kind=\"captions\" *ngIf=\"widgetData.subtitles\" [src]=\"widgetData?.subtitles[0]?.url\" srclang=\"en\" label=\"English\"\r\n default>\r\n</video>",
|
|
18237
18090
|
styles: [":host.video-full .video-js{height:100%;width:100%}.video-js{height:100%;width:100%;min-height:200px}"]
|
|
18238
18091
|
}] }
|
|
18239
18092
|
];
|
|
@@ -18699,17 +18552,12 @@
|
|
|
18699
18552
|
_this.portalLinks.push(fw);
|
|
18700
18553
|
}));
|
|
18701
18554
|
}
|
|
18702
|
-
else if (feature.id === 'portal_frac' && feature.featureWidgets.length > 0) {
|
|
18703
|
-
feature.featureWidgets.forEach((function (fw) {
|
|
18704
|
-
_this.portalLinks.push(fw);
|
|
18705
|
-
}));
|
|
18706
|
-
}
|
|
18707
18555
|
}));
|
|
18708
18556
|
};
|
|
18709
18557
|
BtnProfileComponent.decorators = [
|
|
18710
18558
|
{ type: core.Component, args: [{
|
|
18711
18559
|
selector: 'ws-widget-btn-profile',
|
|
18712
|
-
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\" 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=\"portalLinks && portalLinks.length\"
|
|
18560
|
+
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\" 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>",
|
|
18713
18561
|
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}"]
|
|
18714
18562
|
}] }
|
|
18715
18563
|
];
|
|
@@ -20604,9 +20452,8 @@
|
|
|
20604
20452
|
|
|
20605
20453
|
var SlidersMobComponent = (function (_super) {
|
|
20606
20454
|
__extends(SlidersMobComponent, _super);
|
|
20607
|
-
function SlidersMobComponent(
|
|
20455
|
+
function SlidersMobComponent() {
|
|
20608
20456
|
var _this = _super.call(this) || this;
|
|
20609
|
-
_this.events = events;
|
|
20610
20457
|
_this.currentIndex = 0;
|
|
20611
20458
|
_this.slideInterval = null;
|
|
20612
20459
|
return _this;
|
|
@@ -20667,14 +20514,8 @@
|
|
|
20667
20514
|
window.open(currentData.redirectUrl);
|
|
20668
20515
|
}
|
|
20669
20516
|
};
|
|
20670
|
-
SlidersMobComponent.prototype.raiseTelemetry = function (
|
|
20517
|
+
SlidersMobComponent.prototype.raiseTelemetry = function (_bannerUrl) {
|
|
20671
20518
|
this.openInNewTab();
|
|
20672
|
-
var path = window.location.pathname.replace('/', '');
|
|
20673
|
-
var url = path + window.location.search;
|
|
20674
|
-
this.events.raiseInteractTelemetry('click', 'banner', {
|
|
20675
|
-
pageUrl: url,
|
|
20676
|
-
bannerRedirectUrl: bannerUrl,
|
|
20677
|
-
});
|
|
20678
20519
|
};
|
|
20679
20520
|
SlidersMobComponent.decorators = [
|
|
20680
20521
|
{ type: core.Component, args: [{
|
|
@@ -20683,9 +20524,7 @@
|
|
|
20683
20524
|
styles: [".banner-container{max-height:280px;min-height:200px;overflow:hidden;position:relative;margin:auto}.banner-overlay{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;background:linear-gradient(to left,rgba(0,0,0,.25) 0,rgba(0,0,0,0) 15%,rgba(0,0,0,0) 85%,rgba(0,0,0,.25) 100%)}.banner{-webkit-animation-name:fade;-webkit-animation-duration:1.5s;animation-name:fade;animation-duration:1.5s}.banner .banner-image{width:100%;min-height:200px;display:block}.banner-meta{text-align:center;z-index:2;padding:8px 12px;position:absolute;bottom:0;left:50%;transform:translateX(-50%);box-sizing:border-box}.banner-meta .banner-title{color:#f2f2f2;margin-bottom:8px;font-size:1.1rem}@media only screen and (max-width:599px){.banner-container{min-height:80px;max-height:120px}.banner .banner-image{min-height:80px}.banner-meta .banner-title{display:none}}.banner-meta .dots-container{padding:8px;display:flex;align-items:center;justify-content:center}.banner-meta .dots-container .dot{cursor:pointer;height:16px;width:16px;margin:0 6px;background-color:rgba(120,120,120,.75);box-shadow:1px 1px 4px rgba(0,0,0,.6);border-radius:50%;display:inline-block;transition:background-color .5s!important}.banner-meta .dots-container .dot.active{background-color:#d3d3d3;height:18px;width:18px}@media only screen and (max-width:599px){.banner-meta .dots-container .dot{height:8px;width:8px;margin:0 4px}.banner-meta .dots-container .dot.active{height:10px;width:10px}}@keyframes fade{from{opacity:.25}to{opacity:1}}.next,.prev{cursor:pointer;position:absolute;top:50%;transform:translateY(-50%);padding:16px;color:#fff;font-weight:700;font-size:24px;z-index:2;border-radius:0 3px 3px 0}.next{right:0;border-radius:3px 0 0 3px}"]
|
|
20684
20525
|
}] }
|
|
20685
20526
|
];
|
|
20686
|
-
SlidersMobComponent.ctorParameters = function () { return [
|
|
20687
|
-
{ type: utils.EventService }
|
|
20688
|
-
]; };
|
|
20527
|
+
SlidersMobComponent.ctorParameters = function () { return []; };
|
|
20689
20528
|
SlidersMobComponent.propDecorators = {
|
|
20690
20529
|
widgetData: [{ type: core.Input }]
|
|
20691
20530
|
};
|
|
@@ -20695,14 +20534,12 @@
|
|
|
20695
20534
|
SlidersMobComponent.prototype.widgetData;
|
|
20696
20535
|
SlidersMobComponent.prototype.currentIndex;
|
|
20697
20536
|
SlidersMobComponent.prototype.slideInterval;
|
|
20698
|
-
SlidersMobComponent.prototype.events;
|
|
20699
20537
|
}
|
|
20700
20538
|
|
|
20701
20539
|
var SlidersComponent = (function (_super) {
|
|
20702
20540
|
__extends(SlidersComponent, _super);
|
|
20703
|
-
function SlidersComponent(
|
|
20541
|
+
function SlidersComponent() {
|
|
20704
20542
|
var _this = _super.call(this) || this;
|
|
20705
|
-
_this.events = events;
|
|
20706
20543
|
_this.id = "banner_" + Math.random();
|
|
20707
20544
|
_this.currentIndex = 0;
|
|
20708
20545
|
_this.slideInterval = null;
|
|
@@ -20762,14 +20599,8 @@
|
|
|
20762
20599
|
window.open(currentData.redirectUrl);
|
|
20763
20600
|
}
|
|
20764
20601
|
};
|
|
20765
|
-
SlidersComponent.prototype.raiseTelemetry = function (
|
|
20602
|
+
SlidersComponent.prototype.raiseTelemetry = function (_bannerUrl) {
|
|
20766
20603
|
this.openInNewTab();
|
|
20767
|
-
var path = window.location.pathname.replace('/', '');
|
|
20768
|
-
var url = path + window.location.search;
|
|
20769
|
-
this.events.raiseInteractTelemetry('click', 'banner', {
|
|
20770
|
-
pageUrl: url,
|
|
20771
|
-
bannerRedirectUrl: bannerUrl,
|
|
20772
|
-
});
|
|
20773
20604
|
};
|
|
20774
20605
|
SlidersComponent.decorators = [
|
|
20775
20606
|
{ type: core.Component, args: [{
|
|
@@ -20778,9 +20609,7 @@
|
|
|
20778
20609
|
styles: [".banner-container{min-height:243px;overflow:hidden;position:relative;margin:auto;border-radius:12px}.banner-overlay{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;background:linear-gradient(to left,rgba(0,0,0,.25) 0,rgba(0,0,0,0) 15%,rgba(0,0,0,0) 85%,rgba(0,0,0,.25) 100%)}.banner{-webkit-animation-name:fade;-webkit-animation-duration:1.5s;animation-name:fade;animation-duration:1.5s}.banner .banner-image{width:100%;min-height:243px;display:block;height:350px;border-radius:12px}.banner-meta{text-align:center;z-index:2;padding:8px 12px;position:absolute;bottom:0;left:50%;border-radius:12px;transform:translateX(-50%);box-sizing:border-box}.banner-meta .banner-title{color:#f2f2f2;margin-bottom:8px;font-size:1.1rem}@media only screen and (max-width:599px){.banner-meta .banner-title{display:none}}.banner-meta .dots-container{padding:8px;display:flex;align-items:center;justify-content:center}.banner-meta .dots-container .dot{cursor:pointer;height:16px;width:16px;margin:0 6px;background-color:rgba(120,120,120,.75);box-shadow:1px 1px 4px rgba(0,0,0,.6);border-radius:50%;display:inline-block;transition:background-color .5s!important}.banner-meta .dots-container .dot.active{background-color:#d3d3d3;height:18px;width:18px}@media only screen and (max-width:599px){.banner-meta .dots-container .dot{height:8px;width:8px;margin:0 4px}.banner-meta .dots-container .dot.active{height:10px;width:10px}}@keyframes fade{from{opacity:.25}to{opacity:1}}.next,.prev{cursor:pointer;position:absolute;top:50%;transform:translateY(-50%);padding:16px;color:#fff;font-weight:700;font-size:24px;z-index:2;border-radius:0 3px 3px 0}.next{right:0;border-radius:3px 0 0 3px}.banner-container-solo{overflow:hidden;margin:auto;border-radius:12px}.banner-image-solo{width:100%;display:block;border-radius:12px}"]
|
|
20779
20610
|
}] }
|
|
20780
20611
|
];
|
|
20781
|
-
SlidersComponent.ctorParameters = function () { return [
|
|
20782
|
-
{ type: utils.EventService }
|
|
20783
|
-
]; };
|
|
20612
|
+
SlidersComponent.ctorParameters = function () { return []; };
|
|
20784
20613
|
SlidersComponent.propDecorators = {
|
|
20785
20614
|
widgetData: [{ type: core.Input }],
|
|
20786
20615
|
id: [{ type: core.HostBinding, args: ['id',] }]
|
|
@@ -20792,7 +20621,6 @@
|
|
|
20792
20621
|
SlidersComponent.prototype.id;
|
|
20793
20622
|
SlidersComponent.prototype.currentIndex;
|
|
20794
20623
|
SlidersComponent.prototype.slideInterval;
|
|
20795
|
-
SlidersComponent.prototype.events;
|
|
20796
20624
|
}
|
|
20797
20625
|
|
|
20798
20626
|
var MyHammerConfig = (function (_super) {
|
|
@@ -21790,14 +21618,14 @@
|
|
|
21790
21618
|
GET_DEPARTMENT_BY_ID: '/apis/protected/v8/portal/deptAction/',
|
|
21791
21619
|
};
|
|
21792
21620
|
var DEPARTMENT_NAME = 'igot';
|
|
21793
|
-
var
|
|
21794
|
-
function
|
|
21621
|
+
var CreateDepartmentService = (function () {
|
|
21622
|
+
function CreateDepartmentService(http) {
|
|
21795
21623
|
this.http = http;
|
|
21796
21624
|
}
|
|
21797
|
-
|
|
21625
|
+
CreateDepartmentService.prototype.getAllSubDepartments = function (deptName) {
|
|
21798
21626
|
return this.http.get("" + API_END_POINTS$j.GET_ALL_DEPARTMENTS + deptName);
|
|
21799
21627
|
};
|
|
21800
|
-
|
|
21628
|
+
CreateDepartmentService.prototype.createDepartment = function (deptData, subDept) {
|
|
21801
21629
|
var departmentData = {
|
|
21802
21630
|
rootOrg: DEPARTMENT_NAME,
|
|
21803
21631
|
deptName: deptData.name,
|
|
@@ -21808,7 +21636,7 @@
|
|
|
21808
21636
|
};
|
|
21809
21637
|
return this.http.post("" + API_END_POINTS$j.CREATE_DEPARTMENT, departmentData);
|
|
21810
21638
|
};
|
|
21811
|
-
|
|
21639
|
+
CreateDepartmentService.prototype.updateDepartment = function (deptData, updateId, subDept) {
|
|
21812
21640
|
var departmentData = {
|
|
21813
21641
|
id: updateId,
|
|
21814
21642
|
rootOrg: DEPARTMENT_NAME,
|
|
@@ -21820,7 +21648,7 @@
|
|
|
21820
21648
|
};
|
|
21821
21649
|
return this.http.patch("" + API_END_POINTS$j.UPDATE_DEPARTMENT, departmentData);
|
|
21822
21650
|
};
|
|
21823
|
-
|
|
21651
|
+
CreateDepartmentService.prototype.assignAdminToDepartment = function (userId, deptId, deptRole) {
|
|
21824
21652
|
var departmentData = {
|
|
21825
21653
|
userId: userId,
|
|
21826
21654
|
deptId: deptId,
|
|
@@ -21830,27 +21658,27 @@
|
|
|
21830
21658
|
};
|
|
21831
21659
|
return this.http.post(API_END_POINTS$j.ASSIGN_ADMIN_TO_CREATED_DEPARTMENT + "/userrole", departmentData);
|
|
21832
21660
|
};
|
|
21833
|
-
|
|
21661
|
+
CreateDepartmentService.decorators = [
|
|
21834
21662
|
{ type: core.Injectable, args: [{
|
|
21835
21663
|
providedIn: 'root',
|
|
21836
21664
|
},] }
|
|
21837
21665
|
];
|
|
21838
|
-
|
|
21666
|
+
CreateDepartmentService.ctorParameters = function () { return [
|
|
21839
21667
|
{ type: http.HttpClient }
|
|
21840
21668
|
]; };
|
|
21841
|
-
/** @nocollapse */
|
|
21842
|
-
return
|
|
21669
|
+
/** @nocollapse */ CreateDepartmentService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function CreateDepartmentService_Factory() { return new CreateDepartmentService(core.ɵɵinject(http.HttpClient)); }, token: CreateDepartmentService, providedIn: "root" });
|
|
21670
|
+
return CreateDepartmentService;
|
|
21843
21671
|
}());
|
|
21844
21672
|
if (false) {
|
|
21845
|
-
|
|
21673
|
+
CreateDepartmentService.prototype.http;
|
|
21846
21674
|
}
|
|
21847
21675
|
|
|
21848
21676
|
var UIAdminUserTableComponent = (function () {
|
|
21849
|
-
function UIAdminUserTableComponent(router, dialog, activatedRoute,
|
|
21677
|
+
function UIAdminUserTableComponent(router, dialog, activatedRoute, departmentService, snackBar) {
|
|
21850
21678
|
this.router = router;
|
|
21851
21679
|
this.dialog = dialog;
|
|
21852
21680
|
this.activatedRoute = activatedRoute;
|
|
21853
|
-
this.
|
|
21681
|
+
this.departmentService = departmentService;
|
|
21854
21682
|
this.snackBar = snackBar;
|
|
21855
21683
|
this.needCreateUser = undefined;
|
|
21856
21684
|
this.eOnRowClick = new core.EventEmitter();
|
|
@@ -21938,8 +21766,8 @@
|
|
|
21938
21766
|
dialogRef.afterClosed().subscribe((function (response) {
|
|
21939
21767
|
response.data.forEach((function (user) {
|
|
21940
21768
|
if (_this.departmentId) {
|
|
21941
|
-
var role =
|
|
21942
|
-
_this.
|
|
21769
|
+
var role = atob('TURPIEFETUlO');
|
|
21770
|
+
_this.departmentService.assignAdminToDepartment(user.userId, _this.departmentId, role).subscribe((function (res) {
|
|
21943
21771
|
if (res) {
|
|
21944
21772
|
_this.snackBar.open('Admin assigned Successfully');
|
|
21945
21773
|
_this.router.navigate(['/app/home/directory', { department: _this.departmentRole }]);
|
|
@@ -21994,7 +21822,7 @@
|
|
|
21994
21822
|
{ type: router.Router },
|
|
21995
21823
|
{ type: material.MatDialog },
|
|
21996
21824
|
{ type: router.ActivatedRoute },
|
|
21997
|
-
{ type:
|
|
21825
|
+
{ type: CreateDepartmentService },
|
|
21998
21826
|
{ type: material.MatSnackBar }
|
|
21999
21827
|
]; };
|
|
22000
21828
|
UIAdminUserTableComponent.propDecorators = {
|
|
@@ -22040,7 +21868,7 @@
|
|
|
22040
21868
|
UIAdminUserTableComponent.prototype.router;
|
|
22041
21869
|
UIAdminUserTableComponent.prototype.dialog;
|
|
22042
21870
|
UIAdminUserTableComponent.prototype.activatedRoute;
|
|
22043
|
-
UIAdminUserTableComponent.prototype.
|
|
21871
|
+
UIAdminUserTableComponent.prototype.departmentService;
|
|
22044
21872
|
UIAdminUserTableComponent.prototype.snackBar;
|
|
22045
21873
|
}
|
|
22046
21874
|
|
|
@@ -22634,6 +22462,7 @@
|
|
|
22634
22462
|
function OrgUserTableComponent() {
|
|
22635
22463
|
this.eOnRowClick = new core.EventEmitter();
|
|
22636
22464
|
this.eOnCreateClick = new core.EventEmitter();
|
|
22465
|
+
this.searchByEnterKey = new core.EventEmitter();
|
|
22637
22466
|
this.bodyHeight = document.body.clientHeight - 125;
|
|
22638
22467
|
this.pageSize = 5;
|
|
22639
22468
|
this.pageSizeOptions = [5, 10, 20];
|
|
@@ -22727,10 +22556,13 @@
|
|
|
22727
22556
|
OrgUserTableComponent.prototype.onCreateClick = function () {
|
|
22728
22557
|
this.eOnCreateClick.emit();
|
|
22729
22558
|
};
|
|
22559
|
+
OrgUserTableComponent.prototype.onSearchEnter = function (event) {
|
|
22560
|
+
this.searchByEnterKey.emit(event.target.value);
|
|
22561
|
+
};
|
|
22730
22562
|
OrgUserTableComponent.decorators = [
|
|
22731
22563
|
{ type: core.Component, args: [{
|
|
22732
22564
|
selector: 'ws-widget-org-user-table',
|
|
22733
|
-
template: "<div class=\"example-container margin-top-m\">\r\n <div class=\"example-loading-shade\"></div>\r\n\r\n <div class=\"example-table-container\">\r\n <div class=\"container-balanced\">\r\n <div class=\"flex flex-1 custom\">\r\n <div class=\"flex-2\">\r\n <div class=\"search\">\r\n <div class=rsearch>\r\n <mat-icon class=\"color-60 search-icon\">search</mat-icon>\r\n <input class=\"sinput color-60\" type=\"Standard\" label=\"\"\r\n (input)=\"applyFilter($event.target.value)\" placeholder=\"Search\">\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"flex-2 right-align\">\r\n <button type=\"button\" mat-button class=\"upload-btn\" *ngIf=\"isUpload\">\r\n <mat-icon>vertical_align_top</mat-icon> Bulk upload\r\n </button>\r\n <button type=\"button\" mat-button class=\"create-btn\" *ngIf=\"isCreate\" (click)=\"onCreateClick()\">\r\n Create new\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- </mat-form-field> -->\r\n <mat-table #table matSort [ngStyle]=\"{'height': bodyHeight}\" [matSortActive]=\"tableData!.sortColumn\"\r\n [matSortDirection]=\"tableData!.sortState\" [dataSource]=\"dataSource\"\r\n class=\"example-table table1 responsiveTable\" *ngIf=\"dataSource.filteredData.length > 0\">\r\n\r\n <ng-container matColumnDef=\"{{col.key}}\" *ngFor=\"let col of tableData!.columns\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header class=\".h-400-r-14-l color-60\"> {{col.displayName}}\r\n </mat-header-cell>\r\n <mat-cell *matCellDef=\"let element\" (click)=\"onRowClick(element)\">\r\n <span *ngIf=\"col.isList\" class=\"h-400-r-14-l color-87 textclass\">\r\n <div innerHTML=\"{{element[col.key]}}\"></div>\r\n </span>\r\n <span *ngIf=\"!col.isList\" class=\"h-400-r-14-l color-87 textclass\">\r\n {{element[col.key]}} {{col.isList}}\r\n </span>\r\n </mat-cell>\r\n </ng-container>\r\n <ng-container matColumnDef=\"Actions\" *ngIf=\"tableData!.actions && tableData!.actions.length > 0\">\r\n <mat-header-cell *matHeaderCellDef class=\"clr-darkish-blue action-header\"> Actions\r\n </mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"action-cell\">\r\n <div *ngFor=\"let ac of tableData!.actions\">\r\n <div *ngIf=\"ac.optional\">\r\n <ws-widget-app-button *ngIf=\"row[ac.optional_key] === ac.optional_Value\" [type]=\"ac.type\"\r\n [icon]=\"ac.icon\" [disabled]=\"ac.disabled || false\" [label]=\"ac.label\"\r\n (click)=\"buttonClick(ac.name,row)\"></ws-widget-app-button>\r\n </div>\r\n <div *ngIf=\"!ac.optional\">\r\n <ws-widget-app-button [type]=\"ac.type\" [icon]=\"ac.icon\" [label]=\"ac.label\"\r\n [disabled]=\"ac.disabled || false\" (click)=\"buttonClick(ac.name,row)\">\r\n </ws-widget-app-button>\r\n </div>\r\n </div>\r\n </mat-cell>\r\n </ng-container>\r\n <ng-container matColumnDef=\"Menu\">\r\n <mat-header-cell *matHeaderCellDef class=\"clr-darkish-blue action-header\">\r\n <!-- {{'Actions'}} -->\r\n </mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"action-cell\">\r\n <button type=\"button\" mat-icon-button i18n-aria-label aria-label=\"action items\"\r\n [matMenuTriggerFor]=\"cardMenu\" [matMenuTriggerData]=\"{'data':row}\" class=\"action-btn\">\r\n <mat-icon>more_horiz</mat-icon>\r\n </button>\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <mat-header-row *matHeaderRowDef=\"getFinalColumns()\"></mat-header-row>\r\n\r\n <mat-row *matRowDef=\"let row; columns: getFinalColumns();\" (click)=\"selection.toggle(row);\">\r\n </mat-row>\r\n\r\n <!-- <div *ngIf=\"dataSource.filteredData.length <= 0\">\r\n <mat-row *matRowDef=\"let row; columns: getFinalColumns();\"\r\n (click)=\"selection.toggle(row); onRowClick(row)\">\r\n ssss\r\n </mat-row>\r\n </div> -->\r\n </mat-table>\r\n <mat-card class=\"flex-1\" role=\"none\" *ngIf=\"dataSource.filteredData.length == 0\">\r\n <span class=\"mat-subtitle\">No data found</span>\r\n </mat-card>\r\n </div>\r\n <!-- <div *ngIf=\"dataSource.filteredData.length <= 0\" class=\"h-600-s-20-m color-60 text-center\">No result found\r\n </div> -->\r\n <mat-paginator [length]=\"length\" [pageSize]=\"pageSize\" [pageSizeOptions]=\"pageSizeOptions\">\r\n </mat-paginator>\r\n</div>\r\n\r\n<mat-menu #cardMenu=\"matMenu\">\r\n <ng-template matMenuContent let-rowData=\"data\">\r\n <!-- <div > -->\r\n <button (click)=\"buttonClick('showOnKarma',rowData)\" mat-menu-item name=\"channel-analytics-button\"\r\n class=\"ws-mat-primary-text\" i18n-aria-label aria-label=\"Analytics\">\r\n <mat-icon>input</mat-icon> <span>Show on Karmayogi</span>\r\n </button>\r\n <!-- </div> -->\r\n <!-- <div mat-menu-item> -->\r\n <!-- <button (click)=\"rowData && rowData.blocked ? buttonClick('unblock',rowData): buttonClick('block',rowData)\"\r\n mat-menu-item name=\"channel-analytics-button\" class=\"ws-mat-primary-text\" i18n-aria-label\r\n aria-label=\"Analytics\">\r\n <mat-icon>block</mat-icon><span>{{rowData && rowData.blocked ? 'Unblock user':'Block user' }}</span>\r\n </button> -->\r\n <!-- </div> -->\r\n <!-- <div mat-menu-item> -->\r\n <button (click)=\"rowData && rowData.active ? buttonClick('deactive',rowData): buttonClick('active',rowData)\"\r\n mat-menu-item name=\"channel-analytics-button\" class=\"ws-mat-primary-text\" i18n-aria-label\r\n aria-label=\"Analytics\">\r\n <mat-icon>toggle_off_sharp</mat-icon>\r\n <span>{{rowData && rowData.active? 'Deactivate user':'Activate user'}}</span>\r\n </button>\r\n <!-- </div> -->\r\n <!-- <div mat-menu-item> -->\r\n <!-- <button (click)=\"buttonClick('delete',rowData)\" mat-menu-item name=\"channel-analytics-button\"\r\n class=\"ws-mat-primary-text\" i18n-aria-label aria-label=\"Analytics\">\r\n <mat-icon>delete</mat-icon><span>Delete User</span>\r\n </button> -->\r\n <!-- </div> -->\r\n </ng-template>\r\n</mat-menu>",
|
|
22565
|
+
template: "<div class=\"example-container margin-top-m\">\r\n <div class=\"example-loading-shade\"></div>\r\n\r\n <div class=\"example-table-container\">\r\n <div class=\"container-balanced\">\r\n <div class=\"flex flex-1 custom\">\r\n <div class=\"flex-2\">\r\n <div class=\"search\">\r\n <div class=rsearch>\r\n <mat-icon class=\"color-60 search-icon\">search</mat-icon>\r\n <input class=\"sinput color-60\" type=\"Standard\" label=\"\"\r\n (input)=\"applyFilter($event.target.value)\" (keydown.enter)=\"onSearchEnter($event)\"\r\n placeholder=\"Search\">\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"flex-2 right-align\">\r\n <button type=\"button\" mat-button class=\"upload-btn\" *ngIf=\"isUpload\">\r\n <mat-icon>vertical_align_top</mat-icon> Bulk upload\r\n </button>\r\n <button type=\"button\" mat-button class=\"create-btn\" *ngIf=\"isCreate\" (click)=\"onCreateClick()\">\r\n Create new\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- </mat-form-field> -->\r\n <mat-table #table matSort [ngStyle]=\"{'height': bodyHeight}\" [matSortActive]=\"tableData!.sortColumn\"\r\n [matSortDirection]=\"tableData!.sortState\" [dataSource]=\"dataSource\"\r\n class=\"example-table table1 responsiveTable\" *ngIf=\"dataSource.filteredData.length > 0\">\r\n\r\n <ng-container matColumnDef=\"{{col.key}}\" *ngFor=\"let col of tableData!.columns\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header class=\".h-400-r-14-l color-60\"> {{col.displayName}}\r\n </mat-header-cell>\r\n <mat-cell *matCellDef=\"let element\" (click)=\"onRowClick(element)\">\r\n <span *ngIf=\"col.isList\" class=\"h-400-r-14-l color-87 textclass\">\r\n <div innerHTML=\"{{element[col.key]}}\"></div>\r\n </span>\r\n <span *ngIf=\"!col.isList\" class=\"h-400-r-14-l color-87 textclass\">\r\n {{element[col.key]}} {{col.isList}}\r\n </span>\r\n </mat-cell>\r\n </ng-container>\r\n <ng-container matColumnDef=\"Actions\" *ngIf=\"tableData!.actions && tableData!.actions.length > 0\">\r\n <mat-header-cell *matHeaderCellDef class=\"clr-darkish-blue action-header\"> Actions\r\n </mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"action-cell\">\r\n <div *ngFor=\"let ac of tableData!.actions\">\r\n <div *ngIf=\"ac.optional\">\r\n <ws-widget-app-button *ngIf=\"row[ac.optional_key] === ac.optional_Value\" [type]=\"ac.type\"\r\n [icon]=\"ac.icon\" [disabled]=\"ac.disabled || false\" [label]=\"ac.label\"\r\n (click)=\"buttonClick(ac.name,row)\"></ws-widget-app-button>\r\n </div>\r\n <div *ngIf=\"!ac.optional\">\r\n <ws-widget-app-button [type]=\"ac.type\" [icon]=\"ac.icon\" [label]=\"ac.label\"\r\n [disabled]=\"ac.disabled || false\" (click)=\"buttonClick(ac.name,row)\">\r\n </ws-widget-app-button>\r\n </div>\r\n </div>\r\n </mat-cell>\r\n </ng-container>\r\n <ng-container matColumnDef=\"Menu\">\r\n <mat-header-cell *matHeaderCellDef class=\"clr-darkish-blue action-header\">\r\n <!-- {{'Actions'}} -->\r\n </mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"action-cell\">\r\n <button type=\"button\" mat-icon-button i18n-aria-label aria-label=\"action items\"\r\n [matMenuTriggerFor]=\"cardMenu\" [matMenuTriggerData]=\"{'data':row}\" class=\"action-btn\">\r\n <mat-icon>more_horiz</mat-icon>\r\n </button>\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <mat-header-row *matHeaderRowDef=\"getFinalColumns()\"></mat-header-row>\r\n\r\n <mat-row *matRowDef=\"let row; columns: getFinalColumns();\" (click)=\"selection.toggle(row);\">\r\n </mat-row>\r\n\r\n <!-- <div *ngIf=\"dataSource.filteredData.length <= 0\">\r\n <mat-row *matRowDef=\"let row; columns: getFinalColumns();\"\r\n (click)=\"selection.toggle(row); onRowClick(row)\">\r\n ssss\r\n </mat-row>\r\n </div> -->\r\n </mat-table>\r\n <mat-card class=\"flex-1\" role=\"none\" *ngIf=\"dataSource.filteredData.length == 0\">\r\n <span class=\"mat-subtitle\">No data found</span>\r\n </mat-card>\r\n </div>\r\n <!-- <div *ngIf=\"dataSource.filteredData.length <= 0\" class=\"h-600-s-20-m color-60 text-center\">No result found\r\n </div> -->\r\n <mat-paginator [length]=\"length\" [pageSize]=\"pageSize\" [pageSizeOptions]=\"pageSizeOptions\">\r\n </mat-paginator>\r\n</div>\r\n\r\n<mat-menu #cardMenu=\"matMenu\">\r\n <ng-template matMenuContent let-rowData=\"data\">\r\n <!-- <div > -->\r\n <button (click)=\"buttonClick('showOnKarma',rowData)\" mat-menu-item name=\"channel-analytics-button\"\r\n class=\"ws-mat-primary-text\" i18n-aria-label aria-label=\"Analytics\">\r\n <mat-icon>input</mat-icon> <span>Show on Karmayogi</span>\r\n </button>\r\n <!-- </div> -->\r\n <!-- <div mat-menu-item> -->\r\n <!-- <button (click)=\"rowData && rowData.blocked ? buttonClick('unblock',rowData): buttonClick('block',rowData)\"\r\n mat-menu-item name=\"channel-analytics-button\" class=\"ws-mat-primary-text\" i18n-aria-label\r\n aria-label=\"Analytics\">\r\n <mat-icon>block</mat-icon><span>{{rowData && rowData.blocked ? 'Unblock user':'Block user' }}</span>\r\n </button> -->\r\n <!-- </div> -->\r\n <!-- <div mat-menu-item> -->\r\n <button (click)=\"rowData && rowData.active ? buttonClick('deactive',rowData): buttonClick('active',rowData)\"\r\n mat-menu-item name=\"channel-analytics-button\" class=\"ws-mat-primary-text\" i18n-aria-label\r\n aria-label=\"Analytics\">\r\n <mat-icon>toggle_off_sharp</mat-icon>\r\n <span>{{rowData && rowData.active? 'Deactivate user':'Activate user'}}</span>\r\n </button>\r\n <!-- </div> -->\r\n <!-- <div mat-menu-item> -->\r\n <!-- <button (click)=\"buttonClick('delete',rowData)\" mat-menu-item name=\"channel-analytics-button\"\r\n class=\"ws-mat-primary-text\" i18n-aria-label aria-label=\"Analytics\">\r\n <mat-icon>delete</mat-icon><span>Delete User</span>\r\n </button> -->\r\n <!-- </div> -->\r\n </ng-template>\r\n</mat-menu>",
|
|
22734
22566
|
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{width:150px;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}"]
|
|
22735
22567
|
}] }
|
|
22736
22568
|
];
|
|
@@ -22744,6 +22576,7 @@
|
|
|
22744
22576
|
actionsClick: [{ type: core.Output }],
|
|
22745
22577
|
eOnRowClick: [{ type: core.Output }],
|
|
22746
22578
|
eOnCreateClick: [{ type: core.Output }],
|
|
22579
|
+
searchByEnterKey: [{ type: core.Output }],
|
|
22747
22580
|
paginator: [{ type: core.ViewChild, args: [material.MatPaginator, { static: true },] }],
|
|
22748
22581
|
matSort: [{ type: core.ViewChild, args: [sort.MatSort, { static: false },] }]
|
|
22749
22582
|
};
|
|
@@ -22758,6 +22591,7 @@
|
|
|
22758
22591
|
OrgUserTableComponent.prototype.actionsClick;
|
|
22759
22592
|
OrgUserTableComponent.prototype.eOnRowClick;
|
|
22760
22593
|
OrgUserTableComponent.prototype.eOnCreateClick;
|
|
22594
|
+
OrgUserTableComponent.prototype.searchByEnterKey;
|
|
22761
22595
|
OrgUserTableComponent.prototype.bodyHeight;
|
|
22762
22596
|
OrgUserTableComponent.prototype.displayedColumns;
|
|
22763
22597
|
OrgUserTableComponent.prototype.dataSource;
|
|
@@ -23985,8 +23819,7 @@
|
|
|
23985
23819
|
}
|
|
23986
23820
|
|
|
23987
23821
|
var UserContentRatingComponent = (function () {
|
|
23988
|
-
function UserContentRatingComponent(
|
|
23989
|
-
this.events = events;
|
|
23822
|
+
function UserContentRatingComponent(contentSvc, configSvc) {
|
|
23990
23823
|
this.contentSvc = contentSvc;
|
|
23991
23824
|
this.configSvc = configSvc;
|
|
23992
23825
|
this.isDisabled = false;
|
|
@@ -24013,10 +23846,6 @@
|
|
|
24013
23846
|
var previousRating_1 = this.userRating;
|
|
24014
23847
|
if (this.userRating !== index + 1) {
|
|
24015
23848
|
this.userRating = index + 1;
|
|
24016
|
-
this.events.raiseInteractTelemetry('rating', 'content', {
|
|
24017
|
-
contentId: this.contentId,
|
|
24018
|
-
rating: this.userRating,
|
|
24019
|
-
});
|
|
24020
23849
|
this.contentSvc.addContentRating(this.contentId, { rating: this.userRating }).subscribe((function (_) {
|
|
24021
23850
|
_this.isRequesting = false;
|
|
24022
23851
|
}), (function (_) {
|
|
@@ -24056,7 +23885,6 @@
|
|
|
24056
23885
|
}] }
|
|
24057
23886
|
];
|
|
24058
23887
|
UserContentRatingComponent.ctorParameters = function () { return [
|
|
24059
|
-
{ type: utils.EventService },
|
|
24060
23888
|
{ type: WidgetContentService },
|
|
24061
23889
|
{ type: utils.ConfigurationsService }
|
|
24062
23890
|
]; };
|
|
@@ -24074,7 +23902,6 @@
|
|
|
24074
23902
|
UserContentRatingComponent.prototype.userRating;
|
|
24075
23903
|
UserContentRatingComponent.prototype.forPreview;
|
|
24076
23904
|
UserContentRatingComponent.prototype.averageRatings;
|
|
24077
|
-
UserContentRatingComponent.prototype.events;
|
|
24078
23905
|
UserContentRatingComponent.prototype.contentSvc;
|
|
24079
23906
|
UserContentRatingComponent.prototype.configSvc;
|
|
24080
23907
|
}
|
|
@@ -25389,7 +25216,7 @@
|
|
|
25389
25216
|
exports.ɵgt = DiscussStripMultipleComponent;
|
|
25390
25217
|
exports.ɵgu = ContentStripNewMultipleService$3;
|
|
25391
25218
|
exports.ɵgv = UIAdminUserTableComponent;
|
|
25392
|
-
exports.ɵgw =
|
|
25219
|
+
exports.ɵgw = CreateDepartmentService;
|
|
25393
25220
|
exports.ɵgx = UIDirectoryTableComponent;
|
|
25394
25221
|
exports.ɵgy = UserPopupComponent;
|
|
25395
25222
|
exports.ɵgz = UIUserTablePopUpComponent;
|