@m4l/components 9.18.0 → 9.18.1-beta-feature-498-admin-devices-list-settings-tab.0
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/components/CheckableList/slots/styled.d.ts +3 -3
- package/components/DynamicForm/DynamicForm.d.ts.map +1 -1
- package/components/DynamicForm/DynamicForm.js +121 -81
- package/components/DynamicForm/DynamicForm.styles.d.ts.map +1 -1
- package/components/DynamicForm/DynamicForm.styles.js +104 -20
- package/components/DynamicForm/constants.d.ts +1 -1
- package/components/DynamicForm/constants.d.ts.map +1 -1
- package/components/DynamicForm/constants.js +10 -10
- package/components/DynamicForm/dictionary.d.ts +9 -1
- package/components/DynamicForm/dictionary.d.ts.map +1 -1
- package/components/DynamicForm/dictionary.js +14 -5
- package/components/DynamicForm/helpers/applyRequiredValidation/applyRequiredValidation.d.ts.map +1 -1
- package/components/DynamicForm/helpers/createFieldValidationSchema/createFieldValidationSchema.d.ts.map +1 -1
- package/components/DynamicForm/helpers/createFieldValidationSchema/createFieldValidationSchema.js +24 -22
- package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/baseSchemaStrategies.d.ts +7 -0
- package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/baseSchemaStrategies.d.ts.map +1 -1
- package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/baseSchemaStrategies.js +46 -30
- package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/createBaseSchema.d.ts +1 -0
- package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/createBaseSchema.d.ts.map +1 -1
- package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/baseSchema/createBaseSchema.js +8 -6
- package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/validationStrategies.d.ts.map +1 -1
- package/components/DynamicForm/helpers/createFieldValidationSchema/strategies/validation/validationStrategies.js +37 -37
- package/components/DynamicForm/helpers/filterUnknownFieldsFromSubmit/filterUnknownFieldsFromSubmit.d.ts +14 -0
- package/components/DynamicForm/helpers/filterUnknownFieldsFromSubmit/filterUnknownFieldsFromSubmit.d.ts.map +1 -0
- package/components/DynamicForm/helpers/filterUnknownFieldsFromSubmit/index.d.ts +2 -0
- package/components/DynamicForm/helpers/filterUnknownFieldsFromSubmit/index.d.ts.map +1 -0
- package/components/DynamicForm/helpers/getFieldTypeApiKey/getFieldTypeApiKey.d.ts +8 -0
- package/components/DynamicForm/helpers/getFieldTypeApiKey/getFieldTypeApiKey.d.ts.map +1 -0
- package/components/DynamicForm/helpers/getFieldTypeApiKey/getFieldTypeApiKey.js +24 -0
- package/components/DynamicForm/helpers/getFieldTypeApiKey/index.d.ts +2 -0
- package/components/DynamicForm/helpers/getFieldTypeApiKey/index.d.ts.map +1 -0
- package/components/DynamicForm/helpers/index.d.ts +3 -0
- package/components/DynamicForm/helpers/index.d.ts.map +1 -1
- package/components/DynamicForm/helpers/isPositiveInteger.d.ts +1 -1
- package/components/DynamicForm/helpers/mapImageSelectorValuesForSubmit/index.d.ts +2 -0
- package/components/DynamicForm/helpers/mapImageSelectorValuesForSubmit/index.d.ts.map +1 -0
- package/components/DynamicForm/helpers/mapImageSelectorValuesForSubmit/mapImageSelectorValuesForSubmit.d.ts +9 -0
- package/components/DynamicForm/helpers/mapImageSelectorValuesForSubmit/mapImageSelectorValuesForSubmit.d.ts.map +1 -0
- package/components/DynamicForm/helpers/mapImageSelectorValuesForSubmit/mapImageSelectorValuesForSubmit.js +26 -0
- package/components/DynamicForm/helpers/resolveFieldComponent/resolveFieldComponent.d.ts +4 -2
- package/components/DynamicForm/helpers/resolveFieldComponent/resolveFieldComponent.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/resolveFieldComponent.js +10 -9
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/autocompleteStrategy/autocompleteStrategy.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/autocompleteStrategy/autocompleteStrategy.js +36 -37
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/autocompleteStrategy/normalizeAutocompletePropsFromBackend.d.ts +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/autocompleteStrategy/normalizeAutocompletePropsFromBackend.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/autocompleteStrategy/normalizeAutocompletePropsFromBackend.js +25 -24
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkableListStrategy/checkableListStrategy.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkableListStrategy/checkableListStrategy.js +26 -26
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkableListStrategy/helpers/whitelist/propertyNormalizers.d.ts +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkableListStrategy/normalizeCheckableListPropsFromBackend.d.ts +3 -3
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkableListStrategy/normalizeCheckableListPropsFromBackend.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkableListStrategy/normalizeCheckableListPropsFromBackend.js +10 -9
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkableListStrategy/types.d.ts +2 -2
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkboxStrategy/checkboxStrategy.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkboxStrategy/checkboxStrategy.js +13 -13
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkboxStrategy/normalizeCheckboxPropsFromBackend.d.ts +2 -2
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkboxStrategy/normalizeCheckboxPropsFromBackend.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/checkboxStrategy/normalizeCheckboxPropsFromBackend.js +9 -8
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/dateRangePickerStrategy/dateRangePickerStrategy.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/dateRangePickerStrategy/dateRangePickerStrategy.js +12 -12
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/dateRangePickerStrategy/normalizeDateRangePickerPropsFromBackend.d.ts +4 -4
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/dateRangePickerStrategy/normalizeDateRangePickerPropsFromBackend.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/dateRangePickerStrategy/normalizeDateRangePickerPropsFromBackend.js +7 -6
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/daysOfWeekPickerStrategy/daysOfWeekPickerStrategy.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/daysOfWeekPickerStrategy/daysOfWeekPickerStrategy.js +15 -15
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/daysOfWeekPickerStrategy/normalizeDaysOfWeekPickerPropsFromBackend.d.ts +2 -2
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/daysOfWeekPickerStrategy/normalizeDaysOfWeekPickerPropsFromBackend.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/daysOfWeekPickerStrategy/normalizeDaysOfWeekPickerPropsFromBackend.js +9 -8
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/imageSelectorStrategy/imageSelectorStrategy.d.ts +7 -0
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/imageSelectorStrategy/imageSelectorStrategy.d.ts.map +1 -0
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/imageSelectorStrategy/imageSelectorStrategy.js +41 -0
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/imageSelectorStrategy/normalizeImageSelectorPropsFromBackend.d.ts +10 -0
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/imageSelectorStrategy/normalizeImageSelectorPropsFromBackend.d.ts.map +1 -0
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/imageSelectorStrategy/normalizeImageSelectorPropsFromBackend.js +70 -0
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/imageSelectorStrategy/types.d.ts +9 -0
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/imageSelectorStrategy/types.d.ts.map +1 -0
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/index.d.ts +1 -0
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/index.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/normalizeRhfLabelRelatedPropsFromBackend.d.ts +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/numberInputStrategy/normalizeNumberInputPropsFromBackend.d.ts +2 -2
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/numberInputStrategy/normalizeNumberInputPropsFromBackend.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/numberInputStrategy/normalizeNumberInputPropsFromBackend.js +6 -5
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/numberInputStrategy/numberInputStrategy.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/numberInputStrategy/numberInputStrategy.js +15 -15
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/radioGroupStrategy/normalizeRadioGroupPropsFromBackend.d.ts +4 -4
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/radioGroupStrategy/normalizeRadioGroupPropsFromBackend.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/radioGroupStrategy/normalizeRadioGroupPropsFromBackend.js +16 -15
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/radioGroupStrategy/radioGroupStrategy.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/radioGroupStrategy/radioGroupStrategy.js +16 -16
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/registry.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/registry.js +8 -6
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/selectStrategy/normalizeSelectPropsFromBackend.d.ts +3 -3
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/selectStrategy/normalizeSelectPropsFromBackend.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/selectStrategy/normalizeSelectPropsFromBackend.js +6 -5
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/selectStrategy/selectStrategy.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/selectStrategy/selectStrategy.js +16 -16
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/textFieldStrategy/normalizeTextFieldPropsFromBackend.d.ts +2 -2
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/textFieldStrategy/normalizeTextFieldPropsFromBackend.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/textFieldStrategy/normalizeTextFieldPropsFromBackend.js +13 -12
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/textFieldStrategy/textFieldStrategy.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/textFieldStrategy/textFieldStrategy.js +35 -18
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/types.d.ts +2 -0
- package/components/DynamicForm/helpers/resolveFieldComponent/strategies/types.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/types.d.ts +16 -1
- package/components/DynamicForm/helpers/resolveFieldComponent/types.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldContractAliases.d.ts +19 -0
- package/components/DynamicForm/helpers/resolveFieldContractAliases.d.ts.map +1 -0
- package/components/DynamicForm/helpers/resolveFieldContractAliases.js +23 -0
- package/components/DynamicForm/helpers/resolveFieldInputLabel/resolveFieldInputLabel.d.ts +1 -1
- package/components/DynamicForm/helpers/resolveFieldInputLabel/resolveFieldInputLabel.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveFieldInputLabel/resolveFieldInputLabel.js +6 -5
- package/components/DynamicForm/helpers/resolveInitialValue/resolveInitialValue.d.ts.map +1 -1
- package/components/DynamicForm/helpers/resolveInitialValue/resolveInitialValue.js +83 -66
- package/components/DynamicForm/helpers/resolveInitialValue/types.d.ts +9 -2
- package/components/DynamicForm/helpers/resolveInitialValue/types.d.ts.map +1 -1
- package/components/DynamicForm/hooks/useDynamicForm/useDynamicForm.d.ts.map +1 -1
- package/components/DynamicForm/hooks/useDynamicForm/useDynamicForm.js +26 -24
- package/components/DynamicForm/hooks/useDynamicFormConditionals/useDynamicFormConditionals.js +22 -22
- package/components/DynamicForm/hooks/useDynamicFormCoupled/types.d.ts +1 -1
- package/components/DynamicForm/hooks/useDynamicFormCoupled/types.d.ts.map +1 -1
- package/components/DynamicForm/hooks/useDynamicFormCoupled/useDynamicFormCoupled.d.ts.map +1 -1
- package/components/DynamicForm/hooks/useDynamicFormCoupled/useDynamicFormCoupled.js +26 -24
- package/components/DynamicForm/hooks/useDynamicFormData/types.d.ts +11 -2
- package/components/DynamicForm/hooks/useDynamicFormData/types.d.ts.map +1 -1
- package/components/DynamicForm/hooks/useDynamicFormData/useDynamicFormData.d.ts +2 -1
- package/components/DynamicForm/hooks/useDynamicFormData/useDynamicFormData.d.ts.map +1 -1
- package/components/DynamicForm/hooks/useDynamicFormData/useDynamicFormData.js +72 -50
- package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.d.ts.map +1 -1
- package/components/DynamicForm/hooks/useFieldsWithFetchedOptions/useFieldsWithFetchedOptions.js +3 -3
- package/components/DynamicForm/index.d.ts +1 -0
- package/components/DynamicForm/index.d.ts.map +1 -1
- package/components/DynamicForm/slots/DynamicFormEnum.d.ts +4 -1
- package/components/DynamicForm/slots/DynamicFormEnum.d.ts.map +1 -1
- package/components/DynamicForm/slots/DynamicFormEnum.js +2 -2
- package/components/DynamicForm/slots/DynamicFormSlots.d.ts +9 -0
- package/components/DynamicForm/slots/DynamicFormSlots.d.ts.map +1 -1
- package/components/DynamicForm/slots/DynamicFormSlots.js +36 -23
- package/components/DynamicForm/subcomponents/DynamicFormContent/DynamicFormContent.d.ts.map +1 -1
- package/components/DynamicForm/subcomponents/DynamicFormContent/DynamicFormContent.js +85 -46
- package/components/DynamicForm/types.d.ts +127 -34
- package/components/DynamicForm/types.d.ts.map +1 -1
- package/components/ImageSelector/ImageSelector.d.ts.map +1 -1
- package/components/ImageSelector/ImageSelector.js +103 -101
- package/components/ImageSelector/hooks/useImageSelector.d.ts +1 -1
- package/components/ImageSelector/hooks/useImageSelector.d.ts.map +1 -1
- package/components/ImageSelector/hooks/useImageSelector.js +172 -168
- package/components/ImageSelector/types.d.ts +12 -4
- package/components/ImageSelector/types.d.ts.map +1 -1
- package/components/Label/Label.d.ts.map +1 -1
- package/components/Label/Label.js +31 -28
- package/components/Label/types.d.ts +6 -0
- package/components/Label/types.d.ts.map +1 -1
- package/components/PropertyValue/PropertyValue.d.ts.map +1 -1
- package/components/PropertyValue/PropertyValue.js +39 -37
- package/components/extended/mui/Accordion/Accordion.d.ts.map +1 -1
- package/components/extended/mui/Accordion/Accordion.js +67 -53
- package/components/extended/mui/Accordion/slots/AccordionEnum.d.ts +2 -0
- package/components/extended/mui/Accordion/slots/AccordionEnum.d.ts.map +1 -1
- package/components/extended/mui/Accordion/slots/AccordionEnum.js +1 -1
- package/components/extended/mui/Accordion/slots/AccordionSlots.d.ts +6 -0
- package/components/extended/mui/Accordion/slots/AccordionSlots.d.ts.map +1 -1
- package/components/extended/mui/Accordion/slots/AccordionSlots.js +22 -14
- package/components/extended/mui/Accordion/styles.d.ts.map +1 -1
- package/components/extended/mui/Accordion/styles.js +35 -8
- package/components/extended/mui/Accordion/types.d.ts +5 -0
- package/components/extended/mui/Accordion/types.d.ts.map +1 -1
- package/components/extended/mui/Tab/constants.d.ts +1 -1
- package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
- package/components/hook-form/RHFNumberInput/RHFNumberInput.d.ts.map +1 -1
- package/components/hook-form/RHFNumberInput/RHFNumberInput.js +38 -36
- package/components/hook-form/RHFTextField/RHFTextField.d.ts.map +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.js +48 -46
- package/index.js +519 -517
- package/package.json +7 -7
|
@@ -10,7 +10,7 @@ export declare const SearchInputStyled: import('@emotion/styled').StyledComponen
|
|
|
10
10
|
export declare const SelectAllContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
11
11
|
ownerState?: (Partial<import('..').CheckableListOwnerState> & Record<string, unknown>) | undefined;
|
|
12
12
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
13
|
-
export declare const SelectAllCheckboxStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/CheckBox/types').CheckboxProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "title" | "component" | "error" | "size" | "color" | "action" | "content" | "translate" | "className" | "style" | "classes" | "children" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "value" | "indeterminate" | "icon" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "mandatory" | "checked" | "skeletonWidth" | "htmlFor" | keyof import('react').RefAttributes<HTMLButtonElement> | "required" | "readOnly" | "inputProps" | "inputRef" | "helperMessage" | "mandatoryMessage" | "checkedIcon" | "indeterminateIcon" | "inlineText"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
13
|
+
export declare const SelectAllCheckboxStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/CheckBox/types').CheckboxProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "symbol" | "title" | "component" | "error" | "size" | "color" | "action" | "content" | "translate" | "className" | "style" | "classes" | "children" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "value" | "indeterminate" | "icon" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "mandatory" | "checked" | "skeletonWidth" | "htmlFor" | keyof import('react').RefAttributes<HTMLButtonElement> | "required" | "readOnly" | "inputProps" | "inputRef" | "helperMessage" | "mandatoryMessage" | "checkedIcon" | "indeterminateIcon" | "inlineText"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
14
14
|
ownerState?: (Partial<import('..').CheckableListOwnerState> & Record<string, unknown>) | undefined;
|
|
15
15
|
}, {}, {}>;
|
|
16
16
|
export declare const ListContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
@@ -22,7 +22,7 @@ export declare const VirtualizedListStyled: import('@emotion/styled').StyledComp
|
|
|
22
22
|
export declare const ItemWrapperStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
23
23
|
ownerState?: (Partial<import('..').CheckableListOwnerState> & Record<string, unknown>) | undefined;
|
|
24
24
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
25
|
-
export declare const ItemCheckboxStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/CheckBox/types').CheckboxProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "title" | "component" | "error" | "size" | "color" | "action" | "content" | "translate" | "className" | "style" | "classes" | "children" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "value" | "indeterminate" | "icon" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "mandatory" | "checked" | "skeletonWidth" | "htmlFor" | keyof import('react').RefAttributes<HTMLButtonElement> | "required" | "readOnly" | "inputProps" | "inputRef" | "helperMessage" | "mandatoryMessage" | "checkedIcon" | "indeterminateIcon" | "inlineText"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
25
|
+
export declare const ItemCheckboxStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/CheckBox/types').CheckboxProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "symbol" | "title" | "component" | "error" | "size" | "color" | "action" | "content" | "translate" | "className" | "style" | "classes" | "children" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "value" | "indeterminate" | "icon" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "mandatory" | "checked" | "skeletonWidth" | "htmlFor" | keyof import('react').RefAttributes<HTMLButtonElement> | "required" | "readOnly" | "inputProps" | "inputRef" | "helperMessage" | "mandatoryMessage" | "checkedIcon" | "indeterminateIcon" | "inlineText"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
26
26
|
ownerState?: (Partial<import('..').CheckableListOwnerState> & Record<string, unknown>) | undefined;
|
|
27
27
|
}, {}, {}>;
|
|
28
28
|
export declare const ItemContentWrapperStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
@@ -43,7 +43,7 @@ export declare const GroupWrapperStyled: import('@emotion/styled').StyledCompone
|
|
|
43
43
|
export declare const GroupHeaderStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
44
44
|
ownerState?: (Partial<import('..').CheckableListOwnerState> & Record<string, unknown>) | undefined;
|
|
45
45
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
46
|
-
export declare const GroupCheckboxStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/CheckBox/types').CheckboxProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "title" | "component" | "error" | "size" | "color" | "action" | "content" | "translate" | "className" | "style" | "classes" | "children" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "value" | "indeterminate" | "icon" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "mandatory" | "checked" | "skeletonWidth" | "htmlFor" | keyof import('react').RefAttributes<HTMLButtonElement> | "required" | "readOnly" | "inputProps" | "inputRef" | "helperMessage" | "mandatoryMessage" | "checkedIcon" | "indeterminateIcon" | "inlineText"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
46
|
+
export declare const GroupCheckboxStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/CheckBox/types').CheckboxProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "symbol" | "title" | "component" | "error" | "size" | "color" | "action" | "content" | "translate" | "className" | "style" | "classes" | "children" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "value" | "indeterminate" | "icon" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "mandatory" | "checked" | "skeletonWidth" | "htmlFor" | keyof import('react').RefAttributes<HTMLButtonElement> | "required" | "readOnly" | "inputProps" | "inputRef" | "helperMessage" | "mandatoryMessage" | "checkedIcon" | "indeterminateIcon" | "inlineText"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
47
47
|
ownerState?: (Partial<import('..').CheckableListOwnerState> & Record<string, unknown>) | undefined;
|
|
48
48
|
}, {}, {}>;
|
|
49
49
|
export declare const GroupLabelCountWrapperStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicForm.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DynamicForm/DynamicForm.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DynamicForm.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DynamicForm/DynamicForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqF,MAAM,OAAO,CAAC;AAU1G,OAAO,EAEL,gBAAgB,EAChB,cAAc,EAGf,MAAM,SAAS,CAAC;AAWjB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,WAAW,yFAoQtB,CAAC"}
|
|
@@ -1,96 +1,136 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useModuleSkeleton as
|
|
5
|
-
import { useComponentSize as
|
|
6
|
-
import { TEST_PROP_ID as
|
|
7
|
-
import { LinearProgress as
|
|
8
|
-
import { DynamicFormContentRootStyled as
|
|
9
|
-
import { DYNAMIC_FORM_CLASSES as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
1
|
+
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import J, { forwardRef as K, useMemo as R, useState as Q, useEffect as X, useImperativeHandle as Z, useCallback as N } from "react";
|
|
3
|
+
import O from "clsx";
|
|
4
|
+
import { useModuleSkeleton as $ } from "@m4l/core";
|
|
5
|
+
import { useComponentSize as tt } from "../../hooks/useComponentSize/index.js";
|
|
6
|
+
import { TEST_PROP_ID as et } from "../../test/constants_no_mock.js";
|
|
7
|
+
import { LinearProgress as ot } from "../extended/mui/LinearProgress/index.js";
|
|
8
|
+
import { DynamicFormContentRootStyled as rt, DynamicFormFormProviderStyled as nt } from "./slots/DynamicFormSlots.js";
|
|
9
|
+
import { DYNAMIC_FORM_CLASSES as f, EMPTY_DATA as at } from "./constants.js";
|
|
10
|
+
import { FIELD_COMPONENT_STRATEGY_REGISTRY as mt } from "./helpers/resolveFieldComponent/strategies/registry.js";
|
|
11
|
+
import { useDynamicForm as it } from "./hooks/useDynamicForm/useDynamicForm.js";
|
|
12
|
+
import { useDynamicFormData as st } from "./hooks/useDynamicFormData/useDynamicFormData.js";
|
|
13
|
+
import { DynamicFormContent as _ } from "./subcomponents/DynamicFormContent/DynamicFormContent.js";
|
|
14
|
+
import { mapImageSelectorValuesForSubmit as ut } from "./helpers/mapImageSelectorValuesForSubmit/mapImageSelectorValuesForSubmit.js";
|
|
15
|
+
const ct = K((h, C) => {
|
|
14
16
|
const {
|
|
15
|
-
formId:
|
|
16
|
-
formInstanceId:
|
|
17
|
-
inputEndpoint:
|
|
18
|
-
outputEndpoint:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
17
|
+
formId: M,
|
|
18
|
+
formInstanceId: P,
|
|
19
|
+
inputEndpoint: k,
|
|
20
|
+
outputEndpoint: r,
|
|
21
|
+
submitMode: n,
|
|
22
|
+
initialData: p,
|
|
23
|
+
formatInputData: v,
|
|
24
|
+
formatOutputData: w,
|
|
25
|
+
onSubmit: a,
|
|
26
|
+
onSubmitError: S,
|
|
27
|
+
size: A,
|
|
28
|
+
className: b,
|
|
29
|
+
dataTestId: s,
|
|
30
|
+
dataMeta: u,
|
|
31
|
+
fieldWrapperClassName: D,
|
|
32
|
+
coupled: c = !1,
|
|
33
|
+
actionFormIntroProps: z,
|
|
34
|
+
renderActions: H
|
|
35
|
+
} = h, { currentSize: m } = tt(A), L = $(), {
|
|
36
|
+
formData: Y,
|
|
37
|
+
statusLoad: g,
|
|
38
|
+
handleSubmit: F
|
|
39
|
+
} = st({
|
|
40
|
+
formId: M,
|
|
41
|
+
formInstanceId: P,
|
|
42
|
+
inputEndpoint: k,
|
|
43
|
+
outputEndpoint: r,
|
|
44
|
+
submitMode: n,
|
|
45
|
+
initialData: p,
|
|
46
|
+
formatInputData: v,
|
|
47
|
+
formatOutputData: w,
|
|
48
|
+
onSubmit: a
|
|
49
|
+
}), e = Y || p, y = R(() => new Set(
|
|
50
|
+
(e?.fields ?? []).filter((t) => {
|
|
51
|
+
const d = t.fieldType?.componentId;
|
|
52
|
+
return !d || !mt[d];
|
|
53
|
+
}).map((t) => t.name).filter((t) => typeof t == "string" && t.trim() !== "")
|
|
54
|
+
), [e]), { initialValues: x, validationSchema: V } = it(e || at), [l, i] = Q(null);
|
|
55
|
+
X(() => {
|
|
56
|
+
if (!l)
|
|
57
|
+
return;
|
|
58
|
+
const t = setTimeout(() => i(null), 5e3);
|
|
59
|
+
return () => clearTimeout(t);
|
|
60
|
+
}, [l]);
|
|
61
|
+
const j = R(() => ({
|
|
62
|
+
size: m
|
|
63
|
+
}), [m]), E = J.useRef(null);
|
|
64
|
+
Z(C, () => E.current, []);
|
|
65
|
+
const G = N(
|
|
66
|
+
async (t) => {
|
|
67
|
+
if (!!!(r || n === "perField" || a))
|
|
68
|
+
return;
|
|
69
|
+
const U = r || n === "perField" ? F : a ?? (() => {
|
|
70
|
+
}), I = {};
|
|
71
|
+
for (const [T, q] of Object.entries(t))
|
|
72
|
+
y.has(T) || (I[T] = q);
|
|
73
|
+
const W = ut(I, e?.fields ?? []);
|
|
74
|
+
try {
|
|
75
|
+
await U(W), i("success");
|
|
76
|
+
} catch {
|
|
77
|
+
i("error");
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
[e?.fields, F, a, r, n, y]
|
|
81
|
+
), B = N(
|
|
82
|
+
(t) => {
|
|
83
|
+
i("error"), S?.(t);
|
|
84
|
+
},
|
|
85
|
+
[S]
|
|
86
|
+
);
|
|
87
|
+
return L ? /* @__PURE__ */ o(
|
|
88
|
+
rt,
|
|
49
89
|
{
|
|
50
|
-
ownerState:
|
|
51
|
-
className:
|
|
52
|
-
...process.env.NODE_ENV !== "production" ? { [
|
|
53
|
-
children: /* @__PURE__ */
|
|
90
|
+
ownerState: j,
|
|
91
|
+
className: O(b, f.contentRoot),
|
|
92
|
+
...process.env.NODE_ENV !== "production" ? { [et]: s, "data-meta": u } : {},
|
|
93
|
+
children: /* @__PURE__ */ o(ot, {})
|
|
54
94
|
}
|
|
55
|
-
) :
|
|
56
|
-
|
|
95
|
+
) : e ? c ? /* @__PURE__ */ o(
|
|
96
|
+
_,
|
|
57
97
|
{
|
|
58
|
-
data:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
coupled:
|
|
98
|
+
data: e,
|
|
99
|
+
currentSize: m,
|
|
100
|
+
fieldWrapperClassName: D,
|
|
101
|
+
dataTestId: s,
|
|
102
|
+
dataMeta: u,
|
|
103
|
+
coupled: c
|
|
64
104
|
}
|
|
65
|
-
) : /* @__PURE__ */
|
|
66
|
-
|
|
105
|
+
) : /* @__PURE__ */ o(
|
|
106
|
+
nt,
|
|
67
107
|
{
|
|
68
|
-
ref:
|
|
69
|
-
values:
|
|
70
|
-
validationSchema:
|
|
71
|
-
onSubmit:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
statusLoad: b,
|
|
108
|
+
ref: E,
|
|
109
|
+
values: x,
|
|
110
|
+
validationSchema: V,
|
|
111
|
+
onSubmit: G,
|
|
112
|
+
onSubmitError: B,
|
|
113
|
+
statusLoad: g,
|
|
75
114
|
mode: "onSubmit",
|
|
76
|
-
className:
|
|
77
|
-
children:
|
|
78
|
-
|
|
115
|
+
className: O(b, f.contentRoot, f.formProvider),
|
|
116
|
+
children: /* @__PURE__ */ o(
|
|
117
|
+
_,
|
|
79
118
|
{
|
|
80
|
-
data:
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
coupled:
|
|
86
|
-
actionFormIntroProps:
|
|
87
|
-
renderActions:
|
|
119
|
+
data: e,
|
|
120
|
+
currentSize: m,
|
|
121
|
+
fieldWrapperClassName: D,
|
|
122
|
+
dataTestId: s,
|
|
123
|
+
dataMeta: u,
|
|
124
|
+
coupled: c,
|
|
125
|
+
actionFormIntroProps: z,
|
|
126
|
+
renderActions: H,
|
|
127
|
+
submitFeedbackStatus: l
|
|
88
128
|
}
|
|
89
129
|
)
|
|
90
130
|
}
|
|
91
131
|
) : null;
|
|
92
132
|
});
|
|
93
|
-
|
|
133
|
+
ct.displayName = "DynamicForm";
|
|
94
134
|
export {
|
|
95
|
-
|
|
135
|
+
ct as DynamicForm
|
|
96
136
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicForm.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DynamicForm/DynamicForm.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DynamicForm.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DynamicForm/DynamicForm.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA6B5C,eAAO,MAAM,eAAe,EAAE,iBAgK7B,CAAC"}
|
|
@@ -1,4 +1,24 @@
|
|
|
1
|
-
const
|
|
1
|
+
const t = (i) => ({
|
|
2
|
+
flex: `1 1 ${i}px`,
|
|
3
|
+
minWidth: `min(100%, ${i}px)`,
|
|
4
|
+
maxWidth: "100%"
|
|
5
|
+
}), a = {
|
|
6
|
+
email: t(400),
|
|
7
|
+
shortName: t(90),
|
|
8
|
+
mediumName: t(260),
|
|
9
|
+
bigName: t(520),
|
|
10
|
+
shortId: t(44),
|
|
11
|
+
mediumId: t(60),
|
|
12
|
+
bigId: t(200),
|
|
13
|
+
shortDescription: t(796),
|
|
14
|
+
mediumDescription: t(1500),
|
|
15
|
+
bigDescription: { maxWidth: "100%", width: "100%", minWidth: "0", flex: "1 1 100%" },
|
|
16
|
+
shortNumber: t(50),
|
|
17
|
+
mediumNumber: t(60),
|
|
18
|
+
bigNumber: t(162),
|
|
19
|
+
percentNumber: t(50),
|
|
20
|
+
fullWidth: { maxWidth: "100%", width: "100%", minWidth: "0", flex: "1 1 100%" }
|
|
21
|
+
}, s = {
|
|
2
22
|
/**
|
|
3
23
|
* Styles for the RHFormProvider wrapper.
|
|
4
24
|
*/
|
|
@@ -7,38 +27,85 @@ const a = {
|
|
|
7
27
|
}),
|
|
8
28
|
/**
|
|
9
29
|
* Styles for the form content container (inner div).
|
|
30
|
+
* Uses flex-wrap so fields with `metadata.semanticWidth` flow side-by-side and wrap naturally,
|
|
31
|
+
* equivalent to a ContainerFlow flex-wrap container with PropertyValue items.
|
|
10
32
|
*/
|
|
11
|
-
contentRoot: ({ theme:
|
|
33
|
+
contentRoot: ({ theme: i }) => ({
|
|
12
34
|
display: "flex",
|
|
13
|
-
|
|
14
|
-
|
|
35
|
+
alignItems: "flex-start",
|
|
36
|
+
alignContent: "flex-start",
|
|
37
|
+
flexWrap: "wrap",
|
|
38
|
+
gap: i.vars.size.baseSpacings.sp4,
|
|
15
39
|
width: "100%",
|
|
16
|
-
padding:
|
|
17
|
-
border: `1px solid ${r.vars.palette.border.default}`,
|
|
18
|
-
borderRadius: r.vars.size.borderRadius.r1,
|
|
40
|
+
padding: i.vars.size.baseSpacings.sp2,
|
|
19
41
|
"& .MuiLinearProgress-root": {
|
|
20
|
-
backgroundColor:
|
|
42
|
+
backgroundColor: i.vars.palette.primary.opacity
|
|
21
43
|
}
|
|
22
44
|
}),
|
|
23
45
|
/**
|
|
24
46
|
* Styles for each form field wrapper.
|
|
47
|
+
* `ownerState.semanticWidth` drives a preferred flex-basis from `semanticStylesMap`
|
|
48
|
+
* while still allowing rows to redistribute leftover space more naturally.
|
|
25
49
|
*/
|
|
26
|
-
fieldWrapper: ({ theme:
|
|
27
|
-
const
|
|
50
|
+
fieldWrapper: ({ theme: i, ownerState: n }) => {
|
|
51
|
+
const e = n, o = e?.semanticWidth, r = o && a[o] ? a[o] : { maxWidth: "100%", width: "100%", minWidth: "0", flex: "1 1 100%" };
|
|
28
52
|
return {
|
|
29
53
|
display: "flex",
|
|
30
54
|
flexDirection: "column",
|
|
31
|
-
gap:
|
|
32
|
-
|
|
33
|
-
|
|
55
|
+
gap: i.vars.size.baseSpacings.sp1,
|
|
56
|
+
alignSelf: "flex-start",
|
|
57
|
+
minWidth: 0,
|
|
58
|
+
...r,
|
|
59
|
+
"& > *": {
|
|
60
|
+
width: "100%",
|
|
61
|
+
maxWidth: "100%",
|
|
62
|
+
minWidth: 0
|
|
63
|
+
},
|
|
64
|
+
...e?.readOnly && {
|
|
34
65
|
opacity: 0.7
|
|
35
66
|
},
|
|
36
|
-
...
|
|
67
|
+
...e?.disabled && {
|
|
37
68
|
pointerEvents: "none",
|
|
38
69
|
opacity: 0.5
|
|
39
70
|
}
|
|
40
71
|
};
|
|
41
72
|
},
|
|
73
|
+
/**
|
|
74
|
+
* Styles for the submit feedback chip container.
|
|
75
|
+
* Full-width flex item so it always occupies its own row.
|
|
76
|
+
*/
|
|
77
|
+
submitFeedback: () => ({
|
|
78
|
+
width: "100%",
|
|
79
|
+
flex: "1 1 100%",
|
|
80
|
+
display: "flex",
|
|
81
|
+
justifyContent: "flex-start",
|
|
82
|
+
"& .M4LChip-root": {
|
|
83
|
+
width: "100%",
|
|
84
|
+
height: "fit-content",
|
|
85
|
+
"& .MuiBox-root": {
|
|
86
|
+
width: "100%",
|
|
87
|
+
overflow: "hidden",
|
|
88
|
+
justifyContent: "center",
|
|
89
|
+
"& .MuiTypography-root": {
|
|
90
|
+
lineHeight: "normal",
|
|
91
|
+
width: "100%",
|
|
92
|
+
whiteSpace: "nowrap",
|
|
93
|
+
overflow: "hidden",
|
|
94
|
+
textOverflow: "ellipsis"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}),
|
|
99
|
+
/**
|
|
100
|
+
* Styles for the actions row rendered at the end of decoupled forms.
|
|
101
|
+
* Keeps actions in their own flex row without relying on inline styles.
|
|
102
|
+
*/
|
|
103
|
+
actionsRow: () => ({
|
|
104
|
+
width: "100%",
|
|
105
|
+
flex: "1 1 100%",
|
|
106
|
+
display: "flex",
|
|
107
|
+
flexDirection: "column"
|
|
108
|
+
}),
|
|
42
109
|
/**
|
|
43
110
|
* Styles for each field label.
|
|
44
111
|
*/
|
|
@@ -54,12 +121,12 @@ const a = {
|
|
|
54
121
|
/**
|
|
55
122
|
* Styles for the section divider (for future use).
|
|
56
123
|
*/
|
|
57
|
-
sectionDivider: ({ theme:
|
|
124
|
+
sectionDivider: ({ theme: i }) => ({
|
|
58
125
|
width: "100%",
|
|
59
|
-
height:
|
|
60
|
-
backgroundColor:
|
|
61
|
-
marginTop:
|
|
62
|
-
marginBottom:
|
|
126
|
+
height: i.vars.size.borderStroke.container,
|
|
127
|
+
backgroundColor: i.vars.palette.border.main,
|
|
128
|
+
marginTop: i.vars.size.baseSpacings.sp2,
|
|
129
|
+
marginBottom: i.vars.size.baseSpacings.sp2
|
|
63
130
|
}),
|
|
64
131
|
/**
|
|
65
132
|
* Styles for the CheckableList wrapper with fixed height.
|
|
@@ -71,8 +138,25 @@ const a = {
|
|
|
71
138
|
minHeight: "400px",
|
|
72
139
|
display: "flex",
|
|
73
140
|
flexDirection: "column"
|
|
141
|
+
}),
|
|
142
|
+
/**
|
|
143
|
+
* Styles for the fallback warning Chip rendered in the endIcon slot of a text field
|
|
144
|
+
* when the field component cannot be resolved. Caps width and forces text ellipsis.
|
|
145
|
+
*/
|
|
146
|
+
fallbackEndIconChip: () => ({
|
|
147
|
+
maxWidth: 160,
|
|
148
|
+
"& .MuiBox-root": {
|
|
149
|
+
minWidth: 0,
|
|
150
|
+
overflow: "hidden"
|
|
151
|
+
},
|
|
152
|
+
"& .MuiTypography-root": {
|
|
153
|
+
overflow: "hidden",
|
|
154
|
+
textOverflow: "ellipsis",
|
|
155
|
+
whiteSpace: "nowrap",
|
|
156
|
+
width: "100%"
|
|
157
|
+
}
|
|
74
158
|
})
|
|
75
159
|
};
|
|
76
160
|
export {
|
|
77
|
-
|
|
161
|
+
s as componentStyles
|
|
78
162
|
};
|
|
@@ -10,6 +10,6 @@ export declare const DYNAMIC_FORM_KEY_COMPONENT = "M4LDynamicForm";
|
|
|
10
10
|
/**
|
|
11
11
|
* CSS class inventory for the component.
|
|
12
12
|
*/
|
|
13
|
-
export declare const DYNAMIC_FORM_CLASSES: Record<"label" | "helperText" | "contentRoot" | "formProvider" | "fieldWrapper" | "sectionDivider" | "checkableListWrapper", string>;
|
|
13
|
+
export declare const DYNAMIC_FORM_CLASSES: Record<"label" | "helperText" | "contentRoot" | "formProvider" | "fieldWrapper" | "submitFeedback" | "actionsRow" | "sectionDivider" | "checkableListWrapper" | "fallbackEndIconChip", string>;
|
|
14
14
|
export declare const EMPTY_DATA: DynamicFormApiResponse;
|
|
15
15
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DynamicForm/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,mBAAmB,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DynamicForm/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,mBAAmB,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,oBAAoB,gMAGhC,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,sBAKxB,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { getComponentClasses as o } from "../../utils/getComponentSlotRoot.js";
|
|
2
|
-
import { DynamicFormSlots as
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
),
|
|
7
|
-
form: { id: 0, name: "", version: 0,
|
|
2
|
+
import { DynamicFormSlots as n } from "./slots/DynamicFormEnum.js";
|
|
3
|
+
const i = "M4LDynamicForm", e = o(
|
|
4
|
+
i,
|
|
5
|
+
n
|
|
6
|
+
), l = {
|
|
7
|
+
form: { id: 0, name: "", version: 0, label: "", description: "", iconId: null },
|
|
8
8
|
fields: [],
|
|
9
|
-
instance:
|
|
9
|
+
instance: null,
|
|
10
10
|
conditionalRules: []
|
|
11
11
|
};
|
|
12
12
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
e as DYNAMIC_FORM_CLASSES,
|
|
14
|
+
i as DYNAMIC_FORM_KEY_COMPONENT,
|
|
15
|
+
l as EMPTY_DATA
|
|
16
16
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const DYNAMIC_FORM_DICTIONARY_KEY = "dynamic_form";
|
|
2
2
|
export declare const getDynamicFormComponentsDictionary: () => string[];
|
|
3
3
|
export declare const DYNAMIC_FORM_DICTIONARY: {
|
|
4
|
-
/** Shown when `field.
|
|
4
|
+
/** Shown when `field.label` is missing or blank; use `$1` for the field id (e.g. "Label not found $1"). */
|
|
5
5
|
LABEL_NOT_FOUND_MESSAGE: string;
|
|
6
6
|
IS_REQUIRED_MESSAGE: string;
|
|
7
7
|
DATE_RANGE_REQUIRED_MESSAGE: string;
|
|
@@ -13,5 +13,13 @@ export declare const DYNAMIC_FORM_DICTIONARY: {
|
|
|
13
13
|
URL_INVALID_MESSAGE: string;
|
|
14
14
|
PATTERN_INVALID_MESSAGE: string;
|
|
15
15
|
CUSTOM_VALIDATION_MESSAGE: string;
|
|
16
|
+
/** Shown in the Chip when a field uses an unknown/unregistered componentId. */
|
|
17
|
+
UNKNOWN_COMPONENT_MESSAGE: string;
|
|
18
|
+
/** Replaces the original helperMessage when the field is rendered as fallback. */
|
|
19
|
+
FIELD_LOAD_ERROR_MESSAGE: string;
|
|
20
|
+
/** Shown when the last decoupled DynamicForm submit completes successfully. */
|
|
21
|
+
SUBMIT_SUCCESS_MESSAGE: string;
|
|
22
|
+
/** Shown when the last decoupled DynamicForm submit fails. */
|
|
23
|
+
SUBMIT_ERROR_MESSAGE: string;
|
|
16
24
|
};
|
|
17
25
|
//# sourceMappingURL=dictionary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DynamicForm/dictionary.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,iBAAiB,CAAC;AAE1D,eAAO,MAAM,kCAAkC,gBAE9C,CAAC;AAEF,eAAO,MAAM,uBAAuB;IAClC,
|
|
1
|
+
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DynamicForm/dictionary.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,iBAAiB,CAAC;AAE1D,eAAO,MAAM,kCAAkC,gBAE9C,CAAC;AAEF,eAAO,MAAM,uBAAuB;IAClC,2GAA2G;;;;;;;;;;;;IAY3G,+EAA+E;;IAE/E,kFAAkF;;IAElF,+EAA+E;;IAE/E,8DAA8D;;CAE/D,CAAC"}
|