@gisce/react-ooui 1.1.15-rc.0 → 1.1.15-rc.2
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/context/ContentRootContext.d.ts.map +1 -1
- package/dist/react-ooui.es.js +709 -700
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +15 -15
- package/dist/react-ooui.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/views/RootView.d.ts.map +1 -1
- package/dist/widgets/base/Label.d.ts.map +1 -1
- package/dist/widgets/base/many2one/Many2one.d.ts.map +1 -1
- package/dist/widgets/base/one2many/One2manyInput.d.ts.map +1 -1
- package/dist/widgets/custom/MultiCheckbox.d.ts.map +1 -1
- package/dist/widgets/custom/Tags.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/context/ContentRootContext.tsx +1 -0
- package/src/stories/Label.stories.tsx +7 -8
- package/src/types/index.ts +1 -0
- package/src/views/RootView.tsx +5 -3
- package/src/widgets/base/Label.tsx +6 -10
- package/src/widgets/base/many2one/Many2one.tsx +7 -8
- package/src/widgets/base/one2many/One2manyInput.tsx +1 -0
- package/src/widgets/custom/MultiCheckbox.tsx +1 -0
- package/src/widgets/custom/Tags.tsx +27 -28
package/dist/react-ooui.es.js
CHANGED
|
@@ -3,6 +3,7 @@ import React__default, { useContext, useState, useEffect, useRef, useLayoutEffec
|
|
|
3
3
|
import { Tooltip as Tooltip$2, Typography as Typography$1, Form as Form$3, Row, Col, Modal, Button as Button$1, Dropdown, Menu, Spin, Divider, Space, Input as Input$1, Select, Checkbox, Alert, Timeline as Timeline$1, Statistic, Card, Tag, DatePicker as DatePicker$1, TimePicker, InputNumber, Progress, Pagination, Tabs, Popover, Radio as Radio$1, Switch as Switch$1, Steps as Steps$1, Layout } from "antd";
|
|
4
4
|
import { Label as Label$1, Field as Field$2, Container as Container$1, Tree as Tree$1, Selection as Selection$1, Many2one as Many2one$1, Boolean as Boolean$2, parseContext, Form as Form$4, Integer as Integer$1, SearchFilter as SearchFilter$1, transformDomainForChildWidget, graphProcessor, parseGraph, graphFieldUtils } from "@gisce/ooui";
|
|
5
5
|
import Icon, { QuestionCircleOutlined, ExclamationCircleOutlined as ExclamationCircleOutlined$3, AccountBookFilled, AccountBookOutlined, AccountBookTwoTone, AimOutlined, AlertFilled, AlertOutlined, AlertTwoTone, AlibabaOutlined, AlignCenterOutlined, AlignLeftOutlined, AlignRightOutlined, AlipayCircleFilled, AlipayCircleOutlined, AlipayOutlined, AlipaySquareFilled, AliwangwangFilled, AliwangwangOutlined, AliyunOutlined, AmazonCircleFilled, AmazonOutlined, AmazonSquareFilled, AndroidFilled, AndroidOutlined, AntCloudOutlined, AntDesignOutlined, ApartmentOutlined, ApiFilled, ApiOutlined, ApiTwoTone, AppleFilled, AppleOutlined, AppstoreAddOutlined, AppstoreFilled, AppstoreOutlined, AppstoreTwoTone, AreaChartOutlined, ArrowDownOutlined, ArrowLeftOutlined, ArrowRightOutlined, ArrowUpOutlined, ArrowsAltOutlined, AudioFilled, AudioMutedOutlined, AudioOutlined, AudioTwoTone, AuditOutlined, BackwardFilled, BackwardOutlined, BankFilled, BankOutlined, BankTwoTone, BarChartOutlined, BarcodeOutlined, BarsOutlined, BehanceCircleFilled, BehanceOutlined, BehanceSquareFilled, BehanceSquareOutlined, BellFilled, BellOutlined, BellTwoTone, BgColorsOutlined, BlockOutlined, BoldOutlined, BookFilled, BookOutlined, BookTwoTone, BorderBottomOutlined, BorderHorizontalOutlined, BorderInnerOutlined, BorderLeftOutlined, BorderOuterOutlined, BorderOutlined, BorderRightOutlined, BorderTopOutlined, BorderVerticleOutlined, BorderlessTableOutlined, BoxPlotFilled, BoxPlotOutlined, BoxPlotTwoTone, BranchesOutlined, BugFilled, BugOutlined, BugTwoTone, BuildFilled, BuildOutlined, BuildTwoTone, BulbFilled, BulbOutlined, BulbTwoTone, CalculatorFilled, CalculatorOutlined, CalculatorTwoTone, CalendarFilled, CalendarOutlined, CalendarTwoTone, CameraFilled, CameraOutlined, CameraTwoTone, CarFilled, CarOutlined, CarTwoTone, CaretDownFilled, CaretDownOutlined, CaretLeftFilled, CaretLeftOutlined, CaretRightFilled, CaretRightOutlined, CaretUpFilled, CaretUpOutlined, CarryOutFilled, CarryOutOutlined, CarryOutTwoTone, CheckCircleFilled as CheckCircleFilled$3, CheckCircleOutlined as CheckCircleOutlined$3, CheckCircleTwoTone, CheckOutlined as CheckOutlined$3, CheckSquareFilled, CheckSquareOutlined, CheckSquareTwoTone, ChromeFilled, ChromeOutlined, CiCircleFilled, CiCircleOutlined, CiCircleTwoTone, CiOutlined, CiTwoTone, ClearOutlined, ClockCircleFilled, ClockCircleOutlined, ClockCircleTwoTone, CloseCircleFilled as CloseCircleFilled$3, CloseCircleOutlined as CloseCircleOutlined$3, CloseCircleTwoTone, CloseOutlined as CloseOutlined$3, CloseSquareFilled, CloseSquareOutlined, CloseSquareTwoTone, CloudDownloadOutlined, CloudFilled, CloudOutlined, CloudServerOutlined, CloudSyncOutlined, CloudTwoTone, CloudUploadOutlined, ClusterOutlined, CodeFilled, CodeOutlined, CodeSandboxCircleFilled, CodeSandboxOutlined, CodeSandboxSquareFilled, CodeTwoTone, CodepenCircleFilled, CodepenCircleOutlined, CodepenOutlined, CodepenSquareFilled, CoffeeOutlined, ColumnHeightOutlined, ColumnWidthOutlined, CommentOutlined, CompassFilled, CompassOutlined, CompassTwoTone, CompressOutlined, ConsoleSqlOutlined, ContactsFilled, ContactsOutlined, ContactsTwoTone, ContainerFilled, ContainerOutlined, ContainerTwoTone, ControlFilled, ControlOutlined, ControlTwoTone, CopyFilled, CopyOutlined as CopyOutlined$3, CopyTwoTone, CopyrightCircleFilled, CopyrightCircleOutlined, CopyrightCircleTwoTone, CopyrightOutlined, CopyrightTwoTone, CreditCardFilled, CreditCardOutlined, CreditCardTwoTone, CrownFilled, CrownOutlined, CrownTwoTone, CustomerServiceFilled, CustomerServiceOutlined, CustomerServiceTwoTone, DashOutlined, DashboardFilled, DashboardOutlined, DashboardTwoTone, DatabaseFilled, DatabaseOutlined, DatabaseTwoTone, DeleteColumnOutlined, DeleteFilled, DeleteOutlined, DeleteRowOutlined, DeleteTwoTone, DeliveredProcedureOutlined, DeploymentUnitOutlined, DesktopOutlined, DiffFilled, DiffOutlined, DiffTwoTone, DingdingOutlined, DingtalkCircleFilled, DingtalkOutlined, DingtalkSquareFilled, DisconnectOutlined, DislikeFilled, DislikeOutlined, DislikeTwoTone, DollarCircleFilled, DollarCircleOutlined, DollarCircleTwoTone, DollarOutlined, DollarTwoTone, DotChartOutlined, DoubleLeftOutlined, DoubleRightOutlined, DownCircleFilled, DownCircleOutlined, DownCircleTwoTone, DownOutlined, DownSquareFilled, DownSquareOutlined, DownSquareTwoTone, DownloadOutlined, DragOutlined, DribbbleCircleFilled, DribbbleOutlined, DribbbleSquareFilled, DribbbleSquareOutlined, DropboxCircleFilled, DropboxOutlined, DropboxSquareFilled, EditFilled, EditOutlined as EditOutlined$3, EditTwoTone, EllipsisOutlined, EnterOutlined as EnterOutlined$3, EnvironmentFilled, EnvironmentOutlined, EnvironmentTwoTone, EuroCircleFilled, EuroCircleOutlined, EuroCircleTwoTone, EuroOutlined, EuroTwoTone, ExceptionOutlined, ExclamationCircleFilled as ExclamationCircleFilled$3, ExclamationCircleTwoTone, ExclamationOutlined, ExpandAltOutlined, ExpandOutlined, ExperimentFilled, ExperimentOutlined, ExperimentTwoTone, ExportOutlined, EyeFilled, EyeInvisibleFilled, EyeInvisibleOutlined, EyeInvisibleTwoTone, EyeOutlined, EyeTwoTone, FacebookFilled, FacebookOutlined, FallOutlined, FastBackwardFilled, FastBackwardOutlined, FastForwardFilled, FastForwardOutlined, FieldBinaryOutlined, FieldNumberOutlined, FieldStringOutlined, FieldTimeOutlined, FileAddFilled, FileAddOutlined, FileAddTwoTone, FileDoneOutlined, FileExcelFilled, FileExcelOutlined, FileExcelTwoTone, FileExclamationFilled, FileExclamationOutlined, FileExclamationTwoTone, FileFilled, FileGifOutlined, FileImageFilled, FileImageOutlined, FileImageTwoTone, FileJpgOutlined, FileMarkdownFilled, FileMarkdownOutlined, FileMarkdownTwoTone, FileOutlined, FilePdfFilled, FilePdfOutlined, FilePdfTwoTone, FilePptFilled, FilePptOutlined, FilePptTwoTone, FileProtectOutlined, FileSearchOutlined, FileSyncOutlined, FileTextFilled, FileTextOutlined, FileTextTwoTone, FileTwoTone, FileUnknownFilled, FileUnknownOutlined, FileUnknownTwoTone, FileWordFilled, FileWordOutlined, FileWordTwoTone, FileZipFilled, FileZipOutlined, FileZipTwoTone, FilterFilled, FilterOutlined, FilterTwoTone, FireFilled, FireOutlined, FireTwoTone, FlagFilled, FlagOutlined, FlagTwoTone, FolderAddFilled, FolderAddOutlined, FolderAddTwoTone, FolderFilled, FolderOpenFilled, FolderOpenOutlined, FolderOpenTwoTone, FolderOutlined, FolderTwoTone, FolderViewOutlined, FontColorsOutlined, FontSizeOutlined, ForkOutlined, FormOutlined, FormatPainterFilled, FormatPainterOutlined, ForwardFilled, ForwardOutlined, FrownFilled, FrownOutlined, FrownTwoTone, FullscreenExitOutlined, FullscreenOutlined, FunctionOutlined, FundFilled, FundOutlined, FundProjectionScreenOutlined, FundTwoTone, FundViewOutlined, FunnelPlotFilled, FunnelPlotOutlined, FunnelPlotTwoTone, GatewayOutlined, GifOutlined, GiftFilled, GiftOutlined, GiftTwoTone, GithubFilled, GithubOutlined, GitlabFilled, GitlabOutlined, GlobalOutlined, GoldFilled, GoldOutlined, GoldTwoTone, GoldenFilled, GoogleCircleFilled, GoogleOutlined, GooglePlusCircleFilled, GooglePlusOutlined, GooglePlusSquareFilled, GoogleSquareFilled, GroupOutlined, HddFilled, HddOutlined, HddTwoTone, HeartFilled, HeartOutlined, HeartTwoTone, HeatMapOutlined, HighlightFilled, HighlightOutlined, HighlightTwoTone, HistoryOutlined, HolderOutlined, HomeFilled, HomeOutlined, HomeTwoTone, HourglassFilled, HourglassOutlined, HourglassTwoTone, Html5Filled, Html5Outlined, Html5TwoTone, IdcardFilled, IdcardOutlined, IdcardTwoTone, IeCircleFilled, IeOutlined, IeSquareFilled, ImportOutlined, InboxOutlined, InfoCircleFilled as InfoCircleFilled$3, InfoCircleOutlined as InfoCircleOutlined$3, InfoCircleTwoTone, InfoOutlined, InsertRowAboveOutlined, InsertRowBelowOutlined, InsertRowLeftOutlined, InsertRowRightOutlined, InstagramFilled, InstagramOutlined, InsuranceFilled, InsuranceOutlined, InsuranceTwoTone, InteractionFilled, InteractionOutlined, InteractionTwoTone, IssuesCloseOutlined, ItalicOutlined, KeyOutlined, LaptopOutlined, LayoutFilled, LayoutOutlined, LayoutTwoTone, LeftCircleFilled, LeftCircleOutlined, LeftCircleTwoTone, LeftOutlined, LeftSquareFilled, LeftSquareOutlined, LeftSquareTwoTone, LikeFilled, LikeOutlined, LikeTwoTone, LineChartOutlined, LineHeightOutlined, LineOutlined, LinkOutlined, LinkedinFilled, LinkedinOutlined, Loading3QuartersOutlined, LoadingOutlined as LoadingOutlined$3, LockFilled, LockOutlined, LockTwoTone, LoginOutlined, LogoutOutlined, MacCommandFilled, MacCommandOutlined, MailFilled, MailOutlined, MailTwoTone, ManOutlined, MedicineBoxFilled, MedicineBoxOutlined, MedicineBoxTwoTone, MediumCircleFilled, MediumOutlined, MediumSquareFilled, MediumWorkmarkOutlined, MehFilled, MehOutlined, MehTwoTone, MenuFoldOutlined, MenuOutlined, MenuUnfoldOutlined, MergeCellsOutlined, MessageFilled, MessageOutlined, MessageTwoTone, MinusCircleFilled, MinusCircleOutlined, MinusCircleTwoTone, MinusOutlined, MinusSquareFilled, MinusSquareOutlined, MinusSquareTwoTone, MobileFilled, MobileOutlined, MobileTwoTone, MoneyCollectFilled, MoneyCollectOutlined, MoneyCollectTwoTone, MonitorOutlined, MoreOutlined, NodeCollapseOutlined, NodeExpandOutlined, NodeIndexOutlined, NotificationFilled, NotificationOutlined, NotificationTwoTone, NumberOutlined, OneToOneOutlined, OrderedListOutlined, PaperClipOutlined, PartitionOutlined, PauseCircleFilled, PauseCircleOutlined, PauseCircleTwoTone, PauseOutlined, PayCircleFilled, PayCircleOutlined, PercentageOutlined, PhoneFilled, PhoneOutlined, PhoneTwoTone, PicCenterOutlined, PicLeftOutlined, PicRightOutlined, PictureFilled, PictureOutlined, PictureTwoTone, PieChartFilled, PieChartOutlined, PieChartTwoTone, PlayCircleFilled, PlayCircleOutlined, PlayCircleTwoTone, PlaySquareFilled, PlaySquareOutlined, PlaySquareTwoTone, PlusCircleFilled, PlusCircleOutlined, PlusCircleTwoTone, PlusOutlined, PlusSquareFilled, PlusSquareOutlined, PlusSquareTwoTone, PoundCircleFilled, PoundCircleOutlined, PoundCircleTwoTone, PoundOutlined, PoweroffOutlined, PrinterFilled, PrinterOutlined, PrinterTwoTone, ProfileFilled, ProfileOutlined, ProfileTwoTone, ProjectFilled, ProjectOutlined, ProjectTwoTone, PropertySafetyFilled, PropertySafetyOutlined, PropertySafetyTwoTone, PullRequestOutlined, PushpinFilled, PushpinOutlined, PushpinTwoTone, QqCircleFilled, QqOutlined, QqSquareFilled, QrcodeOutlined, QuestionCircleFilled, QuestionCircleTwoTone, QuestionOutlined, RadarChartOutlined, RadiusBottomleftOutlined, RadiusBottomrightOutlined, RadiusSettingOutlined, RadiusUpleftOutlined, RadiusUprightOutlined, ReadFilled, ReadOutlined, ReconciliationFilled, ReconciliationOutlined, ReconciliationTwoTone, RedEnvelopeFilled, RedEnvelopeOutlined, RedEnvelopeTwoTone, RedditCircleFilled, RedditOutlined, RedditSquareFilled, RedoOutlined, ReloadOutlined, RestFilled, RestOutlined, RestTwoTone, RetweetOutlined, RightCircleFilled, RightCircleOutlined, RightCircleTwoTone, RightOutlined, RightSquareFilled, RightSquareOutlined, RightSquareTwoTone, RiseOutlined, RobotFilled, RobotOutlined, RocketFilled, RocketOutlined, RocketTwoTone, RollbackOutlined, RotateLeftOutlined, RotateRightOutlined, SafetyCertificateFilled, SafetyCertificateOutlined, SafetyCertificateTwoTone, SafetyOutlined, SaveFilled, SaveOutlined, SaveTwoTone, ScanOutlined, ScheduleFilled, ScheduleOutlined, ScheduleTwoTone, ScissorOutlined, SearchOutlined, SecurityScanFilled, SecurityScanOutlined, SecurityScanTwoTone, SelectOutlined, SendOutlined, SettingFilled, SettingOutlined, SettingTwoTone, ShakeOutlined, ShareAltOutlined, ShopFilled, ShopOutlined, ShopTwoTone, ShoppingCartOutlined, ShoppingFilled, ShoppingOutlined, ShoppingTwoTone, ShrinkOutlined, SignalFilled, SisternodeOutlined, SketchCircleFilled, SketchOutlined, SketchSquareFilled, SkinFilled, SkinOutlined, SkinTwoTone, SkypeFilled, SkypeOutlined, SlackCircleFilled, SlackOutlined, SlackSquareFilled, SlackSquareOutlined, SlidersFilled, SlidersOutlined, SlidersTwoTone, SmallDashOutlined, SmileFilled, SmileOutlined, SmileTwoTone, SnippetsFilled, SnippetsOutlined, SnippetsTwoTone, SolutionOutlined, SortAscendingOutlined, SortDescendingOutlined, SoundFilled, SoundOutlined, SoundTwoTone, SplitCellsOutlined, StarFilled, StarOutlined, StarTwoTone, StepBackwardFilled, StepBackwardOutlined, StepForwardFilled, StepForwardOutlined, StockOutlined, StopFilled, StopOutlined, StopTwoTone, StrikethroughOutlined, SubnodeOutlined, SwapLeftOutlined, SwapOutlined, SwapRightOutlined, SwitcherFilled, SwitcherOutlined, SwitcherTwoTone, SyncOutlined, TableOutlined, TabletFilled, TabletOutlined, TabletTwoTone, TagFilled, TagOutlined, TagTwoTone, TagsFilled, TagsOutlined, TagsTwoTone, TaobaoCircleFilled, TaobaoCircleOutlined, TaobaoOutlined, TaobaoSquareFilled, TeamOutlined, ThunderboltFilled, ThunderboltOutlined, ThunderboltTwoTone, ToTopOutlined, ToolFilled, ToolOutlined, ToolTwoTone, TrademarkCircleFilled, TrademarkCircleOutlined, TrademarkCircleTwoTone, TrademarkOutlined, TransactionOutlined, TranslationOutlined, TrophyFilled, TrophyOutlined, TrophyTwoTone, TwitterCircleFilled, TwitterOutlined, TwitterSquareFilled, UnderlineOutlined, UndoOutlined, UngroupOutlined, UnlockFilled, UnlockOutlined, UnlockTwoTone, UnorderedListOutlined, UpCircleFilled, UpCircleOutlined, UpCircleTwoTone, UpOutlined, UpSquareFilled, UpSquareOutlined, UpSquareTwoTone, UploadOutlined, UsbFilled, UsbOutlined, UsbTwoTone, UserAddOutlined, UserDeleteOutlined, UserOutlined, UserSwitchOutlined, UsergroupAddOutlined, UsergroupDeleteOutlined, VerifiedOutlined, VerticalAlignBottomOutlined, VerticalAlignMiddleOutlined, VerticalAlignTopOutlined, VerticalLeftOutlined, VerticalRightOutlined, VideoCameraAddOutlined, VideoCameraFilled, VideoCameraOutlined, VideoCameraTwoTone, WalletFilled, WalletOutlined, WalletTwoTone, WarningFilled, WarningOutlined, WarningTwoTone, WechatFilled, WechatOutlined, WeiboCircleFilled, WeiboCircleOutlined, WeiboOutlined, WeiboSquareFilled, WeiboSquareOutlined, WhatsAppOutlined, WifiOutlined, WindowsFilled, WindowsOutlined, WomanOutlined, YahooFilled, YahooOutlined, YoutubeFilled, YoutubeOutlined, YuqueFilled, YuqueOutlined, ZhihuCircleFilled, ZhihuOutlined, ZhihuSquareFilled, ZoomInOutlined, ZoomOutOutlined } from "@ant-design/icons";
|
|
6
|
+
import { Interweave } from "interweave";
|
|
6
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
7
8
|
import { Icon2fa, Icon3dCubeSphereOff, Icon3dCubeSphere, Icon3dRotate, IconAB2, IconABOff, IconAB, IconAbacusOff, IconAbacus, IconAccessPointOff, IconAccessPoint, IconAccessibleOff, IconAccessible, IconActivityHeartbeat, IconActivity, IconAd2, IconAdOff, IconAd, IconAddressBookOff, IconAddressBook, IconAdjustmentsAlt, IconAdjustmentsHorizontal, IconAdjustmentsOff, IconAdjustments, IconAerialLift, IconAffiliate, IconAirConditioning, IconAlarmOff, IconAlarm, IconAlbumOff, IconAlbum, IconAlertCircle, IconAlertOctagon, IconAlertTriangle, IconAlien, IconAlignCenter, IconAlignJustified, IconAlignLeft, IconAlignRight, IconAlphabetCyrillic, IconAlphabetGreek, IconAlphabetLatin, IconAmbulance, IconAmpersand, IconAnalyzeOff, IconAnalyze, IconAnchorOff, IconAnchor, IconAngle, IconAnkh, IconAntennaBars1, IconAntennaBars2, IconAntennaBars3, IconAntennaBars4, IconAntennaBars5, IconAntennaBarsOff, IconAntennaOff, IconAntenna, IconApertureOff, IconAperture, IconApiAppOff, IconApiApp, IconApiOff, IconApi, IconAppWindow, IconApple, IconAppsOff, IconApps, IconArchiveOff, IconArchive, IconArmchair2Off, IconArmchair2, IconArmchairOff, IconArmchair, IconArrowAutofitContent, IconArrowAutofitDown, IconArrowAutofitHeight, IconArrowAutofitLeft, IconArrowAutofitRight, IconArrowAutofitUp, IconArrowAutofitWidth, IconArrowBackUp, IconArrowBack, IconArrowBarDown, IconArrowBarLeft, IconArrowBarRight, IconArrowBarToDown, IconArrowBarToLeft, IconArrowBarToRight, IconArrowBarToUp, IconArrowBarUp, IconArrowBearLeft2, IconArrowBearLeft, IconArrowBearRight2, IconArrowBearRight, IconArrowBigDownLine, IconArrowBigDownLines, IconArrowBigDown, IconArrowBigLeftLine, IconArrowBigLeftLines, IconArrowBigLeft, IconArrowBigRightLine, IconArrowBigRightLines, IconArrowBigRight, IconArrowBigTop, IconArrowBigUpLine, IconArrowBigUpLines, IconArrowBottomBar, IconArrowBottomCircle, IconArrowBottomSquare, IconArrowBottomTail, IconArrowBounce, IconArrowCurveLeft, IconArrowCurveRight, IconArrowDownCircle, IconArrowDownLeftCircle, IconArrowDownLeft, IconArrowDownRightCircle, IconArrowDownRight, IconArrowDown, IconArrowFork, IconArrowForwardUp, IconArrowForward, IconArrowGuide, IconArrowLeftBar, IconArrowLeftCircle, IconArrowLeftRight, IconArrowLeftSquare, IconArrowLeftTail, IconArrowLeft, IconArrowLoopLeft2, IconArrowLoopLeft, IconArrowLoopRight2, IconArrowLoopRight, IconArrowMergeBoth, IconArrowMergeLeft, IconArrowMergeRight, IconArrowMerge, IconArrowMoveDown, IconArrowMoveLeft, IconArrowMoveRight, IconArrowMoveUp, IconArrowNarrowDown, IconArrowNarrowLeft, IconArrowNarrowRight, IconArrowNarrowUp, IconArrowRampLeft2, IconArrowRampLeft3, IconArrowRampLeft, IconArrowRampRight2, IconArrowRampRight3, IconArrowRampRight, IconArrowRightBar, IconArrowRightCircle, IconArrowRightSquare, IconArrowRightTail, IconArrowRight, IconArrowRotaryFirstLeft, IconArrowRotaryFirstRight, IconArrowRotaryLastLeft, IconArrowRotaryLastRight, IconArrowRotaryLeft, IconArrowRotaryRight, IconArrowRotaryStraight, IconArrowRoundaboutLeft, IconArrowRoundaboutRight, IconArrowSharpTurnLeft, IconArrowSharpTurnRight, IconArrowTopBar, IconArrowTopCircle, IconArrowTopSquare, IconArrowTopTail, IconArrowUpCircle, IconArrowUpLeftCircle, IconArrowUpLeft, IconArrowUpRightCircle, IconArrowUpRight, IconArrowUp, IconArrowWaveLeftDown, IconArrowWaveLeftUp, IconArrowWaveRightDown, IconArrowWaveRightUp, IconArrowsCross, IconArrowsDiagonal2, IconArrowsDiagonalMinimize2, IconArrowsDiagonalMinimize, IconArrowsDiagonal, IconArrowsDiff, IconArrowsDoubleNeSw, IconArrowsDoubleNwSe, IconArrowsDoubleSeNw, IconArrowsDoubleSwNe, IconArrowsDownUp, IconArrowsDown, IconArrowsExchange2, IconArrowsExchange, IconArrowsHorizontal, IconArrowsJoin2, IconArrowsJoin, IconArrowsLeftDown, IconArrowsLeftRight, IconArrowsLeft, IconArrowsMaximize, IconArrowsMinimize, IconArrowsMoveHorizontal, IconArrowsMoveVertical, IconArrowsMove, IconArrowsRandom, IconArrowsRightDown, IconArrowsRightLeft, IconArrowsRight, IconArrowsShuffle2, IconArrowsShuffle, IconArrowsSort, IconArrowsSplit2, IconArrowsSplit, IconArrowsTransferDown, IconArrowsTransferUp, IconArrowsUpDown, IconArrowsUpLeft, IconArrowsUpRight, IconArrowsUp, IconArrowsVertical, IconArtboardOff, IconArtboard, IconArticleOff, IconArticle, IconAspectRatioOff, IconAspectRatio, IconAssemblyOff, IconAssembly, IconAsset, IconAsteriskSimple, IconAsterisk, IconAtOff, IconAt, IconAtom2, IconAtomOff, IconAtom, IconAugmentedReality2, IconAugmentedRealityOff, IconAugmentedReality, IconAwardOff, IconAward, IconAxe, IconAxisX, IconAxisY, IconBabyCarriage, IconBackhoe, IconBackpackOff, IconBackpack, IconBackspace, IconBadgeOff, IconBadge, IconBadgesOff, IconBadges, IconBaguette, IconBallAmericanFootballOff, IconBallAmericanFootball, IconBallBaseball, IconBallBasketball, IconBallBowling, IconBallFootballOff, IconBallFootball, IconBallTennis, IconBallVolleyball, IconBallonOff, IconBallon, IconBallpenOff, IconBallpen, IconBan, IconBandageOff, IconBandage, IconBarbellOff, IconBarbell, IconBarcodeOff, IconBarcode, IconBarrelOff, IconBarrel, IconBarrierBlockOff, IconBarrierBlock, IconBaseline, IconBasketOff, IconBasket, IconBat, IconBathOff, IconBath, IconBattery1, IconBattery2, IconBattery3, IconBattery4, IconBatteryAutomotive, IconBatteryCharging2, IconBatteryCharging, IconBatteryEco, IconBatteryOff, IconBattery, IconBeachOff, IconBeach, IconBedOff, IconBed, IconBeerOff, IconBeer, IconBellMinus, IconBellOff, IconBellPlus, IconBellRinging2, IconBellRinging, IconBellSchool, IconBellX, IconBellZ, IconBell, IconBible, IconBikeOff, IconBike, IconBinaryOff, IconBinary, IconBiohazardOff, IconBiohazard, IconBleachChlorine, IconBleachNoChlorine, IconBleachOff, IconBleach, IconBlockquote, IconBluetoothConnected, IconBluetoothOff, IconBluetoothX, IconBluetooth, IconBlurOff, IconBlur, IconBmp, IconBoldOff, IconBold, IconBoltOff, IconBolt, IconBoneOff, IconBone, IconBongOff, IconBong, IconBook2, IconBookDownload, IconBookOff, IconBookUpload, IconBook, IconBookmarkOff, IconBookmark, IconBookmarksOff, IconBookmarks, IconBooksOff, IconBooks, IconBorderAll, IconBorderBottom, IconBorderHorizontal, IconBorderInner, IconBorderLeft, IconBorderNone, IconBorderOuter, IconBorderRadius, IconBorderRight, IconBorderStyle2, IconBorderStyle, IconBorderTop, IconBorderVertical, IconBottleOff, IconBottle, IconBow, IconBoxAlignBottomLeft, IconBoxAlignBottomRight, IconBoxAlignBottom, IconBoxAlignLeft, IconBoxAlignRight, IconBoxAlignTopLeft, IconBoxAlignTopRight, IconBoxAlignTop, IconBoxMargin, IconBoxModel2Off, IconBoxModel2, IconBoxModelOff, IconBoxModel, IconBoxMultiple0, IconBoxMultiple1, IconBoxMultiple2, IconBoxMultiple3, IconBoxMultiple4, IconBoxMultiple5, IconBoxMultiple6, IconBoxMultiple7, IconBoxMultiple8, IconBoxMultiple9, IconBoxMultiple, IconBoxOff, IconBoxPadding, IconBox, IconBracesOff, IconBraces, IconBracketsContainEnd, IconBracketsContainStart, IconBracketsContain, IconBracketsOff, IconBrackets, IconBrand4chan, IconBrandAbstract, IconBrandAdobe, IconBrandAdonisJs, IconBrandAirbnb, IconBrandAirtable, IconBrandAlbolia, IconBrandAlpineJs, IconBrandAmazon, IconBrandAmongus, IconBrandAndroid, IconBrandAngular, IconBrandAppgallery, IconBrandAppleArcade, IconBrandApplePodcast, IconBrandApple, IconBrandAppstore, IconBrandAsana, IconBrandBackbone, IconBrandBadoo, IconBrandBandcamp, IconBrandBeats, IconBrandBehance, IconBrandBing, IconBrandBitbucket, IconBrandBlender, IconBrandBlogger, IconBrandBooking, IconBrandBootstrap, IconBrandBulma, IconBrandCampaignmonitor, IconBrandCarbon, IconBrandCashapp, IconBrandChrome, IconBrandCodecov, IconBrandCodepen, IconBrandCodesandbox, IconBrandCoinbase, IconBrandComedyCentral, IconBrandCouchsurfing, IconBrandCss3, IconBrandCucumber, IconBrandCypress, IconBrandD3, IconBrandDcos, IconBrandDebian, IconBrandDeno, IconBrandDeviantart, IconBrandDiscord, IconBrandDisney, IconBrandDisqus, IconBrandDjango, IconBrandDocker, IconBrandDoctrine, IconBrandDribbble, IconBrandDrupal, IconBrandEdge, IconBrandEmber, IconBrandEnvato, IconBrandFacebook, IconBrandFigma, IconBrandFinder, IconBrandFirebase, IconBrandFirefox, IconBrandFlickr, IconBrandFlipboard, IconBrandFlutter, IconBrandFortnite, IconBrandFoursquare, IconBrandFramer, IconBrandGatsby, IconBrandGit, IconBrandGithub, IconBrandGitlab, IconBrandGmail, IconBrandGoogleAnalytics, IconBrandGoogleDrive, IconBrandGoogleFit, IconBrandGoogleOne, IconBrandGooglePhotos, IconBrandGooglePlay, IconBrandGoogle, IconBrandGrammarly, IconBrandGraphql, IconBrandGravatar, IconBrandGrindr, IconBrandHeadlessui, IconBrandHipchat, IconBrandHtml5, IconBrandInertia, IconBrandInstagram, IconBrandIntercom, IconBrandJavascript, IconBrandKickstarter, IconBrandKotlin, IconBrandLaravel, IconBrandLastfm, IconBrandLinkedin, IconBrandLinktree, IconBrandLoom, IconBrandMailgun, IconBrandMantine, IconBrandMastercard, IconBrandMastodon, IconBrandMcdonalds, IconBrandMedium, IconBrandMercedes, IconBrandMessenger, IconBrandMeta, IconBrandMixpanel, IconBrandMonday, IconBrandNetbeans, IconBrandNetflix, IconBrandNextjs, IconBrandNordVpn, IconBrandNotion, IconBrandNuxt, IconBrandNytimes, IconBrandOffice, IconBrandOkRu, IconBrandOpenSource, IconBrandOpenvpn, IconBrandOpera, IconBrandPagekit, IconBrandPatreon, IconBrandPaypal, IconBrandPeanut, IconBrandPepsi, IconBrandPhp, IconBrandPinterest, IconBrandPocket, IconBrandPolymer, IconBrandPrisma, IconBrandProducthunt, IconBrandPushbullet, IconBrandPushover, IconBrandPython, IconBrandReactNative, IconBrandReact, IconBrandReason, IconBrandReddit, IconBrandRedhat, IconBrandRedux, IconBrandSafari, IconBrandSass, IconBrandSentry, IconBrandShazam, IconBrandShopee, IconBrandSketch, IconBrandSkype, IconBrandSlack, IconBrandSnapchat, IconBrandSnapseed, IconBrandSocketIo, IconBrandSoundcloud, IconBrandSpotify, IconBrandStackoverflow, IconBrandSteam, IconBrandStorybook, IconBrandStrava, IconBrandStripe, IconBrandSublimeText, IconBrandSupernova, IconBrandSurfshark, IconBrandSvelte, IconBrandTabler, IconBrandTailwind, IconBrandTelegram, IconBrandTidal, IconBrandTiktok, IconBrandTinder, IconBrandToyota, IconBrandTrello, IconBrandTripadvisor, IconBrandTumblr, IconBrandTwitch, IconBrandTwitter, IconBrandUber, IconBrandUbuntu, IconBrandUnity, IconBrandUnsplash, IconBrandUpwork, IconBrandValorant, IconBrandVercel, IconBrandVimeo, IconBrandVinted, IconBrandVisa, IconBrandVisualStudio, IconBrandVivaldi, IconBrandVk, IconBrandVsco, IconBrandVscode, IconBrandVue, IconBrandWalmart, IconBrandWebflow, IconBrandWhatsapp, IconBrandWindows, IconBrandWish, IconBrandWix, IconBrandWordpress, IconBrandXbox, IconBrandXing, IconBrandYahoo, IconBrandYatse, IconBrandYcombinator, IconBrandYoutubeKids, IconBrandYoutube, IconBrandZalando, IconBrandZapier, IconBrandZeit, IconBrandZoom, IconBrandZwift, IconBreadOff, IconBread, IconBriefcaseOff, IconBriefcase, IconBrightness2, IconBrightnessDown, IconBrightnessHalf, IconBrightnessOff, IconBrightnessUp, IconBrightness, IconBroadcastOff, IconBroadcast, IconBrowserCheck, IconBrowserOff, IconBrowserPlus, IconBrowserX, IconBrowser, IconBrushOff, IconBrush, IconBucketOff, IconBucket, IconBugOff, IconBug, IconBuildingArch, IconBuildingBank, IconBuildingBridge2, IconBuildingBridge, IconBuildingCarousel, IconBuildingCastle, IconBuildingChurch, IconBuildingCommunity, IconBuildingCottage, IconBuildingFactory2, IconBuildingFactory, IconBuildingFortress, IconBuildingHospital, IconBuildingLighthouse, IconBuildingMonument, IconBuildingPavilon, IconBuildingSkyscraper, IconBuildingStore, IconBuildingWarehouse, IconBuilding, IconBulbOff, IconBulb, IconBulldozer, IconBusOff, IconBusStop, IconBus, IconBusinessplan, IconButterfly, IconCSharp, IconCactusOff, IconCactus, IconCakeOff, IconCake, IconCalculatorOff, IconCalculator, IconCalendarEvent, IconCalendarMinus, IconCalendarOff, IconCalendarPlus, IconCalendarStats, IconCalendarTime, IconCalendar, IconCameraMinus, IconCameraOff, IconCameraPlus, IconCameraRotate, IconCameraSelfie, IconCamera, IconCandle, IconCandyOff, IconCandy, IconCaptureOff, IconCapture, IconCarCrane, IconCarCrash, IconCarOff, IconCar, IconCaravan, IconCardboardsOff, IconCardboards, IconCaretDown, IconCaretLeft, IconCaretRight, IconCaretUp, IconCarrotOff, IconCarrot, IconCashBanknoteOff, IconCashBanknote, IconCashOff, IconCash, IconCastOff, IconCast, IconCategory2, IconCategory, IconCeOff, IconCe, IconCellSignal1, IconCellSignal2, IconCellSignal3, IconCellSignal4, IconCellSignal5, IconCellSignalOff, IconCell, IconCertificate2Off, IconCertificate2, IconCertificateOff, IconCertificate, IconChairDirector, IconChalkboardOff, IconChalkboard, IconChargingPile, IconChartArcs3, IconChartArcs, IconChartAreaLine, IconChartArea, IconChartArrowsVertical, IconChartArrows, IconChartBarOff, IconChartBar, IconChartBubble, IconChartCandle, IconChartCircles, IconChartDonut2, IconChartDonut3, IconChartDonut4, IconChartDonut, IconChartDots2, IconChartDots3, IconChartDots, IconChartInfographic, IconChartLine, IconChartPie2, IconChartPie3, IconChartPie4, IconChartPieOff, IconChartPie, IconChartRadar, IconChartTreemap, IconCheck, IconCheckbox, IconChecklist, IconChecks, IconCheckupList, IconCheese, IconChefHatOff, IconChefHat, IconChess, IconChevronDownLeft, IconChevronDownRight, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronUpLeft, IconChevronUpRight, IconChevronUp, IconChevronsDownLeft, IconChevronsDownRight, IconChevronsDown, IconChevronsLeft, IconChevronsRight, IconChevronsUpLeft, IconChevronsUpRight, IconChevronsUp, IconChisel, IconChristmasTreeOff, IconChristmasTree, IconCircle0, IconCircle1, IconCircle2, IconCircle3, IconCircle4, IconCircle5, IconCircle6, IconCircle7, IconCircle8, IconCircle9, IconCircleA, IconCircleB, IconCircleC, IconCircleCheck, IconCircleD, IconCircleDashed, IconCircleDot, IconCircleDotted, IconCircleE, IconCircleF, IconCircleG, IconCircleH, IconCircleHalf2, IconCircleHalfVertical, IconCircleHalf, IconCircleI, IconCircleJ, IconCircleK, IconCircleL, IconCircleM, IconCircleMinus, IconCircleN, IconCircleO, IconCircleOff, IconCircleP, IconCirclePlus, IconCircleQ, IconCircleR, IconCircleRectangleOff, IconCircleRectangle, IconCircleS, IconCircleSquare, IconCircleT, IconCircleTriangle, IconCircleU, IconCircleW, IconCircleX, IconCircleY, IconCircleZ, IconCircle, IconCircles, IconCircuitAmmeter, IconCircuitBattery, IconCircuitBulb, IconCircuitCapacitorPolarized, IconCircuitCapacitor, IconCircuitCellPlus, IconCircuitCell, IconCircuitChangeover, IconCircuitDiodeZener, IconCircuitDiode, IconCircuitGroundDigital, IconCircuitGround, IconCircuitInductor, IconCircuitMotor, IconCircuitPushbutton, IconCircuitResistor, IconCircuitSwitchClosed, IconCircuitSwitchOpen, IconCircuitVoltmeter, IconClearAll, IconClearFormatting, IconClick, IconClipboardCheck, IconClipboardCopy, IconClipboardHeart, IconClipboardList, IconClipboardOff, IconClipboardPlus, IconClipboardText, IconClipboardTypography, IconClipboardX, IconClipboard, IconClock2, IconClockHour1, IconClockHour10, IconClockHour11, IconClockHour12, IconClockHour2, IconClockHour3, IconClockHour4, IconClockHour5, IconClockHour6, IconClockHour7, IconClockHour8, IconClockHour9, IconClockOff, IconClock, IconClothesRackOff, IconClothesRack, IconCloudComputing, IconCloudDataConnection, IconCloudDownload, IconCloudFog, IconCloudLockOpen, IconCloudLock, IconCloudOff, IconCloudRain, IconCloudSnow, IconCloudStorm, IconCloudUpload, IconCloud, IconClover2, IconClover, IconClubs, IconCodeAsterix, IconCodeMinus, IconCodeOff, IconCodePlus, IconCode, IconCoffeeOff, IconCoffee, IconCoinBitcoin, IconCoinEuro, IconCoinMonero, IconCoinOff, IconCoinPound, IconCoinRupee, IconCoinYen, IconCoinYuan, IconCoin, IconColorPickerOff, IconColorPicker, IconColorSwatchOff, IconColorSwatch, IconColumnInsertLeft, IconColumnInsertRight, IconColumnsOff, IconColumns, IconComet, IconCommandOff, IconCommand, IconCompassOff, IconCompass, IconComponentsOff, IconComponents, IconCone2, IconConeOff, IconCone, IconConfettiOff, IconConfetti, IconContainerOff, IconContainer, IconContrast2Off, IconContrast2, IconContrastOff, IconContrast, IconCookieOff, IconCookie, IconCopyOff, IconCopy, IconCopyleftOff, IconCopyleft, IconCopyrightOff, IconCopyright, IconCornerDownLeftDouble, IconCornerDownLeft, IconCornerDownRightDouble, IconCornerDownRight, IconCornerLeftDownDouble, IconCornerLeftDown, IconCornerLeftUpDouble, IconCornerLeftUp, IconCornerRightDownDouble, IconCornerRightDown, IconCornerRightUpDouble, IconCornerRightUp, IconCornerUpLeftDouble, IconCornerUpLeft, IconCornerUpRightDouble, IconCornerUpRight, IconCpu2, IconCpuOff, IconCpu, IconCraneOff, IconCrane, IconCreativeCommonsBy, IconCreativeCommonsNc, IconCreativeCommonsNd, IconCreativeCommonsOff, IconCreativeCommonsSa, IconCreativeCommonsZero, IconCreativeCommons, IconCreditCardOff, IconCreditCard, IconCricket, IconCrop, IconCrossOff, IconCross, IconCrosshair, IconCrownOff, IconCrown, IconCrutchesOff, IconCrutches, IconCupOff, IconCup, IconCurling, IconCurlyLoop, IconCurrencyBahraini, IconCurrencyBaht, IconCurrencyBitcoin, IconCurrencyCent, IconCurrencyDinar, IconCurrencyDirham, IconCurrencyDogecoin, IconCurrencyDollarAustralian, IconCurrencyDollarBrunei, IconCurrencyDollarCanadian, IconCurrencyDollarGuyanese, IconCurrencyDollarOff, IconCurrencyDollarSingapore, IconCurrencyDollarZimbabwean, IconCurrencyDollar, IconCurrencyDong, IconCurrencyDram, IconCurrencyEthereum, IconCurrencyEuroOff, IconCurrencyEuro, IconCurrencyForint, IconCurrencyFrank, IconCurrencyGuarani, IconCurrencyHryvnia, IconCurrencyKip, IconCurrencyKroneCzech, IconCurrencyKroneDanish, IconCurrencyKroneSwedish, IconCurrencyLari, IconCurrencyLeu, IconCurrencyLira, IconCurrencyLitecoin, IconCurrencyLyd, IconCurrencyManat, IconCurrencyMonero, IconCurrencyNaira, IconCurrencyOff, IconCurrencyPaanga, IconCurrencyPoundOff, IconCurrencyPound, IconCurrencyQuetzal, IconCurrencyReal, IconCurrencyRenminbi, IconCurrencyRipple, IconCurrencyRiyal, IconCurrencyRubel, IconCurrencyRufiyaa, IconCurrencyRupeeNepalese, IconCurrencyRupee, IconCurrencyShekel, IconCurrencySolana, IconCurrencySom, IconCurrencyTaka, IconCurrencyTenge, IconCurrencyTugrik, IconCurrencyWon, IconCurrencyYenOff, IconCurrencyYen, IconCurrencyYuan, IconCurrencyZloty, IconCurrency, IconCurrentLocationOff, IconCurrentLocation, IconCursorOff, IconCursorText, IconCut, IconDashboardOff, IconDashboard, IconDatabaseExport, IconDatabaseImport, IconDatabaseOff, IconDatabase, IconDentalBroken, IconDentalOff, IconDental, IconDetailsOff, IconDetails, IconDeviceAnalytics, IconDeviceAudioTape, IconDeviceCameraPhone, IconDeviceCctvOff, IconDeviceCctv, IconDeviceComputerCameraOff, IconDeviceComputerCamera, IconDeviceDesktopAnalytics, IconDeviceDesktopOff, IconDeviceDesktop, IconDeviceFloppy, IconDeviceGamepad2, IconDeviceGamepad, IconDeviceHeartMonitor, IconDeviceLaptopOff, IconDeviceLaptop, IconDeviceMobileCharging, IconDeviceMobileMessage, IconDeviceMobileOff, IconDeviceMobileRotated, IconDeviceMobileVibration, IconDeviceMobile, IconDeviceNintendoOff, IconDeviceNintendo, IconDeviceSdCard, IconDeviceSpeakerOff, IconDeviceSpeaker, IconDeviceTabletOff, IconDeviceTablet, IconDeviceTvOff, IconDeviceTvOld, IconDeviceTv, IconDeviceWatchOff, IconDeviceWatchStats2, IconDeviceWatchStats, IconDeviceWatch, IconDevices2, IconDevicesOff, IconDevicesPcOff, IconDevicesPc, IconDevices, IconDialpadOff, IconDialpad, IconDiamondOff, IconDiamond, IconDiamonds, IconDice1, IconDice2, IconDice3, IconDice4, IconDice5, IconDice6, IconDice, IconDimensions, IconDirectionHorizontal, IconDirectionSignOff, IconDirectionSign, IconDirection, IconDirectionsOff, IconDirections, IconDisabled2, IconDisabledOff, IconDisabled, IconDiscGolf, IconDiscOff, IconDisc, IconDiscount2Off, IconDiscount2, IconDiscountCheck, IconDiscountOff, IconDiscount, IconDivide, IconDna2Off, IconDna2, IconDnaOff, IconDna, IconDogBowl, IconDoorEnter, IconDoorExit, IconDoorOff, IconDoor, IconDotsCircleHorizontal, IconDotsDiagonal2, IconDotsDiagonal, IconDotsVertical, IconDots, IconDownloadOff, IconDownload, IconDragDrop2, IconDragDrop, IconDroneOff, IconDrone, IconDropCircle, IconDropletFilled2, IconDropletFilled, IconDropletHalf2, IconDropletHalf, IconDropletOff, IconDroplet, IconEarOff, IconEar, IconEditCircleOff, IconEditCircle, IconEditOff, IconEdit, IconEggCracked, IconEggFried, IconEggOff, IconEgg, IconElevatorOff, IconElevator, IconEmergencyBed, IconEmpathizeOff, IconEmpathize, IconEmphasis, IconEngineOff, IconEngine, IconEqualNot, IconEqual, IconEraserOff, IconEraser, IconError404Off, IconError404, IconExchangeOff, IconExchange, IconExclamationMarkOff, IconExclamationMark, IconExplicitOff, IconExplicit, IconExposure0, IconExposureMinus1, IconExposureMinus2, IconExposureOff, IconExposurePlus1, IconExposurePlus2, IconExposure, IconExternalLinkOff, IconExternalLink, IconEyeCheck, IconEyeOff, IconEyeTable, IconEye, IconEyeglass2, IconEyeglassOff, IconEyeglass, IconFaceIdError, IconFaceId, IconFaceMaskOff, IconFaceMask, IconFall, IconFeatherOff, IconFeather, IconFenceOff, IconFence, IconFidgetSpinner, IconFile3d, IconFileAlert, IconFileAnalytics, IconFileArrowLeft, IconFileArrowRight, IconFileBarcode, IconFileCertificate, IconFileChart, IconFileCheck, IconFileCode2, IconFileCode, IconFileDatabase, IconFileDescription, IconFileDiff, IconFileDigit, IconFileDislike, IconFileDollar, IconFileDots, IconFileDownload, IconFileEuro, IconFileExport, IconFileHorizontal, IconFileImport, IconFileInfo, IconFileInvoice, IconFileLike, IconFileMinus, IconFileMusic, IconFileOff, IconFileOrientation, IconFilePencil, IconFilePhone, IconFilePlus, IconFilePower, IconFileReport, IconFileRss, IconFileScissors, IconFileSearch, IconFileSettings, IconFileShredder, IconFileSignal, IconFileSpreadsheet, IconFileStar, IconFileSymlink, IconFileText, IconFileTime, IconFileTypography, IconFileUnknown, IconFileUpload, IconFileVector, IconFileX, IconFileZip, IconFile, IconFilesOff, IconFiles, IconFilterOff, IconFilter, IconFingerprintOff, IconFingerprint, IconFireHydrantOff, IconFireHydrant, IconFiretruck, IconFirstAidKitOff, IconFirstAidKit, IconFishBone, IconFishHookOff, IconFishHook, IconFishOff, IconFish, IconFlag2Off, IconFlag2, IconFlag3, IconFlagOff, IconFlag, IconFlameOff, IconFlame, IconFlare, IconFlask2Off, IconFlask2, IconFlaskOff, IconFlask, IconFlipHorizontal, IconFlipVertical, IconFloatCenter, IconFloatLeft, IconFloatNone, IconFloatRight, IconFlowerOff, IconFlower, IconFocus2, IconFocusCentered, IconFocus, IconFoldDown, IconFoldUp, IconFold, IconFolderMinus, IconFolderOff, IconFolderPlus, IconFolderX, IconFolder, IconFoldersOff, IconFolders, IconForbid2, IconForbid, IconForklift, IconForms, IconFountainOff, IconFountain, IconFrameOff, IconFrame, IconFreeRights, IconFridgeOff, IconFridge, IconFriendsOff, IconFriends, IconFunctionOff, IconFunction, IconGardenCartOff, IconGardenCart, IconGasStationOff, IconGasStation, IconGaugeOff, IconGauge, IconGavel, IconGenderAgender, IconGenderAndrogyne, IconGenderBigender, IconGenderDemiboy, IconGenderDemigirl, IconGenderEpicene, IconGenderFemale, IconGenderFemme, IconGenderGenderfluid, IconGenderGenderless, IconGenderGenderqueer, IconGenderHermaphrodite, IconGenderIntergender, IconGenderMale, IconGenderNeutrois, IconGenderThird, IconGenderTransgender, IconGenderTrasvesti, IconGeometry, IconGhostOff, IconGhost, IconGif, IconGiftCard, IconGiftOff, IconGift, IconGitBranch, IconGitCommit, IconGitCompare, IconGitFork, IconGitMerge, IconGitPullRequestClosed, IconGitPullRequestDraft, IconGitPullRequest, IconGizmo, IconGlassFull, IconGlassOff, IconGlass, IconGlobeOff, IconGlobe, IconGolfOff, IconGolf, IconGps, IconGradienter, IconGrain, IconGraphOff, IconGraph, IconGridDots, IconGridPattern, IconGrillFork, IconGrillOff, IconGrillSpatula, IconGrill, IconGripHorizontal, IconGripVertical, IconGrowth, IconH1, IconH2, IconH3, IconH4, IconH5, IconH6, IconHammerOff, IconHammer, IconHandClick, IconHandFingerOff, IconHandFinger, IconHandGrab, IconHandLittleFinger, IconHandMiddleFinger, IconHandMove, IconHandOff, IconHandRingFinger, IconHandRock, IconHandStop, IconHandThreeFingers, IconHandTwoFingers, IconHanger2, IconHangerOff, IconHanger, IconHash, IconHaze, IconHeadingOff, IconHeading, IconHeadphonesOff, IconHeadphones, IconHeadsetOff, IconHeadset, IconHealthRecognition, IconHeartBroken, IconHeartHandshake, IconHeartMinus, IconHeartOff, IconHeartPlus, IconHeartRateMonitor, IconHeart, IconHeartbeat, IconHeartsOff, IconHearts, IconHelicopterLanding, IconHelicopter, IconHelmetOff, IconHelmet, IconHelpOff, IconHelp, IconHexagon0, IconHexagon1, IconHexagon2, IconHexagon3, IconHexagon4, IconHexagon5, IconHexagon6, IconHexagon7, IconHexagon8, IconHexagon9, IconHexagonA, IconHexagonB, IconHexagonC, IconHexagonD, IconHexagonE, IconHexagonF, IconHexagonG, IconHexagonH, IconHexagonI, IconHexagonJ, IconHexagonK, IconHexagonL, IconHexagonM, IconHexagonN, IconHexagonO, IconHexagonOff, IconHexagonP, IconHexagonQ, IconHexagonR, IconHexagonS, IconHexagonT, IconHexagonU, IconHexagonW, IconHexagonX, IconHexagonY, IconHexagonZ, IconHexagon, IconHexagonsOff, IconHexagons, IconHierarchy2, IconHierarchy3, IconHierarchyOff, IconHierarchy, IconHighlightOff, IconHighlight, IconHistoryOff, IconHistoryToggle, IconHistory, IconHome2, IconHomeBolt, IconHomeCancel, IconHomeCheck, IconHomeCog, IconHomeDollar, IconHomeDot, IconHomeDown, IconHomeEco, IconHomeEdit, IconHomeExclamation, IconHomeHeart, IconHomeLink, IconHomeMinus, IconHomeMove, IconHomeOff, IconHomePlus, IconHomeQuestion, IconHomeRibbon, IconHomeSearch, IconHomeShare, IconHomeShield, IconHomeSignal, IconHomeStar, IconHomeStats, IconHomeUp, IconHomeX, IconHome, IconHorseToy, IconHotelService, IconHourglassEmpty, IconHourglassHigh, IconHourglassLow, IconHourglassOff, IconHourglass, IconIceCream2, IconIceCreamOff, IconIceCream, IconIceSkating, IconIconsOff, IconIcons, IconIdBadge2, IconIdBadgeOff, IconIdBadge, IconIdOff, IconId, IconInboxOff, IconInbox, IconIndentDecrease, IconIndentIncrease, IconInfinityOff, IconInfinity, IconInfoCircle, IconInfoSquare, IconInputSearch, IconIroning1, IconIroning2, IconIroning3, IconIroningOff, IconIroningSteamOff, IconIroningSteam, IconItalic, IconJewishStar, IconJpg, IconJumpRope, IconKarate, IconKayak, IconKering, IconKeyOff, IconKey, IconKeyboardHide, IconKeyboardOff, IconKeyboardShow, IconKeyboard, IconLadderOff, IconLadder, IconLamp2, IconLampOff, IconLamp, IconLanguageHiragana, IconLanguageKatakana, IconLanguageOff, IconLanguage, IconLassoOff, IconLassoPolygon, IconLasso, IconLayersDifference, IconLayersIntersect2, IconLayersIntersect, IconLayersLinked, IconLayersOff, IconLayersSubtract, IconLayersUnion, IconLayout2, IconLayoutAlignBottom, IconLayoutAlignCenter, IconLayoutAlignLeft, IconLayoutAlignMiddle, IconLayoutAlignRight, IconLayoutAlignTop, IconLayoutBoardSplit, IconLayoutBoard, IconLayoutBottombarCollapse, IconLayoutBottombarExpand, IconLayoutBottombar, IconLayoutCards, IconLayoutCollage, IconLayoutColumns, IconLayoutDashboard, IconLayoutDistributeHorizontal, IconLayoutDistributeVertical, IconLayoutGridAdd, IconLayoutGrid, IconLayoutKanban, IconLayoutList, IconLayoutNavbarCollapse, IconLayoutNavbarExpand, IconLayoutNavbar, IconLayoutOff, IconLayoutRows, IconLayoutSidebarLeftCollapse, IconLayoutSidebarLeftExpand, IconLayoutSidebarRightCollapse, IconLayoutSidebarRightExpand, IconLayoutSidebarRight, IconLayoutSidebar, IconLayout, IconLeafOff, IconLeaf, IconLegoOff, IconLego, IconLemon2, IconLemon, IconLetterA, IconLetterB, IconLetterC, IconLetterCaseLower, IconLetterCaseToggle, IconLetterCaseUpper, IconLetterCase, IconLetterD, IconLetterE, IconLetterF, IconLetterG, IconLetterH, IconLetterI, IconLetterJ, IconLetterK, IconLetterL, IconLetterM, IconLetterN, IconLetterO, IconLetterP, IconLetterQ, IconLetterR, IconLetterS, IconLetterSpacing, IconLetterT, IconLetterU, IconLetterV, IconLetterW, IconLetterX, IconLetterY, IconLetterZ, IconLicenseOff, IconLicense, IconLifebuoyOff, IconLifebuoy, IconLineDashed, IconLineDotted, IconLineHeight, IconLine, IconLinkOff, IconLink, IconListCheck, IconListDetails, IconListNumbers, IconListSearch, IconList, IconLivePhotoOff, IconLivePhoto, IconLiveView, IconLoader2, IconLoaderQuarter, IconLoader, IconLocationBroken, IconLocationOff, IconLocation, IconLockAccessOff, IconLockAccess, IconLockOff, IconLockOpenOff, IconLockOpen, IconLockSquare, IconLock, IconLogicAnd, IconLogicBuffer, IconLogicNand, IconLogicNor, IconLogicNot, IconLogicOr, IconLogicXnor, IconLogicXor, IconLogin, IconLogout, IconLollipopOff, IconLollipop, IconLuggageOff, IconLuggage, IconLungsOff, IconLungs, IconMacroOff, IconMacro, IconMagnetOff, IconMagnet, IconMailFast, IconMailForward, IconMailOff, IconMailOpened, IconMail, IconMailboxOff, IconMailbox, IconMan, IconManualGearbox, IconMap2, IconMapOff, IconMapPinOff, IconMapPin, IconMapPins, IconMapSearch, IconMap, IconMarkdownOff, IconMarkdown, IconMarquee2, IconMarqueeOff, IconMarquee, IconMars, IconMaskOff, IconMask, IconMasksTheaterOff, IconMasksTheater, IconMassage, IconMathAvg, IconMathFunctionOff, IconMathFunction, IconMathMax, IconMathMin, IconMathOff, IconMathSymbols, IconMath, IconMaximizeOff, IconMaximize, IconMeatOff, IconMeat, IconMedal2, IconMedal, IconMedicalCrossOff, IconMedicalCross, IconMedicineSyrup, IconMenu2, IconMenu, IconMessage2Code, IconMessage2Off, IconMessage2Share, IconMessage2, IconMessageChatbot, IconMessageCircle2, IconMessageCircleOff, IconMessageCircle, IconMessageCode, IconMessageDots, IconMessageForward, IconMessageLanguage, IconMessageOff, IconMessagePlus, IconMessageReport, IconMessageShare, IconMessage, IconMessagesOff, IconMessages, IconMeteorOff, IconMeteor, IconMickey, IconMicrophone2Off, IconMicrophone2, IconMicrophoneOff, IconMicrophone, IconMicroscopeOff, IconMicroscope, IconMicrowaveOff, IconMicrowave, IconMilitaryAward, IconMilitaryRank, IconMilkOff, IconMilk, IconMinimize, IconMinusVertical, IconMinus, IconMistOff, IconMist, IconMoodAngry, IconMoodAnnoyed2, IconMoodAnnoyed, IconMoodBoy, IconMoodConfuzed, IconMoodCrazyHappy, IconMoodCry, IconMoodEmpty, IconMoodHappy, IconMoodKid, IconMoodLookLeft, IconMoodLookRight, IconMoodNerd, IconMoodNervous, IconMoodNeutral, IconMoodOff, IconMoodSad2, IconMoodSadDizzy, IconMoodSadSquint, IconMoodSad, IconMoodSick, IconMoodSilence, IconMoodSing, IconMoodSmileBeam, IconMoodSmileDizzy, IconMoodSmile, IconMoodSuprised, IconMoodTongueWink2, IconMoodTongueWink, IconMoodTongue, IconMoodUnamused, IconMoodWink2, IconMoodWink, IconMoodWrrr, IconMoodXd, IconMoon2, IconMoonOff, IconMoonStars, IconMoon, IconMoped, IconMotorbike, IconMountainOff, IconMountain, IconMouse2, IconMouseOff, IconMouse, IconMovieOff, IconMovie, IconMugOff, IconMug, IconMultiplier05x, IconMultiplier15x, IconMultiplier1x, IconMultiplier2x, IconMushroomOff, IconMushroom, IconMusicOff, IconMusic, IconNavigationOff, IconNavigation, IconNetworkOff, IconNetwork, IconNewSection, IconNewsOff, IconNews, IconNfcOff, IconNfc, IconNoCopyright, IconNoCreativeCommons, IconNoDerivatives, IconNorthStar, IconNoteOff, IconNote, IconNotebookOff, IconNotebook, IconNotesOff, IconNotes, IconNotificationOff, IconNotification, IconNumber0, IconNumber1, IconNumber2, IconNumber3, IconNumber4, IconNumber5, IconNumber6, IconNumber7, IconNumber8, IconNumber9, IconNumber, IconNumbers, IconNurse, IconOctagonOff, IconOctagon, IconOld, IconOlympicsOff, IconOlympics, IconOmega, IconOutbound, IconOutlet, IconOvalVertical, IconOval, IconOverline, IconPackageOff, IconPackage, IconPackages, IconPackgeExport, IconPackgeImport, IconPacman, IconPageBreak, IconPaintOff, IconPaint, IconPaletteOff, IconPalette, IconPanoramaHorizontalOff, IconPanoramaHorizontal, IconPanoramaVerticalOff, IconPanoramaVertical, IconPaperBagOff, IconPaperBag, IconPaperclip, IconParachuteOff, IconParachute, IconParenthesesOff, IconParentheses, IconParkingOff, IconParking, IconPawOff, IconPaw, IconPeace, IconPencilMinus, IconPencilOff, IconPencilPlus, IconPencil, IconPennant2, IconPennantOff, IconPennant, IconPentagonOff, IconPentagon, IconPepperOff, IconPepper, IconPercentage, IconPerspectiveOff, IconPerspective, IconPhoneCall, IconPhoneCalling, IconPhoneCheck, IconPhoneIncoming, IconPhoneOff, IconPhoneOutgoing, IconPhonePause, IconPhonePlus, IconPhoneX, IconPhone, IconPhotoCancel, IconPhotoCheck, IconPhotoDown, IconPhotoEdit, IconPhotoHeart, IconPhotoMinus, IconPhotoOff, IconPhotoPlus, IconPhotoSearch, IconPhotoShield, IconPhotoStar, IconPhotoUp, IconPhotoX, IconPhoto, IconPhysotherapist, IconPictureInPictureOff, IconPictureInPictureOn, IconPictureInPictureTop, IconPictureInPicture, IconPigMoney, IconPigOff, IconPig, IconPillOff, IconPill, IconPills, IconPin, IconPingPong, IconPinnedOff, IconPinned, IconPizzaOff, IconPizza, IconPlaneArrival, IconPlaneDeparture, IconPlaneInflight, IconPlaneOff, IconPlaneTilt, IconPlane, IconPlanetOff, IconPlanet, IconPlant2Off, IconPlant2, IconPlantOff, IconPlant, IconPlayCardOff, IconPlayCard, IconPlayerEject, IconPlayerPause, IconPlayerPlay, IconPlayerRecord, IconPlayerSkipBack, IconPlayerSkipForward, IconPlayerStop, IconPlayerTrackNext, IconPlayerTrackPrev, IconPlaylistAdd, IconPlaylistOff, IconPlaylistX, IconPlaylist, IconPlaystationCircle, IconPlaystationSquare, IconPlaystationTriangle, IconPlaystationX, IconPlugConnectedX, IconPlugConnected, IconPlugOff, IconPlugX, IconPlug, IconPlus, IconPng, IconPodiumOff, IconPodium, IconPointOff, IconPoint, IconPointer, IconPokeballOff, IconPokeball, IconPolaroid, IconPolygonOff, IconPolygon, IconPoo, IconPoolOff, IconPool, IconPower, IconPray, IconPremiumRights, IconPrescription, IconPresentationAnalytics, IconPresentationOff, IconPresentation, IconPrinterOff, IconPrinter, IconPrison, IconPrompt, IconPropellerOff, IconPropeller, IconPuzzle2, IconPuzzleOff, IconPuzzle, IconPyramidOff, IconPyramid, IconQrcodeOff, IconQrcode, IconQuestionMark, IconQuoteOff, IconQuote, IconRadar2, IconRadarOff, IconRadar, IconRadioOff, IconRadio, IconRadioactiveOff, IconRadioactive, IconRadiusBottomLeft, IconRadiusBottomRight, IconRadiusTopLeft, IconRadiusTopRight, IconRainbowOff, IconRainbow, IconRating12Plus, IconRating14Plus, IconRating16Plus, IconRating18Plus, IconRating21Plus, IconReceipt2, IconReceiptOff, IconReceiptRefund, IconReceiptTax, IconReceipt, IconRecharging, IconRecordMailOff, IconRecordMail, IconRectangleVertical, IconRectangle, IconRecycleOff, IconRecycle, IconRefreshAlert, IconRefreshDot, IconRefreshOff, IconRefresh, IconRegexOff, IconRegex, IconRegistered, IconRelationManyToMany, IconRelationOneToMany, IconRelationOneToOne, IconReload, IconRepeatOff, IconRepeatOnce, IconRepeat, IconReplaceOff, IconReplace, IconReportAnalytics, IconReportMedical, IconReportMoney, IconReportOff, IconReportSearch, IconReport, IconResize, IconRippleOff, IconRipple, IconRoadOff, IconRoadSign, IconRoad, IconRobotOff, IconRobot, IconRocketOff, IconRocket, IconRollerSkating, IconRollercoasterOff, IconRollercoaster, IconRotate2, IconRotate360, IconRotateClockwise2, IconRotateClockwise, IconRotateDot, IconRotateRectangle, IconRotate, IconRouteOff, IconRoute, IconRouterOff, IconRouter, IconRowInsertBottom, IconRowInsertTop, IconRss, IconRuler2Off, IconRuler2, IconRuler3, IconRulerMeasure, IconRulerOff, IconRuler, IconRun, IconSailboatOff, IconSailboat, IconSalt, IconSatelliteOff, IconSatellite, IconSausage, IconScaleOff, IconScaleOutlineOff, IconScaleOutline, IconScale, IconScanEye, IconScan, IconSchemaOff, IconSchema, IconSchoolOff, IconSchool, IconScissorsOff, IconScissors, IconScooterElectric, IconScooter, IconScreenShareOff, IconScreenShare, IconScreenshot, IconScribbleOff, IconScribble, IconScriptMinus, IconScriptPlus, IconScriptX, IconScript, IconScubaMaskOff, IconScubaMask, IconSdk, IconSearchOff, IconSearch, IconSectionSign, IconSection, IconSeedingOff, IconSeeding, IconSelect, IconSelector, IconSendOff, IconSend, IconSeo, IconSeparatorHorizontal, IconSeparatorVertical, IconSeparator, IconServer2, IconServerBolt, IconServerCog, IconServerOff, IconServer, IconServicemark, IconSettingsAutomation, IconSettingsOff, IconSettings, IconShadowOff, IconShadow, IconShape2, IconShape3, IconShapeOff, IconShape, IconShareOff, IconShare, IconShieldCheck, IconShieldCheckered, IconShieldChevron, IconShieldHalfFilled, IconShieldHalf, IconShieldLock, IconShieldOff, IconShieldX, IconShield, IconShipOff, IconShip, IconShirtOff, IconShirtSport, IconShirt, IconShoeOff, IconShoe, IconShoppingCartDiscount, IconShoppingCartOff, IconShoppingCartPlus, IconShoppingCartX, IconShoppingCart, IconShovel, IconShredder, IconSignLeft, IconSignRight, IconSignal3g, IconSignal4gPlus, IconSignal4g, IconSignal5g, IconSignatureOff, IconSignature, IconSitemapOff, IconSitemap, IconSkateboardOff, IconSkateboard, IconSkull, IconSleigh, IconSlice, IconSlideshow, IconSmartHomeOff, IconSmartHome, IconSmokingNo, IconSmoking, IconSnowflakeOff, IconSnowflake, IconSnowman, IconSoccerField, IconSocialOff, IconSocial, IconSock, IconSofaOff, IconSofa, IconSortAscending2, IconSortAscendingLetters, IconSortAscendingNumbers, IconSortAscending, IconSortDescending2, IconSortDescendingLetters, IconSortDescendingNumbers, IconSortDescending, IconSos, IconSoupOff, IconSoup, IconSourceCode, IconSpaceOff, IconSpace, IconSpacingHorizontal, IconSpacingVertical, IconSpade, IconSpeakerphone, IconSpeedboat, IconSpider, IconSpiralOff, IconSpiral, IconSportBillard, IconSpyOff, IconSpy, IconSquare0, IconSquare1, IconSquare2, IconSquare3, IconSquare4, IconSquare5, IconSquare6, IconSquare7, IconSquare8, IconSquare9, IconSquareA, IconSquareAsterisk, IconSquareB, IconSquareC, IconSquareCheck, IconSquareD, IconSquareDot, IconSquareE, IconSquareF, IconSquareForbid2, IconSquareForbid, IconSquareG, IconSquareH, IconSquareHalf, IconSquareI, IconSquareJ, IconSquareK, IconSquareL, IconSquareM, IconSquareMinus, IconSquareN, IconSquareO, IconSquareOff, IconSquareP, IconSquarePlus, IconSquareQ, IconSquareR, IconSquareRoot2, IconSquareRoot, IconSquareRotatedForbid2, IconSquareRotatedForbid, IconSquareRotatedOff, IconSquareRotated, IconSquareS, IconSquareT, IconSquareToggleHorizontal, IconSquareToggle, IconSquareU, IconSquareW, IconSquareX, IconSquareY, IconSquareZ, IconSquare, IconSquaresDiagonal, IconSquaresFilled, IconStack2, IconStack3, IconStackPop, IconStackPush, IconStack, IconStairsDown, IconStairsUp, IconStairs, IconStarHalf, IconStarOff, IconStar, IconStarsOff, IconStars, IconStatusChange, IconSteam, IconSteeringWheelOff, IconSteeringWheel, IconStepInto, IconStepOut, IconStethoscopeOff, IconStethoscope, IconSticker, IconStormOff, IconStorm, IconStretching, IconStrikethrough, IconSubmarine, IconSubscript, IconSubtask, IconSumOff, IconSum, IconSunHigh, IconSunLow, IconSunMoon, IconSunOff, IconSunWind, IconSun, IconSunglasses, IconSunrise, IconSunset2, IconSunset, IconSuperscript, IconSvg, IconSwimming, IconSwitch2, IconSwitch3, IconSwitchHorizontal, IconSwitchVertical, IconSwitch, IconSwordOff, IconSword, IconSwords, IconTableAlias, IconTableExport, IconTableImport, IconTableOff, IconTableOptions, IconTableShortcut, IconTable, IconTagOff, IconTag, IconTagsOff, IconTags, IconTallymark1, IconTallymark2, IconTallymark3, IconTallymark4, IconTallymarks, IconTank, IconTargetOff, IconTarget, IconTelescopeOff, IconTelescope, IconTemperatureCelsius, IconTemperatureFahrenheit, IconTemperatureMinus, IconTemperatureOff, IconTemperaturePlus, IconTemperature, IconTemplateOff, IconTemplate, IconTentOff, IconTent, IconTerminal2, IconTerminal, IconTestPipe2, IconTestPipeOff, IconTestPipe, IconTextCaption, IconTextColor, IconTextDecrease, IconTextDirectionLtr, IconTextDirectionRtl, IconTextIncrease, IconTextOrientation, IconTextPlus, IconTextRecognition, IconTextResize, IconTextSize, IconTextSpellcheck, IconTextWrapDisabled, IconTextWrap, IconThermometer, IconThumbDownOff, IconThumbDown, IconThumbUpOff, IconThumbUp, IconTicketOff, IconTicket, IconTie, IconTilde, IconTiltShiftOff, IconTiltShift, IconTimeline, IconTir, IconToggleLeft, IconToggleRight, IconToiletPaperOff, IconToiletPaper, IconTool, IconToolsKitchen2Off, IconToolsKitchen2, IconToolsKitchenOff, IconToolsKitchen, IconToolsOff, IconTools, IconTooltip, IconTornado, IconTournament, IconTowerOff, IconTower, IconTrack, IconTractor, IconTrademark, IconTrafficConeOff, IconTrafficCone, IconTrafficLightsOff, IconTrafficLights, IconTrain, IconTransferIn, IconTransferOut, IconTransform, IconTransitionBottom, IconTransitionLeft, IconTransitionRight, IconTransitionTop, IconTrashOff, IconTrashX, IconTrash, IconTree, IconTrees, IconTrendingDown2, IconTrendingDown3, IconTrendingDown, IconTrendingUp2, IconTrendingUp3, IconTrendingUp, IconTriangleInverted, IconTriangleOff, IconTriangleSquareCircle, IconTriangle, IconTriangles, IconTrident, IconTrophyOff, IconTrophy, IconTrowel, IconTruckDelivery, IconTruckLoading, IconTruckOff, IconTruckReturn, IconTruck, IconTxt, IconTypographyOff, IconTypography, IconUfOff, IconUfo, IconUmbrellaOff, IconUmbrella, IconUnderline, IconUnlink, IconUpload, IconUrgent, IconUsb, IconUserCheck, IconUserCircle, IconUserExclamation, IconUserMinus, IconUserOff, IconUserPlus, IconUserSearch, IconUserX, IconUser, IconUsers, IconUvIndex, IconUxCircle, IconVaccineBottleOff, IconVaccineBottle, IconVaccineOff, IconVaccine, IconVariableMinus, IconVariableOff, IconVariablePlus, IconVariable, IconVectorBezier2, IconVectorBezier, IconVectorOff, IconVectorTriangleOff, IconVectorTriangle, IconVector, IconVenus, IconVersionsOff, IconVersions, IconVideoMinus, IconVideoOff, IconVideoPlus, IconVideo, IconView360Off, IconView360, IconViewfinderOff, IconViewfinder, IconViewportNarrow, IconViewportWide, IconVinyl, IconVipOff, IconVip, IconVirusOff, IconVirusSearch, IconVirus, IconVocabularyOff, IconVocabulary, IconVolume2, IconVolume3, IconVolumeOff, IconVolume, IconWalk, IconWallOff, IconWall, IconWalletOff, IconWallet, IconWallpaperOff, IconWallpaper, IconWandOff, IconWand, IconWashDry1, IconWashDry2, IconWashDry3, IconWashDryA, IconWashDryDip, IconWashDryF, IconWashDryHang, IconWashDryOff, IconWashDryP, IconWashDryShade, IconWashDryW, IconWashDry, IconWashDrycleanOff, IconWashDryclean, IconWashGentle, IconWashMachine, IconWashOff, IconWashPress, IconWashTemperature1, IconWashTemperature2, IconWashTemperature3, IconWashTemperature4, IconWashTemperature5, IconWashTemperature6, IconWashTumbleDry, IconWashTumbleOff, IconWash, IconWaveSawTool, IconWaveSine, IconWaveSquare, IconWebhookOff, IconWebhook, IconWheelchairOff, IconWheelchair, IconWifi0, IconWifi1, IconWifi2, IconWifiOff, IconWifi, IconWindOff, IconWind, IconWindmillOff, IconWindmill, IconWindowMaximize, IconWindowMinimize, IconWindowOff, IconWindow, IconWindsock, IconWiperWash, IconWiper, IconWoman, IconWood, IconWorldDownload, IconWorldLatitude, IconWorldLongitude, IconWorldOff, IconWorldUpload, IconWorldWww, IconWorld, IconWreckingBall, IconWritingOff, IconWritingSignOff, IconWritingSign, IconWriting, IconX, IconXboxA, IconXboxB, IconXboxX, IconXboxY, IconYinYang, IconYoga, IconZeppelinOff, IconZeppelin, IconZip, IconZodiacAquarius, IconZodiacAries, IconZodiacCancer, IconZodiacCapricorn, IconZodiacGemini, IconZodiacLeo, IconZodiacLibra, IconZodiacPisces, IconZodiacSagittarius, IconZodiacScorpio, IconZodiacTaurus, IconZodiacVirgo, IconZoomCancel, IconZoomCheck, IconZoomCode, IconZoomExclamation, IconZoomInArea, IconZoomIn, IconZoomMoney, IconZoomOutArea, IconZoomOut, IconZoomPan, IconZoomQuestion, IconZoomReplace, IconZoomReset, IconZzzOff, IconZzz } from "@tabler/icons";
|
|
8
9
|
import ReactDOM from "react-dom";
|
|
@@ -40,14 +41,16 @@ const {
|
|
|
40
41
|
children: [a && /* @__PURE__ */ jsx(Tooltip$2, {
|
|
41
42
|
title: a,
|
|
42
43
|
children: /* @__PURE__ */ jsx(QuestionCircleOutlined, {
|
|
43
|
-
className: "text-xs text-blue-400
|
|
44
|
+
className: "pr-1 text-xs text-blue-400"
|
|
44
45
|
})
|
|
45
46
|
}), /* @__PURE__ */ jsx("span", {
|
|
46
47
|
className: "pr-2",
|
|
47
48
|
children: /* @__PURE__ */ jsx(h, {
|
|
48
49
|
level: c !== "text" ? c : null,
|
|
49
50
|
type: l,
|
|
50
|
-
children:
|
|
51
|
+
children: /* @__PURE__ */ jsx(Interweave, {
|
|
52
|
+
content: d
|
|
53
|
+
})
|
|
51
54
|
})
|
|
52
55
|
})]
|
|
53
56
|
});
|
|
@@ -4046,12 +4049,12 @@ const {
|
|
|
4046
4049
|
}
|
|
4047
4050
|
v();
|
|
4048
4051
|
}
|
|
4049
|
-
function
|
|
4052
|
+
function g() {
|
|
4050
4053
|
if (p)
|
|
4051
4054
|
return /* @__PURE__ */ jsx(LoadingOutlined$3, {});
|
|
4052
4055
|
if (c) {
|
|
4053
|
-
const
|
|
4054
|
-
return
|
|
4056
|
+
const I = iconMapper(c);
|
|
4057
|
+
return I && /* @__PURE__ */ jsx(I, {});
|
|
4055
4058
|
}
|
|
4056
4059
|
}
|
|
4057
4060
|
return /* @__PURE__ */ jsx(Field$1, {
|
|
@@ -4060,7 +4063,7 @@ const {
|
|
|
4060
4063
|
block: !0,
|
|
4061
4064
|
disabled: !o || u,
|
|
4062
4065
|
onClick: x,
|
|
4063
|
-
icon:
|
|
4066
|
+
icon: g(),
|
|
4064
4067
|
type: t.primary ? "primary" : "default",
|
|
4065
4068
|
danger: t.danger,
|
|
4066
4069
|
style: {
|
|
@@ -4089,8 +4092,8 @@ const {
|
|
|
4089
4092
|
readOnly: h
|
|
4090
4093
|
} = n || {}, m = useContext(FormContext$1), {
|
|
4091
4094
|
executeButtonAction: v
|
|
4092
|
-
} = m || {}, [x,
|
|
4093
|
-
lang:
|
|
4095
|
+
} = m || {}, [x, g] = useState(!1), {
|
|
4096
|
+
lang: I
|
|
4094
4097
|
} = useContext(LocaleContext);
|
|
4095
4098
|
function C() {
|
|
4096
4099
|
if (x)
|
|
@@ -4101,17 +4104,17 @@ const {
|
|
|
4101
4104
|
}
|
|
4102
4105
|
}
|
|
4103
4106
|
async function y() {
|
|
4104
|
-
c && o && (
|
|
4107
|
+
c && o && (g(!0), await v({
|
|
4105
4108
|
type: c,
|
|
4106
4109
|
action: o,
|
|
4107
4110
|
context: p
|
|
4108
|
-
}),
|
|
4111
|
+
}), g(!1));
|
|
4109
4112
|
}
|
|
4110
4113
|
function O() {
|
|
4111
4114
|
if (l) {
|
|
4112
4115
|
showDialog$9({
|
|
4113
4116
|
confirmMessage: l,
|
|
4114
|
-
lang:
|
|
4117
|
+
lang: I,
|
|
4115
4118
|
onOk: () => {
|
|
4116
4119
|
y();
|
|
4117
4120
|
}
|
|
@@ -4152,9 +4155,9 @@ const {
|
|
|
4152
4155
|
} = r, h = useContext(FormContext$1), {
|
|
4153
4156
|
executeButtonAction: m
|
|
4154
4157
|
} = h || {}, [v, x] = useState(!1), {
|
|
4155
|
-
lang:
|
|
4158
|
+
lang: g
|
|
4156
4159
|
} = useContext(LocaleContext);
|
|
4157
|
-
async function
|
|
4160
|
+
async function I() {
|
|
4158
4161
|
x(!0), await m({
|
|
4159
4162
|
type: c,
|
|
4160
4163
|
action: o,
|
|
@@ -4165,14 +4168,14 @@ const {
|
|
|
4165
4168
|
if (l) {
|
|
4166
4169
|
showDialog$9({
|
|
4167
4170
|
confirmMessage: l,
|
|
4168
|
-
lang:
|
|
4171
|
+
lang: g,
|
|
4169
4172
|
onOk: () => {
|
|
4170
|
-
|
|
4173
|
+
I();
|
|
4171
4174
|
}
|
|
4172
4175
|
});
|
|
4173
4176
|
return;
|
|
4174
4177
|
}
|
|
4175
|
-
|
|
4178
|
+
I();
|
|
4176
4179
|
}
|
|
4177
4180
|
function y() {
|
|
4178
4181
|
if (v)
|
|
@@ -4587,7 +4590,7 @@ function requireReactIs_production_min() {
|
|
|
4587
4590
|
if (hasRequiredReactIs_production_min)
|
|
4588
4591
|
return reactIs_production_min;
|
|
4589
4592
|
hasRequiredReactIs_production_min = 1;
|
|
4590
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117,
|
|
4593
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
|
|
4591
4594
|
function C(O) {
|
|
4592
4595
|
if (typeof O == "object" && O !== null) {
|
|
4593
4596
|
var b = O.$$typeof;
|
|
@@ -4646,7 +4649,7 @@ function requireReactIs_production_min() {
|
|
|
4646
4649
|
}, reactIs_production_min.isSuspense = function(O) {
|
|
4647
4650
|
return C(O) === f;
|
|
4648
4651
|
}, reactIs_production_min.isValidElementType = function(O) {
|
|
4649
|
-
return typeof O == "string" || typeof O == "function" || O === r || O === u || O === a || O === o || O === f || O === p || typeof O == "object" && O !== null && (O.$$typeof === m || O.$$typeof === h || O.$$typeof === s || O.$$typeof === c || O.$$typeof === d || O.$$typeof === x || O.$$typeof ===
|
|
4652
|
+
return typeof O == "string" || typeof O == "function" || O === r || O === u || O === a || O === o || O === f || O === p || typeof O == "object" && O !== null && (O.$$typeof === m || O.$$typeof === h || O.$$typeof === s || O.$$typeof === c || O.$$typeof === d || O.$$typeof === x || O.$$typeof === g || O.$$typeof === I || O.$$typeof === v);
|
|
4650
4653
|
}, reactIs_production_min.typeOf = C, reactIs_production_min;
|
|
4651
4654
|
}
|
|
4652
4655
|
var reactIs_development = {};
|
|
@@ -4661,9 +4664,9 @@ var reactIs_development = {};
|
|
|
4661
4664
|
var hasRequiredReactIs_development;
|
|
4662
4665
|
function requireReactIs_development() {
|
|
4663
4666
|
return hasRequiredReactIs_development || (hasRequiredReactIs_development = 1, process.env.NODE_ENV !== "production" && function() {
|
|
4664
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117,
|
|
4667
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
|
|
4665
4668
|
function C(T) {
|
|
4666
|
-
return typeof T == "string" || typeof T == "function" || T === r || T === u || T === a || T === o || T === f || T === p || typeof T == "object" && T !== null && (T.$$typeof === m || T.$$typeof === h || T.$$typeof === s || T.$$typeof === c || T.$$typeof === d || T.$$typeof === x || T.$$typeof ===
|
|
4669
|
+
return typeof T == "string" || typeof T == "function" || T === r || T === u || T === a || T === o || T === f || T === p || typeof T == "object" && T !== null && (T.$$typeof === m || T.$$typeof === h || T.$$typeof === s || T.$$typeof === c || T.$$typeof === d || T.$$typeof === x || T.$$typeof === g || T.$$typeof === I || T.$$typeof === v);
|
|
4667
4670
|
}
|
|
4668
4671
|
function y(T) {
|
|
4669
4672
|
if (typeof T == "object" && T !== null) {
|
|
@@ -5281,7 +5284,7 @@ var ResizableTextArea = /* @__PURE__ */ function(e) {
|
|
|
5281
5284
|
}, o.renderTextArea = function() {
|
|
5282
5285
|
var a = o.props, s = a.prefixCls, c = s === void 0 ? "rc-textarea" : s, l = a.autoSize, u = a.onResize, d = a.className, f = a.disabled, p = o.state, h = p.textareaStyles, m = p.resizeStatus, v = omit$1(o.props, ["prefixCls", "onPressEnter", "autoSize", "defaultValue", "onResize"]), x = classnamesExports(c, d, _defineProperty$1({}, "".concat(c, "-disabled"), f));
|
|
5283
5286
|
"value" in v && (v.value = v.value || "");
|
|
5284
|
-
var
|
|
5287
|
+
var g = _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, o.props.style), h), m === RESIZE_STATUS.RESIZING ? {
|
|
5285
5288
|
overflowX: "hidden",
|
|
5286
5289
|
overflowY: "hidden"
|
|
5287
5290
|
} : null);
|
|
@@ -5291,7 +5294,7 @@ var ResizableTextArea = /* @__PURE__ */ function(e) {
|
|
|
5291
5294
|
children: /* @__PURE__ */ jsx("textarea", {
|
|
5292
5295
|
...v,
|
|
5293
5296
|
className: x,
|
|
5294
|
-
style:
|
|
5297
|
+
style: g,
|
|
5295
5298
|
ref: o.saveTextArea
|
|
5296
5299
|
})
|
|
5297
5300
|
});
|
|
@@ -5446,17 +5449,17 @@ function requireUseMergedState() {
|
|
|
5446
5449
|
return u !== void 0 ? u : l !== void 0 ? typeof l == "function" ? l() : l : typeof a == "function" ? a() : a;
|
|
5447
5450
|
}), h = (0, n.default)(p, 2), m = h[0], v = h[1], x = u !== void 0 ? u : m;
|
|
5448
5451
|
f && (x = f(x));
|
|
5449
|
-
function
|
|
5452
|
+
function g(C) {
|
|
5450
5453
|
v(C), x !== C && d && d(C, x);
|
|
5451
5454
|
}
|
|
5452
|
-
var
|
|
5455
|
+
var I = r.useRef(!0);
|
|
5453
5456
|
return r.useEffect(function() {
|
|
5454
|
-
if (
|
|
5455
|
-
|
|
5457
|
+
if (I.current) {
|
|
5458
|
+
I.current = !1;
|
|
5456
5459
|
return;
|
|
5457
5460
|
}
|
|
5458
5461
|
u === void 0 && v(u);
|
|
5459
|
-
}, [u]), [x,
|
|
5462
|
+
}, [u]), [x, g];
|
|
5460
5463
|
}
|
|
5461
5464
|
return useMergedState;
|
|
5462
5465
|
}
|
|
@@ -6183,8 +6186,8 @@ function requireDynamicCSS() {
|
|
|
6183
6186
|
}
|
|
6184
6187
|
var x = c(f, p);
|
|
6185
6188
|
if (x) {
|
|
6186
|
-
var
|
|
6187
|
-
if (((
|
|
6189
|
+
var g, I;
|
|
6190
|
+
if (((g = p.csp) === null || g === void 0 ? void 0 : g.nonce) && x.nonce !== ((I = p.csp) === null || I === void 0 ? void 0 : I.nonce)) {
|
|
6188
6191
|
var C;
|
|
6189
6192
|
x.nonce = (C = p.csp) === null || C === void 0 ? void 0 : C.nonce;
|
|
6190
6193
|
}
|
|
@@ -6205,16 +6208,16 @@ function requireUtils() {
|
|
|
6205
6208
|
value: !0
|
|
6206
6209
|
}), utils$1.warning = u, utils$1.isIconDefinition = d, utils$1.normalizeAttrs = f, utils$1.generate = p, utils$1.getSecondaryColor = h, utils$1.normalizeTwoToneColors = m, utils$1.useInsertStyles = utils$1.iconStyles = utils$1.svgBaseProps = void 0;
|
|
6207
6210
|
var n = t(requireObjectSpread2()), r = t(_typeof$2.exports), o = require$$4, a = e(React__default), s = t(requireWarning$1()), c = requireDynamicCSS(), l = t(requireContext$2());
|
|
6208
|
-
function u(
|
|
6209
|
-
(0, s.default)(
|
|
6211
|
+
function u(I, C) {
|
|
6212
|
+
(0, s.default)(I, "[@ant-design/icons] ".concat(C));
|
|
6210
6213
|
}
|
|
6211
|
-
function d(
|
|
6212
|
-
return (0, r.default)(
|
|
6214
|
+
function d(I) {
|
|
6215
|
+
return (0, r.default)(I) === "object" && typeof I.name == "string" && typeof I.theme == "string" && ((0, r.default)(I.icon) === "object" || typeof I.icon == "function");
|
|
6213
6216
|
}
|
|
6214
6217
|
function f() {
|
|
6215
|
-
var
|
|
6216
|
-
return Object.keys(
|
|
6217
|
-
var O =
|
|
6218
|
+
var I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6219
|
+
return Object.keys(I).reduce(function(C, y) {
|
|
6220
|
+
var O = I[y];
|
|
6218
6221
|
switch (y) {
|
|
6219
6222
|
case "class":
|
|
6220
6223
|
C.className = O, delete C.class;
|
|
@@ -6225,22 +6228,22 @@ function requireUtils() {
|
|
|
6225
6228
|
return C;
|
|
6226
6229
|
}, {});
|
|
6227
6230
|
}
|
|
6228
|
-
function p(
|
|
6229
|
-
return y ? /* @__PURE__ */ a.default.createElement(
|
|
6231
|
+
function p(I, C, y) {
|
|
6232
|
+
return y ? /* @__PURE__ */ a.default.createElement(I.tag, (0, n.default)((0, n.default)({
|
|
6230
6233
|
key: C
|
|
6231
|
-
}, f(
|
|
6232
|
-
return p(O, "".concat(C, "-").concat(
|
|
6233
|
-
})) : /* @__PURE__ */ a.default.createElement(
|
|
6234
|
+
}, f(I.attrs)), y), (I.children || []).map(function(O, b) {
|
|
6235
|
+
return p(O, "".concat(C, "-").concat(I.tag, "-").concat(b));
|
|
6236
|
+
})) : /* @__PURE__ */ a.default.createElement(I.tag, (0, n.default)({
|
|
6234
6237
|
key: C
|
|
6235
|
-
}, f(
|
|
6236
|
-
return p(O, "".concat(C, "-").concat(
|
|
6238
|
+
}, f(I.attrs)), (I.children || []).map(function(O, b) {
|
|
6239
|
+
return p(O, "".concat(C, "-").concat(I.tag, "-").concat(b));
|
|
6237
6240
|
}));
|
|
6238
6241
|
}
|
|
6239
|
-
function h(
|
|
6240
|
-
return (0, o.generate)(
|
|
6242
|
+
function h(I) {
|
|
6243
|
+
return (0, o.generate)(I)[0];
|
|
6241
6244
|
}
|
|
6242
|
-
function m(
|
|
6243
|
-
return
|
|
6245
|
+
function m(I) {
|
|
6246
|
+
return I ? Array.isArray(I) ? I : [I] : [];
|
|
6244
6247
|
}
|
|
6245
6248
|
var v = {
|
|
6246
6249
|
width: "1em",
|
|
@@ -6306,7 +6309,7 @@ function requireUtils() {
|
|
|
6306
6309
|
}
|
|
6307
6310
|
`;
|
|
6308
6311
|
utils$1.iconStyles = x;
|
|
6309
|
-
var
|
|
6312
|
+
var g = function() {
|
|
6310
6313
|
var C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : x, y = (0, a.useContext)(l.default), O = y.csp;
|
|
6311
6314
|
(0, a.useEffect)(function() {
|
|
6312
6315
|
(0, c.updateCSS)(C, "@ant-design-icons", {
|
|
@@ -6315,7 +6318,7 @@ function requireUtils() {
|
|
|
6315
6318
|
});
|
|
6316
6319
|
}, []);
|
|
6317
6320
|
};
|
|
6318
|
-
return utils$1.useInsertStyles =
|
|
6321
|
+
return utils$1.useInsertStyles = g, utils$1;
|
|
6319
6322
|
}
|
|
6320
6323
|
var hasRequiredIconBase;
|
|
6321
6324
|
function requireIconBase() {
|
|
@@ -6339,10 +6342,10 @@ function requireIconBase() {
|
|
|
6339
6342
|
return (0, n.default)({}, a);
|
|
6340
6343
|
}
|
|
6341
6344
|
var l = function(f) {
|
|
6342
|
-
var p = f.icon, h = f.className, m = f.onClick, v = f.style, x = f.primaryColor,
|
|
6345
|
+
var p = f.icon, h = f.className, m = f.onClick, v = f.style, x = f.primaryColor, g = f.secondaryColor, I = (0, t.default)(f, o), C = a;
|
|
6343
6346
|
if (x && (C = {
|
|
6344
6347
|
primaryColor: x,
|
|
6345
|
-
secondaryColor:
|
|
6348
|
+
secondaryColor: g || (0, r.getSecondaryColor)(x)
|
|
6346
6349
|
}), (0, r.useInsertStyles)(), (0, r.warning)((0, r.isIconDefinition)(p), "icon should be icon definiton, but got ".concat(p)), !(0, r.isIconDefinition)(p))
|
|
6347
6350
|
return null;
|
|
6348
6351
|
var y = p;
|
|
@@ -6357,7 +6360,7 @@ function requireIconBase() {
|
|
|
6357
6360
|
height: "1em",
|
|
6358
6361
|
fill: "currentColor",
|
|
6359
6362
|
"aria-hidden": "true"
|
|
6360
|
-
},
|
|
6363
|
+
}, I));
|
|
6361
6364
|
};
|
|
6362
6365
|
l.displayName = "IconReact", l.getTwoToneColors = c, l.setTwoToneColors = s;
|
|
6363
6366
|
var u = l;
|
|
@@ -6398,7 +6401,7 @@ function requireAntdIcon() {
|
|
|
6398
6401
|
var n = e(requireObjectSpread2()), r = e(requireSlicedToArray()), o = e(requireDefineProperty()), a = e(requireObjectWithoutProperties()), s = t(React__default), c = e(requireClassnames()), l = e(requireContext$2()), u = e(requireIconBase()), d = requireTwoTonePrimaryColor(), f = requireUtils(), p = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
|
|
6399
6402
|
(0, d.setTwoToneColor)("#1890ff");
|
|
6400
6403
|
var h = /* @__PURE__ */ s.forwardRef(function(v, x) {
|
|
6401
|
-
var
|
|
6404
|
+
var g, I = v.className, C = v.icon, y = v.spin, O = v.rotate, b = v.tabIndex, E = v.onClick, w = v.twoToneColor, _ = (0, a.default)(v, p), S = s.useContext(l.default), k = S.prefixCls, N = k === void 0 ? "anticon" : k, D = (0, c.default)(N, (g = {}, (0, o.default)(g, "".concat(N, "-").concat(C.name), !!C.name), (0, o.default)(g, "".concat(N, "-spin"), !!y || C.name === "loading"), g), I), M = b;
|
|
6402
6405
|
M === void 0 && E && (M = -1);
|
|
6403
6406
|
var L = O ? {
|
|
6404
6407
|
msTransform: "rotate(".concat(O, "deg)"),
|
|
@@ -6652,13 +6655,13 @@ function requireRegeneratorRuntime() {
|
|
|
6652
6655
|
}
|
|
6653
6656
|
function x() {
|
|
6654
6657
|
}
|
|
6655
|
-
var
|
|
6656
|
-
d(
|
|
6658
|
+
var g = {};
|
|
6659
|
+
d(g, c, function() {
|
|
6657
6660
|
return this;
|
|
6658
6661
|
});
|
|
6659
|
-
var
|
|
6660
|
-
C && C !== o && a.call(C, c) && (
|
|
6661
|
-
var y = x.prototype = m.prototype = Object.create(
|
|
6662
|
+
var I = Object.getPrototypeOf, C = I && I(I(k([])));
|
|
6663
|
+
C && C !== o && a.call(C, c) && (g = C);
|
|
6664
|
+
var y = x.prototype = m.prototype = Object.create(g);
|
|
6662
6665
|
function O(D) {
|
|
6663
6666
|
["next", "throw", "return"].forEach(function(M) {
|
|
6664
6667
|
d(D, M, function(L) {
|
|
@@ -7442,17 +7445,17 @@ Schema.prototype = {
|
|
|
7442
7445
|
if (typeof s == "function" && (c = s, s = {}), !this.rules || Object.keys(this.rules).length === 0)
|
|
7443
7446
|
return c && c(), Promise.resolve();
|
|
7444
7447
|
function l(v) {
|
|
7445
|
-
var x,
|
|
7448
|
+
var x, g = [], I = {};
|
|
7446
7449
|
function C(y) {
|
|
7447
7450
|
if (Array.isArray(y)) {
|
|
7448
7451
|
var O;
|
|
7449
|
-
|
|
7452
|
+
g = (O = g).concat.apply(O, y);
|
|
7450
7453
|
} else
|
|
7451
|
-
|
|
7454
|
+
g.push(y);
|
|
7452
7455
|
}
|
|
7453
7456
|
for (x = 0; x < v.length; x++)
|
|
7454
7457
|
C(v[x]);
|
|
7455
|
-
|
|
7458
|
+
g.length ? I = convertFieldsError(g) : (g = null, I = null), c(g, I);
|
|
7456
7459
|
}
|
|
7457
7460
|
if (s.messages) {
|
|
7458
7461
|
var u = this.messages();
|
|
@@ -7462,11 +7465,11 @@ Schema.prototype = {
|
|
|
7462
7465
|
var d, f, p = {}, h = s.keys || Object.keys(this.rules);
|
|
7463
7466
|
h.forEach(function(v) {
|
|
7464
7467
|
d = o.rules[v], f = a[v], d.forEach(function(x) {
|
|
7465
|
-
var
|
|
7466
|
-
typeof
|
|
7467
|
-
validator:
|
|
7468
|
-
} :
|
|
7469
|
-
rule:
|
|
7468
|
+
var g = x;
|
|
7469
|
+
typeof g.transform == "function" && (a === t && (a = _extends({}, a)), f = a[v] = g.transform(f)), typeof g == "function" ? g = {
|
|
7470
|
+
validator: g
|
|
7471
|
+
} : g = _extends({}, g), g.validator = o.getValidationMethod(g), g.field = v, g.fullField = g.fullField || v, g.type = o.getType(g), g.validator && (p[v] = p[v] || [], p[v].push({
|
|
7472
|
+
rule: g,
|
|
7470
7473
|
value: f,
|
|
7471
7474
|
source: a,
|
|
7472
7475
|
field: v
|
|
@@ -7475,27 +7478,27 @@ Schema.prototype = {
|
|
|
7475
7478
|
});
|
|
7476
7479
|
var m = {};
|
|
7477
7480
|
return asyncMap(p, s, function(v, x) {
|
|
7478
|
-
var
|
|
7479
|
-
|
|
7481
|
+
var g = v.rule, I = (g.type === "object" || g.type === "array") && (typeof g.fields == "object" || typeof g.defaultField == "object");
|
|
7482
|
+
I = I && (g.required || !g.required && v.value), g.field = v.field;
|
|
7480
7483
|
function C(b, E) {
|
|
7481
7484
|
return _extends(_extends({}, E), {}, {
|
|
7482
|
-
fullField:
|
|
7485
|
+
fullField: g.fullField + "." + b
|
|
7483
7486
|
});
|
|
7484
7487
|
}
|
|
7485
7488
|
function y(b) {
|
|
7486
7489
|
b === void 0 && (b = []);
|
|
7487
7490
|
var E = b;
|
|
7488
|
-
if (Array.isArray(E) || (E = [E]), !s.suppressWarning && E.length && Schema.warning("async-validator:", E), E.length &&
|
|
7489
|
-
return m[
|
|
7490
|
-
if (!
|
|
7491
|
+
if (Array.isArray(E) || (E = [E]), !s.suppressWarning && E.length && Schema.warning("async-validator:", E), E.length && g.message !== void 0 && (E = [].concat(g.message)), E = E.map(complementError(g)), s.first && E.length)
|
|
7492
|
+
return m[g.field] = 1, x(E);
|
|
7493
|
+
if (!I)
|
|
7491
7494
|
x(E);
|
|
7492
7495
|
else {
|
|
7493
|
-
if (
|
|
7494
|
-
return
|
|
7496
|
+
if (g.required && !v.value)
|
|
7497
|
+
return g.message !== void 0 ? E = [].concat(g.message).map(complementError(g)) : s.error && (E = [s.error(g, format$1(s.messages.required, g.field))]), x(E);
|
|
7495
7498
|
var w = {};
|
|
7496
|
-
if (
|
|
7499
|
+
if (g.defaultField)
|
|
7497
7500
|
for (var _ in v.value)
|
|
7498
|
-
v.value.hasOwnProperty(_) && (w[_] =
|
|
7501
|
+
v.value.hasOwnProperty(_) && (w[_] = g.defaultField);
|
|
7499
7502
|
w = _extends(_extends({}, w), v.rule.fields);
|
|
7500
7503
|
for (var S in w)
|
|
7501
7504
|
if (w.hasOwnProperty(S)) {
|
|
@@ -7510,7 +7513,7 @@ Schema.prototype = {
|
|
|
7510
7513
|
}
|
|
7511
7514
|
}
|
|
7512
7515
|
var O;
|
|
7513
|
-
|
|
7516
|
+
g.asyncValidator ? O = g.asyncValidator(g, v.value, y, v.source, s) : g.validator && (O = g.validator(g, v.value, y, v.source, s), O === !0 ? y() : O === !1 ? y(g.message || g.field + " fails") : O instanceof Array ? y(O) : O instanceof Error && y(O.message)), O && O.then && O.then(function() {
|
|
7514
7517
|
return y();
|
|
7515
7518
|
}, function(b) {
|
|
7516
7519
|
return y(b);
|
|
@@ -7774,14 +7777,14 @@ function validateRules(e, t, n, r, o, a) {
|
|
|
7774
7777
|
var f = d.validator;
|
|
7775
7778
|
return f ? _objectSpread2$1(_objectSpread2$1({}, d), {}, {
|
|
7776
7779
|
validator: function(h, m, v) {
|
|
7777
|
-
var x = !1,
|
|
7780
|
+
var x = !1, g = function() {
|
|
7778
7781
|
for (var y = arguments.length, O = new Array(y), b = 0; b < y; b++)
|
|
7779
7782
|
O[b] = arguments[b];
|
|
7780
7783
|
Promise.resolve().then(function() {
|
|
7781
7784
|
warningOnce(!x, "Your validator function has already return a promise. `callback` will be ignored."), x || v.apply(void 0, O);
|
|
7782
7785
|
});
|
|
7783
|
-
},
|
|
7784
|
-
x =
|
|
7786
|
+
}, I = f(h, m, g);
|
|
7787
|
+
x = I && typeof I.then == "function" && typeof I.catch == "function", warningOnce(x, "`callback` is deprecated. Please return a promise instead."), x && I.then(function() {
|
|
7785
7788
|
v();
|
|
7786
7789
|
}).catch(function(C) {
|
|
7787
7790
|
v(C || " ");
|
|
@@ -7793,31 +7796,31 @@ function validateRules(e, t, n, r, o, a) {
|
|
|
7793
7796
|
l = new Promise(/* @__PURE__ */ function() {
|
|
7794
7797
|
var d = _asyncToGenerator(/* @__PURE__ */ regeneratorExports.mark(function f(p, h) {
|
|
7795
7798
|
var m, v;
|
|
7796
|
-
return regeneratorExports.wrap(function(
|
|
7799
|
+
return regeneratorExports.wrap(function(g) {
|
|
7797
7800
|
for (; ; )
|
|
7798
|
-
switch (
|
|
7801
|
+
switch (g.prev = g.next) {
|
|
7799
7802
|
case 0:
|
|
7800
7803
|
m = 0;
|
|
7801
7804
|
case 1:
|
|
7802
7805
|
if (!(m < c.length)) {
|
|
7803
|
-
|
|
7806
|
+
g.next = 11;
|
|
7804
7807
|
break;
|
|
7805
7808
|
}
|
|
7806
|
-
return
|
|
7809
|
+
return g.next = 4, validateRule(s, t, c[m], r, a);
|
|
7807
7810
|
case 4:
|
|
7808
|
-
if (v =
|
|
7809
|
-
|
|
7811
|
+
if (v = g.sent, !v.length) {
|
|
7812
|
+
g.next = 8;
|
|
7810
7813
|
break;
|
|
7811
7814
|
}
|
|
7812
|
-
return h(v),
|
|
7815
|
+
return h(v), g.abrupt("return");
|
|
7813
7816
|
case 8:
|
|
7814
|
-
m += 1,
|
|
7817
|
+
m += 1, g.next = 1;
|
|
7815
7818
|
break;
|
|
7816
7819
|
case 11:
|
|
7817
7820
|
p([]);
|
|
7818
7821
|
case 12:
|
|
7819
7822
|
case "end":
|
|
7820
|
-
return
|
|
7823
|
+
return g.stop();
|
|
7821
7824
|
}
|
|
7822
7825
|
}, f);
|
|
7823
7826
|
}));
|
|
@@ -7912,8 +7915,8 @@ var Field = /* @__PURE__ */ function(e) {
|
|
|
7912
7915
|
};
|
|
7913
7916
|
});
|
|
7914
7917
|
}, o.onStoreChange = function(l, u, d) {
|
|
7915
|
-
var f = o.props, p = f.shouldUpdate, h = f.dependencies, m = h === void 0 ? [] : h, v = f.onReset, x = d.store,
|
|
7916
|
-
switch (d.type === "valueUpdate" && d.source === "external" &&
|
|
7918
|
+
var f = o.props, p = f.shouldUpdate, h = f.dependencies, m = h === void 0 ? [] : h, v = f.onReset, x = d.store, g = o.getNamePath(), I = o.getValue(l), C = o.getValue(x), y = u && containsNamePath(u, g);
|
|
7919
|
+
switch (d.type === "valueUpdate" && d.source === "external" && I !== C && (o.touched = !0, o.dirty = !0, o.validatePromise = null, o.errors = []), d.type) {
|
|
7917
7920
|
case "reset":
|
|
7918
7921
|
if (!u || y) {
|
|
7919
7922
|
o.touched = !1, o.dirty = !1, o.validatePromise = null, o.errors = [], v && v(), o.refresh();
|
|
@@ -7926,7 +7929,7 @@ var Field = /* @__PURE__ */ function(e) {
|
|
|
7926
7929
|
"touched" in O && (o.touched = O.touched), "validating" in O && !("originRCField" in O) && (o.validatePromise = O.validating ? Promise.resolve([]) : null), "errors" in O && (o.errors = O.errors || []), o.dirty = !0, o.reRender();
|
|
7927
7930
|
return;
|
|
7928
7931
|
}
|
|
7929
|
-
if (p && !
|
|
7932
|
+
if (p && !g.length && requireUpdate(p, l, x, I, C, d)) {
|
|
7930
7933
|
o.reRender();
|
|
7931
7934
|
return;
|
|
7932
7935
|
}
|
|
@@ -7943,7 +7946,7 @@ var Field = /* @__PURE__ */ function(e) {
|
|
|
7943
7946
|
break;
|
|
7944
7947
|
}
|
|
7945
7948
|
default:
|
|
7946
|
-
if (y || (!m.length ||
|
|
7949
|
+
if (y || (!m.length || g.length || p) && requireUpdate(p, l, x, I, C, d)) {
|
|
7947
7950
|
o.reRender();
|
|
7948
7951
|
return;
|
|
7949
7952
|
}
|
|
@@ -7954,15 +7957,15 @@ var Field = /* @__PURE__ */ function(e) {
|
|
|
7954
7957
|
var u = o.getNamePath(), d = o.getValue(), f = Promise.resolve().then(function() {
|
|
7955
7958
|
if (!o.mounted)
|
|
7956
7959
|
return [];
|
|
7957
|
-
var p = o.props, h = p.validateFirst, m = h === void 0 ? !1 : h, v = p.messageVariables, x = l || {},
|
|
7958
|
-
|
|
7960
|
+
var p = o.props, h = p.validateFirst, m = h === void 0 ? !1 : h, v = p.messageVariables, x = l || {}, g = x.triggerName, I = o.getRules();
|
|
7961
|
+
g && (I = I.filter(function(y) {
|
|
7959
7962
|
var O = y.validateTrigger;
|
|
7960
7963
|
if (!O)
|
|
7961
7964
|
return !0;
|
|
7962
7965
|
var b = toArray$2(O);
|
|
7963
|
-
return b.includes(
|
|
7966
|
+
return b.includes(g);
|
|
7964
7967
|
}));
|
|
7965
|
-
var C = validateRules(u, d,
|
|
7968
|
+
var C = validateRules(u, d, I, l, m, v);
|
|
7966
7969
|
return C.catch(function(y) {
|
|
7967
7970
|
return y;
|
|
7968
7971
|
}).then(function() {
|
|
@@ -8013,7 +8016,7 @@ var Field = /* @__PURE__ */ function(e) {
|
|
|
8013
8016
|
var u = o.props.fieldContext.getFieldsValue, d = o.getNamePath();
|
|
8014
8017
|
return getValue(l || u(!0), d);
|
|
8015
8018
|
}, o.getControlled = function() {
|
|
8016
|
-
var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = o.props, d = u.trigger, f = u.validateTrigger, p = u.getValueFromEvent, h = u.normalize, m = u.valuePropName, v = u.getValueProps, x = u.fieldContext,
|
|
8019
|
+
var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = o.props, d = u.trigger, f = u.validateTrigger, p = u.getValueFromEvent, h = u.normalize, m = u.valuePropName, v = u.getValueProps, x = u.fieldContext, g = f !== void 0 ? f : x.validateTrigger, I = o.getNamePath(), C = x.getInternalHooks, y = x.getFieldsValue, O = C(HOOK_MARK), b = O.dispatch, E = o.getValue(), w = v || function(N) {
|
|
8017
8020
|
return _defineProperty$1({}, m, N);
|
|
8018
8021
|
}, _ = l[d], S = _objectSpread2$1(_objectSpread2$1({}, l), w(E));
|
|
8019
8022
|
S[d] = function() {
|
|
@@ -8022,11 +8025,11 @@ var Field = /* @__PURE__ */ function(e) {
|
|
|
8022
8025
|
M[L] = arguments[L];
|
|
8023
8026
|
p ? N = p.apply(void 0, M) : N = defaultGetValueFromEvent.apply(void 0, [m].concat(M)), h && (N = h(N, E, y(!0))), b({
|
|
8024
8027
|
type: "updateValue",
|
|
8025
|
-
namePath:
|
|
8028
|
+
namePath: I,
|
|
8026
8029
|
value: N
|
|
8027
8030
|
}), _ && _.apply(void 0, M);
|
|
8028
8031
|
};
|
|
8029
|
-
var k = toArray$2(
|
|
8032
|
+
var k = toArray$2(g || []);
|
|
8030
8033
|
return k.forEach(function(N) {
|
|
8031
8034
|
var D = S[N];
|
|
8032
8035
|
S[N] = function() {
|
|
@@ -8034,7 +8037,7 @@ var Field = /* @__PURE__ */ function(e) {
|
|
|
8034
8037
|
var M = o.props.rules;
|
|
8035
8038
|
M && M.length && b({
|
|
8036
8039
|
type: "validateField",
|
|
8037
|
-
namePath:
|
|
8040
|
+
namePath: I,
|
|
8038
8041
|
triggerName: N
|
|
8039
8042
|
});
|
|
8040
8043
|
};
|
|
@@ -8097,8 +8100,8 @@ var List = function(t) {
|
|
|
8097
8100
|
if (typeof o != "function")
|
|
8098
8101
|
return warningOnce(!1, "Form.List only accepts function as children."), null;
|
|
8099
8102
|
var d = getNamePath(c.prefixName) || [], f = [].concat(_toConsumableArray(d), _toConsumableArray(getNamePath(n))), p = function(m, v, x) {
|
|
8100
|
-
var
|
|
8101
|
-
return
|
|
8103
|
+
var g = x.source;
|
|
8104
|
+
return g === "internal" ? !1 : m !== v;
|
|
8102
8105
|
};
|
|
8103
8106
|
return /* @__PURE__ */ jsx(Context.Provider, {
|
|
8104
8107
|
value: _objectSpread2$1(_objectSpread2$1({}, c), {}, {
|
|
@@ -8112,26 +8115,26 @@ var List = function(t) {
|
|
|
8112
8115
|
initialValue: r,
|
|
8113
8116
|
isList: !0,
|
|
8114
8117
|
children: function(h, m) {
|
|
8115
|
-
var v = h.value, x = v === void 0 ? [] : v,
|
|
8116
|
-
var E =
|
|
8118
|
+
var v = h.value, x = v === void 0 ? [] : v, g = h.onChange, I = c.getFieldValue, C = function() {
|
|
8119
|
+
var E = I(f || []);
|
|
8117
8120
|
return E || [];
|
|
8118
8121
|
}, y = {
|
|
8119
8122
|
add: function(E, w) {
|
|
8120
8123
|
var _ = C();
|
|
8121
|
-
w >= 0 && w <= _.length ? (u.keys = [].concat(_toConsumableArray(u.keys.slice(0, w)), [u.id], _toConsumableArray(u.keys.slice(w))),
|
|
8124
|
+
w >= 0 && w <= _.length ? (u.keys = [].concat(_toConsumableArray(u.keys.slice(0, w)), [u.id], _toConsumableArray(u.keys.slice(w))), g([].concat(_toConsumableArray(_.slice(0, w)), [E], _toConsumableArray(_.slice(w))))) : (process.env.NODE_ENV !== "production" && (w < 0 || w > _.length) && warningOnce(!1, "The second parameter of the add function should be a valid positive number."), u.keys = [].concat(_toConsumableArray(u.keys), [u.id]), g([].concat(_toConsumableArray(_), [E]))), u.id += 1;
|
|
8122
8125
|
},
|
|
8123
8126
|
remove: function(E) {
|
|
8124
8127
|
var w = C(), _ = new Set(Array.isArray(E) ? E : [E]);
|
|
8125
8128
|
_.size <= 0 || (u.keys = u.keys.filter(function(S, k) {
|
|
8126
8129
|
return !_.has(k);
|
|
8127
|
-
}),
|
|
8130
|
+
}), g(w.filter(function(S, k) {
|
|
8128
8131
|
return !_.has(k);
|
|
8129
8132
|
})));
|
|
8130
8133
|
},
|
|
8131
8134
|
move: function(E, w) {
|
|
8132
8135
|
if (E !== w) {
|
|
8133
8136
|
var _ = C();
|
|
8134
|
-
E < 0 || E >= _.length || w < 0 || w >= _.length || (u.keys = move(u.keys, E, w),
|
|
8137
|
+
E < 0 || E >= _.length || w < 0 || w >= _.length || (u.keys = move(u.keys, E, w), g(move(_, E, w)));
|
|
8135
8138
|
}
|
|
8136
8139
|
}
|
|
8137
8140
|
}, O = x || [];
|
|
@@ -8355,11 +8358,11 @@ var NameMap = /* @__PURE__ */ function() {
|
|
|
8355
8358
|
p.set(v, []);
|
|
8356
8359
|
}), d.forEach(function(v) {
|
|
8357
8360
|
var x = v.getNamePath();
|
|
8358
|
-
l.forEach(function(
|
|
8359
|
-
|
|
8360
|
-
return x[C] ===
|
|
8361
|
-
}) && p.update(
|
|
8362
|
-
return [].concat(_toConsumableArray(
|
|
8361
|
+
l.forEach(function(g) {
|
|
8362
|
+
g.every(function(I, C) {
|
|
8363
|
+
return x[C] === I;
|
|
8364
|
+
}) && p.update(g, function(I) {
|
|
8365
|
+
return [].concat(_toConsumableArray(I), [v]);
|
|
8363
8366
|
});
|
|
8364
8367
|
});
|
|
8365
8368
|
});
|
|
@@ -8710,7 +8713,7 @@ var FormContext = /* @__PURE__ */ React.createContext({
|
|
|
8710
8713
|
children: a
|
|
8711
8714
|
});
|
|
8712
8715
|
}, Form$2 = function(t, n) {
|
|
8713
|
-
var r = t.name, o = t.initialValues, a = t.fields, s = t.form, c = t.preserve, l = t.children, u = t.component, d = u === void 0 ? "form" : u, f = t.validateMessages, p = t.validateTrigger, h = p === void 0 ? "onChange" : p, m = t.onValuesChange, v = t.onFieldsChange, x = t.onFinish,
|
|
8716
|
+
var r = t.name, o = t.initialValues, a = t.fields, s = t.form, c = t.preserve, l = t.children, u = t.component, d = u === void 0 ? "form" : u, f = t.validateMessages, p = t.validateTrigger, h = p === void 0 ? "onChange" : p, m = t.onValuesChange, v = t.onFieldsChange, x = t.onFinish, g = t.onFinishFailed, I = _objectWithoutProperties(t, ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"]), C = React.useContext(FormContext), y = useForm(s), O = _slicedToArray(y, 1), b = O[0], E = b.getInternalHooks(HOOK_MARK), w = E.useSubscribe, _ = E.setInitialValues, S = E.setCallbacks, k = E.setValidateMessages, N = E.setPreserve;
|
|
8714
8717
|
React.useImperativeHandle(n, function() {
|
|
8715
8718
|
return b;
|
|
8716
8719
|
}), React.useEffect(function() {
|
|
@@ -8729,7 +8732,7 @@ var FormContext = /* @__PURE__ */ React.createContext({
|
|
|
8729
8732
|
onFinish: function(z) {
|
|
8730
8733
|
C.triggerFormFinish(r, z), x && x(z);
|
|
8731
8734
|
},
|
|
8732
|
-
onFinishFailed:
|
|
8735
|
+
onFinishFailed: g
|
|
8733
8736
|
}), N(c);
|
|
8734
8737
|
var D = React.useRef(null);
|
|
8735
8738
|
_(o, !D.current), D.current || (D.current = !0);
|
|
@@ -8752,7 +8755,7 @@ var FormContext = /* @__PURE__ */ React.createContext({
|
|
|
8752
8755
|
children: M
|
|
8753
8756
|
});
|
|
8754
8757
|
return d === !1 ? U : /* @__PURE__ */ jsx(d, {
|
|
8755
|
-
...
|
|
8758
|
+
...I,
|
|
8756
8759
|
onSubmit: function(z) {
|
|
8757
8760
|
z.preventDefault(), z.stopPropagation(), b.submit();
|
|
8758
8761
|
},
|
|
@@ -9114,15 +9117,15 @@ function requireLocaleProvider() {
|
|
|
9114
9117
|
var h = /* @__PURE__ */ function(m) {
|
|
9115
9118
|
(0, s.default)(x, m);
|
|
9116
9119
|
var v = (0, c.default)(x);
|
|
9117
|
-
function x(
|
|
9118
|
-
var
|
|
9119
|
-
return (0, o.default)(this, x),
|
|
9120
|
+
function x(g) {
|
|
9121
|
+
var I;
|
|
9122
|
+
return (0, o.default)(this, x), I = v.call(this, g), (0, d.changeConfirmLocale)(g.locale && g.locale.Modal), (0, u.default)(g._ANT_MARK__ === p, "LocaleProvider", "`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"), I;
|
|
9120
9123
|
}
|
|
9121
9124
|
return (0, a.default)(x, [{
|
|
9122
9125
|
key: "componentDidUpdate",
|
|
9123
|
-
value: function(
|
|
9126
|
+
value: function(I) {
|
|
9124
9127
|
var C = this.props.locale;
|
|
9125
|
-
|
|
9128
|
+
I.locale !== C && (0, d.changeConfirmLocale)(C && C.Modal);
|
|
9126
9129
|
}
|
|
9127
9130
|
}, {
|
|
9128
9131
|
key: "componentWillUnmount",
|
|
@@ -9132,7 +9135,7 @@ function requireLocaleProvider() {
|
|
|
9132
9135
|
}, {
|
|
9133
9136
|
key: "render",
|
|
9134
9137
|
value: function() {
|
|
9135
|
-
var
|
|
9138
|
+
var I = this.props, C = I.locale, y = I.children;
|
|
9136
9139
|
return /* @__PURE__ */ l.createElement(f.default.Provider, {
|
|
9137
9140
|
value: (0, r.default)((0, r.default)({}, C), {
|
|
9138
9141
|
exist: !0
|
|
@@ -9173,14 +9176,14 @@ function requireLocaleReceiver() {
|
|
|
9173
9176
|
return (0, a.default)(v, [{
|
|
9174
9177
|
key: "getLocale",
|
|
9175
9178
|
value: function() {
|
|
9176
|
-
var
|
|
9179
|
+
var g = this.props, I = g.componentName, C = g.defaultLocale, y = C || u.default[I || "global"], O = this.context, b = I && O ? O[I] : {};
|
|
9177
9180
|
return (0, r.default)((0, r.default)({}, typeof y == "function" ? y() : y), b || {});
|
|
9178
9181
|
}
|
|
9179
9182
|
}, {
|
|
9180
9183
|
key: "getLocaleCode",
|
|
9181
9184
|
value: function() {
|
|
9182
|
-
var
|
|
9183
|
-
return
|
|
9185
|
+
var g = this.context, I = g && g.locale;
|
|
9186
|
+
return g && g.exist && !I ? u.default.locale : I;
|
|
9184
9187
|
}
|
|
9185
9188
|
}, {
|
|
9186
9189
|
key: "render",
|
|
@@ -9194,8 +9197,8 @@ function requireLocaleReceiver() {
|
|
|
9194
9197
|
}, f.contextType = d.default;
|
|
9195
9198
|
function p(h, m) {
|
|
9196
9199
|
var v = l.useContext(d.default), x = l.useMemo(function() {
|
|
9197
|
-
var
|
|
9198
|
-
return (0, r.default)((0, r.default)({}, typeof
|
|
9200
|
+
var g = m || u.default[h || "global"], I = h && v ? v[h] : {};
|
|
9201
|
+
return (0, r.default)((0, r.default)({}, typeof g == "function" ? g() : g), I || {});
|
|
9199
9202
|
}, [h, m, v]);
|
|
9200
9203
|
return [x];
|
|
9201
9204
|
}
|
|
@@ -9303,16 +9306,16 @@ function requireEmpty() {
|
|
|
9303
9306
|
Object.defineProperty(e, "__esModule", {
|
|
9304
9307
|
value: !0
|
|
9305
9308
|
}), e.default = void 0;
|
|
9306
|
-
var r = n(require_extends()), o = n(requireDefineProperty()), a = t(React__default), s = n(requireClassnames()), c = requireConfigProvider(), l = n(requireLocaleReceiver()), u = n(requireEmpty$1()), d = n(requireSimple()), f = function(x,
|
|
9307
|
-
var
|
|
9309
|
+
var r = n(require_extends()), o = n(requireDefineProperty()), a = t(React__default), s = n(requireClassnames()), c = requireConfigProvider(), l = n(requireLocaleReceiver()), u = n(requireEmpty$1()), d = n(requireSimple()), f = function(x, g) {
|
|
9310
|
+
var I = {};
|
|
9308
9311
|
for (var C in x)
|
|
9309
|
-
Object.prototype.hasOwnProperty.call(x, C) &&
|
|
9312
|
+
Object.prototype.hasOwnProperty.call(x, C) && g.indexOf(C) < 0 && (I[C] = x[C]);
|
|
9310
9313
|
if (x != null && typeof Object.getOwnPropertySymbols == "function")
|
|
9311
9314
|
for (var y = 0, C = Object.getOwnPropertySymbols(x); y < C.length; y++)
|
|
9312
|
-
|
|
9313
|
-
return
|
|
9314
|
-
}, p = /* @__PURE__ */ a.createElement(u.default, null), h = /* @__PURE__ */ a.createElement(d.default, null), m = function(
|
|
9315
|
-
var
|
|
9315
|
+
g.indexOf(C[y]) < 0 && Object.prototype.propertyIsEnumerable.call(x, C[y]) && (I[C[y]] = x[C[y]]);
|
|
9316
|
+
return I;
|
|
9317
|
+
}, p = /* @__PURE__ */ a.createElement(u.default, null), h = /* @__PURE__ */ a.createElement(d.default, null), m = function(g) {
|
|
9318
|
+
var I = g.className, C = g.prefixCls, y = g.image, O = y === void 0 ? p : y, b = g.description, E = g.children, w = g.imageStyle, _ = f(g, ["className", "prefixCls", "image", "description", "children", "imageStyle"]), S = a.useContext(c.ConfigContext), k = S.getPrefixCls, N = S.direction;
|
|
9316
9319
|
return /* @__PURE__ */ a.createElement(l.default, {
|
|
9317
9320
|
componentName: "Empty"
|
|
9318
9321
|
}, function(D) {
|
|
@@ -9321,7 +9324,7 @@ function requireEmpty() {
|
|
|
9321
9324
|
alt: $,
|
|
9322
9325
|
src: O
|
|
9323
9326
|
}) : B = O, /* @__PURE__ */ a.createElement("div", (0, r.default)({
|
|
9324
|
-
className: (0, s.default)(L, (M = {}, (0, o.default)(M, "".concat(L, "-normal"), O === h), (0, o.default)(M, "".concat(L, "-rtl"), N === "rtl"), M),
|
|
9327
|
+
className: (0, s.default)(L, (M = {}, (0, o.default)(M, "".concat(L, "-normal"), O === h), (0, o.default)(M, "".concat(L, "-rtl"), N === "rtl"), M), I)
|
|
9325
9328
|
}, _), /* @__PURE__ */ a.createElement("div", {
|
|
9326
9329
|
className: "".concat(L, "-image"),
|
|
9327
9330
|
style: w
|
|
@@ -9391,9 +9394,9 @@ function requireContext() {
|
|
|
9391
9394
|
function l(u) {
|
|
9392
9395
|
return function(f) {
|
|
9393
9396
|
var p = function(x) {
|
|
9394
|
-
return /* @__PURE__ */ r.createElement(c, null, function(
|
|
9395
|
-
var
|
|
9396
|
-
return /* @__PURE__ */ r.createElement(f, (0, n.default)({},
|
|
9397
|
+
return /* @__PURE__ */ r.createElement(c, null, function(g) {
|
|
9398
|
+
var I = u.prefixCls, C = g.getPrefixCls, y = x.prefixCls, O = C(I, y);
|
|
9399
|
+
return /* @__PURE__ */ r.createElement(f, (0, n.default)({}, g, x, {
|
|
9397
9400
|
prefixCls: O
|
|
9398
9401
|
}));
|
|
9399
9402
|
});
|
|
@@ -9560,7 +9563,7 @@ const useStepQueue = function(e, t) {
|
|
|
9560
9563
|
}, []), [a, o];
|
|
9561
9564
|
};
|
|
9562
9565
|
function useStatus(e, t, n, r) {
|
|
9563
|
-
var o = r.motionEnter, a = o === void 0 ? !0 : o, s = r.motionAppear, c = s === void 0 ? !0 : s, l = r.motionLeave, u = l === void 0 ? !0 : l, d = r.motionDeadline, f = r.motionLeaveImmediately, p = r.onAppearPrepare, h = r.onEnterPrepare, m = r.onLeavePrepare, v = r.onAppearStart, x = r.onEnterStart,
|
|
9566
|
+
var o = r.motionEnter, a = o === void 0 ? !0 : o, s = r.motionAppear, c = s === void 0 ? !0 : s, l = r.motionLeave, u = l === void 0 ? !0 : l, d = r.motionDeadline, f = r.motionLeaveImmediately, p = r.onAppearPrepare, h = r.onEnterPrepare, m = r.onLeavePrepare, v = r.onAppearStart, x = r.onEnterStart, g = r.onLeaveStart, I = r.onAppearActive, C = r.onEnterActive, y = r.onLeaveActive, O = r.onAppearEnd, b = r.onEnterEnd, E = r.onLeaveEnd, w = r.onVisibleChanged, _ = useMountStatus(), S = _slicedToArray(_, 2), k = S[0], N = S[1], D = useMountStatus(STATUS_NONE), M = _slicedToArray(D, 2), L = M[0], q = M[1], $ = useMountStatus(null), B = _slicedToArray($, 2), U = B[0], G = B[1], z = useRef(!1), W = useRef(null), Z = useRef(!1), V = useRef(null);
|
|
9564
9567
|
function H() {
|
|
9565
9568
|
var oe = n();
|
|
9566
9569
|
return oe || V.current;
|
|
@@ -9577,11 +9580,11 @@ function useStatus(e, t, n, r) {
|
|
|
9577
9580
|
var oe, le, ae;
|
|
9578
9581
|
switch (L) {
|
|
9579
9582
|
case "appear":
|
|
9580
|
-
return oe = {}, _defineProperty$1(oe, STEP_PREPARE, p), _defineProperty$1(oe, STEP_START, v), _defineProperty$1(oe, STEP_ACTIVE,
|
|
9583
|
+
return oe = {}, _defineProperty$1(oe, STEP_PREPARE, p), _defineProperty$1(oe, STEP_START, v), _defineProperty$1(oe, STEP_ACTIVE, I), oe;
|
|
9581
9584
|
case "enter":
|
|
9582
9585
|
return le = {}, _defineProperty$1(le, STEP_PREPARE, h), _defineProperty$1(le, STEP_START, x), _defineProperty$1(le, STEP_ACTIVE, C), le;
|
|
9583
9586
|
case "leave":
|
|
9584
|
-
return ae = {}, _defineProperty$1(ae, STEP_PREPARE, m), _defineProperty$1(ae, STEP_START,
|
|
9587
|
+
return ae = {}, _defineProperty$1(ae, STEP_PREPARE, m), _defineProperty$1(ae, STEP_START, g), _defineProperty$1(ae, STEP_ACTIVE, y), ae;
|
|
9585
9588
|
default:
|
|
9586
9589
|
return {};
|
|
9587
9590
|
}
|
|
@@ -9641,15 +9644,15 @@ function genCSSMotion(e) {
|
|
|
9641
9644
|
return !!(o.motionName && t);
|
|
9642
9645
|
}
|
|
9643
9646
|
var r = /* @__PURE__ */ React.forwardRef(function(o, a) {
|
|
9644
|
-
var s = o.visible, c = s === void 0 ? !0 : s, l = o.removeOnLeave, u = l === void 0 ? !0 : l, d = o.forceRender, f = o.children, p = o.motionName, h = o.leavedClassName, m = o.eventProps, v = n(o), x = useRef(),
|
|
9645
|
-
function
|
|
9647
|
+
var s = o.visible, c = s === void 0 ? !0 : s, l = o.removeOnLeave, u = l === void 0 ? !0 : l, d = o.forceRender, f = o.children, p = o.motionName, h = o.leavedClassName, m = o.eventProps, v = n(o), x = useRef(), g = useRef();
|
|
9648
|
+
function I() {
|
|
9646
9649
|
try {
|
|
9647
|
-
return findDOMNode(x.current ||
|
|
9650
|
+
return findDOMNode(x.current || g.current);
|
|
9648
9651
|
} catch {
|
|
9649
9652
|
return null;
|
|
9650
9653
|
}
|
|
9651
9654
|
}
|
|
9652
|
-
var C = useStatus(v, c,
|
|
9655
|
+
var C = useStatus(v, c, I, o), y = _slicedToArray(C, 4), O = y[0], b = y[1], E = y[2], w = y[3], _ = useRef(a);
|
|
9653
9656
|
_.current = a;
|
|
9654
9657
|
var S = React.useCallback(function(L) {
|
|
9655
9658
|
x.current = L, fillRef(_.current, L);
|
|
@@ -9674,7 +9677,7 @@ function genCSSMotion(e) {
|
|
|
9674
9677
|
}), S);
|
|
9675
9678
|
}
|
|
9676
9679
|
return /* @__PURE__ */ jsx(DomWrapper, {
|
|
9677
|
-
ref:
|
|
9680
|
+
ref: g,
|
|
9678
9681
|
children: k
|
|
9679
9682
|
});
|
|
9680
9683
|
});
|
|
@@ -9766,16 +9769,16 @@ function genCSSMotionList(e) {
|
|
|
9766
9769
|
}), delete h.keys, /* @__PURE__ */ jsx(m, {
|
|
9767
9770
|
...Object.assign({}, h),
|
|
9768
9771
|
children: l.map(function(x) {
|
|
9769
|
-
var
|
|
9772
|
+
var g = x.status, I = _objectWithoutProperties(x, ["status"]), C = g === STATUS_ADD || g === STATUS_KEEP;
|
|
9770
9773
|
return /* @__PURE__ */ jsx(t, {
|
|
9771
9774
|
...Object.assign({}, v, {
|
|
9772
|
-
key:
|
|
9775
|
+
key: I.key,
|
|
9773
9776
|
visible: C,
|
|
9774
|
-
eventProps:
|
|
9777
|
+
eventProps: I,
|
|
9775
9778
|
onVisibleChanged: function(O) {
|
|
9776
9779
|
p == null || p(O, {
|
|
9777
|
-
key:
|
|
9778
|
-
}), O || c.removeKey(
|
|
9780
|
+
key: I.key
|
|
9781
|
+
}), O || c.removeKey(I.key);
|
|
9779
9782
|
}
|
|
9780
9783
|
}),
|
|
9781
9784
|
children: f
|
|
@@ -9844,8 +9847,8 @@ var Notice$1 = /* @__PURE__ */ function(e) {
|
|
|
9844
9847
|
}, {
|
|
9845
9848
|
key: "render",
|
|
9846
9849
|
value: function() {
|
|
9847
|
-
var o = this, a = this.props, s = a.prefixCls, c = a.className, l = a.closable, u = a.closeIcon, d = a.style, f = a.onClick, p = a.children, h = a.holder, m = "".concat(s, "-notice"), v = Object.keys(this.props).reduce(function(
|
|
9848
|
-
return (
|
|
9850
|
+
var o = this, a = this.props, s = a.prefixCls, c = a.className, l = a.closable, u = a.closeIcon, d = a.style, f = a.onClick, p = a.children, h = a.holder, m = "".concat(s, "-notice"), v = Object.keys(this.props).reduce(function(g, I) {
|
|
9851
|
+
return (I.substr(0, 5) === "data-" || I.substr(0, 5) === "aria-" || I === "role") && (g[I] = o.props[I]), g;
|
|
9849
9852
|
}, {}), x = /* @__PURE__ */ jsxs("div", {
|
|
9850
9853
|
...Object.assign({
|
|
9851
9854
|
className: classnamesExports(m, c, _defineProperty$1({}, "".concat(m, "-closable"), l)),
|
|
@@ -9949,12 +9952,12 @@ var Notification = /* @__PURE__ */ function(e) {
|
|
|
9949
9952
|
value: function() {
|
|
9950
9953
|
var o = this, a = this.state.notices, s = this.props, c = s.prefixCls, l = s.className, u = s.closeIcon, d = s.style, f = [];
|
|
9951
9954
|
return a.forEach(function(p, h) {
|
|
9952
|
-
var m = p.notice, v = p.holderCallback, x = h === a.length - 1 ? m.updateMark : void 0,
|
|
9955
|
+
var m = p.notice, v = p.holderCallback, x = h === a.length - 1 ? m.updateMark : void 0, g = m.key, I = m.userPassKey, C = _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({
|
|
9953
9956
|
prefixCls: c,
|
|
9954
9957
|
closeIcon: u
|
|
9955
9958
|
}, m), m.props), {}, {
|
|
9956
|
-
key:
|
|
9957
|
-
noticeKey:
|
|
9959
|
+
key: g,
|
|
9960
|
+
noticeKey: I || g,
|
|
9958
9961
|
updateMark: x,
|
|
9959
9962
|
onClose: function(O) {
|
|
9960
9963
|
var b;
|
|
@@ -9963,7 +9966,7 @@ var Notification = /* @__PURE__ */ function(e) {
|
|
|
9963
9966
|
onClick: m.onClick,
|
|
9964
9967
|
children: m.content
|
|
9965
9968
|
});
|
|
9966
|
-
f.push(
|
|
9969
|
+
f.push(g), o.noticePropsMap[g] = {
|
|
9967
9970
|
props: C,
|
|
9968
9971
|
holderCallback: v
|
|
9969
9972
|
};
|
|
@@ -9978,17 +9981,17 @@ var Notification = /* @__PURE__ */ function(e) {
|
|
|
9978
9981
|
h || delete o.noticePropsMap[v];
|
|
9979
9982
|
},
|
|
9980
9983
|
children: function(p) {
|
|
9981
|
-
var h = p.key, m = p.className, v = p.style, x = o.noticePropsMap[h],
|
|
9982
|
-
return
|
|
9984
|
+
var h = p.key, m = p.className, v = p.style, x = o.noticePropsMap[h], g = x.props, I = x.holderCallback;
|
|
9985
|
+
return I ? /* @__PURE__ */ jsx("div", {
|
|
9983
9986
|
className: classnamesExports(m, "".concat(c, "-hook-holder")),
|
|
9984
9987
|
style: _objectSpread2$1({}, v),
|
|
9985
9988
|
ref: function(y) {
|
|
9986
|
-
typeof h > "u" || (y ? (o.hookRefs.set(h, y),
|
|
9989
|
+
typeof h > "u" || (y ? (o.hookRefs.set(h, y), I(y, g)) : o.hookRefs.delete(h));
|
|
9987
9990
|
}
|
|
9988
9991
|
}, h) : /* @__PURE__ */ jsx(Notice$1, {
|
|
9989
|
-
...Object.assign({},
|
|
9990
|
-
className: classnamesExports(m,
|
|
9991
|
-
style: _objectSpread2$1(_objectSpread2$1({}, v),
|
|
9992
|
+
...Object.assign({}, g, {
|
|
9993
|
+
className: classnamesExports(m, g == null ? void 0 : g.className),
|
|
9994
|
+
style: _objectSpread2$1(_objectSpread2$1({}, v), g == null ? void 0 : g.style)
|
|
9992
9995
|
})
|
|
9993
9996
|
});
|
|
9994
9997
|
}
|
|
@@ -10228,8 +10231,8 @@ function requireNotice() {
|
|
|
10228
10231
|
var m;
|
|
10229
10232
|
return (0, r.default)(this, h), m = p.apply(this, arguments), m.closeTimer = null, m.close = function(v) {
|
|
10230
10233
|
v && v.stopPropagation(), m.clearCloseTimer();
|
|
10231
|
-
var x = m.props,
|
|
10232
|
-
|
|
10234
|
+
var x = m.props, g = x.onClose, I = x.noticeKey;
|
|
10235
|
+
g && g(I);
|
|
10233
10236
|
}, m.startCloseTimer = function() {
|
|
10234
10237
|
m.props.duration && (m.closeTimer = window.setTimeout(function() {
|
|
10235
10238
|
m.close();
|
|
@@ -10261,10 +10264,10 @@ function requireNotice() {
|
|
|
10261
10264
|
}, {
|
|
10262
10265
|
key: "render",
|
|
10263
10266
|
value: function() {
|
|
10264
|
-
var v = this, x = this.props,
|
|
10267
|
+
var v = this, x = this.props, g = x.prefixCls, I = x.className, C = x.closable, y = x.closeIcon, O = x.style, b = x.onClick, E = x.children, w = x.holder, _ = "".concat(g, "-notice"), S = Object.keys(this.props).reduce(function(N, D) {
|
|
10265
10268
|
return (D.substr(0, 5) === "data-" || D.substr(0, 5) === "aria-" || D === "role") && (N[D] = v.props[D]), N;
|
|
10266
10269
|
}, {}), k = c.createElement("div", Object.assign({
|
|
10267
|
-
className: (0, u.default)(_,
|
|
10270
|
+
className: (0, u.default)(_, I, (0, n.default)({}, "".concat(_, "-closable"), C)),
|
|
10268
10271
|
style: O,
|
|
10269
10272
|
onMouseEnter: this.clearCloseTimer,
|
|
10270
10273
|
onMouseLeave: this.startCloseTimer,
|
|
@@ -10302,13 +10305,13 @@ function requireUseNotification$1() {
|
|
|
10302
10305
|
var l = o.useRef({}), u = o.useState([]), d = (0, r.default)(u, 2), f = d[0], p = d[1];
|
|
10303
10306
|
function h(m) {
|
|
10304
10307
|
c.add(m, function(v, x) {
|
|
10305
|
-
var
|
|
10306
|
-
if (v && !l.current[
|
|
10307
|
-
var
|
|
10308
|
+
var g = x.key;
|
|
10309
|
+
if (v && !l.current[g]) {
|
|
10310
|
+
var I = o.createElement(a.default, Object.assign({}, x, {
|
|
10308
10311
|
holder: v
|
|
10309
10312
|
}));
|
|
10310
|
-
l.current[
|
|
10311
|
-
return [].concat((0, n.default)(C), [
|
|
10313
|
+
l.current[g] = I, p(function(C) {
|
|
10314
|
+
return [].concat((0, n.default)(C), [I]);
|
|
10312
10315
|
});
|
|
10313
10316
|
}
|
|
10314
10317
|
});
|
|
@@ -10331,7 +10334,7 @@ function requireUseMessage() {
|
|
|
10331
10334
|
add: function(w, _) {
|
|
10332
10335
|
v == null || v.component.add(w, _);
|
|
10333
10336
|
}
|
|
10334
|
-
},
|
|
10337
|
+
}, g = (0, s.default)(x), I = (0, o.default)(g, 2), C = I[0], y = I[1];
|
|
10335
10338
|
function O(E) {
|
|
10336
10339
|
var w = E.prefixCls, _ = m("message", w), S = E.key || (0, l.getKeyThenIncreaseKey)(), k = new Promise(function(D) {
|
|
10337
10340
|
var M = function() {
|
|
@@ -10373,15 +10376,15 @@ function requireMessage() {
|
|
|
10373
10376
|
Object.defineProperty(e, "__esModule", {
|
|
10374
10377
|
value: !0
|
|
10375
10378
|
}), e.getKeyThenIncreaseKey = E, e.attachTypeApi = L, e.default = e.getInstance = void 0;
|
|
10376
|
-
var r = n(require_extends()), o = n(requireDefineProperty()), a = t(React__default), s = n(requireClassnames()), c = n(require$$6$1), l = n(requireLoadingOutlined()), u = n(requireExclamationCircleFilled()), d = n(requireCloseCircleFilled()), f = n(requireCheckCircleFilled()), p = n(requireInfoCircleFilled()), h = n(requireUseMessage()), m, v = 3, x,
|
|
10379
|
+
var r = n(require_extends()), o = n(requireDefineProperty()), a = t(React__default), s = n(requireClassnames()), c = n(require$$6$1), l = n(requireLoadingOutlined()), u = n(requireExclamationCircleFilled()), d = n(requireCloseCircleFilled()), f = n(requireCheckCircleFilled()), p = n(requireInfoCircleFilled()), h = n(requireUseMessage()), m, v = 3, x, g = 1, I = "ant-message", C = "move-up", y, O, b = !1;
|
|
10377
10380
|
function E() {
|
|
10378
|
-
return
|
|
10381
|
+
return g++;
|
|
10379
10382
|
}
|
|
10380
10383
|
function w(B) {
|
|
10381
|
-
B.top !== void 0 && (x = B.top, m = null), B.duration !== void 0 && (v = B.duration), B.prefixCls !== void 0 && (
|
|
10384
|
+
B.top !== void 0 && (x = B.top, m = null), B.duration !== void 0 && (v = B.duration), B.prefixCls !== void 0 && (I = B.prefixCls), B.getContainer !== void 0 && (y = B.getContainer), B.transitionName !== void 0 && (C = B.transitionName, m = null), B.maxCount !== void 0 && (O = B.maxCount, m = null), B.rtl !== void 0 && (b = B.rtl);
|
|
10382
10385
|
}
|
|
10383
10386
|
function _(B, U) {
|
|
10384
|
-
var G = B.prefixCls ||
|
|
10387
|
+
var G = B.prefixCls || I;
|
|
10385
10388
|
if (m) {
|
|
10386
10389
|
U({
|
|
10387
10390
|
prefixCls: G,
|
|
@@ -10433,7 +10436,7 @@ function requireMessage() {
|
|
|
10433
10436
|
};
|
|
10434
10437
|
}
|
|
10435
10438
|
function N(B) {
|
|
10436
|
-
var U = B.key ||
|
|
10439
|
+
var U = B.key || g++, G = new Promise(function(W) {
|
|
10437
10440
|
var Z = function() {
|
|
10438
10441
|
return typeof B.onClose == "function" && B.onClose(), W(!0);
|
|
10439
10442
|
};
|
|
@@ -10710,14 +10713,14 @@ function requireUseNotification() {
|
|
|
10710
10713
|
add: function(E, w) {
|
|
10711
10714
|
m == null || m.component.add(E, w);
|
|
10712
10715
|
}
|
|
10713
|
-
}, x = (0, s.default)(v),
|
|
10716
|
+
}, x = (0, s.default)(v), g = (0, o.default)(x, 2), I = g[0], C = g[1];
|
|
10714
10717
|
function y(b) {
|
|
10715
10718
|
var E = b.prefixCls, w = h("notification", E);
|
|
10716
10719
|
u((0, r.default)((0, r.default)({}, b), {
|
|
10717
10720
|
prefixCls: w
|
|
10718
10721
|
}), function(_) {
|
|
10719
10722
|
var S = _.prefixCls, k = _.instance;
|
|
10720
|
-
m = k,
|
|
10723
|
+
m = k, I(d(b, S));
|
|
10721
10724
|
});
|
|
10722
10725
|
}
|
|
10723
10726
|
var O = a.useRef({});
|
|
@@ -10770,13 +10773,13 @@ function requireNotification() {
|
|
|
10770
10773
|
}
|
|
10771
10774
|
A((z = z.apply(B, U || [])).next());
|
|
10772
10775
|
});
|
|
10773
|
-
}, x = {},
|
|
10776
|
+
}, x = {}, g = 4.5, I = 24, C = 24, y = "ant-notification", O = "topRight", b, E, w = !1;
|
|
10774
10777
|
function _(B) {
|
|
10775
10778
|
var U = B.duration, G = B.placement, z = B.bottom, W = B.top, Z = B.getContainer, V = B.closeIcon, H = B.prefixCls;
|
|
10776
|
-
H !== void 0 && (y = H), U !== void 0 && (
|
|
10779
|
+
H !== void 0 && (y = H), U !== void 0 && (g = U), G !== void 0 ? O = G : B.rtl && (O = "topLeft"), z !== void 0 && (C = z), W !== void 0 && (I = W), Z !== void 0 && (b = Z), V !== void 0 && (E = V), B.rtl !== void 0 && (w = B.rtl);
|
|
10777
10780
|
}
|
|
10778
10781
|
function S(B) {
|
|
10779
|
-
var U = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
10782
|
+
var U = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : I, G = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : C, z;
|
|
10780
10783
|
switch (B) {
|
|
10781
10784
|
case "topLeft":
|
|
10782
10785
|
z = {
|
|
@@ -10847,7 +10850,7 @@ function requireNotification() {
|
|
|
10847
10850
|
warning: p.default
|
|
10848
10851
|
};
|
|
10849
10852
|
function D(B, U) {
|
|
10850
|
-
var G = B.duration === void 0 ?
|
|
10853
|
+
var G = B.duration === void 0 ? g : B.duration, z = null;
|
|
10851
10854
|
B.icon ? z = /* @__PURE__ */ s.createElement("span", {
|
|
10852
10855
|
className: "".concat(U, "-icon")
|
|
10853
10856
|
}, B.icon) : B.type && (z = /* @__PURE__ */ s.createElement(N[B.type] || null, {
|
|
@@ -10990,7 +10993,7 @@ function requireConfigProvider() {
|
|
|
10990
10993
|
}, W)), /* @__PURE__ */ o.createElement(d.ConfigContext.Provider, {
|
|
10991
10994
|
value: G
|
|
10992
10995
|
}, W);
|
|
10993
|
-
},
|
|
10996
|
+
}, g = function(y) {
|
|
10994
10997
|
return o.useEffect(function() {
|
|
10995
10998
|
y.direction && (p.default.config({
|
|
10996
10999
|
rtl: y.direction === "rtl"
|
|
@@ -11006,9 +11009,9 @@ function requireConfigProvider() {
|
|
|
11006
11009
|
});
|
|
11007
11010
|
});
|
|
11008
11011
|
};
|
|
11009
|
-
|
|
11010
|
-
var
|
|
11011
|
-
e.default =
|
|
11012
|
+
g.ConfigContext = d.ConfigContext, g.SizeContext = f.default;
|
|
11013
|
+
var I = g;
|
|
11014
|
+
e.default = I;
|
|
11012
11015
|
}(configProvider)), configProvider;
|
|
11013
11016
|
}
|
|
11014
11017
|
var hasRequiredInput;
|
|
@@ -11017,12 +11020,12 @@ function requireInput() {
|
|
|
11017
11020
|
var t = interopRequireWildcard.exports, n = interopRequireDefault.exports;
|
|
11018
11021
|
Object.defineProperty(e, "__esModule", {
|
|
11019
11022
|
value: !0
|
|
11020
|
-
}), e.fixControlledValue = x, e.resolveOnChange =
|
|
11023
|
+
}), e.fixControlledValue = x, e.resolveOnChange = g, e.getInputClassName = I, e.triggerFocus = C, e.default = void 0;
|
|
11021
11024
|
var r = n(require_extends()), o = n(requireClassCallCheck()), a = n(requireCreateClass()), s = n(requireInherits()), c = n(requireCreateSuper()), l = n(requireDefineProperty()), u = t(React__default), d = n(requireClassnames()), f = n(requireOmit()), p = t(requireClearableLabeledInput()), h = requireConfigProvider(), m = n(requireSizeContext()), v = n(requireDevWarning());
|
|
11022
11025
|
function x(b) {
|
|
11023
11026
|
return typeof b > "u" || b === null ? "" : b;
|
|
11024
11027
|
}
|
|
11025
|
-
function
|
|
11028
|
+
function g(b, E, w) {
|
|
11026
11029
|
if (w) {
|
|
11027
11030
|
var _ = E;
|
|
11028
11031
|
if (E.type === "click") {
|
|
@@ -11034,7 +11037,7 @@ function requireInput() {
|
|
|
11034
11037
|
w(_);
|
|
11035
11038
|
}
|
|
11036
11039
|
}
|
|
11037
|
-
function
|
|
11040
|
+
function I(b, E, w, _, S) {
|
|
11038
11041
|
var k;
|
|
11039
11042
|
return (0, d.default)(b, (k = {}, (0, l.default)(k, "".concat(b, "-sm"), w === "small"), (0, l.default)(k, "".concat(b, "-lg"), w === "large"), (0, l.default)(k, "".concat(b, "-disabled"), _), (0, l.default)(k, "".concat(b, "-rtl"), S === "rtl"), (0, l.default)(k, "".concat(b, "-borderless"), !E), k));
|
|
11040
11043
|
}
|
|
@@ -11081,7 +11084,7 @@ function requireInput() {
|
|
|
11081
11084
|
}, S.handleReset = function(N) {
|
|
11082
11085
|
S.setValue("", function() {
|
|
11083
11086
|
S.focus();
|
|
11084
|
-
}),
|
|
11087
|
+
}), g(S.input, N, S.props.onChange);
|
|
11085
11088
|
}, S.renderInput = function(N, D, M) {
|
|
11086
11089
|
var L = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, q = S.props, $ = q.className, B = q.addonBefore, U = q.addonAfter, G = q.size, z = q.disabled, W = (0, f.default)(S.props, [
|
|
11087
11090
|
"prefixCls",
|
|
@@ -11103,7 +11106,7 @@ function requireInput() {
|
|
|
11103
11106
|
onFocus: S.onFocus,
|
|
11104
11107
|
onBlur: S.onBlur,
|
|
11105
11108
|
onKeyDown: S.handleKeyDown,
|
|
11106
|
-
className: (0, d.default)(
|
|
11109
|
+
className: (0, d.default)(I(N, M, G || D, z, S.direction), (0, l.default)({}, $, $ && !B && !U)),
|
|
11107
11110
|
ref: S.saveInput
|
|
11108
11111
|
}));
|
|
11109
11112
|
}, S.clearPasswordValueAttribute = function() {
|
|
@@ -11111,7 +11114,7 @@ function requireInput() {
|
|
|
11111
11114
|
S.input && S.input.getAttribute("type") === "password" && S.input.hasAttribute("value") && S.input.removeAttribute("value");
|
|
11112
11115
|
});
|
|
11113
11116
|
}, S.handleChange = function(N) {
|
|
11114
|
-
S.setValue(N.target.value, S.clearPasswordValueAttribute),
|
|
11117
|
+
S.setValue(N.target.value, S.clearPasswordValueAttribute), g(S.input, N, S.props.onChange);
|
|
11115
11118
|
}, S.handleKeyDown = function(N) {
|
|
11116
11119
|
var D = S.props, M = D.onPressEnter, L = D.onKeyDown;
|
|
11117
11120
|
N.keyCode === 13 && M && M(N), L && L(N);
|
|
@@ -11237,7 +11240,7 @@ function requireClearableLabeledInput() {
|
|
|
11237
11240
|
function x(C) {
|
|
11238
11241
|
return !!(C.addonBefore || C.addonAfter);
|
|
11239
11242
|
}
|
|
11240
|
-
var
|
|
11243
|
+
var g = /* @__PURE__ */ function(C) {
|
|
11241
11244
|
(0, s.default)(O, C);
|
|
11242
11245
|
var y = (0, c.default)(O);
|
|
11243
11246
|
function O() {
|
|
@@ -11337,8 +11340,8 @@ function requireClearableLabeledInput() {
|
|
|
11337
11340
|
return _ === m[0] ? this.renderTextAreaWithClearIcon(w, S) : this.renderInputWithLabel(w, this.renderLabeledIcon(w, S));
|
|
11338
11341
|
}
|
|
11339
11342
|
}]), O;
|
|
11340
|
-
}(l.Component),
|
|
11341
|
-
e.default =
|
|
11343
|
+
}(l.Component), I = g;
|
|
11344
|
+
e.default = I;
|
|
11342
11345
|
}(ClearableLabeledInput)), ClearableLabeledInput;
|
|
11343
11346
|
}
|
|
11344
11347
|
(function(e) {
|
|
@@ -11346,7 +11349,7 @@ function requireClearableLabeledInput() {
|
|
|
11346
11349
|
Object.defineProperty(e, "__esModule", {
|
|
11347
11350
|
value: !0
|
|
11348
11351
|
}), e.default = void 0;
|
|
11349
|
-
var r = n(_typeof$2.exports), o = n(requireToConsumableArray()), a = n(require_extends()), s = n(requireDefineProperty()), c = n(requireSlicedToArray()), l = t(React__default), u = n(require$$8), d = n(requireOmit()), f = n(requireClassnames()), p = n(requireUseMergedState()), h = n(requireClearableLabeledInput()), m = requireConfigProvider(), v = requireInput(), x = n(requireSizeContext()),
|
|
11352
|
+
var r = n(_typeof$2.exports), o = n(requireToConsumableArray()), a = n(require_extends()), s = n(requireDefineProperty()), c = n(requireSlicedToArray()), l = t(React__default), u = n(require$$8), d = n(requireOmit()), f = n(requireClassnames()), p = n(requireUseMergedState()), h = n(requireClearableLabeledInput()), m = requireConfigProvider(), v = requireInput(), x = n(requireSizeContext()), g = function(y, O) {
|
|
11350
11353
|
var b = {};
|
|
11351
11354
|
for (var E in y)
|
|
11352
11355
|
Object.prototype.hasOwnProperty.call(y, E) && O.indexOf(E) < 0 && (b[E] = y[E]);
|
|
@@ -11354,8 +11357,8 @@ function requireClearableLabeledInput() {
|
|
|
11354
11357
|
for (var w = 0, E = Object.getOwnPropertySymbols(y); w < E.length; w++)
|
|
11355
11358
|
O.indexOf(E[w]) < 0 && Object.prototype.propertyIsEnumerable.call(y, E[w]) && (b[E[w]] = y[E[w]]);
|
|
11356
11359
|
return b;
|
|
11357
|
-
},
|
|
11358
|
-
var b, E = y.prefixCls, w = y.bordered, _ = w === void 0 ? !0 : w, S = y.showCount, k = S === void 0 ? !1 : S, N = y.maxLength, D = y.className, M = y.style, L = y.size, q =
|
|
11360
|
+
}, I = /* @__PURE__ */ l.forwardRef(function(y, O) {
|
|
11361
|
+
var b, E = y.prefixCls, w = y.bordered, _ = w === void 0 ? !0 : w, S = y.showCount, k = S === void 0 ? !1 : S, N = y.maxLength, D = y.className, M = y.style, L = y.size, q = g(y, ["prefixCls", "bordered", "showCount", "maxLength", "className", "style", "size"]), $ = l.useContext(m.ConfigContext), B = $.getPrefixCls, U = $.direction, G = l.useContext(x.default), z = l.useRef(null), W = l.useRef(null), Z = (0, p.default)(q.defaultValue, {
|
|
11359
11362
|
value: q.value
|
|
11360
11363
|
}), V = (0, c.default)(Z, 2), H = V[0], P = V[1], A = l.useRef(q.value);
|
|
11361
11364
|
l.useEffect(function() {
|
|
@@ -11416,7 +11419,7 @@ function requireClearableLabeledInput() {
|
|
|
11416
11419
|
}, ne);
|
|
11417
11420
|
}
|
|
11418
11421
|
return ne;
|
|
11419
|
-
}), C =
|
|
11422
|
+
}), C = I;
|
|
11420
11423
|
e.default = C;
|
|
11421
11424
|
})(TextArea$3);
|
|
11422
11425
|
const TextArea$1 = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$3), {
|
|
@@ -11453,11 +11456,11 @@ const TextArea$1 = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$3), {
|
|
|
11453
11456
|
modalWidth: c
|
|
11454
11457
|
} = useWindowDimensions(), {
|
|
11455
11458
|
t: l
|
|
11456
|
-
} = useContext(LocaleContext), [u, d] = useState([]), [f, p] = useState(!1), [h, m] = useState(!1), [v, x] = useState({}),
|
|
11459
|
+
} = useContext(LocaleContext), [u, d] = useState([]), [f, p] = useState(!1), [h, m] = useState(!1), [v, x] = useState({}), g = useRef();
|
|
11457
11460
|
useEffect(() => {
|
|
11458
|
-
t ?
|
|
11461
|
+
t ? I() : x({});
|
|
11459
11462
|
}, [t]);
|
|
11460
|
-
async function
|
|
11463
|
+
async function I() {
|
|
11461
11464
|
p(!0);
|
|
11462
11465
|
try {
|
|
11463
11466
|
const w = await C();
|
|
@@ -11491,7 +11494,7 @@ const TextArea$1 = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$3), {
|
|
|
11491
11494
|
}))[0];
|
|
11492
11495
|
_[S.code] = k[a] || "";
|
|
11493
11496
|
}
|
|
11494
|
-
|
|
11497
|
+
g.current = _, x(_);
|
|
11495
11498
|
}
|
|
11496
11499
|
function O() {
|
|
11497
11500
|
return u.map((w, _) => /* @__PURE__ */ jsxs(Row, {
|
|
@@ -11524,7 +11527,7 @@ const TextArea$1 = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$3), {
|
|
|
11524
11527
|
m(!0);
|
|
11525
11528
|
try {
|
|
11526
11529
|
for (const w of Object.keys(v))
|
|
11527
|
-
v[w] !==
|
|
11530
|
+
v[w] !== g.current[w] && await ConnectionProvider.getHandler().update({
|
|
11528
11531
|
model: r,
|
|
11529
11532
|
id: o,
|
|
11530
11533
|
values: {
|
|
@@ -11860,7 +11863,7 @@ function debounce(e, t, n) {
|
|
|
11860
11863
|
return r = o = void 0, u = b, s = e.apply(w, E), s;
|
|
11861
11864
|
}
|
|
11862
11865
|
function m(b) {
|
|
11863
|
-
return u = b, c = setTimeout(
|
|
11866
|
+
return u = b, c = setTimeout(g, t), d ? h(b) : s;
|
|
11864
11867
|
}
|
|
11865
11868
|
function v(b) {
|
|
11866
11869
|
var E = b - l, w = b - u, _ = t - E;
|
|
@@ -11870,20 +11873,20 @@ function debounce(e, t, n) {
|
|
|
11870
11873
|
var E = b - l, w = b - u;
|
|
11871
11874
|
return l === void 0 || E >= t || E < 0 || f && w >= a;
|
|
11872
11875
|
}
|
|
11873
|
-
function
|
|
11876
|
+
function g() {
|
|
11874
11877
|
var b = now$1();
|
|
11875
11878
|
if (x(b))
|
|
11876
|
-
return
|
|
11877
|
-
c = setTimeout(
|
|
11879
|
+
return I(b);
|
|
11880
|
+
c = setTimeout(g, v(b));
|
|
11878
11881
|
}
|
|
11879
|
-
function
|
|
11882
|
+
function I(b) {
|
|
11880
11883
|
return c = void 0, p && r ? h(b) : (r = o = void 0, s);
|
|
11881
11884
|
}
|
|
11882
11885
|
function C() {
|
|
11883
11886
|
c !== void 0 && clearTimeout(c), u = 0, r = l = o = c = void 0;
|
|
11884
11887
|
}
|
|
11885
11888
|
function y() {
|
|
11886
|
-
return c === void 0 ? s :
|
|
11889
|
+
return c === void 0 ? s : I(now$1());
|
|
11887
11890
|
}
|
|
11888
11891
|
function O() {
|
|
11889
11892
|
var b = now$1(), E = x(b);
|
|
@@ -11891,9 +11894,9 @@ function debounce(e, t, n) {
|
|
|
11891
11894
|
if (c === void 0)
|
|
11892
11895
|
return m(l);
|
|
11893
11896
|
if (f)
|
|
11894
|
-
return clearTimeout(c), c = setTimeout(
|
|
11897
|
+
return clearTimeout(c), c = setTimeout(g, t), h(l);
|
|
11895
11898
|
}
|
|
11896
|
-
return c === void 0 && (c = setTimeout(
|
|
11899
|
+
return c === void 0 && (c = setTimeout(g, t)), s;
|
|
11897
11900
|
}
|
|
11898
11901
|
return O.cancel = C, O.flush = y, O;
|
|
11899
11902
|
}
|
|
@@ -12221,8 +12224,8 @@ function requireBuffer_list() {
|
|
|
12221
12224
|
value: function(m) {
|
|
12222
12225
|
if (this.length === 0)
|
|
12223
12226
|
return c.alloc(0);
|
|
12224
|
-
for (var v = c.allocUnsafe(m >>> 0), x = this.head,
|
|
12225
|
-
f(x.data, v,
|
|
12227
|
+
for (var v = c.allocUnsafe(m >>> 0), x = this.head, g = 0; x; )
|
|
12228
|
+
f(x.data, v, g), g += x.data.length, x = x.next;
|
|
12226
12229
|
return v;
|
|
12227
12230
|
}
|
|
12228
12231
|
}, {
|
|
@@ -12239,30 +12242,30 @@ function requireBuffer_list() {
|
|
|
12239
12242
|
}, {
|
|
12240
12243
|
key: "_getString",
|
|
12241
12244
|
value: function(m) {
|
|
12242
|
-
var v = this.head, x = 1,
|
|
12243
|
-
for (m -=
|
|
12244
|
-
var
|
|
12245
|
-
if (C ===
|
|
12246
|
-
C ===
|
|
12245
|
+
var v = this.head, x = 1, g = v.data;
|
|
12246
|
+
for (m -= g.length; v = v.next; ) {
|
|
12247
|
+
var I = v.data, C = m > I.length ? I.length : m;
|
|
12248
|
+
if (C === I.length ? g += I : g += I.slice(0, m), m -= C, m === 0) {
|
|
12249
|
+
C === I.length ? (++x, v.next ? this.head = v.next : this.head = this.tail = null) : (this.head = v, v.data = I.slice(C));
|
|
12247
12250
|
break;
|
|
12248
12251
|
}
|
|
12249
12252
|
++x;
|
|
12250
12253
|
}
|
|
12251
|
-
return this.length -= x,
|
|
12254
|
+
return this.length -= x, g;
|
|
12252
12255
|
}
|
|
12253
12256
|
}, {
|
|
12254
12257
|
key: "_getBuffer",
|
|
12255
12258
|
value: function(m) {
|
|
12256
|
-
var v = c.allocUnsafe(m), x = this.head,
|
|
12259
|
+
var v = c.allocUnsafe(m), x = this.head, g = 1;
|
|
12257
12260
|
for (x.data.copy(v), m -= x.data.length; x = x.next; ) {
|
|
12258
|
-
var
|
|
12259
|
-
if (
|
|
12260
|
-
C ===
|
|
12261
|
+
var I = x.data, C = m > I.length ? I.length : m;
|
|
12262
|
+
if (I.copy(v, v.length - m, 0, C), m -= C, m === 0) {
|
|
12263
|
+
C === I.length ? (++g, x.next ? this.head = x.next : this.head = this.tail = null) : (this.head = x, x.data = I.slice(C));
|
|
12261
12264
|
break;
|
|
12262
12265
|
}
|
|
12263
|
-
++
|
|
12266
|
+
++g;
|
|
12264
12267
|
}
|
|
12265
|
-
return this.length -=
|
|
12268
|
+
return this.length -= g, v;
|
|
12266
12269
|
}
|
|
12267
12270
|
}, {
|
|
12268
12271
|
key: d,
|
|
@@ -12453,7 +12456,7 @@ function require_stream_writable() {
|
|
|
12453
12456
|
function c(P) {
|
|
12454
12457
|
return o.isBuffer(P) || P instanceof a;
|
|
12455
12458
|
}
|
|
12456
|
-
var l = destroy_1, u = state, d = u.getHighWaterMark, f = errorsBrowser.codes, p = f.ERR_INVALID_ARG_TYPE, h = f.ERR_METHOD_NOT_IMPLEMENTED, m = f.ERR_MULTIPLE_CALLBACK, v = f.ERR_STREAM_CANNOT_PIPE, x = f.ERR_STREAM_DESTROYED,
|
|
12459
|
+
var l = destroy_1, u = state, d = u.getHighWaterMark, f = errorsBrowser.codes, p = f.ERR_INVALID_ARG_TYPE, h = f.ERR_METHOD_NOT_IMPLEMENTED, m = f.ERR_MULTIPLE_CALLBACK, v = f.ERR_STREAM_CANNOT_PIPE, x = f.ERR_STREAM_DESTROYED, g = f.ERR_STREAM_NULL_VALUES, I = f.ERR_STREAM_WRITE_AFTER_END, C = f.ERR_UNKNOWN_ENCODING, y = l.errorOrDestroy;
|
|
12457
12460
|
inherits_browser.exports(w, r);
|
|
12458
12461
|
function O() {
|
|
12459
12462
|
}
|
|
@@ -12497,12 +12500,12 @@ function require_stream_writable() {
|
|
|
12497
12500
|
y(this, new v());
|
|
12498
12501
|
};
|
|
12499
12502
|
function _(P, A) {
|
|
12500
|
-
var j = new
|
|
12503
|
+
var j = new I();
|
|
12501
12504
|
y(P, j), process.nextTick(A, j);
|
|
12502
12505
|
}
|
|
12503
12506
|
function S(P, A, j, K) {
|
|
12504
12507
|
var X;
|
|
12505
|
-
return j === null ? X = new
|
|
12508
|
+
return j === null ? X = new g() : typeof j != "string" && !A.objectMode && (X = new p("chunk", ["string", "Buffer"], j)), X ? (y(P, X), process.nextTick(K, X), !1) : !0;
|
|
12506
12509
|
}
|
|
12507
12510
|
w.prototype.write = function(P, A, j) {
|
|
12508
12511
|
var K = this._writableState, X = !1, F = !K.objectMode && c(P);
|
|
@@ -12742,8 +12745,8 @@ function requireString_decoder() {
|
|
|
12742
12745
|
if (hasRequiredString_decoder)
|
|
12743
12746
|
return string_decoder;
|
|
12744
12747
|
hasRequiredString_decoder = 1;
|
|
12745
|
-
var e = requireSafeBuffer().Buffer, t = e.isEncoding || function(
|
|
12746
|
-
switch (
|
|
12748
|
+
var e = requireSafeBuffer().Buffer, t = e.isEncoding || function(g) {
|
|
12749
|
+
switch (g = "" + g, g && g.toLowerCase()) {
|
|
12747
12750
|
case "hex":
|
|
12748
12751
|
case "utf8":
|
|
12749
12752
|
case "utf-8":
|
|
@@ -12760,11 +12763,11 @@ function requireString_decoder() {
|
|
|
12760
12763
|
return !1;
|
|
12761
12764
|
}
|
|
12762
12765
|
};
|
|
12763
|
-
function n(
|
|
12764
|
-
if (!
|
|
12766
|
+
function n(g) {
|
|
12767
|
+
if (!g)
|
|
12765
12768
|
return "utf8";
|
|
12766
|
-
for (var
|
|
12767
|
-
switch (
|
|
12769
|
+
for (var I; ; )
|
|
12770
|
+
switch (g) {
|
|
12768
12771
|
case "utf8":
|
|
12769
12772
|
case "utf-8":
|
|
12770
12773
|
return "utf8";
|
|
@@ -12779,128 +12782,128 @@ function requireString_decoder() {
|
|
|
12779
12782
|
case "base64":
|
|
12780
12783
|
case "ascii":
|
|
12781
12784
|
case "hex":
|
|
12782
|
-
return
|
|
12785
|
+
return g;
|
|
12783
12786
|
default:
|
|
12784
|
-
if (
|
|
12787
|
+
if (I)
|
|
12785
12788
|
return;
|
|
12786
|
-
|
|
12789
|
+
g = ("" + g).toLowerCase(), I = !0;
|
|
12787
12790
|
}
|
|
12788
12791
|
}
|
|
12789
|
-
function r(
|
|
12790
|
-
var
|
|
12791
|
-
if (typeof
|
|
12792
|
-
throw new Error("Unknown encoding: " +
|
|
12793
|
-
return
|
|
12792
|
+
function r(g) {
|
|
12793
|
+
var I = n(g);
|
|
12794
|
+
if (typeof I != "string" && (e.isEncoding === t || !t(g)))
|
|
12795
|
+
throw new Error("Unknown encoding: " + g);
|
|
12796
|
+
return I || g;
|
|
12794
12797
|
}
|
|
12795
12798
|
string_decoder.StringDecoder = o;
|
|
12796
|
-
function o(
|
|
12797
|
-
this.encoding = r(
|
|
12798
|
-
var
|
|
12799
|
+
function o(g) {
|
|
12800
|
+
this.encoding = r(g);
|
|
12801
|
+
var I;
|
|
12799
12802
|
switch (this.encoding) {
|
|
12800
12803
|
case "utf16le":
|
|
12801
|
-
this.text = f, this.end = p,
|
|
12804
|
+
this.text = f, this.end = p, I = 4;
|
|
12802
12805
|
break;
|
|
12803
12806
|
case "utf8":
|
|
12804
|
-
this.fillLast = l,
|
|
12807
|
+
this.fillLast = l, I = 4;
|
|
12805
12808
|
break;
|
|
12806
12809
|
case "base64":
|
|
12807
|
-
this.text = h, this.end = m,
|
|
12810
|
+
this.text = h, this.end = m, I = 3;
|
|
12808
12811
|
break;
|
|
12809
12812
|
default:
|
|
12810
12813
|
this.write = v, this.end = x;
|
|
12811
12814
|
return;
|
|
12812
12815
|
}
|
|
12813
|
-
this.lastNeed = 0, this.lastTotal = 0, this.lastChar = e.allocUnsafe(
|
|
12816
|
+
this.lastNeed = 0, this.lastTotal = 0, this.lastChar = e.allocUnsafe(I);
|
|
12814
12817
|
}
|
|
12815
|
-
o.prototype.write = function(
|
|
12816
|
-
if (
|
|
12818
|
+
o.prototype.write = function(g) {
|
|
12819
|
+
if (g.length === 0)
|
|
12817
12820
|
return "";
|
|
12818
|
-
var
|
|
12821
|
+
var I, C;
|
|
12819
12822
|
if (this.lastNeed) {
|
|
12820
|
-
if (
|
|
12823
|
+
if (I = this.fillLast(g), I === void 0)
|
|
12821
12824
|
return "";
|
|
12822
12825
|
C = this.lastNeed, this.lastNeed = 0;
|
|
12823
12826
|
} else
|
|
12824
12827
|
C = 0;
|
|
12825
|
-
return C <
|
|
12826
|
-
}, o.prototype.end = d, o.prototype.text = u, o.prototype.fillLast = function(
|
|
12827
|
-
if (this.lastNeed <=
|
|
12828
|
-
return
|
|
12829
|
-
|
|
12828
|
+
return C < g.length ? I ? I + this.text(g, C) : this.text(g, C) : I || "";
|
|
12829
|
+
}, o.prototype.end = d, o.prototype.text = u, o.prototype.fillLast = function(g) {
|
|
12830
|
+
if (this.lastNeed <= g.length)
|
|
12831
|
+
return g.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
|
|
12832
|
+
g.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, g.length), this.lastNeed -= g.length;
|
|
12830
12833
|
};
|
|
12831
|
-
function a(
|
|
12832
|
-
return
|
|
12834
|
+
function a(g) {
|
|
12835
|
+
return g <= 127 ? 0 : g >> 5 === 6 ? 2 : g >> 4 === 14 ? 3 : g >> 3 === 30 ? 4 : g >> 6 === 2 ? -1 : -2;
|
|
12833
12836
|
}
|
|
12834
|
-
function s(
|
|
12835
|
-
var y =
|
|
12837
|
+
function s(g, I, C) {
|
|
12838
|
+
var y = I.length - 1;
|
|
12836
12839
|
if (y < C)
|
|
12837
12840
|
return 0;
|
|
12838
|
-
var O = a(
|
|
12839
|
-
return O >= 0 ? (O > 0 && (
|
|
12841
|
+
var O = a(I[y]);
|
|
12842
|
+
return O >= 0 ? (O > 0 && (g.lastNeed = O - 1), O) : --y < C || O === -2 ? 0 : (O = a(I[y]), O >= 0 ? (O > 0 && (g.lastNeed = O - 2), O) : --y < C || O === -2 ? 0 : (O = a(I[y]), O >= 0 ? (O > 0 && (O === 2 ? O = 0 : g.lastNeed = O - 3), O) : 0));
|
|
12840
12843
|
}
|
|
12841
|
-
function c(
|
|
12842
|
-
if ((
|
|
12843
|
-
return
|
|
12844
|
-
if (
|
|
12845
|
-
if ((
|
|
12846
|
-
return
|
|
12847
|
-
if (
|
|
12848
|
-
return
|
|
12844
|
+
function c(g, I, C) {
|
|
12845
|
+
if ((I[0] & 192) !== 128)
|
|
12846
|
+
return g.lastNeed = 0, "\uFFFD";
|
|
12847
|
+
if (g.lastNeed > 1 && I.length > 1) {
|
|
12848
|
+
if ((I[1] & 192) !== 128)
|
|
12849
|
+
return g.lastNeed = 1, "\uFFFD";
|
|
12850
|
+
if (g.lastNeed > 2 && I.length > 2 && (I[2] & 192) !== 128)
|
|
12851
|
+
return g.lastNeed = 2, "\uFFFD";
|
|
12849
12852
|
}
|
|
12850
12853
|
}
|
|
12851
|
-
function l(
|
|
12852
|
-
var
|
|
12854
|
+
function l(g) {
|
|
12855
|
+
var I = this.lastTotal - this.lastNeed, C = c(this, g);
|
|
12853
12856
|
if (C !== void 0)
|
|
12854
12857
|
return C;
|
|
12855
|
-
if (this.lastNeed <=
|
|
12856
|
-
return
|
|
12857
|
-
|
|
12858
|
+
if (this.lastNeed <= g.length)
|
|
12859
|
+
return g.copy(this.lastChar, I, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
|
|
12860
|
+
g.copy(this.lastChar, I, 0, g.length), this.lastNeed -= g.length;
|
|
12858
12861
|
}
|
|
12859
|
-
function u(
|
|
12860
|
-
var C = s(this,
|
|
12862
|
+
function u(g, I) {
|
|
12863
|
+
var C = s(this, g, I);
|
|
12861
12864
|
if (!this.lastNeed)
|
|
12862
|
-
return
|
|
12865
|
+
return g.toString("utf8", I);
|
|
12863
12866
|
this.lastTotal = C;
|
|
12864
|
-
var y =
|
|
12865
|
-
return
|
|
12867
|
+
var y = g.length - (C - this.lastNeed);
|
|
12868
|
+
return g.copy(this.lastChar, 0, y), g.toString("utf8", I, y);
|
|
12866
12869
|
}
|
|
12867
|
-
function d(
|
|
12868
|
-
var
|
|
12869
|
-
return this.lastNeed ?
|
|
12870
|
+
function d(g) {
|
|
12871
|
+
var I = g && g.length ? this.write(g) : "";
|
|
12872
|
+
return this.lastNeed ? I + "\uFFFD" : I;
|
|
12870
12873
|
}
|
|
12871
|
-
function f(
|
|
12872
|
-
if ((
|
|
12873
|
-
var C =
|
|
12874
|
+
function f(g, I) {
|
|
12875
|
+
if ((g.length - I) % 2 === 0) {
|
|
12876
|
+
var C = g.toString("utf16le", I);
|
|
12874
12877
|
if (C) {
|
|
12875
12878
|
var y = C.charCodeAt(C.length - 1);
|
|
12876
12879
|
if (y >= 55296 && y <= 56319)
|
|
12877
|
-
return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] =
|
|
12880
|
+
return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = g[g.length - 2], this.lastChar[1] = g[g.length - 1], C.slice(0, -1);
|
|
12878
12881
|
}
|
|
12879
12882
|
return C;
|
|
12880
12883
|
}
|
|
12881
|
-
return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] =
|
|
12884
|
+
return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = g[g.length - 1], g.toString("utf16le", I, g.length - 1);
|
|
12882
12885
|
}
|
|
12883
|
-
function p(
|
|
12884
|
-
var
|
|
12886
|
+
function p(g) {
|
|
12887
|
+
var I = g && g.length ? this.write(g) : "";
|
|
12885
12888
|
if (this.lastNeed) {
|
|
12886
12889
|
var C = this.lastTotal - this.lastNeed;
|
|
12887
|
-
return
|
|
12890
|
+
return I + this.lastChar.toString("utf16le", 0, C);
|
|
12888
12891
|
}
|
|
12889
|
-
return
|
|
12892
|
+
return I;
|
|
12890
12893
|
}
|
|
12891
|
-
function h(
|
|
12892
|
-
var C = (
|
|
12893
|
-
return C === 0 ?
|
|
12894
|
+
function h(g, I) {
|
|
12895
|
+
var C = (g.length - I) % 3;
|
|
12896
|
+
return C === 0 ? g.toString("base64", I) : (this.lastNeed = 3 - C, this.lastTotal = 3, C === 1 ? this.lastChar[0] = g[g.length - 1] : (this.lastChar[0] = g[g.length - 2], this.lastChar[1] = g[g.length - 1]), g.toString("base64", I, g.length - C));
|
|
12894
12897
|
}
|
|
12895
|
-
function m(
|
|
12896
|
-
var
|
|
12897
|
-
return this.lastNeed ?
|
|
12898
|
+
function m(g) {
|
|
12899
|
+
var I = g && g.length ? this.write(g) : "";
|
|
12900
|
+
return this.lastNeed ? I + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : I;
|
|
12898
12901
|
}
|
|
12899
|
-
function v(
|
|
12900
|
-
return
|
|
12902
|
+
function v(g) {
|
|
12903
|
+
return g.toString(this.encoding);
|
|
12901
12904
|
}
|
|
12902
|
-
function x(
|
|
12903
|
-
return
|
|
12905
|
+
function x(g) {
|
|
12906
|
+
return g && g.length ? this.write(g) : "";
|
|
12904
12907
|
}
|
|
12905
12908
|
return string_decoder;
|
|
12906
12909
|
}
|
|
@@ -12952,34 +12955,34 @@ function requireAsync_iterator() {
|
|
|
12952
12955
|
return async_iterator;
|
|
12953
12956
|
hasRequiredAsync_iterator = 1;
|
|
12954
12957
|
var e;
|
|
12955
|
-
function t(
|
|
12956
|
-
return
|
|
12958
|
+
function t(g, I, C) {
|
|
12959
|
+
return I in g ? Object.defineProperty(g, I, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : g[I] = C, g;
|
|
12957
12960
|
}
|
|
12958
12961
|
var n = endOfStream, r = Symbol("lastResolve"), o = Symbol("lastReject"), a = Symbol("error"), s = Symbol("ended"), c = Symbol("lastPromise"), l = Symbol("handlePromise"), u = Symbol("stream");
|
|
12959
|
-
function d(
|
|
12962
|
+
function d(g, I) {
|
|
12960
12963
|
return {
|
|
12961
|
-
value:
|
|
12962
|
-
done:
|
|
12964
|
+
value: g,
|
|
12965
|
+
done: I
|
|
12963
12966
|
};
|
|
12964
12967
|
}
|
|
12965
|
-
function f(
|
|
12966
|
-
var
|
|
12967
|
-
if (
|
|
12968
|
-
var C =
|
|
12969
|
-
C !== null && (
|
|
12968
|
+
function f(g) {
|
|
12969
|
+
var I = g[r];
|
|
12970
|
+
if (I !== null) {
|
|
12971
|
+
var C = g[u].read();
|
|
12972
|
+
C !== null && (g[c] = null, g[r] = null, g[o] = null, I(d(C, !1)));
|
|
12970
12973
|
}
|
|
12971
12974
|
}
|
|
12972
|
-
function p(
|
|
12973
|
-
process.nextTick(f,
|
|
12975
|
+
function p(g) {
|
|
12976
|
+
process.nextTick(f, g);
|
|
12974
12977
|
}
|
|
12975
|
-
function h(
|
|
12978
|
+
function h(g, I) {
|
|
12976
12979
|
return function(C, y) {
|
|
12977
|
-
|
|
12978
|
-
if (
|
|
12980
|
+
g.then(function() {
|
|
12981
|
+
if (I[s]) {
|
|
12979
12982
|
C(d(void 0, !0));
|
|
12980
12983
|
return;
|
|
12981
12984
|
}
|
|
12982
|
-
|
|
12985
|
+
I[l](C, y);
|
|
12983
12986
|
}, y);
|
|
12984
12987
|
};
|
|
12985
12988
|
}
|
|
@@ -12989,7 +12992,7 @@ function requireAsync_iterator() {
|
|
|
12989
12992
|
return this[u];
|
|
12990
12993
|
},
|
|
12991
12994
|
next: function() {
|
|
12992
|
-
var
|
|
12995
|
+
var I = this, C = this[a];
|
|
12993
12996
|
if (C !== null)
|
|
12994
12997
|
return Promise.reject(C);
|
|
12995
12998
|
if (this[s])
|
|
@@ -12997,7 +13000,7 @@ function requireAsync_iterator() {
|
|
|
12997
13000
|
if (this[u].destroyed)
|
|
12998
13001
|
return new Promise(function(E, w) {
|
|
12999
13002
|
process.nextTick(function() {
|
|
13000
|
-
|
|
13003
|
+
I[a] ? w(I[a]) : E(d(void 0, !0));
|
|
13001
13004
|
});
|
|
13002
13005
|
});
|
|
13003
13006
|
var y = this[c], O;
|
|
@@ -13014,9 +13017,9 @@ function requireAsync_iterator() {
|
|
|
13014
13017
|
}, t(e, Symbol.asyncIterator, function() {
|
|
13015
13018
|
return this;
|
|
13016
13019
|
}), t(e, "return", function() {
|
|
13017
|
-
var
|
|
13020
|
+
var I = this;
|
|
13018
13021
|
return new Promise(function(C, y) {
|
|
13019
|
-
|
|
13022
|
+
I[u].destroy(null, function(O) {
|
|
13020
13023
|
if (O) {
|
|
13021
13024
|
y(O);
|
|
13022
13025
|
return;
|
|
@@ -13024,9 +13027,9 @@ function requireAsync_iterator() {
|
|
|
13024
13027
|
C(d(void 0, !0));
|
|
13025
13028
|
});
|
|
13026
13029
|
});
|
|
13027
|
-
}), e), m), x = function(
|
|
13030
|
+
}), e), m), x = function(I) {
|
|
13028
13031
|
var C, y = Object.create(v, (C = {}, t(C, u, {
|
|
13029
|
-
value:
|
|
13032
|
+
value: I,
|
|
13030
13033
|
writable: !0
|
|
13031
13034
|
}), t(C, r, {
|
|
13032
13035
|
value: null,
|
|
@@ -13038,7 +13041,7 @@ function requireAsync_iterator() {
|
|
|
13038
13041
|
value: null,
|
|
13039
13042
|
writable: !0
|
|
13040
13043
|
}), t(C, s, {
|
|
13041
|
-
value:
|
|
13044
|
+
value: I._readableState.endEmitted,
|
|
13042
13045
|
writable: !0
|
|
13043
13046
|
}), t(C, l, {
|
|
13044
13047
|
value: function(b, E) {
|
|
@@ -13047,7 +13050,7 @@ function requireAsync_iterator() {
|
|
|
13047
13050
|
},
|
|
13048
13051
|
writable: !0
|
|
13049
13052
|
}), C));
|
|
13050
|
-
return y[c] = null, n(
|
|
13053
|
+
return y[c] = null, n(I, function(O) {
|
|
13051
13054
|
if (O && O.code !== "ERR_STREAM_PREMATURE_CLOSE") {
|
|
13052
13055
|
var b = y[o];
|
|
13053
13056
|
b !== null && (y[c] = null, y[r] = null, y[o] = null, b(O)), y[a] = O;
|
|
@@ -13055,7 +13058,7 @@ function requireAsync_iterator() {
|
|
|
13055
13058
|
}
|
|
13056
13059
|
var E = y[r];
|
|
13057
13060
|
E !== null && (y[c] = null, y[r] = null, y[o] = null, E(d(void 0, !0))), y[s] = !0;
|
|
13058
|
-
}),
|
|
13061
|
+
}), I.on("readable", p.bind(null, y)), y;
|
|
13059
13062
|
};
|
|
13060
13063
|
return async_iterator = x, async_iterator;
|
|
13061
13064
|
}
|
|
@@ -13085,7 +13088,7 @@ function require_stream_readable() {
|
|
|
13085
13088
|
var c = require$$3, l;
|
|
13086
13089
|
c && c.debuglog ? l = c.debuglog("stream") : l = function() {
|
|
13087
13090
|
};
|
|
13088
|
-
var u = requireBuffer_list(), d = destroy_1, f = state, p = f.getHighWaterMark, h = errorsBrowser.codes, m = h.ERR_INVALID_ARG_TYPE, v = h.ERR_STREAM_PUSH_AFTER_EOF, x = h.ERR_METHOD_NOT_IMPLEMENTED,
|
|
13091
|
+
var u = requireBuffer_list(), d = destroy_1, f = state, p = f.getHighWaterMark, h = errorsBrowser.codes, m = h.ERR_INVALID_ARG_TYPE, v = h.ERR_STREAM_PUSH_AFTER_EOF, x = h.ERR_METHOD_NOT_IMPLEMENTED, g = h.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, I, C, y;
|
|
13089
13092
|
inherits_browser.exports(_, n);
|
|
13090
13093
|
var O = d.errorOrDestroy, b = ["error", "close", "destroy", "pause", "resume"];
|
|
13091
13094
|
function E(F, T, Y) {
|
|
@@ -13094,7 +13097,7 @@ function require_stream_readable() {
|
|
|
13094
13097
|
!F._events || !F._events[T] ? F.on(T, Y) : Array.isArray(F._events[T]) ? F._events[T].unshift(Y) : F._events[T] = [Y, F._events[T]];
|
|
13095
13098
|
}
|
|
13096
13099
|
function w(F, T, Y) {
|
|
13097
|
-
e = e || require_stream_duplex(), F = F || {}, typeof Y != "boolean" && (Y = T instanceof e), this.objectMode = !!F.objectMode, Y && (this.objectMode = this.objectMode || !!F.readableObjectMode), this.highWaterMark = p(this, F, "readableHighWaterMark", Y), this.buffer = new u(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = F.emitClose !== !1, this.autoDestroy = !!F.autoDestroy, this.destroyed = !1, this.defaultEncoding = F.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, F.encoding && (
|
|
13100
|
+
e = e || require_stream_duplex(), F = F || {}, typeof Y != "boolean" && (Y = T instanceof e), this.objectMode = !!F.objectMode, Y && (this.objectMode = this.objectMode || !!F.readableObjectMode), this.highWaterMark = p(this, F, "readableHighWaterMark", Y), this.buffer = new u(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = F.emitClose !== !1, this.autoDestroy = !!F.autoDestroy, this.destroyed = !1, this.defaultEncoding = F.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, F.encoding && (I || (I = requireString_decoder().StringDecoder), this.decoder = new I(F.encoding), this.encoding = F.encoding);
|
|
13098
13101
|
}
|
|
13099
13102
|
function _(F) {
|
|
13100
13103
|
if (e = e || require_stream_duplex(), !(this instanceof _))
|
|
@@ -13129,7 +13132,7 @@ function require_stream_readable() {
|
|
|
13129
13132
|
O(F, ee);
|
|
13130
13133
|
else if (J.objectMode || T && T.length > 0)
|
|
13131
13134
|
if (typeof T != "string" && !J.objectMode && Object.getPrototypeOf(T) !== r.prototype && (T = a(T)), Q)
|
|
13132
|
-
J.endEmitted ? O(F, new
|
|
13135
|
+
J.endEmitted ? O(F, new g()) : k(F, J, T, !0);
|
|
13133
13136
|
else if (J.ended)
|
|
13134
13137
|
O(F, new v());
|
|
13135
13138
|
else {
|
|
@@ -13152,8 +13155,8 @@ function require_stream_readable() {
|
|
|
13152
13155
|
_.prototype.isPaused = function() {
|
|
13153
13156
|
return this._readableState.flowing === !1;
|
|
13154
13157
|
}, _.prototype.setEncoding = function(F) {
|
|
13155
|
-
|
|
13156
|
-
var T = new
|
|
13158
|
+
I || (I = requireString_decoder().StringDecoder);
|
|
13159
|
+
var T = new I(F);
|
|
13157
13160
|
this._readableState.decoder = T, this._readableState.encoding = this._readableState.decoder.encoding;
|
|
13158
13161
|
for (var Y = this._readableState.buffer.head, Q = ""; Y !== null; )
|
|
13159
13162
|
Q += T.write(Y.data), Y = Y.next;
|
|
@@ -15713,8 +15716,8 @@ const Image = (e) => {
|
|
|
15713
15716
|
relation: m,
|
|
15714
15717
|
context: v,
|
|
15715
15718
|
readOnly: x,
|
|
15716
|
-
summaryField:
|
|
15717
|
-
titleField:
|
|
15719
|
+
summaryField: g,
|
|
15720
|
+
titleField: I
|
|
15718
15721
|
} = r, C = a.filter((w) => w.values), y = useContext(FormContext$1), {
|
|
15719
15722
|
getContext: O
|
|
15720
15723
|
} = y || {};
|
|
@@ -15769,7 +15772,7 @@ const Image = (e) => {
|
|
|
15769
15772
|
h(C.find((N) => w.id === N.id)), f(!0);
|
|
15770
15773
|
},
|
|
15771
15774
|
children: /* @__PURE__ */ jsx("strong", {
|
|
15772
|
-
children: (S = w.values) == null ? void 0 : S[
|
|
15775
|
+
children: (S = w.values) == null ? void 0 : S[I]
|
|
15773
15776
|
})
|
|
15774
15777
|
}), /* @__PURE__ */ jsx("br", {}), /* @__PURE__ */ jsx("div", {
|
|
15775
15778
|
style: {
|
|
@@ -15779,7 +15782,7 @@ const Image = (e) => {
|
|
|
15779
15782
|
onClick: () => {
|
|
15780
15783
|
h(C.find((N) => w.id === N.id)), f(!0);
|
|
15781
15784
|
},
|
|
15782
|
-
children: (k = w.values) == null ? void 0 : k[
|
|
15785
|
+
children: (k = w.values) == null ? void 0 : k[g]
|
|
15783
15786
|
})]
|
|
15784
15787
|
}, _)
|
|
15785
15788
|
}, _);
|
|
@@ -15975,12 +15978,12 @@ const transformPlainMany2Ones = ({
|
|
|
15975
15978
|
readOnly: m,
|
|
15976
15979
|
field: v
|
|
15977
15980
|
} = n, x = useContext(FormContext$1), {
|
|
15978
|
-
getContext:
|
|
15981
|
+
getContext: g
|
|
15979
15982
|
} = x || {};
|
|
15980
15983
|
useDeepCompareEffect(() => {
|
|
15981
15984
|
C();
|
|
15982
15985
|
}, [o]);
|
|
15983
|
-
const
|
|
15986
|
+
const I = (b) => {
|
|
15984
15987
|
r == null || r({
|
|
15985
15988
|
items: b
|
|
15986
15989
|
});
|
|
@@ -15996,6 +15999,7 @@ const transformPlainMany2Ones = ({
|
|
|
15996
15999
|
fields: x == null ? void 0 : x.getFields(),
|
|
15997
16000
|
values: x.getPlainValues()
|
|
15998
16001
|
}),
|
|
16002
|
+
fields: x == null ? void 0 : x.getFields(),
|
|
15999
16003
|
context: x.getContext()
|
|
16000
16004
|
});
|
|
16001
16005
|
b = [...b, ..._];
|
|
@@ -16005,7 +16009,7 @@ const transformPlainMany2Ones = ({
|
|
|
16005
16009
|
params: b,
|
|
16006
16010
|
fields: [v],
|
|
16007
16011
|
context: {
|
|
16008
|
-
...
|
|
16012
|
+
...g == null ? void 0 : g(),
|
|
16009
16013
|
...h
|
|
16010
16014
|
}
|
|
16011
16015
|
})).map((_) => {
|
|
@@ -16036,7 +16040,7 @@ const transformPlainMany2Ones = ({
|
|
|
16036
16040
|
id: _,
|
|
16037
16041
|
operation: "pendingLink"
|
|
16038
16042
|
});
|
|
16039
|
-
}),
|
|
16043
|
+
}), I(E);
|
|
16040
16044
|
}, O = (b) => {
|
|
16041
16045
|
const {
|
|
16042
16046
|
label: E,
|
|
@@ -16436,8 +16440,8 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
|
|
|
16436
16440
|
setSorter: m,
|
|
16437
16441
|
setCurrentItemIndex: v,
|
|
16438
16442
|
setResultsActionView: x,
|
|
16439
|
-
resultsActionView:
|
|
16440
|
-
domain:
|
|
16443
|
+
resultsActionView: g,
|
|
16444
|
+
domain: I,
|
|
16441
16445
|
currentId: C,
|
|
16442
16446
|
limit: y,
|
|
16443
16447
|
setLimit: O,
|
|
@@ -16445,12 +16449,12 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
|
|
|
16445
16449
|
setSearchValues: E
|
|
16446
16450
|
} = e, [w, _] = useState(!1), [S, k] = useState(!1), [N, D] = useState(), [M, L] = useState(1), [q, $] = useState(0), [B, U] = useState(), [G, z] = useState([]), [W, Z] = useState(void 0), V = useRef(y || DEFAULT_SEARCH_LIMIT$1), H = useRef([]), P = useCallback((J) => {
|
|
16447
16451
|
x == null || x([...J]), z([...J]);
|
|
16448
|
-
}, []), A = useCallback(() =>
|
|
16452
|
+
}, []), A = useCallback(() => g || G, [g, G]), j = useCallback(async () => {
|
|
16449
16453
|
const J = await ConnectionProvider.getHandler().nameSearch({
|
|
16450
16454
|
model: t,
|
|
16451
16455
|
payload: c,
|
|
16452
16456
|
limit: V.current,
|
|
16453
|
-
attrs:
|
|
16457
|
+
attrs: I,
|
|
16454
16458
|
context: u
|
|
16455
16459
|
});
|
|
16456
16460
|
if (U(J.length), d == null || d(J.length), J.length > 0) {
|
|
@@ -16480,7 +16484,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
|
|
|
16480
16484
|
c,
|
|
16481
16485
|
t,
|
|
16482
16486
|
u,
|
|
16483
|
-
|
|
16487
|
+
I,
|
|
16484
16488
|
f,
|
|
16485
16489
|
p,
|
|
16486
16490
|
h,
|
|
@@ -16488,7 +16492,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
|
|
|
16488
16492
|
d
|
|
16489
16493
|
]), K = useCallback(
|
|
16490
16494
|
async (J) => {
|
|
16491
|
-
const { params: ee, newOffset: oe } = J || {}, le = mergeParams(ee || b,
|
|
16495
|
+
const { params: ee, newOffset: oe } = J || {}, le = mergeParams(ee || b, I), { colors: ae } = getTree(f), { totalItems: pe, results: me, attrsEvaluated: ie } = await ConnectionProvider.getHandler().searchForTree({
|
|
16492
16496
|
params: le,
|
|
16493
16497
|
limit: V.current,
|
|
16494
16498
|
offset: oe || q,
|
|
@@ -16503,7 +16507,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
|
|
|
16503
16507
|
sorter: h,
|
|
16504
16508
|
fields: { ...f.fields, ...p.fields }
|
|
16505
16509
|
}) : [...H.current];
|
|
16506
|
-
if (P(de),
|
|
16510
|
+
if (P(de), g && de.length > 0) {
|
|
16507
16511
|
const he = de.findIndex(
|
|
16508
16512
|
(Ce) => C === Ce.id
|
|
16509
16513
|
);
|
|
@@ -16515,12 +16519,12 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
|
|
|
16515
16519
|
},
|
|
16516
16520
|
[
|
|
16517
16521
|
v,
|
|
16518
|
-
|
|
16522
|
+
g,
|
|
16519
16523
|
P,
|
|
16520
16524
|
C,
|
|
16521
16525
|
t,
|
|
16522
16526
|
u,
|
|
16523
|
-
|
|
16527
|
+
I,
|
|
16524
16528
|
f,
|
|
16525
16529
|
p,
|
|
16526
16530
|
h,
|
|
@@ -16542,13 +16546,13 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
|
|
|
16542
16546
|
[
|
|
16543
16547
|
u,
|
|
16544
16548
|
C,
|
|
16545
|
-
|
|
16549
|
+
I,
|
|
16546
16550
|
p,
|
|
16547
16551
|
y,
|
|
16548
16552
|
t,
|
|
16549
16553
|
c,
|
|
16550
16554
|
q,
|
|
16551
|
-
|
|
16555
|
+
g,
|
|
16552
16556
|
l,
|
|
16553
16557
|
d,
|
|
16554
16558
|
v,
|
|
@@ -16655,8 +16659,8 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
|
|
|
16655
16659
|
setCurrentItemIndex: m,
|
|
16656
16660
|
currentModel: v,
|
|
16657
16661
|
sorter: x,
|
|
16658
|
-
setSorter:
|
|
16659
|
-
totalItems:
|
|
16662
|
+
setSorter: g,
|
|
16663
|
+
totalItems: I,
|
|
16660
16664
|
setTotalItems: C,
|
|
16661
16665
|
setSelectedRowItems: y,
|
|
16662
16666
|
selectedRowItems: O,
|
|
@@ -16716,8 +16720,8 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
|
|
|
16716
16720
|
searchVisible: P,
|
|
16717
16721
|
setSearchVisible: A,
|
|
16718
16722
|
sorter: x,
|
|
16719
|
-
setSorter:
|
|
16720
|
-
totalItems:
|
|
16723
|
+
setSorter: g,
|
|
16724
|
+
totalItems: I,
|
|
16721
16725
|
setTotalItems: C,
|
|
16722
16726
|
searchTreeNameSearch: b,
|
|
16723
16727
|
setSearchTreeNameSearch: E,
|
|
@@ -16819,13 +16823,13 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
|
|
|
16819
16823
|
}
|
|
16820
16824
|
});
|
|
16821
16825
|
c(!0), a.current = !0, o.current = setInterval(() => {
|
|
16822
|
-
|
|
16826
|
+
g(G);
|
|
16823
16827
|
}, 1e3);
|
|
16824
16828
|
} catch (G) {
|
|
16825
16829
|
a.current = !1, clearInterval(o.current), showDialog$8(G), c(!1);
|
|
16826
16830
|
}
|
|
16827
16831
|
}
|
|
16828
|
-
async function
|
|
16832
|
+
async function g(E) {
|
|
16829
16833
|
let w;
|
|
16830
16834
|
try {
|
|
16831
16835
|
if (w = await ConnectionProvider.getHandler().getReport({
|
|
@@ -16839,7 +16843,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
|
|
|
16839
16843
|
a.current = !1, clearInterval(o.current), c(!1), showDialog$8(_.exception || _);
|
|
16840
16844
|
}
|
|
16841
16845
|
}
|
|
16842
|
-
async function
|
|
16846
|
+
async function I({
|
|
16843
16847
|
actionData: E,
|
|
16844
16848
|
fields: w,
|
|
16845
16849
|
values: _,
|
|
@@ -16895,6 +16899,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
|
|
|
16895
16899
|
...r
|
|
16896
16900
|
}
|
|
16897
16901
|
}),
|
|
16902
|
+
fields: w,
|
|
16898
16903
|
context: D
|
|
16899
16904
|
})), k.target === "new") {
|
|
16900
16905
|
const q = await ConnectionProvider.getHandler().getView({
|
|
@@ -17001,7 +17006,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
|
|
|
17001
17006
|
return /* @__PURE__ */ jsx(Fragment, {
|
|
17002
17007
|
children: /* @__PURE__ */ jsx(ContentRootContext.Provider, {
|
|
17003
17008
|
value: {
|
|
17004
|
-
processAction:
|
|
17009
|
+
processAction: I,
|
|
17005
17010
|
globalValues: r
|
|
17006
17011
|
},
|
|
17007
17012
|
children: /* @__PURE__ */ jsxs(Fragment, {
|
|
@@ -17055,8 +17060,8 @@ function Form(e, t) {
|
|
|
17055
17060
|
formView: m,
|
|
17056
17061
|
postSaveAction: v,
|
|
17057
17062
|
insideButtonModal: x = !1,
|
|
17058
|
-
parentContext:
|
|
17059
|
-
actionDomain:
|
|
17063
|
+
parentContext: g = {},
|
|
17064
|
+
actionDomain: I,
|
|
17060
17065
|
visible: C = !0,
|
|
17061
17066
|
rootForm: y = !1,
|
|
17062
17067
|
defaultValues: O,
|
|
@@ -17139,7 +17144,7 @@ function Form(e, t) {
|
|
|
17139
17144
|
}
|
|
17140
17145
|
function Te() {
|
|
17141
17146
|
return {
|
|
17142
|
-
...
|
|
17147
|
+
...g,
|
|
17143
17148
|
...N == null ? void 0 : N.context
|
|
17144
17149
|
};
|
|
17145
17150
|
}
|
|
@@ -17158,7 +17163,7 @@ function Form(e, t) {
|
|
|
17158
17163
|
model: n,
|
|
17159
17164
|
fields: re,
|
|
17160
17165
|
context: {
|
|
17161
|
-
...
|
|
17166
|
+
...g,
|
|
17162
17167
|
...te
|
|
17163
17168
|
},
|
|
17164
17169
|
extraValues: O
|
|
@@ -17214,8 +17219,8 @@ function Form(e, t) {
|
|
|
17214
17219
|
} = await Ne({
|
|
17215
17220
|
fields: ue,
|
|
17216
17221
|
arch: fe
|
|
17217
|
-
}),
|
|
17218
|
-
...getValuesForDomain(
|
|
17222
|
+
}), I && (te = {
|
|
17223
|
+
...getValuesForDomain(I),
|
|
17219
17224
|
...te
|
|
17220
17225
|
}), H.current = processValues(te, ue), Ae({
|
|
17221
17226
|
values: te,
|
|
@@ -17246,13 +17251,13 @@ function Form(e, t) {
|
|
|
17246
17251
|
const re = await ConnectionProvider.getHandler().getActionStringForModel(n);
|
|
17247
17252
|
return (await ConnectionProvider.getHandler().getViewsForAction({
|
|
17248
17253
|
action: re,
|
|
17249
|
-
context:
|
|
17254
|
+
context: g
|
|
17250
17255
|
})).views.get("form");
|
|
17251
17256
|
}
|
|
17252
17257
|
return await ConnectionProvider.getHandler().getView({
|
|
17253
17258
|
model: n,
|
|
17254
17259
|
type: "form",
|
|
17255
|
-
context:
|
|
17260
|
+
context: g
|
|
17256
17261
|
});
|
|
17257
17262
|
}, Ae = ({
|
|
17258
17263
|
values: re,
|
|
@@ -17282,7 +17287,7 @@ function Form(e, t) {
|
|
|
17282
17287
|
model: n,
|
|
17283
17288
|
ids: [de()],
|
|
17284
17289
|
fields: re,
|
|
17285
|
-
context:
|
|
17290
|
+
context: g
|
|
17286
17291
|
}))[0];
|
|
17287
17292
|
const xe = await ConnectionProvider.getHandler().search({
|
|
17288
17293
|
params: [["res_model", "=", n], ["res_id", "=", de()]],
|
|
@@ -17316,7 +17321,7 @@ function Form(e, t) {
|
|
|
17316
17321
|
},
|
|
17317
17322
|
fields: $,
|
|
17318
17323
|
context: {
|
|
17319
|
-
...
|
|
17324
|
+
...g,
|
|
17320
17325
|
...N == null ? void 0 : N.context
|
|
17321
17326
|
}
|
|
17322
17327
|
}), H.current = ge($);
|
|
@@ -17329,7 +17334,7 @@ function Form(e, t) {
|
|
|
17329
17334
|
},
|
|
17330
17335
|
fields: $,
|
|
17331
17336
|
context: {
|
|
17332
|
-
...
|
|
17337
|
+
...g,
|
|
17333
17338
|
...N == null ? void 0 : N.context
|
|
17334
17339
|
}
|
|
17335
17340
|
});
|
|
@@ -17422,7 +17427,7 @@ function Form(e, t) {
|
|
|
17422
17427
|
values: {
|
|
17423
17428
|
...ge($),
|
|
17424
17429
|
context: {
|
|
17425
|
-
...
|
|
17430
|
+
...g,
|
|
17426
17431
|
...N == null ? void 0 : N.context
|
|
17427
17432
|
}
|
|
17428
17433
|
},
|
|
@@ -17481,7 +17486,7 @@ function Form(e, t) {
|
|
|
17481
17486
|
context: {
|
|
17482
17487
|
...te,
|
|
17483
17488
|
...N == null ? void 0 : N.context,
|
|
17484
|
-
...
|
|
17489
|
+
...g
|
|
17485
17490
|
}
|
|
17486
17491
|
});
|
|
17487
17492
|
if (typeof ue == "object" && ue !== null && Object.keys(ue).length === 0 && x)
|
|
@@ -17521,7 +17526,7 @@ function Form(e, t) {
|
|
|
17521
17526
|
const ue = (await ConnectionProvider.getHandler().readObjects({
|
|
17522
17527
|
model: "ir.actions.actions",
|
|
17523
17528
|
ids: [parseInt(re)],
|
|
17524
|
-
context:
|
|
17529
|
+
context: g
|
|
17525
17530
|
}))[0];
|
|
17526
17531
|
await $e({
|
|
17527
17532
|
actionData: ue,
|
|
@@ -17539,7 +17544,7 @@ function Form(e, t) {
|
|
|
17539
17544
|
fields: $,
|
|
17540
17545
|
values: he(),
|
|
17541
17546
|
context: {
|
|
17542
|
-
...
|
|
17547
|
+
...g,
|
|
17543
17548
|
...N == null ? void 0 : N.context,
|
|
17544
17549
|
...te
|
|
17545
17550
|
},
|
|
@@ -17588,7 +17593,7 @@ function Form(e, t) {
|
|
|
17588
17593
|
getValues: he,
|
|
17589
17594
|
getPlainValues: Ce,
|
|
17590
17595
|
getFields: Ie,
|
|
17591
|
-
domain:
|
|
17596
|
+
domain: I,
|
|
17592
17597
|
activeId: r,
|
|
17593
17598
|
activeModel: n,
|
|
17594
17599
|
setFieldValue: ye,
|
|
@@ -17688,7 +17693,7 @@ const Form$1 = forwardRef(Form), FormModal = (e) => {
|
|
|
17688
17693
|
});
|
|
17689
17694
|
h(E !== !1), E !== !1 && v(E);
|
|
17690
17695
|
}
|
|
17691
|
-
async function
|
|
17696
|
+
async function g() {
|
|
17692
17697
|
if (p && m)
|
|
17693
17698
|
await ConnectionProvider.getHandler().removeFavourite({
|
|
17694
17699
|
shortcut_id: m
|
|
@@ -17709,7 +17714,7 @@ const Form$1 = forwardRef(Form), FormModal = (e) => {
|
|
|
17709
17714
|
}
|
|
17710
17715
|
h(!p);
|
|
17711
17716
|
}
|
|
17712
|
-
function
|
|
17717
|
+
function I() {
|
|
17713
17718
|
return /* @__PURE__ */ jsxs(Row, {
|
|
17714
17719
|
align: "middle",
|
|
17715
17720
|
children: [/* @__PURE__ */ jsx(Col, {
|
|
@@ -17723,7 +17728,7 @@ const Form$1 = forwardRef(Form), FormModal = (e) => {
|
|
|
17723
17728
|
style: {
|
|
17724
17729
|
width: 30
|
|
17725
17730
|
},
|
|
17726
|
-
onClick:
|
|
17731
|
+
onClick: g
|
|
17727
17732
|
})
|
|
17728
17733
|
}), /* @__PURE__ */ jsx(Col, {
|
|
17729
17734
|
style: {
|
|
@@ -17736,7 +17741,7 @@ const Form$1 = forwardRef(Form), FormModal = (e) => {
|
|
|
17736
17741
|
return /* @__PURE__ */ jsx(FormModalProvider, {
|
|
17737
17742
|
setTitle: f,
|
|
17738
17743
|
children: /* @__PURE__ */ jsx(Modal, {
|
|
17739
|
-
title: s ?
|
|
17744
|
+
title: s ? I() : d,
|
|
17740
17745
|
centered: !0,
|
|
17741
17746
|
width: u,
|
|
17742
17747
|
visible: t,
|
|
@@ -18125,14 +18130,14 @@ function SearchFilter(e) {
|
|
|
18125
18130
|
searchError: f,
|
|
18126
18131
|
searchValues: p,
|
|
18127
18132
|
showLimitOptions: h = !0
|
|
18128
|
-
} = e, [m, v] = useState(), [x,
|
|
18133
|
+
} = e, [m, v] = useState(), [x, g] = useState(), [I, C] = useState(!1), [y] = Form$3.useForm();
|
|
18129
18134
|
useEffect(() => {
|
|
18130
18135
|
y.setFieldsValue(p);
|
|
18131
18136
|
}, [p]);
|
|
18132
18137
|
const O = () => {
|
|
18133
18138
|
if (!x)
|
|
18134
18139
|
return;
|
|
18135
|
-
const w =
|
|
18140
|
+
const w = I ? x : m, _ = w == null ? void 0 : w.rows;
|
|
18136
18141
|
return _ == null ? void 0 : _.map((S, k) => /* @__PURE__ */ jsx(Row, {
|
|
18137
18142
|
children: S.map((N, D) => /* @__PURE__ */ jsx(Col, {
|
|
18138
18143
|
xs: 24,
|
|
@@ -18147,7 +18152,7 @@ function SearchFilter(e) {
|
|
|
18147
18152
|
useDeepCompareEffect(() => {
|
|
18148
18153
|
C(!1);
|
|
18149
18154
|
const w = new SearchFilter$1(n, t);
|
|
18150
|
-
w.parse(), v(w._simpleSearchContainer),
|
|
18155
|
+
w.parse(), v(w._simpleSearchContainer), g(w._advancedSearchContainer);
|
|
18151
18156
|
}, [t, n]);
|
|
18152
18157
|
const b = O(), E = (w) => {
|
|
18153
18158
|
const {
|
|
@@ -18185,12 +18190,12 @@ function SearchFilter(e) {
|
|
|
18185
18190
|
offset: s,
|
|
18186
18191
|
limit: c
|
|
18187
18192
|
},
|
|
18188
|
-
children: [b,
|
|
18193
|
+
children: [b, I && h && /* @__PURE__ */ jsx(SearchParams, {
|
|
18189
18194
|
onLimitChange: l
|
|
18190
18195
|
}), /* @__PURE__ */ jsx(SearchBottomBar, {
|
|
18191
|
-
advancedFilter:
|
|
18196
|
+
advancedFilter: I,
|
|
18192
18197
|
onAdvancedFilterToggle: () => {
|
|
18193
|
-
C(!
|
|
18198
|
+
C(!I);
|
|
18194
18199
|
},
|
|
18195
18200
|
onClear: () => {
|
|
18196
18201
|
y.resetFields(), r();
|
|
@@ -18248,9 +18253,9 @@ const Many2oneSuffixModal = (e) => {
|
|
|
18248
18253
|
t: m
|
|
18249
18254
|
} = useContext(LocaleContext), v = useContext(TabManagerContext), {
|
|
18250
18255
|
openRelate: x
|
|
18251
|
-
} = v || {},
|
|
18252
|
-
processAction:
|
|
18253
|
-
} =
|
|
18256
|
+
} = v || {}, g = useContext(ContentRootContext), {
|
|
18257
|
+
processAction: I
|
|
18258
|
+
} = g || {};
|
|
18254
18259
|
if (!t)
|
|
18255
18260
|
return null;
|
|
18256
18261
|
async function C() {
|
|
@@ -18335,7 +18340,7 @@ const Many2oneSuffixModal = (e) => {
|
|
|
18335
18340
|
}
|
|
18336
18341
|
}
|
|
18337
18342
|
function b(S) {
|
|
18338
|
-
a(!1),
|
|
18343
|
+
a(!1), I == null || I({
|
|
18339
18344
|
actionData: S,
|
|
18340
18345
|
values: p,
|
|
18341
18346
|
fields: d.fields,
|
|
@@ -18346,7 +18351,7 @@ const Many2oneSuffixModal = (e) => {
|
|
|
18346
18351
|
});
|
|
18347
18352
|
}
|
|
18348
18353
|
function E(S) {
|
|
18349
|
-
c(!1),
|
|
18354
|
+
c(!1), I == null || I({
|
|
18350
18355
|
actionData: {
|
|
18351
18356
|
...S,
|
|
18352
18357
|
datas: {
|
|
@@ -18535,7 +18540,7 @@ function Tree(e) {
|
|
|
18535
18540
|
sorter: m,
|
|
18536
18541
|
onFetchChildrenForRecord: v,
|
|
18537
18542
|
childField: x
|
|
18538
|
-
} = e, [
|
|
18543
|
+
} = e, [g, I] = useState([]), [C, y] = useState([]), O = useRef(!1), b = useRef(null), {
|
|
18539
18544
|
t: E
|
|
18540
18545
|
} = useContext(LocaleContext), w = useRef(n);
|
|
18541
18546
|
useEffect(() => {
|
|
@@ -18556,9 +18561,9 @@ function Tree(e) {
|
|
|
18556
18561
|
}, [o]), useEffect(() => {
|
|
18557
18562
|
O.current = !1;
|
|
18558
18563
|
const q = getTableItems(b.current, a);
|
|
18559
|
-
|
|
18564
|
+
I(q), w.current = n;
|
|
18560
18565
|
}, [a]);
|
|
18561
|
-
const _ = (t - 1) * w.current + 1, S = _ - 1 +
|
|
18566
|
+
const _ = (t - 1) * w.current + 1, S = _ - 1 + g.length, k = r === void 0 ? null : r === 0 ? E("no_results") : E("summary").replace("{from}", _ == null ? void 0 : _.toString()).replace("{to}", S == null ? void 0 : S.toString()).replace("{total}", r == null ? void 0 : r.toString()), N = () => !u || o.isExpandable || c ? null : r === void 0 ? /* @__PURE__ */ jsx(Spin, {}) : /* @__PURE__ */ jsxs(Row, {
|
|
18562
18567
|
align: "bottom",
|
|
18563
18568
|
className: "pb-4",
|
|
18564
18569
|
children: [/* @__PURE__ */ jsx(Col, {
|
|
@@ -18584,7 +18589,7 @@ function Tree(e) {
|
|
|
18584
18589
|
}));
|
|
18585
18590
|
if (!$ || $.length === 0)
|
|
18586
18591
|
return null;
|
|
18587
|
-
let B = [], U = ((G = d == null ? void 0 : d.selectedRowKeys) == null ? void 0 : G.length) > 0 ?
|
|
18592
|
+
let B = [], U = ((G = d == null ? void 0 : d.selectedRowKeys) == null ? void 0 : G.length) > 0 ? g.filter((z) => d == null ? void 0 : d.selectedRowKeys.includes(z.id)) : g;
|
|
18588
18593
|
return $.forEach((z) => {
|
|
18589
18594
|
const W = U.reduce((Z, V) => V[z.field] && !isNaN(V[z.field]) ? Z + V[z.field] : Z, 0);
|
|
18590
18595
|
B.push(`${z.label}: ${Math.round(W * 100) / 100}`);
|
|
@@ -18595,7 +18600,7 @@ function Tree(e) {
|
|
|
18595
18600
|
}
|
|
18596
18601
|
let M, L = f;
|
|
18597
18602
|
if (b.current !== null) {
|
|
18598
|
-
M = calculateColumnsWidth(C,
|
|
18603
|
+
M = calculateColumnsWidth(C, g, 600);
|
|
18599
18604
|
const $ = b.current;
|
|
18600
18605
|
f && $.columns.some((B) => B.sum !== void 0) && (L = f - 30);
|
|
18601
18606
|
}
|
|
@@ -18607,7 +18612,7 @@ function Tree(e) {
|
|
|
18607
18612
|
children: [N(), /* @__PURE__ */ jsx(Table, {
|
|
18608
18613
|
height: L,
|
|
18609
18614
|
columns: M.columns,
|
|
18610
|
-
dataSource:
|
|
18615
|
+
dataSource: g,
|
|
18611
18616
|
loading: c,
|
|
18612
18617
|
loadingComponent: /* @__PURE__ */ jsx(Spin, {}),
|
|
18613
18618
|
onRowStyle: (q) => {
|
|
@@ -18643,7 +18648,7 @@ function SearchTree(e, t) {
|
|
|
18643
18648
|
rootTree: d = !1,
|
|
18644
18649
|
parentContext: f = {},
|
|
18645
18650
|
onChangeSelectedRowKeys: p
|
|
18646
|
-
} = e, [h, m] = useState(!1), [v, x] = useState(!1),
|
|
18651
|
+
} = e, [h, m] = useState(!1), [v, x] = useState(!1), g = useRef(!1), [I, C] = useState(), [y, O] = useState(), [b, E] = useState(), [w, _] = useState(), [S, k] = useState(200), N = useRef(), {
|
|
18647
18652
|
height: D
|
|
18648
18653
|
} = useWindowDimensions(), M = useContext(ContentRootContext), {
|
|
18649
18654
|
processAction: L
|
|
@@ -18683,7 +18688,7 @@ function SearchTree(e, t) {
|
|
|
18683
18688
|
colorsForResults: ve,
|
|
18684
18689
|
totalItems: Te
|
|
18685
18690
|
} = useSearch({
|
|
18686
|
-
model:
|
|
18691
|
+
model: I,
|
|
18687
18692
|
setSearchTreeNameSearch: X,
|
|
18688
18693
|
setSelectedRowItems: W,
|
|
18689
18694
|
setSearchParams: V,
|
|
@@ -18692,7 +18697,7 @@ function SearchTree(e, t) {
|
|
|
18692
18697
|
setSearchVisible: P,
|
|
18693
18698
|
setTreeIsLoading: F,
|
|
18694
18699
|
nameSearch: s,
|
|
18695
|
-
searchNameGetDoneRef:
|
|
18700
|
+
searchNameGetDoneRef: g,
|
|
18696
18701
|
context: f,
|
|
18697
18702
|
formView: b,
|
|
18698
18703
|
treeView: y,
|
|
@@ -18709,10 +18714,10 @@ function SearchTree(e, t) {
|
|
|
18709
18714
|
});
|
|
18710
18715
|
useImperativeHandle(t, () => ({
|
|
18711
18716
|
refreshResults: () => {
|
|
18712
|
-
|
|
18717
|
+
g.current = !1, oe();
|
|
18713
18718
|
}
|
|
18714
18719
|
})), useEffect(() => {
|
|
18715
|
-
!v || u && (
|
|
18720
|
+
!v || u && (g.current = !1, oe());
|
|
18716
18721
|
}, [me, ie, v, u, s]);
|
|
18717
18722
|
const be = async () => {
|
|
18718
18723
|
x(!1), m(!0), _(void 0), F == null || F(!0);
|
|
@@ -18749,7 +18754,7 @@ function SearchTree(e, t) {
|
|
|
18749
18754
|
} = we;
|
|
18750
18755
|
N.current || (N.current = await ConnectionProvider.getHandler().treeButOpen({
|
|
18751
18756
|
id: y.view_id,
|
|
18752
|
-
model:
|
|
18757
|
+
model: I,
|
|
18753
18758
|
context: f
|
|
18754
18759
|
}));
|
|
18755
18760
|
const Ee = N.current[0][2];
|
|
@@ -18776,7 +18781,7 @@ function SearchTree(e, t) {
|
|
|
18776
18781
|
}
|
|
18777
18782
|
a({
|
|
18778
18783
|
id: _e,
|
|
18779
|
-
model:
|
|
18784
|
+
model: I,
|
|
18780
18785
|
formView: b,
|
|
18781
18786
|
treeView: y
|
|
18782
18787
|
});
|
|
@@ -18860,14 +18865,14 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
|
|
|
18860
18865
|
} = C;
|
|
18861
18866
|
r([y]);
|
|
18862
18867
|
};
|
|
18863
|
-
function
|
|
18868
|
+
function g() {
|
|
18864
18869
|
if (h.length === 0) {
|
|
18865
18870
|
v();
|
|
18866
18871
|
return;
|
|
18867
18872
|
}
|
|
18868
18873
|
r(h);
|
|
18869
18874
|
}
|
|
18870
|
-
const
|
|
18875
|
+
const I = () => /* @__PURE__ */ jsxs(Fragment, {
|
|
18871
18876
|
children: [/* @__PURE__ */ jsx(SearchTree$1, {
|
|
18872
18877
|
model: o,
|
|
18873
18878
|
nameSearch: a,
|
|
@@ -18890,7 +18895,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
|
|
|
18890
18895
|
}), /* @__PURE__ */ jsx(Button$1, {
|
|
18891
18896
|
icon: /* @__PURE__ */ jsx(CheckOutlined$3, {}),
|
|
18892
18897
|
onClick: () => {
|
|
18893
|
-
|
|
18898
|
+
g();
|
|
18894
18899
|
},
|
|
18895
18900
|
type: "primary",
|
|
18896
18901
|
children: p("ok")
|
|
@@ -18913,7 +18918,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
|
|
|
18913
18918
|
footer: null,
|
|
18914
18919
|
destroyOnClose: !0,
|
|
18915
18920
|
maskClosable: !1,
|
|
18916
|
-
children:
|
|
18921
|
+
children: I()
|
|
18917
18922
|
}), /* @__PURE__ */ jsx(FormModal, {
|
|
18918
18923
|
model: o,
|
|
18919
18924
|
visible: l,
|
|
@@ -18969,7 +18974,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
|
|
|
18969
18974
|
context: c,
|
|
18970
18975
|
id: l,
|
|
18971
18976
|
domain: u
|
|
18972
|
-
} = r, d = o && !s ? Config.requiredClass : void 0, [f, p] = useState(!1), [h, m] = useState(!1), [v, x] = useState(!1), [
|
|
18977
|
+
} = r, d = o && !s ? Config.requiredClass : void 0, [f, p] = useState(!1), [h, m] = useState(!1), [v, x] = useState(!1), [g, I] = useState(), C = useRef(!1), [y, O] = useState(""), b = useRef(), E = useContext(FormContext$1), {
|
|
18973
18978
|
domain: w,
|
|
18974
18979
|
getValues: _,
|
|
18975
18980
|
getFields: S,
|
|
@@ -19024,10 +19029,10 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
|
|
|
19024
19029
|
},
|
|
19025
19030
|
totalItems: 2
|
|
19026
19031
|
});
|
|
19027
|
-
j.length === 1 ? Z(j[0], !0) : (
|
|
19032
|
+
j.length === 1 ? Z(j[0], !0) : (I(A), p(!0));
|
|
19028
19033
|
return;
|
|
19029
19034
|
}
|
|
19030
|
-
|
|
19035
|
+
I(A), p(!0);
|
|
19031
19036
|
}, Z = async (A, j) => {
|
|
19032
19037
|
x(!0);
|
|
19033
19038
|
try {
|
|
@@ -19054,6 +19059,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
|
|
|
19054
19059
|
fields: S(),
|
|
19055
19060
|
values: _()
|
|
19056
19061
|
}),
|
|
19062
|
+
fields: S(),
|
|
19057
19063
|
context: k()
|
|
19058
19064
|
})), w && w.length > 0 && (M.current = M.current.concat(transformDomainForChildWidget({
|
|
19059
19065
|
domain: w,
|
|
@@ -19113,7 +19119,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
|
|
|
19113
19119
|
...c
|
|
19114
19120
|
},
|
|
19115
19121
|
visible: f,
|
|
19116
|
-
nameSearch: $ ? void 0 :
|
|
19122
|
+
nameSearch: $ ? void 0 : g,
|
|
19117
19123
|
onSelectValues: (A) => {
|
|
19118
19124
|
p(!1), Z(A[0]), C.current = !1, b.current = void 0;
|
|
19119
19125
|
},
|
|
@@ -19575,15 +19581,15 @@ function requireTransButton() {
|
|
|
19575
19581
|
}, h = function(y) {
|
|
19576
19582
|
var O = y.keyCode, b = d.onClick;
|
|
19577
19583
|
O === a.default.ENTER && b && b();
|
|
19578
|
-
}, m = d.style, v = d.noStyle, x = d.disabled,
|
|
19579
|
-
return v || (
|
|
19584
|
+
}, m = d.style, v = d.noStyle, x = d.disabled, g = s(d, ["style", "noStyle", "disabled"]), I = {};
|
|
19585
|
+
return v || (I = (0, r.default)({}, c)), x && (I.pointerEvents = "none"), I = (0, r.default)((0, r.default)({}, I), m), /* @__PURE__ */ o.createElement("div", (0, r.default)({
|
|
19580
19586
|
role: "button",
|
|
19581
19587
|
tabIndex: 0,
|
|
19582
19588
|
ref: f
|
|
19583
|
-
},
|
|
19589
|
+
}, g, {
|
|
19584
19590
|
onKeyDown: p,
|
|
19585
19591
|
onKeyUp: h,
|
|
19586
|
-
style:
|
|
19592
|
+
style: I
|
|
19587
19593
|
}));
|
|
19588
19594
|
}), u = l;
|
|
19589
19595
|
e.default = u;
|
|
@@ -19967,13 +19973,13 @@ function setLeftTop(e, t, n) {
|
|
|
19967
19973
|
m === h ? p[m] = v + x : p[m] = v - x;
|
|
19968
19974
|
}
|
|
19969
19975
|
css(e, p), forceRelayout(e), ("left" in t || "top" in t) && setTransitionProperty(e, u);
|
|
19970
|
-
var
|
|
19971
|
-
for (var
|
|
19972
|
-
if (t.hasOwnProperty(
|
|
19973
|
-
var C = getOffsetDirection(
|
|
19974
|
-
|
|
19976
|
+
var g = {};
|
|
19977
|
+
for (var I in t)
|
|
19978
|
+
if (t.hasOwnProperty(I)) {
|
|
19979
|
+
var C = getOffsetDirection(I, n), y = t[I] - d[I];
|
|
19980
|
+
I === C ? g[C] = p[C] + y : g[C] = p[C] - y;
|
|
19975
19981
|
}
|
|
19976
|
-
css(e,
|
|
19982
|
+
css(e, g);
|
|
19977
19983
|
}
|
|
19978
19984
|
function setTransform$1(e, t) {
|
|
19979
19985
|
var n = getOffset(e), r = getTransformXY(e), o = {
|
|
@@ -20178,12 +20184,12 @@ function getVisibleRectForElement(e, t) {
|
|
|
20178
20184
|
var d = utils.css(e, "position");
|
|
20179
20185
|
d === "absolute" && (e.style.position = "fixed");
|
|
20180
20186
|
}
|
|
20181
|
-
var f = utils.getWindowScrollLeft(a), p = utils.getWindowScrollTop(a), h = utils.viewportWidth(a), m = utils.viewportHeight(a), v = c.scrollWidth, x = c.scrollHeight,
|
|
20182
|
-
if (
|
|
20187
|
+
var f = utils.getWindowScrollLeft(a), p = utils.getWindowScrollTop(a), h = utils.viewportWidth(a), m = utils.viewportHeight(a), v = c.scrollWidth, x = c.scrollHeight, g = window.getComputedStyle(s);
|
|
20188
|
+
if (g.overflowX === "hidden" && (v = a.innerWidth), g.overflowY === "hidden" && (x = a.innerHeight), e.style && (e.style.position = u), t || isAncestorFixed(e))
|
|
20183
20189
|
n.left = Math.max(n.left, f), n.top = Math.max(n.top, p), n.right = Math.min(n.right, f + h), n.bottom = Math.min(n.bottom, p + m);
|
|
20184
20190
|
else {
|
|
20185
|
-
var
|
|
20186
|
-
n.right = Math.min(n.right,
|
|
20191
|
+
var I = Math.max(v, f + h);
|
|
20192
|
+
n.right = Math.min(n.right, I);
|
|
20187
20193
|
var C = Math.max(x, p + m);
|
|
20188
20194
|
n.bottom = Math.min(n.bottom, C);
|
|
20189
20195
|
}
|
|
@@ -20264,8 +20270,8 @@ function doAlign(e, t, n, r) {
|
|
|
20264
20270
|
var x = flip(o, /[lr]/gi, {
|
|
20265
20271
|
l: "r",
|
|
20266
20272
|
r: "l"
|
|
20267
|
-
}),
|
|
20268
|
-
isCompleteFailX(C, h, p) || (d = 1, o = x, a =
|
|
20273
|
+
}), g = flipOffset(a, 0), I = flipOffset(s, 0), C = getElFuturePos(h, t, x, g, I);
|
|
20274
|
+
isCompleteFailX(C, h, p) || (d = 1, o = x, a = g, s = I);
|
|
20269
20275
|
}
|
|
20270
20276
|
if (c.adjustY && isFailY(m, h, p)) {
|
|
20271
20277
|
var y = flip(o, /[tb]/gi, {
|
|
@@ -20390,7 +20396,7 @@ var Align = function e(t, n) {
|
|
|
20390
20396
|
return N && isVisible(N) ? k = alignElement(S, N, s) : D && (k = alignPoint(S, D, s)), restoreFocus(L, S), _ && k && _(S, k), !0;
|
|
20391
20397
|
}
|
|
20392
20398
|
return !1;
|
|
20393
|
-
}, d), x = _slicedToArray(v, 2),
|
|
20399
|
+
}, d), x = _slicedToArray(v, 2), g = x[0], I = x[1], C = React__default.useRef({
|
|
20394
20400
|
cancel: function() {
|
|
20395
20401
|
}
|
|
20396
20402
|
}), y = React__default.useRef({
|
|
@@ -20399,21 +20405,21 @@ var Align = function e(t, n) {
|
|
|
20399
20405
|
});
|
|
20400
20406
|
React__default.useEffect(function() {
|
|
20401
20407
|
var b = getElement(a), E = getPoint(a);
|
|
20402
|
-
p.current !== y.current.element && (y.current.cancel(), y.current.element = p.current, y.current.cancel = monitorResize(p.current,
|
|
20408
|
+
p.current !== y.current.element && (y.current.cancel(), y.current.element = p.current, y.current.cancel = monitorResize(p.current, g)), (f.current.element !== b || !isSamePoint(f.current.point, E)) && (g(), C.current.element !== b && (C.current.cancel(), C.current.element = b, C.current.cancel = monitorResize(b, g)));
|
|
20403
20409
|
}), React__default.useEffect(function() {
|
|
20404
|
-
o ?
|
|
20410
|
+
o ? I() : g();
|
|
20405
20411
|
}, [o]);
|
|
20406
20412
|
var O = React__default.useRef(null);
|
|
20407
20413
|
return React__default.useEffect(function() {
|
|
20408
|
-
l ? O.current || (O.current = addEventListenerWrap(window, "resize",
|
|
20414
|
+
l ? O.current || (O.current = addEventListenerWrap(window, "resize", g)) : O.current && (O.current.remove(), O.current = null);
|
|
20409
20415
|
}, [l]), React__default.useEffect(function() {
|
|
20410
20416
|
return function() {
|
|
20411
|
-
C.current.cancel(), y.current.cancel(), O.current && O.current.remove(),
|
|
20417
|
+
C.current.cancel(), y.current.cancel(), O.current && O.current.remove(), I();
|
|
20412
20418
|
};
|
|
20413
20419
|
}, []), React__default.useImperativeHandle(n, function() {
|
|
20414
20420
|
return {
|
|
20415
20421
|
forceAlign: function() {
|
|
20416
|
-
return
|
|
20422
|
+
return g(!0);
|
|
20417
20423
|
}
|
|
20418
20424
|
};
|
|
20419
20425
|
}), React__default.isValidElement(h) && (h = React__default.cloneElement(h, {
|
|
@@ -20491,7 +20497,7 @@ const useVisibleStatus = function(e, t) {
|
|
|
20491
20497
|
return [s, a];
|
|
20492
20498
|
};
|
|
20493
20499
|
var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, t) {
|
|
20494
|
-
var n = e.visible, r = e.prefixCls, o = e.className, a = e.style, s = e.children, c = e.zIndex, l = e.stretch, u = e.destroyPopupOnHide, d = e.align, f = e.point, p = e.getRootDomNode, h = e.getClassNameFromAlign, m = e.onAlign, v = e.onMouseEnter, x = e.onMouseLeave,
|
|
20500
|
+
var n = e.visible, r = e.prefixCls, o = e.className, a = e.style, s = e.children, c = e.zIndex, l = e.stretch, u = e.destroyPopupOnHide, d = e.align, f = e.point, p = e.getRootDomNode, h = e.getClassNameFromAlign, m = e.onAlign, v = e.onMouseEnter, x = e.onMouseLeave, g = e.onMouseDown, I = e.onTouchStart, C = useRef(), y = useRef(), O = useState(), b = _slicedToArray(O, 2), E = b[0], w = b[1], _ = useStretchStyle(l), S = _slicedToArray(_, 2), k = S[0], N = S[1];
|
|
20495
20501
|
function D() {
|
|
20496
20502
|
l && N(p());
|
|
20497
20503
|
}
|
|
@@ -20569,8 +20575,8 @@ var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, t) {
|
|
|
20569
20575
|
className: F,
|
|
20570
20576
|
onMouseEnter: v,
|
|
20571
20577
|
onMouseLeave: x,
|
|
20572
|
-
onMouseDown:
|
|
20573
|
-
onTouchStart:
|
|
20578
|
+
onMouseDown: g,
|
|
20579
|
+
onTouchStart: I,
|
|
20574
20580
|
style: _objectSpread2$1(_objectSpread2$1({}, X), V),
|
|
20575
20581
|
children: P
|
|
20576
20582
|
})
|
|
@@ -20604,11 +20610,11 @@ var MobilePopupInner = /* @__PURE__ */ React.forwardRef(function(e, t) {
|
|
|
20604
20610
|
removeOnLeave: !0,
|
|
20605
20611
|
...d,
|
|
20606
20612
|
children: function(v, x) {
|
|
20607
|
-
var
|
|
20613
|
+
var g = v.className, I = v.style, C = classnamesExports(n, c, g);
|
|
20608
20614
|
return /* @__PURE__ */ jsx("div", {
|
|
20609
20615
|
ref: x,
|
|
20610
20616
|
className: C,
|
|
20611
|
-
style: _objectSpread2$1(_objectSpread2$1({},
|
|
20617
|
+
style: _objectSpread2$1(_objectSpread2$1({}, I), h),
|
|
20612
20618
|
children: m
|
|
20613
20619
|
});
|
|
20614
20620
|
}
|
|
@@ -20714,7 +20720,7 @@ function generateTrigger(e) {
|
|
|
20714
20720
|
var u = [], d = s.props, f = d.popupPlacement, p = d.builtinPlacements, h = d.prefixCls, m = d.alignPoint, v = d.getPopupClassNameFromAlign;
|
|
20715
20721
|
return f && p && u.push(getAlignPopupClassName(p, h, l, m)), v && u.push(v(l)), u.join(" ");
|
|
20716
20722
|
}, s.getComponent = function() {
|
|
20717
|
-
var l = s.props, u = l.prefixCls, d = l.destroyPopupOnHide, f = l.popupClassName, p = l.onPopupAlign, h = l.popupMotion, m = l.popupAnimation, v = l.popupTransitionName, x = l.popupStyle,
|
|
20723
|
+
var l = s.props, u = l.prefixCls, d = l.destroyPopupOnHide, f = l.popupClassName, p = l.onPopupAlign, h = l.popupMotion, m = l.popupAnimation, v = l.popupTransitionName, x = l.popupStyle, g = l.mask, I = l.maskAnimation, C = l.maskTransitionName, y = l.maskMotion, O = l.zIndex, b = l.popup, E = l.stretch, w = l.alignPoint, _ = l.mobile, S = s.state, k = S.popupVisible, N = S.point, D = s.getPopupAlign(), M = {};
|
|
20718
20724
|
return s.isMouseEnterToShow() && (M.onMouseEnter = s.onPopupMouseEnter), s.isMouseLeaveToHide() && (M.onMouseLeave = s.onPopupMouseLeave), M.onMouseDown = s.onPopupMouseDown, M.onTouchStart = s.onPopupMouseDown, /* @__PURE__ */ jsx(Popup, {
|
|
20719
20725
|
prefixCls: u,
|
|
20720
20726
|
destroyPopupOnHide: d,
|
|
@@ -20729,10 +20735,10 @@ function generateTrigger(e) {
|
|
|
20729
20735
|
stretch: E,
|
|
20730
20736
|
getRootDomNode: s.getRootDomNode,
|
|
20731
20737
|
style: x,
|
|
20732
|
-
mask:
|
|
20738
|
+
mask: g,
|
|
20733
20739
|
zIndex: O,
|
|
20734
20740
|
transitionName: v,
|
|
20735
|
-
maskAnimation:
|
|
20741
|
+
maskAnimation: I,
|
|
20736
20742
|
maskTransitionName: C,
|
|
20737
20743
|
maskMotion: y,
|
|
20738
20744
|
ref: s.popupRef,
|
|
@@ -20917,16 +20923,16 @@ function generateTrigger(e) {
|
|
|
20917
20923
|
v && (m.className = v);
|
|
20918
20924
|
var x = _objectSpread2$1({}, m);
|
|
20919
20925
|
supportRef(h) && (x.ref = composeRef(this.triggerRef, h.ref));
|
|
20920
|
-
var
|
|
20921
|
-
return (s || this.popupRef.current || u) && (
|
|
20926
|
+
var g = /* @__PURE__ */ React.cloneElement(h, x), I;
|
|
20927
|
+
return (s || this.popupRef.current || u) && (I = /* @__PURE__ */ jsx(e, {
|
|
20922
20928
|
getContainer: this.getContainer,
|
|
20923
20929
|
didUpdate: this.handlePortalUpdate,
|
|
20924
20930
|
children: this.getComponent()
|
|
20925
|
-
}, "portal")), !s && p && (
|
|
20931
|
+
}, "portal")), !s && p && (I = null), /* @__PURE__ */ jsxs(TriggerContext.Provider, {
|
|
20926
20932
|
value: {
|
|
20927
20933
|
onPopupMouseDown: this.onPopupMouseDown
|
|
20928
20934
|
},
|
|
20929
|
-
children: [
|
|
20935
|
+
children: [g, I]
|
|
20930
20936
|
});
|
|
20931
20937
|
}
|
|
20932
20938
|
}], [{
|
|
@@ -21048,7 +21054,7 @@ var autoAdjustOverflow = {
|
|
|
21048
21054
|
children: typeof n == "function" ? n() : n
|
|
21049
21055
|
});
|
|
21050
21056
|
}, Tooltip = function e(t, n) {
|
|
21051
|
-
var r = t.overlayClassName, o = t.trigger, a = o === void 0 ? ["hover"] : o, s = t.mouseEnterDelay, c = s === void 0 ? 0 : s, l = t.mouseLeaveDelay, u = l === void 0 ? 0.1 : l, d = t.overlayStyle, f = t.prefixCls, p = f === void 0 ? "rc-tooltip" : f, h = t.children, m = t.onVisibleChange, v = t.afterVisibleChange, x = t.transitionName,
|
|
21057
|
+
var r = t.overlayClassName, o = t.trigger, a = o === void 0 ? ["hover"] : o, s = t.mouseEnterDelay, c = s === void 0 ? 0 : s, l = t.mouseLeaveDelay, u = l === void 0 ? 0.1 : l, d = t.overlayStyle, f = t.prefixCls, p = f === void 0 ? "rc-tooltip" : f, h = t.children, m = t.onVisibleChange, v = t.afterVisibleChange, x = t.transitionName, g = t.animation, I = t.placement, C = I === void 0 ? "right" : I, y = t.align, O = y === void 0 ? {} : y, b = t.destroyTooltipOnHide, E = b === void 0 ? !1 : b, w = t.defaultVisible, _ = t.getTooltipContainer, S = t.overlayInnerStyle, k = _objectWithoutProperties(t, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle"]), N = useRef(null);
|
|
21052
21058
|
useImperativeHandle(n, function() {
|
|
21053
21059
|
return N.current;
|
|
21054
21060
|
});
|
|
@@ -21089,7 +21095,7 @@ var autoAdjustOverflow = {
|
|
|
21089
21095
|
onPopupVisibleChange: m,
|
|
21090
21096
|
afterPopupVisibleChange: v,
|
|
21091
21097
|
popupTransitionName: x,
|
|
21092
|
-
popupAnimation:
|
|
21098
|
+
popupAnimation: g,
|
|
21093
21099
|
defaultPopupVisible: w,
|
|
21094
21100
|
destroyPopupOnHide: L,
|
|
21095
21101
|
autoDestroy: q,
|
|
@@ -21210,7 +21216,7 @@ function requirePlacements() {
|
|
|
21210
21216
|
return typeof u == "boolean" ? u ? o : a : (0, n.default)((0, n.default)({}, a), u);
|
|
21211
21217
|
}
|
|
21212
21218
|
function l(u) {
|
|
21213
|
-
var d = u.arrowWidth, f = d === void 0 ? 5 : d, p = u.horizontalArrowShift, h = p === void 0 ? 16 : p, m = u.verticalArrowShift, v = m === void 0 ? 8 : m, x = u.autoAdjustOverflow,
|
|
21219
|
+
var d = u.arrowWidth, f = d === void 0 ? 5 : d, p = u.horizontalArrowShift, h = p === void 0 ? 16 : p, m = u.verticalArrowShift, v = m === void 0 ? 8 : m, x = u.autoAdjustOverflow, g = {
|
|
21214
21220
|
left: {
|
|
21215
21221
|
points: ["cr", "cl"],
|
|
21216
21222
|
offset: [-4, 0]
|
|
@@ -21260,14 +21266,14 @@ function requirePlacements() {
|
|
|
21260
21266
|
offset: [-4, v + f]
|
|
21261
21267
|
}
|
|
21262
21268
|
};
|
|
21263
|
-
return Object.keys(
|
|
21264
|
-
I
|
|
21269
|
+
return Object.keys(g).forEach(function(I) {
|
|
21270
|
+
g[I] = u.arrowPointAtCenter ? (0, n.default)((0, n.default)({}, g[I]), {
|
|
21265
21271
|
overflow: c(x),
|
|
21266
21272
|
targetOffset: s
|
|
21267
|
-
}) : (0, n.default)((0, n.default)({}, r.placements[
|
|
21273
|
+
}) : (0, n.default)((0, n.default)({}, r.placements[I]), {
|
|
21268
21274
|
overflow: c(x)
|
|
21269
|
-
}), I
|
|
21270
|
-
}),
|
|
21275
|
+
}), g[I].ignoreShake = !0;
|
|
21276
|
+
}), g;
|
|
21271
21277
|
}
|
|
21272
21278
|
}(placements$1)), placements$1;
|
|
21273
21279
|
}
|
|
@@ -21299,39 +21305,39 @@ function requireTooltip() {
|
|
|
21299
21305
|
omitted: b
|
|
21300
21306
|
};
|
|
21301
21307
|
}, m = new RegExp("^(".concat(p.PresetColorTypes.join("|"), ")(-inverse)?$"));
|
|
21302
|
-
function v(
|
|
21303
|
-
var y =
|
|
21304
|
-
if ((y.__ANT_BUTTON === !0 || y.__ANT_SWITCH === !0 || y.__ANT_CHECKBOX === !0 ||
|
|
21305
|
-
var O = h(
|
|
21308
|
+
function v(I, C) {
|
|
21309
|
+
var y = I.type;
|
|
21310
|
+
if ((y.__ANT_BUTTON === !0 || y.__ANT_SWITCH === !0 || y.__ANT_CHECKBOX === !0 || I.type === "button") && I.props.disabled) {
|
|
21311
|
+
var O = h(I.props.style, ["position", "left", "right", "top", "bottom", "float", "display", "zIndex"]), b = O.picked, E = O.omitted, w = (0, a.default)((0, a.default)({
|
|
21306
21312
|
display: "inline-block"
|
|
21307
21313
|
}, b), {
|
|
21308
21314
|
cursor: "not-allowed",
|
|
21309
|
-
width:
|
|
21315
|
+
width: I.props.block ? "100%" : null
|
|
21310
21316
|
}), _ = (0, a.default)((0, a.default)({}, E), {
|
|
21311
21317
|
pointerEvents: "none"
|
|
21312
|
-
}), S = (0, d.cloneElement)(
|
|
21318
|
+
}), S = (0, d.cloneElement)(I, {
|
|
21313
21319
|
style: _,
|
|
21314
21320
|
className: null
|
|
21315
21321
|
});
|
|
21316
21322
|
return /* @__PURE__ */ s.createElement("span", {
|
|
21317
21323
|
style: w,
|
|
21318
|
-
className: (0, l.default)(
|
|
21324
|
+
className: (0, l.default)(I.props.className, "".concat(C, "-disabled-compatible-wrapper"))
|
|
21319
21325
|
}, S);
|
|
21320
21326
|
}
|
|
21321
|
-
return
|
|
21327
|
+
return I;
|
|
21322
21328
|
}
|
|
21323
|
-
var x = /* @__PURE__ */ s.forwardRef(function(
|
|
21324
|
-
var y, O = s.useContext(f.ConfigContext), b = O.getPopupContainer, E = O.getPrefixCls, w = O.direction, _ = s.useState(!!
|
|
21329
|
+
var x = /* @__PURE__ */ s.forwardRef(function(I, C) {
|
|
21330
|
+
var y, O = s.useContext(f.ConfigContext), b = O.getPopupContainer, E = O.getPrefixCls, w = O.direction, _ = s.useState(!!I.visible || !!I.defaultVisible), S = (0, o.default)(_, 2), k = S[0], N = S[1];
|
|
21325
21331
|
s.useEffect(function() {
|
|
21326
|
-
"visible" in
|
|
21327
|
-
}, [
|
|
21332
|
+
"visible" in I && N(I.visible);
|
|
21333
|
+
}, [I.visible]);
|
|
21328
21334
|
var D = function() {
|
|
21329
|
-
var ne =
|
|
21335
|
+
var ne = I.title, J = I.overlay;
|
|
21330
21336
|
return !ne && !J && ne !== 0;
|
|
21331
21337
|
}, M = function(ne) {
|
|
21332
|
-
"visible" in
|
|
21338
|
+
"visible" in I || N(D() ? !1 : ne), I.onVisibleChange && !D() && I.onVisibleChange(ne);
|
|
21333
21339
|
}, L = function() {
|
|
21334
|
-
var ne =
|
|
21340
|
+
var ne = I.builtinPlacements, J = I.arrowPointAtCenter, ee = I.autoAdjustOverflow;
|
|
21335
21341
|
return ne || (0, u.default)({
|
|
21336
21342
|
arrowPointAtCenter: J,
|
|
21337
21343
|
autoAdjustOverflow: ee
|
|
@@ -21348,16 +21354,16 @@ function requireTooltip() {
|
|
|
21348
21354
|
oe.indexOf("top") >= 0 || oe.indexOf("Bottom") >= 0 ? ae.top = "".concat(le.height - J.offset[1], "px") : (oe.indexOf("Top") >= 0 || oe.indexOf("bottom") >= 0) && (ae.top = "".concat(-J.offset[1], "px")), oe.indexOf("left") >= 0 || oe.indexOf("Right") >= 0 ? ae.left = "".concat(le.width - J.offset[0], "px") : (oe.indexOf("right") >= 0 || oe.indexOf("Left") >= 0) && (ae.left = "".concat(-J.offset[0], "px")), ne.style.transformOrigin = "".concat(ae.left, " ").concat(ae.top);
|
|
21349
21355
|
}
|
|
21350
21356
|
}, $ = function() {
|
|
21351
|
-
var ne =
|
|
21357
|
+
var ne = I.title, J = I.overlay;
|
|
21352
21358
|
return ne === 0 ? ne : J || ne || "";
|
|
21353
|
-
}, B =
|
|
21354
|
-
!("visible" in
|
|
21359
|
+
}, B = I.prefixCls, U = I.openClassName, G = I.getPopupContainer, z = I.getTooltipContainer, W = I.overlayClassName, Z = I.color, V = I.overlayInnerStyle, H = I.children, P = E("tooltip", B), A = k;
|
|
21360
|
+
!("visible" in I) && D() && (A = !1);
|
|
21355
21361
|
var j = v((0, d.isValidElement)(H) ? H : /* @__PURE__ */ s.createElement("span", null, H), P), K = j.props, X = (0, l.default)(K.className, (0, r.default)({}, U || "".concat(P, "-open"), !0)), F = (0, l.default)(W, (y = {}, (0, r.default)(y, "".concat(P, "-rtl"), w === "rtl"), (0, r.default)(y, "".concat(P, "-").concat(Z), Z && m.test(Z)), y)), T = V, Y;
|
|
21356
21362
|
return Z && !m.test(Z) && (T = (0, a.default)((0, a.default)({}, V), {
|
|
21357
21363
|
background: Z
|
|
21358
21364
|
}), Y = {
|
|
21359
21365
|
background: Z
|
|
21360
|
-
}), /* @__PURE__ */ s.createElement(c.default, (0, a.default)({},
|
|
21366
|
+
}), /* @__PURE__ */ s.createElement(c.default, (0, a.default)({}, I, {
|
|
21361
21367
|
prefixCls: P,
|
|
21362
21368
|
overlayClassName: F,
|
|
21363
21369
|
getTooltipContainer: G || z || b,
|
|
@@ -21384,8 +21390,8 @@ function requireTooltip() {
|
|
|
21384
21390
|
arrowPointAtCenter: !1,
|
|
21385
21391
|
autoAdjustOverflow: !0
|
|
21386
21392
|
};
|
|
21387
|
-
var
|
|
21388
|
-
e.default =
|
|
21393
|
+
var g = x;
|
|
21394
|
+
e.default = g;
|
|
21389
21395
|
}(tooltip)), tooltip;
|
|
21390
21396
|
}
|
|
21391
21397
|
var Typography = {}, ref = {}, hasRequiredRef;
|
|
@@ -21424,17 +21430,17 @@ function requireTypography() {
|
|
|
21424
21430
|
value: !0
|
|
21425
21431
|
}), e.default = void 0;
|
|
21426
21432
|
var r = n(require_extends()), o = n(requireDefineProperty()), a = t(React__default), s = n(requireClassnames()), c = requireRef(), l = requireConfigProvider(), u = n(requireDevWarning()), d = function(v, x) {
|
|
21427
|
-
var
|
|
21428
|
-
for (var
|
|
21429
|
-
Object.prototype.hasOwnProperty.call(v,
|
|
21433
|
+
var g = {};
|
|
21434
|
+
for (var I in v)
|
|
21435
|
+
Object.prototype.hasOwnProperty.call(v, I) && x.indexOf(I) < 0 && (g[I] = v[I]);
|
|
21430
21436
|
if (v != null && typeof Object.getOwnPropertySymbols == "function")
|
|
21431
|
-
for (var C = 0,
|
|
21432
|
-
x.indexOf(
|
|
21433
|
-
return
|
|
21434
|
-
}, f = function(x,
|
|
21435
|
-
var
|
|
21436
|
-
return E && ((0, u.default)(!1, "Typography", "`setContentRef` is deprecated. Please use `ref` instead."), S = (0, c.composeRef)(
|
|
21437
|
-
var N = k.getPrefixCls, D = k.direction, M = y, L = N("typography",
|
|
21437
|
+
for (var C = 0, I = Object.getOwnPropertySymbols(v); C < I.length; C++)
|
|
21438
|
+
x.indexOf(I[C]) < 0 && Object.prototype.propertyIsEnumerable.call(v, I[C]) && (g[I[C]] = v[I[C]]);
|
|
21439
|
+
return g;
|
|
21440
|
+
}, f = function(x, g) {
|
|
21441
|
+
var I = x.prefixCls, C = x.component, y = C === void 0 ? "article" : C, O = x.className, b = x["aria-label"], E = x.setContentRef, w = x.children, _ = d(x, ["prefixCls", "component", "className", "aria-label", "setContentRef", "children"]), S = g;
|
|
21442
|
+
return E && ((0, u.default)(!1, "Typography", "`setContentRef` is deprecated. Please use `ref` instead."), S = (0, c.composeRef)(g, E)), /* @__PURE__ */ a.createElement(l.ConfigConsumer, null, function(k) {
|
|
21443
|
+
var N = k.getPrefixCls, D = k.direction, M = y, L = N("typography", I), q = (0, s.default)(L, (0, o.default)({}, "".concat(L, "-rtl"), D === "rtl"), O);
|
|
21438
21444
|
return /* @__PURE__ */ a.createElement(M, (0, r.default)({
|
|
21439
21445
|
className: q,
|
|
21440
21446
|
"aria-label": b,
|
|
@@ -21496,7 +21502,7 @@ function requireEditable() {
|
|
|
21496
21502
|
value: !0
|
|
21497
21503
|
}), e.default = void 0;
|
|
21498
21504
|
var r = n(requireDefineProperty()), o = n(requireSlicedToArray()), a = t(React__default), s = n(requireClassnames()), c = n(requireKeyCode()), l = n(requireEnterOutlined()), u = n(TextArea$3), d = function(h) {
|
|
21499
|
-
var m = h.prefixCls, v = h["aria-label"], x = h.className,
|
|
21505
|
+
var m = h.prefixCls, v = h["aria-label"], x = h.className, g = h.style, I = h.direction, C = h.maxLength, y = h.autoSize, O = y === void 0 ? !0 : y, b = h.value, E = h.onSave, w = h.onCancel, _ = a.useRef(), S = a.useRef(!1), k = a.useRef(), N = a.useState(b), D = (0, o.default)(N, 2), M = D[0], L = D[1];
|
|
21500
21506
|
a.useEffect(function() {
|
|
21501
21507
|
L(b);
|
|
21502
21508
|
}, [b]), a.useEffect(function() {
|
|
@@ -21524,10 +21530,10 @@ function requireEditable() {
|
|
|
21524
21530
|
k.current === P && !S.current && !A && !j && !K && !X && (P === c.default.ENTER ? G() : P === c.default.ESC && w());
|
|
21525
21531
|
}, W = function() {
|
|
21526
21532
|
G();
|
|
21527
|
-
}, Z = (0, s.default)(m, "".concat(m, "-edit-content"), (0, r.default)({}, "".concat(m, "-rtl"),
|
|
21533
|
+
}, Z = (0, s.default)(m, "".concat(m, "-edit-content"), (0, r.default)({}, "".concat(m, "-rtl"), I === "rtl"), x);
|
|
21528
21534
|
return /* @__PURE__ */ a.createElement("div", {
|
|
21529
21535
|
className: Z,
|
|
21530
|
-
style:
|
|
21536
|
+
style: g
|
|
21531
21537
|
}, /* @__PURE__ */ a.createElement(u.default, {
|
|
21532
21538
|
ref: _,
|
|
21533
21539
|
maxLength: C,
|
|
@@ -21568,22 +21574,22 @@ function requireUtil() {
|
|
|
21568
21574
|
}
|
|
21569
21575
|
function p(v) {
|
|
21570
21576
|
var x = Array.prototype.slice.apply(v);
|
|
21571
|
-
return x.map(function(
|
|
21572
|
-
return "".concat(
|
|
21577
|
+
return x.map(function(g) {
|
|
21578
|
+
return "".concat(g, ": ").concat(v.getPropertyValue(g), ";");
|
|
21573
21579
|
}).join("");
|
|
21574
21580
|
}
|
|
21575
21581
|
function h(v) {
|
|
21576
21582
|
var x = [];
|
|
21577
|
-
return v.forEach(function(
|
|
21578
|
-
var
|
|
21579
|
-
typeof
|
|
21583
|
+
return v.forEach(function(g) {
|
|
21584
|
+
var I = x[x.length - 1];
|
|
21585
|
+
typeof g == "string" && typeof I == "string" ? x[x.length - 1] += g : x.push(g);
|
|
21580
21586
|
}), x;
|
|
21581
21587
|
}
|
|
21582
|
-
var m = function(x,
|
|
21588
|
+
var m = function(x, g, I, C, y) {
|
|
21583
21589
|
u || (u = document.createElement("div"), u.setAttribute("aria-hidden", "true"), document.body.appendChild(u));
|
|
21584
|
-
var O =
|
|
21590
|
+
var O = g.rows, b = g.suffix, E = b === void 0 ? "" : b, w = window.getComputedStyle(x), _ = p(w), S = f(w.lineHeight), k = Math.round(S * (O + 1) + f(w.paddingTop) + f(w.paddingBottom));
|
|
21585
21591
|
u.setAttribute("style", _), u.style.position = "fixed", u.style.left = "0", u.style.height = "auto", u.style.minHeight = "auto", u.style.maxHeight = "auto", u.style.top = "-999999px", u.style.zIndex = "-1000", u.style.textOverflow = "clip", u.style.whiteSpace = "normal", u.style.webkitLineClamp = "none";
|
|
21586
|
-
var N = h((0, a.default)(
|
|
21592
|
+
var N = h((0, a.default)(I));
|
|
21587
21593
|
(0, r.render)(/* @__PURE__ */ o.createElement("div", {
|
|
21588
21594
|
style: d
|
|
21589
21595
|
}, /* @__PURE__ */ o.createElement("span", {
|
|
@@ -21596,7 +21602,7 @@ function requireUtil() {
|
|
|
21596
21602
|
}
|
|
21597
21603
|
if (D())
|
|
21598
21604
|
return (0, r.unmountComponentAtNode)(u), {
|
|
21599
|
-
content:
|
|
21605
|
+
content: I,
|
|
21600
21606
|
text: u.innerHTML,
|
|
21601
21607
|
ellipsis: !1
|
|
21602
21608
|
};
|
|
@@ -21670,7 +21676,7 @@ function requireBase() {
|
|
|
21670
21676
|
Object.defineProperty(e, "__esModule", {
|
|
21671
21677
|
value: !0
|
|
21672
21678
|
}), e.default = void 0;
|
|
21673
|
-
var r = n(requireDefineProperty()), o = n(requireToConsumableArray()), a = n(_typeof$2.exports), s = n(require_extends()), c = n(requireClassCallCheck()), l = n(requireCreateClass()), u = n(requireInherits()), d = n(requireCreateSuper()), f = t(React__default), p = n(requireClassnames()), h = n(requireToArray()), m = n(requireCopyToClipboard()), v = n(requireOmit()), x = n(requireEditOutlined()),
|
|
21679
|
+
var r = n(requireDefineProperty()), o = n(requireToConsumableArray()), a = n(_typeof$2.exports), s = n(require_extends()), c = n(requireClassCallCheck()), l = n(requireCreateClass()), u = n(requireInherits()), d = n(requireCreateSuper()), f = t(React__default), p = n(requireClassnames()), h = n(requireToArray()), m = n(requireCopyToClipboard()), v = n(requireOmit()), x = n(requireEditOutlined()), g = n(requireCheckOutlined()), I = n(requireCopyOutlined()), C = n(require$$18), y = requireConfigProvider(), O = n(requireLocaleReceiver()), b = n(requireDevWarning()), E = n(requireTransButton()), w = n(requireRaf()), _ = requireStyleChecker(), S = n(requireTooltip()), k = n(requireTypography()), N = n(requireEditable()), D = n(requireUtil()), M = function(z, W) {
|
|
21674
21680
|
var Z = {};
|
|
21675
21681
|
for (var V in z)
|
|
21676
21682
|
Object.prototype.hasOwnProperty.call(z, V) && W.indexOf(V) < 0 && (Z[V] = z[V]);
|
|
@@ -21851,7 +21857,7 @@ function requireBase() {
|
|
|
21851
21857
|
className: (0, p.default)("".concat(A, "-copy"), H && "".concat(A, "-copy-success")),
|
|
21852
21858
|
onClick: this.onCopyClick,
|
|
21853
21859
|
"aria-label": F
|
|
21854
|
-
}, H ? T[1] || /* @__PURE__ */ f.createElement(
|
|
21860
|
+
}, H ? T[1] || /* @__PURE__ */ f.createElement(g.default, null) : T[0] || /* @__PURE__ */ f.createElement(I.default, null)));
|
|
21855
21861
|
}
|
|
21856
21862
|
}
|
|
21857
21863
|
}, {
|
|
@@ -21944,9 +21950,9 @@ function requireBase() {
|
|
|
21944
21950
|
h.indexOf(v[x]) < 0 && Object.prototype.propertyIsEnumerable.call(p, v[x]) && (m[v[x]] = p[v[x]]);
|
|
21945
21951
|
return m;
|
|
21946
21952
|
}, u = (0, c.tupleNum)(1, 2, 3, 4, 5), d = function(h) {
|
|
21947
|
-
var m = h.level, v = m === void 0 ? 1 : m, x = l(h, ["level"]),
|
|
21948
|
-
return u.indexOf(v) !== -1 ?
|
|
21949
|
-
component:
|
|
21953
|
+
var m = h.level, v = m === void 0 ? 1 : m, x = l(h, ["level"]), g;
|
|
21954
|
+
return u.indexOf(v) !== -1 ? g = "h".concat(v) : ((0, a.default)(!1, "Typography.Title", "Title only accept `1 | 2 | 3 | 4 | 5` as `level` value. And `5` need 4.6.0+ version."), g = "h1"), /* @__PURE__ */ o.createElement(s.default, (0, r.default)({}, x, {
|
|
21955
|
+
component: g
|
|
21950
21956
|
}));
|
|
21951
21957
|
}, f = d;
|
|
21952
21958
|
e.default = f;
|
|
@@ -21966,7 +21972,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
|
|
|
21966
21972
|
field: u,
|
|
21967
21973
|
operator: d,
|
|
21968
21974
|
manualIds: f
|
|
21969
|
-
} = e, [p, h] = useState(!1), [m, v] = useState(), [x,
|
|
21975
|
+
} = e, [p, h] = useState(!1), [m, v] = useState(), [x, g] = useState(), [I, C] = useState(), [y, O] = useState(0), [b, E] = useState(0), [w, _] = useState(), [S, k] = useState(), [N, D] = useState();
|
|
21970
21976
|
useEffect(() => {
|
|
21971
21977
|
q();
|
|
21972
21978
|
}, [t, o]);
|
|
@@ -22044,7 +22050,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
|
|
|
22044
22050
|
isTotal: !0
|
|
22045
22051
|
}), C($);
|
|
22046
22052
|
}
|
|
22047
|
-
if ($ ? (B = Math.round(U / $ * 100 * 100) / 100,
|
|
22053
|
+
if ($ ? (B = Math.round(U / $ * 100 * 100) / 100, g(B)) : g(0), o) {
|
|
22048
22054
|
const G = await ConnectionProvider.getHandler().parseCondition({
|
|
22049
22055
|
condition: o,
|
|
22050
22056
|
values: {
|
|
@@ -22097,7 +22103,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
|
|
|
22097
22103
|
measureRef: $
|
|
22098
22104
|
}) => s ? /* @__PURE__ */ jsx(PercentageIndicator, {
|
|
22099
22105
|
value: m,
|
|
22100
|
-
total:
|
|
22106
|
+
total: I,
|
|
22101
22107
|
percent: x,
|
|
22102
22108
|
measureRef: $,
|
|
22103
22109
|
height: y,
|
|
@@ -22107,7 +22113,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
|
|
|
22107
22113
|
suffix: l
|
|
22108
22114
|
}) : /* @__PURE__ */ jsx(CommonIndicator, {
|
|
22109
22115
|
value: m,
|
|
22110
|
-
total:
|
|
22116
|
+
total: I,
|
|
22111
22117
|
measureRef: $,
|
|
22112
22118
|
height: y,
|
|
22113
22119
|
width: b,
|
|
@@ -22288,14 +22294,14 @@ const DefaultGraphOptions = {
|
|
|
22288
22294
|
limit: a,
|
|
22289
22295
|
uninformedString: s,
|
|
22290
22296
|
manualIds: c
|
|
22291
|
-
} = e, [l, u] = useState(!1), [d, f] = useState(), [p, h] = useState(), [m, v] = useState(), [x,
|
|
22297
|
+
} = e, [l, u] = useState(!1), [d, f] = useState(), [p, h] = useState(), [m, v] = useState(), [x, g] = useState("line");
|
|
22292
22298
|
return useDeepCompareEffect(() => {
|
|
22293
22299
|
(async () => {
|
|
22294
22300
|
u(!0), f(void 0);
|
|
22295
|
-
const
|
|
22296
|
-
I
|
|
22301
|
+
const I = parseGraph(o);
|
|
22302
|
+
g(I.type || "line");
|
|
22297
22303
|
const C = getFieldsToRetrieve({
|
|
22298
|
-
ooui:
|
|
22304
|
+
ooui: I
|
|
22299
22305
|
});
|
|
22300
22306
|
let y, O;
|
|
22301
22307
|
try {
|
|
@@ -22307,7 +22313,7 @@ const DefaultGraphOptions = {
|
|
|
22307
22313
|
domain: n,
|
|
22308
22314
|
context: r,
|
|
22309
22315
|
limit: a,
|
|
22310
|
-
order:
|
|
22316
|
+
order: I.timerange ? I.x.name : null,
|
|
22311
22317
|
fields: C,
|
|
22312
22318
|
manualIds: c
|
|
22313
22319
|
}));
|
|
@@ -22322,7 +22328,7 @@ const DefaultGraphOptions = {
|
|
|
22322
22328
|
}
|
|
22323
22329
|
v(y);
|
|
22324
22330
|
const b = processGraphData({
|
|
22325
|
-
ooui:
|
|
22331
|
+
ooui: I,
|
|
22326
22332
|
values: y,
|
|
22327
22333
|
fields: O,
|
|
22328
22334
|
options: {
|
|
@@ -22492,18 +22498,18 @@ const GraphComp = (e, t) => {
|
|
|
22492
22498
|
async function x() {
|
|
22493
22499
|
u(!0), v == null || v(!0);
|
|
22494
22500
|
try {
|
|
22495
|
-
const
|
|
22501
|
+
const g = await ConnectionProvider.getHandler().getView({
|
|
22496
22502
|
model: r,
|
|
22497
22503
|
id: n,
|
|
22498
22504
|
type: "graph",
|
|
22499
22505
|
context: o
|
|
22500
22506
|
});
|
|
22501
|
-
h(
|
|
22502
|
-
const
|
|
22503
|
-
f(
|
|
22504
|
-
} catch (
|
|
22505
|
-
return console.error(
|
|
22506
|
-
children: JSON.stringify(
|
|
22507
|
+
h(g.arch);
|
|
22508
|
+
const I = parseGraph(g.arch);
|
|
22509
|
+
f(I);
|
|
22510
|
+
} catch (g) {
|
|
22511
|
+
return console.error(g), /* @__PURE__ */ jsx(Fragment, {
|
|
22512
|
+
children: JSON.stringify(g)
|
|
22507
22513
|
});
|
|
22508
22514
|
}
|
|
22509
22515
|
u(!1), v == null || v(!1);
|
|
@@ -22529,21 +22535,21 @@ const GraphComp = (e, t) => {
|
|
|
22529
22535
|
switch (d.type) {
|
|
22530
22536
|
case "indicatorField":
|
|
22531
22537
|
case "indicator": {
|
|
22532
|
-
const
|
|
22533
|
-
field:
|
|
22534
|
-
operator:
|
|
22538
|
+
const g = d, I = g.type === "indicatorField" ? {
|
|
22539
|
+
field: g.field,
|
|
22540
|
+
operator: g.operator
|
|
22535
22541
|
} : {};
|
|
22536
22542
|
return /* @__PURE__ */ jsx(GraphIndicator, {
|
|
22537
|
-
showPercent:
|
|
22538
|
-
totalDomain:
|
|
22539
|
-
colorCondition:
|
|
22543
|
+
showPercent: g.showPercent,
|
|
22544
|
+
totalDomain: g.totalDomain,
|
|
22545
|
+
colorCondition: g.color,
|
|
22540
22546
|
model: r,
|
|
22541
22547
|
context: o,
|
|
22542
22548
|
domain: a,
|
|
22543
|
-
icon:
|
|
22544
|
-
suffix:
|
|
22549
|
+
icon: g.icon,
|
|
22550
|
+
suffix: g.suffix,
|
|
22545
22551
|
manualIds: c,
|
|
22546
|
-
...
|
|
22552
|
+
...I
|
|
22547
22553
|
});
|
|
22548
22554
|
}
|
|
22549
22555
|
case "line":
|
|
@@ -22615,7 +22621,7 @@ const GraphComp = (e, t) => {
|
|
|
22615
22621
|
className: "inline-block w-3"
|
|
22616
22622
|
});
|
|
22617
22623
|
}
|
|
22618
|
-
function
|
|
22624
|
+
function g() {
|
|
22619
22625
|
return /* @__PURE__ */ jsx("div", {
|
|
22620
22626
|
className: "flex flex-grow h-8 text-gray-200 bg-gray-700",
|
|
22621
22627
|
children: /* @__PURE__ */ jsx("div", {
|
|
@@ -22627,7 +22633,7 @@ const GraphComp = (e, t) => {
|
|
|
22627
22633
|
})
|
|
22628
22634
|
});
|
|
22629
22635
|
}
|
|
22630
|
-
function
|
|
22636
|
+
function I() {
|
|
22631
22637
|
return /* @__PURE__ */ jsx(ButtonWithTooltip, {
|
|
22632
22638
|
tooltip: f ? "Unlink" : "Delete",
|
|
22633
22639
|
icon: f ? /* @__PURE__ */ jsx(ApiOutlined, {}) : /* @__PURE__ */ jsx(DeleteOutlined, {}),
|
|
@@ -22657,7 +22663,7 @@ const GraphComp = (e, t) => {
|
|
|
22657
22663
|
}
|
|
22658
22664
|
return /* @__PURE__ */ jsxs("div", {
|
|
22659
22665
|
className: "flex mb-2",
|
|
22660
|
-
children: [
|
|
22666
|
+
children: [g(), /* @__PURE__ */ jsxs("div", {
|
|
22661
22667
|
className: "flex-none h-8 pl-2",
|
|
22662
22668
|
children: [a !== "graph" && m && /* @__PURE__ */ jsx(ButtonWithTooltip, {
|
|
22663
22669
|
tooltip: "Create new item",
|
|
@@ -22669,7 +22675,7 @@ const GraphComp = (e, t) => {
|
|
|
22669
22675
|
icon: /* @__PURE__ */ jsx(SearchOutlined, {}),
|
|
22670
22676
|
disabled: n,
|
|
22671
22677
|
onClick: p
|
|
22672
|
-
}), a !== "graph" && x(), a !== "graph" &&
|
|
22678
|
+
}), a !== "graph" && x(), a !== "graph" && I(), a === "form" && y(), x(), v && /* @__PURE__ */ jsx(ButtonWithTooltip, {
|
|
22673
22679
|
tooltip: "Toggle view mode",
|
|
22674
22680
|
icon: /* @__PURE__ */ jsx(AlignLeftOutlined, {}),
|
|
22675
22681
|
onClick: o
|
|
@@ -22712,8 +22718,8 @@ const One2manyInput = (e) => {
|
|
|
22712
22718
|
domain: v
|
|
22713
22719
|
} = d || {}, {
|
|
22714
22720
|
lang: x,
|
|
22715
|
-
t:
|
|
22716
|
-
} = useContext(LocaleContext),
|
|
22721
|
+
t: g
|
|
22722
|
+
} = useContext(LocaleContext), I = useRef(), [C, y] = useState(!1), [O, b] = useState(!1), [E, w] = useState(), [_, S] = useState(!1), [k, N] = useState(!1), [D, M] = useState(), [L, q] = useState([]), [$, B] = useState(!1), U = useRef([]), [G, z] = useState(), W = useRef(), {
|
|
22717
22723
|
readOnly: Z,
|
|
22718
22724
|
relation: V,
|
|
22719
22725
|
context: H,
|
|
@@ -22763,6 +22769,7 @@ const One2manyInput = (e) => {
|
|
|
22763
22769
|
fields: p(),
|
|
22764
22770
|
values: h()
|
|
22765
22771
|
}),
|
|
22772
|
+
fields: p(),
|
|
22766
22773
|
context: m()
|
|
22767
22774
|
}),
|
|
22768
22775
|
widgetFieldName: j
|
|
@@ -22963,14 +22970,14 @@ const One2manyInput = (e) => {
|
|
|
22963
22970
|
const ve = () => {
|
|
22964
22971
|
var ce, ge, ye, Oe;
|
|
22965
22972
|
if (s === "form")
|
|
22966
|
-
return K.length === 0 ?
|
|
22973
|
+
return K.length === 0 ? g("noCurrentEntries") : /* @__PURE__ */ jsx(Form$1, {
|
|
22967
22974
|
formView: o.get("form"),
|
|
22968
22975
|
values: (ce = K[l]) == null ? void 0 : ce.values,
|
|
22969
22976
|
parentContext: {
|
|
22970
22977
|
...m == null ? void 0 : m(),
|
|
22971
22978
|
...H
|
|
22972
22979
|
},
|
|
22973
|
-
ref:
|
|
22980
|
+
ref: I,
|
|
22974
22981
|
model: V,
|
|
22975
22982
|
id: (ge = K[l]) == null ? void 0 : ge.id,
|
|
22976
22983
|
submitMode: "values",
|
|
@@ -23105,7 +23112,7 @@ const One2manyInput = (e) => {
|
|
|
23105
23112
|
getContext: v
|
|
23106
23113
|
} = m || {};
|
|
23107
23114
|
useDeepCompareEffect(() => {
|
|
23108
|
-
|
|
23115
|
+
g();
|
|
23109
23116
|
}, [t]);
|
|
23110
23117
|
const x = async (C) => o && o[C] ? o[C] : await ConnectionProvider.getHandler().getView({
|
|
23111
23118
|
model: r,
|
|
@@ -23114,7 +23121,7 @@ const One2manyInput = (e) => {
|
|
|
23114
23121
|
...v == null ? void 0 : v(),
|
|
23115
23122
|
...s
|
|
23116
23123
|
}
|
|
23117
|
-
}),
|
|
23124
|
+
}), g = async () => {
|
|
23118
23125
|
u(!0), f(void 0);
|
|
23119
23126
|
try {
|
|
23120
23127
|
if (n && n.length > 0) {
|
|
@@ -26066,23 +26073,23 @@ const DatePickerConfig = {
|
|
|
26066
26073
|
getFieldValue: d
|
|
26067
26074
|
} = useContext(FormContext$1) || {}, {
|
|
26068
26075
|
t: f
|
|
26069
|
-
} = useContext(LocaleContext), p = n ? getFilesize(n) : "", h = (
|
|
26070
|
-
r == null || r(
|
|
26076
|
+
} = useContext(LocaleContext), p = n ? getFilesize(n) : "", h = (I) => {
|
|
26077
|
+
r == null || r(I);
|
|
26071
26078
|
};
|
|
26072
26079
|
async function m() {
|
|
26073
|
-
const
|
|
26080
|
+
const I = await getMimeType(n), C = `data:${I == null ? void 0 : I.mime};base64,${n}`, y = document.createElement("a"), O = d(s), b = d("name");
|
|
26074
26081
|
y.href = C, y.download = O || b, y.click();
|
|
26075
26082
|
}
|
|
26076
26083
|
async function v() {
|
|
26077
|
-
const
|
|
26078
|
-
openBase64InNewTab(n,
|
|
26084
|
+
const I = await getMimeType(n);
|
|
26085
|
+
openBase64InNewTab(n, I.mime);
|
|
26079
26086
|
}
|
|
26080
|
-
async function x(
|
|
26081
|
-
|
|
26082
|
-
const C =
|
|
26087
|
+
async function x(I) {
|
|
26088
|
+
I.stopPropagation(), I.preventDefault();
|
|
26089
|
+
const C = I.target.files[0], y = await toBase64(C);
|
|
26083
26090
|
h(y), s && u(s, C.name);
|
|
26084
26091
|
}
|
|
26085
|
-
function
|
|
26092
|
+
function g() {
|
|
26086
26093
|
u(s, void 0), h(void 0);
|
|
26087
26094
|
}
|
|
26088
26095
|
return /* @__PURE__ */ jsxs(Row, {
|
|
@@ -26127,7 +26134,7 @@ const DatePickerConfig = {
|
|
|
26127
26134
|
}), /* @__PURE__ */ jsx(ButtonWithTooltip, {
|
|
26128
26135
|
tooltip: f("clear"),
|
|
26129
26136
|
disabled: o || !n,
|
|
26130
|
-
onClick:
|
|
26137
|
+
onClick: g,
|
|
26131
26138
|
icon: /* @__PURE__ */ jsx(ClearOutlined, {})
|
|
26132
26139
|
})]
|
|
26133
26140
|
})
|
|
@@ -26473,46 +26480,46 @@ function AttachmentsButton(e) {
|
|
|
26473
26480
|
} = useContext(LocaleContext), m = useCallback(async () => {
|
|
26474
26481
|
l(!0);
|
|
26475
26482
|
try {
|
|
26476
|
-
const
|
|
26483
|
+
const g = await ConnectionProvider.getHandler().readObjects({
|
|
26477
26484
|
model: "ir.attachment",
|
|
26478
|
-
ids: t.map((
|
|
26485
|
+
ids: t.map((I) => I.id),
|
|
26479
26486
|
fieldsToRetrieve: ["name", "datas_fname", "link"],
|
|
26480
26487
|
context: s.current.getContext()
|
|
26481
26488
|
});
|
|
26482
|
-
d(
|
|
26483
|
-
id:
|
|
26484
|
-
name:
|
|
26485
|
-
datas_fname:
|
|
26486
|
-
link:
|
|
26489
|
+
d(g.map((I) => ({
|
|
26490
|
+
id: I.id,
|
|
26491
|
+
name: I.name,
|
|
26492
|
+
datas_fname: I.datas_fname,
|
|
26493
|
+
link: I.link
|
|
26487
26494
|
})));
|
|
26488
|
-
} catch (
|
|
26489
|
-
showDialog$8(
|
|
26495
|
+
} catch (g) {
|
|
26496
|
+
showDialog$8(g);
|
|
26490
26497
|
}
|
|
26491
26498
|
l(!1);
|
|
26492
|
-
}, t), v = useCallback(async (
|
|
26493
|
-
if (
|
|
26494
|
-
window.open(
|
|
26499
|
+
}, t), v = useCallback(async (g) => {
|
|
26500
|
+
if (g.link) {
|
|
26501
|
+
window.open(g.link);
|
|
26495
26502
|
return;
|
|
26496
26503
|
}
|
|
26497
26504
|
p(!0);
|
|
26498
|
-
let
|
|
26505
|
+
let I;
|
|
26499
26506
|
try {
|
|
26500
|
-
|
|
26507
|
+
I = (await ConnectionProvider.getHandler().readObjects({
|
|
26501
26508
|
model: "ir.attachment",
|
|
26502
|
-
ids: [
|
|
26509
|
+
ids: [g.id],
|
|
26503
26510
|
context: s.current.getContext()
|
|
26504
26511
|
}))[0];
|
|
26505
26512
|
} catch (C) {
|
|
26506
26513
|
showDialog$8(C);
|
|
26507
26514
|
}
|
|
26508
|
-
if (p(!1), !!
|
|
26509
|
-
if (
|
|
26510
|
-
const C = await getMimeType(
|
|
26511
|
-
openBase64InNewTab(
|
|
26515
|
+
if (p(!1), !!I)
|
|
26516
|
+
if (I.datas) {
|
|
26517
|
+
const C = await getMimeType(I.datas);
|
|
26518
|
+
openBase64InNewTab(I.datas, C.mime);
|
|
26512
26519
|
} else
|
|
26513
|
-
a(
|
|
26514
|
-
}, []), x = useCallback(async (
|
|
26515
|
-
a(
|
|
26520
|
+
a(I);
|
|
26521
|
+
}, []), x = useCallback(async (g) => {
|
|
26522
|
+
a(g);
|
|
26516
26523
|
}, []);
|
|
26517
26524
|
return useEffect(() => {
|
|
26518
26525
|
m();
|
|
@@ -26557,8 +26564,8 @@ function FormActionBar({
|
|
|
26557
26564
|
removingItem: m,
|
|
26558
26565
|
duplicatingItem: v,
|
|
26559
26566
|
setDuplicatingItem: x,
|
|
26560
|
-
setResults:
|
|
26561
|
-
formIsLoading:
|
|
26567
|
+
setResults: g,
|
|
26568
|
+
formIsLoading: I,
|
|
26562
26569
|
attachments: C,
|
|
26563
26570
|
formRef: y,
|
|
26564
26571
|
setFormHasChanges: O,
|
|
@@ -26621,7 +26628,7 @@ function FormActionBar({
|
|
|
26621
26628
|
ids: [c]
|
|
26622
26629
|
});
|
|
26623
26630
|
const P = l == null ? void 0 : l.filter((j) => j.id !== c);
|
|
26624
|
-
|
|
26631
|
+
g == null || g(P);
|
|
26625
26632
|
let A = 0;
|
|
26626
26633
|
d > 0 && d <= l.length - 1 && (A = d - 1), P != null && P[A] ? (f == null || f(P == null ? void 0 : P[A].id), u == null || u(A)) : (f == null || f(void 0), u == null || u(void 0));
|
|
26627
26634
|
} catch (P) {
|
|
@@ -26645,7 +26652,7 @@ function FormActionBar({
|
|
|
26645
26652
|
x == null || x(!1);
|
|
26646
26653
|
}
|
|
26647
26654
|
}
|
|
26648
|
-
const V = s || m ||
|
|
26655
|
+
const V = s || m || I || v;
|
|
26649
26656
|
function H(P) {
|
|
26650
26657
|
D == null || D({
|
|
26651
26658
|
actionData: P,
|
|
@@ -26659,10 +26666,10 @@ function FormActionBar({
|
|
|
26659
26666
|
}
|
|
26660
26667
|
return n ? /* @__PURE__ */ jsxs(Space, {
|
|
26661
26668
|
wrap: !0,
|
|
26662
|
-
children: [
|
|
26669
|
+
children: [I && /* @__PURE__ */ jsxs(Fragment, {
|
|
26663
26670
|
children: [/* @__PURE__ */ jsx(Spin, {}), separator$2(), separator$2()]
|
|
26664
26671
|
}), /* @__PURE__ */ jsx(NewButton, {
|
|
26665
|
-
disabled: s ||
|
|
26672
|
+
disabled: s || I || m || v
|
|
26666
26673
|
}), /* @__PURE__ */ jsx(ActionButton, {
|
|
26667
26674
|
icon: /* @__PURE__ */ jsx(SaveOutlined, {}),
|
|
26668
26675
|
tooltip: S("save"),
|
|
@@ -26672,19 +26679,19 @@ function FormActionBar({
|
|
|
26672
26679
|
}), /* @__PURE__ */ jsx(ActionButton, {
|
|
26673
26680
|
icon: /* @__PURE__ */ jsx(CopyOutlined$3, {}),
|
|
26674
26681
|
tooltip: S("duplicate"),
|
|
26675
|
-
disabled: a || s || c === void 0 || v ||
|
|
26682
|
+
disabled: a || s || c === void 0 || v || I,
|
|
26676
26683
|
loading: v,
|
|
26677
26684
|
onClick: Z
|
|
26678
26685
|
}), /* @__PURE__ */ jsx(ActionButton, {
|
|
26679
26686
|
icon: /* @__PURE__ */ jsx(DeleteOutlined, {}),
|
|
26680
26687
|
tooltip: S("delete"),
|
|
26681
|
-
disabled: s || c === void 0 || m || v ||
|
|
26688
|
+
disabled: s || c === void 0 || m || v || I,
|
|
26682
26689
|
loading: m,
|
|
26683
26690
|
onClick: z
|
|
26684
26691
|
}), separator$2(), /* @__PURE__ */ jsx(ActionButton, {
|
|
26685
26692
|
icon: /* @__PURE__ */ jsx(InfoCircleOutlined$3, {}),
|
|
26686
26693
|
tooltip: S("showLogs"),
|
|
26687
|
-
disabled: s || c === void 0 || m || v ||
|
|
26694
|
+
disabled: s || c === void 0 || m || v || I,
|
|
26688
26695
|
loading: !1,
|
|
26689
26696
|
onClick: () => {
|
|
26690
26697
|
showLogInfo(p, c, S);
|
|
@@ -26692,7 +26699,7 @@ function FormActionBar({
|
|
|
26692
26699
|
}), /* @__PURE__ */ jsx(ActionButton, {
|
|
26693
26700
|
icon: /* @__PURE__ */ jsx(ReloadOutlined, {}),
|
|
26694
26701
|
tooltip: S("refresh"),
|
|
26695
|
-
disabled: s || c === void 0 || m || v ||
|
|
26702
|
+
disabled: s || c === void 0 || m || v || I,
|
|
26696
26703
|
loading: !1,
|
|
26697
26704
|
onClick: () => {
|
|
26698
26705
|
$(() => {
|
|
@@ -26889,40 +26896,40 @@ var isIP = { exports: {} };
|
|
|
26889
26896
|
(function(e, t) {
|
|
26890
26897
|
Object.defineProperty(t, "__esModule", {
|
|
26891
26898
|
value: !0
|
|
26892
|
-
}), t.default =
|
|
26899
|
+
}), t.default = g;
|
|
26893
26900
|
var n = s(assertString.exports), r = s(isFQDN.exports), o = s(isIP.exports), a = s(merge.exports);
|
|
26894
|
-
function s(
|
|
26895
|
-
return
|
|
26901
|
+
function s(I) {
|
|
26902
|
+
return I && I.__esModule ? I : { default: I };
|
|
26896
26903
|
}
|
|
26897
|
-
function c(
|
|
26898
|
-
return p(
|
|
26904
|
+
function c(I, C) {
|
|
26905
|
+
return p(I) || f(I, C) || u(I, C) || l();
|
|
26899
26906
|
}
|
|
26900
26907
|
function l() {
|
|
26901
26908
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
26902
26909
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
26903
26910
|
}
|
|
26904
|
-
function u(
|
|
26905
|
-
if (!!
|
|
26906
|
-
if (typeof
|
|
26907
|
-
return d(
|
|
26908
|
-
var y = Object.prototype.toString.call(
|
|
26909
|
-
if (y === "Object" &&
|
|
26910
|
-
return Array.from(
|
|
26911
|
+
function u(I, C) {
|
|
26912
|
+
if (!!I) {
|
|
26913
|
+
if (typeof I == "string")
|
|
26914
|
+
return d(I, C);
|
|
26915
|
+
var y = Object.prototype.toString.call(I).slice(8, -1);
|
|
26916
|
+
if (y === "Object" && I.constructor && (y = I.constructor.name), y === "Map" || y === "Set")
|
|
26917
|
+
return Array.from(I);
|
|
26911
26918
|
if (y === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))
|
|
26912
|
-
return d(
|
|
26919
|
+
return d(I, C);
|
|
26913
26920
|
}
|
|
26914
26921
|
}
|
|
26915
|
-
function d(
|
|
26916
|
-
(C == null || C >
|
|
26922
|
+
function d(I, C) {
|
|
26923
|
+
(C == null || C > I.length) && (C = I.length);
|
|
26917
26924
|
for (var y = 0, O = new Array(C); y < C; y++)
|
|
26918
|
-
O[y] =
|
|
26925
|
+
O[y] = I[y];
|
|
26919
26926
|
return O;
|
|
26920
26927
|
}
|
|
26921
|
-
function f(
|
|
26922
|
-
if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(
|
|
26928
|
+
function f(I, C) {
|
|
26929
|
+
if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(I)))) {
|
|
26923
26930
|
var y = [], O = !0, b = !1, E = void 0;
|
|
26924
26931
|
try {
|
|
26925
|
-
for (var w =
|
|
26932
|
+
for (var w = I[Symbol.iterator](), _; !(O = (_ = w.next()).done) && (y.push(_.value), !(C && y.length === C)); O = !0)
|
|
26926
26933
|
;
|
|
26927
26934
|
} catch (S) {
|
|
26928
26935
|
b = !0, E = S;
|
|
@@ -26937,9 +26944,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
26937
26944
|
return y;
|
|
26938
26945
|
}
|
|
26939
26946
|
}
|
|
26940
|
-
function p(
|
|
26941
|
-
if (Array.isArray(
|
|
26942
|
-
return
|
|
26947
|
+
function p(I) {
|
|
26948
|
+
if (Array.isArray(I))
|
|
26949
|
+
return I;
|
|
26943
26950
|
}
|
|
26944
26951
|
var h = {
|
|
26945
26952
|
protocols: ["http", "https", "ftp"],
|
|
@@ -26955,38 +26962,38 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
26955
26962
|
allow_query_components: !0,
|
|
26956
26963
|
validate_length: !0
|
|
26957
26964
|
}, m = /^\[([^\]]+)\](?::([0-9]+))?$/;
|
|
26958
|
-
function v(
|
|
26959
|
-
return Object.prototype.toString.call(
|
|
26965
|
+
function v(I) {
|
|
26966
|
+
return Object.prototype.toString.call(I) === "[object RegExp]";
|
|
26960
26967
|
}
|
|
26961
|
-
function x(
|
|
26968
|
+
function x(I, C) {
|
|
26962
26969
|
for (var y = 0; y < C.length; y++) {
|
|
26963
26970
|
var O = C[y];
|
|
26964
|
-
if (
|
|
26971
|
+
if (I === O || v(O) && O.test(I))
|
|
26965
26972
|
return !0;
|
|
26966
26973
|
}
|
|
26967
26974
|
return !1;
|
|
26968
26975
|
}
|
|
26969
|
-
function I
|
|
26970
|
-
if ((0, n.default)(
|
|
26976
|
+
function g(I, C) {
|
|
26977
|
+
if ((0, n.default)(I), !I || /[\s<>]/.test(I) || I.indexOf("mailto:") === 0 || (C = (0, a.default)(C, h), C.validate_length && I.length >= 2083) || !C.allow_fragments && I.includes("#") || !C.allow_query_components && (I.includes("?") || I.includes("&")))
|
|
26971
26978
|
return !1;
|
|
26972
26979
|
var y, O, b, E, w, _, S, k;
|
|
26973
|
-
if (S =
|
|
26980
|
+
if (S = I.split("#"), I = S.shift(), S = I.split("?"), I = S.shift(), S = I.split("://"), S.length > 1) {
|
|
26974
26981
|
if (y = S.shift().toLowerCase(), C.require_valid_protocol && C.protocols.indexOf(y) === -1)
|
|
26975
26982
|
return !1;
|
|
26976
26983
|
} else {
|
|
26977
26984
|
if (C.require_protocol)
|
|
26978
26985
|
return !1;
|
|
26979
|
-
if (
|
|
26986
|
+
if (I.substr(0, 2) === "//") {
|
|
26980
26987
|
if (!C.allow_protocol_relative_urls)
|
|
26981
26988
|
return !1;
|
|
26982
|
-
S[0] =
|
|
26989
|
+
S[0] = I.substr(2);
|
|
26983
26990
|
}
|
|
26984
26991
|
}
|
|
26985
|
-
if (
|
|
26992
|
+
if (I = S.join("://"), I === "")
|
|
26986
26993
|
return !1;
|
|
26987
|
-
if (S =
|
|
26994
|
+
if (S = I.split("/"), I = S.shift(), I === "" && !C.require_host)
|
|
26988
26995
|
return !0;
|
|
26989
|
-
if (S =
|
|
26996
|
+
if (S = I.split("@"), S.length > 1) {
|
|
26990
26997
|
if (C.disallow_auth || S[0] === "" || (O = S.shift(), O.indexOf(":") >= 0 && O.split(":").length > 2))
|
|
26991
26998
|
return !1;
|
|
26992
26999
|
var N = O.split(":"), D = c(N, 2), M = D[0], L = D[1];
|
|
@@ -27043,8 +27050,8 @@ const isURL = /* @__PURE__ */ getDefaultExportFromCjs(isURL$1.exports), LinkInpu
|
|
|
27043
27050
|
flex: "auto",
|
|
27044
27051
|
children: m ? /* @__PURE__ */ jsx(Input$1, {
|
|
27045
27052
|
id: s,
|
|
27046
|
-
onChange: (
|
|
27047
|
-
r == null || r(
|
|
27053
|
+
onChange: (g) => {
|
|
27054
|
+
r == null || r(g.target.value);
|
|
27048
27055
|
},
|
|
27049
27056
|
className: u,
|
|
27050
27057
|
value: n,
|
|
@@ -27105,10 +27112,10 @@ var isEmail$1 = { exports: {} }, isByteLength = { exports: {} };
|
|
|
27105
27112
|
(function(e, t) {
|
|
27106
27113
|
Object.defineProperty(t, "__esModule", {
|
|
27107
27114
|
value: !0
|
|
27108
|
-
}), t.default =
|
|
27115
|
+
}), t.default = g;
|
|
27109
27116
|
var n = c(assertString.exports), r = c(merge.exports), o = c(isByteLength.exports), a = c(isFQDN.exports), s = c(isIP.exports);
|
|
27110
|
-
function c(
|
|
27111
|
-
return
|
|
27117
|
+
function c(I) {
|
|
27118
|
+
return I && I.__esModule ? I : { default: I };
|
|
27112
27119
|
}
|
|
27113
27120
|
var l = {
|
|
27114
27121
|
allow_display_name: !1,
|
|
@@ -27119,13 +27126,13 @@ var isEmail$1 = { exports: {} }, isByteLength = { exports: {} };
|
|
|
27119
27126
|
ignore_max_length: !1,
|
|
27120
27127
|
host_blacklist: []
|
|
27121
27128
|
}, u = /^([^\x00-\x1F\x7F-\x9F\cX]+)</i, d = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i, f = /^[a-z\d]+$/, p = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i, h = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i, m = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i, v = 254;
|
|
27122
|
-
function x(
|
|
27123
|
-
var C =
|
|
27129
|
+
function x(I) {
|
|
27130
|
+
var C = I.replace(/^"(.+)"$/, "$1");
|
|
27124
27131
|
if (!C.trim())
|
|
27125
27132
|
return !1;
|
|
27126
27133
|
var y = /[\.";<>]/.test(C);
|
|
27127
27134
|
if (y) {
|
|
27128
|
-
if (C ===
|
|
27135
|
+
if (C === I)
|
|
27129
27136
|
return !1;
|
|
27130
27137
|
var O = C.split('"').length === C.split('\\"').length;
|
|
27131
27138
|
if (!O)
|
|
@@ -27133,19 +27140,19 @@ var isEmail$1 = { exports: {} }, isByteLength = { exports: {} };
|
|
|
27133
27140
|
}
|
|
27134
27141
|
return !0;
|
|
27135
27142
|
}
|
|
27136
|
-
function I
|
|
27137
|
-
if ((0, n.default)(
|
|
27138
|
-
var y =
|
|
27143
|
+
function g(I, C) {
|
|
27144
|
+
if ((0, n.default)(I), C = (0, r.default)(C, l), C.require_display_name || C.allow_display_name) {
|
|
27145
|
+
var y = I.match(u);
|
|
27139
27146
|
if (y) {
|
|
27140
27147
|
var O = y[1];
|
|
27141
|
-
if (
|
|
27148
|
+
if (I = I.replace(O, "").replace(/(^<|>$)/g, ""), O.endsWith(" ") && (O = O.substr(0, O.length - 1)), !x(O))
|
|
27142
27149
|
return !1;
|
|
27143
27150
|
} else if (C.require_display_name)
|
|
27144
27151
|
return !1;
|
|
27145
27152
|
}
|
|
27146
|
-
if (!C.ignore_max_length &&
|
|
27153
|
+
if (!C.ignore_max_length && I.length > v)
|
|
27147
27154
|
return !1;
|
|
27148
|
-
var b =
|
|
27155
|
+
var b = I.split("@"), E = b.pop(), w = E.toLowerCase();
|
|
27149
27156
|
if (C.host_blacklist.includes(w))
|
|
27150
27157
|
return !1;
|
|
27151
27158
|
var _ = b.join("@");
|
|
@@ -27458,8 +27465,8 @@ const GraphActionView = (e) => {
|
|
|
27458
27465
|
setSelectedRowItems: m = void 0,
|
|
27459
27466
|
setSearchParams: v = void 0,
|
|
27460
27467
|
searchVisible: x = !0,
|
|
27461
|
-
setSearchVisible:
|
|
27462
|
-
sorter:
|
|
27468
|
+
setSearchVisible: g = void 0,
|
|
27469
|
+
sorter: I = void 0,
|
|
27463
27470
|
setSorter: C = void 0,
|
|
27464
27471
|
setTotalItems: y = void 0,
|
|
27465
27472
|
setSearchTreeNameSearch: O = void 0,
|
|
@@ -27490,12 +27497,12 @@ const GraphActionView = (e) => {
|
|
|
27490
27497
|
searchParams: _,
|
|
27491
27498
|
setSearchValues: k,
|
|
27492
27499
|
setSearchParams: v,
|
|
27493
|
-
setSearchVisible:
|
|
27500
|
+
setSearchVisible: g,
|
|
27494
27501
|
setTreeIsLoading: b,
|
|
27495
27502
|
context: o,
|
|
27496
27503
|
formView: s,
|
|
27497
27504
|
treeView: c,
|
|
27498
|
-
sorter:
|
|
27505
|
+
sorter: I,
|
|
27499
27506
|
setSorter: C,
|
|
27500
27507
|
setCurrentItemIndex: f,
|
|
27501
27508
|
setResultsActionView: d,
|
|
@@ -27525,7 +27532,7 @@ const GraphActionView = (e) => {
|
|
|
27525
27532
|
offset: B,
|
|
27526
27533
|
isSearching: q,
|
|
27527
27534
|
onSubmit: (G) => {
|
|
27528
|
-
M(!1), v == null || v(G.params),
|
|
27535
|
+
M(!1), v == null || v(G.params), g == null || g(!1);
|
|
27529
27536
|
},
|
|
27530
27537
|
searchError: $,
|
|
27531
27538
|
searchVisible: x,
|
|
@@ -27654,8 +27661,8 @@ function TreeActionBar(e) {
|
|
|
27654
27661
|
searchVisible: m,
|
|
27655
27662
|
setSearchVisible: v,
|
|
27656
27663
|
setSearchTreeNameSearch: x,
|
|
27657
|
-
searchTreeNameSearch:
|
|
27658
|
-
treeIsLoading:
|
|
27664
|
+
searchTreeNameSearch: g,
|
|
27665
|
+
treeIsLoading: I,
|
|
27659
27666
|
setPreviousView: C,
|
|
27660
27667
|
previousView: y
|
|
27661
27668
|
} = useContext(ActionViewContext), {
|
|
@@ -27731,23 +27738,23 @@ function TreeActionBar(e) {
|
|
|
27731
27738
|
wrap: !0,
|
|
27732
27739
|
children: [b ? null : /* @__PURE__ */ jsxs(Fragment, {
|
|
27733
27740
|
children: [/* @__PURE__ */ jsx(SearchBar, {
|
|
27734
|
-
disabled: c || s ||
|
|
27735
|
-
searchText:
|
|
27741
|
+
disabled: c || s || I,
|
|
27742
|
+
searchText: g,
|
|
27736
27743
|
onSearch: (q) => {
|
|
27737
27744
|
q && q.trim().length > 0 ? x == null || x(q) : x == null || x(void 0);
|
|
27738
27745
|
}
|
|
27739
27746
|
}), separator$1(), /* @__PURE__ */ jsx(NewButton, {
|
|
27740
|
-
disabled:
|
|
27747
|
+
disabled: I
|
|
27741
27748
|
}), separator$1(), /* @__PURE__ */ jsx(ActionButton, {
|
|
27742
27749
|
icon: /* @__PURE__ */ jsx(CopyOutlined$3, {}),
|
|
27743
27750
|
tooltip: w("duplicate"),
|
|
27744
|
-
disabled: !o || (o == null ? void 0 : o.length) !== 1 || c ||
|
|
27751
|
+
disabled: !o || (o == null ? void 0 : o.length) !== 1 || c || I,
|
|
27745
27752
|
loading: c,
|
|
27746
27753
|
onClick: M
|
|
27747
27754
|
}), /* @__PURE__ */ jsx(ActionButton, {
|
|
27748
27755
|
icon: /* @__PURE__ */ jsx(DeleteOutlined, {}),
|
|
27749
27756
|
tooltip: w("delete"),
|
|
27750
|
-
disabled: !(o && (o == null ? void 0 : o.length) > 0) ||
|
|
27757
|
+
disabled: !(o && (o == null ? void 0 : o.length) > 0) || I,
|
|
27751
27758
|
loading: s,
|
|
27752
27759
|
onClick: N
|
|
27753
27760
|
}), separator$1()]
|
|
@@ -27762,12 +27769,12 @@ function TreeActionBar(e) {
|
|
|
27762
27769
|
onClick: () => {
|
|
27763
27770
|
v == null || v(!m);
|
|
27764
27771
|
},
|
|
27765
|
-
disabled: c || s ||
|
|
27772
|
+
disabled: c || s || I,
|
|
27766
27773
|
badgeNumber: h == null ? void 0 : h.length
|
|
27767
27774
|
}), /* @__PURE__ */ jsx(ActionButton, {
|
|
27768
27775
|
icon: /* @__PURE__ */ jsx(InfoCircleOutlined$3, {}),
|
|
27769
27776
|
tooltip: w("showLogs"),
|
|
27770
|
-
disabled: !(o && (o == null ? void 0 : o.length) > 0) ||
|
|
27777
|
+
disabled: !(o && (o == null ? void 0 : o.length) > 0) || I,
|
|
27771
27778
|
loading: !1,
|
|
27772
27779
|
onClick: () => {
|
|
27773
27780
|
showLogInfo(u, o[0].id, w);
|
|
@@ -27775,7 +27782,7 @@ function TreeActionBar(e) {
|
|
|
27775
27782
|
}), /* @__PURE__ */ jsx(ActionButton, {
|
|
27776
27783
|
icon: /* @__PURE__ */ jsx(ReloadOutlined, {}),
|
|
27777
27784
|
tooltip: w("refresh"),
|
|
27778
|
-
disabled: c || s ||
|
|
27785
|
+
disabled: c || s || I,
|
|
27779
27786
|
loading: !1,
|
|
27780
27787
|
onClick: () => {
|
|
27781
27788
|
var q;
|
|
@@ -27789,11 +27796,11 @@ function TreeActionBar(e) {
|
|
|
27789
27796
|
C == null || C(n), r == null || r(q);
|
|
27790
27797
|
},
|
|
27791
27798
|
previousView: y,
|
|
27792
|
-
disabled:
|
|
27799
|
+
disabled: I
|
|
27793
27800
|
})]
|
|
27794
27801
|
}), separator$1(), /* @__PURE__ */ jsx(DropdownButton, {
|
|
27795
27802
|
icon: /* @__PURE__ */ jsx(ThunderboltOutlined, {}),
|
|
27796
|
-
disabled: !(o && (o == null ? void 0 : o.length) > 0) ||
|
|
27803
|
+
disabled: !(o && (o == null ? void 0 : o.length) > 0) || I,
|
|
27797
27804
|
tooltip: w("actions"),
|
|
27798
27805
|
items: E == null ? void 0 : E.action,
|
|
27799
27806
|
onItemClick: (q) => {
|
|
@@ -27801,7 +27808,7 @@ function TreeActionBar(e) {
|
|
|
27801
27808
|
}
|
|
27802
27809
|
}), /* @__PURE__ */ jsx(DropdownButton, {
|
|
27803
27810
|
icon: /* @__PURE__ */ jsx(PrinterOutlined, {}),
|
|
27804
|
-
disabled: !(o && (o == null ? void 0 : o.length) > 0) ||
|
|
27811
|
+
disabled: !(o && (o == null ? void 0 : o.length) > 0) || I,
|
|
27805
27812
|
tooltip: w("reports"),
|
|
27806
27813
|
items: E == null ? void 0 : E.print,
|
|
27807
27814
|
onItemClick: (q) => {
|
|
@@ -27858,11 +27865,11 @@ const TreeActionView = (e) => {
|
|
|
27858
27865
|
domain: c,
|
|
27859
27866
|
onRowClicked: (x) => {
|
|
27860
27867
|
const {
|
|
27861
|
-
id:
|
|
27868
|
+
id: g
|
|
27862
27869
|
} = x;
|
|
27863
|
-
d(
|
|
27864
|
-
const
|
|
27865
|
-
v == null || v(m), l(
|
|
27870
|
+
d(g);
|
|
27871
|
+
const I = u.findIndex((y) => y.id === g);
|
|
27872
|
+
v == null || v(m), l(I);
|
|
27866
27873
|
const C = p.find((y) => y.type === "form");
|
|
27867
27874
|
f(C);
|
|
27868
27875
|
}
|
|
@@ -27973,7 +27980,7 @@ function ActionView(e, t) {
|
|
|
27973
27980
|
action_type: m,
|
|
27974
27981
|
treeExpandable: v = !1,
|
|
27975
27982
|
limit: x
|
|
27976
|
-
} = e, [
|
|
27983
|
+
} = e, [g, I] = useState(), [C, y] = useState([]), [O, b] = useState(!0), E = p || void 0, [w, _] = useState(E), [S, k] = useState([]), [N, D] = useState(), [M, L] = useState([]), [q, $] = useState(), [B, U] = useState(0), [G, z] = useState(!1), [W, Z] = useState(!1), [V, H] = useState(), {
|
|
27977
27984
|
t: P
|
|
27978
27985
|
} = useContext(LocaleContext), A = useRef(), j = useRef(), K = useContext(TabManagerContext), {
|
|
27979
27986
|
setCurrentView: X,
|
|
@@ -27984,12 +27991,12 @@ function ActionView(e, t) {
|
|
|
27984
27991
|
} = K || {};
|
|
27985
27992
|
useHotkeys("ctrl+g,command+g", (ie) => {
|
|
27986
27993
|
ie.preventDefault(), le();
|
|
27987
|
-
}, [Y, T,
|
|
27994
|
+
}, [Y, T, g, N, M]);
|
|
27988
27995
|
function ne(ie) {
|
|
27989
27996
|
_(ie), F == null || F(ie);
|
|
27990
27997
|
}
|
|
27991
27998
|
function J(ie) {
|
|
27992
|
-
|
|
27999
|
+
I(ie), X == null || X(ie);
|
|
27993
28000
|
}
|
|
27994
28001
|
useImperativeHandle(t, () => ({
|
|
27995
28002
|
canWeClose: oe
|
|
@@ -28070,13 +28077,13 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
28070
28077
|
const ie = C.find((Ie) => Ie.type === "tree"), de = C.find((Ie) => u.id ? Ie.type === u.type && Ie.view_id === u.id : Ie.type === u.type);
|
|
28071
28078
|
J(de || ie), p ? F == null || F(E) : (ne(void 0), D(void 0)), ee();
|
|
28072
28079
|
}, [r, a, p]), useEffect(() => {
|
|
28073
|
-
Y === l && (F == null || F(w), X == null || X(
|
|
28080
|
+
Y === l && (F == null || F(w), X == null || X(g));
|
|
28074
28081
|
}, [T, Y]);
|
|
28075
28082
|
async function oe() {
|
|
28076
|
-
return
|
|
28083
|
+
return g.type === "form" ? await A.current.cancelUnsavedChanges() : !0;
|
|
28077
28084
|
}
|
|
28078
28085
|
async function le() {
|
|
28079
|
-
Y === l && (
|
|
28086
|
+
Y === l && (g.type === "form" && !await A.current.cancelUnsavedChanges() || z(!0));
|
|
28080
28087
|
}
|
|
28081
28088
|
async function ae(ie) {
|
|
28082
28089
|
var Ce;
|
|
@@ -28123,7 +28130,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
28123
28130
|
return /* @__PURE__ */ jsx(FormActionView, {
|
|
28124
28131
|
formRef: A,
|
|
28125
28132
|
currentId: w,
|
|
28126
|
-
visible:
|
|
28133
|
+
visible: g.type === ie.type && g.view_id === ie.view_id,
|
|
28127
28134
|
formView: ie,
|
|
28128
28135
|
model: r,
|
|
28129
28136
|
context: o,
|
|
@@ -28136,7 +28143,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
28136
28143
|
}, `${ie.type}-${ie.view_id}`);
|
|
28137
28144
|
case "tree":
|
|
28138
28145
|
return /* @__PURE__ */ jsx(TreeActionView, {
|
|
28139
|
-
visible:
|
|
28146
|
+
visible: g.type === ie.type && g.view_id === ie.view_id,
|
|
28140
28147
|
limit: x,
|
|
28141
28148
|
model: r,
|
|
28142
28149
|
context: o,
|
|
@@ -28153,7 +28160,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
28153
28160
|
}, `${ie.type}-${ie.view_id}`);
|
|
28154
28161
|
case "graph":
|
|
28155
28162
|
return /* @__PURE__ */ jsx(GraphActionView, {
|
|
28156
|
-
visible:
|
|
28163
|
+
visible: g.type === ie.type && g.view_id === ie.view_id,
|
|
28157
28164
|
viewData: ie,
|
|
28158
28165
|
model: r,
|
|
28159
28166
|
context: o,
|
|
@@ -28169,7 +28176,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
28169
28176
|
});
|
|
28170
28177
|
}
|
|
28171
28178
|
function me() {
|
|
28172
|
-
if (w === void 0 &&
|
|
28179
|
+
if (w === void 0 && g.type === "form")
|
|
28173
28180
|
A.current.clearAndReload();
|
|
28174
28181
|
else {
|
|
28175
28182
|
ne(void 0);
|
|
@@ -28177,9 +28184,9 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
28177
28184
|
J(ie);
|
|
28178
28185
|
}
|
|
28179
28186
|
}
|
|
28180
|
-
return O ? /* @__PURE__ */ jsx(Spin, {}) :
|
|
28187
|
+
return O ? /* @__PURE__ */ jsx(Spin, {}) : g ? /* @__PURE__ */ jsxs(ActionViewProvider, {
|
|
28181
28188
|
title: s,
|
|
28182
|
-
currentView:
|
|
28189
|
+
currentView: g,
|
|
28183
28190
|
setCurrentView: J,
|
|
28184
28191
|
availableViews: C,
|
|
28185
28192
|
formRef: A,
|
|
@@ -28266,10 +28273,10 @@ async function fetchAction({
|
|
|
28266
28273
|
limit: f,
|
|
28267
28274
|
view_type: p
|
|
28268
28275
|
} = a, h = p === "tree", m = [];
|
|
28269
|
-
for (const
|
|
28270
|
-
const [C, y] =
|
|
28276
|
+
for (const I of u) {
|
|
28277
|
+
const [C, y] = I;
|
|
28271
28278
|
if (C)
|
|
28272
|
-
m.push(
|
|
28279
|
+
m.push(I);
|
|
28273
28280
|
else {
|
|
28274
28281
|
const { view_id: O } = await ConnectionProvider.getHandler().getView({
|
|
28275
28282
|
model: l,
|
|
@@ -28280,7 +28287,7 @@ async function fetchAction({
|
|
|
28280
28287
|
m.push([O, y]);
|
|
28281
28288
|
}
|
|
28282
28289
|
}
|
|
28283
|
-
const [v, x] = m[0],
|
|
28290
|
+
const [v, x] = m[0], g = { id: v, type: x };
|
|
28284
28291
|
return {
|
|
28285
28292
|
title: d,
|
|
28286
28293
|
actionId: e,
|
|
@@ -28290,7 +28297,7 @@ async function fetchAction({
|
|
|
28290
28297
|
model: l,
|
|
28291
28298
|
context: { ...t, ...s },
|
|
28292
28299
|
domain: c,
|
|
28293
|
-
initialView:
|
|
28300
|
+
initialView: g,
|
|
28294
28301
|
limit: f,
|
|
28295
28302
|
treeExpandable: h
|
|
28296
28303
|
};
|
|
@@ -28401,7 +28408,7 @@ function DashboardTree(e) {
|
|
|
28401
28408
|
domain: a = [],
|
|
28402
28409
|
visible: s = !0,
|
|
28403
28410
|
parentContext: c = {}
|
|
28404
|
-
} = e, [l, u] = useState(!1), [d, f] = useState(!1), [p, h] = useState(), [m, v] = useState(), [x,
|
|
28411
|
+
} = e, [l, u] = useState(!1), [d, f] = useState(!1), [p, h] = useState(), [m, v] = useState(), [x, g] = useState(), [I, C] = useState(1), [y, O] = useState(0), b = useRef(DEFAULT_SEARCH_LIMIT), E = useRef([]), [w, _] = useState(0), [S, k] = useState([]), [N, D] = useState(void 0), [M, L] = useState(), [q, $] = useState(), [B, U] = useState(), [G, z] = useState(!1), W = useRef([]), Z = (F) => {
|
|
28405
28412
|
z(!0), C(F), O((F - 1) * b.current);
|
|
28406
28413
|
}, V = async () => {
|
|
28407
28414
|
const F = W.current.length > 0 ? W.current : a, T = mergeParams(E.current, F), {
|
|
@@ -28442,7 +28449,7 @@ function DashboardTree(e) {
|
|
|
28442
28449
|
};
|
|
28443
28450
|
useEffect(() => {
|
|
28444
28451
|
!d || s && H();
|
|
28445
|
-
}, [
|
|
28452
|
+
}, [I, y, d, s]);
|
|
28446
28453
|
const P = async (F) => {
|
|
28447
28454
|
f(!1), u(!0), U(void 0);
|
|
28448
28455
|
try {
|
|
@@ -28457,7 +28464,7 @@ function DashboardTree(e) {
|
|
|
28457
28464
|
action: t,
|
|
28458
28465
|
context: c
|
|
28459
28466
|
});
|
|
28460
|
-
W.current = F.domain,
|
|
28467
|
+
W.current = F.domain, g(F.views.get("form")), v(F.views.get("tree")), h(F.model), b.current = F.limit;
|
|
28461
28468
|
}, j = async () => {
|
|
28462
28469
|
h(n);
|
|
28463
28470
|
const F = await ConnectionProvider.getHandler().getView({
|
|
@@ -28465,7 +28472,7 @@ function DashboardTree(e) {
|
|
|
28465
28472
|
type: "form",
|
|
28466
28473
|
context: c
|
|
28467
28474
|
});
|
|
28468
|
-
|
|
28475
|
+
g(F);
|
|
28469
28476
|
const T = await ConnectionProvider.getHandler().getView({
|
|
28470
28477
|
model: n,
|
|
28471
28478
|
type: "tree",
|
|
@@ -28499,7 +28506,7 @@ function DashboardTree(e) {
|
|
|
28499
28506
|
showPagination: !1,
|
|
28500
28507
|
total: w,
|
|
28501
28508
|
limit: b.current,
|
|
28502
|
-
page:
|
|
28509
|
+
page: I,
|
|
28503
28510
|
treeView: m,
|
|
28504
28511
|
results: S,
|
|
28505
28512
|
onRequestPageChange: Z,
|
|
@@ -28572,17 +28579,17 @@ function Dashboard(e, t) {
|
|
|
28572
28579
|
moveItemsEnabled: m
|
|
28573
28580
|
} = useContext(DashboardActionContext), v = useRef(), x = useRef();
|
|
28574
28581
|
useEffect(() => {
|
|
28575
|
-
|
|
28582
|
+
g();
|
|
28576
28583
|
}, [n, o, r]), useImperativeHandle(t, () => ({
|
|
28577
28584
|
refresh: () => {
|
|
28578
|
-
|
|
28585
|
+
g();
|
|
28579
28586
|
},
|
|
28580
28587
|
configDashboard: E
|
|
28581
28588
|
}));
|
|
28582
|
-
async function
|
|
28589
|
+
async function g() {
|
|
28583
28590
|
u(!0), p(!0), f(void 0);
|
|
28584
28591
|
try {
|
|
28585
|
-
const w = await
|
|
28592
|
+
const w = await I(), _ = await y(w), S = w.fields[itemsField].relation, k = _[itemsField].items;
|
|
28586
28593
|
x.current = w.fields;
|
|
28587
28594
|
const N = await C({
|
|
28588
28595
|
items: k,
|
|
@@ -28594,7 +28601,7 @@ function Dashboard(e, t) {
|
|
|
28594
28601
|
f(JSON.stringify(w));
|
|
28595
28602
|
}
|
|
28596
28603
|
}
|
|
28597
|
-
async function
|
|
28604
|
+
async function I() {
|
|
28598
28605
|
return await ConnectionProvider.getHandler().getView({
|
|
28599
28606
|
model: n,
|
|
28600
28607
|
type: "form",
|
|
@@ -28850,9 +28857,9 @@ const Dashboard$1 = forwardRef(Dashboard), MultiCheckbox = (e) => {
|
|
|
28850
28857
|
readOnly: m,
|
|
28851
28858
|
field: v,
|
|
28852
28859
|
columns: x
|
|
28853
|
-
} = n,
|
|
28854
|
-
getContext:
|
|
28855
|
-
} =
|
|
28860
|
+
} = n, g = useContext(FormContext$1), {
|
|
28861
|
+
getContext: I
|
|
28862
|
+
} = g || {};
|
|
28856
28863
|
useDeepCompareEffect(() => {
|
|
28857
28864
|
y();
|
|
28858
28865
|
}, [o]);
|
|
@@ -28868,10 +28875,11 @@ const Dashboard$1 = forwardRef(Dashboard), MultiCheckbox = (e) => {
|
|
|
28868
28875
|
const _ = await ConnectionProvider.getHandler().evalDomain({
|
|
28869
28876
|
domain: n.domain,
|
|
28870
28877
|
values: transformPlainMany2Ones({
|
|
28871
|
-
fields:
|
|
28872
|
-
values:
|
|
28878
|
+
fields: g == null ? void 0 : g.getFields(),
|
|
28879
|
+
values: g.getPlainValues()
|
|
28873
28880
|
}),
|
|
28874
|
-
|
|
28881
|
+
fields: g == null ? void 0 : g.getFields(),
|
|
28882
|
+
context: g.getContext()
|
|
28875
28883
|
});
|
|
28876
28884
|
w = [...w, ..._];
|
|
28877
28885
|
}
|
|
@@ -28881,7 +28889,7 @@ const Dashboard$1 = forwardRef(Dashboard), MultiCheckbox = (e) => {
|
|
|
28881
28889
|
params: w,
|
|
28882
28890
|
fields: [v],
|
|
28883
28891
|
context: {
|
|
28884
|
-
...
|
|
28892
|
+
...I == null ? void 0 : I(),
|
|
28885
28893
|
...h
|
|
28886
28894
|
}
|
|
28887
28895
|
})).map((k) => {
|
|
@@ -29107,7 +29115,7 @@ function RootView(e, t) {
|
|
|
29107
29115
|
}]), d = useRef(/* @__PURE__ */ new Map()), f = useRef();
|
|
29108
29116
|
useImperativeHandle(t, () => ({
|
|
29109
29117
|
retrieveAndOpenAction: m,
|
|
29110
|
-
openShortcut:
|
|
29118
|
+
openShortcut: g
|
|
29111
29119
|
}));
|
|
29112
29120
|
function p(y) {
|
|
29113
29121
|
if (y === s) {
|
|
@@ -29261,6 +29269,7 @@ function RootView(e, t) {
|
|
|
29261
29269
|
...r
|
|
29262
29270
|
}
|
|
29263
29271
|
}),
|
|
29272
|
+
fields: O,
|
|
29264
29273
|
context: {
|
|
29265
29274
|
...o,
|
|
29266
29275
|
...U
|
|
@@ -29282,7 +29291,7 @@ function RootView(e, t) {
|
|
|
29282
29291
|
limit: L
|
|
29283
29292
|
});
|
|
29284
29293
|
}
|
|
29285
|
-
async function
|
|
29294
|
+
async function g(y) {
|
|
29286
29295
|
const {
|
|
29287
29296
|
action_id: O,
|
|
29288
29297
|
action_type: b,
|
|
@@ -29359,7 +29368,7 @@ function RootView(e, t) {
|
|
|
29359
29368
|
limit: B
|
|
29360
29369
|
});
|
|
29361
29370
|
}
|
|
29362
|
-
async function
|
|
29371
|
+
async function I({
|
|
29363
29372
|
model: y,
|
|
29364
29373
|
values: O,
|
|
29365
29374
|
forced_values: b,
|
|
@@ -29457,10 +29466,10 @@ function RootView(e, t) {
|
|
|
29457
29466
|
return /* @__PURE__ */ jsx(LocaleContextProvider, {
|
|
29458
29467
|
lang: a,
|
|
29459
29468
|
children: /* @__PURE__ */ jsx(TabManagerProvider, {
|
|
29460
|
-
openShortcut:
|
|
29469
|
+
openShortcut: g,
|
|
29461
29470
|
openAction: C,
|
|
29462
29471
|
openRelate: x,
|
|
29463
|
-
openDefaultActionForModel:
|
|
29472
|
+
openDefaultActionForModel: I,
|
|
29464
29473
|
tabs: l,
|
|
29465
29474
|
activeKey: s,
|
|
29466
29475
|
onRemoveTab: async (y) => {
|
|
@@ -29590,8 +29599,8 @@ const FavouriteButton = (e) => {
|
|
|
29590
29599
|
} = e, [a, s] = useState(!1), [c, l] = useState(!1), [u, d] = useState([]), [f, p] = useState(!0), [h, m] = useState(), {
|
|
29591
29600
|
t: v
|
|
29592
29601
|
} = useContext(LocaleContext), x = useContext(TabManagerContext), {
|
|
29593
|
-
openShortcut:
|
|
29594
|
-
tabs:
|
|
29602
|
+
openShortcut: g,
|
|
29603
|
+
tabs: I,
|
|
29595
29604
|
activeKey: C,
|
|
29596
29605
|
currentView: y,
|
|
29597
29606
|
currentId: O,
|
|
@@ -29601,7 +29610,7 @@ const FavouriteButton = (e) => {
|
|
|
29601
29610
|
E();
|
|
29602
29611
|
}, []), useEffect(() => {
|
|
29603
29612
|
S();
|
|
29604
|
-
}, [
|
|
29613
|
+
}, [I, C, y, O]);
|
|
29605
29614
|
async function E() {
|
|
29606
29615
|
try {
|
|
29607
29616
|
p(!0);
|
|
@@ -29617,7 +29626,7 @@ const FavouriteButton = (e) => {
|
|
|
29617
29626
|
const {
|
|
29618
29627
|
key: q
|
|
29619
29628
|
} = L, $ = u.find((B) => B.id === Number(q));
|
|
29620
|
-
($ == null ? void 0 : $.action_type) !== "ir.actions.wizard" && ($ &&
|
|
29629
|
+
($ == null ? void 0 : $.action_type) !== "ir.actions.wizard" && ($ && g($), l(!1));
|
|
29621
29630
|
}
|
|
29622
29631
|
function _(L) {
|
|
29623
29632
|
L && E(), l(L);
|
|
@@ -29625,7 +29634,7 @@ const FavouriteButton = (e) => {
|
|
|
29625
29634
|
async function S() {
|
|
29626
29635
|
if (!y)
|
|
29627
29636
|
return;
|
|
29628
|
-
const L =
|
|
29637
|
+
const L = I.find((z) => z.key === C), {
|
|
29629
29638
|
id: q,
|
|
29630
29639
|
type: $
|
|
29631
29640
|
} = (L == null ? void 0 : L.action) || {};
|
|
@@ -29723,7 +29732,7 @@ const FavouriteButton = (e) => {
|
|
|
29723
29732
|
else {
|
|
29724
29733
|
if (!y)
|
|
29725
29734
|
return;
|
|
29726
|
-
const L =
|
|
29735
|
+
const L = I.find((G) => G.key === C), {
|
|
29727
29736
|
id: q,
|
|
29728
29737
|
type: $
|
|
29729
29738
|
} = (L == null ? void 0 : L.action) || {}, B = y.view_id;
|