@seniorsistemas/components-ai 2.2.0-master-a2faf824 → 2.2.0-master-e95bf59f
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/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +11 -3
- package/fesm2022/seniorsistemas-components-ai.mjs +10 -2
- package/fesm2022/seniorsistemas-components-ai.mjs.map +1 -1
- package/lib/components/dynamic-form/dynamic-form.component.d.ts +6 -0
- package/package.json +1 -1
- package/src/lib/styles/index.scss +15 -0
|
@@ -75,6 +75,12 @@ export declare class DynamicFormComponent implements OnInit, OnChanges {
|
|
|
75
75
|
updateDisabledFields(): void;
|
|
76
76
|
clearHiddenFields(): void;
|
|
77
77
|
getForm(): FormGroup;
|
|
78
|
+
/**
|
|
79
|
+
* Returns the form values with date/time/lookup fields already converted
|
|
80
|
+
* to the backend-expected format (date → yyyy-MM-dd, time → HH:mm:ss, lookup → object with id).
|
|
81
|
+
* Use this instead of getForm().value when you need processed values without triggering formSubmit.
|
|
82
|
+
*/
|
|
83
|
+
getProcessedValue(): any;
|
|
78
84
|
open(entity?: any): void;
|
|
79
85
|
close(): void;
|
|
80
86
|
handleCancel(): void;
|
package/package.json
CHANGED
|
@@ -8,3 +8,18 @@
|
|
|
8
8
|
|
|
9
9
|
// Entity List Styles
|
|
10
10
|
@import './entity-list.shared.scss';
|
|
11
|
+
|
|
12
|
+
// Dynamic Form - Date field fix
|
|
13
|
+
// Ensures p-inputmask inside date fields expands to 100% width
|
|
14
|
+
.date-input-group {
|
|
15
|
+
width: 100%;
|
|
16
|
+
|
|
17
|
+
p-inputmask {
|
|
18
|
+
width: 100%;
|
|
19
|
+
display: block;
|
|
20
|
+
|
|
21
|
+
input {
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|