@zydon/common 2.2.48 → 2.2.50
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/dist/chunk-23GJSDGU.js +10 -0
- package/dist/chunk-2MVQI7NJ.js +8 -0
- package/dist/chunk-3APKMSVD.js +5 -0
- package/dist/chunk-3E5A45HM.js +3 -0
- package/dist/chunk-4CNAGEPZ.js +13 -0
- package/dist/chunk-4INDXVIX.js +5 -0
- package/dist/chunk-56NARAT6.js +11 -0
- package/dist/chunk-5YJTSVA2.js +6 -0
- package/dist/chunk-7F56LFN2.js +17 -0
- package/dist/chunk-7KZ2UT76.js +8 -0
- package/dist/chunk-ANAHA3L6.js +3 -0
- package/dist/chunk-BA43A7R3.js +18 -0
- package/dist/chunk-BUYQKDFG.js +13 -0
- package/dist/chunk-BYAPKKGB.js +7 -0
- package/dist/chunk-CFVUZ4S5.js +5 -0
- package/dist/chunk-CFYNJQGN.js +43 -0
- package/dist/chunk-CQDKXUUX.js +3 -0
- package/dist/chunk-D27ND54J.js +16 -0
- package/dist/chunk-D2VRQ2K3.js +10 -0
- package/dist/chunk-DZ7YW2X6.js +18 -0
- package/dist/chunk-E5MGOPPQ.js +8 -0
- package/dist/chunk-EBTRMUBS.js +7 -0
- package/dist/chunk-EFUFJKJD.js +7 -0
- package/dist/chunk-F7CW3DXN.js +14 -0
- package/dist/chunk-GA4A5P3S.js +6 -0
- package/dist/chunk-GOC7PC2S.js +6 -0
- package/dist/chunk-ILHUUK4X.js +6 -0
- package/dist/chunk-KFZEM7KS.js +5 -0
- package/dist/chunk-KORVZU6L.js +17 -0
- package/dist/chunk-M6QHAL4V.js +7 -0
- package/dist/chunk-MCT77MRN.js +8 -0
- package/dist/chunk-NF42ENKE.js +9 -0
- package/dist/chunk-NHQNAQTD.js +7 -0
- package/dist/chunk-NQ32QBBI.js +7 -0
- package/dist/chunk-ORYAES3Q.js +5 -0
- package/dist/chunk-PMPALWRO.js +9 -0
- package/dist/chunk-QHVL5QNM.js +13 -0
- package/dist/chunk-QNAXGE5H.js +8 -0
- package/dist/chunk-QQB3DGHT.js +3 -0
- package/dist/chunk-RLMWIJKJ.js +10 -0
- package/dist/chunk-SEVJABAI.js +7 -0
- package/dist/chunk-T7I256S6.js +8 -0
- package/dist/chunk-TRI6XGH4.js +7 -0
- package/dist/chunk-TWGGHTU5.js +5 -0
- package/dist/chunk-UGH5FWZQ.js +13 -0
- package/dist/chunk-VTHBHXM2.js +7 -0
- package/dist/chunk-VVMQMROT.js +5 -0
- package/dist/chunk-W3MYAMTH.js +5 -0
- package/dist/chunk-WKD3OXUA.js +6 -0
- package/dist/chunk-YWEB6IAI.js +6 -0
- package/dist/chunk-YYKIC4EK.js +28 -0
- package/dist/chunk-Z2TDWMRU.js +6 -0
- package/dist/chunk-ZDHXW74M.js +5 -0
- package/dist/chunk-ZHP7IRS6.js +7 -0
- package/dist/chunk-ZODC2MGF.js +10 -0
- package/dist/components/ActionButton/index.js +3 -35
- package/dist/components/Autocomplete/index.js +3 -141
- package/dist/components/AutocompleteDetailed/index.js +3 -142
- package/dist/components/BuilderLayout/index.js +12 -26
- package/dist/components/BuilderSidebar/index.js +10 -20
- package/dist/components/ColorPickerInput/index.js +2 -101
- package/dist/components/ColoredLabel/index.js +7 -44
- package/dist/components/Common/index.js +22 -31
- package/dist/components/Confirm/index.js +11 -51
- package/dist/components/CustomAvatar/index.js +1 -62
- package/dist/components/CustomAvatarGroup/index.js +7 -76
- package/dist/components/DashedDivider/index.js +1 -10
- package/dist/components/DataCards/index.js +20 -60
- package/dist/components/DataGrid/index.js +15 -81
- package/dist/components/DatePicker/index.js +7 -42
- package/dist/components/DateRangePicker/index.js +7 -50
- package/dist/components/DateTimePicker/index.js +7 -40
- package/dist/components/Delayed/index.js +5 -17
- package/dist/components/Drawer/index.js +12 -39
- package/dist/components/EmptyContent/index.js +3 -80
- package/dist/components/EmptyView/index.js +2 -34
- package/dist/components/Error/index.js +10 -46
- package/dist/components/ExpandableGroup/index.js +13 -33
- package/dist/components/FixedProgressBar/index.js +1 -22
- package/dist/components/FrameSkeleton/index.js +16 -108
- package/dist/components/HelpButton/index.js +3 -22
- package/dist/components/Icon/index.js +2 -670
- package/dist/components/ImageCrop/index.js +1 -51
- package/dist/components/ImageCropModal/index.js +5 -130
- package/dist/components/Incrementer/index.js +5 -161
- package/dist/components/Label/index.js +9 -74
- package/dist/components/LoadingScreen/index.js +8 -11
- package/dist/components/MaskedInput/index.js +1 -55
- package/dist/components/MenuItem/index.js +11 -24
- package/dist/components/MenuPopover/index.js +1 -48
- package/dist/components/Modal/index.js +3 -33
- package/dist/components/ModalActions/index.js +6 -11
- package/dist/components/MoreMenu/index.js +11 -18
- package/dist/components/NumberInput/index.js +1 -109
- package/dist/components/PasswordRules/index.js +11 -78
- package/dist/components/PopoverSelect/index.js +13 -50
- package/dist/components/Portal/index.js +1 -28
- package/dist/components/Result/index.js +1 -28
- package/dist/components/SavedChanges/index.js +7 -42
- package/dist/components/Scrollbar/index.js +1 -45
- package/dist/components/SearchInput/index.js +3 -73
- package/dist/components/SelectableCards/index.js +8 -144
- package/dist/components/SeoPreview/index.js +13 -167
- package/dist/components/SplashScreen/index.js +8 -107
- package/dist/components/Steps/index.js +14 -71
- package/dist/components/StyledTab/index.js +10 -90
- package/dist/components/StyledTabs/index.js +7 -27
- package/dist/components/Summary/index.js +8 -15
- package/dist/components/SwapList/index.js +22 -249
- package/dist/components/TabPanel/index.js +6 -34
- package/dist/components/TextMaxLine/index.js +2 -49
- package/dist/components/TimePicker/index.js +7 -42
- package/dist/components/ToggleButtonGroup/index.js +7 -10
- package/dist/components/Tooltip/index.js +6 -8
- package/dist/components/WhiteBox/index.js +1 -8
- package/dist/components/animate/index.js +2 -16
- package/dist/components/carousel/index.js +16 -10
- package/dist/components/form/Address/index.js +15 -199
- package/dist/components/form/Autocomplete/index.js +4 -42
- package/dist/components/form/AutocompleteDetailed/index.js +9 -42
- package/dist/components/form/Checkbox/index.js +9 -51
- package/dist/components/form/Codes/index.js +11 -87
- package/dist/components/form/ColorPicker/index.js +8 -52
- package/dist/components/form/DatePicker/index.js +8 -63
- package/dist/components/form/DateRangePicker/index.js +10 -77
- package/dist/components/form/DateTimePicker/index.js +8 -61
- package/dist/components/form/Field/index.js +1 -49
- package/dist/components/form/Form/index.js +7 -29
- package/dist/components/form/Incrementer/index.js +11 -38
- package/dist/components/form/InputTags/index.js +9 -69
- package/dist/components/form/MaskedInput/index.js +2 -45
- package/dist/components/form/MultiCheckbox/index.js +12 -93
- package/dist/components/form/MultiChipField/index.js +8 -49
- package/dist/components/form/NumberInput/index.js +7 -43
- package/dist/components/form/Password/index.js +13 -91
- package/dist/components/form/RadioGroup/index.js +13 -127
- package/dist/components/form/SelectableCards/index.js +14 -22
- package/dist/components/form/Switch/index.js +9 -71
- package/dist/components/form/TimePicker/index.js +8 -64
- package/dist/components/form/UploadAvatarWithCrop/index.js +20 -59
- package/dist/components/form/UploadWithCrop/index.js +23 -59
- package/dist/components/form/Webhook/index.js +19 -146
- package/dist/components/lightbox/index.js +16 -3
- package/dist/components/table/index.js +21 -19
- package/dist/components/upload/index.js +23 -14
- package/dist/hooks/useActiveElement.js +5 -27
- package/dist/hooks/useApiMessage.js +5 -33
- package/dist/hooks/useAutocomplete.js +6 -61
- package/dist/hooks/useCopyToClipboard.js +5 -22
- package/dist/hooks/useDatagrid.js +6 -45
- package/dist/hooks/useDebounceValue.js +5 -18
- package/dist/hooks/useDeepCompareEffect.js +6 -16
- package/dist/hooks/useEventCallback.js +2 -17
- package/dist/hooks/useEventListener.js +1 -24
- package/dist/hooks/useIsMounting.js +5 -13
- package/dist/hooks/useIsomorphicLayoutEffect.js +1 -6
- package/dist/hooks/useLocalStorage.js +8 -88
- package/dist/hooks/useMount.js +5 -9
- package/dist/hooks/useOnClickOutside.js +5 -15
- package/dist/hooks/usePagination.js +5 -40
- package/dist/hooks/usePopover.js +1 -24
- package/dist/hooks/useResponsive.js +1 -35
- package/dist/hooks/useScrollOffSetTop.js +6 -32
- package/dist/hooks/useSnackbar.js +1 -13
- package/dist/hooks/useTabs.js +5 -16
- package/dist/hooks/useToggle.js +1 -11
- package/dist/hooks/useUpload.js +1 -57
- package/dist/hooks/useUploadImage.js +2 -79
- package/dist/index.css +10 -0
- package/dist/index.js +3 -6
- package/dist/locales/all-langs.js +1 -39
- package/dist/theme/core/index.js +3 -6
- package/dist/theme/styles/index.d.ts +1 -1
- package/dist/theme/styles/index.js +1 -3
- package/dist/theme/theme-provider.js +7 -45
- package/dist/theme/with-settings/index.js +4 -2
- package/dist/types/addressProps.js +1 -1
- package/dist/types/api.js +1 -1
- package/dist/types/autoComplete.js +1 -1
- package/dist/types/autoCompleteProps.js +1 -1
- package/dist/types/baseField.js +1 -1
- package/dist/types/dataGridProps.js +1 -1
- package/dist/types/datagrid.js +1 -1
- package/dist/types/datePickerProps.js +1 -1
- package/dist/types/dateRangePickerProps.js +1 -1
- package/dist/types/dateTimePickerProps.js +1 -1
- package/dist/types/fieldProps.js +1 -1
- package/dist/types/icon.js +1 -331
- package/dist/types/iconProps.js +1 -1
- package/dist/types/incrementerProps.js +1 -1
- package/dist/types/item.js +1 -1
- package/dist/types/multiCheckboxProps.js +1 -1
- package/dist/types/numberInputProps.js +1 -1
- package/dist/types/option.js +1 -1
- package/dist/types/radioGroupProps.js +1 -1
- package/dist/types/searchInputProps.js +1 -1
- package/dist/types/sectionProps.js +1 -1
- package/dist/types/switchProps.js +1 -1
- package/dist/types/timePickerProps.js +1 -1
- package/dist/types/upload.js +1 -1
- package/dist/types/webhook.js +3 -51
- package/dist/utils/color.js +1 -6
- package/dist/utils/compare.js +1 -6
- package/dist/utils/date.js +6 -23
- package/dist/utils/formatNumber.js +1 -94
- package/dist/utils/formatTime.js +1 -169
- package/dist/utils/loadable.js +7 -14
- package/dist/utils/mask.js +3 -44
- package/dist/utils/number.js +1 -15
- package/dist/utils/sort.js +3 -24
- package/dist/utils/uuidv4.js +3 -10
- package/dist/utils/validators.js +1 -86
- package/package.json +1 -1
- package/dist/components/ActionButton/index.js.map +0 -1
- package/dist/components/Autocomplete/index.js.map +0 -1
- package/dist/components/AutocompleteDetailed/index.js.map +0 -1
- package/dist/components/BuilderLayout/index.js.map +0 -1
- package/dist/components/BuilderSidebar/index.js.map +0 -1
- package/dist/components/ColorPickerInput/index.js.map +0 -1
- package/dist/components/ColoredLabel/index.js.map +0 -1
- package/dist/components/Common/index.js.map +0 -1
- package/dist/components/Confirm/index.js.map +0 -1
- package/dist/components/CustomAvatar/index.js.map +0 -1
- package/dist/components/CustomAvatarGroup/index.js.map +0 -1
- package/dist/components/DashedDivider/index.js.map +0 -1
- package/dist/components/DataCards/index.js.map +0 -1
- package/dist/components/DataGrid/index.js.map +0 -1
- package/dist/components/DatePicker/index.js.map +0 -1
- package/dist/components/DateRangePicker/index.js.map +0 -1
- package/dist/components/DateTimePicker/index.js.map +0 -1
- package/dist/components/Delayed/index.js.map +0 -1
- package/dist/components/Drawer/index.js.map +0 -1
- package/dist/components/EmptyContent/index.js.map +0 -1
- package/dist/components/EmptyView/index.js.map +0 -1
- package/dist/components/Error/index.js.map +0 -1
- package/dist/components/ExpandableGroup/index.js.map +0 -1
- package/dist/components/FixedProgressBar/index.js.map +0 -1
- package/dist/components/FrameSkeleton/index.js.map +0 -1
- package/dist/components/HelpButton/index.js.map +0 -1
- package/dist/components/Icon/index.js.map +0 -1
- package/dist/components/ImageCrop/index.js.map +0 -1
- package/dist/components/ImageCropModal/index.js.map +0 -1
- package/dist/components/Incrementer/index.js.map +0 -1
- package/dist/components/Label/index.js.map +0 -1
- package/dist/components/LoadingScreen/index.js.map +0 -1
- package/dist/components/MaskedInput/index.js.map +0 -1
- package/dist/components/MenuItem/index.js.map +0 -1
- package/dist/components/MenuPopover/index.js.map +0 -1
- package/dist/components/Modal/index.js.map +0 -1
- package/dist/components/ModalActions/index.js.map +0 -1
- package/dist/components/MoreMenu/index.js.map +0 -1
- package/dist/components/NumberInput/index.js.map +0 -1
- package/dist/components/PasswordRules/index.js.map +0 -1
- package/dist/components/PopoverSelect/index.js.map +0 -1
- package/dist/components/Portal/index.js.map +0 -1
- package/dist/components/Result/index.js.map +0 -1
- package/dist/components/SavedChanges/index.js.map +0 -1
- package/dist/components/Scrollbar/index.js.map +0 -1
- package/dist/components/SearchInput/index.js.map +0 -1
- package/dist/components/SelectableCards/index.js.map +0 -1
- package/dist/components/SeoPreview/index.js.map +0 -1
- package/dist/components/SplashScreen/index.js.map +0 -1
- package/dist/components/Steps/index.js.map +0 -1
- package/dist/components/StyledTab/index.js.map +0 -1
- package/dist/components/StyledTabs/index.js.map +0 -1
- package/dist/components/Summary/index.js.map +0 -1
- package/dist/components/SwapList/index.js.map +0 -1
- package/dist/components/TabPanel/index.js.map +0 -1
- package/dist/components/TextMaxLine/index.js.map +0 -1
- package/dist/components/TimePicker/index.js.map +0 -1
- package/dist/components/ToggleButtonGroup/index.js.map +0 -1
- package/dist/components/Tooltip/index.js.map +0 -1
- package/dist/components/WhiteBox/index.js.map +0 -1
- package/dist/components/animate/index.js.map +0 -1
- package/dist/components/carousel/index.js.map +0 -1
- package/dist/components/form/Address/index.js.map +0 -1
- package/dist/components/form/Autocomplete/index.js.map +0 -1
- package/dist/components/form/AutocompleteDetailed/index.js.map +0 -1
- package/dist/components/form/Checkbox/index.js.map +0 -1
- package/dist/components/form/Codes/index.js.map +0 -1
- package/dist/components/form/ColorPicker/index.js.map +0 -1
- package/dist/components/form/DatePicker/index.js.map +0 -1
- package/dist/components/form/DateRangePicker/index.js.map +0 -1
- package/dist/components/form/DateTimePicker/index.js.map +0 -1
- package/dist/components/form/Field/index.js.map +0 -1
- package/dist/components/form/Form/index.js.map +0 -1
- package/dist/components/form/Incrementer/index.js.map +0 -1
- package/dist/components/form/InputTags/index.js.map +0 -1
- package/dist/components/form/MaskedInput/index.js.map +0 -1
- package/dist/components/form/MultiCheckbox/index.js.map +0 -1
- package/dist/components/form/MultiChipField/index.js.map +0 -1
- package/dist/components/form/NumberInput/index.js.map +0 -1
- package/dist/components/form/Password/index.js.map +0 -1
- package/dist/components/form/RadioGroup/index.js.map +0 -1
- package/dist/components/form/SelectableCards/index.js.map +0 -1
- package/dist/components/form/Switch/index.js.map +0 -1
- package/dist/components/form/TimePicker/index.js.map +0 -1
- package/dist/components/form/UploadAvatarWithCrop/index.js.map +0 -1
- package/dist/components/form/UploadWithCrop/index.js.map +0 -1
- package/dist/components/form/Webhook/index.js.map +0 -1
- package/dist/components/lightbox/index.js.map +0 -1
- package/dist/components/table/index.js.map +0 -1
- package/dist/components/upload/index.js.map +0 -1
- package/dist/hooks/useActiveElement.js.map +0 -1
- package/dist/hooks/useApiMessage.js.map +0 -1
- package/dist/hooks/useAutocomplete.js.map +0 -1
- package/dist/hooks/useCopyToClipboard.js.map +0 -1
- package/dist/hooks/useDatagrid.js.map +0 -1
- package/dist/hooks/useDebounceValue.js.map +0 -1
- package/dist/hooks/useDeepCompareEffect.js.map +0 -1
- package/dist/hooks/useEventCallback.js.map +0 -1
- package/dist/hooks/useEventListener.js.map +0 -1
- package/dist/hooks/useIsMounting.js.map +0 -1
- package/dist/hooks/useIsomorphicLayoutEffect.js.map +0 -1
- package/dist/hooks/useLocalStorage.js.map +0 -1
- package/dist/hooks/useMount.js.map +0 -1
- package/dist/hooks/useOnClickOutside.js.map +0 -1
- package/dist/hooks/usePagination.js.map +0 -1
- package/dist/hooks/usePopover.js.map +0 -1
- package/dist/hooks/useResponsive.js.map +0 -1
- package/dist/hooks/useScrollOffSetTop.js.map +0 -1
- package/dist/hooks/useSnackbar.js.map +0 -1
- package/dist/hooks/useTabs.js.map +0 -1
- package/dist/hooks/useToggle.js.map +0 -1
- package/dist/hooks/useUpload.js.map +0 -1
- package/dist/hooks/useUploadImage.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/locales/all-langs.js.map +0 -1
- package/dist/theme/core/index.js.map +0 -1
- package/dist/theme/styles/index.js.map +0 -1
- package/dist/theme/theme-provider.js.map +0 -1
- package/dist/theme/with-settings/index.js.map +0 -1
- package/dist/types/addressProps.js.map +0 -1
- package/dist/types/api.js.map +0 -1
- package/dist/types/autoComplete.js.map +0 -1
- package/dist/types/autoCompleteProps.js.map +0 -1
- package/dist/types/baseField.js.map +0 -1
- package/dist/types/dataGridProps.js.map +0 -1
- package/dist/types/datagrid.js.map +0 -1
- package/dist/types/datePickerProps.js.map +0 -1
- package/dist/types/dateRangePickerProps.js.map +0 -1
- package/dist/types/dateTimePickerProps.js.map +0 -1
- package/dist/types/fieldProps.js.map +0 -1
- package/dist/types/icon.js.map +0 -1
- package/dist/types/iconProps.js.map +0 -1
- package/dist/types/incrementerProps.js.map +0 -1
- package/dist/types/item.js.map +0 -1
- package/dist/types/multiCheckboxProps.js.map +0 -1
- package/dist/types/numberInputProps.js.map +0 -1
- package/dist/types/option.js.map +0 -1
- package/dist/types/radioGroupProps.js.map +0 -1
- package/dist/types/searchInputProps.js.map +0 -1
- package/dist/types/sectionProps.js.map +0 -1
- package/dist/types/switchProps.js.map +0 -1
- package/dist/types/timePickerProps.js.map +0 -1
- package/dist/types/upload.js.map +0 -1
- package/dist/types/webhook.js.map +0 -1
- package/dist/utils/color.js.map +0 -1
- package/dist/utils/compare.js.map +0 -1
- package/dist/utils/date.js.map +0 -1
- package/dist/utils/formatNumber.js.map +0 -1
- package/dist/utils/formatTime.js.map +0 -1
- package/dist/utils/loadable.js.map +0 -1
- package/dist/utils/mask.js.map +0 -1
- package/dist/utils/number.js.map +0 -1
- package/dist/utils/sort.js.map +0 -1
- package/dist/utils/uuidv4.js.map +0 -1
- package/dist/utils/validators.js.map +0 -1
|
@@ -1,42 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
helperText,
|
|
9
|
-
required,
|
|
10
|
-
...other
|
|
11
|
-
}) => {
|
|
12
|
-
return /* @__PURE__ */ jsx(
|
|
13
|
-
MuiDatePicker,
|
|
14
|
-
{
|
|
15
|
-
...other,
|
|
16
|
-
format: "DD/MM/YYYY",
|
|
17
|
-
value: value ? dayjs(value) : null,
|
|
18
|
-
onChange: (v) => onChange(v ? v.toDate() : null),
|
|
19
|
-
slotProps: {
|
|
20
|
-
textField: {
|
|
21
|
-
...other.slotProps?.textField,
|
|
22
|
-
required,
|
|
23
|
-
helperText,
|
|
24
|
-
autoComplete: "off",
|
|
25
|
-
spellCheck: "false",
|
|
26
|
-
fullWidth: true,
|
|
27
|
-
inputProps: {
|
|
28
|
-
tabIndex
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
openPickerButton: {
|
|
32
|
-
tabIndex
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
};
|
|
38
|
-
var DatePicker_default = DatePicker;
|
|
39
|
-
export {
|
|
40
|
-
DatePicker_default as default
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { DatePicker } from '@mui/x-date-pickers-pro';
|
|
2
|
+
import s from 'dayjs';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var P=({value:t,onChange:l,tabIndex:e,helperText:i,required:p,...o})=>jsx(DatePicker,{...o,format:"DD/MM/YYYY",value:t?s(t):null,onChange:r=>l(r?r.toDate():null),slotProps:{textField:{...o.slotProps?.textField,required:p,helperText:i,autoComplete:"off",spellCheck:"false",fullWidth:!0,inputProps:{tabIndex:e}},openPickerButton:{tabIndex:e}}}),c=P;
|
|
6
|
+
|
|
7
|
+
export { c as default };
|
|
@@ -1,50 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
tabIndex,
|
|
9
|
-
helperText,
|
|
10
|
-
required,
|
|
11
|
-
...other
|
|
12
|
-
}) => {
|
|
13
|
-
return /* @__PURE__ */ jsx(
|
|
14
|
-
MuiDateRangePicker,
|
|
15
|
-
{
|
|
16
|
-
format: "DD/MM/YYYY",
|
|
17
|
-
value: [
|
|
18
|
-
value?.startDate ? dayjs(value.startDate) : null,
|
|
19
|
-
value?.endDate ? dayjs(value.endDate) : null
|
|
20
|
-
],
|
|
21
|
-
onChange: (v) => onChange({
|
|
22
|
-
startDate: v[0] ? v[0].toDate() : null,
|
|
23
|
-
endDate: v[1] ? v[1].toDate() : null
|
|
24
|
-
}),
|
|
25
|
-
...other,
|
|
26
|
-
slotProps: {
|
|
27
|
-
textField: () => ({
|
|
28
|
-
...other.slotProps?.textField,
|
|
29
|
-
required,
|
|
30
|
-
helperText,
|
|
31
|
-
autoComplete: "off",
|
|
32
|
-
spellCheck: "false",
|
|
33
|
-
fullWidth: true,
|
|
34
|
-
label,
|
|
35
|
-
inputProps: {
|
|
36
|
-
tabIndex
|
|
37
|
-
}
|
|
38
|
-
})
|
|
39
|
-
},
|
|
40
|
-
sx: {
|
|
41
|
-
width: 1
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
};
|
|
46
|
-
var DateRangePicker_default = DateRangePicker;
|
|
47
|
-
export {
|
|
48
|
-
DateRangePicker_default as default
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { DateRangePicker } from '@mui/x-date-pickers-pro';
|
|
2
|
+
import r from 'dayjs';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var p=({label:o,value:t,onChange:l,tabIndex:n,helperText:s,required:D,...a})=>jsx(DateRangePicker,{format:"DD/MM/YYYY",value:[t?.startDate?r(t.startDate):null,t?.endDate?r(t.endDate):null],onChange:e=>l({startDate:e[0]?e[0].toDate():null,endDate:e[1]?e[1].toDate():null}),...a,slotProps:{textField:()=>({...a.slotProps?.textField,required:D,helperText:s,autoComplete:"off",spellCheck:"false",fullWidth:!0,label:o,inputProps:{tabIndex:n}})},sx:{width:1}}),u=p;
|
|
6
|
+
|
|
7
|
+
export { u as default };
|
|
@@ -1,40 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
helperText,
|
|
9
|
-
required,
|
|
10
|
-
...other
|
|
11
|
-
}) => {
|
|
12
|
-
return /* @__PURE__ */ jsx(
|
|
13
|
-
MuiDateTimePicker,
|
|
14
|
-
{
|
|
15
|
-
...other,
|
|
16
|
-
format: "DD/MM/YYYY HH:mm",
|
|
17
|
-
value: value ? dayjs(value) : null,
|
|
18
|
-
onChange: (v) => onChange(v ? v.toDate() : null),
|
|
19
|
-
slotProps: {
|
|
20
|
-
textField: {
|
|
21
|
-
...other.slotProps?.textField,
|
|
22
|
-
required,
|
|
23
|
-
helperText,
|
|
24
|
-
autoComplete: "off",
|
|
25
|
-
spellCheck: "false",
|
|
26
|
-
fullWidth: true,
|
|
27
|
-
inputProps: { tabIndex }
|
|
28
|
-
},
|
|
29
|
-
openPickerButton: {
|
|
30
|
-
tabIndex
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
);
|
|
35
|
-
};
|
|
36
|
-
var DateTimePicker_default = DateTimePicker;
|
|
37
|
-
export {
|
|
38
|
-
DateTimePicker_default as default
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { DateTimePicker } from '@mui/x-date-pickers-pro';
|
|
2
|
+
import a from 'dayjs';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var s=({value:e,onChange:i,tabIndex:t,helperText:l,required:m,...o})=>jsx(DateTimePicker,{...o,format:"DD/MM/YYYY HH:mm",value:e?a(e):null,onChange:r=>i(r?r.toDate():null),slotProps:{textField:{...o.slotProps?.textField,required:m,helperText:l,autoComplete:"off",spellCheck:"false",fullWidth:!0,inputProps:{tabIndex:t}},openPickerButton:{tabIndex:t}}}),D=s;
|
|
6
|
+
|
|
7
|
+
export { D as default };
|
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const [isShown, setIsShown] = useState(false);
|
|
7
|
-
useEffect(() => {
|
|
8
|
-
const timer = setTimeout(() => setIsShown(true), waitBeforeShow);
|
|
9
|
-
return () => clearTimeout(timer);
|
|
10
|
-
}, [waitBeforeShow]);
|
|
11
|
-
return isShown ? children : null;
|
|
12
|
-
};
|
|
13
|
-
var Delayed_default = Delayed;
|
|
14
|
-
export {
|
|
15
|
-
Delayed_default as default
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { useState, useEffect } from 'react';
|
|
2
|
+
|
|
3
|
+
var i=({children:t,waitBeforeShow:e=500})=>{let[r,o]=useState(!1);return useEffect(()=>{let s=setTimeout(()=>o(!0),e);return ()=>clearTimeout(s)},[e]),r?t:null},p=i;
|
|
4
|
+
|
|
5
|
+
export { p as default };
|
|
@@ -1,39 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
maxWidth = 684,
|
|
14
|
-
...other
|
|
15
|
-
}) => {
|
|
16
|
-
return /* @__PURE__ */ jsxs(
|
|
17
|
-
MuiDrawer,
|
|
18
|
-
{
|
|
19
|
-
anchor: "right",
|
|
20
|
-
PaperProps: {
|
|
21
|
-
sx: { width: 1, maxWidth }
|
|
22
|
-
},
|
|
23
|
-
onClose,
|
|
24
|
-
...other,
|
|
25
|
-
children: [
|
|
26
|
-
/* @__PURE__ */ jsxs(Header, { children: [
|
|
27
|
-
/* @__PURE__ */ jsx(IconButton, { size: "small", onClick: onClose, children: /* @__PURE__ */ jsx(Icon, { icon: "CLOSE_MARK_BUTTON", width: 18 }) }),
|
|
28
|
-
/* @__PURE__ */ jsx(HeaderTitle, { children: headerTitle })
|
|
29
|
-
] }),
|
|
30
|
-
/* @__PURE__ */ jsx(Scrollbar, { children: /* @__PURE__ */ jsx(Stack, { p: 3, ...contentProps, children }) })
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
);
|
|
34
|
-
};
|
|
35
|
-
var Drawer_default = Drawer;
|
|
36
|
-
export {
|
|
37
|
-
Drawer_default as default
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { a as a$2 } from '../../chunk-E5MGOPPQ.js';
|
|
2
|
+
import { a as a$1 } from '../../chunk-PMPALWRO.js';
|
|
3
|
+
import '../../chunk-3E5A45HM.js';
|
|
4
|
+
import g from '@mui/material/Drawer';
|
|
5
|
+
import x from '@mui/material/IconButton';
|
|
6
|
+
import a from '@mui/material/Stack';
|
|
7
|
+
import { styled } from '@mui/material/styles';
|
|
8
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
9
|
+
|
|
10
|
+
var n=styled(a)(({theme:r})=>({flexDirection:"row",alignItems:"center",borderBottom:`1px solid ${r.palette.grey[300]}`,padding:"22px 20px",gap:16})),l=styled(a)(({theme:r})=>({flexDirection:"row",alignItems:"center",gap:8,flex:1,fontSize:r.typography.subtitle1.fontSize,fontWeight:r.typography.subtitle1.fontWeight,fontFamily:r.typography.fontFamily}));var w=({headerTitle:r,onClose:t,children:f,contentProps:c,maxWidth:d=684,...s})=>jsxs(g,{anchor:"right",PaperProps:{sx:{width:1,maxWidth:d}},onClose:t,...s,children:[jsxs(n,{children:[jsx(x,{size:"small",onClick:t,children:jsx(a$1,{icon:"CLOSE_MARK_BUTTON",width:18})}),jsx(l,{children:r})]}),jsx(a$2,{children:jsx(a,{p:3,...c,children:f})})]}),B=w;
|
|
11
|
+
|
|
12
|
+
export { B as default };
|
|
@@ -1,80 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import Typography from "@mui/material/Typography";
|
|
5
|
-
import EmptyContentSVG from "assets/illustrations/EmptyContent";
|
|
6
|
-
import { varAlpha } from "theme/styles";
|
|
7
|
-
const EmptyContent = ({
|
|
8
|
-
sx,
|
|
9
|
-
imgUrl,
|
|
10
|
-
action,
|
|
11
|
-
filled,
|
|
12
|
-
slotProps,
|
|
13
|
-
description,
|
|
14
|
-
title = "No data",
|
|
15
|
-
...other
|
|
16
|
-
}) => {
|
|
17
|
-
return /* @__PURE__ */ jsxs(
|
|
18
|
-
Stack,
|
|
19
|
-
{
|
|
20
|
-
flexGrow: 1,
|
|
21
|
-
alignItems: "center",
|
|
22
|
-
justifyContent: "center",
|
|
23
|
-
sx: {
|
|
24
|
-
px: 3,
|
|
25
|
-
height: 1,
|
|
26
|
-
...filled && {
|
|
27
|
-
borderRadius: 2,
|
|
28
|
-
bgcolor: (theme) => varAlpha(theme.vars.palette.grey["500Channel"], 0.04),
|
|
29
|
-
border: (theme) => `dashed 1px ${varAlpha(theme.vars.palette.grey["500Channel"], 0.08)}`
|
|
30
|
-
},
|
|
31
|
-
...sx
|
|
32
|
-
},
|
|
33
|
-
...other,
|
|
34
|
-
children: [
|
|
35
|
-
imgUrl ? /* @__PURE__ */ jsx(
|
|
36
|
-
Box,
|
|
37
|
-
{
|
|
38
|
-
component: "img",
|
|
39
|
-
alt: "empty content",
|
|
40
|
-
src: imgUrl,
|
|
41
|
-
sx: { width: 1, maxWidth: 160, ...slotProps?.img }
|
|
42
|
-
}
|
|
43
|
-
) : /* @__PURE__ */ jsx(EmptyContentSVG, {}),
|
|
44
|
-
title && /* @__PURE__ */ jsx(
|
|
45
|
-
Typography,
|
|
46
|
-
{
|
|
47
|
-
variant: "h6",
|
|
48
|
-
component: "span",
|
|
49
|
-
sx: {
|
|
50
|
-
mt: 1,
|
|
51
|
-
textAlign: "center",
|
|
52
|
-
...slotProps?.title,
|
|
53
|
-
color: "text.disabled"
|
|
54
|
-
},
|
|
55
|
-
children: title
|
|
56
|
-
}
|
|
57
|
-
),
|
|
58
|
-
description && /* @__PURE__ */ jsx(
|
|
59
|
-
Typography,
|
|
60
|
-
{
|
|
61
|
-
variant: "caption",
|
|
62
|
-
sx: {
|
|
63
|
-
mt: 1,
|
|
64
|
-
textAlign: "center",
|
|
65
|
-
color: "text.disabled",
|
|
66
|
-
...slotProps?.description
|
|
67
|
-
},
|
|
68
|
-
children: description
|
|
69
|
-
}
|
|
70
|
-
),
|
|
71
|
-
action && action
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
|
-
);
|
|
75
|
-
};
|
|
76
|
-
var EmptyContent_default = EmptyContent;
|
|
77
|
-
export {
|
|
78
|
-
EmptyContent_default as default
|
|
79
|
-
};
|
|
80
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export { a as default } from '../../chunk-ZODC2MGF.js';
|
|
2
|
+
import '../../chunk-ZDHXW74M.js';
|
|
3
|
+
import '../../chunk-D27ND54J.js';
|
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import Typography from "@mui/material/Typography";
|
|
4
|
-
import EmptyContent from "assets/illustrations/EmptyContent";
|
|
5
|
-
const EmptyView = ({ text, sx }) => {
|
|
6
|
-
return /* @__PURE__ */ jsxs(
|
|
7
|
-
Stack,
|
|
8
|
-
{
|
|
9
|
-
alignItems: "center",
|
|
10
|
-
justifyContent: "center",
|
|
11
|
-
gap: 3.75,
|
|
12
|
-
sx: {
|
|
13
|
-
textAlign: "center",
|
|
14
|
-
height: 1,
|
|
15
|
-
backgroundColor: "#fff",
|
|
16
|
-
padding: 2,
|
|
17
|
-
borderRadius: 2,
|
|
18
|
-
"& svg": {
|
|
19
|
-
width: "100%"
|
|
20
|
-
},
|
|
21
|
-
...sx
|
|
22
|
-
},
|
|
23
|
-
children: [
|
|
24
|
-
/* @__PURE__ */ jsx(EmptyContent, {}),
|
|
25
|
-
/* @__PURE__ */ jsx(Typography, { variant: "body1", sx: { color: "text.secondary" }, children: text })
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
};
|
|
30
|
-
var EmptyView_default = EmptyView;
|
|
31
|
-
export {
|
|
32
|
-
EmptyView_default as default
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export { a as default } from '../../chunk-2MVQI7NJ.js';
|
|
2
|
+
import '../../chunk-ZDHXW74M.js';
|
|
@@ -1,46 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
textButton = "Atualizar"
|
|
12
|
-
}) => {
|
|
13
|
-
return /* @__PURE__ */ jsxs(
|
|
14
|
-
Stack,
|
|
15
|
-
{
|
|
16
|
-
height: 1,
|
|
17
|
-
width: 1,
|
|
18
|
-
alignItems: "center",
|
|
19
|
-
justifyContent: "center",
|
|
20
|
-
textAlign: "center",
|
|
21
|
-
gap: 3,
|
|
22
|
-
children: [
|
|
23
|
-
/* @__PURE__ */ jsx(ImSorry, {}),
|
|
24
|
-
/* @__PURE__ */ jsxs(Stack, { children: [
|
|
25
|
-
/* @__PURE__ */ jsx(Typography, { variant: "h5", color: "grey.600", children: title }),
|
|
26
|
-
/* @__PURE__ */ jsx(Typography, { variant: "body1", color: "grey.600", children: description })
|
|
27
|
-
] }),
|
|
28
|
-
/* @__PURE__ */ jsx(
|
|
29
|
-
Button,
|
|
30
|
-
{
|
|
31
|
-
variant: "contained",
|
|
32
|
-
size: "large",
|
|
33
|
-
startIcon: /* @__PURE__ */ jsx(Icon, { icon: "REFRESH_CHANGE" }),
|
|
34
|
-
onClick: onClickButton,
|
|
35
|
-
children: textButton
|
|
36
|
-
}
|
|
37
|
-
)
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
};
|
|
42
|
-
var Error_default = Error;
|
|
43
|
-
export {
|
|
44
|
-
Error_default as default
|
|
45
|
-
};
|
|
46
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { a } from '../../chunk-PMPALWRO.js';
|
|
2
|
+
import '../../chunk-3E5A45HM.js';
|
|
3
|
+
import f from '@mui/material/Button';
|
|
4
|
+
import l from '@mui/material/Stack';
|
|
5
|
+
import e from '@mui/material/Typography';
|
|
6
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
|
+
|
|
8
|
+
var c=()=>jsxs("svg",{width:"270",height:"240",viewBox:"0 0 270 240",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("path",{d:"M134.533 239.195C60.232 239.195 0 235.603 0 231.173C0 226.744 60.232 223.152 134.533 223.152C208.835 223.152 269.067 226.744 269.067 231.173C269.067 235.603 208.835 239.195 134.533 239.195Z",fill:"#989898"}),jsx("path",{d:"M3.30371 156.829V184.359C3.30371 186.993 5.45705 189.141 8.08905 189.141H260.978C263.614 189.141 265.764 186.993 265.764 184.359V156.829H3.30371Z",fill:"#CFCFCF"}),jsx("path",{d:"M265.764 4.78535C265.764 2.15202 263.615 0 260.979 0H8.08933C5.45599 0 3.30266 2.15202 3.30266 4.78535V156.829H265.764L265.764 4.78535Z",fill:"#989898"}),jsx("path",{d:"M180.226 216.856H89.9502V189.14H180.226V216.856Z",fill:"#D8D7D5"}),jsx("path",{d:"M200.68 229.833H68.2568V216.859H200.68V229.833Z",fill:"#CFCFCF"}),jsx("path",{d:"M180.226 199.157H89.9502V189.14H180.226V199.157Z",fill:"#BCBBB9"}),jsx("path",{d:"M16.872 13.652H252.247V142.804H16.872V13.652Z",fill:"white"}),jsx("ellipse",{cx:"95.0798",cy:"73.1186",rx:"5.56321",ry:"7.64941",fill:"#CFCFCF"}),jsx("ellipse",{cx:"88.8218",cy:"88.3312",rx:"11.8218",ry:"4.1724",fill:"#EFEFEF",fillOpacity:"0.59"}),jsx("ellipse",{cx:"180.614",cy:"88.3312",rx:"11.8218",ry:"4.1724",fill:"#EFEFEF",fillOpacity:"0.59"}),jsx("ellipse",{cx:"172.965",cy:"73.1186",rx:"5.56321",ry:"7.64941",fill:"#CFCFCF"}),jsx("path",{d:"M122.896 88.4174C128.459 99.5438 140.281 97.4576 145.148 88.4174",stroke:"#CFCFCF",strokeWidth:"2.7816",strokeLinecap:"round"}),jsx("path",{d:"M168.792 52.952C175.051 57.8198 175.746 58.5152 183.395 57.8198",stroke:"#CFCFCF",strokeWidth:"2.7816",strokeLinecap:"round"}),jsx("path",{d:"M99.9473 52.952C93.6887 57.8198 92.9933 58.5152 85.3439 57.8198",stroke:"#CFCFCF",strokeWidth:"2.7816",strokeLinecap:"round"})]}),i=c;var s=({title:C,description:a$1,onClickButton:n,textButton:F="Atualizar"})=>jsxs(l,{height:1,width:1,alignItems:"center",justifyContent:"center",textAlign:"center",gap:3,children:[jsx(i,{}),jsxs(l,{children:[jsx(e,{variant:"h5",color:"grey.600",children:C}),jsx(e,{variant:"body1",color:"grey.600",children:a$1})]}),jsx(f,{variant:"contained",size:"large",startIcon:jsx(a,{icon:"REFRESH_CHANGE"}),onClick:n,children:F})]}),x=s;
|
|
9
|
+
|
|
10
|
+
export { x as default };
|
|
@@ -1,33 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}) => {
|
|
15
|
-
const [expanded, toggleExpanded] = useToggle(true);
|
|
16
|
-
return /* @__PURE__ */ jsxs(Container, { children: [
|
|
17
|
-
/* @__PURE__ */ jsxs(GroupTop, { direction: "row", children: [
|
|
18
|
-
/* @__PURE__ */ jsxs(Stack, { direction: "row", alignItems: "center", gap: 1.5, flex: 1, children: [
|
|
19
|
-
/* @__PURE__ */ jsx(IconButton, { edge: "end", onClick: toggleExpanded, children: /* @__PURE__ */ jsx(Icon, { icon: expanded ? "CHEVRON_UP" : "CHEVRON_RIGHT" }) }),
|
|
20
|
-
/* @__PURE__ */ jsx(Typography, { variant: "overline", color: "text.primary", children: name }),
|
|
21
|
-
/* @__PURE__ */ jsx(Typography, { variant: "overline", color: "text.secondary", children: description }),
|
|
22
|
-
/* @__PURE__ */ jsx(Stack, { flex: 1, children: header })
|
|
23
|
-
] }),
|
|
24
|
-
/* @__PURE__ */ jsx(IconButton, { color: "error", onClick: onDelete, children: /* @__PURE__ */ jsx(Icon, { icon: "DELETE_MARK_BUTTON_02" }) })
|
|
25
|
-
] }),
|
|
26
|
-
/* @__PURE__ */ jsx(CollapseGroup, { in: expanded, timeout: "auto", unmountOnExit: true, children })
|
|
27
|
-
] });
|
|
28
|
-
};
|
|
29
|
-
var ExpandableGroup_default = ExpandableGroup;
|
|
30
|
-
export {
|
|
31
|
-
ExpandableGroup_default as default
|
|
32
|
-
};
|
|
33
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { a as a$1 } from '../../chunk-PMPALWRO.js';
|
|
2
|
+
import '../../chunk-3E5A45HM.js';
|
|
3
|
+
import { a } from '../../chunk-W3MYAMTH.js';
|
|
4
|
+
import s from '@mui/material/IconButton';
|
|
5
|
+
import p from '@mui/material/Stack';
|
|
6
|
+
import g from '@mui/material/Typography';
|
|
7
|
+
import G from '@mui/material/Collapse';
|
|
8
|
+
import { styled, alpha } from '@mui/material/styles';
|
|
9
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
|
+
|
|
11
|
+
var d=styled(p)(({theme:r})=>({border:`1px solid ${alpha(r.palette.grey[500],.32)}`,borderRadius:8,alignItems:"center",overflow:"hidden"})),c=styled(p)(()=>({backgroundColor:"#F5F5F5",padding:8,width:"100%",justifyContent:"space-between",alignItems:"center",gap:12,"& .MuiInputBase-root":{backgroundColor:"#fff"}}));styled(p)(({theme:r})=>({border:`1px solid ${alpha(r.palette.grey[500],.32)}`,borderRadius:8,alignItems:"center"}));var m=styled(G)(()=>({width:"100%",padding:"12px 16px"}));var T=({description:r,name:f,children:x,header:C,onDelete:y})=>{let[i,h]=a(!0);return jsxs(d,{children:[jsxs(c,{direction:"row",children:[jsxs(p,{direction:"row",alignItems:"center",gap:1.5,flex:1,children:[jsx(s,{edge:"end",onClick:h,children:jsx(a$1,{icon:i?"CHEVRON_UP":"CHEVRON_RIGHT"})}),jsx(g,{variant:"overline",color:"text.primary",children:f}),jsx(g,{variant:"overline",color:"text.secondary",children:r}),jsx(p,{flex:1,children:C})]}),jsx(s,{color:"error",onClick:y,children:jsx(a$1,{icon:"DELETE_MARK_BUTTON_02"})})]}),jsx(m,{in:i,timeout:"auto",unmountOnExit:!0,children:x})]})},S=T;
|
|
12
|
+
|
|
13
|
+
export { S as default };
|
|
@@ -1,22 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import LinearProgress from "@mui/material/LinearProgress";
|
|
3
|
-
const FixedProgressBar = ({ sx }) => {
|
|
4
|
-
return /* @__PURE__ */ jsx(
|
|
5
|
-
LinearProgress,
|
|
6
|
-
{
|
|
7
|
-
sx: {
|
|
8
|
-
position: "absolute",
|
|
9
|
-
top: 0,
|
|
10
|
-
left: 0,
|
|
11
|
-
width: 1,
|
|
12
|
-
zIndex: 9999,
|
|
13
|
-
...sx
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
);
|
|
17
|
-
};
|
|
18
|
-
var FixedProgressBar_default = FixedProgressBar;
|
|
19
|
-
export {
|
|
20
|
-
FixedProgressBar_default as default
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export { a as default } from '../../chunk-YWEB6IAI.js';
|
|
@@ -1,108 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
StyledScrollbar,
|
|
18
|
-
TopBox
|
|
19
|
-
} from "./style";
|
|
20
|
-
const FrameSkeleton = ({
|
|
21
|
-
title,
|
|
22
|
-
sections,
|
|
23
|
-
headerLeftContent,
|
|
24
|
-
headerRightContent,
|
|
25
|
-
onClickBack
|
|
26
|
-
}) => {
|
|
27
|
-
return /* @__PURE__ */ jsx(Stack, { children: /* @__PURE__ */ jsxs(Stack, { direction: "row", children: [
|
|
28
|
-
/* @__PURE__ */ jsx(LeftBox, { id: "frame-skeleton-left-box", children: /* @__PURE__ */ jsx(StyledScrollbar, { children: /* @__PURE__ */ jsxs(SideBarWrapper, { children: [
|
|
29
|
-
/* @__PURE__ */ jsx(
|
|
30
|
-
Typography,
|
|
31
|
-
{
|
|
32
|
-
variant: "overline",
|
|
33
|
-
color: "text.disabled",
|
|
34
|
-
fontWeight: 700,
|
|
35
|
-
children: "ACESSO R\xC1PIDO"
|
|
36
|
-
}
|
|
37
|
-
),
|
|
38
|
-
sections.map((section, index) => /* @__PURE__ */ jsxs(Stack, { children: [
|
|
39
|
-
/* @__PURE__ */ jsxs(
|
|
40
|
-
SectionTile,
|
|
41
|
-
{
|
|
42
|
-
onClick: () => {
|
|
43
|
-
if (section.ref.current)
|
|
44
|
-
section.ref.current.scrollIntoView({
|
|
45
|
-
block: "start",
|
|
46
|
-
behavior: "smooth"
|
|
47
|
-
});
|
|
48
|
-
},
|
|
49
|
-
children: [
|
|
50
|
-
section.title,
|
|
51
|
-
section.isRequired && /* @__PURE__ */ jsx("span", { children: "*" })
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
),
|
|
55
|
-
index < sections.length - 1 && /* @__PURE__ */ jsx(Divider, {})
|
|
56
|
-
] }, index))
|
|
57
|
-
] }) }) }),
|
|
58
|
-
/* @__PURE__ */ jsxs(Stack, { width: "100%", alignItems: "center", mb: 8, children: [
|
|
59
|
-
/* @__PURE__ */ jsx(TopBox, { children: /* @__PURE__ */ jsxs(FrameHeader, { children: [
|
|
60
|
-
/* @__PURE__ */ jsxs(Stack, { flexDirection: "row", gap: 2, alignItems: "center", children: [
|
|
61
|
-
/* @__PURE__ */ jsx(IconButton, { color: "primary", onClick: () => onClickBack(), children: /* @__PURE__ */ jsx(Icon, { icon: "CHEVRON_LEFT" }) }),
|
|
62
|
-
/* @__PURE__ */ jsx(Typography, { variant: "h4", children: title }),
|
|
63
|
-
headerLeftContent
|
|
64
|
-
] }),
|
|
65
|
-
/* @__PURE__ */ jsxs(
|
|
66
|
-
Stack,
|
|
67
|
-
{
|
|
68
|
-
direction: "row",
|
|
69
|
-
gap: 2,
|
|
70
|
-
alignItems: "center",
|
|
71
|
-
minWidth: "max-content",
|
|
72
|
-
children: [
|
|
73
|
-
/* @__PURE__ */ jsx(HelpButton, { disabled: true }),
|
|
74
|
-
headerRightContent
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
)
|
|
78
|
-
] }) }),
|
|
79
|
-
/* @__PURE__ */ jsx(Children, { children: sections.map((section, index) => /* @__PURE__ */ jsxs(
|
|
80
|
-
Stack,
|
|
81
|
-
{
|
|
82
|
-
paddingTop: 3,
|
|
83
|
-
paddingBottom: 2,
|
|
84
|
-
alignItems: "start",
|
|
85
|
-
width: "100%",
|
|
86
|
-
id: `section-${index}`,
|
|
87
|
-
children: [
|
|
88
|
-
/* @__PURE__ */ jsx(
|
|
89
|
-
SectionTitle,
|
|
90
|
-
{
|
|
91
|
-
ref: section.ref,
|
|
92
|
-
children: section.title
|
|
93
|
-
}
|
|
94
|
-
),
|
|
95
|
-
/* @__PURE__ */ jsx(SectionSubtitle, { children: section.subTitle }),
|
|
96
|
-
/* @__PURE__ */ jsx(WhiteBox, { width: "100%", borderRadius: 1, gap: 1.5, padding: 3, children: section.child })
|
|
97
|
-
]
|
|
98
|
-
},
|
|
99
|
-
section.title
|
|
100
|
-
)) })
|
|
101
|
-
] })
|
|
102
|
-
] }) });
|
|
103
|
-
};
|
|
104
|
-
var FrameSkeleton_default = FrameSkeleton;
|
|
105
|
-
export {
|
|
106
|
-
FrameSkeleton_default as default
|
|
107
|
-
};
|
|
108
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { a as a$3 } from '../../chunk-BYAPKKGB.js';
|
|
2
|
+
import { a } from '../../chunk-E5MGOPPQ.js';
|
|
3
|
+
import { a as a$2 } from '../../chunk-NQ32QBBI.js';
|
|
4
|
+
import { a as a$1 } from '../../chunk-PMPALWRO.js';
|
|
5
|
+
import '../../chunk-3E5A45HM.js';
|
|
6
|
+
import v from '@mui/material/Divider';
|
|
7
|
+
import F from '@mui/material/IconButton';
|
|
8
|
+
import n from '@mui/material/Stack';
|
|
9
|
+
import g from '@mui/material/Typography';
|
|
10
|
+
import C from '@mui/material/Button';
|
|
11
|
+
import { styled } from '@mui/material/styles';
|
|
12
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
13
|
+
|
|
14
|
+
var S=styled(n)(({theme:o})=>({backgroundColor:"#fff",minWidth:"250px",padding:24,minHeight:"100vh",borderRight:`1px solid ${o.palette.grey[300]}`})),h=styled(n)(({theme:o})=>({backgroundColor:"#fff",position:"sticky",top:0,zIndex:999,width:"100%",padding:24,gap:24,borderBottom:`1px solid ${o.palette.grey[300]}`})),s=styled(n)({flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:24}),x=styled(n)(({theme:o})=>({height:"100%",width:"50%",flex:1,[o.breakpoints.down(1680)]:{width:"70%"}})),b=styled(g)(({theme:o})=>({color:o.palette.grey[800],fontSize:18,fontWeight:700})),k=styled(g)(({theme:o})=>({color:o.palette.grey[500],fontSize:14,fontWeight:400,paddingBottom:24})),y=styled(C)(({theme:o})=>({paddingTop:6,paddingBottom:6,paddingLeft:0,margin:0,marginBottom:4,marginTop:4,width:"100%",display:"block",cursor:"pointer",color:o.palette.grey[600],textAlign:"left",fontWeight:400,fontSize:14,"> span":{color:o.palette.error.main}})),B=styled(a)(()=>({height:1,"& .simplebar-content":{height:1}})),T=styled(n)(()=>({position:"fixed",width:"202px"}));var H=({title:o,sections:l,headerLeftContent:w,headerRightContent:I,onClickBack:W})=>jsx(n,{children:jsxs(n,{direction:"row",children:[jsx(S,{id:"frame-skeleton-left-box",children:jsx(B,{children:jsxs(T,{children:[jsx(g,{variant:"overline",color:"text.disabled",fontWeight:700,children:"ACESSO R\xC1PIDO"}),l.map((e,p)=>jsxs(n,{children:[jsxs(y,{onClick:()=>{e.ref.current&&e.ref.current.scrollIntoView({block:"start",behavior:"smooth"});},children:[e.title,e.isRequired&&jsx("span",{children:"*"})]}),p<l.length-1&&jsx(v,{})]},p))]})})}),jsxs(n,{width:"100%",alignItems:"center",mb:8,children:[jsx(h,{children:jsxs(s,{children:[jsxs(n,{flexDirection:"row",gap:2,alignItems:"center",children:[jsx(F,{color:"primary",onClick:()=>W(),children:jsx(a$1,{icon:"CHEVRON_LEFT"})}),jsx(g,{variant:"h4",children:o}),w]}),jsxs(n,{direction:"row",gap:2,alignItems:"center",minWidth:"max-content",children:[jsx(a$2,{disabled:!0}),I]})]})}),jsx(x,{children:l.map((e,p)=>jsxs(n,{paddingTop:3,paddingBottom:2,alignItems:"start",width:"100%",id:`section-${p}`,children:[jsx(b,{ref:e.ref,children:e.title}),jsx(k,{children:e.subTitle}),jsx(a$3,{width:"100%",borderRadius:1,gap:1.5,padding:3,children:e.child})]},e.title))})]})]})}),_=H;
|
|
15
|
+
|
|
16
|
+
export { _ as default };
|
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const HelpButton = ({ link, ...props }) => {
|
|
5
|
-
const linkProps = link && { href: link, target: "_blank" };
|
|
6
|
-
return /* @__PURE__ */ jsx(
|
|
7
|
-
Button,
|
|
8
|
-
{
|
|
9
|
-
...props,
|
|
10
|
-
startIcon: /* @__PURE__ */ jsx(Icon, { icon: "HELP_CIRCLE" }),
|
|
11
|
-
variant: "outlined",
|
|
12
|
-
color: "inherit",
|
|
13
|
-
...linkProps,
|
|
14
|
-
children: "Ajuda"
|
|
15
|
-
}
|
|
16
|
-
);
|
|
17
|
-
};
|
|
18
|
-
var HelpButton_default = HelpButton;
|
|
19
|
-
export {
|
|
20
|
-
HelpButton_default as default
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export { a as default } from '../../chunk-NQ32QBBI.js';
|
|
2
|
+
import '../../chunk-PMPALWRO.js';
|
|
3
|
+
import '../../chunk-3E5A45HM.js';
|