@gisce/react-ooui 1.1.21 → 1.1.22-rc.1

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.
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import React__default, { useContext, useState, useEffect, useRef, useLayoutEffect, Component, useCallback, forwardRef, useImperativeHandle } from "react";
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, message as message$1, 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
- 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";
4
+ import { Label as Label$1, Field as Field$2, Container as Container$1, Tree as Tree$1, Reference as Reference$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
6
  import { Interweave } from "interweave";
7
7
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
@@ -11,8 +11,8 @@ import styled from "styled-components";
11
11
  import Measure from "react-measure";
12
12
  import { Line, Column, Pie } from "@ant-design/plots";
13
13
  import useDeepCompareEffect from "use-deep-compare-effect";
14
- import require$$0, { Buffer as Buffer$1 } from "buffer";
15
14
  import { Table } from "@gisce/react-formiga-table";
15
+ import require$$0, { Buffer as Buffer$1 } from "buffer";
16
16
  import { GridUi } from "fiber-diagram";
17
17
  import { useHotkeys } from "react-hotkeys-hook";
18
18
  import { WidthProvider, Responsive } from "react-grid-layout";
@@ -4706,7 +4706,7 @@ function requireReactIs_development() {
4706
4706
  }
4707
4707
  }
4708
4708
  }
4709
- var O = l, b = u, E = c, w = s, S = t, T = d, D = r, N = m, k = h, B = n, L = a, $ = o, q = f, M = !1;
4709
+ var O = l, b = u, E = c, w = s, S = t, T = d, D = r, N = m, k = h, B = n, L = a, $ = o, j = f, M = !1;
4710
4710
  function U(_) {
4711
4711
  return M || (M = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), G(_) || y(_) === l;
4712
4712
  }
