@licklist/design 0.58.3 → 0.58.4-dev.0
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/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.d.ts +2 -1
- package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
- package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts +2 -2
- package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.js +1 -1
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.js +1 -1
- package/dist/product-set/control/ProductSetControl.d.ts +1 -1
- package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductSetForm.d.ts +5 -2
- package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
- package/dist/report/ReportRunnerModal/ReportRunnerModal.d.ts.map +1 -1
- package/dist/report/ReportRunnerModal/ReportRunnerModal.js +1 -1
- package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/static/manual-date-picker/ManualDatePicker.js +1 -1
- package/dist/static/manual-date-picker/constants/index.d.ts +4 -1
- package/dist/static/manual-date-picker/constants/index.d.ts.map +1 -1
- package/dist/static/manual-date-picker/constants/index.js +1 -1
- package/dist/static/manual-date-picker/utils/index.d.ts +4 -0
- package/dist/static/manual-date-picker/utils/index.d.ts.map +1 -1
- package/dist/static/manual-date-picker/utils/index.js +1 -1
- package/dist/styles/availability-indicator/AvailabilityIndicator.scss +10 -0
- package/dist/styles/iframe-events/Card.scss +24 -8
- package/dist/styles/iframe-events/PoweredBy.scss +2 -2
- package/dist/styles/iframe-order-process/IframeOrderProcess.scss +0 -2
- package/dist/styles/iframe-page/Page.scss +1 -0
- package/dist/styles/iframe-page/PageBody.scss +32 -11
- package/dist/styles/iframe-page/PageHeader.scss +41 -39
- package/dist/styles/report/ReportRunnerModal.scss +88 -82
- package/dist/styles/sales/BookingResults.scss +1 -1
- package/package.json +3 -3
- package/src/calendar/Calendar.stories.tsx +9 -2
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +0 -1
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +14 -14
- package/src/iframe/event/event-card/IframeEventCard.stories.tsx +1 -0
- package/src/iframe/event/event-card/IframeEventCard.tsx +7 -8
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +30 -10
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +8 -12
- package/src/iframe/order-process/components/utils/useCategoryVerification.ts +5 -3
- package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +3 -1
- package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +6 -1
- package/src/product-set/control/ProductSetControl.tsx +1 -1
- package/src/product-set/form/ProductSetForm.tsx +6 -2
- package/src/report/ReportRunnerModal/ReportRunnerModal.tsx +35 -4
- package/src/sales/booking/results/components/ResultCard.tsx +0 -3
- package/src/static/manual-date-picker/ManualDatePicker.tsx +3 -3
- package/src/static/manual-date-picker/constants/index.ts +6 -2
- package/src/static/manual-date-picker/utils/index.ts +11 -0
- package/src/static/switch/BooleanSwitch.tsx +1 -1
- package/src/styles/availability-indicator/AvailabilityIndicator.scss +10 -0
- package/src/styles/iframe-events/Card.scss +24 -8
- package/src/styles/iframe-events/PoweredBy.scss +2 -2
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +0 -2
- package/src/styles/iframe-page/Page.scss +1 -0
- package/src/styles/iframe-page/PageBody.scss +32 -11
- package/src/styles/iframe-page/PageHeader.scss +41 -39
- package/src/styles/report/ReportRunnerModal.scss +88 -82
- package/src/styles/sales/BookingResults.scss +1 -1
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
GenerateReportBody,
|
|
3
|
+
PERIOD_BY_BOOKING_DATE,
|
|
4
|
+
PERIOD_BY_CREATION_DATE,
|
|
5
|
+
PERIOD_BY_TYPES,
|
|
6
|
+
Report,
|
|
7
|
+
ReportPeriodBy,
|
|
8
|
+
ReportType,
|
|
9
|
+
} from "@licklist/core/dist/DataMapper/Report";
|
|
2
10
|
import { capitalize } from "lodash";
|
|
3
11
|
import React from "react";
|
|
4
12
|
import { Button, Form, Modal } from "react-bootstrap";
|
|
@@ -28,9 +36,11 @@ type ReportRunnerModalProps = {
|
|
|
28
36
|
reports?: Report[] | null;
|
|
29
37
|
};
|
|
30
38
|
|
|
31
|
-
type FormValues =
|
|
32
|
-
|
|
33
|
-
|
|
39
|
+
type FormValues = Pick<GenerateReportBody, "dateFrom" | "dateTo" | "periodBy">;
|
|
40
|
+
|
|
41
|
+
const labelByPeriodType: Record<ReportPeriodBy, string> = {
|
|
42
|
+
[PERIOD_BY_CREATION_DATE]: "Design:reportPeriodByCreationDate",
|
|
43
|
+
[PERIOD_BY_BOOKING_DATE]: "Design:reportPeriodByBookingDate",
|
|
34
44
|
};
|
|
35
45
|
|
|
36
46
|
export const ReportRunnerModal = ({
|
|
@@ -126,6 +136,27 @@ export const ReportRunnerModal = ({
|
|
|
126
136
|
</Button>
|
|
127
137
|
|
|
128
138
|
<form noValidate>
|
|
139
|
+
<div className="period-by">
|
|
140
|
+
{PERIOD_BY_TYPES.map((type) => (
|
|
141
|
+
<div key={type}>
|
|
142
|
+
<Form.Group>
|
|
143
|
+
<Form.Check
|
|
144
|
+
inline
|
|
145
|
+
isInvalid={!!errors.periodBy}
|
|
146
|
+
label={t(labelByPeriodType[type])}
|
|
147
|
+
type="radio"
|
|
148
|
+
id={type}
|
|
149
|
+
value={type}
|
|
150
|
+
{...register("periodBy")}
|
|
151
|
+
/>
|
|
152
|
+
<Form.Control.Feedback type="invalid">
|
|
153
|
+
{errors.periodBy?.message}
|
|
154
|
+
</Form.Control.Feedback>
|
|
155
|
+
</Form.Group>
|
|
156
|
+
</div>
|
|
157
|
+
))}
|
|
158
|
+
</div>
|
|
159
|
+
|
|
129
160
|
<div className="controls">
|
|
130
161
|
<Form.Group controlId="from-input">
|
|
131
162
|
<Form.Label>{t("Design:from")}</Form.Label>
|
|
@@ -12,7 +12,6 @@ import { TIME_FORMAT } from "@licklist/core/dist/Config";
|
|
|
12
12
|
import * as Config from "@licklist/core/dist/Config";
|
|
13
13
|
import { formatDateStringForEvent } from "@licklist/plugins/dist/utils/formatDate";
|
|
14
14
|
import { getOrderSourceTitle } from "@licklist/plugins/dist/utils/sourceTitle";
|
|
15
|
-
|
|
16
15
|
import Icon from "../../../../static/Icon";
|
|
17
16
|
|
|
18
17
|
export type ResultCardProps = {
|
|
@@ -22,8 +21,6 @@ export type ResultCardProps = {
|
|
|
22
21
|
onCardClick?: (id: number) => void;
|
|
23
22
|
};
|
|
24
23
|
|
|
25
|
-
// @TODO integrate when API will be available
|
|
26
|
-
// activity and staff keys
|
|
27
24
|
export const ResultCard = ({
|
|
28
25
|
order,
|
|
29
26
|
className,
|
|
@@ -61,9 +61,9 @@ export const ManualDatePicker = ({
|
|
|
61
61
|
disabled={isDisabled}
|
|
62
62
|
>
|
|
63
63
|
<option value="">{t("Design:monthShort")}</option>
|
|
64
|
-
{MONTHS_ARRAY.map((
|
|
65
|
-
<option key={key} value={
|
|
66
|
-
{key}
|
|
64
|
+
{MONTHS_ARRAY.map((object) => (
|
|
65
|
+
<option key={object.key} value={object.value}>
|
|
66
|
+
{object.key}
|
|
67
67
|
</option>
|
|
68
68
|
))}
|
|
69
69
|
</Form.Control>
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
generateDatesArray,
|
|
3
|
+
generateMonthsOptionsArray,
|
|
4
|
+
generateYearsArray,
|
|
5
|
+
} from "../utils";
|
|
2
6
|
|
|
3
7
|
export const DAYS_ARRAY = generateDatesArray(1, 31, 1);
|
|
4
|
-
export const MONTHS_ARRAY =
|
|
8
|
+
export const MONTHS_ARRAY = generateMonthsOptionsArray();
|
|
5
9
|
export const YEARS_ARRAY = generateYearsArray();
|
|
@@ -4,6 +4,17 @@ export const generateDatesArray = (start: number, end: number, step: number) =>
|
|
|
4
4
|
(_, index) => 1 + index * step
|
|
5
5
|
);
|
|
6
6
|
|
|
7
|
+
export const generateMonthsOptionsArray = () =>
|
|
8
|
+
Array.from({ length: 12 }, (_, index) => {
|
|
9
|
+
const value = index + 1;
|
|
10
|
+
let key = String(value);
|
|
11
|
+
if (value < 10) {
|
|
12
|
+
key = `0${key}`;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
return { key, value };
|
|
16
|
+
});
|
|
17
|
+
|
|
7
18
|
export const generateYearsArray = () => {
|
|
8
19
|
const currentYear = new Date().getFullYear();
|
|
9
20
|
const ageBackYear = currentYear - 100;
|
|
@@ -23,7 +23,7 @@ export function BooleanSwitch({
|
|
|
23
23
|
const { t } = useTranslation("Design");
|
|
24
24
|
|
|
25
25
|
const options: SelectItem[] = [
|
|
26
|
-
{ id: 1, value: firstValueTitle ??
|
|
26
|
+
{ id: 1, value: firstValueTitle ?? t("yes") },
|
|
27
27
|
{ id: 0, value: secondValueTitle ?? t("no") },
|
|
28
28
|
];
|
|
29
29
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import "../snippet-templates/snippetVariables";
|
|
2
|
+
@import "../themes//bookedit/variables";
|
|
2
3
|
|
|
3
4
|
.iframe-event-card {
|
|
4
5
|
position: relative;
|
|
@@ -18,12 +19,27 @@
|
|
|
18
19
|
background-size: cover;
|
|
19
20
|
background-position: center;
|
|
20
21
|
cursor: pointer;
|
|
21
|
-
border: 1px solid transparent;
|
|
22
22
|
border-radius: 0.5rem;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.card-body {
|
|
26
|
-
padding: 0.5rem 0 0.875rem;
|
|
26
|
+
padding: 0.5rem 0 0.875rem 0;
|
|
27
|
+
|
|
28
|
+
@include media-breakpoint-down(sm) {
|
|
29
|
+
padding: 1rem 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__info-icon {
|
|
34
|
+
position: absolute;
|
|
35
|
+
right: 1rem;
|
|
36
|
+
top: 1rem;
|
|
37
|
+
background-color: "#ffffff";
|
|
38
|
+
border-radius: 1.5rem;
|
|
39
|
+
padding: 0 0.5rem;
|
|
40
|
+
font-size: 0.75rem;
|
|
41
|
+
font-weight: $white;
|
|
42
|
+
border: 1px solid $black;
|
|
27
43
|
}
|
|
28
44
|
|
|
29
45
|
&__title {
|
|
@@ -33,7 +49,7 @@
|
|
|
33
49
|
line-height: 1.25rem;
|
|
34
50
|
cursor: pointer;
|
|
35
51
|
margin-bottom: 0.5rem;
|
|
36
|
-
font-size:
|
|
52
|
+
font-size: 0.95rem;
|
|
37
53
|
}
|
|
38
54
|
|
|
39
55
|
&__label {
|
|
@@ -82,7 +98,8 @@
|
|
|
82
98
|
color: $snippet-elements-button-color;
|
|
83
99
|
border: none;
|
|
84
100
|
background-color: $snippet-elements-button-background-color;
|
|
85
|
-
box-shadow: 0 0 0 $input-btn-focus-width
|
|
101
|
+
box-shadow: 0 0 0 $input-btn-focus-width
|
|
102
|
+
$snippet-elements-button-background-color;
|
|
86
103
|
}
|
|
87
104
|
|
|
88
105
|
&:disabled {
|
|
@@ -95,14 +112,14 @@
|
|
|
95
112
|
&:focus,
|
|
96
113
|
&.focus {
|
|
97
114
|
&:not(:disabled) {
|
|
98
|
-
opacity: .7;
|
|
115
|
+
opacity: 0.7;
|
|
99
116
|
}
|
|
100
117
|
}
|
|
101
118
|
|
|
102
119
|
&:active,
|
|
103
120
|
&.active {
|
|
104
121
|
&:not(:disabled) {
|
|
105
|
-
opacity: .8;
|
|
122
|
+
opacity: 0.8;
|
|
106
123
|
}
|
|
107
124
|
}
|
|
108
125
|
}
|
|
@@ -123,7 +140,7 @@
|
|
|
123
140
|
}
|
|
124
141
|
|
|
125
142
|
.card-text {
|
|
126
|
-
font-size: 0.
|
|
143
|
+
font-size: 0.82rem;
|
|
127
144
|
}
|
|
128
145
|
|
|
129
146
|
&.event-info {
|
|
@@ -202,7 +219,6 @@
|
|
|
202
219
|
|
|
203
220
|
@media (max-width: 576px) {
|
|
204
221
|
&.list-view {
|
|
205
|
-
|
|
206
222
|
.card-image {
|
|
207
223
|
margin-right: 0.5rem;
|
|
208
224
|
}
|
|
@@ -12,9 +12,6 @@
|
|
|
12
12
|
.left-block {
|
|
13
13
|
flex: 1;
|
|
14
14
|
align-items: stretch;
|
|
15
|
-
border-radius: 0.5rem;
|
|
16
|
-
border-bottom-left-radius: 0;
|
|
17
|
-
border-bottom-right-radius: 0;
|
|
18
15
|
padding: 1rem;
|
|
19
16
|
background-color: $snippet-page-body-left-block-background-color;
|
|
20
17
|
border: 0;
|
|
@@ -33,7 +30,6 @@
|
|
|
33
30
|
display: flex;
|
|
34
31
|
align-items: flex-start;
|
|
35
32
|
justify-content: space-between;
|
|
36
|
-
|
|
37
33
|
.title {
|
|
38
34
|
color: $snippet-elements-body-color;
|
|
39
35
|
margin: 0;
|
|
@@ -64,7 +60,7 @@
|
|
|
64
60
|
overflow-x: hidden;
|
|
65
61
|
scrollbar-width: thin;
|
|
66
62
|
.iframe-event-card {
|
|
67
|
-
border-bottom:
|
|
63
|
+
border-bottom: 1px solid $separator-color;
|
|
68
64
|
}
|
|
69
65
|
|
|
70
66
|
@include media-breakpoint-down(sm) {
|
|
@@ -81,8 +77,6 @@
|
|
|
81
77
|
}
|
|
82
78
|
|
|
83
79
|
.right-block {
|
|
84
|
-
margin-left: 1rem;
|
|
85
|
-
border-radius: 0.5rem;
|
|
86
80
|
height: calc(100% - 1rem);
|
|
87
81
|
max-width: 17.5rem;
|
|
88
82
|
min-width: 17.5rem;
|
|
@@ -115,7 +109,7 @@
|
|
|
115
109
|
}
|
|
116
110
|
|
|
117
111
|
.collapse {
|
|
118
|
-
max-height: calc(100vh -
|
|
112
|
+
max-height: calc(100vh - 15rem);
|
|
119
113
|
transition: none 0s ease 0s;
|
|
120
114
|
|
|
121
115
|
&.show {
|
|
@@ -125,7 +119,7 @@
|
|
|
125
119
|
}
|
|
126
120
|
|
|
127
121
|
@include media-breakpoint-down(sm) {
|
|
128
|
-
max-height:
|
|
122
|
+
max-height: 100%;
|
|
129
123
|
}
|
|
130
124
|
}
|
|
131
125
|
.collapse-with-people-input {
|
|
@@ -151,8 +145,14 @@
|
|
|
151
145
|
}
|
|
152
146
|
|
|
153
147
|
.iframe-event-card {
|
|
154
|
-
|
|
155
|
-
|
|
148
|
+
border: none;
|
|
149
|
+
|
|
150
|
+
.card-image {
|
|
151
|
+
border-radius: 0;
|
|
152
|
+
}
|
|
153
|
+
.card-body {
|
|
154
|
+
padding-left: 1rem;
|
|
155
|
+
}
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
.price {
|
|
@@ -262,3 +262,24 @@
|
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
|
+
|
|
266
|
+
.event-list-page-body {
|
|
267
|
+
overflow: auto;
|
|
268
|
+
.left-block {
|
|
269
|
+
.navigation {
|
|
270
|
+
font-size: 1.125rem;
|
|
271
|
+
font-weight: 500;
|
|
272
|
+
padding-bottom: 2.625rem;
|
|
273
|
+
display: flex;
|
|
274
|
+
align-items: flex-start;
|
|
275
|
+
justify-content: space-between;
|
|
276
|
+
margin-top: 0.125rem;
|
|
277
|
+
|
|
278
|
+
.title {
|
|
279
|
+
position: absolute;
|
|
280
|
+
color: $snippet-elements-body-color;
|
|
281
|
+
margin: 0;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
@@ -20,55 +20,57 @@ $base-height: 2.5rem;
|
|
|
20
20
|
transition: $color-transition;
|
|
21
21
|
border: 0;
|
|
22
22
|
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
23
25
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
.iframe-page {
|
|
27
|
+
.button-wrapper {
|
|
28
|
+
background-color: $snippet-page-header-steps-close-button-background-color;
|
|
29
|
+
height: $base-height;
|
|
30
|
+
width: $base-height;
|
|
31
|
+
border-radius: $base-height;
|
|
32
|
+
transition: $color-transition;
|
|
33
|
+
|
|
34
|
+
.close-button {
|
|
35
|
+
font-size: 1.25rem;
|
|
27
36
|
width: $base-height;
|
|
28
|
-
|
|
37
|
+
height: $base-height;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
color: $snippet-page-header-steps-close-button-border-color;
|
|
29
42
|
transition: $color-transition;
|
|
30
43
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
width: $base-height;
|
|
34
|
-
height: $base-height;
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: center;
|
|
38
|
-
color: $snippet-page-header-steps-close-button-border-color;
|
|
39
|
-
transition: $color-transition;
|
|
40
|
-
|
|
41
|
-
&:hover {
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
}
|
|
44
|
+
&:hover {
|
|
45
|
+
cursor: pointer;
|
|
44
46
|
}
|
|
47
|
+
}
|
|
45
48
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
+
&.close-button {
|
|
50
|
+
margin-left: 1rem;
|
|
51
|
+
}
|
|
49
52
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
.back-button {
|
|
54
|
+
font-size: 2rem;
|
|
55
|
+
width: $base-height;
|
|
56
|
+
height: $base-height;
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: center;
|
|
60
|
+
font-weight: lighter;
|
|
61
|
+
color: $snippet-page-header-steps-close-button-border-color;
|
|
62
|
+
transition: $color-transition;
|
|
60
63
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
+
&:hover {
|
|
65
|
+
cursor: pointer;
|
|
64
66
|
}
|
|
67
|
+
}
|
|
65
68
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
69
|
+
&.back-button {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
justify-content: center;
|
|
73
|
+
margin-right: 1rem;
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
76
|
}
|
|
@@ -1,95 +1,101 @@
|
|
|
1
1
|
.report-runner-modal {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
max-width: 45rem;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.modal-content {
|
|
2
|
+
.modal-dialog {
|
|
3
|
+
@include media-breakpoint-up(sm) {
|
|
9
4
|
max-width: 45rem;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
font-size: 0.875rem;
|
|
30
|
-
font-weight: 600;
|
|
31
|
-
color: #0e8ce2;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.data-fields {
|
|
36
|
-
display: flex;
|
|
37
|
-
flex-wrap: wrap;
|
|
38
|
-
|
|
39
|
-
span {
|
|
40
|
-
position: relative;
|
|
41
|
-
font-size: 0.875rem;
|
|
42
|
-
font-weight: 500;
|
|
43
|
-
|
|
44
|
-
&:after {
|
|
45
|
-
content: "|";
|
|
46
|
-
margin: 0 0.25rem;
|
|
47
|
-
color: #dcdcdc;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&:last-child:after {
|
|
51
|
-
display: none;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.modal-content {
|
|
9
|
+
max-width: 45rem;
|
|
10
|
+
margin: 0 auto;
|
|
11
|
+
padding: 1.25rem 1.5rem;
|
|
12
|
+
|
|
13
|
+
header {
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
align-items: center;
|
|
17
|
+
margin-bottom: 1rem;
|
|
18
|
+
border-bottom: 2px solid #dcdcdc;
|
|
19
|
+
|
|
20
|
+
h5 {
|
|
21
|
+
margin-bottom: 0;
|
|
22
|
+
font-size: 1.125rem;
|
|
23
|
+
font-weight: 500;
|
|
54
24
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
padding: 0;
|
|
25
|
+
|
|
26
|
+
button {
|
|
27
|
+
padding-top: 0.5rem;
|
|
28
|
+
padding-bottom: 0.5rem;
|
|
58
29
|
font-size: 0.875rem;
|
|
59
30
|
font-weight: 600;
|
|
60
31
|
color: #0e8ce2;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.data-fields {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-wrap: wrap;
|
|
38
|
+
|
|
39
|
+
span {
|
|
40
|
+
position: relative;
|
|
41
|
+
font-size: 0.875rem;
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
|
|
44
|
+
&:after {
|
|
45
|
+
content: "|";
|
|
46
|
+
margin: 0 0.25rem;
|
|
47
|
+
color: #dcdcdc;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:last-child:after {
|
|
51
|
+
display: none;
|
|
65
52
|
}
|
|
66
53
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.edit-button {
|
|
57
|
+
padding: 0;
|
|
58
|
+
font-size: 0.875rem;
|
|
59
|
+
font-weight: 600;
|
|
60
|
+
color: #0e8ce2;
|
|
61
|
+
text-decoration: underline;
|
|
62
|
+
|
|
63
|
+
&:focus {
|
|
64
|
+
box-shadow: none;
|
|
70
65
|
}
|
|
71
|
-
|
|
72
|
-
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
input {
|
|
69
|
+
border-radius: 0.5rem;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
form {
|
|
73
|
+
margin-top: 1.25rem;
|
|
74
|
+
|
|
75
|
+
.period-by {
|
|
76
|
+
display: flex;
|
|
77
|
+
gap: 2rem;
|
|
73
78
|
margin-top: 1.25rem;
|
|
74
|
-
|
|
75
|
-
.controls {
|
|
76
|
-
display: flex;
|
|
77
|
-
gap: 2rem;
|
|
78
|
-
align-items: flex-start;
|
|
79
|
-
flex-wrap: wrap;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.form-group {
|
|
83
|
-
flex: 1;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
button[type="submit"] {
|
|
87
|
-
white-space: nowrap;
|
|
88
|
-
}
|
|
89
79
|
}
|
|
90
|
-
|
|
91
|
-
.
|
|
92
|
-
|
|
80
|
+
|
|
81
|
+
.controls {
|
|
82
|
+
display: flex;
|
|
83
|
+
gap: 2rem;
|
|
84
|
+
align-items: flex-start;
|
|
85
|
+
flex-wrap: wrap;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.form-group {
|
|
89
|
+
flex: 1;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
button[type="submit"] {
|
|
93
|
+
white-space: nowrap;
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
|
-
|
|
96
|
+
|
|
97
|
+
.loader {
|
|
98
|
+
height: 10rem;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|