@intelact/driveup 2.1.7 → 2.1.8

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 (66) hide show
  1. package/lib/index.d.ts +1 -0
  2. package/lib/index.js +1 -0
  3. package/lib/index.js.map +1 -1
  4. package/lib/public/contac-us.dto.d.ts +6 -0
  5. package/lib/{bank/account.model.js → public/contac-us.dto.js} +16 -34
  6. package/lib/public/contac-us.dto.js.map +1 -0
  7. package/lib/public/contact-sales.dto.d.ts +9 -0
  8. package/lib/public/{contact.dto.js → contact-sales.dto.js} +23 -49
  9. package/lib/public/contact-sales.dto.js.map +1 -0
  10. package/lib/public/country-support.dto.d.ts +6 -0
  11. package/lib/public/country-support.dto.js +47 -0
  12. package/lib/public/country-support.dto.js.map +1 -0
  13. package/lib/public/index.d.ts +3 -5
  14. package/lib/public/index.js +3 -5
  15. package/lib/public/index.js.map +1 -1
  16. package/lib/tsconfig.tsbuildinfo +1 -1
  17. package/package.json +1 -1
  18. package/lib/bank/account.model.d.ts +0 -9
  19. package/lib/bank/account.model.js.map +0 -1
  20. package/lib/bank/index.d.ts +0 -1
  21. package/lib/bank/index.js +0 -18
  22. package/lib/bank/index.js.map +0 -1
  23. package/lib/common/identity.d.ts +0 -27
  24. package/lib/common/identity.js +0 -3
  25. package/lib/common/identity.js.map +0 -1
  26. package/lib/common/person.d.ts +0 -17
  27. package/lib/common/person.js +0 -82
  28. package/lib/common/person.js.map +0 -1
  29. package/lib/feedback/feedback.model.d.ts +0 -10
  30. package/lib/feedback/feedback.model.js +0 -66
  31. package/lib/feedback/feedback.model.js.map +0 -1
  32. package/lib/feedback/index.d.ts +0 -1
  33. package/lib/feedback/index.js +0 -18
  34. package/lib/feedback/index.js.map +0 -1
  35. package/lib/geo/address.model.d.ts +0 -11
  36. package/lib/geo/address.model.js +0 -53
  37. package/lib/geo/address.model.js.map +0 -1
  38. package/lib/geo/coordinate.model.d.ts +0 -4
  39. package/lib/geo/coordinate.model.js +0 -41
  40. package/lib/geo/coordinate.model.js.map +0 -1
  41. package/lib/link/index.d.ts +0 -1
  42. package/lib/link/index.js +0 -18
  43. package/lib/link/index.js.map +0 -1
  44. package/lib/link/link.model.d.ts +0 -55
  45. package/lib/link/link.model.js +0 -75
  46. package/lib/link/link.model.js.map +0 -1
  47. package/lib/note/index.d.ts +0 -1
  48. package/lib/note/index.js +0 -18
  49. package/lib/note/index.js.map +0 -1
  50. package/lib/note/note.model.d.ts +0 -9
  51. package/lib/note/note.model.js +0 -57
  52. package/lib/note/note.model.js.map +0 -1
  53. package/lib/public/contact.dto.d.ts +0 -18
  54. package/lib/public/contact.dto.js.map +0 -1
  55. package/lib/public/faq.model.d.ts +0 -6
  56. package/lib/public/faq.model.js +0 -36
  57. package/lib/public/faq.model.js.map +0 -1
  58. package/lib/public/feature.model.d.ts +0 -179
  59. package/lib/public/feature.model.js +0 -349
  60. package/lib/public/feature.model.js.map +0 -1
  61. package/lib/public/learning.model.d.ts +0 -21
  62. package/lib/public/learning.model.js +0 -59
  63. package/lib/public/learning.model.js.map +0 -1
  64. package/lib/public/testimonials.mapper.d.ts +0 -23
  65. package/lib/public/testimonials.mapper.js +0 -60
  66. package/lib/public/testimonials.mapper.js.map +0 -1
