@m4l/components 9.4.37-beta-feature-dynamicform-crear-componente.0 → 9.4.37

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 (192) hide show
  1. package/components/CheckableList/slots/styled.d.ts +1 -1
  2. package/components/DaysOfWeekPicker/hooks/types.d.ts +1 -2
  3. package/components/DaysOfWeekPicker/hooks/types.d.ts.map +1 -1
  4. package/components/DaysOfWeekPicker/hooks/useDaysOfWeekPicker.d.ts.map +1 -1
  5. package/components/DaysOfWeekPicker/hooks/useDaysOfWeekPicker.js +32 -32
  6. package/components/DaysOfWeekPicker/types.d.ts +1 -1
  7. package/components/DaysOfWeekPicker/types.d.ts.map +1 -1
  8. package/components/EditLabel/slots/EditLabelSlots.d.ts +1 -1
  9. package/components/datagrids/views/CardsView/CardsView.d.ts.map +1 -1
  10. package/components/datagrids/views/CardsView/CardsView.js +42 -42
  11. package/components/datagrids/views/TableView/TableView.d.ts.map +1 -1
  12. package/components/datagrids/views/TableView/TableView.js +67 -67
  13. package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.d.ts +1 -1
  14. package/components/extended/mui/DatePicker/slots/DatePickerSlots.d.ts +1 -1
  15. package/components/extended/mui/Select/slots/SelectSlots.d.ts +1 -1
  16. package/components/extended/mui/TextField/slots/TextFieldSlots.d.ts +1 -1
  17. package/components/extended/rsuite/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  18. package/components/extended/rsuite/DateRangePicker/DateRangePicker.js +32 -30
  19. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.d.ts.map +1 -1
  20. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.js +46 -48
  21. package/components/hook-form/RHFDatePicker/slots/RHFDatePickerSlots.d.ts +1 -1
  22. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
  23. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  24. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  25. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  26. package/components/hook-form/RHFormProvider/styles.d.ts.map +1 -1
  27. package/components/hook-form/RHFormProvider/styles.js +2 -11
  28. package/components/hook-form/RHFormProvider/types.d.ts +7 -7
  29. package/components/index.d.ts +0 -1
  30. package/components/index.d.ts.map +1 -1
  31. package/index.js +457 -467
  32. package/package.json +4 -4
  33. package/components/DynamicForm/DynamicForm.d.ts +0 -29
  34. package/components/DynamicForm/DynamicForm.d.ts.map +0 -1
  35. package/components/DynamicForm/DynamicForm.js +0 -96
  36. package/components/DynamicForm/DynamicForm.styles.d.ts +0 -3
  37. package/components/DynamicForm/DynamicForm.styles.d.ts.map +0 -1
  38. package/components/DynamicForm/DynamicForm.styles.js +0 -78
  39. package/components/DynamicForm/constants.d.ts +0 -15
  40. package/components/DynamicForm/constants.d.ts.map +0 -1
  41. package/components/DynamicForm/constants.js +0 -16
  42. package/components/DynamicForm/dictionary.d.ts +0 -15
  43. package/components/DynamicForm/dictionary.d.ts.map +0 -1
  44. package/components/DynamicForm/dictionary.js +0 -16
  45. package/components/DynamicForm/helpers/applyRequiredValidation/applyRequiredValidation.d.ts +0 -13
  46. package/components/DynamicForm/helpers/applyRequiredValidation/applyRequiredValidation.d.ts.map +0 -1
  47. package/components/DynamicForm/helpers/applyRequiredValidation/applyRequiredValidation.js +0 -19
  48. package/components/DynamicForm/helpers/applyRequiredValidation/index.d.ts +0 -3
  49. package/components/DynamicForm/helpers/applyRequiredValidation/index.d.ts.map +0 -1
  50. package/components/DynamicForm/helpers/applyRequiredValidation/types.d.ts +0 -7
  51. package/components/DynamicForm/helpers/applyRequiredValidation/types.d.ts.map +0 -1
  52. package/components/DynamicForm/helpers/createFieldValidationSchema/createFieldValidationSchema.d.ts +0 -13
  53. package/components/DynamicForm/helpers/createFieldValidationSchema/createFieldValidationSchema.d.ts.map +0 -1
  54. package/components/DynamicForm/helpers/createFieldValidationSchema/createFieldValidationSchema.js +0 -35
  55. package/components/DynamicForm/helpers/createFieldValidationSchema/index.d.ts +0 -3
  56. package/components/DynamicForm/helpers/createFieldValidationSchema/index.d.ts.map +0 -1
  57. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/baseSchemaStrategies.d.ts +0 -43
  58. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/baseSchemaStrategies.d.ts.map +0 -1
  59. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/baseSchemaStrategies.js +0 -134
  60. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/createBaseSchema.d.ts +0 -7
  61. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/createBaseSchema.d.ts.map +0 -1
  62. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/createBaseSchema.js +0 -9
  63. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/index.d.ts +0 -4
  64. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/index.d.ts.map +0 -1
  65. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/types.d.ts +0 -22
  66. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/types.d.ts.map +0 -1
  67. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/index.d.ts +0 -3
  68. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/index.d.ts.map +0 -1
  69. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/types.d.ts +0 -27
  70. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/types.d.ts.map +0 -1
  71. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/validationStrategies.d.ts +0 -25
  72. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/validationStrategies.d.ts.map +0 -1
  73. package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/validationStrategies.js +0 -200
  74. package/components/DynamicForm/helpers/createFieldValidationSchema/types.d.ts +0 -6
  75. package/components/DynamicForm/helpers/createFieldValidationSchema/types.d.ts.map +0 -1
  76. package/components/DynamicForm/helpers/createIsOptionEqualToValue/createIsOptionEqualToValue.d.ts +0 -7
  77. package/components/DynamicForm/helpers/createIsOptionEqualToValue/createIsOptionEqualToValue.d.ts.map +0 -1
  78. package/components/DynamicForm/helpers/createIsOptionEqualToValue/createIsOptionEqualToValue.js +0 -6
  79. package/components/DynamicForm/helpers/createIsOptionEqualToValue/index.d.ts +0 -2
  80. package/components/DynamicForm/helpers/createIsOptionEqualToValue/index.d.ts.map +0 -1
  81. package/components/DynamicForm/helpers/evaluateConditionalRule/evaluateConditionalRule.d.ts +0 -11
  82. package/components/DynamicForm/helpers/evaluateConditionalRule/evaluateConditionalRule.d.ts.map +0 -1
  83. package/components/DynamicForm/helpers/evaluateConditionalRule/evaluateConditionalRule.js +0 -26
  84. package/components/DynamicForm/helpers/evaluateConditionalRule/index.d.ts +0 -3
  85. package/components/DynamicForm/helpers/evaluateConditionalRule/index.d.ts.map +0 -1
  86. package/components/DynamicForm/helpers/evaluateConditionalRule/types.d.ts +0 -7
  87. package/components/DynamicForm/helpers/evaluateConditionalRule/types.d.ts.map +0 -1
  88. package/components/DynamicForm/helpers/index.d.ts +0 -9
  89. package/components/DynamicForm/helpers/index.d.ts.map +0 -1
  90. package/components/DynamicForm/helpers/normalizeValidation/index.d.ts +0 -3
  91. package/components/DynamicForm/helpers/normalizeValidation/index.d.ts.map +0 -1
  92. package/components/DynamicForm/helpers/normalizeValidation/normalizeValidation.d.ts +0 -9
  93. package/components/DynamicForm/helpers/normalizeValidation/normalizeValidation.d.ts.map +0 -1
  94. package/components/DynamicForm/helpers/normalizeValidation/normalizeValidation.js +0 -9
  95. package/components/DynamicForm/helpers/normalizeValidation/types.d.ts +0 -6
  96. package/components/DynamicForm/helpers/normalizeValidation/types.d.ts.map +0 -1
  97. package/components/DynamicForm/helpers/resolveFieldComponent/index.d.ts +0 -3
  98. package/components/DynamicForm/helpers/resolveFieldComponent/index.d.ts.map +0 -1
  99. package/components/DynamicForm/helpers/resolveFieldComponent/resolveFieldComponent.d.ts +0 -12
  100. package/components/DynamicForm/helpers/resolveFieldComponent/resolveFieldComponent.d.ts.map +0 -1
  101. package/components/DynamicForm/helpers/resolveFieldComponent/resolveFieldComponent.js +0 -56
  102. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/autocompleteStrategy/autocompleteStrategy.d.ts +0 -7
  103. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/autocompleteStrategy/autocompleteStrategy.d.ts.map +0 -1
  104. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/autocompleteStrategy/autocompleteStrategy.js +0 -36
  105. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkableListStrategy/checkableListStrategy.d.ts +0 -7
  106. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkableListStrategy/checkableListStrategy.d.ts.map +0 -1
  107. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkableListStrategy/checkableListStrategy.js +0 -28
  108. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkboxStrategy/checkboxStrategy.d.ts +0 -4
  109. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkboxStrategy/checkboxStrategy.d.ts.map +0 -1
  110. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkboxStrategy/checkboxStrategy.js +0 -24
  111. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/dateRangePickerStrategy/dateRangePickerStrategy.d.ts +0 -4
  112. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/dateRangePickerStrategy/dateRangePickerStrategy.d.ts.map +0 -1
  113. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/dateRangePickerStrategy/dateRangePickerStrategy.js +0 -24
  114. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/daysOfWeekPickerStrategy/daysOfWeekPickerStrategy.d.ts +0 -4
  115. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/daysOfWeekPickerStrategy/daysOfWeekPickerStrategy.d.ts.map +0 -1
  116. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/daysOfWeekPickerStrategy/daysOfWeekPickerStrategy.js +0 -27
  117. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/index.d.ts +0 -12
  118. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/index.d.ts.map +0 -1
  119. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/numberInputStrategy/numberInputStrategy.d.ts +0 -4
  120. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/numberInputStrategy/numberInputStrategy.d.ts.map +0 -1
  121. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/numberInputStrategy/numberInputStrategy.js +0 -24
  122. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/radioGroupStrategy/radioGroupStrategy.d.ts +0 -7
  123. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/radioGroupStrategy/radioGroupStrategy.d.ts.map +0 -1
  124. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/radioGroupStrategy/radioGroupStrategy.js +0 -27
  125. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/registry.d.ts +0 -7
  126. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/registry.d.ts.map +0 -1
  127. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/registry.js +0 -29
  128. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/selectStrategy/selectStrategy.d.ts +0 -4
  129. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/selectStrategy/selectStrategy.d.ts.map +0 -1
  130. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/selectStrategy/selectStrategy.js +0 -27
  131. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/textFieldStrategy/textFieldStrategy.d.ts +0 -4
  132. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/textFieldStrategy/textFieldStrategy.d.ts.map +0 -1
  133. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/textFieldStrategy/textFieldStrategy.js +0 -25
  134. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/types.d.ts +0 -34
  135. package/components/DynamicForm/helpers/resolveFieldComponent/strategies/types.d.ts.map +0 -1
  136. package/components/DynamicForm/helpers/resolveFieldComponent/types.d.ts +0 -9
  137. package/components/DynamicForm/helpers/resolveFieldComponent/types.d.ts.map +0 -1
  138. package/components/DynamicForm/helpers/resolveInitialValue/index.d.ts +0 -3
  139. package/components/DynamicForm/helpers/resolveInitialValue/index.d.ts.map +0 -1
  140. package/components/DynamicForm/helpers/resolveInitialValue/resolveInitialValue.d.ts +0 -19
  141. package/components/DynamicForm/helpers/resolveInitialValue/resolveInitialValue.d.ts.map +0 -1
  142. package/components/DynamicForm/helpers/resolveInitialValue/resolveInitialValue.js +0 -64
  143. package/components/DynamicForm/helpers/resolveInitialValue/types.d.ts +0 -13
  144. package/components/DynamicForm/helpers/resolveInitialValue/types.d.ts.map +0 -1
  145. package/components/DynamicForm/helpers/stringifyJsonFieldsForSubmit/index.d.ts +0 -2
  146. package/components/DynamicForm/helpers/stringifyJsonFieldsForSubmit/index.d.ts.map +0 -1
  147. package/components/DynamicForm/helpers/stringifyJsonFieldsForSubmit/stringifyJsonFieldsForSubmit.d.ts +0 -14
  148. package/components/DynamicForm/helpers/stringifyJsonFieldsForSubmit/stringifyJsonFieldsForSubmit.d.ts.map +0 -1
  149. package/components/DynamicForm/helpers/stringifyJsonFieldsForSubmit/stringifyJsonFieldsForSubmit.js +0 -16
  150. package/components/DynamicForm/hooks/useDynamicForm/useDynamicForm.d.ts +0 -16
  151. package/components/DynamicForm/hooks/useDynamicForm/useDynamicForm.d.ts.map +0 -1
  152. package/components/DynamicForm/hooks/useDynamicForm/useDynamicForm.js +0 -90
  153. package/components/DynamicForm/hooks/useDynamicFormConditionals/useDynamicFormConditionals.d.ts +0 -13
  154. package/components/DynamicForm/hooks/useDynamicFormConditionals/useDynamicFormConditionals.d.ts.map +0 -1
  155. package/components/DynamicForm/hooks/useDynamicFormConditionals/useDynamicFormConditionals.js +0 -25
  156. package/components/DynamicForm/hooks/useDynamicFormCoupled/index.d.ts +0 -3
  157. package/components/DynamicForm/hooks/useDynamicFormCoupled/index.d.ts.map +0 -1
  158. package/components/DynamicForm/hooks/useDynamicFormCoupled/types.d.ts +0 -43
  159. package/components/DynamicForm/hooks/useDynamicFormCoupled/types.d.ts.map +0 -1
  160. package/components/DynamicForm/hooks/useDynamicFormCoupled/useDynamicFormCoupled.d.ts +0 -54
  161. package/components/DynamicForm/hooks/useDynamicFormCoupled/useDynamicFormCoupled.d.ts.map +0 -1
  162. package/components/DynamicForm/hooks/useDynamicFormCoupled/useDynamicFormCoupled.js +0 -53
  163. package/components/DynamicForm/hooks/useDynamicFormData/types.d.ts +0 -20
  164. package/components/DynamicForm/hooks/useDynamicFormData/types.d.ts.map +0 -1
  165. package/components/DynamicForm/hooks/useDynamicFormData/useDynamicFormData.d.ts +0 -14
  166. package/components/DynamicForm/hooks/useDynamicFormData/useDynamicFormData.d.ts.map +0 -1
  167. package/components/DynamicForm/hooks/useDynamicFormData/useDynamicFormData.js +0 -74
  168. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/index.d.ts +0 -3
  169. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/index.d.ts.map +0 -1
  170. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/normalizeOptionsResponse.d.ts +0 -7
  171. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/normalizeOptionsResponse.d.ts.map +0 -1
  172. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/normalizeOptionsResponse.js +0 -20
  173. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/types.d.ts +0 -12
  174. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/types.d.ts.map +0 -1
  175. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.d.ts +0 -7
  176. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.d.ts.map +0 -1
  177. package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.js +0 -56
  178. package/components/DynamicForm/index.d.ts +0 -7
  179. package/components/DynamicForm/index.d.ts.map +0 -1
  180. package/components/DynamicForm/slots/DynamicFormEnum.d.ts +0 -13
  181. package/components/DynamicForm/slots/DynamicFormEnum.d.ts.map +0 -1
  182. package/components/DynamicForm/slots/DynamicFormEnum.js +0 -4
  183. package/components/DynamicForm/slots/DynamicFormSlots.d.ts +0 -11
  184. package/components/DynamicForm/slots/DynamicFormSlots.d.ts.map +0 -1
  185. package/components/DynamicForm/slots/DynamicFormSlots.js +0 -40
  186. package/components/DynamicForm/slots/index.d.ts +0 -4
  187. package/components/DynamicForm/slots/index.d.ts.map +0 -1
  188. package/components/DynamicForm/subcomponents/DynamicFormContent/DynamicFormContent.d.ts +0 -3
  189. package/components/DynamicForm/subcomponents/DynamicFormContent/DynamicFormContent.d.ts.map +0 -1
  190. package/components/DynamicForm/subcomponents/DynamicFormContent/DynamicFormContent.js +0 -56
  191. package/components/DynamicForm/types.d.ts +0 -346
  192. package/components/DynamicForm/types.d.ts.map +0 -1
