react-luminus-components 2.0.1-table-d03d7058b722969c6483c37eaffda481c74264aa → 2.0.3-beta.r19-3
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 +349 -349
- package/dist/.vite/manifest.json +46 -46
- package/dist/FormDisabledProvider-CNVOqN9X.js +40 -0
- package/dist/FormDisabledProvider-DmZDEoe7.cjs +1 -0
- package/dist/components/Buttons/ContextButton/FileUploadContextButton.d.ts +6 -3
- package/dist/components/Documents/components/DocumentsModals/components/CreateFolderModal/hooks/useDocCreateFolderForm.d.ts +4 -1
- package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/hooks/useEditFileForm.d.ts +6 -1
- package/dist/components/Documents/hooks/useDocumentsReducer.d.ts +1 -1
- package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +6 -3
- package/dist/components/Dropdown/comps/UserAvatarToggle/UserAvatarToggle.d.ts +3 -1
- package/dist/components/Flexmonster/Flexmonster.d.ts +1 -1
- package/dist/components/Flexmonster/hooks/useReportVersionApi.d.ts +1 -1
- package/dist/components/Flexmonster/utils/flexMonsterUtils.d.ts +1 -1
- package/dist/components/HookForm/MiniDetailWrapper/MiniDetailWrapper.d.ts +1 -1
- package/dist/components/HookForm/TextInput/HookFormTextInput.d.ts +4 -17
- package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +7 -38
- package/dist/components/InputContainers/NoInputContainer/NoInputContainer.d.ts +8 -38
- package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +8 -38
- package/dist/components/ResponsiveContextDropdown/components/ResponsiveContextDropdownItem/ResponsiveContextDropdownItem.d.ts +1 -1
- package/dist/components/ResponsiveContextDropdown/hooks/useReponsiveContextDropdownHelpers.d.ts +2 -2
- package/dist/components/ResponsiveContextDropdown/utils/responsiveContextDropdownUtils.d.ts +1 -1
- package/dist/components/Tooltip/HtmlTooltip/HtmlTooltip.d.ts +2 -2
- package/dist/components/Tooltip/SimpleTooltip/SimpleTooltip.d.ts +1 -1
- package/dist/components/common/AuthTemplate/AuthTemplate.d.ts +1 -1
- package/dist/components/common/ColumnResizer/ColumnResizer.d.ts +1 -1
- package/dist/components/common/DisabledRowLabelLink/DisabledRowLabelLink.d.ts +1 -1
- package/dist/components/common/ErrorBoundary/ErrorBoundary.d.ts +7 -3
- package/dist/components/common/FromToDatePicker/components/FromToDatePickerDropdownToggle/FromToDatePickerDropdownToggle.d.ts +3 -1
- package/dist/components/common/LineChart/comps/LineChartTooltip/LineChartTooltip.d.ts +2 -2
- package/dist/components/common/PermissionsSubstitute/Detail/hooks/useSubstDetailForm.d.ts +8 -1
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/PhotoPreviews.d.ts +15 -0
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/PhotoPreview.d.ts +14 -0
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/comps/PreviewShadow/PreviewShadow.d.ts +5 -0
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/comps/index.d.ts +1 -0
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/index.d.ts +1 -0
- package/dist/components/common/PhotoLightbox/comps/index.d.ts +1 -0
- package/dist/components/common/QrCode/QrCode.d.ts +1 -1
- package/dist/components/common/RouteLink/RouteLink.d.ts +1 -1
- package/dist/components/common/SimplePicker/SimplePicker.d.ts +1 -1
- package/dist/components/common/index.d.ts +0 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +274 -921
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +1 -1
- package/dist/hooks/useScrollSave/useScrollSave.d.ts +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +105 -89
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +109 -120
- package/dist/{localStorageUtils-DBNNyBcc.js → localStorageUtils-DKh4zlsM.js} +5 -5
- package/dist/localStorageUtils-VI7zmTA0.cjs +1 -0
- package/dist/main.cjs.js +21 -183
- package/dist/main.es.js +6372 -11355
- package/dist/models/bntTable/IBnfTableDefColumn.d.ts +40 -0
- package/dist/models/prop-types/InputContainerProps.d.ts +4 -12
- package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +1 -1
- package/dist/models/prop-types/InputProps/InputBaseProps.d.ts +4 -2
- package/dist/models/prop-types/InputProps/NumericInputProps.d.ts +1 -1
- package/dist/models/prop-types/InputProps/TextInputProps.d.ts +1 -1
- package/dist/{ShortcutLinksContext-B6B_uG2X.js → nivo-bar-DXK3wbjv.js} +28480 -28322
- package/dist/nivo-bar-U0TkOANS.cjs +306 -0
- package/dist/style.css +1 -1
- package/dist/useEmployeePhotoPath-DdMmh1qU.js +65 -0
- package/dist/useEmployeePhotoPath-Q0EhpWOh.cjs +1 -0
- package/dist/{useLocalStorageState-DG9g_lFm.js → useLocalStorageState-B3o2yBVf.js} +15 -14
- package/dist/useLocalStorageState-BWT4Z8eu.cjs +1 -0
- package/dist/utils/bnfTable/bnfTableUtils.d.ts +1 -0
- package/dist/utils/route/apiPathUtils.d.ts +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +101 -79
- package/dist/variables.scss +165 -165
- package/package.json +124 -123
- package/dist/FormDisabledProvider-BNE4w-91.cjs +0 -1
- package/dist/FormDisabledProvider-Ct-odePz.js +0 -40
- package/dist/ShortcutLinksContext-d3AdgJhg.cjs +0 -334
- package/dist/components/common/StrictModeDroppable/StrictModeDroppable.d.ts +0 -5
- package/dist/localStorageUtils-CBQuZzg0.cjs +0 -1
- package/dist/useLocalStorageState-CGKmNXMv.cjs +0 -1
- package/dist/useRenderDraggableInPortal-D0OLp7Qb.js +0 -78
- package/dist/useRenderDraggableInPortal-QPCaw-E_.cjs +0 -1
package/dist/utils.es.js
CHANGED
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { aD as g, W as f } from "./nivo-bar-DXK3wbjv.js";
|
|
2
|
+
import { cg as E, ce as L, cf as z, cd as W, cc as R, bX as $, bY as A, bo as G, c3 as J, bU as U, bD as Y, aW as Z, cb as q, ci as H, c2 as K, bZ as Q, bg as X, b$ as _, bh as ee, b_ as te, c0 as re, c1 as se, c7 as ae, bB as oe, c5 as ne, c4 as ie, bV as le, c6 as ce, bW as me, $ as ue, bO as ge, c8 as fe, bk as de, bn as pe, ck as he, c9 as Se, aj as be, ca as ye, bf as Oe, ch as De, cj as Fe } from "./nivo-bar-DXK3wbjv.js";
|
|
3
|
+
import { jsx as l, Fragment as c } from "react/jsx-runtime";
|
|
3
4
|
import "react";
|
|
4
5
|
import "@azure/msal-browser";
|
|
5
6
|
import "@azure/msal-react";
|
|
6
|
-
import "react-router
|
|
7
|
+
import "react-router";
|
|
7
8
|
import "react-dom";
|
|
8
9
|
import "react-hook-form";
|
|
9
10
|
import "react-flexmonster";
|
|
10
|
-
import { d as
|
|
11
|
-
const
|
|
11
|
+
import { d as Te, g as Ne, h as ve, a as Ce, l as we, r as Me } from "./localStorageUtils-DKh4zlsM.js";
|
|
12
|
+
const T = (e) => {
|
|
12
13
|
var t, r;
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
},
|
|
14
|
+
return /* @__PURE__ */ l(g, { text: ((t = e.getValue()) == null ? void 0 : t.toString()) ?? "", placement: "bottom", children: /* @__PURE__ */ l("div", { className: "w-100 text-truncate", children: ((r = e.getValue()) == null ? void 0 : r.toString()) ?? "" }) });
|
|
15
|
+
}, N = (e) => {
|
|
15
16
|
var t;
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
},
|
|
17
|
+
return /* @__PURE__ */ l(c, { children: (t = e.getValue()) == null ? void 0 : t.toLocaleString("cs-CZ") });
|
|
18
|
+
}, v = (e) => {
|
|
18
19
|
var a;
|
|
19
|
-
const t = ((a = e.getValue()) == null ? void 0 : a.toString()) ?? "", r =
|
|
20
|
-
return /* @__PURE__ */
|
|
21
|
-
},
|
|
20
|
+
const t = ((a = e.getValue()) == null ? void 0 : a.toString()) ?? "", r = f(new Date(t), "dd.MM.yyyy");
|
|
21
|
+
return /* @__PURE__ */ l(c, { children: t ? r : "" });
|
|
22
|
+
}, C = (e, t) => {
|
|
22
23
|
let r = !1, a = e;
|
|
23
24
|
e[0] === "#" && (a = e.slice(1), r = !0);
|
|
24
|
-
let s = parseInt(a.substring(0, 2), 16), o = parseInt(a.substring(2, 4), 16),
|
|
25
|
-
s += t, o += t,
|
|
26
|
-
const
|
|
27
|
-
return (r ? "#" : "") +
|
|
28
|
-
},
|
|
25
|
+
let s = parseInt(a.substring(0, 2), 16), o = parseInt(a.substring(2, 4), 16), n = parseInt(a.substring(4, 6), 16);
|
|
26
|
+
s += t, o += t, n += t, s > 255 ? s = 255 : s < 0 && (s = 0), o > 255 ? o = 255 : o < 0 && (o = 0), n > 255 ? n = 255 : n < 0 && (n = 0);
|
|
27
|
+
const i = s.toString(16).length === 1 ? "0" + s.toString(16) : s.toString(16), m = o.toString(16).length === 1 ? "0" + o.toString(16) : o.toString(16), u = n.toString(16).length === 1 ? "0" + n.toString(16) : n.toString(16);
|
|
28
|
+
return (r ? "#" : "") + i + m + u;
|
|
29
|
+
}, w = (e) => {
|
|
29
30
|
const t = e.slice(3), r = [];
|
|
30
31
|
for (let s = 0; s < t.length; s += 2)
|
|
31
32
|
r.push(t.slice(s, s + 2));
|
|
32
33
|
return `#${r.reverse().join("")}`;
|
|
33
|
-
},
|
|
34
|
+
}, M = (e) => typeof e.directoryName == "string" && typeof e.directoryPath == "string" && typeof e.directoryTranslationKey == "string" && Array.isArray(e.files), I = async (e) => {
|
|
34
35
|
let t = { status: "pending" };
|
|
35
36
|
try {
|
|
36
37
|
t = { status: "success", data: (await e).data };
|
|
@@ -38,15 +39,13 @@ const F = (e) => {
|
|
|
38
39
|
t = { status: "error", error: r };
|
|
39
40
|
}
|
|
40
41
|
return t;
|
|
41
|
-
},
|
|
42
|
+
}, d = (e) => {
|
|
42
43
|
var t, r, a;
|
|
43
44
|
return {
|
|
44
45
|
columnOrder: e.columnsOrder ?? [],
|
|
45
46
|
columnVisibility: Object.fromEntries((e.hiddenColumns ?? []).map((s) => [s, !1])),
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
pageSize: e.defaultPageSize ?? 50
|
|
49
|
-
},
|
|
47
|
+
pageIndex: 0,
|
|
48
|
+
pageSize: e.defaultPageSize ?? 50,
|
|
50
49
|
columnSorting: e.defaultSort ? [e.defaultSort] : [],
|
|
51
50
|
columnFilters: e.defaultFilters ?? [],
|
|
52
51
|
columnPinning: e.fixedColumns ? {
|
|
@@ -62,11 +61,33 @@ const F = (e) => {
|
|
|
62
61
|
expanding: {},
|
|
63
62
|
isFullScreen: !1
|
|
64
63
|
};
|
|
65
|
-
},
|
|
64
|
+
}, k = (e, t) => {
|
|
66
65
|
const r = new URLSearchParams();
|
|
67
66
|
return Object.keys(e).forEach((a) => {
|
|
68
67
|
r.append(`BnfTable-${t || "Universal"}.${a}`, JSON.stringify(e[a]));
|
|
69
68
|
}), r.toString();
|
|
69
|
+
}, B = (e, t) => {
|
|
70
|
+
const r = localStorage.getItem("BnfTable-SettingsMigration");
|
|
71
|
+
if (r) {
|
|
72
|
+
const a = JSON.parse(r);
|
|
73
|
+
if (a.done && a.version >= t)
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
console.log("Migrating BnfTable settings to Tanstack Table format..."), e.forEach((a) => {
|
|
77
|
+
const s = localStorage.getItem(a);
|
|
78
|
+
if (!s)
|
|
79
|
+
return;
|
|
80
|
+
const o = JSON.parse(s);
|
|
81
|
+
if (!o || Object.keys(o).length < 1)
|
|
82
|
+
return;
|
|
83
|
+
const n = d(o);
|
|
84
|
+
Object.keys(n).forEach((i) => {
|
|
85
|
+
localStorage.setItem(`BnfTable-${a}.${i}`, JSON.stringify(n[i]));
|
|
86
|
+
});
|
|
87
|
+
}), localStorage.setItem("BnfTable-SettingsMigration", JSON.stringify({
|
|
88
|
+
done: !0,
|
|
89
|
+
version: t
|
|
90
|
+
}));
|
|
70
91
|
}, V = [
|
|
71
92
|
"edit",
|
|
72
93
|
"delete",
|
|
@@ -109,60 +130,61 @@ const F = (e) => {
|
|
|
109
130
|
];
|
|
110
131
|
export {
|
|
111
132
|
V as CommonLuminusIconsArray,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
133
|
+
C as adjustBrightness,
|
|
134
|
+
E as atobUtf8,
|
|
135
|
+
L as buildEmployeeNameString,
|
|
136
|
+
z as buildOrgUnitString,
|
|
137
|
+
k as buildTableSearchQuery,
|
|
138
|
+
W as buildVehicleNameString,
|
|
118
139
|
R as capitalizeFirstLetter,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
de as
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
140
|
+
$ as compareDate,
|
|
141
|
+
A as compareDateTime,
|
|
142
|
+
d as configToTanstackTableState,
|
|
143
|
+
v as dateValueFormat,
|
|
144
|
+
Te as dumpLocalStorage,
|
|
145
|
+
G as extractErrorsFromResponse,
|
|
146
|
+
J as extractFilename,
|
|
147
|
+
U as extractPermissionsFromResponse,
|
|
148
|
+
Y as fixNameIdNulls,
|
|
149
|
+
Z as formatDate,
|
|
150
|
+
q as formatDateTime,
|
|
151
|
+
H as formatFileSize,
|
|
152
|
+
Ne as generateApiPath,
|
|
153
|
+
K as getDateString,
|
|
154
|
+
Q as getDaysDifference,
|
|
155
|
+
X as getFirstDayOfMonth,
|
|
156
|
+
_ as getFirstDayOfOffsetMonth,
|
|
157
|
+
ee as getFirstDayOfYear,
|
|
158
|
+
te as getLastDayOfMonth,
|
|
159
|
+
re as getLastDayOfOffsetMonth,
|
|
160
|
+
se as getLastDayOfYear,
|
|
161
|
+
ae as hasOnlyNullValues,
|
|
162
|
+
ve as hookFormSetNull,
|
|
163
|
+
Ce as hookFormSetNulls,
|
|
164
|
+
oe as hookFormSetServerErrors,
|
|
165
|
+
ne as isExtensionOpenable,
|
|
166
|
+
ie as isFileOpenable,
|
|
167
|
+
M as isFileStructureDirectory,
|
|
168
|
+
le as isISODate,
|
|
169
|
+
ce as isPrimitive,
|
|
170
|
+
me as isValidDate,
|
|
171
|
+
ue as joinStrings,
|
|
172
|
+
we as limitNumber,
|
|
173
|
+
B as migrateBnfTableSettings,
|
|
174
|
+
ge as msToStartOfNextDay,
|
|
175
|
+
N as numFormat,
|
|
176
|
+
fe as replaceNullValuesOnlyObjectsWithNulls,
|
|
177
|
+
I as responsePromiseWrapper,
|
|
178
|
+
Me as restoreLocalStorage,
|
|
179
|
+
de as saveFile,
|
|
180
|
+
pe as saveFileFromResponse,
|
|
181
|
+
he as shortenText,
|
|
182
|
+
Se as stringContains,
|
|
183
|
+
be as stringSearchWithin,
|
|
184
|
+
ye as stringStartsWith,
|
|
185
|
+
Oe as trimIsoDate,
|
|
186
|
+
De as truncateText,
|
|
187
|
+
Fe as urlfyArray,
|
|
188
|
+
T as valueTooltip,
|
|
189
|
+
w as vclToHex
|
|
168
190
|
};
|
package/dist/variables.scss
CHANGED
|
@@ -1,165 +1,165 @@
|
|
|
1
|
-
@use 'sass:color';
|
|
2
|
-
@use 'pkg:bootstrap/scss/functions' as bs-functions;
|
|
3
|
-
|
|
4
|
-
$enable-negative-margins: true;
|
|
5
|
-
|
|
6
|
-
$eon-red: #ea1b0a;
|
|
7
|
-
$eon-yellow: #e3e000;
|
|
8
|
-
$eon-turquoise: #1ea2b1;
|
|
9
|
-
|
|
10
|
-
$palette-turkey-red: #b00402;
|
|
11
|
-
$palette-moonstone: #56b9c5;
|
|
12
|
-
$palette-light-cyan: #c7e8eb;
|
|
13
|
-
$palette-jet: #39393a;
|
|
14
|
-
$palette-battleship-gray: #8f9192;
|
|
15
|
-
$palette-alice-blue: #ebf2f4;
|
|
16
|
-
$palette-seasalt: #f6f7f7;
|
|
17
|
-
|
|
18
|
-
$bg: #f7fbfa;
|
|
19
|
-
$bg-darker: #ebf2f4;
|
|
20
|
-
|
|
21
|
-
$accent-darker: #e9edf2;
|
|
22
|
-
|
|
23
|
-
$danger: #f4254e;
|
|
24
|
-
$danger-100: color.adjust($danger, $lightness: 40%);
|
|
25
|
-
$danger-50: color.adjust($danger, $lightness: 43%);
|
|
26
|
-
|
|
27
|
-
$success: #00b77a;
|
|
28
|
-
|
|
29
|
-
$warning: #ffb000;
|
|
30
|
-
|
|
31
|
-
$info: #38b0e5;
|
|
32
|
-
|
|
33
|
-
$border-radius: 4px;
|
|
34
|
-
$border-width: 1px;
|
|
35
|
-
$border-color: $bg-darker;
|
|
36
|
-
|
|
37
|
-
$white: #fff !default;
|
|
38
|
-
$gray-100: #f8f9fa !default;
|
|
39
|
-
$gray-200: #e9ecef !default;
|
|
40
|
-
$gray-300: #dee2e6 !default;
|
|
41
|
-
$gray-400: #ced4da !default;
|
|
42
|
-
$gray-500: #adb5bd !default;
|
|
43
|
-
$gray-600: #6c757d !default;
|
|
44
|
-
$gray-700: #495057 !default;
|
|
45
|
-
$gray-800: #343a40 !default;
|
|
46
|
-
$gray-900: #212529 !default;
|
|
47
|
-
$black: #000 !default;
|
|
48
|
-
$blue: #0d6efd !default;
|
|
49
|
-
$indigo: #6610f2 !default;
|
|
50
|
-
$purple: #6f42c1 !default;
|
|
51
|
-
$pink: #d63384 !default;
|
|
52
|
-
$red: #dc3545 !default;
|
|
53
|
-
$orange: #fd7e14 !default;
|
|
54
|
-
$yellow: #ffc107 !default;
|
|
55
|
-
$green: #198754 !default;
|
|
56
|
-
$teal: #20c997 !default;
|
|
57
|
-
$cyan: #0dcaf0 !default;
|
|
58
|
-
$blue-100: bs-functions.tint-color($blue, 80%) !default;
|
|
59
|
-
$blue-200: bs-functions.tint-color($blue, 60%) !default;
|
|
60
|
-
$blue-300: bs-functions.tint-color($blue, 40%) !default;
|
|
61
|
-
$blue-400: bs-functions.tint-color($blue, 20%) !default;
|
|
62
|
-
$blue-500: $blue !default;
|
|
63
|
-
$blue-600: bs-functions.shade-color($blue, 20%) !default;
|
|
64
|
-
$blue-700: bs-functions.shade-color($blue, 40%) !default;
|
|
65
|
-
$blue-800: bs-functions.shade-color($blue, 60%) !default;
|
|
66
|
-
$blue-900: bs-functions.shade-color($blue, 80%) !default;
|
|
67
|
-
$indigo-100: bs-functions.tint-color($indigo, 80%) !default;
|
|
68
|
-
$indigo-200: bs-functions.tint-color($indigo, 60%) !default;
|
|
69
|
-
$indigo-300: bs-functions.tint-color($indigo, 40%) !default;
|
|
70
|
-
$indigo-400: bs-functions.tint-color($indigo, 20%) !default;
|
|
71
|
-
$indigo-500: $indigo !default;
|
|
72
|
-
$indigo-600: bs-functions.shade-color($indigo, 20%) !default;
|
|
73
|
-
$indigo-700: bs-functions.shade-color($indigo, 40%) !default;
|
|
74
|
-
$indigo-800: bs-functions.shade-color($indigo, 60%) !default;
|
|
75
|
-
$indigo-900: bs-functions.shade-color($indigo, 80%) !default;
|
|
76
|
-
$purple-100: bs-functions.tint-color($purple, 80%) !default;
|
|
77
|
-
$purple-200: bs-functions.tint-color($purple, 60%) !default;
|
|
78
|
-
$purple-300: bs-functions.tint-color($purple, 40%) !default;
|
|
79
|
-
$purple-400: bs-functions.tint-color($purple, 20%) !default;
|
|
80
|
-
$purple-500: $purple !default;
|
|
81
|
-
$purple-600: bs-functions.shade-color($purple, 20%) !default;
|
|
82
|
-
$purple-700: bs-functions.shade-color($purple, 40%) !default;
|
|
83
|
-
$purple-800: bs-functions.shade-color($purple, 60%) !default;
|
|
84
|
-
$purple-900: bs-functions.shade-color($purple, 80%) !default;
|
|
85
|
-
$pink-100: bs-functions.tint-color($pink, 80%) !default;
|
|
86
|
-
$pink-200: bs-functions.tint-color($pink, 60%) !default;
|
|
87
|
-
$pink-300: bs-functions.tint-color($pink, 40%) !default;
|
|
88
|
-
$pink-400: bs-functions.tint-color($pink, 20%) !default;
|
|
89
|
-
$pink-500: $pink !default;
|
|
90
|
-
$pink-600: bs-functions.shade-color($pink, 20%) !default;
|
|
91
|
-
$pink-700: bs-functions.shade-color($pink, 40%) !default;
|
|
92
|
-
$pink-800: bs-functions.shade-color($pink, 60%) !default;
|
|
93
|
-
$pink-900: bs-functions.shade-color($pink, 80%) !default;
|
|
94
|
-
$red-100: bs-functions.tint-color($red, 80%) !default;
|
|
95
|
-
$red-200: bs-functions.tint-color($red, 60%) !default;
|
|
96
|
-
$red-300: bs-functions.tint-color($red, 40%) !default;
|
|
97
|
-
$red-400: bs-functions.tint-color($red, 20%) !default;
|
|
98
|
-
$red-500: $red !default;
|
|
99
|
-
$red-600: bs-functions.shade-color($red, 20%) !default;
|
|
100
|
-
$red-700: bs-functions.shade-color($red, 40%) !default;
|
|
101
|
-
$red-800: bs-functions.shade-color($red, 60%) !default;
|
|
102
|
-
$red-900: bs-functions.shade-color($red, 80%) !default;
|
|
103
|
-
$orange-100: bs-functions.tint-color($orange, 80%) !default;
|
|
104
|
-
$orange-200: bs-functions.tint-color($orange, 60%) !default;
|
|
105
|
-
$orange-300: bs-functions.tint-color($orange, 40%) !default;
|
|
106
|
-
$orange-400: bs-functions.tint-color($orange, 20%) !default;
|
|
107
|
-
$orange-500: $orange !default;
|
|
108
|
-
$orange-600: bs-functions.shade-color($orange, 20%) !default;
|
|
109
|
-
$orange-700: bs-functions.shade-color($orange, 40%) !default;
|
|
110
|
-
$orange-800: bs-functions.shade-color($orange, 60%) !default;
|
|
111
|
-
$orange-900: bs-functions.shade-color($orange, 80%) !default;
|
|
112
|
-
$yellow-100: bs-functions.tint-color($yellow, 80%) !default;
|
|
113
|
-
$yellow-200: bs-functions.tint-color($yellow, 60%) !default;
|
|
114
|
-
$yellow-300: bs-functions.tint-color($yellow, 40%) !default;
|
|
115
|
-
$yellow-400: bs-functions.tint-color($yellow, 20%) !default;
|
|
116
|
-
$yellow-500: $yellow !default;
|
|
117
|
-
$yellow-600: bs-functions.shade-color($yellow, 20%) !default;
|
|
118
|
-
$yellow-700: bs-functions.shade-color($yellow, 40%) !default;
|
|
119
|
-
$yellow-800: bs-functions.shade-color($yellow, 60%) !default;
|
|
120
|
-
$yellow-900: bs-functions.shade-color($yellow, 80%) !default;
|
|
121
|
-
$green-100: bs-functions.tint-color($green, 80%) !default;
|
|
122
|
-
$green-200: bs-functions.tint-color($green, 60%) !default;
|
|
123
|
-
$green-300: bs-functions.tint-color($green, 40%) !default;
|
|
124
|
-
$green-400: bs-functions.tint-color($green, 20%) !default;
|
|
125
|
-
$green-500: $green !default;
|
|
126
|
-
$green-600: bs-functions.shade-color($green, 20%) !default;
|
|
127
|
-
$green-700: bs-functions.shade-color($green, 40%) !default;
|
|
128
|
-
$green-800: bs-functions.shade-color($green, 60%) !default;
|
|
129
|
-
$green-900: bs-functions.shade-color($green, 80%) !default;
|
|
130
|
-
$teal-100: bs-functions.tint-color($teal, 80%) !default;
|
|
131
|
-
$teal-200: bs-functions.tint-color($teal, 60%) !default;
|
|
132
|
-
$teal-300: bs-functions.tint-color($teal, 40%) !default;
|
|
133
|
-
$teal-400: bs-functions.tint-color($teal, 20%) !default;
|
|
134
|
-
$teal-500: $teal !default;
|
|
135
|
-
$teal-600: bs-functions.shade-color($teal, 20%) !default;
|
|
136
|
-
$teal-700: bs-functions.shade-color($teal, 40%) !default;
|
|
137
|
-
$teal-800: bs-functions.shade-color($teal, 60%) !default;
|
|
138
|
-
$teal-900: bs-functions.shade-color($teal, 80%) !default;
|
|
139
|
-
$cyan-100: bs-functions.tint-color($cyan, 80%) !default;
|
|
140
|
-
$cyan-200: bs-functions.tint-color($cyan, 60%) !default;
|
|
141
|
-
$cyan-300: bs-functions.tint-color($cyan, 40%) !default;
|
|
142
|
-
$cyan-400: bs-functions.tint-color($cyan, 20%) !default;
|
|
143
|
-
$cyan-500: $cyan !default;
|
|
144
|
-
$cyan-600: bs-functions.shade-color($cyan, 20%) !default;
|
|
145
|
-
$cyan-700: bs-functions.shade-color($cyan, 40%) !default;
|
|
146
|
-
$cyan-800: bs-functions.shade-color($cyan, 60%) !default;
|
|
147
|
-
$cyan-900: bs-functions.shade-color($cyan, 80%) !default;
|
|
148
|
-
|
|
149
|
-
$text: #1e2832;
|
|
150
|
-
$text-muted: #8a929c;
|
|
151
|
-
$text-light: $gray-200;
|
|
152
|
-
|
|
153
|
-
$dark: $text;
|
|
154
|
-
|
|
155
|
-
$box-shadow: 0 0.5rem 1rem rgba($black, 0.15) !default;
|
|
156
|
-
$box-shadow-sm: 0rem 0rem 0.5rem rgba($black, 0.1) !default;
|
|
157
|
-
// $box-shadow-sm-primary: 0 0rem 0.4rem rgba($primary, 0.3) !default;
|
|
158
|
-
$box-shadow-sm-danger: 0 0rem 0.4rem rgba($danger, 0.3) !default;
|
|
159
|
-
$box-shadow-sm-warning: 0 0rem 0.4rem rgba($warning, 0.3) !default;
|
|
160
|
-
$box-shadow-sm-success: 0 0rem 0.4rem rgba($success, 0.3) !default;
|
|
161
|
-
$box-shadow-lg: 0 1rem 3rem rgba($black, 0.175) !default;
|
|
162
|
-
$box-shadow-inset: inset 0 0.5rem 1rem rgba($black, 0.1) !default;
|
|
163
|
-
|
|
164
|
-
$modal-backdrop-bg: black;
|
|
165
|
-
$modal-backdrop-opacity: 0.3;
|
|
1
|
+
@use 'sass:color';
|
|
2
|
+
@use 'pkg:bootstrap/scss/functions' as bs-functions;
|
|
3
|
+
|
|
4
|
+
$enable-negative-margins: true;
|
|
5
|
+
|
|
6
|
+
$eon-red: #ea1b0a;
|
|
7
|
+
$eon-yellow: #e3e000;
|
|
8
|
+
$eon-turquoise: #1ea2b1;
|
|
9
|
+
|
|
10
|
+
$palette-turkey-red: #b00402;
|
|
11
|
+
$palette-moonstone: #56b9c5;
|
|
12
|
+
$palette-light-cyan: #c7e8eb;
|
|
13
|
+
$palette-jet: #39393a;
|
|
14
|
+
$palette-battleship-gray: #8f9192;
|
|
15
|
+
$palette-alice-blue: #ebf2f4;
|
|
16
|
+
$palette-seasalt: #f6f7f7;
|
|
17
|
+
|
|
18
|
+
$bg: #f7fbfa;
|
|
19
|
+
$bg-darker: #ebf2f4;
|
|
20
|
+
|
|
21
|
+
$accent-darker: #e9edf2;
|
|
22
|
+
|
|
23
|
+
$danger: #f4254e;
|
|
24
|
+
$danger-100: color.adjust($danger, $lightness: 40%);
|
|
25
|
+
$danger-50: color.adjust($danger, $lightness: 43%);
|
|
26
|
+
|
|
27
|
+
$success: #00b77a;
|
|
28
|
+
|
|
29
|
+
$warning: #ffb000;
|
|
30
|
+
|
|
31
|
+
$info: #38b0e5;
|
|
32
|
+
|
|
33
|
+
$border-radius: 4px;
|
|
34
|
+
$border-width: 1px;
|
|
35
|
+
$border-color: $bg-darker;
|
|
36
|
+
|
|
37
|
+
$white: #fff !default;
|
|
38
|
+
$gray-100: #f8f9fa !default;
|
|
39
|
+
$gray-200: #e9ecef !default;
|
|
40
|
+
$gray-300: #dee2e6 !default;
|
|
41
|
+
$gray-400: #ced4da !default;
|
|
42
|
+
$gray-500: #adb5bd !default;
|
|
43
|
+
$gray-600: #6c757d !default;
|
|
44
|
+
$gray-700: #495057 !default;
|
|
45
|
+
$gray-800: #343a40 !default;
|
|
46
|
+
$gray-900: #212529 !default;
|
|
47
|
+
$black: #000 !default;
|
|
48
|
+
$blue: #0d6efd !default;
|
|
49
|
+
$indigo: #6610f2 !default;
|
|
50
|
+
$purple: #6f42c1 !default;
|
|
51
|
+
$pink: #d63384 !default;
|
|
52
|
+
$red: #dc3545 !default;
|
|
53
|
+
$orange: #fd7e14 !default;
|
|
54
|
+
$yellow: #ffc107 !default;
|
|
55
|
+
$green: #198754 !default;
|
|
56
|
+
$teal: #20c997 !default;
|
|
57
|
+
$cyan: #0dcaf0 !default;
|
|
58
|
+
$blue-100: bs-functions.tint-color($blue, 80%) !default;
|
|
59
|
+
$blue-200: bs-functions.tint-color($blue, 60%) !default;
|
|
60
|
+
$blue-300: bs-functions.tint-color($blue, 40%) !default;
|
|
61
|
+
$blue-400: bs-functions.tint-color($blue, 20%) !default;
|
|
62
|
+
$blue-500: $blue !default;
|
|
63
|
+
$blue-600: bs-functions.shade-color($blue, 20%) !default;
|
|
64
|
+
$blue-700: bs-functions.shade-color($blue, 40%) !default;
|
|
65
|
+
$blue-800: bs-functions.shade-color($blue, 60%) !default;
|
|
66
|
+
$blue-900: bs-functions.shade-color($blue, 80%) !default;
|
|
67
|
+
$indigo-100: bs-functions.tint-color($indigo, 80%) !default;
|
|
68
|
+
$indigo-200: bs-functions.tint-color($indigo, 60%) !default;
|
|
69
|
+
$indigo-300: bs-functions.tint-color($indigo, 40%) !default;
|
|
70
|
+
$indigo-400: bs-functions.tint-color($indigo, 20%) !default;
|
|
71
|
+
$indigo-500: $indigo !default;
|
|
72
|
+
$indigo-600: bs-functions.shade-color($indigo, 20%) !default;
|
|
73
|
+
$indigo-700: bs-functions.shade-color($indigo, 40%) !default;
|
|
74
|
+
$indigo-800: bs-functions.shade-color($indigo, 60%) !default;
|
|
75
|
+
$indigo-900: bs-functions.shade-color($indigo, 80%) !default;
|
|
76
|
+
$purple-100: bs-functions.tint-color($purple, 80%) !default;
|
|
77
|
+
$purple-200: bs-functions.tint-color($purple, 60%) !default;
|
|
78
|
+
$purple-300: bs-functions.tint-color($purple, 40%) !default;
|
|
79
|
+
$purple-400: bs-functions.tint-color($purple, 20%) !default;
|
|
80
|
+
$purple-500: $purple !default;
|
|
81
|
+
$purple-600: bs-functions.shade-color($purple, 20%) !default;
|
|
82
|
+
$purple-700: bs-functions.shade-color($purple, 40%) !default;
|
|
83
|
+
$purple-800: bs-functions.shade-color($purple, 60%) !default;
|
|
84
|
+
$purple-900: bs-functions.shade-color($purple, 80%) !default;
|
|
85
|
+
$pink-100: bs-functions.tint-color($pink, 80%) !default;
|
|
86
|
+
$pink-200: bs-functions.tint-color($pink, 60%) !default;
|
|
87
|
+
$pink-300: bs-functions.tint-color($pink, 40%) !default;
|
|
88
|
+
$pink-400: bs-functions.tint-color($pink, 20%) !default;
|
|
89
|
+
$pink-500: $pink !default;
|
|
90
|
+
$pink-600: bs-functions.shade-color($pink, 20%) !default;
|
|
91
|
+
$pink-700: bs-functions.shade-color($pink, 40%) !default;
|
|
92
|
+
$pink-800: bs-functions.shade-color($pink, 60%) !default;
|
|
93
|
+
$pink-900: bs-functions.shade-color($pink, 80%) !default;
|
|
94
|
+
$red-100: bs-functions.tint-color($red, 80%) !default;
|
|
95
|
+
$red-200: bs-functions.tint-color($red, 60%) !default;
|
|
96
|
+
$red-300: bs-functions.tint-color($red, 40%) !default;
|
|
97
|
+
$red-400: bs-functions.tint-color($red, 20%) !default;
|
|
98
|
+
$red-500: $red !default;
|
|
99
|
+
$red-600: bs-functions.shade-color($red, 20%) !default;
|
|
100
|
+
$red-700: bs-functions.shade-color($red, 40%) !default;
|
|
101
|
+
$red-800: bs-functions.shade-color($red, 60%) !default;
|
|
102
|
+
$red-900: bs-functions.shade-color($red, 80%) !default;
|
|
103
|
+
$orange-100: bs-functions.tint-color($orange, 80%) !default;
|
|
104
|
+
$orange-200: bs-functions.tint-color($orange, 60%) !default;
|
|
105
|
+
$orange-300: bs-functions.tint-color($orange, 40%) !default;
|
|
106
|
+
$orange-400: bs-functions.tint-color($orange, 20%) !default;
|
|
107
|
+
$orange-500: $orange !default;
|
|
108
|
+
$orange-600: bs-functions.shade-color($orange, 20%) !default;
|
|
109
|
+
$orange-700: bs-functions.shade-color($orange, 40%) !default;
|
|
110
|
+
$orange-800: bs-functions.shade-color($orange, 60%) !default;
|
|
111
|
+
$orange-900: bs-functions.shade-color($orange, 80%) !default;
|
|
112
|
+
$yellow-100: bs-functions.tint-color($yellow, 80%) !default;
|
|
113
|
+
$yellow-200: bs-functions.tint-color($yellow, 60%) !default;
|
|
114
|
+
$yellow-300: bs-functions.tint-color($yellow, 40%) !default;
|
|
115
|
+
$yellow-400: bs-functions.tint-color($yellow, 20%) !default;
|
|
116
|
+
$yellow-500: $yellow !default;
|
|
117
|
+
$yellow-600: bs-functions.shade-color($yellow, 20%) !default;
|
|
118
|
+
$yellow-700: bs-functions.shade-color($yellow, 40%) !default;
|
|
119
|
+
$yellow-800: bs-functions.shade-color($yellow, 60%) !default;
|
|
120
|
+
$yellow-900: bs-functions.shade-color($yellow, 80%) !default;
|
|
121
|
+
$green-100: bs-functions.tint-color($green, 80%) !default;
|
|
122
|
+
$green-200: bs-functions.tint-color($green, 60%) !default;
|
|
123
|
+
$green-300: bs-functions.tint-color($green, 40%) !default;
|
|
124
|
+
$green-400: bs-functions.tint-color($green, 20%) !default;
|
|
125
|
+
$green-500: $green !default;
|
|
126
|
+
$green-600: bs-functions.shade-color($green, 20%) !default;
|
|
127
|
+
$green-700: bs-functions.shade-color($green, 40%) !default;
|
|
128
|
+
$green-800: bs-functions.shade-color($green, 60%) !default;
|
|
129
|
+
$green-900: bs-functions.shade-color($green, 80%) !default;
|
|
130
|
+
$teal-100: bs-functions.tint-color($teal, 80%) !default;
|
|
131
|
+
$teal-200: bs-functions.tint-color($teal, 60%) !default;
|
|
132
|
+
$teal-300: bs-functions.tint-color($teal, 40%) !default;
|
|
133
|
+
$teal-400: bs-functions.tint-color($teal, 20%) !default;
|
|
134
|
+
$teal-500: $teal !default;
|
|
135
|
+
$teal-600: bs-functions.shade-color($teal, 20%) !default;
|
|
136
|
+
$teal-700: bs-functions.shade-color($teal, 40%) !default;
|
|
137
|
+
$teal-800: bs-functions.shade-color($teal, 60%) !default;
|
|
138
|
+
$teal-900: bs-functions.shade-color($teal, 80%) !default;
|
|
139
|
+
$cyan-100: bs-functions.tint-color($cyan, 80%) !default;
|
|
140
|
+
$cyan-200: bs-functions.tint-color($cyan, 60%) !default;
|
|
141
|
+
$cyan-300: bs-functions.tint-color($cyan, 40%) !default;
|
|
142
|
+
$cyan-400: bs-functions.tint-color($cyan, 20%) !default;
|
|
143
|
+
$cyan-500: $cyan !default;
|
|
144
|
+
$cyan-600: bs-functions.shade-color($cyan, 20%) !default;
|
|
145
|
+
$cyan-700: bs-functions.shade-color($cyan, 40%) !default;
|
|
146
|
+
$cyan-800: bs-functions.shade-color($cyan, 60%) !default;
|
|
147
|
+
$cyan-900: bs-functions.shade-color($cyan, 80%) !default;
|
|
148
|
+
|
|
149
|
+
$text: #1e2832;
|
|
150
|
+
$text-muted: #8a929c;
|
|
151
|
+
$text-light: $gray-200;
|
|
152
|
+
|
|
153
|
+
$dark: $text;
|
|
154
|
+
|
|
155
|
+
$box-shadow: 0 0.5rem 1rem rgba($black, 0.15) !default;
|
|
156
|
+
$box-shadow-sm: 0rem 0rem 0.5rem rgba($black, 0.1) !default;
|
|
157
|
+
// $box-shadow-sm-primary: 0 0rem 0.4rem rgba($primary, 0.3) !default;
|
|
158
|
+
$box-shadow-sm-danger: 0 0rem 0.4rem rgba($danger, 0.3) !default;
|
|
159
|
+
$box-shadow-sm-warning: 0 0rem 0.4rem rgba($warning, 0.3) !default;
|
|
160
|
+
$box-shadow-sm-success: 0 0rem 0.4rem rgba($success, 0.3) !default;
|
|
161
|
+
$box-shadow-lg: 0 1rem 3rem rgba($black, 0.175) !default;
|
|
162
|
+
$box-shadow-inset: inset 0 0.5rem 1rem rgba($black, 0.1) !default;
|
|
163
|
+
|
|
164
|
+
$modal-backdrop-bg: black;
|
|
165
|
+
$modal-backdrop-opacity: 0.3;
|