@@ -1,57 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.Note = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const user_model_1 = require("../user/user.model");
15
- const class_validator_1 = require("class-validator");
16
- class Note {
17
- id;
18
- content;
19
- image;
20
- date;
21
- user;
22
- constructor(props) {
23
- Object.assign(this, props);
24
- }
25
- }
26
- exports.Note = Note;
27
- __decorate([
28
- (0, class_validator_1.IsOptional)(),
29
- (0, class_transformer_1.Expose)(),
30
- (0, class_transformer_1.Type)(() => Number),
31
- __metadata("design:type", Number)
32
- ], Note.prototype, "id", void 0);
33
- __decorate([
34
- (0, class_validator_1.IsOptional)(),
35
- (0, class_transformer_1.Transform)(({ value }) => value?.trim()),
36
- (0, class_validator_1.IsString)(),
37
- (0, class_transformer_1.Expose)(),
38
- __metadata("design:type", String)
39
- ], Note.prototype, "content", void 0);
40
- __decorate([
41
- (0, class_validator_1.IsOptional)(),
42
- (0, class_transformer_1.Expose)(),
43
- __metadata("design:type", String)
44
- ], Note.prototype, "image", void 0);
45
- __decorate([
46
- (0, class_validator_1.IsOptional)(),
47
- (0, class_transformer_1.Expose)(),
48
- (0, class_transformer_1.Type)(() => Date),
49
- __metadata("design:type", Date)
50
- ], Note.prototype, "date", void 0);
51
- __decorate([
52
- (0, class_validator_1.IsOptional)(),
53
- (0, class_transformer_1.Expose)(),
54
- (0, class_transformer_1.Type)(() => user_model_1.User),
55
- __metadata("design:type", user_model_1.User)
56
- ], Note.prototype, "user", void 0);
57
- //# sourceMappingURL=note.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"note.model.js","sourceRoot":"","sources":["../../src/note/note.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA4D;AAC5D,mDAA0C;AAC1C,qDAAuD;AAGvD,MAAa,IAAI;IAKhB,EAAE,CAAS;IAMX,OAAO,CAAS;IAIhB,KAAK,CAAU;IAKf,IAAI,CAAO;IAKX,IAAI,CAAO;IAEX,YAAY,KAAqB;QAChC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9BD,oBA8BC;AAzBA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;gCACR;AAMX;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;qCACO;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;mCACM;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACX,IAAI;kCAAC;AAKX;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAI,CAAC;8BACX,iBAAI;kCAAC"}
@@ -1,18 +0,0 @@
1
- export declare class PublicContactDto {
2
- name: string;
3
- email: string;
4
- message: string;
5
- }
6
- export declare class PublicContactSalesDto {
7
- name: string;
8
- email: string;
9
- phone: string;
10
- country: string;
11
- subject: string;
12
- message: string;
13
- }
14
- export declare class PublicContactPricingDto {
15
- email: string;
16
- country: string;
17
- message: string;
18
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"contact.dto.js","sourceRoot":"","sources":["../../src/public/contact.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsF;AAEtF,MAAa,gBAAgB;IAG5B,IAAI,CAAS;IAIb,KAAK,CAAS;IAId,OAAO,CAAS;CAChB;AAZD,4CAYC;AATA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+CACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACK;AAGjB,MAAa,qBAAqB;IAGjC,IAAI,CAAS;IAIb,KAAK,CAAS;IAId,KAAK,CAAS;IAId,OAAO,CAAS;IAIhB,OAAO,CAAS;IAIhB,OAAO,CAAS;CAChB;AAxBD,sDAwBC;AArBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;oDACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACK;AAGjB,MAAa,uBAAuB;IAGnC,KAAK,CAAS;IAId,OAAO,CAAS;IAIhB,OAAO,CAAS;CAChB;AAZD,0DAYC;AATA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACK"}
@@ -1,6 +0,0 @@
1
- export declare class FAQ {
2
- title: string;
3
- description: string;
4
- sort: number;
5
- constructor(props?: Partial<FAQ>);
6
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.FAQ = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- class FAQ {
15
- title;
16
- description;
17
- sort;
18
- constructor(props) {
19
- Object.assign(this, props);
20
- }
21
- }
22
- exports.FAQ = FAQ;
23
- __decorate([
24
- (0, class_transformer_1.Expose)(),
25
- __metadata("design:type", String)
26
- ], FAQ.prototype, "title", void 0);
27
- __decorate([
28
- (0, class_transformer_1.Expose)(),
29
- __metadata("design:type", String)
30
- ], FAQ.prototype, "description", void 0);
31
- __decorate([
32
- (0, class_transformer_1.Expose)(),
33
- (0, class_transformer_1.Type)(() => Number),
34
- __metadata("design:type", Number)
35
- ], FAQ.prototype, "sort", void 0);
36
- //# sourceMappingURL=faq.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"faq.model.js","sourceRoot":"","sources":["../../src/public/faq.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,GAAG;IAGf,KAAK,CAAS;IAGd,WAAW,CAAS;IAIpB,IAAI,CAAS;IAEb,YAAY,KAAoB;QAC/B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAfD,kBAeC;AAZA;IADC,IAAA,0BAAM,GAAE;;kCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;wCACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;iCACN"}
@@ -1,179 +0,0 @@
1
- import { ColorContext, Language } from '@driveup/shared';
2
- export declare class FeatureSlider {
3
- /**
4
- * Language of the slider content
5
- */
6
- language: Language;
7
- /**
8
- * Title of the slider content
9
- */
10
- title: string;
11
- /**
12
- * Description of the slider content
13
- */
14
- description: string;
15
- /**
16
- * Image URL of the slider content
17
- */
18
- image: string;
19
- /**
20
- * Sort order
21
- */
22
- sort: number;
23
- constructor(props?: Partial<FeatureSlider>);
24
- }
25
- export declare class FeatureHeader {
26
- /**
27
- * Language of the header content
28
- */
29
- language: Language;
30
- /**
31
- * Title of the header content
32
- */
33
- title: string;
34
- /**
35
- * Description of the header content
36
- */
37
- description: string;
38
- /**
39
- * Image URL of the header content
40
- */
41
- image: string;
42
- /**
43
- * Additional content of the header
44
- */
45
- content: string;
46
- constructor(props?: Partial<FeatureHeader>);
47
- }
48
- export declare class FeatureShowcase {
49
- /**
50
- * Language of the showcase content
51
- */
52
- language: Language;
53
- /**
54
- * Title of the showcase content
55
- */
56
- title: string;
57
- /**
58
- * Description of the showcase content
59
- */
60
- description: string;
61
- /**
62
- * Media URL which can redirect user to another page or open a video
63
- */
64
- media: string;
65
- /**
66
- * Image URL of the showcase content
67
- */
68
- image: string;
69
- /**
70
- * Position of the image relative to the text content (title & description)
71
- */
72
- imagePosition: 'top' | 'bottom';
73
- /**
74
- * Sort order
75
- */
76
- sort: number;
77
- constructor(props?: Partial<FeatureShowcase>);
78
- }
79
- export declare class FeatureCard {
80
- /**
81
- * Language of the card content
82
- */
83
- language: Language;
84
- /**
85
- * Title of the card content
86
- */
87
- title: string;
88
- /**
89
- * Description of the card content
90
- */
91
- description: string;
92
- /**
93
- * Media URL which can redirect user to another page or open a video
94
- */
95
- media: string;
96
- /**
97
- * Sort order
98
- */
99
- sort: number;
100
- /**
101
- * Context for the coloring of the card (e.g., Info, Success, Warning, Danger)
102
- * - Used to determine the color scheme of the card
103
- * - The type will be replaced with enums Color and ColorContext in the future
104
- */
105
- context: ColorContext;
106
- constructor(props?: Partial<FeatureCard>);
107
- }
108
- export declare class PublicFeatureItem {
109
- /**
110
- * Feature item name
111
- * - Unique
112
- * - Used as identifier for loads
113
- * @example "finances"
114
- */
115
- name: string;
116
- /**
117
- * The main explanation about the feature item
118
- * - Displayed in the detailed view of the feature item
119
- * - Language dependent content
120
- * - JSON array of FeatureHeader objects
121
- * - There should be one entry per supported language
122
- * @example [{ language: Language.En, title: "Finance Management", description: "A description of the feature", image: "https://intelact-driveup.s3.eu-north-1.amazonaws.com/something", content: "some additional content that is shown bellow the title, description and the image" }]
123
- */
124
- header: FeatureHeader;
125
- /**
126
- * Different features of the app, listed under this feature item
127
- * - Displayed in the detailed view of the feature item
128
- * - Language dependent content
129
- * - JSON array of FeatureShowcase objects
130
- * - There will most likely be more than one entry per supported language, to allow multiple features per language
131
- * @example [{ language: Language.En, title: "Manage Invoices", description: "Feature description", media: "https://intelact-driveup.s3.eu-north-1.amazonaws.com/something", image: "https://intelact-driveup.s3.eu-north-1.amazonaws.com/something", imagePosition: "top", sort: 1 }]
132
- */
133
- showcases: FeatureShowcase[];
134
- /**
135
- * Small perks and benefits of the feature item, displayed as cards, without images
136
- * - Displayed in the detailed view of the feature item
137
- * - Language dependent content
138
- * - JSON array of FeatureCard objects
139
- * - There should be one entry per supported language
140
- * @example [{ language: Language.En, title: "Oversee Team", description: "Oversee the flows inside your driving school", media: "https://intelact-driveup.s3.eu-north-1.amazonaws.com/something", sort: 1, context: Context.Info }]
141
- */
142
- cards: FeatureCard[];
143
- /**
144
- * Sort order
145
- */
146
- sort: number;
147
- constructor(props?: Partial<PublicFeatureItem>);
148
- }
149
- export declare class PublicFeature {
150
- /**
151
- * Feature name
152
- * - Unique
153
- * - Used as identifier for loads
154
- * @example "backoffice", "instructorapp", "studentapp"
155
- */
156
- name: string;
157
- /**
158
- * Feature title in the requested language
159
- */
160
- title: string;
161
- /**
162
- * Feature items
163
- */
164
- items: PublicFeatureItem[];
165
- /**
166
- * Brief overview of the feature item
167
- * - Displayed in the feature items list view
168
- * - Language dependent content
169
- * - JSON array of FeatureSlider objects
170
- * - There should be one entry per supported language
171
- * @example [{ language: Language.En, title: "Back Office Dashboard", description: "Track performance all from a powerful, web-based dashboard designed for driving school owners and admins.", image: "https://intelact-driveup.s3.eu-north-1.amazonaws.com/something", sort: 1 }]
172
- */
173
- sliders: FeatureSlider[];
174
- /**
175
- * Sort order
176
- */
177
- sort: number;
178
- constructor(props?: Partial<PublicFeature>);
179
- }
@@ -1,349 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.PublicFeature = exports.PublicFeatureItem = exports.FeatureCard = exports.FeatureShowcase = exports.FeatureHeader = exports.FeatureSlider = void 0;
13
- const shared_1 = require("@driveup/shared");
14
- const class_transformer_1 = require("class-transformer");
15
- class FeatureSlider {
16
- /**
17
- * Language of the slider content
18
- */
19
- language;
20
- /**
21
- * Title of the slider content
22
- */
23
- title;
24
- /**
25
- * Description of the slider content
26
- */
27
- description;
28
- /**
29
- * Image URL of the slider content
30
- */
31
- image;
32
- /**
33
- * Sort order
34
- */
35
- sort;
36
- constructor(props) {
37
- Object.assign(this, props);
38
- }
39
- }
40
- exports.FeatureSlider = FeatureSlider;
41
- __decorate([
42
- (0, class_transformer_1.Expose)(),
43
- __metadata("design:type", String)
44
- ], FeatureSlider.prototype, "language", void 0);
45
- __decorate([
46
- (0, class_transformer_1.Expose)(),
47
- __metadata("design:type", String)
48
- ], FeatureSlider.prototype, "title", void 0);
49
- __decorate([
50
- (0, class_transformer_1.Expose)(),
51
- __metadata("design:type", String)
52
- ], FeatureSlider.prototype, "description", void 0);
53
- __decorate([
54
- (0, class_transformer_1.Expose)(),
55
- __metadata("design:type", String)
56
- ], FeatureSlider.prototype, "image", void 0);
57
- __decorate([
58
- (0, class_transformer_1.Expose)(),
59
- (0, class_transformer_1.Type)(() => Number),
60
- __metadata("design:type", Number)
61
- ], FeatureSlider.prototype, "sort", void 0);
62
- class FeatureHeader {
63
- /**
64
- * Language of the header content
65
- */
66
- language;
67
- /**
68
- * Title of the header content
69
- */
70
- title;
71
- /**
72
- * Description of the header content
73
- */
74
- description;
75
- /**
76
- * Image URL of the header content
77
- */
78
- image;
79
- /**
80
- * Additional content of the header
81
- */
82
- content;
83
- constructor(props) {
84
- Object.assign(this, props);
85
- }
86
- }
87
- exports.FeatureHeader = FeatureHeader;
88
- __decorate([
89
- (0, class_transformer_1.Expose)(),
90
- __metadata("design:type", String)
91
- ], FeatureHeader.prototype, "language", void 0);
92
- __decorate([
93
- (0, class_transformer_1.Expose)(),
94
- __metadata("design:type", String)
95
- ], FeatureHeader.prototype, "title", void 0);
96
- __decorate([
97
- (0, class_transformer_1.Expose)(),
98
- __metadata("design:type", String)
99
- ], FeatureHeader.prototype, "description", void 0);
100
- __decorate([
101
- (0, class_transformer_1.Expose)(),
102
- __metadata("design:type", String)
103
- ], FeatureHeader.prototype, "image", void 0);
104
- __decorate([
105
- (0, class_transformer_1.Expose)(),
106
- __metadata("design:type", String)
107
- ], FeatureHeader.prototype, "content", void 0);
108
- class FeatureShowcase {
109
- /**
110
- * Language of the showcase content
111
- */
112
- language;
113
- /**
114
- * Title of the showcase content
115
- */
116
- title;
117
- /**
118
- * Description of the showcase content
119
- */
120
- description;
121
- /**
122
- * Media URL which can redirect user to another page or open a video
123
- */
124
- media;
125
- /**
126
- * Image URL of the showcase content
127
- */
128
- image;
129
- /**
130
- * Position of the image relative to the text content (title & description)
131
- */
132
- imagePosition;
133
- /**
134
- * Sort order
135
- */
136
- sort;
137
- constructor(props) {
138
- Object.assign(this, props);
139
- }
140
- }
141
- exports.FeatureShowcase = FeatureShowcase;
142
- __decorate([
143
- (0, class_transformer_1.Expose)(),
144
- __metadata("design:type", String)
145
- ], FeatureShowcase.prototype, "language", void 0);
146
- __decorate([
147
- (0, class_transformer_1.Expose)(),
148
- __metadata("design:type", String)
149
- ], FeatureShowcase.prototype, "title", void 0);
150
- __decorate([
151
- (0, class_transformer_1.Expose)(),
152
- __metadata("design:type", String)
153
- ], FeatureShowcase.prototype, "description", void 0);
154
- __decorate([
155
- (0, class_transformer_1.Expose)(),
156
- __metadata("design:type", String)
157
- ], FeatureShowcase.prototype, "media", void 0);
158
- __decorate([
159
- (0, class_transformer_1.Expose)(),
160
- __metadata("design:type", String)
161
- ], FeatureShowcase.prototype, "image", void 0);
162
- __decorate([
163
- (0, class_transformer_1.Expose)(),
164
- __metadata("design:type", String)
165
- ], FeatureShowcase.prototype, "imagePosition", void 0);
166
- __decorate([
167
- (0, class_transformer_1.Expose)(),
168
- (0, class_transformer_1.Type)(() => Number),
169
- __metadata("design:type", Number)
170
- ], FeatureShowcase.prototype, "sort", void 0);
171
- class FeatureCard {
172
- /**
173
- * Language of the card content
174
- */
175
- language;
176
- /**
177
- * Title of the card content
178
- */
179
- title;
180
- /**
181
- * Description of the card content
182
- */
183
- description;
184
- /**
185
- * Media URL which can redirect user to another page or open a video
186
- */
187
- media;
188
- /**
189
- * Sort order
190
- */
191
- sort;
192
- /**
193
- * Context for the coloring of the card (e.g., Info, Success, Warning, Danger)
194
- * - Used to determine the color scheme of the card
195
- * - The type will be replaced with enums Color and ColorContext in the future
196
- */
197
- context;
198
- constructor(props) {
199
- Object.assign(this, props);
200
- }
201
- }
202
- exports.FeatureCard = FeatureCard;
203
- __decorate([
204
- (0, class_transformer_1.Expose)(),
205
- __metadata("design:type", String)
206
- ], FeatureCard.prototype, "language", void 0);
207
- __decorate([
208
- (0, class_transformer_1.Expose)(),
209
- __metadata("design:type", String)
210
- ], FeatureCard.prototype, "title", void 0);
211
- __decorate([
212
- (0, class_transformer_1.Expose)(),
213
- __metadata("design:type", String)
214
- ], FeatureCard.prototype, "description", void 0);
215
- __decorate([
216
- (0, class_transformer_1.Expose)(),
217
- __metadata("design:type", String)
218
- ], FeatureCard.prototype, "media", void 0);
219
- __decorate([
220
- (0, class_transformer_1.Expose)(),
221
- (0, class_transformer_1.Type)(() => Number),
222
- __metadata("design:type", Number)
223
- ], FeatureCard.prototype, "sort", void 0);
224
- __decorate([
225
- (0, class_transformer_1.Expose)(),
226
- __metadata("design:type", String)
227
- ], FeatureCard.prototype, "context", void 0);
228
- class PublicFeatureItem {
229
- /**
230
- * Feature item name
231
- * - Unique
232
- * - Used as identifier for loads
233
- * @example "finances"
234
- */
235
- name;
236
- /**
237
- * The main explanation about the feature item
238
- * - Displayed in the detailed view of the feature item
239
- * - Language dependent content
240
- * - JSON array of FeatureHeader objects
241
- * - There should be one entry per supported language
242
- * @example [{ language: Language.En, title: "Finance Management", description: "A description of the feature", image: "https://intelact-driveup.s3.eu-north-1.amazonaws.com/something", content: "some additional content that is shown bellow the title, description and the image" }]
243
- */
244
- header;
245
- /**
246
- * Different features of the app, listed under this feature item
247
- * - Displayed in the detailed view of the feature item
248
- * - Language dependent content
249
- * - JSON array of FeatureShowcase objects
250
- * - There will most likely be more than one entry per supported language, to allow multiple features per language
251
- * @example [{ language: Language.En, title: "Manage Invoices", description: "Feature description", media: "https://intelact-driveup.s3.eu-north-1.amazonaws.com/something", image: "https://intelact-driveup.s3.eu-north-1.amazonaws.com/something", imagePosition: "top", sort: 1 }]
252
- */
253
- showcases;
254
- /**
255
- * Small perks and benefits of the feature item, displayed as cards, without images
256
- * - Displayed in the detailed view of the feature item
257
- * - Language dependent content
258
- * - JSON array of FeatureCard objects
259
- * - There should be one entry per supported language
260
- * @example [{ language: Language.En, title: "Oversee Team", description: "Oversee the flows inside your driving school", media: "https://intelact-driveup.s3.eu-north-1.amazonaws.com/something", sort: 1, context: Context.Info }]
261
- */
262
- cards;
263
- /**
264
- * Sort order
265
- */
266
- sort;
267
- constructor(props) {
268
- Object.assign(this, props);
269
- }
270
- }
271
- exports.PublicFeatureItem = PublicFeatureItem;
272
- __decorate([
273
- (0, class_transformer_1.Expose)(),
274
- __metadata("design:type", String)
275
- ], PublicFeatureItem.prototype, "name", void 0);
276
- __decorate([
277
- (0, class_transformer_1.Expose)(),
278
- __metadata("design:type", FeatureHeader)
279
- ], PublicFeatureItem.prototype, "header", void 0);
280
- __decorate([
281
- (0, class_transformer_1.Expose)(),
282
- __metadata("design:type", Array)
283
- ], PublicFeatureItem.prototype, "showcases", void 0);
284
- __decorate([
285
- (0, class_transformer_1.Expose)(),
286
- __metadata("design:type", Array)
287
- ], PublicFeatureItem.prototype, "cards", void 0);
288
- __decorate([
289
- (0, class_transformer_1.Expose)(),
290
- (0, class_transformer_1.Type)(() => Number),
291
- __metadata("design:type", Number)
292
- ], PublicFeatureItem.prototype, "sort", void 0);
293
- class PublicFeature {
294
- /**
295
- * Feature name
296
- * - Unique
297
- * - Used as identifier for loads
298
- * @example "backoffice", "instructorapp", "studentapp"
299
- */
300
- name;
301
- /**
302
- * Feature title in the requested language
303
- */
304
- title;
305
- /**
306
- * Feature items
307
- */
308
- items;
309
- /**
310
- * Brief overview of the feature item
311
- * - Displayed in the feature items list view
312
- * - Language dependent content
313
- * - JSON array of FeatureSlider objects
314
- * - There should be one entry per supported language
315
- * @example [{ language: Language.En, title: "Back Office Dashboard", description: "Track performance all from a powerful, web-based dashboard designed for driving school owners and admins.", image: "https://intelact-driveup.s3.eu-north-1.amazonaws.com/something", sort: 1 }]
316
- */
317
- sliders;
318
- /**
319
- * Sort order
320
- */
321
- sort;
322
- constructor(props) {
323
- Object.assign(this, props);
324
- }
325
- }
326
- exports.PublicFeature = PublicFeature;
327
- __decorate([
328
- (0, class_transformer_1.Expose)(),
329
- __metadata("design:type", String)
330
- ], PublicFeature.prototype, "name", void 0);
331
- __decorate([
332
- (0, class_transformer_1.Expose)(),
333
- __metadata("design:type", String)
334
- ], PublicFeature.prototype, "title", void 0);
335
- __decorate([
336
- (0, class_transformer_1.Expose)(),
337
- (0, class_transformer_1.Type)(() => PublicFeatureItem),
338
- __metadata("design:type", Array)
339
- ], PublicFeature.prototype, "items", void 0);
340
- __decorate([
341
- (0, class_transformer_1.Expose)(),
342
- __metadata("design:type", Array)
343
- ], PublicFeature.prototype, "sliders", void 0);
344
- __decorate([
345
- (0, class_transformer_1.Expose)(),
346
- (0, class_transformer_1.Type)(() => Number),
347
- __metadata("design:type", Number)
348
- ], PublicFeature.prototype, "sort", void 0);
349
- //# sourceMappingURL=feature.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"feature.model.js","sourceRoot":"","sources":["../../src/public/feature.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAyD;AACzD,yDAAiD;AAEjD,MAAa,aAAa;IACzB;;OAEG;IAEH,QAAQ,CAAW;IAEnB;;OAEG;IAEH,KAAK,CAAS;IAEd;;OAEG;IAEH,WAAW,CAAS;IAEpB;;OAEG;IAEH,KAAK,CAAS;IAEd;;OAEG;IAGH,IAAI,CAAS;IAEb,YAAY,KAA8B;QACzC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAnCD,sCAmCC;AA9BA;IADC,IAAA,0BAAM,GAAE;;+CACU;AAMnB;IADC,IAAA,0BAAM,GAAE;;4CACK;AAMd;IADC,IAAA,0BAAM,GAAE;;kDACW;AAMpB;IADC,IAAA,0BAAM,GAAE;;4CACK;AAOd;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACN;AAOd,MAAa,aAAa;IACzB;;OAEG;IAEH,QAAQ,CAAW;IAEnB;;OAEG;I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IAAI,CAAS;IAEb,YAAY,KAA8B;QACzC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA5CD,sCA4CC;AApCA;IADC,IAAA,0BAAM,GAAE;;2CACI;AAMb;IADC,IAAA,0BAAM,GAAE;;4CACK;AAOd;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAiB,CAAC;;4CACH;AAW3B;IADC,IAAA,0BAAM,GAAE;;8CACgB;AAOzB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACN"}
@@ -1,21 +0,0 @@
1
- export declare class PublicLearningHubItem {
2
- /**
3
- * Learning item title
4
- */
5
- title: string;
6
- /**
7
- * Learning item description
8
- */
9
- description: string;
10
- /** The type of the property will be change to ProfileType after migration branch merge */
11
- profile: string;
12
- /**
13
- * Sort order
14
- */
15
- sort: number;
16
- /**
17
- * Media URL (image, video, pdf, etc)
18
- */
19
- media: string;
20
- constructor(props?: Partial<PublicLearningHubItem>);
21
- }