@jeraldj/discussions-ui 8.0.3-v16
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/README.md +24 -0
- package/assets/images/Buffer-512.webp +0 -0
- package/assets/images/announcement.svg +25 -0
- package/assets/images/back-img.png +0 -0
- package/assets/images/bookmarks.png +0 -0
- package/assets/images/card-icon.png +0 -0
- package/assets/images/close.png +0 -0
- package/assets/images/delete.svg +13 -0
- package/assets/images/down-arrow.png +0 -0
- package/assets/images/down-chevron.png +0 -0
- package/assets/images/down.svg +12 -0
- package/assets/images/edit.svg +11 -0
- package/assets/images/empty.svg +37 -0
- package/assets/images/eye-icon.png +0 -0
- package/assets/images/general discussion.svg +15 -0
- package/assets/images/import-export-arrows.png +0 -0
- package/assets/images/loader-icon.svg +6 -0
- package/assets/images/profits.png +0 -0
- package/assets/images/search-icon.png +0 -0
- package/assets/images/select-bookmarks.png +0 -0
- package/assets/images/select-down-arrow.png +0 -0
- package/assets/images/select-profits.png +0 -0
- package/assets/images/select-up-arrow.png +0 -0
- package/assets/images/up-arrow.png +0 -0
- package/assets/images/up-chevron.png +0 -0
- package/assets/images/up.svg +12 -0
- package/assets/images/views.svg +9 -0
- package/assets/images/votes.svg +14 -0
- package/assets/styles/global.scss +283 -0
- package/esm2022/jeraldj-discussions-ui.mjs +5 -0
- package/esm2022/lib/common/constants.json +630 -0
- package/esm2022/lib/components/components.module.mjs +105 -0
- package/esm2022/lib/components/discuss-all/discuss-all.component.mjs +269 -0
- package/esm2022/lib/components/discuss-category/discuss-category.component.mjs +152 -0
- package/esm2022/lib/components/discuss-home/discuss-home.component.mjs +142 -0
- package/esm2022/lib/components/discuss-start/discuss-start.component.mjs +199 -0
- package/esm2022/lib/components/discuss-tags/discuss-tags.component.mjs +93 -0
- package/esm2022/lib/components/discussion-details/discussion-details.component.mjs +459 -0
- package/esm2022/lib/components/lib-entry/lib-entry.component.mjs +96 -0
- package/esm2022/lib/components/my-discussion/my-discussion.component.mjs +234 -0
- package/esm2022/lib/components/side-pannel/side-pannel.component.mjs +79 -0
- package/esm2022/lib/components/tag-all-discussion/tag-all-discussion.component.mjs +151 -0
- package/esm2022/lib/components/trending-tags/trending-tags.component.mjs +62 -0
- package/esm2022/lib/config/url.config.mjs +32 -0
- package/esm2022/lib/discussion-events.service.mjs +27 -0
- package/esm2022/lib/discussion-routing/discussion-routing.module.mjs +80 -0
- package/esm2022/lib/discussion-ui.module.mjs +41 -0
- package/esm2022/lib/elements/app-loader/app-loader.component.mjs +36 -0
- package/esm2022/lib/elements/avatar-photo/avatar-photo.component.mjs +81 -0
- package/esm2022/lib/elements/category-card/category-card.component.mjs +17 -0
- package/esm2022/lib/elements/discuss-card/discuss-card.component.mjs +45 -0
- package/esm2022/lib/elements/elements.module.mjs +69 -0
- package/esm2022/lib/elements/load-alert/load-alert.component.mjs +34 -0
- package/esm2022/lib/elements/post-reply/post-reply.component.mjs +69 -0
- package/esm2022/lib/elements/related-discussion/related-discussion.component.mjs +61 -0
- package/esm2022/lib/elements/sliders/sliders.component.mjs +76 -0
- package/esm2022/lib/events.service.mjs +31 -0
- package/esm2022/lib/models/discuss.model.mjs +16 -0
- package/esm2022/lib/models/discussion-config.model.mjs +2 -0
- package/esm2022/lib/navigation-service.service.mjs +39 -0
- package/esm2022/lib/pipes/pipe-filter/pipe-filter.pipe.mjs +20 -0
- package/esm2022/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.mjs +22 -0
- package/esm2022/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.mjs +41 -0
- package/esm2022/lib/pipes/pipes.module.mjs +24 -0
- package/esm2022/lib/pipes/sort-by/sort-by.pipe.mjs +34 -0
- package/esm2022/lib/pipes/split-initials/split-initials.pipe.mjs +23 -0
- package/esm2022/lib/router-service.service.mjs +21 -0
- package/esm2022/lib/services/abstract-config.service.mjs +3 -0
- package/esm2022/lib/services/config.service.mjs +76 -0
- package/esm2022/lib/services/discuss-utils.service.mjs +36 -0
- package/esm2022/lib/services/discussion.service.mjs +254 -0
- package/esm2022/lib/telemetry-utils.service.mjs +103 -0
- package/esm2022/lib/wrapper/base-wrapper/base-wrapper.component.mjs +41 -0
- package/esm2022/lib/wrapper/category-widget/category-widget.component.mjs +37 -0
- package/esm2022/lib/wrapper/tags-widget/tags-widget.component.mjs +33 -0
- package/esm2022/lib/wrapper-navigate.service.mjs +23 -0
- package/esm2022/public-api.mjs +29 -0
- package/fesm2022/jeraldj-discussions-ui.mjs +3929 -0
- package/fesm2022/jeraldj-discussions-ui.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/jeraldj-discussions-ui.d.ts.map +1 -0
- package/lib/components/components.module.d.ts +24 -0
- package/lib/components/components.module.d.ts.map +1 -0
- package/lib/components/discuss-all/discuss-all.component.d.ts +61 -0
- package/lib/components/discuss-all/discuss-all.component.d.ts.map +1 -0
- package/lib/components/discuss-category/discuss-category.component.d.ts +45 -0
- package/lib/components/discuss-category/discuss-category.component.d.ts.map +1 -0
- package/lib/components/discuss-home/discuss-home.component.d.ts +59 -0
- package/lib/components/discuss-home/discuss-home.component.d.ts.map +1 -0
- package/lib/components/discuss-start/discuss-start.component.d.ts +50 -0
- package/lib/components/discuss-start/discuss-start.component.d.ts.map +1 -0
- package/lib/components/discuss-tags/discuss-tags.component.d.ts +41 -0
- package/lib/components/discuss-tags/discuss-tags.component.d.ts.map +1 -0
- package/lib/components/discussion-details/discussion-details.component.d.ts +112 -0
- package/lib/components/discussion-details/discussion-details.component.d.ts.map +1 -0
- package/lib/components/lib-entry/lib-entry.component.d.ts +42 -0
- package/lib/components/lib-entry/lib-entry.component.d.ts.map +1 -0
- package/lib/components/my-discussion/my-discussion.component.d.ts +54 -0
- package/lib/components/my-discussion/my-discussion.component.d.ts.map +1 -0
- package/lib/components/side-pannel/side-pannel.component.d.ts +34 -0
- package/lib/components/side-pannel/side-pannel.component.d.ts.map +1 -0
- package/lib/components/tag-all-discussion/tag-all-discussion.component.d.ts +53 -0
- package/lib/components/tag-all-discussion/tag-all-discussion.component.d.ts.map +1 -0
- package/lib/components/trending-tags/trending-tags.component.d.ts +26 -0
- package/lib/components/trending-tags/trending-tags.component.d.ts.map +1 -0
- package/lib/config/url.config.d.ts +29 -0
- package/lib/config/url.config.d.ts.map +1 -0
- package/lib/discussion-events.service.d.ts +12 -0
- package/lib/discussion-events.service.d.ts.map +1 -0
- package/lib/discussion-routing/discussion-routing.module.d.ts +9 -0
- package/lib/discussion-routing/discussion-routing.module.d.ts.map +1 -0
- package/lib/discussion-ui.module.d.ts +16 -0
- package/lib/discussion-ui.module.d.ts.map +1 -0
- package/lib/elements/app-loader/app-loader.component.d.ts +17 -0
- package/lib/elements/app-loader/app-loader.component.d.ts.map +1 -0
- package/lib/elements/avatar-photo/avatar-photo.component.d.ts +19 -0
- package/lib/elements/avatar-photo/avatar-photo.component.d.ts.map +1 -0
- package/lib/elements/category-card/category-card.component.d.ts +10 -0
- package/lib/elements/category-card/category-card.component.d.ts.map +1 -0
- package/lib/elements/discuss-card/discuss-card.component.d.ts +17 -0
- package/lib/elements/discuss-card/discuss-card.component.d.ts.map +1 -0
- package/lib/elements/elements.module.d.ts +18 -0
- package/lib/elements/elements.module.d.ts.map +1 -0
- package/lib/elements/load-alert/load-alert.component.d.ts +15 -0
- package/lib/elements/load-alert/load-alert.component.d.ts.map +1 -0
- package/lib/elements/post-reply/post-reply.component.d.ts +22 -0
- package/lib/elements/post-reply/post-reply.component.d.ts.map +1 -0
- package/lib/elements/related-discussion/related-discussion.component.d.ts +26 -0
- package/lib/elements/related-discussion/related-discussion.component.d.ts.map +1 -0
- package/lib/elements/sliders/sliders.component.d.ts +18 -0
- package/lib/elements/sliders/sliders.component.d.ts.map +1 -0
- package/lib/events.service.d.ts +18 -0
- package/lib/events.service.d.ts.map +1 -0
- package/lib/models/discuss.model.d.ts +298 -0
- package/lib/models/discuss.model.d.ts.map +1 -0
- package/lib/models/discussion-config.model.d.ts +42 -0
- package/lib/models/discussion-config.model.d.ts.map +1 -0
- package/lib/navigation-service.service.d.ts +22 -0
- package/lib/navigation-service.service.d.ts.map +1 -0
- package/lib/pipes/pipe-filter/pipe-filter.pipe.d.ts +8 -0
- package/lib/pipes/pipe-filter/pipe-filter.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.d.ts +8 -0
- package/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.d.ts +8 -0
- package/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.d.ts.map +1 -0
- package/lib/pipes/pipes.module.d.ts +13 -0
- package/lib/pipes/pipes.module.d.ts.map +1 -0
- package/lib/pipes/sort-by/sort-by.pipe.d.ts +8 -0
- package/lib/pipes/sort-by/sort-by.pipe.d.ts.map +1 -0
- package/lib/pipes/split-initials/split-initials.pipe.d.ts +8 -0
- package/lib/pipes/split-initials/split-initials.pipe.d.ts.map +1 -0
- package/lib/router-service.service.d.ts +10 -0
- package/lib/router-service.service.d.ts.map +1 -0
- package/lib/services/abstract-config.service.d.ts +4 -0
- package/lib/services/abstract-config.service.d.ts.map +1 -0
- package/lib/services/config.service.d.ts +36 -0
- package/lib/services/config.service.d.ts.map +1 -0
- package/lib/services/discuss-utils.service.d.ts +14 -0
- package/lib/services/discuss-utils.service.d.ts.map +1 -0
- package/lib/services/discussion.service.d.ts +76 -0
- package/lib/services/discussion.service.d.ts.map +1 -0
- package/lib/telemetry-utils.service.d.ts +20 -0
- package/lib/telemetry-utils.service.d.ts.map +1 -0
- package/lib/wrapper/base-wrapper/base-wrapper.component.d.ts +22 -0
- package/lib/wrapper/base-wrapper/base-wrapper.component.d.ts.map +1 -0
- package/lib/wrapper/category-widget/category-widget.component.d.ts +23 -0
- package/lib/wrapper/category-widget/category-widget.component.d.ts.map +1 -0
- package/lib/wrapper/tags-widget/tags-widget.component.d.ts +17 -0
- package/lib/wrapper/tags-widget/tags-widget.component.d.ts.map +1 -0
- package/lib/wrapper-navigate.service.d.ts +11 -0
- package/lib/wrapper-navigate.service.d.ts.map +1 -0
- package/package.json +44 -0
- package/public-api.d.ts +26 -0
- package/public-api.d.ts.map +1 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { DiscussionService } from '../../services/discussion.service';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import { ConfigService } from '../../services/config.service';
|
|
6
|
+
import { DiscussUtilsService } from '../../services/discuss-utils.service';
|
|
7
|
+
import { TelemetryUtilsService } from './../../telemetry-utils.service';
|
|
8
|
+
import { NavigationServiceService } from '../../navigation-service.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class TagAllDiscussionComponent implements OnInit {
|
|
11
|
+
private route;
|
|
12
|
+
private router;
|
|
13
|
+
private discussService;
|
|
14
|
+
activatedRoute: ActivatedRoute;
|
|
15
|
+
private configService;
|
|
16
|
+
private telemetryUtils;
|
|
17
|
+
private discussUtils;
|
|
18
|
+
private navigationService;
|
|
19
|
+
widgetTagName: any;
|
|
20
|
+
widgetcIds: any;
|
|
21
|
+
stateChange: EventEmitter<any>;
|
|
22
|
+
routeParams: any;
|
|
23
|
+
tagName: any;
|
|
24
|
+
similarPosts: any[];
|
|
25
|
+
queryParam: any;
|
|
26
|
+
fetchSingleCategoryLoader: boolean;
|
|
27
|
+
currentActivePage: 1;
|
|
28
|
+
defaultError: string;
|
|
29
|
+
pager: {};
|
|
30
|
+
paginationData: any;
|
|
31
|
+
fetchNewData: boolean;
|
|
32
|
+
paramsSubscription: Subscription;
|
|
33
|
+
getParams: any;
|
|
34
|
+
cIds: any;
|
|
35
|
+
constructor(route: ActivatedRoute, router: Router, discussService: DiscussionService, activatedRoute: ActivatedRoute, configService: ConfigService, telemetryUtils: TelemetryUtilsService, discussUtils: DiscussUtilsService, navigationService: NavigationServiceService);
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
/**Method to fetch the tag based discussion */
|
|
38
|
+
fetchSingleTagDetails(tagname: string, page?: any): void;
|
|
39
|
+
/** Method to fetch the context based discussions */
|
|
40
|
+
fetchContextBasedTagDetails(tagname: string, cid: any, page?: any): void;
|
|
41
|
+
setPagination(): void;
|
|
42
|
+
navigateWithPage(page: any): void;
|
|
43
|
+
/** Method to navigate to the dicussion detail page on click of tag related discussion */
|
|
44
|
+
navigateToDiscussionDetails(discussionData: any): void;
|
|
45
|
+
logTelemetry(event: any): void;
|
|
46
|
+
getBgColor(tagTitle: any): {
|
|
47
|
+
color: string;
|
|
48
|
+
'background-color': string;
|
|
49
|
+
};
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagAllDiscussionComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagAllDiscussionComponent, "lib-tag-all-discussion", never, { "widgetTagName": { "alias": "widgetTagName"; "required": false; }; "widgetcIds": { "alias": "widgetcIds"; "required": false; }; }, { "stateChange": "stateChange"; }, never, never, false, never>;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=tag-all-discussion.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag-all-discussion.component.d.ts","sourceRoot":"","sources":["../../../../../projects/discussion-ui/src/lib/components/tag-all-discussion/tag-all-discussion.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,YAAY,EAAU,MAAM,eAAe,CAAA;AAE9E,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAGtE,OAAO,EAAc,YAAY,EAAE,MAAM,MAAM,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;;AAE5E,qBAKa,yBAA0B,YAAW,MAAM;IAqBpD,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,cAAc;IACf,cAAc,EAAE,cAAc;IACrC,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,iBAAiB;IA3BlB,aAAa,EAAE,GAAG,CAAC;IACnB,UAAU,EAAE,GAAG,CAAC;IAEf,WAAW,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IAE9D,WAAW,EAAE,GAAG,CAAC;IACjB,OAAO,EAAG,GAAG,CAAA;IACb,YAAY,EAAE,GAAG,EAAE,CAAA;IACnB,UAAU,EAAE,GAAG,CAAA;IACf,yBAAyB,UAAQ;IACjC,iBAAiB,EAAE,CAAC,CAAA;IACpB,YAAY,SAA2D;IACvE,KAAK,KAAK;IACV,cAAc,EAAG,GAAG,CAAA;IACpB,YAAY,UAAQ;IACpB,kBAAkB,EAAE,YAAY,CAAC;IACjC,SAAS,EAAE,GAAG,CAAC;IACf,IAAI,EAAE,GAAG,CAAC;gBAGA,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,iBAAiB,EAClC,cAAc,EAAE,cAAc,EAC7B,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,qBAAqB,EACrC,YAAY,EAAE,mBAAmB,EACjC,iBAAiB,EAAE,wBAAwB;IAGrD,QAAQ;IAwBR,8CAA8C;IAC9C,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG;IAgBjD,oDAAoD;IACpD,2BAA2B,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,GAAG;IAgCjE,aAAa;IAUb,gBAAgB,CAAC,IAAI,EAAE,GAAG;IAO1B,yFAAyF;IACzF,2BAA2B,CAAC,cAAc,KAAA;IAmB1C,YAAY,CAAC,KAAK,KAAA;IAYX,UAAU,CAAC,QAAQ,EAAE,GAAG;;;;yCA1JpB,yBAAyB;2CAAzB,yBAAyB;CAgKrC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges, EventEmitter } from '@angular/core';
|
|
2
|
+
import { NSDiscussData } from '../../models/discuss.model';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { ConfigService } from '../../services/config.service';
|
|
5
|
+
import { NavigationServiceService } from '../../navigation-service.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TrendingTagsComponent implements OnInit, OnChanges {
|
|
8
|
+
router: Router;
|
|
9
|
+
private configService;
|
|
10
|
+
private navigationService;
|
|
11
|
+
tags: NSDiscussData.ITag[];
|
|
12
|
+
stateChange: EventEmitter<any>;
|
|
13
|
+
max: number;
|
|
14
|
+
trandingTags: NSDiscussData.ITag[];
|
|
15
|
+
queryParam: any;
|
|
16
|
+
constructor(router: Router, configService: ConfigService, navigationService: NavigationServiceService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnChanges(data: SimpleChanges): void;
|
|
19
|
+
getAllDiscussions(tag: {
|
|
20
|
+
value: any;
|
|
21
|
+
}): void;
|
|
22
|
+
css(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrendingTagsComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TrendingTagsComponent, "lib-discuss-trending-tags", never, { "tags": { "alias": "tags"; "required": false; }; }, { "stateChange": "stateChange"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=trending-tags.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trending-tags.component.d.ts","sourceRoot":"","sources":["../../../../../projects/discussion-ui/src/lib/components/trending-tags/trending-tags.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,EAAU,MAAM,eAAe,CAAC;AACzG,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAA;;AAG3E,qBAKa,qBAAsB,YAAW,MAAM,EAAE,SAAS;IAQpD,MAAM,EAAE,MAAM;IACrB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,iBAAiB;IATlB,IAAI,EAAG,aAAa,CAAC,IAAI,EAAE,CAAC;IAC3B,WAAW,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IAE9D,GAAG,SAAK;IACR,YAAY,EAAG,aAAa,CAAC,IAAI,EAAE,CAAC;IACpC,UAAU,EAAE,GAAG,CAAC;gBAEP,MAAM,EAAE,MAAM,EACb,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,wBAAwB;IAIrD,QAAQ,IAAI,IAAI;IAMhB,WAAW,CAAC,IAAI,EAAE,aAAa;IAS/B,iBAAiB,CAAC,GAAG,EAAE;QAAE,KAAK,EAAE,GAAG,CAAA;KAAE;IAkBrC,GAAG;yCA/CQ,qBAAqB;2CAArB,qBAAqB;CAkDjC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const urlConfig: {
|
|
2
|
+
host: string;
|
|
3
|
+
apiSlug: string;
|
|
4
|
+
apiBasePath: () => string;
|
|
5
|
+
getAllCategories: () => string;
|
|
6
|
+
getSingleCategoryDetails: (cid: number) => string;
|
|
7
|
+
getAllTags: () => string;
|
|
8
|
+
getTagBasedDiscussion: (tag: string) => string;
|
|
9
|
+
createPost: () => string;
|
|
10
|
+
votePost: (pid: number) => string;
|
|
11
|
+
replyPost: (tid: number) => string;
|
|
12
|
+
bookmarkPost: (pid: number) => string;
|
|
13
|
+
recentPost: () => string;
|
|
14
|
+
popularPost: () => string;
|
|
15
|
+
unread: () => string;
|
|
16
|
+
getTopic: () => string;
|
|
17
|
+
profile: () => string;
|
|
18
|
+
fetchProfile: (slug: string) => string;
|
|
19
|
+
listUpVote: (slug: string) => string;
|
|
20
|
+
listDownVoted: (slug: string) => string;
|
|
21
|
+
listSaved: (slug: string) => string;
|
|
22
|
+
fetchNetworkProfile: string;
|
|
23
|
+
userDetails: (username: string) => string;
|
|
24
|
+
getContextBasedTopics: (slug: string) => string;
|
|
25
|
+
registerUser: () => string;
|
|
26
|
+
getContextBasedDiscussion: () => string;
|
|
27
|
+
getContextBasedTagDiscussion: () => string;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=url.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url.config.d.ts","sourceRoot":"","sources":["../../../../projects/discussion-ui/src/lib/config/url.config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;oCASc,MAAM;;iCAET,MAAM;;oBAEnB,MAAM;qBACL,MAAM;wBACH,MAAM;;;;;;yBAML,MAAM;uBACR,MAAM;0BACH,MAAM;sBACV,MAAM;;4BAEA,MAAM;kCACA,MAAM;;;;CAIvC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DiscussionEventsService {
|
|
5
|
+
telemetryEvent: Subject<any>;
|
|
6
|
+
actionEvent: EventEmitter<any>;
|
|
7
|
+
constructor();
|
|
8
|
+
emitTelemetry(event: any): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DiscussionEventsService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DiscussionEventsService>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=discussion-events.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discussion-events.service.d.ts","sourceRoot":"","sources":["../../../projects/discussion-ui/src/lib/discussion-events.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,YAAY,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;;AAI/B,qBAGa,uBAAuB;IAE3B,cAAc,eAAsB;IACpC,WAAW,oBAA2B;;IAI7C,aAAa,CAAC,KAAK,KAAA;yCAPR,uBAAuB;6CAAvB,uBAAuB;CAanC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class DiscussionRoutingModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DiscussionRoutingModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DiscussionRoutingModule, never, [typeof i1.RouterModule, typeof i2.CommonModule], [typeof i1.RouterModule]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DiscussionRoutingModule>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=discussion-routing.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discussion-routing.module.d.ts","sourceRoot":"","sources":["../../../../projects/discussion-ui/src/lib/discussion-routing/discussion-routing.module.ts"],"names":[],"mappings":";;;AA+DA,qBAQa,uBAAuB;yCAAvB,uBAAuB;0CAAvB,uBAAuB;0CAAvB,uBAAuB;CAAI"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/lib-entry/lib-entry.component";
|
|
3
|
+
import * as i2 from "./wrapper/category-widget/category-widget.component";
|
|
4
|
+
import * as i3 from "./wrapper/base-wrapper/base-wrapper.component";
|
|
5
|
+
import * as i4 from "./wrapper/tags-widget/tags-widget.component";
|
|
6
|
+
import * as i5 from "./components/components.module";
|
|
7
|
+
import * as i6 from "./discussion-routing/discussion-routing.module";
|
|
8
|
+
import * as i7 from "./elements/elements.module";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
10
|
+
export declare function provideCsModule(): any;
|
|
11
|
+
export declare class DiscussionUiModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DiscussionUiModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DiscussionUiModule, [typeof i1.LibEntryComponent, typeof i2.CategoryWidgetComponent, typeof i3.BaseWrapperComponent, typeof i4.TagsWidgetComponent], [typeof i5.ComponentsModule, typeof i6.DiscussionRoutingModule, typeof i7.ElementsModule, typeof i8.CommonModule], [typeof i5.ComponentsModule, typeof i2.CategoryWidgetComponent, typeof i3.BaseWrapperComponent, typeof i4.TagsWidgetComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DiscussionUiModule>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=discussion-ui.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discussion-ui.module.d.ts","sourceRoot":"","sources":["../../../projects/discussion-ui/src/lib/discussion-ui.module.ts"],"names":[],"mappings":";;;;;;;;;AAcA,wBAAgB,eAAe,QAE9B;AACD,qBAWa,kBAAkB;yCAAlB,kBAAkB;0CAAlB,kBAAkB;0CAAlB,kBAAkB;CAC9B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { DiscussionService } from '../../services/discussion.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AppLoaderComponent implements OnInit, OnDestroy {
|
|
6
|
+
private discussionService;
|
|
7
|
+
data: any;
|
|
8
|
+
headerMessage: string;
|
|
9
|
+
loaderMessage: string;
|
|
10
|
+
countDown: Subscription;
|
|
11
|
+
constructor(discussionService: DiscussionService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppLoaderComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppLoaderComponent, "lib-app-loader", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=app-loader.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-loader.component.d.ts","sourceRoot":"","sources":["../../../../../projects/discussion-ui/src/lib/elements/app-loader/app-loader.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAS,SAAS,EAAE,MAAM,eAAe,CAAC;AAIpE,OAAO,EAAE,YAAY,EAAS,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;;AAGtE,qBAKa,kBAAmB,YAAW,MAAM,EAAE,SAAS;IAQxD,OAAO,CAAC,iBAAiB;IANlB,IAAI,MAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAC,YAAY,CAAC;gBAGb,iBAAiB,EAAE,iBAAiB;IAG9C,QAAQ;IAaR,WAAW;yCAxBA,kBAAkB;2CAAlB,kBAAkB;CA2B9B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AvatarPhotoComponent implements OnInit {
|
|
4
|
+
photoUrl: string;
|
|
5
|
+
name: string;
|
|
6
|
+
size: string;
|
|
7
|
+
randomColor: boolean;
|
|
8
|
+
initials?: string;
|
|
9
|
+
showInitials: boolean;
|
|
10
|
+
circleColor: string;
|
|
11
|
+
random: string;
|
|
12
|
+
private colors;
|
|
13
|
+
private randomcolors;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
private createInititals;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarPhotoComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarPhotoComponent, "lib-avatar-photo", never, { "photoUrl": { "alias": "photoUrl"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "randomColor": { "alias": "randomColor"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=avatar-photo.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar-photo.component.d.ts","sourceRoot":"","sources":["../../../../../projects/discussion-ui/src/lib/elements/avatar-photo/avatar-photo.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAS,MAAM,eAAe,CAAC;;AAEzD,qBAKa,oBAAqB,YAAW,MAAM;IAExC,QAAQ,EAAG,MAAM,CAAC;IAClB,IAAI,EAAG,MAAM,CAAC;IACd,IAAI,SAAM;IACV,WAAW,UAAS;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,UAAS;IACrB,WAAW,EAAG,MAAM,CAAC;IAC5B,MAAM,SAAuC;IAI7C,OAAO,CAAC,MAAM,CAOZ;IAEF,OAAO,CAAC,YAAY,CAOlB;IAEF,QAAQ;IAgBR,OAAO,CAAC,eAAe;yCA/CZ,oBAAoB;2CAApB,oBAAoB;CAsEhC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CategoryCardComponent implements OnInit {
|
|
4
|
+
category: any;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CategoryCardComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CategoryCardComponent, "lib-category-card", never, { "category": { "alias": "category"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=category-card.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category-card.component.d.ts","sourceRoot":"","sources":["../../../../../projects/discussion-ui/src/lib/elements/category-card/category-card.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAS,MAAM,eAAe,CAAC;;AAEzD,qBAKa,qBAAsB,YAAW,MAAM;IAIzC,QAAQ,EAAE,GAAG,CAAC;;IAIvB,QAAQ;yCARG,qBAAqB;2CAArB,qBAAqB;CAYjC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DiscussCardComponent implements OnInit {
|
|
4
|
+
discussionData: any;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
getBgColor(tagTitle: any): {
|
|
8
|
+
color: string;
|
|
9
|
+
'background-color': string;
|
|
10
|
+
};
|
|
11
|
+
stringToColor(title: any): string;
|
|
12
|
+
getContrast(): string;
|
|
13
|
+
IsSingleComent(postCount: any): boolean;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DiscussCardComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DiscussCardComponent, "lib-discuss-card", never, { "discussionData": { "alias": "discussionData"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=discuss-card.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discuss-card.component.d.ts","sourceRoot":"","sources":["../../../../../projects/discussion-ui/src/lib/elements/discuss-card/discuss-card.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAS,MAAM,eAAe,CAAC;;AAEzD,qBAKa,oBAAqB,YAAW,MAAM;IAExC,cAAc,EAAE,GAAG,CAAC;;IAI7B,QAAQ;IAID,UAAU,CAAC,QAAQ,EAAE,GAAG;;;;IAM/B,aAAa,CAAC,KAAK,KAAA;IAanB,WAAW;IAIX,cAAc,CAAC,SAAS,KAAA;yCAjCb,oBAAoB;2CAApB,oBAAoB;CAwChC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./post-reply/post-reply.component";
|
|
3
|
+
import * as i2 from "./category-card/category-card.component";
|
|
4
|
+
import * as i3 from "./discuss-card/discuss-card.component";
|
|
5
|
+
import * as i4 from "./avatar-photo/avatar-photo.component";
|
|
6
|
+
import * as i5 from "./app-loader/app-loader.component";
|
|
7
|
+
import * as i6 from "./related-discussion/related-discussion.component";
|
|
8
|
+
import * as i7 from "./sliders/sliders.component";
|
|
9
|
+
import * as i8 from "./load-alert/load-alert.component";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
11
|
+
import * as i10 from "../pipes/pipes.module";
|
|
12
|
+
import * as i11 from "@angular/forms";
|
|
13
|
+
export declare class ElementsModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementsModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementsModule, [typeof i1.PostReplyComponent, typeof i2.CategoryCardComponent, typeof i3.DiscussCardComponent, typeof i4.AvatarPhotoComponent, typeof i5.AppLoaderComponent, typeof i6.RelatedDiscussionComponent, typeof i7.SlidersComponent, typeof i8.LoadAlertComponent], [typeof i9.CommonModule, typeof i10.PipesModule, typeof i11.FormsModule, typeof i11.ReactiveFormsModule], [typeof i2.CategoryCardComponent, typeof i3.DiscussCardComponent, typeof i4.AvatarPhotoComponent, typeof i5.AppLoaderComponent, typeof i6.RelatedDiscussionComponent, typeof i5.AppLoaderComponent, typeof i1.PostReplyComponent, typeof i7.SlidersComponent, typeof i8.LoadAlertComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ElementsModule>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=elements.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elements.module.d.ts","sourceRoot":"","sources":["../../../../projects/discussion-ui/src/lib/elements/elements.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAaA,qBA4Ba,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAI"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { TelemetryUtilsService } from './../../telemetry-utils.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LoadAlertComponent implements OnInit {
|
|
5
|
+
private telemetryUtils;
|
|
6
|
+
close: EventEmitter<any>;
|
|
7
|
+
exit: EventEmitter<any>;
|
|
8
|
+
constructor(telemetryUtils: TelemetryUtilsService);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
exitForum(event: string): void;
|
|
11
|
+
closeModal(event: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadAlertComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadAlertComponent, "lib-load-alert", never, {}, { "close": "close"; "exit": "exit"; }, never, never, false, never>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=load-alert.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"load-alert.component.d.ts","sourceRoot":"","sources":["../../../../../projects/discussion-ui/src/lib/elements/load-alert/load-alert.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,MAAM,EAAwC,YAAY,EAAE,MAAM,eAAe,CAAC;AAEtG,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;;AAQxE,qBAKa,kBAAmB,YAAW,MAAM;IAK7C,OAAO,CAAC,cAAc;IAJd,KAAK,oBAAsB;IAC3B,IAAI,oBAAsB;gBAG1B,cAAc,EAAE,qBAAqB;IAG/C,QAAQ;IAIR,SAAS,CAAC,KAAK,EAAE,MAAM;IAKvB,UAAU,CAAC,KAAK,KAAA;yCAjBL,kBAAkB;2CAAlB,kBAAkB;CAuB9B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
|
|
2
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PostReplyComponent implements OnInit {
|
|
5
|
+
private formBuilder;
|
|
6
|
+
showCancel: boolean;
|
|
7
|
+
mode: string;
|
|
8
|
+
content: string;
|
|
9
|
+
actionEvent: EventEmitter<any>;
|
|
10
|
+
replyForm: UntypedFormGroup;
|
|
11
|
+
isButtonEnabled: boolean;
|
|
12
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
initializeFormFields(): void;
|
|
15
|
+
validateForm(): boolean;
|
|
16
|
+
isFieldValid(field: any): boolean;
|
|
17
|
+
onReplyClick(mode: string): void;
|
|
18
|
+
onCancelClick(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PostReplyComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PostReplyComponent, "lib-post-reply", never, { "showCancel": { "alias": "showCancel"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, { "actionEvent": "actionEvent"; }, never, never, false, never>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=post-reply.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-reply.component.d.ts","sourceRoot":"","sources":["../../../../../projects/discussion-ui/src/lib/elements/post-reply/post-reply.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAc,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAAa,MAAM,EAAiB,YAAY,EAAE,MAAM,eAAe,CAAC;;AAE/E,qBAKa,kBAAmB,YAAW,MAAM;IAY7C,OAAO,CAAC,WAAW;IAXZ,UAAU,UAAQ;IAClB,IAAI,SAAS;IACb,OAAO,EAAE,MAAM,CAAC;IAEf,WAAW,oBAAsB;IAE3C,SAAS,EAAG,gBAAgB,CAAC;IAE7B,eAAe,UAAS;gBAGd,WAAW,EAAE,kBAAkB;IAGzC,QAAQ;IAKR,oBAAoB;IASpB,YAAY;IAQZ,YAAY,CAAC,KAAK,KAAA;IAalB,YAAY,CAAC,IAAI,EAAE,MAAM;IAKzB,aAAa;yCAvDF,kBAAkB;2CAAlB,kBAAkB;CA2D9B"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnChanges, OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { DiscussionService } from '../../services/discussion.service';
|
|
4
|
+
import { ConfigService } from '../../services/config.service';
|
|
5
|
+
import { NavigationServiceService } from '../../navigation-service.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class RelatedDiscussionComponent implements OnInit, OnChanges {
|
|
8
|
+
private router;
|
|
9
|
+
private configService;
|
|
10
|
+
private discussionService;
|
|
11
|
+
private navigationService;
|
|
12
|
+
catId: any;
|
|
13
|
+
topicId: any;
|
|
14
|
+
stateChange: EventEmitter<any>;
|
|
15
|
+
relatedDiscussions: any[];
|
|
16
|
+
fetchSingleCategoryLoader: boolean;
|
|
17
|
+
similarPosts: any;
|
|
18
|
+
constructor(router: Router, configService: ConfigService, discussionService: DiscussionService, navigationService: NavigationServiceService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngOnChanges(): void;
|
|
21
|
+
fetchRelatedDiscussionData(cid: number): void;
|
|
22
|
+
getDiscussion(discuss: any): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RelatedDiscussionComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RelatedDiscussionComponent, "lib-related-discussion", never, { "catId": { "alias": "catId"; "required": false; }; "topicId": { "alias": "topicId"; "required": false; }; }, { "stateChange": "stateChange"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=related-discussion.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"related-discussion.component.d.ts","sourceRoot":"","sources":["../../../../../projects/discussion-ui/src/lib/elements/related-discussion/related-discussion.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAE,YAAY,EAAU,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAG9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;;AAE5E,qBAMa,0BAA2B,YAAW,MAAM,EAAE,SAAS;IAWhE,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,aAAa;IACnB,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,iBAAiB;IAbpB,KAAK,EAAE,GAAG,CAAC;IACX,OAAO,EAAE,GAAG,CAAC;IAEZ,WAAW,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IAE9D,kBAAkB,EAAE,GAAG,EAAE,CAAC;IAC1B,yBAAyB,UAAS;IAClC,YAAY,EAAE,GAAG,CAAC;gBAGR,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa,EAC1B,iBAAiB,EAAE,iBAAiB,EACpC,iBAAiB,EAAE,wBAAwB;IAIvD,QAAQ;IAGR,WAAW;IAMX,0BAA0B,CAAC,GAAG,EAAE,MAAM;IAmBtC,aAAa,CAAC,OAAO,KAAA;yCA9CV,0BAA0B;2CAA1B,0BAA0B;CAqDtC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SlidersComponent implements OnInit {
|
|
5
|
+
bannerData: any;
|
|
6
|
+
id: string;
|
|
7
|
+
currentIndex: number;
|
|
8
|
+
slideInterval: Subscription | null;
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
reInitiateSlideInterval(): void;
|
|
12
|
+
slideTo(index: number): void;
|
|
13
|
+
get isOpenInNewTab(): boolean;
|
|
14
|
+
openInNewTab(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlidersComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlidersComponent, "ws-widget-sliders", never, { "bannerData": { "alias": "bannerData"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=sliders.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sliders.component.d.ts","sourceRoot":"","sources":["../../../../../projects/discussion-ui/src/lib/elements/sliders/sliders.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,MAAM,EAAE,MAAM,eAAe,CAAA;AAErE,OAAO,EAAE,YAAY,EAAY,MAAM,MAAM,CAAA;;AAG7C,qBAKa,gBAAiB,YAAW,MAAM;IACpC,UAAU,EAAE,GAAG,CAAA;IAEjB,EAAE,SAA4B;IACrC,YAAY,SAAI;IAChB,aAAa,EAAE,YAAY,GAAG,IAAI,CAAO;;IAMzC,QAAQ;IAGR,uBAAuB;IAmBvB,OAAO,CAAC,KAAK,EAAE,MAAM;IAWrB,IAAI,cAAc,YAKjB;IAED,YAAY;yCAnDD,gBAAgB;2CAAhB,gBAAgB;CAmE5B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Observable, ReplaySubject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EventsService {
|
|
4
|
+
private _navItemSource;
|
|
5
|
+
navItem$: Observable<any>;
|
|
6
|
+
registeredEvents: Array<Object>;
|
|
7
|
+
toggleMenuItem: ReplaySubject<any>;
|
|
8
|
+
constructor();
|
|
9
|
+
/**
|
|
10
|
+
* This function is used to update the states in widget with data
|
|
11
|
+
* @param {} data
|
|
12
|
+
* TODO: Not being used anymore have to cleanup
|
|
13
|
+
*/
|
|
14
|
+
toggle(data: any): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EventsService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EventsService>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=events.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.service.d.ts","sourceRoot":"","sources":["../../../projects/discussion-ui/src/lib/events.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;;AAGhD,qBAGa,aAAa;IACxB,OAAO,CAAC,cAAc,CAA+B;IAErD,QAAQ,kBAAsC;IAC9C,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAM;IACrC,cAAc,EAAE,aAAa,CAAC,GAAG,CAAC,CAAuB;;IAGzD;;;;OAIG;IACH,MAAM,CAAC,IAAI,KAAA;yCAbA,aAAa;6CAAb,aAAa;CAiBzB"}
|