@gisce/react-ooui 1.2.0-rc.23 → 1.2.0-rc.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actionbar/FormActionBar.d.ts.map +1 -1
- package/dist/locales/ca_ES.d.ts +1 -0
- package/dist/locales/ca_ES.d.ts.map +1 -1
- package/dist/locales/en_US.d.ts +1 -0
- package/dist/locales/en_US.d.ts.map +1 -1
- package/dist/locales/es_ES.d.ts +1 -0
- package/dist/locales/es_ES.d.ts.map +1 -1
- package/dist/react-ooui.es.js +46 -44
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +3 -3
- package/dist/react-ooui.umd.js.map +1 -1
- package/dist/widgets/views/Tree.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/actionbar/FormActionBar.tsx +11 -3
- package/src/locales/ca_ES.tsx +1 -0
- package/src/locales/en_US.tsx +1 -0
- package/src/locales/es_ES.tsx +1 -0
- package/src/widgets/views/Tree.tsx +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormActionBar.d.ts","sourceRoot":"","sources":["FormActionBar.tsx"],"names":[],"mappings":";AA0CA,iBAAS,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"FormActionBar.d.ts","sourceRoot":"","sources":["FormActionBar.tsx"],"names":[],"mappings":";AA0CA,iBAAS,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,sBA8XnD;AAMD,eAAe,aAAa,CAAC"}
|
package/dist/locales/ca_ES.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ca_ES.d.ts","sourceRoot":"","sources":["ca_ES.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ca_ES.d.ts","sourceRoot":"","sources":["ca_ES.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA2FE"}
|
package/dist/locales/en_US.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en_US.d.ts","sourceRoot":"","sources":["en_US.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"en_US.d.ts","sourceRoot":"","sources":["en_US.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAwFE"}
|
package/dist/locales/es_ES.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es_ES.d.ts","sourceRoot":"","sources":["es_ES.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"es_ES.d.ts","sourceRoot":"","sources":["es_ES.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA4FE"}
|
package/dist/react-ooui.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$n from "react";
|
|
2
2
|
import React__default, { useContext, useState as useState$1, useEffect, createElement, useMemo as useMemo$2, useRef, useLayoutEffect as useLayoutEffect$3, Component, cloneElement as cloneElement$1, forwardRef, useImperativeHandle, useCallback, createContext } from "react";
|
|
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$2, Select, Checkbox, Alert, Timeline as Timeline$1, Statistic, Card, Tag, DatePicker as DatePicker$1, TimePicker, InputNumber, Progress, Pagination, Radio as Radio$1, Tree as Tree$2, Tabs, Popover, Switch as Switch$1, Steps as Steps$1, Layout } from "antd";
|
|
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$2, Select, Checkbox, Alert, Timeline as Timeline$1, Statistic, Card, Tag, DatePicker as DatePicker$1, TimePicker, InputNumber, Progress, Pagination, Radio as Radio$1, Tree as Tree$2, Tabs, Popover, message as message$1, Switch as Switch$1, Steps as Steps$1, Layout } from "antd";
|
|
4
4
|
import { Label as Label$1, Field as Field$2, Container as Container$1, Tree as Tree$1, Selection as Selection$1, Many2one as Many2one$1, Boolean as Boolean$2, parseContext, Form as Form$4, Integer as Integer$1, SearchFilter as SearchFilter$1, transformDomainForChildWidget, graphProcessor, parseGraph, graphFieldUtils } from "@gisce/ooui";
|
|
5
5
|
import Icon, { QuestionCircleOutlined, ExclamationCircleOutlined as ExclamationCircleOutlined$4, 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$4, CheckCircleOutlined as CheckCircleOutlined$4, CheckCircleTwoTone, CheckOutlined as CheckOutlined$4, CheckSquareFilled, CheckSquareOutlined, CheckSquareTwoTone, ChromeFilled, ChromeOutlined, CiCircleFilled, CiCircleOutlined, CiCircleTwoTone, CiOutlined, CiTwoTone, ClearOutlined, ClockCircleFilled, ClockCircleOutlined, ClockCircleTwoTone, CloseCircleFilled as CloseCircleFilled$4, CloseCircleOutlined as CloseCircleOutlined$4, CloseCircleTwoTone, CloseOutlined as CloseOutlined$4, 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$4, 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$4, EditTwoTone, EllipsisOutlined, EnterOutlined as EnterOutlined$4, EnvironmentFilled, EnvironmentOutlined, EnvironmentTwoTone, EuroCircleFilled, EuroCircleOutlined, EuroCircleTwoTone, EuroOutlined, EuroTwoTone, ExceptionOutlined, ExclamationCircleFilled as ExclamationCircleFilled$4, 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$4, InfoCircleOutlined as InfoCircleOutlined$4, 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$4, 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";
|
|
@@ -138,7 +138,8 @@ const {
|
|
|
138
138
|
export: "Exportar",
|
|
139
139
|
selectAtLeastOneField: "Selecciona almenys un camp per a l'exportaci\xF3",
|
|
140
140
|
printScreen: "Imprimir pantalla",
|
|
141
|
-
advancedExport: "Exportaci\xF3 avan\xE7ada"
|
|
141
|
+
advancedExport: "Exportaci\xF3 avan\xE7ada",
|
|
142
|
+
savedRegisters: "Registre guardat correctament"
|
|
142
143
|
}, en_US$5 = {
|
|
143
144
|
true: "Yes",
|
|
144
145
|
false: "No",
|
|
@@ -222,7 +223,8 @@ const {
|
|
|
222
223
|
export: "Export",
|
|
223
224
|
selectAtLeastOneField: "Select at least one field for the export",
|
|
224
225
|
printScreen: "Print screen",
|
|
225
|
-
advancedExport: "Advanced export"
|
|
226
|
+
advancedExport: "Advanced export",
|
|
227
|
+
savedRegisters: "Record successfully saved"
|
|
226
228
|
}, es_ES = {
|
|
227
229
|
true: "S\xED",
|
|
228
230
|
false: "No",
|
|
@@ -306,7 +308,8 @@ const {
|
|
|
306
308
|
export: "Exportar",
|
|
307
309
|
selectAtLeastOneField: "Selecciona al menos un campo para la exportaci\xF3n",
|
|
308
310
|
printScreen: "Imprimir pantalla",
|
|
309
|
-
advancedExport: "Exportaci\xF3n avanzada"
|
|
311
|
+
advancedExport: "Exportaci\xF3n avanzada",
|
|
312
|
+
savedRegisters: "Registro guardado correctamente"
|
|
310
313
|
}, localeStrings = {
|
|
311
314
|
ca_ES,
|
|
312
315
|
en_US: en_US$5,
|
|
@@ -19854,11 +19857,8 @@ const ProgressBar = (e) => /* @__PURE__ */ jsx(Field$1, {
|
|
|
19854
19857
|
id: e.id,
|
|
19855
19858
|
model: e.model
|
|
19856
19859
|
})]
|
|
19857
|
-
}) : /* @__PURE__ */ jsx(Fragment, {}), textComponentFn = (e) => /* @__PURE__ */ jsx(
|
|
19858
|
-
|
|
19859
|
-
whiteSpace: "pre-line"
|
|
19860
|
-
},
|
|
19861
|
-
children: e
|
|
19860
|
+
}) : /* @__PURE__ */ jsx(Fragment, {}), textComponentFn = (e) => /* @__PURE__ */ jsx(Interweave, {
|
|
19861
|
+
content: e == null ? void 0 : e.replace(/(?:\r\n|\r|\n)/g, "<br>")
|
|
19862
19862
|
}), one2ManyComponentFn = (e) => {
|
|
19863
19863
|
const r = Array.isArray(e == null ? void 0 : e.items) ? e == null ? void 0 : e.items.length : 0;
|
|
19864
19864
|
return /* @__PURE__ */ jsx(Fragment, {
|
|
@@ -29704,23 +29704,25 @@ function FormActionBar({
|
|
|
29704
29704
|
attachments: x,
|
|
29705
29705
|
formRef: O,
|
|
29706
29706
|
setFormHasChanges: S,
|
|
29707
|
-
|
|
29708
|
-
|
|
29709
|
-
|
|
29710
|
-
goToResourceId: P
|
|
29707
|
+
previousView: T,
|
|
29708
|
+
setPreviousView: G,
|
|
29709
|
+
goToResourceId: E
|
|
29711
29710
|
} = useContext(ActionViewContext), {
|
|
29712
|
-
t:
|
|
29713
|
-
lang:
|
|
29714
|
-
} = useContext(LocaleContext),
|
|
29715
|
-
processAction:
|
|
29716
|
-
} =
|
|
29717
|
-
openRelate:
|
|
29718
|
-
openDefaultActionForModel:
|
|
29719
|
-
} =
|
|
29711
|
+
t: P,
|
|
29712
|
+
lang: B
|
|
29713
|
+
} = useContext(LocaleContext), N = useContext(ContentRootContext), {
|
|
29714
|
+
processAction: L
|
|
29715
|
+
} = N || {}, W = useContext(TabManagerContext), {
|
|
29716
|
+
openRelate: K,
|
|
29717
|
+
openDefaultActionForModel: H
|
|
29718
|
+
} = W || {}, z = useRef(!1);
|
|
29719
|
+
useEffect(() => {
|
|
29720
|
+
!c && z.current && message$1.success(P("savedRegisters")), z.current = c || !1;
|
|
29721
|
+
}, [c]);
|
|
29720
29722
|
function U(Q) {
|
|
29721
29723
|
if (l) {
|
|
29722
29724
|
showDialog({
|
|
29723
|
-
lang:
|
|
29725
|
+
lang: B,
|
|
29724
29726
|
onOk: () => {
|
|
29725
29727
|
Q();
|
|
29726
29728
|
}
|
|
@@ -29732,7 +29734,7 @@ function FormActionBar({
|
|
|
29732
29734
|
function re(Q) {
|
|
29733
29735
|
if (l) {
|
|
29734
29736
|
showDialog$6({
|
|
29735
|
-
lang:
|
|
29737
|
+
lang: B,
|
|
29736
29738
|
onOk: () => {
|
|
29737
29739
|
Q();
|
|
29738
29740
|
}
|
|
@@ -29749,8 +29751,8 @@ function FormActionBar({
|
|
|
29749
29751
|
}
|
|
29750
29752
|
function J() {
|
|
29751
29753
|
showDialog$9({
|
|
29752
|
-
confirmMessage:
|
|
29753
|
-
lang:
|
|
29754
|
+
confirmMessage: P("confirmRemoveItem"),
|
|
29755
|
+
lang: B,
|
|
29754
29756
|
onOk: () => {
|
|
29755
29757
|
oe();
|
|
29756
29758
|
}
|
|
@@ -29780,7 +29782,7 @@ function FormActionBar({
|
|
|
29780
29782
|
model: m,
|
|
29781
29783
|
context: O.current.getContext()
|
|
29782
29784
|
});
|
|
29783
|
-
Q && await (
|
|
29785
|
+
Q && await (E == null ? void 0 : E(Q));
|
|
29784
29786
|
} catch (Q) {
|
|
29785
29787
|
showDialog$3(JSON.stringify(Q));
|
|
29786
29788
|
} finally {
|
|
@@ -29789,7 +29791,7 @@ function FormActionBar({
|
|
|
29789
29791
|
}
|
|
29790
29792
|
const ce = c || v || y || C;
|
|
29791
29793
|
function me(Q) {
|
|
29792
|
-
|
|
29794
|
+
L == null || L({
|
|
29793
29795
|
actionData: Q,
|
|
29794
29796
|
values: O.current.getValues(),
|
|
29795
29797
|
fields: O.current.getFields(),
|
|
@@ -29807,33 +29809,33 @@ function FormActionBar({
|
|
|
29807
29809
|
disabled: c || y || v || C
|
|
29808
29810
|
}), /* @__PURE__ */ jsx(ActionButton, {
|
|
29809
29811
|
icon: /* @__PURE__ */ jsx(SaveOutlined, {}),
|
|
29810
|
-
tooltip:
|
|
29812
|
+
tooltip: P("save"),
|
|
29811
29813
|
disabled: !l || ce,
|
|
29812
29814
|
loading: c,
|
|
29813
29815
|
onClick: s
|
|
29814
29816
|
}), /* @__PURE__ */ jsx(ActionButton, {
|
|
29815
29817
|
icon: /* @__PURE__ */ jsx(CopyOutlined$4, {}),
|
|
29816
|
-
tooltip:
|
|
29818
|
+
tooltip: P("duplicate"),
|
|
29817
29819
|
disabled: l || c || u === void 0 || C || y,
|
|
29818
29820
|
loading: C,
|
|
29819
29821
|
onClick: ie
|
|
29820
29822
|
}), /* @__PURE__ */ jsx(ActionButton, {
|
|
29821
29823
|
icon: /* @__PURE__ */ jsx(DeleteOutlined, {}),
|
|
29822
|
-
tooltip:
|
|
29824
|
+
tooltip: P("delete"),
|
|
29823
29825
|
disabled: c || u === void 0 || v || C || y,
|
|
29824
29826
|
loading: v,
|
|
29825
29827
|
onClick: J
|
|
29826
29828
|
}), separator$2(), /* @__PURE__ */ jsx(ActionButton, {
|
|
29827
29829
|
icon: /* @__PURE__ */ jsx(InfoCircleOutlined$4, {}),
|
|
29828
|
-
tooltip:
|
|
29830
|
+
tooltip: P("showLogs"),
|
|
29829
29831
|
disabled: c || u === void 0 || v || C || y,
|
|
29830
29832
|
loading: !1,
|
|
29831
29833
|
onClick: () => {
|
|
29832
|
-
showLogInfo(m, u,
|
|
29834
|
+
showLogInfo(m, u, P);
|
|
29833
29835
|
}
|
|
29834
29836
|
}), /* @__PURE__ */ jsx(ActionButton, {
|
|
29835
29837
|
icon: /* @__PURE__ */ jsx(ReloadOutlined, {}),
|
|
29836
|
-
tooltip:
|
|
29838
|
+
tooltip: P("refresh"),
|
|
29837
29839
|
disabled: c || u === void 0 || v || C || y,
|
|
29838
29840
|
loading: !1,
|
|
29839
29841
|
onClick: () => {
|
|
@@ -29843,17 +29845,17 @@ function FormActionBar({
|
|
|
29843
29845
|
}
|
|
29844
29846
|
}), separator$2(), /* @__PURE__ */ jsx(ChangeViewButton, {
|
|
29845
29847
|
currentView: o,
|
|
29846
|
-
previousView:
|
|
29848
|
+
previousView: T,
|
|
29847
29849
|
availableViews: r,
|
|
29848
29850
|
onChangeView: (Q) => {
|
|
29849
|
-
|
|
29851
|
+
G == null || G(o), S == null || S(!1), a == null || a(Q);
|
|
29850
29852
|
},
|
|
29851
29853
|
disabled: ce,
|
|
29852
29854
|
formHasChanges: l
|
|
29853
29855
|
}), separator$2(), /* @__PURE__ */ jsxs(Space, {
|
|
29854
29856
|
children: [/* @__PURE__ */ jsx(ActionButton, {
|
|
29855
29857
|
icon: /* @__PURE__ */ jsx(LeftOutlined, {}),
|
|
29856
|
-
tooltip:
|
|
29858
|
+
tooltip: P("previous"),
|
|
29857
29859
|
disabled: ce,
|
|
29858
29860
|
loading: !1,
|
|
29859
29861
|
onClick: () => {
|
|
@@ -29861,7 +29863,7 @@ function FormActionBar({
|
|
|
29861
29863
|
}
|
|
29862
29864
|
}), /* @__PURE__ */ jsx(ActionButton, {
|
|
29863
29865
|
icon: /* @__PURE__ */ jsx(RightOutlined, {}),
|
|
29864
|
-
tooltip:
|
|
29866
|
+
tooltip: P("next"),
|
|
29865
29867
|
disabled: ce,
|
|
29866
29868
|
loading: !1,
|
|
29867
29869
|
onClick: () => {
|
|
@@ -29871,7 +29873,7 @@ function FormActionBar({
|
|
|
29871
29873
|
}), separator$2(), /* @__PURE__ */ jsx(DropdownButton, {
|
|
29872
29874
|
icon: /* @__PURE__ */ jsx(ThunderboltOutlined, {}),
|
|
29873
29875
|
disabled: ce,
|
|
29874
|
-
tooltip:
|
|
29876
|
+
tooltip: P("actions"),
|
|
29875
29877
|
items: e == null ? void 0 : e.action,
|
|
29876
29878
|
onItemClick: (Q) => {
|
|
29877
29879
|
!Q || me(Q);
|
|
@@ -29879,7 +29881,7 @@ function FormActionBar({
|
|
|
29879
29881
|
}), /* @__PURE__ */ jsx(DropdownButton, {
|
|
29880
29882
|
icon: /* @__PURE__ */ jsx(PrinterOutlined, {}),
|
|
29881
29883
|
disabled: ce,
|
|
29882
|
-
tooltip:
|
|
29884
|
+
tooltip: P("reports"),
|
|
29883
29885
|
items: e == null ? void 0 : e.print,
|
|
29884
29886
|
onItemClick: (Q) => {
|
|
29885
29887
|
!Q || me({
|
|
@@ -29893,10 +29895,10 @@ function FormActionBar({
|
|
|
29893
29895
|
}), /* @__PURE__ */ jsx(DropdownButton, {
|
|
29894
29896
|
icon: /* @__PURE__ */ jsx(EnterOutlined$4, {}),
|
|
29895
29897
|
disabled: ce,
|
|
29896
|
-
tooltip:
|
|
29898
|
+
tooltip: P("related"),
|
|
29897
29899
|
items: e == null ? void 0 : e.relate,
|
|
29898
29900
|
onItemClick: async (Q) => {
|
|
29899
|
-
!Q ||
|
|
29901
|
+
!Q || K({
|
|
29900
29902
|
relateData: Q,
|
|
29901
29903
|
values: O.current.getValues(),
|
|
29902
29904
|
fields: O.current.getFields(),
|
|
@@ -29909,7 +29911,7 @@ function FormActionBar({
|
|
|
29909
29911
|
attachments: x,
|
|
29910
29912
|
onAddNewAttachment: () => {
|
|
29911
29913
|
const Q = u, te = m;
|
|
29912
|
-
|
|
29914
|
+
H({
|
|
29913
29915
|
model: "ir.attachment",
|
|
29914
29916
|
values: {
|
|
29915
29917
|
selection_associated_object: `${te},${Q}`
|
|
@@ -29923,14 +29925,14 @@ function FormActionBar({
|
|
|
29923
29925
|
},
|
|
29924
29926
|
onListAllAttachments: () => {
|
|
29925
29927
|
const Q = u;
|
|
29926
|
-
|
|
29928
|
+
H({
|
|
29927
29929
|
model: "ir.attachment",
|
|
29928
29930
|
domain: [["res_model", "=", `${m}`], ["res_id", "=", `${Q}`]],
|
|
29929
29931
|
initialViewType: "tree"
|
|
29930
29932
|
});
|
|
29931
29933
|
},
|
|
29932
29934
|
onViewAttachmentDetails: (Q) => {
|
|
29933
|
-
|
|
29935
|
+
H({
|
|
29934
29936
|
model: "ir.attachment",
|
|
29935
29937
|
res_id: Q.id,
|
|
29936
29938
|
initialViewType: "form"
|