@@ -4734,7 +4734,7 @@ function requireReactIs_development() {
4734
4734
  function A(_) {
4735
4735
  return y(_) === h;
4736
4736
  }
4737
- function j(_) {
4737
+ function q(_) {
4738
4738
  return y(_) === n;
4739
4739
  }
4740
4740
  function Y(_) {
@@ -4746,7 +4746,7 @@ function requireReactIs_development() {
4746
4746
  function F(_) {
4747
4747
  return y(_) === f;
4748
4748
  }
4749
- reactIs_development.AsyncMode = O, reactIs_development.ConcurrentMode = b, reactIs_development.ContextConsumer = E, reactIs_development.ContextProvider = w, reactIs_development.Element = S, reactIs_development.ForwardRef = T, reactIs_development.Fragment = D, reactIs_development.Lazy = N, reactIs_development.Memo = k, reactIs_development.Portal = B, reactIs_development.Profiler = L, reactIs_development.StrictMode = $, reactIs_development.Suspense = q, reactIs_development.isAsyncMode = U, reactIs_development.isConcurrentMode = G, reactIs_development.isContextConsumer = z, reactIs_development.isContextProvider = W, reactIs_development.isElement = K, reactIs_development.isForwardRef = V, reactIs_development.isFragment = H, reactIs_development.isLazy = P, reactIs_development.isMemo = A, reactIs_development.isPortal = j, reactIs_development.isProfiler = Y, reactIs_development.isStrictMode = X, reactIs_development.isSuspense = F, reactIs_development.isValidElementType = C, reactIs_development.typeOf = y;
4749
+ reactIs_development.AsyncMode = O, reactIs_development.ConcurrentMode = b, reactIs_development.ContextConsumer = E, reactIs_development.ContextProvider = w, reactIs_development.Element = S, reactIs_development.ForwardRef = T, reactIs_development.Fragment = D, reactIs_development.Lazy = N, reactIs_development.Memo = k, reactIs_development.Portal = B, reactIs_development.Profiler = L, reactIs_development.StrictMode = $, reactIs_development.Suspense = j, reactIs_development.isAsyncMode = U, reactIs_development.isConcurrentMode = G, reactIs_development.isContextConsumer = z, reactIs_development.isContextProvider = W, reactIs_development.isElement = K, reactIs_development.isForwardRef = V, reactIs_development.isFragment = H, reactIs_development.isLazy = P, reactIs_development.isMemo = A, reactIs_development.isPortal = q, reactIs_development.isProfiler = Y, reactIs_development.isStrictMode = X, reactIs_development.isSuspense = F, reactIs_development.isValidElementType = C, reactIs_development.typeOf = y;
4750
4750
  }()), reactIs_development;
4751
4751
  }
4752
4752
  var hasRequiredReactIs;
@@ -6412,7 +6412,7 @@ function requireAntdIcon() {
6412
6412
  var L = O ? {
6413
6413
  msTransform: "rotate(".concat(O, "deg)"),
6414
6414
  transform: "rotate(".concat(O, "deg)")
6415
- } : void 0, $ = (0, f.normalizeTwoToneColors)(w), q = (0, r.default)($, 2), M = q[0], U = q[1];
6415
+ } : void 0, $ = (0, f.normalizeTwoToneColors)(w), j = (0, r.default)($, 2), M = j[0], U = j[1];
6416
6416
  return /* @__PURE__ */ s.createElement("span", (0, n.default)((0, n.default)({
6417
6417
  role: "img",
6418
6418
  "aria-label": C.name
@@ -6591,12 +6591,12 @@ function requireRegeneratorRuntime() {
6591
6591
  try {
6592
6592
  d({}, "");
6593
6593
  } catch {
6594
- d = function(L, $, q) {
6595
- return L[$] = q;
6594
+ d = function(L, $, j) {
6595
+ return L[$] = j;
6596
6596
  };
6597
6597
  }
6598
6598
  function f(k, B, L, $) {
6599
- var q = B && B.prototype instanceof m ? B : m, M = Object.create(q.prototype), U = new T($ || []);
6599
+ var j = B && B.prototype instanceof m ? B : m, M = Object.create(j.prototype), U = new T($ || []);
6600
6600
  return M._invoke = function(G, z, W) {
6601
6601
  var K = "suspendedStart";
6602
6602
  return function(V, H) {
@@ -6626,16 +6626,16 @@ function requireRegeneratorRuntime() {
6626
6626
  } else
6627
6627
  W.method === "return" && W.abrupt("return", W.arg);
6628
6628
  K = "executing";
6629
- var j = p(G, z, W);
6630
- if (j.type === "normal") {
6631
- if (K = W.done ? "completed" : "suspendedYield", j.arg === h)
6629
+ var q = p(G, z, W);
6630
+ if (q.type === "normal") {
6631
+ if (K = W.done ? "completed" : "suspendedYield", q.arg === h)
6632
6632
  continue;
6633
6633
  return {
6634
- value: j.arg,
6634
+ value: q.arg,
6635
6635
  done: W.done
6636
6636
  };
6637
6637
  }
6638
- j.type === "throw" && (K = "completed", W.method = "throw", W.arg = j.arg);
6638
+ q.type === "throw" && (K = "completed", W.method = "throw", W.arg = q.arg);
6639
6639
  }
6640
6640
  };
6641
6641
  }(k, L, U), M;
@@ -6676,8 +6676,8 @@ function requireRegeneratorRuntime() {
6676
6676
  });
6677
6677
  }
6678
6678
  function b(k, B) {
6679
- function L(q, M, U, G) {
6680
- var z = p(k[q], k, M);
6679
+ function L(j, M, U, G) {
6680
+ var z = p(k[j], k, M);
6681
6681
  if (z.type !== "throw") {
6682
6682
  var W = z.arg, K = W.value;
6683
6683
  return K && t(K) == "object" && a.call(K, "__await") ? B.resolve(K.__await).then(function(V) {
@@ -6693,10 +6693,10 @@ function requireRegeneratorRuntime() {
6693
6693
  G(z.arg);
6694
6694
  }
6695
6695
  var $;
6696
- this._invoke = function(q, M) {
6696
+ this._invoke = function(j, M) {
6697
6697
  function U() {
6698
6698
  return new B(function(G, z) {
6699
- L(q, M, G, z);
6699
+ L(j, M, G, z);
6700
6700
  });
6701
6701
  }
6702
6702
  return $ = $ ? $.then(U, U) : U();
@@ -6715,8 +6715,8 @@ function requireRegeneratorRuntime() {
6715
6715
  var $ = p(L, k.iterator, B.arg);
6716
6716
  if ($.type === "throw")
6717
6717
  return B.method = "throw", B.arg = $.arg, B.delegate = null, h;
6718
- var q = $.arg;
6719
- return q ? q.done ? (B[k.resultName] = q.value, B.next = k.nextLoc, B.method !== "return" && (B.method = "next", B.arg = void 0), B.delegate = null, h) : q : (B.method = "throw", B.arg = new TypeError("iterator result is not an object"), B.delegate = null, h);
6718
+ var j = $.arg;
6719
+ return j ? j.done ? (B[k.resultName] = j.value, B.next = k.nextLoc, B.method !== "return" && (B.method = "next", B.arg = void 0), B.delegate = null, h) : j : (B.method = "throw", B.arg = new TypeError("iterator result is not an object"), B.delegate = null, h);
6720
6720
  }
6721
6721
  function w(k) {
6722
6722
  var B = {
@@ -6741,11 +6741,11 @@ function requireRegeneratorRuntime() {
6741
6741
  if (typeof k.next == "function")
6742
6742
  return k;
6743
6743
  if (!isNaN(k.length)) {
6744
- var L = -1, $ = function q() {
6744
+ var L = -1, $ = function j() {
6745
6745
  for (; ++L < k.length; )
6746
6746
  if (a.call(k, L))
6747
- return q.value = k[L], q.done = !1, q;
6748
- return q.value = void 0, q.done = !0, q;
6747
+ return j.value = k[L], j.done = !1, j;
6748
+ return j.value = void 0, j.done = !0, j;
6749
6749
  };
6750
6750
  return $.next = $;
6751
6751
  }
@@ -6771,9 +6771,9 @@ function requireRegeneratorRuntime() {
6771
6771
  };
6772
6772
  }, O(b.prototype), d(b.prototype, l, function() {
6773
6773
  return this;
6774
- }), r.AsyncIterator = b, r.async = function(k, B, L, $, q) {
6775
- q === void 0 && (q = Promise);
6776
- var M = new b(f(k, B, L, $), q);
6774
+ }), r.AsyncIterator = b, r.async = function(k, B, L, $, j) {
6775
+ j === void 0 && (j = Promise);
6776
+ var M = new b(f(k, B, L, $), j);
6777
6777
  return r.isGeneratorFunction(B) ? M : M.next().then(function(U) {
6778
6778
  return U.done ? U.value : M.next();
6779
6779
  });
@@ -6787,9 +6787,9 @@ function requireRegeneratorRuntime() {
6787
6787
  B.push(L);
6788
6788
  return B.reverse(), function $() {
6789
6789
  for (; B.length; ) {
6790
- var q = B.pop();
6791
- if (q in k)
6792
- return $.value = q, $.done = !1, $;
6790
+ var j = B.pop();
6791
+ if (j in k)
6792
+ return $.value = j, $.done = !1, $;
6793
6793
  }
6794
6794
  return $.done = !0, $;
6795
6795
  };
@@ -6814,8 +6814,8 @@ function requireRegeneratorRuntime() {
6814
6814
  function $(W, K) {
6815
6815
  return U.type = "throw", U.arg = B, L.next = W, K && (L.method = "next", L.arg = void 0), !!K;
6816
6816
  }
6817
- for (var q = this.tryEntries.length - 1; q >= 0; --q) {
6818
- var M = this.tryEntries[q], U = M.completion;
6817
+ for (var j = this.tryEntries.length - 1; j >= 0; --j) {
6818
+ var M = this.tryEntries[j], U = M.completion;
6819
6819
  if (M.tryLoc === "root")
6820
6820
  return $("end");
6821
6821
  if (M.tryLoc <= this.prev) {
@@ -6839,9 +6839,9 @@ function requireRegeneratorRuntime() {
6839
6839
  },
6840
6840
  abrupt: function(B, L) {
6841
6841
  for (var $ = this.tryEntries.length - 1; $ >= 0; --$) {
6842
- var q = this.tryEntries[$];
6843
- if (q.tryLoc <= this.prev && a.call(q, "finallyLoc") && this.prev < q.finallyLoc) {
6844
- var M = q;
6842
+ var j = this.tryEntries[$];
6843
+ if (j.tryLoc <= this.prev && a.call(j, "finallyLoc") && this.prev < j.finallyLoc) {
6844
+ var M = j;
6845
6845
  break;
6846
6846
  }
6847
6847
  }
@@ -6865,9 +6865,9 @@ function requireRegeneratorRuntime() {
6865
6865
  for (var L = this.tryEntries.length - 1; L >= 0; --L) {
6866
6866
  var $ = this.tryEntries[L];
6867
6867
  if ($.tryLoc === B) {
6868
- var q = $.completion;
6869
- if (q.type === "throw") {
6870
- var M = q.arg;
6868
+ var j = $.completion;
6869
+ if (j.type === "throw") {
6870
+ var M = j.arg;
6871
6871
  S($);
6872
6872
  }
6873
6873
  return M;
@@ -8748,9 +8748,9 @@ var FormContext = /* @__PURE__ */ React.createContext({
8748
8748
  B = l($, b);
8749
8749
  }
8750
8750
  w(!L);
8751
- var q = React.useRef();
8751
+ var j = React.useRef();
8752
8752
  React.useEffect(function() {
8753
- isSimilar(q.current || [], a || []) || b.setFields(a || []), q.current = a;
8753
+ isSimilar(j.current || [], a || []) || b.setFields(a || []), j.current = a;
8754
8754
  }, [a, b]);
8755
8755
  var M = React.useMemo(function() {
8756
8756
  return _objectSpread2$1(_objectSpread2$1({}, b), {}, {
@@ -9325,9 +9325,9 @@ function requireEmpty() {
9325
9325
  return /* @__PURE__ */ a.createElement(l.default, {
9326
9326
  componentName: "Empty"
9327
9327
  }, function(k) {
9328
- var B, L = D("empty", C), $ = typeof b < "u" ? b : k.description, q = typeof $ == "string" ? $ : "empty", M = null;
9328
+ var B, L = D("empty", C), $ = typeof b < "u" ? b : k.description, j = typeof $ == "string" ? $ : "empty", M = null;
9329
9329
  return typeof O == "string" ? M = /* @__PURE__ */ a.createElement("img", {
9330
- alt: q,
9330
+ alt: j,
9331
9331
  src: O
9332
9332
  }) : M = O, /* @__PURE__ */ a.createElement("div", (0, r.default)({
9333
9333
  className: (0, s.default)(L, (B = {}, (0, o.default)(B, "".concat(L, "-normal"), O === h), (0, o.default)(B, "".concat(L, "-rtl"), N === "rtl"), B), I)
@@ -9569,7 +9569,7 @@ const useStepQueue = function(e, t) {
9569
9569
  }, []), [a, o];
9570
9570
  };
9571
9571
  function useStatus(e, t, n, r) {
9572
- 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, S = useMountStatus(), T = _slicedToArray(S, 2), D = T[0], N = T[1], k = useMountStatus(STATUS_NONE), B = _slicedToArray(k, 2), L = B[0], $ = B[1], q = useMountStatus(null), M = _slicedToArray(q, 2), U = M[0], G = M[1], z = useRef(!1), W = useRef(null), K = useRef(!1), V = useRef(null);
9572
+ 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, S = useMountStatus(), T = _slicedToArray(S, 2), D = T[0], N = T[1], k = useMountStatus(STATUS_NONE), B = _slicedToArray(k, 2), L = B[0], $ = B[1], j = useMountStatus(null), M = _slicedToArray(j, 2), U = M[0], G = M[1], z = useRef(!1), W = useRef(null), K = useRef(!1), V = useRef(null);
9573
9573
  function H() {
9574
9574
  var ne = n();
9575
9575
  return ne || V.current;
@@ -9582,7 +9582,7 @@ function useStatus(e, t, n, r) {
9582
9582
  L === STATUS_APPEAR && P.current ? ae = O == null ? void 0 : O(le, ne) : L === STATUS_ENTER && P.current ? ae = b == null ? void 0 : b(le, ne) : L === STATUS_LEAVE && P.current && (ae = E == null ? void 0 : E(le, ne)), ae !== !1 && !K.current && ($(STATUS_NONE), G(null));
9583
9583
  }
9584
9584
  }
9585
- var j = useDomMotionEvents(A), Y = _slicedToArray(j, 1), X = Y[0], F = React.useMemo(function() {
9585
+ var q = useDomMotionEvents(A), Y = _slicedToArray(q, 1), X = Y[0], F = React.useMemo(function() {
9586
9586
  var ne, le, ae;
9587
9587
  switch (L) {
9588
9588
  case "appear":
@@ -10349,8 +10349,8 @@ function requireUseMessage() {
10349
10349
  d((0, r.default)((0, r.default)({}, E), {
10350
10350
  prefixCls: S
10351
10351
  }), function(L) {
10352
- var $ = L.prefixCls, q = L.instance;
10353
- v = q, C(f((0, r.default)((0, r.default)({}, E), {
10352
+ var $ = L.prefixCls, j = L.instance;
10353
+ v = j, C(f((0, r.default)((0, r.default)({}, E), {
10354
10354
  key: T,
10355
10355
  onClose: B
10356
10356
  }), $));
@@ -10496,8 +10496,8 @@ function requireMessage() {
10496
10496
  return process.env.NODE_ENV === "test" ? m : null;
10497
10497
  };
10498
10498
  e.getInstance = $;
10499
- var q = B;
10500
- e.default = q;
10499
+ var j = B;
10500
+ e.default = j;
10501
10501
  }(message)), message;
10502
10502
  }
10503
10503
  var notification = {}, CloseOutlined$2 = { exports: {} }, CloseOutlined$1 = {}, CloseOutlined = {}, hasRequiredCloseOutlined$2;
@@ -10760,22 +10760,22 @@ function requireNotification() {
10760
10760
  });
10761
10761
  }
10762
10762
  return new (G || (G = Promise))(function(K, V) {
10763
- function H(j) {
10763
+ function H(q) {
10764
10764
  try {
10765
- A(z.next(j));
10765
+ A(z.next(q));
10766
10766
  } catch (Y) {
10767
10767
  V(Y);
10768
10768
  }
10769
10769
  }
10770
- function P(j) {
10770
+ function P(q) {
10771
10771
  try {
10772
- A(z.throw(j));
10772
+ A(z.throw(q));
10773
10773
  } catch (Y) {
10774
10774
  V(Y);
10775
10775
  }
10776
10776
  }
10777
- function A(j) {
10778
- j.done ? K(j.value) : W(j.value).then(H, P);
10777
+ function A(q) {
10778
+ q.done ? K(q.value) : W(q.value).then(H, P);
10779
10779
  }
10780
10780
  A((z = z.apply(M, U || [])).next());
10781
10781
  });
@@ -10819,7 +10819,7 @@ function requireNotification() {
10819
10819
  return z;
10820
10820
  }
10821
10821
  function D(M, U) {
10822
- var G = M.placement, z = G === void 0 ? O : G, W = M.top, K = M.bottom, V = M.getContainer, H = V === void 0 ? b : V, P = M.closeIcon, A = P === void 0 ? E : P, j = M.prefixCls || y, Y = "".concat(j, "-notice"), X = "".concat(j, "-").concat(z), F = x[X];
10822
+ var G = M.placement, z = G === void 0 ? O : G, W = M.top, K = M.bottom, V = M.getContainer, H = V === void 0 ? b : V, P = M.closeIcon, A = P === void 0 ? E : P, q = M.prefixCls || y, Y = "".concat(q, "-notice"), X = "".concat(q, "-").concat(z), F = x[X];
10823
10823
  if (F) {
10824
10824
  Promise.resolve(F).then(function(J) {
10825
10825
  U({
@@ -10830,13 +10830,13 @@ function requireNotification() {
10830
10830
  return;
10831
10831
  }
10832
10832
  var _ = /* @__PURE__ */ s.createElement("span", {
10833
- className: "".concat(j, "-close-x")
10833
+ className: "".concat(q, "-close-x")
10834
10834
  }, A || /* @__PURE__ */ s.createElement(l.default, {
10835
- className: "".concat(j, "-close-icon")
10836
- })), Z = (0, u.default)("".concat(j, "-").concat(z), (0, a.default)({}, "".concat(j, "-rtl"), w === !0));
10835
+ className: "".concat(q, "-close-icon")
10836
+ })), Z = (0, u.default)("".concat(q, "-").concat(z), (0, a.default)({}, "".concat(q, "-rtl"), w === !0));
10837
10837
  x[X] = new Promise(function(J) {
10838
10838
  c.default.newInstance({
10839
- prefixCls: j,
10839
+ prefixCls: q,
10840
10840
  className: Z,
10841
10841
  style: T(z, W, K),
10842
10842
  getContainer: H,
@@ -10931,8 +10931,8 @@ function requireNotification() {
10931
10931
  }));
10932
10932
  };
10933
10933
  e.getInstance = $;
10934
- var q = L;
10935
- e.default = q;
10934
+ var j = L;
10935
+ e.default = j;
10936
10936
  }(notification)), notification;
10937
10937
  }
10938
10938
  var hasRequiredConfigProvider;
@@ -10955,7 +10955,7 @@ function requireConfigProvider() {
10955
10955
  var r = n(require_extends()), o = t(React__default), a = n(requireContext$2()), s = require$$5, c = n(requireUseMemo()), l = t(requireLocaleProvider()), u = n(requireLocaleReceiver()), d = requireContext(), f = t(requireSizeContext()), p = n(requireMessage()), h = n(requireNotification()), m = ["getTargetContainer", "getPopupContainer", "rootPrefixCls", "getPrefixCls", "renderEmpty", "csp", "autoInsertSpaceInButton", "locale", "pageHeader"];
10956
10956
  e.configConsumerProps = m;
10957
10957
  var v = ["getTargetContainer", "getPopupContainer", "renderEmpty", "pageHeader", "input", "form"], x = function(y) {
10958
- var O = y.children, b = y.csp, E = y.autoInsertSpaceInButton, w = y.form, S = y.locale, T = y.componentSize, D = y.direction, N = y.space, k = y.virtual, B = y.dropdownMatchSelectWidth, L = y.legacyLocale, $ = y.parentContext, q = y.iconPrefixCls, M = o.useCallback(function(V, H) {
10958
+ var O = y.children, b = y.csp, E = y.autoInsertSpaceInButton, w = y.form, S = y.locale, T = y.componentSize, D = y.direction, N = y.space, k = y.virtual, B = y.dropdownMatchSelectWidth, L = y.legacyLocale, $ = y.parentContext, j = y.iconPrefixCls, M = o.useCallback(function(V, H) {
10959
10959
  var P = y.prefixCls;
10960
10960
  if (H)
10961
10961
  return H;
@@ -10979,20 +10979,20 @@ function requireConfigProvider() {
10979
10979
  return U;
10980
10980
  }, U, function(V, H) {
10981
10981
  var P = Object.keys(V), A = Object.keys(H);
10982
- return P.length !== A.length || P.some(function(j) {
10983
- return V[j] !== H[j];
10982
+ return P.length !== A.length || P.some(function(q) {
10983
+ return V[q] !== H[q];
10984
10984
  });
10985
10985
  }), z = o.useMemo(function() {
10986
10986
  return {
10987
- prefixCls: q
10987
+ prefixCls: j
10988
10988
  };
10989
- }, [q]), W = O, K = {};
10989
+ }, [j]), W = O, K = {};
10990
10990
  return S && S.Form && S.Form.defaultValidateMessages && (K = S.Form.defaultValidateMessages), w && w.validateMessages && (K = (0, r.default)((0, r.default)({}, K), w.validateMessages)), Object.keys(K).length > 0 && (W = /* @__PURE__ */ o.createElement(s.FormProvider, {
10991
10991
  validateMessages: K
10992
10992
  }, O)), S && (W = /* @__PURE__ */ o.createElement(l.default, {
10993
10993
  locale: S,
10994
10994
  _ANT_MARK__: l.ANT_MARK
10995
- }, W)), q && (W = /* @__PURE__ */ o.createElement(a.default.Provider, {
10995
+ }, W)), j && (W = /* @__PURE__ */ o.createElement(a.default.Provider, {
10996
10996
  value: z
10997
10997
  }, W)), T && (W = /* @__PURE__ */ o.createElement(f.SizeContextProvider, {
10998
10998
  size: T
@@ -11092,7 +11092,7 @@ function requireInput() {
11092
11092
  T.focus();
11093
11093
  }), g(T.input, N, T.props.onChange);
11094
11094
  }, T.renderInput = function(N, k, B) {
11095
- var L = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, $ = T.props, q = $.className, M = $.addonBefore, U = $.addonAfter, G = $.size, z = $.disabled, W = (0, f.default)(T.props, [
11095
+ var L = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, $ = T.props, j = $.className, M = $.addonBefore, U = $.addonAfter, G = $.size, z = $.disabled, W = (0, f.default)(T.props, [
11096
11096
  "prefixCls",
11097
11097
  "onPressEnter",
11098
11098
  "addonBefore",
@@ -11112,7 +11112,7 @@ function requireInput() {
11112
11112
  onFocus: T.onFocus,
11113
11113
  onBlur: T.onBlur,
11114
11114
  onKeyDown: T.handleKeyDown,
11115
- className: (0, d.default)(I(N, B, G || k, z, T.direction), (0, l.default)({}, q, q && !M && !U)),
11115
+ className: (0, d.default)(I(N, B, G || k, z, T.direction), (0, l.default)({}, j, j && !M && !U)),
11116
11116
  ref: T.saveInput
11117
11117
  }));
11118
11118
  }, T.clearPasswordValueAttribute = function() {
@@ -11125,14 +11125,14 @@ function requireInput() {
11125
11125
  var k = T.props, B = k.onPressEnter, L = k.onKeyDown;
11126
11126
  N.keyCode === 13 && B && B(N), L && L(N);
11127
11127
  }, T.renderComponent = function(N) {
11128
- var k = N.getPrefixCls, B = N.direction, L = N.input, $ = T.state, q = $.value, M = $.focused, U = T.props, G = U.prefixCls, z = U.bordered, W = z === void 0 ? !0 : z, K = k("input", G);
11128
+ var k = N.getPrefixCls, B = N.direction, L = N.input, $ = T.state, j = $.value, M = $.focused, U = T.props, G = U.prefixCls, z = U.bordered, W = z === void 0 ? !0 : z, K = k("input", G);
11129
11129
  return T.direction = B, /* @__PURE__ */ u.createElement(m.default.Consumer, null, function(V) {
11130
11130
  return /* @__PURE__ */ u.createElement(p.default, (0, r.default)({
11131
11131
  size: V
11132
11132
  }, T.props, {
11133
11133
  prefixCls: K,
11134
11134
  inputType: "input",
11135
- value: x(q),
11135
+ value: x(j),
11136
11136
  element: T.renderInput(K, V, W, L),
11137
11137
  handleReset: T.handleReset,
11138
11138
  ref: T.saveClearableInput,
@@ -11283,14 +11283,14 @@ function requireClearableLabeledInput() {
11283
11283
  }, {
11284
11284
  key: "renderLabeledIcon",
11285
11285
  value: function(E, w) {
11286
- var S, T = this.props, D = T.focused, N = T.value, k = T.prefix, B = T.className, L = T.size, $ = T.suffix, q = T.disabled, M = T.allowClear, U = T.direction, G = T.style, z = T.readOnly, W = T.bordered, K = this.renderSuffix(E);
11286
+ var S, T = this.props, D = T.focused, N = T.value, k = T.prefix, B = T.className, L = T.size, $ = T.suffix, j = T.disabled, M = T.allowClear, U = T.direction, G = T.style, z = T.readOnly, W = T.bordered, K = this.renderSuffix(E);
11287
11287
  if (!v(this.props))
11288
11288
  return (0, h.cloneElement)(w, {
11289
11289
  value: N
11290
11290
  });
11291
11291
  var V = k ? /* @__PURE__ */ l.createElement("span", {
11292
11292
  className: "".concat(E, "-prefix")
11293
- }, k) : null, H = (0, u.default)("".concat(E, "-affix-wrapper"), (S = {}, (0, r.default)(S, "".concat(E, "-affix-wrapper-focused"), D), (0, r.default)(S, "".concat(E, "-affix-wrapper-disabled"), q), (0, r.default)(S, "".concat(E, "-affix-wrapper-sm"), L === "small"), (0, r.default)(S, "".concat(E, "-affix-wrapper-lg"), L === "large"), (0, r.default)(S, "".concat(E, "-affix-wrapper-input-with-clear-btn"), $ && M && N), (0, r.default)(S, "".concat(E, "-affix-wrapper-rtl"), U === "rtl"), (0, r.default)(S, "".concat(E, "-affix-wrapper-readonly"), z), (0, r.default)(S, "".concat(E, "-affix-wrapper-borderless"), !W), (0, r.default)(S, "".concat(B), !x(this.props) && B), S));
11293
+ }, k) : null, H = (0, u.default)("".concat(E, "-affix-wrapper"), (S = {}, (0, r.default)(S, "".concat(E, "-affix-wrapper-focused"), D), (0, r.default)(S, "".concat(E, "-affix-wrapper-disabled"), j), (0, r.default)(S, "".concat(E, "-affix-wrapper-sm"), L === "small"), (0, r.default)(S, "".concat(E, "-affix-wrapper-lg"), L === "large"), (0, r.default)(S, "".concat(E, "-affix-wrapper-input-with-clear-btn"), $ && M && N), (0, r.default)(S, "".concat(E, "-affix-wrapper-rtl"), U === "rtl"), (0, r.default)(S, "".concat(E, "-affix-wrapper-readonly"), z), (0, r.default)(S, "".concat(E, "-affix-wrapper-borderless"), !W), (0, r.default)(S, "".concat(B), !x(this.props) && B), S));
11294
11294
  return /* @__PURE__ */ l.createElement("span", {
11295
11295
  ref: this.containerRef,
11296
11296
  className: H,
@@ -11299,7 +11299,7 @@ function requireClearableLabeledInput() {
11299
11299
  }, V, (0, h.cloneElement)(w, {
11300
11300
  style: null,
11301
11301
  value: N,
11302
- className: (0, p.getInputClassName)(E, W, L, q)
11302
+ className: (0, p.getInputClassName)(E, W, L, j)
11303
11303
  }), K);
11304
11304
  }
11305
11305
  }, {
@@ -11308,11 +11308,11 @@ function requireClearableLabeledInput() {
11308
11308
  var S, T = this.props, D = T.addonBefore, N = T.addonAfter, k = T.style, B = T.size, L = T.className, $ = T.direction;
11309
11309
  if (!x(this.props))
11310
11310
  return w;
11311
- var q = "".concat(E, "-group"), M = "".concat(q, "-addon"), U = D ? /* @__PURE__ */ l.createElement("span", {
11311
+ var j = "".concat(E, "-group"), M = "".concat(j, "-addon"), U = D ? /* @__PURE__ */ l.createElement("span", {
11312
11312
  className: M
11313
11313
  }, D) : null, G = N ? /* @__PURE__ */ l.createElement("span", {
11314
11314
  className: M
11315
- }, N) : null, z = (0, u.default)("".concat(E, "-wrapper"), q, (0, r.default)({}, "".concat(q, "-rtl"), $ === "rtl")), W = (0, u.default)("".concat(E, "-group-wrapper"), (S = {}, (0, r.default)(S, "".concat(E, "-group-wrapper-sm"), B === "small"), (0, r.default)(S, "".concat(E, "-group-wrapper-lg"), B === "large"), (0, r.default)(S, "".concat(E, "-group-wrapper-rtl"), $ === "rtl"), S), L);
11315
+ }, N) : null, z = (0, u.default)("".concat(E, "-wrapper"), j, (0, r.default)({}, "".concat(j, "-rtl"), $ === "rtl")), W = (0, u.default)("".concat(E, "-group-wrapper"), (S = {}, (0, r.default)(S, "".concat(E, "-group-wrapper-sm"), B === "small"), (0, r.default)(S, "".concat(E, "-group-wrapper-lg"), B === "large"), (0, r.default)(S, "".concat(E, "-group-wrapper-rtl"), $ === "rtl"), S), L);
11316
11316
  return /* @__PURE__ */ l.createElement("span", {
11317
11317
  className: W,
11318
11318
  style: k
@@ -11330,9 +11330,9 @@ function requireClearableLabeledInput() {
11330
11330
  return (0, h.cloneElement)(w, {
11331
11331
  value: D
11332
11332
  });
11333
- var q = (0, u.default)("".concat(E, "-affix-wrapper"), "".concat(E, "-affix-wrapper-textarea-with-clear-btn"), (S = {}, (0, r.default)(S, "".concat(E, "-affix-wrapper-rtl"), L === "rtl"), (0, r.default)(S, "".concat(E, "-affix-wrapper-borderless"), !$), (0, r.default)(S, "".concat(k), !x(this.props) && k), S));
11333
+ var j = (0, u.default)("".concat(E, "-affix-wrapper"), "".concat(E, "-affix-wrapper-textarea-with-clear-btn"), (S = {}, (0, r.default)(S, "".concat(E, "-affix-wrapper-rtl"), L === "rtl"), (0, r.default)(S, "".concat(E, "-affix-wrapper-borderless"), !$), (0, r.default)(S, "".concat(k), !x(this.props) && k), S));
11334
11334
  return /* @__PURE__ */ l.createElement("span", {
11335
- className: q,
11335
+ className: j,
11336
11336
  style: B
11337
11337
  }, (0, h.cloneElement)(w, {
11338
11338
  style: null,
@@ -11364,18 +11364,18 @@ function requireClearableLabeledInput() {
11364
11364
  O.indexOf(E[w]) < 0 && Object.prototype.propertyIsEnumerable.call(y, E[w]) && (b[E[w]] = y[E[w]]);
11365
11365
  return b;
11366
11366
  }, I = /* @__PURE__ */ l.forwardRef(function(y, O) {
11367
- var b, E = y.prefixCls, w = y.bordered, S = w === void 0 ? !0 : w, T = y.showCount, D = T === void 0 ? !1 : T, N = y.maxLength, k = y.className, B = y.style, L = y.size, $ = g(y, ["prefixCls", "bordered", "showCount", "maxLength", "className", "style", "size"]), q = l.useContext(m.ConfigContext), M = q.getPrefixCls, U = q.direction, G = l.useContext(x.default), z = l.useRef(null), W = l.useRef(null), K = (0, p.default)($.defaultValue, {
11367
+ var b, E = y.prefixCls, w = y.bordered, S = w === void 0 ? !0 : w, T = y.showCount, D = T === void 0 ? !1 : T, N = y.maxLength, k = y.className, B = y.style, L = y.size, $ = g(y, ["prefixCls", "bordered", "showCount", "maxLength", "className", "style", "size"]), j = l.useContext(m.ConfigContext), M = j.getPrefixCls, U = j.direction, G = l.useContext(x.default), z = l.useRef(null), W = l.useRef(null), K = (0, p.default)($.defaultValue, {
11368
11368
  value: $.value
11369
11369
  }), V = (0, c.default)(K, 2), H = V[0], P = V[1], A = l.useRef($.value);
11370
11370
  l.useEffect(function() {
11371
11371
  ($.value !== void 0 || A.current !== $.value) && (P($.value), A.current = $.value);
11372
11372
  }, [$.value, A.current]);
11373
- var j = function(le, ae) {
11373
+ var q = function(le, ae) {
11374
11374
  $.value === void 0 && (P(le), ae == null || ae());
11375
11375
  }, Y = function(le) {
11376
- j(le.target.value), (0, v.resolveOnChange)(z.current, le, $.onChange);
11376
+ q(le.target.value), (0, v.resolveOnChange)(z.current, le, $.onChange);
11377
11377
  }, X = function(le) {
11378
- j("", function() {
11378
+ q("", function() {
11379
11379
  var ae;
11380
11380
  (ae = z.current) === null || ae === void 0 || ae.focus();
11381
11381
  }), (0, v.resolveOnChange)(z.current, le, $.onChange);
@@ -12466,17 +12466,17 @@ function require_stream_writable() {
12466
12466
  inherits_browser.exports(w, r);
12467
12467
  function O() {
12468
12468
  }
12469
- function b(P, A, j) {
12470
- t = t || require_stream_duplex(), P = P || {}, typeof j != "boolean" && (j = A instanceof t), this.objectMode = !!P.objectMode, j && (this.objectMode = this.objectMode || !!P.writableObjectMode), this.highWaterMark = d(this, P, "writableHighWaterMark", j), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
12469
+ function b(P, A, q) {
12470
+ t = t || require_stream_duplex(), P = P || {}, typeof q != "boolean" && (q = A instanceof t), this.objectMode = !!P.objectMode, q && (this.objectMode = this.objectMode || !!P.writableObjectMode), this.highWaterMark = d(this, P, "writableHighWaterMark", q), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
12471
12471
  var Y = P.decodeStrings === !1;
12472
12472
  this.decodeStrings = !Y, this.defaultEncoding = P.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(X) {
12473
12473
  $(A, X);
12474
12474
  }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.emitClose = P.emitClose !== !1, this.autoDestroy = !!P.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new e(this);
12475
12475
  }
12476
12476
  b.prototype.getBuffer = function() {
12477
- for (var A = this.bufferedRequest, j = []; A; )
12478
- j.push(A), A = A.next;
12479
- return j;
12477
+ for (var A = this.bufferedRequest, q = []; A; )
12478
+ q.push(A), A = A.next;
12479
+ return q;
12480
12480
  }, function() {
12481
12481
  try {
12482
12482
  Object.defineProperty(b.prototype, "buffer", {
@@ -12506,16 +12506,16 @@ function require_stream_writable() {
12506
12506
  y(this, new v());
12507
12507
  };
12508
12508
  function S(P, A) {
12509
- var j = new I();
12510
- y(P, j), process.nextTick(A, j);
12509
+ var q = new I();
12510
+ y(P, q), process.nextTick(A, q);
12511
12511
  }
12512
- function T(P, A, j, Y) {
12512
+ function T(P, A, q, Y) {
12513
12513
  var X;
12514
- return j === null ? X = new g() : typeof j != "string" && !A.objectMode && (X = new p("chunk", ["string", "Buffer"], j)), X ? (y(P, X), process.nextTick(Y, X), !1) : !0;
12514
+ return q === null ? X = new g() : typeof q != "string" && !A.objectMode && (X = new p("chunk", ["string", "Buffer"], q)), X ? (y(P, X), process.nextTick(Y, X), !1) : !0;
12515
12515
  }
12516
- w.prototype.write = function(P, A, j) {
12516
+ w.prototype.write = function(P, A, q) {
12517
12517
  var Y = this._writableState, X = !1, F = !Y.objectMode && c(P);
12518
- return F && !o.isBuffer(P) && (P = s(P)), typeof A == "function" && (j = A, A = null), F ? A = "buffer" : A || (A = Y.defaultEncoding), typeof j != "function" && (j = O), Y.ending ? S(this, j) : (F || T(this, Y, P, j)) && (Y.pendingcb++, X = N(this, Y, F, P, A, j)), X;
12518
+ return F && !o.isBuffer(P) && (P = s(P)), typeof A == "function" && (q = A, A = null), F ? A = "buffer" : A || (A = Y.defaultEncoding), typeof q != "function" && (q = O), Y.ending ? S(this, q) : (F || T(this, Y, P, q)) && (Y.pendingcb++, X = N(this, Y, F, P, A, q)), X;
12519
12519
  }, w.prototype.cork = function() {
12520
12520
  this._writableState.corked++;
12521
12521
  }, w.prototype.uncork = function() {
@@ -12531,8 +12531,8 @@ function require_stream_writable() {
12531
12531
  return this._writableState && this._writableState.getBuffer();
12532
12532
  }
12533
12533
  });
12534
- function D(P, A, j) {
12535
- return !P.objectMode && P.decodeStrings !== !1 && typeof A == "string" && (A = o.from(A, j)), A;
12534
+ function D(P, A, q) {
12535
+ return !P.objectMode && P.decodeStrings !== !1 && typeof A == "string" && (A = o.from(A, q)), A;
12536
12536
  }
12537
12537
  Object.defineProperty(w.prototype, "writableHighWaterMark", {
12538
12538
  enumerable: !1,
@@ -12540,10 +12540,10 @@ function require_stream_writable() {
12540
12540
  return this._writableState.highWaterMark;
12541
12541
  }
12542
12542
  });
12543
- function N(P, A, j, Y, X, F) {
12544
- if (!j) {
12543
+ function N(P, A, q, Y, X, F) {
12544
+ if (!q) {
12545
12545
  var _ = D(A, Y, X);
12546
- Y !== _ && (j = !0, X = "buffer", Y = _);
12546
+ Y !== _ && (q = !0, X = "buffer", Y = _);
12547
12547
  }
12548
12548
  var Z = A.objectMode ? 1 : Y.length;
12549
12549
  A.length += Z;
@@ -12553,7 +12553,7 @@ function require_stream_writable() {
12553
12553
  A.lastBufferedRequest = {
12554
12554
  chunk: Y,
12555
12555
  encoding: X,
12556
- isBuf: j,
12556
+ isBuf: q,
12557
12557
  callback: F,
12558
12558
  next: null
12559
12559
  }, ee ? ee.next = A.lastBufferedRequest : A.bufferedRequest = A.lastBufferedRequest, A.bufferedRequestCount += 1;
@@ -12561,56 +12561,56 @@ function require_stream_writable() {
12561
12561
  k(P, A, !1, Z, Y, X, F);
12562
12562
  return J;
12563
12563
  }
12564
- function k(P, A, j, Y, X, F, _) {
12565
- A.writelen = Y, A.writecb = _, A.writing = !0, A.sync = !0, A.destroyed ? A.onwrite(new x("write")) : j ? P._writev(X, A.onwrite) : P._write(X, F, A.onwrite), A.sync = !1;
12564
+ function k(P, A, q, Y, X, F, _) {
12565
+ A.writelen = Y, A.writecb = _, A.writing = !0, A.sync = !0, A.destroyed ? A.onwrite(new x("write")) : q ? P._writev(X, A.onwrite) : P._write(X, F, A.onwrite), A.sync = !1;
12566
12566
  }
12567
- function B(P, A, j, Y, X) {
12568
- --A.pendingcb, j ? (process.nextTick(X, Y), process.nextTick(K, P, A), P._writableState.errorEmitted = !0, y(P, Y)) : (X(Y), P._writableState.errorEmitted = !0, y(P, Y), K(P, A));
12567
+ function B(P, A, q, Y, X) {
12568
+ --A.pendingcb, q ? (process.nextTick(X, Y), process.nextTick(K, P, A), P._writableState.errorEmitted = !0, y(P, Y)) : (X(Y), P._writableState.errorEmitted = !0, y(P, Y), K(P, A));
12569
12569
  }
12570
12570
  function L(P) {
12571
12571
  P.writing = !1, P.writecb = null, P.length -= P.writelen, P.writelen = 0;
12572
12572
  }
12573
12573
  function $(P, A) {
12574
- var j = P._writableState, Y = j.sync, X = j.writecb;
12574
+ var q = P._writableState, Y = q.sync, X = q.writecb;
12575
12575
  if (typeof X != "function")
12576
12576
  throw new m();
12577
- if (L(j), A)
12578
- B(P, j, Y, A, X);
12577
+ if (L(q), A)
12578
+ B(P, q, Y, A, X);
12579
12579
  else {
12580
- var F = G(j) || P.destroyed;
12581
- !F && !j.corked && !j.bufferProcessing && j.bufferedRequest && U(P, j), Y ? process.nextTick(q, P, j, F, X) : q(P, j, F, X);
12580
+ var F = G(q) || P.destroyed;
12581
+ !F && !q.corked && !q.bufferProcessing && q.bufferedRequest && U(P, q), Y ? process.nextTick(j, P, q, F, X) : j(P, q, F, X);
12582
12582
  }
12583
12583
  }
12584
- function q(P, A, j, Y) {
12585
- j || M(P, A), A.pendingcb--, Y(), K(P, A);
12584
+ function j(P, A, q, Y) {
12585
+ q || M(P, A), A.pendingcb--, Y(), K(P, A);
12586
12586
  }
12587
12587
  function M(P, A) {
12588
12588
  A.length === 0 && A.needDrain && (A.needDrain = !1, P.emit("drain"));
12589
12589
  }
12590
12590
  function U(P, A) {
12591
12591
  A.bufferProcessing = !0;
12592
- var j = A.bufferedRequest;
12593
- if (P._writev && j && j.next) {
12592
+ var q = A.bufferedRequest;
12593
+ if (P._writev && q && q.next) {
12594
12594
  var Y = A.bufferedRequestCount, X = new Array(Y), F = A.corkedRequestsFree;
12595
- F.entry = j;
12596
- for (var _ = 0, Z = !0; j; )
12597
- X[_] = j, j.isBuf || (Z = !1), j = j.next, _ += 1;
12595
+ F.entry = q;
12596
+ for (var _ = 0, Z = !0; q; )
12597
+ X[_] = q, q.isBuf || (Z = !1), q = q.next, _ += 1;
12598
12598
  X.allBuffers = Z, k(P, A, !0, A.length, X, "", F.finish), A.pendingcb++, A.lastBufferedRequest = null, F.next ? (A.corkedRequestsFree = F.next, F.next = null) : A.corkedRequestsFree = new e(A), A.bufferedRequestCount = 0;
12599
12599
  } else {
12600
- for (; j; ) {
12601
- var J = j.chunk, ee = j.encoding, Q = j.callback, ie = A.objectMode ? 1 : J.length;
12602
- if (k(P, A, !1, ie, J, ee, Q), j = j.next, A.bufferedRequestCount--, A.writing)
12600
+ for (; q; ) {
12601
+ var J = q.chunk, ee = q.encoding, Q = q.callback, ie = A.objectMode ? 1 : J.length;
12602
+ if (k(P, A, !1, ie, J, ee, Q), q = q.next, A.bufferedRequestCount--, A.writing)
12603
12603
  break;
12604
12604
  }
12605
- j === null && (A.lastBufferedRequest = null);
12605
+ q === null && (A.lastBufferedRequest = null);
12606
12606
  }
12607
- A.bufferedRequest = j, A.bufferProcessing = !1;
12607
+ A.bufferedRequest = q, A.bufferProcessing = !1;
12608
12608
  }
12609
- w.prototype._write = function(P, A, j) {
12610
- j(new h("_write()"));
12611
- }, w.prototype._writev = null, w.prototype.end = function(P, A, j) {
12609
+ w.prototype._write = function(P, A, q) {
12610
+ q(new h("_write()"));
12611
+ }, w.prototype._writev = null, w.prototype.end = function(P, A, q) {
12612
12612
  var Y = this._writableState;
12613
- return typeof P == "function" ? (j = P, P = null, A = null) : typeof A == "function" && (j = A, A = null), P != null && this.write(P, A), Y.corked && (Y.corked = 1, this.uncork()), Y.ending || V(this, Y, j), this;
12613
+ return typeof P == "function" ? (q = P, P = null, A = null) : typeof A == "function" && (q = A, A = null), P != null && this.write(P, A), Y.corked && (Y.corked = 1, this.uncork()), Y.ending || V(this, Y, q), this;
12614
12614
  }, Object.defineProperty(w.prototype, "writableLength", {
12615
12615
  enumerable: !1,
12616
12616
  get: function() {
@@ -12621,29 +12621,29 @@ function require_stream_writable() {
12621
12621
  return P.ending && P.length === 0 && P.bufferedRequest === null && !P.finished && !P.writing;
12622
12622
  }
12623
12623
  function z(P, A) {
12624
- P._final(function(j) {
12625
- A.pendingcb--, j && y(P, j), A.prefinished = !0, P.emit("prefinish"), K(P, A);
12624
+ P._final(function(q) {
12625
+ A.pendingcb--, q && y(P, q), A.prefinished = !0, P.emit("prefinish"), K(P, A);
12626
12626
  });
12627
12627
  }
12628
12628
  function W(P, A) {
12629
12629
  !A.prefinished && !A.finalCalled && (typeof P._final == "function" && !A.destroyed ? (A.pendingcb++, A.finalCalled = !0, process.nextTick(z, P, A)) : (A.prefinished = !0, P.emit("prefinish")));
12630
12630
  }
12631
12631
  function K(P, A) {
12632
- var j = G(A);
12633
- if (j && (W(P, A), A.pendingcb === 0 && (A.finished = !0, P.emit("finish"), A.autoDestroy))) {
12632
+ var q = G(A);
12633
+ if (q && (W(P, A), A.pendingcb === 0 && (A.finished = !0, P.emit("finish"), A.autoDestroy))) {
12634
12634
  var Y = P._readableState;
12635
12635
  (!Y || Y.autoDestroy && Y.endEmitted) && P.destroy();
12636
12636
  }
12637
- return j;
12637
+ return q;
12638
12638
  }
12639
- function V(P, A, j) {
12640
- A.ending = !0, K(P, A), j && (A.finished ? process.nextTick(j) : P.once("finish", j)), A.ended = !0, P.writable = !1;
12639
+ function V(P, A, q) {
12640
+ A.ending = !0, K(P, A), q && (A.finished ? process.nextTick(q) : P.once("finish", q)), A.ended = !0, P.writable = !1;
12641
12641
  }
12642
- function H(P, A, j) {
12642
+ function H(P, A, q) {
12643
12643
  var Y = P.entry;
12644
12644
  for (P.entry = null; Y; ) {
12645
12645
  var X = Y.callback;
12646
- A.pendingcb--, X(j), Y = Y.next;
12646
+ A.pendingcb--, X(q), Y = Y.next;
12647
12647
  }
12648
12648
  A.corkedRequestsFree.next = P;
12649
12649
  }
@@ -13152,7 +13152,7 @@ function require_stream_readable() {
13152
13152
  return !Q.ended && (Q.length < Q.highWaterMark || Q.length === 0);
13153
13153
  }
13154
13154
  function D(F, _, Z, J) {
13155
- _.flowing && _.length === 0 && !_.sync ? (_.awaitDrain = 0, F.emit("data", Z)) : (_.length += _.objectMode ? 1 : Z.length, J ? _.buffer.unshift(Z) : _.buffer.push(Z), _.needReadable && q(F)), U(F, _);
13155
+ _.flowing && _.length === 0 && !_.sync ? (_.awaitDrain = 0, F.emit("data", Z)) : (_.length += _.objectMode ? 1 : Z.length, J ? _.buffer.unshift(Z) : _.buffer.push(Z), _.needReadable && j(F)), U(F, _);
13156
13156
  }
13157
13157
  function N(F, _) {
13158
13158
  var Z;
@@ -13179,13 +13179,13 @@ function require_stream_readable() {
13179
13179
  l("read", F), F = parseInt(F, 10);
13180
13180
  var _ = this._readableState, Z = F;
13181
13181
  if (F !== 0 && (_.emittedReadable = !1), F === 0 && _.needReadable && ((_.highWaterMark !== 0 ? _.length >= _.highWaterMark : _.length > 0) || _.ended))
13182
- return l("read: emitReadable", _.length, _.ended), _.length === 0 && _.ended ? j(this) : q(this), null;
13182
+ return l("read: emitReadable", _.length, _.ended), _.length === 0 && _.ended ? q(this) : j(this), null;
13183
13183
  if (F = L(F, _), F === 0 && _.ended)
13184
- return _.length === 0 && j(this), null;
13184
+ return _.length === 0 && q(this), null;
13185
13185
  var J = _.needReadable;
13186
13186
  l("need readable", J), (_.length === 0 || _.length - F < _.highWaterMark) && (J = !0, l("length less than watermark", J)), _.ended || _.reading ? (J = !1, l("reading or ended", J)) : J && (l("do read"), _.reading = !0, _.sync = !0, _.length === 0 && (_.needReadable = !0), this._read(_.highWaterMark), _.sync = !1, _.reading || (F = L(Z, _)));
13187
13187
  var ee;
13188
- return F > 0 ? ee = A(F, _) : ee = null, ee === null ? (_.needReadable = _.length <= _.highWaterMark, F = 0) : (_.length -= F, _.awaitDrain = 0), _.length === 0 && (_.ended || (_.needReadable = !0), Z !== F && _.ended && j(this)), ee !== null && this.emit("data", ee), ee;
13188
+ return F > 0 ? ee = A(F, _) : ee = null, ee === null ? (_.needReadable = _.length <= _.highWaterMark, F = 0) : (_.length -= F, _.awaitDrain = 0), _.length === 0 && (_.ended || (_.needReadable = !0), Z !== F && _.ended && q(this)), ee !== null && this.emit("data", ee), ee;
13189
13189
  };
13190
13190
  function $(F, _) {
13191
13191
  if (l("onEofChunk"), !_.ended) {
@@ -13193,10 +13193,10 @@ function require_stream_readable() {
13193
13193
  var Z = _.decoder.end();
13194
13194
  Z && Z.length && (_.buffer.push(Z), _.length += _.objectMode ? 1 : Z.length);
13195
13195
  }
13196
- _.ended = !0, _.sync ? q(F) : (_.needReadable = !1, _.emittedReadable || (_.emittedReadable = !0, M(F)));
13196
+ _.ended = !0, _.sync ? j(F) : (_.needReadable = !1, _.emittedReadable || (_.emittedReadable = !0, M(F)));
13197
13197
  }
13198
13198
  }
13199
- function q(F) {
13199
+ function j(F) {
13200
13200
  var _ = F._readableState;
13201
13201
  l("emitReadable", _.needReadable, _.emittedReadable), _.needReadable = !1, _.emittedReadable || (l("emitReadable", _.flowing), _.emittedReadable = !0, process.nextTick(M, F));
13202
13202
  }
@@ -13295,7 +13295,7 @@ function require_stream_readable() {
13295
13295
  return ie === -1 ? this : (_.pipes.splice(ie, 1), _.pipesCount -= 1, _.pipesCount === 1 && (_.pipes = _.pipes[0]), F.emit("unpipe", this, Z), this);
13296
13296
  }, S.prototype.on = function(F, _) {
13297
13297
  var Z = n.prototype.on.call(this, F, _), J = this._readableState;
13298
- return F === "data" ? (J.readableListening = this.listenerCount("readable") > 0, J.flowing !== !1 && this.resume()) : F === "readable" && !J.endEmitted && !J.readableListening && (J.readableListening = J.needReadable = !0, J.flowing = !1, J.emittedReadable = !1, l("on readable", J.length, J.reading), J.length ? q(this) : J.reading || process.nextTick(K, this)), Z;
13298
+ return F === "data" ? (J.readableListening = this.listenerCount("readable") > 0, J.flowing !== !1 && this.resume()) : F === "readable" && !J.endEmitted && !J.readableListening && (J.readableListening = J.needReadable = !0, J.flowing = !1, J.emittedReadable = !1, l("on readable", J.length, J.reading), J.length ? j(this) : J.reading || process.nextTick(K, this)), Z;
13299
13299
  }, S.prototype.addListener = S.prototype.on, S.prototype.removeListener = function(F, _) {
13300
13300
  var Z = n.prototype.removeListener.call(this, F, _);
13301
13301
  return F === "readable" && process.nextTick(W, this), Z;
@@ -13385,7 +13385,7 @@ function require_stream_readable() {
13385
13385
  var Z;
13386
13386
  return _.objectMode ? Z = _.buffer.shift() : !F || F >= _.length ? (_.decoder ? Z = _.buffer.join("") : _.buffer.length === 1 ? Z = _.buffer.first() : Z = _.buffer.concat(_.length), _.buffer.clear()) : Z = _.buffer.consume(F, _.decoder), Z;
13387
13387
  }
13388
- function j(F) {
13388
+ function q(F) {
13389
13389
  var _ = F._readableState;
13390
13390
  l("endReadable", _.endEmitted), _.endEmitted || (_.ended = !0, process.nextTick(Y, _, F));
13391
13391
  }
@@ -16411,7 +16411,9 @@ const transformPlainMany2Ones = ({
16411
16411
  o[a] = r[a];
16412
16412
  else {
16413
16413
  const s = e.findById(a);
16414
- if (s instanceof Selection$1) {
16414
+ if (s instanceof Reference$1)
16415
+ o[a] = r[a];
16416
+ else if (s instanceof Selection$1) {
16415
16417
  const c = s;
16416
16418
  o[a] = c.selectionValues.get(r[a]);
16417
16419
  } else
@@ -16470,9 +16472,9 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16470
16472
  setLimit: O,
16471
16473
  searchParams: b = [],
16472
16474
  setSearchValues: E
16473
- } = e, [w, S] = useState(!1), [T, D] = useState(!1), [N, k] = useState(), [B, L] = useState(1), [$, q] = useState(0), [M, U] = useState(), [G, z] = useState([]), [W, K] = useState(void 0), V = useRef(y || DEFAULT_SEARCH_LIMIT$1), H = useRef([]), P = useCallback((Q) => {
16475
+ } = e, [w, S] = useState(!1), [T, D] = useState(!1), [N, k] = useState(), [B, L] = useState(1), [$, j] = useState(0), [M, U] = useState(), [G, z] = useState([]), [W, K] = useState(void 0), V = useRef(y || DEFAULT_SEARCH_LIMIT$1), H = useRef([]), P = useCallback((Q) => {
16474
16476
  x == null || x([...Q]), z([...Q]);
16475
- }, []), A = useCallback(() => g || G, [g, G]), j = useCallback(async () => {
16477
+ }, []), A = useCallback(() => g || G, [g, G]), q = useCallback(async () => {
16476
16478
  const Q = await ConnectionProvider.getHandler().nameSearch({
16477
16479
  model: t,
16478
16480
  payload: c,
@@ -16559,7 +16561,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16559
16561
  ), X = useCallback(
16560
16562
  async (Q) => {
16561
16563
  try {
16562
- S(!0), s == null || s(!0), c && !l.current ? await j() : await Y(Q);
16564
+ S(!0), s == null || s(!0), c && !l.current ? await q() : await Y(Q);
16563
16565
  } catch (ie) {
16564
16566
  k(ie.message);
16565
16567
  } finally {
@@ -16601,7 +16603,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16601
16603
  ), _ = useCallback(
16602
16604
  (Q) => {
16603
16605
  const { params: ie, searchValues: ne, limit: le, offset: ae } = Q;
16604
- w || (n == null || n(void 0), r == null || r([]), E == null || E(ne), o == null || o(ie), a == null || a(!1), D(!0), k(void 0), L(1), le && (V.current = le, O == null || O(le)), ae && q(ae), X({
16606
+ w || (n == null || n(void 0), r == null || r([]), E == null || E(ne), o == null || o(ie), a == null || a(!1), D(!0), k(void 0), L(1), le && (V.current = le, O == null || O(le)), ae && j(ae), X({
16605
16607
  params: ie,
16606
16608
  newOffset: ae
16607
16609
  }));
@@ -16616,22 +16618,22 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16616
16618
  k,
16617
16619
  L,
16618
16620
  O,
16619
- q,
16621
+ j,
16620
16622
  X
16621
16623
  ]
16622
16624
  ), Z = useCallback(
16623
16625
  (Q) => {
16624
- S(!0), L(Q), q((Q - 1) * y);
16626
+ S(!0), L(Q), j((Q - 1) * y);
16625
16627
  },
16626
- [S, y, q, L]
16628
+ [S, y, j, L]
16627
16629
  ), J = useCallback(() => {
16628
- w || (n == null || n(void 0), o == null || o([]), E == null || E({}), k(void 0), q(0), L(1), O == null || O(y || DEFAULT_SEARCH_LIMIT$1));
16630
+ w || (n == null || n(void 0), o == null || o([]), E == null || E({}), k(void 0), j(0), L(1), O == null || O(y || DEFAULT_SEARCH_LIMIT$1));
16629
16631
  }, [
16630
16632
  w,
16631
16633
  n,
16632
16634
  o,
16633
16635
  k,
16634
- q,
16636
+ j,
16635
16637
  L,
16636
16638
  O,
16637
16639
  y
@@ -16691,7 +16693,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16691
16693
  setSearchTreeNameSearch: E,
16692
16694
  goToResourceId: w,
16693
16695
  limit: S
16694
- } = e, [T, D] = useState(!1), [N, k] = useState(!1), [B, L] = useState(!1), [$, q] = useState(!0), [M, U] = useState(!0), [G, z] = useState([]), [W, K] = useState(!1), [V, H] = useState([]), [P, A] = useState(!1), [j, Y] = useState(!0), [X, F] = useState(), [_, Z] = useState({}), [J, ee] = useState(S !== void 0 ? S : DEFAULT_SEARCH_LIMIT$1);
16696
+ } = e, [T, D] = useState(!1), [N, k] = useState(!1), [B, L] = useState(!1), [$, j] = useState(!0), [M, U] = useState(!0), [G, z] = useState([]), [W, K] = useState(!1), [V, H] = useState([]), [P, A] = useState(!1), [q, Y] = useState(!0), [X, F] = useState(), [_, Z] = useState({}), [J, ee] = useState(S !== void 0 ? S : DEFAULT_SEARCH_LIMIT$1);
16695
16697
  useEffect(() => {
16696
16698
  p && p.length > 0 && !h && (m == null || m(0), d == null || d(p[0].id));
16697
16699
  }, [p]), useEffect(() => {
@@ -16729,7 +16731,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16729
16731
  removingItem: B,
16730
16732
  setRemovingItem: L,
16731
16733
  formIsLoading: $,
16732
- setFormIsLoading: q,
16734
+ setFormIsLoading: j,
16733
16735
  treeIsLoading: M,
16734
16736
  setTreeIsLoading: U,
16735
16737
  attachments: G,
@@ -16749,7 +16751,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16749
16751
  searchTreeNameSearch: b,
16750
16752
  setSearchTreeNameSearch: E,
16751
16753
  setGraphIsLoading: Y,
16752
- graphIsLoading: j,
16754
+ graphIsLoading: q,
16753
16755
  previousView: X,
16754
16756
  setPreviousView: F,
16755
16757
  goToResourceId: w,
@@ -16826,9 +16828,9 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16826
16828
  return;
16827
16829
  }
16828
16830
  const {
16829
- ids: q
16831
+ ids: j
16830
16832
  } = B || {};
16831
- let M = q || [];
16833
+ let M = j || [];
16832
16834
  const U = typeof N == "string" ? parseContext({
16833
16835
  context: N,
16834
16836
  fields: S,
@@ -16939,8 +16941,8 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16939
16941
  }), {};
16940
16942
  } else {
16941
16943
  let $;
16942
- const q = D.view_mode.split(","), M = [];
16943
- for (const U of q) {
16944
+ const j = D.view_mode.split(","), M = [];
16945
+ for (const U of j) {
16944
16946
  const G = await ConnectionProvider.getHandler().getView({
16945
16947
  model: D.res_model,
16946
16948
  type: U,
@@ -17092,7 +17094,7 @@ function Form(e, t) {
17092
17094
  } = e, {
17093
17095
  t: E,
17094
17096
  lang: w
17095
- } = useContext(LocaleContext), [S, T] = useState(!1), [D, N] = useState(), [k, B] = useState(), [L] = Form$3.useForm(), [$, q] = useState(), [M, U] = useState(), G = useContext(FormModalContext), [z, W] = useState(), [K, V] = useState(!1), H = useRef(), P = useRef({}), A = useRef({}), j = useRef(!1), Y = useRef(!1), X = z < WIDTH_BREAKPOINT, F = useContext(FormContext$1), {
17097
+ } = useContext(LocaleContext), [S, T] = useState(!1), [D, N] = useState(), [k, B] = useState(), [L] = Form$3.useForm(), [$, j] = useState(), [M, U] = useState(), G = useContext(FormModalContext), [z, W] = useState(), [K, V] = useState(!1), H = useRef(), P = useRef({}), A = useRef({}), q = useRef(!1), Y = useRef(!1), X = z < WIDTH_BREAKPOINT, F = useContext(FormContext$1), {
17096
17098
  activeId: _,
17097
17099
  getPlainValues: Z
17098
17100
  } = F || {}, J = useContext(ActionViewContext), {
@@ -17224,12 +17226,12 @@ function Form(e, t) {
17224
17226
  m ? oe = {
17225
17227
  arch: m.arch,
17226
17228
  fields: m.fields
17227
- } : oe = await qe();
17229
+ } : oe = await je();
17228
17230
  const {
17229
17231
  fields: re,
17230
17232
  arch: ce
17231
17233
  } = oe;
17232
- U(re), q(ce), await be({
17234
+ U(re), j(ce), await be({
17233
17235
  fields: re,
17234
17236
  arch: ce
17235
17237
  });
@@ -17241,7 +17243,7 @@ function Form(e, t) {
17241
17243
  ne == null || ne(!0), N(void 0), oe ? (ce = oe.fields, de = oe.arch) : (ce = M, de = $), h ? re = h : {
17242
17244
  values: re,
17243
17245
  defaultGetCalled: ye
17244
- } = await je({
17246
+ } = await qe({
17245
17247
  fields: ce,
17246
17248
  arch: de
17247
17249
  }), I && (re = {
@@ -17271,7 +17273,7 @@ function Form(e, t) {
17271
17273
  oe(!1);
17272
17274
  }
17273
17275
  }) : (pe == null || pe(), oe(!0));
17274
- }), qe = async () => {
17276
+ }), je = async () => {
17275
17277
  if (c) {
17276
17278
  const oe = await ConnectionProvider.getHandler().getActionStringForModel(n);
17277
17279
  return (await ConnectionProvider.getHandler().getViewsForAction({
@@ -17302,7 +17304,7 @@ function Form(e, t) {
17302
17304
  };
17303
17305
  });
17304
17306
  de || (A.current = Be), L.setFields(et);
17305
- }, je = async ({
17307
+ }, qe = async ({
17306
17308
  fields: oe,
17307
17309
  arch: re
17308
17310
  }) => {
@@ -17480,13 +17482,13 @@ function Form(e, t) {
17480
17482
  reset: !1
17481
17483
  });
17482
17484
  }
17483
- if (de.warning && de.warning.title && de.warning.message && !j.current) {
17485
+ if (de.warning && de.warning.title && de.warning.message && !q.current) {
17484
17486
  const {
17485
17487
  title: ye,
17486
17488
  message: Pe
17487
17489
  } = de.warning;
17488
- j.current = !0, showDialog$4(ye, Pe, () => {
17489
- j.current = !1;
17490
+ q.current = !0, showDialog$4(ye, Pe, () => {
17491
+ q.current = !1;
17490
17492
  });
17491
17493
  }
17492
17494
  if (de.domain && Object.keys(de.domain).length > 0) {
@@ -18240,7 +18242,99 @@ function SearchFilter(e) {
18240
18242
  })
18241
18243
  });
18242
18244
  }
18243
- const Many2oneSuffixModal = (e) => {
18245
+ const getTextWidth$1 = (e, t = "14px -apple-system") => {
18246
+ const r = document.createElement("canvas").getContext("2d");
18247
+ r.font = t;
18248
+ const o = r.measureText(e);
18249
+ return Math.round((o.width + 80) * 1.5);
18250
+ }, calculateColumnsWidth = (e, t, n = 500) => {
18251
+ if (e.length === 0)
18252
+ return e;
18253
+ const r = e.map(
18254
+ (a) => Object.assign(a, {
18255
+ width: getTextWidth$1(a.title)
18256
+ })
18257
+ );
18258
+ t.map((a) => {
18259
+ r.map((s, c) => {
18260
+ const l = s.width, u = a[s.key] || "";
18261
+ let d = getTextWidth$1(u);
18262
+ d < l && (d = l), d > n && (d = n), r[c].width = d;
18263
+ });
18264
+ });
18265
+ const o = r.map((a) => a.width).reduce((a, s) => a + s);
18266
+ return {
18267
+ columns: r,
18268
+ source: t,
18269
+ tableWidth: o
18270
+ };
18271
+ };
18272
+ function parseStringToFloat(e) {
18273
+ if (!!e)
18274
+ try {
18275
+ if (e.includes(":")) {
18276
+ const t = e.trim().split(":");
18277
+ return Math.round(
18278
+ (parseInt(t[0]) + parseInt(t[1]) / 60) * 1e4
18279
+ ) / 1e4;
18280
+ } else
18281
+ return parseFloat(e.trim());
18282
+ } catch {
18283
+ return 0;
18284
+ }
18285
+ }
18286
+ function parseFloatToString(e) {
18287
+ if (e === void 0)
18288
+ return;
18289
+ let t, n = Math.floor(Math.abs(e)), r = Math.round(Math.abs(e) % 1 * 100) / 100;
18290
+ r >= 1 ? (n = n + 1, r = 0) : r = r * 60;
18291
+ const o = n.toLocaleString("en-US", {
18292
+ minimumIntegerDigits: 2,
18293
+ maximumFractionDigits: 0,
18294
+ useGrouping: !1
18295
+ }), a = r.toLocaleString("en-US", {
18296
+ minimumIntegerDigits: 2,
18297
+ maximumFractionDigits: 0,
18298
+ useGrouping: !1
18299
+ });
18300
+ return t = `${o}:${a}`, e < 0 && (t = "-" + t), t;
18301
+ }
18302
+ const ProgressBar = (e) => /* @__PURE__ */ jsx(Field$1, {
18303
+ ...e,
18304
+ children: /* @__PURE__ */ jsx(ProgressBarInput, {})
18305
+ }), ProgressBarInput = ({
18306
+ value: e
18307
+ }) => {
18308
+ const t = `${(e || 0).toLocaleString("en-US", {
18309
+ minimumIntegerDigits: 1,
18310
+ maximumFractionDigits: 4,
18311
+ useGrouping: !1
18312
+ })}%`;
18313
+ return /* @__PURE__ */ jsxs("div", {
18314
+ style: {
18315
+ flex: 1,
18316
+ display: "flex",
18317
+ alignItems: "center"
18318
+ },
18319
+ children: [/* @__PURE__ */ jsx(StyledProgress, {
18320
+ percent: e
18321
+ }), /* @__PURE__ */ jsx("div", {
18322
+ style: {
18323
+ flexGrow: 1,
18324
+ paddingLeft: 10
18325
+ },
18326
+ children: t
18327
+ })]
18328
+ });
18329
+ }, StyledProgress = styled(Progress)`
18330
+ .ant-progress-outer {
18331
+ margin-right: 0px;
18332
+ padding-right: 0px;
18333
+ }
18334
+ .ant-progress-text {
18335
+ display: none;
18336
+ }
18337
+ `, Many2oneSuffixModal = (e) => {
18244
18338
  const {
18245
18339
  visible: t,
18246
18340
  onCancel: n,
@@ -18413,99 +18507,45 @@ const Many2oneSuffixModal = (e) => {
18413
18507
  onCancel: () => c(!1)
18414
18508
  })]
18415
18509
  });
18416
- }, getTextWidth$1 = (e, t = "14px -apple-system") => {
18417
- const r = document.createElement("canvas").getContext("2d");
18418
- r.font = t;
18419
- const o = r.measureText(e);
18420
- return Math.round((o.width + 80) * 1.5);
18421
- }, calculateColumnsWidth = (e, t, n = 500) => {
18422
- if (e.length === 0)
18423
- return e;
18424
- const r = e.map(
18425
- (a) => Object.assign(a, {
18426
- width: getTextWidth$1(a.title)
18427
- })
18428
- );
18429
- t.map((a) => {
18430
- r.map((s, c) => {
18431
- const l = s.width, u = a[s.key] || "";
18432
- let d = getTextWidth$1(u);
18433
- d < l && (d = l), d > n && (d = n), r[c].width = d;
18510
+ }, Many2oneTree = (e) => {
18511
+ const {
18512
+ m2oField: t
18513
+ } = e;
18514
+ return t ? /* @__PURE__ */ jsxs(Space, {
18515
+ children: [/* @__PURE__ */ jsx(Fragment, {
18516
+ children: t.value
18517
+ }), /* @__PURE__ */ jsx(Many2oneSuffix, {
18518
+ id: t.id,
18519
+ model: t.model
18520
+ })]
18521
+ }) : /* @__PURE__ */ jsx(Fragment, {});
18522
+ }, ReferenceTree = (e) => {
18523
+ const {
18524
+ value: t,
18525
+ context: n
18526
+ } = e, [r, o] = useState(), [a, s] = useState(!1), [c, l] = t ? t.split(",") : [], u = parseInt(l), d = useCallback(async () => {
18527
+ if (!t || t && r)
18528
+ return;
18529
+ s(!0);
18530
+ const f = await ConnectionProvider.getHandler().execute({
18531
+ action: "name_get",
18532
+ payload: [u],
18533
+ model: c,
18534
+ context: n
18434
18535
  });
18435
- });
18436
- const o = r.map((a) => a.width).reduce((a, s) => a + s);
18437
- return {
18438
- columns: r,
18439
- source: t,
18440
- tableWidth: o
18441
- };
18442
- };
18443
- function parseStringToFloat(e) {
18444
- if (!!e)
18445
- try {
18446
- if (e.includes(":")) {
18447
- const t = e.trim().split(":");
18448
- return Math.round(
18449
- (parseInt(t[0]) + parseInt(t[1]) / 60) * 1e4
18450
- ) / 1e4;
18451
- } else
18452
- return parseFloat(e.trim());
18453
- } catch {
18454
- return 0;
18455
- }
18456
- }
18457
- function parseFloatToString(e) {
18458
- if (e === void 0)
18459
- return;
18460
- let t, n = Math.floor(Math.abs(e)), r = Math.round(Math.abs(e) % 1 * 100) / 100;
18461
- r >= 1 ? (n = n + 1, r = 0) : r = r * 60;
18462
- const o = n.toLocaleString("en-US", {
18463
- minimumIntegerDigits: 2,
18464
- maximumFractionDigits: 0,
18465
- useGrouping: !1
18466
- }), a = r.toLocaleString("en-US", {
18467
- minimumIntegerDigits: 2,
18468
- maximumFractionDigits: 0,
18469
- useGrouping: !1
18470
- });
18471
- return t = `${o}:${a}`, e < 0 && (t = "-" + t), t;
18472
- }
18473
- const ProgressBar = (e) => /* @__PURE__ */ jsx(Field$1, {
18474
- ...e,
18475
- children: /* @__PURE__ */ jsx(ProgressBarInput, {})
18476
- }), ProgressBarInput = ({
18477
- value: e
18478
- }) => {
18479
- const t = `${(e || 0).toLocaleString("en-US", {
18480
- minimumIntegerDigits: 1,
18481
- maximumFractionDigits: 4,
18482
- useGrouping: !1
18483
- })}%`;
18484
- return /* @__PURE__ */ jsxs("div", {
18485
- style: {
18486
- flex: 1,
18487
- display: "flex",
18488
- alignItems: "center"
18489
- },
18490
- children: [/* @__PURE__ */ jsx(StyledProgress, {
18491
- percent: e
18492
- }), /* @__PURE__ */ jsx("div", {
18493
- style: {
18494
- flexGrow: 1,
18495
- paddingLeft: 10
18496
- },
18497
- children: t
18536
+ o(f[0][1]), s(!1);
18537
+ }, [t, r]);
18538
+ return useEffect(() => {
18539
+ d();
18540
+ }, [t]), !t && !a ? /* @__PURE__ */ jsx(Fragment, {}) : a ? /* @__PURE__ */ jsx(LoadingOutlined$3, {}) : /* @__PURE__ */ jsxs(Space, {
18541
+ children: [/* @__PURE__ */ jsx(Fragment, {
18542
+ children: r
18543
+ }), /* @__PURE__ */ jsx(Many2oneSuffix, {
18544
+ id: u,
18545
+ model: c
18498
18546
  })]
18499
18547
  });
18500
- }, StyledProgress = styled(Progress)`
18501
- .ant-progress-outer {
18502
- margin-right: 0px;
18503
- padding-right: 0px;
18504
- }
18505
- .ant-progress-text {
18506
- display: none;
18507
- }
18508
- `, booleanComponentFn = (e) => /* @__PURE__ */ jsx("div", {
18548
+ }, booleanComponentFn = (e) => /* @__PURE__ */ jsx("div", {
18509
18549
  style: {
18510
18550
  display: "flex",
18511
18551
  justifyContent: "center",
@@ -18515,14 +18555,9 @@ const ProgressBar = (e) => /* @__PURE__ */ jsx(Field$1, {
18515
18555
  checked: e,
18516
18556
  disabled: !0
18517
18557
  })
18518
- }), many2OneComponentFn = (e) => e ? /* @__PURE__ */ jsxs(Space, {
18519
- children: [/* @__PURE__ */ jsx(Fragment, {
18520
- children: e.value
18521
- }), /* @__PURE__ */ jsx(Many2oneSuffix, {
18522
- id: e.id,
18523
- model: e.model
18524
- })]
18525
- }) : /* @__PURE__ */ jsx(Fragment, {}), textComponentFn = (e) => /* @__PURE__ */ jsx(Interweave, {
18558
+ }), many2OneComponentFn = (e) => /* @__PURE__ */ jsx(Many2oneTree, {
18559
+ m2oField: e
18560
+ }), textComponentFn = (e) => /* @__PURE__ */ jsx(Interweave, {
18526
18561
  content: e == null ? void 0 : e.replace(/(?:\r\n|\r|\n)/g, "<br>")
18527
18562
  }), one2ManyComponentFn = (e) => {
18528
18563
  const t = Array.isArray(e == null ? void 0 : e.items) ? e == null ? void 0 : e.items.length : 0;
@@ -18544,6 +18579,8 @@ const ProgressBar = (e) => /* @__PURE__ */ jsx(Field$1, {
18544
18579
  maxWidth: "50px",
18545
18580
  padding: "5px"
18546
18581
  }
18582
+ }), referenceComponent = (e) => /* @__PURE__ */ jsx(ReferenceTree, {
18583
+ value: e
18547
18584
  });
18548
18585
  function Tree(e) {
18549
18586
  const {
@@ -18578,7 +18615,8 @@ function Tree(e) {
18578
18615
  float_time: floatTimeComponent,
18579
18616
  image: imageComponent,
18580
18617
  integer: numberComponent,
18581
- float: numberComponent
18618
+ float: numberComponent,
18619
+ reference: referenceComponent
18582
18620
  });
18583
18621
  y($);
18584
18622
  }, [o]), useEffect(() => {
@@ -18606,14 +18644,14 @@ function Tree(e) {
18606
18644
  });
18607
18645
  function k() {
18608
18646
  var G;
18609
- const q = b.current.columns.filter((z) => z.sum !== void 0).map((z) => ({
18647
+ const j = b.current.columns.filter((z) => z.sum !== void 0).map((z) => ({
18610
18648
  label: z.sum,
18611
18649
  field: z.id
18612
18650
  }));
18613
- if (!q || q.length === 0)
18651
+ if (!j || j.length === 0)
18614
18652
  return null;
18615
18653
  let M = [], 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;
18616
- return q.forEach((z) => {
18654
+ return j.forEach((z) => {
18617
18655
  const W = U.reduce((K, V) => V[z.field] && !isNaN(V[z.field]) ? K + V[z.field] : K, 0);
18618
18656
  M.push(`${z.label}: ${Math.round(W * 100) / 100}`);
18619
18657
  }), /* @__PURE__ */ jsx("div", {
@@ -18624,8 +18662,8 @@ function Tree(e) {
18624
18662
  let B, L = f;
18625
18663
  if (b.current !== null) {
18626
18664
  B = calculateColumnsWidth(C, g, 600);
18627
- const q = b.current;
18628
- f && q.columns.some((M) => M.sum !== void 0) && (L = f - 30);
18665
+ const j = b.current;
18666
+ f && j.columns.some((M) => M.sum !== void 0) && (L = f - 30);
18629
18667
  }
18630
18668
  return b.current === null ? /* @__PURE__ */ jsx(Spin, {
18631
18669
  style: {
@@ -18676,7 +18714,7 @@ function SearchTree(e, t) {
18676
18714
  } = useWindowDimensions(), B = useContext(ContentRootContext), {
18677
18715
  processAction: L
18678
18716
  } = B || {}, $ = useContext(ActionViewContext), {
18679
- setResults: q = void 0,
18717
+ setResults: j = void 0,
18680
18718
  setCurrentItemIndex: M = void 0,
18681
18719
  currentId: U = void 0,
18682
18720
  results: G = void 0,
@@ -18687,7 +18725,7 @@ function SearchTree(e, t) {
18687
18725
  searchVisible: H = !0,
18688
18726
  setSearchVisible: P = void 0,
18689
18727
  sorter: A = void 0,
18690
- setSorter: j = void 0,
18728
+ setSorter: q = void 0,
18691
18729
  setTotalItems: Y = void 0,
18692
18730
  setSearchTreeNameSearch: X = void 0,
18693
18731
  setTreeIsLoading: F = void 0,
@@ -18725,9 +18763,9 @@ function SearchTree(e, t) {
18725
18763
  formView: b,
18726
18764
  treeView: y,
18727
18765
  sorter: A,
18728
- setSorter: j,
18766
+ setSorter: q,
18729
18767
  setCurrentItemIndex: M,
18730
- setResultsActionView: q,
18768
+ setResultsActionView: j,
18731
18769
  resultsActionView: G,
18732
18770
  domain: l,
18733
18771
  currentId: U,
@@ -19004,11 +19042,11 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19004
19042
  getContext: D,
19005
19043
  setOriginalValue: N,
19006
19044
  elementHasLostFocus: k
19007
- } = E || {}, B = useRef([]), [L, $] = useState([]), q = t && t[0] || void 0, M = t && t[1] || "";
19045
+ } = E || {}, B = useRef([]), [L, $] = useState([]), j = t && t[0] || void 0, M = t && t[1] || "";
19008
19046
  useEffect(() => {
19009
19047
  !Array.isArray(t) && t && K(t);
19010
19048
  }, [t]), useEffect(() => {
19011
- q && M.length === 0 ? K(q) : q && M.length > 0 ? O(M) : !q && !M && O(b.current || "");
19049
+ j && M.length === 0 ? K(j) : j && M.length > 0 ? O(M) : !j && !M && O(b.current || "");
19012
19050
  }, [t]);
19013
19051
  const U = (A) => {
19014
19052
  n == null || n(A), k == null || k();
@@ -19043,7 +19081,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19043
19081
  }
19044
19082
  }, W = async (A) => {
19045
19083
  if (await V(), B.current && B.current.length > 0) {
19046
- const j = await ConnectionProvider.getHandler().searchAllIds({
19084
+ const q = await ConnectionProvider.getHandler().searchAllIds({
19047
19085
  params: B.current,
19048
19086
  model: a,
19049
19087
  context: {
@@ -19052,11 +19090,11 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19052
19090
  },
19053
19091
  totalItems: 2
19054
19092
  });
19055
- j.length === 1 ? K(j[0], !0) : (I(A), p(!0));
19093
+ q.length === 1 ? K(q[0], !0) : (I(A), p(!0));
19056
19094
  return;
19057
19095
  }
19058
19096
  I(A), p(!0);
19059
- }, K = async (A, j) => {
19097
+ }, K = async (A, q) => {
19060
19098
  x(!0);
19061
19099
  try {
19062
19100
  const Y = await ConnectionProvider.getHandler().execute({
@@ -19068,7 +19106,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19068
19106
  ...c
19069
19107
  }
19070
19108
  });
19071
- U([A, Y[0][1]]), j && N(r.id, [A, Y[0][1]]);
19109
+ U([A, Y[0][1]]), q && N(r.id, [A, Y[0][1]]);
19072
19110
  } catch (Y) {
19073
19111
  showDialog$3(Y);
19074
19112
  } finally {
@@ -19090,7 +19128,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19090
19128
  }))), $(B.current);
19091
19129
  }
19092
19130
  async function H(A) {
19093
- A.keyCode === 13 ? (A.preventDefault(), A.stopPropagation(), await z()) : A.code === "Backspace" && q !== void 0 && (A.preventDefault(), A.stopPropagation(), U([void 0, ""]));
19131
+ A.keyCode === 13 ? (A.preventDefault(), A.stopPropagation(), await z()) : A.code === "Backspace" && j !== void 0 && (A.preventDefault(), A.stopPropagation(), U([void 0, ""]));
19094
19132
  }
19095
19133
  return /* @__PURE__ */ jsxs(Row, {
19096
19134
  gutter: 8,
@@ -19106,7 +19144,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19106
19144
  onBlur: z,
19107
19145
  onKeyDown: H,
19108
19146
  suffix: /* @__PURE__ */ jsx(Many2oneSuffix, {
19109
- id: q,
19147
+ id: j,
19110
19148
  model: a,
19111
19149
  context: {
19112
19150
  ...D == null ? void 0 : D(),
@@ -19118,7 +19156,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19118
19156
  flex: "32px",
19119
19157
  children: /* @__PURE__ */ jsx(Button$1, {
19120
19158
  icon: /* @__PURE__ */ jsx(FolderOpenOutlined, {}),
19121
- disabled: q === void 0 || M === "" || y === void 0,
19159
+ disabled: j === void 0 || M === "" || y === void 0,
19122
19160
  onClick: () => {
19123
19161
  m(!0);
19124
19162
  },
@@ -19142,7 +19180,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19142
19180
  ...c
19143
19181
  },
19144
19182
  visible: f,
19145
- nameSearch: q ? void 0 : g,
19183
+ nameSearch: j ? void 0 : g,
19146
19184
  onSelectValues: (A) => {
19147
19185
  p(!1), K(A[0]), C.current = !1, b.current = void 0;
19148
19186
  },
@@ -20524,7 +20562,7 @@ var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, t) {
20524
20562
  function k() {
20525
20563
  l && N(p());
20526
20564
  }
20527
- var B = useVisibleStatus(n, k), L = _slicedToArray(B, 2), $ = L[0], q = L[1], M = useRef();
20565
+ var B = useVisibleStatus(n, k), L = _slicedToArray(B, 2), $ = L[0], j = L[1], M = useRef();
20528
20566
  function U() {
20529
20567
  return f || p;
20530
20568
  }
@@ -20532,22 +20570,22 @@ var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, t) {
20532
20570
  var A;
20533
20571
  (A = C.current) === null || A === void 0 || A.forceAlign();
20534
20572
  }
20535
- function z(A, j) {
20573
+ function z(A, q) {
20536
20574
  if ($ === "align") {
20537
- var Y = h(j);
20575
+ var Y = h(q);
20538
20576
  w(Y), E !== Y ? Promise.resolve().then(function() {
20539
20577
  G();
20540
- }) : q(function() {
20578
+ }) : j(function() {
20541
20579
  var X;
20542
20580
  (X = M.current) === null || X === void 0 || X.call(M);
20543
- }), m == null || m(A, j);
20581
+ }), m == null || m(A, q);
20544
20582
  }
20545
20583
  }
20546
20584
  var W = _objectSpread2$1({}, getMotion(e));
20547
20585
  ["onAppearEnd", "onEnterEnd", "onLeaveEnd"].forEach(function(A) {
20548
- var j = W[A];
20586
+ var q = W[A];
20549
20587
  W[A] = function(Y, X) {
20550
- return q(), j == null ? void 0 : j(Y, X);
20588
+ return j(), q == null ? void 0 : q(Y, X);
20551
20589
  };
20552
20590
  });
20553
20591
  function K() {
@@ -20556,7 +20594,7 @@ var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, t) {
20556
20594
  });
20557
20595
  }
20558
20596
  React.useEffect(function() {
20559
- !W.motionName && $ === "motion" && q();
20597
+ !W.motionName && $ === "motion" && j();
20560
20598
  }, [W.motionName, $]), React.useImperativeHandle(t, function() {
20561
20599
  return {
20562
20600
  forceAlign: G,
@@ -20584,7 +20622,7 @@ var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, t) {
20584
20622
  onAppearPrepare: K,
20585
20623
  onEnterPrepare: K,
20586
20624
  removeOnLeave: u,
20587
- children: function(A, j) {
20625
+ children: function(A, q) {
20588
20626
  var Y = A.className, X = A.style, F = classnamesExports(r, o, E, Y);
20589
20627
  return /* @__PURE__ */ jsx(RefAlign, {
20590
20628
  target: U(),
@@ -20594,7 +20632,7 @@ var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, t) {
20594
20632
  align: d,
20595
20633
  onAlign: z,
20596
20634
  children: /* @__PURE__ */ jsx("div", {
20597
- ref: j,
20635
+ ref: q,
20598
20636
  className: F,
20599
20637
  onMouseEnter: v,
20600
20638
  onMouseLeave: x,
@@ -21101,8 +21139,8 @@ var autoAdjustOverflow = {
21101
21139
  if (typeof E == "boolean")
21102
21140
  L = E;
21103
21141
  else if (E && _typeof$1(E) === "object") {
21104
- var q = E.keepParent;
21105
- L = q === !0, $ = q === !1;
21142
+ var j = E.keepParent;
21143
+ L = j === !0, $ = j === !1;
21106
21144
  }
21107
21145
  return /* @__PURE__ */ jsx(Trigger, {
21108
21146
  ...Object.assign({
@@ -21376,12 +21414,12 @@ function requireTooltip() {
21376
21414
  };
21377
21415
  ne.indexOf("top") >= 0 || ne.indexOf("Bottom") >= 0 ? ae.top = "".concat(le.height - Q.offset[1], "px") : (ne.indexOf("Top") >= 0 || ne.indexOf("bottom") >= 0) && (ae.top = "".concat(-Q.offset[1], "px")), ne.indexOf("left") >= 0 || ne.indexOf("Right") >= 0 ? ae.left = "".concat(le.width - Q.offset[0], "px") : (ne.indexOf("right") >= 0 || ne.indexOf("Left") >= 0) && (ae.left = "".concat(-Q.offset[0], "px")), ee.style.transformOrigin = "".concat(ae.left, " ").concat(ae.top);
21378
21416
  }
21379
- }, q = function() {
21417
+ }, j = function() {
21380
21418
  var ee = I.title, Q = I.overlay;
21381
21419
  return ee === 0 ? ee : Q || ee || "";
21382
21420
  }, M = I.prefixCls, U = I.openClassName, G = I.getPopupContainer, z = I.getTooltipContainer, W = I.overlayClassName, K = I.color, V = I.overlayInnerStyle, H = I.children, P = E("tooltip", M), A = D;
21383
21421
  !("visible" in I) && k() && (A = !1);
21384
- var j = v((0, d.isValidElement)(H) ? H : /* @__PURE__ */ s.createElement("span", null, H), P), Y = j.props, X = (0, l.default)(Y.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(K), K && m.test(K)), y)), _ = V, Z;
21422
+ var q = v((0, d.isValidElement)(H) ? H : /* @__PURE__ */ s.createElement("span", null, H), P), Y = q.props, X = (0, l.default)(Y.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(K), K && m.test(K)), y)), _ = V, Z;
21385
21423
  return K && !m.test(K) && (_ = (0, a.default)((0, a.default)({}, V), {
21386
21424
  background: K
21387
21425
  }), Z = {
@@ -21392,7 +21430,7 @@ function requireTooltip() {
21392
21430
  getTooltipContainer: G || z || b,
21393
21431
  ref: C,
21394
21432
  builtinPlacements: L(),
21395
- overlay: q(),
21433
+ overlay: j(),
21396
21434
  visible: A,
21397
21435
  onVisibleChange: B,
21398
21436
  onPopupAlign: $,
@@ -21401,9 +21439,9 @@ function requireTooltip() {
21401
21439
  className: "".concat(P, "-arrow-content"),
21402
21440
  style: Z
21403
21441
  })
21404
- }), A ? (0, d.cloneElement)(j, {
21442
+ }), A ? (0, d.cloneElement)(q, {
21405
21443
  className: X
21406
- }) : j);
21444
+ }) : q);
21407
21445
  });
21408
21446
  x.displayName = "Tooltip", x.defaultProps = {
21409
21447
  placement: "top",
@@ -21539,7 +21577,7 @@ function requireEditable() {
21539
21577
  var $ = function(H) {
21540
21578
  var P = H.target;
21541
21579
  L(P.value.replace(/[\n\r]/g, ""));
21542
- }, q = function() {
21580
+ }, j = function() {
21543
21581
  T.current = !0;
21544
21582
  }, M = function() {
21545
21583
  T.current = !1;
@@ -21549,8 +21587,8 @@ function requireEditable() {
21549
21587
  }, G = function() {
21550
21588
  E(B.trim());
21551
21589
  }, z = function(H) {
21552
- var P = H.keyCode, A = H.ctrlKey, j = H.altKey, Y = H.metaKey, X = H.shiftKey;
21553
- D.current === P && !T.current && !A && !j && !Y && !X && (P === c.default.ENTER ? G() : P === c.default.ESC && w());
21590
+ var P = H.keyCode, A = H.ctrlKey, q = H.altKey, Y = H.metaKey, X = H.shiftKey;
21591
+ D.current === P && !T.current && !A && !q && !Y && !X && (P === c.default.ENTER ? G() : P === c.default.ESC && w());
21554
21592
  }, W = function() {
21555
21593
  G();
21556
21594
  }, K = (0, s.default)(m, "".concat(m, "-edit-content"), (0, r.default)({}, "".concat(m, "-rtl"), I === "rtl"), x);
@@ -21564,7 +21602,7 @@ function requireEditable() {
21564
21602
  onChange: $,
21565
21603
  onKeyDown: U,
21566
21604
  onKeyUp: z,
21567
- onCompositionStart: q,
21605
+ onCompositionStart: j,
21568
21606
  onCompositionEnd: M,
21569
21607
  onBlur: W,
21570
21608
  "aria-label": v,
@@ -21636,18 +21674,18 @@ function requireUtil() {
21636
21674
  (0, r.unmountComponentAtNode)(u);
21637
21675
  var $ = [];
21638
21676
  u.innerHTML = "";
21639
- var q = document.createElement("span");
21640
- u.appendChild(q);
21677
+ var j = document.createElement("span");
21678
+ u.appendChild(j);
21641
21679
  var M = document.createTextNode(y + E);
21642
- q.appendChild(M), L.forEach(function(W) {
21680
+ j.appendChild(M), L.forEach(function(W) {
21643
21681
  u.appendChild(W);
21644
21682
  });
21645
21683
  function U(W) {
21646
- q.insertBefore(W, M);
21684
+ j.insertBefore(W, M);
21647
21685
  }
21648
21686
  function G(W, K) {
21649
- var V = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, H = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : K.length, P = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, A = Math.floor((V + H) / 2), j = K.slice(0, A);
21650
- if (W.textContent = j, V >= H - 1)
21687
+ var V = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, H = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : K.length, P = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, A = Math.floor((V + H) / 2), q = K.slice(0, A);
21688
+ if (W.textContent = q, V >= H - 1)
21651
21689
  for (var Y = H; Y >= V; Y -= 1) {
21652
21690
  var X = K.slice(0, Y);
21653
21691
  if (W.textContent = X, k() || !X)
@@ -21667,7 +21705,7 @@ function requireUtil() {
21667
21705
  return U(W), k() ? {
21668
21706
  finished: !1,
21669
21707
  reactNode: N[K]
21670
- } : (q.removeChild(W), {
21708
+ } : (j.removeChild(W), {
21671
21709
  finished: !0,
21672
21710
  reactNode: null
21673
21711
  });
@@ -21708,12 +21746,12 @@ function requireBase() {
21708
21746
  W.indexOf(V[H]) < 0 && Object.prototype.propertyIsEnumerable.call(z, V[H]) && (K[V[H]] = z[V[H]]);
21709
21747
  return K;
21710
21748
  }, L = (0, S.isStyleSupport)("webkitLineClamp"), $ = (0, S.isStyleSupport)("textOverflow");
21711
- function q(z, W) {
21712
- var K = z.mark, V = z.code, H = z.underline, P = z.delete, A = z.strong, j = z.keyboard, Y = W;
21749
+ function j(z, W) {
21750
+ var K = z.mark, V = z.code, H = z.underline, P = z.delete, A = z.strong, q = z.keyboard, Y = W;
21713
21751
  function X(F, _) {
21714
21752
  !F || (Y = /* @__PURE__ */ f.createElement(_, {}, Y));
21715
21753
  }
21716
- return X(A, "strong"), X(H, "u"), X(P, "del"), X(V, "code"), X(K, "mark"), X(j, "kbd"), Y;
21754
+ return X(A, "strong"), X(H, "u"), X(P, "del"), X(V, "code"), X(K, "mark"), X(q, "kbd"), Y;
21717
21755
  }
21718
21756
  var M = "...", U = /* @__PURE__ */ function(z) {
21719
21757
  (0, u.default)(K, z);
@@ -21745,7 +21783,7 @@ function requireBase() {
21745
21783
  V.triggerEdit(!1);
21746
21784
  }, V.onCopyClick = function(H) {
21747
21785
  H.preventDefault();
21748
- var P = V.props, A = P.children, j = P.copyable, Y = (0, s.default)({}, (0, a.default)(j) === "object" ? j : null);
21786
+ var P = V.props, A = P.children, q = P.copyable, Y = (0, s.default)({}, (0, a.default)(q) === "object" ? q : null);
21749
21787
  Y.text === void 0 && (Y.text = String(A)), (0, m.default)(Y.text || ""), V.setState({
21750
21788
  copied: !0
21751
21789
  }, function() {
@@ -21780,8 +21818,8 @@ function requireBase() {
21780
21818
  }, {
21781
21819
  key: "componentDidUpdate",
21782
21820
  value: function(H) {
21783
- var P = this.props.children, A = this.getEllipsis(), j = this.getEllipsis(H);
21784
- (P !== H.children || A.rows !== j.rows) && this.resizeOnNextFrame();
21821
+ var P = this.props.children, A = this.getEllipsis(), q = this.getEllipsis(H);
21822
+ (P !== H.children || A.rows !== q.rows) && this.resizeOnNextFrame();
21785
21823
  }
21786
21824
  }, {
21787
21825
  key: "componentWillUnmount",
@@ -21791,10 +21829,10 @@ function requireBase() {
21791
21829
  }, {
21792
21830
  key: "getEditable",
21793
21831
  value: function(H) {
21794
- var P = this.state.edit, A = H || this.props, j = A.editable;
21795
- return j ? (0, s.default)({
21832
+ var P = this.state.edit, A = H || this.props, q = A.editable;
21833
+ return q ? (0, s.default)({
21796
21834
  editing: P
21797
- }, (0, a.default)(j) === "object" ? j : null) : {
21835
+ }, (0, a.default)(q) === "object" ? q : null) : {
21798
21836
  editing: P
21799
21837
  };
21800
21838
  }
@@ -21810,14 +21848,14 @@ function requireBase() {
21810
21848
  }, {
21811
21849
  key: "canUseCSSEllipsis",
21812
21850
  value: function() {
21813
- var H = this.state.clientRendered, P = this.props, A = P.editable, j = P.copyable, Y = this.getEllipsis(), X = Y.rows, F = Y.expandable, _ = Y.suffix, Z = Y.onEllipsis, J = Y.tooltip;
21814
- return _ || J || A || j || F || !H || Z ? !1 : X === 1 ? $ : L;
21851
+ var H = this.state.clientRendered, P = this.props, A = P.editable, q = P.copyable, Y = this.getEllipsis(), X = Y.rows, F = Y.expandable, _ = Y.suffix, Z = Y.onEllipsis, J = Y.tooltip;
21852
+ return _ || J || A || q || F || !H || Z ? !1 : X === 1 ? $ : L;
21815
21853
  }
21816
21854
  }, {
21817
21855
  key: "syncEllipsis",
21818
21856
  value: function() {
21819
- var H = this.state, P = H.ellipsisText, A = H.isEllipsis, j = H.expanded, Y = this.getEllipsis(), X = Y.rows, F = Y.suffix, _ = Y.onEllipsis, Z = this.props.children;
21820
- if (!(!X || X < 0 || !this.contentRef.current || j) && !this.canUseCSSEllipsis()) {
21857
+ var H = this.state, P = H.ellipsisText, A = H.isEllipsis, q = H.expanded, Y = this.getEllipsis(), X = Y.rows, F = Y.suffix, _ = Y.onEllipsis, Z = this.props.children;
21858
+ if (!(!X || X < 0 || !this.contentRef.current || q) && !this.canUseCSSEllipsis()) {
21821
21859
  (0, b.default)((0, h.default)(Z).every(function(ne) {
21822
21860
  return typeof ne == "string";
21823
21861
  }), "Typography", "`ellipsis` should use string as children only.");
@@ -21835,11 +21873,11 @@ function requireBase() {
21835
21873
  }, {
21836
21874
  key: "renderExpand",
21837
21875
  value: function(H) {
21838
- var P = this.getEllipsis(), A = P.expandable, j = P.symbol, Y = this.state, X = Y.expanded, F = Y.isEllipsis;
21876
+ var P = this.getEllipsis(), A = P.expandable, q = P.symbol, Y = this.state, X = Y.expanded, F = Y.isEllipsis;
21839
21877
  if (!A || !H && (X || !F))
21840
21878
  return null;
21841
21879
  var _;
21842
- return j ? _ = j : _ = this.expandStr, /* @__PURE__ */ f.createElement("a", {
21880
+ return q ? _ = q : _ = this.expandStr, /* @__PURE__ */ f.createElement("a", {
21843
21881
  key: "expand",
21844
21882
  className: "".concat(this.getPrefixCls(), "-expand"),
21845
21883
  onClick: this.onExpandClick,
@@ -21851,10 +21889,10 @@ function requireBase() {
21851
21889
  value: function() {
21852
21890
  var H = this.props.editable;
21853
21891
  if (!!H) {
21854
- var P = H.icon, A = H.tooltip, j = (0, h.default)(A)[0] || this.editStr, Y = typeof j == "string" ? j : "";
21892
+ var P = H.icon, A = H.tooltip, q = (0, h.default)(A)[0] || this.editStr, Y = typeof q == "string" ? q : "";
21855
21893
  return /* @__PURE__ */ f.createElement(T.default, {
21856
21894
  key: "edit",
21857
- title: A === !1 ? "" : j
21895
+ title: A === !1 ? "" : q
21858
21896
  }, /* @__PURE__ */ f.createElement(E.default, {
21859
21897
  ref: this.setEditRef,
21860
21898
  className: "".concat(this.getPrefixCls(), "-edit"),
@@ -21870,12 +21908,12 @@ function requireBase() {
21870
21908
  value: function() {
21871
21909
  var H = this.state.copied, P = this.props.copyable;
21872
21910
  if (!!P) {
21873
- var A = this.getPrefixCls(), j = P.tooltips, Y = (0, h.default)(j);
21911
+ var A = this.getPrefixCls(), q = P.tooltips, Y = (0, h.default)(q);
21874
21912
  Y.length === 0 && (Y = [this.copyStr, this.copiedStr]);
21875
21913
  var X = H ? Y[1] : Y[0], F = typeof X == "string" ? X : "", _ = (0, h.default)(P.icon);
21876
21914
  return /* @__PURE__ */ f.createElement(T.default, {
21877
21915
  key: "copy",
21878
- title: j === !1 ? "" : X
21916
+ title: q === !1 ? "" : X
21879
21917
  }, /* @__PURE__ */ f.createElement(E.default, {
21880
21918
  className: (0, p.default)("".concat(A, "-copy"), H && "".concat(A, "-copy-success")),
21881
21919
  onClick: this.onCopyClick,
@@ -21886,14 +21924,14 @@ function requireBase() {
21886
21924
  }, {
21887
21925
  key: "renderEditInput",
21888
21926
  value: function() {
21889
- var H = this.props, P = H.children, A = H.className, j = H.style, Y = this.context.direction, X = this.getEditable(), F = X.maxLength, _ = X.autoSize;
21927
+ var H = this.props, P = H.children, A = H.className, q = H.style, Y = this.context.direction, X = this.getEditable(), F = X.maxLength, _ = X.autoSize;
21890
21928
  return /* @__PURE__ */ f.createElement(N.default, {
21891
21929
  value: typeof P == "string" ? P : "",
21892
21930
  onSave: this.onEditChange,
21893
21931
  onCancel: this.onEditCancel,
21894
21932
  prefixCls: this.getPrefixCls(),
21895
21933
  className: A,
21896
- style: j,
21934
+ style: q,
21897
21935
  direction: Y,
21898
21936
  maxLength: F,
21899
21937
  autoSize: _
@@ -21909,8 +21947,8 @@ function requireBase() {
21909
21947
  }, {
21910
21948
  key: "renderContent",
21911
21949
  value: function() {
21912
- var H = this, P = this.state, A = P.ellipsisContent, j = P.isEllipsis, Y = P.expanded, X = this.props, F = X.component, _ = X.children, Z = X.className, J = X.type, ee = X.disabled, Q = X.style, ie = B(X, ["component", "children", "className", "type", "disabled", "style"]), ne = this.context.direction, le = this.getEllipsis(), ae = le.rows, Ce = le.suffix, Oe = le.tooltip, te = this.getPrefixCls(), pe = (0, v.default)(ie, ["prefixCls", "editable", "copyable", "ellipsis", "mark", "code", "delete", "underline", "strong", "keyboard"].concat((0, o.default)(y.configConsumerProps))), me = this.canUseCSSEllipsis(), fe = ae === 1 && me, ve = ae && ae > 1 && me, he = _;
21913
- if (ae && j && !Y && !me) {
21950
+ var H = this, P = this.state, A = P.ellipsisContent, q = P.isEllipsis, Y = P.expanded, X = this.props, F = X.component, _ = X.children, Z = X.className, J = X.type, ee = X.disabled, Q = X.style, ie = B(X, ["component", "children", "className", "type", "disabled", "style"]), ne = this.context.direction, le = this.getEllipsis(), ae = le.rows, Ce = le.suffix, Oe = le.tooltip, te = this.getPrefixCls(), pe = (0, v.default)(ie, ["prefixCls", "editable", "copyable", "ellipsis", "mark", "code", "delete", "underline", "strong", "keyboard"].concat((0, o.default)(y.configConsumerProps))), me = this.canUseCSSEllipsis(), fe = ae === 1 && me, ve = ae && ae > 1 && me, he = _;
21951
+ if (ae && q && !Y && !me) {
21914
21952
  var Te = ie.title, Se = Te || "";
21915
21953
  !Te && (typeof _ == "string" || typeof _ == "number") && (Se = String(_)), Se = Se == null ? void 0 : Se.slice(String(A || "").length), he = /* @__PURE__ */ f.createElement(f.Fragment, null, A, /* @__PURE__ */ f.createElement("span", {
21916
21954
  title: Se,
@@ -21920,7 +21958,7 @@ function requireBase() {
21920
21958
  }, /* @__PURE__ */ f.createElement("span", null, he)));
21921
21959
  } else
21922
21960
  he = /* @__PURE__ */ f.createElement(f.Fragment, null, _, Ce);
21923
- return he = q(this.props, he), /* @__PURE__ */ f.createElement(O.default, {
21961
+ return he = j(this.props, he), /* @__PURE__ */ f.createElement(O.default, {
21924
21962
  componentName: "Text"
21925
21963
  }, function(se) {
21926
21964
  var ue, xe = se.edit, ge = se.copy, Ie = se.copied, _e = se.expand;
@@ -22000,16 +22038,16 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
22000
22038
  $();
22001
22039
  }, [t, o]);
22002
22040
  async function B({
22003
- domain: q,
22041
+ domain: j,
22004
22042
  isTotal: M
22005
22043
  }) {
22006
22044
  if (M)
22007
22045
  return await L({
22008
- domain: q
22046
+ domain: j
22009
22047
  });
22010
22048
  if (u && d) {
22011
22049
  const U = f || await ConnectionProvider.getHandler().searchAllIds({
22012
- params: q,
22050
+ params: j,
22013
22051
  model: t,
22014
22052
  context: r
22015
22053
  }), G = await ConnectionProvider.getHandler().readObjects({
@@ -22025,16 +22063,16 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
22025
22063
  } else
22026
22064
  return f ? f.length : await ConnectionProvider.getHandler().searchCount({
22027
22065
  model: t,
22028
- params: q,
22066
+ params: j,
22029
22067
  context: r
22030
22068
  });
22031
22069
  }
22032
22070
  async function L({
22033
- domain: q
22071
+ domain: j
22034
22072
  }) {
22035
22073
  if (u && d) {
22036
22074
  const M = await ConnectionProvider.getHandler().searchAllIds({
22037
- params: q,
22075
+ params: j,
22038
22076
  model: t,
22039
22077
  context: r
22040
22078
  }), U = await ConnectionProvider.getHandler().readObjects({
@@ -22050,13 +22088,13 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
22050
22088
  } else
22051
22089
  return await ConnectionProvider.getHandler().searchCount({
22052
22090
  model: t,
22053
- params: q,
22091
+ params: j,
22054
22092
  context: r
22055
22093
  });
22056
22094
  }
22057
22095
  async function $() {
22058
22096
  h(!0);
22059
- let q, M;
22097
+ let j, M;
22060
22098
  try {
22061
22099
  const U = await B({
22062
22100
  domain: n,
@@ -22068,12 +22106,12 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
22068
22106
  values: {},
22069
22107
  context: r
22070
22108
  });
22071
- q = await B({
22109
+ j = await B({
22072
22110
  domain: G,
22073
22111
  isTotal: !0
22074
- }), C(q);
22112
+ }), C(j);
22075
22113
  }
22076
- if (q ? (M = Math.round(U / q * 100 * 100) / 100, g(M)) : g(0), o) {
22114
+ if (j ? (M = Math.round(U / j * 100 * 100) / 100, g(M)) : g(0), o) {
22077
22115
  const G = await ConnectionProvider.getHandler().parseCondition({
22078
22116
  condition: o,
22079
22117
  values: {
@@ -22118,17 +22156,17 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
22118
22156
  })
22119
22157
  }) : /* @__PURE__ */ jsx(Measure, {
22120
22158
  bounds: !0,
22121
- onResize: (q) => {
22159
+ onResize: (j) => {
22122
22160
  var M, U;
22123
- O((M = q.bounds) == null ? void 0 : M.height), E((U = q.bounds) == null ? void 0 : U.width);
22161
+ O((M = j.bounds) == null ? void 0 : M.height), E((U = j.bounds) == null ? void 0 : U.width);
22124
22162
  },
22125
22163
  children: ({
22126
- measureRef: q
22164
+ measureRef: j
22127
22165
  }) => s ? /* @__PURE__ */ jsx(PercentageIndicator, {
22128
22166
  value: m,
22129
22167
  total: I,
22130
22168
  percent: x,
22131
- measureRef: q,
22169
+ measureRef: j,
22132
22170
  height: y,
22133
22171
  width: b,
22134
22172
  color: w,
@@ -22137,7 +22175,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
22137
22175
  }) : /* @__PURE__ */ jsx(CommonIndicator, {
22138
22176
  value: m,
22139
22177
  total: I,
22140
- measureRef: q,
22178
+ measureRef: j,
22141
22179
  height: y,
22142
22180
  width: b,
22143
22181
  color: w,
@@ -22742,13 +22780,13 @@ const One2manyInput = (e) => {
22742
22780
  } = d || {}, {
22743
22781
  lang: x,
22744
22782
  t: g
22745
- } = useContext(LocaleContext), I = useRef(), [C, y] = useState(!1), [O, b] = useState(!1), [E, w] = useState(), [S, T] = useState(!1), [D, N] = useState(!1), [k, B] = useState(), [L, $] = useState([]), [q, M] = useState(!1), U = useRef([]), [G, z] = useState(), W = useRef(), {
22783
+ } = useContext(LocaleContext), I = useRef(), [C, y] = useState(!1), [O, b] = useState(!1), [E, w] = useState(), [S, T] = useState(!1), [D, N] = useState(!1), [k, B] = useState(), [L, $] = useState([]), [j, M] = useState(!1), U = useRef([]), [G, z] = useState(), W = useRef(), {
22746
22784
  readOnly: K,
22747
22785
  relation: V,
22748
22786
  context: H,
22749
22787
  domain: P
22750
22788
  } = r, A = r.type === "many2many", {
22751
- id: j
22789
+ id: q
22752
22790
  } = r, Y = a.filter((se) => se.values && se.operation !== "pendingRemove");
22753
22791
  useEffect(() => {
22754
22792
  a.some((se) => !se.values) && F();
@@ -22795,10 +22833,10 @@ const One2manyInput = (e) => {
22795
22833
  fields: p(),
22796
22834
  context: m()
22797
22835
  }),
22798
- widgetFieldName: j
22836
+ widgetFieldName: q
22799
22837
  })), v && v.length > 0 && (U.current = U.current.concat(transformDomainForChildWidget({
22800
22838
  domain: v,
22801
- widgetFieldName: j
22839
+ widgetFieldName: q
22802
22840
  })));
22803
22841
  }
22804
22842
  const J = () => {
@@ -22938,7 +22976,7 @@ const One2manyInput = (e) => {
22938
22976
  }
22939
22977
  });
22940
22978
  }
22941
- X(ge), q || T(!1);
22979
+ X(ge), j || T(!1);
22942
22980
  }, me = (se) => {
22943
22981
  const {
22944
22982
  id: ue
@@ -23067,7 +23105,7 @@ const One2manyInput = (e) => {
23067
23105
  type: "error",
23068
23106
  banner: !0
23069
23107
  });
23070
- const Te = q;
23108
+ const Te = j;
23071
23109
  return O ? /* @__PURE__ */ jsx(Spin, {}) : /* @__PURE__ */ jsxs(Fragment, {
23072
23110
  children: [/* @__PURE__ */ jsx(One2manyTopBar, {
23073
23111
  mode: s,
@@ -26607,7 +26645,7 @@ function FormActionBar({
26607
26645
  useEffect(() => {
26608
26646
  !s && $.current && message$1.success(S("savedRegisters")), $.current = s || !1;
26609
26647
  }, [s]);
26610
- function q(P) {
26648
+ function j(P) {
26611
26649
  if (a) {
26612
26650
  showDialog({
26613
26651
  lang: T,
@@ -26652,7 +26690,7 @@ function FormActionBar({
26652
26690
  model: p,
26653
26691
  ids: [c]
26654
26692
  });
26655
- const P = l == null ? void 0 : l.filter((j) => j.id !== c);
26693
+ const P = l == null ? void 0 : l.filter((q) => q.id !== c);
26656
26694
  g == null || g(P);
26657
26695
  let A = 0;
26658
26696
  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));
@@ -26727,7 +26765,7 @@ function FormActionBar({
26727
26765
  disabled: s || c === void 0 || m || v || I,
26728
26766
  loading: !1,
26729
26767
  onClick: () => {
26730
- q(() => {
26768
+ j(() => {
26731
26769
  y.current.fetchValues();
26732
26770
  });
26733
26771
  }
@@ -27512,7 +27550,7 @@ const GraphActionView = (e) => {
27512
27550
  const {
27513
27551
  clear: L,
27514
27552
  searchFilterLoading: $,
27515
- searchError: q,
27553
+ searchError: j,
27516
27554
  offset: M,
27517
27555
  tableRefreshing: U
27518
27556
  } = useSearch({
@@ -27559,7 +27597,7 @@ const GraphActionView = (e) => {
27559
27597
  onSubmit: (G) => {
27560
27598
  B(!1), v == null || v(G.params), g == null || g(!1);
27561
27599
  },
27562
- searchError: q,
27600
+ searchError: j,
27563
27601
  searchVisible: x,
27564
27602
  searchValues: T,
27565
27603
  showLimitOptions: !1
@@ -27714,10 +27752,10 @@ function TreeActionBar(e) {
27714
27752
  try {
27715
27753
  a == null || a(!0), await ConnectionProvider.getHandler().delete({
27716
27754
  model: u,
27717
- ids: o.map((q) => q.id)
27755
+ ids: o.map((j) => j.id)
27718
27756
  }), f == null || f(void 0), p == null || p(void 0), ($ = d == null ? void 0 : d.current) == null || $.refreshResults();
27719
- } catch (q) {
27720
- showDialog$8(q);
27757
+ } catch (j) {
27758
+ showDialog$8(j);
27721
27759
  } finally {
27722
27760
  a == null || a(!1);
27723
27761
  }
@@ -27726,16 +27764,16 @@ function TreeActionBar(e) {
27726
27764
  var $;
27727
27765
  try {
27728
27766
  l == null || l(!0);
27729
- const q = o[0].id;
27767
+ const j = o[0].id;
27730
27768
  await ConnectionProvider.getHandler().duplicate({
27731
- id: q,
27769
+ id: j,
27732
27770
  model: u,
27733
27771
  context: {
27734
27772
  ...O
27735
27773
  }
27736
27774
  }) && (($ = d == null ? void 0 : d.current) == null || $.refreshResults());
27737
- } catch (q) {
27738
- showDialog$8(q);
27775
+ } catch (j) {
27776
+ showDialog$8(j);
27739
27777
  } finally {
27740
27778
  l == null || l(!1);
27741
27779
  }
@@ -27744,18 +27782,18 @@ function TreeActionBar(e) {
27744
27782
  D == null || D({
27745
27783
  actionData: $,
27746
27784
  values: {
27747
- active_id: o == null ? void 0 : o.map((q) => q.id)[0],
27748
- active_ids: o == null ? void 0 : o.map((q) => q.id)
27785
+ active_id: o == null ? void 0 : o.map((j) => j.id)[0],
27786
+ active_ids: o == null ? void 0 : o.map((j) => j.id)
27749
27787
  },
27750
27788
  fields: {},
27751
27789
  context: {
27752
27790
  ...O,
27753
- active_id: o == null ? void 0 : o.map((q) => q.id)[0],
27754
- active_ids: o == null ? void 0 : o.map((q) => q.id)
27791
+ active_id: o == null ? void 0 : o.map((j) => j.id)[0],
27792
+ active_ids: o == null ? void 0 : o.map((j) => j.id)
27755
27793
  },
27756
27794
  onRefreshParentValues: () => {
27757
- var q;
27758
- (q = d == null ? void 0 : d.current) == null || q.refreshResults();
27795
+ var j;
27796
+ (j = d == null ? void 0 : d.current) == null || j.refreshResults();
27759
27797
  }
27760
27798
  });
27761
27799
  }
@@ -27841,7 +27879,7 @@ function TreeActionBar(e) {
27841
27879
  ...$,
27842
27880
  datas: {
27843
27881
  ...$.datas || {},
27844
- ids: o.map((q) => q.id)
27882
+ ids: o.map((j) => j.id)
27845
27883
  }
27846
27884
  });
27847
27885
  }
@@ -28005,9 +28043,9 @@ function ActionView(e, t) {
28005
28043
  action_type: m,
28006
28044
  treeExpandable: v = !1,
28007
28045
  limit: x
28008
- } = e, [g, I] = useState(), [C, y] = useState([]), [O, b] = useState(!0), E = p || void 0, [w, S] = useState(E), [T, D] = useState([]), [N, k] = useState(), [B, L] = useState([]), [$, q] = useState(), [M, U] = useState(0), [G, z] = useState(!1), [W, K] = useState(!1), [V, H] = useState(), {
28046
+ } = e, [g, I] = useState(), [C, y] = useState([]), [O, b] = useState(!0), E = p || void 0, [w, S] = useState(E), [T, D] = useState([]), [N, k] = useState(), [B, L] = useState([]), [$, j] = useState(), [M, U] = useState(0), [G, z] = useState(!1), [W, K] = useState(!1), [V, H] = useState(), {
28009
28047
  t: P
28010
- } = useContext(LocaleContext), A = useRef(), j = useRef(), Y = useContext(TabManagerContext), {
28048
+ } = useContext(LocaleContext), A = useRef(), q = useRef(), Y = useContext(TabManagerContext), {
28011
28049
  setCurrentView: X,
28012
28050
  setCurrentId: F,
28013
28051
  tabs: _,
@@ -28175,7 +28213,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
28175
28213
  domain: n,
28176
28214
  formView: C.find((pe) => pe.type === "form"),
28177
28215
  treeView: te,
28178
- searchTreeRef: j,
28216
+ searchTreeRef: q,
28179
28217
  searchTreeNameSearch: V,
28180
28218
  availableViews: C,
28181
28219
  results: B,
@@ -28215,7 +28253,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
28215
28253
  setCurrentView: Q,
28216
28254
  availableViews: C,
28217
28255
  formRef: A,
28218
- searchTreeRef: j,
28256
+ searchTreeRef: q,
28219
28257
  onNewClicked: Oe,
28220
28258
  currentId: w,
28221
28259
  setCurrentId: ee,
@@ -28225,7 +28263,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
28225
28263
  setResults: L,
28226
28264
  currentModel: r,
28227
28265
  sorter: $,
28228
- setSorter: q,
28266
+ setSorter: j,
28229
28267
  totalItems: M,
28230
28268
  setTotalItems: U,
28231
28269
  selectedRowItems: T,
@@ -28433,7 +28471,7 @@ function DashboardTree(e) {
28433
28471
  domain: a = [],
28434
28472
  visible: s = !0,
28435
28473
  parentContext: c = {}
28436
- } = 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, S] = useState(0), [T, D] = useState([]), [N, k] = useState(void 0), [B, L] = useState(), [$, q] = useState(), [M, U] = useState(), [G, z] = useState(!1), W = useRef([]), K = (F) => {
28474
+ } = 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, S] = useState(0), [T, D] = useState([]), [N, k] = useState(void 0), [B, L] = useState(), [$, j] = useState(), [M, U] = useState(), [G, z] = useState(!1), W = useRef([]), K = (F) => {
28437
28475
  z(!0), C(F), O((F - 1) * b.current);
28438
28476
  }, V = async () => {
28439
28477
  const F = W.current.length > 0 ? W.current : a, _ = mergeParams(E.current, F), {
@@ -28467,7 +28505,7 @@ function DashboardTree(e) {
28467
28505
  try {
28468
28506
  z(!0), await V();
28469
28507
  } catch (F) {
28470
- q(JSON.stringify(F));
28508
+ j(JSON.stringify(F));
28471
28509
  } finally {
28472
28510
  z(!1);
28473
28511
  }
@@ -28478,7 +28516,7 @@ function DashboardTree(e) {
28478
28516
  const P = async (F) => {
28479
28517
  f(!1), u(!0), U(void 0);
28480
28518
  try {
28481
- F === "action" ? await A() : await j(), f(!0);
28519
+ F === "action" ? await A() : await q(), f(!0);
28482
28520
  } catch (_) {
28483
28521
  U(_);
28484
28522
  } finally {
@@ -28490,7 +28528,7 @@ function DashboardTree(e) {
28490
28528
  context: c
28491
28529
  });
28492
28530
  W.current = F.domain, g(F.views.get("form")), v(F.views.get("tree")), h(F.model), b.current = F.limit;
28493
- }, j = async () => {
28531
+ }, q = async () => {
28494
28532
  h(n);
28495
28533
  const F = await ConnectionProvider.getHandler().getView({
28496
28534
  model: n,
@@ -28743,7 +28781,7 @@ function Dashboard(e, t) {
28743
28781
  actionId: B,
28744
28782
  actionType: L,
28745
28783
  key: $,
28746
- title: q,
28784
+ title: j,
28747
28785
  views: M,
28748
28786
  model: U,
28749
28787
  context: G,
@@ -28765,7 +28803,7 @@ function Dashboard(e, t) {
28765
28803
  let H = null;
28766
28804
  if ((W == null ? void 0 : W.type) === "graph")
28767
28805
  H = /* @__PURE__ */ jsx(Graph, {
28768
- view_id: M.filter((j) => j[1] === "graph")[0][0],
28806
+ view_id: M.filter((q) => q[1] === "graph")[0][0],
28769
28807
  model: U,
28770
28808
  context: G,
28771
28809
  domain: z,
@@ -28780,8 +28818,8 @@ function Dashboard(e, t) {
28780
28818
  H = /* @__PURE__ */ jsx(DashboardTree, {
28781
28819
  model: U,
28782
28820
  domain: z,
28783
- view_id: M.filter((j) => j[1] === "tree")[0][0],
28784
- onRowClicked: (j) => {
28821
+ view_id: M.filter((q) => q[1] === "tree")[0][0],
28822
+ onRowClicked: (q) => {
28785
28823
  const Y = M.find((X) => {
28786
28824
  const [, F] = X;
28787
28825
  return F === "form";
@@ -28796,7 +28834,7 @@ function Dashboard(e, t) {
28796
28834
  action_id: _,
28797
28835
  action_type: Z,
28798
28836
  name: J,
28799
- res_id: j.id,
28837
+ res_id: q.id,
28800
28838
  res_model: ee,
28801
28839
  view_id: X,
28802
28840
  view_type: F
@@ -28806,7 +28844,7 @@ function Dashboard(e, t) {
28806
28844
  }
28807
28845
  });
28808
28846
  else if (W !== void 0) {
28809
- const j = W && Array.isArray(W.id) ? {
28847
+ const q = W && Array.isArray(W.id) ? {
28810
28848
  ...W,
28811
28849
  id: W.id[0]
28812
28850
  } : W;
@@ -28814,24 +28852,24 @@ function Dashboard(e, t) {
28814
28852
  action_id: B,
28815
28853
  action_type: L,
28816
28854
  tabKey: $,
28817
- title: q,
28855
+ title: j,
28818
28856
  views: M,
28819
28857
  model: U,
28820
28858
  context: G,
28821
28859
  domain: z,
28822
28860
  setCanWeClose: () => {
28823
28861
  },
28824
- initialView: j,
28862
+ initialView: q,
28825
28863
  limit: K
28826
28864
  });
28827
28865
  }
28828
28866
  let P;
28829
- const A = M.find((j) => {
28830
- const [, Y] = j;
28867
+ const A = M.find((q) => {
28868
+ const [, Y] = q;
28831
28869
  return Y === "tree";
28832
28870
  });
28833
28871
  if (A) {
28834
- const [j, Y] = A, {
28872
+ const [q, Y] = A, {
28835
28873
  actionId: X,
28836
28874
  actionType: F,
28837
28875
  title: _,
@@ -28843,13 +28881,13 @@ function Dashboard(e, t) {
28843
28881
  name: _,
28844
28882
  res_id: !1,
28845
28883
  res_model: Z,
28846
- view_id: j,
28884
+ view_id: q,
28847
28885
  view_type: Y
28848
28886
  };
28849
28887
  }
28850
28888
  return /* @__PURE__ */ jsx(DashboardGridItem, {
28851
28889
  id: k,
28852
- title: q,
28890
+ title: j,
28853
28891
  parms: V,
28854
28892
  action: P,
28855
28893
  openAction: h,
@@ -29184,13 +29222,13 @@ function RootView(e, t) {
29184
29222
  }
29185
29223
  }) : [], {
29186
29224
  res_model: $,
29187
- views: q,
29225
+ views: j,
29188
29226
  name: M,
29189
29227
  target: U,
29190
29228
  view_type: G,
29191
29229
  limit: z
29192
29230
  } = T, W = G === "tree", K = [];
29193
- for (const H of q) {
29231
+ for (const H of j) {
29194
29232
  const [P, A] = H;
29195
29233
  if (P)
29196
29234
  K.push(H);
@@ -29198,7 +29236,7 @@ function RootView(e, t) {
29198
29236
  K.push([void 0, "dashboard"]);
29199
29237
  else {
29200
29238
  const {
29201
- view_id: j
29239
+ view_id: q
29202
29240
  } = await ConnectionProvider.getHandler().getView({
29203
29241
  model: $,
29204
29242
  type: A,
@@ -29208,12 +29246,12 @@ function RootView(e, t) {
29208
29246
  ...B
29209
29247
  }
29210
29248
  });
29211
- K.push([j, A]);
29249
+ K.push([q, A]);
29212
29250
  }
29213
29251
  }
29214
29252
  let V;
29215
29253
  if (E) {
29216
- const [H, P] = K.find(([A, j]) => j === E);
29254
+ const [H, P] = K.find(([A, q]) => q === E);
29217
29255
  V = {
29218
29256
  id: H,
29219
29257
  type: P
@@ -29275,9 +29313,9 @@ function RootView(e, t) {
29275
29313
  target: k,
29276
29314
  string: B,
29277
29315
  limit: L
29278
- } = y, [$, q] = N[0], M = {
29316
+ } = y, [$, j] = N[0], M = {
29279
29317
  id: $,
29280
- type: q
29318
+ type: j
29281
29319
  }, U = parseContext({
29282
29320
  context: T,
29283
29321
  values: {
@@ -29341,9 +29379,9 @@ function RootView(e, t) {
29341
29379
  views: B,
29342
29380
  name: L,
29343
29381
  target: $,
29344
- view_type: q,
29382
+ view_type: j,
29345
29383
  limit: M
29346
- } = T, U = q === "tree", G = [];
29384
+ } = T, U = j === "tree", G = [];
29347
29385
  for (const V of B) {
29348
29386
  const [H, P] = V;
29349
29387
  if (H)
@@ -29425,7 +29463,7 @@ function RootView(e, t) {
29425
29463
  values: B,
29426
29464
  forced_values: L,
29427
29465
  treeExpandable: $ = !1,
29428
- limit: q
29466
+ limit: j
29429
29467
  }) {
29430
29468
  const M = v4();
29431
29469
  if (S !== "current") {
@@ -29482,7 +29520,7 @@ function RootView(e, t) {
29482
29520
  formDefaultValues: B,
29483
29521
  formForcedValues: L,
29484
29522
  treeExpandable: $,
29485
- limit: q
29523
+ limit: j
29486
29524
  }),
29487
29525
  key: M
29488
29526
  });
@@ -29650,8 +29688,8 @@ const FavouriteButton = (e) => {
29650
29688
  function w(L) {
29651
29689
  const {
29652
29690
  key: $
29653
- } = L, q = u.find((M) => M.id === Number($));
29654
- (q == null ? void 0 : q.action_type) !== "ir.actions.wizard" && (q && g(q), l(!1));
29691
+ } = L, j = u.find((M) => M.id === Number($));
29692
+ (j == null ? void 0 : j.action_type) !== "ir.actions.wizard" && (j && g(j), l(!1));
29655
29693
  }
29656
29694
  function S(L) {
29657
29695
  L && E(), l(L);
@@ -29661,9 +29699,9 @@ const FavouriteButton = (e) => {
29661
29699
  return;
29662
29700
  const L = I.find((z) => z.key === C), {
29663
29701
  id: $,
29664
- type: q
29702
+ type: j
29665
29703
  } = (L == null ? void 0 : L.action) || {};
29666
- if (!$ || !q) {
29704
+ if (!$ || !j) {
29667
29705
  s(!1);
29668
29706
  return;
29669
29707
  }
@@ -29672,7 +29710,7 @@ const FavouriteButton = (e) => {
29672
29710
  y.type === "form" && (U = O || !1);
29673
29711
  const G = await n({
29674
29712
  action_id: $,
29675
- action_type: q,
29713
+ action_type: j,
29676
29714
  view_id: M,
29677
29715
  res_id: U
29678
29716
  });
@@ -29759,16 +29797,16 @@ const FavouriteButton = (e) => {
29759
29797
  return;
29760
29798
  const L = I.find((G) => G.key === C), {
29761
29799
  id: $,
29762
- type: q
29800
+ type: j
29763
29801
  } = (L == null ? void 0 : L.action) || {}, M = y.view_id;
29764
29802
  let U = !1;
29765
- if (!$ || !q) {
29803
+ if (!$ || !j) {
29766
29804
  s(!1);
29767
29805
  return;
29768
29806
  }
29769
29807
  y.type === "form" && (U = O || !1), await r({
29770
29808
  action_id: $,
29771
- action_type: q,
29809
+ action_type: j,
29772
29810
  view_id: M,
29773
29811
  res_id: U
29774
29812
  });