@intellias/menu 1.0.2 → 1.0.5
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 +44 -9
- package/dist/css/main.css +155 -2
- package/dist/index.html +9 -0
- package/dist/js/{1.js → kudosForm.js} +24 -58
- package/dist/js/main.js +654 -689
- package/dist/js/rejectComponent.js +363 -0
- package/dist/js/{6.js → vendors~kudosForm.js} +5 -5
- package/dist/js/{0.js → vendors~kudosForm~rejectComponent.js} +27 -27
- package/dist/js/vue.js +2 -2
- package/package.json +100 -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/css/1.css +0 -85
- package/dist/css/2.css +0 -34
- package/dist/css/3.css +0 -34
- package/dist/css/4.css +0 -34
- package/dist/css/5.css +0 -34
- package/dist/html/app.html +0 -19
- package/dist/html/styles.html +0 -1
- package/dist/js/2.js +0 -217
- package/dist/js/3.js +0 -181
- package/dist/js/4.js +0 -181
- package/dist/js/5.js +0 -181
- 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
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@import "../../scss/components/variables";
|
|
3
|
-
|
|
4
|
-
.image-wrapper {
|
|
5
|
-
&.sm {
|
|
6
|
-
width: 35px;
|
|
7
|
-
height: 35px;
|
|
8
|
-
.user-image {
|
|
9
|
-
border: 1px solid map.get($intems-colors, "border");
|
|
10
|
-
&.anonymous {
|
|
11
|
-
font-size: $font-size-12;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
&.md {
|
|
16
|
-
height: 44px;
|
|
17
|
-
width: 44px;
|
|
18
|
-
.user-image {
|
|
19
|
-
border: 1px solid map.get($intems-colors, "border");
|
|
20
|
-
&.anonymous {
|
|
21
|
-
font-size: $font-size-16;
|
|
22
|
-
color: map.get($intems-colors, "text-disable");
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
&.lg {
|
|
27
|
-
height: 96px;
|
|
28
|
-
width: 96px;
|
|
29
|
-
}
|
|
30
|
-
&.xl {
|
|
31
|
-
height: 128px;
|
|
32
|
-
width: 128px;
|
|
33
|
-
.user-image.anonymous {
|
|
34
|
-
font-size: $font-size-50;
|
|
35
|
-
color: map.get($intems-colors, "text-disable");
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
.user-image {
|
|
39
|
-
border: 2px solid map.get($intems-colors, "border");
|
|
40
|
-
border-radius: 50%;
|
|
41
|
-
overflow: hidden;
|
|
42
|
-
width: inherit;
|
|
43
|
-
height: inherit;
|
|
44
|
-
|
|
45
|
-
&img {
|
|
46
|
-
object-fit: cover;
|
|
47
|
-
}
|
|
48
|
-
&.anonymous {
|
|
49
|
-
background-color: map.get($intems-colors, "background");
|
|
50
|
-
font-size: $font-size-40;
|
|
51
|
-
color: map.get($intems-colors, "text-disable");
|
|
52
|
-
font-weight: 600;
|
|
53
|
-
text-transform: uppercase;
|
|
54
|
-
display: inline-flex;
|
|
55
|
-
justify-content: center;
|
|
56
|
-
align-items: center;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
&.no-border .user-image {
|
|
60
|
-
border: none;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import { VueLazyloadImage } from "vue-lazyload";
|
|
3
|
-
import PublicInfoModel from "../../models/PublicInfoModel";
|
|
4
|
-
|
|
5
|
-
enum Size {
|
|
6
|
-
sm = "sm",
|
|
7
|
-
md = "md",
|
|
8
|
-
lg = "lg",
|
|
9
|
-
xl = "xl",
|
|
10
|
-
full = "full",
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface IPictureOptions {
|
|
14
|
-
size: Size;
|
|
15
|
-
noBorder: boolean;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
const OPTIONS: IPictureOptions = {
|
|
19
|
-
size: Size.md,
|
|
20
|
-
noBorder: false,
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export interface IPictureModel {
|
|
24
|
-
avatar_url: string;
|
|
25
|
-
thumbnail_url: string;
|
|
26
|
-
first_name: string;
|
|
27
|
-
last_name: string;
|
|
28
|
-
}
|
|
29
|
-
const EMPTY_MODEL: IPictureModel = {
|
|
30
|
-
avatar_url: "",
|
|
31
|
-
first_name: "",
|
|
32
|
-
last_name: "",
|
|
33
|
-
thumbnail_url: "",
|
|
34
|
-
};
|
|
35
|
-
export default {
|
|
36
|
-
props: {
|
|
37
|
-
employee: {} as PublicInfoModel | IPictureModel,
|
|
38
|
-
options: {} as PropType<IPictureOptions>,
|
|
39
|
-
},
|
|
40
|
-
mounted(): void {
|
|
41
|
-
this.cOptions = { ...OPTIONS, ...this.options };
|
|
42
|
-
this.pictureModel = this.toPictureModel();
|
|
43
|
-
},
|
|
44
|
-
watch: {
|
|
45
|
-
employee: {
|
|
46
|
-
deep: true,
|
|
47
|
-
handler(newVal: IPictureModel, oldVal: IPictureModel): void {
|
|
48
|
-
if (newVal.avatar_url && newVal.avatar_url !== oldVal.avatar_url) {
|
|
49
|
-
this.anonymous = false;
|
|
50
|
-
}
|
|
51
|
-
this.pictureModel = this.toPictureModel();
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
computed: {
|
|
56
|
-
image(): VueLazyloadImage {
|
|
57
|
-
return {
|
|
58
|
-
src: this.imageUrl,
|
|
59
|
-
error: `not-image`,
|
|
60
|
-
} as VueLazyloadImage;
|
|
61
|
-
},
|
|
62
|
-
imageUrl(): string {
|
|
63
|
-
return [Size.sm, Size.md].includes(this.cOptions.size) &&
|
|
64
|
-
this.pictureModel.thumbnail_url
|
|
65
|
-
? this.pictureModel.thumbnail_url
|
|
66
|
-
: this.pictureModel.avatar_url;
|
|
67
|
-
},
|
|
68
|
-
imageAlt(): string {
|
|
69
|
-
return `${this.pictureModel.first_name} ${this.pictureModel.last_name} avatar`;
|
|
70
|
-
},
|
|
71
|
-
employeeInitials(): string {
|
|
72
|
-
return `${
|
|
73
|
-
typeof this.pictureModel.first_name === "string"
|
|
74
|
-
? this.pictureModel.first_name.substring(0, 1)
|
|
75
|
-
: ""
|
|
76
|
-
}${
|
|
77
|
-
typeof this.pictureModel.last_name === "string"
|
|
78
|
-
? this.pictureModel.last_name.substring(0, 1)
|
|
79
|
-
: ""
|
|
80
|
-
}`;
|
|
81
|
-
},
|
|
82
|
-
border(): string {
|
|
83
|
-
return this.cOptions.noBorder ? "no-border" : "";
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
methods: {
|
|
87
|
-
replaceByAnonymous(): void {
|
|
88
|
-
this.anonymous = true;
|
|
89
|
-
},
|
|
90
|
-
toPictureModel(): IPictureModel {
|
|
91
|
-
if (this.employee === undefined) {
|
|
92
|
-
return EMPTY_MODEL as IPictureModel;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
return { ...EMPTY_MODEL, ...this.employee };
|
|
96
|
-
},
|
|
97
|
-
},
|
|
98
|
-
data(): Record<string, unknown> {
|
|
99
|
-
return {
|
|
100
|
-
anonymous: false,
|
|
101
|
-
cOptions: {} as IPictureOptions,
|
|
102
|
-
pictureModel: {} as IPictureModel,
|
|
103
|
-
};
|
|
104
|
-
},
|
|
105
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="image-wrapper" :class="[cOptions.size, border]">
|
|
3
|
-
<img
|
|
4
|
-
v-if="imageUrl && !anonymous"
|
|
5
|
-
class="user-image"
|
|
6
|
-
v-lazy="image"
|
|
7
|
-
:alt="imageAlt"
|
|
8
|
-
@error="replaceByAnonymous"
|
|
9
|
-
/>
|
|
10
|
-
<div v-else class="user-image anonymous" :title="imageAlt">
|
|
11
|
-
<span>{{ employeeInitials }}</span>
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
</template>
|
|
15
|
-
|
|
16
|
-
<script>
|
|
17
|
-
import UserPicture from "./UserPicture";
|
|
18
|
-
|
|
19
|
-
export default UserPicture;
|
|
20
|
-
</script>
|
|
21
|
-
<style lang="scss">
|
|
22
|
-
@import "UserPicture";
|
|
23
|
-
</style>
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import vSelect from "vue-select";
|
|
2
|
-
import debounce from "lodash.debounce";
|
|
3
|
-
import UserPicture from "../user-picture/UserPicture.vue";
|
|
4
|
-
import UserListModel from "../give-kudos-form/models/UserListModel";
|
|
5
|
-
import OpenIndicator from "./open-indicator/OpenIndicator.vue";
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
components: { UserPicture, vSelect },
|
|
9
|
-
props: ["data", "value"],
|
|
10
|
-
methods: {
|
|
11
|
-
onInput(val): void {
|
|
12
|
-
this.$emit("input", val);
|
|
13
|
-
},
|
|
14
|
-
handlers(map, vm) {
|
|
15
|
-
const choose = (e) => {
|
|
16
|
-
e.preventDefault();
|
|
17
|
-
|
|
18
|
-
if (
|
|
19
|
-
vm.filteredOptions.length === 1 &&
|
|
20
|
-
vm.filteredOptions[0] instanceof UserListModel &&
|
|
21
|
-
vm.filteredOptions[0].disabled_option
|
|
22
|
-
) {
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
vm.typeAheadSelect();
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
return {
|
|
29
|
-
...map,
|
|
30
|
-
13: choose,
|
|
31
|
-
};
|
|
32
|
-
},
|
|
33
|
-
opened(): void {
|
|
34
|
-
this.$emit("open");
|
|
35
|
-
|
|
36
|
-
const comboboxEl = this.toggleElement;
|
|
37
|
-
const selectedEl = this.$el.getElementsByClassName("vs__selected")[0];
|
|
38
|
-
if (this.data.multiple || !comboboxEl || !selectedEl) {
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
comboboxEl.style.height = `${selectedEl.offsetHeight + 9}px`;
|
|
43
|
-
},
|
|
44
|
-
search: debounce(function (val) {
|
|
45
|
-
if (val) {
|
|
46
|
-
this.$emit("search", val);
|
|
47
|
-
}
|
|
48
|
-
}, 500),
|
|
49
|
-
selected(val): void {
|
|
50
|
-
this.$emit("selected", val);
|
|
51
|
-
},
|
|
52
|
-
deselected(val): void {
|
|
53
|
-
this.$emit("deselected", val);
|
|
54
|
-
},
|
|
55
|
-
selecting(val): void {
|
|
56
|
-
this.$emit("selecting", val);
|
|
57
|
-
},
|
|
58
|
-
deselecting(val): void {
|
|
59
|
-
this.$emit("deselecting", val);
|
|
60
|
-
},
|
|
61
|
-
closed(): void {
|
|
62
|
-
this.$emit("close");
|
|
63
|
-
|
|
64
|
-
const comboboxEl = this.toggleElement;
|
|
65
|
-
if (this.data.multiple && !comboboxEl) {
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
comboboxEl.style.height = null;
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
computed: {
|
|
73
|
-
toggleElement(): Element {
|
|
74
|
-
return this.$el.getElementsByClassName("vs__dropdown-toggle")[0];
|
|
75
|
-
},
|
|
76
|
-
filterBy() {
|
|
77
|
-
return this.data.filterBy
|
|
78
|
-
? (
|
|
79
|
-
option: Record<string, unknown>,
|
|
80
|
-
label: string,
|
|
81
|
-
search: string
|
|
82
|
-
): boolean => {
|
|
83
|
-
let searchString = "";
|
|
84
|
-
this.data.filterBy.forEach((field) => {
|
|
85
|
-
searchString +=
|
|
86
|
-
option[field] !== undefined ? ` ${option[field]}` : "";
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
return (
|
|
90
|
-
searchString.toLowerCase().indexOf(search.toLowerCase()) > -1
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
: undefined;
|
|
94
|
-
},
|
|
95
|
-
showOptionsWithAvatars(): boolean {
|
|
96
|
-
return this.data.class && this.data.class["select-with-avatars"];
|
|
97
|
-
},
|
|
98
|
-
customOption(): boolean {
|
|
99
|
-
return this.showOptionsWithAvatars;
|
|
100
|
-
},
|
|
101
|
-
},
|
|
102
|
-
data(): Record<string, unknown> {
|
|
103
|
-
return {
|
|
104
|
-
Deselect,
|
|
105
|
-
OpenIndicator,
|
|
106
|
-
attributes: {
|
|
107
|
-
ref: "openIndicator",
|
|
108
|
-
role: "presentation",
|
|
109
|
-
},
|
|
110
|
-
};
|
|
111
|
-
},
|
|
112
|
-
};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<v-select
|
|
3
|
-
:selectable="(item) => !item.disabled_option"
|
|
4
|
-
:value="value"
|
|
5
|
-
@input="onInput"
|
|
6
|
-
v-bind="data"
|
|
7
|
-
:components="{ OpenIndicator }"
|
|
8
|
-
v-bind:filterBy="filterBy"
|
|
9
|
-
:map-keydown="handlers"
|
|
10
|
-
@open="opened"
|
|
11
|
-
@close="closed"
|
|
12
|
-
@search="search"
|
|
13
|
-
@option:selected="selected"
|
|
14
|
-
@option:deselected="deselected"
|
|
15
|
-
@option:selecting="selecting"
|
|
16
|
-
@option:deselecting="deselecting"
|
|
17
|
-
>
|
|
18
|
-
<template
|
|
19
|
-
slot="selected-option"
|
|
20
|
-
v-if="showOptionsWithAvatars"
|
|
21
|
-
slot-scope="option"
|
|
22
|
-
>
|
|
23
|
-
<div class="option-with-image">
|
|
24
|
-
<user-picture
|
|
25
|
-
:employee="option"
|
|
26
|
-
:options="{ size: 'sm' }"
|
|
27
|
-
></user-picture>
|
|
28
|
-
<div class="option-value">
|
|
29
|
-
<div class="label">{{ option[data.label] }}</div>
|
|
30
|
-
<div class="position">
|
|
31
|
-
{{ option.position }}
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</template>
|
|
36
|
-
<template slot="option" slot-scope="option">
|
|
37
|
-
<div>
|
|
38
|
-
<user-picture
|
|
39
|
-
:employee="option"
|
|
40
|
-
:options="{ size: 'sm' }"
|
|
41
|
-
></user-picture>
|
|
42
|
-
<span class="text-wrapper"> {{ option[data.label] }}</span>
|
|
43
|
-
</div>
|
|
44
|
-
</template>
|
|
45
|
-
<template slot="option" v-if="customOption" slot-scope="option">
|
|
46
|
-
<div class="option-with-image" v-if="showOptionsWithAvatars">
|
|
47
|
-
<user-picture
|
|
48
|
-
:employee="option"
|
|
49
|
-
:options="{ size: 'sm' }"
|
|
50
|
-
></user-picture>
|
|
51
|
-
<div class="text-block">
|
|
52
|
-
<span class="text-name"> {{ option[data.label] }}</span>
|
|
53
|
-
<br />
|
|
54
|
-
<span class="text-position"> {{ option.position }}</span>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
</template>
|
|
58
|
-
|
|
59
|
-
<template #list-footer>
|
|
60
|
-
<slot name="list-footer"></slot>
|
|
61
|
-
</template>
|
|
62
|
-
</v-select>
|
|
63
|
-
</template>
|
|
64
|
-
<script>
|
|
65
|
-
import VSelectIntems from "./VSelectIntems";
|
|
66
|
-
|
|
67
|
-
export default VSelectIntems;
|
|
68
|
-
</script>
|
package/dist/css/1.css
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
.give-kudos .user ul {
|
|
2
|
-
max-height: 200px;
|
|
3
|
-
}
|
|
4
|
-
.give-kudos a {
|
|
5
|
-
font-weight: bold;
|
|
6
|
-
}
|
|
7
|
-
.give-kudos .subtitle {
|
|
8
|
-
padding: 0px 0 30px 0;
|
|
9
|
-
}
|
|
10
|
-
.give-kudos .form {
|
|
11
|
-
display: grid;
|
|
12
|
-
grid-template-columns: auto 207px;
|
|
13
|
-
grid-gap: 15px;
|
|
14
|
-
/* Chrome, Safari, Edge, Opera */
|
|
15
|
-
/* Firefox */
|
|
16
|
-
}
|
|
17
|
-
.give-kudos .form .vs__selected-options {
|
|
18
|
-
flex-wrap: nowrap;
|
|
19
|
-
}
|
|
20
|
-
.give-kudos .form .vs__selected-options span.vs__selected {
|
|
21
|
-
white-space: nowrap;
|
|
22
|
-
}
|
|
23
|
-
.give-kudos .form .kudos-quantity {
|
|
24
|
-
height: 38px;
|
|
25
|
-
margin: 0;
|
|
26
|
-
border: solid 1px #cbd5e1;
|
|
27
|
-
background-color: #ffffff;
|
|
28
|
-
padding: 0 15px;
|
|
29
|
-
width: 175px;
|
|
30
|
-
}
|
|
31
|
-
.give-kudos .form input.kudos-quantity:focus {
|
|
32
|
-
border: solid 1px #00a58e;
|
|
33
|
-
box-shadow: none;
|
|
34
|
-
}
|
|
35
|
-
.give-kudos .form input::-webkit-outer-spin-button,
|
|
36
|
-
.give-kudos .form input::-webkit-inner-spin-button {
|
|
37
|
-
-webkit-appearance: none;
|
|
38
|
-
margin: 0;
|
|
39
|
-
}
|
|
40
|
-
.give-kudos .form input[type=number] {
|
|
41
|
-
-moz-appearance: textfield;
|
|
42
|
-
}
|
|
43
|
-
.give-kudos .form .user {
|
|
44
|
-
grid-column: span 2;
|
|
45
|
-
margin-right: 1px;
|
|
46
|
-
}
|
|
47
|
-
.give-kudos .form .block-kudos-quantity {
|
|
48
|
-
width: 190px;
|
|
49
|
-
}
|
|
50
|
-
.give-kudos .form .block-kudos-category {
|
|
51
|
-
margin-right: 5px;
|
|
52
|
-
}
|
|
53
|
-
.give-kudos .form .description {
|
|
54
|
-
grid-column: span 2;
|
|
55
|
-
margin-right: 1px;
|
|
56
|
-
}
|
|
57
|
-
.give-kudos .form .description textarea {
|
|
58
|
-
resize: none;
|
|
59
|
-
min-height: 100px;
|
|
60
|
-
max-height: 300px;
|
|
61
|
-
min-width: 100%;
|
|
62
|
-
max-width: 100%;
|
|
63
|
-
border-radius: 2px;
|
|
64
|
-
border: solid 1px #cbd5e1;
|
|
65
|
-
outline: none;
|
|
66
|
-
padding: 10px;
|
|
67
|
-
}
|
|
68
|
-
.give-kudos .form label {
|
|
69
|
-
display: flex;
|
|
70
|
-
font-size: 0.94rem;
|
|
71
|
-
margin-bottom: 10px;
|
|
72
|
-
color: #1a2732;
|
|
73
|
-
}
|
|
74
|
-
.give-kudos .form .error {
|
|
75
|
-
font-size: 0.8rem;
|
|
76
|
-
}
|
|
77
|
-
.give-kudos .form .error-field {
|
|
78
|
-
border: solid 1px #da1e28;
|
|
79
|
-
}
|
|
80
|
-
.give-kudos button.btn-large[disabled] {
|
|
81
|
-
background-color: #c2e9e4 !important;
|
|
82
|
-
}
|
|
83
|
-
.give-kudos .vs__clear svg {
|
|
84
|
-
display: none;
|
|
85
|
-
}
|
package/dist/css/2.css
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
.modal.confirm {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
min-width: 280px;
|
|
4
|
-
min-height: 150px;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
background-color: #ffffff;
|
|
7
|
-
position: fixed;
|
|
8
|
-
}
|
|
9
|
-
.modal.confirm.open {
|
|
10
|
-
display: flex !important;
|
|
11
|
-
}
|
|
12
|
-
.modal.confirm .header {
|
|
13
|
-
padding-bottom: 10px;
|
|
14
|
-
}
|
|
15
|
-
.modal.confirm .header i.modal-close {
|
|
16
|
-
float: right;
|
|
17
|
-
height: 24px;
|
|
18
|
-
line-height: 24px;
|
|
19
|
-
}
|
|
20
|
-
.modal.confirm .header h3 {
|
|
21
|
-
color: #1a2732;
|
|
22
|
-
}
|
|
23
|
-
.modal.confirm .header + .modal-footer {
|
|
24
|
-
padding-top: 30px;
|
|
25
|
-
}
|
|
26
|
-
.modal.confirm .modal-content {
|
|
27
|
-
white-space: normal;
|
|
28
|
-
color: #1a2732;
|
|
29
|
-
overflow: initial;
|
|
30
|
-
font-weight: normal;
|
|
31
|
-
line-height: normal;
|
|
32
|
-
margin-right: 0;
|
|
33
|
-
padding-right: 0;
|
|
34
|
-
}
|
package/dist/css/3.css
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
.modal.confirm {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
min-width: 280px;
|
|
4
|
-
min-height: 150px;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
background-color: #ffffff;
|
|
7
|
-
position: fixed;
|
|
8
|
-
}
|
|
9
|
-
.modal.confirm.open {
|
|
10
|
-
display: flex !important;
|
|
11
|
-
}
|
|
12
|
-
.modal.confirm .header {
|
|
13
|
-
padding-bottom: 10px;
|
|
14
|
-
}
|
|
15
|
-
.modal.confirm .header i.modal-close {
|
|
16
|
-
float: right;
|
|
17
|
-
height: 24px;
|
|
18
|
-
line-height: 24px;
|
|
19
|
-
}
|
|
20
|
-
.modal.confirm .header h3 {
|
|
21
|
-
color: #1a2732;
|
|
22
|
-
}
|
|
23
|
-
.modal.confirm .header + .modal-footer {
|
|
24
|
-
padding-top: 30px;
|
|
25
|
-
}
|
|
26
|
-
.modal.confirm .modal-content {
|
|
27
|
-
white-space: normal;
|
|
28
|
-
color: #1a2732;
|
|
29
|
-
overflow: initial;
|
|
30
|
-
font-weight: normal;
|
|
31
|
-
line-height: normal;
|
|
32
|
-
margin-right: 0;
|
|
33
|
-
padding-right: 0;
|
|
34
|
-
}
|
package/dist/css/4.css
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
.modal.confirm {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
min-width: 280px;
|
|
4
|
-
min-height: 150px;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
background-color: #ffffff;
|
|
7
|
-
position: fixed;
|
|
8
|
-
}
|
|
9
|
-
.modal.confirm.open {
|
|
10
|
-
display: flex !important;
|
|
11
|
-
}
|
|
12
|
-
.modal.confirm .header {
|
|
13
|
-
padding-bottom: 10px;
|
|
14
|
-
}
|
|
15
|
-
.modal.confirm .header i.modal-close {
|
|
16
|
-
float: right;
|
|
17
|
-
height: 24px;
|
|
18
|
-
line-height: 24px;
|
|
19
|
-
}
|
|
20
|
-
.modal.confirm .header h3 {
|
|
21
|
-
color: #1a2732;
|
|
22
|
-
}
|
|
23
|
-
.modal.confirm .header + .modal-footer {
|
|
24
|
-
padding-top: 30px;
|
|
25
|
-
}
|
|
26
|
-
.modal.confirm .modal-content {
|
|
27
|
-
white-space: normal;
|
|
28
|
-
color: #1a2732;
|
|
29
|
-
overflow: initial;
|
|
30
|
-
font-weight: normal;
|
|
31
|
-
line-height: normal;
|
|
32
|
-
margin-right: 0;
|
|
33
|
-
padding-right: 0;
|
|
34
|
-
}
|
package/dist/css/5.css
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
.modal.confirm {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
min-width: 280px;
|
|
4
|
-
min-height: 150px;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
background-color: #ffffff;
|
|
7
|
-
position: fixed;
|
|
8
|
-
}
|
|
9
|
-
.modal.confirm.open {
|
|
10
|
-
display: flex !important;
|
|
11
|
-
}
|
|
12
|
-
.modal.confirm .header {
|
|
13
|
-
padding-bottom: 10px;
|
|
14
|
-
}
|
|
15
|
-
.modal.confirm .header i.modal-close {
|
|
16
|
-
float: right;
|
|
17
|
-
height: 24px;
|
|
18
|
-
line-height: 24px;
|
|
19
|
-
}
|
|
20
|
-
.modal.confirm .header h3 {
|
|
21
|
-
color: #1a2732;
|
|
22
|
-
}
|
|
23
|
-
.modal.confirm .header + .modal-footer {
|
|
24
|
-
padding-top: 30px;
|
|
25
|
-
}
|
|
26
|
-
.modal.confirm .modal-content {
|
|
27
|
-
white-space: normal;
|
|
28
|
-
color: #1a2732;
|
|
29
|
-
overflow: initial;
|
|
30
|
-
font-weight: normal;
|
|
31
|
-
line-height: normal;
|
|
32
|
-
margin-right: 0;
|
|
33
|
-
padding-right: 0;
|
|
34
|
-
}
|
package/dist/html/app.html
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
Html Webpack Plugin:
|
|
2
|
-
<pre>
|
|
3
|
-
TypeError: Cannot read properties of undefined (reading 'entry')
|
|
4
|
-
|
|
5
|
-
- loader.js:4 eval
|
|
6
|
-
[app.html?.]/[html-webpack-plugin]/lib/loader.js:4:45
|
|
7
|
-
|
|
8
|
-
- loader.js:9 module.exports
|
|
9
|
-
[app.html?.]/[html-webpack-plugin]/lib/loader.js:9:3
|
|
10
|
-
|
|
11
|
-
- index.js:284
|
|
12
|
-
[intems-menu]/[html-webpack-plugin]/index.js:284:18
|
|
13
|
-
|
|
14
|
-
- runMicrotasks
|
|
15
|
-
|
|
16
|
-
- task_queues:96 processTicksAndRejections
|
|
17
|
-
node:internal/process/task_queues:96:5
|
|
18
|
-
|
|
19
|
-
</pre>
|
package/dist/html/styles.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<link href="/css/main.css" rel="stylesheet">
|