react-luminus-components 2.0.8 → 2.0.9
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 +44 -44
- package/dist/{FormDisabledProvider-DqonORhL.js → FormDisabledProvider-Bquj6x7m.js} +1 -1
- package/dist/FormDisabledProvider-D7QcTs-i.cjs +1 -0
- package/dist/components/Flexmonster/utils/flexMonsterUtils.d.ts +5 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +95 -95
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +44 -44
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +84 -84
- package/dist/{localStorageUtils-CZ4HDRzi.js → localStorageUtils-D2opn367.js} +2 -2
- package/dist/main.cjs.js +15 -15
- package/dist/main.es.js +10923 -10915
- package/dist/nivo-bar-Bak2bSwx.cjs +285 -0
- package/dist/{ShortcutLinksContext-JzYprDew.js → nivo-bar-D1U8PKC8.js} +20555 -20555
- package/dist/style.css +1 -1
- package/dist/{useIsFormDirty-Chttb_yH.js → useIsFormDirty-BBA_uA1C.js} +5 -5
- package/dist/useIsFormDirty-BvvK5I1M.cjs +1 -0
- package/dist/useLocalStorageState-CfodPjK7.cjs +1 -0
- package/dist/{useLocalStorageState-Bhv5Db7O.js → useLocalStorageState-FOtO1MEx.js} +20 -20
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +22 -22
- package/dist/variables.scss +165 -165
- package/package.json +127 -127
- package/dist/FormDisabledProvider-BbyzT_Cv.cjs +0 -1
- package/dist/ShortcutLinksContext-Bn-HfyvV.cjs +0 -285
- package/dist/useIsFormDirty-Bxcm6YTp.cjs +0 -1
- package/dist/useLocalStorageState-bJ5LCIyw.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as P } from "./
|
|
1
|
+
import { c as P } from "./nivo-bar-D1U8PKC8.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-Bak2bSwx.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 q=require("./nivo-bar-Bak2bSwx.cjs");require("react/jsx-runtime");const a=require("react");require("react-router");require("react-dom");require("react-hook-form");require("react-flexmonster");require("@azure/msal-react");require("@azure/msal-browser");const S={loadOnInit:!0,silent:!1,enabled:!0,nullStateBeforeLoad:!0,nullStateOnFail:!1},w=(e,{loadOnInit:u=S.loadOnInit,enabled:t=S.enabled,silent:o=S.silent,nullStateBeforeLoad:c=S.nullStateBeforeLoad,nullStateOnFail:s=S.nullStateOnFail,customApiUrl:C,customBearerToken:f,dataTransformer:r}=S)=>{const n=q.useAxios({silent:o,customToken:f,differentBaseUrl:C}),[p,i]=a.useState(0),{startLoading:d,stopLoading:b}=a.useContext(q.LoadingContext),m=a.useRef(0),{isAuthenticated:x}=q.useAuth(),[v,D]=a.useState(null),A=a.useRef(u??!1),g=a.useCallback(async(L,h)=>{if(!x()||t===!1)return null;i(l=>l+1),!o&&d(`loadData-${e}-${h}`),c&&D(null);let R;try{const l=await n.get(e,{signal:L}),$=r?r(l.data):l.data;D($),R=$}catch(l){throw s&&D(null),l}finally{A.current=!1,i(l=>l-1),!o&&b(`loadData-${e}-${h}`)}return R},[x,t,o,d,e,c,n,r,s,b]),I=a.useCallback(async()=>{g()},[g]),O=a.useCallback(async()=>g(),[g]);return a.useEffect(()=>{if(u===!1)return;if(n.interceptorsUsed===!1){console.error("useGetApiData: could not load data because interceptors are not used");return}const L=new AbortController;return g(L.signal,++m.current),()=>{L.abort()}},[g,u,n.interceptorsUsed]),{data:v,setData:D,reloadData:I,isLoading:A.current||p>0,reloadDataWithReturn:O}},B=(e,u)=>{const t=q.compilerRuntimeExports.c(12);let o;t[0]!==u||t[1]!==e?(o=()=>{const d=localStorage.getItem(e);return d!=null&&d!=="undefined"?JSON.parse(d):u},t[0]=u,t[1]=e,t[2]=o):o=t[2];const c=o,[s,C]=a.useState(c);let f,r;t[3]!==e||t[4]!==s?(f=()=>{localStorage.setItem(e,JSON.stringify(s))},r=[e,s],t[3]=e,t[4]=s,t[5]=f,t[6]=r):(f=t[5],r=t[6]),a.useEffect(f,r);let n;t[7]!==c?(n=()=>{C(c)},t[7]=c,t[8]=n):n=t[8];const p=n;let i;return t[9]!==p||t[10]!==s?(i=[s,C,p],t[9]=p,t[10]=s,t[11]=i):i=t[11],i};exports.useGetApiData=w;exports.useLocalStorageState=B;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ao as E, aq as F, bg as G, c as J } from "./nivo-bar-D1U8PKC8.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import { useState as C, useContext as N, useRef as O, useCallback as L, useEffect as R } from "react";
|
|
4
4
|
import "react-router";
|
|
@@ -13,18 +13,18 @@ const p = {
|
|
|
13
13
|
enabled: !0,
|
|
14
14
|
nullStateBeforeLoad: !0,
|
|
15
15
|
nullStateOnFail: !1
|
|
16
|
-
},
|
|
16
|
+
}, Q = (e, {
|
|
17
17
|
loadOnInit: l = p.loadOnInit,
|
|
18
18
|
enabled: t = p.enabled,
|
|
19
|
-
silent:
|
|
19
|
+
silent: a = p.silent,
|
|
20
20
|
nullStateBeforeLoad: i = p.nullStateBeforeLoad,
|
|
21
|
-
nullStateOnFail:
|
|
21
|
+
nullStateOnFail: o = p.nullStateOnFail,
|
|
22
22
|
customApiUrl: m,
|
|
23
23
|
customBearerToken: d,
|
|
24
24
|
dataTransformer: s
|
|
25
25
|
} = p) => {
|
|
26
26
|
const n = E({
|
|
27
|
-
silent:
|
|
27
|
+
silent: a,
|
|
28
28
|
customToken: d,
|
|
29
29
|
differentBaseUrl: m
|
|
30
30
|
}), [g, c] = C(0), {
|
|
@@ -35,7 +35,7 @@ const p = {
|
|
|
35
35
|
} = G(), [w, S] = C(null), h = O(l ?? !1), f = L(async (D, A) => {
|
|
36
36
|
if (!b() || t === !1)
|
|
37
37
|
return null;
|
|
38
|
-
c((r) => r + 1), !
|
|
38
|
+
c((r) => r + 1), !a && u(`loadData-${e}-${A}`), i && S(null);
|
|
39
39
|
let $;
|
|
40
40
|
try {
|
|
41
41
|
const r = await n.get(e, {
|
|
@@ -43,12 +43,12 @@ const p = {
|
|
|
43
43
|
}), I = s ? s(r.data) : r.data;
|
|
44
44
|
S(I), $ = I;
|
|
45
45
|
} catch (r) {
|
|
46
|
-
throw
|
|
46
|
+
throw o && S(null), r;
|
|
47
47
|
} finally {
|
|
48
|
-
h.current = !1, c((r) => r - 1), !
|
|
48
|
+
h.current = !1, c((r) => r - 1), !a && x(`loadData-${e}-${A}`);
|
|
49
49
|
}
|
|
50
50
|
return $;
|
|
51
|
-
}, [b, t,
|
|
51
|
+
}, [b, t, a, u, e, i, n, s, o, x]), U = L(async () => {
|
|
52
52
|
f();
|
|
53
53
|
}, [f]), B = L(async () => f(), [f]);
|
|
54
54
|
return R(() => {
|
|
@@ -69,27 +69,27 @@ const p = {
|
|
|
69
69
|
isLoading: h.current || g > 0,
|
|
70
70
|
reloadDataWithReturn: B
|
|
71
71
|
};
|
|
72
|
-
},
|
|
72
|
+
}, X = (e, l) => {
|
|
73
73
|
const t = J.c(12);
|
|
74
|
-
let
|
|
75
|
-
t[0] !== l || t[1] !== e ? (
|
|
74
|
+
let a;
|
|
75
|
+
t[0] !== l || t[1] !== e ? (a = () => {
|
|
76
76
|
const u = localStorage.getItem(e);
|
|
77
77
|
return u != null && u !== "undefined" ? JSON.parse(u) : l;
|
|
78
|
-
}, t[0] = l, t[1] = e, t[2] =
|
|
79
|
-
const i =
|
|
78
|
+
}, t[0] = l, t[1] = e, t[2] = a) : a = t[2];
|
|
79
|
+
const i = a, [o, m] = C(i);
|
|
80
80
|
let d, s;
|
|
81
|
-
t[3] !== e || t[4] !==
|
|
82
|
-
localStorage.setItem(e, JSON.stringify(
|
|
83
|
-
}, s = [e,
|
|
81
|
+
t[3] !== e || t[4] !== o ? (d = () => {
|
|
82
|
+
localStorage.setItem(e, JSON.stringify(o));
|
|
83
|
+
}, s = [e, o], t[3] = e, t[4] = o, t[5] = d, t[6] = s) : (d = t[5], s = t[6]), R(d, s);
|
|
84
84
|
let n;
|
|
85
85
|
t[7] !== i ? (n = () => {
|
|
86
86
|
m(i);
|
|
87
87
|
}, t[7] = i, t[8] = n) : n = t[8];
|
|
88
88
|
const g = n;
|
|
89
89
|
let c;
|
|
90
|
-
return t[9] !== g || t[10] !==
|
|
90
|
+
return t[9] !== g || t[10] !== o ? (c = [o, m, g], t[9] = g, t[10] = o, t[11] = c) : c = t[11], c;
|
|
91
91
|
};
|
|
92
92
|
export {
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
X as a,
|
|
94
|
+
Q as u
|
|
95
95
|
};
|
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-Bak2bSwx.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-CkZslzIU.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),g=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+g+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},m=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=m(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"];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.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.generateApiPath=u.generateApiPath;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=m;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 { cj as
|
|
1
|
+
import { aF as g, X as d } from "./nivo-bar-D1U8PKC8.js";
|
|
2
|
+
import { cj as j, ch as L, ci as R, cg as z, cf as W, b_ as $, b$ as A, bV as G, bs as J, c6 as U, bW as q, bE as Y, a_ as X, ce as Z, cl as _, c5 as H, c0 as K, bk as Q, c2 as ee, bl as te, c1 as re, c3 as se, c4 as ae, ca as oe, bC as ne, c8 as ie, c7 as le, bX as ce, bY as me, c9 as ue, bZ as ge, a0 as de, bP as fe, cb as pe, bn as Se, br as he, cn as be, cc as ye, ak as Oe, cd as Fe, bj as xe, ck as De, cm as Te } from "./nivo-bar-D1U8PKC8.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,8 +8,8 @@ import "react-router";
|
|
|
8
8
|
import "react-dom";
|
|
9
9
|
import "react-hook-form";
|
|
10
10
|
import "react-flexmonster";
|
|
11
|
-
import { d as ve, g as Ce,
|
|
12
|
-
import { q as
|
|
11
|
+
import { d as ve, g as Ce, a as we, h as Ie, l as Me, r as ke } from "./localStorageUtils-D2opn367.js";
|
|
12
|
+
import { q as Ve } from "./queryStorage-C8e71gxx.js";
|
|
13
13
|
const T = (e) => {
|
|
14
14
|
var t, r;
|
|
15
15
|
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()) ?? "" }) });
|
|
@@ -79,12 +79,12 @@ const T = (e) => {
|
|
|
79
79
|
expanding: {},
|
|
80
80
|
isFullScreen: !1
|
|
81
81
|
};
|
|
82
|
-
},
|
|
82
|
+
}, k = (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
|
+
}, P = (e, t) => {
|
|
88
88
|
const r = localStorage.getItem("BnfTable-SettingsMigration");
|
|
89
89
|
if (r) {
|
|
90
90
|
const a = JSON.parse(r);
|
|
@@ -104,17 +104,17 @@ const T = (e) => {
|
|
|
104
104
|
done: !0,
|
|
105
105
|
version: t
|
|
106
106
|
}));
|
|
107
|
-
},
|
|
107
|
+
}, V = ["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"];
|
|
108
108
|
export {
|
|
109
|
-
|
|
109
|
+
V as CommonLuminusIconsArray,
|
|
110
110
|
C as adjustBrightness,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
111
|
+
j as atobUtf8,
|
|
112
|
+
L as buildEmployeeNameString,
|
|
113
|
+
R as buildOrgUnitString,
|
|
114
|
+
k as buildTableSearchQuery,
|
|
115
115
|
z as buildVehicleNameString,
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
W as capitalizeFirstLetter,
|
|
117
|
+
$ as compareDate,
|
|
118
118
|
A as compareDateTime,
|
|
119
119
|
f as configToTanstackTableState,
|
|
120
120
|
v as dateValueFormat,
|
|
@@ -124,13 +124,13 @@ export {
|
|
|
124
124
|
U as extractFilename,
|
|
125
125
|
q as extractPermissionsFromResponse,
|
|
126
126
|
Y as fixNameIdNulls,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
X as formatDate,
|
|
128
|
+
Z as formatDateTime,
|
|
129
|
+
_ as formatFileSize,
|
|
130
130
|
Ce as generateApiPath,
|
|
131
131
|
H as getDateString,
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
K as getDaysDifference,
|
|
133
|
+
Q as getFirstDayOfMonth,
|
|
134
134
|
ee as getFirstDayOfOffsetMonth,
|
|
135
135
|
te as getFirstDayOfYear,
|
|
136
136
|
re as getLastDayOfMonth,
|
|
@@ -149,13 +149,13 @@ export {
|
|
|
149
149
|
ge as isValidDate,
|
|
150
150
|
de as joinStrings,
|
|
151
151
|
Me as limitNumber,
|
|
152
|
-
|
|
152
|
+
P as migrateBnfTableSettings,
|
|
153
153
|
fe as msToStartOfNextDay,
|
|
154
154
|
N as numFormat,
|
|
155
|
-
|
|
155
|
+
Ve as queryStorage,
|
|
156
156
|
pe as replaceNullValuesOnlyObjectsWithNulls,
|
|
157
157
|
M as responsePromiseWrapper,
|
|
158
|
-
|
|
158
|
+
ke as restoreLocalStorage,
|
|
159
159
|
Se as saveFile,
|
|
160
160
|
he as saveFileFromResponse,
|
|
161
161
|
be 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;
|