cortex-react-ui 0.1.181 → 0.2.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/lib/cjs/{types/BarLoader → BarLoader}/BarLoader.d.ts +0 -1
- package/lib/cjs/{types/Camera → Camera}/Camera.d.ts +7 -3
- package/lib/{esm/types → cjs}/DatePicker/DatePicker.d.ts +1 -1
- package/lib/cjs/{types/DomContainer → DomContainer}/DomContainer.d.ts +1 -1
- package/lib/cjs/Map/App.d.ts +15 -0
- package/lib/cjs/Map/components/CenterActiveAreaControl.d.ts +5 -0
- package/lib/cjs/Map/components/DrawTools.d.ts +16 -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 +19 -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/httpService.d.ts +16 -0
- package/lib/cjs/Map/utils/logger.d.ts +17 -0
- package/lib/cjs/Map/utils/toolkit.d.ts +129 -0
- package/lib/cjs/{types/Menu → Menu}/index.d.ts +1 -1
- package/lib/cjs/{types/Popper → Popper}/Popper.d.ts +1 -1
- package/lib/cjs/Scanner/Dialog.d.ts +8 -0
- package/lib/cjs/Scanner/DialogBody.d.ts +3 -0
- package/lib/cjs/Scanner/DialogMask.d.ts +3 -0
- package/lib/{esm/types → cjs}/Scanner/ScanConfirmationDialog.d.ts +4 -3
- package/lib/cjs/{types/Scanner → Scanner}/Scanner.d.ts +4 -3
- package/lib/{esm/types → cjs}/Transition/CSSTransition.d.ts +1 -1
- package/lib/cjs/{types/Transition → Transition}/Fade.d.ts +1 -1
- package/lib/cjs/{types/index.d.ts → index.d.ts} +8 -1
- package/lib/cjs/index.js +26 -14
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/{types/utils → utils}/setRef.d.ts +1 -0
- package/lib/esm/{types/BarLoader → BarLoader}/BarLoader.d.ts +0 -1
- package/lib/esm/{types/Camera → Camera}/Camera.d.ts +7 -3
- package/lib/{cjs/types → esm}/DatePicker/DatePicker.d.ts +1 -1
- package/lib/esm/{types/DomContainer → DomContainer}/DomContainer.d.ts +1 -1
- package/lib/esm/Map/App.d.ts +15 -0
- package/lib/esm/Map/components/CenterActiveAreaControl.d.ts +5 -0
- package/lib/esm/Map/components/DrawTools.d.ts +16 -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 +19 -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/httpService.d.ts +16 -0
- package/lib/esm/Map/utils/logger.d.ts +17 -0
- package/lib/esm/Map/utils/toolkit.d.ts +129 -0
- package/lib/esm/{types/Menu → Menu}/index.d.ts +1 -1
- package/lib/esm/{types/Popper → Popper}/Popper.d.ts +1 -1
- package/lib/esm/Scanner/Dialog.d.ts +8 -0
- package/lib/esm/Scanner/DialogBody.d.ts +3 -0
- package/lib/esm/Scanner/DialogMask.d.ts +3 -0
- package/lib/{cjs/types → esm}/Scanner/ScanConfirmationDialog.d.ts +4 -3
- package/lib/esm/{types/Scanner → Scanner}/Scanner.d.ts +4 -3
- package/lib/{cjs/types → esm}/Transition/CSSTransition.d.ts +1 -1
- package/lib/esm/{types/Transition → Transition}/Fade.d.ts +1 -1
- package/lib/esm/{types/index.d.ts → index.d.ts} +8 -1
- package/lib/esm/index.js +15 -17
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/{types/utils → 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 +108 -29
- package/lib/styles/BarLoader/index.scss +4 -4
- package/lib/styles/Button/index.scss +33 -33
- package/lib/styles/Camera/index.css +192 -0
- package/lib/styles/Camera/index.scss +31 -13
- package/lib/styles/Dialog/index.scss +42 -42
- package/lib/styles/Icons/index.scss +1 -1
- package/lib/styles/Input/index.scss +4 -4
- package/lib/styles/Map/index.scss +50 -0
- package/lib/styles/Menu/index.scss +23 -23
- package/lib/styles/Popper/index.scss +4 -4
- package/lib/styles/Scanner/index.css +75 -0
- package/lib/styles/Selected/index.scss +4 -4
- package/lib/styles/Spinner/index.scss +10 -10
- package/lib/styles/TagInput/index.scss +31 -31
- package/lib/styles/TextField/index.scss +4 -4
- package/lib/styles/ToggleButton/index.scss +20 -20
- package/lib/styles/Tooltip/index.scss +8 -8
- package/lib/styles/global.scss +20 -16
- package/lib/styles/index.scss +32 -30
- package/lib/typings/typings/css.d.ts +15 -0
- package/package.json +41 -13
- package/lib/cjs/types/Scanner/Dialog.d.ts +0 -13
- package/lib/cjs/types/Scanner/DialogBody.d.ts +0 -3
- package/lib/cjs/types/Scanner/DialogMask.d.ts +0 -3
- package/lib/esm/types/Scanner/Dialog.d.ts +0 -13
- package/lib/esm/types/Scanner/DialogBody.d.ts +0 -3
- package/lib/esm/types/Scanner/DialogMask.d.ts +0 -3
- package/lib/styles/Scanner/index.scss +0 -110
- /package/lib/cjs/{types/BarLoader → BarLoader}/index.d.ts +0 -0
- /package/lib/cjs/{types/Button → Button}/Button.d.ts +0 -0
- /package/lib/cjs/{types/Button → Button}/index.d.ts +0 -0
- /package/lib/cjs/{types/Camera → Camera}/FileStorageDb.d.ts +0 -0
- /package/lib/cjs/{types/Camera → Camera}/index.d.ts +0 -0
- /package/lib/cjs/{types/Camera → Camera}/useTimer.d.ts +0 -0
- /package/lib/cjs/{types/DatePicker → DatePicker}/index.d.ts +0 -0
- /package/lib/cjs/{types/Dialog → Dialog}/ConfirmDialog.d.ts +0 -0
- /package/lib/cjs/{types/Dialog → Dialog}/Dialog.d.ts +0 -0
- /package/lib/cjs/{types/Dialog → Dialog}/DialogActions.d.ts +0 -0
- /package/lib/cjs/{types/Dialog → Dialog}/DialogContent.d.ts +0 -0
- /package/lib/cjs/{types/Dialog → Dialog}/DialogFooter.d.ts +0 -0
- /package/lib/cjs/{types/Dialog → Dialog}/DialogHeader.d.ts +0 -0
- /package/lib/cjs/{types/Dialog → Dialog}/DialogTitle.d.ts +0 -0
- /package/lib/cjs/{types/Dialog → Dialog}/ErrorDialog.d.ts +0 -0
- /package/lib/cjs/{types/Dialog → Dialog}/WarningDialog.d.ts +0 -0
- /package/lib/cjs/{types/Dialog → Dialog}/index.d.ts +0 -0
- /package/lib/cjs/{types/DomContainer → DomContainer}/index.d.ts +0 -0
- /package/lib/cjs/{types/Icons → Icons}/ChevronDownIcon.d.ts +0 -0
- /package/lib/cjs/{types/Icons → Icons}/ChevronLeftIcon.d.ts +0 -0
- /package/lib/cjs/{types/Icons → Icons}/ChevronRightIcon.d.ts +0 -0
- /package/lib/cjs/{types/Icons → Icons}/CrossIcon.d.ts +0 -0
- /package/lib/cjs/{types/Icons → Icons}/index.d.ts +0 -0
- /package/lib/cjs/{types/Input → Input}/Input.d.ts +0 -0
- /package/lib/cjs/{types/Input → Input}/index.d.ts +0 -0
- /package/lib/cjs/{types/Menu → Menu}/AuthDownloadLink.d.ts +0 -0
- /package/lib/cjs/{types/Menu → Menu}/ContextMenu.d.ts +0 -0
- /package/lib/cjs/{types/Menu → Menu}/Divider.d.ts +0 -0
- /package/lib/cjs/{types/Menu → Menu}/Menu.d.ts +0 -0
- /package/lib/cjs/{types/Menu → Menu}/MenuGroup.d.ts +0 -0
- /package/lib/cjs/{types/Menu → Menu}/MenuItem.d.ts +0 -0
- /package/lib/cjs/{types/Menu → Menu}/PopupMenu.d.ts +0 -0
- /package/lib/cjs/{types/Popper → Popper}/index.d.ts +0 -0
- /package/lib/cjs/{types/Scanner → Scanner}/index.d.ts +0 -0
- /package/lib/cjs/{types/Select → Select}/Select.d.ts +0 -0
- /package/lib/cjs/{types/Select → Select}/index.d.ts +0 -0
- /package/lib/cjs/{types/Selected → Selected}/Selected.d.ts +0 -0
- /package/lib/cjs/{types/Selected → Selected}/index.d.ts +0 -0
- /package/lib/cjs/{types/Spinner → Spinner}/Spinner.d.ts +0 -0
- /package/lib/cjs/{types/Spinner → Spinner}/index.d.ts +0 -0
- /package/lib/cjs/{types/TagInput → TagInput}/TagInput.d.ts +0 -0
- /package/lib/cjs/{types/TagInput → TagInput}/TagItem.d.ts +0 -0
- /package/lib/cjs/{types/TagInput → TagInput}/TagSearchInput.d.ts +0 -0
- /package/lib/cjs/{types/TagInput → TagInput}/TagSuggestion.d.ts +0 -0
- /package/lib/cjs/{types/TagInput → TagInput}/TagSuggestionGroup.d.ts +0 -0
- /package/lib/cjs/{types/TagInput → TagInput}/TagSuggestionItem.d.ts +0 -0
- /package/lib/cjs/{types/TagInput → TagInput}/index.d.ts +0 -0
- /package/lib/cjs/{types/TagInput → TagInput}/types.d.ts +0 -0
- /package/lib/cjs/{types/TextField → TextField}/TextField.d.ts +0 -0
- /package/lib/cjs/{types/TextField → TextField}/TextFieldInput.d.ts +0 -0
- /package/lib/cjs/{types/TextField → TextField}/index.d.ts +0 -0
- /package/lib/cjs/{types/ToggleButton → ToggleButton}/ToggleButton.d.ts +0 -0
- /package/lib/cjs/{types/ToggleButton → ToggleButton}/index.d.ts +0 -0
- /package/lib/cjs/{types/Tooltip → Tooltip}/Tooltip.d.ts +0 -0
- /package/lib/cjs/{types/Tooltip → Tooltip}/index.d.ts +0 -0
- /package/lib/cjs/{types/utils → utils}/classNames.d.ts +0 -0
- /package/lib/cjs/{types/utils → utils}/useClickOutside.d.ts +0 -0
- /package/lib/cjs/{types/utils → utils}/useElement.d.ts +0 -0
- /package/lib/cjs/{types/utils → utils}/useForkRef.d.ts +0 -0
- /package/lib/esm/{types/BarLoader → BarLoader}/index.d.ts +0 -0
- /package/lib/esm/{types/Button → Button}/Button.d.ts +0 -0
- /package/lib/esm/{types/Button → Button}/index.d.ts +0 -0
- /package/lib/esm/{types/Camera → Camera}/FileStorageDb.d.ts +0 -0
- /package/lib/esm/{types/Camera → Camera}/index.d.ts +0 -0
- /package/lib/esm/{types/Camera → Camera}/useTimer.d.ts +0 -0
- /package/lib/esm/{types/DatePicker → DatePicker}/index.d.ts +0 -0
- /package/lib/esm/{types/Dialog → Dialog}/ConfirmDialog.d.ts +0 -0
- /package/lib/esm/{types/Dialog → Dialog}/Dialog.d.ts +0 -0
- /package/lib/esm/{types/Dialog → Dialog}/DialogActions.d.ts +0 -0
- /package/lib/esm/{types/Dialog → Dialog}/DialogContent.d.ts +0 -0
- /package/lib/esm/{types/Dialog → Dialog}/DialogFooter.d.ts +0 -0
- /package/lib/esm/{types/Dialog → Dialog}/DialogHeader.d.ts +0 -0
- /package/lib/esm/{types/Dialog → Dialog}/DialogTitle.d.ts +0 -0
- /package/lib/esm/{types/Dialog → Dialog}/ErrorDialog.d.ts +0 -0
- /package/lib/esm/{types/Dialog → Dialog}/WarningDialog.d.ts +0 -0
- /package/lib/esm/{types/Dialog → Dialog}/index.d.ts +0 -0
- /package/lib/esm/{types/DomContainer → DomContainer}/index.d.ts +0 -0
- /package/lib/esm/{types/Icons → Icons}/ChevronDownIcon.d.ts +0 -0
- /package/lib/esm/{types/Icons → Icons}/ChevronLeftIcon.d.ts +0 -0
- /package/lib/esm/{types/Icons → Icons}/ChevronRightIcon.d.ts +0 -0
- /package/lib/esm/{types/Icons → Icons}/CrossIcon.d.ts +0 -0
- /package/lib/esm/{types/Icons → Icons}/index.d.ts +0 -0
- /package/lib/esm/{types/Input → Input}/Input.d.ts +0 -0
- /package/lib/esm/{types/Input → Input}/index.d.ts +0 -0
- /package/lib/esm/{types/Menu → Menu}/AuthDownloadLink.d.ts +0 -0
- /package/lib/esm/{types/Menu → Menu}/ContextMenu.d.ts +0 -0
- /package/lib/esm/{types/Menu → Menu}/Divider.d.ts +0 -0
- /package/lib/esm/{types/Menu → Menu}/Menu.d.ts +0 -0
- /package/lib/esm/{types/Menu → Menu}/MenuGroup.d.ts +0 -0
- /package/lib/esm/{types/Menu → Menu}/MenuItem.d.ts +0 -0
- /package/lib/esm/{types/Menu → Menu}/PopupMenu.d.ts +0 -0
- /package/lib/esm/{types/Popper → Popper}/index.d.ts +0 -0
- /package/lib/esm/{types/Scanner → Scanner}/index.d.ts +0 -0
- /package/lib/esm/{types/Select → Select}/Select.d.ts +0 -0
- /package/lib/esm/{types/Select → Select}/index.d.ts +0 -0
- /package/lib/esm/{types/Selected → Selected}/Selected.d.ts +0 -0
- /package/lib/esm/{types/Selected → Selected}/index.d.ts +0 -0
- /package/lib/esm/{types/Spinner → Spinner}/Spinner.d.ts +0 -0
- /package/lib/esm/{types/Spinner → Spinner}/index.d.ts +0 -0
- /package/lib/esm/{types/TagInput → TagInput}/TagInput.d.ts +0 -0
- /package/lib/esm/{types/TagInput → TagInput}/TagItem.d.ts +0 -0
- /package/lib/esm/{types/TagInput → TagInput}/TagSearchInput.d.ts +0 -0
- /package/lib/esm/{types/TagInput → TagInput}/TagSuggestion.d.ts +0 -0
- /package/lib/esm/{types/TagInput → TagInput}/TagSuggestionGroup.d.ts +0 -0
- /package/lib/esm/{types/TagInput → TagInput}/TagSuggestionItem.d.ts +0 -0
- /package/lib/esm/{types/TagInput → TagInput}/index.d.ts +0 -0
- /package/lib/esm/{types/TagInput → TagInput}/types.d.ts +0 -0
- /package/lib/esm/{types/TextField → TextField}/TextField.d.ts +0 -0
- /package/lib/esm/{types/TextField → TextField}/TextFieldInput.d.ts +0 -0
- /package/lib/esm/{types/TextField → TextField}/index.d.ts +0 -0
- /package/lib/esm/{types/ToggleButton → ToggleButton}/ToggleButton.d.ts +0 -0
- /package/lib/esm/{types/ToggleButton → ToggleButton}/index.d.ts +0 -0
- /package/lib/esm/{types/Tooltip → Tooltip}/Tooltip.d.ts +0 -0
- /package/lib/esm/{types/Tooltip → Tooltip}/index.d.ts +0 -0
- /package/lib/esm/{types/utils → utils}/classNames.d.ts +0 -0
- /package/lib/esm/{types/utils → utils}/useClickOutside.d.ts +0 -0
- /package/lib/esm/{types/utils → utils}/useElement.d.ts +0 -0
- /package/lib/esm/{types/utils → utils}/useForkRef.d.ts +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../global.scss";
|
|
2
3
|
|
|
3
4
|
@mixin camera($props: null, $options: null) {
|
|
4
5
|
$internal-props: (
|
|
5
6
|
bgColor: #ffffff,
|
|
6
|
-
fgColor:
|
|
7
|
+
fgColor: global.$color-grey-darker,
|
|
7
8
|
captureButtonBg: #2196f3,
|
|
8
9
|
captureButtonHover: #1976d2,
|
|
9
10
|
recordButtonBg: #f44336,
|
|
@@ -15,7 +16,7 @@
|
|
|
15
16
|
offlineModeColor: #d32f2f
|
|
16
17
|
);
|
|
17
18
|
|
|
18
|
-
$internal-props: safe-map-merge($internal-props, $props);
|
|
19
|
+
$internal-props: global.safe-map-merge($internal-props, $props);
|
|
19
20
|
|
|
20
21
|
.camera-container {
|
|
21
22
|
width: 100%;
|
|
@@ -23,6 +24,23 @@
|
|
|
23
24
|
background-color: #000;
|
|
24
25
|
}
|
|
25
26
|
|
|
27
|
+
.camera-switch {
|
|
28
|
+
z-index: 9999;
|
|
29
|
+
position: absolute;
|
|
30
|
+
bottom: 2rem;
|
|
31
|
+
right: 90px;
|
|
32
|
+
padding: 0.5rem;
|
|
33
|
+
border-radius: 6px;
|
|
34
|
+
color: #ffffff;
|
|
35
|
+
border: none;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
align-items: center;
|
|
40
|
+
background-color: map.get($internal-props, captureButtonBg);
|
|
41
|
+
transition: background-color 0.3s ease;
|
|
42
|
+
}
|
|
43
|
+
|
|
26
44
|
.camera-switch-btn {
|
|
27
45
|
all: initial;
|
|
28
46
|
display: flex;
|
|
@@ -33,7 +51,7 @@
|
|
|
33
51
|
width: 8px;
|
|
34
52
|
height: 8px;
|
|
35
53
|
border-radius: 50%;
|
|
36
|
-
background-color: map
|
|
54
|
+
background-color: map.get($internal-props, recordButtonBg);
|
|
37
55
|
animation: clignote 1s infinite;
|
|
38
56
|
}
|
|
39
57
|
|
|
@@ -83,7 +101,7 @@
|
|
|
83
101
|
justify-content: center;
|
|
84
102
|
align-items: center;
|
|
85
103
|
gap: 7px;
|
|
86
|
-
background-color: map
|
|
104
|
+
background-color: map.get($internal-props, captureButtonBg);
|
|
87
105
|
transition: background-color 0.3s ease;
|
|
88
106
|
}
|
|
89
107
|
|
|
@@ -122,7 +140,7 @@
|
|
|
122
140
|
border-radius: 50%;
|
|
123
141
|
border: 1px solid;
|
|
124
142
|
padding: 20px 20px;
|
|
125
|
-
background-color: map
|
|
143
|
+
background-color: map.get($internal-props, bgColor);
|
|
126
144
|
cursor: pointer;
|
|
127
145
|
}
|
|
128
146
|
|
|
@@ -145,7 +163,7 @@
|
|
|
145
163
|
width: 50px;
|
|
146
164
|
height: 50px;
|
|
147
165
|
border: 1px solid black;
|
|
148
|
-
background-color: map
|
|
166
|
+
background-color: map.get($internal-props, bgColor);
|
|
149
167
|
}
|
|
150
168
|
|
|
151
169
|
&--record {
|
|
@@ -154,22 +172,22 @@
|
|
|
154
172
|
width: 50px;
|
|
155
173
|
height: 50px;
|
|
156
174
|
border: 1px solid black;
|
|
157
|
-
background-color: map
|
|
175
|
+
background-color: map.get($internal-props, bgColor);
|
|
158
176
|
}
|
|
159
177
|
|
|
160
178
|
&--download {
|
|
161
|
-
background-color: map
|
|
179
|
+
background-color: map.get($internal-props, downloadButtonBg);
|
|
162
180
|
margin-left: auto;
|
|
163
181
|
&:hover {
|
|
164
|
-
background-color: map
|
|
182
|
+
background-color: map.get($internal-props, downloadButtonHover);
|
|
165
183
|
}
|
|
166
184
|
}
|
|
167
185
|
|
|
168
186
|
&--reset {
|
|
169
|
-
background-color: map
|
|
187
|
+
background-color: map.get($internal-props, resetButtonBg);
|
|
170
188
|
margin-right: auto;
|
|
171
189
|
&:hover {
|
|
172
|
-
background-color: map
|
|
190
|
+
background-color: map.get($internal-props, resetButtonHover);
|
|
173
191
|
}
|
|
174
192
|
}
|
|
175
193
|
}
|
|
@@ -177,7 +195,7 @@
|
|
|
177
195
|
.camera-offline-mode {
|
|
178
196
|
font-size: 0.875rem;
|
|
179
197
|
font-family: sans-serif;
|
|
180
|
-
color: map
|
|
198
|
+
color: map.get($internal-props, offlineModeColor);
|
|
181
199
|
}
|
|
182
200
|
|
|
183
201
|
.camera-screen-animation {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../global.scss";
|
|
2
2
|
|
|
3
3
|
@mixin dialog($props: null, $options: null) {
|
|
4
|
-
$internal-options:
|
|
4
|
+
$internal-options: global.$default-options;
|
|
5
5
|
|
|
6
6
|
$internal-props: (
|
|
7
7
|
bgColor: #ffffff,
|
|
8
|
-
fgColor:
|
|
9
|
-
closeBtnColor:
|
|
10
|
-
closeBtnHoverColor:
|
|
11
|
-
closeBtnDisableColor:
|
|
8
|
+
fgColor: global.$color-grey-darker,
|
|
9
|
+
closeBtnColor: global.$color-grey,
|
|
10
|
+
closeBtnHoverColor: global.$color-blue,
|
|
11
|
+
closeBtnDisableColor: global.$color-blue-grey-lighter,
|
|
12
12
|
confirm: (
|
|
13
|
-
headerBgColor:
|
|
13
|
+
headerBgColor: global.$color-orange-dark,
|
|
14
14
|
headerFgColor: #ffffff,
|
|
15
15
|
bgColor: #ffffff,
|
|
16
|
-
fgColor:
|
|
16
|
+
fgColor: global.$color-grey-darker,
|
|
17
17
|
),
|
|
18
18
|
error: (
|
|
19
|
-
headerBgColor:
|
|
19
|
+
headerBgColor: global.$color-red,
|
|
20
20
|
headerFgColor: #ffffff,
|
|
21
21
|
bgColor: #ffffff,
|
|
22
|
-
fgColor:
|
|
22
|
+
fgColor: global.$color-grey-darker,
|
|
23
23
|
),
|
|
24
24
|
warning: (
|
|
25
|
-
headerBgColor:
|
|
25
|
+
headerBgColor: global.$color-grey,
|
|
26
26
|
headerFgColor: #ffffff,
|
|
27
27
|
bgColor: #ffffff,
|
|
28
|
-
fgColor:
|
|
28
|
+
fgColor: global.$color-grey-darker,
|
|
29
29
|
),
|
|
30
30
|
);
|
|
31
31
|
|
|
32
|
-
$internal-props: safe-map-merge($internal-props, $props);
|
|
33
|
-
$internal-options: safe-map-merge($internal-options, $options);
|
|
32
|
+
$internal-props: global.safe-map-merge($internal-props, $props);
|
|
33
|
+
$internal-options: global.safe-map-merge($internal-options, $options);
|
|
34
34
|
|
|
35
35
|
.ui-dialog {
|
|
36
36
|
position: fixed;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
justify-content: center;
|
|
44
44
|
align-items: center;
|
|
45
45
|
opacity: 1;
|
|
46
|
-
padding:
|
|
46
|
+
padding: global.$spacer;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.ui-dialog-overlay {
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
max-height: 100%;
|
|
66
66
|
position: relative;
|
|
67
67
|
flex-direction: column;
|
|
68
|
-
background: get-map-deep($internal-props, "bgColor");
|
|
69
|
-
color: get-map-deep($internal-props, "fgColor");
|
|
68
|
+
background: global.get-map-deep($internal-props, "bgColor");
|
|
69
|
+
color: global.get-map-deep($internal-props, "fgColor");
|
|
70
70
|
border-radius: 4px;
|
|
71
71
|
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14),
|
|
72
72
|
0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
|
@@ -121,21 +121,21 @@
|
|
|
121
121
|
background: none;
|
|
122
122
|
appearance: none;
|
|
123
123
|
border: 0;
|
|
124
|
-
padding:
|
|
124
|
+
padding: global.$spacer-xs;
|
|
125
125
|
margin: 0;
|
|
126
126
|
display: inline-flex;
|
|
127
127
|
margin-left: auto;
|
|
128
128
|
cursor: pointer;
|
|
129
|
-
color: get-map-deep($internal-props, "closeBtnColor");
|
|
129
|
+
color: global.get-map-deep($internal-props, "closeBtnColor");
|
|
130
130
|
transition: color 250ms;
|
|
131
131
|
|
|
132
132
|
&:not(.ui-dialog-close-disable):hover {
|
|
133
|
-
color: get-map-deep($internal-props, "closeBtnHoverColor");
|
|
133
|
+
color: global.get-map-deep($internal-props, "closeBtnHoverColor");
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.ui-dialog-close-disable {
|
|
138
|
-
color: get-map-deep($internal-props, "closeBtnDisableColor");
|
|
138
|
+
color: global.get-map-deep($internal-props, "closeBtnDisableColor");
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.ui-dialog-box {
|
|
@@ -199,67 +199,67 @@
|
|
|
199
199
|
|
|
200
200
|
.ui-dialog-confirm {
|
|
201
201
|
.ui-dialog-header {
|
|
202
|
-
background-color: get-map-deep($internal-props, "confirm.headerBgColor");
|
|
203
|
-
color: get-map-deep($internal-props, "confirm.headerFgColor");
|
|
202
|
+
background-color: global.get-map-deep($internal-props, "confirm.headerBgColor");
|
|
203
|
+
color: global.get-map-deep($internal-props, "confirm.headerFgColor");
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
.ui-dialog-icon {
|
|
207
|
-
fill: get-map-deep($internal-props, "confirm.headerFgColor");
|
|
207
|
+
fill: global.get-map-deep($internal-props, "confirm.headerFgColor");
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
.ui-dialog-content {
|
|
211
211
|
text-align: center;
|
|
212
|
-
background: get-map-deep($internal-props, "confirm.bgColor");
|
|
213
|
-
color: get-map-deep($internal-props, "confirm.fgColor");
|
|
212
|
+
background: global.get-map-deep($internal-props, "confirm.bgColor");
|
|
213
|
+
color: global.get-map-deep($internal-props, "confirm.fgColor");
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
.ui-dialog-action-ok {
|
|
217
|
-
background-color: get-map-deep($internal-props, "confirm.headerBgColor");
|
|
218
|
-
color: get-map-deep($internal-props, "confirm.headerFgColor");
|
|
217
|
+
background-color: global.get-map-deep($internal-props, "confirm.headerBgColor");
|
|
218
|
+
color: global.get-map-deep($internal-props, "confirm.headerFgColor");
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
.ui-dialog-error {
|
|
223
223
|
.ui-dialog-header {
|
|
224
|
-
background-color: get-map-deep($internal-props, "error.headerBgColor");
|
|
225
|
-
color: get-map-deep($internal-props, "error.headerFgColor");
|
|
224
|
+
background-color: global.get-map-deep($internal-props, "error.headerBgColor");
|
|
225
|
+
color: global.get-map-deep($internal-props, "error.headerFgColor");
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
.ui-dialog-icon {
|
|
229
|
-
fill: get-map-deep($internal-props, "error.headerFgColor");
|
|
229
|
+
fill: global.get-map-deep($internal-props, "error.headerFgColor");
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
.ui-dialog-content {
|
|
233
233
|
text-align: center;
|
|
234
|
-
background: get-map-deep($internal-props, "error.bgColor");
|
|
235
|
-
color: get-map-deep($internal-props, "error.fgColor");
|
|
234
|
+
background: global.get-map-deep($internal-props, "error.bgColor");
|
|
235
|
+
color: global.get-map-deep($internal-props, "error.fgColor");
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
.ui-dialog-action-ok {
|
|
239
|
-
background-color: get-map-deep($internal-props, "error.headerBgColor");
|
|
240
|
-
color: get-map-deep($internal-props, "error.headerFgColor");
|
|
239
|
+
background-color: global.get-map-deep($internal-props, "error.headerBgColor");
|
|
240
|
+
color: global.get-map-deep($internal-props, "error.headerFgColor");
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
.ui-dialog-warning {
|
|
245
245
|
.ui-dialog-header {
|
|
246
|
-
background-color: get-map-deep($internal-props, "warning.headerBgColor");
|
|
247
|
-
color: get-map-deep($internal-props, "warning.headerFgColor");
|
|
246
|
+
background-color: global.get-map-deep($internal-props, "warning.headerBgColor");
|
|
247
|
+
color: global.get-map-deep($internal-props, "warning.headerFgColor");
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
.ui-dialog-icon {
|
|
251
|
-
fill: get-map-deep($internal-props, "warning.headerFgColor");
|
|
251
|
+
fill: global.get-map-deep($internal-props, "warning.headerFgColor");
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
.ui-dialog-content {
|
|
255
255
|
text-align: center;
|
|
256
|
-
background: get-map-deep($internal-props, "warning.bgColor");
|
|
257
|
-
color: get-map-deep($internal-props, "warning.fgColor");
|
|
256
|
+
background: global.get-map-deep($internal-props, "warning.bgColor");
|
|
257
|
+
color: global.get-map-deep($internal-props, "warning.fgColor");
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
.ui-dialog-action-ok {
|
|
261
|
-
background-color: get-map-deep($internal-props, "warning.headerBgColor");
|
|
262
|
-
color: get-map-deep($internal-props, "warning.headerFgColor");
|
|
261
|
+
background-color: global.get-map-deep($internal-props, "warning.headerBgColor");
|
|
262
|
+
color: global.get-map-deep($internal-props, "warning.headerFgColor");
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../global.scss";
|
|
2
2
|
|
|
3
3
|
@mixin input($props: null, $options: null) {
|
|
4
|
-
$internal-options:
|
|
4
|
+
$internal-options: global.$default-options;
|
|
5
5
|
|
|
6
6
|
$internal-props: (
|
|
7
7
|
color: blue,
|
|
8
8
|
);
|
|
9
9
|
|
|
10
|
-
$internal-props: safe-map-merge($internal-props, $props);
|
|
11
|
-
$internal-options: safe-map-merge($internal-options, $options);
|
|
10
|
+
$internal-props: global.safe-map-merge($internal-props, $props);
|
|
11
|
+
$internal-options: global.safe-map-merge($internal-options, $options);
|
|
12
12
|
|
|
13
13
|
.ui-input-container {
|
|
14
14
|
display: flex;
|
|
@@ -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
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../global.scss";
|
|
2
2
|
|
|
3
3
|
@mixin menu($props: null, $options: null) {
|
|
4
|
-
$internal-options:
|
|
4
|
+
$internal-options: global.$default-options;
|
|
5
5
|
|
|
6
6
|
$internal-props: (
|
|
7
7
|
background-color: #fff,
|
|
8
8
|
group: (
|
|
9
9
|
color: #fff,
|
|
10
|
-
background-color:
|
|
10
|
+
background-color: global.$color-grey-dark,
|
|
11
11
|
),
|
|
12
12
|
item: (
|
|
13
13
|
color: #000,
|
|
14
|
-
colorDisable:
|
|
14
|
+
colorDisable: global.$color-grey,
|
|
15
15
|
background-color: #fff,
|
|
16
16
|
),
|
|
17
17
|
);
|
|
18
18
|
|
|
19
|
-
$internal-props: safe-map-merge($internal-props, $props);
|
|
20
|
-
$internal-options: safe-map-merge($internal-options, $options);
|
|
19
|
+
$internal-props: global.safe-map-merge($internal-props, $props);
|
|
20
|
+
$internal-options: global.safe-map-merge($internal-options, $options);
|
|
21
21
|
|
|
22
22
|
.ui-menu-popper {
|
|
23
23
|
z-index: 3000;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.ui-menu {
|
|
27
|
-
@if showProps($internal-options) {
|
|
27
|
+
@if global.showProps($internal-options) {
|
|
28
28
|
box-shadow: 0 2px 4px -1px #0003, 0 4px 5px #00000024, 0 1px 10px #0000001f;
|
|
29
29
|
min-width: 180px;
|
|
30
30
|
user-select: none;
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
padding: 0;
|
|
33
33
|
z-index: 100;
|
|
34
34
|
}
|
|
35
|
-
@if showColors($internal-options) {
|
|
36
|
-
background-color: get-map-deep($internal-props, "background-color");
|
|
35
|
+
@if global.showColors($internal-options) {
|
|
36
|
+
background-color: global.get-map-deep($internal-props, "background-color");
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.ui-menuList {
|
|
41
|
-
@if showProps($internal-options) {
|
|
41
|
+
@if global.showProps($internal-options) {
|
|
42
42
|
margin: 0;
|
|
43
43
|
padding: 0;
|
|
44
44
|
}
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.ui-menuItem {
|
|
57
|
-
@if showProps($internal-options) {
|
|
57
|
+
@if global.showProps($internal-options) {
|
|
58
58
|
position: relative;
|
|
59
59
|
display: block;
|
|
60
60
|
white-space: nowrap;
|
|
61
61
|
cursor: pointer;
|
|
62
62
|
}
|
|
63
|
-
@if showColors($internal-options) {
|
|
64
|
-
background-color: get-map-deep($internal-props, "item.background-color");
|
|
63
|
+
@if global.showColors($internal-options) {
|
|
64
|
+
background-color: global.get-map-deep($internal-props, "item.background-color");
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
&:hover:not(.ui-menuItem-disable) {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
cursor: default;
|
|
78
78
|
|
|
79
79
|
.ui-menuItem-btn {
|
|
80
|
-
color: get-map-deep($internal-props, "item.colorDisable");
|
|
80
|
+
color: global.get-map-deep($internal-props, "item.colorDisable");
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.ui-menuItem-icon {
|
|
@@ -89,21 +89,21 @@
|
|
|
89
89
|
display: flex;
|
|
90
90
|
align-items: center;
|
|
91
91
|
width: 100%;
|
|
92
|
-
padding: (
|
|
92
|
+
padding: (global.$spacer-xs * 3) global.$spacer-sm (global.$spacer-xs * 3) global.$spacer;
|
|
93
93
|
background: transparent;
|
|
94
94
|
border: 0;
|
|
95
95
|
font-size: 0.9em;
|
|
96
96
|
cursor: pointer;
|
|
97
97
|
|
|
98
|
-
@if showColors($internal-options) {
|
|
99
|
-
color: get-map-deep($internal-props, "item.color");
|
|
98
|
+
@if global.showColors($internal-options) {
|
|
99
|
+
color: global.get-map-deep($internal-props, "item.color");
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
.ui-menuItem-icon {
|
|
104
104
|
display: flex;
|
|
105
105
|
align-items: center;
|
|
106
|
-
margin-right:
|
|
106
|
+
margin-right: global.$spacer-sm;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.ui-menuItem-menuIconContainer{
|
|
@@ -115,17 +115,17 @@
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.ui-group-title {
|
|
118
|
-
@if showProps($internal-options) {
|
|
118
|
+
@if global.showProps($internal-options) {
|
|
119
119
|
position: relative;
|
|
120
120
|
display: block;
|
|
121
121
|
white-space: nowrap;
|
|
122
|
-
padding:
|
|
122
|
+
padding: global.$spacer-sm global.$spacer-md;
|
|
123
123
|
cursor: pointer;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
@if showColors($internal-options) {
|
|
127
|
-
color: get-map-deep($internal-props, "group.color");
|
|
128
|
-
background-color: get-map-deep($internal-props, "group.background-color");
|
|
126
|
+
@if global.showColors($internal-options) {
|
|
127
|
+
color: global.get-map-deep($internal-props, "group.color");
|
|
128
|
+
background-color: global.get-map-deep($internal-props, "group.background-color");
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../global.scss";
|
|
2
2
|
|
|
3
3
|
@mixin popper($props: null, $options: null) {
|
|
4
|
-
$internal-options:
|
|
4
|
+
$internal-options: global.$default-options;
|
|
5
5
|
|
|
6
6
|
$internal-props: (
|
|
7
7
|
bgColor: #212121,
|
|
8
8
|
fgColor: #fff,
|
|
9
9
|
);
|
|
10
10
|
|
|
11
|
-
$internal-props: safe-map-merge($internal-props, $props);
|
|
12
|
-
$internal-options: safe-map-merge($internal-options, $options);
|
|
11
|
+
$internal-props: global.safe-map-merge($internal-props, $props);
|
|
12
|
+
$internal-options: global.safe-map-merge($internal-options, $options);
|
|
13
13
|
|
|
14
14
|
// .ui-popper {
|
|
15
15
|
// @if get-map-deep($internal-options, "properties") == true {
|
|
@@ -0,0 +1,75 @@
|
|
|
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 */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../global.scss";
|
|
2
2
|
|
|
3
3
|
@mixin selected($props: null, $options: null) {
|
|
4
|
-
$internal-options:
|
|
4
|
+
$internal-options: global.$default-options;
|
|
5
5
|
|
|
6
6
|
$internal-props: ();
|
|
7
7
|
|
|
8
|
-
$internal-props: safe-map-merge($internal-props, $props);
|
|
9
|
-
$internal-options: safe-map-merge($internal-options, $options);
|
|
8
|
+
$internal-props: global.safe-map-merge($internal-props, $props);
|
|
9
|
+
$internal-options: global.safe-map-merge($internal-options, $options);
|
|
10
10
|
|
|
11
11
|
.ui-selected-params {
|
|
12
12
|
float: left;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../global.scss";
|
|
2
2
|
|
|
3
3
|
@mixin spinner($props: null, $options: null) {
|
|
4
|
-
$internal-options:
|
|
4
|
+
$internal-options: global.$default-options;
|
|
5
5
|
|
|
6
6
|
$internal-props: (
|
|
7
7
|
color: blue,
|
|
8
8
|
);
|
|
9
9
|
|
|
10
|
-
$internal-props: safe-map-merge($internal-props, $props);
|
|
11
|
-
$internal-options: safe-map-merge($internal-options, $options);
|
|
10
|
+
$internal-props: global.safe-map-merge($internal-props, $props);
|
|
11
|
+
$internal-options: global.safe-map-merge($internal-options, $options);
|
|
12
12
|
|
|
13
|
-
@if get-map-deep($internal-options, "properties") == true {
|
|
13
|
+
@if global.get-map-deep($internal-options, "properties") == true {
|
|
14
14
|
@keyframes ui-spinner-anim {
|
|
15
15
|
to {
|
|
16
16
|
transform: rotate(360deg);
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.ui-spinner {
|
|
22
|
-
@if get-map-deep($internal-options, "properties") == true {
|
|
22
|
+
@if global.get-map-deep($internal-options, "properties") == true {
|
|
23
23
|
display: inline-block;
|
|
24
24
|
width: 2rem;
|
|
25
25
|
height: 2rem;
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
text-indent: -9999em;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
@if get-map-deep($internal-options, "colors") == true {
|
|
34
|
-
border-left-color: get-map-deep($internal-props, "color");
|
|
35
|
-
border-top-color: get-map-deep($internal-props, "color");
|
|
36
|
-
border-bottom-color: get-map-deep($internal-props, "color");
|
|
33
|
+
@if global.get-map-deep($internal-options, "colors") == true {
|
|
34
|
+
border-left-color: global.get-map-deep($internal-props, "color");
|
|
35
|
+
border-top-color: global.get-map-deep($internal-props, "color");
|
|
36
|
+
border-bottom-color: global.get-map-deep($internal-props, "color");
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|