@zydon/common 2.2.41 → 2.2.43
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/components/ActionButton/index.js +8 -3
- package/dist/components/Autocomplete/index.js +12 -3
- package/dist/components/AutocompleteDetailed/index.js +13 -3
- package/dist/components/BuilderLayout/index.js +5 -9
- package/dist/components/BuilderSidebar/index.js +5 -7
- package/dist/components/ColorPickerInput/index.js +12 -2
- package/dist/components/ColoredLabel/index.js +5 -4
- package/dist/components/Common/index.js +6 -19
- package/dist/components/Confirm/index.js +3 -3
- package/dist/components/CustomAvatar/index.js +9 -1
- package/dist/components/CustomAvatarGroup/index.js +3 -3
- package/dist/components/DashedDivider/index.js +6 -1
- package/dist/components/DataCards/index.js +12 -18
- package/dist/components/DataGrid/index.js +8 -12
- package/dist/components/DatePicker/index.js +3 -3
- package/dist/components/DateRangePicker/index.js +3 -3
- package/dist/components/DateTimePicker/index.js +3 -3
- package/dist/components/Delayed/index.js +2 -2
- package/dist/components/Drawer/index.js +8 -9
- package/dist/components/EmptyContent/index.js +10 -3
- package/dist/components/EmptyView/index.js +8 -2
- package/dist/components/Error/index.js +7 -7
- package/dist/components/ExpandableGroup/index.js +8 -10
- package/dist/components/FixedProgressBar/index.js +6 -1
- package/dist/components/FrameSkeleton/index.js +10 -13
- package/dist/components/HelpButton/index.js +7 -3
- package/dist/components/Icon/index.js +58 -2
- package/dist/components/ImageCrop/index.js +7 -1
- package/dist/components/ImageCropModal/index.js +14 -5
- package/dist/components/Incrementer/index.js +11 -5
- package/dist/components/Label/index.js +7 -6
- package/dist/components/LoadingScreen/index.js +4 -5
- package/dist/components/MaskedInput/index.js +8 -1
- package/dist/components/MenuItem/index.js +7 -8
- package/dist/components/MenuPopover/index.js +8 -1
- package/dist/components/Modal/index.js +11 -3
- package/dist/components/ModalActions/index.js +3 -3
- package/dist/components/MoreMenu/index.js +7 -8
- package/dist/components/NumberInput/index.js +8 -1
- package/dist/components/PasswordRules/index.js +5 -7
- package/dist/components/PopoverSelect/index.js +6 -10
- package/dist/components/Portal/index.js +6 -1
- package/dist/components/Result/index.js +5 -1
- package/dist/components/SavedChanges/index.js +4 -4
- package/dist/components/Scrollbar/index.js +9 -1
- package/dist/components/SearchInput/index.js +10 -3
- package/dist/components/SelectableCards/index.js +17 -8
- package/dist/components/SeoPreview/index.js +8 -10
- package/dist/components/SplashScreen/index.js +4 -4
- package/dist/components/Steps/index.js +9 -11
- package/dist/components/StyledTab/index.js +6 -7
- package/dist/components/StyledTabs/index.js +3 -3
- package/dist/components/Summary/index.js +3 -5
- package/dist/components/SwapList/index.js +13 -17
- package/dist/components/TabPanel/index.js +3 -3
- package/dist/components/TextMaxLine/index.js +9 -2
- package/dist/components/TimePicker/index.js +3 -3
- package/dist/components/ToggleButtonGroup/index.js +3 -4
- package/dist/components/Tooltip/index.js +2 -2
- package/dist/components/WhiteBox/index.js +6 -1
- package/dist/components/animate/index.js +4 -2
- package/dist/components/carousel/index.js +9 -16
- package/dist/components/form/Address/index.js +8 -12
- package/dist/components/form/Autocomplete/index.js +7 -4
- package/dist/components/form/AutocompleteDetailed/index.js +4 -6
- package/dist/components/form/Checkbox/index.js +3 -3
- package/dist/components/form/Codes/index.js +7 -7
- package/dist/components/form/ColorPicker/index.js +4 -5
- package/dist/components/form/DatePicker/index.js +3 -3
- package/dist/components/form/DateRangePicker/index.js +3 -3
- package/dist/components/form/DateTimePicker/index.js +3 -3
- package/dist/components/form/Field/index.js +7 -1
- package/dist/components/form/Form/index.js +3 -3
- package/dist/components/form/Incrementer/index.js +4 -8
- package/dist/components/form/InputTags/index.js +3 -3
- package/dist/components/form/MaskedInput/index.js +7 -2
- package/dist/components/form/MultiCheckbox/index.js +3 -3
- package/dist/components/form/MultiChipField/index.js +3 -3
- package/dist/components/form/NumberInput/index.js +4 -4
- package/dist/components/form/Password/index.js +8 -9
- package/dist/components/form/RadioGroup/index.js +3 -3
- package/dist/components/form/SelectableCards/index.js +4 -11
- package/dist/components/form/Switch/index.js +3 -3
- package/dist/components/form/TimePicker/index.js +3 -3
- package/dist/components/form/UploadAvatarWithCrop/index.js +6 -17
- package/dist/components/form/UploadWithCrop/index.js +6 -20
- package/dist/components/form/Webhook/index.js +15 -16
- package/dist/components/lightbox/index.js +2 -16
- package/dist/components/table/index.js +9 -21
- package/dist/components/upload/index.js +8 -23
- package/dist/hooks/useActiveElement.js +1 -1
- package/dist/hooks/useApiMessage.js +1 -1
- package/dist/hooks/useAutocomplete.js +2 -2
- package/dist/hooks/useCopyToClipboard.js +1 -1
- package/dist/hooks/useDatagrid.js +1 -1
- package/dist/hooks/useDebounceValue.js +1 -1
- package/dist/hooks/useDeepCompareEffect.js +2 -2
- package/dist/hooks/useEventCallback.js +6 -2
- package/dist/hooks/useEventListener.js +5 -1
- package/dist/hooks/useIsMounting.js +1 -1
- package/dist/hooks/useIsomorphicLayoutEffect.js +5 -1
- package/dist/hooks/useLocalStorage.js +3 -4
- package/dist/hooks/useMount.js +1 -1
- package/dist/hooks/useOnClickOutside.js +3 -3
- package/dist/hooks/usePagination.js +1 -1
- package/dist/hooks/usePopover.js +5 -1
- package/dist/hooks/useResponsive.js +6 -1
- package/dist/hooks/useScrollOffSetTop.js +1 -1
- package/dist/hooks/useSnackbar.js +5 -1
- package/dist/hooks/useTabs.js +1 -1
- package/dist/hooks/useToggle.js +5 -1
- package/dist/hooks/useUpload.js +6 -1
- package/dist/hooks/useUploadImage.js +7 -2
- package/dist/index.js +4 -2
- package/dist/locales/all-langs.js +7 -1
- package/dist/theme/core/index.js +5 -3
- package/dist/theme/styles/index.js +2 -1
- package/dist/theme/theme-provider.js +10 -7
- package/dist/theme/with-settings/index.js +1 -4
- package/dist/types/icon.js +3 -1
- package/dist/types/webhook.js +2 -2
- package/dist/utils/color.js +5 -1
- package/dist/utils/compare.js +5 -1
- package/dist/utils/date.js +1 -1
- package/dist/utils/formatNumber.js +3 -1
- package/dist/utils/formatTime.js +7 -1
- package/dist/utils/loadable.js +3 -3
- package/dist/utils/mask.js +1 -1
- package/dist/utils/number.js +3 -1
- package/dist/utils/sort.js +1 -1
- package/dist/utils/uuidv4.js +1 -1
- package/dist/utils/validators.js +3 -1
- package/package.json +2 -1
- package/dist/chunk-2LYEU7C2.js +0 -17
- package/dist/chunk-2MVQI7NJ.js +0 -8
- package/dist/chunk-2MW433JI.js +0 -17
- package/dist/chunk-2Z4AFXGP.js +0 -10
- package/dist/chunk-3APKMSVD.js +0 -5
- package/dist/chunk-3E5A45HM.js +0 -3
- package/dist/chunk-3SFA4YEZ.js +0 -7
- package/dist/chunk-4INDXVIX.js +0 -5
- package/dist/chunk-4SHVMCT6.js +0 -7
- package/dist/chunk-5YJTSVA2.js +0 -6
- package/dist/chunk-7KZ2UT76.js +0 -8
- package/dist/chunk-ANAHA3L6.js +0 -3
- package/dist/chunk-BUYQKDFG.js +0 -13
- package/dist/chunk-BYAPKKGB.js +0 -7
- package/dist/chunk-CFVUZ4S5.js +0 -5
- package/dist/chunk-CFYNJQGN.js +0 -43
- package/dist/chunk-CQDKXUUX.js +0 -3
- package/dist/chunk-D27ND54J.js +0 -16
- package/dist/chunk-E5MGOPPQ.js +0 -8
- package/dist/chunk-EFUFJKJD.js +0 -7
- package/dist/chunk-GA4A5P3S.js +0 -6
- package/dist/chunk-GOC7PC2S.js +0 -6
- package/dist/chunk-ILHUUK4X.js +0 -6
- package/dist/chunk-J76XIRCA.js +0 -18
- package/dist/chunk-JHCOHKLL.js +0 -7
- package/dist/chunk-KFZEM7KS.js +0 -5
- package/dist/chunk-M6QHAL4V.js +0 -7
- package/dist/chunk-MCT77MRN.js +0 -8
- package/dist/chunk-NF42ENKE.js +0 -9
- package/dist/chunk-OJKIWVED.js +0 -10
- package/dist/chunk-ORYAES3Q.js +0 -5
- package/dist/chunk-P4HPVV7B.js +0 -14
- package/dist/chunk-P5FKEHCD.js +0 -11
- package/dist/chunk-PIYBPQAC.js +0 -17
- package/dist/chunk-PPUFQMAW.js +0 -9
- package/dist/chunk-QCWALW56.js +0 -18
- package/dist/chunk-QNAXGE5H.js +0 -8
- package/dist/chunk-QQB3DGHT.js +0 -3
- package/dist/chunk-R6FUU7Z7.js +0 -7
- package/dist/chunk-REM462FC.js +0 -26
- package/dist/chunk-RLMWIJKJ.js +0 -10
- package/dist/chunk-SEVJABAI.js +0 -7
- package/dist/chunk-T7I256S6.js +0 -8
- package/dist/chunk-TRI6XGH4.js +0 -7
- package/dist/chunk-TWGGHTU5.js +0 -5
- package/dist/chunk-UGH5FWZQ.js +0 -13
- package/dist/chunk-VTHBHXM2.js +0 -7
- package/dist/chunk-VVMQMROT.js +0 -5
- package/dist/chunk-W3MYAMTH.js +0 -5
- package/dist/chunk-WAAV5ZRR.js +0 -13
- package/dist/chunk-WKD3OXUA.js +0 -6
- package/dist/chunk-YWEB6IAI.js +0 -6
- package/dist/chunk-Z2TDWMRU.js +0 -6
- package/dist/chunk-ZDHXW74M.js +0 -5
- package/dist/chunk-ZODC2MGF.js +0 -10
- package/dist/index.css +0 -10
|
@@ -1,2 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
import '
|
|
1
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import D from '@mui/material/Box';
|
|
4
|
+
import m from '@mui/material/SvgIcon';
|
|
5
|
+
import { AddCircleIcon, ReverseWithdrawal01Icon, CircleArrowUpRightIcon, CircleArrowDownLeftIcon, MinusSignCircleIcon, ShoppingCart01Icon, ShoppingCartAdd01Icon, ShoppingCartCheckIn01Icon, CheckmarkCircle02Icon, ChartColumnIcon, FileEditIcon, Dollar01Icon, UserQuestion02Icon, ChartLineData01Icon, LeftToRightListBulletIcon, UserMultiple02Icon, BankIcon, Home05Icon, Tick02Icon, Add01Icon, FloppyDiskIcon, Settings01Icon, PencilEdit01Icon, Delete02Icon, Share03Icon, ArrowLeft01Icon, ArrowRight01Icon, Square01Icon, OfficeIcon, ArrowLeftRightIcon, Cancel01Icon, CheckmarkBadge01Icon, CircleArrowDown02Icon, HelpCircleIcon, ViewOffIcon, ViewIcon, InternetIcon, Delete01Icon, Image02Icon, Remove01Icon, Alert02Icon, Search01Icon, AccountSetting03Icon, ImageAdd02Icon, CloudUploadIcon, InformationCircleIcon, Copy01Icon, AlertCircleIcon, Wallet01Icon, TaskAdd01Icon, PackageIcon, PaintBoardIcon, CreativeMarketIcon, RulerIcon, ArrowDown01Icon, ArrowUp01Icon, DragDropVerticalIcon, ComputerIcon, SmartPhone01Icon, PlayIcon, TextSmallcapsIcon, LicenseIcon, AiInnovation02Icon, CalendarMinus02Icon, LayoutTable02Icon, PercentIcon, PercentCircleIcon, CarouselHorizontalIcon, BubbleChatQuestionIcon, MessageQuestionIcon, UserListIcon, UserGroupIcon, UserAccountIcon, Home04Icon, Menu01Icon, Menu07Icon, TaxesIcon, MoneySecurityIcon, DollarReceive01Icon, Payment01Icon, Calendar04Icon, Clock01Icon, Timer02Icon, SquareLock01Icon, ToggleOffIcon, ToggleOnIcon, TextNumberSignIcon, Calendar02Icon, Location01Icon, UserIcon, FilterHorizontalIcon, FilterVerticalIcon, EarthIcon, FilterIcon, CalculateIcon, Link05Icon, ArrowUpDownIcon, ArrowUp02Icon, PrinterIcon, WebDesign01Icon, CursorInWindowIcon, WhatsappIcon, MoreVerticalIcon, Folder01Icon, ArrowDown02Icon, Database01Icon, ReloadIcon, Layout05Icon, Layout07Icon, Download04Icon, RefreshIcon, ProfileIcon, Briefcase02Icon, ShoppingBasketAdd03Icon, ShoppingBasket03Icon, Share08Icon, CreditCardPosIcon, CreditCardIcon, CorporateIcon, Mail01Icon, SubnodeAddIcon, UserAdd02Icon, DollarCircleIcon, CancelCircleIcon, CancelCircleHalfDotIcon, SaleTag02Icon, ShoppingCartRemove01Icon, ArrowLeft02Icon, MailSend01Icon, DatabaseIcon, TextUnderlineIcon, ArrowReloadHorizontalIcon, DatabaseSync01Icon, ArrowExpandIcon, Summation01Icon, TextColorIcon, Layers01Icon, SqlIcon, ShoppingCart02Icon, Xml01Icon, Invoice01Icon, Invoice02Icon, Directions01Icon, InvoiceIcon, Logout02Icon, UserRemove01Icon, TruckDeliveryIcon, LinkSquare01Icon, File02Icon, TextIcon, TextCreationIcon, CheckmarkSquare02Icon, MoneyExchange01Icon, MoneyExchange03Icon, MoneyBag02Icon, Folder02Icon, ArrowDataTransferHorizontalIcon, ZoomInAreaIcon, ZoomOutAreaIcon, PauseIcon, MaximizeScreenIcon, MinimizeScreenIcon, CodeIcon, SourceCodeIcon, GoogleIcon, DatabaseRestoreIcon, PropertyDeleteIcon, DeliveryBox01Icon, DeliveryReturn01Icon, DocumentCodeIcon, AnalyticsUpIcon, ArrowTurnBackwardIcon, ArrowTurnForwardIcon, ColumnInsertIcon, UserSwitchIcon, FlowSquareIcon, Flowchart02Icon, HotPriceIcon, Trolley01Icon, ComputerProgramming02Icon, StarIcon, BarCode02Icon, UserSquareIcon, AlignBoxMiddleCenterIcon, AlignBoxMiddleLeftIcon, Factory02Icon, DistributionIcon, MoreIcon, Bone01Icon, BlenderIcon, VegetarianFoodIcon, AutomotiveBattery01Icon, LaptopIcon, NecklaceIcon, Vynil02Icon, GameboyIcon, BlushBrush01Icon, RunningShoesIcon, Wrench01Icon, BabyBoyDressIcon, Medicine02Icon, CraneIcon, Wardrobe04Icon, PerfumeIcon, Lamp04Icon, StationeryIcon, HourglassIcon, ShippingLoadingIcon, Location05Icon, SlidersHorizontalIcon, ArrowHorizontalIcon, ArrowRight02Icon, DiscountTag01Icon, PassportExpiredIcon, PassportValidIcon, File01Icon, FileUploadIcon, FileAddIcon, FilePasteIcon, FileAttachmentIcon, FileSearchIcon, FileVerifiedIcon, ArtificialIntelligence07Icon, Attachment02Icon, Building05Icon, Pdf02Icon, Xml02Icon, Sorting19Icon, Sorting91Icon, Blockchain06Icon, RepeatOne02Icon, Sorting01Icon, Sorting02Icon, ArtificialIntelligence04Icon, Discount01Icon, QrCodeIcon, AiMagicIcon, SentIcon, GridViewIcon, CreditCardAddIcon, TableIcon, PackageAddIcon, PlayCircleIcon, Mic01Icon, CoinsDollarIcon, Store02Icon, StoreRemove02Icon, HeadsetIcon, ManagerIcon, ComputerDollarIcon, PreferenceHorizontalIcon, Notification01Icon, Chatting01Icon, SearchVisualIcon, GoogleSheetIcon, DashboardSquare02Icon, PlugSocketIcon, PuzzleIcon, ComputerSettingsIcon, ChartRelationshipIcon, MentoringIcon, PromotionIcon, MessageMultiple01Icon, ArrowShrinkIcon, DashboardSquare01Icon } from 'hugeicons-react';
|
|
6
|
+
import OE from 'assets/icons/ArrowGoBackIcon';
|
|
7
|
+
import TE from 'assets/icons/ArrowGoFowardIcon';
|
|
8
|
+
import iE from 'assets/icons/BannerIcon';
|
|
9
|
+
import tE from 'assets/icons/CalendarClockIcon';
|
|
10
|
+
import SE from 'assets/icons/CardsIcon';
|
|
11
|
+
import LE from 'assets/icons/CirculeIcon';
|
|
12
|
+
import NE from 'assets/icons/CleanIcon';
|
|
13
|
+
import aE from 'assets/icons/DateTimeIcon';
|
|
14
|
+
import DE from 'assets/icons/DecimalIcon';
|
|
15
|
+
import mE from 'assets/icons/DecimalIncreaseIcon';
|
|
16
|
+
import lE from 'assets/icons/DotIcon';
|
|
17
|
+
import PE from 'assets/icons/DropdownIcon';
|
|
18
|
+
import UE from 'assets/icons/FavouriteIcon';
|
|
19
|
+
import ME from 'assets/icons/FavouriteRoundedIcon';
|
|
20
|
+
import pE from 'assets/icons/files/Ai';
|
|
21
|
+
import dE from 'assets/icons/files/Audio';
|
|
22
|
+
import HE from 'assets/icons/files/Document';
|
|
23
|
+
import BE from 'assets/icons/files/Excel';
|
|
24
|
+
import GE from 'assets/icons/files/File';
|
|
25
|
+
import sE from 'assets/icons/files/Folder';
|
|
26
|
+
import FE from 'assets/icons/files/Img';
|
|
27
|
+
import fE from 'assets/icons/files/Js';
|
|
28
|
+
import uE from 'assets/icons/files/Pdf';
|
|
29
|
+
import WE from 'assets/icons/files/PowerPoint';
|
|
30
|
+
import gE from 'assets/icons/files/Pts';
|
|
31
|
+
import hE from 'assets/icons/files/Txt';
|
|
32
|
+
import VE from 'assets/icons/files/Video';
|
|
33
|
+
import wE from 'assets/icons/files/Word';
|
|
34
|
+
import KE from 'assets/icons/files/Zip';
|
|
35
|
+
import YE from 'assets/icons/FilterListIcon';
|
|
36
|
+
import yE from 'assets/icons/HtmlIcon';
|
|
37
|
+
import kE from 'assets/icons/IntegerNumberIcon';
|
|
38
|
+
import XE from 'assets/icons/LowPriorityIcon';
|
|
39
|
+
import xE from 'assets/icons/MiniBannerIcon';
|
|
40
|
+
import bE from 'assets/icons/MoreGrid';
|
|
41
|
+
import vE from 'assets/icons/MoreIcon';
|
|
42
|
+
import ZE from 'assets/icons/NumberOneOutlinedIcon';
|
|
43
|
+
import QE from 'assets/icons/OrdersIcon';
|
|
44
|
+
import zE from 'assets/icons/Pdf';
|
|
45
|
+
import qE from 'assets/icons/PixIcon';
|
|
46
|
+
import JE from 'assets/icons/ProductsIcon';
|
|
47
|
+
import $E from 'assets/icons/RadioButtonCheckedIcon';
|
|
48
|
+
import jE from 'assets/icons/Star02Icon';
|
|
49
|
+
import or from 'assets/icons/TradeDownIcon';
|
|
50
|
+
import Ir from 'assets/icons/TradeUpIcon';
|
|
51
|
+
import nr from 'assets/icons/ViewColumnIcon';
|
|
52
|
+
import cr from 'assets/icons/WarningTriangleSolidIcon';
|
|
53
|
+
import Er from 'assets/icons/WhatsappButtonIcon';
|
|
54
|
+
import { Icon } from 'types/icon';
|
|
55
|
+
|
|
56
|
+
const O=forwardRef(({icon:T,width:c=20,height:i,sx:t,...S},L)=>{const N={[Icon.ADD_CIRCLE]:jsx(AddCircleIcon,{}),[Icon.REVERSE_WITHDRAWAL_01]:jsx(ReverseWithdrawal01Icon,{}),[Icon.CIRCLE_ARROW_UP_RIGHT]:jsx(CircleArrowUpRightIcon,{}),[Icon.CIRCLE_ARROW_DOWN_LEFT]:jsx(CircleArrowDownLeftIcon,{}),[Icon.MINUS_CIRCLE]:jsx(MinusSignCircleIcon,{}),[Icon.CART_SHOPPING]:jsx(ShoppingCart01Icon,{}),[Icon.SHOPPING_CART_ADD]:jsx(ShoppingCartAdd01Icon,{}),[Icon.SHOPPING_CART_CHECK_IN]:jsx(ShoppingCartCheckIn01Icon,{}),[Icon.CHECK_CIRCLE]:jsx(CheckmarkCircle02Icon,{}),[Icon.COLUMN_CHART]:jsx(ChartColumnIcon,{}),[Icon.EDIT_FILE]:jsx(FileEditIcon,{}),[Icon.DOLLAR_MONEY_CIPHER]:jsx(Dollar01Icon,{}),[Icon.USER_QUESTION_MARK]:jsx(UserQuestion02Icon,{}),[Icon.CHART_LINE]:jsx(ChartLineData01Icon,{}),[Icon.LIST_BULLET_LEFT_TO_RIGHT]:jsx(LeftToRightListBulletIcon,{}),[Icon.USER_MULTIPLY]:jsx(UserMultiple02Icon,{}),[Icon.BANK]:jsx(BankIcon,{}),[Icon.HOME_START]:jsx(Home05Icon,{}),[Icon.SIMPLE_CHECK]:jsx(Tick02Icon,{}),[Icon.SIMPLE_ADD]:jsx(Add01Icon,{}),[Icon.SAVE_MARK]:jsx(FloppyDiskIcon,{}),[Icon.SETTINGS]:jsx(Settings01Icon,{}),[Icon.PENCIL_EDIT]:jsx(PencilEdit01Icon,{}),[Icon.DELETE_MARK_BUTTON_02]:jsx(Delete02Icon,{}),[Icon.SHARE_BUTTON_MARK]:jsx(Share03Icon,{}),[Icon.CHEVRON_LEFT]:jsx(ArrowLeft01Icon,{}),[Icon.CHEVRON_RIGHT]:jsx(ArrowRight01Icon,{}),[Icon.SQUARE_FILL]:jsx(Square01Icon,{}),[Icon.OFFICE]:jsx(OfficeIcon,{}),[Icon.ARROW_LEFT_RIGHT]:jsx(ArrowLeftRightIcon,{}),[Icon.CLOSE_MARK_BUTTON]:jsx(Cancel01Icon,{}),[Icon.CHECK_MARK_BADGE]:jsx(CheckmarkBadge01Icon,{}),[Icon.ARROW_DOWN_CICLE]:jsx(CircleArrowDown02Icon,{}),[Icon.HELP_CIRCLE]:jsx(HelpCircleIcon,{}),[Icon.VIEW_OFF]:jsx(ViewOffIcon,{}),[Icon.VIEW_ON]:jsx(ViewIcon,{}),[Icon.INTERNET]:jsx(InternetIcon,{}),[Icon.DELETE_BUTTON_MARK]:jsx(Delete01Icon,{}),[Icon.SEARCH_IMAGE]:jsx(Image02Icon,{}),[Icon.MINUS_SIGN]:jsx(Remove01Icon,{}),[Icon.WARNING_TRIANGULE]:jsx(Alert02Icon,{}),[Icon.WARNING_TRIANGLE]:jsx(Alert02Icon,{}),[Icon.WARNING_TRIANGLE_SOLID]:jsx(cr,{}),[Icon.SEARCH_MAGNIFYING_GLASS]:jsx(Search01Icon,{}),[Icon.ACCOUNT_SETTING_03]:jsx(AccountSetting03Icon,{}),[Icon.ADD_IMAGE]:jsx(ImageAdd02Icon,{}),[Icon.CLOUD_UPLOAD]:jsx(CloudUploadIcon,{}),[Icon.INFO_CIRCLE]:jsx(InformationCircleIcon,{}),[Icon.COPY_CONTENT]:jsx(Copy01Icon,{}),[Icon.ALERT_CIRCLE]:jsx(AlertCircleIcon,{}),[Icon.WALLET]:jsx(Wallet01Icon,{}),[Icon.TASK_ADD_01]:jsx(TaskAdd01Icon,{}),[Icon.PACKAGE]:jsx(PackageIcon,{}),[Icon.PAINT_BOARD]:jsx(PaintBoardIcon,{}),[Icon.CREATIVE_MARKET]:jsx(CreativeMarketIcon,{}),[Icon.RULER]:jsx(RulerIcon,{}),[Icon.ARROW_DOWN_SIMPLE]:jsx(ArrowDown01Icon,{}),[Icon.ARROW_UP_SIMPLE]:jsx(ArrowUp01Icon,{}),[Icon.DRAG_DROP_VERTICAL]:jsx(DragDropVerticalIcon,{}),[Icon.COMPUTER]:jsx(ComputerIcon,{}),[Icon.SMART_PHONE_01]:jsx(SmartPhone01Icon,{}),[Icon.PLAY_SIMPLE]:jsx(PlayIcon,{}),[Icon.CHEVRON_UP]:jsx(ArrowUp01Icon,{}),[Icon.TEXT_FIELDS_SMALL_CAPS]:jsx(TextSmallcapsIcon,{}),[Icon.LICENSE_ARTICLE]:jsx(LicenseIcon,{}),[Icon.AI_INNOVATION_02]:jsx(AiInnovation02Icon,{}),[Icon.CALENDAR_MINUS_02]:jsx(CalendarMinus02Icon,{}),[Icon.LAYOUT_TABLE_02]:jsx(LayoutTable02Icon,{}),[Icon.PERCENT]:jsx(PercentIcon,{}),[Icon.PERCENT_CIRCLE]:jsx(PercentCircleIcon,{}),[Icon.CAROUSEL_HORIZONTAL]:jsx(CarouselHorizontalIcon,{}),[Icon.BUBBLE_CHAT_QUESTION]:jsx(BubbleChatQuestionIcon,{}),[Icon.MESSAGE_QUESTION]:jsx(MessageQuestionIcon,{}),[Icon.USER_LIST]:jsx(UserListIcon,{}),[Icon.USER_GROUP]:jsx(UserGroupIcon,{}),[Icon.USER_ACCOUNT]:jsx(UserAccountIcon,{}),[Icon.HOME_START_04]:jsx(Home04Icon,{}),[Icon.MENU_01]:jsx(Menu01Icon,{}),[Icon.MENU_07]:jsx(Menu07Icon,{}),[Icon.TAXES]:jsx(TaxesIcon,{}),[Icon.MONEY_SECURITY]:jsx(MoneySecurityIcon,{}),[Icon.DOLLAR_RECEIVE_01]:jsx(DollarReceive01Icon,{}),[Icon.PAYMENT_01]:jsx(Payment01Icon,{}),[Icon.CALENDAR_TODAY]:jsx(Calendar04Icon,{}),[Icon.SELECT_HOUR_CLOCK]:jsx(Clock01Icon,{}),[Icon.COUNTER_CLOCK]:jsx(Timer02Icon,{}),[Icon.SQUARE_LOCK_01]:jsx(SquareLock01Icon,{}),[Icon.TOGGLE_OFF]:jsx(ToggleOffIcon,{}),[Icon.TOGGLE_ON]:jsx(ToggleOnIcon,{}),[Icon.TEXT_NUMBER_SIGN]:jsx(TextNumberSignIcon,{}),[Icon.INTERVAL_DATE]:jsx(Calendar02Icon,{}),[Icon.LOCATION_SIMPLE_01]:jsx(Location01Icon,{}),[Icon.USER_REQUEST_ACCESS]:jsx(UserIcon,{}),[Icon.FILTER_HORIZONTAL]:jsx(FilterHorizontalIcon,{}),[Icon.FILTER_VERTICAL]:jsx(FilterVerticalIcon,{}),[Icon.EARTH_PUBLIC]:jsx(EarthIcon,{}),[Icon.FILTER_SIMPLE]:jsx(FilterIcon,{}),[Icon.CALCULATE_SIGNS]:jsx(CalculateIcon,{}),[Icon.LINK_HORIZONTAL]:jsx(Link05Icon,{}),[Icon.ARROW_UP_DOWN]:jsx(ArrowUpDownIcon,{}),[Icon.ARROW_UP_02]:jsx(ArrowUp02Icon,{}),[Icon.PRINTER]:jsx(PrinterIcon,{}),[Icon.DASHBOARD_WEB_01]:jsx(WebDesign01Icon,{}),[Icon.CURSOR_IN_WINDOW]:jsx(CursorInWindowIcon,{}),[Icon.WHATSAPP]:jsx(WhatsappIcon,{}),[Icon.MORE_OPTIONS_VERTICAL]:jsx(MoreVerticalIcon,{}),[Icon.FOLDER_01]:jsx(Folder01Icon,{}),[Icon.ARROW_DOWN_02]:jsx(ArrowDown02Icon,{}),[Icon.DATABASE_SYMBOL]:jsx(Database01Icon,{}),[Icon.RELOAD_REFRESH]:jsx(ReloadIcon,{}),[Icon.LAYOUT_05]:jsx(Layout05Icon,{}),[Icon.LAYOUT_07]:jsx(Layout07Icon,{}),[Icon.DOWNLOAD_EXPORT_04]:jsx(Download04Icon,{}),[Icon.REFRESH_CHANGE]:jsx(RefreshIcon,{}),[Icon.PROFILE]:jsx(ProfileIcon,{}),[Icon.HAND_BAG_BRIEFCASE]:jsx(Briefcase02Icon,{}),[Icon.SHOPPING_BASKET_ADD]:jsx(ShoppingBasketAdd03Icon,{}),[Icon.SHOPPING_BASKET_03]:jsx(ShoppingBasket03Icon,{}),[Icon.SHARE_ANOTHER_MEANS]:jsx(Share08Icon,{}),[Icon.CREDIT_CARD_INCLINED]:jsx(CreditCardPosIcon,{}),[Icon.CREDIT_CARD]:jsx(CreditCardIcon,{}),[Icon.CORPORATE]:jsx(CorporateIcon,{}),[Icon.MAIL]:jsx(Mail01Icon,{}),[Icon.SUBNODE_ADD]:jsx(SubnodeAddIcon,{}),[Icon.ADD_USER_02]:jsx(UserAdd02Icon,{}),[Icon.DOLLAR_CIRCLE]:jsx(DollarCircleIcon,{}),[Icon.CANCEL_CIRCLE]:jsx(CancelCircleIcon,{}),[Icon.CANCEL_CIRCLE_HALF_DOT]:jsx(CancelCircleHalfDotIcon,{}),[Icon.SALE_TAG_02]:jsx(SaleTag02Icon,{}),[Icon.SHOPPING_CART_REMOVE]:jsx(ShoppingCartRemove01Icon,{}),[Icon.ARROW_BACK]:jsx(ArrowLeft02Icon,{}),[Icon.MAIL_SEND_01]:jsx(MailSend01Icon,{}),[Icon.DATABASE]:jsx(DatabaseIcon,{}),[Icon.TEXT_UNDERLINE]:jsx(TextUnderlineIcon,{}),[Icon.ARROW_RELOAD_HORIZONTAL]:jsx(ArrowReloadHorizontalIcon,{}),[Icon.DATABASE_SYNC]:jsx(DatabaseSync01Icon,{}),[Icon.EXPAND_FULL_SCREEN]:jsx(ArrowExpandIcon,{}),[Icon.PLAY_EXECUTE]:jsx(PlayIcon,{}),[Icon.SUMMATION]:jsx(Summation01Icon,{}),[Icon.TEXT_FORMAT]:jsx(TextColorIcon,{}),[Icon.LAYERS]:jsx(Layers01Icon,{}),[Icon.SQL]:jsx(SqlIcon,{}),[Icon.SHOPPING_CART_02]:jsx(ShoppingCart02Icon,{}),[Icon.XML_FILE_01]:jsx(Xml01Icon,{}),[Icon.INVOICE_01]:jsx(Invoice01Icon,{}),[Icon.INVOICE_02]:jsx(Invoice02Icon,{}),[Icon.DIRECTIONS]:jsx(Directions01Icon,{}),[Icon.INVOICE]:jsx(InvoiceIcon,{}),[Icon.USER]:jsx(UserIcon,{}),[Icon.LOGOUT_02]:jsx(Logout02Icon,{}),[Icon.USER_REMOVE_01]:jsx(UserRemove01Icon,{}),[Icon.TRUCK_DELIVERY]:jsx(TruckDeliveryIcon,{}),[Icon.OPEN_IN_NEW_TAB]:jsx(LinkSquare01Icon,{}),[Icon.ARROW_RIGHT_SIMPLE]:jsx(ArrowRight01Icon,{}),[Icon.ARROW_LEFT_SIMPLE]:jsx(ArrowLeft01Icon,{}),[Icon.FILE]:jsx(File02Icon,{}),[Icon.TEXT]:jsx(TextIcon,{}),[Icon.TEXT_CREATION]:jsx(TextCreationIcon,{}),[Icon.CHECK_BOX]:jsx(CheckmarkSquare02Icon,{}),[Icon.CURRENCY_EXCHANGE]:jsx(MoneyExchange01Icon,{}),[Icon.CURRENCY_EXCHANGE_03]:jsx(MoneyExchange03Icon,{}),[Icon.MONEY_BAG_02]:jsx(MoneyBag02Icon,{}),[Icon.ACCOUNT_BOX]:jsx(Fragment,{}),[Icon.FOLDER_OPEN]:jsx(Folder02Icon,{}),[Icon.HOURS_FILL]:jsx(Fragment,{}),[Icon.FORM_SELECT]:jsx(Fragment,{}),[Icon.BAR]:jsx(Fragment,{}),[Icon.COMPARE_ARROWS]:jsx(ArrowDataTransferHorizontalIcon,{}),[Icon.ZOOM_IN]:jsx(ZoomInAreaIcon,{}),[Icon.ZOOM_OUT]:jsx(ZoomOutAreaIcon,{}),[Icon.PAUSE]:jsx(PauseIcon,{}),[Icon.MAXIMIZE_SCREEN]:jsx(MaximizeScreenIcon,{}),[Icon.MINIMIZE_SCREEN]:jsx(MinimizeScreenIcon,{}),[Icon.JSON]:jsx(CodeIcon,{}),[Icon.SOURCE_CODE]:jsx(SourceCodeIcon,{}),[Icon.BOX]:jsx(PackageIcon,{}),[Icon.GOOGLE]:jsx(GoogleIcon,{}),[Icon.DATABASE_BACKUP]:jsx(DatabaseRestoreIcon,{}),[Icon.PROPERTY_DELETE]:jsx(PropertyDeleteIcon,{}),[Icon.DELIVERY_BOX]:jsx(DeliveryBox01Icon,{}),[Icon.DELIVERY_RETURN_01]:jsx(DeliveryReturn01Icon,{}),[Icon.DOCUMENT_CODE]:jsx(DocumentCodeIcon,{}),[Icon.ANALYTICS_UP]:jsx(AnalyticsUpIcon,{}),[Icon.ARROW_TURN_BACKWARD]:jsx(ArrowTurnBackwardIcon,{}),[Icon.ARROW_TURN_FORWARD]:jsx(ArrowTurnForwardIcon,{}),[Icon.COLUMN_INSERT]:jsx(ColumnInsertIcon,{}),[Icon.USER_SWITCH]:jsx(UserSwitchIcon,{}),[Icon.FLOW_SQUARE]:jsx(FlowSquareIcon,{}),[Icon.FLOW_CHART_02]:jsx(Flowchart02Icon,{}),[Icon.HOT_PRICE]:jsx(HotPriceIcon,{}),[Icon.TROLLEY]:jsx(Trolley01Icon,{}),[Icon.COMPUTER_PROGRAMMING_02]:jsx(ComputerProgramming02Icon,{}),[Icon.STAR]:jsx(StarIcon,{}),[Icon.BAR_CODE]:jsx(BarCode02Icon,{}),[Icon.USER_SQUARE]:jsx(UserSquareIcon,{}),[Icon.ALIGN_BOX_MIDDLE_CENTER]:jsx(AlignBoxMiddleCenterIcon,{}),[Icon.ALIGN_BOX_MIDDLE_LEFT]:jsx(AlignBoxMiddleLeftIcon,{}),[Icon.FACTORY_02]:jsx(Factory02Icon,{}),[Icon.DISTRIBUTION]:jsx(DistributionIcon,{}),[Icon.MORE]:jsx(MoreIcon,{}),[Icon.BONE]:jsx(Bone01Icon,{}),[Icon.BLENDER]:jsx(BlenderIcon,{}),[Icon.VEGETARIAN_FOOD]:jsx(VegetarianFoodIcon,{}),[Icon.AUTOMOTIVE_BATTERY_01]:jsx(AutomotiveBattery01Icon,{}),[Icon.LAPTOP]:jsx(LaptopIcon,{}),[Icon.NECKLACE]:jsx(NecklaceIcon,{}),[Icon.VYNIL_02]:jsx(Vynil02Icon,{}),[Icon.GAMEBOY]:jsx(GameboyIcon,{}),[Icon.BLUSH_BRUSH_01]:jsx(BlushBrush01Icon,{}),[Icon.RUNNING_SHOES]:jsx(RunningShoesIcon,{}),[Icon.WRENCH_01]:jsx(Wrench01Icon,{}),[Icon.BABY_BOY_DRESS]:jsx(BabyBoyDressIcon,{}),[Icon.MEDICINE_02]:jsx(Medicine02Icon,{}),[Icon.CRANE]:jsx(CraneIcon,{}),[Icon.WARDROBE_04]:jsx(Wardrobe04Icon,{}),[Icon.PERFUME]:jsx(PerfumeIcon,{}),[Icon.LAMP_04]:jsx(Lamp04Icon,{}),[Icon.STATIONERY]:jsx(StationeryIcon,{}),[Icon.HOURGLASS]:jsx(HourglassIcon,{}),[Icon.SHIPPING_LOADING]:jsx(ShippingLoadingIcon,{}),[Icon.LOCATION_05]:jsx(Location05Icon,{}),[Icon.SLIDERS_HORIZONTAL]:jsx(SlidersHorizontalIcon,{}),[Icon.ARROW_HORIZONTAL]:jsx(ArrowHorizontalIcon,{}),[Icon.ARROW_RIGHT]:jsx(ArrowRight02Icon,{}),[Icon.DISCOUNT_TAG_01]:jsx(DiscountTag01Icon,{}),[Icon.PASSPORT_EXPIRED]:jsx(PassportExpiredIcon,{}),[Icon.PASSPORT_VALID]:jsx(PassportValidIcon,{}),[Icon.FILE_02]:jsx(File01Icon,{}),[Icon.SEND_FILE]:jsx(FileUploadIcon,{}),[Icon.ADD_FILE]:jsx(FileAddIcon,{}),[Icon.SHARE_FILE]:jsx(FilePasteIcon,{}),[Icon.ANNEXED_FILE]:jsx(FileAttachmentIcon,{}),[Icon.SEARCH_FILE]:jsx(FileSearchIcon,{}),[Icon.CHECKED_FILE]:jsx(FileVerifiedIcon,{}),[Icon.AI_07]:jsx(ArtificialIntelligence07Icon,{}),[Icon.ATTACHMENT]:jsx(Attachment02Icon,{}),[Icon.BUILDING]:jsx(Building05Icon,{}),[Icon.FILE_PDF]:jsx(Pdf02Icon,{}),[Icon.FILE_XML]:jsx(Xml02Icon,{}),[Icon.SORTING_1_9]:jsx(Sorting19Icon,{}),[Icon.SORTING_9_1]:jsx(Sorting91Icon,{}),[Icon.BLOCKCHAIN]:jsx(Blockchain06Icon,{}),[Icon.REPEATE_ONE_02]:jsx(RepeatOne02Icon,{}),[Icon.SORTING_DESC]:jsx(Sorting01Icon,{}),[Icon.SORTING_ASC]:jsx(Sorting02Icon,{}),[Icon.ARTIFICIAL_INTELLIGENCE_04]:jsx(ArtificialIntelligence04Icon,{}),[Icon.DISCOUNT_01]:jsx(Discount01Icon,{}),[Icon.QR_CODE]:jsx(QrCodeIcon,{}),[Icon.MAGIC_AI]:jsx(AiMagicIcon,{}),[Icon.SENT]:jsx(SentIcon,{}),[Icon.GRID_VIEW]:jsx(GridViewIcon,{}),[Icon.CREDIT_CARD_ADD]:jsx(CreditCardAddIcon,{}),[Icon.TABLE]:jsx(TableIcon,{}),[Icon.PACKAGE_ADD]:jsx(PackageAddIcon,{}),[Icon.PLAY_CIRCLE]:jsx(PlayCircleIcon,{}),[Icon.MIC_01]:jsx(Mic01Icon,{}),[Icon.COINS_DOLLAR]:jsx(CoinsDollarIcon,{}),[Icon.STORE_02]:jsx(Store02Icon,{}),[Icon.STORE_REMOVE_02]:jsx(StoreRemove02Icon,{}),[Icon.HEADSET]:jsx(HeadsetIcon,{}),[Icon.MANAGER]:jsx(ManagerIcon,{}),[Icon.COMPUTER_DOLLAR]:jsx(ComputerDollarIcon,{}),[Icon.FAVOURITE]:jsx(UE,{}),[Icon.FAVOURITE_ROUNDED]:jsx(ME,{}),[Icon.STAR_02]:jsx(jE,{}),[Icon.ARROW_GO_BACK]:jsx(OE,{}),[Icon.ARROW_GO_FORWARD]:jsx(TE,{}),[Icon.CALENDAR_CLOCK]:jsx(tE,{}),[Icon.DATE_TIME]:jsx(aE,{}),[Icon.DECIMAL]:jsx(DE,{}),[Icon.DECIMAL_INCREASE]:jsx(mE,{}),[Icon.DOT]:jsx(lE,{}),[Icon.DROPDOWN]:jsx(PE,{}),[Icon.FILTER_LIST]:jsx(YE,{}),[Icon.HTML]:jsx(yE,{}),[Icon.INTEGER_NUMBER]:jsx(kE,{}),[Icon.LOW_PRIORITY]:jsx(XE,{}),[Icon.NUMBER_ONE_OUTLINE]:jsx(ZE,{}),[Icon.PIX]:jsx(qE,{}),[Icon.RADIO_BUTTON_CHECKED]:jsx($E,{}),[Icon.TRADE_DOWN]:jsx(or,{}),[Icon.TRADE_UP]:jsx(Ir,{}),[Icon.VIEW_COLUMN]:jsx(nr,{}),[Icon.WHATSAPP_ICON]:jsx(Er,{}),[Icon.PDF_ICON]:jsx(zE,{}),[Icon.CIRCLE]:jsx(LE,{}),[Icon.PREFERENCE_HORIZONTAL]:jsx(PreferenceHorizontalIcon,{}),[Icon.BANNER]:jsx(iE,{}),[Icon.MINI_BANNER]:jsx(xE,{}),[Icon.PRODUCTS]:jsx(JE,{}),[Icon.ORDERS]:jsx(QE,{}),[Icon.CARDS]:jsx(SE,{}),[Icon.CLEAN]:jsx(NE,{}),[Icon.NOTIFICATION]:jsx(Notification01Icon,{}),[Icon.MORE_BOLD]:jsx(vE,{}),[Icon.MORE_GRID]:jsx(bE,{}),[Icon.CHATTING]:jsx(Chatting01Icon,{}),[Icon.SEARCH_VISUAL]:jsx(SearchVisualIcon,{}),[Icon.GOOGLE_SHEET]:jsx(GoogleSheetIcon,{}),[Icon.DASHBOARD_SQUARE_02]:jsx(DashboardSquare02Icon,{}),[Icon.PLUG_SOCKET]:jsx(PlugSocketIcon,{}),[Icon.PUZZLE_STROKE_ROUNDED_01]:jsx(PuzzleIcon,{}),[Icon.COMPUTER_SETTINGS_STROKE_ROUNDED_O1]:jsx(ComputerSettingsIcon,{}),[Icon.CHART_RELATIONSHIP_STROKE_ROUNDED_01]:jsx(ChartRelationshipIcon,{}),[Icon.MENTORING]:jsx(MentoringIcon,{}),[Icon.PROMOTION]:jsx(PromotionIcon,{}),[Icon.MESSAGE_MULTIPLE]:jsx(MessageMultiple01Icon,{}),[Icon.ARROW_SHRINK]:jsx(ArrowShrinkIcon,{}),[Icon.DASHBOARD_SQUARE_01]:jsx(DashboardSquare01Icon,{}),[Icon.IC_AI]:jsx(pE,{}),[Icon.IC_AUDIO]:jsx(dE,{}),[Icon.IC_DOCUMENT]:jsx(HE,{}),[Icon.IC_EXCEL]:jsx(BE,{}),[Icon.IC_FILE]:jsx(GE,{}),[Icon.IC_FOLDER]:jsx(sE,{}),[Icon.IC_IMG]:jsx(FE,{}),[Icon.IC_JS]:jsx(fE,{}),[Icon.IC_PDF]:jsx(uE,{}),[Icon.IC_POWER_POINT]:jsx(WE,{}),[Icon.IC_PTS]:jsx(gE,{}),[Icon.IC_TXT]:jsx(hE,{}),[Icon.IC_VIDEO]:jsx(VE,{}),[Icon.IC_WORD]:jsx(wE,{}),[Icon.IC_ZIP]:jsx(KE,{})}[T];return jsx(D,{ref:L,component:m,sx:{width:c,height:i||c,...t},...S,children:N})});O.displayName="Icon";var e_=O;
|
|
57
|
+
|
|
58
|
+
export { e_ as default };
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import l from 'react-cropper';
|
|
3
|
+
import { Container } from './styles';
|
|
4
|
+
|
|
5
|
+
const n=({onInitialized:t,aspectRatio:a=1,imageSrc:i="",zoom:p=.5,onZoomChange:e})=>jsx(Container,{children:jsx(l,{zoomTo:p,wheelZoomRatio:.2,zoomOnWheel:!0,zoom:o=>{if(o.detail.ratio>2){o.preventDefault(),e(2);return}if(o.detail.ratio<.1){o.preventDefault(),e(.1);return}e(o.detail.ratio);},src:i,aspectRatio:a,viewMode:0,responsive:!0,autoCropArea:1,guides:!0,background:!1,onInitialized:t,dragMode:"move",cropBoxMovable:!1,style:{height:"25vw"}})});var C=n;
|
|
6
|
+
|
|
7
|
+
export { C as default };
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import { useState } from 'react';
|
|
3
|
+
import k from '@mui/lab/LoadingButton';
|
|
4
|
+
import i from '@mui/material/Button';
|
|
5
|
+
import z from '@mui/material/Slider';
|
|
6
|
+
import r from '@mui/material/Stack';
|
|
7
|
+
import M from '@mui/material/Typography';
|
|
8
|
+
import n from '../Icon';
|
|
9
|
+
import v from '../ImageCrop';
|
|
10
|
+
import B from '../Modal';
|
|
11
|
+
|
|
12
|
+
const y=({id:c,open:d,onClose:e,label:p,onSave:u,onRemove:g,onPreview:s,imageSrc:f,aspectRatio:h,onInitialized:C,loading:I})=>{const[l,m]=useState(.5);return jsx(B,{open:d,onClose:e,dialogTitle:p,actions:jsxs(Fragment,{children:[jsx(i,{variant:"outlined",size:"medium",onClick:e,color:"inherit",children:"Cancelar"}),jsx(k,{variant:"contained",size:"medium",onClick:u,loading:I,children:"Salvar"})]}),fullWidth:!0,maxWidth:"sm",keepMounted:!0,children:jsxs(r,{gap:2,children:[jsx(v,{imageSrc:f,aspectRatio:h,onInitialized:C,zoom:l,onZoomChange:m}),jsxs(r,{gap:1.5,children:[jsxs(r,{width:1,direction:"row",gap:3,flex:1,alignItems:"center",children:[jsx(M,{variant:"body1",children:"Zoom"}),jsx(z,{value:l,onChange:(E,a)=>m(Array.isArray(a)?a[0]:a),min:.1,max:2,size:"medium",step:.0125})]}),jsxs(r,{direction:"row",gap:2,children:[jsx(i,{variant:"outlined",color:"inherit",size:"large",fullWidth:!0,startIcon:jsx(n,{icon:"DELETE_MARK_BUTTON_02"}),onClick:g,children:"Remover"}),jsx(i,{variant:"outlined",color:"inherit",size:"large",fullWidth:!0,startIcon:jsx(n,{icon:"PLAY_SIMPLE"}),onClick:s,children:"Pr\xE9-visualizar"}),jsx(i,{variant:"outlined",color:"inherit",size:"large",fullWidth:!0,startIcon:jsx(n,{icon:"SEARCH_IMAGE"}),component:"label",htmlFor:c,children:"Alterar"})]})]})]})})};var F=y;
|
|
13
|
+
|
|
14
|
+
export { F as default };
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef, useState, useRef, useMemo, useCallback } from 'react';
|
|
3
|
+
import P from '@mui/material/IconButton';
|
|
4
|
+
import k from '@mui/material/InputAdornment';
|
|
5
|
+
import { fWithDecimalPlacesOrNot } from 'utils/formatNumber';
|
|
6
|
+
import A from '../Icon';
|
|
7
|
+
import H from '../NumberInput';
|
|
8
|
+
|
|
9
|
+
const C=forwardRef(({name:M,increment:r=1,updadteForMultiple:h,allowNegative:s=!1,value:m=0,onChange:c,minValue:n,maxValue:e,decimalScale:p,disabled:i,tabIndex:R,...T},w)=>{const[B,O]=useState(`incrementer-input-${Date.now()}`),I=useRef(null),u=Number(m||0),d=()=>{I.current&&(clearTimeout(I.current),I.current=null);},v=useMemo(()=>{const o=u-r;return typeof n=="number"&&o<n?!0:i||!s&&o<0},[i,u,r,n,s]),z=useMemo(()=>{const o=u+r;return typeof e=="number"&&o>e?!0:i},[i,u,r,e]),E=useCallback(()=>{if(d(),!s&&u-r<0)return;const o=u-r,t=n!==void 0&&o<n?n:fWithDecimalPlacesOrNot(o,p);c(t);},[u,r,n,p,c,s]),L=useCallback(()=>{d();const o=u+r,t=e!==void 0&&o>e?e:fWithDecimalPlacesOrNot(o,p);c(t);},[u,r,e,p,c]),N=useCallback(o=>{d();let t=Number(o.target.value||0);(r!==1||h)&&(t=t+r/2,t-=t%r),!s&&t<0&&(t=0),typeof n=="number"&&t<n&&(t=n),typeof e=="number"&&t>e&&(t=e),t=fWithDecimalPlacesOrNot(t,p),t===m&&(I.current=setTimeout(()=>{O(`incrementer-input-${Date.now()}`);},600)),c(t);},[m,r,n,e,p,c,h,s]);return jsx(H,{ref:w,name:M,value:u,minValue:n,maxValue:e,allowNegative:s,decimalScale:p,InputProps:{startAdornment:jsx(k,{position:"start",children:jsx(P,{size:"medium",onClick:E,disabled:v,children:jsx(A,{icon:"MINUS_SIGN",width:14,height:14,color:"primary.main"})})}),endAdornment:jsx(k,{position:"end",children:jsx(P,{size:"medium",onClick:L,disabled:z,children:jsx(A,{icon:"SIMPLE_ADD",width:14,height:14,color:"primary.main"})})}),inputProps:{style:{textAlign:"center"}}},inputProps:{tabIndex:R},onChange:N,disabled:i,...T},B)});C.displayName="Incrementer";var F=C;
|
|
10
|
+
|
|
11
|
+
export { F as default };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { a } from '../../chunk-D27ND54J.js';
|
|
2
|
-
import { forwardRef } from 'react';
|
|
3
|
-
import d from '@mui/material/Box';
|
|
4
|
-
import { styled, lighten, useTheme } from '@mui/material/styles';
|
|
5
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import p from '@mui/material/Box';
|
|
4
|
+
import { useTheme } from '@mui/material/styles';
|
|
5
|
+
import { labelClasses } from './classes';
|
|
6
|
+
import { StyledLabel } from './styles';
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
const y=e=>e.charAt(0).toUpperCase()+e.slice(1),r=forwardRef(({children:e,color:l="default",variant:i="soft",startIcon:o,endIcon:t,sx:n,...f},c)=>{const b=useTheme(),m={width:16,height:16,"& svg, img":{width:1,height:1,objectFit:"cover"}};return jsxs(StyledLabel,{ref:c,component:"span",className:labelClasses.root,ownerState:{color:l,variant:i},sx:{...o&&{pl:.75},...t&&{pr:.75},...n},theme:b,...f,children:[o&&jsx(p,{component:"span",className:labelClasses.icon,sx:{mr:.75,...m},children:o}),typeof e=="string"?y(e):e,t&&jsx(p,{component:"span",className:labelClasses.icon,sx:{ml:.75,...m},children:t})]})});r.displayName="Label";var B=r;
|
|
8
9
|
|
|
9
|
-
export {
|
|
10
|
+
export { B as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import i from '@mui/material/LinearProgress';
|
|
2
|
-
import t from '@mui/material/Box';
|
|
3
|
-
import { styled } from '@mui/material/styles';
|
|
4
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import o from '@mui/material/LinearProgress';
|
|
3
|
+
import { Container } from './styles';
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
const n=()=>jsx(Container,{children:jsx(o,{color:"primary",sx:{width:1,maxWidth:360}})});var a=n;
|
|
7
6
|
|
|
8
|
-
export {
|
|
7
|
+
export { a as default };
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef, useState } from 'react';
|
|
3
|
+
import { IMaskMixin } from 'react-imask';
|
|
4
|
+
import m from '@mui/material/TextField';
|
|
5
|
+
|
|
6
|
+
const k=IMaskMixin(a=>{const{inputRef:e,"data-value":u,defaultValue:s,tabIndex:n,...t}=a;return jsx(m,{inputRef:e,fullWidth:!0,...t,inputProps:{...t.inputProps,tabIndex:n},value:u})}),p=forwardRef(({onChange:a,name:e,...u},s)=>{const[n,t]=useState("");return jsx(k,{inputRef:s,name:e,"data-value":n,...u,onAccept:(r,d)=>{t(r),a({target:{name:e,value:d._unmaskedValue}});}})});p.displayName="MaskedInput";var x=p;
|
|
7
|
+
|
|
8
|
+
export { x as default };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { a } from '../../chunk-PPUFQMAW.js';
|
|
2
|
-
import '../../chunk-3E5A45HM.js';
|
|
3
|
-
import f from '@mui/material/CircularProgress';
|
|
4
|
-
import s from '@mui/material/MenuItem';
|
|
5
|
-
import p from '@mui/material/Stack';
|
|
6
|
-
import { styled } from '@mui/material/styles';
|
|
7
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import n from '@mui/material/CircularProgress';
|
|
3
|
+
import p from '@mui/material/MenuItem';
|
|
4
|
+
import a from '@mui/material/Stack';
|
|
5
|
+
import u from 'components/Icon';
|
|
6
|
+
import { LoadingContainer } from './styles';
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
const f=({icon:e,children:t,loading:o,disabled:m,...i})=>jsx(p,{...i,disabled:m||o,children:jsxs(a,{direction:"row",color:"grey.600",alignItems:"center",children:[e&&!o&&jsx(u,{icon:e,color:"primary.main"}),o&&jsx(LoadingContainer,{children:jsx(n,{size:20})}),t]})});var k=f;
|
|
10
9
|
|
|
11
|
-
export {
|
|
10
|
+
export { k as default };
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import a from '@mui/material/Popover';
|
|
3
|
+
import g from './getPosition';
|
|
4
|
+
import { StyledArrow } from './styles';
|
|
5
|
+
|
|
6
|
+
const m=({open:o,children:i,arrow:r="top-right",disabledArrow:e,sx:t,...n})=>{const{style:p,anchorOrigin:s,transformOrigin:P}=g(r);return jsxs(a,{open:!!o,anchorEl:o,anchorOrigin:s,transformOrigin:P,PaperProps:{sx:{p:1,width:"auto",overflow:"inherit",...p,"& .MuiMenuItem-root":{px:1,typography:"body2",borderRadius:.75,"& svg":{mr:2,width:20,height:20,flexShrink:0}},...t}},...n,children:[!e&&jsx(StyledArrow,{arrow:r}),i]})};var c=m;
|
|
7
|
+
|
|
8
|
+
export { c as default };
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import d from '@mui/material/Dialog';
|
|
3
|
+
import f from '@mui/material/DialogTitle';
|
|
4
|
+
import A from '@mui/material/IconButton';
|
|
5
|
+
import C from '../Icon';
|
|
6
|
+
import D from './Actions';
|
|
7
|
+
import { Header, Content } from './styles';
|
|
8
|
+
|
|
9
|
+
const I=({actions:t,actionsProps:l,children:a,dialogContentProps:p,dialogTitle:r,dialogTitleProps:c,onClose:i,id:n,...e})=>{const s=n||"modal-actions";return jsxs(d,{id:n,scroll:"body",...e,onClose:i,children:[jsxs(Header,{children:[r&&jsx(f,{variant:"subtitle1",...c,children:r}),jsx(A,{onClick:i,children:jsx(C,{icon:"CLOSE_MARK_BUTTON"})})]}),jsx(Content,{...p,children:a}),t&&jsx(D,{actionsProps:{...l,id:s},children:t})]})};var L=I;
|
|
10
|
+
|
|
11
|
+
export { L as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a } from '../../chunk-5YJTSVA2.js';
|
|
2
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import t from '../Portal';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
const i=({children:o,id:r="modal-actions"})=>jsx(t,{container:r,children:o});var m=i;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { m as default };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { a as a$2 } from '../../chunk-EFUFJKJD.js';
|
|
2
|
-
import { a as a$1 } from '../../chunk-PPUFQMAW.js';
|
|
3
|
-
import '../../chunk-3E5A45HM.js';
|
|
4
|
-
import { a } from '../../chunk-ORYAES3Q.js';
|
|
5
|
-
import u from '@mui/material/IconButton';
|
|
6
|
-
import c from '@mui/material/Stack';
|
|
7
1
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import p from '@mui/material/IconButton';
|
|
3
|
+
import m from '@mui/material/Stack';
|
|
4
|
+
import i from 'components/Icon';
|
|
5
|
+
import u from 'components/MenuPopover';
|
|
6
|
+
import c from 'hooks/usePopover';
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
const M=({actions:n})=>{const{open:r,onClose:e,onOpen:t}=c();return jsxs(Fragment,{children:[jsx(p,{color:r?"inherit":"default",onClick:t,children:jsx(i,{icon:"MORE_BOLD"})}),jsx(u,{open:r,onClose:e,arrow:"right-top",children:jsx(m,{component:"ul",gap:.5,minWidth:160,children:n})})]})};var B=M;
|
|
10
9
|
|
|
11
|
-
export {
|
|
10
|
+
export { B as default };
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef, useState, useRef, useEffect } from 'react';
|
|
3
|
+
import { NumericFormat } from 'react-number-format';
|
|
4
|
+
import W from '@mui/material/TextField';
|
|
5
|
+
|
|
6
|
+
const m=forwardRef(({decimalScale:p=0,fixedDecimalScale:f=!0,prefix:c,allowNegative:s,minValue:t,maxValue:n=1/0,maxLength:d,value:I,inputProps:N,InputProps:b,size:S,disabled:T,name:u,helperText:g,error:y,fullWidth:h,label:v,required:w,onChange:r,tabIndex:x,placeholder:D,margin:F,className:P},R)=>{const[k,E]=useState(Date.now()),e=useRef(null),l=()=>E(Date.now()),L=(V,o)=>{r&&(e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{const{floatValue:a}=V,i=a||0;if(t!==void 0&&t>i){r({target:{name:u,value:t},event:o}),l();return}if(a!==void 0&&n<i){r({target:{name:u,value:n},event:o}),l();return}r({target:{name:u,value:a},event:o});},500));};return useEffect(()=>()=>{e.current&&clearTimeout(e.current);},[]),jsx(NumericFormat,{getInputRef:R,value:I,prefix:c,decimalSeparator:",",thousandSeparator:".",decimalScale:p,fixedDecimalScale:f,autoComplete:"off",allowNegative:s,maxLength:d,onValueChange:L,customInput:W,InputProps:{...b},inputProps:{...N,tabIndex:x},disabled:T,size:S,helperText:g,error:y,fullWidth:h,label:v,required:w,placeholder:D,margin:F,className:P},k)});m.displayName="NumberInput";var X=m;
|
|
7
|
+
|
|
8
|
+
export { X as default };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { d } from '../../chunk-CQDKXUUX.js';
|
|
2
|
-
import { a as a$1 } from '../../chunk-PPUFQMAW.js';
|
|
3
|
-
import '../../chunk-3E5A45HM.js';
|
|
4
|
-
import a from '@mui/material/Typography';
|
|
5
|
-
import l from '@mui/material/Stack';
|
|
6
|
-
import { styled, alpha } from '@mui/material/styles';
|
|
7
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import s from '@mui/material/Typography';
|
|
3
|
+
import { validatePassword } from 'utils/validators';
|
|
4
|
+
import u from '../Icon';
|
|
5
|
+
import { RulesContainer, Rules, Rule } from './styles';
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
const a=({passed:n})=>n?jsx(u,{icon:"SIMPLE_CHECK",color:"success.main"}):jsx(u,{icon:"WARNING_TRIANGULE",color:"warning.main"}),f=({password:n,passwordSize:p,numberChar:t=!1,specialCharacter:l=!1,upperCaseChar:c=!1,match:m})=>{const{hasSpecialCharacter:i,hasUpperCaseChar:d,isLengthValid:g,hasNumberChar:R}=validatePassword(n,p,t,l,c);return jsxs(RulesContainer,{children:[jsx(s,{color:"text.secondary",variant:"body2",children:"Sua senha deve conter:"}),jsxs(Rules,{children:[jsxs(Rule,{children:[jsx(a,{passed:g}),jsxs(s,{component:"div",children:[jsxs("strong",{children:[p[0],"-",p[1]]})," ","caracteres"]})]}),c&&jsxs(Rule,{children:[jsx(a,{passed:d}),jsxs(s,{component:"div",children:["Pelo menos uma ",jsx("strong",{children:"letra mai\xFAscula"})]})]}),t&&jsxs(Rule,{children:[jsx(a,{passed:R}),jsxs(s,{component:"div",children:["Pelo menos ",jsx("strong",{children:"um n\xFAmero"})]})]}),l&&jsxs(Rule,{children:[jsx(a,{passed:i}),jsxs(s,{component:"div",children:["Pelo menos um ",jsx("strong",{children:"caracter especial"})," ",jsx("span",{children:"(#,@,!,?)"})]})]}),m&&jsxs(Rule,{children:[jsx(a,{passed:m.passwordMatch}),jsx(s,{component:"div",children:"Senha e confirma\xE7\xE3o de senha devem ser iguais"})]})]})]})};var L=f;
|
|
10
8
|
|
|
11
9
|
export { L as default };
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import { a as a$3 } from '../../chunk-EFUFJKJD.js';
|
|
2
|
-
import { a as a$1 } from '../../chunk-PPUFQMAW.js';
|
|
3
|
-
import '../../chunk-3E5A45HM.js';
|
|
4
|
-
import { a as a$2 } from '../../chunk-ORYAES3Q.js';
|
|
5
|
-
import S from '@mui/material/MenuItem';
|
|
6
|
-
import a from '@mui/material/Box';
|
|
7
|
-
import s from '@mui/material/Button';
|
|
8
|
-
import { styled } from '@mui/material/styles';
|
|
9
1
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import t from '@mui/material/MenuItem';
|
|
3
|
+
import m from 'components/MenuPopover';
|
|
4
|
+
import { StyledButton, StyledIcon, StyledBox } from 'components/PopoverSelect/styles';
|
|
5
|
+
import P from 'hooks/usePopover';
|
|
10
6
|
|
|
11
|
-
|
|
7
|
+
const a=({selectedTitle:n,onSelect:p,options:r})=>{const o=P();return jsxs(Fragment,{children:[jsx(StyledButton,{disableRipple:!0,color:"inherit",onClick:o.onOpen,endIcon:jsx(StyledIcon,{icon:o.open?"CHEVRON_UP":"ARROW_DOWN_SIMPLE"}),children:jsx(StyledBox,{component:"span",children:n.label})}),jsx(m,{open:o.open,onClose:o.onClose,children:r.map(l=>jsx(t,{selected:l.value===n.value,onClick:()=>{o.onClose(),p(l.value);},children:l.label},l.value))})]})};var M=a;
|
|
12
8
|
|
|
13
|
-
export {
|
|
9
|
+
export { M as default };
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { useState, useEffect } from 'react';
|
|
2
|
+
import { createPortal } from 'react-dom';
|
|
3
|
+
|
|
4
|
+
const d=({children:e,container:o,waitBeforeShow:t=50})=>{const[m,n]=useState(!1);return useEffect(()=>{const s=setTimeout(()=>n(!0),t);return ()=>clearTimeout(s)},[t]),t?m?createPortal(e,document.getElementById(o)||document.body):null:createPortal(e,document.getElementById(o)||document.body)};var f=d;
|
|
5
|
+
|
|
6
|
+
export { f as default };
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
const d=({isFetching:o,fetching:e,isLoading:t,loading:n,anError:u,error:i,isEmpty:s,empty:l,children:p})=>t?n||"Carregando...":u?i||"Error":s?l||"Nenhum resultado":jsxs(Fragment,{children:[o&&jsx(Fragment,{children:e||"Carregando..."}),p]});var R=d;
|
|
4
|
+
|
|
5
|
+
export { R as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d } from '../../chunk-TRI6XGH4.js';
|
|
2
|
-
import s from '@mui/material/Typography';
|
|
3
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import i from '@mui/material/Typography';
|
|
3
|
+
import { fDate } from 'utils/formatTime';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const o=({children:a})=>jsx(i,{variant:"body2",component:"span",fontWeight:600,color:"text.primary",children:a}),l=({updatedAt:a})=>{const r=new Date,t=new Date(a),n=t.getDate()===r.getDate()&&t.getMonth()===r.getMonth()&&t.getFullYear()===r.getFullYear(),s=fDate(t,"HH:mm");return n?jsxs(i,{variant:"body2",color:"text.disabled",children:["Altera\xE7\xF5es salvas ",jsx(o,{children:"Hoje"})," \xE0s"," ",jsx(o,{children:s})]}):jsxs(i,{variant:"body2",color:"text.disabled",children:["Altera\xE7\xF5es salvas em ",jsx(o,{children:fDate(t)})," \xE0s"," ",jsx(o,{children:s})]})};var v=l;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { v as default };
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import c from '@mui/material/Box';
|
|
4
|
+
import m from 'simplebar-react';
|
|
5
|
+
import { scrollbarClasses } from './classes';
|
|
6
|
+
|
|
7
|
+
const e=forwardRef(({slotProps:r,children:o,fillContent:l,naturalScroll:f,sx:a,...t},p)=>jsx(c,{component:m,scrollableNodeProps:{ref:p},clickOnTrack:!1,className:scrollbarClasses.root,sx:{minWidth:0,minHeight:0,flexGrow:1,display:"flex",flexDirection:"column","& .simplebar-wrapper":r?.wrapper,"& .simplebar-content-wrapper":r?.contentWrapper,"& .simplebar-content":{...l&&{minHeight:1,display:"flex",flex:"1 1 auto",flexDirection:"column"},...r?.content},...a},tabIndex:-1,...t,children:o}));e.displayName="Scrollbar";var w=e;
|
|
8
|
+
|
|
9
|
+
export { w as default };
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import { useRef } from 'react';
|
|
3
|
+
import s from '@mui/material/IconButton';
|
|
4
|
+
import a from '@mui/material/InputAdornment';
|
|
5
|
+
import A from '@mui/material/TextField';
|
|
6
|
+
import h from '../Icon';
|
|
7
|
+
|
|
8
|
+
const g=({onSearch:n,onChange:p,trigger:f="click",iconPosition:r="end",tabIndex:l,InputProps:e,iconButtonAriaLabel:d="Buscar",...i})=>{const o=useRef(null),m=jsx(s,{color:"inherit",onClick:()=>{n(o.current?.value);},"aria-label":d,children:jsx(h,{icon:"SEARCH_MAGNIFYING_GLASS",width:20,height:20})});return jsx(A,{inputRef:o,InputProps:{...e,onKeyDown:t=>{t.key==="Enter"&&n(o.current?.value);},...r==="start"?{startAdornment:jsxs(a,{position:r,children:[m,e?.startAdornment]})}:{endAdornment:jsxs(a,{position:r,children:[m,e?.endAdornment]})}},inputProps:{tabIndex:l,...i.inputProps},onChange:t=>{if(f==="change"){n(t.target.value);return}t.target.value===""&&n(""),p&&p(t);},...i})};var w=g;
|
|
9
|
+
|
|
10
|
+
export { w as default };
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
8
|
-
import '
|
|
1
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import { useState } from 'react';
|
|
3
|
+
import I from '@mui/material/Button';
|
|
4
|
+
import T from '@mui/material/CircularProgress';
|
|
5
|
+
import f from '@mui/material/Grid';
|
|
6
|
+
import o from '@mui/material/Stack';
|
|
7
|
+
import a from '@mui/material/Typography';
|
|
8
|
+
import R from 'components/EmptyView';
|
|
9
|
+
import E from 'components/Icon';
|
|
10
|
+
import O from 'components/Result';
|
|
11
|
+
import P from 'components/Scrollbar';
|
|
12
|
+
import $ from 'components/SearchInput';
|
|
13
|
+
import { StyledCard } from './style';
|
|
14
|
+
|
|
15
|
+
const B=({title:d,action:g,loading:u,items:l,values:n,onChange:m})=>{const[c,y]=useState(),p=e=>n.includes(e),S=c?l.filter(e=>e.title.toLowerCase().includes(c.toLowerCase())):l,h=e=>{const r=p(e.value);let i;r?i=n.filter(k=>k!==e.value):i=[...n,e.value],m(i);},b=()=>{n.length===l.length?m([]):m(l.map(e=>e.value));},v=new Intl.PluralRules("pt-BR"),C=new Map([["one","selecionado"],["other","selecionados"]]),w=e=>{const r=v.select(e),i=C.get(r);return `${e} ${i}`};return jsxs(o,{gap:1.5,height:450,children:[jsxs(o,{direction:"row",justifyContent:"space-between",children:[typeof d=="string"?jsx(a,{variant:"overline",color:"text.disabled",children:d}):d,jsx(a,{variant:"overline",color:"text.disabled",children:n.length===0?"nenhum selecionado":w(n.length)})]}),jsxs(o,{direction:"row",alignItems:"center",spacing:1.5,children:[jsx($,{fullWidth:!0,size:"small",iconPosition:"start",placeholder:"Buscar",trigger:"change",onSearch:e=>y(e),onKeyDown:e=>{e.key==="Enter"&&e.preventDefault();}}),g?jsx(Fragment,{children:g}):jsx(I,{onClick:b,size:"small",children:jsx(a,{variant:"overline",children:"TODOS"})})]}),jsx(P,{children:jsx(o,{flex:1,mb:2,children:jsx(O,{isLoading:u,loading:jsx(o,{alignItems:"center",mt:3,children:jsx(T,{})}),isEmpty:l.length===0,empty:jsx(R,{sx:{svg:{height:140}},text:c?`N\xE3o foi possivel encontrar o item "${c}"`:"Nenhum item dispon\xEDvel"}),children:jsx(f,{container:!0,spacing:1.5,children:S.map(e=>jsx(f,{item:!0,xs:4,children:jsx(StyledCard,{active:p(e.value),onClick:()=>h(e),children:jsxs(o,{padding:1.5,width:"100%",children:[jsxs(o,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[jsx(a,{color:p(e.value)?"primary.main":"text.primary",variant:"subtitle2",textAlign:"left",noWrap:!0,children:e.title}),p(e.value)&&jsx(E,{icon:"CHECK_CIRCLE",width:24})]}),e.options.map(r=>jsx(a,{mt:1,variant:"body2",color:"text.disabled",fontSize:12,textAlign:"left",noWrap:!0,children:`${r.label}: ${r.value}`},r.label))]})})},e.title))})})})})]})};var U=B;
|
|
16
|
+
|
|
17
|
+
export { U as default };
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { a as a$1 } from '../../chunk-RLMWIJKJ.js';
|
|
2
|
-
import { a } from '../../chunk-PPUFQMAW.js';
|
|
3
|
-
import '../../chunk-3E5A45HM.js';
|
|
4
|
-
import '../../chunk-ILHUUK4X.js';
|
|
5
|
-
import p from '@mui/material/Box';
|
|
6
|
-
import t from '@mui/material/Stack';
|
|
7
|
-
import i from '@mui/material/Typography';
|
|
8
|
-
import { styled } from '@mui/material/styles';
|
|
9
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import r from '@mui/material/Box';
|
|
3
|
+
import t from '@mui/material/Stack';
|
|
4
|
+
import a from '@mui/material/Typography';
|
|
5
|
+
import n from '../Icon';
|
|
6
|
+
import i from '../TextMaxLine';
|
|
7
|
+
import { PreviewBox, InterBoxPreview, LogoImageBox, ProductImageBox, InterBoxPreviewLink, ImageBoxPreviewLink } from './styles';
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
const B=({titlePreview:y,logoImage:s,brandingName:S,url:p,title:l,description:m,keyWords:g,customTitles:d,productImage:w,child:P,previewLinkImage:x,hasPreviewLink:u})=>jsx(PreviewBox,{children:jsxs(t,{gap:3,display:"flex",flex:1,children:[jsx(a,{variant:"overline",color:"text.disabled",children:y??"PR\xC9-VISUALIZA\xC7\xC3O"}),jsxs(InterBoxPreview,{children:[jsxs(t,{direction:"row",pb:3,gap:.5,children:[jsx(r,{height:0,width:10,children:jsx(n,{icon:"CIRCLE",width:30,color:"error.main"})}),jsx(r,{height:0,width:10,children:jsx(n,{icon:"CIRCLE",width:30,color:"warning.main"})}),jsx(r,{height:0,width:10,children:jsx(n,{icon:"CIRCLE",width:30,color:"success.main"})})]}),jsxs(t,{flexDirection:"row",gap:2,justifyContent:"space-between",children:[jsxs(t,{gap:1,width:"100%",children:[jsxs(t,{direction:"row",gap:1.5,pb:.5,children:[s&&jsx(LogoImageBox,{children:jsx("img",{alt:"Logo",src:s})}),jsxs(t,{children:[jsx(a,{variant:"overline",color:"grey.600",pb:.5,children:S??"SUAEMPRESA"}),jsxs(t,{direction:"row",gap:2,children:[jsx(a,{variant:"caption",color:"grey.600",children:p??"https://www.exemplo.com"}),jsx(n,{icon:"MORE_OPTIONS_VERTICAL",width:15,color:"grey.500"})]})]})]}),jsx(i,{variant:"subtitle1",color:"#4E5BEC",overflow:"hidden",textOverflow:"ellipsis",line:5,children:l??"Suampresa | P\xE1scoa 2024: Ovos de chocolate? Que nada! Descontos em tecnologia!"}),jsx(i,{variant:"caption",color:"text.disabled",overflow:"hidden",textOverflow:"ellipsis",line:5,children:m??"A P\xE1scoa chegou e a Sua Empresa est\xE1 com ofertas chocantes em tecnologia! Descontos de at\xE9 50% em notebooks, smartphones, tablets e muito mais!"}),g&&jsx(t,{direction:"row",gap:1,alignItems:"center",children:g.map((c,h)=>jsxs(Fragment,{children:[jsx(a,{variant:"caption",color:"text.disabled",children:c}),h<g.length-1&&jsx(r,{width:4,height:16,children:jsx(n,{icon:"CIRCLE",color:"text.disabled",width:10})})]}))}),d&&jsx(t,{pt:2,children:d.map((c,h)=>jsxs(t,{gap:1,children:[jsx(a,{variant:"subtitle1",color:"#4E5BEC",children:c.title}),jsx(i,{variant:"caption",color:"text.disabled",overflow:"hidden",textOverflow:"ellipsis",line:1,children:c.description??"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys stansince the 1500"})]},h))}),P]}),w&&jsx(ProductImageBox,{children:jsx("img",{alt:"ProductImage",src:w})})]})]}),u&&jsxs(t,{gap:3,display:"flex",flex:1,width:"100%",children:[jsx(a,{variant:"overline",color:"text.disabled",children:"pr\xE9-visualiza\xE7\xE3o link de compartilhamento".toUpperCase()}),jsxs(InterBoxPreviewLink,{children:[x&&jsx(ImageBoxPreviewLink,{children:jsx("img",{alt:"PreviewLinkImage",src:x,style:{width:"100%",height:"100%",objectFit:"cover",borderRadius:8}})}),jsxs(t,{gap:.2,p:2,width:"100%",children:[jsx(a,{variant:"caption",children:l??"Suampresa | P\xE1scoa 2024: Ovos de chocolate? Que nada! Descontos em tecnologia!"}),jsx(a,{variant:"caption",color:"grey.600",children:m??"A P\xE1scoa chegou e a Sua Empresa est\xE1 com ofertas chocantes em tecnologia! Descontos de at\xE9 50% em notebooks, smartphones, tablets e muito mais!"}),jsx(a,{variant:"caption",color:"grey.500",children:p??"https://www.exemplo.com"})]})]}),jsx(InterBoxPreviewLink,{children:jsxs(t,{direction:"row",gap:1,alignItems:"center",children:[jsx(r,{width:100,height:95,bgcolor:"grey.100",p:.5,alignItems:"center",children:jsx("img",{alt:"Logo",src:s,style:{width:"100%",height:"100%",objectFit:"contain",borderRadius:8}})}),jsxs(t,{padding:1,gap:.2,width:"80%",children:[jsx(i,{variant:"caption",children:l??"Suampresa | P\xE1scoa 2024: Ovos de chocolate? Que nada! Descontos em tecnologia!"}),jsx(i,{variant:"caption",color:"grey.600",children:m??"A P\xE1scoa chegou e a Sua Empresa est\xE1 com ofertas chocantes em tecnologia! Descontos de at\xE9 50% em notebooks, smartphones, tablets e muito mais!"}),jsx(i,{variant:"caption",color:"grey.500",line:1,children:p??"https://www.exemplo.com"})]})]})})]})]})});var U=B;
|
|
12
10
|
|
|
13
|
-
export {
|
|
11
|
+
export { U as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import e from '@mui/material/Box';
|
|
3
3
|
import { m } from 'framer-motion';
|
|
4
|
-
import {
|
|
4
|
+
import { varAlpha } from 'theme/styles';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
const p=({children:s,sx:a,...r})=>jsx(e,{sx:{overflow:"hidden"},children:jsx(e,{sx:{right:0,width:1,bottom:0,height:1,zIndex:9998,display:"flex",position:"fixed",alignItems:"center",justifyContent:"center",bgcolor:"background.default",...a},...r,children:jsxs(e,{sx:{width:120,height:120,alignItems:"center",position:"relative",display:"inline-flex",justifyContent:"center",...a},...r,children:[jsx(e,{component:m.div,animate:{scale:[1,.9,.9,1,1],opacity:[1,.48,.48,1,1]},transition:{duration:2,repeatDelay:1,repeat:1/0,ease:"easeInOut"},sx:{display:"inline-flex"},children:s}),jsx(e,{component:m.div,animate:{scale:[1.6,1,1,1.6,1.6],rotate:[270,0,0,270,270],opacity:[.25,1,1,1,.25],borderRadius:["25%","25%","50%","50%","25%"]},transition:{ease:"linear",duration:3.2,repeat:1/0},sx:{position:"absolute",width:"calc(100% - 20px)",height:"calc(100% - 20px)",border:i=>`solid 3px ${varAlpha(i.vars.palette.primary.darkChannel,.24)}`}}),jsx(e,{component:m.div,animate:{scale:[1,1.2,1.2,1,1],rotate:[0,270,270,0,0],opacity:[1,.25,.25,.25,1],borderRadius:["25%","25%","50%","50%","25%"]},transition:{ease:"linear",duration:3.2,repeat:1/0},sx:{width:1,height:1,position:"absolute",border:i=>`solid 8px ${varAlpha(i.vars.palette.primary.darkChannel,.24)}`}})]})})});var f=p;
|
|
7
7
|
|
|
8
|
-
export {
|
|
8
|
+
export { f as default };
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { a } from '../../chunk-PPUFQMAW.js';
|
|
2
|
-
import '../../chunk-3E5A45HM.js';
|
|
3
|
-
import s from '@mui/material/Box';
|
|
4
|
-
import S from '@mui/material/Stack';
|
|
5
|
-
import d from '@mui/material/Step';
|
|
6
|
-
import f from '@mui/material/StepLabel';
|
|
7
|
-
import u from '@mui/material/Stepper';
|
|
8
|
-
import l from '@mui/material/StepConnector';
|
|
9
|
-
import { styled } from '@mui/material/styles';
|
|
10
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import a from '@mui/material/Box';
|
|
3
|
+
import c from '@mui/material/Stack';
|
|
4
|
+
import m from '@mui/material/Step';
|
|
5
|
+
import s from '@mui/material/StepLabel';
|
|
6
|
+
import l from '@mui/material/Stepper';
|
|
7
|
+
import S from '../Icon';
|
|
8
|
+
import { StepConnector } from './styles';
|
|
11
9
|
|
|
12
|
-
|
|
10
|
+
const b=({active:e,completed:o})=>jsx(c,{alignItems:"center",justifyContent:"center",sx:{width:24,height:24,color:"text.disabled",...e&&{color:"primary.main"}},children:o?jsx(S,{icon:"SIMPLE_CHECK",color:"primary.main"}):jsx(a,{sx:{width:8,height:8,borderRadius:"50%",backgroundColor:"currentColor"}})}),d=({steps:e,activeStep:o,showLabels:p=!0,sx:n,...i})=>jsx(l,{alternativeLabel:!0,activeStep:o,connector:jsx(StepConnector,{}),sx:n,...i,children:e.map(r=>jsx(m,{children:jsx(s,{StepIconComponent:b,sx:{"& .MuiStepLabel-label":{typography:"subtitle2"}},children:p&&r})},r))});var v=d;
|
|
13
11
|
|
|
14
|
-
export {
|
|
12
|
+
export { v as default };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { a } from '../../chunk-PPUFQMAW.js';
|
|
2
|
-
import '../../chunk-3E5A45HM.js';
|
|
3
|
-
import n from '@mui/material/Stack';
|
|
4
|
-
import { styled, alpha } from '@mui/material/styles';
|
|
5
|
-
import b from '@mui/material/Tab';
|
|
6
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import l from '@mui/material/Stack';
|
|
3
|
+
import { styled, alpha } from '@mui/material/styles';
|
|
4
|
+
import s from '@mui/material/Tab';
|
|
5
|
+
import b from '../Icon';
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
const g=styled(({label:o,onClose:a,icon:i,hasChanges:p,...e})=>jsx(s,{disableRipple:!0,...e,label:jsxs(l,{position:"relative",direction:"row",alignItems:"center",gap:1.5,sx:t=>({"> span":{position:"absolute",top:-14,right:-10,span:{position:"fixed",width:10,height:10,backgroundColor:t.palette.warning.main,border:"1px solid #fff",borderRadius:"50%",zIndex:999}}}),children:[i,o,jsx(b,{icon:"CLOSE_MARK_BUTTON",width:16,onClick:t=>{a(),t.stopPropagation();}}),p&&jsx("span",{children:jsx("span",{})})]})}))(({theme:o})=>({textTransform:"none",fontSize:o.typography.pxToRem(14),margin:"0 !important",color:`${o.palette.primary.lighter} !important`,minHeight:"initial",padding:"10px 16px",backgroundColor:o.palette.primary.dark,border:`1px solid ${alpha(o.palette.primary.darker,.25)}`,borderBottom:0,borderRadius:"8px 8px 0 0",fontWeight:600,overflow:"initial !important",lineHeight:1,"&.Mui-selected":{color:`${o.palette.text.primary} !important`,backgroundColor:o.palette.background.paper,borderColor:o.palette.primary.dark,svg:{color:o.palette.text.disabled}},"&.Mui-focusVisible":{backgroundColor:"rgba(100, 95, 228, 0.32)"},"svg:hover":{opacity:.85}}));var T=g;
|
|
9
8
|
|
|
10
|
-
export {
|
|
9
|
+
export { T as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
1
2
|
import { styled } from '@mui/material/styles';
|
|
2
3
|
import r from '@mui/material/Tabs';
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const a=styled(o=>jsx(r,{...o,variant:"scrollable",scrollButtons:"auto"}))({height:"100%",alignItems:"flex-end",gap:8,"& .MuiTabs-indicator":{display:"none",justifyContent:"center",backgroundColor:"transparent"},"& > .MuiButtonBase-root":{height:32,width:32,color:"#fff",marginBottom:2},"& .MuiTabs-flexContainer":{gap:4}});var f=a;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { f as default };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import n from '@mui/material/Stack';
|
|
2
|
-
import { styled } from '@mui/material/styles';
|
|
3
|
-
import a from '@mui/material/Typography';
|
|
4
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Container, Label, Value } from './styles';
|
|
5
3
|
|
|
6
|
-
|
|
4
|
+
const u=({data:e,...l})=>e.length===0?null:jsx(Container,{gap:1,...l,children:e.map(a=>[jsx(Label,{variant:"body2",children:a.label},`label:${a.id}`),jsx(Value,{variant:"body2",children:a.value},`value:${a.id}`)])});var y=u;
|
|
7
5
|
|
|
8
|
-
export {
|
|
6
|
+
export { y as default };
|