@solidstarters/solid-core-ui 1.1.29 → 1.1.30
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/dist/components/auth/AuthLayout.d.ts.map +1 -1
- package/dist/components/auth/AuthLayout.js +2 -1
- package/dist/components/auth/AuthLayout.js.map +1 -1
- package/dist/components/auth/SolidLogin.js +2 -2
- package/dist/components/auth/SolidLogin.js.map +1 -1
- package/dist/components/auth/SolidRegister.d.ts.map +1 -1
- package/dist/components/auth/SolidRegister.js +2 -2
- package/dist/components/auth/SolidRegister.js.map +1 -1
- package/dist/components/core/common/FilterComponent.d.ts.map +1 -1
- package/dist/components/core/common/FilterComponent.js +1 -1
- package/dist/components/core/common/FilterComponent.js.map +1 -1
- package/dist/components/core/common/SolidConfigureLayoutElement.js +1 -1
- package/dist/components/core/common/SolidConfigureLayoutElement.js.map +1 -1
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +11 -4
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +43 -40
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/model/CreateModel.d.ts.map +1 -1
- package/dist/components/core/model/CreateModel.js +1 -1
- package/dist/components/core/model/CreateModel.js.map +1 -1
- package/dist/components/core/model/FieldMetaData.js +1 -1
- package/dist/components/core/model/FieldMetaData.js.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.js +5 -5
- package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
- package/dist/components/core/model/FieldSelector.js +1 -1
- package/dist/components/core/model/FieldSelector.js.map +1 -1
- package/dist/components/core/model/ModelMetaData.d.ts.map +1 -1
- package/dist/components/core/model/ModelMetaData.js +30 -30
- package/dist/components/core/model/ModelMetaData.js.map +1 -1
- package/dist/components/core/module/CreateModule.d.ts.map +1 -1
- package/dist/components/core/module/CreateModule.js +23 -22
- package/dist/components/core/module/CreateModule.js.map +1 -1
- package/dist/components/core/users/CreateUser.d.ts.map +1 -1
- package/dist/components/core/users/CreateUser.js +13 -14
- package/dist/components/core/users/CreateUser.js.map +1 -1
- package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
- package/dist/components/layout/user-profile-menu.js +1 -1
- package/dist/components/layout/user-profile-menu.js.map +1 -1
- package/dist/resources/globals.css +227 -11
- package/dist/resources/stylesheets/_main.scss +3 -1
- package/package.json +1 -1
- package/src/components/auth/AuthLayout.tsx +11 -2
- package/src/components/auth/SolidLogin.tsx +2 -2
- package/src/components/auth/SolidRegister.tsx +42 -36
- package/src/components/core/common/FilterComponent.tsx +3 -2
- package/src/components/core/common/SolidConfigureLayoutElement.tsx +1 -1
- package/src/components/core/form/SolidFormView.tsx +26 -7
- package/src/components/core/list/SolidListView.tsx +14 -0
- package/src/components/core/model/CreateModel.tsx +2 -0
- package/src/components/core/model/FieldMetaData.tsx +3 -3
- package/src/components/core/model/FieldMetaDataForm.tsx +14 -17
- package/src/components/core/model/FieldSelector.tsx +1 -1
- package/src/components/core/model/ModelMetaData.tsx +158 -158
- package/src/components/core/module/CreateModule.tsx +178 -173
- package/src/components/core/users/CreateUser.tsx +123 -120
- package/src/components/layout/user-profile-menu.tsx +6 -5
- package/src/resources/globals.css +227 -11
- package/src/resources/stylesheets/_main.scss +3 -1
|
@@ -1433,10 +1433,6 @@ li.header-li-px {
|
|
|
1433
1433
|
margin: 0 !important;
|
|
1434
1434
|
}
|
|
1435
1435
|
|
|
1436
|
-
.field-popup-form {
|
|
1437
|
-
padding: 15px;
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
1436
|
.field-table .p-datatable .p-datatable-tbody>tr>td {
|
|
1441
1437
|
padding: 0;
|
|
1442
1438
|
padding-left: 10px;
|
|
@@ -1668,7 +1664,7 @@ li.header-li-px {
|
|
|
1668
1664
|
}
|
|
1669
1665
|
|
|
1670
1666
|
.solid-form-wrapper .solid-form-content {
|
|
1671
|
-
height: calc(100vh -
|
|
1667
|
+
height: calc(100vh - 111px);
|
|
1672
1668
|
/* If No Breadcrumb */
|
|
1673
1669
|
/* height: calc(100vh - 64px); */
|
|
1674
1670
|
/* if Stepper */
|
|
@@ -1697,7 +1693,7 @@ li.header-li-px {
|
|
|
1697
1693
|
border-left: none;
|
|
1698
1694
|
border-top: none;
|
|
1699
1695
|
border-radius: 0;
|
|
1700
|
-
padding: 0.8rem
|
|
1696
|
+
padding: 0.8rem 1.5rem;
|
|
1701
1697
|
font-size: 14px;
|
|
1702
1698
|
font-weight: 500;
|
|
1703
1699
|
text-transform: capitalize;
|
|
@@ -2133,10 +2129,19 @@ li.header-li-px {
|
|
|
2133
2129
|
|
|
2134
2130
|
.auth-container {
|
|
2135
2131
|
min-width: 525px;
|
|
2132
|
+
padding: 54px;
|
|
2133
|
+
border-radius: 1.25rem;
|
|
2134
|
+
backdrop-filter: blur(25px);
|
|
2135
|
+
box-shadow: 0px 4px 4px 0px rgba(49, 106, 215, 0.05);
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
.auth-container h2 {
|
|
2139
|
+
margin-top: 0;
|
|
2136
2140
|
}
|
|
2137
2141
|
|
|
2138
2142
|
.auth-container.side {
|
|
2139
|
-
max-width: 65%;
|
|
2143
|
+
/* max-width: 65%; */
|
|
2144
|
+
width: 65%;
|
|
2140
2145
|
margin: 0 auto;
|
|
2141
2146
|
}
|
|
2142
2147
|
|
|
@@ -2251,10 +2256,11 @@ li.header-li-px {
|
|
|
2251
2256
|
}
|
|
2252
2257
|
|
|
2253
2258
|
.customize-layout-panel.p-overlaypanel {
|
|
2259
|
+
position: absolute;
|
|
2254
2260
|
/* left: 1400px !important;
|
|
2255
2261
|
top: 21% !important; */
|
|
2256
|
-
left:
|
|
2257
|
-
top:
|
|
2262
|
+
left: 73.5% !important;
|
|
2263
|
+
top: 15% !important;
|
|
2258
2264
|
}
|
|
2259
2265
|
|
|
2260
2266
|
.solid-auth-footer {
|
|
@@ -2306,8 +2312,7 @@ li.header-li-px {
|
|
|
2306
2312
|
}
|
|
2307
2313
|
|
|
2308
2314
|
.solid-auth-tabview .p-tabview-panels {
|
|
2309
|
-
padding
|
|
2310
|
-
padding-right: 0;
|
|
2315
|
+
padding: 0;
|
|
2311
2316
|
}
|
|
2312
2317
|
|
|
2313
2318
|
.solid-auth-tabview .p-tabview-nav {
|
|
@@ -2487,6 +2492,13 @@ li.header-li-px {
|
|
|
2487
2492
|
|
|
2488
2493
|
.solid-dialog .p-dialog-content {
|
|
2489
2494
|
padding: 0 !important;
|
|
2495
|
+
border-radius: 0;
|
|
2496
|
+
overflow: hidden;
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
.solid-dialog.p-dialog {
|
|
2500
|
+
border-radius: 8px;
|
|
2501
|
+
overflow: hidden;
|
|
2490
2502
|
}
|
|
2491
2503
|
|
|
2492
2504
|
.google-auth-button {
|
|
@@ -2563,4 +2575,208 @@ li.header-li-px {
|
|
|
2563
2575
|
|
|
2564
2576
|
.view-media-button.p-button.p-button-text:not(:disabled):hover {
|
|
2565
2577
|
background-color: transparent;
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
.solid-tab-view .p-tabview-panels {
|
|
2582
|
+
padding-top: 24px;
|
|
2583
|
+
padding-left: 0;
|
|
2584
|
+
padding-right: 0;
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2587
|
+
/* .solid-fieldset-header{
|
|
2588
|
+
background-color: #F9F9F9;
|
|
2589
|
+
border-bottom: 1px solid rgba(216, 226, 234, 0.40);
|
|
2590
|
+
padding: 16px 18px;
|
|
2591
|
+
font-weight: 600;
|
|
2592
|
+
color: var(--solid-form-title);
|
|
2593
|
+
font-size: 1rem;
|
|
2594
|
+
}
|
|
2595
|
+
|
|
2596
|
+
.solid-fieldset-content{
|
|
2597
|
+
padding: 0 18px 16px 18px;
|
|
2598
|
+
} */
|
|
2599
|
+
|
|
2600
|
+
.solid-column-panel.p-panel .p-panel-header {
|
|
2601
|
+
border: 1px solid rgba(216, 226, 234, 0.40);
|
|
2602
|
+
background: #F9F9F9;
|
|
2603
|
+
color: var(--solid-form-title);
|
|
2604
|
+
border-top-right-radius: 0.5rem;
|
|
2605
|
+
border-top-left-radius: 0.5rem;
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
.solid-column-panel.p-panel .p-panel-header .p-panel-title {
|
|
2609
|
+
font-weight: 500;
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
.solid-column-panel.p-panel .p-panel-content {
|
|
2613
|
+
border: 1px solid rgba(216, 226, 234, 0.40);
|
|
2614
|
+
border-bottom-right-radius: 0.5rem;
|
|
2615
|
+
border-bottom-left-radius: 0.5rem;
|
|
2616
|
+
border-top: 0;
|
|
2617
|
+
padding: 1px 1.25rem 1.25rem 1.25rem;
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2620
|
+
.view-title {
|
|
2621
|
+
color: var(--solid-title);
|
|
2622
|
+
font-weight: 600;
|
|
2623
|
+
font-size: 16px;
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2626
|
+
.solid-tmenu-left .p-submenu-list {
|
|
2627
|
+
left: auto !important;
|
|
2628
|
+
right: 100% !important;
|
|
2629
|
+
transform: translateX(-5px);
|
|
2630
|
+
/* Adjust position slightly */
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2633
|
+
@media (min-width: 2151px) and (max-width: 2399px) {
|
|
2634
|
+
.customize-layout-panel.p-overlaypanel {
|
|
2635
|
+
position: absolute;
|
|
2636
|
+
left: 78.5% !important;
|
|
2637
|
+
top: 13% !important;
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2641
|
+
@media (min-width: 1920px) and (max-width: 2150px) {
|
|
2642
|
+
.customize-layout-panel.p-overlaypanel {
|
|
2643
|
+
position: absolute;
|
|
2644
|
+
left: 76% !important;
|
|
2645
|
+
top: 15% !important;
|
|
2646
|
+
}
|
|
2647
|
+
}
|
|
2648
|
+
|
|
2649
|
+
|
|
2650
|
+
@media (min-width: 1700px) and (max-width: 1859px) {
|
|
2651
|
+
.customize-layout-panel.p-overlaypanel {
|
|
2652
|
+
position: absolute;
|
|
2653
|
+
left: 73% !important;
|
|
2654
|
+
top: 15% !important;
|
|
2655
|
+
}
|
|
2656
|
+
}
|
|
2657
|
+
|
|
2658
|
+
|
|
2659
|
+
@media (min-width: 1600px) and (max-width: 1699px) {
|
|
2660
|
+
html {
|
|
2661
|
+
font-size: 95% !important;
|
|
2662
|
+
}
|
|
2663
|
+
|
|
2664
|
+
.auth-container {
|
|
2665
|
+
padding: 45px;
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2668
|
+
.customize-layout-panel.p-overlaypanel {
|
|
2669
|
+
position: absolute;
|
|
2670
|
+
left: 71% !important;
|
|
2671
|
+
top: 17% !important;
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2675
|
+
/* 1500px - 1599px */
|
|
2676
|
+
@media (min-width: 1500px) and (max-width: 1599px) {
|
|
2677
|
+
html {
|
|
2678
|
+
font-size: 90% !important;
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2681
|
+
.auth-container {
|
|
2682
|
+
padding: 42px;
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2685
|
+
.solid-left-layout .solid-logo,
|
|
2686
|
+
.solid-right-layout .solid-logo {
|
|
2687
|
+
top: 4.5rem !important;
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
.customize-layout-panel.p-overlaypanel {
|
|
2691
|
+
position: absolute;
|
|
2692
|
+
left: 69% !important;
|
|
2693
|
+
top: 17.3% !important;
|
|
2694
|
+
}
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2697
|
+
/* 1400px - 1499px */
|
|
2698
|
+
@media (min-width: 1401px) and (max-width: 1499px) {
|
|
2699
|
+
html {
|
|
2700
|
+
font-size: 85% !important;
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
.auth-container {
|
|
2704
|
+
padding: 38px;
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
.solid-left-layout .solid-logo,
|
|
2708
|
+
.solid-right-layout .solid-logo {
|
|
2709
|
+
top: 4rem;
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
.customize-layout-panel.p-overlaypanel {
|
|
2713
|
+
position: absolute;
|
|
2714
|
+
left: 67% !important;
|
|
2715
|
+
top: 17.5% !important;
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
/* 1300px - 1399px */
|
|
2720
|
+
@media (min-width: 1300px) and (max-width: 1400px) {
|
|
2721
|
+
html {
|
|
2722
|
+
font-size: 80% !important;
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2725
|
+
.auth-container {
|
|
2726
|
+
padding: 33px;
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
.solid-left-layout .solid-logo,
|
|
2730
|
+
.solid-right-layout .solid-logo {
|
|
2731
|
+
top: 3rem;
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
.customize-layout-panel.p-overlaypanel {
|
|
2735
|
+
position: absolute;
|
|
2736
|
+
left: 63.5% !important;
|
|
2737
|
+
top: 15% !important;
|
|
2738
|
+
}
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
/* 1200px - 1299px */
|
|
2742
|
+
@media (min-width: 1200px) and (max-width: 1299px) {
|
|
2743
|
+
html {
|
|
2744
|
+
font-size: 75% !important;
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
.auth-container {
|
|
2748
|
+
padding: 28px;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
.solid-left-layout .solid-logo,
|
|
2752
|
+
.solid-right-layout .solid-logo {
|
|
2753
|
+
top: 3rem;
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
.customize-layout-panel.p-overlaypanel {
|
|
2757
|
+
position: absolute;
|
|
2758
|
+
left: 61% !important;
|
|
2759
|
+
top: 15% !important;
|
|
2760
|
+
}
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
/* 1024px - 1199px */
|
|
2764
|
+
@media (min-width: 1024px) and (max-width: 1199px) {
|
|
2765
|
+
html {
|
|
2766
|
+
font-size: 70% !important;
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
.auth-container {
|
|
2770
|
+
padding: 24px;
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2773
|
+
.solid-left-layout .solid-logo,
|
|
2774
|
+
.solid-right-layout .solid-logo {
|
|
2775
|
+
top: 3rem;
|
|
2776
|
+
}
|
|
2777
|
+
.customize-layout-panel.p-overlaypanel {
|
|
2778
|
+
position: absolute;
|
|
2779
|
+
left: 59% !important;
|
|
2780
|
+
top: 14% !important;
|
|
2781
|
+
}
|
|
2566
2782
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
html {
|
|
6
6
|
height: 100%;
|
|
7
|
+
font-size: 100%;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
body {
|
|
@@ -21,7 +22,8 @@ body {
|
|
|
21
22
|
/* width */
|
|
22
23
|
::-webkit-scrollbar {
|
|
23
24
|
width: 4px;
|
|
24
|
-
height: 4px;
|
|
25
|
+
height: 4px;
|
|
26
|
+
/* For horizontal scrollbar */
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
/* Track */
|
package/package.json
CHANGED
|
@@ -13,6 +13,7 @@ import { useDispatch } from "react-redux";
|
|
|
13
13
|
import { LayoutContext } from "../layout/context/layoutcontext";
|
|
14
14
|
import Image from "next/image";
|
|
15
15
|
import SolidLogo from '../../resources/images/SS-Logo.png'
|
|
16
|
+
import { Divider } from "primereact/divider";
|
|
16
17
|
|
|
17
18
|
export const AuthLayout = ({ children }: { children: React.ReactNode }) => {
|
|
18
19
|
const [trigger, { data: solidSettingsData }] = useLazyGetAuthSettingsQuery()
|
|
@@ -121,10 +122,18 @@ export const AuthLayout = ({ children }: { children: React.ReactNode }) => {
|
|
|
121
122
|
visible={isRestricted}
|
|
122
123
|
onHide={handleRegistration}
|
|
123
124
|
header="Access Restricted"
|
|
124
|
-
|
|
125
|
+
headerClassName="py-2" contentClassName="px-0 pb-0"
|
|
126
|
+
footer={
|
|
127
|
+
<div className="flex align-items-center justify-content-start">
|
|
128
|
+
<Button label="Close" onClick={handleRegistration} size="small" />
|
|
129
|
+
</div>
|
|
130
|
+
}
|
|
125
131
|
draggable={false}
|
|
126
132
|
>
|
|
127
|
-
<
|
|
133
|
+
<Divider className="m-0" />
|
|
134
|
+
<div className="p-4">
|
|
135
|
+
<p>Sign-up is not available. Please contact the admin.</p>
|
|
136
|
+
</div>
|
|
128
137
|
</Dialog>
|
|
129
138
|
</div>
|
|
130
139
|
)
|
|
@@ -106,7 +106,7 @@ const SolidLogin = () => {
|
|
|
106
106
|
>
|
|
107
107
|
{(formik) => (
|
|
108
108
|
<Form>
|
|
109
|
-
<div className="flex flex-column gap-2">
|
|
109
|
+
<div className="flex flex-column gap-2 mt-3">
|
|
110
110
|
<label htmlFor="email" className="solid-auth-input-label">Username or Email</label>
|
|
111
111
|
<InputText
|
|
112
112
|
id="email"
|
|
@@ -193,7 +193,7 @@ const SolidLogin = () => {
|
|
|
193
193
|
>
|
|
194
194
|
{(formik) => (
|
|
195
195
|
<Form>
|
|
196
|
-
<div className="flex flex-column gap-2">
|
|
196
|
+
<div className="flex flex-column gap-2 mt-3">
|
|
197
197
|
<label htmlFor="email" className="solid-auth-input-label">Email</label>
|
|
198
198
|
<InputText
|
|
199
199
|
id="email"
|
|
@@ -134,52 +134,58 @@ const SolidRegister = () => {
|
|
|
134
134
|
>
|
|
135
135
|
{(formik) => (
|
|
136
136
|
<Form>
|
|
137
|
-
<div
|
|
138
|
-
<
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
137
|
+
<div>
|
|
138
|
+
<div className="flex flex-column gap-2 mt-3">
|
|
139
|
+
<label htmlFor="email" className="solid-auth-input-label">Username</label>
|
|
140
|
+
<InputText
|
|
141
|
+
id="username"
|
|
142
|
+
name="username"
|
|
143
|
+
placeholder="username"
|
|
144
|
+
onChange={formik.handleChange}
|
|
145
|
+
value={formik.values.username}
|
|
146
|
+
invalid={!!formik.errors.username}
|
|
147
|
+
/>
|
|
148
|
+
</div>
|
|
147
149
|
{isFormFieldValid(formik, "username") && <Message
|
|
148
|
-
className="text-red-500 text-sm"
|
|
150
|
+
className="text-red-500 text-sm mt-1 py-0"
|
|
149
151
|
severity="error"
|
|
150
152
|
text={formik?.errors?.username?.toString()}
|
|
151
153
|
/>}
|
|
152
154
|
</div>
|
|
153
|
-
<div
|
|
154
|
-
<
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
155
|
+
<div>
|
|
156
|
+
<div className="flex flex-column gap-2 mt-3">
|
|
157
|
+
<label htmlFor="email" className="solid-auth-input-label">Email</label>
|
|
158
|
+
<InputText
|
|
159
|
+
id="email"
|
|
160
|
+
name="email"
|
|
161
|
+
placeholder="Yourgmail@123.com"
|
|
162
|
+
onChange={formik.handleChange}
|
|
163
|
+
value={formik.values.email}
|
|
164
|
+
invalid={!!formik.errors.email}
|
|
165
|
+
/>
|
|
166
|
+
</div>
|
|
163
167
|
{isFormFieldValid(formik, "email") && <Message
|
|
164
|
-
className="text-red-500 text-sm"
|
|
168
|
+
className="text-red-500 text-sm mt-1 py-0"
|
|
165
169
|
severity="error"
|
|
166
170
|
text={formik?.errors?.email?.toString()}
|
|
167
171
|
/>}
|
|
168
172
|
</div>
|
|
169
|
-
<div
|
|
170
|
-
<
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
173
|
+
<div>
|
|
174
|
+
<div className="flex flex-column gap-2 mt-3">
|
|
175
|
+
<label htmlFor="password" className="solid-auth-input-label">Password</label>
|
|
176
|
+
<Password
|
|
177
|
+
id="password"
|
|
178
|
+
name="password"
|
|
179
|
+
value={formik.values.password}
|
|
180
|
+
onChange={formik.handleChange}
|
|
181
|
+
toggleMask
|
|
182
|
+
inputClassName="w-full"
|
|
183
|
+
feedback={false}
|
|
184
|
+
invalid={!!formik.errors.password}
|
|
185
|
+
/>
|
|
186
|
+
</div>
|
|
181
187
|
{isFormFieldValid(formik, "password") && <Message
|
|
182
|
-
className="text-red-500 text-sm"
|
|
188
|
+
className="text-red-500 text-sm mt-1 py-0"
|
|
183
189
|
severity="error"
|
|
184
190
|
text={formik?.errors?.password?.toString()}
|
|
185
191
|
/>}
|
|
@@ -324,7 +330,7 @@ const SolidRegister = () => {
|
|
|
324
330
|
</>
|
|
325
331
|
}
|
|
326
332
|
</div>
|
|
327
|
-
<div className="text-center mt-
|
|
333
|
+
<div className="text-center mt-4">
|
|
328
334
|
<div className="text-sm text-400 secondary-dark-color">
|
|
329
335
|
Already have an account ? <Link className="font-bold" href="/auth/login">Sign In</Link>
|
|
330
336
|
</div>
|
|
@@ -395,8 +395,9 @@ const FilterComponent = ({ viewData, fields, filterRules, setFilterRules, transf
|
|
|
395
395
|
level={0} // Top-level group
|
|
396
396
|
/>
|
|
397
397
|
))}
|
|
398
|
-
<div className='
|
|
399
|
-
<Button label="Apply" size="small" onClick={() => transformFilterRules(filterRules)} type="submit"
|
|
398
|
+
<div className='flex gap-3 mt-3'>
|
|
399
|
+
<Button label="Apply" size="small" onClick={() => transformFilterRules(filterRules)} type="submit" />
|
|
400
|
+
<Button type='button' label='Cancel' outlined size='small' onClick={closeDialog} />
|
|
400
401
|
{/*
|
|
401
402
|
<br></br>
|
|
402
403
|
<textarea value={printedState} readOnly rows={20} cols={100} style={{ marginTop: '20px' }} /> */}
|
|
@@ -106,7 +106,7 @@ export const SolidConfigureLayoutElement = ({ setShowArchived, showArchived, vie
|
|
|
106
106
|
</div>
|
|
107
107
|
</div>
|
|
108
108
|
<Divider className="m-0" />
|
|
109
|
-
<div className="p-2
|
|
109
|
+
<div className="p-2 relative flex flex-column gap-1">
|
|
110
110
|
<Button
|
|
111
111
|
icon='pi pi-sliders-h'
|
|
112
112
|
label="Customize Layout"
|
|
@@ -40,6 +40,7 @@ import { getExtensionComponent, getExtensionFunction } from "@/helpers/registry"
|
|
|
40
40
|
import { SolidFormWidgetProps } from "@/types/solid-core";
|
|
41
41
|
import { SolidPasswordField } from "./fields/SolidPasswordField";
|
|
42
42
|
import { SolidEmailField } from "./fields/SolidEmailField";
|
|
43
|
+
import { Panel } from "primereact/panel";
|
|
43
44
|
|
|
44
45
|
export type SolidFormViewProps = {
|
|
45
46
|
moduleName: string;
|
|
@@ -211,6 +212,8 @@ const SolidColumn = ({ children, attrs }: any) => {
|
|
|
211
212
|
const className = attrs.className;
|
|
212
213
|
|
|
213
214
|
return (
|
|
215
|
+
// first fieldset ui
|
|
216
|
+
|
|
214
217
|
// <div className={`${className}`}>
|
|
215
218
|
// <div className="s_group">
|
|
216
219
|
// <fieldset>
|
|
@@ -218,15 +221,31 @@ const SolidColumn = ({ children, attrs }: any) => {
|
|
|
218
221
|
// <div className="grid">{children}</div>
|
|
219
222
|
// </fieldset>
|
|
220
223
|
// </div>
|
|
221
|
-
|
|
222
224
|
// </div>
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
</
|
|
227
|
-
//
|
|
228
|
-
// {children}
|
|
225
|
+
|
|
226
|
+
//second fieldset ui
|
|
227
|
+
// <div className={`${className}`}>
|
|
228
|
+
// {attrs.label && <p>{attrs.label}</p>}
|
|
229
|
+
// <div className="grid">{children}</div>
|
|
229
230
|
// </div>
|
|
231
|
+
|
|
232
|
+
//figma fieldset ui
|
|
233
|
+
attrs.label ?
|
|
234
|
+
<div className={`${className}`}>
|
|
235
|
+
<Panel header={attrs.label} className="solid-column-panel">
|
|
236
|
+
<div className="grid">{children}</div>
|
|
237
|
+
</Panel>
|
|
238
|
+
{/* <div className="p-fieldset">
|
|
239
|
+
<div className="solid-fieldset-header">
|
|
240
|
+
<div>{attrs.label}</div>
|
|
241
|
+
</div>
|
|
242
|
+
<div className="grid solid-fieldset-content">{children}</div>
|
|
243
|
+
</div> */}
|
|
244
|
+
</div>
|
|
245
|
+
:
|
|
246
|
+
<div className={`${className}`}>
|
|
247
|
+
<div className="grid">{children}</div>
|
|
248
|
+
</div>
|
|
230
249
|
);
|
|
231
250
|
};
|
|
232
251
|
|
|
@@ -638,11 +638,14 @@ export const SolidListView = (params: SolidListViewParams) => {
|
|
|
638
638
|
const [size, setSize] = useState<string | any>(sizeOptions[1].value);
|
|
639
639
|
const [view, setView] = useState<string | any>(viewModes[0].value);
|
|
640
640
|
|
|
641
|
+
const listViewTitle = solidListViewMetaData?.data?.solidView?.displayName
|
|
642
|
+
|
|
641
643
|
return (
|
|
642
644
|
<div className="page-parent-wrapper">
|
|
643
645
|
<div className="page-header">
|
|
644
646
|
<Toast ref={toast} />
|
|
645
647
|
<div className="flex gap-3 align-items-center">
|
|
648
|
+
<p className="m-0 view-title">{listViewTitle}</p>
|
|
646
649
|
{solidListViewMetaData?.data?.solidView?.layout?.attrs?.enableGlobalSearch === true && params.embeded === false &&
|
|
647
650
|
<SolidGlobalSearchElement filters={filters} clearFilter={clearFilter} ref={solidGlobalSearchElementRef} viewData={solidListViewMetaData} handleApplyCustomFilter={handleApplyCustomFilter}></SolidGlobalSearchElement>
|
|
648
651
|
}
|
|
@@ -658,6 +661,17 @@ export const SolidListView = (params: SolidListViewParams) => {
|
|
|
658
661
|
onClick={() => params.handlePopUpOpen("new")}
|
|
659
662
|
></Button>
|
|
660
663
|
}
|
|
664
|
+
{/* Button For Manual Refresh */}
|
|
665
|
+
<Button
|
|
666
|
+
type="button"
|
|
667
|
+
size="small"
|
|
668
|
+
icon="pi pi-refresh"
|
|
669
|
+
severity="secondary"
|
|
670
|
+
outlined
|
|
671
|
+
onClick={() => {
|
|
672
|
+
setQueryString(first, rows, sortField, sortOrder, filters);
|
|
673
|
+
}}
|
|
674
|
+
/>
|
|
661
675
|
{showArchived && <Button type="button" icon="pi pi-refresh" label="Recover" size='small' severity="secondary"
|
|
662
676
|
onClick={() => setRecoverDialogVisible(true)}
|
|
663
677
|
></Button>}
|
|
@@ -112,8 +112,8 @@ const FieldMetaData = ({ setIsDirty, modelMetaData, fieldMetaData, setFieldMetaD
|
|
|
112
112
|
<Messages ref={msgs} />
|
|
113
113
|
</div>
|
|
114
114
|
:
|
|
115
|
-
|
|
116
|
-
<div className="
|
|
115
|
+
<>
|
|
116
|
+
<div className="absolute" style={{top: -3, right: 0}}>
|
|
117
117
|
{/* <h3>All Fields</h3> */}
|
|
118
118
|
{modelMetaData.isSystem !== true &&
|
|
119
119
|
<Button
|
|
@@ -182,7 +182,7 @@ const FieldMetaData = ({ setIsDirty, modelMetaData, fieldMetaData, setFieldMetaD
|
|
|
182
182
|
>
|
|
183
183
|
<p>If there is data against this model this operation might not work and manual intervention will be required</p>
|
|
184
184
|
</Dialog>
|
|
185
|
-
|
|
185
|
+
</>
|
|
186
186
|
}
|
|
187
187
|
</>
|
|
188
188
|
|