coject 1.4.13 → 1.4.14

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 DXSpring
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2023 DXSpring
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,82 +1,82 @@
1
- <h1 align="center">Coject</h1>
2
-
3
- <p align="center">Promise based HTTP client for the browser and node.js</p>
4
-
5
- <p align="center">
6
- <a href="https://dev.aait.com.sa/"><b>Website</b></a> •
7
- <a href="https://dev.aait.com.sa/CojectDocumentation/"><b>Documentation</b></a>
8
- </p>
9
-
10
- <div align="center">
11
-
12
- [![npm version](https://img.shields.io/npm/v/coject.svg?style=flat-square)](https://www.npmjs.org/package/coject)
13
- [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/coject/coject)
14
- [![install size](https://img.shields.io/badge/dynamic/json?url=https://packagephobia.com/v2/api.json?p=coject&query=$.install.pretty&label=install%20size&style=flat-square)](https://packagephobia.now.sh/result?p=coject)
15
- [![npm downloads](https://img.shields.io/npm/dm/coject.svg?style=flat-square)](https://npm-stat.com/charts.html?package=coject)
16
- [![gitter chat](https://img.shields.io/gitter/room/mzabriskie/coject.svg?style=flat-square)](https://gitter.im/mzabriskie/coject)
17
- [![Known Vulnerabilities](https://snyk.io/test/npm/coject/badge.svg)](https://snyk.io/test/npm/coject)
18
-
19
- </div>
20
-
21
- ## Coject v1.4
22
-
23
- The [Coject](https://coject.com/) library exported as [React.js](https://react.dev/) components.
24
- All Component Is Dependency On [Material UI](https://mui.com/) Library.
25
-
26
- ### Installation
27
-
28
- ### Using npm:
29
- ```shell
30
- // npm install
31
- $ npm i coject
32
-
33
- // yarn install
34
- $ yarn add coject
35
- ```
36
-
37
- ### Dependency npm [For JavaScript/TypeScript Project]:
38
- ```shell
39
- // npm install
40
- $ npm i @emotion/react @emotion/styled @mui/icons-material @mui/material @mui/x-data-grid @mui/x-date-pickers @types/moment @types/moment-hijri coject moment moment-hijri react-hook-form react-toastify tss-react axios
41
-
42
- // yarn install
43
- $ yarn add @emotion/react @emotion/styled @mui/icons-material @mui/material @mui/x-data-grid @mui/x-date-pickers @types/moment @types/moment-hijri coject moment moment-hijri react-hook-form react-toastify tss-react axios
44
- ```
45
- ```html
46
- <!-- Add Font In /public/index.html Head -->
47
- <link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
48
- ```
49
-
50
- ### Important
51
- 1. Create `.env` File In The Same Directory Where Your `package.json` Is
52
- 2. Define The Following Variable `GENERATE_SOURCEMAP=false`
53
-
54
- ### In React.js:
55
- ```js
56
- // Load Input Components
57
- import { Form, Input } from 'coject';
58
-
59
- // Use It Inside Component
60
- function FormApp() {
61
- return (
62
- <>
63
- <Form onSubmit={(formData) => console.log(formData)}>
64
- <Input type="email" name="username" label="Username" />
65
- <Input type="password" name="password" label="Password" />
66
- </Form>
67
- </>
68
- );
69
- }
70
-
71
- const root = createRoot(document.getElementById('root'));
72
- root.render(<App />);
73
- ```
74
-
75
- See the [package source](https://github.com/coject/coject) for more details.
76
-
77
- **Note:**<br>
78
- Install [Material UI](https://www.npmjs.com/package/n_) for Coject use in the React.js > 16.
79
-
80
- ### Support
81
-
1
+ <h1 align="center">Coject</h1>
2
+
3
+ <p align="center">Promise based HTTP client for the browser and node.js</p>
4
+
5
+ <p align="center">
6
+ <a href="https://dev.aait.com.sa/"><b>Website</b></a> •
7
+ <a href="https://dev.aait.com.sa/CojectDocumentation/"><b>Documentation</b></a>
8
+ </p>
9
+
10
+ <div align="center">
11
+
12
+ [![npm version](https://img.shields.io/npm/v/coject.svg?style=flat-square)](https://www.npmjs.org/package/coject)
13
+ [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/coject/coject)
14
+ [![install size](https://img.shields.io/badge/dynamic/json?url=https://packagephobia.com/v2/api.json?p=coject&query=$.install.pretty&label=install%20size&style=flat-square)](https://packagephobia.now.sh/result?p=coject)
15
+ [![npm downloads](https://img.shields.io/npm/dm/coject.svg?style=flat-square)](https://npm-stat.com/charts.html?package=coject)
16
+ [![gitter chat](https://img.shields.io/gitter/room/mzabriskie/coject.svg?style=flat-square)](https://gitter.im/mzabriskie/coject)
17
+ [![Known Vulnerabilities](https://snyk.io/test/npm/coject/badge.svg)](https://snyk.io/test/npm/coject)
18
+
19
+ </div>
20
+
21
+ ## Coject v1.4
22
+
23
+ The [Coject](https://coject.com/) library exported as [React.js](https://react.dev/) components.
24
+ All Component Is Dependency On [Material UI](https://mui.com/) Library.
25
+
26
+ ### Installation
27
+
28
+ ### Using npm:
29
+ ```shell
30
+ // npm install
31
+ $ npm i coject
32
+
33
+ // yarn install
34
+ $ yarn add coject
35
+ ```
36
+
37
+ ### Dependency npm [For JavaScript/TypeScript Project]:
38
+ ```shell
39
+ // npm install
40
+ $ npm i @emotion/react @emotion/styled @mui/icons-material @mui/material @mui/x-data-grid @mui/x-date-pickers @types/moment @types/moment-hijri coject moment moment-hijri react-hook-form react-toastify tss-react axios
41
+
42
+ // yarn install
43
+ $ yarn add @emotion/react @emotion/styled @mui/icons-material @mui/material @mui/x-data-grid @mui/x-date-pickers @types/moment @types/moment-hijri coject moment moment-hijri react-hook-form react-toastify tss-react axios
44
+ ```
45
+ ```html
46
+ <!-- Add Font In /public/index.html Head -->
47
+ <link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
48
+ ```
49
+
50
+ ### Important
51
+ 1. Create `.env` File In The Same Directory Where Your `package.json` Is
52
+ 2. Define The Following Variable `GENERATE_SOURCEMAP=false`
53
+
54
+ ### In React.js:
55
+ ```js
56
+ // Load Input Components
57
+ import { Form, Input } from 'coject';
58
+
59
+ // Use It Inside Component
60
+ function FormApp() {
61
+ return (
62
+ <>
63
+ <Form onSubmit={(formData) => console.log(formData)}>
64
+ <Input type="email" name="username" label="Username" />
65
+ <Input type="password" name="password" label="Password" />
66
+ </Form>
67
+ </>
68
+ );
69
+ }
70
+
71
+ const root = createRoot(document.getElementById('root'));
72
+ root.render(<App />);
73
+ ```
74
+
75
+ See the [package source](https://github.com/coject/coject) for more details.
76
+
77
+ **Note:**<br>
78
+ Install [Material UI](https://www.npmjs.com/package/n_) for Coject use in the React.js > 16.
79
+
80
+ ### Support
81
+
82
82
  Tested in Chrome 74-75, Firefox 66-67, IE 11, Edge 18, Safari 11-12, & Node.js 8-12.
@@ -80,31 +80,29 @@ const Select = ({ name, value, label, callback, staticData, helperText, dataSour
80
80
  }
81
81
  // eslint-disable-next-line
82
82
  }, [callback, staticData]);
83
- // Master Component
84
- const MuiAutocomplete = () => {
85
- return (react_1.default.createElement(material_1.Autocomplete, { options: selectData, multiple: multiple, ...props, value: !!selectData?.length && selectedValue
86
- ? multiple
87
- ? selectedValue?.map((SValue) => selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === SValue))
88
- : multiple ? [] : selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === selectedValue)
89
- : multiple ? [] : null, defaultValue: !!selectData?.length && selectedValue
90
- ? multiple
91
- ? selectedValue?.map((SValue) => selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === SValue))
92
- : multiple ? [] : selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === selectedValue)
93
- : multiple ? [] : null, onChange: (event, newValue) => {
94
- onChange && onChange(event, newValue, Methods);
95
- setSelectedValue(multiple ? [...new Set([...(fixedOption ? fixedOption : []), ...(newValue?.map((NValue) => (customKey ? NValue[`${customKey}`] : NValue.id)))])] : (customKey ? (newValue && newValue[`${customKey}`]) : newValue?.id));
96
- control && setValue(name || "default", multiple ? [...new Set([...(fixedOption ? fixedOption : []), ...(newValue?.map((NValue) => (customKey ? NValue[`${customKey}`] : NValue.id)))])] : (customKey ? (newValue && newValue[`${customKey}`]) : newValue?.id));
97
- }, renderTags: (tagValue, getTagProps) => tagValue.map((row, index) => (react_1.default.createElement(material_1.Chip, { ...getTagProps({ index }), label: customName ? row[`${customName}`] : row.label, disabled: (fixedOption && multiple) ? fixedOption.includes(customKey ? row[`${customKey}`] : row.id) : false }))), ...(customName ? { getOptionLabel: (option) => option[`${customName}`] } : {}), ...((renderOption || checkboxes) ? { renderOption: (props, row, { selected }) => react_1.default.createElement(material_1.Box, { component: "li", ...props }, checkboxes
98
- ? react_1.default.createElement(react_1.default.Fragment, null,
99
- react_1.default.createElement(material_1.Checkbox, { icon: react_1.default.createElement(index_1.Icons.CheckBoxOutlineBlank, { fontSize: "small" }), checkedIcon: react_1.default.createElement(index_1.Icons.CheckBox, { fontSize: "small" }), style: { marginRight: 5 }, checked: selected }),
100
- customName ? row[`${customName}`] : row.label)
101
- : renderOption(row)) } : {}), getOptionDisabled: (row) => (disabledOption ? disabledOption.includes(customKey ? row[`${customKey}`] : row.id) : false) || ((fixedOption && multiple) ? fixedOption.includes(customKey ? row[`${customKey}`] : row.id) : false), renderInput: (params) => react_1.default.createElement(material_1.TextField, { ...params, InputProps: { ...params.InputProps, ...inputProps, type: "search" }, fullWidth: !!inputProps?.fullWidth, error: error, label: label ? label : (name || "default"), required: required }) }));
102
- };
103
83
  return (react_1.default.createElement(react_1.default.Fragment, null,
104
84
  react_1.default.createElement(material_1.Box, { className: classes.root },
105
- control
106
- ? react_1.default.createElement(react_hook_form_1.Controller, { name: name || "default", control: control, render: () => react_1.default.createElement(MuiAutocomplete, null) })
107
- : react_1.default.createElement(MuiAutocomplete, null),
85
+ react_1.default.createElement(react_hook_form_1.Controller, { name: name || "default", control: control, render: () => {
86
+ return (react_1.default.createElement(material_1.Autocomplete, { options: selectData, multiple: multiple, ...props, value: !!selectData?.length && selectedValue
87
+ ? multiple
88
+ ? selectedValue?.map((SValue) => selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === SValue))
89
+ : multiple ? [] : selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === selectedValue)
90
+ : multiple ? [] : null, defaultValue: !!selectData?.length && selectedValue
91
+ ? multiple
92
+ ? selectedValue?.map((SValue) => selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === SValue))
93
+ : multiple ? [] : selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === selectedValue)
94
+ : multiple ? [] : null, onChange: (event, newValue) => {
95
+ onChange && onChange(event, newValue, Methods);
96
+ setSelectedValue(multiple ? [...new Set([...(fixedOption ? fixedOption : []), ...(newValue?.map((NValue) => (customKey ? NValue[`${customKey}`] : NValue.id)))])] : (customKey ? (newValue && newValue[`${customKey}`]) : newValue?.id));
97
+ control && setValue(name || "default", multiple ? [...new Set([...(fixedOption ? fixedOption : []), ...(newValue?.map((NValue) => (customKey ? NValue[`${customKey}`] : NValue.id)))])] : (customKey ? (newValue && newValue[`${customKey}`]) : newValue?.id));
98
+ }, renderTags: (tagValue, getTagProps) => tagValue.map((row, index) => (react_1.default.createElement(material_1.Chip, { ...getTagProps({ index }), label: customName ? row[`${customName}`] : row.label, disabled: (fixedOption && multiple) ? fixedOption.includes(customKey ? row[`${customKey}`] : row.id) : false }))), ...(customName ? { getOptionLabel: (option) => option[`${customName}`] } : {}), ...((renderOption || checkboxes) ? {
99
+ renderOption: (props, row, { selected }) => react_1.default.createElement(material_1.Box, { component: "li", ...props }, checkboxes
100
+ ? react_1.default.createElement(react_1.default.Fragment, null,
101
+ react_1.default.createElement(material_1.Checkbox, { icon: react_1.default.createElement(index_1.Icons.CheckBoxOutlineBlank, { fontSize: "small" }), checkedIcon: react_1.default.createElement(index_1.Icons.CheckBox, { fontSize: "small" }), style: { marginRight: 5 }, checked: selected }),
102
+ customName ? row[`${customName}`] : row.label)
103
+ : renderOption(row))
104
+ } : {}), getOptionDisabled: (row) => (disabledOption ? disabledOption.includes(customKey ? row[`${customKey}`] : row.id) : false) || ((fixedOption && multiple) ? fixedOption.includes(customKey ? row[`${customKey}`] : row.id) : false), renderInput: (params) => react_1.default.createElement(material_1.TextField, { ...params, InputProps: { ...params.InputProps, ...inputProps, type: "search" }, fullWidth: !!inputProps?.fullWidth, error: error, label: label ? label : (name || "default"), required: required }) }));
105
+ } }),
108
106
  helperText && react_1.default.createElement(material_1.FormHelperText, { className: classes.error }, helperText))));
109
107
  };
110
108
  exports.Select = Select;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../resources/Components/Select/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAuD;AAEvD,kBAAkB;AAClB,qDAA6D;AAE7D,UAAU;AACV,6CAAyC;AAEzC,cAAc;AACd,4CAAgH;AAEhH,SAAS;AACT,oCAAiC;AAEjC,SAAS;AACT,oDAAgC;AAuDzB,MAAM,MAAM,GAAiD,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IAClR,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,eAAS,GAAE,CAAC;IAChC,MAAM,OAAO,GAAG,IAAA,gCAAc,GAAE,IAAI,EAAE,CAAC;IACvC,MAAM,CAAE,aAAa,EAAE,gBAAgB,CAAE,GAAG,IAAA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GAAG,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,WAAW,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,EAChO,WAAW,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,8BAAC,oBAAS,OAAK,MAAM,EAAE,UAAU,EAAE,EAAE,GAAG,MAAM,CAAC,UAAU,EAAE,GAAG,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,SAAS,CAAC,EAAE,QAAQ,EAAE,QAAQ,GAAI,GAC3O,CACL,CAAA;gBACL,CAAC,GAAI;YACJ,UAAU,IAAI,8BAAC,yBAAc,IAAC,SAAS,EAAE,OAAO,CAAC,KAAK,IAAG,UAAU,CAAkB,CACpF,CACO,CACpB,CAAA;AACL,CAAC,CAAC;AA5FW,QAAA,MAAM,UA4FjB"}
@@ -1,106 +1,106 @@
1
- /* Labels */
2
- html[dir="rtl"] fieldset {
3
- text-align: right;
4
- }
5
-
6
- html[dir="rtl"] .MuiFormLabel-root {
7
- right: 0;
8
- left: initial;
9
- transform-origin: top right;
10
- transform: translate(-14px, 16px) scale(1);
11
- }
12
-
13
- html[dir="rtl"] .MuiFormLabel-root.MuiInputLabel-shrink {
14
- transform: translate(-14px, -9px) scale(0.75);
15
- }
16
-
17
- /* Grid */
18
- html[dir="rtl"] .MuiButton-startIcon {
19
- margin: 0 0 0 8px !important
20
- }
21
-
22
- html[dir="rtl"] .MuiTablePagination-toolbar {
23
- padding-left: 2px;
24
- padding-right: 24px;
25
- }
26
-
27
- html[dir="rtl"] .MuiTablePagination-actions {
28
- margin-left: 0;
29
- margin-right: 20px;
30
- }
31
-
32
- html[dir="rtl"] .MuiTablePagination-actions svg {
33
- transform: scaleX(-1);
34
- }
35
-
36
- html[dir="rtl"] .MuiDataGrid-toolbarContainer {
37
- direction: ltr;
38
- }
39
-
40
- html[dir="rtl"] .MuiDataGrid-toolbarContainer button {
41
- direction: rtl;
42
- }
43
-
44
- html[dir="rtl"] .MuiTablePagination-input {
45
- margin: 0 8px 0 32px;
46
- }
47
-
48
- /* Select */
49
- html[dir="rtl"] .MuiAutocomplete-inputRoot {
50
- padding-left: 65px;
51
- padding-right: 0 !important;
52
- }
53
-
54
- html[dir="rtl"] .MuiAutocomplete-endAdornment {
55
- left: 13px;
56
- right: initial !important;
57
- }
58
-
59
- /* DatePicker */
60
- html[dir="rtl"] .MuiPickersCalendarHeader-labelContainer {
61
- margin-left: auto;
62
- margin-right: 0 !important;
63
- }
64
-
65
- html[dir="rtl"] .MuiPickersArrowSwitcher-root svg {
66
- transform: scaleX(-1);
67
- }
68
-
69
- /* Checkbox & Switch */
70
- html[dir="rtl"] .MuiFormControlLabel-root {
71
- margin-left: 16px;
72
- margin-right: -11px;
73
- }
74
-
75
- /* Sidebar */
76
- html[dir="rtl"] .minMenuList .MuiPaper-elevation {
77
- left: auto !important;
78
- right: 70px !important;
79
- }
80
-
81
- html[dir="rtl"] .maxMenuList li a,
82
- html[dir="rtl"] .maxMenuList li button {
83
- padding-left: 0;
84
- padding-right: 32px;
85
- }
86
-
87
- /* Header */
88
- html[dir="rtl"] .mobSearchBtn {
89
- left: 25px;
90
- right: auto;
91
- }
92
-
93
- html[dir="rtl"] .mobMenuList .MuiPaper-root {
94
- right: 0 !important;
95
- left: auto !important;
96
- }
97
-
98
- html[dir="rtl"] .mobMenuList .MuiPaper-root h6 svg {
99
- margin-right: 0;
100
- margin-left: 10px;
101
- }
102
-
103
- html[dir="rtl"] .mobMenuClose {
104
- right: 300px !important;
105
- left: auto !important;
1
+ /* Labels */
2
+ html[dir="rtl"] fieldset {
3
+ text-align: right;
4
+ }
5
+
6
+ html[dir="rtl"] .MuiFormLabel-root {
7
+ right: 0;
8
+ left: initial;
9
+ transform-origin: top right;
10
+ transform: translate(-14px, 16px) scale(1);
11
+ }
12
+
13
+ html[dir="rtl"] .MuiFormLabel-root.MuiInputLabel-shrink {
14
+ transform: translate(-14px, -9px) scale(0.75);
15
+ }
16
+
17
+ /* Grid */
18
+ html[dir="rtl"] .MuiButton-startIcon {
19
+ margin: 0 0 0 8px !important
20
+ }
21
+
22
+ html[dir="rtl"] .MuiTablePagination-toolbar {
23
+ padding-left: 2px;
24
+ padding-right: 24px;
25
+ }
26
+
27
+ html[dir="rtl"] .MuiTablePagination-actions {
28
+ margin-left: 0;
29
+ margin-right: 20px;
30
+ }
31
+
32
+ html[dir="rtl"] .MuiTablePagination-actions svg {
33
+ transform: scaleX(-1);
34
+ }
35
+
36
+ html[dir="rtl"] .MuiDataGrid-toolbarContainer {
37
+ direction: ltr;
38
+ }
39
+
40
+ html[dir="rtl"] .MuiDataGrid-toolbarContainer button {
41
+ direction: rtl;
42
+ }
43
+
44
+ html[dir="rtl"] .MuiTablePagination-input {
45
+ margin: 0 8px 0 32px;
46
+ }
47
+
48
+ /* Select */
49
+ html[dir="rtl"] .MuiAutocomplete-inputRoot {
50
+ padding-left: 65px;
51
+ padding-right: 0 !important;
52
+ }
53
+
54
+ html[dir="rtl"] .MuiAutocomplete-endAdornment {
55
+ left: 13px;
56
+ right: initial !important;
57
+ }
58
+
59
+ /* DatePicker */
60
+ html[dir="rtl"] .MuiPickersCalendarHeader-labelContainer {
61
+ margin-left: auto;
62
+ margin-right: 0 !important;
63
+ }
64
+
65
+ html[dir="rtl"] .MuiPickersArrowSwitcher-root svg {
66
+ transform: scaleX(-1);
67
+ }
68
+
69
+ /* Checkbox & Switch */
70
+ html[dir="rtl"] .MuiFormControlLabel-root {
71
+ margin-left: 16px;
72
+ margin-right: -11px;
73
+ }
74
+
75
+ /* Sidebar */
76
+ html[dir="rtl"] .minMenuList .MuiPaper-elevation {
77
+ left: auto !important;
78
+ right: 70px !important;
79
+ }
80
+
81
+ html[dir="rtl"] .maxMenuList li a,
82
+ html[dir="rtl"] .maxMenuList li button {
83
+ padding-left: 0;
84
+ padding-right: 32px;
85
+ }
86
+
87
+ /* Header */
88
+ html[dir="rtl"] .mobSearchBtn {
89
+ left: 25px;
90
+ right: auto;
91
+ }
92
+
93
+ html[dir="rtl"] .mobMenuList .MuiPaper-root {
94
+ right: 0 !important;
95
+ left: auto !important;
96
+ }
97
+
98
+ html[dir="rtl"] .mobMenuList .MuiPaper-root h6 svg {
99
+ margin-right: 0;
100
+ margin-left: 10px;
101
+ }
102
+
103
+ html[dir="rtl"] .mobMenuClose {
104
+ right: 300px !important;
105
+ left: auto !important;
106
106
  }
@@ -51,31 +51,29 @@ export const Select = ({ name, value, label, callback, staticData, helperText, d
51
51
  }
52
52
  // eslint-disable-next-line
53
53
  }, [callback, staticData]);
54
- // Master Component
55
- const MuiAutocomplete = () => {
56
- return (React.createElement(Autocomplete, { options: selectData, multiple: multiple, ...props, value: !!selectData?.length && selectedValue
57
- ? multiple
58
- ? selectedValue?.map((SValue) => selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === SValue))
59
- : multiple ? [] : selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === selectedValue)
60
- : multiple ? [] : null, defaultValue: !!selectData?.length && selectedValue
61
- ? multiple
62
- ? selectedValue?.map((SValue) => selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === SValue))
63
- : multiple ? [] : selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === selectedValue)
64
- : multiple ? [] : null, onChange: (event, newValue) => {
65
- onChange && onChange(event, newValue, Methods);
66
- setSelectedValue(multiple ? [...new Set([...(fixedOption ? fixedOption : []), ...(newValue?.map((NValue) => (customKey ? NValue[`${customKey}`] : NValue.id)))])] : (customKey ? (newValue && newValue[`${customKey}`]) : newValue?.id));
67
- control && setValue(name || "default", multiple ? [...new Set([...(fixedOption ? fixedOption : []), ...(newValue?.map((NValue) => (customKey ? NValue[`${customKey}`] : NValue.id)))])] : (customKey ? (newValue && newValue[`${customKey}`]) : newValue?.id));
68
- }, renderTags: (tagValue, getTagProps) => tagValue.map((row, index) => (React.createElement(Chip, { ...getTagProps({ index }), label: customName ? row[`${customName}`] : row.label, disabled: (fixedOption && multiple) ? fixedOption.includes(customKey ? row[`${customKey}`] : row.id) : false }))), ...(customName ? { getOptionLabel: (option) => option[`${customName}`] } : {}), ...((renderOption || checkboxes) ? { renderOption: (props, row, { selected }) => React.createElement(Box, { component: "li", ...props }, checkboxes
69
- ? React.createElement(React.Fragment, null,
70
- React.createElement(Checkbox, { icon: React.createElement(Icons.CheckBoxOutlineBlank, { fontSize: "small" }), checkedIcon: React.createElement(Icons.CheckBox, { fontSize: "small" }), style: { marginRight: 5 }, checked: selected }),
71
- customName ? row[`${customName}`] : row.label)
72
- : renderOption(row)) } : {}), getOptionDisabled: (row) => (disabledOption ? disabledOption.includes(customKey ? row[`${customKey}`] : row.id) : false) || ((fixedOption && multiple) ? fixedOption.includes(customKey ? row[`${customKey}`] : row.id) : false), renderInput: (params) => React.createElement(TextField, { ...params, InputProps: { ...params.InputProps, ...inputProps, type: "search" }, fullWidth: !!inputProps?.fullWidth, error: error, label: label ? label : (name || "default"), required: required }) }));
73
- };
74
54
  return (React.createElement(React.Fragment, null,
75
55
  React.createElement(Box, { className: classes.root },
76
- control
77
- ? React.createElement(Controller, { name: name || "default", control: control, render: () => React.createElement(MuiAutocomplete, null) })
78
- : React.createElement(MuiAutocomplete, null),
56
+ React.createElement(Controller, { name: name || "default", control: control, render: () => {
57
+ return (React.createElement(Autocomplete, { options: selectData, multiple: multiple, ...props, value: !!selectData?.length && selectedValue
58
+ ? multiple
59
+ ? selectedValue?.map((SValue) => selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === SValue))
60
+ : multiple ? [] : selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === selectedValue)
61
+ : multiple ? [] : null, defaultValue: !!selectData?.length && selectedValue
62
+ ? multiple
63
+ ? selectedValue?.map((SValue) => selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === SValue))
64
+ : multiple ? [] : selectData.find((option) => (customKey ? option[`${customKey}`] : option.id) === selectedValue)
65
+ : multiple ? [] : null, onChange: (event, newValue) => {
66
+ onChange && onChange(event, newValue, Methods);
67
+ setSelectedValue(multiple ? [...new Set([...(fixedOption ? fixedOption : []), ...(newValue?.map((NValue) => (customKey ? NValue[`${customKey}`] : NValue.id)))])] : (customKey ? (newValue && newValue[`${customKey}`]) : newValue?.id));
68
+ control && setValue(name || "default", multiple ? [...new Set([...(fixedOption ? fixedOption : []), ...(newValue?.map((NValue) => (customKey ? NValue[`${customKey}`] : NValue.id)))])] : (customKey ? (newValue && newValue[`${customKey}`]) : newValue?.id));
69
+ }, renderTags: (tagValue, getTagProps) => tagValue.map((row, index) => (React.createElement(Chip, { ...getTagProps({ index }), label: customName ? row[`${customName}`] : row.label, disabled: (fixedOption && multiple) ? fixedOption.includes(customKey ? row[`${customKey}`] : row.id) : false }))), ...(customName ? { getOptionLabel: (option) => option[`${customName}`] } : {}), ...((renderOption || checkboxes) ? {
70
+ renderOption: (props, row, { selected }) => React.createElement(Box, { component: "li", ...props }, checkboxes
71
+ ? React.createElement(React.Fragment, null,
72
+ React.createElement(Checkbox, { icon: React.createElement(Icons.CheckBoxOutlineBlank, { fontSize: "small" }), checkedIcon: React.createElement(Icons.CheckBox, { fontSize: "small" }), style: { marginRight: 5 }, checked: selected }),
73
+ customName ? row[`${customName}`] : row.label)
74
+ : renderOption(row))
75
+ } : {}), getOptionDisabled: (row) => (disabledOption ? disabledOption.includes(customKey ? row[`${customKey}`] : row.id) : false) || ((fixedOption && multiple) ? fixedOption.includes(customKey ? row[`${customKey}`] : row.id) : false), renderInput: (params) => React.createElement(TextField, { ...params, InputProps: { ...params.InputProps, ...inputProps, type: "search" }, fullWidth: !!inputProps?.fullWidth, error: error, label: label ? label : (name || "default"), required: required }) }));
76
+ } }),
79
77
  helperText && React.createElement(FormHelperText, { className: classes.error }, helperText))));
80
78
  };
81
79
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../resources/Components/Select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAM,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,kBAAkB;AAClB,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7D,UAAU;AACV,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,cAAc;AACd,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,YAAY,EAAqB,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEhH,SAAS;AACT,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,SAAS;AACT,OAAO,SAAS,MAAM,SAAS,CAAC;AAuDhC,MAAM,CAAC,MAAM,MAAM,GAAiD,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IAClR,MAAM,EAAE,OAAO,EAAE,GAAG,SAAS,EAAE,CAAC;IAChC,MAAM,OAAO,GAAG,cAAc,EAAE,IAAI,EAAE,CAAC;IACvC,MAAM,CAAE,aAAa,EAAE,gBAAgB,CAAE,GAAG,QAAQ,EAAO,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,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,WAAW,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,EAChO,WAAW,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,oBAAC,SAAS,OAAK,MAAM,EAAE,UAAU,EAAE,EAAE,GAAG,MAAM,CAAC,UAAU,EAAE,GAAG,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,SAAS,CAAC,EAAE,QAAQ,EAAE,QAAQ,GAAI,GAC3O,CACL,CAAA;gBACL,CAAC,GAAI;YACJ,UAAU,IAAI,oBAAC,cAAc,IAAC,SAAS,EAAE,OAAO,CAAC,KAAK,IAAG,UAAU,CAAkB,CACpF,CACO,CACpB,CAAA;AACL,CAAC,CAAC"}
@@ -1,106 +1,106 @@
1
- /* Labels */
2
- html[dir="rtl"] fieldset {
3
- text-align: right;
4
- }
5
-
6
- html[dir="rtl"] .MuiFormLabel-root {
7
- right: 0;
8
- left: initial;
9
- transform-origin: top right;
10
- transform: translate(-14px, 16px) scale(1);
11
- }
12
-
13
- html[dir="rtl"] .MuiFormLabel-root.MuiInputLabel-shrink {
14
- transform: translate(-14px, -9px) scale(0.75);
15
- }
16
-
17
- /* Grid */
18
- html[dir="rtl"] .MuiButton-startIcon {
19
- margin: 0 0 0 8px !important
20
- }
21
-
22
- html[dir="rtl"] .MuiTablePagination-toolbar {
23
- padding-left: 2px;
24
- padding-right: 24px;
25
- }
26
-
27
- html[dir="rtl"] .MuiTablePagination-actions {
28
- margin-left: 0;
29
- margin-right: 20px;
30
- }
31
-
32
- html[dir="rtl"] .MuiTablePagination-actions svg {
33
- transform: scaleX(-1);
34
- }
35
-
36
- html[dir="rtl"] .MuiDataGrid-toolbarContainer {
37
- direction: ltr;
38
- }
39
-
40
- html[dir="rtl"] .MuiDataGrid-toolbarContainer button {
41
- direction: rtl;
42
- }
43
-
44
- html[dir="rtl"] .MuiTablePagination-input {
45
- margin: 0 8px 0 32px;
46
- }
47
-
48
- /* Select */
49
- html[dir="rtl"] .MuiAutocomplete-inputRoot {
50
- padding-left: 65px;
51
- padding-right: 0 !important;
52
- }
53
-
54
- html[dir="rtl"] .MuiAutocomplete-endAdornment {
55
- left: 13px;
56
- right: initial !important;
57
- }
58
-
59
- /* DatePicker */
60
- html[dir="rtl"] .MuiPickersCalendarHeader-labelContainer {
61
- margin-left: auto;
62
- margin-right: 0 !important;
63
- }
64
-
65
- html[dir="rtl"] .MuiPickersArrowSwitcher-root svg {
66
- transform: scaleX(-1);
67
- }
68
-
69
- /* Checkbox & Switch */
70
- html[dir="rtl"] .MuiFormControlLabel-root {
71
- margin-left: 16px;
72
- margin-right: -11px;
73
- }
74
-
75
- /* Sidebar */
76
- html[dir="rtl"] .minMenuList .MuiPaper-elevation {
77
- left: auto !important;
78
- right: 70px !important;
79
- }
80
-
81
- html[dir="rtl"] .maxMenuList li a,
82
- html[dir="rtl"] .maxMenuList li button {
83
- padding-left: 0;
84
- padding-right: 32px;
85
- }
86
-
87
- /* Header */
88
- html[dir="rtl"] .mobSearchBtn {
89
- left: 25px;
90
- right: auto;
91
- }
92
-
93
- html[dir="rtl"] .mobMenuList .MuiPaper-root {
94
- right: 0 !important;
95
- left: auto !important;
96
- }
97
-
98
- html[dir="rtl"] .mobMenuList .MuiPaper-root h6 svg {
99
- margin-right: 0;
100
- margin-left: 10px;
101
- }
102
-
103
- html[dir="rtl"] .mobMenuClose {
104
- right: 300px !important;
105
- left: auto !important;
1
+ /* Labels */
2
+ html[dir="rtl"] fieldset {
3
+ text-align: right;
4
+ }
5
+
6
+ html[dir="rtl"] .MuiFormLabel-root {
7
+ right: 0;
8
+ left: initial;
9
+ transform-origin: top right;
10
+ transform: translate(-14px, 16px) scale(1);
11
+ }
12
+
13
+ html[dir="rtl"] .MuiFormLabel-root.MuiInputLabel-shrink {
14
+ transform: translate(-14px, -9px) scale(0.75);
15
+ }
16
+
17
+ /* Grid */
18
+ html[dir="rtl"] .MuiButton-startIcon {
19
+ margin: 0 0 0 8px !important
20
+ }
21
+
22
+ html[dir="rtl"] .MuiTablePagination-toolbar {
23
+ padding-left: 2px;
24
+ padding-right: 24px;
25
+ }
26
+
27
+ html[dir="rtl"] .MuiTablePagination-actions {
28
+ margin-left: 0;
29
+ margin-right: 20px;
30
+ }
31
+
32
+ html[dir="rtl"] .MuiTablePagination-actions svg {
33
+ transform: scaleX(-1);
34
+ }
35
+
36
+ html[dir="rtl"] .MuiDataGrid-toolbarContainer {
37
+ direction: ltr;
38
+ }
39
+
40
+ html[dir="rtl"] .MuiDataGrid-toolbarContainer button {
41
+ direction: rtl;
42
+ }
43
+
44
+ html[dir="rtl"] .MuiTablePagination-input {
45
+ margin: 0 8px 0 32px;
46
+ }
47
+
48
+ /* Select */
49
+ html[dir="rtl"] .MuiAutocomplete-inputRoot {
50
+ padding-left: 65px;
51
+ padding-right: 0 !important;
52
+ }
53
+
54
+ html[dir="rtl"] .MuiAutocomplete-endAdornment {
55
+ left: 13px;
56
+ right: initial !important;
57
+ }
58
+
59
+ /* DatePicker */
60
+ html[dir="rtl"] .MuiPickersCalendarHeader-labelContainer {
61
+ margin-left: auto;
62
+ margin-right: 0 !important;
63
+ }
64
+
65
+ html[dir="rtl"] .MuiPickersArrowSwitcher-root svg {
66
+ transform: scaleX(-1);
67
+ }
68
+
69
+ /* Checkbox & Switch */
70
+ html[dir="rtl"] .MuiFormControlLabel-root {
71
+ margin-left: 16px;
72
+ margin-right: -11px;
73
+ }
74
+
75
+ /* Sidebar */
76
+ html[dir="rtl"] .minMenuList .MuiPaper-elevation {
77
+ left: auto !important;
78
+ right: 70px !important;
79
+ }
80
+
81
+ html[dir="rtl"] .maxMenuList li a,
82
+ html[dir="rtl"] .maxMenuList li button {
83
+ padding-left: 0;
84
+ padding-right: 32px;
85
+ }
86
+
87
+ /* Header */
88
+ html[dir="rtl"] .mobSearchBtn {
89
+ left: 25px;
90
+ right: auto;
91
+ }
92
+
93
+ html[dir="rtl"] .mobMenuList .MuiPaper-root {
94
+ right: 0 !important;
95
+ left: auto !important;
96
+ }
97
+
98
+ html[dir="rtl"] .mobMenuList .MuiPaper-root h6 svg {
99
+ margin-right: 0;
100
+ margin-left: 10px;
101
+ }
102
+
103
+ html[dir="rtl"] .mobMenuClose {
104
+ right: 300px !important;
105
+ left: auto !important;
106
106
  }
package/package.json CHANGED
@@ -1,61 +1,61 @@
1
- {
2
- "name": "coject",
3
- "version": "1.4.13",
4
- "description": "React Library",
5
- "main": "dist/cjs/index.js",
6
- "module": "dist/esm/index.js",
7
- "files": [
8
- "dist"
9
- ],
10
- "scripts": {
11
- "build": "rm -rf dist/ && npm run build:esm && npm run build:cjs",
12
- "build:esm": "tsc",
13
- "build:cjs": "tsc --module CommonJS --outDir dist/cjs",
14
- "test": "echo \"Error: no test specified\" && exit 1"
15
- },
16
- "repository": {
17
- "type": "git",
18
- "url": "git+https://github.com/coject/coject.git"
19
- },
20
- "keywords": [
21
- "Node",
22
- "React",
23
- "Form",
24
- "Data",
25
- "JSON",
26
- "Submit",
27
- "TypeScript"
28
- ],
29
- "author": "Akwad",
30
- "license": "MIT",
31
- "bugs": {
32
- "url": "https://github.com/coject/coject/issues"
33
- },
34
- "homepage": "https://github.com/coject/coject",
35
- "devDependencies": {
36
- "@emotion/react": "^11.11.1",
37
- "@emotion/styled": "^11.11.0",
38
- "@mui/icons-material": "^5.15.0",
39
- "@mui/material": "^5.15.0",
40
- "@mui/x-data-grid": "^6.18.5",
41
- "@mui/x-date-pickers": "^6.18.5",
42
- "@types/moment": "^2.13.0",
43
- "@types/moment-hijri": "^2.1.0",
44
- "@types/node": "^20.6.0",
45
- "@types/react": "^18.2.21",
46
- "@types/react-dom": "^18.2.7",
47
- "axios": "^1.6.0",
48
- "moment": "^2.29.4",
49
- "moment-hijri": "^2.1.2",
50
- "react": "^18.2.0",
51
- "react-dom": "^18.2.0",
52
- "react-hook-form": "^7.46.1",
53
- "react-toastify": "^9.1.3",
54
- "tss-react": "^4.9.3",
55
- "typescript": "^5.2.2"
56
- },
57
- "peerDependencies": {
58
- "react": "^18.2.0",
59
- "react-dom": "^18.2.0"
60
- }
61
- }
1
+ {
2
+ "name": "coject",
3
+ "version": "1.4.14",
4
+ "description": "React Library",
5
+ "main": "dist/cjs/index.js",
6
+ "module": "dist/esm/index.js",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "scripts": {
11
+ "build": "npm run build:esm && npm run build:cjs",
12
+ "build:esm": "tsc",
13
+ "build:cjs": "tsc --module CommonJS --outDir dist/cjs",
14
+ "test": "echo \"Error: no test specified\" && exit 1"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/coject/coject.git"
19
+ },
20
+ "keywords": [
21
+ "Node",
22
+ "React",
23
+ "Form",
24
+ "Data",
25
+ "JSON",
26
+ "Submit",
27
+ "TypeScript"
28
+ ],
29
+ "author": "Akwad",
30
+ "license": "MIT",
31
+ "bugs": {
32
+ "url": "https://github.com/coject/coject/issues"
33
+ },
34
+ "homepage": "https://github.com/coject/coject",
35
+ "devDependencies": {
36
+ "@emotion/react": "^11.11.1",
37
+ "@emotion/styled": "^11.11.0",
38
+ "@mui/icons-material": "^5.15.0",
39
+ "@mui/material": "^5.15.0",
40
+ "@mui/x-data-grid": "^6.18.5",
41
+ "@mui/x-date-pickers": "^6.18.5",
42
+ "@types/moment": "^2.13.0",
43
+ "@types/moment-hijri": "^2.1.0",
44
+ "@types/node": "^20.6.0",
45
+ "@types/react": "^18.2.21",
46
+ "@types/react-dom": "^18.2.7",
47
+ "axios": "^1.6.0",
48
+ "moment": "^2.29.4",
49
+ "moment-hijri": "^2.1.2",
50
+ "react": "^18.2.0",
51
+ "react-dom": "^18.2.0",
52
+ "react-hook-form": "^7.46.1",
53
+ "react-toastify": "^9.1.3",
54
+ "tss-react": "^4.9.3",
55
+ "typescript": "^5.2.2"
56
+ },
57
+ "peerDependencies": {
58
+ "react": "^18.2.0",
59
+ "react-dom": "^18.2.0"
60
+ }
61
+ }