cortex-react-ui 0.2.10 → 0.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/Camera/Camera.d.ts +1 -0
- package/lib/cjs/Map/Map.d.ts +16 -0
- package/lib/cjs/Map/components/CenterActiveAreaControl.d.ts +5 -0
- package/lib/cjs/Map/components/DrawTools.d.ts +18 -0
- package/lib/cjs/Map/components/LocationContext.d.ts +7 -0
- package/lib/cjs/Map/components/MapFullscreenControl.d.ts +22 -0
- package/lib/cjs/Map/components/Maps.d.ts +22 -0
- package/lib/cjs/Map/config/appConfig.d.ts +4 -0
- package/lib/cjs/Map/config/config.d.ts +6 -0
- package/lib/cjs/Map/hooks/getGeoJSONTest.d.ts +16 -0
- package/lib/cjs/Map/hooks/useLocationContext.d.ts +1 -0
- package/lib/cjs/Map/index.d.ts +1 -0
- package/lib/cjs/Map/models/index.d.ts +2 -0
- package/lib/cjs/Map/models/location.d.ts +6 -0
- package/lib/cjs/Map/models/locationSearch.d.ts +4 -0
- package/lib/cjs/Map/models/point.d.ts +6 -0
- package/lib/cjs/Map/utils/logger.d.ts +17 -0
- package/lib/cjs/Map/utils/toolkit.d.ts +129 -0
- package/lib/cjs/Scanner/ScanConfirmationDialog.d.ts +1 -0
- package/lib/cjs/Scanner/Scanner.d.ts +1 -0
- package/lib/cjs/index.d.ts +1 -0
- package/lib/cjs/index.js +15 -3
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/utils/setRef.d.ts +1 -0
- package/lib/esm/Camera/Camera.d.ts +1 -0
- package/lib/esm/Map/Map.d.ts +16 -0
- package/lib/esm/Map/components/CenterActiveAreaControl.d.ts +5 -0
- package/lib/esm/Map/components/DrawTools.d.ts +18 -0
- package/lib/esm/Map/components/LocationContext.d.ts +7 -0
- package/lib/esm/Map/components/MapFullscreenControl.d.ts +22 -0
- package/lib/esm/Map/components/Maps.d.ts +22 -0
- package/lib/esm/Map/config/appConfig.d.ts +4 -0
- package/lib/esm/Map/config/config.d.ts +6 -0
- package/lib/esm/Map/hooks/getGeoJSONTest.d.ts +16 -0
- package/lib/esm/Map/hooks/useLocationContext.d.ts +1 -0
- package/lib/esm/Map/index.d.ts +1 -0
- package/lib/esm/Map/models/index.d.ts +2 -0
- package/lib/esm/Map/models/location.d.ts +6 -0
- package/lib/esm/Map/models/locationSearch.d.ts +4 -0
- package/lib/esm/Map/models/point.d.ts +6 -0
- package/lib/esm/Map/utils/logger.d.ts +17 -0
- package/lib/esm/Map/utils/toolkit.d.ts +129 -0
- package/lib/esm/Scanner/ScanConfirmationDialog.d.ts +1 -0
- package/lib/esm/Scanner/Scanner.d.ts +1 -0
- package/lib/esm/index.d.ts +1 -0
- package/lib/esm/index.js +15 -3
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/utils/setRef.d.ts +1 -0
- package/lib/images/layers-2x.png +0 -0
- package/lib/images/layers.png +0 -0
- package/lib/images/marker-icon-2x.png +0 -0
- package/lib/images/marker-icon.png +0 -0
- package/lib/images/marker-shadow.png +0 -0
- package/lib/index.d.ts +84 -1
- package/lib/styles/Camera/index.scss +1 -1
- package/lib/styles/Map/index.scss +50 -0
- package/lib/styles/Scanner/index.scss +110 -0
- package/lib/styles/index.scss +2 -0
- package/package.json +20 -4
- package/lib/styles/Scanner/index.css +0 -75
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import React$1, { CSSProperties } from 'react';
|
|
2
3
|
import { IDetectedBarcode, IScannerProps } from '@yudiel/react-qr-scanner';
|
|
3
4
|
import { WebcamProps } from 'react-webcam';
|
|
5
|
+
import { MapContainerProps } from 'react-leaflet';
|
|
6
|
+
import { ControlPosition, LatLngTuple } from 'leaflet';
|
|
4
7
|
|
|
5
8
|
declare const PopperPlacement: {
|
|
6
9
|
readonly Center: "center";
|
|
@@ -163,6 +166,86 @@ interface TooltipProps {
|
|
|
163
166
|
}
|
|
164
167
|
declare const TagInput: React$1.FC<TooltipProps>;
|
|
165
168
|
|
|
169
|
+
declare class Point {
|
|
170
|
+
id: number;
|
|
171
|
+
order: number;
|
|
172
|
+
latitude: number;
|
|
173
|
+
longitude: number;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
declare class Location {
|
|
177
|
+
id: number;
|
|
178
|
+
objId: string;
|
|
179
|
+
points: Point[];
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
type CenterActiveAreaControlProps = {
|
|
183
|
+
autoCenter?: boolean;
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
/** Props interface for MapFullscreenControl component */
|
|
187
|
+
type MapFullscreenControlProps = {
|
|
188
|
+
/** Change the content of the button, can be HTML, default null */
|
|
189
|
+
content?: string | undefined;
|
|
190
|
+
/** Change the position of the button can be topleft, topright, bottomright or bottomleft, default topleft */
|
|
191
|
+
position?: ControlPosition | undefined;
|
|
192
|
+
/** Change the title of the button, default Full Screen */
|
|
193
|
+
title?: string | undefined;
|
|
194
|
+
/** Change the title of the button when fullscreen is on, default Exit Full Screen */
|
|
195
|
+
titleCancel?: string | undefined;
|
|
196
|
+
/** Force separate button to detach from zoom buttons, default false */
|
|
197
|
+
forceSeparateButton?: boolean | undefined;
|
|
198
|
+
/** Force use of pseudo full screen even if full screen API is available, default false */
|
|
199
|
+
forcePseudoFullscreen?: boolean | undefined;
|
|
200
|
+
/** Use pseudo fullscreen */
|
|
201
|
+
pseudoFullscreen?: boolean | undefined;
|
|
202
|
+
/** Dom element to render in full screen, false by default, fallback to map._container */
|
|
203
|
+
fullscreenElement?: false | HTMLElement | undefined;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
type DrawToolsProps = {
|
|
207
|
+
position?: ControlPosition | undefined;
|
|
208
|
+
handleOnCreated?: (v: void) => void;
|
|
209
|
+
handleOnDeleted?: (v: void) => void;
|
|
210
|
+
handleOnEdited?: (v: void) => void;
|
|
211
|
+
draw?: drawType;
|
|
212
|
+
editable?: boolean;
|
|
213
|
+
};
|
|
214
|
+
type drawType = {
|
|
215
|
+
polyline?: boolean;
|
|
216
|
+
polygon?: boolean;
|
|
217
|
+
rectangle?: boolean;
|
|
218
|
+
circle?: boolean;
|
|
219
|
+
marker?: boolean;
|
|
220
|
+
circlemarker?: boolean;
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
type MapsProps = {
|
|
224
|
+
MapContainerProps?: MapContainerProps;
|
|
225
|
+
center?: LatLngTuple;
|
|
226
|
+
fullscreen?: MapFullscreenControlProps | boolean;
|
|
227
|
+
centerActiveArea?: CenterActiveAreaControlProps | boolean;
|
|
228
|
+
drawTools?: DrawToolsProps | boolean;
|
|
229
|
+
minZoom?: number;
|
|
230
|
+
maxZoom?: number;
|
|
231
|
+
zoom?: number;
|
|
232
|
+
data?: Location[];
|
|
233
|
+
toggleSatelliteView?: boolean;
|
|
234
|
+
singlePosition?: boolean;
|
|
235
|
+
onChange?: (locations: Location[]) => void;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
declare const Map: React$1.FC<AppProps>;
|
|
239
|
+
type AppProps = MapsProps & {
|
|
240
|
+
onClose?: (() => void);
|
|
241
|
+
onSave?: ((locations: Location[]) => void);
|
|
242
|
+
onChange?: ((locations: Location[]) => void);
|
|
243
|
+
customButtons?: {
|
|
244
|
+
cancelButton?: HTMLElement;
|
|
245
|
+
saveButton?: HTMLElement;
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
|
|
166
249
|
interface MenuProps {
|
|
167
250
|
containerRef: React$1.RefObject<HTMLElement>;
|
|
168
251
|
className?: string;
|
|
@@ -326,4 +409,4 @@ interface Props {
|
|
|
326
409
|
}
|
|
327
410
|
declare const CrossIcon: React$1.FC<Props>;
|
|
328
411
|
|
|
329
|
-
export { AuthDownloadLink, BarLoader, Button, Camera, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ConfirmDialog, ContextMenu, CrossIcon, Dialog, DialogActions, DialogContent$1 as DialogContent, DialogFooter, DialogHeader, DialogContent as DialogTitle, Divider, DomContainer, ErrorDialog, Menu, MenuGroup, MenuItem, Popper, PopupMenu, Scanner, Selected, Spinner, TagInput, ToggleButton, Tooltip, WarningDialog };
|
|
412
|
+
export { AuthDownloadLink, BarLoader, Button, Camera, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ConfirmDialog, ContextMenu, CrossIcon, Dialog, DialogActions, DialogContent$1 as DialogContent, DialogFooter, DialogHeader, DialogContent as DialogTitle, Divider, DomContainer, ErrorDialog, Map, Menu, MenuGroup, MenuItem, Popper, PopupMenu, Scanner, Selected, Spinner, TagInput, ToggleButton, Tooltip, WarningDialog };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@use "../global.scss";
|
|
2
|
+
|
|
3
|
+
@mixin map($props: null, $options: null) {
|
|
4
|
+
$internal-options: global.$default-options;
|
|
5
|
+
|
|
6
|
+
$internal-props: (
|
|
7
|
+
bgColor: #212121,
|
|
8
|
+
fgColor: #fff,
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
$internal-props: global.safe-map-merge($internal-props, $props);
|
|
12
|
+
$internal-options: global.safe-map-merge($internal-options, $options);
|
|
13
|
+
|
|
14
|
+
.cortex-widget-buttons {
|
|
15
|
+
margin: 20px;
|
|
16
|
+
text-align: right;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.leaflet-container {
|
|
20
|
+
height: 85% !important;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.cortex-widget-viewport {
|
|
24
|
+
position: absolute;
|
|
25
|
+
inset: 100px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.cortex-widget-btn {
|
|
29
|
+
color: #fff;
|
|
30
|
+
font-size: 14px;
|
|
31
|
+
padding: 6px 12px;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
border: 0;
|
|
34
|
+
border-radius: 3px;
|
|
35
|
+
box-shadow: none;
|
|
36
|
+
width: 100px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.cortex-widget-btn-cancel {
|
|
40
|
+
margin: 10px;
|
|
41
|
+
background-color: #337ab7;
|
|
42
|
+
border-color: #2e6da4;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.cortex-widget-btn-save {
|
|
46
|
+
color: #fff;
|
|
47
|
+
background-color: #5cb85c;
|
|
48
|
+
border-color: #4cae4c;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
@use "../global.scss";
|
|
2
|
+
|
|
3
|
+
@mixin scanner($props: null, $options: null) {
|
|
4
|
+
$internal-options: global.$default-options;
|
|
5
|
+
|
|
6
|
+
$internal-props: (
|
|
7
|
+
bgColor: #ffffff,
|
|
8
|
+
fgColor: global.$color-grey-darker,
|
|
9
|
+
closeBtnColor: global.$color-grey,
|
|
10
|
+
closeBtnHoverColor: global.$color-blue,
|
|
11
|
+
closeBtnDisableColor: global.$color-blue-grey-lighter,
|
|
12
|
+
confirm: (
|
|
13
|
+
headerBgColor: global.$color-orange-dark,
|
|
14
|
+
headerFgColor: #ffffff,
|
|
15
|
+
bgColor: #ffffff,
|
|
16
|
+
fgColor: global.$color-grey-darker,
|
|
17
|
+
),
|
|
18
|
+
error: (
|
|
19
|
+
headerBgColor: global.$color-red,
|
|
20
|
+
headerFgColor: #ffffff,
|
|
21
|
+
bgColor: #ffffff,
|
|
22
|
+
fgColor: global.$color-grey-darker,
|
|
23
|
+
),
|
|
24
|
+
warning: (
|
|
25
|
+
headerBgColor: global.$color-grey,
|
|
26
|
+
headerFgColor: #ffffff,
|
|
27
|
+
bgColor: #ffffff,
|
|
28
|
+
fgColor: global.$color-grey-darker,
|
|
29
|
+
),
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
$internal-props: global.safe-map-merge($internal-props, $props);
|
|
33
|
+
$internal-options: global.safe-map-merge($internal-options, $options);
|
|
34
|
+
|
|
35
|
+
.btn {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
padding: 0.5rem 1rem;
|
|
40
|
+
border: 1px solid transparent;
|
|
41
|
+
border-radius: 0.375rem;
|
|
42
|
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
43
|
+
font-size: 0.875rem;
|
|
44
|
+
font-weight: 500;
|
|
45
|
+
line-height: 1.25rem;
|
|
46
|
+
text-align: center;
|
|
47
|
+
text-transform: none;
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
vertical-align: middle;
|
|
50
|
+
user-select: none;
|
|
51
|
+
background-color: #4F46E5;
|
|
52
|
+
color: #fff;
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
outline: none;
|
|
55
|
+
transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.btn-default {
|
|
59
|
+
background-color: #4F46E5;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.btn-default:hover {
|
|
63
|
+
opacity: 0.8;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.select {
|
|
67
|
+
display: block;
|
|
68
|
+
width: 100%;
|
|
69
|
+
padding-left: 0.75rem;
|
|
70
|
+
color: #000;
|
|
71
|
+
padding-right: 2.5rem;
|
|
72
|
+
padding-top: 0.5rem;
|
|
73
|
+
padding-bottom: 0.5rem;
|
|
74
|
+
font-size: 1rem;
|
|
75
|
+
border-radius: 0.375rem;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* DIALOG */
|
|
79
|
+
.dialog-header {
|
|
80
|
+
display: flex;
|
|
81
|
+
justify-content: space-between;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.dialog-header h4 {
|
|
85
|
+
margin: 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.dialog-mask {
|
|
89
|
+
overflow-x: hidden;
|
|
90
|
+
overflow-y: auto;
|
|
91
|
+
display: flex;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
padding-top: 2.5rem;
|
|
94
|
+
padding-bottom: 5rem;
|
|
95
|
+
background-color: #0005;
|
|
96
|
+
position: fixed;
|
|
97
|
+
inset: 0;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.dialog-body {
|
|
101
|
+
display: flex;
|
|
102
|
+
flex-direction: column;
|
|
103
|
+
gap: 1.25rem;
|
|
104
|
+
padding: 1.25rem;
|
|
105
|
+
height: max-content;
|
|
106
|
+
background-color: white;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* DIALOG */
|
|
110
|
+
}
|
package/lib/styles/index.scss
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
@use "Selected";
|
|
15
15
|
@use "BarLoader";
|
|
16
16
|
@use "Camera";
|
|
17
|
+
@use "Map";
|
|
17
18
|
|
|
18
19
|
@include Icons.icons();
|
|
19
20
|
@include Popper.popper();
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
@include Selected.selected();
|
|
30
31
|
@include BarLoader.barLoader();
|
|
31
32
|
@include Camera.camera();
|
|
33
|
+
@include Map.map();
|
|
32
34
|
|
|
33
35
|
// @include popper();
|
|
34
36
|
// @include popper(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cortex-react-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.12",
|
|
4
4
|
"description": "React UI",
|
|
5
5
|
"author": "Anthony",
|
|
6
6
|
"license": "MIT",
|
|
@@ -84,10 +84,13 @@
|
|
|
84
84
|
"@testing-library/react": "^11.1.0",
|
|
85
85
|
"@testing-library/user-event": "^12.1.10",
|
|
86
86
|
"@types/jest": "^26.0.15",
|
|
87
|
+
"@types/leaflet": "^1.7.10",
|
|
88
|
+
"@types/leaflet-draw": "^1.0.11",
|
|
89
|
+
"@types/leaflet.fullscreen": "^1.6.1",
|
|
87
90
|
"@types/node": "^22.10.5",
|
|
88
91
|
"@types/react": "^17.0.0",
|
|
89
92
|
"@types/react-dom": "^17.0.0",
|
|
90
|
-
"@yudiel/react-qr-scanner": "
|
|
93
|
+
"@yudiel/react-qr-scanner": "2.1.0",
|
|
91
94
|
"css-loader": "5.2.6",
|
|
92
95
|
"eslint-config-airbnb": "^18.2.1",
|
|
93
96
|
"eslint-plugin-import": "^2.25.2",
|
|
@@ -100,7 +103,6 @@
|
|
|
100
103
|
"react-dom": "^18.1.0",
|
|
101
104
|
"react-icons": "^5.3.0",
|
|
102
105
|
"react-scripts": "^5.0.1",
|
|
103
|
-
"react-webcam": "^7.2.0",
|
|
104
106
|
"rollup": "^2.60.2",
|
|
105
107
|
"rollup-plugin-copy": "^3.4.0",
|
|
106
108
|
"rollup-plugin-css-only": "^4.5.2",
|
|
@@ -119,6 +121,20 @@
|
|
|
119
121
|
"url-loader": "^4.1.1"
|
|
120
122
|
},
|
|
121
123
|
"dependencies": {
|
|
122
|
-
"@rollup/plugin-replace": "^5.0.2"
|
|
124
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
125
|
+
"leaflet": "^1.8.0",
|
|
126
|
+
"leaflet-active-area": "^1.2.1",
|
|
127
|
+
"leaflet-draw": "^1.0.4",
|
|
128
|
+
"leaflet.fullscreen": "^2.4.0",
|
|
129
|
+
"react-leaflet": "^4.0.0",
|
|
130
|
+
"react-leaflet-draw": "^0.20.4",
|
|
131
|
+
"react-webcam": "^7.2.0",
|
|
132
|
+
"screenfull": "^6.0.2"
|
|
133
|
+
},
|
|
134
|
+
"overrides": {
|
|
135
|
+
"@yudiel/react-qr-scanner": "2.1.0"
|
|
136
|
+
},
|
|
137
|
+
"resolutions": {
|
|
138
|
+
"@yudiel/react-qr-scanner": "2.1.0"
|
|
123
139
|
}
|
|
124
140
|
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
.btn {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
padding: 0.5rem 1rem;
|
|
6
|
-
border: 1px solid transparent;
|
|
7
|
-
border-radius: 0.375rem;
|
|
8
|
-
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
9
|
-
font-size: 0.875rem;
|
|
10
|
-
font-weight: 500;
|
|
11
|
-
line-height: 1.25rem;
|
|
12
|
-
text-align: center;
|
|
13
|
-
text-transform: none;
|
|
14
|
-
white-space: nowrap;
|
|
15
|
-
vertical-align: middle;
|
|
16
|
-
user-select: none;
|
|
17
|
-
background-color: #4F46E5;
|
|
18
|
-
color: #fff;
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
outline: none;
|
|
21
|
-
transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.btn-default {
|
|
25
|
-
background-color: #4F46E5;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.btn-default:hover {
|
|
29
|
-
opacity: 0.8;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.select {
|
|
33
|
-
display: block;
|
|
34
|
-
width: 100%;
|
|
35
|
-
padding-left: 0.75rem;
|
|
36
|
-
color: #000;
|
|
37
|
-
padding-right: 2.5rem;
|
|
38
|
-
padding-top: 0.5rem;
|
|
39
|
-
padding-bottom: 0.5rem;
|
|
40
|
-
font-size: 1rem;
|
|
41
|
-
border-radius: 0.375rem;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/* DIALOG */
|
|
45
|
-
.dialog-header {
|
|
46
|
-
display: flex;
|
|
47
|
-
justify-content: space-between;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.dialog-header h4 {
|
|
51
|
-
margin: 0;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.dialog-mask {
|
|
55
|
-
overflow-x: hidden;
|
|
56
|
-
overflow-y: auto;
|
|
57
|
-
display: flex;
|
|
58
|
-
justify-content: center;
|
|
59
|
-
padding-top: 2.5rem;
|
|
60
|
-
padding-bottom: 5rem;
|
|
61
|
-
background-color: #0005;
|
|
62
|
-
position: fixed;
|
|
63
|
-
inset: 0;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.dialog-body {
|
|
67
|
-
display: flex;
|
|
68
|
-
flex-direction: column;
|
|
69
|
-
gap: 1.25rem;
|
|
70
|
-
padding: 1.25rem;
|
|
71
|
-
height: max-content;
|
|
72
|
-
background-color: white;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/* DIALOG */
|