@m4l/components 9.1.119 → 9.1.121

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/.storybook/decorators/WithAppearanceContext/index.d.ts +0 -0
  2. package/.storybook/utils/getStylesColorsByMode.d.ts +4 -4
  3. package/components/Chip/Chip.js +8 -5
  4. package/components/Chip/ChipStyles.js +21 -18
  5. package/components/Chip/slots/ChipSlots.d.ts +5 -5
  6. package/components/Chip/types.d.ts +14 -7
  7. package/components/DataGrid/contexts/DataGridContext/index.js +3 -5
  8. package/components/DataGrid/contexts/DataGridContext/types.d.ts +1 -3
  9. package/components/DataGrid/contexts/FilterContext/index.d.ts +1 -1
  10. package/components/DataGrid/dictionary.d.ts +18 -0
  11. package/components/DataGrid/dictionary.js +19 -1
  12. package/components/DataGrid/formatters/ColumnBooleanFormatter/index.d.ts +1 -1
  13. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/index.js +1 -1
  14. package/components/DataGrid/formatters/ColumnDateFormatter/index.d.ts +1 -1
  15. package/components/DataGrid/formatters/ColumnIconFormatter/index.d.ts +1 -1
  16. package/components/DataGrid/formatters/ColumnIconFormatter/index.js +1 -2
  17. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/index.js +1 -3
  18. package/components/DataGrid/formatters/ColumnSetCheckFormatter/index.d.ts +0 -3
  19. package/components/DataGrid/hooks/useDataGrid.d.ts +2 -1
  20. package/components/DataGrid/icons.d.ts +15 -0
  21. package/components/DataGrid/icons.js +18 -0
  22. package/components/DataGrid/index.d.ts +5 -1
  23. package/components/DataGrid/index.js +5 -10
  24. package/components/DataGrid/slots/DataGridEnum.d.ts +30 -0
  25. package/components/DataGrid/slots/DataGridEnum.js +44 -0
  26. package/components/DataGrid/slots/DataGridSlot.d.ts +48 -0
  27. package/components/DataGrid/slots/DataGridSlot.js +97 -0
  28. package/components/DataGrid/styles.d.ts +2 -1
  29. package/components/DataGrid/styles.js +479 -12
  30. package/components/DataGrid/subcomponents/Actions/index.d.ts +1 -1
  31. package/components/DataGrid/subcomponents/Actions/index.js +7 -7
  32. package/components/DataGrid/subcomponents/Actions/subcomponents/Density/index.d.ts +1 -1
  33. package/components/DataGrid/subcomponents/Actions/subcomponents/Density/index.js +13 -12
  34. package/components/DataGrid/subcomponents/Actions/subcomponents/Filter/index.d.ts +1 -1
  35. package/components/DataGrid/subcomponents/Actions/subcomponents/Filter/index.js +5 -6
  36. package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts +1 -1
  37. package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.js +14 -13
  38. package/components/DataGrid/subcomponents/Actions/subcomponents/RowsCount/index.js +7 -6
  39. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/index.d.ts +1 -1
  40. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/index.js +2 -4
  41. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +28 -27
  42. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +1 -2
  43. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.js +11 -11
  44. package/components/DataGrid/subcomponents/Actions/types.d.ts +1 -1
  45. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +1 -1
  46. package/components/DataGrid/subcomponents/Table/index.d.ts +1 -1
  47. package/components/DataGrid/subcomponents/Table/index.js +5 -4
  48. package/components/DataGrid/subcomponents/Table/subcomponents/ActionsColumn.js +1 -2
  49. package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +12 -43
  50. package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +2 -2
  51. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/index.d.ts +1 -1
  52. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/index.js +2 -4
  53. package/components/DataGrid/subcomponents/editors/TextEditor/index.d.ts +0 -1
  54. package/components/DataGrid/subcomponents/editors/TextEditor/index.js +3 -28
  55. package/components/DataGrid/types.d.ts +6 -0
  56. package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.js +10 -4
  57. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.js +1 -1
  58. package/components/gclick/MyDevice/MyDevice.js +1 -1
  59. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
  60. package/components/hook-form/RHFPeriod/subcomponents/Period/Period.js +0 -1
  61. package/components/hook-form/RHFSelect/RHFSelect.d.ts +1 -1
  62. package/components/hook-form/RHFSelect/RHFSelect.js +21 -3
  63. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  64. package/components/hook-form/RHFSelect/types.d.ts +1 -1
  65. package/components/mui_extended/Select/Select.d.ts +1 -1
  66. package/components/mui_extended/Select/Select.js +195 -145
  67. package/components/mui_extended/Select/Select.styles.js +69 -81
  68. package/components/mui_extended/Select/constants.d.ts +1 -1
  69. package/components/mui_extended/Select/slots/SelectEnum.d.ts +1 -1
  70. package/components/mui_extended/Select/slots/SelectEnum.js +1 -1
  71. package/components/mui_extended/Select/slots/SelectSlots.d.ts +19 -11
  72. package/components/mui_extended/Select/slots/SelectSlots.js +7 -7
  73. package/components/mui_extended/Select/tests/Select.test.d.ts +1 -0
  74. package/components/mui_extended/Select/types.d.ts +26 -16
  75. package/mockServiceWorker.js +1 -1
  76. package/package.json +1 -1
  77. package/components/DataGrid/classes/constants.d.ts +0 -1
  78. package/components/DataGrid/classes/constants.js +0 -4
  79. package/components/DataGrid/classes/index.d.ts +0 -33
  80. package/components/DataGrid/classes/index.js +0 -71
  81. package/components/DataGrid/classes/types.d.ts +0 -30
  82. package/components/DataGrid/formatters/ColumnDateFormatter/styles.d.ts +0 -1
  83. package/components/DataGrid/subcomponents/Actions/styles.d.ts +0 -1
  84. package/components/DataGrid/subcomponents/Actions/subcomponents/Filter/types.d.ts +0 -2
  85. package/components/DataGrid/subcomponents/Actions/subcomponents/RowsCount/types.d.ts +0 -2
  86. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/styles.d.ts +0 -7
  87. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/styles.js +0 -50
  88. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/styles.d.ts +0 -1
  89. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/styles.js +0 -10
  90. package/storybook/components/Label/Label.stories.d.ts +0 -16
  91. package/storybook/components/formatters/CourseFormatter/CourseFormatter.stories.d.ts +0 -25
  92. package/storybook/components/formatters/CourseFormatter/constants.d.ts +0 -3
  93. package/storybook/components/formatters/CourseFormatter/types.d.ts +0 -3
  94. /package/components/DataGrid/subcomponents/Actions/subcomponents/{Settings/types.d.ts → types.d.ts} +0 -0
  95. /package/components/{mui_extended/Select/test/Select.test.d.ts → DataGrid/tests/DataGrid.test.d.ts} +0 -0