@@ -1,40 +0,0 @@
1
- import { styled as o } from "@mui/material/styles";
2
- import { Box as m } from "@mui/material";
3
- import { DynamicFormSlots as e } from "./DynamicFormEnum.js";
4
- import { componentStyles as r } from "../DynamicForm.styles.js";
5
- import { DYNAMIC_FORM_KEY_COMPONENT as t } from "../constants.js";
6
- import { RHFormProvider as i } from "../../hook-form/RHFormProvider/RHFormProvider.js";
7
- import "yup";
8
- const n = o(i, {
9
- name: t,
10
- slot: e.formProvider
11
- })(r?.formProvider), v = n, F = o("div", {
12
- name: t,
13
- slot: e.contentRoot
14
- })(r?.contentRoot), f = o(m, {
15
- name: t,
16
- slot: e.fieldWrapper
17
- })(r?.fieldWrapper);
18
- o("div", {
19
- name: t,
20
- slot: e.label
21
- })(r?.label);
22
- o("div", {
23
- name: t,
24
- slot: e.helperText
25
- })(r?.helperText);
26
- o("div", {
27
- name: t,
28
- slot: e.sectionDivider
29
- })(r?.sectionDivider);
30
- const D = o("div", {
31
- name: t,
32
- slot: e.checkableListWrapper
33
- })(r?.checkableListWrapper);
34
- export {
35
- D as DynamicFormCheckableListWrapperStyled,
36
- F as DynamicFormContentRootStyled,
37
- f as DynamicFormFieldWrapperStyled,
38
- v as DynamicFormFormProviderStyled,
39
- n as DynamicFormFormProviderStyledBase
40
- };
@@ -1,4 +0,0 @@
1
- export * from './DynamicFormEnum';
2
- export * from './DynamicFormSlots';
3
- export { DynamicFormSlots } from './DynamicFormEnum';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/DynamicForm/slots/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1,3 +0,0 @@
1
- import { DynamicFormContentProps } from '../../types';
2
- export declare const DynamicFormContent: import('react').ForwardRefExoticComponent<DynamicFormContentProps & import('react').RefAttributes<HTMLDivElement>>;
3
- //# sourceMappingURL=DynamicFormContent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DynamicFormContent.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/DynamicForm/subcomponents/DynamicFormContent/DynamicFormContent.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,uBAAuB,EACxB,MAAM,aAAa,CAAC;AAOrB,eAAO,MAAM,kBAAkB,oHAyD7B,CAAC"}
@@ -1,56 +0,0 @@
1
- import { jsxs as y, jsx as o } from "@emotion/react/jsx-runtime";
2
- import { forwardRef as D } from "react";
3
- import n from "clsx";
4
- import { TEST_PROP_ID as S } from "../../../../test/constants_no_mock.js";
5
- import { ActionsContainer as N } from "../../../CommonActions/components/ActionsContainer/ActionsContainer.js";
6
- import { ActionFormIntro as h } from "../../../CommonActions/components/ActionFormIntro/ActionFormIntro.js";
7
- import { useDynamicFormConditionals as A } from "../../hooks/useDynamicFormConditionals/useDynamicFormConditionals.js";
8
- import { useFieldsWithFetchedOptions as I } from "../../hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.js";
9
- import { resolveFieldComponent as O } from "../../helpers/resolveFieldComponent/resolveFieldComponent.js";
10
- import { DYNAMIC_FORM_CLASSES as m } from "../../constants.js";
11
- import { DynamicFormContentRootStyled as R, DynamicFormFieldWrapperStyled as W } from "../../slots/DynamicFormSlots.js";
12
- const _ = D((s, p) => {
13
- const {
14
- data: a,
15
- ownerState: c,
16
- currentSize: r,
17
- fieldWrapperClassName: l,
18
- dataTestId: d,
19
- coupled: f = !1,
20
- actionFormIntroProps: F,
21
- renderActions: t
22
- } = s, { visibleFields: C } = A(a), { fields: u } = I({ fields: C });
23
- return /* @__PURE__ */ y(
24
- R,
25
- {
26
- ref: p,
27
- className: n(m.contentRoot),
28
- ...process.env.NODE_ENV !== "production" ? { [S]: d } : {},
29
- children: [
30
- u.map((e) => {
31
- const i = O(e, { size: r });
32
- return i ? /* @__PURE__ */ o(
33
- W,
34
- {
35
- ownerState: c,
36
- className: n(l, m.fieldWrapper),
37
- children: i
38
- },
39
- e.id
40
- ) : null;
41
- }),
42
- !f && /* @__PURE__ */ o(N, { children: t ? t() : /* @__PURE__ */ o(
43
- h,
44
- {
45
- size: r,
46
- ...F
47
- }
48
- ) })
49
- ]
50
- }
51
- );
52
- });
53
- _.displayName = "DynamicFormContent";
54
- export {
55
- _ as DynamicFormContent
56
- };
@@ -1,346 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- import { ReactNode } from 'react';
3
- import { Sizes } from '@m4l/styles';
4
- import { DynamicFormSlots } from './slots';
5
- import { DYNAMIC_FORM_KEY_COMPONENT } from './constants';
6
- import { M4LOverridesStyleRules } from '../../@types/augmentations';
7
- import { FormStatusLoad, RHFormValues, RHFormProviderRef, ValidationSchema as RHFormValidationSchema } from '../hook-form/RHFormProvider/types';
8
- import { ActionsFormIntroProps } from '../CommonActions/components/ActionFormIntro/types';
9
- /**
10
- * API contract type: FormMetadata
11
- */
12
- export interface FormMetadata {
13
- id: number;
14
- name: string;
15
- version: number;
16
- nameDictionaryId: number;
17
- descriptionDictionaryId: number;
18
- }
19
- /**
20
- * Adornment config from backend for RHFAutoComplete (static resource URL for all options).
21
- * Used in rhfComponentProps when fieldType.rhfComponent is 'RHFAutoComplete'.
22
- */
23
- export interface DynamicFormAutocompleteAdornmentFromBackend {
24
- /** URL of icon or image. */
25
- resource: string;
26
- type?: 'icon' | 'image';
27
- }
28
- /**
29
- * RHFAutoComplete-specific props that can come from the backend via rhfComponentProps.
30
- * getOptionLabel and isOptionEqualToValue are path/key descriptors; the resolver builds the actual functions.
31
- */
32
- export interface RHFAutocompleteRHFComponentPropsFromBackend {
33
- /** Property path for the option label (e.g. "label" or nested "user.label"). Defaults to "label" when omitted. */
34
- getOptionLabel?: string;
35
- /** Key to compare option with value (e.g. "id"). Defaults to "id" when omitted. */
36
- isOptionEqualToValue?: string;
37
- /** Static end adornment for all options (icon/image URL). */
38
- getOptionEndAdornment?: DynamicFormAutocompleteAdornmentFromBackend;
39
- /** Static start adornment for all options (icon/image URL). */
40
- getOptionStartAdornment?: DynamicFormAutocompleteAdornmentFromBackend;
41
- /** Whether the autocomplete is multiple. Defaults to false when omitted. */
42
- isMultiple?: boolean;
43
- }
44
- /**
45
- * API contract type: FieldType
46
- */
47
- export interface FieldType {
48
- id: string;
49
- name: string;
50
- rhfComponent: string;
51
- rhfComponentProps?: Record<string, unknown>;
52
- supportsOptions: boolean;
53
- nameDictionaryId: number;
54
- supportsValidation: boolean;
55
- endpoint?: string;
56
- params?: Record<string, string>;
57
- }
58
- /**
59
- * API contract type: ValidationType
60
- */
61
- export interface ValidationType {
62
- id: string;
63
- name: string;
64
- requiresValue: boolean;
65
- nameDictionaryId: number;
66
- }
67
- /**
68
- * API contract type: FieldValidation
69
- */
70
- export interface FieldValidation {
71
- id: string;
72
- isActive: boolean;
73
- displayOrder: number;
74
- errorMessage: string;
75
- validationType?: ValidationType;
76
- type?: ValidationType;
77
- value?: string;
78
- }
79
- /**
80
- * API contract type: FieldOption
81
- */
82
- export interface FieldOption {
83
- id: number;
84
- name: string | null;
85
- value: string;
86
- isDefault: boolean;
87
- displayOrder: number;
88
- nameDictionaryId: number;
89
- }
90
- /**
91
- * API contract type: FieldValue
92
- */
93
- export interface FieldValue {
94
- id: number;
95
- name: string | null;
96
- value: string | null;
97
- isVisible: boolean;
98
- valueDouble: number | null;
99
- valueString: string | null;
100
- valueBoolean: boolean | null;
101
- valueInteger: number | null;
102
- valueTimestamp: string | null;
103
- visibilityReason: string;
104
- }
105
- /**
106
- * API contract type: dynamic form field definition (metadata, value, validation, visibility).
107
- */
108
- export interface Field {
109
- /** Unique identifier for the field (e.g. used as React key and in conditional rules). */
110
- id: number;
111
- /** Form key used as the field name in the form state and in validation schema. */
112
- name: string;
113
- /** Options for select/checkable-list type fields; empty for other types. */
114
- options: FieldOption[];
115
- /** Type and RHF component to render (e.g. RHFTextField, RHFSelect) and component props. */
116
- fieldType: FieldType;
117
- /** Optional help text shown below the field. */
118
- helperText: string | null;
119
- /** When true, the field is required and validation schema enforces it when visible. */
120
- isRequired: boolean;
121
- /** Placeholder for text/input-like components. */
122
- placeholder: string | null;
123
- /** Backend property identifier (e.g. for persistence or API mapping). */
124
- propertyId: string;
125
- /** Validation rules (min, max, minLength, email, etc.) applied when the field is visible. */
126
- validations: FieldValidation[];
127
- /** Current value from the API; includes value payload and isVisible for initial visibility. */
128
- currentValue: FieldValue | null;
129
- /** Fallback value when currentValue is null; used by resolveInitialValue. */
130
- defaultValue: string | null;
131
- /** Order of the field in the form; visible fields are sorted by this for rendering. */
132
- displayOrder: number;
133
- /** When true, visibility is controlled by conditional rules; otherwise by currentValue?.isVisible. */
134
- isConditional: boolean;
135
- /** Server-side validation errors, if any (e.g. from a previous submit). */
136
- validationErrors: unknown[];
137
- /** Dictionary key for the field label (i18n). */
138
- nameDictionaryId: number;
139
- /** Dictionary key for the field description (i18n). */
140
- descriptionDictionaryId: number;
141
- }
142
- /**
143
- * API contract type: ConditionalRuleOperator
144
- */
145
- export interface ConditionalRuleOperator {
146
- id: string;
147
- name: string;
148
- nameDictionaryId: number;
149
- }
150
- /**
151
- * API contract type: rule that controls visibility of a target field based on a source field value.
152
- * Used by useDynamicFormConditionals (visibility) and useDynamicForm (validation schema .when()).
153
- */
154
- export interface ConditionalRule {
155
- /** Unique identifier for the rule. */
156
- id: string;
157
- /** Operator used to compare source value with conditionValue (e.g. equals, greater_than, contains). */
158
- operator: ConditionalRuleOperator;
159
- /** When false, the rule is ignored for visibility and validation. */
160
- isActive: boolean;
161
- /** If 'show': target is visible when condition is met. If 'hide': target is visible when condition is not met. */
162
- actionType: 'show' | 'hide';
163
- /** Display/priority order of the rule (e.g. for ordering multiple rules). */
164
- displayOrder: number;
165
- /** Value compared against the source field value (right-hand side of the operator). */
166
- conditionValue: string;
167
- /** API id of the field whose value is watched to evaluate the condition. */
168
- sourceFieldId: number;
169
- /** API id of the field whose visibility is controlled by this rule. */
170
- targetFieldId: number;
171
- /** Form key of the source field; used to read the current value (e.g. watchValues[sourceFieldName]). */
172
- sourceFieldName: string;
173
- /** Form key of the target field; used to add/remove from visible fields and to build validation deps. */
174
- targetFieldName: string;
175
- }
176
- /**
177
- * API contract type: FormInstance
178
- */
179
- export interface FormInstance {
180
- id: number;
181
- name: string | null;
182
- createdAt: string;
183
- updatedAt: string;
184
- resourceTypeId: string;
185
- resourceSerialId: string;
186
- }
187
- /**
188
- * API contract type: DynamicFormApiResponse
189
- */
190
- export interface DynamicFormApiResponse {
191
- form: FormMetadata;
192
- fields: Field[];
193
- instance: FormInstance;
194
- conditionalRules: ConditionalRule[];
195
- }
196
- /**
197
- * Base props shared by DynamicForm in both coupled and decoupled modes.
198
- */
199
- interface DynamicFormPropsBase {
200
- /**
201
- * Form type ID.
202
- */
203
- formId?: number;
204
- /**
205
- * Form instance ID.
206
- */
207
- formInstanceId?: number;
208
- /**
209
- * Input endpoint for fetching form data.
210
- */
211
- inputEndpoint?: string;
212
- /**
213
- * Output endpoint for submitting form data.
214
- */
215
- outputEndpoint?: string;
216
- /**
217
- * Function to format data received from the input endpoint.
218
- */
219
- formatInputData?: (data: Record<string, unknown>) => Record<string, unknown>;
220
- /**
221
- * Function to format data before sending to the output endpoint.
222
- */
223
- formatOutputData?: (data: Record<string, unknown>) => Record<string, unknown>;
224
- /**
225
- * Callback invoked when the form is submitted with validated data.
226
- */
227
- onSubmit?: (data: Record<string, unknown>) => void | Promise<void>;
228
- /**
229
- * Callback invoked when form validation fails.
230
- */
231
- onSubmitError?: (errors: Record<string, unknown>) => void;
232
- /**
233
- * Component size.
234
- */
235
- size?: Extract<Sizes, 'small' | 'medium'>;
236
- /**
237
- * Additional CSS class.
238
- */
239
- className?: string;
240
- /**
241
- * Test ID for QA.
242
- */
243
- dataTestId?: string;
244
- /**
245
- * Additional CSS class for each field wrapper.
246
- */
247
- fieldWrapperClassName?: string;
248
- /**
249
- * Props to customize ActionFormIntro.
250
- * Only used when coupled is false (decoupled mode).
251
- * If not provided, default values are used.
252
- */
253
- actionFormIntroProps?: Partial<ActionsFormIntroProps>;
254
- /**
255
- * Custom render for form actions.
256
- * Only used when coupled is false (decoupled mode).
257
- * If provided, replaces the default ActionsContainer and ActionFormIntro.
258
- */
259
- renderActions?: () => ReactNode;
260
- }
261
- /**
262
- * Props when coupled=false (decoupled mode). initialData, validationSchema and coupledStatusLoad are optional.
263
- */
264
- export interface DynamicFormPropsDecoupled extends DynamicFormPropsBase {
265
- coupled?: false;
266
- /**
267
- * Initial form data. If provided, it is used instead of fetching from the endpoint.
268
- */
269
- initialData?: DynamicFormApiResponse | null;
270
- /**
271
- * Form validation schema.
272
- */
273
- validationSchema?: RHFormValidationSchema<DynamicFormValues>;
274
- /**
275
- * When coupled=true: load status from the consumer (e.g. useDynamicFormData statusLoad).
276
- */
277
- coupledStatusLoad?: FormStatusLoad;
278
- }
279
- /**
280
- * Props when coupled=true. coupledStatusLoad is required; initialData is optional so the parent
281
- * can pass already-fetched form data (e.g. from useDynamicFormCoupled) and avoid duplicate fetch.
282
- */
283
- export interface DynamicFormPropsCoupled extends DynamicFormPropsBase {
284
- coupled: true;
285
- /**
286
- * Load status from the consumer (e.g. useDynamicFormData statusLoad). Required in coupled mode.
287
- */
288
- coupledStatusLoad: FormStatusLoad;
289
- /**
290
- * Pre-loaded form structure and values. When provided (e.g. from useDynamicFormCoupled),
291
- * DynamicForm uses it so the dynamic fields render without waiting for an internal fetch.
292
- */
293
- initialData?: DynamicFormApiResponse | null;
294
- }
295
- /**
296
- * DynamicForm component props.
297
- * When coupled=true, initialData, validationSchema and coupledStatusLoad are required.
298
- */
299
- export type DynamicFormProps = DynamicFormPropsDecoupled | DynamicFormPropsCoupled;
300
- /**
301
- * Owner state used to define internal style and behavior properties.
302
- */
303
- export interface DynamicFormOwnerState extends Pick<DynamicFormProps, 'size'> {
304
- [key: string]: unknown;
305
- }
306
- /**
307
- * Available slot types for the component.
308
- */
309
- export type DynamicFormSlotsType = keyof typeof DynamicFormSlots;
310
- /**
311
- * Styles applicable to the component via theme and custom slots.
312
- */
313
- export type DynamicFormStyles = M4LOverridesStyleRules<DynamicFormSlotsType, typeof DYNAMIC_FORM_KEY_COMPONENT, Theme>;
314
- /**
315
- * Type for dynamic form values.
316
- */
317
- export type DynamicFormValues = RHFormValues & Record<string, unknown>;
318
- /**
319
- * Type for the value exposed when DynamicForm is coupled (coupled=true).
320
- * Contains field values and internal validation state.
321
- */
322
- export interface DynamicFormFieldsValue {
323
- [fieldName: string]: unknown;
324
- isDynamicFormValidInternal: boolean;
325
- }
326
- /**
327
- * Type for methods exposed via DynamicForm ref.
328
- * Exposes RHFormProvider API for parent component access.
329
- */
330
- export type DynamicFormRef = RHFormProviderRef<DynamicFormValues>;
331
- /**
332
- * Props for the internal content that renders form fields. In coupled mode the component
333
- * must be used where RHFormProvider exists (provided by the parent at instantiation site).
334
- */
335
- export interface DynamicFormContentProps {
336
- data: DynamicFormApiResponse;
337
- ownerState: DynamicFormOwnerState;
338
- currentSize: 'small' | 'medium';
339
- fieldWrapperClassName?: string;
340
- dataTestId?: string;
341
- coupled?: boolean;
342
- actionFormIntroProps?: Partial<DynamicFormProps['actionFormIntroProps']>;
343
- renderActions?: DynamicFormProps['renderActions'];
344
- }
345
- export {};
346
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DynamicForm/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EACL,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,IAAI,sBAAsB,EAC3C,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAE1F;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAED;;;GAGG;AACH,MAAM,WAAW,2CAA2C;IAC1D,4BAA4B;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,GAAG,OAA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