@sunbird-cb/consumption 0.0.12 → 0.0.14

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.
Files changed (82) hide show
  1. package/bundles/sunbird-cb-consumption.umd.js +1699 -71
  2. package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
  3. package/bundles/sunbird-cb-consumption.umd.min.js +1 -1
  4. package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
  5. package/esm2015/lib/_common/avatar-photo-lib/avatar-photo-lib.component.js +158 -0
  6. package/esm2015/lib/_common/avatar-photo-lib/avatar-photo-lib.module.js +29 -0
  7. package/esm2015/lib/_common/calender/calender-day/calender-day.component.js +90 -0
  8. package/esm2015/lib/_common/calender/calender.component.js +275 -9
  9. package/esm2015/lib/_common/calender/calender.module.js +15 -5
  10. package/esm2015/lib/_common/cards/card-portrait/card-portrait.component.js +5 -1
  11. package/esm2015/lib/_common/cards/card-wide/card-wide.component.js +166 -0
  12. package/esm2015/lib/_common/cards/cards.component.js +2 -2
  13. package/esm2015/lib/_common/cards/cards.module.js +5 -3
  14. package/esm2015/lib/_common/common-strip/common-strip.component.js +14 -11
  15. package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +22 -2
  16. package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +31 -3
  17. package/esm2015/lib/_common/data-points/data-points.component.js +2 -2
  18. package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.component.js +206 -0
  19. package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.model.js +61 -0
  20. package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.module.js +50 -0
  21. package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.component.js +139 -0
  22. package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.module.js +38 -0
  23. package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.service.js +45 -0
  24. package/esm2015/lib/_directives/scrollable-item/scrollable-item.directive.js +42 -0
  25. package/esm2015/lib/_directives/scrollable-item/scrollable-item.module.js +19 -0
  26. package/esm2015/lib/_models/rating.model.js +44 -0
  27. package/esm2015/lib/_services/insite-data.service.js +10 -2
  28. package/esm2015/lib/_services/rating.service.js +171 -0
  29. package/esm2015/public-api.js +2 -1
  30. package/esm2015/sunbird-cb-consumption.js +31 -20
  31. package/esm5/lib/_common/avatar-photo-lib/avatar-photo-lib.component.js +175 -0
  32. package/esm5/lib/_common/avatar-photo-lib/avatar-photo-lib.module.js +33 -0
  33. package/esm5/lib/_common/calender/calender-day/calender-day.component.js +101 -0
  34. package/esm5/lib/_common/calender/calender.component.js +305 -9
  35. package/esm5/lib/_common/calender/calender.module.js +15 -5
  36. package/esm5/lib/_common/cards/card-portrait/card-portrait.component.js +5 -1
  37. package/esm5/lib/_common/cards/card-wide/card-wide.component.js +172 -0
  38. package/esm5/lib/_common/cards/cards.component.js +2 -2
  39. package/esm5/lib/_common/cards/cards.module.js +5 -3
  40. package/esm5/lib/_common/common-strip/common-strip.component.js +22 -19
  41. package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +26 -3
  42. package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +36 -3
  43. package/esm5/lib/_common/data-points/data-points.component.js +2 -2
  44. package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.component.js +233 -0
  45. package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.model.js +61 -0
  46. package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.module.js +67 -0
  47. package/esm5/lib/_common/user-content-rating/user-content-rating-lib.component.js +162 -0
  48. package/esm5/lib/_common/user-content-rating/user-content-rating-lib.module.js +42 -0
  49. package/esm5/lib/_common/user-content-rating/user-content-rating-lib.service.js +48 -0
  50. package/esm5/lib/_directives/scrollable-item/scrollable-item.directive.js +45 -0
  51. package/esm5/lib/_directives/scrollable-item/scrollable-item.module.js +23 -0
  52. package/esm5/lib/_models/rating.model.js +44 -0
  53. package/esm5/lib/_services/insite-data.service.js +14 -2
  54. package/esm5/lib/_services/rating.service.js +214 -0
  55. package/esm5/public-api.js +2 -1
  56. package/esm5/sunbird-cb-consumption.js +31 -20
  57. package/fesm2015/sunbird-cb-consumption.js +1515 -88
  58. package/fesm2015/sunbird-cb-consumption.js.map +1 -1
  59. package/fesm5/sunbird-cb-consumption.js +1673 -58
  60. package/fesm5/sunbird-cb-consumption.js.map +1 -1
  61. package/lib/_common/avatar-photo-lib/avatar-photo-lib.component.d.ts +20 -0
  62. package/lib/_common/avatar-photo-lib/avatar-photo-lib.module.d.ts +2 -0
  63. package/lib/_common/calender/calender-day/calender-day.component.d.ts +18 -0
  64. package/lib/_common/calender/calender.component.d.ts +29 -1
  65. package/lib/_common/cards/card-wide/card-wide.component.d.ts +30 -0
  66. package/lib/_common/competency-passbook/competency-passbook.component.d.ts +1 -0
  67. package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +6 -1
  68. package/lib/_common/sliders-ng-content/sliders-ng-content.component.d.ts +29 -0
  69. package/lib/_common/sliders-ng-content/sliders-ng-content.model.d.ts +34 -0
  70. package/lib/_common/sliders-ng-content/sliders-ng-content.module.d.ts +6 -0
  71. package/lib/_common/user-content-rating/user-content-rating-lib.component.d.ts +22 -0
  72. package/lib/_common/user-content-rating/user-content-rating-lib.module.d.ts +2 -0
  73. package/lib/_common/user-content-rating/user-content-rating-lib.service.d.ts +7 -0
  74. package/lib/_directives/scrollable-item/scrollable-item.directive.d.ts +7 -0
  75. package/lib/_directives/scrollable-item/scrollable-item.module.d.ts +2 -0
  76. package/lib/_models/rating.model.d.ts +17 -0
  77. package/lib/_services/insite-data.service.d.ts +1 -0
  78. package/lib/_services/rating.service.d.ts +15 -0
  79. package/package.json +1 -1
  80. package/public-api.d.ts +1 -0
  81. package/sunbird-cb-consumption.d.ts +29 -18
  82. package/sunbird-cb-consumption.metadata.json +1 -1
