robbyson-frontend-library 0.0.1-rc11 → 0.0.1-rc13
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/dist/components/circular-general-level/circular-general-level.interface.js +1 -0
- package/dist/components/circular-indicator-goal/circular-indicator-goal.interface.js +1 -0
- package/dist/components/circular-progress/circular-progress.interface.js +1 -0
- package/dist/components/daily-chart/daily-chart.interface.js +1 -0
- package/dist/components/dropdown/dropdown.interface.js +1 -0
- package/dist/components/insight-chart/insight-chart.interface.js +1 -0
- package/dist/components/mountain-chart/mountain-chart.interface.js +1 -0
- package/dist/components/pages/base-app-page.component.js +11 -1
- package/dist/components/result-chart/result-chart.interface.js +1 -0
- package/dist/components/text-area/text-area.interface.js +1 -0
- package/dist/components/weekly-chart/weekly-chart.interface.js +1 -0
- package/dist/index.js +10 -2
- package/dist/models/agenda-invited-users.model.js +24 -0
- package/dist/models/agenda.model.js +36 -0
- package/dist/models/chat.model.js +11 -0
- package/dist/models/friendship-team-list.model.js +1 -0
- package/dist/models/quiz-answered.model.js +24 -0
- package/dist/models/quiz-not-answered.model.js +24 -0
- package/dist/models/quiz.model.js +24 -0
- package/dist/models/theme-base.js +8 -0
- package/dist/models/user-list.model.js +24 -0
- package/dist/models/user.model.js +24 -0
- package/dist/repositories/agenda.repository.interface.js +1 -0
- package/dist/repositories/chat.repository.interface.js +1 -0
- package/dist/repositories/configuration.repository.interface.js +1 -0
- package/dist/repositories/friendship.repository.interface.js +1 -0
- package/dist/repositories/quiz.repository.interface.js +1 -0
- package/dist/services/agenda.service.interface.js +1 -0
- package/dist/services/chat.service.interface.js +1 -0
- package/dist/services/dtos/agenda.dto.js +1 -0
- package/dist/services/dtos/chat.dto.js +1 -0
- package/dist/services/dtos/friendship.dto.js +1 -0
- package/dist/services/dtos/index.js +5 -0
- package/dist/services/dtos/quiz.dto.js +1 -0
- package/dist/services/dtos/user.dto.js +1 -0
- package/dist/services/friendship.service.interface.js +1 -0
- package/dist/services/quiz.service.interface.js +1 -0
- package/dist/utils/index.js +2 -0
- package/dist/utils/timer.utils.js +22 -0
- package/index.d.ts +15 -1
- package/package.json +3 -2
- package/src/components/basic-button/basic-button.interface.ts +0 -1
- package/src/components/checkbox/checkbox.interface.ts +2 -0
- package/src/components/circular-general-level/circular-general-level.interface.ts +13 -0
- package/src/components/circular-general-level/circular-general-level.types.d.ts +9 -0
- package/src/components/circular-general-level/index.d.ts +1 -0
- package/src/components/circular-indicator-goal/circular-indicator-goal.interface.ts +13 -0
- package/src/components/circular-indicator-goal/circular-indicator-goal.types.d.ts +9 -0
- package/src/components/circular-indicator-goal/index.d.ts +1 -0
- package/src/components/circular-progress/circular-progress.interface.ts +12 -0
- package/src/components/circular-progress/circular-progress.types.d.ts +9 -0
- package/src/components/circular-progress/index.d.ts +1 -0
- package/src/components/daily-chart/daily-chart.interface.ts +22 -0
- package/src/components/daily-chart/daily-chart.types.d.ts +9 -0
- package/src/components/daily-chart/index.d.ts +1 -0
- package/src/components/date-picker/date-picker.interface.ts +4 -2
- package/src/components/dropdown/dropdown.interface.ts +52 -0
- package/src/components/dropdown/dropdown.types.d.ts +9 -0
- package/src/components/dropdown/index.d.ts +1 -0
- package/src/components/filter/filter.interface.tsx +1 -1
- package/src/components/header-context-menu/header-context-menu.interface.ts +1 -1
- package/src/components/icon-button/icon-button.interface.ts +1 -1
- package/src/components/insight-chart/index.d.ts +1 -0
- package/src/components/insight-chart/insight-chart.interface.ts +23 -0
- package/src/components/insight-chart/insight-chart.types.d.ts +9 -0
- package/src/components/mountain-chart/index.d.ts +1 -0
- package/src/components/mountain-chart/mountain-chart.interface.ts +11 -0
- package/src/components/mountain-chart/mountain-chart.types.d.ts +9 -0
- package/src/components/pages/base-app-page.component.tsx +11 -2
- package/src/components/pagination/pagination.interface.ts +3 -0
- package/src/components/primary-tag/index.d.ts +1 -0
- package/src/components/primary-tag/primary-tag.interface.ts +21 -0
- package/src/components/primary-tag/primary-tag.types.d.ts +9 -0
- package/src/components/profile-image/profile-image.interface.ts +1 -1
- package/src/components/progress-bar/progress-bar.interface.ts +15 -5
- package/src/components/progress-bar/progress-bar.types.d.ts +1 -1
- package/src/components/result-chart/index.d.ts +1 -0
- package/src/components/result-chart/result-chart.interface.ts +25 -0
- package/src/components/result-chart/result-chart.types.d.ts +9 -0
- package/src/components/scroll-box/scroll-box.interface.ts +3 -1
- package/src/components/tab/tab.interface.ts +1 -0
- package/src/components/tag/index.d.ts +1 -0
- package/src/components/tag/tag.interface.ts +8 -0
- package/src/components/tag/tag.types.d.ts +9 -0
- package/src/components/tag-expand/tag-expand.interface.ts +1 -0
- package/src/components/text-area/index.d.ts +1 -0
- package/src/components/text-area/text-area.interface.ts +3 -0
- package/src/components/text-area/text-area.types.d.ts +9 -0
- package/src/components/text-field/text-field.interface.ts +11 -2
- package/src/components/timer/timer.interface.ts +1 -2
- package/src/components/toggle-icon-button/toggle-icon-button.interface.ts +0 -3
- package/src/components/tooltip/tooltip.interface.ts +20 -13
- package/src/components/weekly-chart/index.d.ts +1 -0
- package/src/components/weekly-chart/weekly-chart.interface.ts +22 -0
- package/src/components/weekly-chart/weekly-chart.types.d.ts +9 -0
- package/src/index.ts +13 -3
- package/src/models/agenda-invited-users.model.ts +37 -0
- package/src/models/agenda.model.ts +31 -0
- package/src/models/chat.model.ts +28 -0
- package/src/models/friendship-team-list.model.ts +47 -0
- package/src/models/index.d.ts +9 -0
- package/src/models/quiz-answered.model.ts +28 -0
- package/src/models/quiz-not-answered.model.ts +5 -0
- package/src/models/quiz.model.ts +55 -0
- package/src/models/theme-base.ts +293 -76
- package/src/models/user-list.model.ts +26 -0
- package/src/models/user.model.ts +21 -0
- package/src/repositories/agenda.repository.interface.ts +26 -0
- package/src/repositories/chat.repository.interface.ts +10 -0
- package/src/repositories/configuration.repository.interface.ts +5 -0
- package/src/repositories/friendship.repository.interface.ts +6 -0
- package/src/repositories/index.d.ts +12 -7
- package/src/repositories/quiz.repository.interface.ts +14 -0
- package/src/repositories/user.repository.interface.ts +9 -3
- package/src/services/agenda.service.interface.ts +39 -0
- package/src/services/angel-friend.service.interface.ts +1 -1
- package/src/services/chat.service.interface.ts +12 -0
- package/src/services/dtos/agenda.dto.ts +38 -0
- package/src/services/dtos/chat.dto.ts +24 -0
- package/src/services/dtos/friendship.dto.ts +6 -0
- package/src/services/dtos/index.ts +6 -1
- package/src/services/dtos/quiz.dto.ts +10 -0
- package/src/services/dtos/user.dto.ts +24 -0
- package/src/services/friendship.service.interface.ts +6 -0
- package/src/services/index.d.ts +6 -1
- package/src/services/quiz.service.interface.ts +16 -0
- package/src/services/theme.service.interface.ts +1 -1
- package/src/services/tree.service.interface.ts +4 -0
- package/src/services/user.service.interface.ts +12 -7
- package/src/services/validations.service.interface.ts +1 -0
- package/src/states/main-container/root-app.state.interface.ts +29 -18
- package/src/types/index.ts +1 -0
- package/src/types/tree/index.ts +1 -0
- package/src/types/tree/tree.types.ts +31 -0
- package/src/utils/date.utils.ts +39 -0
- package/src/utils/index.ts +3 -1
- package/src/utils/timer.utils.ts +19 -0
- package/src/components/tags/index.d.ts +0 -1
- package/src/components/tags/tags.interface.ts +0 -17
- package/src/components/tags/tags.types.d.ts +0 -9
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export class ChatModel {
|
|
2
|
+
countNotRead: number;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
createdBy: string;
|
|
5
|
+
descriptions: string[];
|
|
6
|
+
name: string;
|
|
7
|
+
names: string[];
|
|
8
|
+
temporary: boolean;
|
|
9
|
+
type: "chat" | "group";
|
|
10
|
+
users: ChatUser[];
|
|
11
|
+
_id: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class ChatUser {
|
|
15
|
+
active: boolean;
|
|
16
|
+
admin: boolean;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
createdBy: string;
|
|
19
|
+
deleted: boolean;
|
|
20
|
+
identification: string;
|
|
21
|
+
initial: boolean;
|
|
22
|
+
name: string;
|
|
23
|
+
photo: string;
|
|
24
|
+
robbyson_user_id: number;
|
|
25
|
+
status: boolean;
|
|
26
|
+
user_id: number;
|
|
27
|
+
_id: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export interface FriendShipTeamListModel {
|
|
2
|
+
_id: number;
|
|
3
|
+
robbyson_user_id: number;
|
|
4
|
+
user_id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
identification: string;
|
|
7
|
+
nickname: string;
|
|
8
|
+
matricula: string;
|
|
9
|
+
attribute: {
|
|
10
|
+
attribute: Attribute;
|
|
11
|
+
_id: string;
|
|
12
|
+
value: string;
|
|
13
|
+
};
|
|
14
|
+
level_id: number;
|
|
15
|
+
invitedMeForFriend: boolean;
|
|
16
|
+
isInvitedForFriend: boolean;
|
|
17
|
+
isFriend: boolean;
|
|
18
|
+
wasBookmarked: boolean;
|
|
19
|
+
canBeGodson: boolean;
|
|
20
|
+
kiteLevel: number;
|
|
21
|
+
specialMoments: SpecialMoments[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type Attribute = {
|
|
25
|
+
_id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
weight: number;
|
|
28
|
+
primary: boolean;
|
|
29
|
+
isolated: boolean;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
type SpecialMoments = {
|
|
33
|
+
text: string;
|
|
34
|
+
contractor_id: number;
|
|
35
|
+
active: boolean;
|
|
36
|
+
iconPath: string;
|
|
37
|
+
feedbacks: {
|
|
38
|
+
description: string;
|
|
39
|
+
descriptionToFriends: string;
|
|
40
|
+
contractor_id: number;
|
|
41
|
+
}[];
|
|
42
|
+
phrases: {
|
|
43
|
+
text: string;
|
|
44
|
+
contractor_id: number;
|
|
45
|
+
active: boolean;
|
|
46
|
+
}[];
|
|
47
|
+
};
|
package/src/models/index.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ export * from "./result-level.model";
|
|
|
5
5
|
export * from "./angel-friend-status.model";
|
|
6
6
|
export * from "./send-user-to-login.model";
|
|
7
7
|
export * from "./term-of-use.model";
|
|
8
|
+
export * from "./agenda.model";
|
|
9
|
+
export * from "./agenda-invited-users.model";
|
|
8
10
|
export * from "./humor-list.model";
|
|
9
11
|
export * from "./humor-register.model";
|
|
10
12
|
export * from "./document.model"
|
|
@@ -12,3 +14,10 @@ export * from "./guidance-category.model";
|
|
|
12
14
|
export * from "./guidance-query.model";
|
|
13
15
|
export * from "./guidance.model";
|
|
14
16
|
export * from "./http-response.model";
|
|
17
|
+
export * from "./quiz.model";
|
|
18
|
+
export * from "./quiz-not-answered.model";
|
|
19
|
+
export * from "./quiz-answered.model";
|
|
20
|
+
export * from "./user.model";
|
|
21
|
+
export * from "./chat.model";
|
|
22
|
+
export * from "./user-list.model";
|
|
23
|
+
export * from "./friendship-team-list.model";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BaseRepositoryModel } from "./base.repository.model";
|
|
2
|
+
import { QuizModel } from "./quiz.model";
|
|
3
|
+
|
|
4
|
+
export class QuizAnsweredModel extends BaseRepositoryModel {
|
|
5
|
+
questionnaire: QuizModel;
|
|
6
|
+
answer: {
|
|
7
|
+
_id: string;
|
|
8
|
+
user_id: number;
|
|
9
|
+
identification: string;
|
|
10
|
+
questionnaireId: string;
|
|
11
|
+
publish: string;
|
|
12
|
+
expire: string;
|
|
13
|
+
done: boolean;
|
|
14
|
+
createdAt: string;
|
|
15
|
+
questions: {
|
|
16
|
+
_id: string;
|
|
17
|
+
questionType: number;
|
|
18
|
+
time: number;
|
|
19
|
+
userDoesntKnow: boolean;
|
|
20
|
+
answeredAt: string;
|
|
21
|
+
alternatives: {
|
|
22
|
+
_id: string;
|
|
23
|
+
body: string;
|
|
24
|
+
hasGuessedRight: boolean;
|
|
25
|
+
}[];
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { BaseRepositoryModel } from "./base.repository.model";
|
|
2
|
+
|
|
3
|
+
export class QuizModel extends BaseRepositoryModel {
|
|
4
|
+
publishNow: boolean;
|
|
5
|
+
done: boolean;
|
|
6
|
+
draft: boolean;
|
|
7
|
+
mandatory: boolean;
|
|
8
|
+
monetizable: boolean;
|
|
9
|
+
_id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
instruction: string;
|
|
12
|
+
reach: "ALL" | "ATTRIBUTES" | "USER";
|
|
13
|
+
createdBy: number;
|
|
14
|
+
publish: string;
|
|
15
|
+
coins: number;
|
|
16
|
+
state: "draft" | "scheduled" | "publishing" | "in_progress" | "closed";
|
|
17
|
+
createdAt: string;
|
|
18
|
+
messageId: string;
|
|
19
|
+
publishedAt: string;
|
|
20
|
+
questions: {
|
|
21
|
+
_id: string;
|
|
22
|
+
body: string;
|
|
23
|
+
noAnswer: boolean;
|
|
24
|
+
time: number;
|
|
25
|
+
alternatives: {
|
|
26
|
+
_id: string;
|
|
27
|
+
body: string;
|
|
28
|
+
}[];
|
|
29
|
+
type: 0 | 1;
|
|
30
|
+
limit: number;
|
|
31
|
+
style: 0 | 1;
|
|
32
|
+
}[];
|
|
33
|
+
attributes: {
|
|
34
|
+
attribute: {
|
|
35
|
+
_id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
primary: boolean;
|
|
38
|
+
};
|
|
39
|
+
_id: string;
|
|
40
|
+
value: string;
|
|
41
|
+
}[];
|
|
42
|
+
levels: {
|
|
43
|
+
_id: number;
|
|
44
|
+
description: string;
|
|
45
|
+
}[];
|
|
46
|
+
kiteLevels: {
|
|
47
|
+
_id: number;
|
|
48
|
+
description: string;
|
|
49
|
+
}[];
|
|
50
|
+
users: {
|
|
51
|
+
_id: number;
|
|
52
|
+
identification: string;
|
|
53
|
+
name: string;
|
|
54
|
+
}[];
|
|
55
|
+
}
|
package/src/models/theme-base.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
|
|
2
1
|
class ThemeBaseColors {
|
|
3
2
|
primary1: string;
|
|
4
3
|
primary2: string;
|
|
5
4
|
secondary1: string;
|
|
6
5
|
secondary2: string;
|
|
7
6
|
secondary3: string;
|
|
7
|
+
secondary4: string;
|
|
8
8
|
brand1: string;
|
|
9
9
|
brand2: string;
|
|
10
10
|
hover1: string;
|
|
11
11
|
solidBackground: string;
|
|
12
12
|
gradientBackground: string;
|
|
13
13
|
levels: {
|
|
14
|
-
shade100: string
|
|
15
|
-
shade75: string
|
|
16
|
-
shade50: string
|
|
17
|
-
shade25: string
|
|
14
|
+
shade100: string;
|
|
15
|
+
shade75: string;
|
|
16
|
+
shade50: string;
|
|
17
|
+
shade25: string;
|
|
18
18
|
radialGradient: string;
|
|
19
19
|
}[];
|
|
20
20
|
neutral90: string;
|
|
@@ -28,64 +28,274 @@ class ThemeBaseColors {
|
|
|
28
28
|
neutral10: string;
|
|
29
29
|
neutral0: string;
|
|
30
30
|
successes: {
|
|
31
|
-
text: string
|
|
32
|
-
hover: string
|
|
33
|
-
dark: string
|
|
34
|
-
default: string
|
|
35
|
-
light: string
|
|
36
|
-
background: string
|
|
31
|
+
text: string;
|
|
32
|
+
hover: string;
|
|
33
|
+
dark: string;
|
|
34
|
+
default: string;
|
|
35
|
+
light: string;
|
|
36
|
+
background: string;
|
|
37
37
|
};
|
|
38
38
|
errors: {
|
|
39
|
-
text: string
|
|
40
|
-
hover: string
|
|
41
|
-
dark: string
|
|
42
|
-
default: string
|
|
43
|
-
light: string
|
|
44
|
-
background: string
|
|
39
|
+
text: string;
|
|
40
|
+
hover: string;
|
|
41
|
+
dark: string;
|
|
42
|
+
default: string;
|
|
43
|
+
light: string;
|
|
44
|
+
background: string;
|
|
45
45
|
};
|
|
46
46
|
warnings: {
|
|
47
|
-
text: string
|
|
48
|
-
hover: string
|
|
49
|
-
dark: string
|
|
50
|
-
default: string
|
|
51
|
-
light: string
|
|
52
|
-
background: string
|
|
47
|
+
text: string;
|
|
48
|
+
hover: string;
|
|
49
|
+
dark: string;
|
|
50
|
+
default: string;
|
|
51
|
+
light: string;
|
|
52
|
+
background: string;
|
|
53
53
|
};
|
|
54
54
|
itemsTags: {
|
|
55
55
|
experience: {
|
|
56
|
-
text: string
|
|
57
|
-
background: string
|
|
58
|
-
}
|
|
56
|
+
text: string;
|
|
57
|
+
background: string;
|
|
58
|
+
};
|
|
59
59
|
physical: {
|
|
60
|
-
text: string
|
|
61
|
-
background: string
|
|
62
|
-
}
|
|
60
|
+
text: string;
|
|
61
|
+
background: string;
|
|
62
|
+
};
|
|
63
63
|
auction: {
|
|
64
|
-
text: string
|
|
65
|
-
background: string
|
|
66
|
-
}
|
|
64
|
+
text: string;
|
|
65
|
+
background: string;
|
|
66
|
+
};
|
|
67
67
|
raffle: {
|
|
68
|
-
text: string
|
|
69
|
-
background: string
|
|
70
|
-
}
|
|
68
|
+
text: string;
|
|
69
|
+
background: string;
|
|
70
|
+
};
|
|
71
71
|
crowdfunding: {
|
|
72
|
-
text: string
|
|
73
|
-
background: string
|
|
74
|
-
}
|
|
72
|
+
text: string;
|
|
73
|
+
background: string;
|
|
74
|
+
};
|
|
75
75
|
voucher: {
|
|
76
|
-
text: string
|
|
77
|
-
background: string
|
|
78
|
-
}
|
|
76
|
+
text: string;
|
|
77
|
+
background: string;
|
|
78
|
+
};
|
|
79
79
|
};
|
|
80
80
|
complementary: {
|
|
81
81
|
agendaReminder: string;
|
|
82
82
|
angelGodson: string;
|
|
83
83
|
angelGodfather: string;
|
|
84
84
|
};
|
|
85
|
-
|
|
86
85
|
}
|
|
87
86
|
|
|
88
|
-
export
|
|
87
|
+
export const ICON_HANDLES = [
|
|
88
|
+
"active-bold",
|
|
89
|
+
"active-thin",
|
|
90
|
+
"avatar-login",
|
|
91
|
+
"add-challenge-bold",
|
|
92
|
+
"add-challenge-thin",
|
|
93
|
+
"add-notification-bold",
|
|
94
|
+
"add-notification-thin",
|
|
95
|
+
"add-quiz-bold",
|
|
96
|
+
"add-quiz-thin",
|
|
97
|
+
"angel-friend-add-bold",
|
|
98
|
+
"angel-friend-add-thin",
|
|
99
|
+
"angel-friend-bold",
|
|
100
|
+
"angel-friend-thin",
|
|
101
|
+
"attachment-bold",
|
|
102
|
+
"attachment-thin",
|
|
103
|
+
"auction-bold",
|
|
104
|
+
"auction-thin",
|
|
105
|
+
"available-bold",
|
|
106
|
+
"available-thin",
|
|
107
|
+
"broadcast-bold",
|
|
108
|
+
"broadcast-thin",
|
|
109
|
+
"calendar-bold",
|
|
110
|
+
"calendar-thin",
|
|
111
|
+
"camera-bold",
|
|
112
|
+
"camera-thin",
|
|
113
|
+
"cancel-bold",
|
|
114
|
+
"cancel-thin",
|
|
115
|
+
"challenge-bold",
|
|
116
|
+
"challenge-thin",
|
|
117
|
+
"chat-bold",
|
|
118
|
+
"chatbot-bold",
|
|
119
|
+
"chatbot-thin",
|
|
120
|
+
"chat-fil-bold",
|
|
121
|
+
"chat-fill-thin",
|
|
122
|
+
"chat-smile-bold",
|
|
123
|
+
"chat-smile-thin",
|
|
124
|
+
"chat-thin",
|
|
125
|
+
"check-bold",
|
|
126
|
+
"check-thin",
|
|
127
|
+
"chocolate-menu",
|
|
128
|
+
"chronometer-bold",
|
|
129
|
+
"chronometer-thin",
|
|
130
|
+
"clock-bold",
|
|
131
|
+
"clock-thin",
|
|
132
|
+
"close-bold",
|
|
133
|
+
"close-thin",
|
|
134
|
+
"cloud-bold",
|
|
135
|
+
"cloud-thin",
|
|
136
|
+
"coin-bold",
|
|
137
|
+
"coin-thin",
|
|
138
|
+
"column-view-active-bold",
|
|
139
|
+
"column-view-active-thin",
|
|
140
|
+
"column-view-bold",
|
|
141
|
+
"column-view-thin",
|
|
142
|
+
"contacts-bold",
|
|
143
|
+
"contacts-thin",
|
|
144
|
+
"delete-bold",
|
|
145
|
+
"delete-thin",
|
|
146
|
+
"documents-bold",
|
|
147
|
+
"documents-thin",
|
|
148
|
+
"down-arrow",
|
|
149
|
+
"download-bold",
|
|
150
|
+
"download-thin",
|
|
151
|
+
"downward-arrow-bold",
|
|
152
|
+
"downward-arrow-thin",
|
|
153
|
+
"duplicate-bold",
|
|
154
|
+
"duplicate-thin",
|
|
155
|
+
"eagle-bold",
|
|
156
|
+
"eagle-thin",
|
|
157
|
+
"edit-bold",
|
|
158
|
+
"edit-thin",
|
|
159
|
+
"emoji-bold",
|
|
160
|
+
"emoji-thin",
|
|
161
|
+
"family-bold",
|
|
162
|
+
"family-thin",
|
|
163
|
+
"filter-active-bold",
|
|
164
|
+
"filter-active-thin",
|
|
165
|
+
"filter-inactive-bold",
|
|
166
|
+
"filter-inactive-thin",
|
|
167
|
+
"filter",
|
|
168
|
+
"forward-bold",
|
|
169
|
+
"forward-thin",
|
|
170
|
+
"goal-bold",
|
|
171
|
+
"goal-thin",
|
|
172
|
+
"grid-view-active-bold",
|
|
173
|
+
"grid-view-active-thin",
|
|
174
|
+
"grid-view-bold",
|
|
175
|
+
"grid-view-thin",
|
|
176
|
+
"group-bold",
|
|
177
|
+
"group-brackets-bold",
|
|
178
|
+
"group-brackets-thin",
|
|
179
|
+
"group-fill-bold",
|
|
180
|
+
"group-fill-thin",
|
|
181
|
+
"group-thin",
|
|
182
|
+
"guide-bold",
|
|
183
|
+
"guide-thin",
|
|
184
|
+
"health-bold",
|
|
185
|
+
"health-thin",
|
|
186
|
+
"heart-bold",
|
|
187
|
+
"heart-fill-bold",
|
|
188
|
+
"heart-fill-thin",
|
|
189
|
+
"heart-thin",
|
|
190
|
+
"humor-bold",
|
|
191
|
+
"humor-thin",
|
|
192
|
+
"inactive-bold",
|
|
193
|
+
"inactive-thin",
|
|
194
|
+
"indicator-bold",
|
|
195
|
+
"indicator-thin",
|
|
196
|
+
"info-bold",
|
|
197
|
+
"info-thin",
|
|
198
|
+
"integration-bold",
|
|
199
|
+
"integration-thin",
|
|
200
|
+
"learning-bold",
|
|
201
|
+
"learning-thin",
|
|
202
|
+
"leave-bold",
|
|
203
|
+
"leave-thin",
|
|
204
|
+
"left-arrow-large",
|
|
205
|
+
"left-arrow-small",
|
|
206
|
+
"like-bold",
|
|
207
|
+
"like-fill-bold",
|
|
208
|
+
"like-fill-thin",
|
|
209
|
+
"like-thin",
|
|
210
|
+
"magnifying-glass-bold",
|
|
211
|
+
"magnifying-glass-thin",
|
|
212
|
+
"minus",
|
|
213
|
+
"more-vert",
|
|
214
|
+
"mountain-bold",
|
|
215
|
+
"mountain-thin",
|
|
216
|
+
"new-document-bold",
|
|
217
|
+
"new-document-thin",
|
|
218
|
+
"new-tip-thin-1",
|
|
219
|
+
"new-tip-thin",
|
|
220
|
+
"notification-bold",
|
|
221
|
+
"notification-thin",
|
|
222
|
+
"objetive-bold",
|
|
223
|
+
"objetive-thin",
|
|
224
|
+
"order-bold-1",
|
|
225
|
+
"order-bold",
|
|
226
|
+
"order-thin-1",
|
|
227
|
+
"order-thin",
|
|
228
|
+
"performance-bold",
|
|
229
|
+
"performance-thin",
|
|
230
|
+
"phone-bold",
|
|
231
|
+
"phone-thin",
|
|
232
|
+
"plus",
|
|
233
|
+
"quiz-bold",
|
|
234
|
+
"quiz-thin",
|
|
235
|
+
"raffle-bold",
|
|
236
|
+
"raffle-draw-bold",
|
|
237
|
+
"raffle-draw-thin",
|
|
238
|
+
"raffle-thin",
|
|
239
|
+
"relationship-bold",
|
|
240
|
+
"relationship-thin",
|
|
241
|
+
"reports-bold",
|
|
242
|
+
"reports-thin",
|
|
243
|
+
"right-arrow-large",
|
|
244
|
+
"right-arrow-small",
|
|
245
|
+
"send-bold",
|
|
246
|
+
"send-thin",
|
|
247
|
+
"settings-bold",
|
|
248
|
+
"settings-thin",
|
|
249
|
+
"star-bold",
|
|
250
|
+
"star-thin",
|
|
251
|
+
"store-bold",
|
|
252
|
+
"store-item-bold",
|
|
253
|
+
"store-item-thin",
|
|
254
|
+
"store-thin",
|
|
255
|
+
"tag-bold",
|
|
256
|
+
"tag-thin",
|
|
257
|
+
"test-bold",
|
|
258
|
+
"test-thin",
|
|
259
|
+
"tips-bold",
|
|
260
|
+
"tips-thin",
|
|
261
|
+
"tree-bold",
|
|
262
|
+
"tree-thin",
|
|
263
|
+
"trophy-bold",
|
|
264
|
+
"trophy-thin",
|
|
265
|
+
"up-arrow",
|
|
266
|
+
"upload-bold",
|
|
267
|
+
"upload-thin",
|
|
268
|
+
"upward-arrow-bold",
|
|
269
|
+
"upward-arrow-thin",
|
|
270
|
+
"user-bold",
|
|
271
|
+
"user-thin",
|
|
272
|
+
"variable-pay-bold",
|
|
273
|
+
"variable-pay-thin",
|
|
274
|
+
"view-bold",
|
|
275
|
+
"view-thin",
|
|
276
|
+
"not-view-thin",
|
|
277
|
+
"not-view-bold",
|
|
278
|
+
"work-bold",
|
|
279
|
+
"working",
|
|
280
|
+
"work-thin",
|
|
281
|
+
"no-results-found",
|
|
282
|
+
"not-found-bold",
|
|
283
|
+
"hamburger-menu",
|
|
284
|
+
"cloud-circle",
|
|
285
|
+
"mountain-circle",
|
|
286
|
+
"star-circle",
|
|
287
|
+
"expand-image-bold",
|
|
288
|
+
"camera-off-bold",
|
|
289
|
+
"minimize-image-bold",
|
|
290
|
+
"phone-call-bold",
|
|
291
|
+
"microphone-bold",
|
|
292
|
+
"microphone-off-bold",
|
|
293
|
+
"share-screen-bold",
|
|
294
|
+
"ead-play-button",
|
|
295
|
+
"tag-left-triangle",
|
|
296
|
+
] as const;
|
|
297
|
+
|
|
298
|
+
export type IconHandle = (typeof ICON_HANDLES)[number];
|
|
89
299
|
|
|
90
300
|
class ThemeBaseRect {
|
|
91
301
|
top: string;
|
|
@@ -101,6 +311,7 @@ class ThemeTypography {
|
|
|
101
311
|
letterSpacing: string; //letter-spacing
|
|
102
312
|
lineHeight: string; //line-height
|
|
103
313
|
fontWeight: string; //font-weight
|
|
314
|
+
textDecoration: string; //text-decoration
|
|
104
315
|
}
|
|
105
316
|
|
|
106
317
|
class ThemeTransition {
|
|
@@ -113,42 +324,46 @@ class ThemeAssets {
|
|
|
113
324
|
height: string;
|
|
114
325
|
}
|
|
115
326
|
|
|
327
|
+
class Typography {
|
|
328
|
+
profile: ThemeTypography;
|
|
329
|
+
h1: ThemeTypography;
|
|
330
|
+
h2: ThemeTypography;
|
|
331
|
+
h2Bold: ThemeTypography;
|
|
332
|
+
h3: ThemeTypography;
|
|
333
|
+
h4: ThemeTypography;
|
|
334
|
+
h5: ThemeTypography;
|
|
335
|
+
h6: ThemeTypography;
|
|
336
|
+
h6Bold: ThemeTypography;
|
|
337
|
+
subtitle2: ThemeTypography;
|
|
338
|
+
subtitle1: ThemeTypography;
|
|
339
|
+
body1Medium: ThemeTypography;
|
|
340
|
+
body1Book: ThemeTypography;
|
|
341
|
+
body1BookItalic: ThemeTypography;
|
|
342
|
+
body1Link: ThemeTypography;
|
|
343
|
+
body2Medium: ThemeTypography;
|
|
344
|
+
body2Book: ThemeTypography;
|
|
345
|
+
body2BookStrikethrough: ThemeTypography;
|
|
346
|
+
body2BookItalic: ThemeTypography;
|
|
347
|
+
button: ThemeTypography;
|
|
348
|
+
chip: ThemeTypography;
|
|
349
|
+
chipMedium: ThemeTypography;
|
|
350
|
+
overline: ThemeTypography;
|
|
351
|
+
small: ThemeTypography;
|
|
352
|
+
smallMedium: ThemeTypography;
|
|
353
|
+
toolTip: ThemeTypography;
|
|
354
|
+
}
|
|
355
|
+
|
|
116
356
|
export class ThemeBase {
|
|
117
357
|
colors: ThemeBaseColors;
|
|
118
358
|
fonts: {
|
|
119
359
|
fontFamily: string; // font-family
|
|
120
360
|
fontWeight: string; // font-weight
|
|
121
361
|
fontStyle: string; // font-style
|
|
122
|
-
src: string; // src
|
|
362
|
+
src: string; // src
|
|
123
363
|
}[];
|
|
124
364
|
transitions: ThemeTransition;
|
|
125
|
-
typography:
|
|
126
|
-
|
|
127
|
-
h2: ThemeTypography,
|
|
128
|
-
h2Medium: ThemeTypography,
|
|
129
|
-
mobh2Medium: ThemeTypography,
|
|
130
|
-
h3: ThemeTypography,
|
|
131
|
-
mobh3Medium: ThemeTypography,
|
|
132
|
-
h4: ThemeTypography,
|
|
133
|
-
mobh4Medium: ThemeTypography,
|
|
134
|
-
h5: ThemeTypography,
|
|
135
|
-
mobh5Medium: ThemeTypography,
|
|
136
|
-
h6: ThemeTypography,
|
|
137
|
-
subtitle1: ThemeTypography,
|
|
138
|
-
subtitle2: ThemeTypography,
|
|
139
|
-
body1Medium: ThemeTypography,
|
|
140
|
-
body1Book: ThemeTypography,
|
|
141
|
-
body1BookItalic: ThemeTypography,
|
|
142
|
-
body1Link: ThemeTypography,
|
|
143
|
-
body2Medium: ThemeTypography,
|
|
144
|
-
body2Book: ThemeTypography,
|
|
145
|
-
buttonMedium: ThemeTypography,
|
|
146
|
-
chip: ThemeTypography,
|
|
147
|
-
chipMedium: ThemeTypography,
|
|
148
|
-
overline: ThemeTypography,
|
|
149
|
-
small: ThemeTypography,
|
|
150
|
-
toolTip: ThemeTypography,
|
|
151
|
-
};
|
|
365
|
+
typography: Typography;
|
|
366
|
+
mobileTypography: Typography;
|
|
152
367
|
assets: {
|
|
153
368
|
logoText: ThemeAssets;
|
|
154
369
|
logoComplete: ThemeAssets;
|
|
@@ -157,12 +372,13 @@ export class ThemeBase {
|
|
|
157
372
|
logoCompleteNegative: ThemeAssets;
|
|
158
373
|
logoIconNegative: ThemeAssets;
|
|
159
374
|
backgroundLogo: ThemeAssets;
|
|
160
|
-
humorAvatar: ThemeAssets
|
|
161
|
-
humorImGoodCircle: ThemeAssets
|
|
162
|
-
humorImTopCircle: ThemeAssets
|
|
163
|
-
humorImbadCircle: ThemeAssets
|
|
375
|
+
humorAvatar: ThemeAssets;
|
|
376
|
+
humorImGoodCircle: ThemeAssets;
|
|
377
|
+
humorImTopCircle: ThemeAssets;
|
|
378
|
+
humorImbadCircle: ThemeAssets;
|
|
164
379
|
logoMobile: ThemeAssets;
|
|
165
380
|
loginRobbysonAvatar: ThemeAssets;
|
|
381
|
+
quizThankYouAvatar: ThemeAssets;
|
|
166
382
|
};
|
|
167
383
|
|
|
168
384
|
constructor() {
|
|
@@ -181,6 +397,7 @@ export class ThemeBase {
|
|
|
181
397
|
humorImbadCircle: new ThemeAssets(),
|
|
182
398
|
logoMobile: new ThemeAssets(),
|
|
183
399
|
loginRobbysonAvatar: new ThemeAssets(),
|
|
400
|
+
quizThankYouAvatar: new ThemeAssets(),
|
|
184
401
|
};
|
|
185
402
|
}
|
|
186
|
-
}
|
|
403
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BaseRepositoryModel } from "./base.repository.model";
|
|
2
|
+
|
|
3
|
+
export class UserListModel extends BaseRepositoryModel {
|
|
4
|
+
about: string;
|
|
5
|
+
accessed: boolean;
|
|
6
|
+
active: boolean;
|
|
7
|
+
birthDate: string;
|
|
8
|
+
email: string;
|
|
9
|
+
externalKey: string;
|
|
10
|
+
gender: string;
|
|
11
|
+
identification: string;
|
|
12
|
+
loginFailures: number;
|
|
13
|
+
name: string;
|
|
14
|
+
nickname: string;
|
|
15
|
+
passHash: string;
|
|
16
|
+
phone: string;
|
|
17
|
+
registered: boolean;
|
|
18
|
+
robbysonUser_id: number;
|
|
19
|
+
role_id: number | null;
|
|
20
|
+
systems: System[];
|
|
21
|
+
_id: number;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
interface System {
|
|
25
|
+
_id: number;
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BaseRepositoryModel } from "./base.repository.model";
|
|
2
|
+
|
|
3
|
+
export class UserModel extends BaseRepositoryModel {
|
|
4
|
+
hasAccessed: boolean
|
|
5
|
+
active: boolean
|
|
6
|
+
_id: number
|
|
7
|
+
gender: string
|
|
8
|
+
name: string
|
|
9
|
+
summary: string
|
|
10
|
+
robbyson_user_id: number
|
|
11
|
+
externalKey: string
|
|
12
|
+
systems: System[]
|
|
13
|
+
isRegistered: boolean
|
|
14
|
+
nickname: string
|
|
15
|
+
forceAvatarDisplay: boolean
|
|
16
|
+
phone: string
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
interface System {
|
|
20
|
+
_id: number
|
|
21
|
+
}
|