@m4l/components 9.20.0 → 9.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/AccountPopover/AccountPopover.d.ts.map +1 -1
- package/components/AccountPopover/AccountPopover.js +43 -39
- package/components/AccountPopover/constants.d.ts +3 -0
- package/components/AccountPopover/constants.d.ts.map +1 -1
- package/components/AccountPopover/constants.js +11 -3
- package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +7 -7
- package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.d.ts.map +1 -1
- package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +45 -43
- package/components/AccountPopover/types.d.ts +9 -0
- package/components/AccountPopover/types.d.ts.map +1 -1
- package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts +2 -2
- package/components/AppBar/AppBar.d.ts +3 -18
- package/components/AppBar/AppBar.d.ts.map +1 -1
- package/components/AppBar/AppBar.js +64 -45
- package/components/AppBar/slots/AppBarEnum.d.ts +3 -1
- package/components/AppBar/slots/AppBarEnum.d.ts.map +1 -1
- package/components/AppBar/slots/AppBarEnum.js +2 -2
- package/components/AppBar/slots/AppBarSlots.d.ts +7 -1
- package/components/AppBar/slots/AppBarSlots.d.ts.map +1 -1
- package/components/AppBar/slots/AppBarSlots.js +30 -22
- package/components/AppBar/styles.d.ts.map +1 -1
- package/components/AppBar/styles.js +90 -47
- package/components/AppBar/types.d.ts +63 -29
- package/components/AppBar/types.d.ts.map +1 -1
- package/components/Card/constants.d.ts +1 -1
- package/components/CheckableList/slots/styled.d.ts +9 -9
- package/components/Chip/slots/ChipSlots.d.ts +4 -4
- package/components/ColorPicker/slots/ColorPickerSlots.d.ts +2 -2
- package/components/CommonActions/classes/index.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/ActionFormSubmitProgrammatic/slots/ActionFormSubmitProgrammaticSlots.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/DateRangeCalendarPicker/constants.d.ts +1 -1
- package/components/DateTimeRangePicker/slots/DateTimeRangePickerSlots.d.ts +9 -9
- package/components/DaysOfMonthPicker/slots/DaysOfMonthPickerSlots.d.ts +1 -1
- package/components/DaysOfWeekPicker/constants.d.ts +1 -1
- package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerSlots.d.ts +1 -1
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +7 -7
- package/components/DynamicForm/constants.d.ts +1 -1
- package/components/DynamicForm/slots/DynamicFormSlots.d.ts +3 -3
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +7 -7
- package/components/EditLabel/constants.d.ts +1 -1
- package/components/EditLabel/slots/EditLabelSlots.d.ts +4 -4
- package/components/GridLayout/classes/index.d.ts +1 -1
- package/components/HelperError/slots/HelperErrorSlots.d.ts +1 -1
- package/components/ImageSelector/constants.d.ts +1 -1
- package/components/ImageSelector/slots/ImageSelectorSlots.d.ts +4 -4
- package/components/ImageText/constants.d.ts +1 -1
- package/components/ImageText/slots/ImageTextSlots.d.ts +2 -2
- package/components/Label/slots/LabelSlots.d.ts +2 -2
- package/components/LanguagePopover/LanguagePopover.d.ts +7 -7
- package/components/LanguagePopover/LanguagePopover.d.ts.map +1 -1
- package/components/LanguagePopover/LanguagePopover.js +40 -36
- package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +1 -1
- package/components/LanguagePopover/types.d.ts +12 -3
- package/components/LanguagePopover/types.d.ts.map +1 -1
- package/components/LoadingError/LoadingError.js +4 -4
- package/components/LoadingError/slots/LoadingErrorSlots.d.ts +1 -1
- package/components/MFIsolationApp/slots/MFIsolationAppSlots.d.ts +2 -2
- package/components/MenuActions/slots/MenuActionsSlots.d.ts +2 -2
- package/components/MenuActions/types.d.ts +1 -1
- package/components/MenuActions/types.d.ts.map +1 -1
- package/components/ModalDialog/slots/ModalDialogSlots.d.ts +2 -2
- package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
- package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +2 -2
- package/components/Pager/slots/PagerSlots.d.ts +3 -3
- package/components/PaperForm/slots/PaperFormSlots.d.ts +1 -1
- package/components/PropertyValue/slots/PropertyValueSlots.d.ts +1 -1
- package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +3 -3
- package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
- package/components/Stepper/slots/StepperSlot.d.ts +4 -4
- package/components/TabsNavigator/constants.d.ts +1 -1
- package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts +3 -3
- package/components/TimePicker/slots/TimePickerSlots.d.ts +8 -8
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +4 -4
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +2 -2
- package/components/WindowConfirm/WindowConfirm.js +10 -10
- package/components/WindowConfirm/WindowConfirm.styles.d.ts.map +1 -1
- package/components/WindowConfirm/WindowConfirm.styles.js +26 -5
- package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +5 -5
- package/components/areas/components/AreasAdmin/AreasAdmin.d.ts +1 -2
- package/components/areas/components/AreasAdmin/AreasAdmin.d.ts.map +1 -1
- package/components/areas/components/AreasAdmin/AreasAdmin.js +295 -119
- package/components/areas/components/AreasAdmin/AreasAdmin.styles.d.ts.map +1 -1
- package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +309 -70
- package/components/areas/components/AreasAdmin/constants.d.ts +8 -0
- package/components/areas/components/AreasAdmin/constants.d.ts.map +1 -1
- package/components/areas/components/AreasAdmin/constants.js +10 -2
- package/components/areas/components/AreasAdmin/slots/AreasAdminEnum.d.ts +19 -0
- package/components/areas/components/AreasAdmin/slots/AreasAdminEnum.d.ts.map +1 -1
- package/components/areas/components/AreasAdmin/slots/AreasAdminEnum.js +2 -2
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +66 -9
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts.map +1 -1
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.js +176 -93
- package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/ContainerModules.d.ts +6 -0
- package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/ContainerModules.d.ts.map +1 -0
- package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/ContainerModules.js +191 -0
- package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/index.d.ts +2 -0
- package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/index.d.ts.map +1 -0
- package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/types.d.ts +37 -0
- package/components/areas/components/AreasAdmin/subcomponents/ContainerModules/types.d.ts.map +1 -0
- package/components/areas/components/AreasAdmin/types.d.ts +29 -3
- package/components/areas/components/AreasAdmin/types.d.ts.map +1 -1
- package/components/areas/dictionary.d.ts +3 -0
- package/components/areas/dictionary.d.ts.map +1 -1
- package/components/areas/dictionary.js +4 -1
- package/components/areas/hooks/index.d.ts +1 -1
- package/components/areas/hooks/index.d.ts.map +1 -1
- package/components/areas/hooks/useAreas/index.d.ts +5 -0
- package/components/areas/hooks/useAreas/index.d.ts.map +1 -1
- package/components/areas/hooks/useAreas/index.js +16 -7
- package/components/areas/icons.js +3 -10
- package/components/datagrids/slots/DataGridSlot.d.ts +6 -6
- package/components/extended/React-Resizable/ResizableBox/slots/ResizableBoxSlots.d.ts +1 -1
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +5 -5
- package/components/extended/mui/Accordion/slots/AccordionSlots.d.ts +4 -4
- package/components/extended/mui/Autocomplete/constants.d.ts +1 -1
- package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.d.ts +6 -6
- package/components/extended/mui/Avatar/slots/AvatarSlots.d.ts +1 -1
- package/components/extended/mui/Badge/slots/BadgeSlots.d.ts +1 -1
- package/components/extended/mui/Button/slots/ButtonSlots.d.ts +2 -2
- package/components/extended/mui/CheckBox/slots/CheckBoxSlots.d.ts +2 -2
- package/components/extended/mui/DatePicker/constants.d.ts +1 -1
- package/components/extended/mui/DatePicker/slots/DatePickerSlots.d.ts +3 -3
- package/components/extended/mui/DateTimePicker/slots/DateTimePickerSlots.d.ts +4 -4
- package/components/extended/mui/Divider/slots/DividerSlots.d.ts +1 -1
- package/components/extended/mui/IconButton/slots/IconButtonSlots.d.ts +1 -1
- package/components/extended/mui/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
- package/components/extended/mui/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
- package/components/extended/mui/MenuItem/slots/MenuItemSlots.d.ts +4 -4
- package/components/extended/mui/NavLink/slots/NavLinkSlots.d.ts +1 -1
- package/components/extended/mui/Popover/Popover.d.ts.map +1 -1
- package/components/extended/mui/Popover/Popover.js +41 -41
- package/components/extended/mui/Popper/slots/PopperStlots.d.ts +1 -1
- package/components/extended/mui/Radio/constants.d.ts +1 -1
- package/components/extended/mui/Radio/slots/styled.d.ts +2 -2
- package/components/extended/mui/Select/constants.d.ts +1 -1
- package/components/extended/mui/Select/slots/SelectSlots.d.ts +5 -5
- package/components/extended/mui/Skeleton/Slots/skeletonSlots.d.ts +1 -1
- package/components/extended/mui/Stack/slots/StackSlot.d.ts +1 -1
- package/components/extended/mui/Switch/constants.d.ts +1 -1
- package/components/extended/mui/Switch/slots/SwitchSlots.d.ts +2 -2
- package/components/extended/mui/Tab/Slots/TabSlots.d.ts +4 -4
- package/components/extended/mui/Tab/constants.d.ts +1 -1
- package/components/extended/mui/Tabs/slots/TabsSlots.d.ts +1 -1
- package/components/extended/mui/TextField/constants.d.ts +1 -1
- package/components/extended/mui/TextField/slots/TextFieldSlots.d.ts +4 -4
- package/components/extended/mui/TimePicker/slots/TimePickerSlots.d.ts +3 -3
- package/components/extended/mui/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
- package/components/extended/mui/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +1 -1
- package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.d.ts +1 -1
- package/components/formatters/DateFormatter/slots/DateFormatterSlots.d.ts +1 -1
- package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.d.ts +1 -1
- package/components/formatters/ImageFormatter/constants.d.ts +1 -1
- package/components/formatters/ImageFormatter/slots/ImageFormatterSlots.d.ts +1 -1
- package/components/formatters/NestedFormatter/constants.d.ts +1 -1
- package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.d.ts +1 -1
- package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.d.ts +1 -1
- package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.d.ts +1 -1
- package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.d.ts +1 -1
- package/components/hook-form/RHFCheckableList/constants.d.ts +1 -1
- package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
- package/components/hook-form/RHFDatePicker/slots/RHFDatePickerSlots.d.ts +3 -3
- package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
- package/components/hook-form/RHFRadioGroup/constants.d.ts +1 -1
- package/components/hook-form/RHFRadioGroup/slots/styled.d.ts +1 -1
- package/components/hook-form/RHFSelect/constants.d.ts +1 -1
- package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
- 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/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +3 -3
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/constants.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +7 -7
- package/components/hook-form/RHFormProvider/classes/index.d.ts +1 -1
- package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +4 -4
- package/index.js +674 -673
- package/package.json +7 -7
- package/test/mocks/dictionary-mock.d.ts +1 -0
- package/test/mocks/dictionary-mock.d.ts.map +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +0 -171
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/ChipActionsMobile.js +0 -45
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/AreaChipMobile.js +0 -69
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +0 -149
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.21.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"clsx": "2.1.1",
|
|
41
41
|
"framer-motion": "6.5.1",
|
|
42
42
|
"@mui/material": "patch:@mui/material@npm%3A5.16.7#~/.yarn/patches/@mui-material-npm-5.16.7-7070122752.patch",
|
|
43
|
+
"yup": "0.32.11",
|
|
43
44
|
"zustand": "4.3.6",
|
|
44
45
|
"react-hook-form": "7.71.1",
|
|
45
46
|
"fast-equals": "5.4.0",
|
|
46
47
|
"lodash-es": "4.17.23",
|
|
47
|
-
"yup": "0.32.11",
|
|
48
48
|
"@textea/json-viewer": "4.0.1",
|
|
49
49
|
"react-dom": "19.2.4",
|
|
50
50
|
"react-helmet-async": "2.0.5",
|
|
@@ -52,17 +52,17 @@
|
|
|
52
52
|
"nprogress": "0.2.0",
|
|
53
53
|
"react-transition-group": "4.4.5",
|
|
54
54
|
"react-color": "2.19.3",
|
|
55
|
-
"react-rnd": "10.5.2",
|
|
56
|
-
"@mui/x-date-pickers": "6.20.2",
|
|
57
55
|
"react-draggable": "4.5.0",
|
|
58
|
-
"react-dropzone": "14.4.1",
|
|
59
56
|
"react-spinners": "0.13.8",
|
|
60
57
|
"date-fns": "2.30.0",
|
|
58
|
+
"@mui/x-date-pickers": "6.20.2",
|
|
59
|
+
"react-rnd": "10.5.2",
|
|
60
|
+
"react-dropzone": "14.4.1",
|
|
61
|
+
"simplebar-react": "3.2.6",
|
|
62
|
+
"react-resizable-panels": "2.1.9",
|
|
61
63
|
"chart.js": "4.5.1",
|
|
62
64
|
"chartjs-chart-error-bars": "4.4.5",
|
|
63
65
|
"qrcode.react": "3.2.0",
|
|
64
|
-
"simplebar-react": "3.2.6",
|
|
65
|
-
"react-resizable-panels": "2.1.9",
|
|
66
66
|
"react-data-grid": "7.0.0-beta.47",
|
|
67
67
|
"react-dnd": "16.0.1",
|
|
68
68
|
"react-dnd-html5-backend": "16.0.1",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary-mock.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/test/mocks/dictionary-mock.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE;QACJ,2BAA2B,EAAE,MAAM,CAAC;QACpC,sBAAsB,EAAE,MAAM,CAAC;QAC/B,eAAe,EAAE,MAAM,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;QACrB,gBAAgB,EAAE,MAAM,CAAC;QACzB,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;QACzB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,QAAQ,EAAE,MAAM,CAAC;QACjB,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,sBAAsB,EAAE,MAAM,CAAC;QAC/B,oBAAoB,EAAE,MAAM,CAAC;QAC7B,eAA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,EAAE,MAAM,CAAC;QAC5B,iBAAiB,EAAE,MAAM,CAAC;QAC1B,iBAAiB,EAAE,MAAM,CAAC;QAC1B,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,YAAY,EAAE;QACZ,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBA+ZhC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GAAI,YAAW,OAAO,CAAC,kBAAkB,CAAM,KAAG,kBAaxF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,GAAI,WAAU,IAAI,GAAG,IAAW,KAAG,kBAoB5E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GAAI,YAAY,MAAM,KAAG,kBAS/D,CAAC"}
|
|
1
|
+
{"version":3,"file":"dictionary-mock.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/test/mocks/dictionary-mock.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE;QACJ,2BAA2B,EAAE,MAAM,CAAC;QACpC,sBAAsB,EAAE,MAAM,CAAC;QAC/B,eAAe,EAAE,MAAM,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;QACrB,gBAAgB,EAAE,MAAM,CAAC;QACzB,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;QACzB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,QAAQ,EAAE,MAAM,CAAC;QACjB,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,sBAAsB,EAAE,MAAM,CAAC;QAC/B,oBAAoB,EAAE,MAAM,CAAC;QAC7B,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE,MAAM,C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;QAC5B,iBAAiB,EAAE,MAAM,CAAC;QAC1B,iBAAiB,EAAE,MAAM,CAAC;QAC1B,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,YAAY,EAAE;QACZ,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAgahC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GAAI,YAAW,OAAO,CAAC,kBAAkB,CAAM,KAAG,kBAaxF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,GAAI,WAAU,IAAI,GAAG,IAAW,KAAG,kBAoB5E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GAAI,YAAY,MAAM,KAAG,kBAS/D,CAAC"}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { jsxs as p, Fragment as H, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { useState as L, useRef as y, useMemo as Y } from "react";
|
|
3
|
-
import * as B from "yup";
|
|
4
|
-
import { useAreasStore as d } from "../../../../hooks/useAreas/index.js";
|
|
5
|
-
import { Typography as q } from "@m4l/base";
|
|
6
|
-
import { useIsMobile as K } from "@m4l/graphics";
|
|
7
|
-
import { ChipActionsMobile as U } from "./subcomponents/ChipActionsMobile/ChipActionsMobile.js";
|
|
8
|
-
import { shallow as I } from "zustand/shallow";
|
|
9
|
-
import { AreaChipRootStyled as G, AreaContainerChipEditButtonStyled as J, ChipAreasStyled as Q, MenuActionsChipStyled as W, EditAreaChipContainerStyled as X, EditAreaHeaderStyled as Z } from "../../slots/AreasAdminSlots.js";
|
|
10
|
-
import { useComponentSize as ee } from "../../../../../../hooks/useComponentSize/index.js";
|
|
11
|
-
import { useModuleDictionary as te, useEnvironment as oe } from "@m4l/core";
|
|
12
|
-
import { ICONS as A } from "../../../../icons.js";
|
|
13
|
-
import { getAreasDictionary as i, AREAS_DICCTIONARY as a } from "../../../../dictionary.js";
|
|
14
|
-
import { AREAS_ADMIN_KEY_COMPONENT as re } from "../../constants.js";
|
|
15
|
-
import { getComponentClasses as ne } from "../../../../../../utils/getComponentSlotRoot.js";
|
|
16
|
-
import { createValidationSchema as ie, createValidationFullObject as ae, createValidationPartialObject as se } from "../../../../../hook-form/RHFormProvider/schema.js";
|
|
17
|
-
import { AreasAdminSlots as le } from "../../slots/AreasAdminEnum.js";
|
|
18
|
-
import { RHFormProvider as ce } from "../../../../../hook-form/RHFormProvider/RHFormProvider.js";
|
|
19
|
-
import { RHFTextField as me } from "../../../../../hook-form/RHFTextField/RHFTextField.js";
|
|
20
|
-
import { ActionsContainer as pe } from "../../../../../CommonActions/components/ActionsContainer/ActionsContainer.js";
|
|
21
|
-
import { Popover as de } from "../../../../../extended/mui/Popover/Popover.js";
|
|
22
|
-
import { ActionCancel as Ae } from "../../../../../CommonActions/components/ActionCancel/ActionCancel.js";
|
|
23
|
-
import { ActionIntro as ue } from "../../../../../CommonActions/components/ActionIntro/ActionIntro.js";
|
|
24
|
-
const fe = (O) => {
|
|
25
|
-
const {
|
|
26
|
-
areaId: o,
|
|
27
|
-
selected: s,
|
|
28
|
-
disabled: R,
|
|
29
|
-
setAnchorMenuAreas: u,
|
|
30
|
-
size: f,
|
|
31
|
-
color: v
|
|
32
|
-
} = O, { selectArea: h, editArea: $, deleteArea: M } = d((e) => e.areasActions), C = d((e) => e.hashAreas[o].name, I), z = d((e) => e.areasIds, I), [T, n] = L(!1), S = y(null), { currentSize: l } = ee(f), E = K(), { getLabel: r } = te(), { host_static_assets: c, environment_assets: m } = oe(), _ = !R && z.length > 1, w = (e) => {
|
|
33
|
-
_ && (e.stopPropagation(), M(o));
|
|
34
|
-
}, k = (e) => {
|
|
35
|
-
$(o, e.inputEditArea), n(!1);
|
|
36
|
-
}, D = (e) => {
|
|
37
|
-
e?.stopPropagation(), n(!0);
|
|
38
|
-
}, N = {
|
|
39
|
-
inputEditArea: C
|
|
40
|
-
}, P = Y(
|
|
41
|
-
() => ie(ae(se({
|
|
42
|
-
inputEditArea: B.string().required(
|
|
43
|
-
r(i(a.validation_edit_area))
|
|
44
|
-
)
|
|
45
|
-
}))),
|
|
46
|
-
[r]
|
|
47
|
-
), j = (e) => {
|
|
48
|
-
u && u(e.currentTarget), h(o);
|
|
49
|
-
}, b = y(null), F = (e) => {
|
|
50
|
-
b.current && b.current.stop(e);
|
|
51
|
-
}, g = {
|
|
52
|
-
isMobile: E,
|
|
53
|
-
color: v,
|
|
54
|
-
size: l === "small" || l === "medium" ? l : "medium",
|
|
55
|
-
isAreaSelected: s
|
|
56
|
-
}, V = [
|
|
57
|
-
{
|
|
58
|
-
type: "menuItem",
|
|
59
|
-
startIcon: `${c}/${m}/frontend/components/areas/assets/icons/${A.EDIT_AREA}`,
|
|
60
|
-
label: `${r(i(a.label_edit_area))}`,
|
|
61
|
-
onClick: D
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
type: "menuItem",
|
|
65
|
-
startIcon: `${c}/${m}/frontend/components/areas/assets/icons/${A.DELETE_AREA}`,
|
|
66
|
-
label: `${r(i(a.label_delete_area))}`,
|
|
67
|
-
onClick: w,
|
|
68
|
-
color: "error",
|
|
69
|
-
disabled: !_
|
|
70
|
-
}
|
|
71
|
-
], x = ne(re, le);
|
|
72
|
-
return /* @__PURE__ */ p(H, { children: [
|
|
73
|
-
/* @__PURE__ */ t(
|
|
74
|
-
G,
|
|
75
|
-
{
|
|
76
|
-
role: "presentation",
|
|
77
|
-
ref: S,
|
|
78
|
-
onMouseUp: F,
|
|
79
|
-
onClick: (e) => {
|
|
80
|
-
j(e);
|
|
81
|
-
},
|
|
82
|
-
children: E ? /* @__PURE__ */ t(
|
|
83
|
-
U,
|
|
84
|
-
{}
|
|
85
|
-
) : /* @__PURE__ */ t(
|
|
86
|
-
J,
|
|
87
|
-
{
|
|
88
|
-
children: /* @__PURE__ */ t(
|
|
89
|
-
Q,
|
|
90
|
-
{
|
|
91
|
-
opacity: !s,
|
|
92
|
-
color: s ? "primary" : "default",
|
|
93
|
-
ownerState: { ...g },
|
|
94
|
-
onClick: () => h(o),
|
|
95
|
-
size: f,
|
|
96
|
-
label: `${C}`,
|
|
97
|
-
endIcon: /* @__PURE__ */ t(
|
|
98
|
-
W,
|
|
99
|
-
{
|
|
100
|
-
className: x.menuActionsChip,
|
|
101
|
-
ownerState: { ...g },
|
|
102
|
-
icon: `${c}/${m}/frontend/components/window_base/assets/icons/${A.MORE_VERTICAL}`,
|
|
103
|
-
arrowType: "no-arrow",
|
|
104
|
-
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
105
|
-
transformOrigin: { vertical: "top", horizontal: "right" },
|
|
106
|
-
menuActions: V
|
|
107
|
-
}
|
|
108
|
-
)
|
|
109
|
-
}
|
|
110
|
-
)
|
|
111
|
-
}
|
|
112
|
-
)
|
|
113
|
-
}
|
|
114
|
-
),
|
|
115
|
-
/* @__PURE__ */ t(
|
|
116
|
-
X,
|
|
117
|
-
{
|
|
118
|
-
role: "presentation",
|
|
119
|
-
onClick: (e) => {
|
|
120
|
-
e.stopPropagation();
|
|
121
|
-
},
|
|
122
|
-
children: /* @__PURE__ */ t(
|
|
123
|
-
de,
|
|
124
|
-
{
|
|
125
|
-
arrowType: "top-center",
|
|
126
|
-
open: T,
|
|
127
|
-
anchorEl: S.current,
|
|
128
|
-
anchorOrigin: { vertical: "bottom", horizontal: "center" },
|
|
129
|
-
transformOrigin: { vertical: "top", horizontal: "center" },
|
|
130
|
-
onClose: () => {
|
|
131
|
-
n(!1);
|
|
132
|
-
},
|
|
133
|
-
children: /* @__PURE__ */ p(
|
|
134
|
-
ce,
|
|
135
|
-
{
|
|
136
|
-
onSubmit: k,
|
|
137
|
-
values: N,
|
|
138
|
-
validationSchema: P,
|
|
139
|
-
children: [
|
|
140
|
-
/* @__PURE__ */ t(Z, { children: /* @__PURE__ */ t(q, { children: r(i(a.label_edit_area)) }) }),
|
|
141
|
-
/* @__PURE__ */ t(
|
|
142
|
-
me,
|
|
143
|
-
{
|
|
144
|
-
name: "inputEditArea"
|
|
145
|
-
}
|
|
146
|
-
),
|
|
147
|
-
/* @__PURE__ */ p(pe, { children: [
|
|
148
|
-
/* @__PURE__ */ t(
|
|
149
|
-
Ae,
|
|
150
|
-
{
|
|
151
|
-
onClick: () => {
|
|
152
|
-
n(!1);
|
|
153
|
-
},
|
|
154
|
-
variant: "outlined"
|
|
155
|
-
}
|
|
156
|
-
),
|
|
157
|
-
/* @__PURE__ */ t(ue, {})
|
|
158
|
-
] })
|
|
159
|
-
]
|
|
160
|
-
}
|
|
161
|
-
)
|
|
162
|
-
}
|
|
163
|
-
)
|
|
164
|
-
}
|
|
165
|
-
)
|
|
166
|
-
] });
|
|
167
|
-
};
|
|
168
|
-
fe.displayName = "AreaButtons";
|
|
169
|
-
export {
|
|
170
|
-
fe as AreaChip
|
|
171
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { jsx as a, Fragment as p } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { useEnvironment as I } from "@m4l/core";
|
|
3
|
-
import { ICONS as A } from "../../../../../../icons.js";
|
|
4
|
-
import { useAreasStore as r } from "../../../../../../hooks/useAreas/index.js";
|
|
5
|
-
import { shallow as e } from "zustand/shallow";
|
|
6
|
-
import { MenuActions as f } from "../../../../../../../MenuActions/MenuActions.js";
|
|
7
|
-
const b = () => {
|
|
8
|
-
const { host_static_assets: c, environment_assets: m } = I(), n = r((o) => o.currentAreaId, e), s = r(
|
|
9
|
-
(o) => o.hashAreas[n] ? o.hashAreas[n].maximizedId : !1,
|
|
10
|
-
e
|
|
11
|
-
), { maximizeLayout: h } = r((o) => o.areaActions), l = r(
|
|
12
|
-
(o) => o.hashAreas[o.currentAreaId]?.layoutItemsIds?.filter((t) => o.hashWindows[t].emergeType === "layout")?.map((t) => {
|
|
13
|
-
const i = o.hashWindows[t];
|
|
14
|
-
return {
|
|
15
|
-
i: i.windowId,
|
|
16
|
-
url_icon: i.iconUrl,
|
|
17
|
-
title: i.title
|
|
18
|
-
};
|
|
19
|
-
}) ?? [],
|
|
20
|
-
e
|
|
21
|
-
), u = (o) => {
|
|
22
|
-
h(n, o);
|
|
23
|
-
}, d = l.map((o) => ({
|
|
24
|
-
type: "menuItem",
|
|
25
|
-
onClick: () => u(o.i),
|
|
26
|
-
label: o.title,
|
|
27
|
-
urlIcon: o.url_icon,
|
|
28
|
-
checkable: !0,
|
|
29
|
-
checked: s === o.i
|
|
30
|
-
}));
|
|
31
|
-
return /* @__PURE__ */ a(p, { children: s && /* @__PURE__ */ a(
|
|
32
|
-
f,
|
|
33
|
-
{
|
|
34
|
-
icon: `${c}/${m}/frontend/components/areas_admin/assets/icons/${A.PENDING_ORDER}`,
|
|
35
|
-
arrowType: "no-arrow",
|
|
36
|
-
marginTop: "12px",
|
|
37
|
-
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
38
|
-
transformOrigin: { vertical: "top", horizontal: "right" },
|
|
39
|
-
menuActions: d
|
|
40
|
-
}
|
|
41
|
-
) });
|
|
42
|
-
};
|
|
43
|
-
export {
|
|
44
|
-
b as ChipActionsMobile
|
|
45
|
-
};
|
package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/AreaChipMobile.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { jsxs as b, jsx as r } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { useAreasStore as o } from "../../../../hooks/useAreas/index.js";
|
|
3
|
-
import { shallow as l } from "zustand/shallow";
|
|
4
|
-
import { useModuleDictionary as C, useEnvironment as I } from "@m4l/core";
|
|
5
|
-
import { ICONS as m } from "../../../../icons.js";
|
|
6
|
-
import { useMemo as g } from "react";
|
|
7
|
-
import { getAreasDictionary as A, AREAS_DICCTIONARY as u } from "../../../../dictionary.js";
|
|
8
|
-
import { ChipMobile as S } from "./subcomponents/ChipMobile/ChipMobile.js";
|
|
9
|
-
import { AreaChipMobileRootStyled as _, AddAreasMobileContainerStyled as y, MenuActionsAreaChipMobileStyled as $, ButtonAddAreaStyled as w } from "../../slots/AreasAdminSlots.js";
|
|
10
|
-
const L = () => {
|
|
11
|
-
const t = o(
|
|
12
|
-
(e) => e.areasIds.map((p) => ({ id: p, name: e.hashAreas[p].name })),
|
|
13
|
-
l
|
|
14
|
-
), { selectArea: h } = o((e) => e.areasActions), n = o((e) => e.currentAreaId, l), { addArea: f } = o((e) => e.areasActions, l), { getLabel: c } = C(), a = t.find((e) => e.id === n), { host_static_assets: i, environment_assets: s } = I(), d = g(() => t.length === 0 ? [
|
|
15
|
-
{
|
|
16
|
-
type: "menuItem",
|
|
17
|
-
startIcon: `${i}/${s}/frontend/components/areas/assets/icons/${m.CHECK}`,
|
|
18
|
-
onClick: () => {
|
|
19
|
-
},
|
|
20
|
-
label: c(A(u.label_no_areas_available)),
|
|
21
|
-
disabled: !0
|
|
22
|
-
}
|
|
23
|
-
] : t.map((e) => ({
|
|
24
|
-
type: "menuItem",
|
|
25
|
-
onClick: () => h(e.id),
|
|
26
|
-
label: e.name,
|
|
27
|
-
selected: e.id === n
|
|
28
|
-
})), [t, n]);
|
|
29
|
-
return /* @__PURE__ */ b(_, { "data-testid": "area-chip-mobile", ownerState: {}, children: [
|
|
30
|
-
d.length >= 0 ? /* @__PURE__ */ r(y, { ownerState: {}, children: /* @__PURE__ */ r(
|
|
31
|
-
$,
|
|
32
|
-
{
|
|
33
|
-
ownerState: {},
|
|
34
|
-
urlIcon: `${i}/${s}/frontend/components/areas/assets/icons/${m.CHEVRON_DOWN}`,
|
|
35
|
-
arrowType: "no-arrow",
|
|
36
|
-
marginTop: "12px!important",
|
|
37
|
-
marginLeft: "14px!important",
|
|
38
|
-
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
39
|
-
transformOrigin: { vertical: "top", horizontal: "right" },
|
|
40
|
-
menuActions: d,
|
|
41
|
-
endListElement: /* @__PURE__ */ r(
|
|
42
|
-
w,
|
|
43
|
-
{
|
|
44
|
-
color: "primary",
|
|
45
|
-
ownerState: {},
|
|
46
|
-
onClick: () => {
|
|
47
|
-
f();
|
|
48
|
-
},
|
|
49
|
-
variant: "contained",
|
|
50
|
-
endIcon: `${i}/${s}/frontend/components/areas/assets/icons/${m.ADD_AREA}`,
|
|
51
|
-
label: c(A(u.area_add_new))
|
|
52
|
-
}
|
|
53
|
-
)
|
|
54
|
-
}
|
|
55
|
-
) }) : null,
|
|
56
|
-
a ? /* @__PURE__ */ r(
|
|
57
|
-
S,
|
|
58
|
-
{
|
|
59
|
-
areaId: a.id,
|
|
60
|
-
selected: !0,
|
|
61
|
-
disabled: t.length === 1
|
|
62
|
-
},
|
|
63
|
-
a.id
|
|
64
|
-
) : null
|
|
65
|
-
] });
|
|
66
|
-
};
|
|
67
|
-
export {
|
|
68
|
-
L as AreaChipMobile
|
|
69
|
-
};
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import { jsxs as i, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { useEnvironment as w, useModuleDictionary as N } from "@m4l/core";
|
|
3
|
-
import { useState as V, useRef as b, useMemo as j } from "react";
|
|
4
|
-
import * as z from "yup";
|
|
5
|
-
import { shallow as E } from "zustand/shallow";
|
|
6
|
-
import F from "@mui/material/ButtonBase/TouchRipple";
|
|
7
|
-
import { useAreasStore as m } from "../../../../../../hooks/useAreas/index.js";
|
|
8
|
-
import { getAreasDictionary as a, AREAS_DICCTIONARY as s } from "../../../../../../dictionary.js";
|
|
9
|
-
import { Typography as L } from "@m4l/base";
|
|
10
|
-
import { ICONS as d } from "../../../../../../icons.js";
|
|
11
|
-
import { ChipActionsMobile as B } from "../../../AreaChip/subcomponents/ChipActionsMobile/ChipActionsMobile.js";
|
|
12
|
-
import { ChipMobileRootStyled as H, ChipMobileContentStyled as Y, NameChipMobileStyled as q, EditAreaChipMobileContainerStyled as U } from "../../../../slots/AreasAdminSlots.js";
|
|
13
|
-
import { RHFormProvider as G } from "../../../../../../../hook-form/RHFormProvider/RHFormProvider.js";
|
|
14
|
-
import { ActionsContainer as J } from "../../../../../../../CommonActions/components/ActionsContainer/ActionsContainer.js";
|
|
15
|
-
import { createValidationSchema as K, createValidationFullObject as Q, createValidationPartialObject as W } from "../../../../../../../hook-form/RHFormProvider/schema.js";
|
|
16
|
-
import { MenuActions as X } from "../../../../../../../MenuActions/MenuActions.js";
|
|
17
|
-
import { Popover as Z } from "../../../../../../../extended/mui/Popover/Popover.js";
|
|
18
|
-
import { RHFTextField as ee } from "../../../../../../../hook-form/RHFTextField/RHFTextField.js";
|
|
19
|
-
import { ActionCancel as oe } from "../../../../../../../CommonActions/components/ActionCancel/ActionCancel.js";
|
|
20
|
-
import { ActionIntro as te } from "../../../../../../../CommonActions/components/ActionIntro/ActionIntro.js";
|
|
21
|
-
const re = F, ne = (g) => {
|
|
22
|
-
const { areaId: r, selected: _, disabled: h, setAnchorMenuAreas: f } = g, { host_static_assets: l, environment_assets: c } = w(), { deleteArea: v, selectArea: R, editArea: y } = m((e) => e.areasActions), u = m((e) => e.hashAreas[r].name, E), M = m((e) => e.areasIds, E), [S, n] = V(!1), { getLabel: t } = N(), A = b(null), C = !h && M.length > 1, I = (e) => {
|
|
23
|
-
C && (e.stopPropagation(), v(r));
|
|
24
|
-
}, O = (e) => {
|
|
25
|
-
y(r, e.inputEditArea), n(!1);
|
|
26
|
-
}, T = (e) => {
|
|
27
|
-
e?.stopPropagation(), n(!0);
|
|
28
|
-
}, $ = {
|
|
29
|
-
inputEditArea: u
|
|
30
|
-
}, x = j(
|
|
31
|
-
() => K(Q(W({
|
|
32
|
-
inputEditArea: z.string().required(
|
|
33
|
-
t(a(s.validation_edit_area))
|
|
34
|
-
)
|
|
35
|
-
}))),
|
|
36
|
-
[t]
|
|
37
|
-
), P = (e) => {
|
|
38
|
-
f && f(e.currentTarget), R(r);
|
|
39
|
-
}, p = b(null), k = (e) => {
|
|
40
|
-
p.current && p.current.stop(e);
|
|
41
|
-
}, D = [
|
|
42
|
-
{
|
|
43
|
-
type: "menuItem",
|
|
44
|
-
startIcon: `${l}/${c}/frontend/components/areas/assets/icons/${d.EDIT_AREA}`,
|
|
45
|
-
label: `${t(a(s.label_edit_area))}`,
|
|
46
|
-
onClick: T
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
type: "menuItem",
|
|
50
|
-
startIcon: `${l}/${c}/frontend/components/areas/assets/icons/${d.DELETE_AREA}`,
|
|
51
|
-
label: `${t(a(s.label_delete_area))}`,
|
|
52
|
-
onClick: I,
|
|
53
|
-
color: "error",
|
|
54
|
-
disabled: !C
|
|
55
|
-
}
|
|
56
|
-
];
|
|
57
|
-
return /* @__PURE__ */ i(H, { selected: _, disabled: h, children: [
|
|
58
|
-
/* @__PURE__ */ i(
|
|
59
|
-
Y,
|
|
60
|
-
{
|
|
61
|
-
role: "presentation",
|
|
62
|
-
ref: A,
|
|
63
|
-
onMouseUp: k,
|
|
64
|
-
onClick: (e) => {
|
|
65
|
-
P(e);
|
|
66
|
-
},
|
|
67
|
-
children: [
|
|
68
|
-
/* @__PURE__ */ o(re, { ref: p, center: !1 }),
|
|
69
|
-
/* @__PURE__ */ o(q, { variant: "bodyStandard", children: `${u}` }),
|
|
70
|
-
/* @__PURE__ */ o(
|
|
71
|
-
X,
|
|
72
|
-
{
|
|
73
|
-
icon: `${l}/${c}/frontend/components/window_base/assets/icons/${d.MORE_VERTICAL}`,
|
|
74
|
-
arrowType: "no-arrow",
|
|
75
|
-
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
76
|
-
transformOrigin: { vertical: "top", horizontal: "right" },
|
|
77
|
-
menuActions: D
|
|
78
|
-
}
|
|
79
|
-
)
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
),
|
|
83
|
-
/* @__PURE__ */ o(
|
|
84
|
-
B,
|
|
85
|
-
{}
|
|
86
|
-
),
|
|
87
|
-
/* @__PURE__ */ o(
|
|
88
|
-
"div",
|
|
89
|
-
{
|
|
90
|
-
role: "presentation",
|
|
91
|
-
onClick: (e) => {
|
|
92
|
-
e.stopPropagation();
|
|
93
|
-
},
|
|
94
|
-
children: /* @__PURE__ */ o(
|
|
95
|
-
Z,
|
|
96
|
-
{
|
|
97
|
-
arrowType: "top-center",
|
|
98
|
-
open: S,
|
|
99
|
-
anchorEl: A.current,
|
|
100
|
-
anchorOrigin: { vertical: "bottom", horizontal: "center" },
|
|
101
|
-
transformOrigin: { vertical: "top", horizontal: "center" },
|
|
102
|
-
onClose: () => {
|
|
103
|
-
n(!1);
|
|
104
|
-
},
|
|
105
|
-
sx: {
|
|
106
|
-
"& .MuiPaper-root": {
|
|
107
|
-
marginTop: "10px"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
children: /* @__PURE__ */ i(
|
|
111
|
-
G,
|
|
112
|
-
{
|
|
113
|
-
onSubmit: O,
|
|
114
|
-
values: $,
|
|
115
|
-
validationSchema: x,
|
|
116
|
-
children: [
|
|
117
|
-
/* @__PURE__ */ o(U, { children: /* @__PURE__ */ o(L, { children: t(a(s.label_edit_area)) }) }),
|
|
118
|
-
/* @__PURE__ */ o(
|
|
119
|
-
ee,
|
|
120
|
-
{
|
|
121
|
-
name: "inputEditArea",
|
|
122
|
-
sx: { mt: "20px" }
|
|
123
|
-
}
|
|
124
|
-
),
|
|
125
|
-
/* @__PURE__ */ i(J, { children: [
|
|
126
|
-
/* @__PURE__ */ o(
|
|
127
|
-
oe,
|
|
128
|
-
{
|
|
129
|
-
onClick: () => {
|
|
130
|
-
n(!1);
|
|
131
|
-
},
|
|
132
|
-
variant: "outlined"
|
|
133
|
-
}
|
|
134
|
-
),
|
|
135
|
-
/* @__PURE__ */ o(te, {})
|
|
136
|
-
] })
|
|
137
|
-
]
|
|
138
|
-
}
|
|
139
|
-
)
|
|
140
|
-
}
|
|
141
|
-
)
|
|
142
|
-
}
|
|
143
|
-
)
|
|
144
|
-
] });
|
|
145
|
-
};
|
|
146
|
-
ne.displayName = "AreaButtons";
|
|
147
|
-
export {
|
|
148
|
-
ne as ChipMobile
|
|
149
|
-
};
|