@@ -0,0 +1,158 @@
1
+ /**
2
+ * @fileoverview added by tsickle
3
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
+ */
5
+ import { Component, Input } from '@angular/core';
6
+ export class AvatarPhotoLibComponent {
7
+ constructor() {
8
+ this.size = '';
9
+ this.defaulfColor = '';
10
+ this.randomColor = false;
11
+ this.showBadge = false;
12
+ this.showInitials = false;
13
+ this.random = Math.random().toString(36).slice(2);
14
+ // public initials!: string
15
+ this.colors = [
16
+ '#EB7181',
17
+ '#306933',
18
+ '#000000',
19
+ '#3670B2',
20
+ '#4E9E87',
21
+ '#7E4C8D',
22
+ ];
23
+ this.randomcolors = [
24
+ '#EB7181',
25
+ '#006400',
26
+ '#000000',
27
+ '#3670B2',
28
+ '#4E9E87',
29
+ '#7E4C8D',
30
+ ];
31
+ }
32
+ /**
33
+ * @return {?}
34
+ */
35
+ ngOnInit() {
36
+ if (!this.photoUrl) {
37
+ this.showInitials = true;
38
+ if (!this.initials) {
39
+ this.createInititals();
40
+ }
41
+ if (this.datalen === 1) {
42
+ if (this.defaulfColor) {
43
+ this.randomcolors = [
44
+ this.defaulfColor
45
+ ];
46
+ }
47
+ else {
48
+ this.randomcolors = [
49
+ '#006400',
50
+ ];
51
+ }
52
+ }
53
+ /** @type {?} */
54
+ const randomIndex = Math.floor(Math.random() * Math.floor(this.colors.length));
55
+ this.circleColor = this.colors[randomIndex];
56
+ if (this.randomColor) {
57
+ /** @type {?} */
58
+ const randomIndex1 = Math.floor(Math.random() * Math.floor(this.randomcolors.length));
59
+ this.circleColor = this.randomcolors[randomIndex1];
60
+ }
61
+ }
62
+ }
63
+ /**
64
+ * @param {?} change
65
+ * @return {?}
66
+ */
67
+ ngOnChanges(change) {
68
+ if (change.name.currentValue !== change.name.previousValue && !change.name.firstChange) {
69
+ this.createInititals();
70
+ }
71
+ }
72
+ /**
73
+ * @return {?}
74
+ */
75
+ get userInitials() {
76
+ return this.initials;
77
+ }
78
+ /**
79
+ * @private
80
+ * @return {?}
81
+ */
82
+ createInititals() {
83
+ /** @type {?} */
84
+ let initials = '';
85
+ /** @type {?} */
86
+ const array = `${this.name} `.toString().split(' ');
87
+ if (array[0] !== 'undefined' && typeof array[1] !== 'undefined') {
88
+ initials += array[0].charAt(0);
89
+ initials += array[1].charAt(0);
90
+ }
91
+ else {
92
+ for (let i = 0; i < this.name.length; i += 1) {
93
+ if (this.name.charAt(i) === ' ') {
94
+ continue;
95
+ }
96
+ if (this.name.charAt(i) === this.name.charAt(i)) {
97
+ initials += this.name.charAt(i);
98
+ if (initials.length === 2) {
99
+ break;
100
+ }
101
+ }
102
+ }
103
+ }
104
+ this.initials = initials.toUpperCase();
105
+ }
106
+ }
107
+ AvatarPhotoLibComponent.decorators = [
108
+ { type: Component, args: [{
109
+ selector: 'sb-uic-avatar-photo',
110
+ template: "<div id=\"user_icon\" [ngClass]=\"{'circle-s' : size=== 's',\n'circle-m' : size=== 'm',\n'circle-l' : size=== 'l',\n'circle-xl' : size=== 'xl',\n'circle-xxl' : size=== 'xxl',\n'circle-l-xs' : size=== 'l-xs',\n'circle-l-s' : size=== 'l-s',\n'circle-xl-s' : size=== 'xl-s',\n'circle-r-m': size=== 'round-m',\n'circle-r-p-m': size=== 'profile-round-m',\n'circle-m-side': size=== 'm-side',\n'circle-r-m-48': size=== 'm-side-rating',\n'circle-m-recommended': size==='m-recommended',\n'circle-xxl-s': size=== 'xxl-s'}\" [ngStyle]=\"{'background-color': circleColor }\">\n <img *ngIf=\"!showInitials\" loading=\"lazy\" src=\"{{photoUrl}}\" [alt]=\"photoUrl? '' :(name || userInitials || size || random)\">\n\n <div *ngIf=\"showInitials\" class=\"initials\" i18n-aria-label>\n {{ userInitials }} \n </div>\n <div *ngIf=\"showBadge\"><span class=\"profile-badge\"> \n <img src=\"fusion-assets/images/profile-badge.png\">\n </span></div>\n\n <!-- <div *ngIf=\"imageType === 'user-photo'\">\n <img *ngIf=\"imageUrl\" [src]=\"imageUrl\" alt=\"user-image\" class=\"user-image\" [ngClass]=\"{'user-image-small': imageSize === 'small'}\">\n <div class=\"user-image\" [ngClass]=\"{'user-image-small': imageSize === 'small'}\">\n <span class=\"name-initials-image font-normal ws-mat-primary-default-text ws-mat-accent-background\"\n *ngIf=\"!imageUrl\">{{ shortName }}</span>\n </div>\n </div> -->\n</div>",
111
+ styles: ["@charset \"UTF-8\";.success-checkmark::after{content:\"\u2714\";position:absolute;left:25px;top:20px;width:11px;height:11px;border:1px solid #1d8923;background:#1d8923;border-radius:50%;color:#fff;line-height:11px;text-align:center;font-size:9px}.profile-badge{position:absolute;top:10px;right:0}.profile-badge img{height:15px!important;width:15px!important}.circle-s{border-radius:50%;width:24px;height:24px;display:flex;justify-content:center;align-items:center}.circle-s img{border-radius:50%;width:100%;height:100%}.circle-s .initials{color:#fff;font-size:10px;line-height:12px;letter-spacing:.2625px}.circle-m{border-radius:50%;width:72px!important;height:72px!important;display:flex;justify-content:center;align-items:center;margin-top:-36px}.circle-m img{border-radius:10%;width:40px;height:40px}.circle-m .initials{color:#fff;font-size:14px;line-height:19px;letter-spacing:.2625px}.circle-l{border-radius:50%;width:80px;height:80px;display:flex;justify-content:center;align-items:center}.circle-l img{border-radius:10%;width:80px;height:80px}.circle-l .initials{color:#fff;font-size:20px;line-height:19px;letter-spacing:.2625px}.circle-xl{border-radius:50%;width:105px;height:105px;display:flex;justify-content:center;align-items:center}.circle-xl img{border-radius:10%;width:105px;height:105px}.circle-xl .initials{color:#fff;font-size:20px;line-height:19px;letter-spacing:.2625px}.circle-xxl{border-radius:50%;width:145px;height:145px;display:flex;justify-content:center;align-items:center}.circle-xxl img{border-radius:10%;width:145px;height:145px}.circle-xxl .initials{color:#fff;font-size:20px;line-height:19px;letter-spacing:.2625px}.circle-l-xs{border-radius:50%;width:29px;height:29px;display:flex;justify-content:center;align-items:center}.circle-l-xs img{border-radius:50%;width:100%;height:100%}.circle-l-xs .initials{color:#fff;font-size:12px;line-height:12px;letter-spacing:.2625px}.circle-l-s{border-radius:50%;width:80px;height:80px;display:flex;justify-content:center;align-items:center}.circle-l-s img{border-radius:4px;width:80px;height:80px}.circle-l-s .initials{color:#fff;font-size:24px;line-height:24px;letter-spacing:.2625px}.circle-xl-s{border-radius:50%;width:125px;height:125px;display:flex;justify-content:center;align-items:center}.circle-xl-s img{border-radius:4px;width:152px;height:125px}.circle-xl-s .initials{color:#fff;font-size:32px;line-height:32px;letter-spacing:.2625px}.circle-xxl-s{border-radius:50%;width:208px;height:208px;display:flex;justify-content:center;align-items:center}.circle-xxl-s img{border-radius:50%;width:100%;height:100%}.circle-xxl-s .initials{color:#fff;font-size:40px;line-height:40px;letter-spacing:.2625px}.circle-r-m{border-radius:50%;width:50px;height:50px;display:flex;justify-content:center;align-items:center}.circle-r-m img{border-radius:50%;width:100%;height:100%}.circle-r-m .initials{color:#fff;font-size:16px;line-height:40px;letter-spacing:.2625px}.circle-r-m-48{border-radius:50%;width:48px;height:48px;display:flex;justify-content:center;align-items:center}.circle-r-m-48 img{border-radius:50%;width:100%;height:100%}.circle-r-m-48 .initials{color:#fff;font-size:16px;line-height:40px;letter-spacing:.2625px}.circle-r-p-m{border-radius:50%;width:40px;height:40px;display:flex;justify-content:center;align-items:center}.circle-r-p-m img{border-radius:50%;width:100%;height:100%}.circle-r-p-m .initials{color:#fff;font-size:16px;line-height:40px;letter-spacing:.2625px}.circle-m-side{border-radius:50%;width:72px!important;height:72px!important;display:flex;justify-content:center;align-items:center}.circle-m-side img{border-radius:10%;width:40px;height:40px}.circle-m-side .initials{color:#fff;font-size:14px;line-height:19px;letter-spacing:.2625px}@media only screen and (max-width:960px){.circle-xxl-s{width:100px;height:100px}.circle-xxl-s .initials{font-size:24px;line-height:24px}}.circle-m-recommended{border-radius:50%;width:72px!important;height:72px!important;display:flex;justify-content:center;align-items:center;margin-top:-49px}.circle-m-recommended img{border-radius:10%;width:40px;height:40px}.circle-m-recommended .initials{color:#fff;font-size:14px;line-height:19px;letter-spacing:.2625px}.circle-l-s::before{content:\"\";border:1px solid red}"]
112
+ }] }
113
+ ];
114
+ AvatarPhotoLibComponent.propDecorators = {
115
+ datalen: [{ type: Input }],
116
+ photoUrl: [{ type: Input }],
117
+ name: [{ type: Input }],
118
+ size: [{ type: Input }],
119
+ defaulfColor: [{ type: Input }],
120
+ randomColor: [{ type: Input }],
121
+ initials: [{ type: Input }],
122
+ showBadge: [{ type: Input }]
123
+ };
124
+ if (false) {
125
+ /** @type {?} */
126
+ AvatarPhotoLibComponent.prototype.datalen;
127
+ /** @type {?} */
128
+ AvatarPhotoLibComponent.prototype.photoUrl;
129
+ /** @type {?} */
130
+ AvatarPhotoLibComponent.prototype.name;
131
+ /** @type {?} */
132
+ AvatarPhotoLibComponent.prototype.size;
133
+ /** @type {?} */
134
+ AvatarPhotoLibComponent.prototype.defaulfColor;
135
+ /** @type {?} */
136
+ AvatarPhotoLibComponent.prototype.randomColor;
137
+ /** @type {?} */
138
+ AvatarPhotoLibComponent.prototype.initials;
139
+ /** @type {?} */
140
+ AvatarPhotoLibComponent.prototype.showBadge;
141
+ /** @type {?} */
142
+ AvatarPhotoLibComponent.prototype.showInitials;
143
+ /** @type {?} */
144
+ AvatarPhotoLibComponent.prototype.circleColor;
145
+ /** @type {?} */
146
+ AvatarPhotoLibComponent.prototype.random;
147
+ /**
148
+ * @type {?}
149
+ * @private
150
+ */
151
+ AvatarPhotoLibComponent.prototype.colors;
152
+ /**
153
+ * @type {?}
154
+ * @private
155
+ */
156
+ AvatarPhotoLibComponent.prototype.randomcolors;
157
+ }
158
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLXBob3RvLWxpYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac3VuYmlyZC1jYi9jb25zdW1wdGlvbi8iLCJzb3VyY2VzIjpbImxpYi9fY29tbW9uL2F2YXRhci1waG90by1saWIvYXZhdGFyLXBob3RvLWxpYi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6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pbmcoKS5zcGxpdCgnICcpXG4gICAgaWYgKGFycmF5WzBdICE9PSAndW5kZWZpbmVkJyAmJiB0eXBlb2YgYXJyYXlbMV0gIT09ICd1bmRlZmluZWQnKSB7XG4gICAgICBpbml0aWFscyArPSBhcnJheVswXS5jaGFyQXQoMClcbiAgICAgIGluaXRpYWxzICs9IGFycmF5WzFdLmNoYXJBdCgwKVxuICAgIH0gZWxzZSB7XG4gICAgICBmb3IgKGxldCBpID0gMDsgaSA8IHRoaXMubmFtZS5sZW5ndGg7IGkgKz0gMSkge1xuICAgICAgICBpZiAodGhpcy5uYW1lLmNoYXJBdChpKSA9PT0gJyAnKSB7XG4gICAgICAgICAgY29udGludWVcbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0aGlzLm5hbWUuY2hhckF0KGkpID09PSB0aGlzLm5hbWUuY2hhckF0KGkpKSB7XG4gICAgICAgICAgaW5pdGlhbHMgKz0gdGhpcy5uYW1lLmNoYXJBdChpKVxuXG4gICAgICAgICAgaWYgKGluaXRpYWxzLmxlbmd0aCA9PT0gMikge1xuICAgICAgICAgICAgYnJlYWtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gICAgdGhpcy5pbml0aWFscyA9IGluaXRpYWxzLnRvVXBwZXJDYXNlKClcbiAgfVxufVxuIl19
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @fileoverview added by tsickle
3
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
+ */
5
+ import { NgModule } from '@angular/core';
6
+ import { CommonModule } from '@angular/common';
7
+ import { RouterModule } from '@angular/router';
8
+ import { MatButtonModule, MatIconModule, MatMenuModule, MatRippleModule } from '@angular/material';
9
+ import { SbUiResolverModule } from '@sunbird-cb/resolver-v2';
10
+ import { AvatarPhotoLibComponent } from './avatar-photo-lib.component';
11
+ export class AvatarPhotoLibModule {
12
+ }
13
+ AvatarPhotoLibModule.decorators = [
14
+ { type: NgModule, args: [{
15
+ declarations: [AvatarPhotoLibComponent],
16
+ imports: [
17
+ CommonModule,
18
+ RouterModule,
19
+ MatButtonModule,
20
+ MatIconModule,
21
+ MatMenuModule,
22
+ MatRippleModule,
23
+ SbUiResolverModule,
24
+ ],
25
+ exports: [AvatarPhotoLibComponent],
26
+ entryComponents: [AvatarPhotoLibComponent],
27
+ },] }
28
+ ];
29
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLXBob3RvLWxpYi5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac3VuYmlyZC1jYi9jb25zdW1wdGlvbi8iLCJzb3VyY2VzIjpbImxpYi9fY29tbW9uL2F2YXRhci1waG90by1saWIvYXZhdGFyLXBob3RvLWxpYi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFDeEMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBQzlDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQTtBQUM5QyxPQUFPLEVBQUUsZUFBZSxFQUFFLGFBQWEsRUFBRSxhQUFhLEVBQUUsZUFBZSxFQUFFLE1BQU0sbUJBQW1CLENBQUE7QUFDbEcsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0seUJBQXlCLENBQUE7QUFDNUQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sOEJBQThCLENBQUE7QUFnQnRFLE1BQU0sT0FBTyxvQkFBb0I7OztZQWRoQyxRQUFRLFNBQUM7Z0JBQ1IsWUFBWSxFQUFFLENBQUMsdUJBQXVCLENBQUM7Z0JBQ3ZDLE9BQU8sRUFBRTtvQkFDUCxZQUFZO29CQUNaLFlBQVk7b0JBQ1osZUFBZTtvQkF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ogW0F2YXRhclBob3RvTGliQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgQXZhdGFyUGhvdG9MaWJNb2R1bGUgeyB9XG4iXX0=
@@ -0,0 +1,90 @@
1
+ /**
2
+ * @fileoverview added by tsickle
3
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
+ */
5
+ import { DatePipe } from '@angular/common';
6
+ import { Component, Input } from '@angular/core';
7
+ export class CalenderDayComponent {
8
+ /**
9
+ * @param {?} datePipe
10
+ */
11
+ constructor(datePipe) {
12
+ this.datePipe = datePipe;
13
+ this.webDisplayDate = "";
14
+ this.mobileDisplayDate = "";
15
+ this.currentDate = new Date();
16
+ }
17
+ /**
18
+ * @return {?}
19
+ */
20
+ ngOnInit() {
21
+ this.currentDate = this.datePipe.transform(this.currentDate, 'y-MM-dd');
22
+ }
23
+ /**
24
+ * @param {?} link
25
+ * @return {?}
26
+ */
27
+ openLink(link) {
28
+ window.open(link, "_blank");
29
+ }
30
+ /**
31
+ * @param {?} date
32
+ * @param {?} type
33
+ * @return {?}
34
+ */
35
+ formatDate(date, type) {
36
+ /** @type {?} */
37
+ let fDate = new Date(date);
38
+ if (type === 'web') {
39
+ return this.datePipe.transform(fDate, 'E, dd LLL');
40
+ }
41
+ if (type === 'mob') {
42
+ return this.datePipe.transform(fDate, 'E dd LLL');
43
+ }
44
+ }
45
+ }
46
+ CalenderDayComponent.decorators = [
47
+ { type: Component, args: [{
48
+ selector: 'sb-uic-calender-day',
49
+ template: "<div *ngIf=\"layoutType==='grid' && !dataLoading\">\n <div class=\"p-3 event-day my-3\"\n [style.backgroundColor]=\"objectData?.webBackgroundColor\"\n [style.borderColor]=\"currentDate === eventDate ? objectData?.activeBackgroudColor: ''\">\n \n <div class=\"flex item-top gap-8 {{ day.length ? '' : 'aliginCenter'}}\">\n <div class=\"event-date\">\n <div class=\"currentDay\"\n [style.backgroundColor]=\"currentDate === eventDate ? objectData?.activeBackgroudColor: ''\"\n [style.color]=\"currentDate === eventDate ? objectData?.activeColor: ''\">\n {{formatDate(eventDate, 'web')}}\n </div>\n </div>\n <div class=\"details w-full\" *ngIf=\"day.length\">\n <div class=\"flex p-4 item-center events-list mb-{{day.length === (i+1) ? '0' : '2'}} gap-20\" [style.backgroundColor]=\"objectData?.eventBackgroundColor\"\n *ngFor=\"let event of day; let i = index\" >\n <div>\n <div class=\"flex flex-row item-center gap-10 pb-2\">\n <div class=\"flex item-center gap-1 row1 col1\">\n <div><mat-icon class=\"icon-web\">schedule</mat-icon> </div>\n <div>{{event.startTime}} to {{event.endTime}}</div>\n </div>\n <div class=\"flex item-center col1\">{{event.title}}</div>\n </div>\n <div class=\"flex flex-row item-center gap-10\">\n <div class=\"flex item-center gap-1 row1 col1\" *ngIf=\"event.startDate && event.endDate && event.startDate !== event.endDate\">\n <div><mat-icon class=\"icon-web\">date_range</mat-icon> </div>\n <div class=\"upcase\">{{event.startDate}} - {{event.endDate}}</div>\n </div>\n <div class=\"flex item-center col1\">\n <div><mat-icon class=\"icon-web\">location_on</mat-icon> </div>\n <div class=\"flex item-center\">{{event.location}}</div>\n </div>\n </div>\n </div>\n <div class=\"visit-link flex gap-2\"\n *ngIf=\"event?.registrationLink\">\n <div (click)=\"openLink(event?.registrationLink)\">Visit</div>\n <div (click)=\"openLink(event?.registrationLink)\"><mat-icon class=\"visit-icon\">open_in_new</mat-icon> </div>\n </div>\n </div>\n </div>\n <div class=\"details w-full\" *ngIf=\"!day.length\">\n No trainings.\n </div>\n </div>\n </div>\n</div>\n\n<div *ngIf=\"layoutType==='row' && !dataLoading\">\n <div class=\"p-5 mb-{{day?.length === (rowId+1) ? '0' : '3'}}\"\n [style.backgroundColor]=\"objectData?.mobileBackground\">\n <div class=\"flex item-center gap-4\">\n <div class=\"event-date\">\n <div class=\"flex flex-col\">\n <div> {{formatDate(eventDate, 'mob').split(' ')[0]}}</div>\n <div class=\"mob-currentDay\"\n [style.backgroundColor]=\"currentDate === eventDate ? objectData?.activeBackgroudColor: ''\"\n [style.color]=\"currentDate === eventDate ? objectData?.activeColor: ''\">\n {{formatDate(eventDate, 'mob').split(' ')[1]}}\n </div>\n <div> {{formatDate(eventDate, 'mob').split(' ')[2]}}</div>\n </div>\n </div>\n <div class=\"details w-full\" *ngIf=\"day.length\">\n <div class=\"flex flex-col mob-events-list p-3 mb-{{day.length === (i+1) ? '0' : '2'}}\"\n *ngFor=\"let event of day; let i = index\" [style.backgroundColor]=\"objectData?.eventBackgroundColor\">\n <div>\n <div class=\"flex pb-2\">{{event.title}}</div>\n <div class=\"flex pb-1\">\n <div><mat-icon class=\"mob-icon\">schedule</mat-icon> </div>\n <div>{{event.startTime}} to {{event.endTime}}</div>\n </div>\n <div class=\"flex pb-1\" *ngIf=\"event.startDate && event.endDate && event.startDate !== event.endDate\">\n <div><mat-icon class=\"mob-icon\">date_range</mat-icon> </div>\n <div class=\"upcase\">{{event.startDate}} - {{event.endDate}}</div>\n </div>\n <div class=\"flex\">\n <div><mat-icon class=\"mob-icon\">location_on</mat-icon> </div>\n <div class=\"flex item-center\">{{event.location}}</div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"details w-full flex no-data\" *ngIf=\"!day.length\">\n No trainings.\n </div>\n </div> \n </div> \n</div>\n\n<!-- skeleton loaders -->\n<div *ngIf=\"dataLoading\">\n <div *ngIf=\"layoutType==='grid'\">\n <div class=\"hidden md:block\">\n <div class=\"p-3 event-day my-3\"\n [style.backgroundColor]=\"'#FFF'\">\n <div class=\"flex item-top gap-8\">\n <div class=\"event-date\">\n <div class=\"currentDay\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'90px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader> \n </div>\n </div>\n <div class=\"details w-full\">\n <div class=\"flex p-4 item-center events-list mb-2 gap-20\">\n <div>\n <div class=\"flex flex-row item-center gap-20 pb-2\">\n <div class=\"flex item-center gap-2 row1 col1\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'50px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader>\n </div>\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'250px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n <div class=\"flex item-center col1\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'250px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader> </div>\n </div>\n <div class=\"flex flex-row item-center gap-20 pb-2\">\n <div class=\"flex item-center gap-2 row1 col1\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'50px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader>\n </div>\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'250px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n <div class=\"flex item-center col1\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'250px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader> </div>\n </div>\n </div>\n <div class=\"visit-link flex gap-2\">\n <div><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'200px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader> </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"layoutType==='row'\">\n <div class=\"block md:hidden\">\n <div class=\"p-5\" \n [style.backgroundColor]=\"'#FFFFFF'\">\n <div class=\"flex item-center gap-4\">\n <div class=\"event-date\">\n <div class=\"flex flex-col\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'30px'\"\n [height]=\"'90px'\"></sb-uic-skeleton-loader> \n </div>\n </div>\n <div class=\"details w-full\">\n <div class=\"flex flex-col mob-events-list p-3 mb-2\">\n <div>\n <div class=\"flex pb-2\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'265px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader> \n </div>\n <div class=\"flex pb-1 gap-2\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'30px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader>\n </div>\n <div><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'230px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n <div class=\"flex pb-1 gap-2\">\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'30px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader>\n </div>\n <div>\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'230px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader>\n </div>\n </div>\n <div class=\"flex gap-2\">\n <div><sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'30px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader>\n </div>\n <div class=\"flex item-center\">\n <sb-uic-skeleton-loader [bindingClass]=\"'flex rounded objIcon'\" [width]=\"'230px'\"\n [height]=\"'32px'\"></sb-uic-skeleton-loader> \n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div> \n</div>",
50
+ styles: [".event-day{border:1px solid #c3c3c3;border-radius:15px}.event-date{font-family:Lato;font-size:14px;font-weight:700;line-height:16.8px;text-align:center;width:10%;text-transform:uppercase}.events-list{border:1px solid #c3c3c3;border-radius:15px;justify-content:space-between;align-items:center;font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px}.row1{width:235px}.icon-web{font-size:17px;height:17px}.upcase{text-transform:uppercase}.aliginCenter,.col1{align-items:center}.visit-link{cursor:pointer;align-items:center;justify-content:center}.visit-icon{font-size:17px;height:17px;color:#1b4ca1}.currentDay{padding:5px;border-radius:20px}.mob-currentDay{padding:8px;border-radius:20px}.mob-events-list{border:1px solid #e8e6e5;border-radius:10px;justify-content:space-between;font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px}.mob-icon{font-size:17px;height:17px}.no-data{display:flex;align-items:center}"]
51
+ }] }
52
+ ];
53
+ /** @nocollapse */
54
+ CalenderDayComponent.ctorParameters = () => [
55
+ { type: DatePipe }
56
+ ];
57
+ CalenderDayComponent.propDecorators = {
58
+ objectData: [{ type: Input }],
59
+ layoutType: [{ type: Input }],
60
+ day: [{ type: Input }],
61
+ dataLoading: [{ type: Input }],
62
+ rowId: [{ type: Input }],
63
+ eventDate: [{ type: Input }]
64
+ };
65
+ if (false) {
66
+ /** @type {?} */
67
+ CalenderDayComponent.prototype.objectData;
68
+ /** @type {?} */
69
+ CalenderDayComponent.prototype.layoutType;
70
+ /** @type {?} */
71
+ CalenderDayComponent.prototype.day;
72
+ /** @type {?} */
73
+ CalenderDayComponent.prototype.dataLoading;
74
+ /** @type {?} */
75
+ CalenderDayComponent.prototype.rowId;
76
+ /** @type {?} */
77
+ CalenderDayComponent.prototype.eventDate;
78
+ /** @type {?} */
79
+ CalenderDayComponent.prototype.webDisplayDate;
80
+ /** @type {?} */
81
+ CalenderDayComponent.prototype.mobileDisplayDate;
82
+ /** @type {?} */
83
+ CalenderDayComponent.prototype.currentDate;
84
+ /**
85
+ * @type {?}
86
+ * @private
87
+ */
88
+ CalenderDayComponent.prototype.datePipe;
89
+ }
90
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kZXItZGF5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BzdW5iaXJkLWNiL2NvbnN1bXB0aW9uLyIsInNvdXJjZXMiOlsibGliL19jb21tb24vY2FsZW5kZXIvY2FsZW5kZXItZGF5L2NhbGVuZGVyLWRheS5jb21wb25lbnQud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