ui-soxo-bootstrap-core 2.5.7 → 2.6.1-dev.1
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/.github/workflows/npm-publish.yml +49 -19
- package/core/components/menu-template-api/menu-template-api.js +2 -2
- package/core/lib/elements/basic/country-phone-input/country-phone-input.js +26 -57
- package/core/lib/elements/basic/country-phone-input/phone-input.scss +14 -0
- package/core/lib/models/forms/components/form-creator/form-creator.js +468 -502
- package/core/lib/pages/login/login.js +29 -4
- package/core/lib/utils/api/api.utils.js +50 -39
- package/core/lib/utils/common/common.utils.js +24 -0
- package/core/lib/utils/index.js +22 -28
- package/core/models/doctor/components/doctor-add/doctor-add.js +37 -32
- package/core/models/roles/roles.js +9 -0
- package/core/models/users/components/user-add/user-add.js +2 -2
- package/core/models/users/users.js +18 -7
- package/core/modules/reporting/components/reporting-dashboard/reporting-dashboard.js +55 -24
- package/core/modules/steps/action-buttons.js +5 -1
- package/package.json +2 -2
- package/core/components/external-window/DEVELOPER_GUIDE.md +0 -705
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Handles navigation and action controls for a multi-step process,
|
|
4
4
|
* including dynamic content rendering and process completion actions.
|
|
5
5
|
*/
|
|
6
|
-
import React, { useState } from 'react';
|
|
6
|
+
import React, { useState, useEffect } from 'react';
|
|
7
7
|
import { Skeleton } from 'antd';
|
|
8
8
|
import { Button } from '../../lib';
|
|
9
9
|
import './action-buttons.scss';
|
|
@@ -24,6 +24,10 @@ export default function ActionButtons({
|
|
|
24
24
|
}) {
|
|
25
25
|
const [showNextProcess, setShowNextProcess] = useState(false);
|
|
26
26
|
|
|
27
|
+
useEffect(() => {
|
|
28
|
+
setShowNextProcess(false);
|
|
29
|
+
}, [steps]);
|
|
30
|
+
|
|
27
31
|
return (
|
|
28
32
|
<>
|
|
29
33
|
<div style={{ minHeight: 300 }}>{loading ? <Skeleton active /> : renderDynamicComponent()}</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ui-soxo-bootstrap-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.1-dev.1",
|
|
4
4
|
"description": "All the Core Components for you to start",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"all in one"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"build": "webpack --mode production",
|
|
20
20
|
"deploy": "gh-pages -d examples/build",
|
|
21
21
|
"quick-deploy": "git status && git add . && git commit -m \"Theme Updates\" && git push",
|
|
22
|
-
"release": "git tag -a v2023-v2.0.
|
|
22
|
+
"release": "git tag -a v2023-v2.0.92 -m \"Theme Updates\" && npm run quick-deploy && npm publish",
|
|
23
23
|
"quick-commit": "git status && git add . && git commit -m 'Saving changes after deploying' && git push ",
|
|
24
24
|
"publish-demo": "npm run build && npm run deploy",
|
|
25
25
|
"lint": "eslint core",
|