@xelto.npm/xc2-lib 0.0.48 → 0.0.49

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 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
@@ -17419,10 +17419,11 @@ process.env.NODE_ENV !== "production" ? Typography$1.propTypes /* remove-proptyp
17419
17419
  */
17420
17420
  variantMapping: propTypes.exports /* @typescript-to-proptypes-ignore */.object
17421
17421
  } : void 0;
17422
+ var Typography$2 = Typography$1;
17422
17423
 
17423
17424
  var Typography = /*#__PURE__*/Object.freeze({
17424
17425
  __proto__: null,
17425
- default: Typography$1,
17426
+ default: Typography$2,
17426
17427
  typographyClasses: typographyClasses,
17427
17428
  getTypographyUtilityClass: getTypographyUtilityClass
17428
17429
  });
@@ -17479,7 +17480,7 @@ const theme = {
17479
17480
  },
17480
17481
  };
17481
17482
 
17482
- var StyledTypography = styled(Typography$1)(function (_a) {
17483
+ var StyledTypography = styled(Typography$2)(function (_a) {
17483
17484
  return ({
17484
17485
  fontSize: '26px',
17485
17486
  lineHeight: '34px',
@@ -36920,8 +36921,8 @@ const FormControlLabel$1 = /*#__PURE__*/React__namespace.forwardRef(function For
36920
36921
  const classes = useUtilityClasses$1V(ownerState);
36921
36922
  const typographySlotProps = (_slotProps$typography = slotProps.typography) != null ? _slotProps$typography : componentsProps.typography;
36922
36923
  let label = labelProp;
36923
- if (label != null && label.type !== Typography$1 && !disableTypography) {
36924
- label = /*#__PURE__*/jsxRuntime.exports.jsx(Typography$1, _extends$1c({
36924
+ if (label != null && label.type !== Typography$2 && !disableTypography) {
36925
+ label = /*#__PURE__*/jsxRuntime.exports.jsx(Typography$2, _extends$1c({
36925
36926
  component: "span"
36926
36927
  }, typographySlotProps, {
36927
36928
  className: clsx(classes.label, typographySlotProps == null ? void 0 : typographySlotProps.className),
@@ -37012,16 +37013,15 @@ process.env.NODE_ENV !== "production" ? FormControlLabel$1.propTypes /* remove-p
37012
37013
  */
37013
37014
  value: propTypes.exports.any
37014
37015
  } : void 0;
37015
- var FormControlLabel$2 = FormControlLabel$1;
37016
37016
 
37017
37017
  var FormControlLabel = /*#__PURE__*/Object.freeze({
37018
37018
  __proto__: null,
37019
- default: FormControlLabel$2,
37019
+ default: FormControlLabel$1,
37020
37020
  formControlLabelClasses: formControlLabelClasses,
37021
37021
  getFormControlLabelUtilityClasses: getFormControlLabelUtilityClasses
37022
37022
  });
37023
37023
 
37024
- var StyledFormControlLabel = styled(FormControlLabel$2)(function (_a) { return ({
37024
+ var StyledFormControlLabel = styled(FormControlLabel$1)(function (_a) { return ({
37025
37025
  boxSizing: 'border-box',
37026
37026
  marginBottom: '30px',
37027
37027
  marginLeft: 0,
@@ -37061,7 +37061,7 @@ var StyledFormControlLabel = styled(FormControlLabel$2)(function (_a) { return (
37061
37061
  }
37062
37062
  }
37063
37063
  }); });
37064
- var StyledCheckbox = styled(Checkbox$2)(function () {
37064
+ var StyledCheckbox$1 = styled(Checkbox$2)(function () {
37065
37065
  return ({
37066
37066
  'svg': {
37067
37067
  width: 20,
@@ -37131,7 +37131,7 @@ var StyledCheckbox = 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$1, { children: jsxRuntime.exports.jsx(StyledFormControlLabel, __assign({}, props, { ref: forwardedRef, classes: { disabled: 'disabled' }, control: jsxRuntime.exports.jsx(StyledCheckbox, { 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 })) }));
37134
+ return (jsxRuntime.exports.jsx(FormGroup$1, { 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) {
@@ -54314,7 +54314,7 @@ const useUtilityClasses$1x = ownerState => {
54314
54314
  };
54315
54315
  return composeClasses(slots, getAlertTitleUtilityClass, classes);
54316
54316
  };
54317
- const AlertTitleRoot = styled(Typography$1, {
54317
+ const AlertTitleRoot = styled(Typography$2, {
54318
54318
  name: 'MuiAlertTitle',
54319
54319
  slot: 'Root',
54320
54320
  overridesResolver: (props, styles) => styles.root
@@ -57487,7 +57487,7 @@ const useUtilityClasses$1n = ownerState => {
57487
57487
  };
57488
57488
  return composeClasses(slots, getBreadcrumbsUtilityClass, classes);
57489
57489
  };
57490
- const BreadcrumbsRoot = styled(Typography$1, {
57490
+ const BreadcrumbsRoot = styled(Typography$2, {
57491
57491
  name: 'MuiBreadcrumbs',
57492
57492
  slot: 'Root',
57493
57493
  overridesResolver: (props, styles) => {
@@ -58345,8 +58345,8 @@ const CardHeader = /*#__PURE__*/React__namespace.forwardRef(function CardHeader(
58345
58345
  });
58346
58346
  const classes = useUtilityClasses$1h(ownerState);
58347
58347
  let title = titleProp;
58348
- if (title != null && title.type !== Typography$1 && !disableTypography) {
58349
- title = /*#__PURE__*/jsxRuntime.exports.jsx(Typography$1, _extends$1c({
58348
+ if (title != null && title.type !== Typography$2 && !disableTypography) {
58349
+ title = /*#__PURE__*/jsxRuntime.exports.jsx(Typography$2, _extends$1c({
58350
58350
  variant: avatar ? 'body2' : 'h5',
58351
58351
  className: classes.title,
58352
58352
  component: "span",
@@ -58356,8 +58356,8 @@ const CardHeader = /*#__PURE__*/React__namespace.forwardRef(function CardHeader(
58356
58356
  }));
58357
58357
  }
58358
58358
  let subheader = subheaderProp;
58359
- if (subheader != null && subheader.type !== Typography$1 && !disableTypography) {
58360
- subheader = /*#__PURE__*/jsxRuntime.exports.jsx(Typography$1, _extends$1c({
58359
+ if (subheader != null && subheader.type !== Typography$2 && !disableTypography) {
58360
+ subheader = /*#__PURE__*/jsxRuntime.exports.jsx(Typography$2, _extends$1c({
58361
58361
  variant: avatar ? 'body2' : 'body1',
58362
58362
  className: classes.subheader,
58363
58363
  color: "text.secondary",
@@ -59505,7 +59505,7 @@ const useUtilityClasses$1b = ownerState => {
59505
59505
  const composedClasses = composeClasses(slots, getDialogContentTextUtilityClass, classes);
59506
59506
  return _extends$1c({}, classes, composedClasses);
59507
59507
  };
59508
- const DialogContentTextRoot = styled(Typography$1, {
59508
+ const DialogContentTextRoot = styled(Typography$2, {
59509
59509
  shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
59510
59510
  name: 'MuiDialogContentText',
59511
59511
  slot: 'Root',
@@ -59565,7 +59565,7 @@ const useUtilityClasses$1a = ownerState => {
59565
59565
  };
59566
59566
  return composeClasses(slots, getDialogTitleUtilityClass, classes);
59567
59567
  };
59568
- const DialogTitleRoot = styled(Typography$1, {
59568
+ const DialogTitleRoot = styled(Typography$2, {
59569
59569
  name: 'MuiDialogTitle',
59570
59570
  slot: 'Root',
59571
59571
  overridesResolver: (props, styles) => styles.root
@@ -62463,7 +62463,7 @@ const InputAdornment = /*#__PURE__*/React__namespace.forwardRef(function InputAd
62463
62463
  className: clsx(classes.root, className),
62464
62464
  ref: ref
62465
62465
  }, other, {
62466
- children: typeof children === 'string' && !disableTypography ? /*#__PURE__*/jsxRuntime.exports.jsx(Typography$1, {
62466
+ children: typeof children === 'string' && !disableTypography ? /*#__PURE__*/jsxRuntime.exports.jsx(Typography$2, {
62467
62467
  color: "text.secondary",
62468
62468
  children: children
62469
62469
  }) : /*#__PURE__*/jsxRuntime.exports.jsxs(React__namespace.Fragment, {
@@ -62904,7 +62904,7 @@ const useUtilityClasses$$ = ownerState => {
62904
62904
  };
62905
62905
  return composeClasses(slots, getLinkUtilityClass, classes);
62906
62906
  };
62907
- const LinkRoot = styled(Typography$1, {
62907
+ const LinkRoot = styled(Typography$2, {
62908
62908
  name: 'MuiLink',
62909
62909
  slot: 'Root',
62910
62910
  overridesResolver: (props, styles) => {
@@ -64039,8 +64039,8 @@ const ListItemText$1 = /*#__PURE__*/React__namespace.forwardRef(function ListIte
64039
64039
  dense
64040
64040
  });
64041
64041
  const classes = useUtilityClasses$V(ownerState);
64042
- if (primary != null && primary.type !== Typography$1 && !disableTypography) {
64043
- primary = /*#__PURE__*/jsxRuntime.exports.jsx(Typography$1, _extends$1c({
64042
+ if (primary != null && primary.type !== Typography$2 && !disableTypography) {
64043
+ primary = /*#__PURE__*/jsxRuntime.exports.jsx(Typography$2, _extends$1c({
64044
64044
  variant: dense ? 'body2' : 'body1',
64045
64045
  className: classes.primary,
64046
64046
  component: primaryTypographyProps != null && primaryTypographyProps.variant ? undefined : 'span',
@@ -64049,8 +64049,8 @@ const ListItemText$1 = /*#__PURE__*/React__namespace.forwardRef(function ListIte
64049
64049
  children: primary
64050
64050
  }));
64051
64051
  }
64052
- if (secondary != null && secondary.type !== Typography$1 && !disableTypography) {
64053
- secondary = /*#__PURE__*/jsxRuntime.exports.jsx(Typography$1, _extends$1c({
64052
+ if (secondary != null && secondary.type !== Typography$2 && !disableTypography) {
64053
+ secondary = /*#__PURE__*/jsxRuntime.exports.jsx(Typography$2, _extends$1c({
64054
64054
  variant: "body2",
64055
64055
  className: classes.secondary,
64056
64056
  color: "text.secondary",
@@ -75361,7 +75361,7 @@ const PickersToolbar = /*#__PURE__*/React__namespace.forwardRef(function Pickers
75361
75361
  ref: ref,
75362
75362
  className: clsx(classes.root, className),
75363
75363
  ownerState: ownerState,
75364
- children: [/*#__PURE__*/jsxRuntime.exports.jsx(Typography$1, {
75364
+ children: [/*#__PURE__*/jsxRuntime.exports.jsx(Typography$2, {
75365
75365
  color: "text.secondary",
75366
75366
  variant: "overline",
75367
75367
  children: toolbarTitle
@@ -75409,7 +75409,7 @@ const DatePickerToolbarRoot = styled(PickersToolbar, {
75409
75409
  slot: 'Root',
75410
75410
  overridesResolver: (_, styles) => styles.root
75411
75411
  })({});
75412
- const DatePickerToolbarTitle = styled(Typography$1, {
75412
+ const DatePickerToolbarTitle = styled(Typography$2, {
75413
75413
  name: 'MuiDatePickerToolbar',
75414
75414
  slot: 'Title',
75415
75415
  overridesResolver: (_, styles) => styles.title
@@ -76449,7 +76449,7 @@ function Clock(inProps) {
76449
76449
  disabled: disabled || meridiemMode === null,
76450
76450
  ownerState: ownerState,
76451
76451
  className: classes.amButton,
76452
- children: /*#__PURE__*/jsxRuntime.exports.jsx(Typography$1, {
76452
+ children: /*#__PURE__*/jsxRuntime.exports.jsx(Typography$2, {
76453
76453
  variant: "caption",
76454
76454
  children: "AM"
76455
76455
  })
@@ -76458,7 +76458,7 @@ function Clock(inProps) {
76458
76458
  onClick: readOnly ? undefined : () => handleMeridiemChange('pm'),
76459
76459
  ownerState: ownerState,
76460
76460
  className: classes.pmButton,
76461
- children: /*#__PURE__*/jsxRuntime.exports.jsx(Typography$1, {
76461
+ children: /*#__PURE__*/jsxRuntime.exports.jsx(Typography$2, {
76462
76462
  variant: "caption",
76463
76463
  children: "PM"
76464
76464
  })
@@ -76749,7 +76749,7 @@ const PickersArrowSwitcher = /*#__PURE__*/React__namespace.forwardRef(function P
76749
76749
  hidden: isLeftHidden
76750
76750
  }),
76751
76751
  children: isRtl ? /*#__PURE__*/jsxRuntime.exports.jsx(RightArrowIcon, {}) : /*#__PURE__*/jsxRuntime.exports.jsx(LeftArrowIcon, {})
76752
- })), children ? /*#__PURE__*/jsxRuntime.exports.jsx(Typography$1, {
76752
+ })), children ? /*#__PURE__*/jsxRuntime.exports.jsx(Typography$2, {
76753
76753
  variant: "subtitle1",
76754
76754
  component: "span",
76755
76755
  children: children
@@ -77342,7 +77342,7 @@ const useUtilityClasses$a = ownerState => {
77342
77342
  return composeClasses(slots, getPickersMonthUtilityClass, classes);
77343
77343
  };
77344
77344
 
77345
- const PickersMonthRoot = styled(Typography$1, {
77345
+ const PickersMonthRoot = styled(Typography$2, {
77346
77346
  name: 'PrivatePickersMonth',
77347
77347
  slot: 'Root',
77348
77348
  overridesResolver: (_, styles) => [styles.root, {
@@ -78400,7 +78400,7 @@ const PickersCalendarDayHeader = styled('div', {
78400
78400
  justifyContent: 'center',
78401
78401
  alignItems: 'center'
78402
78402
  });
78403
- const PickersCalendarWeekDayLabel = styled(Typography$1, {
78403
+ const PickersCalendarWeekDayLabel = styled(Typography$2, {
78404
78404
  name: 'MuiDayPicker',
78405
78405
  slot: 'WeekDayLabel',
78406
78406
  overridesResolver: (_, styles) => styles.weekDayLabel
@@ -82452,7 +82452,7 @@ var TextField = function (_a) {
82452
82452
  } })));
82453
82453
  };
82454
82454
 
82455
- var StyledAutocomplete = styled(Autocomplete)(function (_a) {
82455
+ var StyledAutocomplete$1 = styled(Autocomplete)(function (_a) {
82456
82456
  return ({
82457
82457
  width: '100%',
82458
82458
  '& label': {
@@ -82577,7 +82577,7 @@ var StyledWrapper = styled('div', {
82577
82577
  },
82578
82578
  });
82579
82579
  });
82580
- var StyledPaper = styled(Paper$2)(function (_a) { return ({
82580
+ var StyledPaper$1 = styled(Paper$2)(function (_a) { return ({
82581
82581
  border: '2px solid #293072',
82582
82582
  borderRadius: '7px !important',
82583
82583
  translate: '0 -1.5px',
@@ -82612,32 +82612,201 @@ var StyledPaper = styled(Paper$2)(function (_a) { return ({
82612
82612
  },
82613
82613
  }); });
82614
82614
  var Select = function (_a) {
82615
- var _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.label, label = _c === void 0 ? 'Select' : _c, _d = _a.withRefresh, withRefresh = _d === void 0 ? false : _d, _e = _a.fluid, fluid = _e === void 0 ? false : _e, _f = _a.placeholder, placeholder = _f === void 0 ? '' : _f; _a.onRefreshClick; var _h = _a.options, options = _h === void 0 ? [] : _h, _j = _a.value, value = _j === void 0 ? null : _j, _k = _a.onChange, onChange = _k === void 0 ? null : _k, _l = _a.forwardedRef, forwardedRef = _l === void 0 ? null : _l, _m = _a.noOptionsText, noOptionsText = _m === void 0 ? "" : _m, props = __rest$1(_a, ["disabled", "label", "withRefresh", "fluid", "placeholder", "onRefreshClick", "options", "value", "onChange", "forwardedRef", "noOptionsText"]);
82616
- var _o = React__namespace.useState(360), deg = _o[0], SetDeg = _o[1];
82617
- var flag = false;
82618
- var onRefresh = function (target) {
82619
- if (flag)
82620
- return;
82621
- if (!target)
82622
- return;
82623
- var targetAsHTMLElement = target;
82624
- targetAsHTMLElement.style.transform = "rotate(".concat(deg, "deg)");
82625
- SetDeg(deg + 360);
82626
- flag = true;
82627
- setTimeout(function () {
82628
- flag = false;
82629
- }, 300);
82630
- };
82631
- return (jsxRuntime.exports.jsxs(StyledWrapper, __assign({ fluid: fluid, ref: forwardedRef }, { children: [jsxRuntime.exports.jsx(StyledAutocomplete, __assign({}, props, { disabled: disabled, options: options, value: value,
82615
+ var _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.label, label = _c === void 0 ? 'Select' : _c, _d = _a.withRefresh, withRefresh = _d === void 0 ? false : _d, _e = _a.fluid, fluid = _e === void 0 ? false : _e, _f = _a.placeholder, placeholder = _f === void 0 ? '' : _f, _g = _a.onRefreshClick, onRefreshClick = _g === void 0 ? null : _g, _h = _a.options, options = _h === void 0 ? [] : _h, _j = _a.value, value = _j === void 0 ? null : _j, _k = _a.onChange, onChange = _k === void 0 ? null : _k, _l = _a.forwardedRef, forwardedRef = _l === void 0 ? null : _l, _m = _a.noOptionsText, noOptionsText = _m === void 0 ? "" : _m, props = __rest$1(_a, ["disabled", "label", "withRefresh", "fluid", "placeholder", "onRefreshClick", "options", "value", "onChange", "forwardedRef", "noOptionsText"]);
82616
+ return (jsxRuntime.exports.jsxs(StyledWrapper, __assign({ fluid: fluid, ref: forwardedRef }, { children: [jsxRuntime.exports.jsx(StyledAutocomplete$1, __assign({}, props, { disabled: disabled, options: options, value: value,
82632
82617
  // @ts-ignore
82633
- onChange: onChange, popupIcon: jsxRuntime.exports.jsx(Icon$1, { iconName: "icon_ui_chevron_down", color: disabled ? 'disabled' : 'red-navy', style: { display: 'flex' } }), PaperComponent: StyledPaper, renderInput: function (params) { return jsxRuntime.exports.jsx(TextField$2, __assign({}, params, { label: label, placeholder: placeholder })); }, noOptionsText: noOptionsText })), withRefresh ? jsxRuntime.exports.jsx(Icon$1, { iconName: 'icon_wf_refresh', style: { display: 'flex' }, onClick: function (e) {
82634
- var target = e.target;
82635
- if (onRefresh) {
82636
- onRefresh(target.parentNode);
82618
+ onChange: onChange, popupIcon: jsxRuntime.exports.jsx(Icon$1, { iconName: "icon_ui_chevron_down", color: disabled ? 'disabled' : 'red-navy', style: { display: 'flex' } }), PaperComponent: StyledPaper$1, renderInput: function (params) { return jsxRuntime.exports.jsx(TextField$2, __assign({}, params, { label: label, placeholder: placeholder })); }, noOptionsText: noOptionsText })), withRefresh ? jsxRuntime.exports.jsx(Icon$1, { iconName: 'icon_wf_refresh', style: { display: 'flex' }, onClick: function (e) {
82619
+ if (onRefreshClick) {
82620
+ onRefreshClick(e);
82637
82621
  }
82638
82622
  } }) : null] })));
82639
82623
  };
82640
82624
 
82625
+ var StyledAutocomplete = styled(Autocomplete, {
82626
+ shouldForwardProp: function (prop) { return prop !== "fluid"; }
82627
+ })(function (_a) {
82628
+ var fluid = _a.fluid;
82629
+ return ({
82630
+ width: fluid ? '100%' : 'min(100%, calc(268px * 2))',
82631
+ '& label': {
82632
+ zIndex: 0,
82633
+ color: theme.mainPallete.primary.placeholderText,
82634
+ transform: 'translate(20px,15px) scale(1)',
82635
+ '&.Mui-focused, &[data-shrink="true"]': {
82636
+ color: theme.mainPallete.primary.blue,
82637
+ transform: 'translate(15px,-10px) scale(0.75)',
82638
+ },
82639
+ '&.Mui-disabled': {
82640
+ color: theme.mainPallete.primary.placeholderText,
82641
+ },
82642
+ },
82643
+ '& label, .MuiOutlinedInput-root': {
82644
+ fontSize: 21,
82645
+ fontWeight: theme.fontWeight.regular,
82646
+ fontFamily: theme.fontFamily,
82647
+ },
82648
+ '.MuiOutlinedInput-root': {
82649
+ color: theme.mainPallete.primary.blue,
82650
+ padding: '7.5px 0 7.5px 20px ',
82651
+ borderRadius: 7,
82652
+ '&.Mui-focused': {
82653
+ '.MuiOutlinedInput-notchedOutline': {
82654
+ borderColor: theme.mainPallete.primary.blue,
82655
+ },
82656
+ },
82657
+ '.MuiOutlinedInput-notchedOutline': {
82658
+ borderColor: theme.mainPallete.primary.blue,
82659
+ },
82660
+ '&.Mui-disabled fieldset': {
82661
+ borderColor: theme.mainPallete.primary.placeholderText,
82662
+ },
82663
+ },
82664
+ 'div.MuiAutocomplete-endAdornment': {
82665
+ top: 'calc(50% - 17px)',
82666
+ right: '20px !important',
82667
+ 'button': {
82668
+ padding: 0,
82669
+ transition: 'transform 0.15s linear',
82670
+ '&[aria-label="Close"]': {
82671
+ transform: 'rotateX(180deg)'
82672
+ }
82673
+ },
82674
+ 'svg': {
82675
+ width: 26,
82676
+ height: 26,
82677
+ }
82678
+ },
82679
+ '.MuiChip-root': {
82680
+ backgroundColor: '#E7EAF3',
82681
+ color: theme.mainPallete.primary.blue,
82682
+ 'svg': {
82683
+ '&:hover': {
82684
+ 'path': {
82685
+ fill: theme.mainPallete.primary.blue,
82686
+ }
82687
+ },
82688
+ 'path': {
82689
+ transition: 'fill 0.2s',
82690
+ fill: theme.mainPallete.primary.placeholderText,
82691
+ }
82692
+ }
82693
+ },
82694
+ '&:not(.Mui-focused)': {
82695
+ '.MuiChip-root': {
82696
+ // maxWidth: 'calc(100% / 2 - 41px)',
82697
+ maxWidth: '70%'
82698
+ }
82699
+ },
82700
+ '@media(min-width: 720px)': {
82701
+ '& label': {
82702
+ transform: 'translate(20px,17px) scale(1)',
82703
+ '&.Mui-focused, &[data-shrink="true"]': {
82704
+ transform: 'translate(14px,-14px) scale(0.75)',
82705
+ },
82706
+ },
82707
+ '& label, .MuiOutlinedInput-root': {
82708
+ fontSize: 26,
82709
+ },
82710
+ '.MuiOutlinedInput-root': {
82711
+ padding: '11.5px 0 11.5px 20px',
82712
+ },
82713
+ 'div.MuiAutocomplete-endAdornment': {
82714
+ top: 'calc(50% - 22px)',
82715
+ 'svg': {
82716
+ width: 30,
82717
+ height: 30,
82718
+ }
82719
+ },
82720
+ '.MuiChip-root': {
82721
+ fontSize: 16,
82722
+ height: 40,
82723
+ borderRadius: 20,
82724
+ },
82725
+ },
82726
+ '@media(min-width: 1024px)': {
82727
+ '& label': {
82728
+ transform: 'translate(20px,11px) scale(1)',
82729
+ '&.Mui-focused, &[data-shrink="true"]': {
82730
+ transform: 'translate(15px,-9px) scale(0.75)'
82731
+ },
82732
+ },
82733
+ '& label, .MuiOutlinedInput-root': {
82734
+ fontSize: 16,
82735
+ },
82736
+ '.MuiOutlinedInput-root': {
82737
+ padding: '3.5px 39px 3.5px 20px ',
82738
+ },
82739
+ 'div.MuiAutocomplete-endAdornment': {
82740
+ top: 'calc(50% - 13px)',
82741
+ 'svg': {
82742
+ width: 22,
82743
+ height: 22,
82744
+ }
82745
+ },
82746
+ '.MuiChip-root': {
82747
+ fontSize: 12,
82748
+ height: 28,
82749
+ borderRadius: 16,
82750
+ },
82751
+ },
82752
+ });
82753
+ });
82754
+ var StyledCheckbox = styled(Checkbox$2)(function () { return ({
82755
+ 'div': {
82756
+ width: 16,
82757
+ height: 16,
82758
+ },
82759
+ '@media (min-width: 720px) and (max-width: 1019px)': {
82760
+ 'svg': {
82761
+ width: 21,
82762
+ height: 21,
82763
+ },
82764
+ },
82765
+ }); });
82766
+ var StyledPaper = styled(Paper$2)(function () { return ({
82767
+ border: '2px solid #293072',
82768
+ borderRadius: '7px !important',
82769
+ translate: '0 -1.5px',
82770
+ '.MuiAutocomplete-listbox': {
82771
+ fontSize: 21,
82772
+ margin: '16px 8px !important',
82773
+ fontWeight: theme.fontWeight.regular,
82774
+ fontFamily: theme.fontFamily,
82775
+ color: theme.mainPallete.primary.blue,
82776
+ padding: '0 !important',
82777
+ '&::-webkit-scrollbar': __assign({}, theme.scrollbar),
82778
+ '@media(min-width: 720px)': {
82779
+ fontSize: 24,
82780
+ },
82781
+ '@media(min-width: 1024px)': {
82782
+ fontSize: 16,
82783
+ }
82784
+ },
82785
+ '.MuiAutocomplete-option': {
82786
+ padding: '1px 4px !important',
82787
+ '@media(min-width: 720px)': {
82788
+ padding: '6px 4px !important',
82789
+ },
82790
+ '@media(min-width: 1020px)': {
82791
+ padding: '0 4px !important',
82792
+ },
82793
+ },
82794
+ '.MuiAutocomplete-noOptions': {
82795
+ fontWeight: theme.fontWeight.regular,
82796
+ fontFamily: theme.fontFamily,
82797
+ color: theme.mainPallete.primary.placeholderText + '!important',
82798
+ },
82799
+ }); });
82800
+ var MultiSelect = function (_a) {
82801
+ var value = _a.value, onChange = _a.onChange, _b = _a.label, label = _b === void 0 ? 'MultiSelect' : _b, _c = _a.disabled, disabled = _c === void 0 ? false : _c, _d = _a.placeholder, placeholder = _d === void 0 ? '' : _d, _e = _a.fluid, fluid = _e === void 0 ? false : _e, _f = _a.options, options = _f === void 0 ? [] : _f, _g = _a.limitTags, limitTags = _g === void 0 ? 1 : _g, _h = _a.noOptionsText, noOptionsText = _h === void 0 ? '' : _h, _j = _a.forwardedRef, forwardedRef = _j === void 0 ? null : _j, props = __rest$1(_a, ["value", "onChange", "label", "disabled", "placeholder", "fluid", "options", "limitTags", "noOptionsText", "forwardedRef"]);
82802
+ return (jsxRuntime.exports.jsx(StyledAutocomplete, __assign({}, props, { ref: forwardedRef, multiple: true, value: value, onChange: onChange, limitTags: limitTags, disabled: disabled, options: options, disableCloseOnSelect: true, disableClearable: true, fluid: fluid, popupIcon: jsxRuntime.exports.jsx(Icon$1, { iconName: "icon_ui_chevron_down", color: disabled ? 'disabled' : 'red-navy', style: { display: 'flex' } }), PaperComponent: StyledPaper,
82803
+ // @ts-ignore
82804
+ renderOption: function (props, option, _a) {
82805
+ var selected = _a.selected;
82806
+ return (jsxRuntime.exports.jsxs("li", __assign({}, props, { children: [jsxRuntime.exports.jsx(StyledCheckbox, { icon: jsxRuntime.exports.jsx(Icon$1, { iconName: "icon_checkbox_default", style: { display: 'flex' } }), checkedIcon: jsxRuntime.exports.jsx(Icon$1, { iconName: "icon_checkbox_checked", style: { display: 'flex' } }), style: { marginRight: 8 }, checked: selected }), option.label || ''] })));
82807
+ }, renderInput: function (params) { return (jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment, { children: jsxRuntime.exports.jsx(TextField$2, __assign({}, params, { label: label, placeholder: placeholder })) })); }, noOptionsText: noOptionsText })));
82808
+ };
82809
+
82641
82810
  var dist = {};
82642
82811
 
82643
82812
  var construct$4 = {exports: {}};
@@ -105261,6 +105430,7 @@ exports.Icon = Icon$1;
105261
105430
  exports.IconButton = IconButtonComponent;
105262
105431
  exports.Illustration = Illustration;
105263
105432
  exports.Logo = Logo;
105433
+ exports.MultiSelect = MultiSelect;
105264
105434
  exports.SearchBar = SearchBarComponent;
105265
105435
  exports.Select = Select;
105266
105436
  exports.TableMobile = TableMobileComponent;