@schema-forms-data/renderer 4.0.4 → 4.0.6
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/index.cjs +4 -4
- package/dist/index.d.ts +8 -5
- package/dist/index.js +1662 -1783
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Context } from 'react';
|
|
2
2
|
import { Control } from 'react-hook-form';
|
|
3
3
|
import { default as default_2 } from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { evaluateFieldCondition } from '@schema-forms-data/core';
|
|
5
5
|
import { FieldOption } from '@schema-forms-data/core';
|
|
6
6
|
import { FieldValidation } from '@schema-forms-data/core';
|
|
7
7
|
import { FieldValidatorConfig } from '@schema-forms-data/core';
|
|
@@ -212,10 +212,7 @@ declare interface DFTextFieldProps {
|
|
|
212
212
|
readOnly?: boolean;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
|
|
216
|
-
* Avalia uma FieldConditionalExpr recursivamente.
|
|
217
|
-
*/
|
|
218
|
-
export declare const evaluateFieldCondition: (cond: FieldConditionalExpr | undefined, values: Record<string, unknown>, externalData?: Record<string, unknown>) => boolean;
|
|
215
|
+
export { evaluateFieldCondition }
|
|
219
216
|
|
|
220
217
|
/**
|
|
221
218
|
* API de campo com props de input e metadados.
|
|
@@ -728,6 +725,12 @@ export declare interface RendererContextValue {
|
|
|
728
725
|
/** Opções exibidas quando `relatedField` indica `"todos_os_dias"` ou é nulo */
|
|
729
726
|
todosOsDias?: PaymentOption[];
|
|
730
727
|
};
|
|
728
|
+
/**
|
|
729
|
+
* Callbacks chamados pelo DFFileUpload para sinalizar início/fim de upload ou deleção.
|
|
730
|
+
* O FormRenderer usa para bloquear navegação de steps enquanto há operação em andamento.
|
|
731
|
+
*/
|
|
732
|
+
onUploadStart?: () => void;
|
|
733
|
+
onUploadEnd?: () => void;
|
|
731
734
|
}
|
|
732
735
|
|
|
733
736
|
export declare interface StepIndicatorProps {
|