@intellias/menu 1.0.0 → 1.0.4
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/README.md +40 -11
- package/dist/css/1.css +20 -5
- package/dist/css/main.css +20 -2
- package/dist/index.html +9 -0
- package/dist/js/0.js +27 -27
- package/dist/js/1.js +27 -27
- package/dist/js/2.js +19 -19
- package/dist/js/3.js +16 -16
- package/dist/js/4.js +16 -16
- package/dist/js/5.js +16 -16
- package/dist/js/6.js +5 -5
- package/dist/js/main.js +653 -642
- package/dist/js/vue.js +2 -2
- package/package.json +99 -112
- package/Menu.ts +0 -625
- package/assets/icons/arrow-down.svg +0 -13
- package/assets/icons/arrow-left.svg +0 -3
- package/assets/icons/arrow-submenu.svg +0 -8
- package/assets/icons/close.svg +0 -3
- package/assets/icons/delete.svg +0 -13
- package/assets/icons/faq-new.svg +0 -4
- package/assets/icons/kudos.svg +0 -14
- package/assets/icons/loading-spinner.svg +0 -40
- package/assets/icons/notification.svg +0 -11
- package/assets/icons/notifications/assessment.svg +0 -10
- package/assets/icons/notifications/buddy_program.svg +0 -8
- package/assets/icons/notifications/compensation_packages.svg +0 -10
- package/assets/icons/notifications/dsat.svg +0 -8
- package/assets/icons/notifications/feedback.svg +0 -7
- package/assets/icons/notifications/kudos.svg +0 -4
- package/assets/icons/notifications/overtime_requests.svg +0 -15
- package/assets/icons/notifications/pdu_program.svg +0 -4
- package/assets/icons/notifications/profile_update.svg +0 -6
- package/assets/icons/notifications/recommendation_program.svg +0 -7
- package/assets/icons/notifications/reminders.svg +0 -4
- package/assets/icons/notifications/sick_leaves.svg +0 -5
- package/assets/icons/notifications/smarts.svg +0 -4
- package/assets/icons/notifications/survey.svg +0 -8
- package/assets/icons/notifications/unpaid_leave.svg +0 -4
- package/assets/icons/notifications/vacations.svg +0 -4
- package/assets/icons/pause.svg +0 -13
- package/assets/icons/play.svg +0 -13
- package/assets/icons/smart.svg +0 -14
- package/assets/icons/smarts-kudos.svg +0 -11
- package/assets/icons/spinner-solid.svg +0 -1
- package/assets/icons/vacation.svg +0 -14
- package/assets/icons/visibility.svg +0 -1
- package/assets/intems-logo.svg +0 -3
- package/babel.config.js +0 -6
- package/buses/eventBus.ts +0 -19
- package/buses/events/GiveKudosEvent.ts +0 -7
- package/components/buttons/action-button/ActionButton.scss +0 -133
- package/components/buttons/action-button/ActionButton.ts +0 -57
- package/components/buttons/action-button/ActionButton.vue +0 -50
- package/components/buttons/secondary-button/SecondaryButton.scss +0 -48
- package/components/buttons/secondary-button/SecondaryButton.ts +0 -28
- package/components/buttons/secondary-button/SecondaryButton.vue +0 -27
- package/components/confirm/Confirm.scss +0 -44
- package/components/confirm/Confirm.ts +0 -82
- package/components/confirm/Confirm.vue +0 -64
- package/components/give-kudos-form/GiveKudosForm.scss +0 -114
- package/components/give-kudos-form/GiveKudosForm.ts +0 -159
- package/components/give-kudos-form/GiveKudosForm.vue +0 -131
- package/components/give-kudos-form/mixins/UserSelectMixin.ts +0 -57
- package/components/give-kudos-form/models/KudosShareModel.ts +0 -6
- package/components/give-kudos-form/models/UserListModel.ts +0 -5
- package/components/give-kudos-form/validators/InEnglishValidatorRegex.ts +0 -17
- package/components/give-kudos-form/validators/KudosBalance.ts +0 -10
- package/components/modal/Modal.scss +0 -53
- package/components/modal/Modal.ts +0 -70
- package/components/modal/Modal.vue +0 -28
- package/components/notifications-sidebar/NotificationsSidebar.scss +0 -665
- package/components/notifications-sidebar/NotificationsSidebar.ts +0 -203
- package/components/notifications-sidebar/NotificationsSidebar.vue +0 -171
- package/components/notifications-sidebar/models/BroadcastNotificationPayload.ts +0 -8
- package/components/notifications-sidebar/models/TotalCounter.ts +0 -50
- package/components/notifications-sidebar/notification/Notification.ts +0 -17
- package/components/notifications-sidebar/notification/Notification.vue +0 -87
- package/components/play-pause/PlayPause.scss +0 -33
- package/components/play-pause/PlayPause.ts +0 -156
- package/components/play-pause/PlayPause.vue +0 -36
- package/components/play-pause/PlayPauseStatus.ts +0 -4
- package/components/play-pause/helpers/LatestTrackedTimeDurationHelper.ts +0 -55
- package/components/play-pause/helpers/PauseHelper.ts +0 -55
- package/components/play-pause/helpers/TrackedTimeHelper.ts +0 -80
- package/components/preloader/Preloader.vue +0 -34
- package/components/request-loader/RequestLoader.scss +0 -20
- package/components/request-loader/RequestLoader.ts +0 -80
- package/components/request-loader/RequestLoader.vue +0 -15
- package/components/sub-menu/SubMenu.scss +0 -33
- package/components/sub-menu/SubMenu.ts +0 -38
- package/components/sub-menu/SubMenu.vue +0 -21
- package/components/time-ago/TimeAgo.ts +0 -34
- package/components/time-ago/TimeAgo.vue +0 -9
- package/components/user-picture/UserPicture.scss +0 -62
- package/components/user-picture/UserPicture.ts +0 -105
- package/components/user-picture/UserPicture.vue +0 -23
- package/components/v-select-intems/VSelectIntems.ts +0 -112
- package/components/v-select-intems/VSelectIntems.vue +0 -68
- package/components/v-select-intems/open-indicator/OpenIndicator.vue +0 -3
- package/dist/html/app.html +0 -19
- package/dist/html/styles.html +0 -1
- package/helpers/GeneralHelper.ts +0 -61
- package/helpers/PublisherSubscriber.ts +0 -34
- package/helpers/QueryFilter.ts +0 -204
- package/helpers/TimeHelper.ts +0 -54
- package/helpers/Validations.ts +0 -7
- package/helpers/model/ModelHelper.ts +0 -155
- package/helpers/model/decorators/AsCollection.ts +0 -26
- package/helpers/model/decorators/AsModel.ts +0 -25
- package/helpers/model/decorators/DateTime.ts +0 -26
- package/helpers/model/decorators/TimeDuration.ts +0 -33
- package/helpers/moment/Duration.ts +0 -64
- package/helpers/moment/Moment.ts +0 -17
- package/helpers/moment/index.d.ts +0 -20
- package/helpers/response/AxiosProxy.ts +0 -72
- package/helpers/response/ErrorsToToastHelper.ts +0 -42
- package/helpers/response/ResponseCode.ts +0 -16
- package/helpers/response/ResponseHelper.ts +0 -42
- package/helpers/response/ResponseInterface.ts +0 -34
- package/helpers/response/ResponseState.ts +0 -6
- package/jsconfig.json +0 -19
- package/mixins/IntemsMath.ts +0 -29
- package/mixins/notifications/ActionProcessing.ts +0 -134
- package/mixins/notifications/confirms/AssetRejectionConfirm.vue +0 -59
- package/mixins/notifications/confirms/SickLeaveRejectionConfirm.vue +0 -31
- package/mixins/notifications/confirms/UnpaidLeaveRejectionConfirm.vue +0 -31
- package/mixins/notifications/confirms/VacationRejectionConfirm.vue +0 -31
- package/models/AssetModel.ts +0 -80
- package/models/AssetRequestModel.ts +0 -25
- package/models/ConfigModel.ts +0 -20
- package/models/EmployeeStartEndDateModel.ts +0 -16
- package/models/EmploymentTypeModel.ts +0 -95
- package/models/LogoutModel.ts +0 -3
- package/models/Model.ts +0 -12
- package/models/ModuleOptions.ts +0 -24
- package/models/PublicInfoModel.ts +0 -38
- package/models/PublicLocationModel.ts +0 -36
- package/models/StatusModel.ts +0 -8
- package/models/TrackedTimeModel.ts +0 -32
- package/models/location/PublicLocationModel.ts +0 -36
- package/models/timezones/LocalTimezoneHistoryModel.ts +0 -8
- package/models/timezones/TimezoneModel.ts +0 -9
- package/models/user/ExtendedInfoModel.ts +0 -37
- package/models/user/NotificationActionModel.ts +0 -53
- package/models/user/NotificationModel.ts +0 -84
- package/models/user/PublicInfoModel.ts +0 -38
- package/models/user/WelcomeProgram.ts +0 -4
- package/repositories/BaseRepository.ts +0 -42
- package/repositories/BaseUrl.ts +0 -107
- package/repositories/Repository.ts +0 -291
- package/repositories/ResourceRepository.ts +0 -99
- package/repositories/TrackedTimeRepository.ts +0 -43
- package/repositories/UserRepository.ts +0 -75
- package/repositories/subscribers/CreateSubscribers.ts +0 -28
- package/repositories/subscribers/DefaultSubscribers.ts +0 -82
- package/repositories/subscribers/DeleteSubscribers.ts +0 -28
- package/repositories/subscribers/DownloadSubscribers.ts +0 -28
- package/repositories/subscribers/Subscribers.ts +0 -13
- package/repositories/subscribers/UpdateSubscribers.ts +0 -32
- package/scss/components/_global.scss +0 -66
- package/scss/components/_mixins.scss +0 -31
- package/scss/components/_tooltip.scss +0 -45
- package/scss/components/_utils.scss +0 -26
- package/scss/components/_variables.scss +0 -103
- package/scss/main.scss +0 -7
- package/shims-vue.d.ts +0 -9
- package/tsconfig.json +0 -31
- package/webpack.config.js +0 -126
- package/wrapper.ts +0 -51
package/Menu.ts
DELETED
|
@@ -1,625 +0,0 @@
|
|
|
1
|
-
import { mapGetters, mapMutations, mapActions } from "vuex";
|
|
2
|
-
import NotificationsSidebar from "./components/notifications-sidebar/NotificationsSidebar.vue";
|
|
3
|
-
import playPause from "./components/play-pause/PlayPause.vue";
|
|
4
|
-
import SubMenu from "./components/sub-menu/SubMenu.vue";
|
|
5
|
-
import { BaseUrl } from "./repositories/BaseUrl";
|
|
6
|
-
import UserPublicInfoModel from "./models/user/PublicInfoModel";
|
|
7
|
-
import UserExtendedInfoModel from "./models/user/ExtendedInfoModel";
|
|
8
|
-
import BaseRepository from "./repositories/BaseRepository";
|
|
9
|
-
import LogoutModel from "./models/LogoutModel";
|
|
10
|
-
import ConfigModel from "./models/ConfigModel";
|
|
11
|
-
import UserPicture from "./components/user-picture/UserPicture.vue";
|
|
12
|
-
import { MenuOptions, ProjectName } from "./wrapper";
|
|
13
|
-
import { isMobileOnly } from "mobile-device-detect";
|
|
14
|
-
import NotificationActionModel, {
|
|
15
|
-
ActionType,
|
|
16
|
-
RequestMethod,
|
|
17
|
-
} from "./models/user/NotificationActionModel";
|
|
18
|
-
import {
|
|
19
|
-
NotificationCategory,
|
|
20
|
-
NotificationRejectionData,
|
|
21
|
-
} from "./models/user/NotificationModel";
|
|
22
|
-
|
|
23
|
-
export default {
|
|
24
|
-
name: "MainMenu",
|
|
25
|
-
components: {
|
|
26
|
-
UserPicture,
|
|
27
|
-
NotificationsSidebar,
|
|
28
|
-
playPause,
|
|
29
|
-
SubMenu,
|
|
30
|
-
},
|
|
31
|
-
props: {
|
|
32
|
-
helperFunctions: {
|
|
33
|
-
type: Array,
|
|
34
|
-
},
|
|
35
|
-
storeAdapter: {
|
|
36
|
-
type: Object,
|
|
37
|
-
},
|
|
38
|
-
subMenus: {
|
|
39
|
-
type: Array,
|
|
40
|
-
},
|
|
41
|
-
projectName: {
|
|
42
|
-
type: ProjectName,
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
provide(): MenuOptions {
|
|
46
|
-
return {
|
|
47
|
-
projectName: this.projectName,
|
|
48
|
-
storeAdapter: this.storeAdapter,
|
|
49
|
-
subMenus: this.isLiteDomain ? this.subMenus : null,
|
|
50
|
-
helperFunctions: this.helperFunctions,
|
|
51
|
-
};
|
|
52
|
-
},
|
|
53
|
-
mounted(): void {
|
|
54
|
-
this.initializeItems();
|
|
55
|
-
this.initializeAdminItems();
|
|
56
|
-
this.initializeHereBoardItems();
|
|
57
|
-
this.attachOverflowItems();
|
|
58
|
-
this.$echo
|
|
59
|
-
.private(`employee.${this.getUser.employee_id}`)
|
|
60
|
-
.listen("SmartBalanceChanged", () =>
|
|
61
|
-
this.storeAdapter.User.actions.getData()
|
|
62
|
-
)
|
|
63
|
-
.listen("LiqPayDonationProcessed", (payload) => {
|
|
64
|
-
if (payload.status === "finished") {
|
|
65
|
-
this.storeAdapter.Toasts.mutations.addMessage(
|
|
66
|
-
`${payload.quantity} UAH was successfully donated.`
|
|
67
|
-
);
|
|
68
|
-
} else {
|
|
69
|
-
this.storeAdapter.Toasts.mutations.addWarning(
|
|
70
|
-
`Donation ${payload.quantity} UAH was failed.`
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
this.storeAdapter.Toasts.mutations.showAll();
|
|
74
|
-
});
|
|
75
|
-
},
|
|
76
|
-
updated(): void {
|
|
77
|
-
this.findOverflowedIndex();
|
|
78
|
-
if (this.overflowedItems.items.length) {
|
|
79
|
-
this.attachOverflowedMenus();
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
computed: {
|
|
83
|
-
...mapGetters("User", [
|
|
84
|
-
"getUser",
|
|
85
|
-
"isSidebarFixed",
|
|
86
|
-
"isSidebarOpenOnMobile",
|
|
87
|
-
]),
|
|
88
|
-
intemsConfig(): ConfigModel {
|
|
89
|
-
return this.storeAdapter.Config.state.data;
|
|
90
|
-
},
|
|
91
|
-
userInfo(): UserPublicInfoModel | UserExtendedInfoModel {
|
|
92
|
-
return this.storeAdapter.User.state.data;
|
|
93
|
-
},
|
|
94
|
-
uncheckedCounter(): number {
|
|
95
|
-
if (
|
|
96
|
-
this.storeAdapter.HomePage_OnBoardingPlan.getters?.notCheckedTasksLength
|
|
97
|
-
) {
|
|
98
|
-
return this.storeAdapter.HomePage_OnBoardingPlan.getters
|
|
99
|
-
.notCheckedTasksLength;
|
|
100
|
-
}
|
|
101
|
-
return this.userInfo.welcomeProgram.unchecked_welcome_program_questions;
|
|
102
|
-
},
|
|
103
|
-
canSeeGitBranch(): boolean {
|
|
104
|
-
return this.$can("read", "feature_show_git_branch");
|
|
105
|
-
},
|
|
106
|
-
intelliHubIconsClassName(): string {
|
|
107
|
-
return this.isIntelliHub
|
|
108
|
-
? "icons hide-on-med-and-down"
|
|
109
|
-
: "icons fixed-padding hide-on-med-and-down";
|
|
110
|
-
},
|
|
111
|
-
intelliHubAvatarClassName(): string {
|
|
112
|
-
return this.isIntelliHub
|
|
113
|
-
? "intellihub-user-wrapper"
|
|
114
|
-
: "intellihub-user-wrapper fixed-padding";
|
|
115
|
-
},
|
|
116
|
-
intelliHubNotificationsClassName(): string {
|
|
117
|
-
return this.isIntelliHub
|
|
118
|
-
? "notifications-bell"
|
|
119
|
-
: "notifications-bell fixed-padding";
|
|
120
|
-
},
|
|
121
|
-
isIntelliHub(): boolean {
|
|
122
|
-
return this.projectName === ProjectName.IntelliHub;
|
|
123
|
-
},
|
|
124
|
-
isLiteDomain(): boolean {
|
|
125
|
-
return this.projectName === ProjectName.Lite;
|
|
126
|
-
},
|
|
127
|
-
isManagersPortal(): boolean {
|
|
128
|
-
return this.projectName === ProjectName.ManagersPortal;
|
|
129
|
-
},
|
|
130
|
-
allowedToGiveKudos(): boolean {
|
|
131
|
-
return this.userInfo.kudos_balance > 0;
|
|
132
|
-
},
|
|
133
|
-
vacationBalance(): number | string {
|
|
134
|
-
return this.userInfo.vacation_balance;
|
|
135
|
-
},
|
|
136
|
-
overflowMenuItemHeight(): number {
|
|
137
|
-
return this.overflowedMenus[0].querySelector("li").getBoundingClientRect()
|
|
138
|
-
.height;
|
|
139
|
-
},
|
|
140
|
-
overflowMenuMaxItemCount(): number {
|
|
141
|
-
const itemCountPerMenu = [];
|
|
142
|
-
|
|
143
|
-
this.overflowedMenus.forEach((menu) => {
|
|
144
|
-
itemCountPerMenu.push(menu.querySelectorAll(":scope > li").length);
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
return Math.max(...itemCountPerMenu);
|
|
148
|
-
},
|
|
149
|
-
isMobileOnly(): boolean {
|
|
150
|
-
return isMobileOnly;
|
|
151
|
-
},
|
|
152
|
-
},
|
|
153
|
-
watch: {
|
|
154
|
-
// kostyl to close dropdown after back button press
|
|
155
|
-
$route(): void {
|
|
156
|
-
if (this.mobileMenu) {
|
|
157
|
-
this.mobileMenu.close();
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
"overflowedItems.startIndex": {
|
|
161
|
-
handler(index: number): void {
|
|
162
|
-
this.overflowedItems.items = this.items.slice(index);
|
|
163
|
-
},
|
|
164
|
-
},
|
|
165
|
-
},
|
|
166
|
-
methods: {
|
|
167
|
-
...mapGetters("Config", ["config"]),
|
|
168
|
-
...mapActions("User/Notifications", ["markAsRead"]),
|
|
169
|
-
...mapMutations("User", ["toggleSidebarFixation", "toggleSidebarOnMobile"]),
|
|
170
|
-
handleSidebarTogglerClick(): void {
|
|
171
|
-
if (!this.isMobileOnly) {
|
|
172
|
-
this.toggleSidebarFixation();
|
|
173
|
-
} else {
|
|
174
|
-
this.toggleSidebarOnMobile();
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
goTo(routeName): void {
|
|
178
|
-
this.helperFunctions.router.push({ name: routeName });
|
|
179
|
-
},
|
|
180
|
-
modifyOpenedAdminItems(indexItem: number): void {
|
|
181
|
-
const collapsibleWrapper = document.getElementById("admin_collapsible");
|
|
182
|
-
const collaplsedAdminItem =
|
|
183
|
-
collapsibleWrapper.children[indexItem].children[1];
|
|
184
|
-
const animationSmoothness = 0.4;
|
|
185
|
-
const transitionDuration = `${
|
|
186
|
-
collaplsedAdminItem.children.length * animationSmoothness
|
|
187
|
-
}s`;
|
|
188
|
-
collaplsedAdminItem.style.transitionDuration = transitionDuration;
|
|
189
|
-
this.adminItems = this.adminItems.map((item, index) =>
|
|
190
|
-
item.children && index === indexItem
|
|
191
|
-
? { ...item, opened: !item.opened }
|
|
192
|
-
: item
|
|
193
|
-
);
|
|
194
|
-
},
|
|
195
|
-
toggleSideNavVisibility(): void {
|
|
196
|
-
this.sideNavOpened = !this.sideNavOpened;
|
|
197
|
-
},
|
|
198
|
-
attachOverflowItems(): void {
|
|
199
|
-
this.markOverflowedItems();
|
|
200
|
-
window.addEventListener("resize", this.markOverflowedItems);
|
|
201
|
-
},
|
|
202
|
-
attachOverflowedMenus(): void {
|
|
203
|
-
this.overflowedMenus = this.$refs.overflowedMenu.querySelectorAll("ul");
|
|
204
|
-
},
|
|
205
|
-
findOverflowedIndex(): void {
|
|
206
|
-
const items: Array<HTMLElement> = [
|
|
207
|
-
...this.$refs["menu-items"].childNodes,
|
|
208
|
-
];
|
|
209
|
-
const { length } = items;
|
|
210
|
-
for (let i = 0; i < length; i++) {
|
|
211
|
-
if (items[i].offsetTop > items[i].clientTop) {
|
|
212
|
-
this.overflowedItems.startIndex = i;
|
|
213
|
-
break;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
markOverflowedItems(): void {
|
|
218
|
-
this.findOverflowedIndex();
|
|
219
|
-
this.overflowedItems.items =
|
|
220
|
-
this.overflowedItems.startIndex > -1
|
|
221
|
-
? this.items.slice(this.overflowedItems.startIndex)
|
|
222
|
-
: [];
|
|
223
|
-
},
|
|
224
|
-
async logOut(): Promise<void> {
|
|
225
|
-
const repository = new BaseRepository(BaseUrl.LogOut);
|
|
226
|
-
const data = await repository.post<{ data: LogoutModel }>();
|
|
227
|
-
if (data.data !== undefined) {
|
|
228
|
-
window.location.href = data.data.redirect_url;
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
openModalGiveKudos(): void {
|
|
232
|
-
if (this.allowedToGiveKudos) {
|
|
233
|
-
this.giveKudosComponent = this.giveKudosModalComponent();
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
closeModalGiveKudos(): void {
|
|
237
|
-
this.giveKudosComponent = undefined;
|
|
238
|
-
},
|
|
239
|
-
giveKudosModalComponent() {
|
|
240
|
-
return () => import("./components/give-kudos-form/GiveKudosForm.vue");
|
|
241
|
-
},
|
|
242
|
-
setOverflowedMenuHeight(): void {
|
|
243
|
-
this.overflowedMenus.forEach((menu) => {
|
|
244
|
-
menu.style.height = `${
|
|
245
|
-
this.overflowMenuMaxItemCount * this.overflowMenuItemHeight
|
|
246
|
-
}px`;
|
|
247
|
-
});
|
|
248
|
-
},
|
|
249
|
-
moveOverflowedMenu(): void {
|
|
250
|
-
this.isOveflowedMenuMoved = true;
|
|
251
|
-
this.setOverflowedMenuHeight();
|
|
252
|
-
},
|
|
253
|
-
resetOverflowedMenu(): void {
|
|
254
|
-
this.isOveflowedMenuMoved = false;
|
|
255
|
-
this.overflowedMenus.forEach((menu) => {
|
|
256
|
-
menu.style.height = "auto";
|
|
257
|
-
});
|
|
258
|
-
},
|
|
259
|
-
initializeRejectionComponent(
|
|
260
|
-
rejectionData: NotificationRejectionData
|
|
261
|
-
): void {
|
|
262
|
-
this.rejectConfirm = rejectionData.rejectionComponent;
|
|
263
|
-
this.rejectedNotification = rejectionData.notification;
|
|
264
|
-
},
|
|
265
|
-
confirmedReject(payload): void {
|
|
266
|
-
const action = this.rejectedNotification.actions
|
|
267
|
-
.first((item) => item.type === ActionType.reject)
|
|
268
|
-
.clone();
|
|
269
|
-
if (
|
|
270
|
-
[
|
|
271
|
-
NotificationCategory.vacations,
|
|
272
|
-
NotificationCategory.sick_leaves,
|
|
273
|
-
NotificationCategory.unpaid_leave,
|
|
274
|
-
].includes(this.rejectedNotification.category)
|
|
275
|
-
) {
|
|
276
|
-
action.body.rejection_reason = payload.comment;
|
|
277
|
-
} else {
|
|
278
|
-
action.body.reject_reason = payload;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
this.requestNotification(action);
|
|
282
|
-
|
|
283
|
-
this.unsetRejection();
|
|
284
|
-
},
|
|
285
|
-
unsetRejection(): void {
|
|
286
|
-
this.rejectConfirm = null;
|
|
287
|
-
},
|
|
288
|
-
async requestNotification(action: NotificationActionModel): Promise<void> {
|
|
289
|
-
this.markAsRead(this.rejectedNotification);
|
|
290
|
-
await this.baseRepository.request(
|
|
291
|
-
action.action,
|
|
292
|
-
action.method ? action.method : RequestMethod.put,
|
|
293
|
-
action.body
|
|
294
|
-
);
|
|
295
|
-
},
|
|
296
|
-
initializeItems(): void {
|
|
297
|
-
this.items = [
|
|
298
|
-
{
|
|
299
|
-
name: "Time",
|
|
300
|
-
link: "Time",
|
|
301
|
-
toMainDomain: false,
|
|
302
|
-
toLite: !this.isLiteDomain,
|
|
303
|
-
menuCheck: "menu_time",
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
name: "Leaves and Absences",
|
|
307
|
-
link: this.isLiteDomain
|
|
308
|
-
? "Leaves and Absences"
|
|
309
|
-
: "leaves-and-absences/balance",
|
|
310
|
-
toLite: !this.isLiteDomain,
|
|
311
|
-
menuCheck: "menu_leaves_and_absences",
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
name: "Stats",
|
|
315
|
-
link: "stats",
|
|
316
|
-
toLite: !this.isLiteDomain,
|
|
317
|
-
toMainDomain: false,
|
|
318
|
-
menuCheck: "menu_stats",
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
name: "IntelliShare",
|
|
322
|
-
link: this.isLiteDomain ? "Donation Portal" : "donations",
|
|
323
|
-
toLite: !this.isLiteDomain,
|
|
324
|
-
toMainDomain: false,
|
|
325
|
-
menuCheck: "menu_donation_campaigns",
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
name: "Welcome Program",
|
|
329
|
-
link: this.isLiteDomain
|
|
330
|
-
? "On boarding page check list"
|
|
331
|
-
: "admin/welcome-program",
|
|
332
|
-
toLite: !this.isLiteDomain,
|
|
333
|
-
toMainDomain: false,
|
|
334
|
-
menuCheck: "menu_welcome_program",
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
name: "Operations",
|
|
338
|
-
link: this.isLiteDomain ? "Reporting Branches" : "projects",
|
|
339
|
-
toLite: !this.isLiteDomain,
|
|
340
|
-
toMainDomain: false,
|
|
341
|
-
menuCheck: "menu_projects",
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
name: "Reports",
|
|
345
|
-
link: "report/generate-excel",
|
|
346
|
-
toMainDomain: true,
|
|
347
|
-
menuCheck: "reports_tab",
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
name: "Team",
|
|
351
|
-
link: "view-employees",
|
|
352
|
-
toLite: !this.isLiteDomain,
|
|
353
|
-
toMainDomain: false,
|
|
354
|
-
menuCheck: "menu_team",
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
name: "News",
|
|
358
|
-
link: "news",
|
|
359
|
-
toLite: !this.isLiteDomain,
|
|
360
|
-
toMainDomain: false,
|
|
361
|
-
menuCheck: "menu_news",
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
name: "Career Hub",
|
|
365
|
-
link: this.config().careerSiteUrl,
|
|
366
|
-
isDirectLink: true,
|
|
367
|
-
menuCheck: "menu_career_hub",
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
name: "Service desk",
|
|
371
|
-
link: "https://jira.intellias.com/servicedesk/customer/portals",
|
|
372
|
-
toMainDomain: true,
|
|
373
|
-
menuCheck: "menu_service_desk",
|
|
374
|
-
blank: true,
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
name: "Knowledge base",
|
|
378
|
-
link: "https://confluence.intellias.com/pages/viewpage.action?pageId=110035843",
|
|
379
|
-
toMainDomain: true,
|
|
380
|
-
menuCheck: "menu_knowledge_base",
|
|
381
|
-
blank: true,
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
name: "IntelliVacancies",
|
|
385
|
-
link: this.isLiteDomain ? "IntelliVacancies" : "intelli-vacancies",
|
|
386
|
-
toLite: !this.isLiteDomain,
|
|
387
|
-
toMainDomain: false,
|
|
388
|
-
menuCheck: "menu_rotation_portal",
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
name: "Book a desk",
|
|
392
|
-
link: "https://intellias.officespacesoftware.com/visual-directory",
|
|
393
|
-
toMainDomain: true,
|
|
394
|
-
menuCheck: "menu_office_space",
|
|
395
|
-
blank: true,
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
name: "Company EA Model",
|
|
399
|
-
link: this.isLiteDomain ? "Company EA Model" : "ea",
|
|
400
|
-
toLite: !this.isLiteDomain,
|
|
401
|
-
toMainDomain: false,
|
|
402
|
-
menuCheck: "menu_ea_model",
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
name: "Admin",
|
|
406
|
-
menuCheck: "menu_admin",
|
|
407
|
-
adminMenu: true,
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
name: "Time Imports",
|
|
411
|
-
menuCheck: "menu_here_board_page",
|
|
412
|
-
hereBoardMenu: true,
|
|
413
|
-
},
|
|
414
|
-
];
|
|
415
|
-
},
|
|
416
|
-
initializeAdminItems(): void {
|
|
417
|
-
this.adminItems = [
|
|
418
|
-
{
|
|
419
|
-
name: "IT support",
|
|
420
|
-
menuCheck: "menu_admin_it_support",
|
|
421
|
-
opened: false,
|
|
422
|
-
children: [
|
|
423
|
-
{
|
|
424
|
-
name: "Access roles",
|
|
425
|
-
menuCheck: "setup_roles",
|
|
426
|
-
link: this.isLiteDomain ? "Access Roles" : "access-roles",
|
|
427
|
-
toLite: !this.isLiteDomain,
|
|
428
|
-
toMainDomain: false,
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
name: "Work areas",
|
|
432
|
-
menuCheck: "menu_work_areas",
|
|
433
|
-
link: "work-areas",
|
|
434
|
-
toMainDomain: true,
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
name: "Technical work",
|
|
438
|
-
menuCheck: "menu_admin_it_support_technical_work",
|
|
439
|
-
link: "technical-work",
|
|
440
|
-
toLite: !this.isLiteDomain,
|
|
441
|
-
toMainDomain: false,
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
name: "Access cards",
|
|
445
|
-
menuCheck: "menu_admin_it_support_access_cards",
|
|
446
|
-
link: "access-cards",
|
|
447
|
-
toLite: !this.isLiteDomain,
|
|
448
|
-
toMainDomain: false,
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
name: "Client IPs",
|
|
452
|
-
menuCheck: "menu_admin_it_support_client_ips",
|
|
453
|
-
link: "clients/index.php",
|
|
454
|
-
toMainDomain: true,
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
name: "View logs",
|
|
458
|
-
menuCheck: "menu_admin_it_support_view_logs",
|
|
459
|
-
link: this.isLiteDomain ? "view_logs" : "view-logs",
|
|
460
|
-
toLite: !this.isLiteDomain,
|
|
461
|
-
toMainDomain: false,
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
name: "Service page",
|
|
465
|
-
menuCheck: "menu_service_page",
|
|
466
|
-
link: this.isLiteDomain ? "Service" : "service-page",
|
|
467
|
-
toLite: !this.isLiteDomain,
|
|
468
|
-
toMainDomain: false,
|
|
469
|
-
},
|
|
470
|
-
],
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
name: "HR",
|
|
474
|
-
menuCheck: "menu_admin_hr",
|
|
475
|
-
opened: false,
|
|
476
|
-
children: [
|
|
477
|
-
{
|
|
478
|
-
name: "Manage IntelliStore",
|
|
479
|
-
menuCheck: "menu_intelli_store_manage",
|
|
480
|
-
link: this.isLiteDomain
|
|
481
|
-
? "catalog-admin-products-list"
|
|
482
|
-
: "total-rewards-portal/smart-catalog/admin'",
|
|
483
|
-
toLite: !this.isLiteDomain,
|
|
484
|
-
toMainDomain: false,
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
name: "Trainings (OLD)",
|
|
488
|
-
menuCheck: "menu_admin_hr_trainings",
|
|
489
|
-
link: "eval/index.php",
|
|
490
|
-
toMainDomain: true,
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
name: "Trainings (OLD)",
|
|
494
|
-
menuCheck: "menu_admin_employee_trainings",
|
|
495
|
-
link: "employees-trainings",
|
|
496
|
-
toMainDomain: true,
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
name: "Events",
|
|
500
|
-
menuCheck: "event_and_training",
|
|
501
|
-
link: this.isLiteDomain ? "Manage trainings" : "trainings",
|
|
502
|
-
toLite: !this.isLiteDomain,
|
|
503
|
-
toMainDomain: false,
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
name: "Calendars",
|
|
507
|
-
menuCheck: "menu_admin_holiday_calendar",
|
|
508
|
-
link: "calendars",
|
|
509
|
-
toLite: !this.isLiteDomain,
|
|
510
|
-
toMainDomain: false,
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
name: "Manage smarts",
|
|
514
|
-
menuCheck: "menu_admin_hr_manage_smarts",
|
|
515
|
-
link: "virtual-money/index.php",
|
|
516
|
-
toMainDomain: true,
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
name: "Manage news",
|
|
520
|
-
menuCheck: "menu_admin_hr_news",
|
|
521
|
-
link: "admin/news",
|
|
522
|
-
toMainDomain: true,
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
name: "Compensation packages",
|
|
526
|
-
menuCheck: "menu_admin_non_comp_list",
|
|
527
|
-
link: this.isLiteDomain
|
|
528
|
-
? "compensation-package"
|
|
529
|
-
: "admin/compensation-package",
|
|
530
|
-
toLite: !this.isLiteDomain,
|
|
531
|
-
toMainDomain: false,
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
name: "Banners",
|
|
535
|
-
menuCheck: "menu_admin_banners",
|
|
536
|
-
link: this.isLiteDomain ? "Banners List" : "banners",
|
|
537
|
-
toLite: !this.isLiteDomain,
|
|
538
|
-
toMainDomain: false,
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
name: "Manage Welcome Program",
|
|
542
|
-
link: this.isLiteDomain
|
|
543
|
-
? "Manage Welcome Program"
|
|
544
|
-
: "admin/welcome-program",
|
|
545
|
-
toMainDomain: false,
|
|
546
|
-
toLite: !this.isLiteDomain,
|
|
547
|
-
menuCheck: "menu_manage_welcome_program",
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
name: "Jira Satisfaction Survey",
|
|
551
|
-
menuCheck: "menu_enps_survey_admin",
|
|
552
|
-
link: this.isLiteDomain
|
|
553
|
-
? "Jira Satisfaction Survey List"
|
|
554
|
-
: "jira-satisfaction-survey",
|
|
555
|
-
toMainDomain: false,
|
|
556
|
-
toLite: !this.isLiteDomain,
|
|
557
|
-
},
|
|
558
|
-
],
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
name: "Accountancy",
|
|
562
|
-
menuCheck: "menu_admin_accountancy",
|
|
563
|
-
link: "accountancy/detailedReporting",
|
|
564
|
-
toMainDomain: true,
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
name: "Countries",
|
|
568
|
-
menuCheck: "menu_admin_dictionary",
|
|
569
|
-
link: this.isLiteDomain ? "dictionary" : "countries",
|
|
570
|
-
toLite: !this.isLiteDomain,
|
|
571
|
-
toMainDomain: false,
|
|
572
|
-
},
|
|
573
|
-
];
|
|
574
|
-
},
|
|
575
|
-
initializeHereBoardItems(): void {
|
|
576
|
-
this.hereBoardItems = [
|
|
577
|
-
{
|
|
578
|
-
name: "Employee Dashboard",
|
|
579
|
-
menuCheck: "menu_here_board_page_user",
|
|
580
|
-
link: this.isLiteDomain ? "Here Board Page" : "here-board-page",
|
|
581
|
-
toLite: !this.isLiteDomain,
|
|
582
|
-
toMainDomain: false,
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
name: "Manager Dashboard",
|
|
586
|
-
menuCheck: "menu_here_board_page_manager",
|
|
587
|
-
link: this.isLiteDomain
|
|
588
|
-
? "Here Board Page Admin"
|
|
589
|
-
: "here-board-page-admin",
|
|
590
|
-
toLite: !this.isLiteDomain,
|
|
591
|
-
toMainDomain: false,
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
name: "Admin Dashboard",
|
|
595
|
-
menuCheck: "menu_here_board_page_owner",
|
|
596
|
-
link: this.isLiteDomain
|
|
597
|
-
? "Here Board Page Admin"
|
|
598
|
-
: "here-board-page-admin",
|
|
599
|
-
toLite: !this.isLiteDomain,
|
|
600
|
-
toMainDomain: false,
|
|
601
|
-
},
|
|
602
|
-
];
|
|
603
|
-
},
|
|
604
|
-
},
|
|
605
|
-
data(): Record<string, unknown> {
|
|
606
|
-
return {
|
|
607
|
-
flagShowSignOutLinks: false,
|
|
608
|
-
sideNavOpened: false,
|
|
609
|
-
baseRepository: new BaseRepository(),
|
|
610
|
-
rejectConfirm: undefined,
|
|
611
|
-
rejectedNotification: undefined,
|
|
612
|
-
giveKudosComponent: undefined,
|
|
613
|
-
items: [],
|
|
614
|
-
adminItems: [],
|
|
615
|
-
hereBoardItems: [],
|
|
616
|
-
overflowedItems: {
|
|
617
|
-
items: [],
|
|
618
|
-
startIndex: -1,
|
|
619
|
-
},
|
|
620
|
-
mobileMenu: null,
|
|
621
|
-
overflowedMenus: undefined as Array<HTMLElement>,
|
|
622
|
-
isOveflowedMenuMoved: false,
|
|
623
|
-
};
|
|
624
|
-
},
|
|
625
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
-
<defs>
|
|
3
|
-
<path id="a" d="M0 0l5 5 5-5z"/>
|
|
4
|
-
</defs>
|
|
5
|
-
<g fill="none" fill-rule="evenodd" transform="translate(3 6)">
|
|
6
|
-
<mask id="b" fill="#fff">
|
|
7
|
-
<use xlink:href="#a"/>
|
|
8
|
-
</mask>
|
|
9
|
-
<g fill="#9EACB8" mask="url(#b)">
|
|
10
|
-
<path d="M-3-6h16v16H-3z"/>
|
|
11
|
-
</g>
|
|
12
|
-
</g>
|
|
13
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M11.29 12L14.83 8.46001C15.0163 8.27265 15.1208 8.0192 15.1208 7.75501C15.1208 7.49082 15.0163 7.23737 14.83 7.05001C14.737 6.95628 14.6264 6.88189 14.5046 6.83112C14.3827 6.78035 14.252 6.75421 14.12 6.75421C13.988 6.75421 13.8573 6.78035 13.7354 6.83112C13.6136 6.88189 13.503 6.95628 13.41 7.05001L9.17 11.29C9.07628 11.383 9.00188 11.4936 8.95111 11.6154C8.90035 11.7373 8.87421 11.868 8.87421 12C8.87421 12.132 8.90035 12.2627 8.95111 12.3846C9.00188 12.5064 9.07628 12.617 9.17 12.71L13.41 17C13.5034 17.0927 13.6143 17.166 13.7361 17.2158C13.8579 17.2655 13.9884 17.2908 14.12 17.29C14.2516 17.2908 14.3821 17.2655 14.5039 17.2158C14.6257 17.166 14.7366 17.0927 14.83 17C15.0163 16.8126 15.1208 16.5592 15.1208 16.295C15.1208 16.0308 15.0163 15.7774 14.83 15.59L11.29 12Z" fill="#1A2732"/>
|
|
3
|
-
</svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<mask id="mask0_4339_12835" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="2" y="0" width="11" height="16">
|
|
3
|
-
<path d="M12.4015 8.62179L5.06811 15.7424C4.71442 16.0859 4.14101 16.0859 3.78736 15.7424L2.93204 14.9119C2.57896 14.5691 2.57828 14.0134 2.93053 13.6698L8.74238 7.99998L2.93049 2.33019C2.57824 1.98655 2.57892 1.43091 2.932 1.08808L3.78733 0.257567C4.14101 -0.0858556 4.71442 -0.0858556 5.06807 0.257567L12.4015 7.37821C12.7552 7.72159 12.7552 8.27837 12.4015 8.62179Z" fill="white"/>
|
|
4
|
-
</mask>
|
|
5
|
-
<g mask="url(#mask0_4339_12835)">
|
|
6
|
-
<rect x="16" width="16" height="16" transform="rotate(90 16 0)" fill="white"/>
|
|
7
|
-
</g>
|
|
8
|
-
</svg>
|
package/assets/icons/close.svg
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M13.41 12L19.71 5.71C19.8983 5.5217 20.0041 5.2663 20.0041 5C20.0041 4.7337 19.8983 4.47831 19.71 4.29C19.5217 4.1017 19.2663 3.99591 19 3.99591C18.7337 3.99591 18.4783 4.1017 18.29 4.29L12 10.59L5.71 4.29C5.5217 4.1017 5.2663 3.99591 5 3.99591C4.7337 3.99591 4.4783 4.1017 4.29 4.29C4.1017 4.47831 3.99591 4.7337 3.99591 5C3.99591 5.2663 4.1017 5.5217 4.29 5.71L10.59 12L4.29 18.29C4.19627 18.383 4.12188 18.4936 4.07111 18.6154C4.02034 18.7373 3.9942 18.868 3.9942 19C3.9942 19.132 4.02034 19.2627 4.07111 19.3846C4.12188 19.5064 4.19627 19.617 4.29 19.71C4.38296 19.8037 4.49356 19.8781 4.61542 19.9289C4.73728 19.9797 4.86799 20.0058 5 20.0058C5.13201 20.0058 5.26272 19.9797 5.38458 19.9289C5.50644 19.8781 5.61704 19.8037 5.71 19.71L12 13.41L18.29 19.71C18.383 19.8037 18.4936 19.8781 18.6154 19.9289C18.7373 19.9797 18.868 20.0058 19 20.0058C19.132 20.0058 19.2627 19.9797 19.3846 19.9289C19.5064 19.8781 19.617 19.8037 19.71 19.71C19.8037 19.617 19.8781 19.5064 19.9289 19.3846C19.9797 19.2627 20.0058 19.132 20.0058 19C20.0058 18.868 19.9797 18.7373 19.9289 18.6154C19.8781 18.4936 19.8037 18.383 19.71 18.29L13.41 12Z" fill="#1A2732"/>
|
|
3
|
-
</svg>
|
package/assets/icons/delete.svg
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
-
<defs>
|
|
3
|
-
<path id="a" d="M5 3V1.01C5 .442 5.444 0 5.99 0h4.02c.539 0 .99.452.99 1.01V3h4c.555 0 1 .448 1 1 0 .556-.448 1-1 1h-1v8.997c0 1.11-.9 2.003-2.009 2.003H4.01A2.007 2.007 0 0 1 2 13.997V5.003 5H1c-.555 0-1-.448-1-1 0-.556.448-1 1-1h4zm-.003 2A.997.997 0 0 0 4 5.998v7.004c0 .551.453.998.997.998h6.006c.55 0 .997-.446.997-.998V5.998c0-.551-.453-.998-.997-.998H4.997zM7 2v1h2V2H7zm2.5 5c.268 0 .5.223.5.498v4.004a.494.494 0 0 1-.5.498.504.504 0 0 1-.5-.498V7.498C9 7.215 9.224 7 9.5 7zm-3 0c.268 0 .5.223.5.498v4.004a.494.494 0 0 1-.5.498.504.504 0 0 1-.5-.498V7.498C6 7.215 6.224 7 6.5 7z"/>
|
|
4
|
-
</defs>
|
|
5
|
-
<g fill="none" fill-rule="evenodd" transform="translate(.014)">
|
|
6
|
-
<mask id="b" fill="#fff">
|
|
7
|
-
<use xlink:href="#a"/>
|
|
8
|
-
</mask>
|
|
9
|
-
<g fill="#9EACB8" mask="url(#b)">
|
|
10
|
-
<path d="M0 0h16v16H0z"/>
|
|
11
|
-
</g>
|
|
12
|
-
</g>
|
|
13
|
-
</svg>
|
package/assets/icons/faq-new.svg
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M12.8966 13.0641C12.8966 12.6694 12.9766 12.3227 13.1366 12.0241C13.2966 11.7147 13.51 11.4641 13.7766 11.2721C13.9686 11.1334 14.214 10.9734 14.5126 10.7921C15.0993 10.4294 15.3926 10.0294 15.3926 9.59205V8.84005C15.3926 8.54139 15.2913 8.33872 15.0886 8.23205C14.886 8.12539 14.4646 8.07205 13.8246 8.07205C13.334 8.07205 12.2726 8.20005 10.6406 8.45605V6.71206C11.9633 6.54139 13.126 6.45605 14.1286 6.45605C14.6726 6.45605 15.11 6.47205 15.4406 6.50406C15.782 6.52539 16.1073 6.57872 16.4166 6.66405C16.7366 6.76005 16.9926 6.88805 17.1846 7.04805C17.3766 7.19739 17.5313 7.40539 17.6486 7.67206C17.766 7.96005 17.8246 8.28005 17.8246 8.63206V10.1681C17.8246 10.4667 17.734 10.7494 17.5526 11.0161C17.382 11.2721 17.1526 11.4961 16.8646 11.6881C16.502 11.9227 16.23 12.0934 16.0486 12.2001C15.398 12.6054 15.0726 12.9627 15.0726 13.2721V13.9921H12.8966V13.0641ZM12.7366 14.7921H15.2326V17.0001H12.7366V14.7921Z" fill="#45D6AD"/>
|
|
3
|
-
<path d="M9.18257 22.9201L9.18243 22.9202L5.49922 26.9721C5.49826 26.9664 5.49766 26.96 5.49766 26.9528V24.0625C5.49766 23.1841 4.80762 22.3834 3.85227 22.3834H3.29511C2.07787 22.3834 1 21.3243 1 19.9163V3.46706C1 2.05907 2.07777 1 3.29511 1H24.7049C25.9221 1 27 2.0591 27 3.46706V19.9162C27 21.3242 25.9221 22.3833 24.7049 22.3833H10.3888C9.9232 22.3833 9.48733 22.5849 9.18257 22.9201ZM5.5129 27.0039C5.51292 27.004 5.51278 27.0039 5.51249 27.0036L5.5129 27.0039Z" stroke="#45D6AD" stroke-width="2"/>
|
|
4
|
-
</svg>
|