@natoora-libs/core 0.1.9 → 0.1.11
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/dist/{chunk-ZYZWAAFL.js → chunk-CKW5LT7K.js} +3 -68
- package/dist/chunk-CKW5LT7K.js.map +1 -0
- package/dist/components/index.cjs +32 -99
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +31 -33
- package/dist/components/index.js.map +1 -1
- package/dist/hooks/index.cjs +2 -41
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.cts +2 -6
- package/dist/hooks/index.d.ts +2 -6
- package/dist/hooks/index.js +3 -36
- package/dist/hooks/index.js.map +1 -1
- package/dist/providers/index.cjs +2 -67
- package/dist/providers/index.cjs.map +1 -1
- package/dist/providers/index.js +1 -1
- package/package.json +9 -5
- package/dist/chunk-ZYZWAAFL.js.map +0 -1
|
@@ -2,70 +2,6 @@
|
|
|
2
2
|
import { Backdrop, CircularProgress } from "@mui/material";
|
|
3
3
|
import { makeStyles } from "tss-react/mui";
|
|
4
4
|
|
|
5
|
-
// src/resources/styles/colors/darkPalette.ts
|
|
6
|
-
var darkPalette = {
|
|
7
|
-
// General colors
|
|
8
|
-
white: "#FFFFFF",
|
|
9
|
-
black: "#000000",
|
|
10
|
-
// Neutral
|
|
11
|
-
neutral50: "#1C1B1A",
|
|
12
|
-
neutral100: "#1F1F1F",
|
|
13
|
-
neutral150: "#262626",
|
|
14
|
-
neutral200: "#2E2E2E",
|
|
15
|
-
neutral250: "#383838",
|
|
16
|
-
neutral300: "#424242",
|
|
17
|
-
neutral400: "#4C4C4C",
|
|
18
|
-
neutral500: "#666666",
|
|
19
|
-
neutral600: "#808080",
|
|
20
|
-
neutral700: "#A3A3A3",
|
|
21
|
-
neutral750: "#B3B3B3",
|
|
22
|
-
neutral800: "#CCCCCC",
|
|
23
|
-
neutral900: "#F5F5F5",
|
|
24
|
-
// Input and contrast
|
|
25
|
-
contrast: "#FFFFFF",
|
|
26
|
-
constrastOpacity50: "rgba(255,255,255,0.5)",
|
|
27
|
-
// Icon and Material UI colors
|
|
28
|
-
iconSearch: "#B0B0B0",
|
|
29
|
-
default: "#444444",
|
|
30
|
-
muiPrimary: "#E9FB62",
|
|
31
|
-
muiPrimaryBlack: "#FFFFFF",
|
|
32
|
-
lightMuiPrimaryColorBackground: "#e9fb6214",
|
|
33
|
-
lightBlueBackground: "#e9fb6214",
|
|
34
|
-
muiPrimaryAlternate: "#07BAF1",
|
|
35
|
-
muiPrimaryHover: "#1890d5",
|
|
36
|
-
muiSecondary: "#DE5B99",
|
|
37
|
-
muiSecondaryAlternate: "#EC613C",
|
|
38
|
-
muiSuccess: "#66BB6A",
|
|
39
|
-
muiSuccessAlternate: "#81C784",
|
|
40
|
-
// Transparency variants
|
|
41
|
-
blackOpacity10: "inherit",
|
|
42
|
-
blackOpacity20: "inherit",
|
|
43
|
-
blackOpacity30: "inherit",
|
|
44
|
-
blackOpacity50: "inherit",
|
|
45
|
-
blackOpacity80: "inherit",
|
|
46
|
-
primaryOpacity10: "rgba(233, 251, 98, 0.10)",
|
|
47
|
-
primaryOpacity20: "rgba(233, 251, 98, 0.20)",
|
|
48
|
-
primaryOpacity30: "rgba(233, 251, 98, 0.30)",
|
|
49
|
-
secondaryAlternateOpacity30: "rgba(236, 97, 60, .3)",
|
|
50
|
-
blueOpacity08: "rgba(25, 118, 210, 0.08)",
|
|
51
|
-
whiteOpacity10: "rgba(255,255,255,0.1)",
|
|
52
|
-
whiteOpacity20: "rgba(255,255,255,0.2)",
|
|
53
|
-
whiteOpacity40: "rgba(255,255,255,0.4)",
|
|
54
|
-
// Table rows and top bar
|
|
55
|
-
topBar: "#2e3133",
|
|
56
|
-
// Button colors
|
|
57
|
-
// Round Button (default)
|
|
58
|
-
buttonHoverBackground: "rgba(255, 255, 255, 0.08)",
|
|
59
|
-
// Active Button
|
|
60
|
-
buttonActiveText: "#E9FB62",
|
|
61
|
-
// Contrast Button
|
|
62
|
-
buttonContrastBorder: "#CECECE",
|
|
63
|
-
buttonContrastText: "#CECECE",
|
|
64
|
-
// Error Button
|
|
65
|
-
error: "#EF5350"
|
|
66
|
-
};
|
|
67
|
-
var darkPalette_default = darkPalette;
|
|
68
|
-
|
|
69
5
|
// src/resources/styles/colors/lightPalette.ts
|
|
70
6
|
var lightPalette = {
|
|
71
7
|
// General colors
|
|
@@ -131,9 +67,8 @@ var lightPalette = {
|
|
|
131
67
|
var lightPalette_default = lightPalette;
|
|
132
68
|
|
|
133
69
|
// src/resources/styles/colors.ts
|
|
134
|
-
var
|
|
135
|
-
var
|
|
136
|
-
var palette = isDarkModeEnabled ? darkPalette_default : lightPalette_default;
|
|
70
|
+
var isDarkModeEnabled = false;
|
|
71
|
+
var palette = lightPalette_default;
|
|
137
72
|
var colors = {
|
|
138
73
|
white: palette.white,
|
|
139
74
|
black: palette.black,
|
|
@@ -272,4 +207,4 @@ export {
|
|
|
272
207
|
colors,
|
|
273
208
|
Loading_default
|
|
274
209
|
};
|
|
275
|
-
//# sourceMappingURL=chunk-
|
|
210
|
+
//# sourceMappingURL=chunk-CKW5LT7K.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/Loading/Loading.tsx","../src/resources/styles/colors/lightPalette.ts","../src/resources/styles/colors.ts"],"sourcesContent":["import { Backdrop, CircularProgress } from '@mui/material';\nimport { makeStyles } from 'tss-react/mui';\n\nimport { isDarkModeEnabled } from '@/resources/styles/colors';\n\nconst useStyles = makeStyles()(() => ({\n wrapper: {\n /**\n * MUI Dialogs have z-index = 1300\n */\n zIndex: 1301,\n backgroundColor: isDarkModeEnabled\n ? 'rgba(0, 0, 0, 0.5)'\n : 'rgba(255, 255, 255, 0.8)',\n },\n}));\n\ninterface ILoading {\n isLoading: boolean;\n}\n\nconst Loading = ({ isLoading }: ILoading) => {\n const { classes } = useStyles();\n\n return (\n <Backdrop\n aria-hidden={!isLoading}\n className={classes.wrapper}\n open={isLoading}\n data-testid=\"backdrop-loading\"\n >\n <CircularProgress color=\"primary\" />\n </Backdrop>\n );\n};\n\nexport default Loading;\n","import { ThemePalette } from './interface';\n\n/**\n * Define the light palette using the ThemePalette interface.\n */\nconst lightPalette: ThemePalette = {\n // General colors\n white: '#FFFFFF',\n black: '#000000',\n\n // Neutral\n neutral50: '#F0EBE6',\n neutral100: '#FAFAFA',\n neutral150: '#F4F4F4',\n neutral200: '#F1F1F1',\n neutral250: '#ECECEC',\n neutral300: '#E0E0E0',\n neutral400: '#C8C8C8',\n neutral500: '#BDBDBD',\n neutral600: '#999999',\n neutral700: '#878787',\n neutral750: '#6c6c6c',\n neutral800: '#555555',\n neutral900: '#4D4D4D',\n\n // Input and contrast\n contrast: '#000000',\n constrastOpacity50: 'rgba(0,0,0,0.5)',\n\n // Icon and Material UI colors\n iconSearch: '#606060',\n default: '#E0E0E0',\n muiPrimary: '#0781CE',\n muiPrimaryBlack: '#000000',\n lightMuiPrimaryColorBackground: '#eff4fb',\n lightBlueBackground: '#eff4fb',\n muiPrimaryAlternate: '#07BAF1',\n muiPrimaryHover: '#1565c0',\n muiSecondary: '#A42966',\n muiSecondaryAlternate: '#EC613C',\n muiSuccess: '#4caf50',\n muiSuccessAlternate: '#357a38',\n\n // Transparency variants\n blackOpacity10: 'rgba(0,0,0,0.1)',\n blackOpacity20: 'rgba(0,0,0,0.2)',\n blackOpacity30: 'rgba(0,0,0,0.3)',\n blackOpacity50: 'rgba(0,0,0,0.5)',\n blackOpacity80: 'rgba(0,0,0,0.8)',\n primaryOpacity10: 'rgba(7, 129, 206, 0.10)',\n primaryOpacity20: 'rgba(7, 129, 206, 0.20)',\n primaryOpacity30: 'rgba(7, 129, 206, 0.30)',\n secondaryAlternateOpacity30: 'rgba(236, 97, 60, 0.3)',\n blueOpacity08: 'rgba(25, 118, 210, 0.08)',\n whiteOpacity10: 'rgba(255,255,255,0.1)',\n whiteOpacity20: 'rgba(255,255,255,0.2)',\n whiteOpacity40: 'rgba(255,255,255,0.4)',\n\n // Table rows and top bar\n topBar: '#2e3133',\n\n // Button colors\n // Round Button (default)\n buttonHoverBackground: 'rgba(0, 0, 0, 0.04)',\n // Active Button\n buttonActiveText: '#0781CE',\n // Contrast Button\n buttonContrastBorder: '#CECECE',\n buttonContrastText: '#CECECE',\n\n // Error Button\n error: '#D32F2F',\n};\n\nexport default lightPalette;\n","import lightPalette from './colors/lightPalette';\n\nexport const isDarkModeEnabled = false;\nconst palette = lightPalette;\n\ninterface Colors {\n // General colors\n white: string;\n black: string;\n\n // Neutral\n neutral50: string;\n neutral100: string;\n neutral150: string;\n neutral200: string;\n neutral250: string;\n neutral300: string;\n neutral400: string;\n neutral500: string;\n neutral600: string;\n neutral700: string;\n neutral750: string;\n neutral800: string;\n neutral900: string;\n\n // Input and contrast\n contrast: string;\n constrastOpacity50: string;\n\n // Icon and Material UI colors\n iconSearch: string;\n default: string;\n muiPrimary: string;\n muiPrimaryBlack: string;\n lightMuiPrimaryColorBackground: string;\n lightBlueBackground: string;\n muiPrimaryAlternate: string;\n muiPrimaryHover: string;\n muiSecondary: string;\n muiSecondaryAlternate: string;\n muiSuccess: string;\n muiSuccessAlternate: string;\n\n // Transparency\n blackOpacity10: string;\n blackOpacity20: string;\n blackOpacity30: string;\n blackOpacity50: string;\n blackOpacity80: string;\n primaryOpacity10: string;\n primaryOpacity20: string;\n primaryOpacity30: string;\n secondaryAlternateOpacity30: string;\n blueOpacity08: string;\n whiteOpacity10: string;\n whiteOpacity20: string;\n whiteOpacity40: string;\n\n // Table rows and top bar\n topBar: string;\n // Error Button\n error: string;\n\n roundButton: {\n default: {\n border: string;\n color: string;\n disabled: {\n color: string;\n };\n hover: {\n background: string;\n };\n };\n filled: {\n background: string;\n color: string;\n hover: {\n background: string;\n };\n };\n active: {\n color: string;\n hover: {\n background: string;\n };\n };\n contrast: {\n border: string;\n color: string;\n hover: {\n background: string;\n };\n };\n tableButton: {\n color: string;\n };\n focused: {\n background: string;\n color: string;\n hover: {\n background: string;\n };\n };\n error: string;\n };\n\n movementCard: {\n default: {\n background: string;\n };\n disabled: {\n background: string;\n };\n pill: {\n color: string;\n background: string;\n };\n };\n\n rowProductCard: {\n locationSubtitle: string;\n };\n}\n\nexport const colors: Colors = {\n white: palette.white,\n black: palette.black,\n\n neutral50: palette.neutral50,\n neutral100: palette.neutral100,\n neutral150: palette.neutral150,\n neutral200: palette.neutral200,\n neutral250: palette.neutral250,\n neutral300: palette.neutral300,\n neutral400: palette.neutral400,\n neutral500: palette.neutral500,\n neutral600: palette.neutral600,\n neutral700: palette.neutral700,\n neutral750: palette.neutral750,\n neutral800: palette.neutral800,\n neutral900: palette.neutral900,\n\n // Input and contrast\n contrast: palette.contrast,\n constrastOpacity50: palette.constrastOpacity50,\n\n iconSearch: palette.iconSearch,\n default: palette.default,\n muiPrimary: palette.muiPrimary,\n muiPrimaryBlack: palette.muiPrimaryBlack,\n lightMuiPrimaryColorBackground: palette.lightMuiPrimaryColorBackground,\n lightBlueBackground: palette.lightBlueBackground,\n muiPrimaryAlternate: palette.muiPrimaryAlternate,\n muiPrimaryHover: palette.muiPrimaryHover,\n muiSecondary: palette.muiSecondary,\n muiSecondaryAlternate: palette.muiSecondaryAlternate,\n muiSuccess: palette.muiSuccess,\n muiSuccessAlternate: palette.muiSuccessAlternate,\n\n // Transparency\n blackOpacity10: palette.blackOpacity10,\n blackOpacity20: palette.blackOpacity20,\n blackOpacity30: palette.blackOpacity30,\n blackOpacity50: palette.blackOpacity50,\n blackOpacity80: palette.blackOpacity80,\n primaryOpacity10: palette.primaryOpacity10,\n primaryOpacity20: palette.primaryOpacity20,\n primaryOpacity30: palette.primaryOpacity30,\n secondaryAlternateOpacity30: palette.secondaryAlternateOpacity30,\n blueOpacity08: palette.blueOpacity08,\n whiteOpacity10: palette.whiteOpacity10,\n whiteOpacity20: palette.whiteOpacity20,\n whiteOpacity40: palette.whiteOpacity40,\n\n topBar: palette.topBar,\n error: palette.error,\n\n roundButton: {\n default: {\n border: palette.neutral600,\n color: palette.contrast,\n disabled: {\n color: palette.blackOpacity20,\n },\n hover: {\n background: palette.buttonHoverBackground,\n },\n },\n filled: {\n background: palette.neutral100,\n color: palette.blackOpacity80,\n hover: {\n background: palette.neutral250,\n },\n },\n active: {\n color: palette.buttonActiveText,\n hover: {\n background: palette.primaryOpacity20,\n },\n },\n contrast: {\n border: palette.buttonContrastBorder,\n color: palette.buttonContrastText,\n hover: {\n background: palette.whiteOpacity10,\n },\n },\n tableButton: {\n color: palette.neutral800,\n },\n focused: {\n background: palette.primaryOpacity20,\n color: palette.buttonActiveText,\n hover: {\n background: palette.primaryOpacity30,\n },\n },\n error: palette.error,\n },\n\n movementCard: {\n default: {\n background: palette.neutral100,\n },\n disabled: {\n background: palette.neutral250,\n },\n pill: {\n color: palette.neutral200,\n background: palette.neutral600,\n },\n },\n\n rowProductCard: {\n locationSubtitle: palette.neutral800,\n },\n};\n"],"mappings":";AAAA,SAAS,UAAU,wBAAwB;AAC3C,SAAS,kBAAkB;;;ACI3B,IAAM,eAA6B;AAAA;AAAA,EAEjC,OAAO;AAAA,EACP,OAAO;AAAA;AAAA,EAGP,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA;AAAA,EAGZ,UAAU;AAAA,EACV,oBAAoB;AAAA;AAAA,EAGpB,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,iBAAiB;AAAA,EACjB,gCAAgC;AAAA,EAChC,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,uBAAuB;AAAA,EACvB,YAAY;AAAA,EACZ,qBAAqB;AAAA;AAAA,EAGrB,gBAAgB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AAA,EAEA,cAAc;AAAA,IACZ,SAAS;AAAA,MACP,YAAY,QAAQ;AAAA,IACtB;AAAA,IACA,UAAU;AAAA,MACR,YAAY,QAAQ;AAAA,IACtB;AAAA,IACA,MAAM;AAAA,MACJ,OAAO,QAAQ;AAAA,MACf,YAAY,QAAQ;AAAA,IACtB;AAAA,EACF;AAAA,EAEA,gBAAgB;AAAA,IACd,kBAAkB,QAAQ;AAAA,EAC5B;AACF;;;AF/MM;AA1BN,IAAM,YAAY,WAAW,EAAE,OAAO;AAAA,EACpC,SAAS;AAAA;AAAA;AAAA;AAAA,IAIP,QAAQ;AAAA,IACR,iBAAiB,oBACb,uBACA;AAAA,EACN;AACF,EAAE;AAMF,IAAM,UAAU,CAAC,EAAE,UAAU,MAAgB;AAC3C,QAAM,EAAE,QAAQ,IAAI,UAAU;AAE9B,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAa,CAAC;AAAA,MACd,WAAW,QAAQ;AAAA,MACnB,MAAM;AAAA,MACN,eAAY;AAAA,MAEZ,8BAAC,oBAAiB,OAAM,WAAU;AAAA;AAAA,EACpC;AAEJ;AAEA,IAAO,kBAAQ;","names":[]}
|
|
@@ -29,9 +29,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
));
|
|
30
30
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
31
31
|
|
|
32
|
-
// node_modules/lodash/isObject.js
|
|
32
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js
|
|
33
33
|
var require_isObject = __commonJS({
|
|
34
|
-
"node_modules/lodash/isObject.js"(exports2, module2) {
|
|
34
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js"(exports2, module2) {
|
|
35
35
|
function isObject(value) {
|
|
36
36
|
var type = typeof value;
|
|
37
37
|
return value != null && (type == "object" || type == "function");
|
|
@@ -40,17 +40,17 @@ var require_isObject = __commonJS({
|
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
// node_modules/lodash/_freeGlobal.js
|
|
43
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js
|
|
44
44
|
var require_freeGlobal = __commonJS({
|
|
45
|
-
"node_modules/lodash/_freeGlobal.js"(exports2, module2) {
|
|
45
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js"(exports2, module2) {
|
|
46
46
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
47
47
|
module2.exports = freeGlobal;
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
// node_modules/lodash/_root.js
|
|
51
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js
|
|
52
52
|
var require_root = __commonJS({
|
|
53
|
-
"node_modules/lodash/_root.js"(exports2, module2) {
|
|
53
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js"(exports2, module2) {
|
|
54
54
|
var freeGlobal = require_freeGlobal();
|
|
55
55
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
56
56
|
var root = freeGlobal || freeSelf || Function("return this")();
|
|
@@ -58,9 +58,9 @@ var require_root = __commonJS({
|
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
// node_modules/lodash/now.js
|
|
61
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/now.js
|
|
62
62
|
var require_now = __commonJS({
|
|
63
|
-
"node_modules/lodash/now.js"(exports2, module2) {
|
|
63
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/now.js"(exports2, module2) {
|
|
64
64
|
var root = require_root();
|
|
65
65
|
var now = function() {
|
|
66
66
|
return root.Date.now();
|
|
@@ -69,9 +69,9 @@ var require_now = __commonJS({
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
// node_modules/lodash/_trimmedEndIndex.js
|
|
72
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js
|
|
73
73
|
var require_trimmedEndIndex = __commonJS({
|
|
74
|
-
"node_modules/lodash/_trimmedEndIndex.js"(exports2, module2) {
|
|
74
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js"(exports2, module2) {
|
|
75
75
|
var reWhitespace = /\s/;
|
|
76
76
|
function trimmedEndIndex(string) {
|
|
77
77
|
var index = string.length;
|
|
@@ -83,9 +83,9 @@ var require_trimmedEndIndex = __commonJS({
|
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
85
|
|
|
86
|
-
// node_modules/lodash/_baseTrim.js
|
|
86
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTrim.js
|
|
87
87
|
var require_baseTrim = __commonJS({
|
|
88
|
-
"node_modules/lodash/_baseTrim.js"(exports2, module2) {
|
|
88
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTrim.js"(exports2, module2) {
|
|
89
89
|
var trimmedEndIndex = require_trimmedEndIndex();
|
|
90
90
|
var reTrimStart = /^\s+/;
|
|
91
91
|
function baseTrim(string) {
|
|
@@ -95,18 +95,18 @@ var require_baseTrim = __commonJS({
|
|
|
95
95
|
}
|
|
96
96
|
});
|
|
97
97
|
|
|
98
|
-
// node_modules/lodash/_Symbol.js
|
|
98
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js
|
|
99
99
|
var require_Symbol = __commonJS({
|
|
100
|
-
"node_modules/lodash/_Symbol.js"(exports2, module2) {
|
|
100
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js"(exports2, module2) {
|
|
101
101
|
var root = require_root();
|
|
102
102
|
var Symbol2 = root.Symbol;
|
|
103
103
|
module2.exports = Symbol2;
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
106
|
|
|
107
|
-
// node_modules/lodash/_getRawTag.js
|
|
107
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js
|
|
108
108
|
var require_getRawTag = __commonJS({
|
|
109
|
-
"node_modules/lodash/_getRawTag.js"(exports2, module2) {
|
|
109
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js"(exports2, module2) {
|
|
110
110
|
var Symbol2 = require_Symbol();
|
|
111
111
|
var objectProto = Object.prototype;
|
|
112
112
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
@@ -133,9 +133,9 @@ var require_getRawTag = __commonJS({
|
|
|
133
133
|
}
|
|
134
134
|
});
|
|
135
135
|
|
|
136
|
-
// node_modules/lodash/_objectToString.js
|
|
136
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js
|
|
137
137
|
var require_objectToString = __commonJS({
|
|
138
|
-
"node_modules/lodash/_objectToString.js"(exports2, module2) {
|
|
138
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js"(exports2, module2) {
|
|
139
139
|
var objectProto = Object.prototype;
|
|
140
140
|
var nativeObjectToString = objectProto.toString;
|
|
141
141
|
function objectToString(value) {
|
|
@@ -145,9 +145,9 @@ var require_objectToString = __commonJS({
|
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
// node_modules/lodash/_baseGetTag.js
|
|
148
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js
|
|
149
149
|
var require_baseGetTag = __commonJS({
|
|
150
|
-
"node_modules/lodash/_baseGetTag.js"(exports2, module2) {
|
|
150
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js"(exports2, module2) {
|
|
151
151
|
var Symbol2 = require_Symbol();
|
|
152
152
|
var getRawTag = require_getRawTag();
|
|
153
153
|
var objectToString = require_objectToString();
|
|
@@ -164,9 +164,9 @@ var require_baseGetTag = __commonJS({
|
|
|
164
164
|
}
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
// node_modules/lodash/isObjectLike.js
|
|
167
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js
|
|
168
168
|
var require_isObjectLike = __commonJS({
|
|
169
|
-
"node_modules/lodash/isObjectLike.js"(exports2, module2) {
|
|
169
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js"(exports2, module2) {
|
|
170
170
|
function isObjectLike(value) {
|
|
171
171
|
return value != null && typeof value == "object";
|
|
172
172
|
}
|
|
@@ -174,9 +174,9 @@ var require_isObjectLike = __commonJS({
|
|
|
174
174
|
}
|
|
175
175
|
});
|
|
176
176
|
|
|
177
|
-
// node_modules/lodash/isSymbol.js
|
|
177
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js
|
|
178
178
|
var require_isSymbol = __commonJS({
|
|
179
|
-
"node_modules/lodash/isSymbol.js"(exports2, module2) {
|
|
179
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js"(exports2, module2) {
|
|
180
180
|
var baseGetTag = require_baseGetTag();
|
|
181
181
|
var isObjectLike = require_isObjectLike();
|
|
182
182
|
var symbolTag = "[object Symbol]";
|
|
@@ -187,9 +187,9 @@ var require_isSymbol = __commonJS({
|
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
189
|
|
|
190
|
-
// node_modules/lodash/toNumber.js
|
|
190
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toNumber.js
|
|
191
191
|
var require_toNumber = __commonJS({
|
|
192
|
-
"node_modules/lodash/toNumber.js"(exports2, module2) {
|
|
192
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toNumber.js"(exports2, module2) {
|
|
193
193
|
var baseTrim = require_baseTrim();
|
|
194
194
|
var isObject = require_isObject();
|
|
195
195
|
var isSymbol = require_isSymbol();
|
|
@@ -220,9 +220,9 @@ var require_toNumber = __commonJS({
|
|
|
220
220
|
}
|
|
221
221
|
});
|
|
222
222
|
|
|
223
|
-
// node_modules/lodash/debounce.js
|
|
223
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/debounce.js
|
|
224
224
|
var require_debounce = __commonJS({
|
|
225
|
-
"node_modules/lodash/debounce.js"(exports2, module2) {
|
|
225
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/debounce.js"(exports2, module2) {
|
|
226
226
|
var isObject = require_isObject();
|
|
227
227
|
var now = require_now();
|
|
228
228
|
var toNumber = require_toNumber();
|
|
@@ -525,70 +525,6 @@ var AlertDialogFullScreen_default = AlertDialogFullScreen;
|
|
|
525
525
|
var import_material4 = require("@mui/material");
|
|
526
526
|
var import_mui2 = require("tss-react/mui");
|
|
527
527
|
|
|
528
|
-
// src/resources/styles/colors/darkPalette.ts
|
|
529
|
-
var darkPalette = {
|
|
530
|
-
// General colors
|
|
531
|
-
white: "#FFFFFF",
|
|
532
|
-
black: "#000000",
|
|
533
|
-
// Neutral
|
|
534
|
-
neutral50: "#1C1B1A",
|
|
535
|
-
neutral100: "#1F1F1F",
|
|
536
|
-
neutral150: "#262626",
|
|
537
|
-
neutral200: "#2E2E2E",
|
|
538
|
-
neutral250: "#383838",
|
|
539
|
-
neutral300: "#424242",
|
|
540
|
-
neutral400: "#4C4C4C",
|
|
541
|
-
neutral500: "#666666",
|
|
542
|
-
neutral600: "#808080",
|
|
543
|
-
neutral700: "#A3A3A3",
|
|
544
|
-
neutral750: "#B3B3B3",
|
|
545
|
-
neutral800: "#CCCCCC",
|
|
546
|
-
neutral900: "#F5F5F5",
|
|
547
|
-
// Input and contrast
|
|
548
|
-
contrast: "#FFFFFF",
|
|
549
|
-
constrastOpacity50: "rgba(255,255,255,0.5)",
|
|
550
|
-
// Icon and Material UI colors
|
|
551
|
-
iconSearch: "#B0B0B0",
|
|
552
|
-
default: "#444444",
|
|
553
|
-
muiPrimary: "#E9FB62",
|
|
554
|
-
muiPrimaryBlack: "#FFFFFF",
|
|
555
|
-
lightMuiPrimaryColorBackground: "#e9fb6214",
|
|
556
|
-
lightBlueBackground: "#e9fb6214",
|
|
557
|
-
muiPrimaryAlternate: "#07BAF1",
|
|
558
|
-
muiPrimaryHover: "#1890d5",
|
|
559
|
-
muiSecondary: "#DE5B99",
|
|
560
|
-
muiSecondaryAlternate: "#EC613C",
|
|
561
|
-
muiSuccess: "#66BB6A",
|
|
562
|
-
muiSuccessAlternate: "#81C784",
|
|
563
|
-
// Transparency variants
|
|
564
|
-
blackOpacity10: "inherit",
|
|
565
|
-
blackOpacity20: "inherit",
|
|
566
|
-
blackOpacity30: "inherit",
|
|
567
|
-
blackOpacity50: "inherit",
|
|
568
|
-
blackOpacity80: "inherit",
|
|
569
|
-
primaryOpacity10: "rgba(233, 251, 98, 0.10)",
|
|
570
|
-
primaryOpacity20: "rgba(233, 251, 98, 0.20)",
|
|
571
|
-
primaryOpacity30: "rgba(233, 251, 98, 0.30)",
|
|
572
|
-
secondaryAlternateOpacity30: "rgba(236, 97, 60, .3)",
|
|
573
|
-
blueOpacity08: "rgba(25, 118, 210, 0.08)",
|
|
574
|
-
whiteOpacity10: "rgba(255,255,255,0.1)",
|
|
575
|
-
whiteOpacity20: "rgba(255,255,255,0.2)",
|
|
576
|
-
whiteOpacity40: "rgba(255,255,255,0.4)",
|
|
577
|
-
// Table rows and top bar
|
|
578
|
-
topBar: "#2e3133",
|
|
579
|
-
// Button colors
|
|
580
|
-
// Round Button (default)
|
|
581
|
-
buttonHoverBackground: "rgba(255, 255, 255, 0.08)",
|
|
582
|
-
// Active Button
|
|
583
|
-
buttonActiveText: "#E9FB62",
|
|
584
|
-
// Contrast Button
|
|
585
|
-
buttonContrastBorder: "#CECECE",
|
|
586
|
-
buttonContrastText: "#CECECE",
|
|
587
|
-
// Error Button
|
|
588
|
-
error: "#EF5350"
|
|
589
|
-
};
|
|
590
|
-
var darkPalette_default = darkPalette;
|
|
591
|
-
|
|
592
528
|
// src/resources/styles/colors/lightPalette.ts
|
|
593
529
|
var lightPalette = {
|
|
594
530
|
// General colors
|
|
@@ -654,9 +590,8 @@ var lightPalette = {
|
|
|
654
590
|
var lightPalette_default = lightPalette;
|
|
655
591
|
|
|
656
592
|
// src/resources/styles/colors.ts
|
|
657
|
-
var
|
|
658
|
-
var
|
|
659
|
-
var palette = isDarkModeEnabled ? darkPalette_default : lightPalette_default;
|
|
593
|
+
var isDarkModeEnabled = false;
|
|
594
|
+
var palette = lightPalette_default;
|
|
660
595
|
var colors = {
|
|
661
596
|
white: palette.white,
|
|
662
597
|
black: palette.black,
|
|
@@ -943,7 +878,7 @@ var ExtendedButton = ({
|
|
|
943
878
|
buttonType = "button",
|
|
944
879
|
color = "noOutline",
|
|
945
880
|
disabled = false,
|
|
946
|
-
href
|
|
881
|
+
href,
|
|
947
882
|
tooltip = "",
|
|
948
883
|
component = "button",
|
|
949
884
|
type,
|
|
@@ -980,7 +915,7 @@ var ExtendedButton = ({
|
|
|
980
915
|
component,
|
|
981
916
|
"data-testid": copy ? `extended-button-${copy.toLowerCase()}` : "extended-button",
|
|
982
917
|
disabled,
|
|
983
|
-
href,
|
|
918
|
+
href: href ? href : void 0,
|
|
984
919
|
onClick,
|
|
985
920
|
type: buttonType,
|
|
986
921
|
variant,
|
|
@@ -6032,8 +5967,6 @@ var useStyles38 = (0, import_mui43.makeStyles)()((theme) => ({
|
|
|
6032
5967
|
}
|
|
6033
5968
|
},
|
|
6034
5969
|
wrapper: {
|
|
6035
|
-
overflow: "hidden",
|
|
6036
|
-
maxHeight: 728,
|
|
6037
5970
|
height: "100%",
|
|
6038
5971
|
backgroundColor: colors.neutral100
|
|
6039
5972
|
},
|