this repo has no description
at main 2.3 kB view raw
1import * as models from "./index"; 2/** @public */ 3export class PrivacyHeader extends models.Model { 4 constructor(bodyText, isDetailHeader, privacyTypes, bodyActions, supplementaryItems, seeDetailsAction) { 5 super(); 6 this.bodyText = bodyText; 7 this.isDetailHeader = isDetailHeader; 8 this.privacyTypes = privacyTypes; 9 this.bodyActions = bodyActions; 10 this.supplementaryItems = supplementaryItems; 11 this.seeDetailsAction = seeDetailsAction; 12 } 13} 14/** @public */ 15export class PrivacyHeaderSupplementaryItem extends models.Model { 16 constructor(bodyText, action) { 17 super(); 18 this.bodyText = bodyText; 19 this.action = action; 20 } 21} 22/** @public */ 23export class PrivacyFooter extends models.Model { 24 constructor(bodyText, actions, privacyTypesCount) { 25 super(); 26 this.bodyText = bodyText; 27 this.actions = actions; 28 this.privacyTypesCount = privacyTypesCount; 29 } 30} 31/** @public */ 32export class PrivacyType extends models.ViewModel { 33 constructor(identifier, title, detail, artwork, style, purposes, categories, clickAction) { 34 super(); 35 this.identifier = identifier; 36 this.title = title; 37 this.detail = detail; 38 this.artwork = artwork; 39 this.style = style; 40 this.purposes = purposes; 41 this.categories = categories; 42 this.clickAction = clickAction; 43 this.wantsScrollFocus = false; 44 } 45} 46/** @public */ 47export class PrivacyPurpose extends models.Model { 48 constructor(identifier, title, categories) { 49 super(); 50 this.identifier = identifier; 51 this.title = title; 52 this.categories = categories; 53 } 54} 55/** @public */ 56export class PrivacyCategory extends models.Model { 57 constructor(identifier, title, artwork, style, dataTypes = []) { 58 super(); 59 this.identifier = identifier; 60 this.title = title; 61 this.artwork = artwork; 62 this.style = style; 63 this.dataTypes = dataTypes; 64 this.prefersSmallArtwork = false; 65 } 66} 67/** @public */ 68export class PrivacyDefinition extends models.Model { 69 constructor(title, definition) { 70 super(); 71 this.title = title; 72 this.definition = definition; 73 } 74} 75//# sourceMappingURL=privacy.js.map