@unicom-cloud/ui 0.8.112 → 0.8.114
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/Affix.js +2 -2
- package/Alert.js +2 -2
- package/AutoComplete.js +1 -1
- package/BackTop.js +3 -3
- package/Badge.js +2 -2
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +1 -1
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/ColorPicker.js +1 -1
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Copy.js +3 -47
- package/Countdown.js +17 -51
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Details.js +15 -51
- package/Development.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +2 -2
- package/Empty.js +1 -1
- package/Flex.js +16 -52
- package/Form.js +1 -1
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/InputNumber.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/LiquidFill.js +17 -52
- package/List.js +1 -1
- package/Loading.js +15 -51
- package/Marquee.js +24 -46
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +2 -2
- package/Modal.js +1 -1
- package/Notice.js +14 -50
- package/Notification.js +2 -2
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/QrCode.js +16 -53
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +2 -2
- package/Result.js +1 -1
- package/RichText.js +12 -13
- package/Segmented.js +16 -51
- package/Skeleton.js +1 -1
- package/Slider.js +2 -2
- package/Space.js +16 -52
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +2 -2
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +1 -1
- package/Tour.js +18 -54
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +3 -3
- package/affix/index.js +2 -2
- package/alert/index.js +2 -2
- package/anchor/Anchor.js +3 -3
- package/anchor/Link.js +1 -1
- package/app/App.js +2 -2
- package/auto-complete/index.js +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +3 -3
- package/badge/Count.js +1 -1
- package/badge/index.js +2 -2
- package/breadcrumb/index.js +2 -2
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +2 -2
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +1 -1
- package/cascader/Cascader.js +3 -3
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +2 -2
- package/checkbox/Group.js +2 -2
- package/checkbox/GroupBlock.js +2 -2
- package/checkbox/index.js +2 -2
- package/chunk/{BiZSULcr.js → BGb_jT2S.js} +640 -672
- package/chunk/{C6A94b7f.js → BcWPf1id.js} +1 -1
- package/chunk/BcdTSJks.js +48 -0
- package/chunk/{CrOzsnI0.js → Bl3hZtxi.js} +1 -1
- package/chunk/{RjJoagzL.js → CEAeR6xB.js} +1 -1
- package/chunk/{Cx92e1S8.js → CKojyqln.js} +5 -5
- package/chunk/{C3kH2ES3.js → CRgtPpMG.js} +1 -1
- package/chunk/CVMFAeSw.js +39 -0
- package/chunk/{0BhDjhcd.js → CVjWKHBo.js} +1 -1
- package/chunk/{DfbO4QTS.js → CYPFoLks.js} +4 -4
- package/chunk/{BfVlSL8A.js → Ch4iApRQ.js} +4 -4
- package/chunk/ClNkxEcR.js +154 -0
- package/chunk/{CYssV-zz.js → Cs9GrNJa.js} +66 -100
- package/chunk/{DfUcAhyT.js → CwLSam2p.js} +2 -2
- package/chunk/CxbF1opI.js +231 -0
- package/chunk/Cy26_CKq.js +33 -0
- package/chunk/{CRdegvoa.js → D3F0iWPu.js} +1 -1
- package/chunk/{CylbdYce.js → D6I1_o6O.js} +1 -1
- package/chunk/{CtCFA4ht.js → DPDyV8yt.js} +4 -4
- package/chunk/{B--6x-RL.js → DQ8_XXrH.js} +1 -1
- package/chunk/{hc_ufgVf.js → DmHIX8hU.js} +166 -121
- package/chunk/{C1vY8016.js → DstheLSK.js} +79 -110
- package/chunk/{KPBMJlOB.js → HFPyZ48d.js} +37 -35
- package/chunk/{DhAvt6tJ.js → efH9HX0H.js} +3 -3
- package/chunk/exc7v_Hl.js +53 -0
- package/chunk/gJsdBcpG.js +10 -0
- package/collapse/Collapse.js +2 -2
- package/collapse/Item.js +2 -2
- package/color-picker/ControlBar.js +1 -1
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +2 -2
- package/color-picker/index.js +1 -1
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +1 -1
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +22 -66
- package/countdown/index.js +42 -76
- package/date-picker/Picker.js +1 -1
- package/date-picker/RangePicker.js +2 -2
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +1 -1
- package/details/index.js +47 -83
- package/development/index.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +89 -93
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +2 -2
- package/empty/index.js +1 -1
- package/flex/index.js +38 -72
- package/form/Control.js +115 -103
- package/form/Form.js +2 -2
- package/form/FormItem.js +2 -2
- package/form/index.js +1 -1
- package/form/promisify.js +10 -19
- package/form/store.js +3 -3
- package/form/util.js +62 -52
- package/grid/Grid.js +1 -1
- package/grid/Item.js +1 -1
- package/hooks/index.js +9 -9
- package/hooks/useId.js +1 -1
- package/hooks/useInView.js +1 -1
- package/hooks/useIntersectionObserver.js +1 -1
- package/hooks/useOverrideRef.js +1 -1
- package/hooks/useResizeObserver.js +7 -50
- package/hooks/useStateWithPromise.js +1 -1
- package/hooks/useWatermark.js +1 -1
- package/hooks/useWindowSize.js +1 -1
- package/icon/addFromIconFontCn.js +1 -1
- package/icon/index.js +2 -2
- package/icon-hover/index.js +1 -1
- package/icons/file.js +1 -1
- package/image/Image.js +3 -3
- package/image/ImagePreview.js +18 -53
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +703 -690
- package/input/Button.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +2 -2
- package/input/InputElement.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +1 -1
- package/input/autoSizeTextAreaHeight.js +29 -20
- package/input-number/index.js +1 -1
- package/input-tag/InputTag.js +2 -2
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/liquid-fill/index.js +57 -92
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/loading/index.js +27 -63
- package/locale/en-US.js +5 -3
- package/locale/tr-TR.js +5 -3
- package/marquee/index.js +71 -93
- package/marquee-/index.js +74 -96
- package/mentions/index.js +1 -1
- package/menu/Menu.js +3 -3
- package/menu/OverflowWrap.js +1 -1
- package/menu/index.js +2 -2
- package/message/index.js +2 -2
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +5 -5
- package/modal/index.js +2 -2
- package/notice/index.js +14 -50
- package/notification/index.js +2 -2
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +1 -1
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/index.js +1 -1
- package/progress/CircleProgress.js +1 -1
- package/progress/index.js +1 -1
- package/qr-code/index.js +1243 -92
- package/radio/Group.js +2 -2
- package/radio/GroupBlock.js +2 -2
- package/radio/Radio.js +2 -2
- package/radio/index.js +2 -2
- package/rate/index.js +1 -1
- package/resize-box/ResizeTrigger.js +1 -1
- package/resize-box/Split.js +2 -2
- package/resize-box/SplitGroup.js +2 -2
- package/resize-box/index.js +2 -2
- package/result/index.js +1 -1
- package/rich-text/index.js +6332 -77
- package/rich-text/lib/diff/index.d.ts +21 -0
- package/row-col/Col-.js +1 -1
- package/row-col/Col.js +1 -1
- package/row-col/Row.js +1 -1
- package/segmented/index.js +126 -161
- package/select/Option.js +44 -41
- package/select/Select.js +10 -12
- package/select-view/Core.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +2 -2
- package/slider/index.js +2 -2
- package/space/index.js +24 -60
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/splitter/Panel.js +1 -1
- package/splitter/SplitBar.js +2 -2
- package/splitter/Splitter.js +2 -2
- package/statistic/index.js +1 -1
- package/steps/index.js +1 -1
- package/style.css +1 -1
- package/switch/index.js +2 -2
- package/table/Table.js +14 -53
- package/table/index.js +77 -120
- package/tabs/Tab.js +3 -3
- package/tabs/TabContent.js +2 -2
- package/tabs/TabPane.js +1 -1
- package/tabs/index.js +2 -2
- package/tag/index.js +1 -1
- package/time-picker/Picker.js +1 -1
- package/time-picker/TimePicker.js +1 -1
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/tooltip/index.js +1 -1
- package/tour/index.js +81 -117
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +1 -1
- package/tree/Animation.js +3 -3
- package/tree/Node.js +3 -3
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +2 -2
- package/tree/index.js +1 -1
- package/tree-select/Select.js +3 -3
- package/tree-select/index.js +1 -1
- package/trigger/getPopupStyle.js +1 -1
- package/trigger/index.js +145 -145
- package/types/common/hooks/src/use-theme/index.d.ts +2 -2
- package/types/common/hooks/useStateWithPromise.d.ts +1 -1
- package/types/common/hooks/useWindowSize.d.ts +4 -4
- package/types/common/utils/dom.d.ts +13 -1
- package/types/common/utils/lodash.d.ts +2 -1
- package/types/common/utils/reactDOM.d.ts +10 -1
- package/types/common/utils/validate.d.ts +2 -1
- package/types/pc/carousel/interface.d.ts +2 -2
- package/types/pc/color-picker/Panel.d.ts +1 -1
- package/types/pc/date-picker/RangePicker.d.ts +1 -1
- package/types/pc/form/interface.d.ts +6 -1
- package/types/pc/form/promisify.d.ts +5 -0
- package/types/pc/form/store.d.ts +1 -1
- package/types/pc/form/util.d.ts +1 -1
- package/types/pc/index.d.ts +1 -1
- package/types/pc/input/autoSizeTextAreaHeight.d.ts +4 -2
- package/types/pc/list/interface.d.ts +2 -2
- package/types/pc/menu/context.d.ts +1 -1
- package/types/pc/qr-code/examples/demo.d.ts +1 -0
- package/types/pc/qr-code/examples/download.d.ts +2 -0
- package/types/pc/qr-code/examples/full.d.ts +2 -0
- package/types/pc/qr-code/examples/image.d.ts +2 -0
- package/types/pc/qr-code/index.d.ts +2 -0
- package/types/pc/qr-code/src/index.d.ts +116 -0
- package/types/pc/qr-code/src/qrcodegen.d.ts +95 -0
- package/types/pc/qr-code/src/qrcodegen2.d.ts +325 -0
- package/types/pc/rich-text/index.d.ts +7 -4
- package/types/pc/rich-text/interface.d.ts +3 -2
- package/types/pc/rich-text/{core → lib/core}/editor.d.ts +1 -1
- package/types/pc/rich-text/{core → lib/core}/rich.d.ts +3 -7
- package/types/pc/rich-text/{core → lib/core}/selection.d.ts +1 -0
- package/types/pc/rich-text/{core.d.ts → lib/core.d.ts} +1 -1
- package/types/pc/rich-text/lib/delta/AttributeMap.d.ts +15 -0
- package/types/pc/rich-text/lib/delta/Op.d.ts +13 -0
- package/types/pc/rich-text/lib/delta/OpIterator.d.ts +14 -0
- package/types/pc/rich-text/lib/delta/index.d.ts +53 -0
- package/types/pc/rich-text/lib/diff/index.d.ts +40 -0
- package/types/pc/rich-text/{formats → lib/formats}/bold.d.ts +1 -1
- package/types/pc/rich-text/{formats → lib/formats}/font.d.ts +1 -1
- package/types/pc/rich-text/lib/formats/hr.d.ts +5 -0
- package/types/pc/rich-text/lib/formats/image-resize/index.d.ts +27 -0
- package/types/pc/rich-text/lib/formats/image-resize/modules/BaseModule.d.ts +10 -0
- package/types/pc/rich-text/lib/formats/image-resize/modules/DisplaySize.d.ts +5 -0
- package/types/pc/rich-text/lib/formats/image-resize/modules/Resize.d.ts +13 -0
- package/types/pc/rich-text/lib/formats/image-resize/options.d.ts +7 -0
- package/types/pc/rich-text/lib/formats/liOl.d.ts +10 -0
- package/types/pc/rich-text/lib/formats/liUl.d.ts +10 -0
- package/types/pc/rich-text/lib/formats/lineHeight.d.ts +3 -0
- package/types/pc/rich-text/{formats → lib/formats}/list.d.ts +1 -0
- package/types/pc/rich-text/{formats → lib/formats}/table.d.ts +3 -3
- package/types/pc/rich-text/{modules → lib/modules}/clipboard.d.ts +2 -2
- package/types/pc/rich-text/{modules → lib/modules}/history.d.ts +1 -1
- package/types/pc/rich-text/{modules → lib/modules}/keyboard.d.ts +1 -1
- package/types/pc/rich-text/{modules → lib/modules}/syntax.d.ts +2 -2
- package/types/pc/rich-text/{modules → lib/modules}/tableEmbed.d.ts +3 -3
- package/types/pc/rich-text/{modules → lib/modules}/toolbar.d.ts +1 -1
- package/types/pc/rich-text/{parchment → lib/parchment}/attributor/attributor.d.ts +3 -3
- package/types/pc/rich-text/{parchment → lib/parchment}/attributor/style.d.ts +2 -2
- package/types/pc/rich-text/{ui → lib/ui}/icons.d.ts +5 -1
- package/types/pc/rich-text/{ui → lib/ui}/picker.d.ts +1 -0
- package/types/pc/tabs/hook/useDomSize.d.ts +2 -2
- package/types/pc/tabs/hook/useHeaderScroll.d.ts +2 -2
- package/types/pc/tree-select/hook/useStateValue.d.ts +2 -2
- package/types/pc/utils/date.d.ts +1 -0
- package/types/pc/utils/index.d.ts +2 -2
- package/types/pc/utils/validate.d.ts +1 -1
- package/typography/Base.js +1 -1
- package/typography/Ellipsis.js +70 -114
- package/typography/Operations.js +29 -74
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +2 -2
- package/upload/Uploader.js +1 -1
- package/upload/request_.js +1972 -41
- package/utils/PqbCSSTransition.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/date.js +1 -0
- package/utils/dom.js +1 -1
- package/utils/index.js +248 -236
- package/utils/lodash.js +33 -32
- package/utils/react19Adapter.js +1 -1
- package/utils/reactDOM.js +1 -1
- package/utils/validate.js +15 -5
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/virtual-list/VirtualList.js +218 -217
- package/watermark/Watermark.js +1 -1
- package/chunk/BCmfDFV4.js +0 -4237
- package/chunk/BG6j6Ct7.js +0 -30
- package/chunk/C5CbL5ku.js +0 -56
- package/chunk/CXrVhA6-.js +0 -54
- package/chunk/DMv8Hn4u.js +0 -231
- package/chunk/DsuIQH0F.js +0 -200
- package/chunk/d1c9z8T1.js +0 -49
- package/chunk/vP3qfmKM.js +0 -84
- package/rich-text/core.js +0 -11
- package/rich-text/rich.js +0 -1347
- package/types/common/utils/index.d.ts +0 -47
- package/types/common/utils/keyboardCode.d.ts +0 -4
- package/types/common/utils/math.d.ts +0 -1
- package/types/common/utils/reactTransitionGroup.d.ts +0 -1
- package/types/common/utils/uuid.d.ts +0 -1
- package/types/pc/rich-text/delta/AttributeMap.d.ts +0 -10
- package/types/pc/rich-text/delta/Op.d.ts +0 -11
- package/types/pc/rich-text/delta/OpIterator.d.ts +0 -13
- package/types/pc/rich-text/delta/index.d.ts +0 -45
- package/types/common/hooks/src/utils/{index.d.ts → is.d.ts} +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/block.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/break.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/container.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/cursor.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/embed.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/inline.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/scroll.d.ts +0 -0
- package/types/pc/rich-text/{blots → lib/blots}/text.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/composition.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/emitter.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/instances.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/logger.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/module.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/theme.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/utils/createRegistryWithFormats.d.ts +0 -0
- package/types/pc/rich-text/{core → lib/core}/utils/scrollRectIntoView.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/align.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/background.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/blockquote.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/code.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/color.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/direction.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/formula.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/header.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/image.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/indent.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/italic.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/link.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/script.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/size.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/strike.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/underline.d.ts +0 -0
- package/types/pc/rich-text/{formats → lib/formats}/video.d.ts +0 -0
- package/types/pc/rich-text/{rich.d.ts → lib/index.d.ts} +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/input.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/index.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/normalizers/googleDocs.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/normalizers/msWord.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/table.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/uiNode.d.ts +0 -0
- package/types/pc/rich-text/{modules → lib/modules}/uploader.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/attributor/class.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/attributor/store.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/blot.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/container.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/leaf.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/parent.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/shadow.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/block.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/embed.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/inline.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/scroll.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/blot/text.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/collection/linked-list.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/collection/linked-node.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/error.d.ts +0 -0
- package/types/pc/rich-text/{parchment → lib/parchment}/index.d.ts +1 -1
- /package/types/pc/rich-text/{parchment → lib/parchment}/registry.d.ts +0 -0
- /package/types/pc/rich-text/{parchment → lib/parchment}/scope.d.ts +0 -0
- /package/types/pc/rich-text/{themes → lib/themes}/base.d.ts +0 -0
- /package/types/pc/rich-text/{themes → lib/themes}/pqb.d.ts +0 -0
- /package/types/pc/rich-text/{ui → lib/ui}/color-picker.d.ts +0 -0
- /package/types/pc/rich-text/{ui → lib/ui}/icon-picker.d.ts +0 -0
- /package/types/pc/rich-text/{ui → lib/ui}/tooltip.d.ts +0 -0
|
@@ -2,7 +2,7 @@ import { jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as u } from "./BJ9_azwQ.js";
|
|
3
3
|
import { useRef as f, useMemo as s, isValidElement as a, cloneElement as l } from "react";
|
|
4
4
|
import { s as E } from "./DsaQZE4X.js";
|
|
5
|
-
import { f as R, c as x } from "./
|
|
5
|
+
import { f as R, c as x } from "./exc7v_Hl.js";
|
|
6
6
|
function O(r) {
|
|
7
7
|
const { children: e, ...i } = r, t = f(void 0), o = f(void 0), c = s(() => r.nodeRef === void 0 && E(e) && a(e) ? (o.current = !0, l(e, {
|
|
8
8
|
ref(n) {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import q from "lodash/defaultsDeep";
|
|
2
|
+
import { isObjectLike as E, isArray as f, isFunction as L, isString as x, isNumber as C, isEmptyValue as d, isEqual as w, isEmptyArray as O, isObject as m, isEmptyObject as z, isBoolean as k } from "@unicom-cloud/utils/is";
|
|
3
|
+
import K from "lodash/get";
|
|
4
|
+
const R = {
|
|
3
5
|
required: "#{field} 是必填项",
|
|
4
6
|
type: {
|
|
5
7
|
string: "#{field} 不是合法的文本类型",
|
|
@@ -44,48 +46,75 @@ const k = {
|
|
|
44
46
|
true: "期望是 `true`",
|
|
45
47
|
false: "期望是 `false`"
|
|
46
48
|
}
|
|
47
|
-
}, V = (r, t) => {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
49
|
+
}, V = (r, t) => q({}, t, r), A = (r, t) => K(r, t), g = "#{field} is not a #{type} type", tt = {
|
|
50
|
+
required: "#{field} is required",
|
|
51
|
+
type: {
|
|
52
|
+
ip: g,
|
|
53
|
+
email: g,
|
|
54
|
+
url: g,
|
|
55
|
+
string: g,
|
|
56
|
+
number: g,
|
|
57
|
+
array: g,
|
|
58
|
+
object: g,
|
|
59
|
+
boolean: g
|
|
60
|
+
},
|
|
61
|
+
number: {
|
|
62
|
+
min: "`#{value}` is not greater than `#{min}`",
|
|
63
|
+
max: "`#{value}` is not less than `#{max}`",
|
|
64
|
+
equal: "`#{value}` is not equal to `#{equal}`",
|
|
65
|
+
range: "`#{value}` is not in range `#{min} ~ #{max}`",
|
|
66
|
+
positive: "`#{value}` is not a positive number",
|
|
67
|
+
negative: "`#{value}` is not a negative number"
|
|
68
|
+
},
|
|
69
|
+
string: {
|
|
70
|
+
maxLength: "#{field} cannot be longer than #{maxLength} characters",
|
|
71
|
+
minLength: "#{field} must be at least #{minLength} characters",
|
|
72
|
+
length: "#{field} must be exactly #{length} characters",
|
|
73
|
+
match: "`#{value}` does not match pattern #{pattern}",
|
|
74
|
+
uppercase: "`#{value}` must be all uppercase",
|
|
75
|
+
lowercase: "`#{value}` must be all lowercased"
|
|
76
|
+
},
|
|
77
|
+
array: {
|
|
78
|
+
length: "#{field} must be exactly #{length} in length",
|
|
79
|
+
minLength: "#{field} cannot be less than #{minLength} in length",
|
|
80
|
+
maxLength: "#{field} cannot be greater than #{maxLength} in length",
|
|
81
|
+
includes: "#{field} is not includes #{includes}",
|
|
82
|
+
deepEqual: "#{field} is not deep equal with #{deepEqual}",
|
|
83
|
+
empty: "#{field} is not an empty array"
|
|
84
|
+
},
|
|
85
|
+
object: {
|
|
86
|
+
deepEqual: "#{field} is not deep equal to expected value",
|
|
87
|
+
hasKeys: "#{field} does not contain required fields",
|
|
88
|
+
empty: "#{field} is not an empty object"
|
|
89
|
+
},
|
|
90
|
+
boolean: {
|
|
91
|
+
true: "Expect true but got `#{value}`",
|
|
92
|
+
false: "Expect false but got `#{value}`"
|
|
93
|
+
}
|
|
63
94
|
};
|
|
64
|
-
|
|
65
|
-
class p {
|
|
95
|
+
class c {
|
|
66
96
|
constructor(t, e) {
|
|
67
|
-
|
|
68
|
-
const
|
|
69
|
-
...s,
|
|
97
|
+
this.getValidateMsg = (h, s = {}) => {
|
|
98
|
+
const o = Object.assign({}, s, {
|
|
70
99
|
value: this.obj,
|
|
71
100
|
field: this.field,
|
|
72
101
|
type: this.type
|
|
73
|
-
},
|
|
74
|
-
return
|
|
75
|
-
const
|
|
76
|
-
if (
|
|
77
|
-
if (
|
|
102
|
+
}), i = A(this.validateMessages, h);
|
|
103
|
+
return L(i) ? i(o) : x(i) ? i.replace(/#\{.+?\}/g, (b) => {
|
|
104
|
+
const u = b.slice(2, -1);
|
|
105
|
+
if (u in o) {
|
|
106
|
+
if (m(o[u]) || f(o[u]))
|
|
78
107
|
try {
|
|
79
|
-
return JSON.stringify(
|
|
108
|
+
return JSON.stringify(o[u]);
|
|
80
109
|
} catch {
|
|
81
|
-
return
|
|
110
|
+
return o[u];
|
|
82
111
|
}
|
|
83
|
-
return String(
|
|
112
|
+
return String(o[u]);
|
|
84
113
|
}
|
|
85
|
-
return
|
|
86
|
-
}) :
|
|
87
|
-
}
|
|
88
|
-
|
|
114
|
+
return b;
|
|
115
|
+
}) : i;
|
|
116
|
+
}, m(e) && x(t) && e.trim ? this.obj = t.trim() : m(e) && e.ignoreEmptyString && t === "" ? this.obj = void 0 : this.obj = t, this.message = e.message, this.type = e.type, this.error = null, this.field = e.field || e.type, this.validateMessages = V(
|
|
117
|
+
R,
|
|
89
118
|
e.validateMessages
|
|
90
119
|
);
|
|
91
120
|
}
|
|
@@ -93,13 +122,13 @@ class p {
|
|
|
93
122
|
return this._not = !this._not, this;
|
|
94
123
|
}
|
|
95
124
|
get isRequired() {
|
|
96
|
-
if (
|
|
125
|
+
if (d(this.obj) || O(this.obj)) {
|
|
97
126
|
const t = this.getValidateMsg("required");
|
|
98
127
|
this.error = {
|
|
99
128
|
value: this.obj,
|
|
100
129
|
type: this.type,
|
|
101
130
|
requiredError: !0,
|
|
102
|
-
message: this.message || (
|
|
131
|
+
message: this.message || (m(t) ? t : `${this._not ? "[NOT MODE]:" : ""}${t}`)
|
|
103
132
|
};
|
|
104
133
|
}
|
|
105
134
|
return this;
|
|
@@ -108,10 +137,10 @@ class p {
|
|
|
108
137
|
return this.error;
|
|
109
138
|
}
|
|
110
139
|
addError(t) {
|
|
111
|
-
|
|
140
|
+
this.error || t && (this.error = {
|
|
112
141
|
value: this.obj,
|
|
113
142
|
type: this.type,
|
|
114
|
-
message: this.message || (
|
|
143
|
+
message: this.message || (m(t) ? t : `${this._not ? "[NOT MODE]:" : ""}${t}`)
|
|
115
144
|
});
|
|
116
145
|
}
|
|
117
146
|
validate(t, e) {
|
|
@@ -121,13 +150,13 @@ class p {
|
|
|
121
150
|
t?.(this.error);
|
|
122
151
|
}
|
|
123
152
|
}
|
|
124
|
-
class
|
|
153
|
+
class D extends c {
|
|
125
154
|
constructor(t, e) {
|
|
126
155
|
super(t, {
|
|
127
156
|
...e,
|
|
128
157
|
type: "array"
|
|
129
158
|
}), this.validate(
|
|
130
|
-
e && e.strict ?
|
|
159
|
+
e && e.strict ? f(this.obj) : !0,
|
|
131
160
|
this.getValidateMsg("type.array", { value: this.obj, type: this.type })
|
|
132
161
|
);
|
|
133
162
|
}
|
|
@@ -166,7 +195,7 @@ class R extends p {
|
|
|
166
195
|
}
|
|
167
196
|
deepEqual(t) {
|
|
168
197
|
return this.obj ? this.validate(
|
|
169
|
-
|
|
198
|
+
w(this.obj, t),
|
|
170
199
|
this.getValidateMsg("array.deepEqual", {
|
|
171
200
|
value: this.obj,
|
|
172
201
|
deepEqual: t
|
|
@@ -175,18 +204,18 @@ class R extends p {
|
|
|
175
204
|
}
|
|
176
205
|
get empty() {
|
|
177
206
|
return this.validate(
|
|
178
|
-
|
|
207
|
+
O(this.obj),
|
|
179
208
|
this.getValidateMsg("array.empty", { value: this.obj })
|
|
180
209
|
);
|
|
181
210
|
}
|
|
182
211
|
}
|
|
183
|
-
class
|
|
212
|
+
class N extends c {
|
|
184
213
|
constructor(t, e) {
|
|
185
214
|
super(t, {
|
|
186
215
|
...e,
|
|
187
216
|
type: "boolean"
|
|
188
217
|
}), this.validate(
|
|
189
|
-
e
|
|
218
|
+
e?.strict ? k(this.obj) : !0,
|
|
190
219
|
this.getValidateMsg("type.boolean")
|
|
191
220
|
);
|
|
192
221
|
}
|
|
@@ -203,80 +232,87 @@ class A extends p {
|
|
|
203
232
|
);
|
|
204
233
|
}
|
|
205
234
|
}
|
|
206
|
-
class
|
|
235
|
+
class I extends c {
|
|
207
236
|
constructor(t, e) {
|
|
208
237
|
super(t, {
|
|
209
238
|
...e,
|
|
210
239
|
type: "custom"
|
|
211
240
|
});
|
|
212
241
|
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
return
|
|
242
|
+
validate2(t, e) {
|
|
243
|
+
if (t) {
|
|
244
|
+
const h = t(this.obj, this.addError.bind(this));
|
|
245
|
+
return h && h.then ? (e && h.then(
|
|
217
246
|
() => {
|
|
218
247
|
e?.(this.error);
|
|
219
248
|
},
|
|
220
249
|
(s) => {
|
|
221
250
|
console.error(s);
|
|
222
251
|
}
|
|
223
|
-
), [
|
|
252
|
+
), [h, this]) : (e?.(this.error), this.error);
|
|
253
|
+
}
|
|
224
254
|
}
|
|
225
255
|
}
|
|
226
|
-
class P extends
|
|
256
|
+
class P extends c {
|
|
227
257
|
constructor(t, e) {
|
|
228
258
|
super(t, {
|
|
229
259
|
...e,
|
|
230
260
|
type: "number"
|
|
231
261
|
}), this.validate(
|
|
232
|
-
e && e.strict ?
|
|
262
|
+
e && e.strict ? C(this.obj) : !0,
|
|
233
263
|
this.getValidateMsg("type.number")
|
|
234
264
|
);
|
|
235
265
|
}
|
|
236
266
|
min(t) {
|
|
237
|
-
return
|
|
267
|
+
return d(this.obj) ? this : this.validate(
|
|
238
268
|
this.obj >= t,
|
|
239
269
|
this.getValidateMsg("number.min", { min: t })
|
|
240
270
|
);
|
|
241
271
|
}
|
|
242
272
|
max(t) {
|
|
243
|
-
return
|
|
273
|
+
return d(this.obj) ? this : this.validate(
|
|
244
274
|
this.obj <= t,
|
|
245
275
|
this.getValidateMsg("number.max", { max: t })
|
|
246
276
|
);
|
|
247
277
|
}
|
|
248
278
|
equal(t) {
|
|
249
|
-
return
|
|
279
|
+
return d(this.obj) ? this : this.validate(
|
|
250
280
|
this.obj === t,
|
|
251
281
|
this.getValidateMsg("number.equal", { equal: t })
|
|
252
282
|
);
|
|
253
283
|
}
|
|
254
284
|
range(t, e) {
|
|
255
|
-
return
|
|
285
|
+
return d(this.obj) ? this : this.validate(
|
|
256
286
|
this.obj >= t && this.obj <= e,
|
|
257
287
|
this.getValidateMsg("number.range", { min: t, max: e })
|
|
258
288
|
);
|
|
259
289
|
}
|
|
260
290
|
get positive() {
|
|
261
|
-
return
|
|
291
|
+
return d(this.obj) ? this : this.validate(
|
|
292
|
+
this.obj > 0,
|
|
293
|
+
this.getValidateMsg("number.positive")
|
|
294
|
+
);
|
|
262
295
|
}
|
|
263
296
|
get negative() {
|
|
264
|
-
return
|
|
297
|
+
return d(this.obj) ? this : this.validate(
|
|
298
|
+
this.obj < 0,
|
|
299
|
+
this.getValidateMsg("number.negative")
|
|
300
|
+
);
|
|
265
301
|
}
|
|
266
302
|
}
|
|
267
|
-
class
|
|
303
|
+
class Z extends c {
|
|
268
304
|
constructor(t, e) {
|
|
269
305
|
super(t, {
|
|
270
306
|
...e,
|
|
271
307
|
type: "object"
|
|
272
308
|
}), this.validate(
|
|
273
|
-
e && e.strict ?
|
|
309
|
+
e && e.strict ? m(this.obj) : !0,
|
|
274
310
|
this.getValidateMsg("type.object")
|
|
275
311
|
);
|
|
276
312
|
}
|
|
277
313
|
deepEqual(t) {
|
|
278
314
|
return this.obj ? this.validate(
|
|
279
|
-
|
|
315
|
+
w(this.obj, t),
|
|
280
316
|
this.getValidateMsg("object.deepEqual", { deepEqual: t })
|
|
281
317
|
) : this;
|
|
282
318
|
}
|
|
@@ -288,18 +324,18 @@ class D extends p {
|
|
|
288
324
|
}
|
|
289
325
|
get empty() {
|
|
290
326
|
return this.validate(
|
|
291
|
-
|
|
327
|
+
z(this.obj),
|
|
292
328
|
this.getValidateMsg("object.empty")
|
|
293
329
|
);
|
|
294
330
|
}
|
|
295
331
|
}
|
|
296
|
-
class
|
|
332
|
+
class B extends c {
|
|
297
333
|
constructor(t, e) {
|
|
298
334
|
super(t, {
|
|
299
335
|
...e,
|
|
300
336
|
type: "string"
|
|
301
337
|
}), this.validate(
|
|
302
|
-
e && e.strict ?
|
|
338
|
+
e && e.strict ? x(this.obj) : !0,
|
|
303
339
|
this.getValidateMsg("type.string")
|
|
304
340
|
);
|
|
305
341
|
}
|
|
@@ -341,11 +377,11 @@ class I extends p {
|
|
|
341
377
|
) : this;
|
|
342
378
|
}
|
|
343
379
|
}
|
|
344
|
-
const
|
|
380
|
+
const F = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, G = new RegExp(
|
|
345
381
|
"^(?!mailto:)(?:(?:http|https|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$",
|
|
346
382
|
"i"
|
|
347
|
-
),
|
|
348
|
-
class
|
|
383
|
+
), J = /^(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})(\.(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})){3}$/;
|
|
384
|
+
class T extends c {
|
|
349
385
|
constructor(t, e) {
|
|
350
386
|
super(t, {
|
|
351
387
|
...e,
|
|
@@ -354,45 +390,48 @@ class U extends p {
|
|
|
354
390
|
}
|
|
355
391
|
get email() {
|
|
356
392
|
return this.type = "email", this.validate(
|
|
357
|
-
this.obj === void 0 ||
|
|
393
|
+
this.obj === void 0 || F.test(this.obj),
|
|
358
394
|
this.getValidateMsg("type.email")
|
|
359
395
|
);
|
|
360
396
|
}
|
|
361
397
|
get url() {
|
|
362
398
|
return this.type = "url", this.validate(
|
|
363
|
-
this.obj === void 0 ||
|
|
399
|
+
this.obj === void 0 || G.test(this.obj),
|
|
364
400
|
this.getValidateMsg("type.url")
|
|
365
401
|
);
|
|
366
402
|
}
|
|
367
403
|
get ip() {
|
|
368
404
|
return this.type = "ip", this.validate(
|
|
369
|
-
this.obj === void 0 ||
|
|
405
|
+
this.obj === void 0 || J.test(this.obj),
|
|
370
406
|
this.getValidateMsg("type.ip")
|
|
371
407
|
);
|
|
372
408
|
}
|
|
373
409
|
}
|
|
374
|
-
const
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
410
|
+
const p = (r, t) => new S(r, { field: "value", ...t });
|
|
411
|
+
p.globalConfig = {};
|
|
412
|
+
p.setGlobalConfig = (r) => {
|
|
413
|
+
p.globalConfig = q(
|
|
414
|
+
{},
|
|
415
|
+
r,
|
|
416
|
+
p.globalConfig
|
|
417
|
+
);
|
|
378
418
|
};
|
|
379
|
-
class
|
|
419
|
+
class S {
|
|
380
420
|
constructor(t, e) {
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
...i,
|
|
421
|
+
const h = p.globalConfig, s = {
|
|
422
|
+
...h,
|
|
384
423
|
...e,
|
|
385
424
|
validateMessages: V(
|
|
386
|
-
|
|
425
|
+
h.validateMessages,
|
|
387
426
|
e.validateMessages
|
|
388
427
|
)
|
|
389
428
|
};
|
|
390
|
-
this.string = new
|
|
429
|
+
this.string = new B(t, s), this.number = new P(t, s), this.array = new D(t, s), this.object = new Z(t, s), this.boolean = new N(t, s), this.type = new T(t, s), this.custom = new I(t, s);
|
|
391
430
|
}
|
|
392
431
|
}
|
|
393
|
-
class
|
|
432
|
+
class et {
|
|
394
433
|
constructor(t, e = {}) {
|
|
395
|
-
|
|
434
|
+
this.schema = t, this.options = e;
|
|
396
435
|
}
|
|
397
436
|
// 更新校验信息
|
|
398
437
|
messages(t) {
|
|
@@ -405,54 +444,60 @@ class G {
|
|
|
405
444
|
};
|
|
406
445
|
}
|
|
407
446
|
validate(t, e) {
|
|
408
|
-
if (!
|
|
409
|
-
|
|
410
|
-
const i = [];
|
|
447
|
+
if (!E(t)) return;
|
|
448
|
+
const h = [];
|
|
411
449
|
let s = null;
|
|
412
|
-
function
|
|
413
|
-
s || (s = {}), s && (!s[
|
|
450
|
+
function o(i, b) {
|
|
451
|
+
s || (s = {}), s && (!s[i] || b.requiredError) && (s[i] = b);
|
|
414
452
|
}
|
|
415
|
-
this.schema && Object.
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
const f = {
|
|
453
|
+
this.schema && Object.entries(this.schema).forEach(([i, b], u, U) => {
|
|
454
|
+
if (f(this.schema[i]))
|
|
455
|
+
for (let v = 0; v < this.schema[i].length; v++) {
|
|
456
|
+
const n = this.schema[i][v], j = n.type, _ = n.message;
|
|
457
|
+
if (!j && !n.validator)
|
|
458
|
+
throw `You must specify a type to field ${i}!`;
|
|
459
|
+
const y = {
|
|
423
460
|
...this.options,
|
|
424
|
-
message:
|
|
425
|
-
field:
|
|
461
|
+
message: _,
|
|
462
|
+
field: i
|
|
426
463
|
};
|
|
427
|
-
"ignoreEmptyString" in
|
|
428
|
-
const
|
|
429
|
-
let
|
|
430
|
-
if (!
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
u && n(a, u);
|
|
464
|
+
"ignoreEmptyString" in n && (y.ignoreEmptyString = n.ignoreEmptyString), "strict" in n && (y.strict = n.strict);
|
|
465
|
+
const M = new S(t[i], y);
|
|
466
|
+
let a = M.type[j] || null;
|
|
467
|
+
if (!a) if (n.validator) {
|
|
468
|
+
a = M.custom.validate2(n.validator), f(a) && a[0]?.then ? h.push({
|
|
469
|
+
function: a[0],
|
|
470
|
+
_this: a[1],
|
|
471
|
+
key: i
|
|
472
|
+
}) : a && o(i, a);
|
|
473
|
+
continue;
|
|
474
|
+
} else
|
|
475
|
+
a = M[j];
|
|
476
|
+
if (Object.entries(n).forEach(([l, Y], H, Q) => {
|
|
477
|
+
n.required && (a = a.isRequired), l !== "message" && a?.[l] && n[l] && E(a[l]) && (a = a[l]), a?.[l] && n[l] !== void 0 && L(a[l]) && (a = a[l](n[l]));
|
|
478
|
+
}), a.collect((l) => {
|
|
479
|
+
l && o(i, l);
|
|
444
480
|
}), s)
|
|
445
481
|
break;
|
|
446
482
|
}
|
|
447
|
-
}),
|
|
448
|
-
|
|
449
|
-
|
|
483
|
+
}), h.length > 0 ? Promise.all(h.map((i) => i.function)).then(() => {
|
|
484
|
+
h.forEach((i) => {
|
|
485
|
+
"error" in i._this && i._this.error && o(i.key, i._this.error);
|
|
450
486
|
}), e?.(s);
|
|
451
487
|
}) : e?.(s);
|
|
452
488
|
}
|
|
453
489
|
}
|
|
454
490
|
export {
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
491
|
+
P as B,
|
|
492
|
+
N as D,
|
|
493
|
+
T as G,
|
|
494
|
+
B as I,
|
|
495
|
+
Z as K,
|
|
496
|
+
D as R,
|
|
497
|
+
I as U,
|
|
498
|
+
et as a,
|
|
499
|
+
R as e,
|
|
500
|
+
p as m,
|
|
501
|
+
V as n,
|
|
502
|
+
tt as t
|
|
458
503
|
};
|