@@ -1,30 +1,38 @@
1
- export declare const SelectRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').SelectProps<unknown>, "children" | "value" | "ref" | "onClose" | "title" | "size" | "name" | "error" | "input" | "rows" | "id" | "type" | "components" | "hidden" | "color" | "content" | "style" | "open" | "multiple" | "disabled" | "variant" | "margin" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "componentsProps" | "onOpen" | "slotProps" | "slots" | "label" | "autoComplete" | "placeholder" | "readOnly" | "required" | "fullWidth" | "inputProps" | "inputRef" | "disableInjectingGlobalStyles" | "endAdornment" | "inputComponent" | "multiline" | "renderSuffix" | "maxRows" | "minRows" | "startAdornment" | "disableUnderline" | "autoWidth" | "defaultOpen" | "displayEmpty" | "IconComponent" | "labelId" | "MenuProps" | "native" | "renderValue" | "SelectDisplayProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
2
- ownerState: Partial<import('..').SelectOwnerState> & Record<string, unknown>;
1
+ /**
2
+ * This is a styled component for the Select component.
3
+ * @param {T} extends number | string
4
+ * @returns {React.ComponentType<SelectProps<T>>}
5
+ * @example
6
+ * <SelectRootStyled<number> />
7
+ * <SelectRootStyled<string> />
8
+ */
9
+ export declare const SelectRootStyled: <T extends string | number>() => import('@emotion/styled').StyledComponent<Pick<import('@mui/material').SelectProps<T>, "children" | "value" | "ref" | "onClose" | "title" | "size" | "name" | "error" | "input" | "rows" | "id" | "type" | "components" | "hidden" | "color" | "content" | "style" | "open" | "multiple" | "disabled" | "variant" | "margin" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "componentsProps" | "onOpen" | "slotProps" | "slots" | "label" | "autoComplete" | "placeholder" | "readOnly" | "required" | "fullWidth" | "inputProps" | "inputRef" | "disableInjectingGlobalStyles" | "endAdornment" | "inputComponent" | "multiline" | "renderSuffix" | "maxRows" | "minRows" | "startAdornment" | "disableUnderline" | "autoWidth" | "defaultOpen" | "displayEmpty" | "IconComponent" | "labelId" | "MenuProps" | "native" | "renderValue" | "SelectDisplayProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
10
+ ownerState: any;
3
11
  }, {}, {}>;
