@intelact/driveup 2.1.1 → 2.1.2
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/lib/bank/account.model.d.ts +9 -0
- package/lib/bank/account.model.js +65 -0
- package/lib/bank/account.model.js.map +1 -0
- package/lib/bank/index.d.ts +1 -0
- package/lib/bank/index.js +18 -0
- package/lib/bank/index.js.map +1 -0
- package/lib/common/identity.d.ts +27 -0
- package/lib/common/identity.js +3 -0
- package/lib/common/identity.js.map +1 -0
- package/lib/common/person.d.ts +17 -0
- package/lib/common/person.js +82 -0
- package/lib/common/person.js.map +1 -0
- package/lib/driving/lesson/topic.dto.js +1 -0
- package/lib/driving/lesson/topic.dto.js.map +1 -1
- package/lib/feedback/feedback.model.d.ts +10 -0
- package/lib/feedback/feedback.model.js +66 -0
- package/lib/feedback/feedback.model.js.map +1 -0
- package/lib/feedback/index.d.ts +1 -0
- package/lib/feedback/index.js +18 -0
- package/lib/feedback/index.js.map +1 -0
- package/lib/geo/address.model.d.ts +11 -0
- package/lib/geo/address.model.js +53 -0
- package/lib/geo/address.model.js.map +1 -0
- package/lib/geo/coordinate.model.d.ts +4 -0
- package/lib/geo/coordinate.model.js +41 -0
- package/lib/geo/coordinate.model.js.map +1 -0
- package/lib/link/index.d.ts +1 -0
- package/lib/link/index.js +18 -0
- package/lib/link/index.js.map +1 -0
- package/lib/link/link.model.d.ts +55 -0
- package/lib/link/link.model.js +75 -0
- package/lib/link/link.model.js.map +1 -0
- package/lib/note/index.d.ts +1 -0
- package/lib/note/index.js +18 -0
- package/lib/note/index.js.map +1 -0
- package/lib/note/note.model.d.ts +9 -0
- package/lib/note/note.model.js +57 -0
- package/lib/note/note.model.js.map +1 -0
- package/lib/public/contact.dto.d.ts +18 -0
- package/lib/public/contact.dto.js +95 -0
- package/lib/public/contact.dto.js.map +1 -0
- package/lib/public/faq.model.d.ts +6 -0
- package/lib/public/faq.model.js +36 -0
- package/lib/public/faq.model.js.map +1 -0
- package/lib/public/feature.model.d.ts +179 -0
- package/lib/public/feature.model.js +349 -0
- package/lib/public/feature.model.js.map +1 -0
- package/lib/public/index.d.ts +5 -0
- package/lib/public/index.js +22 -0
- package/lib/public/index.js.map +1 -0
- package/lib/public/learning.model.d.ts +21 -0
- package/lib/public/learning.model.js +59 -0
- package/lib/public/learning.model.js.map +1 -0
- package/lib/public/testimonials.mapper.d.ts +23 -0
- package/lib/public/testimonials.mapper.js +60 -0
- package/lib/public/testimonials.mapper.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,349 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.model.js","sourceRoot":"","sources":["../../src/public/feature.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAyD;AACzD,yD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;;;OAOG;IAEH,KAAK,CAAgB;IAErB;;OAEG;IAGH,IAAI,CAAS;IAEb,YAAY,KAAkC;QAC7C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AArDD,8CAqDC;AA7CA;IADC,IAAA,0BAAM,GAAE;;+CACI;AAWb;IADC,IAAA,0BAAM,GAAE;8BACD,aAAa;iDAAC;AAWtB;IADC,IAAA,0BAAM,GAAE;;oDACoB;AAW7B;IADC,IAAA,0BAAM,GAAE;;gDACY;AAOrB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;+CACN;AAOd,MAAa,aAAa;IACzB;;;;;OAKG;IAEH,IAAI,CAAS;IAEb;;OAEG;IAEH,KAAK,CAAS;IAEd;;OAEG;IAGH,KAAK,CAAsB;IAE3B;;;;;;;OAOG;IAEH,OAAO,CAAkB;IAEzB;;OAEG;IAGH,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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./contact.dto"), exports);
|
|
18
|
+
__exportStar(require("./faq.model"), exports);
|
|
19
|
+
__exportStar(require("./feature.model"), exports);
|
|
20
|
+
__exportStar(require("./learning.model"), exports);
|
|
21
|
+
__exportStar(require("./testimonials.mapper"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/public/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,8CAA4B;AAC5B,kDAAgC;AAChC,mDAAiC;AACjC,wDAAsC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.PublicLearningHubItem = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class PublicLearningHubItem {
|
|
15
|
+
/**
|
|
16
|
+
* Learning item title
|
|
17
|
+
*/
|
|
18
|
+
title;
|
|
19
|
+
/**
|
|
20
|
+
* Learning item description
|
|
21
|
+
*/
|
|
22
|
+
description;
|
|
23
|
+
/** The type of the property will be change to ProfileType after migration branch merge */
|
|
24
|
+
profile;
|
|
25
|
+
/**
|
|
26
|
+
* Sort order
|
|
27
|
+
*/
|
|
28
|
+
sort;
|
|
29
|
+
/**
|
|
30
|
+
* Media URL (image, video, pdf, etc)
|
|
31
|
+
*/
|
|
32
|
+
media;
|
|
33
|
+
constructor(props) {
|
|
34
|
+
Object.assign(this, props);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.PublicLearningHubItem = PublicLearningHubItem;
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], PublicLearningHubItem.prototype, "title", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], PublicLearningHubItem.prototype, "description", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], PublicLearningHubItem.prototype, "profile", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
53
|
+
__metadata("design:type", Number)
|
|
54
|
+
], PublicLearningHubItem.prototype, "sort", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], PublicLearningHubItem.prototype, "media", void 0);
|
|
59
|
+
//# sourceMappingURL=learning.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"learning.model.js","sourceRoot":"","sources":["../../src/public/learning.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,qBAAqB;IACjC;;OAEG;IAEH,KAAK,CAAS;IAEd;;OAEG;IAEH,WAAW,CAAS;IAEpB,0FAA0F;IAE1F,OAAO,CAAS;IAEhB;;OAEG;IAGH,IAAI,CAAS;IAEb;;OAEG;IAEH,KAAK,CAAS;IAEd,YAAY,KAAsC;QACjD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAjCD,sDAiCC;AA5BA;IADC,IAAA,0BAAM,GAAE;;oDACK;AAMd;IADC,IAAA,0BAAM,GAAE;;0DACW;AAIpB;IADC,IAAA,0BAAM,GAAE;;sDACO;AAOhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mDACN;AAMb;IADC,IAAA,0BAAM,GAAE;;oDACK"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class PublicTestimonial {
|
|
2
|
+
/**
|
|
3
|
+
* Testimonial title
|
|
4
|
+
*/
|
|
5
|
+
title: string;
|
|
6
|
+
/**
|
|
7
|
+
* User feedback
|
|
8
|
+
*/
|
|
9
|
+
feedback: string;
|
|
10
|
+
/**
|
|
11
|
+
* User image/avatar
|
|
12
|
+
*/
|
|
13
|
+
image: string;
|
|
14
|
+
/**
|
|
15
|
+
* User name
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
/**
|
|
19
|
+
* User position/job title
|
|
20
|
+
*/
|
|
21
|
+
position: string;
|
|
22
|
+
constructor(partial: Partial<PublicTestimonial>);
|
|
23
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.PublicTestimonial = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class PublicTestimonial {
|
|
15
|
+
/**
|
|
16
|
+
* Testimonial title
|
|
17
|
+
*/
|
|
18
|
+
title;
|
|
19
|
+
/**
|
|
20
|
+
* User feedback
|
|
21
|
+
*/
|
|
22
|
+
feedback;
|
|
23
|
+
/**
|
|
24
|
+
* User image/avatar
|
|
25
|
+
*/
|
|
26
|
+
image;
|
|
27
|
+
/**
|
|
28
|
+
* User name
|
|
29
|
+
*/
|
|
30
|
+
name;
|
|
31
|
+
/**
|
|
32
|
+
* User position/job title
|
|
33
|
+
*/
|
|
34
|
+
position;
|
|
35
|
+
constructor(partial) {
|
|
36
|
+
Object.assign(this, partial);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.PublicTestimonial = PublicTestimonial;
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], PublicTestimonial.prototype, "title", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], PublicTestimonial.prototype, "feedback", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], PublicTestimonial.prototype, "image", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_transformer_1.Expose)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], PublicTestimonial.prototype, "name", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], PublicTestimonial.prototype, "position", void 0);
|
|
60
|
+
//# sourceMappingURL=testimonials.mapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testimonials.mapper.js","sourceRoot":"","sources":["../../src/public/testimonials.mapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAE3C,MAAa,iBAAiB;IAC7B;;OAEG;IAEH,KAAK,CAAS;IAEd;;OAEG;IAEH,QAAQ,CAAS;IAEjB;;OAEG;IAEH,KAAK,CAAS;IAEd;;OAEG;IAEH,IAAI,CAAS;IAEb;;OAEG;IAEH,QAAQ,CAAS;IAEjB,YAAY,OAAmC;QAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC9B,CAAC;CACD;AAlCD,8CAkCC;AA7BA;IADC,IAAA,0BAAM,GAAE;;gDACK;AAMd;IADC,IAAA,0BAAM,GAAE;;mDACQ;AAMjB;IADC,IAAA,0BAAM,GAAE;;gDACK;AAMd;IADC,IAAA,0BAAM,GAAE;;+CACI;AAMb;IADC,IAAA,0BAAM,GAAE;;mDACQ"}
|