blob: e71a139481b59cddd72dbb50947ec5a633eac852 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
/**
* Created by phare on 3/28/17.
*/
import * as base from "./base";
import * as page from "./generic-page";
/* tslint:disable:no-unsafe-any */
/** @public */
export class ReviewsPageSortOption extends base.Model {
constructor(id, title, selectedActionTitle, url) {
super();
this.id = id;
this.title = title;
this.selectedActionTitle = selectedActionTitle;
this.url = url;
}
}
/** @public */
export class ReviewsPage extends page.GenericPage {
constructor() {
super([]);
}
}
/** @public */
export class Ratings extends base.Model {
}
/** @public */
export class Review extends base.ViewModel {
}
/** @public */
export class Response extends base.Model {
}
/** @public */
export class TapToRate extends base.Model {
constructor() {
super(...arguments);
this.componentType = "tapToRate";
}
}
/** @public */
export class ProductReviewActions extends base.Model {
constructor() {
super(...arguments);
this.componentType = "productReviewActions";
}
}
/** @public */
export class EditorsChoice extends base.Model {
constructor(notes) {
super();
this.showsBadge = false;
this.title = null;
this.notes = notes;
this.isCollapsed = true;
}
}
/** @public */
export class ReviewsContainer extends base.Model {
}
/** @public */
export class ProductReviewAction extends base.Model {
}
/** @public */
export class ProductWriteAReview extends base.Model {
}
/** @public */
export class ProductStarRatings extends Ratings {
constructor() {
super(...arguments);
this.componentType = "starRatings";
}
}
/** @public */
export class ProductStarRatingsHistogram extends Ratings {
constructor() {
super(...arguments);
this.componentType = "starRatingsHistogram";
}
}
/** @public */
export class ProductNoRatings extends Ratings {
constructor() {
super(...arguments);
this.componentType = "noRatings";
}
}
/** @public */
export class ProductRatingsAndReviewsMessage extends base.Model {
constructor(messageText) {
super();
this.componentType = "message";
this.messageText = messageText;
}
}
/** @public */
export class ReviewSummary extends base.ViewModel {
constructor(body, bodyNoTitle, subtitle, subtitleArtwork, subtitleArtworkAlignment, bodyMediaType, flowPreviewActionsConfiguration) {
super();
this.body = body;
this.bodyNoTitle = bodyNoTitle;
this.subtitle = subtitle;
this.subtitleArtwork = subtitleArtwork;
this.subtitleArtworkAlignment = subtitleArtworkAlignment;
this.bodyMediaType = bodyMediaType;
this.flowPreviewActionsConfiguration = flowPreviewActionsConfiguration;
}
}
/** @public */
export class ProductReview extends base.ViewModel {
constructor() {
super(...arguments);
this.componentType = "productReview";
}
}
/* tslint:enable:no-unsafe-any */
//# sourceMappingURL=reviews.js.map
|