4
12
  export declare const AdormentStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
5
- ownerState: Partial<import('..').SelectOwnerState> & Record<string, unknown>;
13
+ ownerState: any;
6
14
  }, {}, {}>;
7
15
  export declare const MenuItemListStyled: import('@emotion/styled').StyledComponent<Pick<import('../../MenuItem').MenuItemProps, keyof import('../../MenuItem').MenuItemProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
8
- ownerState: Partial<import('..').SelectOwnerState> & Record<string, unknown>;
16
+ ownerState: any;
9
17
  }, {}, {}>;
10
18
  export declare const MenuItemNoOptionStyled: import('@emotion/styled').StyledComponent<Pick<import('../../MenuItem').MenuItemProps, keyof import('../../MenuItem').MenuItemProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
11
- ownerState: Partial<import('..').SelectOwnerState> & Record<string, unknown>;
19
+ ownerState: any;
12
20
  }, {}, {}>;
13
21
  export declare const SkeletonSelectStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Skeleton/types').SkeletonProps, keyof import('../../Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
14
- ownerState: Partial<import('..').SelectOwnerState> & Record<string, unknown>;
22
+ ownerState: any;
15
23
  }, {}, {}>;
16
24
  export declare const RenderValueContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
17
- ownerState: Partial<import('..').SelectOwnerState> & Record<string, unknown>;
25
+ ownerState: any;
18
26
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
19
27
  export declare const ArrowDownStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "children" | "value" | "title" | "component" | "size" | "name" | "id" | "type" | "selected" | "action" | "hidden" | "content" | "style" | "icon" | "tooltip" | "disabled" | "variant" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "placement" | "form" | "src" | "rotationAngle" | "tooltipContent" | "instaceDataTestId" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "componentPaletteColor" | "badgeContent" | "dictionaryTooltipId" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
20
- ownerState: Partial<import('..').SelectOwnerState> & Record<string, unknown>;
28
+ ownerState: any;
21
29
  }, {}, {}>;
22
30
  export declare const RenderValueTypography: import('@emotion/styled').StyledComponent<Pick<import('../../Typography/types').TypographyProps, keyof import('../../Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
23
- ownerState: Partial<import('..').SelectOwnerState> & Record<string, unknown>;
31
+ ownerState: any;
24
32
  }, {}, {}>;
25
33
  export declare const LabelOptionStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Typography/types').TypographyProps, keyof import('../../Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
26
- ownerState: Partial<import('..').SelectOwnerState> & Record<string, unknown>;
34
+ ownerState: any;
27
35
  }, {}, {}>;
28
36
  export declare const LabelPlaceholerStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Typography/types').TypographyProps, keyof import('../../Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
29
- ownerState: Partial<import('..').SelectOwnerState> & Record<string, unknown>;
37
+ ownerState: any;
30
38
  }, {}, {}>;
@@ -8,7 +8,7 @@ import { S as Skeleton } from "../../Skeleton/Skeleton.js";
8
8
  import { T as Typography } from "../../Typography/Typography.js";
9
9
  import { I as Icon } from "../../../Icon/Icon.js";
10
10
  import { M as MenuItem } from "../../MenuItem/MenuItem.js";
