@m4l/components 9.1.146 → 9.1.147
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/.storybook/constants.d.ts +0 -10
- package/.storybook/utils/getStylesColorsByMode.d.ts +116 -116
- package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +3 -3
- package/components/AppBar/slots/AppBarSlots.d.ts +2 -2
- package/components/Chip/ChipStyles.js +1 -1
- package/components/Chip/slots/ChipSlots.d.ts +1 -1
- package/components/Color/slots/ColorSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
- package/components/DataGrid/contexts/DataGridContext/index.d.ts +1 -2
- package/components/DataGrid/contexts/DataGridContext/index.js +1 -1
- package/components/DataGrid/contexts/FilterContext/index.js +1 -1
- package/components/DataGrid/dictionary.js +0 -3
- package/components/DataGrid/slots/DataGridEnum.js +2 -2
- package/components/DataGrid/slots/DataGridSlot.js +1 -1
- package/components/DataGrid/subcomponents/Table/hooks/getDragHeaderRenderer.d.ts +1 -2
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.d.ts +1 -2
- package/components/DataGrid/subcomponents/Table/subcomponents/CheckboxFormatter.js +1 -1
- package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +2 -2
- package/components/DynamicFilter/dictionary.js +0 -12
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +4 -4
- package/components/DynamicFilter/store/DynamicFilterContext.js +1 -1
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/DynamicFilterBase.js +1 -1
- package/components/DynamicSort/dictionary.js +1 -6
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
- package/components/DynamicSort/slots/DynamicSortSlots.js +2 -2
- package/components/DynamicSort/store/DynamicSortContext.js +1 -1
- package/components/DynamicSort/subcomponents/DynamicSortBase/DynamicSortBase.js +1 -1
- package/components/GridLayout/GridLayout.js +1 -1
- package/components/GridLayout/styles.js +1 -1
- package/components/GridLayout/subcomponents/GridItem/index.js +1 -1
- package/components/GridLayout/subcomponents/Responsive/helper.js +1 -1
- package/components/GridLayout/subcomponents/Responsive/index.js +1 -1
- package/components/GridLayout/subcomponents/Responsive/responsiveUtils.js +3 -3
- package/components/GridLayout/subcomponents/withSizeProvider/index.js +1 -1
- package/components/Icon/Icon.js +1 -1
- package/components/Icon/constants.js +2 -2
- package/components/Icon/slots/IconSlots.js +1 -1
- package/components/Image/Image.js +1 -1
- package/components/Image/constant.js +2 -2
- package/components/Image/slots/ImageSlots.js +1 -1
- package/components/Image/subcomponents/IntersectComponent/index.js +1 -1
- package/components/Label/slots/LabelSlots.d.ts +1 -1
- package/components/LanguagePopover/LanguagePopover.js +1 -1
- package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +1 -1
- package/components/LoadingError/LoadingError.js +1 -1
- package/components/LoadingError/slots/LoadingErrorSlots.js +1 -1
- package/components/MFIsolationApp/subcomponents/MFAuthApp/MFAuthApp.js +1 -1
- package/components/MenuActions/slots/MenuActionsSlots.d.ts +2 -2
- package/components/ModalDialog/slots/ModalDialogSlots.d.ts +2 -2
- package/components/NoItemSelected/NoItemSelected.js +1 -1
- package/components/NumberInput/hooks/useNumberInput/NumberInputReducer.js +1 -1
- package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
- package/components/Pager/Pager.styles.js +0 -8
- package/components/Pager/dicctionary.js +0 -5
- package/components/PrintingSystem/subcomponents/ChartNode/index.js +1 -1
- package/components/PropertyValue/PropertyValue.js +2 -2
- package/components/ScrollBar/ScrollBar.js +1 -1
- package/components/SideBar/slots/SideBarEnum.js +4 -4
- package/components/SideBar/slots/SideBarSlots.js +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.js +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +1 -1
- package/components/ToastContainer/ToastContainer.js +1 -1
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
- package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +3 -3
- package/components/animate/variants/bounce.js +1 -1
- package/components/animate/variants/fade.js +1 -1
- package/components/animate/variants/transition.js +2 -2
- package/components/areas/components/AreasAdmin/AreasAdmin.js +1 -1
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +2 -2
- package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.js +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow/useWindow.d.ts +1 -1
- package/components/areas/contexts/AreasContext/helpers/helper.js +15 -15
- package/components/areas/contexts/AreasContext/store.js +3 -3
- package/components/areas/icons.js +0 -8
- package/components/commercial/HamburgerMenu/classes/index.js +1 -1
- package/components/extended/React-Resizable/Resizable/slots/ResizableSlots.d.ts +1 -1
- package/components/extended/React-Resizable/ResizableBox/slots/ResizableBoxSlots.d.ts +1 -1
- package/components/formatters/BooleanFormatter/BooleanFormatter.js +1 -1
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.js +3 -3
- package/components/formatters/PeriodFormatter/PeriodFormatter.js +1 -1
- package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.js +2 -2
- package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
- package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.js +1 -1
- package/components/hook-form/RHFPeriod/RHFPeriod.js +1 -1
- package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +2 -2
- package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.styles.js +1 -3
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
- package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +2 -2
- package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.js +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/classes/index.js +1 -1
- package/components/hook-form/RHFormContext/classes/index.d.ts +2 -2
- package/components/hook-form/RHFormContext/classes/index.js +1 -1
- package/components/hook-form/RHFormContext/index.js +1 -1
- package/components/modal/classes/index.js +1 -1
- package/components/mui_extended/Accordion/Accordion.js +1 -1
- package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +2 -2
- package/components/mui_extended/Accordion/slots/AccordionSlots.js +2 -2
- package/components/mui_extended/Autocomplete/Autocomplete.js +1 -1
- package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +4 -4
- package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.js +3 -3
- package/components/mui_extended/Avatar/slots/AvatarSlots.d.ts +1 -1
- package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +1 -1
- package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
- package/components/mui_extended/CheckBox/CheckBox.js +1 -1
- package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +1 -1
- package/components/mui_extended/CheckBox/slots/CheckBoxSlots.js +2 -2
- package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +4 -4
- package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.js +1 -1
- package/components/mui_extended/Divider/slots/DividerSlots.d.ts +1 -1
- package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +2 -2
- package/components/mui_extended/ImageButton/utils/Clases/index.js +1 -1
- package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
- package/components/mui_extended/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.js +1 -1
- package/components/mui_extended/NavLink/NavLink.js +1 -1
- package/components/mui_extended/NavLink/constants.js +2 -2
- package/components/mui_extended/NavLink/slots/NavLinkSlots.js +1 -1
- package/components/mui_extended/Popover/Popover.js +1 -1
- package/components/mui_extended/Popover/Popover.styles.js +1 -5
- package/components/mui_extended/Popover/constants.js +2 -2
- package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
- package/components/mui_extended/Select/Select.js +1 -1
- package/components/mui_extended/Select/Select.styles.js +1 -1
- package/components/mui_extended/Select/constants.js +1 -1
- package/components/mui_extended/Select/slots/SelectSlots.d.ts +2 -2
- package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
- package/components/mui_extended/Stack/slots/StackSlot.d.ts +1 -1
- package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
- package/components/mui_extended/Tab/Tab.js +1 -1
- package/components/mui_extended/TabContent/classes/index.js +1 -1
- package/components/mui_extended/Tabs/slots/TabsSlots.d.ts +1 -1
- package/components/mui_extended/TextField/constants.js +1 -1
- package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +1 -1
- package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +3 -3
- package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
- package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
- package/components/mui_extended/Typography/Typography.js +1 -1
- package/components/mui_extended/Typography/constants.js +3 -3
- package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
- package/components/mui_extended/Typography/slots/typographySlots.js +1 -1
- package/components/popups/components/PopupsViewer/icons.js +0 -1
- package/hooks/useSvgColor/constants.js +2 -2
- package/hooks/useSvgColor/helpers.js +1 -1
- package/hooks/useSvgColor/useSvgColor.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +27 -19
- package/mockServiceWorker.js +52 -0
- package/package.json +2 -2
- package/storybook-decorators/WithAppearanceContext/WithAppearanceContext.d.ts +6 -0
- package/storybook-decorators/WithContexts/WithContexts.d.ts +5 -0
- package/storybook-decorators/WithContexts/WithContexts.js +51 -0
- package/storybook-decorators/WithContexts/constants.d.ts +10 -0
- package/storybook-decorators/WithContexts/constants.js +18 -0
- package/storybook-decorators/WithContexts/index.js +1 -0
- package/storybook-decorators/WithContexts/styles.d.ts +1 -0
- package/storybook-decorators/WithContexts/styles.js +15 -0
- package/storybook-decorators/WithContexts/subcomponents/AppWithTheme.d.ts +6 -0
- package/storybook-decorators/WithContexts/subcomponents/AppWithTheme.js +32 -0
- package/storybook-decorators/WithDictionaryContext/WithDictionaryContext.d.ts +21 -0
- package/storybook-decorators/WithForm/WithForm.d.ts +8 -0
- package/storybook-decorators/WithForm/WithForm.js +12 -0
- package/storybook-decorators/WithForm/index.js +1 -0
- package/storybook-decorators/WithFormAutoValidation/WithFormAutoValidation.d.ts +7 -0
- package/storybook-decorators/WithFormAutoValidation/WithFormAutoValidation.js +22 -0
- package/storybook-decorators/WithFormAutoValidation/index.js +1 -0
- package/storybook-decorators/WithPopupsProvider/WithPopupsProvider.d.ts +5 -0
- package/storybook-decorators/WithPopupsProvider/WithPopupsProvider.js +22 -0
- package/storybook-decorators/WithPopupsProvider/index.js +1 -0
- package/storybook-decorators/WithScaleIcons/WithScaleIcons.d.ts +7 -0
- package/storybook-decorators/WithScaleIcons/WithScaleIcons.js +7 -0
- package/storybook-decorators/WithScaleIcons/index.js +1 -0
- package/storybook-decorators/WithWindowsContainer/WithWindowsContainer.d.ts +5 -0
- package/storybook-decorators/WithWindowsContainer/WithWindowsContainer.js +8 -0
- package/storybook-decorators/WithWindowsContainer/index.d.ts +2 -0
- package/storybook-decorators/WithWindowsContainer/index.js +1 -0
- package/storybook-decorators/WithWindowsContainer/subcomponents/WindowsContainer/WindowsContainer.d.ts +5 -0
- package/storybook-decorators/WithWindowsContainer/subcomponents/WindowsContainer/WindowsContainer.js +25 -0
- package/storybook-decorators/WithWindowsContainer/subcomponents/WindowsContainer/index.js +1 -0
- package/storybook-decorators/WithWrapper/WithWrapper.d.ts +24 -0
- package/storybook-decorators/WithWrapper/WithWrapper.js +8 -0
- package/storybook-decorators/WithWrapper/index.js +1 -0
- package/storybook-decorators/index.d.ts +7 -0
- package/storybook-decorators/index.js +1 -0
- package/test/mocks.d.ts +2 -2
- package/vite-env.d.ts +18 -0
- package/.storybook/decorators/WithWindowsContainer/index.d.ts +0 -1
- package/vendor.js +0 -172
- /package/{.storybook/decorators → storybook-decorators}/WithAppearanceContext/index.d.ts +0 -0
- /package/{.storybook/decorators → storybook-decorators}/WithContexts/index.d.ts +0 -0
- /package/{.storybook/decorators → storybook-decorators}/WithContexts/types.d.ts +0 -0
- /package/{.storybook/decorators → storybook-decorators}/WithDictionaryContext/contants.d.ts +0 -0
- /package/{.storybook/decorators → storybook-decorators}/WithDictionaryContext/index.d.ts +0 -0
- /package/{.storybook/decorators → storybook-decorators}/WithForm/index.d.ts +0 -0
- /package/{.storybook/decorators → storybook-decorators}/WithFormAutoValidation/index.d.ts +0 -0
- /package/{.storybook/decorators → storybook-decorators}/WithPopupsProvider/index.d.ts +0 -0
- /package/{.storybook/decorators → storybook-decorators}/WithScaleIcons/index.d.ts +0 -0
- /package/{.storybook/decorators → storybook-decorators}/WithWindowsContainer/subcomponents/WindowsContainer/index.d.ts +0 -0
- /package/{.storybook/decorators → storybook-decorators}/WithWindowsContainer/subcomponents/WindowsContainer/types.d.ts +0 -0
- /package/{.storybook/decorators → storybook-decorators}/WithWrapper/index.d.ts +0 -0
- /package/{.storybook/decorators → storybook-decorators}/WithWrapper/types.d.ts +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const ToggleButtonRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Button').ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "
|
|
1
|
+
export declare const ToggleButtonRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Button').ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "size" | "variant" | "color" | "content" | "translate" | "action" | "className" | "style" | "classes" | "children" | "sx" | "form" | "label" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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" | "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" | "component" | "name" | "value" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "href" | "skeletonWidth" | "startIcon" | "endIcon" | keyof import('react').RefAttributes<HTMLButtonElement> | "disableElevation" | "fullWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').ToggleButtonOwnerState> & Record<string, unknown> & {
|
|
2
2
|
ownerState: Partial<import('..').ToggleButtonOwnerState> & Record<string, unknown>;
|
|
3
3
|
}, {}, {}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const ToggleIconButtonRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "
|
|
1
|
+
export declare const ToggleIconButtonRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "size" | "variant" | "content" | "translate" | "action" | "className" | "style" | "classes" | "children" | "src" | "sx" | "form" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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" | "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" | "component" | "name" | "tooltip" | "value" | "instaceDataTestId" | "icon" | "selected" | "rotationAngle" | "disabled" | "placement" | "tooltipContent" | "componentPaletteColor" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "badgeContent" | "dictionaryTooltipId" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').ToggleIconButtonOwnerState> & Record<string, unknown> & {
|
|
2
2
|
ownerState: Partial<import('..').ToggleIconButtonOwnerState> & Record<string, unknown>;
|
|
3
3
|
}, {}, {}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { T as
|
|
4
|
+
import { T as TYPOGRAPHY_CLASSES, a as TYPOGRAPHY_KEY_COMPONENT, b as TYPOGRAPHY_CLASS_NAME_SPECIFY } from "./constants.js";
|
|
5
5
|
import { T as TypographySlots } from "./slots/typographyEnum.js";
|
|
6
6
|
import { S as StyledMUITypography, a as StyledSkeleton } from "./slots/typographySlots.js";
|
|
7
7
|
import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
|
|
@@ -4,7 +4,7 @@ const TYPOGRAPHY_KEY_COMPONENT = "M4LTypography";
|
|
|
4
4
|
const TYPOGRAPHY_CLASS_NAME_SPECIFY = "M4lclassCssSpecificity";
|
|
5
5
|
const TYPOGRAPHY_CLASSES = getComponentClasses(TYPOGRAPHY_KEY_COMPONENT, TypographySlots);
|
|
6
6
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
TYPOGRAPHY_CLASSES as T,
|
|
8
|
+
TYPOGRAPHY_KEY_COMPONENT as a,
|
|
9
|
+
TYPOGRAPHY_CLASS_NAME_SPECIFY as b
|
|
10
10
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare const StyledMUITypography: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
5
5
|
ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
|
|
6
|
-
}, "
|
|
6
|
+
}, "variant" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "children" | "sx" | "p" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "paragraph" | "align" | "gutterBottom" | "noWrap" | "variantMapping">, "variant" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "children" | "sx" | "ref" | "p" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "paragraph" | "align" | "gutterBottom" | "noWrap" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').TypographyOwnerState> & Record<string, unknown> & {
|
|
7
7
|
ownerState: Partial<import('../types').TypographyOwnerState> & Record<string, unknown>;
|
|
8
8
|
}, {}, {}>;
|
|
9
9
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Typography } from "@mui/material";
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
|
-
import {
|
|
3
|
+
import { a as TYPOGRAPHY_KEY_COMPONENT } from "../constants.js";
|
|
4
4
|
import { T as TypographySlots } from "./typographyEnum.js";
|
|
5
5
|
import { t as typographyStyles } from "../typography.styles.js";
|
|
6
6
|
import { S as Skeleton } from "../../Skeleton/Skeleton.js";
|
|
@@ -31,8 +31,8 @@ const SVG_ICON_ERROR = "data:image/svg+xml;base64," + btoa(`<svg viewBox="0 0 64
|
|
|
31
31
|
</svg>`);
|
|
32
32
|
export {
|
|
33
33
|
REPLACEMENT_PRYMARY_COLOR as R,
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
SKELETON_SVG_ICON as S,
|
|
35
|
+
SVG_CACHE_PREFIX as a,
|
|
36
36
|
SVG_ICON_ERROR as b,
|
|
37
37
|
REPLACEMENT_SECONDARY_COLOR as c
|
|
38
38
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState, useEffect } from "react";
|
|
2
|
-
import { b as SVG_ICON_ERROR,
|
|
2
|
+
import { b as SVG_ICON_ERROR, a as SVG_CACHE_PREFIX, R as REPLACEMENT_PRYMARY_COLOR, c as REPLACEMENT_SECONDARY_COLOR } from "./constants.js";
|
|
3
3
|
import { g as getSVG, p as purgedColor } from "./helpers.js";
|
|
4
4
|
function useSvgColor(props) {
|
|
5
5
|
const { src, cacheKey, primaryColor, secondaryColor = "#FFFFFF", skeletonIcon, fallBackIcon = SVG_ICON_ERROR } = props;
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { A as A2 } from "./components/animate/AnimatedScroll/animatedScroll.js";
|
|
|
10
10
|
import { v } from "./components/animate/variants/fade.js";
|
|
11
11
|
import { v as v2 } from "./components/animate/variants/bounce.js";
|
|
12
12
|
import { v as v3 } from "./components/animate/variants/container.js";
|
|
13
|
-
import { v as v4,
|
|
13
|
+
import { a, v as v4, b } from "./components/animate/variants/transition.js";
|
|
14
14
|
import { A as A3 } from "./components/AppBar/AppBar.js";
|
|
15
15
|
import { g as g2 } from "./components/AppBar/dictionary.js";
|
|
16
16
|
import { A as A4 } from "./components/areas/components/AreasAdmin/AreasAdmin.js";
|
|
@@ -84,7 +84,7 @@ import { D as D7 } from "./components/formatters/DistanceToNowFormatter/Distance
|
|
|
84
84
|
import { g as g14 } from "./components/formatters/dictionary.js";
|
|
85
85
|
import { G } from "./components/GridLayout/GridLayout.js";
|
|
86
86
|
import { R as R3 } from "./components/GridLayout/subcomponents/Responsive/index.js";
|
|
87
|
-
import { c as c3, d as d3
|
|
87
|
+
import { c as c3, e, d as d3 } from "./components/GridLayout/subcomponents/Responsive/responsiveUtils.js";
|
|
88
88
|
import { i, k } from "./components/GridLayout/utils.js";
|
|
89
89
|
import { w } from "./components/GridLayout/subcomponents/withSizeProvider/index.js";
|
|
90
90
|
import { H as H2 } from "./components/HelmetPage/index.js";
|
|
@@ -200,7 +200,7 @@ import { u as u22 } from "./hooks/useInterval/index.js";
|
|
|
200
200
|
import { u as u23 } from "./hooks/useComponentSize/useComponentSize.js";
|
|
201
201
|
import { u as u24 } from "./hooks/useFormReadyForUpdate/index.js";
|
|
202
202
|
import { u as u25 } from "./hooks/useStateRef/index.js";
|
|
203
|
-
import {
|
|
203
|
+
import { S as S11 } from "./hooks/useSvgColor/constants.js";
|
|
204
204
|
import { u as u26 } from "./hooks/useSvgColor/useSvgColor.js";
|
|
205
205
|
import { u as u27 } from "./hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js";
|
|
206
206
|
import { c as c5 } from "./utils/capitalizeFirstLetter.js";
|
|
@@ -209,12 +209,19 @@ import { g as g27 } from "./utils/getComponentUtilityClass.js";
|
|
|
209
209
|
import { g as g28 } from "./utils/getPaletteColor.js";
|
|
210
210
|
import { g as g29 } from "./utils/getTypographyStyles.js";
|
|
211
211
|
import { g as g30 } from "./utils/getIconColor.js";
|
|
212
|
-
import { a as
|
|
212
|
+
import { a as a14 } from "./utils/getSizeStyles/getSizeStyles.js";
|
|
213
213
|
import { g as g31 } from "./utils/getValidDate.js";
|
|
214
214
|
import { O as O2 } from "./utils/ObjectQueue.js";
|
|
215
|
-
import { g as g32, a as
|
|
215
|
+
import { g as g32, a as a15 } from "./utils/getComponentSlotRoot.js";
|
|
216
216
|
import { f } from "./utils/formatDistanceToNow/formatDistanteToNow.js";
|
|
217
|
-
import { W as W7
|
|
217
|
+
import { W as W7 } from "./storybook-decorators/WithContexts/WithContexts.js";
|
|
218
|
+
import { W as W8 } from "./storybook-decorators/WithPopupsProvider/WithPopupsProvider.js";
|
|
219
|
+
import { W as W9 } from "./storybook-decorators/WithForm/WithForm.js";
|
|
220
|
+
import { W as W10 } from "./storybook-decorators/WithFormAutoValidation/WithFormAutoValidation.js";
|
|
221
|
+
import { W as W11 } from "./storybook-decorators/WithWindowsContainer/subcomponents/WindowsContainer/WindowsContainer.js";
|
|
222
|
+
import { W as W12 } from "./storybook-decorators/WithWindowsContainer/WithWindowsContainer.js";
|
|
223
|
+
import { W as W13 } from "./storybook-decorators/WithScaleIcons/WithScaleIcons.js";
|
|
224
|
+
import { W as W14 } from "./storybook-decorators/WithWrapper/WithWrapper.js";
|
|
218
225
|
export {
|
|
219
226
|
A7 as AREAS_DICCTIONARY,
|
|
220
227
|
a4 as AREAS_DICTIONARY_ID,
|
|
@@ -347,7 +354,7 @@ export {
|
|
|
347
354
|
R as Resizable,
|
|
348
355
|
R2 as ResizableBox,
|
|
349
356
|
R3 as Responsive,
|
|
350
|
-
|
|
357
|
+
S11 as SKELETON_SVG_ICON,
|
|
351
358
|
S9 as ScrollBar,
|
|
352
359
|
S as ScrollToTop,
|
|
353
360
|
S2 as SectionCommercial,
|
|
@@ -389,17 +396,18 @@ export {
|
|
|
389
396
|
W2 as WindowConfirm,
|
|
390
397
|
a2 as WindowToolsMFContext,
|
|
391
398
|
W as WindowToolsMFProvider,
|
|
399
|
+
W11 as WindowsContainer,
|
|
392
400
|
W7 as WithContexts,
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
401
|
+
W10 as WithFormAutoValidation,
|
|
402
|
+
W9 as WithForms,
|
|
403
|
+
W8 as WithPopupsProvider,
|
|
404
|
+
W13 as WithScaleIcons,
|
|
405
|
+
W12 as WithWindowsContainer,
|
|
406
|
+
W14 as WithWrapper,
|
|
399
407
|
c3 as addLayoutItemToBreakPointIfNoExists,
|
|
400
|
-
|
|
408
|
+
e as addLayoutItemToBreakPoints,
|
|
401
409
|
c5 as capitalizeFirstLetter,
|
|
402
|
-
|
|
410
|
+
d3 as cloneLayouts,
|
|
403
411
|
c2 as createDynamicMFStore,
|
|
404
412
|
c as createToaster,
|
|
405
413
|
d as defaultCommonActionsDictionary,
|
|
@@ -413,7 +421,7 @@ export {
|
|
|
413
421
|
g3 as getAreasDictionary,
|
|
414
422
|
g4 as getCommonActionsDictionary,
|
|
415
423
|
g32 as getComponentClasses,
|
|
416
|
-
|
|
424
|
+
a15 as getComponentSlotRoot,
|
|
417
425
|
g27 as getComponentUtilityClass,
|
|
418
426
|
g5 as getDataGridComponentsDictionary,
|
|
419
427
|
g6 as getDataGridRowsFromSet,
|
|
@@ -427,7 +435,7 @@ export {
|
|
|
427
435
|
g10 as getFormatPoints,
|
|
428
436
|
g12 as getFormatPrice,
|
|
429
437
|
g14 as getFormattersComponentsDictionary,
|
|
430
|
-
|
|
438
|
+
a14 as getHeightSizeStyles,
|
|
431
439
|
g30 as getIconColor,
|
|
432
440
|
g7 as getIsIfInDynamicFilter,
|
|
433
441
|
g18 as getLoadingErrorComponentsDictionary,
|
|
@@ -482,8 +490,8 @@ export {
|
|
|
482
490
|
v2 as varBounce,
|
|
483
491
|
v3 as varContainer,
|
|
484
492
|
v as varFade,
|
|
485
|
-
|
|
486
|
-
|
|
493
|
+
a as varTranEnter,
|
|
494
|
+
v4 as varTranExit,
|
|
487
495
|
b as varTranHover,
|
|
488
496
|
w2 as windowBaseStyles,
|
|
489
497
|
w as withSizeProvider
|
package/mockServiceWorker.js
CHANGED
|
@@ -1,33 +1,43 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
/* tslint:disable */
|
|
3
|
+
|
|
3
4
|
/**
|
|
4
5
|
* Mock Service Worker.
|
|
5
6
|
* @see https://github.com/mswjs/msw
|
|
6
7
|
* - Please do NOT modify this file.
|
|
7
8
|
* - Please do NOT serve this file on production.
|
|
8
9
|
*/
|
|
10
|
+
|
|
9
11
|
const PACKAGE_VERSION = '2.7.3'
|
|
10
12
|
const INTEGRITY_CHECKSUM = '00729d72e3b82faf54ca8b9621dbb96f'
|
|
11
13
|
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
|
|
12
14
|
const activeClientIds = new Set()
|
|
15
|
+
|
|
13
16
|
self.addEventListener('install', function () {
|
|
14
17
|
self.skipWaiting()
|
|
15
18
|
})
|
|
19
|
+
|
|
16
20
|
self.addEventListener('activate', function (event) {
|
|
17
21
|
event.waitUntil(self.clients.claim())
|
|
18
22
|
})
|
|
23
|
+
|
|
19
24
|
self.addEventListener('message', async function (event) {
|
|
20
25
|
const clientId = event.source.id
|
|
26
|
+
|
|
21
27
|
if (!clientId || !self.clients) {
|
|
22
28
|
return
|
|
23
29
|
}
|
|
30
|
+
|
|
24
31
|
const client = await self.clients.get(clientId)
|
|
32
|
+
|
|
25
33
|
if (!client) {
|
|
26
34
|
return
|
|
27
35
|
}
|
|
36
|
+
|
|
28
37
|
const allClients = await self.clients.matchAll({
|
|
29
38
|
type: 'window',
|
|
30
39
|
})
|
|
40
|
+
|
|
31
41
|
switch (event.data) {
|
|
32
42
|
case 'KEEPALIVE_REQUEST': {
|
|
33
43
|
sendToClient(client, {
|
|
@@ -35,6 +45,7 @@ self.addEventListener('message', async function (event) {
|
|
|
35
45
|
})
|
|
36
46
|
break
|
|
37
47
|
}
|
|
48
|
+
|
|
38
49
|
case 'INTEGRITY_CHECK_REQUEST': {
|
|
39
50
|
sendToClient(client, {
|
|
40
51
|
type: 'INTEGRITY_CHECK_RESPONSE',
|
|
@@ -45,8 +56,10 @@ self.addEventListener('message', async function (event) {
|
|
|
45
56
|
})
|
|
46
57
|
break
|
|
47
58
|
}
|
|
59
|
+
|
|
48
60
|
case 'MOCK_ACTIVATE': {
|
|
49
61
|
activeClientIds.add(clientId)
|
|
62
|
+
|
|
50
63
|
sendToClient(client, {
|
|
51
64
|
type: 'MOCKING_ENABLED',
|
|
52
65
|
payload: {
|
|
@@ -58,53 +71,66 @@ self.addEventListener('message', async function (event) {
|
|
|
58
71
|
})
|
|
59
72
|
break
|
|
60
73
|
}
|
|
74
|
+
|
|
61
75
|
case 'MOCK_DEACTIVATE': {
|
|
62
76
|
activeClientIds.delete(clientId)
|
|
63
77
|
break
|
|
64
78
|
}
|
|
79
|
+
|
|
65
80
|
case 'CLIENT_CLOSED': {
|
|
66
81
|
activeClientIds.delete(clientId)
|
|
82
|
+
|
|
67
83
|
const remainingClients = allClients.filter((client) => {
|
|
68
84
|
return client.id !== clientId
|
|
69
85
|
})
|
|
86
|
+
|
|
70
87
|
// Unregister itself when there are no more clients
|
|
71
88
|
if (remainingClients.length === 0) {
|
|
72
89
|
self.registration.unregister()
|
|
73
90
|
}
|
|
91
|
+
|
|
74
92
|
break
|
|
75
93
|
}
|
|
76
94
|
}
|
|
77
95
|
})
|
|
96
|
+
|
|
78
97
|
self.addEventListener('fetch', function (event) {
|
|
79
98
|
const { request } = event
|
|
99
|
+
|
|
80
100
|
// Bypass navigation requests.
|
|
81
101
|
if (request.mode === 'navigate') {
|
|
82
102
|
return
|
|
83
103
|
}
|
|
104
|
+
|
|
84
105
|
// Opening the DevTools triggers the "only-if-cached" request
|
|
85
106
|
// that cannot be handled by the worker. Bypass such requests.
|
|
86
107
|
if (request.cache === 'only-if-cached' && request.mode !== 'same-origin') {
|
|
87
108
|
return
|
|
88
109
|
}
|
|
110
|
+
|
|
89
111
|
// Bypass all requests when there are no active clients.
|
|
90
112
|
// Prevents the self-unregistered worked from handling requests
|
|
91
113
|
// after it's been deleted (still remains active until the next reload).
|
|
92
114
|
if (activeClientIds.size === 0) {
|
|
93
115
|
return
|
|
94
116
|
}
|
|
117
|
+
|
|
95
118
|
// Generate unique request ID.
|
|
96
119
|
const requestId = crypto.randomUUID()
|
|
97
120
|
event.respondWith(handleRequest(event, requestId))
|
|
98
121
|
})
|
|
122
|
+
|
|
99
123
|
async function handleRequest(event, requestId) {
|
|
100
124
|
const client = await resolveMainClient(event)
|
|
101
125
|
const response = await getResponse(event, client, requestId)
|
|
126
|
+
|
|
102
127
|
// Send back the response clone for the "response:*" life-cycle events.
|
|
103
128
|
// Ensure MSW is active and ready to handle the message, otherwise
|
|
104
129
|
// this message will pend indefinitely.
|
|
105
130
|
if (client && activeClientIds.has(client.id)) {
|
|
106
131
|
;(async function () {
|
|
107
132
|
const responseClone = response.clone()
|
|
133
|
+
|
|
108
134
|
sendToClient(
|
|
109
135
|
client,
|
|
110
136
|
{
|
|
@@ -123,23 +149,29 @@ async function handleRequest(event, requestId) {
|
|
|
123
149
|
)
|
|
124
150
|
})()
|
|
125
151
|
}
|
|
152
|
+
|
|
126
153
|
return response
|
|
127
154
|
}
|
|
155
|
+
|
|
128
156
|
// Resolve the main client for the given event.
|
|
129
157
|
// Client that issues a request doesn't necessarily equal the client
|
|
130
158
|
// that registered the worker. It's with the latter the worker should
|
|
131
159
|
// communicate with during the response resolving phase.
|
|
132
160
|
async function resolveMainClient(event) {
|
|
133
161
|
const client = await self.clients.get(event.clientId)
|
|
162
|
+
|
|
134
163
|
if (activeClientIds.has(event.clientId)) {
|
|
135
164
|
return client
|
|
136
165
|
}
|
|
166
|
+
|
|
137
167
|
if (client?.frameType === 'top-level') {
|
|
138
168
|
return client
|
|
139
169
|
}
|
|
170
|
+
|
|
140
171
|
const allClients = await self.clients.matchAll({
|
|
141
172
|
type: 'window',
|
|
142
173
|
})
|
|
174
|
+
|
|
143
175
|
return allClients
|
|
144
176
|
.filter((client) => {
|
|
145
177
|
// Get only those clients that are currently visible.
|
|
@@ -151,15 +183,19 @@ async function resolveMainClient(event) {
|
|
|
151
183
|
return activeClientIds.has(client.id)
|
|
152
184
|
})
|
|
153
185
|
}
|
|
186
|
+
|
|
154
187
|
async function getResponse(event, client, requestId) {
|
|
155
188
|
const { request } = event
|
|
189
|
+
|
|
156
190
|
// Clone the request because it might've been already used
|
|
157
191
|
// (i.e. its body has been read and sent to the client).
|
|
158
192
|
const requestClone = request.clone()
|
|
193
|
+
|
|
159
194
|
function passthrough() {
|
|
160
195
|
// Cast the request headers to a new Headers instance
|
|
161
196
|
// so the headers can be manipulated with.
|
|
162
197
|
const headers = new Headers(requestClone.headers)
|
|
198
|
+
|
|
163
199
|
// Remove the "accept" header value that marked this request as passthrough.
|
|
164
200
|
// This prevents request alteration and also keeps it compliant with the
|
|
165
201
|
// user-defined CORS policies.
|
|
@@ -169,18 +205,22 @@ async function getResponse(event, client, requestId) {
|
|
|
169
205
|
const filteredValues = values.filter(
|
|
170
206
|
(value) => value !== 'msw/passthrough',
|
|
171
207
|
)
|
|
208
|
+
|
|
172
209
|
if (filteredValues.length > 0) {
|
|
173
210
|
headers.set('accept', filteredValues.join(', '))
|
|
174
211
|
} else {
|
|
175
212
|
headers.delete('accept')
|
|
176
213
|
}
|
|
177
214
|
}
|
|
215
|
+
|
|
178
216
|
return fetch(requestClone, { headers })
|
|
179
217
|
}
|
|
218
|
+
|
|
180
219
|
// Bypass mocking when the client is not active.
|
|
181
220
|
if (!client) {
|
|
182
221
|
return passthrough()
|
|
183
222
|
}
|
|
223
|
+
|
|
184
224
|
// Bypass initial page load requests (i.e. static assets).
|
|
185
225
|
// The absence of the immediate/parent client in the map of the active clients
|
|
186
226
|
// means that MSW hasn't dispatched the "MOCK_ACTIVATE" event yet
|
|
@@ -188,6 +228,7 @@ async function getResponse(event, client, requestId) {
|
|
|
188
228
|
if (!activeClientIds.has(client.id)) {
|
|
189
229
|
return passthrough()
|
|
190
230
|
}
|
|
231
|
+
|
|
191
232
|
// Notify the client that a request has been intercepted.
|
|
192
233
|
const requestBuffer = await request.arrayBuffer()
|
|
193
234
|
const clientMessage = await sendToClient(
|
|
@@ -213,31 +254,39 @@ async function getResponse(event, client, requestId) {
|
|
|
213
254
|
},
|
|
214
255
|
[requestBuffer],
|
|
215
256
|
)
|
|
257
|
+
|
|
216
258
|
switch (clientMessage.type) {
|
|
217
259
|
case 'MOCK_RESPONSE': {
|
|
218
260
|
return respondWithMock(clientMessage.data)
|
|
219
261
|
}
|
|
262
|
+
|
|
220
263
|
case 'PASSTHROUGH': {
|
|
221
264
|
return passthrough()
|
|
222
265
|
}
|
|
223
266
|
}
|
|
267
|
+
|
|
224
268
|
return passthrough()
|
|
225
269
|
}
|
|
270
|
+
|
|
226
271
|
function sendToClient(client, message, transferrables = []) {
|
|
227
272
|
return new Promise((resolve, reject) => {
|
|
228
273
|
const channel = new MessageChannel()
|
|
274
|
+
|
|
229
275
|
channel.port1.onmessage = (event) => {
|
|
230
276
|
if (event.data && event.data.error) {
|
|
231
277
|
return reject(event.data.error)
|
|
232
278
|
}
|
|
279
|
+
|
|
233
280
|
resolve(event.data)
|
|
234
281
|
}
|
|
282
|
+
|
|
235
283
|
client.postMessage(
|
|
236
284
|
message,
|
|
237
285
|
[channel.port2].concat(transferrables.filter(Boolean)),
|
|
238
286
|
)
|
|
239
287
|
})
|
|
240
288
|
}
|
|
289
|
+
|
|
241
290
|
async function respondWithMock(response) {
|
|
242
291
|
// Setting response status code to 0 is a no-op.
|
|
243
292
|
// However, when responding with a "Response.error()", the produced Response
|
|
@@ -246,10 +295,13 @@ async function respondWithMock(response) {
|
|
|
246
295
|
if (response.status === 0) {
|
|
247
296
|
return Response.error()
|
|
248
297
|
}
|
|
298
|
+
|
|
249
299
|
const mockedResponse = new Response(response.body, response)
|
|
300
|
+
|
|
250
301
|
Reflect.defineProperty(mockedResponse, IS_MOCKED_RESPONSE, {
|
|
251
302
|
value: true,
|
|
252
303
|
enumerable: true,
|
|
253
304
|
})
|
|
305
|
+
|
|
254
306
|
return mockedResponse
|
|
255
307
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.147",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"lint-staged": {
|
|
6
|
-
"*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
|
|
6
|
+
"*.{js,ts,tsx}": "eslint --fix --max-warnings 0 --no-warn-ignored"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@geoman-io/leaflet-geoman-free": "^2.14.2",
|