@xelto.npm/xc2-lib 0.0.49 → 0.0.50
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 +70 -70
- package/dist/cjs/index.js +209 -25
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/index.d.ts +2 -0
- package/dist/cjs/types/components/modal/ModalComponent.d.ts +4 -0
- package/dist/cjs/types/components/modal/ModalProps.d.ts +12 -0
- package/dist/cjs/types/components/modal/index.d.ts +1 -0
- package/dist/cjs/types/components/moduleTile/ModuleTileComponent.d.ts +4 -0
- package/dist/cjs/types/components/moduleTile/ModuleTileProps.d.ts +7 -0
- package/dist/cjs/types/components/moduleTile/index.d.ts +1 -0
- package/dist/esm/index.js +208 -26
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/index.d.ts +2 -0
- package/dist/esm/types/components/modal/ModalComponent.d.ts +4 -0
- package/dist/esm/types/components/modal/ModalProps.d.ts +12 -0
- package/dist/esm/types/components/modal/index.d.ts +1 -0
- package/dist/esm/types/components/moduleTile/ModuleTileComponent.d.ts +4 -0
- package/dist/esm/types/components/moduleTile/ModuleTileProps.d.ts +7 -0
- package/dist/esm/types/components/moduleTile/index.d.ts +1 -0
- package/dist/index.d.ts +24 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
# Getting Started with Create React App
|
|
2
|
-
|
|
3
|
-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
|
4
|
-
|
|
5
|
-
## Available Scripts
|
|
6
|
-
|
|
7
|
-
In the project directory, you can run:
|
|
8
|
-
|
|
9
|
-
### `npm start`
|
|
10
|
-
|
|
11
|
-
Runs the app in the development mode.\
|
|
12
|
-
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
|
|
13
|
-
|
|
14
|
-
The page will reload when you make changes.\
|
|
15
|
-
You may also see any lint errors in the console.
|
|
16
|
-
|
|
17
|
-
### `npm test`
|
|
18
|
-
|
|
19
|
-
Launches the test runner in the interactive watch mode.\
|
|
20
|
-
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
|
21
|
-
|
|
22
|
-
### `npm run build`
|
|
23
|
-
|
|
24
|
-
Builds the app for production to the `build` folder.\
|
|
25
|
-
It correctly bundles React in production mode and optimizes the build for the best performance.
|
|
26
|
-
|
|
27
|
-
The build is minified and the filenames include the hashes.\
|
|
28
|
-
Your app is ready to be deployed!
|
|
29
|
-
|
|
30
|
-
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
|
31
|
-
|
|
32
|
-
### `npm run eject`
|
|
33
|
-
|
|
34
|
-
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
|
|
35
|
-
|
|
36
|
-
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
|
37
|
-
|
|
38
|
-
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
|
|
39
|
-
|
|
40
|
-
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
|
|
41
|
-
|
|
42
|
-
## Learn More
|
|
43
|
-
|
|
44
|
-
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
|
45
|
-
|
|
46
|
-
To learn React, check out the [React documentation](https://reactjs.org/).
|
|
47
|
-
|
|
48
|
-
### Code Splitting
|
|
49
|
-
|
|
50
|
-
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
|
|
51
|
-
|
|
52
|
-
### Analyzing the Bundle Size
|
|
53
|
-
|
|
54
|
-
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
|
|
55
|
-
|
|
56
|
-
### Making a Progressive Web App
|
|
57
|
-
|
|
58
|
-
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
|
|
59
|
-
|
|
60
|
-
### Advanced Configuration
|
|
61
|
-
|
|
62
|
-
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
|
|
63
|
-
|
|
64
|
-
### Deployment
|
|
65
|
-
|
|
66
|
-
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
|
|
67
|
-
|
|
68
|
-
### `npm run build` fails to minify
|
|
69
|
-
|
|
70
|
-
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
|
|
1
|
+
# Getting Started with Create React App
|
|
2
|
+
|
|
3
|
+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
|
4
|
+
|
|
5
|
+
## Available Scripts
|
|
6
|
+
|
|
7
|
+
In the project directory, you can run:
|
|
8
|
+
|
|
9
|
+
### `npm start`
|
|
10
|
+
|
|
11
|
+
Runs the app in the development mode.\
|
|
12
|
+
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
|
|
13
|
+
|
|
14
|
+
The page will reload when you make changes.\
|
|
15
|
+
You may also see any lint errors in the console.
|
|
16
|
+
|
|
17
|
+
### `npm test`
|
|
18
|
+
|
|
19
|
+
Launches the test runner in the interactive watch mode.\
|
|
20
|
+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
|
21
|
+
|
|
22
|
+
### `npm run build`
|
|
23
|
+
|
|
24
|
+
Builds the app for production to the `build` folder.\
|
|
25
|
+
It correctly bundles React in production mode and optimizes the build for the best performance.
|
|
26
|
+
|
|
27
|
+
The build is minified and the filenames include the hashes.\
|
|
28
|
+
Your app is ready to be deployed!
|
|
29
|
+
|
|
30
|
+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
|
31
|
+
|
|
32
|
+
### `npm run eject`
|
|
33
|
+
|
|
34
|
+
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
|
|
35
|
+
|
|
36
|
+
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
|
37
|
+
|
|
38
|
+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
|
|
39
|
+
|
|
40
|
+
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
|
|
41
|
+
|
|
42
|
+
## Learn More
|
|
43
|
+
|
|
44
|
+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
|
45
|
+
|
|
46
|
+
To learn React, check out the [React documentation](https://reactjs.org/).
|
|
47
|
+
|
|
48
|
+
### Code Splitting
|
|
49
|
+
|
|
50
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
|
|
51
|
+
|
|
52
|
+
### Analyzing the Bundle Size
|
|
53
|
+
|
|
54
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
|
|
55
|
+
|
|
56
|
+
### Making a Progressive Web App
|
|
57
|
+
|
|
58
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
|
|
59
|
+
|
|
60
|
+
### Advanced Configuration
|
|
61
|
+
|
|
62
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
|
|
63
|
+
|
|
64
|
+
### Deployment
|
|
65
|
+
|
|
66
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
|
|
67
|
+
|
|
68
|
+
### `npm run build` fails to minify
|
|
69
|
+
|
|
70
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
|
package/dist/cjs/index.js
CHANGED
|
@@ -36359,11 +36359,10 @@ process.env.NODE_ENV !== "production" ? Checkbox$1.propTypes /* remove-proptypes
|
|
|
36359
36359
|
*/
|
|
36360
36360
|
value: propTypes.exports.any
|
|
36361
36361
|
} : void 0;
|
|
36362
|
-
var Checkbox$2 = Checkbox$1;
|
|
36363
36362
|
|
|
36364
36363
|
var Checkbox = /*#__PURE__*/Object.freeze({
|
|
36365
36364
|
__proto__: null,
|
|
36366
|
-
default: Checkbox$
|
|
36365
|
+
default: Checkbox$1,
|
|
36367
36366
|
checkboxClasses: checkboxClasses,
|
|
36368
36367
|
getCheckboxUtilityClass: getCheckboxUtilityClass
|
|
36369
36368
|
});
|
|
@@ -36479,10 +36478,11 @@ process.env.NODE_ENV !== "production" ? FormGroup$1.propTypes /* remove-proptype
|
|
|
36479
36478
|
*/
|
|
36480
36479
|
sx: propTypes.exports.oneOfType([propTypes.exports.arrayOf(propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.object, propTypes.exports.bool])), propTypes.exports.func, propTypes.exports.object])
|
|
36481
36480
|
} : void 0;
|
|
36481
|
+
var FormGroup$2 = FormGroup$1;
|
|
36482
36482
|
|
|
36483
36483
|
var FormGroup = /*#__PURE__*/Object.freeze({
|
|
36484
36484
|
__proto__: null,
|
|
36485
|
-
default: FormGroup$
|
|
36485
|
+
default: FormGroup$2,
|
|
36486
36486
|
formGroupClasses: formGroupClasses,
|
|
36487
36487
|
getFormGroupUtilityClass: getFormGroupUtilityClass
|
|
36488
36488
|
});
|
|
@@ -37061,7 +37061,7 @@ var StyledFormControlLabel = styled(FormControlLabel$1)(function (_a) { return (
|
|
|
37061
37061
|
}
|
|
37062
37062
|
}
|
|
37063
37063
|
}); });
|
|
37064
|
-
var StyledCheckbox$1 = styled(Checkbox$
|
|
37064
|
+
var StyledCheckbox$1 = styled(Checkbox$1)(function () {
|
|
37065
37065
|
return ({
|
|
37066
37066
|
'svg': {
|
|
37067
37067
|
width: 20,
|
|
@@ -37131,7 +37131,7 @@ var StyledCheckbox$1 = styled(Checkbox$2)(function () {
|
|
|
37131
37131
|
});
|
|
37132
37132
|
var CheckboxComponent = function (_a) {
|
|
37133
37133
|
var disabled = _a.disabled, label = _a.label, checked = _a.checked, onChange = _a.onChange, indeterminate = _a.indeterminate, forwardedRef = _a.forwardedRef, props = __rest$1(_a, ["disabled", "label", "checked", "onChange", "indeterminate", "forwardedRef"]);
|
|
37134
|
-
return (jsxRuntime.exports.jsx(FormGroup$
|
|
37134
|
+
return (jsxRuntime.exports.jsx(FormGroup$2, { children: jsxRuntime.exports.jsx(StyledFormControlLabel, __assign({}, props, { ref: forwardedRef, classes: { disabled: 'disabled' }, control: jsxRuntime.exports.jsx(StyledCheckbox$1, { indeterminate: indeterminate, checked: checked, onChange: onChange, disabled: disabled, classes: { disabled: 'disabled' }, icon: jsxRuntime.exports.jsx(Icon$1, { iconName: "icon_checkbox_default", color: disabled ? 'disabled' : 'red-navy', style: { display: 'flex' } }), checkedIcon: jsxRuntime.exports.jsx(Icon$1, { iconName: "icon_checkbox_checked", color: disabled ? 'disabled' : 'red-navy', style: { display: 'flex' } }), indeterminateIcon: jsxRuntime.exports.jsx(Icon$1, { iconName: "icon_checkbox_indeterminate", color: disabled ? 'disabled' : 'red-navy', style: { display: 'flex' } }) }), label: label })) }));
|
|
37135
37135
|
};
|
|
37136
37136
|
|
|
37137
37137
|
function GlobalStyles$2(props) {
|
|
@@ -40375,11 +40375,10 @@ process.env.NODE_ENV !== "production" ? Paper$1.propTypes /* remove-proptypes */
|
|
|
40375
40375
|
*/
|
|
40376
40376
|
variant: propTypes.exports /* @typescript-to-proptypes-ignore */.oneOfType([propTypes.exports.oneOf(['elevation', 'outlined']), propTypes.exports.string])
|
|
40377
40377
|
} : void 0;
|
|
40378
|
-
var Paper$2 = Paper$1;
|
|
40379
40378
|
|
|
40380
40379
|
var Paper = /*#__PURE__*/Object.freeze({
|
|
40381
40380
|
__proto__: null,
|
|
40382
|
-
default: Paper$
|
|
40381
|
+
default: Paper$1,
|
|
40383
40382
|
paperClasses: paperClasses,
|
|
40384
40383
|
getPaperUtilityClass: getPaperUtilityClass
|
|
40385
40384
|
});
|
|
@@ -41354,7 +41353,7 @@ const PopoverRoot = styled(Modal, {
|
|
|
41354
41353
|
slot: 'Root',
|
|
41355
41354
|
overridesResolver: (props, styles) => styles.root
|
|
41356
41355
|
})({});
|
|
41357
|
-
const PopoverPaper = styled(Paper$
|
|
41356
|
+
const PopoverPaper = styled(Paper$1, {
|
|
41358
41357
|
name: 'MuiPopover',
|
|
41359
41358
|
slot: 'Paper',
|
|
41360
41359
|
overridesResolver: (props, styles) => styles.paper
|
|
@@ -41799,7 +41798,7 @@ const MenuRoot = styled(Popover$2, {
|
|
|
41799
41798
|
slot: 'Root',
|
|
41800
41799
|
overridesResolver: (props, styles) => styles.root
|
|
41801
41800
|
})({});
|
|
41802
|
-
const MenuPaper = styled(Paper$
|
|
41801
|
+
const MenuPaper = styled(Paper$1, {
|
|
41803
41802
|
name: 'MuiMenu',
|
|
41804
41803
|
slot: 'Paper',
|
|
41805
41804
|
overridesResolver: (props, styles) => styles.paper
|
|
@@ -53212,7 +53211,7 @@ const useUtilityClasses$1D = ownerState => {
|
|
|
53212
53211
|
};
|
|
53213
53212
|
return composeClasses(slots, getAccordionUtilityClass, classes);
|
|
53214
53213
|
};
|
|
53215
|
-
const AccordionRoot = styled(Paper$
|
|
53214
|
+
const AccordionRoot = styled(Paper$1, {
|
|
53216
53215
|
name: 'MuiAccordion',
|
|
53217
53216
|
slot: 'Root',
|
|
53218
53217
|
overridesResolver: (props, styles) => {
|
|
@@ -54011,7 +54010,7 @@ const useUtilityClasses$1y = ownerState => {
|
|
|
54011
54010
|
};
|
|
54012
54011
|
return composeClasses(slots, getAlertUtilityClass, classes);
|
|
54013
54012
|
};
|
|
54014
|
-
const AlertRoot = styled(Paper$
|
|
54013
|
+
const AlertRoot = styled(Paper$1, {
|
|
54015
54014
|
name: 'MuiAlert',
|
|
54016
54015
|
slot: 'Root',
|
|
54017
54016
|
overridesResolver: (props, styles) => {
|
|
@@ -54389,7 +54388,7 @@ const useUtilityClasses$1w = ownerState => {
|
|
|
54389
54388
|
// var2 is the fallback.
|
|
54390
54389
|
// Ex. var1: 'var(--a)', var2: 'var(--b)'; return: 'var(--a, var(--b))'
|
|
54391
54390
|
const joinVars = (var1, var2) => `${var1 == null ? void 0 : var1.replace(')', '')}, ${var2})`;
|
|
54392
|
-
const AppBarRoot = styled(Paper$
|
|
54391
|
+
const AppBarRoot = styled(Paper$1, {
|
|
54393
54392
|
name: 'MuiAppBar',
|
|
54394
54393
|
slot: 'Root',
|
|
54395
54394
|
overridesResolver: (props, styles) => {
|
|
@@ -55556,7 +55555,7 @@ const AutocompletePopper = styled(Popper, {
|
|
|
55556
55555
|
}, ownerState.disablePortal && {
|
|
55557
55556
|
position: 'absolute'
|
|
55558
55557
|
}));
|
|
55559
|
-
const AutocompletePaper = styled(Paper$
|
|
55558
|
+
const AutocompletePaper = styled(Paper$1, {
|
|
55560
55559
|
name: 'MuiAutocomplete',
|
|
55561
55560
|
slot: 'Paper',
|
|
55562
55561
|
overridesResolver: (props, styles) => styles.paper
|
|
@@ -55714,7 +55713,7 @@ const Autocomplete = /*#__PURE__*/React__namespace.forwardRef(function Autocompl
|
|
|
55714
55713
|
noOptionsText = 'No options',
|
|
55715
55714
|
openOnFocus = false,
|
|
55716
55715
|
openText = 'Open',
|
|
55717
|
-
PaperComponent = Paper$
|
|
55716
|
+
PaperComponent = Paper$1,
|
|
55718
55717
|
PopperComponent = Popper,
|
|
55719
55718
|
popupIcon = _ArrowDropDownIcon || (_ArrowDropDownIcon = /*#__PURE__*/jsxRuntime.exports.jsx(ArrowDropDownIcon, {})),
|
|
55720
55719
|
readOnly = false,
|
|
@@ -57931,7 +57930,7 @@ const useUtilityClasses$1l = ownerState => {
|
|
|
57931
57930
|
};
|
|
57932
57931
|
return composeClasses(slots, getCardUtilityClass, classes);
|
|
57933
57932
|
};
|
|
57934
|
-
const CardRoot = styled(Paper$
|
|
57933
|
+
const CardRoot = styled(Paper$1, {
|
|
57935
57934
|
name: 'MuiCard',
|
|
57936
57935
|
slot: 'Root',
|
|
57937
57936
|
overridesResolver: (props, styles) => styles.root
|
|
@@ -59003,7 +59002,7 @@ const DialogContainer = styled('div', {
|
|
|
59003
59002
|
width: '0'
|
|
59004
59003
|
}
|
|
59005
59004
|
}));
|
|
59006
|
-
const DialogPaper = styled(Paper$
|
|
59005
|
+
const DialogPaper = styled(Paper$1, {
|
|
59007
59006
|
name: 'MuiDialog',
|
|
59008
59007
|
slot: 'Paper',
|
|
59009
59008
|
overridesResolver: (props, styles) => {
|
|
@@ -59090,7 +59089,7 @@ const Dialog = /*#__PURE__*/React__namespace.forwardRef(function Dialog(inProps,
|
|
|
59090
59089
|
onBackdropClick,
|
|
59091
59090
|
onClose,
|
|
59092
59091
|
open,
|
|
59093
|
-
PaperComponent = Paper$
|
|
59092
|
+
PaperComponent = Paper$1,
|
|
59094
59093
|
PaperProps = {},
|
|
59095
59094
|
scroll = 'paper',
|
|
59096
59095
|
TransitionComponent = Fade,
|
|
@@ -60217,7 +60216,7 @@ const DrawerDockedRoot = styled('div', {
|
|
|
60217
60216
|
})({
|
|
60218
60217
|
flex: '0 0 auto'
|
|
60219
60218
|
});
|
|
60220
|
-
const DrawerPaper = styled(Paper$
|
|
60219
|
+
const DrawerPaper = styled(Paper$1, {
|
|
60221
60220
|
name: 'MuiDrawer',
|
|
60222
60221
|
slot: 'Paper',
|
|
60223
60222
|
overridesResolver: (props, styles) => {
|
|
@@ -64403,7 +64402,7 @@ const useUtilityClasses$T = ownerState => {
|
|
|
64403
64402
|
};
|
|
64404
64403
|
return composeClasses(slots, getMobileStepperUtilityClass, classes);
|
|
64405
64404
|
};
|
|
64406
|
-
const MobileStepperRoot = styled(Paper$
|
|
64405
|
+
const MobileStepperRoot = styled(Paper$1, {
|
|
64407
64406
|
name: 'MuiMobileStepper',
|
|
64408
64407
|
slot: 'Root',
|
|
64409
64408
|
overridesResolver: (props, styles) => {
|
|
@@ -65729,7 +65728,7 @@ const RadioGroup = /*#__PURE__*/React__namespace.forwardRef(function RadioGroup(
|
|
|
65729
65728
|
}), [name, onChange, setValueState, value]);
|
|
65730
65729
|
return /*#__PURE__*/jsxRuntime.exports.jsx(RadioGroupContext.Provider, {
|
|
65731
65730
|
value: contextValue,
|
|
65732
|
-
children: /*#__PURE__*/jsxRuntime.exports.jsx(FormGroup$
|
|
65731
|
+
children: /*#__PURE__*/jsxRuntime.exports.jsx(FormGroup$2, _extends$1c({
|
|
65733
65732
|
role: "radiogroup",
|
|
65734
65733
|
ref: handleRef
|
|
65735
65734
|
}, other, {
|
|
@@ -67489,7 +67488,7 @@ const useUtilityClasses$L = ownerState => {
|
|
|
67489
67488
|
};
|
|
67490
67489
|
return composeClasses(slots, getSnackbarContentUtilityClass, classes);
|
|
67491
67490
|
};
|
|
67492
|
-
const SnackbarContentRoot = styled(Paper$
|
|
67491
|
+
const SnackbarContentRoot = styled(Paper$1, {
|
|
67493
67492
|
name: 'MuiSnackbarContent',
|
|
67494
67493
|
slot: 'Root',
|
|
67495
67494
|
overridesResolver: (props, styles) => styles.root
|
|
@@ -75607,7 +75606,7 @@ const PickersPopperRoot = styled(Popper, {
|
|
|
75607
75606
|
}) => ({
|
|
75608
75607
|
zIndex: theme.zIndex.modal
|
|
75609
75608
|
}));
|
|
75610
|
-
const PickersPopperPaper = styled(Paper$
|
|
75609
|
+
const PickersPopperPaper = styled(Paper$1, {
|
|
75611
75610
|
name: 'MuiPickersPopper',
|
|
75612
75611
|
slot: 'Paper',
|
|
75613
75612
|
overridesResolver: (_, styles) => styles.paper
|
|
@@ -82577,7 +82576,7 @@ var StyledWrapper = styled('div', {
|
|
|
82577
82576
|
},
|
|
82578
82577
|
});
|
|
82579
82578
|
});
|
|
82580
|
-
var StyledPaper$1 = styled(Paper$
|
|
82579
|
+
var StyledPaper$1 = styled(Paper$1)(function (_a) { return ({
|
|
82581
82580
|
border: '2px solid #293072',
|
|
82582
82581
|
borderRadius: '7px !important',
|
|
82583
82582
|
translate: '0 -1.5px',
|
|
@@ -82751,7 +82750,7 @@ var StyledAutocomplete = styled(Autocomplete, {
|
|
|
82751
82750
|
},
|
|
82752
82751
|
});
|
|
82753
82752
|
});
|
|
82754
|
-
var StyledCheckbox = styled(Checkbox$
|
|
82753
|
+
var StyledCheckbox = styled(Checkbox$1)(function () { return ({
|
|
82755
82754
|
'div': {
|
|
82756
82755
|
width: 16,
|
|
82757
82756
|
height: 16,
|
|
@@ -82763,7 +82762,7 @@ var StyledCheckbox = styled(Checkbox$2)(function () { return ({
|
|
|
82763
82762
|
},
|
|
82764
82763
|
},
|
|
82765
82764
|
}); });
|
|
82766
|
-
var StyledPaper = styled(Paper$
|
|
82765
|
+
var StyledPaper = styled(Paper$1)(function () { return ({
|
|
82767
82766
|
border: '2px solid #293072',
|
|
82768
82767
|
borderRadius: '7px !important',
|
|
82769
82768
|
translate: '0 -1.5px',
|
|
@@ -105420,6 +105419,189 @@ var TableMobileComponent = function (_a) {
|
|
|
105420
105419
|
return (jsxRuntime.exports.jsxs(StyledCustomTable, { children: [includeSearch && jsxRuntime.exports.jsx(MUIDataTable, { data: values, columns: columns, options: includeSearchOptions }), !includeSearch && jsxRuntime.exports.jsx(MUIDataTable, { data: values, columns: columns, options: commonOptions })] }));
|
|
105421
105420
|
};
|
|
105422
105421
|
|
|
105422
|
+
var StyledModalContainer = styled(Box)(function (_a) {
|
|
105423
|
+
return ({
|
|
105424
|
+
backgroundColor: 'rgba(41, 48, 114, 0.35)',
|
|
105425
|
+
width: '100%',
|
|
105426
|
+
height: '100%',
|
|
105427
|
+
position: 'fixed',
|
|
105428
|
+
top: 0,
|
|
105429
|
+
left: 0,
|
|
105430
|
+
zIndex: 10,
|
|
105431
|
+
'&.hidden': {
|
|
105432
|
+
display: 'none',
|
|
105433
|
+
}
|
|
105434
|
+
});
|
|
105435
|
+
});
|
|
105436
|
+
var StyledModalWrapper = styled(Modal, {
|
|
105437
|
+
shouldForwardProp: function (prop) { return prop !== 'isBottomTextButton'; }
|
|
105438
|
+
})(function (_a) {
|
|
105439
|
+
var isBottomTextButton = _a.isBottomTextButton;
|
|
105440
|
+
return ({
|
|
105441
|
+
'&.MuiModal-root': {
|
|
105442
|
+
boxSizing: 'border-box',
|
|
105443
|
+
borderRadius: '12px',
|
|
105444
|
+
border: 'none',
|
|
105445
|
+
backgroundColor: theme.mainPallete.primary.white,
|
|
105446
|
+
display: 'flex',
|
|
105447
|
+
flexDirection: 'column',
|
|
105448
|
+
justifyContent: 'center',
|
|
105449
|
+
alignItems: 'center',
|
|
105450
|
+
position: 'absolute',
|
|
105451
|
+
padding: '0 25px',
|
|
105452
|
+
top: '50%',
|
|
105453
|
+
left: '50%',
|
|
105454
|
+
transform: 'translate(-50%, -50%)',
|
|
105455
|
+
width: '320px',
|
|
105456
|
+
height: '423px',
|
|
105457
|
+
'@media(min-width: 720px)': {
|
|
105458
|
+
width: '460px',
|
|
105459
|
+
height: '640px',
|
|
105460
|
+
padding: '0 45px',
|
|
105461
|
+
},
|
|
105462
|
+
'@media(min-width: 1024px)': {
|
|
105463
|
+
width: '270px',
|
|
105464
|
+
height: isBottomTextButton ? '402px' : '364px',
|
|
105465
|
+
padding: '0 40px',
|
|
105466
|
+
},
|
|
105467
|
+
'&.scrollable': {
|
|
105468
|
+
width: '394px',
|
|
105469
|
+
height: '586px',
|
|
105470
|
+
'@media(min-width: 720px)': {
|
|
105471
|
+
width: '626px',
|
|
105472
|
+
height: '887px',
|
|
105473
|
+
},
|
|
105474
|
+
'@media(min-width: 1024px)': {
|
|
105475
|
+
width: '367px',
|
|
105476
|
+
height: '482px',
|
|
105477
|
+
},
|
|
105478
|
+
},
|
|
105479
|
+
},
|
|
105480
|
+
'.MuiBackdrop-root': {
|
|
105481
|
+
display: 'none',
|
|
105482
|
+
// opacity: 0,
|
|
105483
|
+
// backgroundColor: 'rgba(41, 48, 114, 0.35)'
|
|
105484
|
+
},
|
|
105485
|
+
'svg': {
|
|
105486
|
+
width: '115px',
|
|
105487
|
+
height: '115px',
|
|
105488
|
+
'@media(min-width: 720px)': {
|
|
105489
|
+
width: '170px',
|
|
105490
|
+
height: '170px',
|
|
105491
|
+
},
|
|
105492
|
+
'@media(min-width: 1024px)': {
|
|
105493
|
+
width: '115px',
|
|
105494
|
+
height: '115px',
|
|
105495
|
+
}
|
|
105496
|
+
}
|
|
105497
|
+
});
|
|
105498
|
+
});
|
|
105499
|
+
var StyledScrollableDescription = styled(Box)(function (_a) {
|
|
105500
|
+
return ({
|
|
105501
|
+
fontSize: '18px',
|
|
105502
|
+
lineHeight: '24px',
|
|
105503
|
+
color: theme.mainPallete.primary.blue,
|
|
105504
|
+
textAlign: 'center',
|
|
105505
|
+
marginBottom: '45px',
|
|
105506
|
+
maxHeight: '200px',
|
|
105507
|
+
overflowY: 'auto',
|
|
105508
|
+
fontFamily: [
|
|
105509
|
+
'"Barlow", sans-serif',
|
|
105510
|
+
],
|
|
105511
|
+
fontWeight: theme.fontWeight.medium,
|
|
105512
|
+
'@media(min-width: 720px)': {
|
|
105513
|
+
fontSize: '32px',
|
|
105514
|
+
lineHeight: '43px',
|
|
105515
|
+
marginBottom: '60px',
|
|
105516
|
+
maxHeight: '318px',
|
|
105517
|
+
},
|
|
105518
|
+
'@media(min-width: 1024px)': {
|
|
105519
|
+
fontSize: '16px',
|
|
105520
|
+
lineHeight: '21px',
|
|
105521
|
+
fontWeight: theme.fontWeight.regular,
|
|
105522
|
+
marginBottom: '20px',
|
|
105523
|
+
maxHeight: '177px',
|
|
105524
|
+
},
|
|
105525
|
+
'&::-webkit-scrollbar': __assign({}, theme.scrollbar),
|
|
105526
|
+
});
|
|
105527
|
+
});
|
|
105528
|
+
var StyledButtonsWrapper = styled(Box)(function (_a) {
|
|
105529
|
+
return ({
|
|
105530
|
+
width: '100%',
|
|
105531
|
+
display: 'flex',
|
|
105532
|
+
justifyContent: 'center',
|
|
105533
|
+
'button:nth-child(2)': {
|
|
105534
|
+
marginLeft: 10
|
|
105535
|
+
}
|
|
105536
|
+
});
|
|
105537
|
+
});
|
|
105538
|
+
var StyledBottomButtonWrapper = styled(Box)(function (_a) {
|
|
105539
|
+
return ({
|
|
105540
|
+
marginTop: '30px',
|
|
105541
|
+
'@media(min-width: 720px)': {
|
|
105542
|
+
marginTop: '45px',
|
|
105543
|
+
},
|
|
105544
|
+
'@media(min-width:1024px)': {
|
|
105545
|
+
marginTop: '25px'
|
|
105546
|
+
}
|
|
105547
|
+
});
|
|
105548
|
+
});
|
|
105549
|
+
var CustomModal = function (_a) {
|
|
105550
|
+
// const [open, setOpen] = React.useState(isModalOpen);
|
|
105551
|
+
// const handleOpen = () => setOpen(true);
|
|
105552
|
+
// const handleClose = () => setOpen(false);
|
|
105553
|
+
var actionButtonLabel = _a.actionButtonLabel, bottomButtonLabel = _a.bottomButtonLabel, closeButtonLabel = _a.closeButtonLabel, description = _a.description, title = _a.title, type = _a.type, handleCloseModal = _a.handleCloseModal, handleActionButton = _a.handleActionButton, isModalOpen = _a.isModalOpen;
|
|
105554
|
+
// const showIcon = (type) => {
|
|
105555
|
+
// if( type==='complete') {
|
|
105556
|
+
// return <Illustration illustrationName={'ilu_status_change'} size='115'/>
|
|
105557
|
+
// } else if (type === 'error') {
|
|
105558
|
+
// return <Illustration illustrationName={'ilu_status_change'} size='big'/>
|
|
105559
|
+
// } else if (type === 'info') {
|
|
105560
|
+
// return <Illustration illustrationName={'ilu_status_change'} size='big'/>
|
|
105561
|
+
// } else return
|
|
105562
|
+
// }
|
|
105563
|
+
var isScrollableTextModal = type === 'text-scroll';
|
|
105564
|
+
var isBottomTextButton = bottomButtonLabel && bottomButtonLabel.length > 0 || false;
|
|
105565
|
+
return (jsxRuntime.exports.jsx(StyledModalContainer, __assign({ className: !isModalOpen ? 'hidden' : '' }, { children: jsxRuntime.exports.jsx(StyledModalWrapper, __assign({ className: isScrollableTextModal ? 'scrollable' : '', onClose: handleCloseModal, isBottomTextButton: isBottomTextButton }, { children: jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment, { children: [jsxRuntime.exports.jsx(Illustration, { illustrationName: 'ilu_status_change', size: 'small', color: '', isBigType: false }), jsxRuntime.exports.jsx(TypographyComponent, { text: title, type: 'modal-header' }), type === 'basic' && (jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment, { children: [jsxRuntime.exports.jsx(TypographyComponent, { text: description, type: 'modal-description' }), jsxRuntime.exports.jsx(CustomButtonComponent, { fixed: true, onClick: handleCloseModal, type: "primary", text: closeButtonLabel, color: "navy-blue", size: 'small' })] })), isScrollableTextModal && (jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment, { children: [jsxRuntime.exports.jsx(StyledScrollableDescription, { children: description }), jsxRuntime.exports.jsxs(StyledButtonsWrapper, { children: [jsxRuntime.exports.jsx(CustomButtonComponent, { fixed: true, onClick: handleActionButton, type: "secondary", text: actionButtonLabel, color: "navy-blue", size: 'small' }), jsxRuntime.exports.jsx(CustomButtonComponent, { fixed: true, onClick: handleCloseModal, type: "primary", text: closeButtonLabel, color: "navy-blue", size: 'small' })] })] })), bottomButtonLabel && !isScrollableTextModal && (jsxRuntime.exports.jsx(StyledBottomButtonWrapper, { children: jsxRuntime.exports.jsx(CustomButtonComponent, { fixed: true, onClick: handleCloseModal, type: "ghost", text: bottomButtonLabel, color: "navy-blue", size: 'small' }) }))] }) })) })));
|
|
105566
|
+
};
|
|
105567
|
+
|
|
105568
|
+
var StyledModuleTileWrapper = styled(Box, {
|
|
105569
|
+
shouldForwardProp: function (prop) { return prop !== 'fluid'; }
|
|
105570
|
+
})(function (_a) {
|
|
105571
|
+
var fluid = _a.fluid;
|
|
105572
|
+
return ({
|
|
105573
|
+
boxSizing: 'border-box',
|
|
105574
|
+
width: fluid ? '100%' : '210px',
|
|
105575
|
+
cursor: 'pointer',
|
|
105576
|
+
minHeight: '240px',
|
|
105577
|
+
padding: '25px 15px 45px 15px',
|
|
105578
|
+
border: "1px solid ".concat(theme.mainPallete.primary.blue),
|
|
105579
|
+
borderRadius: '12px',
|
|
105580
|
+
backgroundColor: theme.mainPallete.primary.white,
|
|
105581
|
+
display: 'flex',
|
|
105582
|
+
flexDirection: 'column',
|
|
105583
|
+
justifyContent: 'flex-start',
|
|
105584
|
+
alignItems: 'center',
|
|
105585
|
+
'@media(min-width:720px)': {
|
|
105586
|
+
width: fluid ? '100%' : '320px',
|
|
105587
|
+
minHeight: '350px',
|
|
105588
|
+
padding: '30px 35px 60px 35px',
|
|
105589
|
+
},
|
|
105590
|
+
'svg': {
|
|
105591
|
+
width: '115px',
|
|
105592
|
+
height: '115px',
|
|
105593
|
+
'@media(min-width: 720px)': {
|
|
105594
|
+
width: '170px',
|
|
105595
|
+
height: '170px'
|
|
105596
|
+
}
|
|
105597
|
+
}
|
|
105598
|
+
});
|
|
105599
|
+
});
|
|
105600
|
+
var ModuleTile = function (_a) {
|
|
105601
|
+
var fluid = _a.fluid, illustrationName = _a.illustrationName, header = _a.header, onClick = _a.onClick;
|
|
105602
|
+
return (jsxRuntime.exports.jsxs(StyledModuleTileWrapper, __assign({ fluid: fluid, onClick: onClick }, { children: [jsxRuntime.exports.jsx(Illustration, { illustrationName: illustrationName, color: '', size: '', isBigType: false }), jsxRuntime.exports.jsx(TypographyComponent, { text: header, type: 'module-tile-header' })] })));
|
|
105603
|
+
};
|
|
105604
|
+
|
|
105423
105605
|
exports.AppTile = AppTileComponent;
|
|
105424
105606
|
exports.BottomBar = BottomBarComponent;
|
|
105425
105607
|
exports.BottomInfoBar = BottomInfoBar;
|
|
@@ -105430,6 +105612,8 @@ exports.Icon = Icon$1;
|
|
|
105430
105612
|
exports.IconButton = IconButtonComponent;
|
|
105431
105613
|
exports.Illustration = Illustration;
|
|
105432
105614
|
exports.Logo = Logo;
|
|
105615
|
+
exports.Modal = CustomModal;
|
|
105616
|
+
exports.ModuleTile = ModuleTile;
|
|
105433
105617
|
exports.MultiSelect = MultiSelect;
|
|
105434
105618
|
exports.SearchBar = SearchBarComponent;
|
|
105435
105619
|
exports.Select = Select;
|