react-luminus-components 1.5.38 → 1.5.40
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 +30 -30
- package/dist/{FormDisabledProvider-BAiNdOtC.js → FormDisabledProvider-Bnx4rLPt.js} +1 -1
- package/dist/FormDisabledProvider-D3_uZkaG.cjs +1 -0
- package/dist/{nivo-bar.es--AbsdroC.js → ShortcutLinksContext-B3a1Cd5G.js} +6657 -6656
- package/dist/{nivo-bar.es-B9IJx7pj.cjs → ShortcutLinksContext-DL1kqHiR.cjs} +7 -7
- package/dist/components/Flexmonster/components/ReportSharingModal/hooks/useReportSharingApi.d.ts +2 -2
- package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +7 -3
- package/dist/components/NotifCenter/Actions/components/index.d.ts +2 -0
- package/dist/components/NotifCenter/Actions/components/modals/NotificationActionAddModal.d.ts +11 -0
- package/dist/components/NotifCenter/Actions/components/modals/NotificationTemplateAddModal.d.ts +13 -0
- package/dist/components/NotifCenter/Actions/components/modals/NotificationTemplateEditModal.d.ts +6 -4
- package/dist/components/NotifCenter/NotifStyles/NotifStyles.d.ts +10 -0
- package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleFormSchema.d.ts +16 -0
- package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleTableColumns.d.ts +7 -0
- package/dist/components/NotifCenter/index.d.ts +1 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +56 -56
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +56 -56
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +8 -8
- package/dist/main.cjs.js +54 -54
- package/dist/main.d.ts +1 -0
- package/dist/main.es.js +10913 -10741
- package/dist/models/api/employee/IEmployee.d.ts +9 -0
- package/dist/models/api/reports/ReportRestrictResultModel.d.ts +10 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/texts/NotifCentrumTexts.d.ts +15 -0
- package/dist/models/types/notifCenter/NotifStyleModel.d.ts +6 -0
- package/dist/models/types/notifCenter/NotifTemplateCreateModel.d.ts +11 -0
- package/dist/models/types/notifCenter/NotifTemplateEditModel.d.ts +6 -0
- package/dist/models/types/notifCenter/NotificationAttachmentModel.d.ts +4 -0
- package/dist/models/types/notifCenter/NotificationModel.d.ts +2 -1
- package/dist/models/types/notifCenter/NotificationTemplate.d.ts +3 -1
- package/dist/style.css +1 -1
- package/dist/{useLocalStorageState-B2VDAPTK.js → useLocalStorageState-DIgKUvq6.js} +13 -13
- package/dist/useLocalStorageState-DJIRaF9a.cjs +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +23 -23
- package/dist/variables.scss +165 -165
- package/package.json +123 -123
- package/dist/FormDisabledProvider-Cs9zynFk.cjs +0 -1
- package/dist/useLocalStorageState-i8aLBOb5.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useState as p, useContext as E, useRef as
|
|
1
|
+
import { aw as F, aX as J, ar as N } from "./ShortcutLinksContext-B3a1Cd5G.js";
|
|
2
|
+
import { useState as p, useContext as E, useRef as w, useCallback as u, useEffect as I } from "react";
|
|
3
3
|
import "react-router-dom";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
import "react-hook-form";
|
|
@@ -12,27 +12,27 @@ const l = {
|
|
|
12
12
|
enabled: !0,
|
|
13
13
|
nullStateBeforeLoad: !0,
|
|
14
14
|
nullStateOnFail: !1
|
|
15
|
-
}, K = (t, { loadOnInit: o = l.loadOnInit, enabled: n = l.enabled, silent: a = l.silent, nullStateBeforeLoad: i = l.nullStateBeforeLoad, nullStateOnFail: c = l.nullStateOnFail, customApiUrl: s, customBearerToken:
|
|
15
|
+
}, K = (t, { loadOnInit: o = l.loadOnInit, enabled: n = l.enabled, silent: a = l.silent, nullStateBeforeLoad: i = l.nullStateBeforeLoad, nullStateOnFail: c = l.nullStateOnFail, customApiUrl: s, customBearerToken: O, dataTransformer: g } = l) => {
|
|
16
16
|
const m = F({
|
|
17
17
|
silent: a,
|
|
18
|
-
customToken:
|
|
18
|
+
customToken: O,
|
|
19
19
|
differentBaseUrl: s
|
|
20
|
-
}), [
|
|
20
|
+
}), [$, S] = p(0), { startLoading: L, stopLoading: C } = E(J), y = w(0), { isAuthenticated: D } = N(), [R, d] = p(null), x = w(o ?? !1), r = u(async (f, h) => {
|
|
21
21
|
if (!D() || n === !1)
|
|
22
22
|
return null;
|
|
23
|
-
S((e) => e + 1), !a && L(`loadData-${t}-${
|
|
24
|
-
let
|
|
23
|
+
S((e) => e + 1), !a && L(`loadData-${t}-${h}`), i && d(null);
|
|
24
|
+
let b;
|
|
25
25
|
try {
|
|
26
26
|
const e = await m.get(t, {
|
|
27
27
|
signal: f
|
|
28
28
|
}), A = g ? g(e.data) : e.data;
|
|
29
|
-
d(A),
|
|
29
|
+
d(A), b = A;
|
|
30
30
|
} catch (e) {
|
|
31
31
|
throw c && d(null), e;
|
|
32
32
|
} finally {
|
|
33
|
-
x.current = !1, S((e) => e - 1), !a && C(`loadData-${t}-${
|
|
33
|
+
x.current = !1, S((e) => e - 1), !a && C(`loadData-${t}-${h}`);
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return b;
|
|
36
36
|
}, [
|
|
37
37
|
D,
|
|
38
38
|
n,
|
|
@@ -47,7 +47,7 @@ const l = {
|
|
|
47
47
|
]), v = u(async () => {
|
|
48
48
|
r();
|
|
49
49
|
}, [r]), B = u(async () => r(), [r]);
|
|
50
|
-
return
|
|
50
|
+
return I(() => {
|
|
51
51
|
if (o === !1)
|
|
52
52
|
return;
|
|
53
53
|
const f = new AbortController();
|
|
@@ -58,7 +58,7 @@ const l = {
|
|
|
58
58
|
data: R,
|
|
59
59
|
setData: d,
|
|
60
60
|
reloadData: v,
|
|
61
|
-
isLoading: x.current ||
|
|
61
|
+
isLoading: x.current || $ > 0,
|
|
62
62
|
reloadDataWithReturn: B
|
|
63
63
|
};
|
|
64
64
|
}, M = (t, o) => {
|
|
@@ -66,7 +66,7 @@ const l = {
|
|
|
66
66
|
const s = localStorage.getItem(t);
|
|
67
67
|
return s != null && s !== "undefined" ? JSON.parse(s) : o;
|
|
68
68
|
}, [o, t]), [a, i] = p(n);
|
|
69
|
-
|
|
69
|
+
I(() => {
|
|
70
70
|
localStorage.setItem(t, JSON.stringify(a));
|
|
71
71
|
}, [t, a]);
|
|
72
72
|
const c = u(() => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const S=require("./ShortcutLinksContext-DL1kqHiR.cjs"),t=require("react");require("react-router-dom");require("react-dom");require("react-hook-form");require("react-flexmonster");require("@azure/msal-browser");require("@azure/msal-react");const l={loadOnInit:!0,silent:!1,enabled:!0,nullStateBeforeLoad:!0,nullStateOnFail:!1},y=(e,{loadOnInit:s=l.loadOnInit,enabled:o=l.enabled,silent:a=l.silent,nullStateBeforeLoad:c=l.nullStateBeforeLoad,nullStateOnFail:i=l.nullStateOnFail,customApiUrl:r,customBearerToken:R,dataTransformer:g}=l)=>{const C=S.useAxios({silent:a,customToken:R,differentBaseUrl:r}),[k,L]=t.useState(0),{startLoading:D,stopLoading:b}=t.useContext(S.LoadingContext),I=t.useRef(0),{isAuthenticated:q}=S.useAuth(),[O,d]=t.useState(null),h=t.useRef(s??!1),u=t.useCallback(async(f,x)=>{if(!q()||o===!1)return null;L(n=>n+1),!a&&D(`loadData-${e}-${x}`),c&&d(null);let p;try{const n=await C.get(e,{signal:f}),A=g?g(n.data):n.data;d(A),p=A}catch(n){throw i&&d(null),n}finally{h.current=!1,L(n=>n-1),!a&&b(`loadData-${e}-${x}`)}return p},[q,o,a,D,e,c,C,g,i,b]),$=t.useCallback(async()=>{u()},[u]),w=t.useCallback(async()=>u(),[u]);return t.useEffect(()=>{if(s===!1)return;const f=new AbortController;return u(f.signal,++I.current),()=>{f.abort()}},[u,s]),{data:O,setData:d,reloadData:$,isLoading:h.current||k>0,reloadDataWithReturn:w}},m=(e,s)=>{const o=t.useCallback(()=>{const r=localStorage.getItem(e);return r!=null&&r!=="undefined"?JSON.parse(r):s},[s,e]),[a,c]=t.useState(o);t.useEffect(()=>{localStorage.setItem(e,JSON.stringify(a))},[e,a]);const i=t.useCallback(()=>{c(o)},[o]);return[a,c,i]};exports.useGetApiData=y;exports.useLocalStorageState=m;
|
package/dist/utils.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ShortcutLinksContext-DL1kqHiR.cjs");require("react");require("@azure/msal-browser");require("@azure/msal-react");require("react-router-dom");require("react-dom");require("react-hook-form");require("react-flexmonster");const a=require("./localStorageUtils-BCZln9KS.cjs"),p=({cell:{value:t}})=>e.jsxRuntimeExports.jsx(e.SimpleTooltip,{text:t,placement:"bottom",children:e.jsxRuntimeExports.jsx("div",{className:"w-100 text-truncate",children:t})}),f=({cell:{value:t}})=>e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:t==null?void 0:t.toLocaleString("cs-CZ")}),d=({cell:{value:t}})=>{const r=e.format(new Date(t),"dd.MM.yyyy");return e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:t?r:""})},y=(t,r)=>{let s=!1,l=t;t[0]==="#"&&(l=t.slice(1),s=!0);let o=parseInt(l.substring(0,2),16),i=parseInt(l.substring(2,4),16),n=parseInt(l.substring(4,6),16);o+=r,i+=r,n+=r,o>255?o=255:o<0&&(o=0),i>255?i=255:i<0&&(i=0),n>255?n=255:n<0&&(n=0);const u=o.toString(16).length===1?"0"+o.toString(16):o.toString(16),g=i.toString(16).length===1?"0"+i.toString(16):i.toString(16),h=n.toString(16).length===1?"0"+n.toString(16):n.toString(16);return(s?"#":"")+u+g+h},S=t=>{const r=t.slice(3),s=[];for(let o=0;o<r.length;o+=2)s.push(r.slice(o,o+2));return`#${s.reverse().join("")}`},F=t=>typeof t.directoryName=="string"&&typeof t.directoryPath=="string"&&typeof t.directoryTranslationKey=="string"&&Array.isArray(t.files),x=async t=>{let r={status:"pending"};try{r={status:"success",data:(await t).data}}catch(s){r={status:"error",error:s}}return r},c=()=>new URLSearchParams(window.location.search),m=t=>{const r=window.location.pathname+(t.toString()?`?${t.toString()}`:"")+window.location.hash;window.history.replaceState(null,"",r)},D={get length(){return Array.from(c().keys()).length},key(t){const r=c();return Array.from(r.keys())[t]??null},getItem(t){const s=c().get(t);return s??null},setItem(t,r){const s=c();s.set(t,r),m(s)},removeItem(t){const r=c();r.delete(t),m(r)},clear(){m(new URLSearchParams)}},O=["edit","delete","info","warning","check","check-simple","add","cancel","cancel-simple","danger","chevron-left","chevron-right","chevron-up","chevron-down","chevron-double-left","chevron-double-right","folder","folder-filled","file-download","file-upload","star-outline","save","link","pending","resizer-horizontal","qr-code","phone","mail","mail-envelope","dashboard","user","role","close","search","plus","minus","menu","arrow-right"];exports.atobUtf8=e.atobUtf8;exports.buildEmployeeNameString=e.buildEmployeeNameString;exports.buildOrgUnitString=e.buildOrgUnitString;exports.buildVehicleNameString=e.buildVehicleNameString;exports.capitalizeFirstLetter=e.capitalizeFirstLetter;exports.compareDate=e.compareDate;exports.compareDateTime=e.compareDateTime;exports.extractErrorsFromBlobResponse=e.extractErrorsFromBlobResponse;exports.extractErrorsFromResponse=e.extractErrorsFromResponse;exports.extractFilename=e.extractFilename;exports.extractPermissionsFromResponse=e.extractPermissionsFromResponse;exports.fixNameIdNulls=e.fixNameIdNulls;exports.formatDate=e.formatDate;exports.formatDateTime=e.formatDateTime;exports.formatFileSize=e.formatFileSize;exports.getDateString=e.getDateString;exports.getDaysDifference=e.getDaysDifference;exports.getFirstDayOfMonth=e.getFirstDayOfMonth;exports.getFirstDayOfOffsetMonth=e.getFirstDayOfOffsetMonth;exports.getFirstDayOfYear=e.getFirstDayOfYear;exports.getLastDayOfMonth=e.getLastDayOfMonth;exports.getLastDayOfOffsetMonth=e.getLastDayOfOffsetMonth;exports.getLastDayOfYear=e.getLastDayOfYear;exports.hasOnlyNullValues=e.hasOnlyNullValues;exports.hookFormSetServerErrors=e.hookFormSetServerErrors;exports.isExtensionOpenable=e.isExtensionOpenable;exports.isFileOpenable=e.isFileOpenable;exports.isISODate=e.isISODate;exports.isPrimitive=e.isPrimitive;exports.isValidDate=e.isValidDate;exports.joinStrings=e.joinStrings;exports.msToStartOfNextDay=e.msToStartOfNextDay;exports.replaceNullValuesOnlyObjectsWithNulls=e.replaceNullValuesOnlyObjectsWithNulls;exports.saveFile=e.saveFile;exports.saveFileFromResponse=e.saveFileFromResponse;exports.shortenText=e.shortenText;exports.stringContains=e.stringContains;exports.stringSearchWithin=e.stringSearchWithin;exports.stringStartsWith=e.stringStartsWith;exports.trimIsoDate=e.trimIsoDate;exports.truncateText=e.truncateText;exports.urlfyArray=e.urlfyArray;exports.dumpLocalStorage=a.dumpLocalStorage;exports.generateApiPath=a.generateApiPath;exports.hookFormSetNull=a.hookFormSetNull;exports.hookFormSetNulls=a.hookFormSetNulls;exports.limitNumber=a.limitNumber;exports.restoreLocalStorage=a.restoreLocalStorage;exports.CommonLuminusIconsArray=O;exports.adjustBrightness=y;exports.dateValueFormat=d;exports.isFileStructureDirectory=F;exports.numFormat=f;exports.queryStorage=D;exports.responsePromiseWrapper=x;exports.valueTooltip=p;exports.vclToHex=S;
|
package/dist/utils.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as n,
|
|
2
|
-
import { cd as A, cb as C, cc as U, ca as
|
|
1
|
+
import { j as n, ao as p, U as h } from "./ShortcutLinksContext-B3a1Cd5G.js";
|
|
2
|
+
import { cd as A, cb as C, cc as U, ca as E, c9 as M, bU as V, bV as B, bQ as W, a_ as z, c0 as G, bR as Q, bm as Y, b5 as Z, c8 as _, cf as $, b$ as q, bW as H, aI as J, bY as K, aJ as X, bX as ee, bZ as te, b_ as re, c4 as se, bk as ae, c2 as oe, c1 as ne, bS as ie, c3 as le, bT as ce, cg as me, bJ as ge, c5 as ue, aT as pe, aZ as he, ci as de, c6 as fe, _ as ye, c7 as Se, aH as be, ce as xe, ch as Fe } from "./ShortcutLinksContext-B3a1Cd5G.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@azure/msal-browser";
|
|
5
5
|
import "@azure/msal-react";
|
|
@@ -7,7 +7,7 @@ import "react-router-dom";
|
|
|
7
7
|
import "react-dom";
|
|
8
8
|
import "react-hook-form";
|
|
9
9
|
import "react-flexmonster";
|
|
10
|
-
import { d as De, g as Oe, h as ve, a as Ne, l as ke, r as
|
|
10
|
+
import { d as De, g as Oe, h as ve, a as Ne, l as ke, r as Ie } from "./localStorageUtils-8ScvouMK.js";
|
|
11
11
|
const D = ({ cell: { value: e } }) => /* @__PURE__ */ n.jsx(p, { text: e, placement: "bottom", children: /* @__PURE__ */ n.jsx("div", { className: "w-100 text-truncate", children: e }) }), O = ({ cell: { value: e } }) => /* @__PURE__ */ n.jsx(n.Fragment, { children: e == null ? void 0 : e.toLocaleString("cs-CZ") }), v = ({ cell: { value: e } }) => {
|
|
12
12
|
const t = h(new Date(e), "dd.MM.yyyy");
|
|
13
13
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: e ? t : "" });
|
|
@@ -23,7 +23,7 @@ const D = ({ cell: { value: e } }) => /* @__PURE__ */ n.jsx(p, { text: e, placem
|
|
|
23
23
|
for (let s = 0; s < t.length; s += 2)
|
|
24
24
|
r.push(t.slice(s, s + 2));
|
|
25
25
|
return `#${r.reverse().join("")}`;
|
|
26
|
-
},
|
|
26
|
+
}, I = (e) => typeof e.directoryName == "string" && typeof e.directoryPath == "string" && typeof e.directoryTranslationKey == "string" && Array.isArray(e.files), P = async (e) => {
|
|
27
27
|
let t = { status: "pending" };
|
|
28
28
|
try {
|
|
29
29
|
t = { status: "success", data: (await e).data };
|
|
@@ -34,7 +34,7 @@ const D = ({ cell: { value: e } }) => /* @__PURE__ */ n.jsx(p, { text: e, placem
|
|
|
34
34
|
}, l = () => new URLSearchParams(window.location.search), c = (e) => {
|
|
35
35
|
const t = window.location.pathname + (e.toString() ? `?${e.toString()}` : "") + window.location.hash;
|
|
36
36
|
window.history.replaceState(null, "", t);
|
|
37
|
-
},
|
|
37
|
+
}, R = {
|
|
38
38
|
get length() {
|
|
39
39
|
return Array.from(l().keys()).length;
|
|
40
40
|
},
|
|
@@ -57,7 +57,7 @@ const D = ({ cell: { value: e } }) => /* @__PURE__ */ n.jsx(p, { text: e, placem
|
|
|
57
57
|
clear() {
|
|
58
58
|
c(new URLSearchParams());
|
|
59
59
|
}
|
|
60
|
-
},
|
|
60
|
+
}, T = [
|
|
61
61
|
"edit",
|
|
62
62
|
"delete",
|
|
63
63
|
"info",
|
|
@@ -98,15 +98,15 @@ const D = ({ cell: { value: e } }) => /* @__PURE__ */ n.jsx(p, { text: e, placem
|
|
|
98
98
|
"arrow-right"
|
|
99
99
|
];
|
|
100
100
|
export {
|
|
101
|
-
|
|
101
|
+
T as CommonLuminusIconsArray,
|
|
102
102
|
N as adjustBrightness,
|
|
103
103
|
A as atobUtf8,
|
|
104
104
|
C as buildEmployeeNameString,
|
|
105
105
|
U as buildOrgUnitString,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
E as buildVehicleNameString,
|
|
107
|
+
M as capitalizeFirstLetter,
|
|
108
|
+
V as compareDate,
|
|
109
|
+
B as compareDateTime,
|
|
110
110
|
v as dateValueFormat,
|
|
111
111
|
De as dumpLocalStorage,
|
|
112
112
|
W as extractErrorsFromBlobResponse,
|
|
@@ -114,15 +114,15 @@ export {
|
|
|
114
114
|
G as extractFilename,
|
|
115
115
|
Q as extractPermissionsFromResponse,
|
|
116
116
|
Y as fixNameIdNulls,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
Z as formatDate,
|
|
118
|
+
_ as formatDateTime,
|
|
119
|
+
$ as formatFileSize,
|
|
120
120
|
Oe as generateApiPath,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
q as getDateString,
|
|
122
|
+
H as getDaysDifference,
|
|
123
|
+
J as getFirstDayOfMonth,
|
|
124
|
+
K as getFirstDayOfOffsetMonth,
|
|
125
|
+
X as getFirstDayOfYear,
|
|
126
126
|
ee as getLastDayOfMonth,
|
|
127
127
|
te as getLastDayOfOffsetMonth,
|
|
128
128
|
re as getLastDayOfYear,
|
|
@@ -132,7 +132,7 @@ export {
|
|
|
132
132
|
ae as hookFormSetServerErrors,
|
|
133
133
|
oe as isExtensionOpenable,
|
|
134
134
|
ne as isFileOpenable,
|
|
135
|
-
|
|
135
|
+
I as isFileStructureDirectory,
|
|
136
136
|
ie as isISODate,
|
|
137
137
|
le as isPrimitive,
|
|
138
138
|
ce as isValidDate,
|
|
@@ -140,10 +140,10 @@ export {
|
|
|
140
140
|
ke as limitNumber,
|
|
141
141
|
ge as msToStartOfNextDay,
|
|
142
142
|
O as numFormat,
|
|
143
|
-
|
|
143
|
+
R as queryStorage,
|
|
144
144
|
ue as replaceNullValuesOnlyObjectsWithNulls,
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
P as responsePromiseWrapper,
|
|
146
|
+
Ie as restoreLocalStorage,
|
|
147
147
|
pe as saveFile,
|
|
148
148
|
he as saveFileFromResponse,
|
|
149
149
|
de as shortenText,
|
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;
|