summaryrefslogtreecommitdiff
path: root/node_modules/@jet-app/app-store/tmp/src/api/models/product.js
blob: a5764f3acbb9d3ec9eb190f750d90cb680177110 (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
/**
 * Created by km on 2/13/17.
 */
import * as base from "./base";
import * as metrics from "./metrics/metrics";
import * as shelves from "./shelves";
/** @public */
export class Badge extends base.Model {
    constructor(type, key, content, style, heading, caption, longCaption, accessibilityTitle, accessibilityCaption, leadingValue = "infer") {
        super();
        this.type = type;
        this.key = key;
        this.content = content;
        this.heading = heading;
        this.caption = caption;
        this.longCaption = longCaption;
        this.leadingValue = leadingValue;
        this.accessibilityTitle = accessibilityTitle;
        this.accessibilityCaption = accessibilityCaption;
        this.style = style;
        this.isMonochrome = true;
    }
}
/** @public */
export class TextCard extends base.Model {
    constructor(headingType, title, subtitle) {
        super();
        this.titleStyle = headingType;
        this.title = title;
        this.subtitle = subtitle;
        this.isExpanded = false;
    }
}
/** @public */
export class ProductPageSection extends base.Model {
    constructor(type, shelfId) {
        super();
        this.type = type;
        this.shelfId = shelfId;
    }
}
/** @public */
export class ProductPageExpandedOfferDetails extends base.Model {
    constructor(title, subtitle) {
        super();
        this.title = title;
        this.subtitle = subtitle;
    }
}
/** @public */
export class ProductPage extends shelves.Lockup {
    constructor() {
        super();
        this.pageMetrics = new metrics.PageMetrics();
        this.pageRenderMetrics = {};
    }
}
//# sourceMappingURL=product.js.map