@egovernments/digit-ui-module-core 1.8.0-beta.13 → 1.8.0-beta.15

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.
Files changed (3) hide show
  1. package/README.md +126 -109
  2. package/dist/index.js +1 -1
  3. package/package.json +35 -35
package/README.md CHANGED
@@ -1,109 +1,126 @@
1
- <!-- TODO: update this -->
2
-
3
- # digit-ui-module-core
4
-
5
- ## Install
6
-
7
- ```bash
8
- npm install --save @egovernments/digit-ui-module-core
9
- ```
10
-
11
- ## Limitation
12
-
13
- ```bash
14
- This Package is more specific to DIGIT-UI's can be used across mission's
15
- ```
16
-
17
- ## Usage
18
-
19
- After adding the dependency make sure you have this dependency in
20
-
21
- ```bash
22
- frontend/micro-ui/web/package.json
23
- ```
24
-
25
- ```json
26
- "@egovernments/digit-ui-module-core":"^1.5.0",
27
- ```
28
-
29
- then navigate to App.js
30
-
31
- ```bash
32
- frontend/micro-ui/web/src/App.js
33
- ```
34
-
35
- ```jsx
36
- /** add this import **/
37
-
38
- import { DigitUI } from "@egovernments/digit-ui-module-core";
39
-
40
-
41
- /** inside render Function add the import for the component **/
42
-
43
- ReactDOM.render(<DigitUI stateCode={stateCode} enabledModules={enabledModules} moduleReducers={moduleReducers} />, document.getElementById("root"));
44
-
45
- ```
46
-
47
- # Mandatory changes to use following version
48
-
49
- ```
50
- from 1.5.38 add the following utility method in micro-ui-internals/packages/libraries/src/utils/index.js
51
-
52
- const createFunction = (functionAsString) => {
53
- return Function("return " + functionAsString)();
54
- };
55
-
56
- export as createFunction;
57
-
58
- similarly update line 76 of react-components/src/molecules/CustomDropdown.js
59
-
60
- with
61
- .filter((opt) => (opt?.hasOwnProperty("active") ? opt.active : true))
62
-
63
- ```
64
-
65
- # Changelog
66
-
67
- ```bash
68
- 1.8.0-beta.11 republished due to some version issues
69
- 1.8.0-beta.10 Constants updated for mgramsewa
70
- 1.8.0-beta.9 Updated How It works screen to take header from mdms config and show pdf card only when required
71
- 1.8.0-beta.8 redefine addtional component to render only under employee home page
72
- 1.8.0-beta.6 added addtional component render for tqm modules
73
- 1.8.0-beta.5 fix for login screen alignments
74
- 1.8.0-beta.4 made the default localisation in globalconfig
75
- 1.8.0-beta workbench base version beta release
76
- 1.7.0 urban 2.9
77
- 1.6.0 urban 2.8
78
- 1.5.43 redirection issue fix incase of no roles in selected city
79
- 1.5.46 added classname for topbar options dropdown.
80
- 1.5.45 aligment issue in edit and logout
81
- 1.5.44 updated login scss and alignment issues
82
- 1.5.42 fixed the mdms call in login component for dynamic updating
83
- 1.5.41 updated the readme content
84
- 1.5.40 Updated the login componenet to handle mdms config, which can be accessed from master - commonUiConfig and module - LoginConfig
85
- 1.5.39 Show the Toast when password changed and need to logout from profile page
86
- 1.5.38 enabled the admin mode for employee login which can be accessed through route employee/user/login?mode=admin and updated to use formcomposerv2
87
- 1.5.37 fixed hiding upload drawer icons.
88
- 1.5.36 fixed after clicking on change password and then try to save profile without changing password showing error.
89
- 1.5.35 fixed user profile email was prefilled when clicking on change password
90
- 1.5.34 fixed module not found redirection issue
91
- 1.5.33 fixed payment not throwing error page for sanitation
92
- 1.5.32 fixed the localisation issue by adding translation to the keys and fixed payment response issue for sanitation UI
93
- 1.5.31 fixed the allservices screen back button for sanitation UI
94
- 1.5.30 fixed the home routing issue in error screen
95
- 1.5.29 added the readme file
96
- 1.5.28 fixed the route issue for profile screen
97
- ```
98
-
99
- # Contributors
100
-
101
- [jagankumar-egov] [nipunarora-eGov] [Tulika-eGov] [Ramkrishna-egov] [nabeelmd-eGov] [anil-egov] [vamshikrishnakole-wtt-egov]
102
-
103
- ## Published from DIGIT Core
104
-
105
- Digit Dev Repo (<https://github.com/egovernments/Digit-Core/tree/digit-ui-core>)
106
-
107
- ## License
108
-
109
- MIT © [jagankumar-egov](https://github.com/jagankumar-egov)
1
+ <!-- TODO: update this -->
2
+
3
+ # digit-ui-module-core
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install --save @egovernments/digit-ui-module-core
9
+ ```
10
+
11
+ ## Limitation
12
+
13
+ ```bash
14
+ This Package is more specific to DIGIT-UI's can be used across mission's
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ After adding the dependency make sure you have this dependency in
20
+
21
+ ```bash
22
+ frontend/micro-ui/web/package.json
23
+ ```
24
+
25
+ ```json
26
+ "@egovernments/digit-ui-module-core":"^1.5.0",
27
+ ```
28
+
29
+ then navigate to App.js
30
+
31
+ ```bash
32
+ frontend/micro-ui/web/src/App.js
33
+ ```
34
+
35
+ ```jsx
36
+ /** add this import **/
37
+
38
+ import { DigitUI } from "@egovernments/digit-ui-module-core";
39
+
40
+
41
+ /** inside render Function add the import for the component **/
42
+
43
+ ReactDOM.render(<DigitUI stateCode={stateCode} enabledModules={enabledModules} moduleReducers={moduleReducers} />, document.getElementById("root"));
44
+
45
+ ```
46
+
47
+ # Mandatory changes to use following version
48
+
49
+ ```
50
+ from 1.5.38 add the following utility method in micro-ui-internals/packages/libraries/src/utils/index.js
51
+
52
+ const createFunction = (functionAsString) => {
53
+ return Function("return " + functionAsString)();
54
+ };
55
+
56
+ export as createFunction;
57
+
58
+ similarly update line 76 of react-components/src/molecules/CustomDropdown.js
59
+
60
+ with
61
+ .filter((opt) => (opt?.hasOwnProperty("active") ? opt.active : true))
62
+
63
+ ```
64
+ * Digit.Hooks.Utils.getDefaultLanguage()
65
+
66
+ ```
67
+ from 1.8.0 beta version add the following utility method in micro-ui/web/micro-ui-internals/packages/libraries/src/utils/index.js
68
+
69
+ const getDefaultLanguage = () => {
70
+ return `${getLocaleDefault()}_${getLocaleRegion()}`;
71
+ };
72
+
73
+ and add its related functions
74
+
75
+ ```
76
+
77
+
78
+ # Changelog
79
+
80
+ ```bash
81
+ 1.8.0-beta.15 fixed the sidebar sort order issue
82
+ 1.8.0-beta.14
83
+ 1.8.0-beta.13
84
+ 1.8.0-beta.12
85
+ 1.8.0-beta.11 republished due to some version issues
86
+ 1.8.0-beta.10 Constants updated for mgramsewa
87
+ 1.8.0-beta.9 Updated How It works screen to take header from mdms config and show pdf card only when required
88
+ 1.8.0-beta.8 redefine addtional component to render only under employee home page
89
+ 1.8.0-beta.6 added addtional component render for tqm modules
90
+ 1.8.0-beta.5 fix for login screen alignments
91
+ 1.8.0-beta.4 made the default localisation in globalconfig
92
+ 1.8.0-beta workbench base version beta release
93
+ 1.7.0 urban 2.9
94
+ 1.6.0 urban 2.8
95
+ 1.5.43 redirection issue fix incase of no roles in selected city
96
+ 1.5.46 added classname for topbar options dropdown.
97
+ 1.5.45 aligment issue in edit and logout
98
+ 1.5.44 updated login scss and alignment issues
99
+ 1.5.42 fixed the mdms call in login component for dynamic updating
100
+ 1.5.41 updated the readme content
101
+ 1.5.40 Updated the login componenet to handle mdms config, which can be accessed from master - commonUiConfig and module - LoginConfig
102
+ 1.5.39 Show the Toast when password changed and need to logout from profile page
103
+ 1.5.38 enabled the admin mode for employee login which can be accessed through route employee/user/login?mode=admin and updated to use formcomposerv2
104
+ 1.5.37 fixed hiding upload drawer icons.
105
+ 1.5.36 fixed after clicking on change password and then try to save profile without changing password showing error.
106
+ 1.5.35 fixed user profile email was prefilled when clicking on change password
107
+ 1.5.34 fixed module not found redirection issue
108
+ 1.5.33 fixed payment not throwing error page for sanitation
109
+ 1.5.32 fixed the localisation issue by adding translation to the keys and fixed payment response issue for sanitation UI
110
+ 1.5.31 fixed the allservices screen back button for sanitation UI
111
+ 1.5.30 fixed the home routing issue in error screen
112
+ 1.5.29 added the readme file
113
+ 1.5.28 fixed the route issue for profile screen
114
+ ```
115
+
116
+ # Contributors
117
+
118
+ [jagankumar-egov] [nipunarora-eGov] [Tulika-eGov] [Ramkrishna-egov] [nabeelmd-eGov] [anil-egov] [vamshikrishnakole-wtt-egov]
119
+
120
+ ## Published from DIGIT Core
121
+
122
+ Digit Dev Repo (<https://github.com/egovernments/Digit-Core/tree/digit-ui-core>)
123
+
124
+ ## License
125
+
126
+ MIT © [jagankumar-egov](https://github.com/jagankumar-egov)