react-luminus-components 2.1.3 → 2.1.5
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 +38 -38
- package/dist/{FormDisabledProvider-9PRnBdWU.js → FormDisabledProvider-BlA7oC25.js} +1 -1
- package/dist/FormDisabledProvider-CECmrBJd.cjs +1 -0
- package/dist/components/Form/DropdownPicker/DropdownPicker.d.ts +1 -1
- package/dist/components/HookForm/DropdownPicker/HookFormDropdownPicker.d.ts +1 -1
- package/dist/components/common/SimplePicker/SimplePicker.d.ts +2 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +77 -77
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +47 -47
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +52 -52
- package/dist/main.cjs.js +7 -7
- package/dist/main.es.js +11713 -11712
- package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +1 -0
- package/dist/{ShortcutLinksContext-BY-R5-zs.js → nivo-bar-D2xeG6Ps.js} +21213 -21210
- package/dist/nivo-bar-DKJ66whl.cjs +293 -0
- package/dist/style.css +1 -1
- package/dist/{useIsFormDirty-COyiQoVZ.js → useIsFormDirty-BDa_BKvX.js} +5 -5
- package/dist/useIsFormDirty-CgvxOtfe.cjs +1 -0
- package/dist/useLocalStorageState-BJQMZg4Q.cjs +1 -0
- package/dist/{useLocalStorageState-BC8nJ4qt.js → useLocalStorageState-lCgUtRKF.js} +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +18 -18
- package/dist/variables.scss +165 -165
- package/package.json +128 -128
- package/dist/FormDisabledProvider-BC1rYj84.cjs +0 -1
- package/dist/ShortcutLinksContext-BrP3e2lp.cjs +0 -293
- package/dist/useIsFormDirty-CXJBlN5Q.cjs +0 -1
- package/dist/useLocalStorageState-DzGRXMpR.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as P } from "./
|
|
1
|
+
import { c as P } from "./nivo-bar-D2xeG6Ps.js";
|
|
2
2
|
import { useSearchParams as I } from "react-router";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import { useState as _, useRef as p, useSyncExternalStore as F } from "react";
|
|
@@ -110,8 +110,8 @@ const A = () => {
|
|
|
110
110
|
return Object.keys(e).length > 0;
|
|
111
111
|
};
|
|
112
112
|
export {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
A as a,
|
|
114
|
+
B as b,
|
|
115
|
+
H as c,
|
|
116
|
+
W as u
|
|
117
117
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const w=require("./nivo-bar-DKJ66whl.cjs"),F=require("react-router");require("react/jsx-runtime");const q=require("react");require("@azure/msal-browser");require("@azure/msal-react");require("react-dom");const I=require("react-hook-form");require("react-flexmonster");const b=require("./queryStorage-Dk70bkj7.cjs"),Q=()=>{const r=w.compilerRuntimeExports.c(6),[t,o]=F.useSearchParams();let e;r[0]!==t||r[1]!==o?(e=(n,u)=>{t.get(n)!==u&&o(l=>(u===null&&l.delete(n),l.get(n)===u||l.set(n,u??""),l),{replace:!0})},r[0]=t,r[1]=o,r[2]=e):e=r[2];const i=e;let s;return r[3]!==t||r[4]!==i?(s={searchParams:t,setSearch:i},r[3]=t,r[4]=i,r[5]=s):s=r[5],s},N="\0",_=r=>t=>(window.addEventListener(`queryStorage_${r}`,t),()=>window.removeEventListener(`queryStorage_${r}`,t)),x=(r,t,o)=>{const e=r;if(e===N)return null;const i=e?Number(e):t;let s=Number.isNaN(i)?typeof t:"number";switch(s==="object"&&t instanceof Date&&(s="date"),o??s){case"number":return i;case"string":return e??t;case"boolean":return e==="true";case"object":return e?JSON.parse(e):t;case"date":return e?new Date(e):t;default:throw console.error(o,s),new Error(`useSearchQueryState is not implemented for type ${typeof(o??s)}.`)}},T=(r,t,o)=>{const e=w.compilerRuntimeExports.c(22),[i]=q.useState(t);let s;e[0]!==o?(s=c=>{if(typeof c=="object"){if(o&&o==="date"||!o&&c instanceof Date){if(!(c instanceof Date))throw new Error("Tried to setQueryState of type Date to non-date.");return c.toISOString()}return JSON.stringify(c)}return c.toString()},e[0]=o,e[1]=s):s=e[1];const n=s;let u;e[2]!==n||e[3]!==t?(u=n(t),e[2]=n,e[3]=t,e[4]=u):u=e[4];const l=u;let f;e[5]!==t?(f=JSON.stringify(t),e[5]=t,e[6]=f):f=e[6];const y=q.useRef(f),d=q.useRef(t);let S;e[7]!==r||e[8]!==i||e[9]!==o?(S=()=>{const c=b.queryStorage.getItem(r);return c!==y.current&&(y.current=c,d.current=x(c,i,o)),d.current},e[7]=r,e[8]=i,e[9]=o,e[10]=S):S=e[10];const g=S;let a;e[11]!==r?(a=_(r),e[11]=r,e[12]=a):a=e[12];const R=a,E=q.useSyncExternalStore(R,g);let h;e[13]!==l||e[14]!==g||e[15]!==n||e[16]!==t||e[17]!==r?(h=c=>{const $=typeof c=="function"?c(g()):c,D=n($);if(t===$||D===l){b.queryStorage.removeItem(r),window.dispatchEvent(new Event(`queryStorage_${r}`));return}if($===null){b.queryStorage.setItem(r,N),window.dispatchEvent(new Event(`queryStorage_${r}`));return}b.queryStorage.setItem(r,D),window.dispatchEvent(new Event(`queryStorage_${r}`))},e[13]=l,e[14]=g,e[15]=n,e[16]=t,e[17]=r,e[18]=h):h=e[18];const P=h;let m;return e[19]!==P||e[20]!==E?(m=[E,P],e[19]=P,e[20]=E,e[21]=m):m=e[21],m},j=r=>{const t=w.compilerRuntimeExports.c(5),o=Math.floor(Math.random()*900)+100;let e;t[0]!==r?(e=btoa(r.toString()??""),t[0]=r,t[1]=e):e=t[1];const i=e,s=`employeePhotos?personalNumber=${o}${i}&small=false`,n=`employeePhotos?personalNumber=${o}${i}&small=true`;let u;return t[2]!==s||t[3]!==n?(u={photoPath:s,photoPathSm:n},t[2]=s,t[3]=n,t[4]=u):u=t[4],u},L=({control:r}={})=>{"use no memo";const{dirtyFields:t}=I.useFormState({control:r});return Object.keys(t).length>0};exports.useEmployeePhotoPath=j;exports.useIsFormDirty=L;exports.useSearchQuery=Q;exports.useSearchQueryState=T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const d=require("./nivo-bar-DKJ66whl.cjs"),g=require("react"),m=(e,i)=>{const t=d.compilerRuntimeExports.c(12);let o;t[0]!==i||t[1]!==e?(o=()=>{const S=localStorage.getItem(e);return S!=null&&S!=="undefined"?JSON.parse(S):i},t[0]=i,t[1]=e,t[2]=o):o=t[2];const r=o,[s,f]=g.useState(r);let c,a;t[3]!==e||t[4]!==s?(c=()=>{localStorage.setItem(e,JSON.stringify(s))},a=[e,s],t[3]=e,t[4]=s,t[5]=c,t[6]=a):(c=t[5],a=t[6]),g.useEffect(c,a);let l;t[7]!==r?(l=()=>{f(r)},t[7]=r,t[8]=l):l=t[8];const u=l;let n;return t[9]!==u||t[10]!==s?(n=[s,f,u],t[9]=u,t[10]=s,t[11]=n):n=t[11],n};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("./nivo-bar-DKJ66whl.cjs"),l=require("react/jsx-runtime");require("react");require("@azure/msal-browser");require("@azure/msal-react");require("react-router");require("react-dom");require("react-hook-form");require("react-flexmonster");const u=require("./localStorageUtils-CVwJ9FKd.cjs"),S=require("./queryStorage-Dk70bkj7.cjs"),d=t=>{var r,i;return l.jsx(e.SimpleTooltip,{text:((r=t.getValue())==null?void 0:r.toString())??"",placement:"bottom",children:l.jsx("div",{className:"w-100 text-truncate",children:((i=t.getValue())==null?void 0:i.toString())??""})})},h=t=>{var r;return l.jsx(l.Fragment,{children:(r=t.getValue())==null?void 0:r.toLocaleString("cs-CZ")})},p=t=>{var s;const r=((s=t.getValue())==null?void 0:s.toString())??"",i=e.format(new Date(r),"dd.MM.yyyy");return l.jsx(l.Fragment,{children:r?i:""})},y=(t,r)=>{let i=!1,s=t;t[0]==="#"&&(s=t.slice(1),i=!0);let a=parseInt(s.substring(0,2),16),o=parseInt(s.substring(2,4),16),n=parseInt(s.substring(4,6),16);a+=r,o+=r,n+=r,a>255?a=255:a<0&&(a=0),o>255?o=255:o<0&&(o=0),n>255?n=255:n<0&&(n=0);const c=a.toString(16).length===1?"0"+a.toString(16):a.toString(16),m=o.toString(16).length===1?"0"+o.toString(16):o.toString(16),f=n.toString(16).length===1?"0"+n.toString(16):n.toString(16);return(i?"#":"")+c+m+f},b=t=>{const r=t.slice(3),i=[];for(let a=0;a<r.length;a+=2)i.push(r.slice(a,a+2));return`#${i.reverse().join("")}`},O=t=>typeof t.directoryName=="string"&&typeof t.directoryPath=="string"&&typeof t.directoryTranslationKey=="string"&&Array.isArray(t.files),F=async t=>{let r={status:"pending"};try{r={status:"success",data:(await t).data}}catch(i){r={status:"error",error:i}}return r},g=t=>{var r,i,s;return{rowPinning:{top:[],bottom:[]},columnOrder:t.columnsOrder??[],columnVisibility:Object.fromEntries((t.hiddenColumns??[]).map(a=>[a,!1])),pageIndex:0,pageSize:t.defaultPageSize??50,columnSorting:t.defaultSort?[t.defaultSort]:[],columnFilters:t.defaultFilters??[],columnPinning:t.fixedColumns?{left:t.fixedColumns.left?[t.fixedColumns.left]:[],right:t.fixedColumns.right?[t.fixedColumns.right]:[]}:{left:[],right:[]},size:t.isDense?"sm":"md",mobileDisplayGroup:((r=t.onMobile)==null?void 0:r.defaultDisplayGroup)??"",mobileFilter:{globalFilter:""},mobileShowColumnNames:((i=t.onMobile)==null?void 0:i.showColumnNames)??!1,columnSizing:Object.fromEntries(((s=t.columnWidths)==null?void 0:s.map(a=>[a.column,a.width]))??[]),grouping:[],expanding:{},isFullScreen:!1}},D=(t,r)=>{const i=new URLSearchParams;return Object.keys(t).forEach(s=>{i.append(`BnfTable-${r||"Universal"}.${s}`,JSON.stringify(t[s]))}),i.toString()},T=(t,r)=>{const i=localStorage.getItem("BnfTable-SettingsMigration");if(i){const s=JSON.parse(i);if(s.done&&s.version>=r)return}console.log("Migrating BnfTable settings to Tanstack Table format..."),t.forEach(s=>{const a=localStorage.getItem(s);if(!a)return;const o=JSON.parse(a);if(!o||Object.keys(o).length<1)return;const n=g(o);Object.keys(n).forEach(c=>{localStorage.setItem(`BnfTable-${s}.${c}`,JSON.stringify(n[c]))})}),localStorage.setItem("BnfTable-SettingsMigration",JSON.stringify({done:!0,version:r}))},x=["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","settings"];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.generateApiPath=e.generateApiPath;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.isISODateInValidRange=e.isISODateInValidRange;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=u.dumpLocalStorage;exports.hookFormSetNull=u.hookFormSetNull;exports.hookFormSetNulls=u.hookFormSetNulls;exports.limitNumber=u.limitNumber;exports.restoreLocalStorage=u.restoreLocalStorage;exports.queryStorage=S.queryStorage;exports.CommonLuminusIconsArray=x;exports.adjustBrightness=y;exports.buildTableSearchQuery=D;exports.configToTanstackTableState=g;exports.dateValueFormat=p;exports.isFileStructureDirectory=O;exports.migrateBnfTableSettings=T;exports.numFormat=h;exports.responsePromiseWrapper=F;exports.valueTooltip=d;exports.vclToHex=b;
|
package/dist/utils.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { cV as R, cT as k, cU as z, cS as j, cR as
|
|
1
|
+
import { aH as g, Y as d } from "./nivo-bar-D2xeG6Ps.js";
|
|
2
|
+
import { cV as R, cT as k, cU as z, cS as j, cR as A, cB as G, cC as J, cw as U, bv as W, cJ as $, cx as q, bK as H, b1 as Y, bO as K, cX as Q, aU as Z, cI as X, cD as _, bn as ee, cF as te, bo as re, cE as se, cG as ae, cH as oe, cN as ne, bH as ie, cL as le, cK as ce, cy as me, cz as ue, cM as ge, cA as de, a1 as fe, c2 as pe, cO as Se, bq as he, bu as be, cZ as ye, cP as Oe, aP as Fe, cQ as xe, bm as De, cW as Te, cY as Ne } from "./nivo-bar-D2xeG6Ps.js";
|
|
3
3
|
import { jsx as l, Fragment as c } from "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@azure/msal-browser";
|
|
@@ -8,7 +8,7 @@ import "react-router";
|
|
|
8
8
|
import "react-dom";
|
|
9
9
|
import "react-hook-form";
|
|
10
10
|
import "react-flexmonster";
|
|
11
|
-
import { d as Ce, h as we, a as Ie, l as Me, r as
|
|
11
|
+
import { d as Ce, h as we, a as Ie, l as Me, r as Pe } from "./localStorageUtils-TeLq8MHE.js";
|
|
12
12
|
import { q as Ve } from "./queryStorage-C8e71gxx.js";
|
|
13
13
|
const T = (e) => {
|
|
14
14
|
var t, r;
|
|
@@ -79,12 +79,12 @@ const T = (e) => {
|
|
|
79
79
|
expanding: {},
|
|
80
80
|
isFullScreen: !1
|
|
81
81
|
};
|
|
82
|
-
},
|
|
82
|
+
}, P = (e, t) => {
|
|
83
83
|
const r = new URLSearchParams();
|
|
84
84
|
return Object.keys(e).forEach((a) => {
|
|
85
85
|
r.append(`BnfTable-${t || "Universal"}.${a}`, JSON.stringify(e[a]));
|
|
86
86
|
}), r.toString();
|
|
87
|
-
},
|
|
87
|
+
}, B = (e, t) => {
|
|
88
88
|
const r = localStorage.getItem("BnfTable-SettingsMigration");
|
|
89
89
|
if (r) {
|
|
90
90
|
const a = JSON.parse(r);
|
|
@@ -111,21 +111,21 @@ export {
|
|
|
111
111
|
R as atobUtf8,
|
|
112
112
|
k as buildEmployeeNameString,
|
|
113
113
|
z as buildOrgUnitString,
|
|
114
|
-
|
|
114
|
+
P as buildTableSearchQuery,
|
|
115
115
|
j as buildVehicleNameString,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
116
|
+
A as capitalizeFirstLetter,
|
|
117
|
+
G as compareDate,
|
|
118
|
+
J as compareDateTime,
|
|
119
119
|
f as configToTanstackTableState,
|
|
120
120
|
v as dateValueFormat,
|
|
121
121
|
Ce as dumpLocalStorage,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
122
|
+
U as extractErrorsFromBlobResponse,
|
|
123
|
+
W as extractErrorsFromResponse,
|
|
124
|
+
$ as extractFilename,
|
|
125
|
+
q as extractPermissionsFromResponse,
|
|
126
|
+
H as fixNameIdNulls,
|
|
127
|
+
Y as formatDate,
|
|
128
|
+
K as formatDateTime,
|
|
129
129
|
Q as formatFileSize,
|
|
130
130
|
Z as generateApiPath,
|
|
131
131
|
X as getDateString,
|
|
@@ -149,13 +149,13 @@ export {
|
|
|
149
149
|
de as isValidDate,
|
|
150
150
|
fe as joinStrings,
|
|
151
151
|
Me as limitNumber,
|
|
152
|
-
|
|
152
|
+
B as migrateBnfTableSettings,
|
|
153
153
|
pe as msToStartOfNextDay,
|
|
154
154
|
N as numFormat,
|
|
155
155
|
Ve as queryStorage,
|
|
156
156
|
Se as replaceNullValuesOnlyObjectsWithNulls,
|
|
157
157
|
M as responsePromiseWrapper,
|
|
158
|
-
|
|
158
|
+
Pe as restoreLocalStorage,
|
|
159
159
|
he as saveFile,
|
|
160
160
|
be as saveFileFromResponse,
|
|
161
161
|
ye 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;
|