@m4l/components 9.3.35-JT27112025.beta.1 → 9.3.36
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/@types/types.d.ts +9 -1
- package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +3 -3
- package/components/ActionsGroup/ActionsGroup.d.ts +5 -0
- package/components/ActionsGroup/ActionsGroup.js +40 -0
- package/components/ActionsGroup/ActionsGroup.styles.d.ts +2 -0
- package/components/ActionsGroup/ActionsGroup.styles.js +95 -0
- package/components/ActionsGroup/constants.d.ts +2 -0
- package/components/ActionsGroup/constants.js +8 -0
- package/components/ActionsGroup/icons.d.ts +3 -0
- package/components/ActionsGroup/icons.js +6 -0
- package/components/ActionsGroup/index.d.ts +1 -0
- package/components/ActionsGroup/slots/ActionsGroupEnum.d.ts +8 -0
- package/components/ActionsGroup/slots/ActionsGroupEnum.js +12 -0
- package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts +15 -0
- package/components/ActionsGroup/slots/ActionsGroupSlots.js +35 -0
- package/components/ActionsGroup/subcomponents/ActionIconButton/ActionIconButton.d.ts +6 -0
- package/components/ActionsGroup/subcomponents/ActionIconButton/ActionIconButton.js +76 -0
- package/components/ActionsGroup/subcomponents/ActionIconButton/types.d.ts +7 -0
- package/components/ActionsGroup/types.d.ts +60 -0
- package/components/Chip/slots/ChipSlots.d.ts +1 -1
- package/components/DataGrid/contexts/DataGridContext/index.js +268 -39
- package/components/DataGrid/contexts/DataGridContext/types.d.ts +20 -3
- package/components/DataGrid/index.d.ts +4 -5
- package/components/EditLabel/slots/EditLabelSlots.d.ts +1 -1
- package/components/HelperError/slots/HelperErrorSlots.d.ts +1 -1
- package/components/ImageText/slots/ImageTextSlots.d.ts +2 -2
- package/components/Label/index.d.ts +1 -1
- package/components/Label/slots/LabelSlots.d.ts +2 -2
- package/components/Label/types.d.ts +6 -0
- package/components/LoadingError/slots/LoadingErrorSlots.d.ts +1 -1
- package/components/Pager/slots/PagerSlots.d.ts +3 -3
- package/components/PaperForm/slots/PaperFormSlots.d.ts +1 -1
- package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +1 -1
- package/components/Stepper/slots/StepperSlot.d.ts +4 -4
- package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts +12 -12
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
- package/components/WindowBase/WindowBase.styles.js +8 -0
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +2 -2
- package/components/WindowBase/subcomponents/Header/useButtonActions.js +23 -13
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +1 -1
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +1 -1
- package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.d.ts +1 -1
- package/components/formatters/DateFormatter/slots/DateFormatterSlots.d.ts +1 -1
- package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.d.ts +1 -1
- package/components/formatters/ImageFormatter/slots/ImageFormatterSlots.d.ts +1 -1
- package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.d.ts +1 -1
- package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.d.ts +1 -1
- package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.d.ts +1 -1
- package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.d.ts +1 -1
- package/components/hook-form/RHFActionsGroup/RHFActionsGroup.d.ts +7 -0
- package/components/hook-form/RHFActionsGroup/RHFActionsGroup.js +87 -0
- package/components/hook-form/RHFActionsGroup/RHFActionsGroupStyles.d.ts +2 -0
- package/components/hook-form/RHFActionsGroup/RHFActionsGroupStyles.js +14 -0
- package/components/hook-form/RHFActionsGroup/constants.d.ts +9 -0
- package/components/hook-form/RHFActionsGroup/constants.js +8 -0
- package/components/hook-form/RHFActionsGroup/index.d.ts +2 -0
- package/components/hook-form/RHFActionsGroup/slots/RHFActionsGroupEnum.d.ts +3 -0
- package/components/hook-form/RHFActionsGroup/slots/RHFActionsGroupEnum.js +7 -0
- package/components/hook-form/RHFActionsGroup/slots/RHFActionsGroupSlots.d.ts +1 -0
- package/components/hook-form/RHFActionsGroup/slots/RHFActionsGroupSlots.js +11 -0
- package/components/hook-form/RHFActionsGroup/slots/index.d.ts +2 -0
- package/components/hook-form/RHFActionsGroup/tests/common.d.ts +28 -0
- package/components/hook-form/RHFActionsGroup/types.d.ts +54 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +5 -5
- package/components/hook-form/index.d.ts +1 -0
- package/components/index.d.ts +1 -0
- package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +1 -1
- package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +2 -2
- package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
- package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +1 -1
- package/components/mui_extended/NavLink/slots/NavLinkSlots.d.ts +1 -1
- package/components/mui_extended/Select/slots/SelectSlots.d.ts +3 -3
- package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
- package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
- package/components/mui_extended/Tooltip/Tooltip.styles.js +22 -4
- package/hooks/useDataGridPersistence/constants.d.ts +0 -1
- package/hooks/useDataGridPersistence/constants.js +2 -4
- package/hooks/useDataGridPersistence/useDataGridPersistence.js +2 -5
- package/index.js +34 -30
- package/package.json +1 -1
- package/components/DataGrid/helpers/getAllViewModes/getAllViewModes.d.ts +0 -19
- package/components/DataGrid/helpers/getAllViewModes/getAllViewModes.js +0 -6
- package/components/DataGrid/helpers/getAllViewModes/index.d.ts +0 -1
- package/components/DataGrid/helpers/getColumnsWidth/getColumnsWidth.d.ts +0 -47
- package/components/DataGrid/helpers/getColumnsWidth/getColumnsWidth.js +0 -32
- package/components/DataGrid/helpers/getColumnsWidth/index.d.ts +0 -1
- package/components/DataGrid/helpers/getIndexRowHeightVariant/getIndexRowHeightVariant.d.ts +0 -24
- package/components/DataGrid/helpers/getIndexRowHeightVariant/getIndexRowHeightVariant.js +0 -12
- package/components/DataGrid/helpers/getIndexRowHeightVariant/getIndexRowHeightVariant.test.d.ts +0 -1
- package/components/DataGrid/helpers/getIndexRowHeightVariant/index.d.ts +0 -1
- package/components/DataGrid/helpers/getInitialColumnsConfig/getInitialColumnsConfig.d.ts +0 -48
- package/components/DataGrid/helpers/getInitialColumnsConfig/getInitialColumnsConfig.js +0 -35
- package/components/DataGrid/helpers/getInitialColumnsConfig/getInitialColumnsConfig.test.d.ts +0 -1
- package/components/DataGrid/helpers/getInitialColumnsConfig/index.d.ts +0 -1
- package/components/DataGrid/helpers/getInitialColumnsConfig/index.js +0 -1
- package/components/DataGrid/helpers/getViewSpecificConfig/getViewSpecificConfig.d.ts +0 -28
- package/components/DataGrid/helpers/getViewSpecificConfig/getViewSpecificConfig.js +0 -22
- package/components/DataGrid/helpers/getViewSpecificConfig/getViewSpecificConfig.test.d.ts +0 -1
- package/components/DataGrid/helpers/getViewSpecificConfig/index.d.ts +0 -1
- package/components/DataGrid/helpers/getViewSpecificConfig/index.js +0 -1
- package/components/DataGrid/helpers/getViewSuffix/getViewSuffix.d.ts +0 -24
- package/components/DataGrid/helpers/getViewSuffix/getViewSuffix.js +0 -9
- package/components/DataGrid/helpers/getViewSuffix/getViewSuffix.test.d.ts +0 -1
- package/components/DataGrid/helpers/getViewSuffix/index.d.ts +0 -1
- package/components/DataGrid/helpers/getViewSuffix/index.js +0 -1
- package/components/DataGrid/helpers/index.d.ts +0 -12
- package/components/DataGrid/helpers/index.js +0 -1
- package/components/DataGrid/helpers/loadViewConfig/index.d.ts +0 -1
- package/components/DataGrid/helpers/loadViewConfig/index.js +0 -1
- package/components/DataGrid/helpers/loadViewConfig/loadViewConfig.d.ts +0 -23
- package/components/DataGrid/helpers/loadViewConfig/loadViewConfig.js +0 -12
- package/components/DataGrid/helpers/loadViewConfig/loadViewConfig.test.d.ts +0 -1
- package/components/DataGrid/helpers/saveColumnsWidth/index.d.ts +0 -1
- package/components/DataGrid/helpers/saveColumnsWidth/index.js +0 -1
- package/components/DataGrid/helpers/saveColumnsWidth/saveColumnsWidth.d.ts +0 -52
- package/components/DataGrid/helpers/saveColumnsWidth/saveColumnsWidth.js +0 -18
- package/components/DataGrid/helpers/saveColumnsWidth/saveColumnsWidth.test.d.ts +0 -1
- package/components/DataGrid/helpers/saveViewConfig/index.d.ts +0 -1
- package/components/DataGrid/helpers/saveViewConfig/index.js +0 -1
- package/components/DataGrid/helpers/saveViewConfig/saveViewConfig.d.ts +0 -35
- package/components/DataGrid/helpers/saveViewConfig/saveViewConfig.js +0 -15
- package/components/DataGrid/helpers/saveViewConfig/saveViewConfig.test.d.ts +0 -1
- package/components/DataGrid/helpers/saveViewMode/index.d.ts +0 -1
- package/components/DataGrid/helpers/saveViewMode/index.js +0 -1
- package/components/DataGrid/helpers/saveViewMode/saveViewMode.d.ts +0 -33
- package/components/DataGrid/helpers/saveViewMode/saveViewMode.js +0 -13
- package/components/DataGrid/helpers/saveViewMode/saveViewMode.test.d.ts +0 -1
- package/components/DataGrid/hooks/index.d.ts +0 -6
- package/components/DataGrid/hooks/index.js +0 -1
- package/components/DataGrid/hooks/useChangeColumnsConfig/index.d.ts +0 -1
- package/components/DataGrid/hooks/useChangeColumnsConfig/index.js +0 -1
- package/components/DataGrid/hooks/useChangeColumnsConfig/useChangeColumnsConfig.d.ts +0 -9
- package/components/DataGrid/hooks/useChangeColumnsConfig/useChangeColumnsConfig.js +0 -27
- package/components/DataGrid/hooks/useChangeColumnsConfig/useChangeColumnsConfig.test.d.ts +0 -1
- package/components/DataGrid/hooks/useChangeColumnsOrder/index.d.ts +0 -1
- package/components/DataGrid/hooks/useChangeColumnsOrder/index.js +0 -1
- package/components/DataGrid/hooks/useChangeColumnsOrder/useChangeColumnsOrder.d.ts +0 -10
- package/components/DataGrid/hooks/useChangeColumnsOrder/useChangeColumnsOrder.js +0 -34
- package/components/DataGrid/hooks/useChangeColumnsOrder/useChangeColumnsOrder.test.d.ts +0 -1
- package/components/DataGrid/hooks/useColumnsWidth/index.d.ts +0 -1
- package/components/DataGrid/hooks/useColumnsWidth/index.js +0 -1
- package/components/DataGrid/hooks/useColumnsWidth/useColumnsWidth.d.ts +0 -11
- package/components/DataGrid/hooks/useColumnsWidth/useColumnsWidth.js +0 -29
- package/components/DataGrid/hooks/useColumnsWidth/useColumnsWidth.test.d.ts +0 -1
- package/components/DataGrid/hooks/useRowHeight/index.d.ts +0 -1
- package/components/DataGrid/hooks/useRowHeight/index.js +0 -1
- package/components/DataGrid/hooks/useRowHeight/useRowHeight.d.ts +0 -28
- package/components/DataGrid/hooks/useRowHeight/useRowHeight.js +0 -51
- package/components/DataGrid/hooks/useRowHeight/useRowHeight.test.d.ts +0 -1
- package/components/DataGrid/hooks/useViewConfig/index.d.ts +0 -1
- package/components/DataGrid/hooks/useViewConfig/index.js +0 -1
- package/components/DataGrid/hooks/useViewConfig/useViewConfig.d.ts +0 -9
- package/components/DataGrid/hooks/useViewConfig/useViewConfig.js +0 -30
- package/components/DataGrid/hooks/useViewConfig/useViewConfig.test.d.ts +0 -1
- package/components/DataGrid/hooks/useViewMode/index.d.ts +0 -1
- package/components/DataGrid/hooks/useViewMode/index.js +0 -1
- package/components/DataGrid/hooks/useViewMode/useViewMode.d.ts +0 -44
- package/components/DataGrid/hooks/useViewMode/useViewMode.js +0 -48
- package/components/DataGrid/hooks/useViewMode/useViewMode.test.d.ts +0 -1
- package/components/DataGrid/types.helpers.d.ts +0 -55
- package/components/DataGrid/types.helpers.js +0 -1
- package/components/DataGrid/types.hooks.d.ts +0 -79
- /package/components/{DataGrid/helpers/getAllViewModes/getAllViewModes.test.d.ts → ActionsGroup/__tests__/ActionsGroup.test.d.ts} +0 -0
- /package/components/{DataGrid/helpers/getAllViewModes → ActionsGroup}/index.js +0 -0
- /package/components/{DataGrid/helpers/getColumnsWidth → hook-form/RHFActionsGroup}/index.js +0 -0
- /package/components/{DataGrid/helpers/getIndexRowHeightVariant → hook-form/RHFActionsGroup/slots}/index.js +0 -0
- /package/components/{DataGrid/helpers/getColumnsWidth/getColumnsWidth.test.d.ts → hook-form/RHFActionsGroup/tests/RHFActionsGroup.test.d.ts} +0 -0
|
@@ -9,12 +9,12 @@ export declare const SkeletonStyled: import('@emotion/styled').StyledComponent<P
|
|
|
9
9
|
export declare const LimitContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
10
10
|
ownerState?: (Partial<import('../types').TextFieldOwnerState> & Record<string, unknown>) | undefined;
|
|
11
11
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
12
|
-
export declare const LimitTextFirstStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Typography/types').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "size" | "children" | "title" | "component" | "zIndex" | "id" | "disabled" | "paragraph" | "border" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontSize" | "textTransform" | "fontFamily" | "typography" | "flex" | "hidden" | "color" | "left" | "right" | "bottom" | "top" | "
|
|
12
|
+
export declare const LimitTextFirstStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Typography/types').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "size" | "children" | "title" | "component" | "zIndex" | "id" | "disabled" | "paragraph" | "border" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontSize" | "textTransform" | "fontFamily" | "typography" | "flex" | "hidden" | "color" | "left" | "right" | "bottom" | "top" | "content" | "style" | "position" | "ellipsis" | "padding" | "variant" | "borderRadius" | "width" | "display" | "borderColor" | "height" | "gap" | "minHeight" | "margin" | "overflow" | "boxShadow" | "minWidth" | "justifyContent" | "alignItems" | "paddingLeft" | "borderLeft" | "borderTop" | "maxWidth" | "flexDirection" | "paddingRight" | "borderRight" | "flexGrow" | "marginLeft" | "textOverflow" | "borderBottom" | "gridTemplateColumns" | "marginBottom" | "dataTestid" | "alignContent" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateRows" | "justifyItems" | "justifySelf" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginRight" | "marginTop" | "maxHeight" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingTop" | "rowGap" | "textAlign" | "translate" | "visibility" | "whiteSpace" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "className" | "classes" | "sx" | "p" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "htmlFor" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonWidth" | "skeletonRows" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
13
13
|
ownerState?: (Partial<import('../types').TextFieldOwnerState> & Record<string, unknown>) | undefined;
|
|
14
14
|
}, {}, {}>;
|
|
15
|
-
export declare const LimitTextSeparatorStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Typography/types').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "size" | "children" | "title" | "component" | "zIndex" | "id" | "disabled" | "paragraph" | "border" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontSize" | "textTransform" | "fontFamily" | "typography" | "flex" | "hidden" | "color" | "left" | "right" | "bottom" | "top" | "
|
|
15
|
+
export declare const LimitTextSeparatorStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Typography/types').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "size" | "children" | "title" | "component" | "zIndex" | "id" | "disabled" | "paragraph" | "border" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontSize" | "textTransform" | "fontFamily" | "typography" | "flex" | "hidden" | "color" | "left" | "right" | "bottom" | "top" | "content" | "style" | "position" | "ellipsis" | "padding" | "variant" | "borderRadius" | "width" | "display" | "borderColor" | "height" | "gap" | "minHeight" | "margin" | "overflow" | "boxShadow" | "minWidth" | "justifyContent" | "alignItems" | "paddingLeft" | "borderLeft" | "borderTop" | "maxWidth" | "flexDirection" | "paddingRight" | "borderRight" | "flexGrow" | "marginLeft" | "textOverflow" | "borderBottom" | "gridTemplateColumns" | "marginBottom" | "dataTestid" | "alignContent" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateRows" | "justifyItems" | "justifySelf" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginRight" | "marginTop" | "maxHeight" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingTop" | "rowGap" | "textAlign" | "translate" | "visibility" | "whiteSpace" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "className" | "classes" | "sx" | "p" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "htmlFor" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonWidth" | "skeletonRows" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
16
16
|
ownerState?: (Partial<import('../types').TextFieldOwnerState> & Record<string, unknown>) | undefined;
|
|
17
17
|
}, {}, {}>;
|
|
18
|
-
export declare const LimitTextSecondStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Typography/types').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "size" | "children" | "title" | "component" | "zIndex" | "id" | "disabled" | "paragraph" | "border" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontSize" | "textTransform" | "fontFamily" | "typography" | "flex" | "hidden" | "color" | "left" | "right" | "bottom" | "top" | "
|
|
18
|
+
export declare const LimitTextSecondStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Typography/types').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "size" | "children" | "title" | "component" | "zIndex" | "id" | "disabled" | "paragraph" | "border" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontSize" | "textTransform" | "fontFamily" | "typography" | "flex" | "hidden" | "color" | "left" | "right" | "bottom" | "top" | "content" | "style" | "position" | "ellipsis" | "padding" | "variant" | "borderRadius" | "width" | "display" | "borderColor" | "height" | "gap" | "minHeight" | "margin" | "overflow" | "boxShadow" | "minWidth" | "justifyContent" | "alignItems" | "paddingLeft" | "borderLeft" | "borderTop" | "maxWidth" | "flexDirection" | "paddingRight" | "borderRight" | "flexGrow" | "marginLeft" | "textOverflow" | "borderBottom" | "gridTemplateColumns" | "marginBottom" | "dataTestid" | "alignContent" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateRows" | "justifyItems" | "justifySelf" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginRight" | "marginTop" | "maxHeight" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingTop" | "rowGap" | "textAlign" | "translate" | "visibility" | "whiteSpace" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "className" | "classes" | "sx" | "p" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "htmlFor" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonWidth" | "skeletonRows" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
19
19
|
ownerState?: (Partial<import('../types').TextFieldOwnerState> & Record<string, unknown>) | undefined;
|
|
20
20
|
}, {}, {}>;
|
|
@@ -23,21 +23,39 @@ const tooltipStyles = {
|
|
|
23
23
|
padding: theme.vars.size.baseSpacings.sp2,
|
|
24
24
|
borderRadius: theme.vars.size.borderRadius.r1,
|
|
25
25
|
boxShadow: theme.vars.customShadows.z3,
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
minWidth: theme.vars.size.baseSpacings.sp6,
|
|
27
|
+
minHeight: theme.vars.size.baseSpacings.sp3,
|
|
28
|
+
"&.MuiTooltip-tooltipPlacementRight .MuiTooltip-arrow": {
|
|
29
|
+
left: "-6px"
|
|
28
30
|
},
|
|
29
31
|
"&.MuiTooltip-tooltipPlacementTop .MuiTooltip-arrow": {
|
|
30
|
-
|
|
32
|
+
bottom: "-6px"
|
|
33
|
+
},
|
|
34
|
+
"&.MuiTooltip-tooltipPlacementBottom .MuiTooltip-arrow": {
|
|
35
|
+
top: "-6px"
|
|
36
|
+
},
|
|
37
|
+
"&.MuiTooltip-tooltipPlacementLeft .MuiTooltip-arrow": {
|
|
38
|
+
right: "-6px"
|
|
31
39
|
},
|
|
32
40
|
"&&& .MuiTooltip-arrow": {
|
|
41
|
+
transformOrigin: "unset",
|
|
33
42
|
overflow: "visible",
|
|
43
|
+
zIndex: -1,
|
|
44
|
+
width: "16px",
|
|
45
|
+
height: "16px",
|
|
46
|
+
display: "flex",
|
|
47
|
+
alignItems: "center",
|
|
48
|
+
justifyContent: "center",
|
|
49
|
+
margin: "unset",
|
|
34
50
|
"&::before": {
|
|
51
|
+
transformOrigin: "unset",
|
|
35
52
|
backgroundColor: theme.vars.palette.background.contrastDefault,
|
|
36
53
|
borderRadius: theme.vars.size.borderRadius["r1"],
|
|
37
54
|
width: theme.vars.size.baseSpacings.sp3,
|
|
38
55
|
height: theme.vars.size.baseSpacings.sp3,
|
|
39
56
|
border: "unset",
|
|
40
|
-
margin: "unset"
|
|
57
|
+
margin: "unset",
|
|
58
|
+
transform: "rotate(45deg)"
|
|
41
59
|
}
|
|
42
60
|
}
|
|
43
61
|
})
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
const COOKIE_COLUMNS_WIDTHS = "columns_widths";
|
|
2
2
|
const COOKIE_COLUMNS_CONFIG = "columns_config";
|
|
3
|
-
const COOKIE_VIEW_MODE = "view_mode";
|
|
4
3
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
COOKIE_COLUMNS_WIDTHS as b
|
|
4
|
+
COOKIE_COLUMNS_CONFIG as C,
|
|
5
|
+
COOKIE_COLUMNS_WIDTHS as a
|
|
8
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState, useCallback } from "react";
|
|
2
2
|
import { g as getColumnsConfigCookie } from "./helpers.js";
|
|
3
|
-
import { C as
|
|
3
|
+
import { C as COOKIE_COLUMNS_CONFIG, a as COOKIE_COLUMNS_WIDTHS } from "./constants.js";
|
|
4
4
|
import { u as useWindowToolsMF } from "../../components/WindowBase/hooks/useWindowToolsMF/index.js";
|
|
5
5
|
const useDataGridPersistence = (props) => {
|
|
6
6
|
const { prefixCookie } = props;
|
|
@@ -8,8 +8,7 @@ const useDataGridPersistence = (props) => {
|
|
|
8
8
|
const [defaultUserColumns] = useState(() => {
|
|
9
9
|
return {
|
|
10
10
|
columnsWidths: getCookie(prefixCookie ? `${prefixCookie}_${COOKIE_COLUMNS_WIDTHS}` : COOKIE_COLUMNS_WIDTHS) || {},
|
|
11
|
-
columnsConfig: getColumnsConfigCookie(getCookie(prefixCookie ? `${prefixCookie}_${COOKIE_COLUMNS_CONFIG}` : COOKIE_COLUMNS_CONFIG)) || []
|
|
12
|
-
viewMode: getCookie(prefixCookie ? `${prefixCookie}_${COOKIE_VIEW_MODE}` : COOKIE_VIEW_MODE) || "table"
|
|
11
|
+
columnsConfig: getColumnsConfigCookie(getCookie(prefixCookie ? `${prefixCookie}_${COOKIE_COLUMNS_CONFIG}` : COOKIE_COLUMNS_CONFIG)) || []
|
|
13
12
|
};
|
|
14
13
|
});
|
|
15
14
|
const onChangeUserColumns = useCallback((newProps) => {
|
|
@@ -21,8 +20,6 @@ const useDataGridPersistence = (props) => {
|
|
|
21
20
|
setCookie(prefixCookie ? `${prefixCookie}_${COOKIE_COLUMNS_CONFIG}` : COOKIE_COLUMNS_CONFIG, "window", userConfig);
|
|
22
21
|
} else if (reason === "columnsWidths") {
|
|
23
22
|
setCookie(prefixCookie ? `${prefixCookie}_${COOKIE_COLUMNS_WIDTHS}` : COOKIE_COLUMNS_WIDTHS, "window", userConfig);
|
|
24
|
-
} else if (reason === "viewMode") {
|
|
25
|
-
setCookie(prefixCookie ? `${prefixCookie}_${COOKIE_VIEW_MODE}` : COOKIE_VIEW_MODE, "window", userConfig);
|
|
26
23
|
} else {
|
|
27
24
|
setCookie(prefixCookie ? `${prefixCookie}_${reason}` : reason, "window", userConfig);
|
|
28
25
|
}
|
package/index.js
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
import { c } from "./components/ToastContainer/helpers/toaster.js";
|
|
2
2
|
import { A } from "./components/AccountPopover/AccountPopover.js";
|
|
3
3
|
import { g } from "./components/AccountPopover/dictionary.js";
|
|
4
|
+
import { A as A2 } from "./components/ActionsGroup/ActionsGroup.js";
|
|
4
5
|
import { I } from "./components/animate/IconButtonAnimate/index.js";
|
|
5
6
|
import { M } from "./components/animate/MotionContainer/index.js";
|
|
6
7
|
import { M as M2 } from "./components/animate/MotionLazyContainer/index.js";
|
|
7
8
|
import { L } from "./components/animate/LoadingScreen/index.js";
|
|
8
|
-
import { A as
|
|
9
|
+
import { A as A3 } from "./components/animate/AnimatedScroll/animatedScroll.js";
|
|
9
10
|
import { v } from "./components/animate/variants/fade.js";
|
|
10
11
|
import { v as v2 } from "./components/animate/variants/bounce.js";
|
|
11
12
|
import { v as v3 } from "./components/animate/variants/container.js";
|
|
12
13
|
import { a, v as v4, b } from "./components/animate/variants/transition.js";
|
|
13
|
-
import { A as
|
|
14
|
+
import { A as A4 } from "./components/AppBar/AppBar.js";
|
|
14
15
|
import { g as g2 } from "./components/AppBar/dictionary.js";
|
|
15
|
-
import { A as
|
|
16
|
-
import { A as
|
|
17
|
-
import { a as a2, A as
|
|
16
|
+
import { A as A5 } from "./components/areas/components/AreasAdmin/AreasAdmin.js";
|
|
17
|
+
import { A as A6 } from "./components/areas/components/AreasViewer/AreasViewer.js";
|
|
18
|
+
import { a as a2, A as A7 } from "./components/areas/contexts/AreasContext/index.js";
|
|
18
19
|
import { u } from "./components/areas/hooks/useAreas/index.js";
|
|
19
|
-
import { A as
|
|
20
|
+
import { A as A8, a as a3, L as L2, b as b2, g as g3 } from "./components/areas/dictionary.js";
|
|
20
21
|
import { B } from "./components/BaseModule/BaseModule.js";
|
|
21
22
|
import { C } from "./components/Card/Card.js";
|
|
22
23
|
import { C as C2 } from "./components/Chip/Chip.js";
|
|
23
|
-
import { A as
|
|
24
|
+
import { A as A9 } from "./components/commercial/AppBarCommercial/index.js";
|
|
24
25
|
import { H } from "./components/commercial/HamburgerMenu/HamburgerMenu.js";
|
|
25
26
|
import { T } from "./components/commercial/TopBar/TopBar.js";
|
|
26
27
|
import { S } from "./components/commercial/SectionCommercial/index.js";
|
|
27
|
-
import { A as
|
|
28
|
-
import { A as
|
|
29
|
-
import { A as
|
|
30
|
-
import { A as
|
|
31
|
-
import { A as
|
|
28
|
+
import { A as A10 } from "./components/CommonActions/components/ActionsContainer/ActionsContainer.js";
|
|
29
|
+
import { A as A11 } from "./components/CommonActions/components/ActionCancel/ActionCancel.js";
|
|
30
|
+
import { A as A12 } from "./components/CommonActions/components/ActionIntro/ActionIntro.js";
|
|
31
|
+
import { A as A13 } from "./components/CommonActions/components/ActionFormCancel/ActionFormCancel.js";
|
|
32
|
+
import { A as A14 } from "./components/CommonActions/components/ActionFormIntro/ActionFormIntro.js";
|
|
32
33
|
import { D, d, g as g4 } from "./components/CommonActions/dictionary.js";
|
|
33
34
|
import { C as C3 } from "./components/ContainerFlow/ContainerFlow.js";
|
|
34
35
|
import { D as D2 } from "./components/DataGrid/DataGrid.js";
|
|
@@ -82,7 +83,7 @@ import { P } from "./components/extended/React-Spinners/PropagateLoaderSpinner/P
|
|
|
82
83
|
import { F } from "./components/extended/React-Window/FixedSizeList/FixedSizeList.js";
|
|
83
84
|
import { V } from "./components/extended/React-Window/VariableSizeList/VariableSizeList.js";
|
|
84
85
|
import { R as R3 } from "./components/extended/React-Json-Viewer/ReactJsonViewer.js";
|
|
85
|
-
import { A as
|
|
86
|
+
import { A as A15 } from "./components/mui_extended/Avatar/Avatar.js";
|
|
86
87
|
import { B as B2 } from "./components/mui_extended/BoxIcon/index.js";
|
|
87
88
|
import { B as B3 } from "./components/mui_extended/Breadcrumbs/index.js";
|
|
88
89
|
import { C as C18 } from "./components/mui_extended/CircularProgress/CircularProgress.js";
|
|
@@ -91,7 +92,7 @@ import { L as L3 } from "./components/mui_extended/LinearProgress/index.js";
|
|
|
91
92
|
import { L as L4 } from "./components/mui_extended/LinkWithRoute/index.js";
|
|
92
93
|
import { L as L5 } from "./components/mui_extended/LoadingButton/LoadingButton.js";
|
|
93
94
|
import { g as g11 } from "./components/Pager/dicctionary.js";
|
|
94
|
-
import { A as
|
|
95
|
+
import { A as A16 } from "./components/mui_extended/Accordion/Accordion.js";
|
|
95
96
|
import { T as T3 } from "./components/mui_extended/Tooltip/Tooltip.js";
|
|
96
97
|
import { I as I2 } from "./components/mui_extended/IconButton/IconButton.js";
|
|
97
98
|
import { B as B5 } from "./components/mui_extended/Button/Button.js";
|
|
@@ -167,6 +168,7 @@ import { R as R22 } from "./components/hook-form/RHFUpload/RHFUploadImage/RHFUpl
|
|
|
167
168
|
import { V as V2, b as b4, a as a9 } from "./components/hook-form/RHFormProvider/types.js";
|
|
168
169
|
import { F as F3, R as R23, u as u18 } from "./components/hook-form/RHFormProvider/RHFormProvider.js";
|
|
169
170
|
import { d as d4, a as a10, b as b5, c as c3 } from "./components/hook-form/RHFormProvider/schema.js";
|
|
171
|
+
import { R as R24 } from "./components/hook-form/RHFActionsGroup/RHFActionsGroup.js";
|
|
170
172
|
import { I as I5 } from "./components/Icon/Icon.js";
|
|
171
173
|
import { I as I6 } from "./components/Image/Image.js";
|
|
172
174
|
import { L as L6 } from "./components/Label/Label.js";
|
|
@@ -227,7 +229,7 @@ import { e as e2 } from "./components/Stepper/helpers/evaluateVisibilityStepCond
|
|
|
227
229
|
import { g as g30 } from "./components/Stepper/dictionary.js";
|
|
228
230
|
import { g as g31 } from "./components/hook-form/RHFormProvider/dictionary.js";
|
|
229
231
|
import { u as u23 } from "./contexts/AppearanceComponentContext/useAppearanceComponentStore.js";
|
|
230
|
-
import { A as
|
|
232
|
+
import { A as A17 } from "./contexts/AppearanceComponentContext/AppearanceComponentContext.js";
|
|
231
233
|
import { a as a17, M as M10 } from "./contexts/ModalContext/index.js";
|
|
232
234
|
import { u as u24 } from "./hooks/useFormAddEdit/useFormAddEdit.js";
|
|
233
235
|
import { u as u25 } from "./hooks/useModal/index.js";
|
|
@@ -261,24 +263,25 @@ import { g as g40 } from "./utils/getNullGuard.js";
|
|
|
261
263
|
import { c as c6, d as d5 } from "./utils/deepShallow.js";
|
|
262
264
|
import { g as g41 } from "./helpers/getStepsAndValidationSchema/getStepsAndValidationSchema.js";
|
|
263
265
|
export {
|
|
264
|
-
|
|
266
|
+
A8 as AREAS_DICCTIONARY,
|
|
265
267
|
a3 as AREAS_DICTIONARY_ID,
|
|
266
|
-
|
|
268
|
+
A16 as Accordion,
|
|
267
269
|
A as AccountPopover,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
A2 as
|
|
274
|
-
A3 as
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
270
|
+
A11 as ActionCancel,
|
|
271
|
+
A13 as ActionFormCancel,
|
|
272
|
+
A14 as ActionFormIntro,
|
|
273
|
+
A12 as ActionIntro,
|
|
274
|
+
A10 as ActionsContainer,
|
|
275
|
+
A2 as ActionsGroup,
|
|
276
|
+
A3 as AnimatedScroll,
|
|
277
|
+
A4 as AppBar,
|
|
278
|
+
A9 as AppBarComercial,
|
|
279
|
+
A17 as AppearanceComponentProvider,
|
|
280
|
+
A5 as AreasAdmin,
|
|
278
281
|
a2 as AreasContext,
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
+
A7 as AreasProvider,
|
|
283
|
+
A6 as AreasViewer,
|
|
284
|
+
A15 as Avatar,
|
|
282
285
|
B4 as Badge,
|
|
283
286
|
B as BaseModule,
|
|
284
287
|
B6 as BooleanFormatter,
|
|
@@ -378,6 +381,7 @@ export {
|
|
|
378
381
|
P11 as PrintingSystem,
|
|
379
382
|
P as PropagateLoaderSpinner,
|
|
380
383
|
P12 as PropertyValue,
|
|
384
|
+
R24 as RHFActionsGroup,
|
|
381
385
|
R5 as RHFAutocomplete,
|
|
382
386
|
R6 as RHFAutocompleteAsync,
|
|
383
387
|
R14 as RHFCheckbox,
|
package/package.json
CHANGED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ViewMode } from '../../contexts/DataGridContext/types';
|
|
2
|
-
/**
|
|
3
|
-
* Obtiene todos los modos de vista disponibles en el DataGrid.
|
|
4
|
-
*
|
|
5
|
-
* ## Modos disponibles
|
|
6
|
-
*
|
|
7
|
-
* - `table`: Vista de tabla tradicional con filas y columnas
|
|
8
|
-
* - `cards`: Vista de tarjetas para visualización compacta
|
|
9
|
-
*
|
|
10
|
-
* ## Uso
|
|
11
|
-
*
|
|
12
|
-
* Esta función centraliza los modos de vista disponibles,
|
|
13
|
-
* facilitando la extensión futura si se agregan nuevos modos.
|
|
14
|
-
* @returns Array con los modos de vista disponibles
|
|
15
|
-
* @example
|
|
16
|
-
* const modes = getAllViewModes();
|
|
17
|
-
* // ['table', 'cards']
|
|
18
|
-
*/
|
|
19
|
-
export declare const getAllViewModes: () => ViewMode[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { getAllViewModes } from './getAllViewModes';
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Column } from 'react-data-grid';
|
|
2
|
-
import { Maybe } from '@m4l/core';
|
|
3
|
-
import { RowKey } from '../../types';
|
|
4
|
-
import { IGridConfig } from '../../types.helpers';
|
|
5
|
-
/**
|
|
6
|
-
* Obtiene la configuración de anchos de las columnas del DataGrid.
|
|
7
|
-
*
|
|
8
|
-
* ## Flujo de persistencia
|
|
9
|
-
*
|
|
10
|
-
* Esta función obtiene los anchos de columnas siguiendo una jerarquía de precedencia:
|
|
11
|
-
*
|
|
12
|
-
* 1. **defaultUserColumns** (Backend/API) - Prioridad máxima
|
|
13
|
-
* Configuración que viene del backend cuando el componente se monta.
|
|
14
|
-
* En producción, esta es la fuente principal de datos persistidos.
|
|
15
|
-
*
|
|
16
|
-
* 2. **localStorage** - Fallback local
|
|
17
|
-
* Solo se usa cuando NO hay configuración del backend.
|
|
18
|
-
* Útil para desarrollo o cuando no hay integración con backend.
|
|
19
|
-
*
|
|
20
|
-
* Si no se encuentra configuración en ninguna fuente, la columna no se incluye
|
|
21
|
-
* en el Map resultante y usará el ancho por defecto definido en la columna.
|
|
22
|
-
*
|
|
23
|
-
* ## Relación con saveColumnsWidth
|
|
24
|
-
*
|
|
25
|
-
* - Cuando el usuario modifica anchos, `saveColumnsWidth` envía los cambios al backend
|
|
26
|
-
* mediante el callback `onChangeUserColumns`
|
|
27
|
-
* - En la siguiente carga, esos datos vuelven como `defaultUserColumns`
|
|
28
|
-
* - localStorage es solo un fallback cuando no hay callback configurado
|
|
29
|
-
* @template TRow - Tipo de datos de cada fila del DataGrid
|
|
30
|
-
* @template TSummaryRow - Tipo de datos de la fila de resumen del DataGrid
|
|
31
|
-
* @param id - Identificador único del DataGrid. Se usa como prefijo para la key en localStorage (fallback)
|
|
32
|
-
* @param columns - Array de columnas del DataGrid con su configuración
|
|
33
|
-
* @param defaultUserColumns - Configuración del usuario obtenida del backend/API.
|
|
34
|
-
* Esta es la fuente principal en producción.
|
|
35
|
-
* @returns Map donde la key es el identificador de la columna (column.key) y el value
|
|
36
|
-
* es el ancho configurado (número en píxeles o string con unidad CSS)
|
|
37
|
-
* @example
|
|
38
|
-
* // Sin configuración del backend (usa localStorage como fallback)
|
|
39
|
-
* const columnsWidths = getColumnsWidth('my-grid', columns, null);
|
|
40
|
-
* @example
|
|
41
|
-
* // Con configuración del backend (caso típico en producción)
|
|
42
|
-
* const columnsWidths = getColumnsWidth('my-grid', columns, {
|
|
43
|
-
* columnsWidths: { name: 200, email: 300 }
|
|
44
|
-
* });
|
|
45
|
-
* @see saveColumnsWidth - Función complementaria para persistir la configuración
|
|
46
|
-
*/
|
|
47
|
-
export declare function getColumnsWidth<TRow, TSummaryRow>(id: RowKey, columns: readonly Column<TRow, TSummaryRow>[], defaultUserColumns: Maybe<IGridConfig>): Map<string, Maybe<string | number>>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
function getColumnsWidth(id, columns, defaultUserColumns) {
|
|
2
|
-
const newMap = /* @__PURE__ */ new Map();
|
|
3
|
-
let storeColumnsWidth;
|
|
4
|
-
try {
|
|
5
|
-
const item = window.localStorage.getItem(`${id}_columns_width`);
|
|
6
|
-
storeColumnsWidth = item !== null ? new Map(JSON.parse(item)) : /* @__PURE__ */ new Map();
|
|
7
|
-
} catch (_e) {
|
|
8
|
-
storeColumnsWidth = /* @__PURE__ */ new Map();
|
|
9
|
-
}
|
|
10
|
-
for (let i = 0; i < columns.length; i++) {
|
|
11
|
-
let width;
|
|
12
|
-
if (defaultUserColumns) {
|
|
13
|
-
try {
|
|
14
|
-
width = defaultUserColumns.columnsWidths[columns[i].key];
|
|
15
|
-
} catch (_e) {
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
if (width === void 0) {
|
|
19
|
-
const storeWidth = storeColumnsWidth.get(columns[i].key);
|
|
20
|
-
if (typeof storeWidth === "number") {
|
|
21
|
-
width = storeWidth;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
if (width !== void 0) {
|
|
25
|
-
newMap.set(columns[i].key, width);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return newMap;
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
getColumnsWidth as g
|
|
32
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { getColumnsWidth } from './getColumnsWidth';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { RowHeightVariants } from '../../types';
|
|
2
|
-
/**
|
|
3
|
-
* Obtiene el índice correspondiente a un variant de altura de fila.
|
|
4
|
-
*
|
|
5
|
-
* ## Propósito
|
|
6
|
-
*
|
|
7
|
-
* Mapea el nombre del variant ('compact', 'standard', 'confortable') a su
|
|
8
|
-
* índice en los arrays de alturas (rowHeights y rowHeaderHeights).
|
|
9
|
-
*
|
|
10
|
-
* ## Mapeo de variants a índices
|
|
11
|
-
*
|
|
12
|
-
* | Variant | Índice |
|
|
13
|
-
* |-------------|--------|
|
|
14
|
-
* | compact | 0 |
|
|
15
|
-
* | standard | 1 |
|
|
16
|
-
* | confortable | 2 |
|
|
17
|
-
* @param variant - Variant de altura de fila
|
|
18
|
-
* @returns Índice correspondiente en los arrays de alturas (0, 1 o 2)
|
|
19
|
-
* @example
|
|
20
|
-
* getIndexRowHeightVariant('compact'); // 0
|
|
21
|
-
* getIndexRowHeightVariant('standard'); // 1
|
|
22
|
-
* getIndexRowHeightVariant('confortable'); // 2
|
|
23
|
-
*/
|
|
24
|
-
export declare const getIndexRowHeightVariant: (variant: RowHeightVariants) => number;
|
package/components/DataGrid/helpers/getIndexRowHeightVariant/getIndexRowHeightVariant.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { getIndexRowHeightVariant } from './getIndexRowHeightVariant';
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Column } from 'react-data-grid';
|
|
2
|
-
import { RowKey } from '../../types';
|
|
3
|
-
import { BaseViewConfig } from '../../types.helpers';
|
|
4
|
-
import { IViewConfig, ViewMode } from '../../contexts/DataGridContext/types';
|
|
5
|
-
/**
|
|
6
|
-
* Obtiene la configuración inicial de columnas para cualquier vista.
|
|
7
|
-
*
|
|
8
|
-
* ## Propósito
|
|
9
|
-
*
|
|
10
|
-
* Genera la configuración inicial de columnas combinando:
|
|
11
|
-
* 1. Configuración del usuario (defaultUserConfig) si existe
|
|
12
|
-
* 2. Configuración guardada en localStorage si no hay defaultUserConfig
|
|
13
|
-
* 3. Valores por defecto de las columnas
|
|
14
|
-
*
|
|
15
|
-
* ## Prioridad de configuración
|
|
16
|
-
*
|
|
17
|
-
* 1. defaultUserConfig (del backend/API)
|
|
18
|
-
* 2. localStorage (preferencia guardada del usuario)
|
|
19
|
-
* 3. Valores por defecto de las columnas
|
|
20
|
-
* @param id - Identificador único del DataGrid
|
|
21
|
-
* @param columns - Columnas del DataGrid
|
|
22
|
-
* @param viewMode - Modo de visualización actual ('table' | 'cards')
|
|
23
|
-
* @param defaultUserConfig - Configuración por defecto del usuario (opcional)
|
|
24
|
-
* @param viewSpecificDefaults - Valores por defecto específicos de la vista
|
|
25
|
-
* @param originalViewSpecificDefaults - Valores originales específicos de la vista
|
|
26
|
-
* @returns Array de configuración de columnas ordenado por índice
|
|
27
|
-
* @example
|
|
28
|
-
* // Para vista table
|
|
29
|
-
* getInitialColumnsConfig(
|
|
30
|
-
* 'my-grid',
|
|
31
|
-
* columns,
|
|
32
|
-
* 'table',
|
|
33
|
-
* undefined,
|
|
34
|
-
* { frozen: false },
|
|
35
|
-
* { originalFrozen: false }
|
|
36
|
-
* );
|
|
37
|
-
*
|
|
38
|
-
* // Para vista cards
|
|
39
|
-
* getInitialColumnsConfig(
|
|
40
|
-
* 'my-grid',
|
|
41
|
-
* columns,
|
|
42
|
-
* 'cards',
|
|
43
|
-
* undefined,
|
|
44
|
-
* { showTitle: true },
|
|
45
|
-
* { originalShowTitle: true }
|
|
46
|
-
* );
|
|
47
|
-
*/
|
|
48
|
-
export declare const getInitialColumnsConfig: <TRow, TSummaryRow, TViewSpecific, TOriginalViewSpecific>(id: RowKey, columns: readonly Column<TRow, TSummaryRow>[], viewMode: ViewMode, defaultUserConfig?: BaseViewConfig<TViewSpecific>[], viewSpecificDefaults?: TViewSpecific, originalViewSpecificDefaults?: TOriginalViewSpecific) => IViewConfig<TViewSpecific, TOriginalViewSpecific>[];
|