11
- const SelectRootStyled = styled(Select, {
11
+ const SelectRootStyled = () => styled(Select, {
12
12
  name: SELECT_KEY_COMPONENT,
13
13
  slot: SelectSlots.root
14
14
  })(selectStyles?.root);
@@ -18,8 +18,8 @@ const AdormentStyled = styled(Icon, {
18
18
  })(selectStyles?.adorment);
19
19
  const MenuItemListStyled = styled(MenuItem, {
20
20
  name: SELECT_KEY_COMPONENT,
21
- slot: SelectSlots.menuItemList
22
- })(selectStyles?.menuItemList);
21
+ slot: SelectSlots.menuItem
22
+ })(selectStyles?.menuItem);
23
23
  const MenuItemNoOptionStyled = styled(MenuItem, {
24
24
  name: SELECT_KEY_COMPONENT,
25
25
  slot: SelectSlots.menuItemNoOptions
@@ -53,9 +53,9 @@ export {
53
53
  LabelPlaceholerStyled as L,
54
54
  MenuItemListStyled as M,
55
55
  RenderValueContainerStyled as R,
56
- SkeletonSelectStyled as S,
57
- SelectRootStyled as a,
58
- MenuItemNoOptionStyled as b,
59
- AdormentStyled as c,
56
+ SelectRootStyled as S,
57
+ AdormentStyled as a,
58
+ SkeletonSelectStyled as b,
59
+ MenuItemNoOptionStyled as c,
60
60
  RenderValueTypography as d
61
61
  };
@@ -1,5 +1,5 @@
1
1
  import { Sizes } from '@m4l/styles';
2
- import { PaletteColor, Theme } from '@mui/material';
2
+ import { Theme } from '@mui/material/styles';
3
3
  import { SelectProps as MUISelectProps } from '@mui/material/Select';
4
4
  import { SELECT_KEY_COMPONENT } from './constants';
5
5
  import { SelectSlots } from './slots';
@@ -11,27 +11,16 @@ import { default as React } from 'react';
11
11
  * label - Texto que representa la opción.
12
12
  * [icon] - (Opcional) URL del ícono asociado a la opción.
13
13
  */
14
- export type selectOption<T = unknown> = {
14
+ export type SelectOption<T extends string | number> = {
15
15
  id: T;
16
16
  label: string;
17
17
  startAdornment?: React.ReactNode;
18
18
  };
19
- /**
20
- * Propiedades que acepta el componente `Select`, extendiendo las propiedades de Material-UI `SelectProps`.
21
- */
22
- export interface SelectProps<T> extends Omit<MUISelectProps<T>, 'size' | 'onChange' | 'error' | 'variant' | 'color'> {
23
- /**
24
- * Lista de opciones para enseñar en el Select.
25
- */
26
- options: selectOption<T>[];
19
+ export interface BaseSelectProps {
27
20
  /**
28
21
  * Tamaño del Select.
29
22
  */
30
23
  size?: Extract<Sizes, 'small' | 'medium'>;
31
- /**
32
- * procedimiento para ejecutarse cuando cabia la selección.
33
- */
34
- onChange?: (option: selectOption<T>) => void;
35
24
  /**
36
25
  * Define si el Select está deshabilitado.
37
26
  */
@@ -57,12 +46,33 @@ export interface SelectProps<T> extends Omit<MUISelectProps<T>, 'size' | 'onChan
57
46
  */
58
47
  dataTestId?: string;
59
48
  }
49
+ export type SelectOptionValue<T extends string | number, Multiple> = Multiple extends true ? Array<SelectOption<T>> : SelectOption<T> | null;
50
+ /**
51
+ * Propiedades que acepta el componente `Select`, extendiendo las propiedades de Material-UI `SelectProps`.
52
+ */
53
+ export interface SelectProps<T extends string | number, Multiple extends boolean | undefined = false> extends BaseSelectProps, Omit<MUISelectProps<T>, 'size' | 'onChange' | 'error' | 'variant' | 'color' | 'value'> {
54
+ /**
55
+ * Lista de opciones para enseñar en el Select.
56
+ */
57
+ options: SelectOption<T>[];
58
+ /**
59
+ * Valor seleccionado en el Select. el Id o los Ids
60
+ */
61
+ value: (Multiple extends true ? T[] : T) | null;
62
+ /**
63
+ * Indica si el Select permite seleccionar múltiples opciones.
64
+ */
65
+ multiple?: Multiple;
66
+ /**
67
+ * procedimiento para ejecutarse cuando cabia la selección.
68
+ */
69
+ onChange: (opt: SelectOptionValue<T, Multiple>) => void;
70
+ }
60
71
  /**
61
72
  * Propiedades internas que definen el estado del componente `Select`.
62
73
  * paletteColor - Color de la paleta aplicado al Select.
63
74
  */
64
- export interface SelectOwnerState extends Pick<SelectProps<unknown>, 'classes' | 'size' | 'error' | 'variant' | 'disabled'> {
65
- paletteColor: PaletteColor;
75
+ export interface SelectOwnerState<T extends string | number> extends Pick<SelectProps<T>, 'classes' | 'size' | 'error' | 'variant' | 'disabled'> {
66
76
  disabled?: boolean;
67
77
  }
68
78
  /**
@@ -8,7 +8,7 @@
8
8
  * - Please do NOT serve this file on production.
9
9
  */
10
10
 
11
- const PACKAGE_VERSION = '2.7.0'
11
+ const PACKAGE_VERSION = '2.7.3'
12
12
  const INTEGRITY_CHECKSUM = '00729d72e3b82faf54ca8b9621dbb96f'
13
13
  const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
14
14
  const activeClientIds = new Set()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.1.119",
3
+ "version": "9.1.121",
4
4
  "license": "UNLICENSED",
5
5
  "lint-staged": {
6
6
  "*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
@@ -1 +0,0 @@
1
- export declare const componentName = "M4LDataGrid";
@@ -1,4 +0,0 @@
1
- const componentName = "M4LDataGrid";
2
- export {
3
- componentName as c
4
- };
@@ -1,33 +0,0 @@
1
- import { DataGridClassesType } from './types';
2
- import { OwnerState } from '../types';
3
- export declare const dataGridClasses: DataGridClassesType;
4
- export declare function getDataGridUtilityClass(slot: string): string;
5
- /**
6
- * TODO: Documentar
7
- */
8
- export declare const dataGridUtilityClasses: (ownerState: OwnerState) => {
9
- root: string;
10
- actions: string;
11
- rowsCount: string;
12
- rowsCountLabel: string;
13
- rowsCountValue: string;
14
- densitySkeleton: string;
15
- densityRoot: string;
16
- densityPopover: string;
17
- actionFilter: string;
18
- actionDensityPopover: string;
19
- tableContaniner: string;
20
- wrapperDataGridCss: string;
21
- columnsConfigContainer: string;
22
- columnsLabelSetColumns: string;
23
- columnsConfigContent: string;
24
- columnsConfigGrid: string;
25
- columnsConfigActions: string;
26
- formatterColumn: string;
27
- skeletonFormatter: string;
28
- actionsFormatter: string;
29
- actionsConfigContainer: string;
30
- booleanFormatter: string;
31
- iconFormatter: string;
32
- actionSettings: string;
33
- };
@@ -1,71 +0,0 @@
1
- import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
2
- import { unstable_composeClasses } from "@mui/base";
3
- import { c as componentName } from "./constants.js";
4
- const dataGridClasses = generateUtilityClasses(componentName, [
5
- /* elements */
6
- "root",
7
- "actions",
8
- "withPager",
9
- "withNoPager",
10
- "rowsCount",
11
- "rowsCountLabel",
12
- "rowsCountValue",
13
- "densitySkeleton",
14
- "actionDensityPopover",
15
- "actionFilter",
16
- "actionSettings",
17
- "tableContaniner",
18
- "wrapperDataGridCss",
19
- "columnsConfigContainer",
20
- "columnsLabelSetColumns",
21
- "columnsConfigContent",
22
- "columnsConfigGrid",
23
- "columnsConfigActions",
24
- "formatterColumn",
25
- "skeletonFormatter",
26
- "actionsFormatter",
27
- "actionsConfigContainer",
28
- "booleanFormatter",
29
- "iconFormatter",
30
- /* states or variants of elements */
31
- "withActions"
32
- ]);
33
- function getDataGridUtilityClass(slot) {
34
- return generateUtilityClass(componentName, slot);
35
- }
36
- const dataGridUtilityClasses = (ownerState) => {
37
- const slots = {
38
- root: ["root"],
39
- actions: ["actions", ownerState.actionsProps.withPager ? "withPager" : "withNoPager"],
40
- rowsCount: ["rowsCount"],
41
- rowsCountLabel: ["rowsCountLabel"],
42
- rowsCountValue: ["rowsCountValue"],
43
- densitySkeleton: ["densitySkeleton"],
44
- densityRoot: ["densityRoot"],
45
- densityPopover: ["densityPopover"],
46
- actionFilter: ["actionFilter"],
47
- actionSettings: ["actionSettingsRoot"],
48
- actionDensityPopover: ["actionDensityPopover"],
49
- tableContaniner: ["tableContaniner", ownerState.withActions && "withActions"],
50
- wrapperDataGridCss: ["wrapperDataGridCss"],
51
- columnsConfigContainer: ["columnsConfigContainer"],
52
- columnsLabelSetColumns: ["columnsLabelSetColumns"],
53
- columnsConfigContent: ["columnsConfigContent"],
54
- columnsConfigGrid: ["columnsConfigGrid"],
55
- columnsConfigActions: ["columnsConfigActions"],
56
- formatterColumn: ["formatterColumn"],
57
- skeletonFormatter: ["skeletonFormatter"],
58
- actionsFormatter: ["actionsFormatter"],
59
- actionsConfigContainer: ["actionsConfigContainer"],
60
- booleanFormatter: ["booleanFormatter"],
61
- iconFormatter: ["iconFormatter"]
62
- };
63
- const composedClasses = unstable_composeClasses(slots, getDataGridUtilityClass, {});
64
- return {
65
- ...composedClasses
66
- };
67
- };
68
- export {
69
- dataGridUtilityClasses as a,
70
- dataGridClasses as d
71
- };
@@ -1,30 +0,0 @@
1
- import { dataGridUtilityClasses } from '.';
2
- export interface DataGridClassesType {
3
- root: string;
4
- actions: string;
5
- withPager: string;
6
- withNoPager: string;
7
- rowsCount: string;
8
- rowsCountLabel: string;
9
- rowsCountValue: string;
10
- densitySkeleton: string;
11
- actionDensityPopover: string;
12
- actionFilter: string;
13
- actionSettings: string;
14
- tableContaniner: string;
15
- wrapperDataGridCss: string;
16
- columnsConfigContainer: string;
17
- columnsLabelSetColumns: string;
18
- columnsConfigContent: string;
19
- columnsConfigGrid: string;
20
- columnsConfigActions: string;
21
- formatterColumn: string;
22
- skeletonFormatter: string;
23
- actionsFormatter: string;
24
- actionsConfigContainer: string;
25
- booleanFormatter: string;
26
- iconFormatter: string;
27
- withActions: string;
28
- }
29
- export type BadgeClassesKey = keyof DataGridClassesType;
30
- export type Classes = ReturnType<typeof dataGridUtilityClasses>;
@@ -1 +0,0 @@
1
- export declare const Container: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1 +0,0 @@
1
- export declare const WrapperActions: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,2 +0,0 @@
1
- export interface FilterProps {
2
- }
@@ -1,2 +0,0 @@
1
- export interface TotalRecordProps {
2
- }
@@ -1,7 +0,0 @@
1
- export declare const WrapperColumnsConfig: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2
- export declare const DivAll: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
- export declare const DivSelColumns: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
- export declare const WrapperDataGrid: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
- export declare const DivColumn: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
- export declare const ColumnActions: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
- export declare const DialogActions: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,50 +0,0 @@
1
- import { styled } from "@mui/material/styles";
2
- const WrapperColumnsConfig = styled("div")(({ theme }) => ({
3
- color: theme.vars.palette.text.primary,
4
- position: "relative",
5
- display: "flex",
6
- flexDirection: "column",
7
- height: "100%",
8
- width: "100%"
9
- }));
10
- styled("div")(({ theme }) => ({
11
- color: theme.vars.palette.text.primary,
12
- fontSize: theme.typography.h4.fontSize
13
- }));
14
- const DivSelColumns = styled("div")(({ theme }) => ({
15
- ...theme.colorSchemes.finalTheme.typography.bodyDens,
16
- color: theme.vars.palette.text.primary,
17
- padding: `16px 8px`
18
- }));
19
- const WrapperDataGrid = styled("div")(() => ({
20
- position: "relative",
21
- display: "flex",
22
- flexDirection: "column",
23
- flexGrow: 1,
24
- overflow: "auto"
25
- }));
26
- styled("div")(() => ({
27
- display: "flex",
28
- flexDirection: "row"
29
- }));
30
- const ColumnActions = styled("div")(() => ({
31
- paddingTop: "16px",
32
- paddingBottom: "8px",
33
- display: "flex",
34
- flexDirection: "row"
35
- }));
36
- styled("div")(({ theme }) => ({
37
- paddingTop: theme.spacing(3),
38
- display: "flex",
39
- flexDirection: "row",
40
- justifyContent: "flex-end",
41
- "& > button": {
42
- marginLeft: "10px"
43
- }
44
- }));
45
- export {
46
- ColumnActions as C,
47
- DivSelColumns as D,
48
- WrapperColumnsConfig as W,
49
- WrapperDataGrid as a
50
- };
@@ -1 +0,0 @@
1
- export declare const WrapperSkeleton: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,10 +0,0 @@
1
- import { styled } from "@mui/material";
2
- const WrapperSkeleton = styled("div")(() => ({
3
- display: "flex",
4
- width: "100%",
5
- height: "100%",
6
- alignItems: "center"
7
- }));
8
- export {
9
- WrapperSkeleton as W
10
- };
@@ -1,16 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { Label } from '../../../src/components/Label/Label';
3
- /**
4
- * Label es un componente React que renderiza una etiqueta de texto, la cual puede ser utilizada en formularios o en cualquier
5
- * lugar donde se necesite una descripción textual.
6
- * Soporta la visualización de un indicador de campo obligatorio, mensaje de ayuda a través
7
- * de un tooltip, y puede adaptar su tamaño. El componente también puede mostrar un estado de esqueleto, indicando
8
- * que el contenido está cargando.
9
- */
10
- declare const meta: Meta<typeof Label>;
11
- export default meta;
12
- type Story = StoryObj<typeof Label>;
13
- /** Label component Props Comunes */
14
- export declare const LabelDefault: Story;
15
- /** Label component mode Skeleton With props `helperMessage` */
16
- export declare const LabelDefaultSkeleton: Story;
@@ -1,25 +0,0 @@
1
- import { Meta } from '@storybook/react';
2
- import { CourseFormatter } from '../../../../src/components/formatters/CourseFormatter/CourseFormatter';
3
- import { StoryCourseFormatterType } from './types';
4
- declare const meta: Meta<typeof CourseFormatter>;
5
- export default meta;
6
- /**
7
- * Norte: curso entre 95° - 85° -> 0°
8
- */
9
- export declare const Norte: StoryCourseFormatterType;
10
- /**
11
- * Oriente: curso entre 85° - 95° -> 90°
12
- */
13
- export declare const Oriente: StoryCourseFormatterType;
14
- /**
15
- * Sur: curso entre 175° - 185° -> 180°
16
- */
17
- export declare const Sur: StoryCourseFormatterType;
18
- /**
19
- * Occidente: curso entre 265° - 275° -> 270°
20
- */
21
- export declare const Occidente: StoryCourseFormatterType;
22
- /**
23
- * Skeleton del CourseFormatter
24
- */
25
- export declare const Esqueleto: StoryCourseFormatterType;
@@ -1,3 +0,0 @@
1
- export declare const heightWindow = 180;
2
- export declare const widthWindow = 260;
3
- export declare const marginWindow = 10;
@@ -1,3 +0,0 @@
1
- import { StoryObj } from '@storybook/react';
2
- import { CourseFormatter } from '../../../../src/components/formatters/CourseFormatter/CourseFormatter';
3
- export type StoryCourseFormatterType = StoryObj<typeof CourseFormatter>;