@ccs-ui/rc-pro 2.4.8 → 2.5.0
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/docs-dist/404.html +2 -2
- package/docs-dist/atom__demos.31900661.async.js +1 -0
- package/docs-dist/{docs__rc-pro__atom___api__enumerations__DataEvent.md.a6ab77d8.async.js → docs__rc-pro__atom___api__enumerations__DataEvent.md.bb7df9e5.async.js} +1 -1
- package/docs-dist/docs__rc-pro__atom___api__index.md.5bb57f6c.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomCheckboxApiProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomCheckboxApiProps.md.c9925fec.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomCheckboxProps.md.44f4024f.async.js +1 -0
- package/docs-dist/{docs__rc-pro__atom___api__interfaces__AtomEllipsisProps.md.9e35493e.async.js → docs__rc-pro__atom___api__interfaces__AtomEllipsisProps.md.1562f61e.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__interfaces__AtomFullScreenProps.md.006a2371.async.js → docs__rc-pro__atom___api__interfaces__AtomFullScreenProps.md.f0fdf4d7.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__interfaces__AtomLoadingProps.md.f15695c4.async.js → docs__rc-pro__atom___api__interfaces__AtomLoadingProps.md.ef6008b3.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__interfaces__AtomMultiStateProps.md.d18a2f32.async.js → docs__rc-pro__atom___api__interfaces__AtomMultiStateProps.md.b43bdb35.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__interfaces__ResizeSize.md.d160a94b.async.js → docs__rc-pro__atom___api__interfaces__ResizeSize.md.93bec405.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomCountdownInstance.md.c5516043.async.js → docs__rc-pro__atom___api__type-aliases__AtomCountdownInstance.md.848197ad.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomCountdownProps.md.07ca96c1.async.js → docs__rc-pro__atom___api__type-aliases__AtomCountdownProps.md.875dc115.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomFilterInstance.md.7dd769b9.async.js → docs__rc-pro__atom___api__type-aliases__AtomFilterInstance.md.35156b74.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomFilterProps.md.4385a29e.async.js → docs__rc-pro__atom___api__type-aliases__AtomFilterProps.md.b176db61.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomFormItem.md.7d2518de.async.js → docs__rc-pro__atom___api__type-aliases__AtomFormItem.md.fa22615e.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomFormItems.md.0baa7a2c.async.js → docs__rc-pro__atom___api__type-aliases__AtomFormItems.md.83b41d59.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomOperationProps.md.4a48afd0.async.js → docs__rc-pro__atom___api__type-aliases__AtomOperationProps.md.8cc54dfd.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomPageRequestProps.md.7fd18372.async.js → docs__rc-pro__atom___api__type-aliases__AtomPageRequestProps.md.b06fd87c.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.c8e6be0b.async.js → docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.bf89a64a.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomTitleProps.md.0579afff.async.js → docs__rc-pro__atom___api__type-aliases__AtomTitleProps.md.fd553fcf.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__atom___api__type-aliases__TableEventHandle.md.65426813.async.js → docs__rc-pro__atom___api__type-aliases__TableEventHandle.md.4351e01a.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__button___api__index.md.d60cfe48.async.js → docs__rc-pro__button___api__index.md.15b75096.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__button___api__interfaces__ButtonGroupProps.md.c2087f48.async.js → docs__rc-pro__button___api__interfaces__ButtonGroupProps.md.50cae9d3.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__button___api__interfaces__DropdownProps.md.063d22cb.async.js → docs__rc-pro__button___api__interfaces__DropdownProps.md.38fb1a4f.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__button___api__interfaces__GroupButtonItem.md.c184b444.async.js → docs__rc-pro__button___api__interfaces__GroupButtonItem.md.145875f5.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__button___api__type-aliases__ButtonProps.md.1b893707.async.js → docs__rc-pro__button___api__type-aliases__ButtonProps.md.e943b53e.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__button___api__type-aliases__DropdownClick.md.d2a5ced0.async.js → docs__rc-pro__button___api__type-aliases__DropdownClick.md.13d2a796.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__button___api__type-aliases__DropdownMenuItemType.md.66130238.async.js → docs__rc-pro__button___api__type-aliases__DropdownMenuItemType.md.97d89de0.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__button___api__type-aliases__GroupClick.md.09ca8488.async.js → docs__rc-pro__button___api__type-aliases__GroupClick.md.dc41dade.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__cascader___api__index.md.09640e24.async.js → docs__rc-pro__cascader___api__index.md.47c62918.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__cascader___api__type-aliases__ApiCascaderProps.md.65084fc1.async.js → docs__rc-pro__cascader___api__type-aliases__ApiCascaderProps.md.cb969c6e.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__context___api__index.md.13cfa1c0.async.js → docs__rc-pro__context___api__index.md.2d350d6f.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__context___api__type-aliases__AppConfigType.md.1f265000.async.js → docs__rc-pro__context___api__type-aliases__AppConfigType.md.bf01193d.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__context___api__type-aliases__AppFieldNames.md.13307203.async.js → docs__rc-pro__context___api__type-aliases__AppFieldNames.md.6906521a.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__context___api__type-aliases__FnContextType.md.568b0641.async.js → docs__rc-pro__context___api__type-aliases__FnContextType.md.f84b939d.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__context___api__type-aliases__PageContextType.md.cd99fc9e.async.js → docs__rc-pro__context___api__type-aliases__PageContextType.md.9548623a.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__context___api__type-aliases__PageFieldNames.md.8b204c41.async.js → docs__rc-pro__context___api__type-aliases__PageFieldNames.md.2d6f58a1.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__date-picker___api__index.md.1c120e64.async.js → docs__rc-pro__date-picker___api__index.md.855eff0e.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__date-picker___api__type-aliases__DatePickerProps.md.b6cc6691.async.js → docs__rc-pro__date-picker___api__type-aliases__DatePickerProps.md.40c84779.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__date-picker___api__type-aliases__RangePickerProps.md.c422ed80.async.js → docs__rc-pro__date-picker___api__type-aliases__RangePickerProps.md.0ac69687.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__dialog___api__index.md.323195bf.async.js → docs__rc-pro__dialog___api__index.md.6c636f36.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogContextType.md.85948cd5.async.js → docs__rc-pro__dialog___api__interfaces__DialogContextType.md.cbff2435.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogDrawer.md.7fa47fb7.async.js → docs__rc-pro__dialog___api__interfaces__DialogDrawer.md.77130a4c.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogInterface.md.39c3e85d.async.js → docs__rc-pro__dialog___api__interfaces__DialogInterface.md.376d95aa.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogModal.md.3d45a85e.async.js → docs__rc-pro__dialog___api__interfaces__DialogModal.md.be0dca59.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogProps.md.6d9d2f30.async.js → docs__rc-pro__dialog___api__interfaces__DialogProps.md.e00cba5c.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__DialogButtonsProps.md.061c091d.async.js → docs__rc-pro__dialog___api__type-aliases__DialogButtonsProps.md.10b6bc8d.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__DialogDrawerProps.md.32adaa67.async.js → docs__rc-pro__dialog___api__type-aliases__DialogDrawerProps.md.4d0b0459.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__DialogModalProps.md.f9fe0f4f.async.js → docs__rc-pro__dialog___api__type-aliases__DialogModalProps.md.020421e1.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__OkBtnProps.md.ea328029.async.js → docs__rc-pro__dialog___api__type-aliases__OkBtnProps.md.df9f263a.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__OkEvent.md.4b1ae037.async.js → docs__rc-pro__dialog___api__type-aliases__OkEvent.md.c7ec7123.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__Service.md.44f8ef7e.async.js → docs__rc-pro__dialog___api__type-aliases__Service.md.6cf4c49d.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__editor___api__index.md.ef53cb32.async.js → docs__rc-pro__editor___api__index.md.806efab7.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__editor___api__type-aliases__EditorCodeProps.md.d521a185.async.js → docs__rc-pro__editor___api__type-aliases__EditorCodeProps.md.1a78f516.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__editor___api__type-aliases__EditorRichProps.md.893e1d95.async.js → docs__rc-pro__editor___api__type-aliases__EditorRichProps.md.1526f411.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__editor___api__type-aliases__LexicalEditorBaseProps.md.a0dd6f4c.async.js → docs__rc-pro__editor___api__type-aliases__LexicalEditorBaseProps.md.efbfec2c.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__editor___api__type-aliases__RichImageUpload.md.7586e32b.async.js → docs__rc-pro__editor___api__type-aliases__RichImageUpload.md.d386fae1.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__form___api__index.md.ff691778.async.js → docs__rc-pro__form___api__index.md.0d80a8ef.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__form___api__type-aliases__FormItem.md.87be7aec.async.js → docs__rc-pro__form___api__type-aliases__FormItem.md.2ef8f670.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__form___api__type-aliases__FormItemChildren.md.04d0ec88.async.js → docs__rc-pro__form___api__type-aliases__FormItemChildren.md.852f5415.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__form___api__type-aliases__FormItemProps.md.f4b50b5e.async.js → docs__rc-pro__form___api__type-aliases__FormItemProps.md.cfad0725.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__form___api__type-aliases__FormListProps.md.c9e7229e.async.js → docs__rc-pro__form___api__type-aliases__FormListProps.md.3ce363ad.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__form___api__type-aliases__ListItemBtnProps.md.5e43e012.async.js → docs__rc-pro__form___api__type-aliases__ListItemBtnProps.md.f68c4402.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__form___api__type-aliases__RenderItem.md.5ea4e95c.async.js → docs__rc-pro__form___api__type-aliases__RenderItem.md.8eeef6c6.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__form___api__type-aliases__RenderItemButton.md.dd2c0118.async.js → docs__rc-pro__form___api__type-aliases__RenderItemButton.md.bab3405e.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__form___api__type-aliases__RenderItemProps.md.5c837071.async.js → docs__rc-pro__form___api__type-aliases__RenderItemProps.md.95e5e7d8.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__form___api__type-aliases__RuleType.md.bfaf5b74.async.js → docs__rc-pro__form___api__type-aliases__RuleType.md.e56e8fe8.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__form___api__type-aliases__ShowValidateEvent.md.845761c8.async.js → docs__rc-pro__form___api__type-aliases__ShowValidateEvent.md.1c0db839.async.js} +1 -1
- package/docs-dist/docs__rc-pro__index.md.25f3dfbd.async.js +1 -0
- package/docs-dist/{docs__rc-pro__page-layout___api__index.md.f933cde8.async.js → docs__rc-pro__page-layout___api__index.md.c535e6b4.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__page-layout___api__interfaces__KeepAliveTabsProps.md.a037da81.async.js → docs__rc-pro__page-layout___api__interfaces__KeepAliveTabsProps.md.eb8758c8.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__page-layout___api__interfaces__SinglePageProps.md.8bd894c7.async.js → docs__rc-pro__page-layout___api__interfaces__SinglePageProps.md.998482de.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__page-layout___api__type-aliases__MenuType.md.79b77337.async.js → docs__rc-pro__page-layout___api__type-aliases__MenuType.md.c1ce3b8d.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-table___api__index.md.da5f5e0c.async.js → docs__rc-pro__pro-table___api__index.md.1c149b7d.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-table___api__interfaces__ProTableProps.md.11bee76b.async.js → docs__rc-pro__pro-table___api__interfaces__ProTableProps.md.99154324.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-table___api__interfaces__TableInstance.md.b3023c86.async.js → docs__rc-pro__pro-table___api__interfaces__TableInstance.md.18ebe0f4.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-table___api__interfaces__TableProps.md.a0a0f608.async.js → docs__rc-pro__pro-table___api__interfaces__TableProps.md.32cf0854.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__LeafVerify.md.281e7051.async.js → docs__rc-pro__pro-table___api__type-aliases__LeafVerify.md.eacda6a2.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableColumn.md.f0f59207.async.js → docs__rc-pro__pro-table___api__type-aliases__TableColumn.md.376c1f4a.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableColumns.md.02e1af85.async.js → docs__rc-pro__pro-table___api__type-aliases__TableColumns.md.a5432088.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableData.md.7ab682b3.async.js → docs__rc-pro__pro-table___api__type-aliases__TableData.md.c853060f.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableFormItems.md.228c8159.async.js → docs__rc-pro__pro-table___api__type-aliases__TableFormItems.md.a62c7537.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableInstanceRef.md.8e3da7a2.async.js → docs__rc-pro__pro-table___api__type-aliases__TableInstanceRef.md.091247ff.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TreeInstance.md.2a7b637d.async.js → docs__rc-pro__pro-table___api__type-aliases__TreeInstance.md.9b11fee0.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-tabs___api__index.md.c0861fdf.async.js → docs__rc-pro__pro-tabs___api__index.md.c8a9c1ff.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-tabs___api__interfaces__TabsChangeProps.md.4671d3dc.async.js → docs__rc-pro__pro-tabs___api__interfaces__TabsChangeProps.md.c31813fb.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-tabs___api__interfaces__TabsContextType.md.e06c5adf.async.js → docs__rc-pro__pro-tabs___api__interfaces__TabsContextType.md.cc5241a0.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__pro-tabs___api__type-aliases__TabProps.md.9a9aa1b6.async.js → docs__rc-pro__pro-tabs___api__type-aliases__TabProps.md.9264b5cb.async.js} +1 -1
- package/docs-dist/docs__rc-pro__select___api__index.md.ea90d7dc.async.js +1 -0
- package/docs-dist/docs__rc-pro__select___api__interfaces__ApiRequestProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__select___api__interfaces__ApiRequestProps.md.7c3d76aa.async.js +1 -0
- package/docs-dist/docs__rc-pro__select___api__interfaces__RequestType.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__select___api__interfaces__RequestType.md.f32ab78c.async.js +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__ApiSelectProps.md.a0e4d882.async.js +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__CacheType.md.8fe52a8e.async.js +1 -0
- package/docs-dist/{docs__rc-pro__select___api__type-aliases__CustomizeSelectProps.md.e65bd44c.async.js → docs__rc-pro__select___api__type-aliases__CustomizeSelectProps.md.4b7ba9b4.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__select___api__type-aliases__ModalSelectProps.md.c923813c.async.js → docs__rc-pro__select___api__type-aliases__ModalSelectProps.md.24aa1062.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__select___api__type-aliases__SelectChildrenProps.md.23106cbc.async.js → docs__rc-pro__select___api__type-aliases__SelectChildrenProps.md.78b68535.async.js} +1 -1
- package/docs-dist/docs__rc-pro__select___api__type-aliases__SelectFieldNames.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__SelectFieldNames.md.69e4fe73.async.js +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__SelectProps.md.539fc906.async.js +1 -0
- package/docs-dist/{docs__rc-pro__upload___api__index.md.afbbad49.async.js → docs__rc-pro__upload___api__index.md.bdb6d1f4.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__upload___api__interfaces__ImageInfo.md.d823ba8e.async.js → docs__rc-pro__upload___api__interfaces__ImageInfo.md.b27b1b46.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__upload___api__type-aliases__FileUploadList.md.68327760.async.js → docs__rc-pro__upload___api__type-aliases__FileUploadList.md.4e43600c.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__upload___api__type-aliases__UploadImageProps.md.0bd837f2.async.js → docs__rc-pro__upload___api__type-aliases__UploadImageProps.md.bc7609b0.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__upload___api__type-aliases__UploadProps.md.0f91117c.async.js → docs__rc-pro__upload___api__type-aliases__UploadProps.md.1c53df2d.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__upload___api__type-aliases__UploadRequest.md.04c0e604.async.js → docs__rc-pro__upload___api__type-aliases__UploadRequest.md.b8594bb0.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__water-mark___api__index.md.9e696870.async.js → docs__rc-pro__water-mark___api__index.md.7f96f622.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__water-mark___api__type-aliases__WaterMarkProps.md.17279af0.async.js → docs__rc-pro__water-mark___api__type-aliases__WaterMarkProps.md.ed3387ca.async.js} +1 -1
- package/docs-dist/{form__demos.dfc37922.async.js → form__demos.9bb3e809.async.js} +1 -1
- package/docs-dist/guide/index.html +2 -2
- package/docs-dist/index.html +2 -2
- package/docs-dist/meta__docs.ab3d3c25.async.js +176 -0
- package/docs-dist/meta__packages.1f996fd0.chunk.css +1 -0
- package/docs-dist/{meta__packages.2767b211.async.js → meta__packages.85af824a.async.js} +659 -603
- package/docs-dist/packages__rc-pro__src__atom__index.md.a87a6f4f.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__select__index.md.4832fd7c.async.js +2 -0
- package/docs-dist/plugins/index.html +2 -2
- package/docs-dist/preload_helper.1f08a216.js +1 -0
- package/docs-dist/rc-pro/atom/_api/enumerations/DataEvent.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/index.md/index.html +2 -2
- package/docs-dist/{~demos/atom-demo-operation → rc-pro/atom/_api/interfaces/AtomCheckboxApiProps.md}/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomCheckboxProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomEllipsisProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomFullScreenProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomLoadingProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomMultiStateProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/interfaces/ResizeSize.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomCountdownInstance.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomCountdownProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterInstance.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItem.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItems.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomOperationProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomPageRequestProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomResizeProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomTitleProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/TableEventHandle.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/interfaces/ButtonGroupProps.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/interfaces/DropdownProps.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/interfaces/GroupButtonItem.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/type-aliases/ButtonProps.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/type-aliases/DropdownClick.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/type-aliases/DropdownMenuItemType.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/type-aliases/GroupClick.md/index.html +2 -2
- package/docs-dist/rc-pro/cascader/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/cascader/_api/type-aliases/ApiCascaderProps.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/AppConfigType.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/AppFieldNames.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/FnContextType.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/PageContextType.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/PageFieldNames.md/index.html +2 -2
- package/docs-dist/rc-pro/date-picker/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/date-picker/_api/type-aliases/DatePickerProps.md/index.html +2 -2
- package/docs-dist/rc-pro/date-picker/_api/type-aliases/RangePickerProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogContextType.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogDrawer.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogInterface.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogModal.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogButtonsProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogDrawerProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogModalProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/OkBtnProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/OkEvent.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/Service.md/index.html +2 -2
- package/docs-dist/rc-pro/editor/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/editor/_api/type-aliases/EditorCodeProps.md/index.html +2 -2
- package/docs-dist/rc-pro/editor/_api/type-aliases/EditorRichProps.md/index.html +2 -2
- package/docs-dist/rc-pro/editor/_api/type-aliases/LexicalEditorBaseProps.md/index.html +2 -2
- package/docs-dist/rc-pro/editor/_api/type-aliases/RichImageUpload.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItem.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItemChildren.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItemProps.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/FormListProps.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/ListItemBtnProps.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItem.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemButton.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemProps.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/RuleType.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/ShowValidateEvent.md/index.html +2 -2
- package/docs-dist/rc-pro/index.html +2 -2
- package/docs-dist/rc-pro/index.md/index.html +2 -2
- package/docs-dist/rc-pro/page-layout/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/page-layout/_api/interfaces/KeepAliveTabsProps.md/index.html +2 -2
- package/docs-dist/rc-pro/page-layout/_api/interfaces/SinglePageProps.md/index.html +2 -2
- package/docs-dist/rc-pro/page-layout/_api/type-aliases/MenuType.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/interfaces/ProTableProps.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/interfaces/TableInstance.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/interfaces/TableProps.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/LeafVerify.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumn.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumns.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableData.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItems.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableInstanceRef.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TreeInstance.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-tabs/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsChangeProps.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsContextType.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-tabs/_api/type-aliases/TabProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/interfaces/ApiRequestProps.md/index.html +15 -0
- package/docs-dist/rc-pro/select/_api/interfaces/RequestType.md/index.html +15 -0
- package/docs-dist/rc-pro/select/_api/type-aliases/ApiSelectProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/CacheType.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/CustomizeSelectProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/ModalSelectProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/SelectChildrenProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/SelectFieldNames.md/index.html +15 -0
- package/docs-dist/rc-pro/select/_api/type-aliases/SelectProps.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/interfaces/ImageInfo.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/type-aliases/FileUploadList.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadImageProps.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadProps.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadRequest.md/index.html +2 -2
- package/docs-dist/rc-pro/water-mark/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/water-mark/_api/type-aliases/WaterMarkProps.md/index.html +2 -2
- package/docs-dist/rc-pros/atom/index.html +2 -2
- package/docs-dist/rc-pros/auth/index.html +2 -2
- package/docs-dist/rc-pros/button/index.html +2 -2
- package/docs-dist/rc-pros/cascader/index.html +2 -2
- package/docs-dist/rc-pros/date-picker/index.html +2 -2
- package/docs-dist/rc-pros/dialog/index.html +2 -2
- package/docs-dist/rc-pros/editor/index.html +2 -2
- package/docs-dist/rc-pros/form/index.html +2 -2
- package/docs-dist/rc-pros/index.html +2 -2
- package/docs-dist/rc-pros/page-layout/index.html +2 -2
- package/docs-dist/rc-pros/pro-table/index.html +2 -2
- package/docs-dist/rc-pros/pro-tabs/index.html +2 -2
- package/docs-dist/rc-pros/result/index.html +2 -2
- package/docs-dist/rc-pros/select/index.html +2 -2
- package/docs-dist/rc-pros/time-picker/index.html +2 -2
- package/docs-dist/rc-pros/upload/index.html +2 -2
- package/docs-dist/rc-pros/water-mark/index.html +2 -2
- package/docs-dist/select__demos.6bbaba84.async.js +1 -0
- package/docs-dist/{umi.dd352436.js → umi.28e5818e.js} +58 -57
- package/docs-dist/utils/index.html +2 -2
- package/docs-dist/~demos/:id/index.html +2 -2
- package/docs-dist/~demos/atom-demo-base/index.html +2 -2
- package/docs-dist/~demos/atom-demo-checkbox/index.html +15 -0
- package/docs-dist/~demos/atom-demo-ellipsis/index.html +2 -2
- package/docs-dist/~demos/atom-demo-filter/index.html +2 -2
- package/docs-dist/~demos/atom-demo-state/index.html +2 -2
- package/docs-dist/~demos/auth-demo-basic/index.html +2 -2
- package/docs-dist/~demos/button-demo-button/index.html +2 -2
- package/docs-dist/~demos/button-demo-group/index.html +2 -2
- package/docs-dist/~demos/cascader-demo-basic/index.html +2 -2
- package/docs-dist/~demos/cascader-demo-cache/index.html +2 -2
- package/docs-dist/~demos/date-picker-demo-basic/index.html +2 -2
- package/docs-dist/~demos/date-picker-demo-range/index.html +2 -2
- package/docs-dist/~demos/dialog-demo-demos/index.html +2 -2
- package/docs-dist/~demos/dialog-demo-form/index.html +2 -2
- package/docs-dist/~demos/dialog-demo-prompt/index.html +2 -2
- package/docs-dist/~demos/editor-demo-demos/index.html +2 -2
- package/docs-dist/~demos/editor-demo-rich/index.html +2 -2
- package/docs-dist/~demos/form-demo-demos/index.html +2 -2
- package/docs-dist/~demos/packages-utils-src-demo-demos/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-basic/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-cascade/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-extra/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-filter/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-fixed/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-refresh/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-selection/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-show-depend/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-tree-async/index.html +2 -2
- package/docs-dist/~demos/pro-tabs-demo-basic/index.html +2 -2
- package/docs-dist/~demos/pro-tabs-demo-tab/index.html +2 -2
- package/docs-dist/~demos/result-demo-basic/index.html +2 -2
- package/docs-dist/~demos/select-demo-api/index.html +15 -0
- package/docs-dist/~demos/select-demo-basic/index.html +15 -0
- package/docs-dist/~demos/select-demo-customize/index.html +2 -2
- package/docs-dist/~demos/select-demo-customize-label/index.html +15 -0
- package/docs-dist/~demos/time-picker-demo-basic/index.html +2 -2
- package/docs-dist/~demos/upload-demo-basic/index.html +2 -2
- package/docs-dist/~demos/upload-demo-image/index.html +2 -2
- package/docs-dist/~demos/water-mark-demo-basic/index.html +2 -2
- package/es/atom/_api.d.ts +16 -9
- package/es/atom/check-api.d.ts +2 -0
- package/es/atom/check-api.js +34 -0
- package/es/atom/check.js +65 -31
- package/es/atom/ellipsis.d.ts +1 -1
- package/es/atom/ellipsis.js +1 -0
- package/es/atom/index.d.ts +17 -5
- package/es/atom/index.js +18 -2
- package/es/atom/index.less +28 -4
- package/es/atom/spin.d.ts +2 -0
- package/es/atom/spin.js +16 -0
- package/es/atom/useApiRequest.d.ts +5 -0
- package/es/atom/useApiRequest.js +55 -0
- package/es/atom/useFieldOptions.d.ts +12 -0
- package/es/atom/useFieldOptions.js +49 -0
- package/es/dialog/HookModal.js +24 -23
- package/es/dialog/hook.js +1 -1
- package/es/pro-table/table.js +13 -3
- package/es/select/_api.d.ts +17 -5
- package/es/select/api.js +11 -39
- package/es/select/customize.d.ts +1 -1
- package/es/select/customize.js +9 -6
- package/es/select/index.d.ts +2 -1
- package/es/select/index.js +29 -43
- package/es/select/index.less +3 -0
- package/package.json +1 -1
- package/docs-dist/atom__demos.90c61f8e.async.js +0 -1
- package/docs-dist/docs__rc-pro__atom___api__index.md.023b7960.async.js +0 -1
- package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomCheckboxProps.md.13c7ee2f.async.js +0 -1
- package/docs-dist/docs__rc-pro__index.md.828ce524.async.js +0 -1
- package/docs-dist/docs__rc-pro__select___api__index.md.ab1e2918.async.js +0 -1
- package/docs-dist/docs__rc-pro__select___api__type-aliases__ApiSelectProps.md.31b1e31e.async.js +0 -1
- package/docs-dist/docs__rc-pro__select___api__type-aliases__CacheType.md.992fa9c6.async.js +0 -1
- package/docs-dist/docs__rc-pro__select___api__type-aliases__SelectProps.md.199c9680.async.js +0 -1
- package/docs-dist/meta__docs.115fc631.async.js +0 -176
- package/docs-dist/meta__packages.6918a5b3.chunk.css +0 -1
- package/docs-dist/packages__rc-pro__src__atom__index.md.7cbd6276.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__select__index.md.522b5190.async.js +0 -1
- package/docs-dist/preload_helper.68e34430.js +0 -1
- package/docs-dist/select__demos.4ae9fdec.async.js +0 -1
|
@@ -1,40 +1,41 @@
|
|
|
1
|
-
(self.webpackChunkccs_ui=self.webpackChunkccs_ui||[]).push([[56],{23803:function(g,n,e){"use strict";var v,o;e.r(n),e.d(n,{demos:function(){return Hn}});var y=e(90228),_=e.n(y),u=e(87999),l=e.n(u),h=e(75271),i=e(3180),d=e(39203),s=e(28320),r=e(64723),c=e(85899),p=e.n(c),t=e(22126),a=e(32097),f=e(26123),P=e(93238),D=e(86638),O=e(13373),I=e(24887),m=e(9889),C=e(70110),R=e(39142),b=e(56251),E=e(21827),M=e(41974),x=e(68144),S=e(82187),T=e.n(S),U=e(64017),L=e(14306),K=e(85289),W=e(73799),j=e(81475),A=e(65173),k=e(89486),N=e.n(k),H=e(56973),F=e(16652),B=e(12648),Z=e(1444),z=e(22818),Q=e(97681),$=e(35030),V=e(88686),ne=e(86247),X=e(50712),J=e(81777),G=e(24324),le=e(31248),ae=e(94127),Y=e(70896),q=e(60136),te=e(52892),re=e(60301),ue=e(18437),oe=e(98708),ie=e(47797),me=e(29909),_e=e(88370),ve=e(32813),he=e(68296),Pe=e(71973),Re=e(80882),ge=e(76098),Me=e(1130),Ke=e(10077),Te=e(25922),pe=e(10436),de=e(17888),Ie=e.n(de),Ae=e(5791),Be=e(80998),Ue=e.n(Be),Se=e(96586),je=e(33553),w=e(73511),ee=e.n(w),ce=e(60489),fe=e(14894),Ce=e(2369),se=e.n(Ce),xe=e(10495),ke=e(18237),Ne=e(73801),He=e(9472),qe=e(31939),en=e(35119),Ye=e(52653),ye=e(45484),Ee=e(75419),be=e(32375),Oe=e(46619),Le=e(68240),We=e(51561),Ge=e(24605),nn=e(80932),Tn=e(53056),_t=e(39445),tn=e(49805),Vn=e(99696),tt=e(48496),ot=e(34887),st=e(37441),Gn=e(86763),Xn=e.n(Gn),Un=e(24365),An=e(8689),Ln=e(1775),Bn=e(8435),on=e(59881),Jn=e.n(on),Sn=e(5590),kn=e(89020),Kn=e(47107),sn=e(29175),Wn=e(78608),Yn=e(38751),mt=e(93325),jn=e(71794),rn=e(43449),an=e(91721),ln=e(64637),un=e(86954),dn=e(2534),cn=e(79579),_n=e(62376),mn=e(73541),pn=e(84799),fn=e(65683),vn=e(4683),hn=e(98143),gn=e(37293),En=e(83857),Xe=e(50796),xn=e(94350),Pn=e(93261),Cn=e(3833),yn=e(3034),bn=e(14635),Dn=e(83844),Mn=e(24181),Je=e(2978),On=e(13273),Fn=e(48666),In=e(26707),Nn=e(63552),rt=e(34073),at=e(27741),Zn=e(79176),pt=e.n(Zn),it=e(13343),Qn=e(40815),$n=e(85600),lt=e(7214),ut=e(69157),qn=e(6145),wn=e(69838),dt=e(54249),et=e(92523),Rn=e(56062),zn=e(83346),ct=e(20509),nt=e(67764),Hn={"atom-demo-base":{component:h.memo(h.lazy(function(){return e.e(9254).then(e.bind(e,5702))})),asset:{type:"BLOCK",id:"atom-demo-base",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(77822).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u57FA\u7840"},context:{"@ant-design/icons":i,"@ccs-ui/rc-pro":d,antd:s,react:v||(v=e.t(h,2))},renderOpts:{compile:function(){var Ve=l()(_()().mark(function we(){var Fe,Ze=arguments;return _()().wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return De.next=2,e.e(9510).then(e.bind(e,59510));case 2:return De.abrupt("return",(Fe=De.sent).default.apply(Fe,Ze));case 3:case"end":return De.stop()}},we)}));function $e(){return Ve.apply(this,arguments)}return $e}()}},"atom-demo-state":{component:h.memo(h.lazy(function(){return e.e(9254).then(e.bind(e,29626))})),asset:{type:"BLOCK",id:"atom-demo-state",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(20315).Z},antd:{type:"NPM",value:"5.27.3"},"../useComplexState.tsx":{type:"FILE",value:e(84109).Z},"immutability-helper":{type:"NPM",value:"3.1.1"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u590D\u6742\u72B6\u6001\u7BA1\u7406",description:"\u5BF9\u591A\u4E2A\u72B6\u6001\u8FDB\u884C\u7BA1\u7406\uFF0C\u6839\u636E\u5B57\u6BB5\u8DEF\u5F84\u66F4\u65B0\u503C"},context:{"../useComplexState.tsx":r,antd:s,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":r,"immutability-helper":c,react:v||(v=e.t(h,2))},renderOpts:{compile:function(){var Ve=l()(_()().mark(function we(){var Fe,Ze=arguments;return _()().wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return De.next=2,e.e(9510).then(e.bind(e,59510));case 2:return De.abrupt("return",(Fe=De.sent).default.apply(Fe,Ze));case 3:case"end":return De.stop()}},we)}));function $e(){return Ve.apply(this,arguments)}return $e}()}},"atom-demo-ellipsis":{component:h.memo(h.lazy(function(){return e.e(9254).then(e.bind(e,6777))})),asset:{type:"BLOCK",id:"atom-demo-ellipsis",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(5228).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6587\u672C\u7F29\u7565"},context:{"@ccs-ui/rc-pro":d,antd:s},renderOpts:{compile:function(){var Ve=l()(_()().mark(function we(){var Fe,Ze=arguments;return _()().wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return De.next=2,e.e(9510).then(e.bind(e,59510));case 2:return De.abrupt("return",(Fe=De.sent).default.apply(Fe,Ze));case 3:case"end":return De.stop()}},we)}));function $e(){return Ve.apply(this,arguments)}return $e}()}},"atom-demo-operation":{component:h.memo(h.lazy(function(){return e.e(9254).then(e.bind(e,41756))})),asset:{type:"BLOCK",id:"atom-demo-operation",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(49958).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},"../check.tsx":{type:"FILE",value:e(13924).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"},"..tsx":{type:"FILE",value:e(7169).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},"./index.less":{type:"FILE",value:e(47285).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./loading.tsx":{type:"FILE",value:e(91680).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./count-down.tsx":{type:"FILE",value:e(36483).Z},ahooks:{type:"NPM",value:"3.9.5"},"immutability-helper":{type:"NPM",value:"3.1.1"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},classnames:{type:"NPM",value:"2.5.1"},"./item.tsx":{type:"FILE",value:e(2379).Z},runes2:{type:"NPM",value:"1.1.4"},"../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"./_api.ts":{type:"FILE",value:e(35759).Z},"...ts":{type:"FILE",value:e(21460).Z},"../hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"insert-css":{type:"NPM",value:"2.0.0"},"../context.ts":{type:"FILE",value:e(45757).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./aj-captcha.tsx":{type:"FILE",value:e(86893).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./button.tsx":{type:"FILE",value:e(80886).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./page-layout.tsx":{type:"FILE",value:e(63705).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./page-layout/keep-alive.tsx":{type:"FILE",value:e(42210).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./page-layout/single-page.tsx":{type:"FILE",value:e(76288).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).Z},"@ant-design/colors":{type:"NPM",value:"8.0.0"},"@ant-design/compatible":{type:"NPM",value:"5.1.4"},"./api.tsx":{type:"FILE",value:e(52504).Z},dayjs:{type:"NPM",value:"1.11.18"},"react-router":{type:"NPM",value:"6.3.0"},"react-router-dom":{type:"NPM",value:"6.3.0"},"tiny-pinyin":{type:"NPM",value:"1.3.2"},"./list.tsx":{type:"FILE",value:e(53019).Z},"react-resizable":{type:"NPM",value:"3.0.5"},"./summary.tsx":{type:"FILE",value:e(98670).Z},"./selection-alert.tsx":{type:"FILE",value:e(9267).Z},"./relative.tsx":{type:"FILE",value:e(62561).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./hook.tsx":{type:"FILE",value:e(98314).Z},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"./group.tsx":{type:"FILE",value:e(55736).Z},"./dropdown.tsx":{type:"FILE",value:e(83450).Z},"./page.tsx":{type:"FILE",value:e(79172).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./customize.tsx":{type:"FILE",value:e(5125).Z},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"lodash.debounce":{type:"NPM",value:"4.0.8"},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"@lexical/link":{type:"NPM",value:"0.38.2"},"@codemirror/language":{type:"NPM",value:"6.11.3"},"react-sortablejs":{type:"NPM",value:"6.1.4"},"@lexical/list":{type:"NPM",value:"0.38.2"},"antd-img-crop":{type:"NPM",value:"4.25.0"},"@codemirror/lint":{type:"NPM",value:"6.8.5"},"./code-base.tsx":{type:"FILE",value:e(46345).Z},"@lexical/rich-text":{type:"NPM",value:"0.38.2"},"react-dom":{type:"NPM",value:"18.3.1"},undefined:{type:"NPM"},lexical:{type:"NPM",value:"0.38.2"},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./code.less":{type:"FILE",value:e(49960).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},"./HookDrawer.tsx":{type:"FILE",value:e(95933).Z},"./HookModal.tsx":{type:"FILE",value:e(40656).Z},"./usePatchElement.tsx":{type:"FILE",value:e(96602).Z},"./_utils.ts":{type:"FILE",value:e(52067).Z},"../lexical/base.tsx":{type:"FILE",value:e(37634).Z},"../lexical/plugins/image/ImageNode.tsx":{type:"FILE",value:e(87173).Z},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).Z},"./theme.ts":{type:"FILE",value:e(91255).Z},"../lexical/plugins/init-html.tsx":{type:"FILE",value:e(1731).Z},"./export.ts":{type:"FILE",value:e(82227).Z},"./tree.tsx":{type:"FILE",value:e(97683).Z},"@lexical/html":{type:"NPM",value:"0.38.2"},"@lexical/react":{type:"NPM",value:"0.38.2"},"react-draggable":{type:"NPM",value:"4.5.0"},"./ImageComponent.tsx":{type:"FILE",value:e(74610).Z},"../../base/toolbar/upload.tsx":{type:"FILE",value:e(62989).Z},"../plugins/image.tsx":{type:"FILE",value:e(95791).Z},"./toolbar.tsx":{type:"FILE",value:e(49811).Z},"@lexical/selection":{type:"NPM",value:"0.38.2"},"@lexical/utils":{type:"NPM",value:"0.38.2"},"./code.tsx":{type:"FILE",value:e(58988).Z}},entry:"index.tsx",title:"\u64CD\u4F5C\u680F"},context:{"../check.tsx":t,"..tsx":a,"./filter.tsx":f,"./full-screen.tsx":P,"./index.less":D,"./ellipsis.tsx":O,"./usePageRequest.tsx":I,"./loading.tsx":m,"./resize-observer.tsx":C,"./operation.tsx":R,"./title.tsx":b,"./useComplexState.tsx":r,"./count-down.tsx":E,"./item.tsx":U,"../hooks/use-insert-css.ts":K,"./_api.ts":W,"...ts":d,"../hooks/use-app.ts":j,"../utils.ts":A,"../context.ts":H,"./ccs.ts":F,"./aj-captcha.tsx":B,"./auth.tsx":Z,"./button.tsx":z,"./cascader.tsx":Q,"./color-picker.tsx":$,"./config.tsx":V,"./date-picker.tsx":ne,"./dialog.tsx":X,"./editor.tsx":J,"./form.tsx":G,"./hooks/use-once-event.tsx":le,"./hooks/use-page.ts":ae,"./hooks/use-selection.ts":Y,"./hooks/use-tabs.tsx":q,"./hooks/use-window.ts":te,"./page-layout.tsx":re,"./select.tsx":ue,"./status-tag.tsx":oe,"./page-layout/keep-alive.tsx":ie,"./table.tsx":me,"./page-layout/single-page.tsx":_e,"./pro-tabs.tsx":ve,"./result.tsx":he,"./time-picker.tsx":Pe,"./upload.tsx":Re,"./pro-table.tsx":ge,"./water-mark.tsx":Me,"./api.tsx":pe,"./list.tsx":fe,"./summary.tsx":xe,"./selection-alert.tsx":ke,"./relative.tsx":Ne,"./upload-image.tsx":He,"./hook.tsx":qe,"../theme-dialog.ts":en,"./drawer-footer.tsx":Ye,"./context.ts":ye,"./group.tsx":Ee,"./dropdown.tsx":be,"./page.tsx":Oe,"./json.tsx":Le,"./javascript.tsx":We,"./sql.tsx":Ge,"./rich.tsx":nn,"./yaml.tsx":Tn,"./xml.tsx":_t,"./customize.tsx":tn,"./ modal.tsx":Vn,"./code-base.tsx":sn,"./context/_api.ts":rn,"./water-mark/_api.ts":an,"./page-layout/_api.ts":ln,"./button/_api.ts":un,"./date-picker/_api.ts":dn,"./pro-table/_api.ts":cn,"./cascader/_api.ts":_n,"./dialog/_api.ts":mn,"./select/_api.ts":pn,"./upload/_api.ts":fn,"./editor/_api.ts":vn,"./pro-tabs/_api.ts":hn,"./form/_api.ts":gn,"./code.less":En,"../hooks/use-input-css.ts":Xe,"./HookDrawer.tsx":xn,"./HookModal.tsx":Pn,"./usePatchElement.tsx":Cn,"./_utils.ts":yn,"../lexical/base.tsx":bn,"../lexical/plugins/image/ImageNode.tsx":Dn,"../lexical/base/styleConfig.ts":Mn,"./theme.ts":Je,"../lexical/plugins/init-html.tsx":On,"./export.ts":Fn,"./tree.tsx":In,"./ImageComponent.tsx":Qn,"../../base/toolbar/upload.tsx":qn,"../plugins/image.tsx":et,"./toolbar.tsx":Rn,"./code.tsx":nt,"@ccs-ui/rc-pro":d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":t,"@ant-design/icons":i,antd:s,react:v||(v=e.t(h,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":f,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":P,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.less":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":m,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":r,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":E,ahooks:M,"immutability-helper":c,"@ccs-ui/utils":x,classnames:S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/item.tsx":U,runes2:L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":K,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/index.ts":d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":A,"insert-css":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":H,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":Q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":$,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":V,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":X,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":J,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":G,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":le,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":Y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/index.tsx":re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":oe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/single-page/index.tsx":_e,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":he,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":Pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":Re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":Me,"@ant-design/colors":Ke,"@ant-design/compatible":Te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":pe,dayjs:de,"react-router":Ae,"dayjs/plugin/customParseFormat":Be,"antd/es/config-provider":Se,"react-router-dom":je,"tiny-pinyin":w,"antd/locale/zh_CN":ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/list.tsx":fe,"react-resizable":Ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":Ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":He,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":en,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":Ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/group.tsx":Ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/page.tsx":Oe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":Le,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":We,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":Ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":nn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":Tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":_t,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":Vn,"@codemirror/lang-javascript":tt,"@codemirror/lang-sql":ot,"@codemirror/lang-json":st,"lodash.debounce":Gn,"@codemirror/lang-yaml":Un,"@codemirror/lang-xml":An,"@lexical/link":Ln,"@codemirror/language":Bn,"react-sortablejs":on,"@lexical/list":Sn,"antd-img-crop":kn,"@codemirror/lint":Kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":sn,"@lexical/rich-text":Wn,"react-dom/client":o||(o=e.t(Yn,2)),"@uiw/react-codemirror":mt,lexical:jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/_api.ts":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-input-css.ts":Xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":Mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":Je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/init-html.tsx":On,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":Fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":In,"@lexical/html":Nn,"@lexical/react/LexicalComposerContext":rt,"@ccs-ui/rc-pro/hooks/use-input-css":Xe,"@lexical/react/LexicalComposer":at,"react-draggable":Zn,"@lexical/react/LexicalContentEditable":it,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":Qn,"@lexical/react/LexicalErrorBoundary":$n,"@lexical/react/LexicalHistoryPlugin":lt,"@lexical/react/LexicalLinkPlugin":ut,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":qn,"@lexical/react/LexicalOnChangePlugin":wn,"@lexical/react/LexicalRichTextPlugin":dt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":et,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":Rn,"@ccs-ui/rc-pro/editor/rich/export":Fn,"@lexical/selection":zn,"@lexical/utils":ct,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":nt},renderOpts:{compile:function(){var Ve=l()(_()().mark(function we(){var Fe,Ze=arguments;return _()().wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return De.next=2,e.e(9510).then(e.bind(e,59510));case 2:return De.abrupt("return",(Fe=De.sent).default.apply(Fe,Ze));case 3:case"end":return De.stop()}},we)}));function $e(){return Ve.apply(this,arguments)}return $e}()}},"atom-demo-filter":{component:h.memo(h.lazy(function(){return e.e(9254).then(e.bind(e,28254))})),asset:{type:"BLOCK",id:"atom-demo-filter",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(51655).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6761\u4EF6\u7B5B\u9009",description:"\u81EA\u9002\u5E94\u5BB9\u5668\uFF0C\u663E\u793A\u5C55\u5F00\u9009\u9879"},context:{"@ccs-ui/rc-pro":d,antd:s},renderOpts:{compile:function(){var Ve=l()(_()().mark(function we(){var Fe,Ze=arguments;return _()().wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return De.next=2,e.e(9510).then(e.bind(e,59510));case 2:return De.abrupt("return",(Fe=De.sent).default.apply(Fe,Ze));case 3:case"end":return De.stop()}},we)}));function $e(){return Ve.apply(this,arguments)}return $e}()}}}},62708:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return h}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),u=e(75271),l=e(39203),h={"auth-demo-basic":{component:u.memo(u.lazy(function(){return e.e(3553).then(e.bind(e,1114))})),asset:{type:"BLOCK",id:"auth-demo-basic",refAtomIds:["auth"],dependencies:{"index.tsx":{type:"FILE",value:e(44403).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":l},renderOpts:{compile:function(){var i=_()(o()().mark(function s(){var r,c=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(r=t.sent).default.apply(r,c));case 3:case"end":return t.stop()}},s)}));function d(){return i.apply(this,arguments)}return d}()}}}},99350:function(g,n,e){"use strict";var v,o;e.r(n),e.d(n,{demos:function(){return Ve}});var y=e(90228),_=e.n(y),u=e(87999),l=e.n(u),h=e(75271),i=e(28320),d=e(668),s=e(3180),r=e(75419),c=e(32375),p=e(39203),t=e(12648),a=e(88686),f=e(32097),P=e(81475),D=e(97681),O=e(35030),I=e(24324),m=e(50712),C=e(81777),R=e(98708),b=e(86247),E=e(16652),M=e(71973),x=e(29909),S=e(32813),T=e(68296),U=e(80882),L=e(1444),K=e(60136),W=e(18437),j=e(60301),A=e(52892),k=e(76098),N=e(31248),H=e(1130),F=e(47797),B=e(88370),Z=e(94127),z=e(70896),Q=e(25922),$=e(10077),V=e(68144),ne=e(41974),X=e(10436),J=e(17888),G=e.n(J),le=e(82187),ae=e.n(le),Y=e(5791),q=e(56973),te=e(60489),re=e(80998),ue=e.n(re),oe=e(96586),ie=e(73511),me=e.n(ie),_e=e(33553),ve=e(86638),he=e(14894),Pe=e(85899),Re=e.n(Pe),ge=e(32272),Me=e(73801),Ke=e(2369),Te=e.n(Ke),pe=e(18237),de=e(10495),Ie=e(9472),Ae=e(22818),Be=e(31939),Ue=e(35119),Se=e(45484),je=e(52653),w=e(65173),ee=e(24605),ce=e(51561),fe=e(80932),Ce=e(68240),se=e(39445),xe=e(53056),ke=e(46619),Ne=e(49805),He=e(99696),qe=e(34887),en=e(48496),Ye=e(24365),ye=e(8689),Ee=e(37441),be=e(1775),Oe=e(89020),Le=e(86763),We=e.n(Le),Ge=e(8435),nn=e(5590),Tn=e(59881),_t=e.n(Tn),tn=e(29175),Vn=e(47107),tt=e(78608),ot=e(38751),st=e(93325),Gn=e(71794),Xn=e(21827),Un=e(93238),An=e(26123),Ln=e(9889),Bn=e(70110),on=e(39142),Jn=e(64723),Sn=e(13373),kn=e(24887),Kn=e(56251),sn=e(22126),Wn=e(85289),Yn=e(89486),mt=e.n(Yn),jn=e(62376),rn=e(73799),an=e(91721),ln=e(84799),un=e(37293),dn=e(86954),cn=e(98143),_n=e(65683),mn=e(73541),pn=e(43449),fn=e(2534),vn=e(79579),hn=e(4683),gn=e(64637),En=e(83857),Xe=e(50796),xn=e(3833),Pn=e(94350),Cn=e(93261),yn=e(24181),bn=e(14635),Dn=e(83844),Mn=e(13273),Je=e(48666),On=e(2978),Fn=e(14306),In=e(26707),Nn=e(3034),rt=e(63552),at=e(34073),Zn=e(79176),pt=e.n(Zn),it=e(27741),Qn=e(13343),$n=e(40815),lt=e(85600),ut=e(7214),qn=e(69157),wn=e(6145),dt=e(69838),et=e(54249),Rn=e(92523),zn=e(56062),ct=e(83346),nt=e(20509),Hn=e(67764),Ve={"button-demo-button":{component:h.memo(h.lazy(function(){return e.e(4219).then(e.bind(e,66412))})),asset:{type:"BLOCK",id:"button-demo-button",refAtomIds:["button"],dependencies:{"index.tsx":{type:"FILE",value:e(13703).Z},antd:{type:"NPM",value:"5.27.3"},"...tsx":{type:"FILE",value:e(49202).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},react:{type:"NPM",value:"18.3.1"},"./group.tsx":{type:"FILE",value:e(55736).Z},"./dropdown.tsx":{type:"FILE",value:e(83450).Z},"...ts":{type:"FILE",value:e(21460).Z},"./aj-captcha.tsx":{type:"FILE",value:e(86893).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./atom.tsx":{type:"FILE",value:e(7169).Z},"./hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./page-layout.tsx":{type:"FILE",value:e(63705).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).Z},"./page-layout/keep-alive.tsx":{type:"FILE",value:e(42210).Z},"./page-layout/single-page.tsx":{type:"FILE",value:e(76288).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"@ant-design/compatible":{type:"NPM",value:"5.1.4"},"@ant-design/colors":{type:"NPM",value:"8.0.0"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},ahooks:{type:"NPM",value:"3.9.5"},"./api.tsx":{type:"FILE",value:e(52504).Z},dayjs:{type:"NPM",value:"1.11.18"},classnames:{type:"NPM",value:"2.5.1"},"react-router":{type:"NPM",value:"6.3.0"},"../context.ts":{type:"FILE",value:e(45757).Z},"tiny-pinyin":{type:"NPM",value:"1.3.2"},"react-router-dom":{type:"NPM",value:"6.3.0"},"./index.less":{type:"FILE",value:e(47285).Z},"./list.tsx":{type:"FILE",value:e(53019).Z},"immutability-helper":{type:"NPM",value:"3.1.1"},"./item.tsx":{type:"FILE",value:e(68666).Z},"./relative.tsx":{type:"FILE",value:e(62561).Z},"react-resizable":{type:"NPM",value:"3.0.5"},"./selection-alert.tsx":{type:"FILE",value:e(9267).Z},"./summary.tsx":{type:"FILE",value:e(98670).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./button.tsx":{type:"FILE",value:e(80886).Z},"./hook.tsx":{type:"FILE",value:e(98314).Z},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"./page.tsx":{type:"FILE",value:e(79172).Z},"./customize.tsx":{type:"FILE",value:e(5125).Z},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"@lexical/link":{type:"NPM",value:"0.38.2"},"antd-img-crop":{type:"NPM",value:"4.25.0"},"lodash.debounce":{type:"NPM",value:"4.0.8"},"@codemirror/language":{type:"NPM",value:"6.11.3"},"@lexical/list":{type:"NPM",value:"0.38.2"},"react-sortablejs":{type:"NPM",value:"6.1.4"},"./code-base.tsx":{type:"FILE",value:e(46345).Z},"@codemirror/lint":{type:"NPM",value:"6.8.5"},"@lexical/rich-text":{type:"NPM",value:"0.38.2"},"react-dom":{type:"NPM",value:"18.3.1"},undefined:{type:"NPM"},lexical:{type:"NPM",value:"0.38.2"},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./loading.tsx":{type:"FILE",value:e(91680).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./check.tsx":{type:"FILE",value:e(13924).Z},"../../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"insert-css":{type:"NPM",value:"2.0.0"},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./atom/_api.ts":{type:"FILE",value:e(35759).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"./code.less":{type:"FILE",value:e(49960).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},"./usePatchElement.tsx":{type:"FILE",value:e(96602).Z},"./HookDrawer.tsx":{type:"FILE",value:e(95933).Z},"./HookModal.tsx":{type:"FILE",value:e(40656).Z},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).Z},"../lexical/base.tsx":{type:"FILE",value:e(37634).Z},"../lexical/plugins/image/ImageNode.tsx":{type:"FILE",value:e(87173).Z},"../lexical/plugins/init-html.tsx":{type:"FILE",value:e(1731).Z},"./export.ts":{type:"FILE",value:e(82227).Z},"./theme.ts":{type:"FILE",value:e(91255).Z},runes2:{type:"NPM",value:"1.1.4"},"./tree.tsx":{type:"FILE",value:e(97683).Z},"./_utils.ts":{type:"FILE",value:e(52067).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},"@lexical/html":{type:"NPM",value:"0.38.2"},"@lexical/react":{type:"NPM",value:"0.38.2"},"react-draggable":{type:"NPM",value:"4.5.0"},"./ImageComponent.tsx":{type:"FILE",value:e(74610).Z},"../../base/toolbar/upload.tsx":{type:"FILE",value:e(62989).Z},"../plugins/image.tsx":{type:"FILE",value:e(95791).Z},"./toolbar.tsx":{type:"FILE",value:e(49811).Z},"@lexical/selection":{type:"NPM",value:"0.38.2"},"@lexical/utils":{type:"NPM",value:"0.38.2"},"./code.tsx":{type:"FILE",value:e(58988).Z}},entry:"index.tsx",title:"\u6743\u9650\u6309\u94AE",description:"\u6743\u9650\uFF1AButton\uFF0CDropdown"},context:{"...tsx":d,"./group.tsx":r,"./dropdown.tsx":c,"...ts":p,"./aj-captcha.tsx":t,"./config.tsx":a,"./atom.tsx":f,"./hooks/use-app.ts":P,"./cascader.tsx":D,"./color-picker.tsx":O,"./form.tsx":I,"./dialog.tsx":m,"./editor.tsx":C,"./status-tag.tsx":R,"./date-picker.tsx":b,"./ccs.ts":E,"./time-picker.tsx":M,"./table.tsx":x,"./pro-tabs.tsx":S,"./result.tsx":T,"./upload.tsx":U,"./auth.tsx":L,"./hooks/use-tabs.tsx":K,"./select.tsx":W,"./page-layout.tsx":j,"./hooks/use-window.ts":A,"./pro-table.tsx":k,"./hooks/use-once-event.tsx":N,"./water-mark.tsx":H,"./page-layout/keep-alive.tsx":F,"./page-layout/single-page.tsx":B,"./hooks/use-page.ts":Z,"./hooks/use-selection.ts":z,"./api.tsx":X,"../context.ts":q,"./index.less":ve,"./list.tsx":he,"./item.tsx":ge,"./relative.tsx":Me,"./selection-alert.tsx":pe,"./summary.tsx":de,"./upload-image.tsx":Ie,"./button.tsx":Ae,"./hook.tsx":Be,"../theme-dialog.ts":Ue,"./context.ts":Se,"./drawer-footer.tsx":je,"../utils.ts":w,"./sql.tsx":ee,"./javascript.tsx":ce,"./rich.tsx":fe,"./json.tsx":Ce,"./xml.tsx":se,"./yaml.tsx":xe,"./page.tsx":ke,"./customize.tsx":Ne,"./ modal.tsx":He,"./code-base.tsx":tn,"./count-down.tsx":Xn,"./full-screen.tsx":Un,"./filter.tsx":An,"./loading.tsx":Ln,"./resize-observer.tsx":Bn,"./operation.tsx":on,"./useComplexState.tsx":Jn,"./ellipsis.tsx":Sn,"./usePageRequest.tsx":kn,"./title.tsx":Kn,"./check.tsx":sn,"../../hooks/use-insert-css.ts":Wn,"./cascader/_api.ts":jn,"./atom/_api.ts":rn,"./water-mark/_api.ts":an,"./select/_api.ts":ln,"./form/_api.ts":un,"./button/_api.ts":dn,"./pro-tabs/_api.ts":cn,"./upload/_api.ts":_n,"./dialog/_api.ts":mn,"./context/_api.ts":pn,"./date-picker/_api.ts":fn,"./pro-table/_api.ts":vn,"./editor/_api.ts":hn,"./page-layout/_api.ts":gn,"./code.less":En,"../hooks/use-input-css.ts":Xe,"./usePatchElement.tsx":xn,"./HookDrawer.tsx":Pn,"./HookModal.tsx":Cn,"../lexical/base/styleConfig.ts":yn,"../lexical/base.tsx":bn,"../lexical/plugins/image/ImageNode.tsx":Dn,"../lexical/plugins/init-html.tsx":Mn,"./export.ts":Je,"./theme.ts":On,"./tree.tsx":In,"./_utils.ts":Nn,"./ImageComponent.tsx":$n,"../../base/toolbar/upload.tsx":wn,"../plugins/image.tsx":Rn,"./toolbar.tsx":zn,"./code.tsx":Hn,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/index.tsx":d,"@ant-design/icons":s,react:v||(v=e.t(h,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/group.tsx":r,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/index.ts":p,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":t,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":f,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":P,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":m,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":E,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":M,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":T,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":U,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":K,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/index.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":A,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":N,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":H,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/single-page/index.tsx":B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":z,"@ant-design/compatible":Q,"@ant-design/colors":$,"@ccs-ui/utils":V,ahooks:ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":X,dayjs:J,classnames:le,"react-router":Y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":q,"antd/locale/zh_CN":te,"dayjs/plugin/customParseFormat":re,"antd/es/config-provider":oe,"tiny-pinyin":ie,"react-router-dom":_e,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.less":ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/list.tsx":he,"immutability-helper":Pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/item.tsx":ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":Me,"react-resizable":Ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":de,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":Ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":Ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":Be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":Ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":Se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":w,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":Ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/page.tsx":ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":Ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":He,"@codemirror/lang-sql":qe,"@codemirror/lang-javascript":en,"@codemirror/lang-yaml":Ye,"@codemirror/lang-xml":ye,"@codemirror/lang-json":Ee,"@lexical/link":be,"antd-img-crop":Oe,"lodash.debounce":Le,"@codemirror/language":Ge,"@lexical/list":nn,"react-sortablejs":Tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":tn,"@codemirror/lint":Vn,"@lexical/rich-text":tt,"react-dom/client":o||(o=e.t(ot,2)),"@uiw/react-codemirror":st,lexical:Gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":Xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":Un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":An,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":Ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":Bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":on,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":Jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":Sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":Kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":Wn,"insert-css":Yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/_api.ts":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-input-css.ts":Xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/init-html.tsx":Mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":Je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":On,runes2:Fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":In,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":Nn,"@ccs-ui/rc-pro":p,"@lexical/html":rt,"@ccs-ui/rc-pro/hooks/use-input-css":Xe,"@lexical/react/LexicalComposerContext":at,"react-draggable":Zn,"@lexical/react/LexicalComposer":it,"@lexical/react/LexicalContentEditable":Qn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":$n,"@lexical/react/LexicalErrorBoundary":lt,"@lexical/react/LexicalHistoryPlugin":ut,"@lexical/react/LexicalLinkPlugin":qn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":wn,"@lexical/react/LexicalOnChangePlugin":dt,"@lexical/react/LexicalRichTextPlugin":et,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":Rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":zn,"@ccs-ui/rc-pro/editor/rich/export":Je,"@lexical/selection":ct,"@lexical/utils":nt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":Hn},renderOpts:{compile:function(){var $e=l()(_()().mark(function Fe(){var Ze,Qe=arguments;return _()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.next=2,e.e(9510).then(e.bind(e,59510));case 2:return ze.abrupt("return",(Ze=ze.sent).default.apply(Ze,Qe));case 3:case"end":return ze.stop()}},Fe)}));function we(){return $e.apply(this,arguments)}return we}()}},"button-demo-group":{component:h.memo(h.lazy(function(){return e.e(4219).then(e.bind(e,87807))})),asset:{type:"BLOCK",id:"button-demo-group",refAtomIds:["button"],dependencies:{"index.tsx":{type:"FILE",value:e(17367).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},antd:{type:"NPM",value:"5.27.3"},"...tsx":{type:"FILE",value:e(49202).Z},react:{type:"NPM",value:"18.3.1"},"...ts":{type:"FILE",value:e(21460).Z},"./dropdown.tsx":{type:"FILE",value:e(83450).Z},"./group.tsx":{type:"FILE",value:e(55736).Z},"./aj-captcha.tsx":{type:"FILE",value:e(86893).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./atom.tsx":{type:"FILE",value:e(7169).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"./page-layout.tsx":{type:"FILE",value:e(63705).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./page-layout/keep-alive.tsx":{type:"FILE",value:e(42210).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./page-layout/single-page.tsx":{type:"FILE",value:e(76288).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).Z},"@ant-design/colors":{type:"NPM",value:"8.0.0"},"@ant-design/compatible":{type:"NPM",value:"5.1.4"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},ahooks:{type:"NPM",value:"3.9.5"},"./api.tsx":{type:"FILE",value:e(52504).Z},dayjs:{type:"NPM",value:"1.11.18"},"react-router":{type:"NPM",value:"6.3.0"},"../context.ts":{type:"FILE",value:e(45757).Z},classnames:{type:"NPM",value:"2.5.1"},"react-router-dom":{type:"NPM",value:"6.3.0"},"tiny-pinyin":{type:"NPM",value:"1.3.2"},"./index.less":{type:"FILE",value:e(47285).Z},"./list.tsx":{type:"FILE",value:e(53019).Z},"./item.tsx":{type:"FILE",value:e(68666).Z},"immutability-helper":{type:"NPM",value:"3.1.1"},"./selection-alert.tsx":{type:"FILE",value:e(9267).Z},"./summary.tsx":{type:"FILE",value:e(98670).Z},"react-resizable":{type:"NPM",value:"3.0.5"},"./hook.tsx":{type:"FILE",value:e(98314).Z},"./button.tsx":{type:"FILE",value:e(80886).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./relative.tsx":{type:"FILE",value:e(62561).Z},"./page.tsx":{type:"FILE",value:e(79172).Z},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"./customize.tsx":{type:"FILE",value:e(5125).Z},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"lodash.debounce":{type:"NPM",value:"4.0.8"},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"@lexical/link":{type:"NPM",value:"0.38.2"},"react-sortablejs":{type:"NPM",value:"6.1.4"},"@codemirror/language":{type:"NPM",value:"6.11.3"},"@lexical/list":{type:"NPM",value:"0.38.2"},"./code-base.tsx":{type:"FILE",value:e(46345).Z},"react-dom":{type:"NPM",value:"18.3.1"},"@codemirror/lint":{type:"NPM",value:"6.8.5"},"@lexical/rich-text":{type:"NPM",value:"0.38.2"},"antd-img-crop":{type:"NPM",value:"4.25.0"},lexical:{type:"NPM",value:"0.38.2"},undefined:{type:"NPM"},"../../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},"./loading.tsx":{type:"FILE",value:e(91680).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./check.tsx":{type:"FILE",value:e(13924).Z},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"insert-css":{type:"NPM",value:"2.0.0"},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./atom/_api.ts":{type:"FILE",value:e(35759).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./HookModal.tsx":{type:"FILE",value:e(40656).Z},"./HookDrawer.tsx":{type:"FILE",value:e(95933).Z},"./usePatchElement.tsx":{type:"FILE",value:e(96602).Z},"./code.less":{type:"FILE",value:e(49960).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},"../lexical/base.tsx":{type:"FILE",value:e(37634).Z},"../lexical/plugins/init-html.tsx":{type:"FILE",value:e(1731).Z},"./theme.ts":{type:"FILE",value:e(91255).Z},"./export.ts":{type:"FILE",value:e(82227).Z},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).Z},"../lexical/plugins/image/ImageNode.tsx":{type:"FILE",value:e(87173).Z},runes2:{type:"NPM",value:"1.1.4"},"./tree.tsx":{type:"FILE",value:e(97683).Z},"./_utils.ts":{type:"FILE",value:e(52067).Z},"@lexical/html":{type:"NPM",value:"0.38.2"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},"react-draggable":{type:"NPM",value:"4.5.0"},"@lexical/react":{type:"NPM",value:"0.38.2"},"./ImageComponent.tsx":{type:"FILE",value:e(74610).Z},"../../base/toolbar/upload.tsx":{type:"FILE",value:e(62989).Z},"../plugins/image.tsx":{type:"FILE",value:e(95791).Z},"./toolbar.tsx":{type:"FILE",value:e(49811).Z},"@lexical/selection":{type:"NPM",value:"0.38.2"},"@lexical/utils":{type:"NPM",value:"0.38.2"},"./code.tsx":{type:"FILE",value:e(58988).Z}},entry:"index.tsx",title:"\u6309\u94AE\u7EC4",description:"\u6309\u94AE\u7EC4\u3002"},context:{"...tsx":d,"...ts":p,"./dropdown.tsx":c,"./group.tsx":r,"./aj-captcha.tsx":t,"./cascader.tsx":D,"./atom.tsx":f,"./date-picker.tsx":b,"./auth.tsx":L,"./editor.tsx":C,"./color-picker.tsx":O,"./config.tsx":a,"./dialog.tsx":m,"./form.tsx":I,"./hooks/use-tabs.tsx":K,"./hooks/use-app.ts":P,"./pro-table.tsx":k,"./ccs.ts":E,"./hooks/use-once-event.tsx":N,"./hooks/use-window.ts":A,"./pro-tabs.tsx":S,"./page-layout.tsx":j,"./hooks/use-page.ts":Z,"./page-layout/keep-alive.tsx":F,"./result.tsx":T,"./page-layout/single-page.tsx":B,"./hooks/use-selection.ts":z,"./select.tsx":W,"./status-tag.tsx":R,"./table.tsx":x,"./time-picker.tsx":M,"./upload.tsx":U,"./water-mark.tsx":H,"./api.tsx":X,"../context.ts":q,"./index.less":ve,"./list.tsx":he,"./item.tsx":ge,"./selection-alert.tsx":pe,"./summary.tsx":de,"./hook.tsx":Be,"./button.tsx":Ae,"./context.ts":Se,"./drawer-footer.tsx":je,"../theme-dialog.ts":Ue,"./relative.tsx":Me,"./page.tsx":ke,"./javascript.tsx":ce,"./sql.tsx":ee,"./upload-image.tsx":Ie,"./json.tsx":Ce,"./xml.tsx":se,"./rich.tsx":fe,"./yaml.tsx":xe,"../utils.ts":w,"./customize.tsx":Ne,"./ modal.tsx":He,"./code-base.tsx":tn,"../../hooks/use-insert-css.ts":Wn,"./filter.tsx":An,"./usePageRequest.tsx":kn,"./full-screen.tsx":Un,"./loading.tsx":Ln,"./operation.tsx":on,"./resize-observer.tsx":Bn,"./title.tsx":Kn,"./useComplexState.tsx":Jn,"./check.tsx":sn,"./count-down.tsx":Xn,"./ellipsis.tsx":Sn,"./context/_api.ts":pn,"./button/_api.ts":dn,"./editor/_api.ts":hn,"./cascader/_api.ts":jn,"./pro-table/_api.ts":vn,"./page-layout/_api.ts":gn,"./pro-tabs/_api.ts":cn,"./date-picker/_api.ts":fn,"./form/_api.ts":un,"./dialog/_api.ts":mn,"./water-mark/_api.ts":an,"./upload/_api.ts":_n,"./atom/_api.ts":rn,"./select/_api.ts":ln,"./HookModal.tsx":Cn,"./HookDrawer.tsx":Pn,"./usePatchElement.tsx":xn,"./code.less":En,"../hooks/use-input-css.ts":Xe,"../lexical/base.tsx":bn,"../lexical/plugins/init-html.tsx":Mn,"./theme.ts":On,"./export.ts":Je,"../lexical/base/styleConfig.ts":yn,"../lexical/plugins/image/ImageNode.tsx":Dn,"./tree.tsx":In,"./_utils.ts":Nn,"./ImageComponent.tsx":$n,"../../base/toolbar/upload.tsx":wn,"../plugins/image.tsx":Rn,"./toolbar.tsx":zn,"./code.tsx":Hn,"@ant-design/icons":s,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/index.tsx":d,react:v||(v=e.t(h,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/index.ts":p,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/group.tsx":r,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":t,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":f,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":m,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":K,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":P,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":E,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":N,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":A,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/index.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":T,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/single-page/index.tsx":B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":M,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":U,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":H,"@ant-design/colors":$,"@ant-design/compatible":Q,"@ccs-ui/utils":V,ahooks:ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":X,dayjs:J,"react-router":Y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":q,"antd/locale/zh_CN":te,classnames:le,"antd/es/config-provider":oe,"react-router-dom":_e,"tiny-pinyin":ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.less":ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/list.tsx":he,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/item.tsx":ge,"dayjs/plugin/customParseFormat":re,"immutability-helper":Pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":de,"react-resizable":Ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":Be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":Ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":Se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":Ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":Me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/page.tsx":ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":Ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":Ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":w,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":Ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":He,"@codemirror/lang-sql":qe,"@codemirror/lang-javascript":en,"@codemirror/lang-xml":ye,"lodash.debounce":Le,"@codemirror/lang-yaml":Ye,"@codemirror/lang-json":Ee,"@lexical/link":be,"react-sortablejs":Tn,"@codemirror/language":Ge,"@lexical/list":nn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":tn,"react-dom/client":o||(o=e.t(ot,2)),"@codemirror/lint":Vn,"@lexical/rich-text":tt,"antd-img-crop":Oe,lexical:Gn,"@uiw/react-codemirror":st,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":Wn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":An,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":Un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":Ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":on,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":Bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":Kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":Jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":Xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":Sn,"insert-css":Yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/_api.ts":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-input-css.ts":Xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/init-html.tsx":Mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":On,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":Je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":Dn,runes2:Fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":In,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":Nn,"@lexical/html":rt,"@ccs-ui/rc-pro":p,"react-draggable":Zn,"@ccs-ui/rc-pro/hooks/use-input-css":Xe,"@lexical/react/LexicalComposerContext":at,"@lexical/react/LexicalComposer":it,"@lexical/react/LexicalContentEditable":Qn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":$n,"@lexical/react/LexicalErrorBoundary":lt,"@lexical/react/LexicalHistoryPlugin":ut,"@lexical/react/LexicalLinkPlugin":qn,"@lexical/react/LexicalOnChangePlugin":dt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":wn,"@lexical/react/LexicalRichTextPlugin":et,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":Rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":zn,"@ccs-ui/rc-pro/editor/rich/export":Je,"@lexical/selection":ct,"@lexical/utils":nt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":Hn},renderOpts:{compile:function(){var $e=l()(_()().mark(function Fe(){var Ze,Qe=arguments;return _()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.next=2,e.e(9510).then(e.bind(e,59510));case 2:return ze.abrupt("return",(Ze=ze.sent).default.apply(Ze,Qe));case 3:case"end":return ze.stop()}},Fe)}));function we(){return $e.apply(this,arguments)}return we}()}}}},32120:function(g,n,e){"use strict";var v;e.r(n),e.d(n,{demos:function(){return d}});var o=e(90228),y=e.n(o),_=e(87999),u=e.n(_),l=e(75271),h=e(39203),i=e(28320),d={"cascader-demo-basic":{component:l.memo(l.lazy(function(){return e.e(7681).then(e.bind(e,55867))})),asset:{type:"BLOCK",id:"cascader-demo-basic",refAtomIds:["cascader"],dependencies:{"index.tsx":{type:"FILE",value:e(20532).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":h},renderOpts:{compile:function(){var s=u()(y()().mark(function c(){var p,t=arguments;return y()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,e.e(9510).then(e.bind(e,59510));case 2:return f.abrupt("return",(p=f.sent).default.apply(p,t));case 3:case"end":return f.stop()}},c)}));function r(){return s.apply(this,arguments)}return r}()}},"cascader-demo-cache":{component:l.memo(l.lazy(function(){return e.e(7681).then(e.bind(e,25868))})),asset:{type:"BLOCK",id:"cascader-demo-cache",refAtomIds:["cascader"],dependencies:{"index.tsx":{type:"FILE",value:e(75309).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u6570\u636E\u7F13\u5B58",description:"\u914D\u7F6Ecache\u5C5E\u6027\u540E\uFF0C\u5C06\u5F00\u542F\u6570\u636E\u7F13\u5B58"},context:{"@ccs-ui/rc-pro":h,antd:i,react:v||(v=e.t(l,2))},renderOpts:{compile:function(){var s=u()(y()().mark(function c(){var p,t=arguments;return y()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,e.e(9510).then(e.bind(e,59510));case 2:return f.abrupt("return",(p=f.sent).default.apply(p,t));case 3:case"end":return f.stop()}},c)}));function r(){return s.apply(this,arguments)}return r}()}}}},8218:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return i}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),u=e(75271),l=e(39203),h=e(28320),i={"date-picker-demo-basic":{component:u.memo(u.lazy(function(){return e.e(5003).then(e.bind(e,69306))})),asset:{type:"BLOCK",id:"date-picker-demo-basic",refAtomIds:["date-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(29634).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u5E74\uFF0C\u6708\uFF0C\u65E5\uFF0C\u65F6\u95F4\uFF0C\u8F93\u5165\u8F93\u51FA\u5B57\u7B26\u4E32\uFF0C\u4E0D\u9700\u8981\u8F6C\u6362Dayjs\u7C7B\u578B\u3002"},context:{"@ccs-ui/rc-pro":l,antd:h},renderOpts:{compile:function(){var d=_()(o()().mark(function r(){var c,p=arguments;return o()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.e(9510).then(e.bind(e,59510));case 2:return a.abrupt("return",(c=a.sent).default.apply(c,p));case 3:case"end":return a.stop()}},r)}));function s(){return d.apply(this,arguments)}return s}()}},"date-picker-demo-range":{component:u.memo(u.lazy(function(){return e.e(5003).then(e.bind(e,1687))})),asset:{type:"BLOCK",id:"date-picker-demo-range",refAtomIds:["date-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(49277).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u533A\u95F4\u9009\u62E9"},context:{"@ccs-ui/rc-pro":l,antd:h},renderOpts:{compile:function(){var d=_()(o()().mark(function r(){var c,p=arguments;return o()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.e(9510).then(e.bind(e,59510));case 2:return a.abrupt("return",(c=a.sent).default.apply(c,p));case 3:case"end":return a.stop()}},r)}));function s(){return d.apply(this,arguments)}return s}()}}}},98582:function(g,n,e){"use strict";var v;e.r(n),e.d(n,{demos:function(){return t}});var o=e(90228),y=e.n(o),_=e(87999),u=e.n(_),l=e(75271),h=e(39203),i=e(28320),d=e(80429),s=e(97764),r=e(38525),c=e(41974),p=e(99930),t={"dialog-demo-demos":{component:l.memo(l.lazy(function(){return e.e(447).then(e.bind(e,99699))})),asset:{type:"BLOCK",id:"dialog-demo-demos",refAtomIds:["dialog"],dependencies:{"index.tsx":{type:"FILE",value:e(4027).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},antd:{type:"NPM",value:"5.27.3"},"./FormCustom.tsx":{type:"FILE",value:e(91015).Z},"./Basic.tsx":{type:"FILE",value:e(58254).Z},"./Cache.tsx":{type:"FILE",value:e(26260).Z},ahooks:{type:"NPM",value:"3.9.5"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"./FormCustom.tsx":d,"./Basic.tsx":s,"./Cache.tsx":r,"@ccs-ui/rc-pro":h,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/FormCustom.tsx":d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/Basic.tsx":s,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/Cache.tsx":r,ahooks:c,react:v||(v=e.t(l,2)),"antd/es/form/hooks/useFormInstance":p},renderOpts:{compile:function(){var a=u()(y()().mark(function P(){var D,O=arguments;return y()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,e.e(9510).then(e.bind(e,59510));case 2:return m.abrupt("return",(D=m.sent).default.apply(D,O));case 3:case"end":return m.stop()}},P)}));function f(){return a.apply(this,arguments)}return f}()}},"dialog-demo-form":{component:l.memo(l.lazy(function(){return e.e(447).then(e.bind(e,6068))})),asset:{type:"BLOCK",id:"dialog-demo-form",refAtomIds:["dialog"],dependencies:{"index.tsx":{type:"FILE",value:e(77697).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u96C6\u6210\u8868\u5355\uFF0C\u63A5\u53E3\u8BF7\u6C42",description:"\u7ED3\u5408Form\u8868\u5355,\u81EA\u52A8\u6536\u96C6\u8868\u5355\u7ED3\u679C\uFF0C\u81EA\u52A8\u8C03\u7528\u63A5\u53E3\uFF0C\u53CD\u9988\u7ED3\u679C\u3002Drawer \u540C modal"},context:{"@ccs-ui/rc-pro":h,antd:i},renderOpts:{compile:function(){var a=u()(y()().mark(function P(){var D,O=arguments;return y()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,e.e(9510).then(e.bind(e,59510));case 2:return m.abrupt("return",(D=m.sent).default.apply(D,O));case 3:case"end":return m.stop()}},P)}));function f(){return a.apply(this,arguments)}return f}()}},"dialog-demo-prompt":{component:l.memo(l.lazy(function(){return e.e(447).then(e.bind(e,90336))})),asset:{type:"BLOCK",id:"dialog-demo-prompt",refAtomIds:["dialog"],dependencies:{"index.tsx":{type:"FILE",value:e(24606).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6D88\u606F\u53CD\u9988",description:"modal,message,notification,\u6D88\u606F\u63D0\u793A\uFF1A\u9002\u5E94\u4E3B\u9898\u53D8\u5316\u7684\u6D88\u606F\u63D0,\u65E0\u9700\u4F7F\u7528 contextHolder\u3002"},context:{"@ccs-ui/rc-pro":h,antd:i},renderOpts:{compile:function(){var a=u()(y()().mark(function P(){var D,O=arguments;return y()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,e.e(9510).then(e.bind(e,59510));case 2:return m.abrupt("return",(D=m.sent).default.apply(D,O));case 3:case"end":return m.stop()}},P)}));function f(){return a.apply(this,arguments)}return f}()}}}},17882:function(g,n,e){"use strict";var v;e.r(n),e.d(n,{demos:function(){return d}});var o=e(90228),y=e.n(o),_=e(87999),u=e.n(_),l=e(75271),h=e(39203),i=e(28320),d={"editor-demo-rich":{component:l.memo(l.lazy(function(){return e.e(3404).then(e.bind(e,36211))})),asset:{type:"BLOCK",id:"editor-demo-rich",refAtomIds:["editor"],dependencies:{"index.tsx":{type:"FILE",value:e(46912).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5BCC\u6587\u672C\u7F16\u8F91\u5668",description:"\u5BCC\u6587\u672C\u7F16\u8F91\u3001\u56FE\u7247\u4E0A\u4F20\u3001\u6E90\u7801\u7F16\u8F91"},context:{"@ccs-ui/rc-pro":h,antd:i,react:v||(v=e.t(l,2))},renderOpts:{compile:function(){var s=u()(y()().mark(function c(){var p,t=arguments;return y()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,e.e(9510).then(e.bind(e,59510));case 2:return f.abrupt("return",(p=f.sent).default.apply(p,t));case 3:case"end":return f.stop()}},c)}));function r(){return s.apply(this,arguments)}return r}()}},"editor-demo-demos":{component:l.memo(l.lazy(function(){return e.e(3404).then(e.bind(e,85768))})),asset:{type:"BLOCK",id:"editor-demo-demos",refAtomIds:["editor"],dependencies:{"index.tsx":{type:"FILE",value:e(25232).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4EE3\u7801\u7F16\u8F91\u5668"},context:{"@ccs-ui/rc-pro":h,antd:i,react:v||(v=e.t(l,2))},renderOpts:{compile:function(){var s=u()(y()().mark(function c(){var p,t=arguments;return y()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,e.e(9510).then(e.bind(e,59510));case 2:return f.abrupt("return",(p=f.sent).default.apply(p,t));case 3:case"end":return f.stop()}},c)}));function r(){return s.apply(this,arguments)}return r}()}}}},72913:function(g,n,e){"use strict";var v;e.r(n),e.d(n,{demos:function(){return d}});var o=e(90228),y=e.n(o),_=e(87999),u=e.n(_),l=e(75271),h=e(39203),i=e(28320),d={"form-demo-demos":{component:l.memo(l.lazy(function(){return e.e(6294).then(e.bind(e,7584))})),asset:{type:"BLOCK",id:"form-demo-demos",refAtomIds:["form"],dependencies:{"index.tsx":{type:"FILE",value:e(7570).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:`Form
|
|
2
|
-
\u57FA\u672C\u7528\u6CD5`,description:"Antd\u8868\u5355\u7EC4\u4EF6\u6269\u5C55\uFF0C\u4F9D\u8D56\u5224\u65AD\uFF0C\u663E\u793A\uFF0C\u5D4C\u5957\u5217\u8868\uFF0C\u62D6\u62FD\u6392\u5E8F\uFF0C\u7B80\u5355\u6821\u9A8C\u89C4\u5219"},context:{"@ccs-ui/rc-pro":h,antd:
|
|
1
|
+
(self.webpackChunkccs_ui=self.webpackChunkccs_ui||[]).push([[56],{23803:function(P,n,e){"use strict";var _;e.r(n),e.d(n,{demos:function(){return m}});var o=e(90228),C=e.n(o),f=e(87999),u=e.n(f),a=e(75271),h=e(3180),d=e(39203),c=e(28320),r=e(64723),s=e(85899),l=e.n(s),m={"atom-demo-base":{component:a.memo(a.lazy(function(){return e.e(9254).then(e.bind(e,5702))})),asset:{type:"BLOCK",id:"atom-demo-base",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(77822).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u57FA\u7840"},context:{"@ant-design/icons":h,"@ccs-ui/rc-pro":d,antd:c,react:_||(_=e.t(a,2))},renderOpts:{compile:function(){var t=u()(C()().mark(function p(){var y,v=arguments;return C()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,e.e(9510).then(e.bind(e,59510));case 2:return M.abrupt("return",(y=M.sent).default.apply(y,v));case 3:case"end":return M.stop()}},p)}));function i(){return t.apply(this,arguments)}return i}()}},"atom-demo-state":{component:a.memo(a.lazy(function(){return e.e(9254).then(e.bind(e,29626))})),asset:{type:"BLOCK",id:"atom-demo-state",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(20315).Z},antd:{type:"NPM",value:"5.27.3"},"../useComplexState.tsx":{type:"FILE",value:e(84109).Z},"immutability-helper":{type:"NPM",value:"3.1.1"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u590D\u6742\u72B6\u6001\u7BA1\u7406",description:"\u5BF9\u591A\u4E2A\u72B6\u6001\u8FDB\u884C\u7BA1\u7406\uFF0C\u6839\u636E\u5B57\u6BB5\u8DEF\u5F84\u66F4\u65B0\u503C"},context:{"../useComplexState.tsx":r,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":r,"immutability-helper":s,react:_||(_=e.t(a,2))},renderOpts:{compile:function(){var t=u()(C()().mark(function p(){var y,v=arguments;return C()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,e.e(9510).then(e.bind(e,59510));case 2:return M.abrupt("return",(y=M.sent).default.apply(y,v));case 3:case"end":return M.stop()}},p)}));function i(){return t.apply(this,arguments)}return i}()}},"atom-demo-checkbox":{component:a.memo(a.lazy(function(){return e.e(9254).then(e.bind(e,95073))})),asset:{type:"BLOCK",id:"atom-demo-checkbox",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(77325).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5E73\u94FA\u591A\u9009"},context:{"@ccs-ui/rc-pro":d,react:_||(_=e.t(a,2))},renderOpts:{compile:function(){var t=u()(C()().mark(function p(){var y,v=arguments;return C()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,e.e(9510).then(e.bind(e,59510));case 2:return M.abrupt("return",(y=M.sent).default.apply(y,v));case 3:case"end":return M.stop()}},p)}));function i(){return t.apply(this,arguments)}return i}()}},"atom-demo-ellipsis":{component:a.memo(a.lazy(function(){return e.e(9254).then(e.bind(e,6777))})),asset:{type:"BLOCK",id:"atom-demo-ellipsis",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(5228).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6587\u672C\u7F29\u7565"},context:{"@ccs-ui/rc-pro":d,antd:c},renderOpts:{compile:function(){var t=u()(C()().mark(function p(){var y,v=arguments;return C()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,e.e(9510).then(e.bind(e,59510));case 2:return M.abrupt("return",(y=M.sent).default.apply(y,v));case 3:case"end":return M.stop()}},p)}));function i(){return t.apply(this,arguments)}return i}()}},"atom-demo-filter":{component:a.memo(a.lazy(function(){return e.e(9254).then(e.bind(e,28254))})),asset:{type:"BLOCK",id:"atom-demo-filter",refAtomIds:["atom"],dependencies:{"index.tsx":{type:"FILE",value:e(51655).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6761\u4EF6\u7B5B\u9009",description:"\u81EA\u9002\u5E94\u5BB9\u5668\uFF0C\u663E\u793A\u5C55\u5F00\u9009\u9879"},context:{"@ccs-ui/rc-pro":d,antd:c},renderOpts:{compile:function(){var t=u()(C()().mark(function p(){var y,v=arguments;return C()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,e.e(9510).then(e.bind(e,59510));case 2:return M.abrupt("return",(y=M.sent).default.apply(y,v));case 3:case"end":return M.stop()}},p)}));function i(){return t.apply(this,arguments)}return i}()}}}},62708:function(P,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return h}});var _=e(90228),o=e.n(_),C=e(87999),f=e.n(C),u=e(75271),a=e(39203),h={"auth-demo-basic":{component:u.memo(u.lazy(function(){return e.e(3553).then(e.bind(e,1114))})),asset:{type:"BLOCK",id:"auth-demo-basic",refAtomIds:["auth"],dependencies:{"index.tsx":{type:"FILE",value:e(44403).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":a},renderOpts:{compile:function(){var d=f()(o()().mark(function r(){var s,l=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(s=t.sent).default.apply(s,l));case 3:case"end":return t.stop()}},r)}));function c(){return d.apply(this,arguments)}return c}()}}}},3528:function(P,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return it}});var _={};e.r(_);var o={};e.r(o);var C={};e.r(C);var f={};e.r(f);var u={};e.r(u);var a={};e.r(a);var h={};e.r(h);var d={};e.r(d);var c={};e.r(c);var r={};e.r(r);var s={};e.r(s);var l={};e.r(l);var m={};e.r(m);var t=e(90228),i=e.n(t),p=e(87999),y=e.n(p),v=e(75271),O=e.t(v,2),M=e(28320),g=e(668),b=e(3180),I=e(39203),D=e(32375),x=e(75419),R=e(12648),E=e(1444),A=e(81777),U=e(86247),S=e(50712),F=e(88686),B=e(81475),j=e(35030),N=e(60136),k=e(97681),K=e(47797),L=e(24324),H=e(76098),W=e(68296),T=e(32813),Z=e(88370),z=e(16652),X=e(31248),$=e(29909),w=e(52892),q=e(80882),Y=e(94127),J=e(94283),G=e(60301),ie=e(70896),ae=e(1130),Q=e(71973),te=e(98708),ne=e(32097),le=e(10077),ue=e(25922),oe=e(68144),se=e(41974),_e=e(17888),ce=e(5791),he=e(82187),ve=e(10436),Pe=e(60489),Re=e(56973),Ee=e(33553),Oe=e(73511),Le=e(80998),Ie=e(96586),fe=e(86638),me=e(14894),ye=e(32272),Ae=e(85899),Be=e(10495),Te=e(18237),Se=e(73801),Ne=e(2369),V=e(35119),ee=e(31939),de=e(22818),pe=e(52653),xe=e(45484),re=e(51561),Ce=e(53056),Fe=e(80932),We=e(24605),ke=e(68240),Ze=e(39445),$e=e(9472),He=e(46619),Je=e(24365),Ge=e(34887),be=e(48496),ge=e(1775),De=e(8689),Me=e(37441),je=e(86763),Ue=e(65173),ze=e(5590),Ye=e(8435),Nn=e(78608),Qe=e(49805),qe=e(52668),en=e(99696),nn=e(29175),Wn=e(59881),kn=e(47107),at=e(38751),Zn=e.t(at,2),$n=e(89020),zn=e(71794),Hn=e(93325),tn=e(85289),on=e(9369),wn=e(89486),rn=e(73799),sn=e(83857),we=e(50796),an=e(94350),ln=e(3833),un=e(93261),dn=e(19505),cn=e(22126),mn=e(70110),pn=e(9889),_n=e(56251),fn=e(24887),vn=e(39142),hn=e(26123),gn=e(79831),En=e(64723),Cn=e(21827),Pn=e(93238),yn=e(13373),xn=e(2978),bn=e(14635),Dn=e(83844),On=e(13273),Mn=e(24181),Ve=e(48666),Vn=e(63552),Gn=e(34073),Rn=e(26707),In=e(3034),Xn=e(79176),Jn=e(27741),Tn=e(40815),Yn=e(13343),Qn=e(85600),qn=e(14306),et=e(7214),An=e(6145),nt=e(69157),tt=e(69838),ot=e(54249),Un=e(56062),Ln=e(92523),rt=e(83346),st=e(20509),Bn=e(67764),it={"button-demo-button":{component:v.memo(v.lazy(function(){return e.e(4219).then(e.bind(e,66412))})),asset:{type:"BLOCK",id:"button-demo-button",refAtomIds:["button"],dependencies:{"index.tsx":{type:"FILE",value:e(13703).Z},antd:{type:"NPM",value:"5.27.3"},"...tsx":{type:"FILE",value:e(49202).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},react:{type:"NPM",value:"18.3.1"},"...ts":{type:"FILE",value:e(21460).Z},"./dropdown.tsx":{type:"FILE",value:e(83450).Z},"./group.tsx":{type:"FILE",value:e(55736).Z},"./aj-captcha.tsx":{type:"FILE",value:e(86893).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./page-layout/keep-alive.tsx":{type:"FILE",value:e(42210).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"./page-layout/single-page.tsx":{type:"FILE",value:e(76288).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./page-layout.tsx":{type:"FILE",value:e(63705).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./atom.tsx":{type:"FILE",value:e(7169).Z},"@ant-design/colors":{type:"NPM",value:"8.0.0"},"@ant-design/compatible":{type:"NPM",value:"5.1.4"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},ahooks:{type:"NPM",value:"3.9.5"},dayjs:{type:"NPM",value:"1.11.18"},"react-router":{type:"NPM",value:"6.3.0"},classnames:{type:"NPM",value:"2.5.1"},"./api.tsx":{type:"FILE",value:e(52504).Z},"../context.ts":{type:"FILE",value:e(45757).Z},"react-router-dom":{type:"NPM",value:"6.3.0"},"tiny-pinyin":{type:"NPM",value:"1.3.2"},"./index.less":{type:"FILE",value:e(47285).Z},"./list.tsx":{type:"FILE",value:e(53019).Z},"./item.tsx":{type:"FILE",value:e(68666).Z},"immutability-helper":{type:"NPM",value:"3.1.1"},"./summary.tsx":{type:"FILE",value:e(98670).Z},"./selection-alert.tsx":{type:"FILE",value:e(9267).Z},"./relative.tsx":{type:"FILE",value:e(62561).Z},"react-resizable":{type:"NPM",value:"3.0.5"},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./hook.tsx":{type:"FILE",value:e(98314).Z},"./button.tsx":{type:"FILE",value:e(80886).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./page.tsx":{type:"FILE",value:e(79172).Z},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"@lexical/link":{type:"NPM",value:"0.38.2"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"lodash.debounce":{type:"NPM",value:"4.0.8"},"../utils.ts":{type:"FILE",value:e(47704).Z},"@lexical/list":{type:"NPM",value:"0.38.2"},"@codemirror/language":{type:"NPM",value:"6.11.3"},"@lexical/rich-text":{type:"NPM",value:"0.38.2"},"./customize.tsx":{type:"FILE",value:e(5125).Z},"../atom/useFieldOptions.tsx":{type:"FILE",value:e(39129).Z},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"./code-base.tsx":{type:"FILE",value:e(46345).Z},"react-sortablejs":{type:"NPM",value:"6.1.4"},"@codemirror/lint":{type:"NPM",value:"6.8.5"},"react-dom":{type:"NPM",value:"18.3.1"},"antd-img-crop":{type:"NPM",value:"4.25.0"},lexical:{type:"NPM",value:"0.38.2"},undefined:{type:"NPM"},"../../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"../atom/useApiRequest.tsx":{type:"FILE",value:e(44390).Z},"insert-css":{type:"NPM",value:"2.0.0"},"./atom/_api.ts":{type:"FILE",value:e(35759).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./code.less":{type:"FILE",value:e(49960).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./HookDrawer.tsx":{type:"FILE",value:e(95933).Z},"./usePatchElement.tsx":{type:"FILE",value:e(96602).Z},"./HookModal.tsx":{type:"FILE",value:e(40656).Z},"./check-api.tsx":{type:"FILE",value:e(793).Z},"./check.tsx":{type:"FILE",value:e(13924).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./loading.tsx":{type:"FILE",value:e(91680).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./spin.tsx":{type:"FILE",value:e(25941).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./theme.ts":{type:"FILE",value:e(91255).Z},"../lexical/base.tsx":{type:"FILE",value:e(37634).Z},"../lexical/plugins/image/ImageNode.tsx":{type:"FILE",value:e(87173).Z},"../lexical/plugins/init-html.tsx":{type:"FILE",value:e(1731).Z},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).Z},"./export.ts":{type:"FILE",value:e(82227).Z},"@lexical/html":{type:"NPM",value:"0.38.2"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},"@lexical/react":{type:"NPM",value:"0.38.2"},"./tree.tsx":{type:"FILE",value:e(97683).Z},"./_utils.ts":{type:"FILE",value:e(52067).Z},"react-draggable":{type:"NPM",value:"4.5.0"},"./ImageComponent.tsx":{type:"FILE",value:e(74610).Z},runes2:{type:"NPM",value:"1.1.4"},"../../base/toolbar/upload.tsx":{type:"FILE",value:e(62989).Z},"./toolbar.tsx":{type:"FILE",value:e(49811).Z},"../plugins/image.tsx":{type:"FILE",value:e(95791).Z},"@lexical/selection":{type:"NPM",value:"0.38.2"},"@lexical/utils":{type:"NPM",value:"0.38.2"},"./code.tsx":{type:"FILE",value:e(58988).Z}},entry:"index.tsx",title:"\u6743\u9650\u6309\u94AE",description:"\u6743\u9650\uFF1AButton\uFF0CDropdown"},context:{"...tsx":g,"...ts":I,"./dropdown.tsx":D,"./group.tsx":x,"./aj-captcha.tsx":R,"./auth.tsx":E,"./editor.tsx":A,"./date-picker.tsx":U,"./dialog.tsx":S,"./config.tsx":F,"./hooks/use-app.ts":B,"./color-picker.tsx":j,"./hooks/use-tabs.tsx":N,"./cascader.tsx":k,"./page-layout/keep-alive.tsx":K,"./form.tsx":L,"./pro-table.tsx":H,"./result.tsx":W,"./pro-tabs.tsx":T,"./page-layout/single-page.tsx":Z,"./ccs.ts":z,"./hooks/use-once-event.tsx":X,"./table.tsx":$,"./hooks/use-window.ts":w,"./upload.tsx":q,"./hooks/use-page.ts":Y,"./select.tsx":J,"./page-layout.tsx":G,"./hooks/use-selection.ts":ie,"./water-mark.tsx":ae,"./time-picker.tsx":Q,"./status-tag.tsx":te,"./atom.tsx":ne,"./api.tsx":ve,"../context.ts":Re,"./index.less":fe,"./list.tsx":me,"./item.tsx":ye,"./summary.tsx":Be,"./selection-alert.tsx":Te,"./relative.tsx":Se,"../theme-dialog.ts":V,"./hook.tsx":ee,"./button.tsx":de,"./drawer-footer.tsx":pe,"./context.ts":xe,"./javascript.tsx":re,"./yaml.tsx":Ce,"./rich.tsx":Fe,"./sql.tsx":We,"./json.tsx":ke,"./xml.tsx":Ze,"./upload-image.tsx":$e,"./page.tsx":He,"../utils.ts":Ue,"./customize.tsx":Qe,"../atom/useFieldOptions.tsx":qe,"./ modal.tsx":en,"./code-base.tsx":nn,"../../hooks/use-insert-css.ts":tn,"../atom/useApiRequest.tsx":on,"./atom/_api.ts":rn,"./button/_api.ts":_,"./editor/_api.ts":o,"./context/_api.ts":C,"./date-picker/_api.ts":f,"./dialog/_api.ts":u,"./select/_api.ts":a,"./code.less":sn,"./form/_api.ts":h,"./cascader/_api.ts":d,"./water-mark/_api.ts":c,"./upload/_api.ts":r,"./page-layout/_api.ts":s,"../hooks/use-input-css.ts":we,"./pro-table/_api.ts":l,"./pro-tabs/_api.ts":m,"./HookDrawer.tsx":an,"./usePatchElement.tsx":ln,"./HookModal.tsx":un,"./check-api.tsx":dn,"./check.tsx":cn,"./resize-observer.tsx":mn,"./loading.tsx":pn,"./title.tsx":_n,"./usePageRequest.tsx":fn,"./operation.tsx":vn,"./filter.tsx":hn,"./spin.tsx":gn,"./useComplexState.tsx":En,"./count-down.tsx":Cn,"./full-screen.tsx":Pn,"./ellipsis.tsx":yn,"./theme.ts":xn,"../lexical/base.tsx":bn,"../lexical/plugins/image/ImageNode.tsx":Dn,"../lexical/plugins/init-html.tsx":On,"../lexical/base/styleConfig.ts":Mn,"./export.ts":Ve,"./tree.tsx":Rn,"./_utils.ts":In,"./ImageComponent.tsx":Tn,"../../base/toolbar/upload.tsx":An,"./toolbar.tsx":Un,"../plugins/image.tsx":Ln,"./code.tsx":Bn,antd:M,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/index.tsx":g,"@ant-design/icons":b,react:O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/index.ts":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/group.tsx":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":E,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":A,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":U,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":N,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":K,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":H,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":T,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/single-page/index.tsx":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":X,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":$,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":w,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":Y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":J,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/index.tsx":G,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":Q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":ne,"@ant-design/colors":le,"@ant-design/compatible":ue,"@ccs-ui/utils":oe,ahooks:se,dayjs:_e,"react-router":ce,classnames:he,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":ve,"antd/locale/zh_CN":Pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":Re,"react-router-dom":Ee,"tiny-pinyin":Oe,"dayjs/plugin/customParseFormat":Le,"antd/es/config-provider":Ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.less":fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/list.tsx":me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/item.tsx":ye,"immutability-helper":Ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":Be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":Te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":Se,"react-resizable":Ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":V,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":de,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":Ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":Fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":We,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":Ze,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":$e,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/page.tsx":He,"@codemirror/lang-yaml":Je,"@codemirror/lang-sql":Ge,"@codemirror/lang-javascript":be,"@lexical/link":ge,"@codemirror/lang-xml":De,"@codemirror/lang-json":Me,"lodash.debounce":je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":Ue,"@lexical/list":ze,"@codemirror/language":Ye,"@lexical/rich-text":Nn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":Qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useFieldOptions.tsx":qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":en,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":nn,"react-sortablejs":Wn,"@codemirror/lint":kn,"react-dom/client":Zn,"antd-img-crop":$n,lexical:zn,"@uiw/react-codemirror":Hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useApiRequest.tsx":on,"insert-css":wn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":_,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":o,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":f,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":u,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":h,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":r,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/_api.ts":s,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-input-css.ts":we,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":l,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":m,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check-api.tsx":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/spin.tsx":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/init-html.tsx":On,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":Mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":Ve,"@lexical/html":Vn,"@ccs-ui/rc-pro":I,"@lexical/react/LexicalComposerContext":Gn,"@ccs-ui/rc-pro/hooks/use-input-css":we,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":Rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":In,"react-draggable":Xn,"@lexical/react/LexicalComposer":Jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":Tn,"@lexical/react/LexicalContentEditable":Yn,"@lexical/react/LexicalErrorBoundary":Qn,runes2:qn,"@lexical/react/LexicalHistoryPlugin":et,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":An,"@lexical/react/LexicalLinkPlugin":nt,"@lexical/react/LexicalOnChangePlugin":tt,"@lexical/react/LexicalRichTextPlugin":ot,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":Un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":Ln,"@ccs-ui/rc-pro/editor/rich/export":Ve,"@lexical/selection":rt,"@lexical/utils":st,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":Bn},renderOpts:{compile:function(){var Sn=y()(i()().mark(function Fn(){var Xe,Kn=arguments;return i()().wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Ke.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Ke.abrupt("return",(Xe=Ke.sent).default.apply(Xe,Kn));case 3:case"end":return Ke.stop()}},Fn)}));function jn(){return Sn.apply(this,arguments)}return jn}()}},"button-demo-group":{component:v.memo(v.lazy(function(){return e.e(4219).then(e.bind(e,87807))})),asset:{type:"BLOCK",id:"button-demo-group",refAtomIds:["button"],dependencies:{"index.tsx":{type:"FILE",value:e(17367).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},antd:{type:"NPM",value:"5.27.3"},"...tsx":{type:"FILE",value:e(49202).Z},react:{type:"NPM",value:"18.3.1"},"./group.tsx":{type:"FILE",value:e(55736).Z},"...ts":{type:"FILE",value:e(21460).Z},"./dropdown.tsx":{type:"FILE",value:e(83450).Z},"./aj-captcha.tsx":{type:"FILE",value:e(86893).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./atom.tsx":{type:"FILE",value:e(7169).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./page-layout/single-page.tsx":{type:"FILE",value:e(76288).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./page-layout.tsx":{type:"FILE",value:e(63705).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./page-layout/keep-alive.tsx":{type:"FILE",value:e(42210).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"@ant-design/colors":{type:"NPM",value:"8.0.0"},"@ant-design/compatible":{type:"NPM",value:"5.1.4"},ahooks:{type:"NPM",value:"3.9.5"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},dayjs:{type:"NPM",value:"1.11.18"},"./api.tsx":{type:"FILE",value:e(52504).Z},"react-router":{type:"NPM",value:"6.3.0"},classnames:{type:"NPM",value:"2.5.1"},"../context.ts":{type:"FILE",value:e(45757).Z},"react-router-dom":{type:"NPM",value:"6.3.0"},"tiny-pinyin":{type:"NPM",value:"1.3.2"},"./index.less":{type:"FILE",value:e(47285).Z},"./list.tsx":{type:"FILE",value:e(53019).Z},"./item.tsx":{type:"FILE",value:e(68666).Z},"immutability-helper":{type:"NPM",value:"3.1.1"},"./selection-alert.tsx":{type:"FILE",value:e(9267).Z},"./summary.tsx":{type:"FILE",value:e(98670).Z},"./relative.tsx":{type:"FILE",value:e(62561).Z},"react-resizable":{type:"NPM",value:"3.0.5"},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./button.tsx":{type:"FILE",value:e(80886).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"./hook.tsx":{type:"FILE",value:e(98314).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"./page.tsx":{type:"FILE",value:e(79172).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"lodash.debounce":{type:"NPM",value:"4.0.8"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"./customize.tsx":{type:"FILE",value:e(5125).Z},"../atom/useFieldOptions.tsx":{type:"FILE",value:e(39129).Z},"@lexical/link":{type:"NPM",value:"0.38.2"},"react-sortablejs":{type:"NPM",value:"6.1.4"},"@codemirror/language":{type:"NPM",value:"6.11.3"},"@lexical/list":{type:"NPM",value:"0.38.2"},"react-dom":{type:"NPM",value:"18.3.1"},"antd-img-crop":{type:"NPM",value:"4.25.0"},"./code-base.tsx":{type:"FILE",value:e(46345).Z},"@codemirror/lint":{type:"NPM",value:"6.8.5"},"@lexical/rich-text":{type:"NPM",value:"0.38.2"},undefined:{type:"NPM"},lexical:{type:"NPM",value:"0.38.2"},"../atom/useApiRequest.tsx":{type:"FILE",value:e(44390).Z},"../../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"insert-css":{type:"NPM",value:"2.0.0"},"./atom/_api.ts":{type:"FILE",value:e(35759).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"./usePatchElement.tsx":{type:"FILE",value:e(96602).Z},"./HookDrawer.tsx":{type:"FILE",value:e(95933).Z},"./HookModal.tsx":{type:"FILE",value:e(40656).Z},"./code.less":{type:"FILE",value:e(49960).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},"./check.tsx":{type:"FILE",value:e(13924).Z},"./loading.tsx":{type:"FILE",value:e(91680).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./check-api.tsx":{type:"FILE",value:e(793).Z},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./spin.tsx":{type:"FILE",value:e(25941).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./theme.ts":{type:"FILE",value:e(91255).Z},"../lexical/base.tsx":{type:"FILE",value:e(37634).Z},"../lexical/plugins/image/ImageNode.tsx":{type:"FILE",value:e(87173).Z},"../lexical/plugins/init-html.tsx":{type:"FILE",value:e(1731).Z},"./export.ts":{type:"FILE",value:e(82227).Z},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).Z},"./tree.tsx":{type:"FILE",value:e(97683).Z},"./_utils.ts":{type:"FILE",value:e(52067).Z},"react-draggable":{type:"NPM",value:"4.5.0"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},"@lexical/html":{type:"NPM",value:"0.38.2"},"@lexical/react":{type:"NPM",value:"0.38.2"},"./ImageComponent.tsx":{type:"FILE",value:e(74610).Z},runes2:{type:"NPM",value:"1.1.4"},"../../base/toolbar/upload.tsx":{type:"FILE",value:e(62989).Z},"./toolbar.tsx":{type:"FILE",value:e(49811).Z},"../plugins/image.tsx":{type:"FILE",value:e(95791).Z},"@lexical/selection":{type:"NPM",value:"0.38.2"},"@lexical/utils":{type:"NPM",value:"0.38.2"},"./code.tsx":{type:"FILE",value:e(58988).Z}},entry:"index.tsx",title:"\u6309\u94AE\u7EC4",description:"\u6309\u94AE\u7EC4\u3002"},context:{"...tsx":g,"./group.tsx":x,"...ts":I,"./dropdown.tsx":D,"./aj-captcha.tsx":R,"./cascader.tsx":k,"./editor.tsx":A,"./atom.tsx":ne,"./color-picker.tsx":j,"./auth.tsx":E,"./ccs.ts":z,"./config.tsx":F,"./form.tsx":L,"./date-picker.tsx":U,"./dialog.tsx":S,"./hooks/use-selection.ts":ie,"./page-layout/single-page.tsx":Z,"./pro-table.tsx":H,"./hooks/use-window.ts":w,"./hooks/use-app.ts":B,"./pro-tabs.tsx":T,"./hooks/use-tabs.tsx":N,"./page-layout.tsx":G,"./hooks/use-once-event.tsx":X,"./result.tsx":W,"./page-layout/keep-alive.tsx":K,"./hooks/use-page.ts":Y,"./time-picker.tsx":Q,"./status-tag.tsx":te,"./water-mark.tsx":ae,"./table.tsx":$,"./select.tsx":J,"./upload.tsx":q,"./api.tsx":ve,"../context.ts":Re,"./index.less":fe,"./list.tsx":me,"./item.tsx":ye,"./selection-alert.tsx":Te,"./summary.tsx":Be,"./relative.tsx":Se,"../theme-dialog.ts":V,"./button.tsx":de,"./context.ts":xe,"./hook.tsx":ee,"./drawer-footer.tsx":pe,"./page.tsx":He,"./upload-image.tsx":$e,"../utils.ts":Ue,"./json.tsx":ke,"./xml.tsx":Ze,"./javascript.tsx":re,"./yaml.tsx":Ce,"./rich.tsx":Fe,"./sql.tsx":We,"./ modal.tsx":en,"./customize.tsx":Qe,"../atom/useFieldOptions.tsx":qe,"./code-base.tsx":nn,"../atom/useApiRequest.tsx":on,"../../hooks/use-insert-css.ts":tn,"./atom/_api.ts":rn,"./button/_api.ts":_,"./form/_api.ts":h,"./editor/_api.ts":o,"./context/_api.ts":C,"./date-picker/_api.ts":f,"./cascader/_api.ts":d,"./pro-table/_api.ts":l,"./pro-tabs/_api.ts":m,"./select/_api.ts":a,"./water-mark/_api.ts":c,"./dialog/_api.ts":u,"./upload/_api.ts":r,"./page-layout/_api.ts":s,"./usePatchElement.tsx":ln,"./HookDrawer.tsx":an,"./HookModal.tsx":un,"./code.less":sn,"../hooks/use-input-css.ts":we,"./check.tsx":cn,"./loading.tsx":pn,"./operation.tsx":vn,"./resize-observer.tsx":mn,"./check-api.tsx":dn,"./count-down.tsx":Cn,"./spin.tsx":gn,"./ellipsis.tsx":yn,"./title.tsx":_n,"./full-screen.tsx":Pn,"./useComplexState.tsx":En,"./filter.tsx":hn,"./usePageRequest.tsx":fn,"./theme.ts":xn,"../lexical/base.tsx":bn,"../lexical/plugins/image/ImageNode.tsx":Dn,"../lexical/plugins/init-html.tsx":On,"./export.ts":Ve,"../lexical/base/styleConfig.ts":Mn,"./tree.tsx":Rn,"./_utils.ts":In,"./ImageComponent.tsx":Tn,"../../base/toolbar/upload.tsx":An,"./toolbar.tsx":Un,"../plugins/image.tsx":Ln,"./code.tsx":Bn,"@ant-design/icons":b,antd:M,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/index.tsx":g,react:O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/group.tsx":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/index.ts":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":A,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":E,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":U,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/single-page/index.tsx":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":H,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":w,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":T,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":N,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/index.tsx":G,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":X,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":K,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":Y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":Q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":$,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":J,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":q,"@ant-design/colors":le,"@ant-design/compatible":ue,ahooks:se,"@ccs-ui/utils":oe,dayjs:_e,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":ve,"react-router":ce,classnames:he,"antd/locale/zh_CN":Pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":Re,"react-router-dom":Ee,"dayjs/plugin/customParseFormat":Le,"antd/es/config-provider":Ie,"tiny-pinyin":Oe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.less":fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/list.tsx":me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/item.tsx":ye,"immutability-helper":Ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":Te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":Be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":Se,"react-resizable":Ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":V,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":de,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/page.tsx":He,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":$e,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":Ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":Ze,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":Ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":Fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":We,"lodash.debounce":je,"@codemirror/lang-xml":De,"@codemirror/lang-yaml":Je,"@codemirror/lang-javascript":be,"@codemirror/lang-json":Me,"@codemirror/lang-sql":Ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":en,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":Qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useFieldOptions.tsx":qe,"@lexical/link":ge,"react-sortablejs":Wn,"@codemirror/language":Ye,"@lexical/list":ze,"react-dom/client":Zn,"antd-img-crop":$n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":nn,"@codemirror/lint":kn,"@lexical/rich-text":Nn,"@uiw/react-codemirror":Hn,lexical:zn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useApiRequest.tsx":on,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":tn,"insert-css":wn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":_,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":h,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":o,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":f,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":l,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":m,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":u,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":r,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/_api.ts":s,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-input-css.ts":we,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check-api.tsx":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/spin.tsx":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/init-html.tsx":On,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":Ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":Mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":Rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":In,"react-draggable":Xn,"@ccs-ui/rc-pro":I,"@lexical/html":Vn,"@ccs-ui/rc-pro/hooks/use-input-css":we,"@lexical/react/LexicalComposerContext":Gn,"@lexical/react/LexicalComposer":Jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":Tn,runes2:qn,"@lexical/react/LexicalContentEditable":Yn,"@lexical/react/LexicalErrorBoundary":Qn,"@lexical/react/LexicalHistoryPlugin":et,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":An,"@lexical/react/LexicalLinkPlugin":nt,"@lexical/react/LexicalOnChangePlugin":tt,"@lexical/react/LexicalRichTextPlugin":ot,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":Un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":Ln,"@ccs-ui/rc-pro/editor/rich/export":Ve,"@lexical/selection":rt,"@lexical/utils":st,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":Bn},renderOpts:{compile:function(){var Sn=y()(i()().mark(function Fn(){var Xe,Kn=arguments;return i()().wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Ke.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Ke.abrupt("return",(Xe=Ke.sent).default.apply(Xe,Kn));case 3:case"end":return Ke.stop()}},Fn)}));function jn(){return Sn.apply(this,arguments)}return jn}()}}}},32120:function(P,n,e){"use strict";var _;e.r(n),e.d(n,{demos:function(){return c}});var o=e(90228),C=e.n(o),f=e(87999),u=e.n(f),a=e(75271),h=e(39203),d=e(28320),c={"cascader-demo-basic":{component:a.memo(a.lazy(function(){return e.e(7681).then(e.bind(e,55867))})),asset:{type:"BLOCK",id:"cascader-demo-basic",refAtomIds:["cascader"],dependencies:{"index.tsx":{type:"FILE",value:e(20532).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":h},renderOpts:{compile:function(){var r=u()(C()().mark(function l(){var m,t=arguments;return C()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,e.e(9510).then(e.bind(e,59510));case 2:return p.abrupt("return",(m=p.sent).default.apply(m,t));case 3:case"end":return p.stop()}},l)}));function s(){return r.apply(this,arguments)}return s}()}},"cascader-demo-cache":{component:a.memo(a.lazy(function(){return e.e(7681).then(e.bind(e,25868))})),asset:{type:"BLOCK",id:"cascader-demo-cache",refAtomIds:["cascader"],dependencies:{"index.tsx":{type:"FILE",value:e(75309).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u6570\u636E\u7F13\u5B58",description:"\u914D\u7F6Ecache\u5C5E\u6027\u540E\uFF0C\u5C06\u5F00\u542F\u6570\u636E\u7F13\u5B58"},context:{"@ccs-ui/rc-pro":h,antd:d,react:_||(_=e.t(a,2))},renderOpts:{compile:function(){var r=u()(C()().mark(function l(){var m,t=arguments;return C()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,e.e(9510).then(e.bind(e,59510));case 2:return p.abrupt("return",(m=p.sent).default.apply(m,t));case 3:case"end":return p.stop()}},l)}));function s(){return r.apply(this,arguments)}return s}()}}}},8218:function(P,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return d}});var _=e(90228),o=e.n(_),C=e(87999),f=e.n(C),u=e(75271),a=e(39203),h=e(28320),d={"date-picker-demo-basic":{component:u.memo(u.lazy(function(){return e.e(5003).then(e.bind(e,69306))})),asset:{type:"BLOCK",id:"date-picker-demo-basic",refAtomIds:["date-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(29634).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u5E74\uFF0C\u6708\uFF0C\u65E5\uFF0C\u65F6\u95F4\uFF0C\u8F93\u5165\u8F93\u51FA\u5B57\u7B26\u4E32\uFF0C\u4E0D\u9700\u8981\u8F6C\u6362Dayjs\u7C7B\u578B\u3002"},context:{"@ccs-ui/rc-pro":a,antd:h},renderOpts:{compile:function(){var c=f()(o()().mark(function s(){var l,m=arguments;return o()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(9510).then(e.bind(e,59510));case 2:return i.abrupt("return",(l=i.sent).default.apply(l,m));case 3:case"end":return i.stop()}},s)}));function r(){return c.apply(this,arguments)}return r}()}},"date-picker-demo-range":{component:u.memo(u.lazy(function(){return e.e(5003).then(e.bind(e,1687))})),asset:{type:"BLOCK",id:"date-picker-demo-range",refAtomIds:["date-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(49277).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u533A\u95F4\u9009\u62E9"},context:{"@ccs-ui/rc-pro":a,antd:h},renderOpts:{compile:function(){var c=f()(o()().mark(function s(){var l,m=arguments;return o()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(9510).then(e.bind(e,59510));case 2:return i.abrupt("return",(l=i.sent).default.apply(l,m));case 3:case"end":return i.stop()}},s)}));function r(){return c.apply(this,arguments)}return r}()}}}},98582:function(P,n,e){"use strict";var _;e.r(n),e.d(n,{demos:function(){return t}});var o=e(90228),C=e.n(o),f=e(87999),u=e.n(f),a=e(75271),h=e(39203),d=e(28320),c=e(97764),r=e(80429),s=e(38525),l=e(41974),m=e(99930),t={"dialog-demo-demos":{component:a.memo(a.lazy(function(){return e.e(447).then(e.bind(e,99699))})),asset:{type:"BLOCK",id:"dialog-demo-demos",refAtomIds:["dialog"],dependencies:{"index.tsx":{type:"FILE",value:e(4027).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},"./Basic.tsx":{type:"FILE",value:e(58254).Z},"./FormCustom.tsx":{type:"FILE",value:e(91015).Z},"./Cache.tsx":{type:"FILE",value:e(26260).Z},ahooks:{type:"NPM",value:"3.9.5"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"./Basic.tsx":c,"./FormCustom.tsx":r,"./Cache.tsx":s,"@ccs-ui/rc-pro":h,antd:d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/Basic.tsx":c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/FormCustom.tsx":r,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/Cache.tsx":s,ahooks:l,react:_||(_=e.t(a,2)),"antd/es/form/hooks/useFormInstance":m},renderOpts:{compile:function(){var i=u()(C()().mark(function y(){var v,O=arguments;return C()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,e.e(9510).then(e.bind(e,59510));case 2:return g.abrupt("return",(v=g.sent).default.apply(v,O));case 3:case"end":return g.stop()}},y)}));function p(){return i.apply(this,arguments)}return p}()}},"dialog-demo-form":{component:a.memo(a.lazy(function(){return e.e(447).then(e.bind(e,6068))})),asset:{type:"BLOCK",id:"dialog-demo-form",refAtomIds:["dialog"],dependencies:{"index.tsx":{type:"FILE",value:e(77697).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u96C6\u6210\u8868\u5355\uFF0C\u63A5\u53E3\u8BF7\u6C42",description:"\u7ED3\u5408Form\u8868\u5355,\u81EA\u52A8\u6536\u96C6\u8868\u5355\u7ED3\u679C\uFF0C\u81EA\u52A8\u8C03\u7528\u63A5\u53E3\uFF0C\u53CD\u9988\u7ED3\u679C\u3002Drawer \u540C modal"},context:{"@ccs-ui/rc-pro":h,antd:d},renderOpts:{compile:function(){var i=u()(C()().mark(function y(){var v,O=arguments;return C()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,e.e(9510).then(e.bind(e,59510));case 2:return g.abrupt("return",(v=g.sent).default.apply(v,O));case 3:case"end":return g.stop()}},y)}));function p(){return i.apply(this,arguments)}return p}()}},"dialog-demo-prompt":{component:a.memo(a.lazy(function(){return e.e(447).then(e.bind(e,90336))})),asset:{type:"BLOCK",id:"dialog-demo-prompt",refAtomIds:["dialog"],dependencies:{"index.tsx":{type:"FILE",value:e(24606).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6D88\u606F\u53CD\u9988",description:"modal,message,notification,\u6D88\u606F\u63D0\u793A\uFF1A\u9002\u5E94\u4E3B\u9898\u53D8\u5316\u7684\u6D88\u606F\u63D0,\u65E0\u9700\u4F7F\u7528 contextHolder\u3002"},context:{"@ccs-ui/rc-pro":h,antd:d},renderOpts:{compile:function(){var i=u()(C()().mark(function y(){var v,O=arguments;return C()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,e.e(9510).then(e.bind(e,59510));case 2:return g.abrupt("return",(v=g.sent).default.apply(v,O));case 3:case"end":return g.stop()}},y)}));function p(){return i.apply(this,arguments)}return p}()}}}},17882:function(P,n,e){"use strict";var _;e.r(n),e.d(n,{demos:function(){return c}});var o=e(90228),C=e.n(o),f=e(87999),u=e.n(f),a=e(75271),h=e(39203),d=e(28320),c={"editor-demo-rich":{component:a.memo(a.lazy(function(){return e.e(3404).then(e.bind(e,36211))})),asset:{type:"BLOCK",id:"editor-demo-rich",refAtomIds:["editor"],dependencies:{"index.tsx":{type:"FILE",value:e(46912).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5BCC\u6587\u672C\u7F16\u8F91\u5668",description:"\u5BCC\u6587\u672C\u7F16\u8F91\u3001\u56FE\u7247\u4E0A\u4F20\u3001\u6E90\u7801\u7F16\u8F91"},context:{"@ccs-ui/rc-pro":h,antd:d,react:_||(_=e.t(a,2))},renderOpts:{compile:function(){var r=u()(C()().mark(function l(){var m,t=arguments;return C()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,e.e(9510).then(e.bind(e,59510));case 2:return p.abrupt("return",(m=p.sent).default.apply(m,t));case 3:case"end":return p.stop()}},l)}));function s(){return r.apply(this,arguments)}return s}()}},"editor-demo-demos":{component:a.memo(a.lazy(function(){return e.e(3404).then(e.bind(e,85768))})),asset:{type:"BLOCK",id:"editor-demo-demos",refAtomIds:["editor"],dependencies:{"index.tsx":{type:"FILE",value:e(25232).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4EE3\u7801\u7F16\u8F91\u5668"},context:{"@ccs-ui/rc-pro":h,antd:d,react:_||(_=e.t(a,2))},renderOpts:{compile:function(){var r=u()(C()().mark(function l(){var m,t=arguments;return C()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,e.e(9510).then(e.bind(e,59510));case 2:return p.abrupt("return",(m=p.sent).default.apply(m,t));case 3:case"end":return p.stop()}},l)}));function s(){return r.apply(this,arguments)}return s}()}}}},72913:function(P,n,e){"use strict";var _;e.r(n),e.d(n,{demos:function(){return c}});var o=e(90228),C=e.n(o),f=e(87999),u=e.n(f),a=e(75271),h=e(39203),d=e(28320),c={"form-demo-demos":{component:a.memo(a.lazy(function(){return e.e(6294).then(e.bind(e,7584))})),asset:{type:"BLOCK",id:"form-demo-demos",refAtomIds:["form"],dependencies:{"index.tsx":{type:"FILE",value:e(7570).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:`Form
|
|
2
|
+
\u57FA\u672C\u7528\u6CD5`,description:"Antd\u8868\u5355\u7EC4\u4EF6\u6269\u5C55\uFF0C\u4F9D\u8D56\u5224\u65AD\uFF0C\u663E\u793A\uFF0C\u5D4C\u5957\u5217\u8868\uFF0C\u62D6\u62FD\u6392\u5E8F\uFF0C\u7B80\u5355\u6821\u9A8C\u89C4\u5219"},context:{"@ccs-ui/rc-pro":h,antd:d,react:_||(_=e.t(a,2))},renderOpts:{compile:function(){var r=u()(C()().mark(function l(){var m,t=arguments;return C()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,e.e(9510).then(e.bind(e,59510));case 2:return p.abrupt("return",(m=p.sent).default.apply(m,t));case 3:case"end":return p.stop()}},l)}));function s(){return r.apply(this,arguments)}return s}()}}}},66339:function(P,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return o}});var _=e(75271),o={}},85577:function(P,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return o}});var _=e(75271),o={}},10865:function(P,n,e){"use strict";var _;e.r(n),e.d(n,{demos:function(){return M}});var o=e(90228),C=e.n(o),f=e(87999),u=e.n(f),a=e(75271),h=e(3180),d=e(39203),c=e(28320),r=e(96757),s=e(17888),l=e.n(s),m=e(61289),t=e(3675),i=e(57898),p=e(94238),y=e(40011),v=e(33765),O=e(41974),M={"pro-table-demo-basic":{component:a.memo(a.lazy(function(){return e.e(1888).then(e.bind(e,75994))})),asset:{type:"BLOCK",id:"pro-table-demo-basic",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(7049).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u7840\u67E5\u8BE2"},context:{"./service.ts":r,"@ant-design/icons":h,"@ccs-ui/rc-pro":d,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var g=u()(C()().mark(function I(){var D,x=arguments;return C()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,e.e(9510).then(e.bind(e,59510));case 2:return E.abrupt("return",(D=E.sent).default.apply(D,x));case 3:case"end":return E.stop()}},I)}));function b(){return g.apply(this,arguments)}return b}()}},"pro-table-demo-selection":{component:a.memo(a.lazy(function(){return e.e(1888).then(e.bind(e,41596))})),asset:{type:"BLOCK",id:"pro-table-demo-selection",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(82691).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u9009\u4E2D\uFF0C\u6C47\u603B",description:"\u4F7F\u7528hooks\u83B7\u53D6\u9009\u4E2D\uFF0C\u663E\u793A\u9009\u4E2D\u4FE1\u606F\uFF1B\u6C47\u603B\u884C\u6570\u636E"},context:{"./service.ts":r,"@ant-design/icons":h,"@ccs-ui/rc-pro":d,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var g=u()(C()().mark(function I(){var D,x=arguments;return C()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,e.e(9510).then(e.bind(e,59510));case 2:return E.abrupt("return",(D=E.sent).default.apply(D,x));case 3:case"end":return E.stop()}},I)}));function b(){return g.apply(this,arguments)}return b}()}},"pro-table-demo-filter":{component:a.memo(a.lazy(function(){return e.e(1888).then(e.bind(e,71727))})),asset:{type:"BLOCK",id:"pro-table-demo-filter",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(627).Z},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u5217\u7B5B\u9009\u3001\u6392\u5E8F",description:`\u7B80\u5316\u5217\u7B5B\u9009\u3001\u6392\u5E8F\u529F\u80FD\uFF1B
|
|
3
3
|
\u8F93\u5165\u503C\u53EF\u63A7\u3001\u53EF\u91CD\u7F6E\uFF1B
|
|
4
4
|
\u7B5B\u9009\u3001\u6392\u5E8F\u5747\u4F7F\u7528\u8BF7\u6C42\u670D\u52A1\u7AEF API \u5B9E\u73B0\uFF1B
|
|
5
5
|
\u4F7F\u7528\u5217\u7B5B\u9009\u529F\u80FD\u5E94\u5C3D\u91CF\u4F7F\u7528\u7B80\u5355\u6761\u4EF6\u3001\u6BD4\u5982\u72B6\u6001\uFF0C\u6392\u5E8F\u7B49\uFF0C\u907F\u514D\u4F7F\u7528\u591A\u79CD\u7EC4\u5408\u6761\u4EF6\uFF1B
|
|
6
|
-
\u672C\u5730\u6A21\u62DF\u6570\u636E\u3001\u8BF7\u6253\u5F00\u63A7\u5236\u53F0\u67E5\u770B\u65E5\u5FD7`},context:{"./service.ts":
|
|
6
|
+
\u672C\u5730\u6A21\u62DF\u6570\u636E\u3001\u8BF7\u6253\u5F00\u63A7\u5236\u53F0\u67E5\u770B\u65E5\u5FD7`},context:{"./service.ts":r,"@ant-design/icons":h,"@ccs-ui/rc-pro":d,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var g=u()(C()().mark(function I(){var D,x=arguments;return C()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,e.e(9510).then(e.bind(e,59510));case 2:return E.abrupt("return",(D=E.sent).default.apply(D,x));case 3:case"end":return E.stop()}},I)}));function b(){return g.apply(this,arguments)}return b}()}},"pro-table-demo-refresh":{component:a.memo(a.lazy(function(){return e.e(1888).then(e.bind(e,51010))})),asset:{type:"BLOCK",id:"pro-table-demo-refresh",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(60545).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u6570\u636E\u5237\u65B0\u3001\u91CD\u7F6E",description:`\u5728\u4FEE\u6539\u6570\u636E\u5B8C\u6210\u540E\u3001\u53EF\u4EE5\u8C03\u7528\u7EC4\u4EF6 ref \u65B9\u6CD5\u3001\u5237\u65B0\u6570\u636E;
|
|
7
7
|
- onReload\uFF1A\u91CD\u8F7D\u6570\u636E\u3001\u4FDD\u7559\u67E5\u8BE2\u6761\u4EF6\u3001\u8FD4\u56DE\u5F53\u524D\u9875\u6570\u636E;
|
|
8
8
|
- onReset\uFF1A\u91CD\u7F6E\u6570\u636E\u3001\u67E5\u8BE2\u6761\u4EF6\u6062\u590D\u521D\u59CB\u72B6\u6001;
|
|
9
|
-
- onSearch\uFF1A\u540C\u67E5\u8BE2\u6309\u94AE\u3001\u4FDD\u7559\u67E5\u8BE2\u6761\u4EF6\uFF0C\u8FD4\u56DE\u7B2C\u4E00\u9875\u6570\u636E\u3002`},context:{"./service.ts":
|
|
9
|
+
- onSearch\uFF1A\u540C\u67E5\u8BE2\u6309\u94AE\u3001\u4FDD\u7559\u67E5\u8BE2\u6761\u4EF6\uFF0C\u8FD4\u56DE\u7B2C\u4E00\u9875\u6570\u636E\u3002`},context:{"./service.ts":r,"@ccs-ui/rc-pro":d,antd:c,react:_||(_=e.t(a,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var g=u()(C()().mark(function I(){var D,x=arguments;return C()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,e.e(9510).then(e.bind(e,59510));case 2:return E.abrupt("return",(D=E.sent).default.apply(D,x));case 3:case"end":return E.stop()}},I)}));function b(){return g.apply(this,arguments)}return b}()}},"pro-table-demo-tree-async":{component:a.memo(a.lazy(function(){return e.e(1888).then(e.bind(e,91256))})),asset:{type:"BLOCK",id:"pro-table-demo-tree-async",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(83758).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},react:{type:"NPM",value:"18.3.1"},"./tree-form.tsx":{type:"FILE",value:e(12136).Z},"./service-tree.ts":{type:"FILE",value:e(64359).Z},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u81EA\u52A8\u5F02\u6B65\u6811",description:`\u5C55\u5F00\u6570\u636E\u5F02\u6B65\u52A0\u8F7D\uFF1A
|
|
10
10
|
- asyncTree: { parentName: "\u7236\u7EA7\u5B57\u6BB5" }\u3002
|
|
11
11
|
- rowKey \u5FC5\u987B\u6B63\u786E\u3001\u6839\u636ErowKey\u503C\u52A0\u8F7D\u4E0B\u7EA7\u6570\u636E\u3002
|
|
12
12
|
- leafNode \u53F6\u5B50\u8282\u70B9\u5224\u65AD
|
|
13
13
|
\u7F16\u8F91\u6570\u636E\u5C40\u90E8\u5237\u65B0\uFF1A
|
|
14
14
|
- \u6839\u636E\u4E0A\u7EA7 ID,\u91CD\u8F7D\u4E0B\u7EA7\u6570\u636E
|
|
15
|
-
- \u5237\u65B0\u65B9\u6CD5\uFF1AproRef.current?.onPartialReload(\u7236\u7EA7ID)`},context:{"./tree-form.tsx":
|
|
16
|
-
\u81EA\u5B9A\u4E49\u9AD8\u5EA6\u4F20\u5165\u5177\u4F53\u6307scroll: { y: 500 }\u3002`},context:{"./service.ts":
|
|
17
|
-
\u901A\u8FC7\u591A\u4E2A select \u7EC4\u4EF6\u6765\u6784\u5EFA\u7EA7\u8054\u53C2\u8003\u4E0A\u9762\u793A\u4F8B\uFF1A`},context:{"./service.ts":
|
|
18
|
-
\u901A\u8FC7\u591A\u4E2A select \u7EC4\u4EF6\u6765\u6784\u5EFA\u7EA7\u8054\u53C2\u8003\u4E0A\u9762\u793A\u4F8B\uFF1A`},context:{"./service.ts":
|
|
15
|
+
- \u5237\u65B0\u65B9\u6CD5\uFF1AproRef.current?.onPartialReload(\u7236\u7EA7ID)`},context:{"./tree-form.tsx":m,"./service-tree.ts":t,"@ccs-ui/rc-pro":d,react:_||(_=e.t(a,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/tree-form.tsx":m,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service-tree.ts":t,antd:c},renderOpts:{compile:function(){var g=u()(C()().mark(function I(){var D,x=arguments;return C()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,e.e(9510).then(e.bind(e,59510));case 2:return E.abrupt("return",(D=E.sent).default.apply(D,x));case 3:case"end":return E.stop()}},I)}));function b(){return g.apply(this,arguments)}return b}()}},"pro-table-demo-fixed":{component:a.memo(a.lazy(function(){return e.e(1888).then(e.bind(e,81697))})),asset:{type:"BLOCK",id:"pro-table-demo-fixed",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(46682).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u56FA\u5B9A\u8868\u5934",description:`\u81EA\u9002\u5E94\u5BB9\u5668\u9AD8\u5EA6scroll: { y: "auto" };
|
|
16
|
+
\u81EA\u5B9A\u4E49\u9AD8\u5EA6\u4F20\u5165\u5177\u4F53\u6307scroll: { y: 500 }\u3002`},context:{"./service.ts":r,"@ccs-ui/rc-pro":d,antd:c,react:_||(_=e.t(a,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var g=u()(C()().mark(function I(){var D,x=arguments;return C()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,e.e(9510).then(e.bind(e,59510));case 2:return E.abrupt("return",(D=E.sent).default.apply(D,x));case 3:case"end":return E.stop()}},I)}));function b(){return g.apply(this,arguments)}return b}()}},"pro-table-demo-show-depend":{component:a.memo(a.lazy(function(){return e.e(1888).then(e.bind(e,13767))})),asset:{type:"BLOCK",id:"pro-table-demo-show-depend",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(48962).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u67E5\u8BE2\u6761\u4EF6\u663E\u793A\u4F9D\u8D56",description:`\u4E00\u822C\u7EA7\u8054\u9009\u62E9\u5F3A\u70C8\u5EFA\u8BAE\u4F7F\u7528 Cascader \u7EC4\u4EF6\u3001\u7531\u540E\u7AEF\u6784\u5EFA\u67E5\u8BE2\u6570\u636E\u3002
|
|
17
|
+
\u901A\u8FC7\u591A\u4E2A select \u7EC4\u4EF6\u6765\u6784\u5EFA\u7EA7\u8054\u53C2\u8003\u4E0A\u9762\u793A\u4F8B\uFF1A`},context:{"./service.ts":r,"@ccs-ui/rc-pro":d,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var g=u()(C()().mark(function I(){var D,x=arguments;return C()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,e.e(9510).then(e.bind(e,59510));case 2:return E.abrupt("return",(D=E.sent).default.apply(D,x));case 3:case"end":return E.stop()}},I)}));function b(){return g.apply(this,arguments)}return b}()}},"pro-table-demo-cascade":{component:a.memo(a.lazy(function(){return e.e(1888).then(e.bind(e,53315))})),asset:{type:"BLOCK",id:"pro-table-demo-cascade",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(66842).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},"./service.ts":{type:"FILE",value:e(43421).Z},"./components/SelectParam1.tsx":{type:"FILE",value:e(84296).Z},"./components/SelectParam2.tsx":{type:"FILE",value:e(84005).Z},"./components/SelectParam3.tsx":{type:"FILE",value:e(38717).Z},ahooks:{type:"NPM",value:"3.9.5"},dayjs:{type:"NPM",value:"1.11.18"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u67E5\u8BE2\u6761\u4EF6\u8054\u52A8",description:`\u4E00\u822C\u7EA7\u8054\u9009\u62E9\u5F3A\u70C8\u5EFA\u8BAE\u4F7F\u7528 Cascader \u7EC4\u4EF6\u3001\u7531\u540E\u7AEF\u6784\u5EFA\u67E5\u8BE2\u6570\u636E\u3002
|
|
18
|
+
\u901A\u8FC7\u591A\u4E2A select \u7EC4\u4EF6\u6765\u6784\u5EFA\u7EA7\u8054\u53C2\u8003\u4E0A\u9762\u793A\u4F8B\uFF1A`},context:{"./service.ts":i,"./components/SelectParam1.tsx":p,"./components/SelectParam2.tsx":y,"./components/SelectParam3.tsx":v,"@ccs-ui/rc-pro":d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/components/service.ts":i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/components/SelectParam1.tsx":p,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/components/SelectParam2.tsx":y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/components/SelectParam3.tsx":v,ahooks:O,dayjs:s,antd:c,react:_||(_=e.t(a,2))},renderOpts:{compile:function(){var g=u()(C()().mark(function I(){var D,x=arguments;return C()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,e.e(9510).then(e.bind(e,59510));case 2:return E.abrupt("return",(D=E.sent).default.apply(D,x));case 3:case"end":return E.stop()}},I)}));function b(){return g.apply(this,arguments)}return b}()}},"pro-table-demo-extra":{component:a.memo(a.lazy(function(){return e.e(1888).then(e.bind(e,39059))})),asset:{type:"BLOCK",id:"pro-table-demo-extra",refAtomIds:["pro-table"],dependencies:{"index.tsx":{type:"FILE",value:e(77470).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(54331).Z},dayjs:{type:"NPM",value:"1.11.18"}},entry:"index.tsx",title:"\u5C55\u5F00\u6761\u4EF6",description:"\u521D\u59CB\u5316\u5C55\u5F00\u67E5\u8BE2\u6761\u4EF6"},context:{"./service.ts":r,"@ccs-ui/rc-pro":d,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":r,dayjs:s},renderOpts:{compile:function(){var g=u()(C()().mark(function I(){var D,x=arguments;return C()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,e.e(9510).then(e.bind(e,59510));case 2:return E.abrupt("return",(D=E.sent).default.apply(D,x));case 3:case"end":return E.stop()}},I)}));function b(){return g.apply(this,arguments)}return b}()}}}},70987:function(P,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return d}});var _=e(90228),o=e.n(_),C=e(87999),f=e.n(C),u=e(75271),a=e(39203),h=e(28320),d={"pro-tabs-demo-basic":{component:u.memo(u.lazy(function(){return e.e(3408).then(e.bind(e,35862))})),asset:{type:"BLOCK",id:"pro-tabs-demo-basic",refAtomIds:["pro-tabs"],dependencies:{"index.tsx":{type:"FILE",value:e(69045).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u4E3B\u754C\u9762\u7EDF\u4E00tab\u4F7F\u7528\u98CE\u683C"},context:{"@ccs-ui/rc-pro":a,antd:h},renderOpts:{compile:function(){var c=f()(o()().mark(function s(){var l,m=arguments;return o()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(9510).then(e.bind(e,59510));case 2:return i.abrupt("return",(l=i.sent).default.apply(l,m));case 3:case"end":return i.stop()}},s)}));function r(){return c.apply(this,arguments)}return r}()}},"pro-tabs-demo-tab":{component:u.memo(u.lazy(function(){return e.e(3408).then(e.bind(e,97153))})),asset:{type:"BLOCK",id:"pro-tabs-demo-tab",refAtomIds:["pro-tabs"],dependencies:{"index.tsx":{type:"FILE",value:e(37926).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"tab \u4EA4\u4E92",description:"tab\u9009\u4E2D\uFF0Ctab\u4E4B\u95F4\u4F20\u503C\uFF0Ctab\u6DFB\u52A0\uFF0Ctab\u79FB\u9664\uFF0Ctab\u7981\u7528"},context:{"@ccs-ui/rc-pro":a,antd:h},renderOpts:{compile:function(){var c=f()(o()().mark(function s(){var l,m=arguments;return o()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(9510).then(e.bind(e,59510));case 2:return i.abrupt("return",(l=i.sent).default.apply(l,m));case 3:case"end":return i.stop()}},s)}));function r(){return c.apply(this,arguments)}return r}()}}}},46670:function(P,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return h}});var _=e(90228),o=e.n(_),C=e(87999),f=e.n(C),u=e(75271),a=e(39203),h={"result-demo-basic":{component:u.memo(u.lazy(function(){return e.e(597).then(e.bind(e,16445))})),asset:{type:"BLOCK",id:"result-demo-basic",refAtomIds:["result"],dependencies:{"index.tsx":{type:"FILE",value:e(20003).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":a},renderOpts:{compile:function(){var d=f()(o()().mark(function r(){var s,l=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(s=t.sent).default.apply(s,l));case 3:case"end":return t.stop()}},r)}));function c(){return d.apply(this,arguments)}return c}()}}}},98693:function(P,n,e){"use strict";var _;e.r(n),e.d(n,{demos:function(){return s}});var o=e(90228),C=e.n(o),f=e(87999),u=e.n(f),a=e(75271),h=e(39203),d=e(28320),c=e(61809),r=e(41974),s={"select-demo-basic":{component:a.memo(a.lazy(function(){return e.e(6714).then(e.bind(e,98239))})),asset:{type:"BLOCK",id:"select-demo-basic",refAtomIds:["select"],dependencies:{"index.tsx":{type:"FILE",value:e(85467).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"}},entry:"index.tsx",title:`Antd Select
|
|
19
|
+
\u57FA\u672C\u7528\u6CD5`,description:"\u6269\u5C55\uFF0C\u6DFB\u52A0\u9ED8\u8BA4\u914D\u7F6E(\u641C\u7D22\uFF0C\u6E05\u9664\uFF0C\u5360\u4F4D)\uFF0C\u652F\u6301\u62FC\u97F3\u5339\u914D\u9009\u9879\uFF0C\u6DFB\u52A0\u5168\u90E8\u9009\u4E2D\u3002"},context:{"@ccs-ui/rc-pro":h},renderOpts:{compile:function(){var l=u()(C()().mark(function t(){var i,p=arguments;return C()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,e.e(9510).then(e.bind(e,59510));case 2:return v.abrupt("return",(i=v.sent).default.apply(i,p));case 3:case"end":return v.stop()}},t)}));function m(){return l.apply(this,arguments)}return m}()}},"select-demo-api":{component:a.memo(a.lazy(function(){return e.e(6714).then(e.bind(e,81531))})),asset:{type:"BLOCK",id:"select-demo-api",refAtomIds:["select"],dependencies:{"index.tsx":{type:"FILE",value:e(54681).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},react:{type:"NPM",value:"18.3.1"},"./service.ts":{type:"FILE",value:e(65358).Z}},entry:"index.tsx",title:"\u57FA\u4E8E\u63A5\u53E3",description:"\u4F20\u5165 request \u8BF7\u6C42\uFF0C\u4F7F\u7528\u63A5\u53E3\u6570\u636E\u3002\u53EF\u914D\u7F6Ecache\u7F13\u5B58\u63A5\u53E3\u6570\u636E"},context:{"./service.ts":c,"@ccs-ui/rc-pro":h,antd:d,react:_||(_=e.t(a,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/demos/service.ts":c},renderOpts:{compile:function(){var l=u()(C()().mark(function t(){var i,p=arguments;return C()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,e.e(9510).then(e.bind(e,59510));case 2:return v.abrupt("return",(i=v.sent).default.apply(i,p));case 3:case"end":return v.stop()}},t)}));function m(){return l.apply(this,arguments)}return m}()}},"select-demo-customize":{component:a.memo(a.lazy(function(){return e.e(6714).then(e.bind(e,88930))})),asset:{type:"BLOCK",id:"select-demo-customize",refAtomIds:["select"],dependencies:{"index.tsx":{type:"FILE",value:e(82668).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},ahooks:{type:"NPM",value:"3.9.5"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(65358).Z}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u9009\u62E9\u5668",description:`\u81EA\u5B9A\u4E49\u5F39\u6846\u5185\u5BB9\uFF0C\u7528\u4E8E\u8868\u683C\u9009\u62E9\u7B49\u573A\u666F;
|
|
19
20
|
\u4F7F\u7528useTableSelection\u83B7\u53D6\u9009\u4E2D\u6570\u636E\uFF0C\u5904\u7406\u53D7\u63A7\u6570\u636E
|
|
20
21
|
\u4F7F\u7528mode\u53C2\u6570\u5224\u65AD\u5355\u9009\u6216\u591A\u9009;
|
|
21
|
-
\u4F7F\u7528\u53C2\u6570labelInValue\u8FD4\u56DE\u9009\u4E2D\u5BF9\u8C61\u6570\u636E`},context:{"./service.ts":d,"@ccs-ui/rc-pro":l,ahooks:h,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/demos/service.ts":d},renderOpts:{compile:function(){var r=_()(o()().mark(function p(){var t,a=arguments;return o()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,e.e(9510).then(e.bind(e,59510));case 2:return P.abrupt("return",(t=P.sent).default.apply(t,a));case 3:case"end":return P.stop()}},p)}));function c(){return r.apply(this,arguments)}return c}()}}}},21300:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return i}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),u=e(75271),l=e(39203),h=e(28320),i={"time-picker-demo-basic":{component:u.memo(u.lazy(function(){return e.e(9673).then(e.bind(e,64600))})),asset:{type:"BLOCK",id:"time-picker-demo-basic",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(54516).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u5E74\uFF0C\u6708\uFF0C\u65E5\uFF0C\u65F6\u95F4\uFF0C\u8F93\u5165\u8F93\u51FA\u5B57\u7B26\u4E32\uFF0C\u4E0D\u9700\u8981\u8F6C\u6362Dayjs\u7C7B\u578B\u3002"},context:{"@ccs-ui/rc-pro":l,antd:h},renderOpts:{compile:function(){var d=_()(o()().mark(function r(){var c,p=arguments;return o()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.e(9510).then(e.bind(e,59510));case 2:return a.abrupt("return",(c=a.sent).default.apply(c,p));case 3:case"end":return a.stop()}},r)}));function s(){return d.apply(this,arguments)}return s}()}}}},67655:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return h}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),u=e(75271),l=e(39203),h={"upload-demo-basic":{component:u.memo(u.lazy(function(){return e.e(43).then(e.bind(e,90828))})),asset:{type:"BLOCK",id:"upload-demo-basic",refAtomIds:["upload"],dependencies:{"index.tsx":{type:"FILE",value:e(48615).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"}},entry:"index.tsx",title:"\u6587\u4EF6\u4E0A\u4F20"},context:{"@ccs-ui/rc-pro":l},renderOpts:{compile:function(){var i=_()(o()().mark(function s(){var r,c=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(r=t.sent).default.apply(r,c));case 3:case"end":return t.stop()}},s)}));function d(){return i.apply(this,arguments)}return d}()}},"upload-demo-image":{component:u.memo(u.lazy(function(){return e.e(43).then(e.bind(e,22946))})),asset:{type:"BLOCK",id:"upload-demo-image",refAtomIds:["upload"],dependencies:{"index.tsx":{type:"FILE",value:e(52122).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"}},entry:"index.tsx",title:"\u56FE\u7247\u4E0A\u4F20"},context:{"@ccs-ui/rc-pro":l},renderOpts:{compile:function(){var i=_()(o()().mark(function s(){var r,c=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(r=t.sent).default.apply(r,c));case 3:case"end":return t.stop()}},s)}));function d(){return i.apply(this,arguments)}return d}()}}}},82757:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return h}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),u=e(75271),l=e(39203),h={"water-mark-demo-basic":{component:u.memo(u.lazy(function(){return e.e(1592).then(e.bind(e,86608))})),asset:{type:"BLOCK",id:"water-mark-demo-basic",refAtomIds:["water-mark"],dependencies:{"index.tsx":{type:"FILE",value:e(7281).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.8"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":l},renderOpts:{compile:function(){var i=_()(o()().mark(function s(){var r,c=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(r=t.sent).default.apply(r,c));case 3:case"end":return t.stop()}},s)}));function d(){return i.apply(this,arguments)}return d}()}}}},57979:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return h}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),u=e(75271),l=e(68144),h={"packages-utils-src-demo-demos":{component:u.memo(u.lazy(function(){return e.e(2433).then(e.bind(e,91152))})),asset:{type:"BLOCK",id:"packages-utils-src-demo-demos",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(93474).Z},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"}},entry:"index.tsx"},context:{"@ccs-ui/utils":l},renderOpts:{compile:function(){var i=_()(o()().mark(function s(){var r,c=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(r=t.sent).default.apply(r,c));case 3:case"end":return t.stop()}},s)}));function d(){return i.apply(this,arguments)}return d}()}}}},12648:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return b}});var v=e(26068),o=e.n(v),y=e(15558),_=e.n(y),u=e(48305),l=e.n(u),h=e(79312),i=e(5864),d=e(15409),s=e(30627),r=e(3923),c=e(55387),p=e(16929),t=e(18529),a=e(18466),f=e(46960),P=e(75271),D=e(52676),O=p.Z.useToken;function I(E){var M=E.msg,x=(0,P.useState)(!0),S=l()(x,2),T=S[0],U=S[1];return(0,P.useEffect)(function(){M&&setTimeout(function(){U(!1)},1e3)},[]),T?M:""}function m(E){var M=E.bgImg,x=E.sliderImg,S=E.loadingImg,T=E.loadingValid,U=E.validErrorMsg,L=E.onValid,K=E.onCancel,W=E.onRefresh,j=(0,P.useRef)(null),A=(0,P.useRef)(null),k=(0,P.useRef)({start:!1,startX:0});(0,P.useEffect)(function(){k.current={start:!1,startX:0},j.current.style.left="0px",A.current.style.left="0px"},[x]);var N=function(Z){if(Z<0){j.current.style.left="0px",A.current.style.left="0px";return}var z=Z>263?"263px":"".concat(Z,"px");j.current.style.left=z,A.current.style.left=z};(0,c.Z)("mousedown",function(B){T||(k.current.startX||(k.current.startX=B.clientX),k.current.start=!0)},{target:j}),(0,c.Z)("mousemove",function(B){if(k.current.start){var Z=B.clientX-k.current.startX;N(Z)}},{target:document}),(0,c.Z)("mouseup",function(B){var Z=B.clientX-k.current.startX;L({x:Z,y:5},"sliding"),k.current.start=!1},{target:document});var H=O(),F=H.token;return(0,D.jsxs)(t.Z,{indicator:(0,D.jsx)(h.Z,{style:{fontSize:24}}),spinning:S,children:[(0,D.jsxs)("div",{className:"ccs-aj-body",style:{background:F.colorBgContainerDisabled},children:[(0,D.jsx)("img",{className:"ccs-aj-bg",src:M?"data:image/png;base64,".concat(M):void 0,width:310,height:155}),(0,D.jsx)("img",{ref:A,className:"ccs-aj-slider-img",style:{height:155},src:x?"data:image/png;base64,".concat(x):void 0}),(0,D.jsxs)("div",{className:"ccs-aj-btn",children:[(0,D.jsx)(a.ZP,{onClick:W,type:"text",icon:(0,D.jsx)(i.Z,{})}),(0,D.jsx)("div",{className:"ccs-aj-error",children:(0,D.jsx)(I,{msg:U},x)}),(0,D.jsx)(a.ZP,{onClick:K,type:"text",icon:(0,D.jsx)(d.Z,{})})]})]}),(0,D.jsxs)("div",{className:"ccs-aj-slider",style:{background:F.colorBgElevated},children:[(0,D.jsx)("div",{className:"ccs-aj-slider-track",style:{background:F.colorBgContainerDisabled},children:"\u6309\u4F4F\u6ED1\u5757\uFF0C\u62D6\u52A8\u5B8C\u6210\u4E0A\u65B9\u62FC\u56FE"}),(0,D.jsx)("div",{className:"ccs-aj-slider-bar",ref:j,style:{backgroundColor:F.colorBgBase,border:"1px solid ".concat(F.colorBorder)},children:T?(0,D.jsx)(h.Z,{}):(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(s.Z,{}),(0,D.jsx)(r.Z,{})]})})]})]})}function C(E){var M=E.bgImg,x=E.words,S=E.loadingImg,T=E.loadingValid,U=E.validErrorMsg,L=E.onValid,K=E.onCancel,W=E.onRefresh,j=(0,P.useRef)(null),A=(0,P.useState)([]),k=l()(A,2),N=k[0],H=k[1];(0,P.useEffect)(function(){H([])},[M]),(0,c.Z)("mouseup",function(Z){H([].concat(_()(N),[{x:Z.offsetX,y:Z.offsetY}]))},{target:j}),(0,P.useEffect)(function(){N.length===(x==null?void 0:x.length)&&L(N,"wordSelect")},[N.length]);var F=O(),B=F.token;return(0,D.jsxs)(t.Z,{indicator:(0,D.jsx)(h.Z,{style:{fontSize:24}}),spinning:S||T,children:[(0,D.jsxs)("div",{className:"ccs-aj-body",style:{background:B.colorBgContainerDisabled},children:[(0,D.jsx)("img",{ref:j,className:"ccs-aj-bg",src:M?"data:image/png;base64,".concat(M):void 0,width:310,height:155}),N.map(function(Z,z){return(0,D.jsx)("div",{className:"ccs-word-point",style:{left:Z.x-13,top:Z.y-13},children:z+1},Z.x)}),(0,D.jsxs)("div",{className:"ccs-aj-btn",children:[(0,D.jsx)(a.ZP,{onClick:W,type:"text",icon:(0,D.jsx)(i.Z,{})}),(0,D.jsx)("div",{className:"ccs-aj-error",children:(0,D.jsx)(I,{msg:U},M)}),(0,D.jsx)(a.ZP,{onClick:K,type:"text",icon:(0,D.jsx)(d.Z,{})})]})]}),(0,D.jsxs)("div",{className:"ccs-aj-word-slider",style:{color:B.colorTextLabel,border:"1px solid ".concat(B.colorTextLabel)},children:["\u8BF7\u4F9D\u6B21\u70B9\u51FB\u3010",x==null?void 0:x.join(", "),"\u3011"]})]})}function R(E){var M=E.captchaType==="sliding"?"10px 10px 0 10px":10;return(0,D.jsx)(f.Z,{width:330,open:E.open,destroyOnHidden:!0,onCancel:E.onCancel,footer:null,closable:!1,maskClosable:!1,styles:{content:{padding:0},body:{padding:M},mask:{backgroundColor:"rgba(0, 0, 0, 0.25)"}},className:"ccs-aj-modal",style:{top:"calc(50vh - 200px)"},children:E.captchaType==="sliding"?(0,D.jsx)(m,o()({},E)):(0,D.jsx)(C,o()({},E))})}var b=R},73799:function(g,n,e){"use strict";e.r(n),e.d(n,{DataEvent:function(){return v}});var v=function(o){return o.Search="search",o.Reset="reset",o.Reload="reload",o.ChangePage="changePage",o.InitSearch="initSearch",o.FullScreen="fullScreen",o.ColumnFilter="columnFilter",o.SelectedRows="SelectedRows",o.Expand="Expand",o.PartialReload="PartialReload",o}({})},22126:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return f}});var v=e(26068),o=e.n(v),y=e(31759),_=e.n(y),u=e(48305),l=e.n(u),h=e(45186),i=e(42932),d=e(81465),s=e(69608),r=e(18466),c=e(75271),p=e(32097),t=e(52676),a=i.Z.Group;function f(P){var D=P.isAll,O=P.btnProps,I=P.options,m=I===void 0?[]:I,C=P.defaultCheckedKeys,R=C===void 0?[]:C,b=(0,c.useState)(R),E=l()(b,2),M=E[0],x=E[1],S=function(K){var W;x(K),(W=P.onChange)===null||W===void 0||W.call(P,K)},T=function(K){var W,j=K.target.checked?m.map(function(A){return _()(A)==="object"?A.value:A}):[];x(j),(W=P.onChange)===null||W===void 0||W.call(P,j)},U=function(){if(!(D===!1||!(m!=null&&m.length))){var K=m.length===M.length,W=M.length>0&&M.length<m.length;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Z,{indeterminate:W,onChange:T,checked:K,children:"\u5168\u9009"}),(0,t.jsx)(d.Z,{style:{margin:"10px 0"}})]})}};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(s.Z,{placement:P.placement,content:(0,t.jsxs)(t.Fragment,{children:[U(),(0,t.jsx)(a,{className:"".concat(p.classAtomPrefix,"-check"),options:m,value:M,onChange:S})]}),children:(0,t.jsx)(r.ZP,o()({type:"text",icon:(0,t.jsx)(h.Z,{})},O))})})}},21827:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),u=e(87999),l=e.n(u),h=e(48305),i=e.n(h),d=e(67825),s=e.n(d),r=e(75250),c=e(18466),p=e(75271),t=e(52676),a=["num","cacheKey","disabledText","children"];function f(P,D){var O=P.num,I=O===void 0?60:O,m=P.cacheKey,C=P.disabledText,R=P.children,b=s()(P,a),E=(0,p.useState)(-1),M=i()(E,2),x=M[0],S=M[1],T=(0,p.useState)(null),U=i()(T,2),L=U[0],K=U[1],W=(0,p.useMemo)(function(){return m||window.location.host},[]);(0,p.useLayoutEffect)(function(){var k=function(){var N=l()(_()().mark(function H(){var F,B,Z,z;return _()().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.next=2,localStorage.getItem(W);case 2:if(F=$.sent,!F){$.next=11;break}if(B=JSON.parse(F),Z=new Date().getTime(),z=Math.round((Z-B.time)/1e3),!(z<B.num)){$.next=11;break}return S(B.num-z),K(1e3),$.abrupt("return");case 11:S(I);case 12:case"end":return $.stop()}},H)}));return function(){return N.apply(this,arguments)}}();k()},[]),(0,r.Z)(function(){if(x-1===0){K(null),S(I),W&&localStorage.removeItem(W);return}S(x-1)},L,{immediate:!0});var j=x!==0&&x!==I,A=function(){K(1e3),W&&localStorage.setItem(W,JSON.stringify({num:I,time:new Date().getTime()}))};return(0,p.useImperativeHandle)(D,function(){return{onStart:A}}),x===-1?null:(0,t.jsx)(c.ZP,o()(o()({type:"primary"},b),{},{onClick:b.onClick?b.onClick:A,disabled:b.disabled?!0:j,children:j?"".concat(x,"\u79D2").concat(C):"".concat(R)}))}n.default=(0,p.forwardRef)(f)},13373:function(g,n,e){"use strict";e.r(n);var v=e(48305),o=e.n(v),y=e(26068),_=e.n(y),u=e(60680),l=e(68144),h=e(81992),i=e(21947),d=e(19842),s=e(57439),r=e(18466),c=e(8890),p=e(75271),t=e(14306),a=e(52676),f={visibility:"hidden",whiteSpace:"inherit",lineHeight:"inherit",fontSize:"inherit"},P=function(C){return C[C.INIT=99]="INIT",C[C.NO_ELLIPSIS=0]="NO_ELLIPSIS",C[C.MEASURE_WALKING=200]="MEASURE_WALKING",C[C.STABLE_ELLIPSIS=400]="STABLE_ELLIPSIS",C[C.NULL=-1]="NULL",C}(P||{}),D="...";function O(C){var R=C.option,b=C.targetRef,E=C.onResize,M=(0,h.Z)(b),x=(0,i.Z)(M,_()({wait:500,leading:!0,trailing:!1},R));return(0,p.useEffect)(function(){x&&E(x)},[x]),null}function I(C){var R=C.content,b=C.rows,E=b===void 0?1:b,M=C.direction,x=M===void 0?"end":M,S=C.showTooltip,T=(0,p.useRef)(null),U=p.useRef(null),L=p.useRef(null),K=p.useState(P.INIT),W=o()(K,2),j=W[0],A=W[1],k=p.useMemo(function(){return(0,t.default)(R||"")},[R]),N=(0,p.useState)(0),H=o()(N,2),F=H[0],B=H[1],Z=(0,p.useRef)({maxHeight:0,step:0});(0,d.Z)(function(){A(P.INIT)},[R]),(0,p.useEffect)(function(){var $=k.length;if(j===P.INIT){var V,ne,X=(((V=U.current)===null||V===void 0?void 0:V.offsetHeight)||0)*E;if(((ne=U.current)===null||ne===void 0?void 0:ne.offsetHeight)===0){A(P.NULL);return}Z.current.maxHeight=X,Z.current.step=$,B($),A(P.MEASURE_WALKING);return}if(j===P.MEASURE_WALKING){var J=Math.round(Z.current.step/2);Z.current.step=J;var G=L.current;if(G.offsetHeight===G.scrollHeight){if(F===$){A(P.NO_ELLIPSIS);return}if(J===0){A(P.STABLE_ELLIPSIS);return}B(function(le){return le+J})}else{if(J===1||J===0){B(function(le){return le-(J+1)}),A(P.STABLE_ELLIPSIS);return}B(function(le){return le-J})}}},[j,F]);var z=function(){if(F===0)return".";if(x==="start")return"".concat(D).concat(k.slice(k.length-F).join(""));if(x==="end")return"".concat(k.slice(0,F).join("")).concat(D);if(x==="middle"){var V=Math.floor(F/2);return"".concat(k.slice(0,V).join("")).concat(D).concat(k.slice(k.length-(F-V)).join(""))}};if(j===P.NO_ELLIPSIS)return R;if(j===P.STABLE_ELLIPSIS)return S?(0,a.jsx)(s.Z,{zIndex:9999,rootClassName:"ccs-ellipsis-tootip",title:function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{style:{maxHeight:300,overflow:"auto"},children:R}),(0,a.jsx)("div",{style:{textAlign:"right"},children:(0,a.jsx)(r.ZP,{type:"link",onClick:function(){l.default.copy(R),c.ZP===null||c.ZP===void 0||c.ZP.info("\u590D\u5236\u6210\u529F")},icon:(0,a.jsx)(u.Z,{}),children:"\u590D\u5236"})})]})},placement:"bottomLeft",destroyOnHidden:!0,styles:{body:{whiteSpace:"normal"}},children:z()}):z();var Q=function(V){V.height===0||V.width===0||A(P.INIT)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{targetRef:T,onResize:Q}),(0,a.jsxs)("div",{className:"ccs-ellipsis",ref:T,children:[[P.INIT,P.NULL].includes(j)&&(0,a.jsx)("div",{"aria-hidden":!0,ref:U,style:f,children:"\xA0"},"stable"),P.MEASURE_WALKING===j&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{ref:L,style:{maxHeight:Z.current.maxHeight},className:"ccs-ellipsis-scroll",children:z()},"measure-walking")})]})]})}function m(C){return C.content===""||C.content===void 0?C.content:(0,a.jsx)(I,_()({},C))}n.default=p.memo(m,function(C,R){return C.content===R.content})},26123:function(g,n,e){"use strict";e.r(n);var v=e(67825),o=e.n(v),y=e(26068),_=e.n(y),u=e(48305),l=e.n(u),h=e(68825),i=e(49115),d=e(80729),s=e(16929),r=e(18466),c=e(75271),p=e(32097),t=e(64276),a=e(32272),f=e(52676),P=["onFormat"];function D(O,I){var m=O.extra,C=O.style,R=O.className,b=O.expandForm,E=b===void 0?!1:b,M=O.formItems,x=M===void 0?[]:M,S=O.formInitValues,T=O.formItemLabelWidth,U=O.requestParam,L=O.onSearch,K="".concat(p.classAtomPrefix,"-filter"),W=d.Z.useForm(),j=l()(W,1),A=j[0],k=(0,c.useRef)(null),N=(0,c.useRef)(null),H=(0,c.useRef)(null),F=(0,c.useState)(!1),B=l()(F,2),Z=B[0],z=B[1],Q=(0,c.useState)(!1),$=l()(Q,2),V=$[0],ne=$[1],X=s.Z.useToken().token;function J(){var ie=X.rootValue?"".concat((X.controlHeight/X.rootValue).toFixed(3),"rem"):X.controlHeight;return ie}var G=(0,c.useState)(J),le=l()(G,2),ae=le[0],Y=le[1];(0,c.useEffect)(function(){V&&E&&z(!0)},[V]);var q=function(){var me=A.getFieldsValue();if(me){var _e=Object.keys(me).filter(function(ve){return ve.startsWith("_")&&ve.endsWith("_")});_e.length>0&&_e.forEach(function(ve){return delete me[ve]})}return Object.keys(me).forEach(function(ve){if(me[ve]!==void 0){var he=x.find(function(Pe){return Pe.name===ve});he!=null&&he.onFormat&&(me[ve]=he.onFormat(me[ve]))}}),_()(_()(_()({},U),S),me)};(0,c.useImperativeHandle)(I,function(){return{getFormValues:q,form:A}});var te=function(){var me,_e,ve,he,Pe;if(!(!N.current||!k.current)){var Re=ae;k.current.childNodes.forEach(function(pe){Re<pe.clientHeight&&(Re=pe.clientHeight)}),Re!==ae&&Y(Re);var ge=(me=N.current)===null||me===void 0||(me=me.getClientRects()[0])===null||me===void 0?void 0:me.top,Me=(_e=k.current)===null||_e===void 0||(_e=_e.getClientRects()[0])===null||_e===void 0?void 0:_e.top,Ke=(ve=H.current)===null||ve===void 0||(ve=ve.getClientRects()[0])===null||ve===void 0?void 0:ve.top;if(ge===Me&&ge===Ke&&(ne(!1),z(!1)),!Z){var Te=((he=N.current)===null||he===void 0||(he=he.getClientRects()[0])===null||he===void 0?void 0:he.top)!==((Pe=k.current)===null||Pe===void 0||(Pe=Pe.getClientRects()[0])===null||Pe===void 0?void 0:Pe.top);ne(Te)}}};if((0,c.useEffect)(function(){te()},[]),x.length===0)return null;var re=function(me){me.width!==0&&te()},ue=(0,f.jsxs)("div",{style:{textAlign:"right",flex:Z&&V?"1 1 auto":"0 0 auto"},ref:H,children:[V&&(0,f.jsx)(r.ZP,{type:"link",icon:Z?(0,f.jsx)(h.Z,{}):(0,f.jsx)(i.Z,{}),style:{padding:"4px 6px"},onClick:function(){return z(!Z)},children:Z?"\u6536\u8D77":"\u5C55\u5F00"}),(0,f.jsx)(r.ZP,{type:"primary",htmlType:"submit",children:"\u67E5\u8BE2"}),m]}),oe={flexWrap:Z?"wrap":"nowrap"};return(0,f.jsx)(a.default,{style:C,className:R,children:(x.length>0||L)&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(p.default.Resize,{targetRef:k,onResize:re}),(0,f.jsxs)(d.Z,{initialValues:S,form:A,onFinish:L,layout:"inline",style:oe,preserve:!1,children:[(0,f.jsx)("div",{style:{height:Z?"auto":ae},className:"".concat(K,"-adaptation"),children:(0,f.jsxs)("div",{className:"".concat(K,"-").concat(Z&&V?"expand":"collapse"),ref:k,children:[x.map(function(ie){var me=ie.onFormat,_e=o()(ie,P);return(0,f.jsx)(t.Z.Item,_()(_()(_()({},_e),T?{label:(0,f.jsx)("div",{style:{width:T},children:_e.label})}:void 0),{},{className:"".concat(K,"-form-item"),children:_e.value||_e.children}),_e.name)}),(0,f.jsx)("div",{style:{height:1},ref:N}),Z&&ue]})}),!Z&&ue]})]})})}n.default=c.forwardRef(D)},93238:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),u=e(87887),l=e(67619),h=e(16929),i=e(18466),d=e(57439),s=e(75271),r=e(32097),c=e(52676);function p(t){var a=t.btnProps,f=t.parentHtmlId,P=(0,s.useState)(!1),D=_()(P,2),O=D[0],I=D[1],m=(0,s.useRef)(null),C=(0,s.useRef)(void 0),R=h.Z.useToken(),b=R.token;(0,s.useEffect)(function(){f&&(C.current=m.current.closest("#".concat(f))||void 0)},[]);var E=function(){if(C.current){var x=C.current||{},S=x.classList,T=x.style;O?(S==null||S.remove("".concat(r.classAtomPrefix,"-fullscreen")),T.backgroundColor="transparent"):(S==null||S.add("".concat(r.classAtomPrefix,"-fullscreen")),T.backgroundColor=b.colorBgContainer)}I(!O)};return(0,c.jsx)("span",{ref:m,children:O?(0,c.jsx)(i.ZP,o()({onClick:function(){return E()},icon:(0,c.jsx)(u.Z,{}),type:"text"},a)):(0,c.jsx)(d.Z,{title:"\u5168\u5C4F",destroyOnHidden:!0,children:(0,c.jsx)(i.ZP,o()({onClick:function(){return E()},icon:(0,c.jsx)(l.Z,{}),type:"text"},a))})})}n.default=p},32097:function(g,n,e){"use strict";e.r(n),e.d(n,{classAtomPrefix:function(){return p},default:function(){return a}});var v=e(22126),o=e(21827),y=e(13373),_=e(26123),u=e(93238),l=e(9889),h=e(39142),i=e(70110),d=e(56251),s=e(64723),r=e(24887),c=e(52676),p="ccs-atom",t=function(){return(0,c.jsx)(c.Fragment,{})};t.Filter=_.default,t.Operation=h.default,t.Checkbox=v.default,t.FullScreen=u.default,t.Title=d.default,t.Resize=i.default,t.Countdown=o.default,t.Ellipsis=y.default,t.usePageRequest=r.default,t.useComplexState=s.default,t.Loading=l.default;var a=t},32272:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return i}});var v=e(26068),o=e.n(v),y=e(16929),_=e(82187),u=e.n(_),l=e(85289),h=e(52676);function i(d){var s=d.style,r=d.size,c=d.className,p=d.children,t=y.Z.useToken(),a=t.token;(0,l.useInsertCss)("atom-item",function(){return[".ccs-atom-item ~ .ccs-atom-item { border-top: 1px solid ".concat(a.colorBorderSecondary,"; }")]});var f=r==="small"?a.paddingSM:a.paddingMD;return(0,h.jsx)("div",{className:u()("ccs-atom-item",c),style:o()({background:a.colorBgContainer,padding:"".concat(a.paddingSM,"px ").concat(f,"px")},s),children:p})}},9889:function(g,n,e){"use strict";e.r(n);var v=e(79312),o=e(8984),y=e(18529),_=e(52676),u=function(h){var i=h.loading,d=h.loadingTip;return i?(0,_.jsx)("div",{className:"ccs-loading",children:(0,_.jsx)("div",{className:"ccs-loading-content ",children:(0,_.jsxs)(o.Z,{children:[(0,_.jsx)(y.Z,{indicator:(0,_.jsx)(v.Z,{style:{fontSize:24}})}),d]})})}):null};n.default=u},39142:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(55363),_=e(65351),u=e(15574),l=e(18466),h=e(57439),i=e(82187),d=e.n(i),s=e(32097),r=e(93238),c=e(32272),p=e(52676);function t(a){var f="".concat(s.classAtomPrefix,"-operation"),P=a.extraRight,D=a.extraLeft,O=a.size,I=a.parentHtmlId,m=a.style,C=a.className,R=a.onReset,b=a.onChangeSize;if(Object.values(a).filter(function(M){return M}).length===0)return null;var E=o()({},m);return D||(E.display="inline-block",E.padding=0),(0,p.jsxs)(c.default,{className:d()(f,C),style:E,children:[(0,p.jsx)("div",{className:"".concat(f,"-left"),children:D}),(0,p.jsxs)("div",{className:"".concat(f,"-right"),children:[P,O&&(0,p.jsx)(u.Z,{placement:"bottomRight",menu:{activeKey:O,items:[{key:"large",label:"\u9ED8\u8BA4"},{key:"middle",label:"\u4E2D\u7B49"},{key:"small",label:"\u7D27\u51D1"}],onClick:function(x){b==null||b(x.key)}},children:(0,p.jsx)(l.ZP,{icon:(0,p.jsx)(y.Z,{}),type:"text"})}),R&&(0,p.jsx)(h.Z,{title:"\u91CD\u7F6E",children:(0,p.jsx)(l.ZP,{onClick:R,icon:(0,p.jsx)(_.Z,{}),type:"text"})}),I!==void 0&&(0,p.jsx)(r.default,{parentHtmlId:"ccs-pro-table"})]})]})}n.default=t},70110:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(81992),_=e(21947),u=e(75271),l=e(52676);function h(s){var r=s.onResize,c=s.option,p=(0,u.useRef)(),t=(0,u.useRef)(null),a=(0,y.Z)(t),f=(0,_.Z)(a,o()({wait:500,leading:!1,trailing:!0},c));return(0,u.useEffect)(function(){f&&(p.current&&r(f),p.current=f)},[f]),(0,l.jsx)("div",{ref:t})}function i(s){var r=s.option,c=s.targetRef,p=s.onResize,t=(0,u.useRef)(),a=(0,y.Z)(c),f=(0,_.Z)(a,o()({wait:500,leading:!1,trailing:!0},r));return(0,u.useEffect)(function(){f&&(t.current&&p(f),t.current=f)},[f]),null}function d(s){return s.targetRef?(0,l.jsx)(i,o()({},s)):(0,l.jsx)(h,o()({},s))}n.default=d},56251:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var v=e(26068),o=e.n(v),y=e(16929),_=e(32272),u=e(52676);function l(h){var i=h.children,d=h.style,s=h.className;if(!i)return null;var r=y.Z.useToken(),c=r.token;return(0,u.jsx)(_.default,{className:s,style:o()({fontSize:c.fontSizeHeading5,fontWeight:c.fontWeightStrong},d),children:i})}},64723:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r}});var v=e(31759),o=e.n(v),y=e(48305),_=e.n(y),u=e(82092),l=e.n(u),h=e(85899),i=e.n(h),d=e(75271),s=function(p,t){for(var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"$set",f=p.split("."),P=l()({},a,t),D=f.length-1;D>=0;D--){var O=f[D];P=l()({},O,P)}return P};function r(c){var p=(0,d.useState)(c),t=_()(p,2),a=t[0],f=t[1],P=(0,d.useCallback)(function(m){if(typeof m=="function"){f(function(C){return i()(C,m(C))});return}f(function(C){return i()(C,m)})},[]),D=(0,d.useCallback)(function(m,C){f(function(R){if(typeof m=="string"){var b=m,E=C,M=s(b,E);return i()(R,M)}else if(o()(m)==="object"&&m!==null){var x=R,S=m;return Object.entries(S).forEach(function(T){var U=_()(T,2),L=U[0],K=U[1],W=s(L,K);x=i()(x,W)}),x}return R})},[]),O=(0,d.useCallback)(function(m,C,R){var b=s(m,Array.isArray(C)?C:[C],R||"$push");f(function(E){return i()(E,b)})},[]),I=(0,d.useCallback)(function(){f(c)},[c]);return{state:a,setRaw:P,setByPath:D,setArray:O,reset:I}}},24887:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return I}});var v=e(90228),o=e.n(v),y=e(82092),_=e.n(y),u=e(15558),l=e.n(u),h=e(26068),i=e.n(h),d=e(87999),s=e.n(d),r=e(48305),c=e.n(r),p=e(13443),t=e(75271),a=e(94127),f=e(81475),P=e(65173),D=e(73799);function O(m,C,R){for(;C.length>0;){var b=C.shift();C.length>0?(m[b]||(m[b]={}),O(m[b],C,R)):m[b]=R}}function I(m){var C=m.auth,R=m.rowKey,b=m.pagination,E=m.emptyDefaultOne,M=m.fieldNames,x=m.onEvent,S=m.getFormValues,T=m.onFilterOrder,U=m.onRequestCustom,L=m.request,K=(0,t.useState)({total:0,dataSource:[],pageSize:10,current:1}),W=c()(K,2),j=W[0],A=W[1],k=(0,a.default)(),N=k.onAuth,H=(0,f.useProTableFields)(),F=(0,t.useMemo)(function(){return C?N&&N(C):!0},[C]),B=(0,p.Z)(function(){var z=s()(o()().mark(function Q($){var V,ne,X,J,G,le,ae,Y,q,te,re,ue,oe,ie,me,_e,ve,he,Pe,Re,ge,Me,Ke,Te=arguments;return o()().wrap(function(de){for(;;)switch(de.prev=de.next){case 0:if(V=Te.length>1&&Te[1]!==void 0?Te[1]:1,ne=Te.length>2&&Te[2]!==void 0?Te[2]:(b?b.defaultPageSize:10)||10,X=Te.length>3?Te[3]:void 0,!(!F||!L)){de.next=5;break}return de.abrupt("return");case 5:return de.next=7,S==null?void 0:S();case 7:if(de.t0=de.sent,de.t0){de.next=10;break}de.t0={};case 10:if(J=de.t0,G=i()(i()({},H),M),le=G.requestParam||{},ae=le.filters,Y=ae===void 0?["filters"]:ae,q=le.pageNo,te=q===void 0?["pageNo"]:q,re=le.pageSize,ue=re===void 0?["pageSize"]:re,oe=le.orderProps,ie=oe===void 0?["orderProps"]:oe,me=le.query,_e={},me&&me.length>0?O(_e,l()(me),J):_e=J,b!==!1&&(O(_e,l()(te),V),O(_e,l()(ue),ne)),ve=(T==null?void 0:T())||{},he=ve.filters,Pe=ve.orderProps,he&&Object.keys(he).length>0&&O(_e,l()(Y),he),Pe&&Pe.length>0&&O(_e,l()(ie),Pe),!U){de.next=22;break}return U($,_e.query||_e,X),de.abrupt("return");case 22:return x==null||x($,{loading:!0,params:_e}),A(function(Ie){return i()(i()({},Ie),{},{loading:!0})}),de.next=26,L(_e);case 26:if(Re=de.sent,x==null||x($,{loading:!1,params:_e,data:Re}),!Re){de.next=38;break}if(ge=(0,P.getDataByNamePath)(Re,G.dataSource),E&&ge&&ge.length===0&&ge.push(_()({},R||"id","0")),Me=(0,P.getDataByNamePath)(Re,G.total),!(Me===void 0||ge===void 0)){de.next=36;break}return Ke={dataSource:ge,pageSize:ne,current:V,total:Me,loading:!1},A(Ke),de.abrupt("return");case 36:return!ge.length&&V!==1?B(D.DataEvent.Reload,V-1):A({current:V,pageSize:ne,loading:!1,dataSource:ge,total:Me||0}),de.abrupt("return");case 38:A(function(Ie){return i()(i()({},Ie),{},{loading:!1})});case 39:case"end":return de.stop()}},Q)}));return function(Q){return z.apply(this,arguments)}}()),Z=(0,p.Z)(function(z){A(z)});return{data:j,isAuth:F,onRequest:B,onChangeData:Z}}},1444:function(g,n,e){"use strict";e.r(n),e.d(n,{ModalConfirm:function(){return h}});var v=e(48305),o=e.n(v),y=e(46960),_=e(75271),u=e(94127),l=e(52676);function h(d){var s=d.modalRef,r=y.Z.useModal(),c=o()(r,2),p=c[0],t=c[1];return(0,_.useEffect)(function(){s.current=p},[]),(0,l.jsxs)(l.Fragment,{children:[" ",t]})}function i(d){var s=d.auth,r=d.children,c=(0,u.default)()||{},p=c.onAuth;return p&&s?p(s)?r:null:r}n.default=i},86954:function(g,n,e){"use strict";e.r(n)},32375:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return s}});var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),u=e(15574),l=e(75271),h=e(94127),i=e(52676),d=["auth","menus","children","onClick"];function s(r){var c=r.auth,p=r.menus,t=p===void 0?[]:p,a=r.children,f=r.onClick,P=_()(r,d),D=(0,h.default)()||{},O=D.onAuth,I=(0,l.useMemo)(function(){function C(R){var b=R.filter(function(E){if(!E.auth)return!0;var M=O&&O(E.auth);return!!M});return b.map(function(E){var M=Object.assign({},E);if(M.children){var x=C(M.children);M.children=x.length>0?x:null}return M}).filter(function(E){return E.children!==null})}return C(t)},[t.map(function(C){return C==null?void 0:C.key}).join(",")]),m=(0,l.useMemo)(function(){if(!c)return a;var C=O&&O(c);return C?a:(0,i.jsx)(i.Fragment,{})},[]);return I.filter(function(C){return C.type!=="divider"}).length?(0,i.jsx)(u.Z,o()(o()({},P),{},{menu:{items:I,onClick:f},children:m})):(0,i.jsx)(i.Fragment,{})}},75419:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return D}});var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),u=e(57499),l=e(887),h=e(8984),i=e(81465),d=e(18466),s=e(15574),r=e(75271),c=e(668),p=e(94127),t=e(52676),a=["auth","hidden"],f=["key","label","auth","confirm"],P=["key","label","disabled","auth","confirm"];function D(O){var I=O.size,m=O.isLink,C=O.showCount,R=O.moreIcon,b=O.moreText,E=O.items,M=E===void 0?[]:E,x=O.onClick,S=(0,p.default)()||{},T=S.onAuth,U=(0,r.useRef)(null),L=[];if(M.forEach(function(j){var A=j.auth,k=j.hidden,N=_()(j,a);T&&A&&!T(A)||k||L.push(N)}),!L||M.length===0)return null;var K=function(A){if(x){var k=M.find(function(H){return H.key===A});if(k&&k.confirm){var N;(N=U.current)===null||N===void 0||N.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",icon:(0,t.jsx)(u.Z,{}),centered:!0,content:k.confirm,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:function(){return x==null?void 0:x(A)}});return}x(A)}},W=L.splice(0,C||M.length);return m?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Z,{split:(0,t.jsx)(i.Z,{type:"vertical",style:{margin:0}}),children:W==null?void 0:W.map(function(j){var A=j.key,k=j.label,N=j.auth,H=j.confirm,F=_()(j,f);return(0,t.jsx)(d.ZP,o()(o()({style:{padding:0}},F),{},{size:I,type:"link",onClick:function(){return K(A)},children:k}),A)})}),L.length>0&&(0,t.jsx)(s.Z,{menu:{items:L,onClick:function(A){return K(A.key)}},children:(0,t.jsx)(d.ZP,{type:"link",icon:b?null:R||(0,t.jsx)(l.Z,{}),size:"small",children:b})}),M.find(function(j){return!!j.confirm})?(0,t.jsx)(c.ModalConfirm,{modalRef:U}):null]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Z,{wrap:!0,children:W==null?void 0:W.map(function(j,A){var k=j.key,N=j.label,H=j.disabled,F=j.auth,B=j.confirm,Z=_()(j,P);return A===W.length-1&&L.length>0?(0,t.jsxs)(h.Z.Compact,{children:[(0,t.jsx)(d.ZP,o()(o()({},Z),{},{size:I,onClick:function(){return K(k)},disabled:H,children:N})),(0,t.jsx)(s.Z,{menu:{items:L,onClick:function(Q){return K(Q.key)}},children:(0,t.jsx)(d.ZP,{icon:b?null:R||(0,t.jsx)(l.Z,{}),children:b})})]},k):(0,t.jsx)(d.ZP,o()(o()({},Z),{},{size:I,disabled:H,onClick:function(){return K(k)},children:N}),k)})}),M.find(function(j){return!!j.confirm})?(0,t.jsx)(c.ModalConfirm,{modalRef:U}):null]})}},668:function(g,n,e){"use strict";e.r(n),e.d(n,{ModalConfirm:function(){return P}});var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),u=e(48305),l=e.n(u),h=e(57499),i=e(46960),d=e(18466),s=e(19152),r=e(75271),c=e(94127),p=e(32375),t=e(75419),a=e(52676),f=["auth","text","confirm","disabled","inputConfirm","onClick"];function P(O){var I=O.modalRef,m=i.Z.useModal(),C=l()(m,2),R=C[0],b=C[1];return(0,r.useEffect)(function(){I.current=R},[]),(0,a.jsxs)(a.Fragment,{children:[" ",b]})}function D(O){var I=O.auth,m=O.text,C=O.confirm,R=O.disabled,b=O.inputConfirm,E=O.onClick,M=_()(O,f),x=(0,c.default)()||{},S=x.onAuth,T=(0,r.useRef)(null),U=(0,r.useRef)(null),L=(0,a.jsxs)(d.ZP,o()(o()({},M),{},{onClick:function(j){if(E){if(C){var A;(A=T.current)===null||A===void 0||A.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",icon:(0,a.jsx)(h.Z,{}),centered:!0,content:(0,a.jsxs)(a.Fragment,{children:[C,b&&(0,a.jsx)(s.Z,{ref:U,placeholder:"\u8BF7\u8F93\u5165",style:{marginTop:5},onFocus:function(){var N=document.getElementById("_inputConfirmError");N&&(N.innerHTML="")}})]}),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:function(){if(b)return new Promise(function(N,H){var F;if(((F=U.current)===null||F===void 0||(F=F.input)===null||F===void 0?void 0:F.value)===b)E(j),N(!0);else{var B=document.getElementById("_inputConfirmError");if(B)B.innerHTML="\u8F93\u5165\u9A8C\u8BC1\u5931\u8D25\uFF01";else{var Z;(Z=U.current)===null||Z===void 0||(Z=Z.input)===null||Z===void 0||(Z=Z.parentElement)===null||Z===void 0||Z.insertAdjacentHTML("beforeend",'<span id="_inputConfirmError" style="color:red">\u8F93\u5165\u9A8C\u8BC1\u5931\u8D25\uFF01</span>')}H(!1)}});E(j)}});return}E(j)}},disabled:R,children:[m,M.children]}));if(!I)return(0,a.jsxs)(a.Fragment,{children:[L,C?(0,a.jsx)(P,{modalRef:T}):null]});var K=S&&S(I);return(0,a.jsxs)(a.Fragment,{children:[K?L:(0,a.jsx)(a.Fragment,{}),C?(0,a.jsx)(P,{modalRef:T}):null]})}D.Group=t.default,D.Dropdown=p.default,n.default=D},62376:function(g,n,e){"use strict";e.r(n)},97681:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return m}});var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),u=e(87999),l=e.n(u),h=e(67825),i=e.n(h),d=e(15558),s=e.n(d),r=e(11048),c=e(11066),p=e(75271),t=e(65173),a=e(52676),f=["request","cache","fieldNames","defaultParams"];function P(C){return Array.isArray(C)?C:[C]}function D(){for(var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},R=arguments.length>1?arguments[1]:void 0,b=arguments.length>2?arguments[2]:void 0,E=arguments.length>3?arguments[3]:void 0,M=C,x=s()(R),S=s()(b),T=s()(E);x.length>0||S.length>0;){if(Array.isArray(M)){M.forEach(function(L){L.label=(0,t.getDataByNamePath)(L,x),L.value=(0,t.getDataByNamePath)(L,S),L.children=D((0,t.getDataByNamePath)(L,T),x,S,T)});break}x.shift(),T.shift();var U=S.shift();U&&(M=M[U])}return M}function O(C){var R=C.request,b=C.cache,E=C.fieldNames,M=C.defaultParams,x=M===void 0?{}:M,S=i()(C,f),T=s()(P((E==null?void 0:E.label)||["data","label"])),U=s()(P((E==null?void 0:E.value)||["data","value"])),L=s()(P((E==null?void 0:E.children)||["data","children"])),K=(0,r.Z)(function(){var N=l()(_()().mark(function H(F){var B;return _()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:if(R){z.next=2;break}return z.abrupt("return",[]);case 2:return z.next=4,R(F);case 4:return B=z.sent,z.abrupt("return",D(B,T,U,L));case 6:case"end":return z.stop()}},H)}));return function(H){return N.apply(this,arguments)}}(),o()({manual:!0},b||{})),W=K.loading,j=K.data,A=j===void 0?[]:j,k=K.run;return(0,p.useEffect)(function(){R&&k(x)},[JSON.stringify(x)]),(0,a.jsx)(c.Z,o()({options:A,loading:W,style:{width:"100%"}},S))}var I=function(){return(0,a.jsx)(a.Fragment,{})};I.Api=O;var m=I},16652:function(g,n,e){"use strict";e.r(n),e.d(n,{DataEvent:function(){return v.DataEvent}});var v=e(73799)},35030:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return D}});var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),u=e(48305),l=e.n(u),h=e(10077),i=e(60686),d=e(27947),s=e(81465),r=e(6052),c=e(91620),p=e(52676),t=["mode","children","onChange"];function a(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.presetPalettes;return Object.entries(O).map(function(I){var m=l()(I,2),C=m[0],R=m[1];return{label:C,colors:R,key:C}})}var f=a({blue:h.blue,red:h.red,green:h.green,cyan:h.cyan,orange:h.orange,magenta:h.magenta,gray:h.gray});f.forEach(function(O){O.colors=O.colors.slice(0,6)});function P(O){var I=O.mode,m=I===void 0?"single":I,C=O.children,R=O.onChange,b=_()(O,t),E=function(){var T=b.value;if(typeof T=="string")return T;if(Array.isArray(T))return"linear-gradient(".concat(T.map(function(U){return"".concat(U.color," ").concat(U.percent,"%")}).join(","),")")},M=function(T,U){var L=U.components,K=L.Picker,W=L.Presets;return(0,p.jsxs)(i.Z,{justify:"space-between",wrap:!1,style:{width:420},children:[(0,p.jsx)(d.Z,{span:12,children:(0,p.jsx)(W,{})}),(0,p.jsx)(s.Z,{type:"vertical",style:{height:"auto"}}),(0,p.jsxs)(d.Z,{flex:"auto",children:[(0,p.jsx)(K,{}),(0,p.jsx)("div",{style:{marginTop:10,color:"rgba(0,0,0,0.65)"},children:E()})]})]})},x=function(){if(!b.value)return(0,p.jsx)(r.default,{classNames:{popup:{root:"ccs-color-picker-select"}},placeholder:"\u8BF7\u9009\u62E9",popupRender:function(){return(0,p.jsx)(p.Fragment,{})}})};return(0,p.jsx)(c.Z,o()(o()({className:"ccs-color-picker",allowClear:!0,showText:!0,mode:m,onChange:function(T,U){if(R){var L=T.getColors();if(L.length>1){var K=L.map(function(W){return{color:W.color.toRgbString(),percent:W.percent}});R(K,U);return}if(L.length===1){R(T.toCssString(),U);return}}},onClear:function(){R&&R(void 0,"")},presets:f,panelRender:M},b),{},{children:C||x()}))}var D=P},88686:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return M},onDefaultFormat:function(){return b}});var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),u=e(48305),l=e.n(u),h=e(94129),i=e(8890),d=e(15771),s=e(46960),r=e(16929),c=e(96586),p=e(8033),t=e(34336),a=e(75271),f=e(56973),P=e(31939),D=e(35119),O=e(73801),I=e(52676),m=["theme","prefixCls"],C=["token","components"];function R(){var x=i.ZP.useMessage(),S=l()(x,2),T=S[0],U=S[1],L=d.ZP.useNotification(),K=l()(L,2),W=K[0],j=K[1],A=s.Z.useModal(),k=l()(A,2),N=k[0],H=k[1];return(0,a.useState)(function(){D.default.setConfig(T,W,N)}),(0,I.jsxs)(I.Fragment,{children:[U,j,H]})}function b(x){return x}function E(x){var S=x.children,T=x.theme,U=T===void 0?"light":T,L=x.isCompact,K=x.watermark,W=x.antConfig,j=x.fieldNames,A=a.useRef(null),k=U==="dark"?h.$_:h.uH,N=W||{},H=N.theme,F=N.prefixCls,B=F===void 0?"ant":F,Z=_()(N,m),z=H||{},Q=z.token,$=z.components,V=_()(z,C),ne=function(){var G=U==="dark"?[r.Z.darkAlgorithm]:[r.Z.defaultAlgorithm];return L&&G.push(r.Z.compactAlgorithm),G},X=o()(o()({},k.token),Q);return U==="dark"&&(X.colorBgContainer="rgb(36, 37, 37)"),(0,I.jsx)(c.default,o()(o()({locale:t.default,prefixCls:B},Z),{},{theme:o()(o()(o()({},k),V),{},{token:X,components:o()(o()({},k.components),$),algorithm:ne()}),children:(0,I.jsxs)(f.AppConfigContext.Provider,{value:{theme:U,dialogHolderRef:A,fieldNames:j},children:[S,(0,I.jsx)(R,{}),(0,I.jsx)(P.DialogElementsHolder,{ref:A},"modal-drawer-holder"),(K==null?void 0:K.content)&&(0,I.jsx)(O.default,{content:K.content,fontColor:"rgba(0,0,0,.15)",zIndex:105})]})}))}function M(x){return(0,I.jsx)(p.Z,{style:{height:"100%"},children:(0,I.jsx)(E,o()({},x))})}},43449:function(g,n,e){"use strict";e.r(n)},56973:function(g,n,e){"use strict";e.r(n),e.d(n,{AppConfigContext:function(){return u},DrawerAndModalContext:function(){return o},PageContext:function(){return y},TabsContext:function(){return _}});var v=e(75271),o=(0,v.createContext)({}),y=(0,v.createContext)({}),_=v.createContext({}),u=v.createContext({})},2534:function(g,n,e){"use strict";e.r(n)},86247:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),u=e(92167),l=e(17888),h=e.n(l),i=e(52676),d=["value","onChange"],s=["value","onChange"],r=[{label:"\u4ECA\u5929",value:[h()().startOf("day"),h()().endOf("day")]},{label:"\u6700\u8FD13\u5929",value:[h()().add(-3,"d"),h()()]},{label:"\u6700\u8FD17\u5929",value:[h()().add(-7,"d"),h()()]},{label:"\u6700\u8FD114\u5929",value:[h()().add(-14,"d"),h()()]},{label:"\u6700\u8FD130\u5929",value:[h()().add(-30,"d"),h()()]},{label:"\u6700\u8FD190\u5929",value:[h()().add(-90,"d"),h()()]}];function c(t){var a=t.value,f=t.onChange,P=_()(t,d),D=function(m,C){f&&f(C||void 0)},O=typeof a=="string"?h()(a):a;return(0,i.jsx)(u.default,o()({value:O,onChange:D},P))}function p(t){var a=t.value,f=t.onChange,P=_()(t,s),D=function(){if(Array.isArray(a)){var m=a[0]?h()(a[0]):void 0,C=a[1]?h()(a[1]):void 0;return[m,C]}return null},O=function(m,C){f&&f(C||void 0)};return(0,i.jsx)(u.default.RangePicker,o()({presets:P.picker==="date"||!P.picker?r:void 0,value:D(),onChange:O},P))}c.RangePicker=p,n.default=c},94350:function(g,n,e){"use strict";e.r(n);var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),u=e(67825),l=e.n(u),h=e(26068),i=e.n(h),d=e(48305),s=e.n(d),r=e(9228),c=e(82187),p=e.n(c),t=e(75271),a=e(85289),f=e(22818),P=e(45484),D=e(52653),O=e(24324),I=e(52676),m=["auth","form","content","extraBtn","className","rootStyle","getContainer","requestFieldNames","preventRequestHandle","contextParam","request","onClose","onOk"],C=function(b){var E=b.afterClose,M=b.config,x=b.dialogRef,S=(0,t.useState)(function(){return M.open===void 0?i()(i()({},M),{},{open:!0}):M}),T=s()(S,2),U=T[0],L=T[1],K=(0,t.useRef)(null),W=(0,t.useRef)(null),j=(0,t.useRef)(null);(0,a.useInsertCss)("dialog-drawer",function(re){return[".".concat(re,"-drawer .").concat(re,"-drawer-extra >.").concat(re,"-btn+.").concat(re,"-btn {margin-inline-start: 8px;}"),".ccs-dialog-drawer .".concat(re,"-drawer-footer{padding:0 !important;}")]});var A=function(){E()},k=U.auth,N=U.form,H=U.content,F=U.extraBtn,B=U.className,Z=U.rootStyle,z=U.getContainer,Q=U.requestFieldNames,$=U.preventRequestHandle,V=U.contextParam,ne=U.request,X=U.onClose,J=U.onOk,G=l()(U,m),le=function(){var re=_()(o()().mark(function ue(){return o()().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:L(function(me){return i()(i()({},me),{},{open:!1})}),X&&X();case 2:case"end":return ie.stop()}},ue)}));return function(){return re.apply(this,arguments)}}();(0,t.useImperativeHandle)(x,function(){return{destroy:le,update:function(ue){L(function(oe){return i()(i()({},oe),ue)})}}});var ae=function(){var ue=document.body.querySelectorAll('[id*="_tab_content_"][data-display="true"]');if(ue.length>0)return ue[0]},Y="getContainer"in U,q=U.styles||{};q.mask=i()({background:"rgba(0, 0, 0, 0.1)"},q.mask);var te=(0,t.useMemo)(function(){return(0,I.jsx)(f.DialogButtonHolder,{auth:k,request:ne,onClose:le,onOk:J,formRef:j,extraBtn:F,formInitialValues:N==null?void 0:N.initialValues,buttonRef:K,preventRequestHandle:$,requestFieldNames:Q})},[]);return(0,I.jsx)(r.Z,i()(i()({afterOpenChange:function(ue){!ue&&M.destroyOnClose!==!1&&M.destroyOnHidden!==!1&&A()},extra:te,footer:(0,I.jsx)(D.FooterButtonHolder,{buttonRef:W})},G),{},{onClose:le,className:p()("ccs-dialog-drawer",B),styles:q,rootStyle:i()(i()({},Y?{}:{position:"absolute"}),Z),getContainer:Y?z:ae,children:(0,I.jsx)(P.DialogContentContext.Provider,{value:{formRef:j,buttonRef:K,contextParam:V,buttonType:"drawer",onOkCallBack:J,closeDialog:le,request:ne,drawerFooterRef:W,formInitialValues:(N==null?void 0:N.initialValues)||{}},children:N?(0,I.jsx)(O.default,{formRef:j,formProps:N,children:H}):H})}))};n.default=C},93261:function(g,n,e){"use strict";e.r(n);var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),u=e(67825),l=e.n(u),h=e(48305),i=e.n(h),d=e(26068),s=e.n(d),r=e(46960),c=e(82187),p=e.n(c),t=e(75271),a=e(79176),f=e.n(a),P=e(22818),D=e(45484),O=e(24324),I=e(52676),m=["auth","form","title","content","extraBtn","className","footer","contextParam","preventRequestHandle","requestFieldNames","onOk","request","onClose"],C=function(E){var M=E.modal,x=E.dragState,S=E.onDragState,T=(0,t.useRef)(null),U=function(K,W){var j,A=window.document.documentElement,k=A.clientWidth,N=A.clientHeight,H=(j=T.current)===null||j===void 0?void 0:j.getBoundingClientRect();H&&S(function(F){return s()(s()({},F),{},{bounds:{left:-H.left+W.x,right:k-(H.right-W.x),top:-H.top+W.y,bottom:N-(H.bottom-W.y)}})})};return(0,I.jsx)(f(),{nodeRef:T,disabled:x.disabled,bounds:x.bounds,onStart:U,children:(0,I.jsx)("div",{ref:T,children:M})})},R=function(E){var M=E.dialogRef,x=E.afterClose,S=E.config,T=(0,t.useState)(function(){return S.open===void 0?s()(s()({},S),{},{open:!0}):S}),U=i()(T,2),L=U[0],K=U[1],W=(0,t.useState)({disabled:!0,bounds:{left:0,top:0,bottom:0,right:0}}),j=i()(W,2),A=j[0],k=j[1],N=(0,t.useRef)(null),H=(0,t.useRef)(null),F=function(){var oe;S.destroyOnClose!==!1&&S.destroyOnHidden!==!1&&x(),(oe=L.afterClose)===null||oe===void 0||oe.call(L)},B=L.auth,Z=L.form,z=L.title,Q=L.content,$=L.extraBtn,V=L.className,ne=L.footer,X=L.contextParam,J=L.preventRequestHandle,G=L.requestFieldNames,le=L.onOk,ae=L.request,Y=L.onClose,q=l()(L,m),te=function(){var ue=_()(o()().mark(function oe(){return o()().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:K(function(_e){return s()(s()({},_e),{},{open:!1})}),Y&&Y();case 2:case"end":return me.stop()}},oe)}));return function(){return ue.apply(this,arguments)}}();(0,t.useImperativeHandle)(M,function(){return{destroy:te,update:function(oe){K(function(ie){return s()(s()({},ie),oe)})}}});var re=(0,t.useMemo)(function(){return(0,I.jsx)(P.DialogButtonHolder,{auth:B,request:ae,onClose:te,onOk:le,formRef:H,extraBtn:$,formInitialValues:Z==null?void 0:Z.initialValues,buttonRef:N,preventRequestHandle:J,requestFieldNames:G})},[]);return(0,I.jsx)(r.Z,s()(s()({onCancel:te,afterClose:F},q),{},{className:p()("ccs-dialog-modal",V),footer:ne===null?null:re,title:(0,I.jsx)("div",{style:{width:"100%",cursor:"move"},onMouseOver:function(){A.disabled&&k(function(oe){return s()(s()({},oe),{},{disabled:!1})})},onMouseOut:function(){k(function(oe){return s()(s()({},oe),{},{disabled:!0})})},children:z}),modalRender:function(oe){return(0,I.jsx)(C,{modal:oe,dragState:A,onDragState:k})},children:(0,I.jsx)(D.DialogContentContext.Provider,{value:{formRef:H,buttonRef:N,contextParam:X,buttonType:"modal",request:ae,onOkCallBack:le,closeDialog:te,formInitialValues:(Z==null?void 0:Z.initialValues)||{}},children:Z?(0,I.jsx)(O.default,{formRef:H,formProps:Z,children:Q}):Q})}))};n.default=R},73541:function(g,n,e){"use strict";e.r(n)},22818:function(g,n,e){"use strict";e.r(n),e.d(n,{DialogButtonHolder:function(){return I},default:function(){return m}});var v=e(90228),o=e.n(v),y=e(26068),_=e.n(y),u=e(87999),l=e.n(u),h=e(31759),i=e.n(h),d=e(48305),s=e.n(d),r=e(68144),c=e(18466),p=e(80729),t=e(75271),a=e(50712),f=e(668),P=e(81475),D=e(65173),O=e(52676),I=function(R){var b=R.auth,E=R.extraBtn,M=R.formRef,x=R.request,S=R.onOk,T=R.onClose,U=R.buttonRef,L=R.requestFieldNames,K=R.formInitialValues,W=R.preventRequestHandle,j=(0,t.useState)(),A=s()(j,2),k=A[0],N=A[1],H=(0,t.useState)(!1),F=s()(H,2),B=F[0],Z=F[1],z=(0,P.useBaseFields)();(0,t.useImperativeHandle)(U,function(){return{onSetButtons:function(ne){N(ne)}}});var Q=function(ne,X){if(S){var J=S(ne,X);if(typeof J=="boolean"&&J===!1)return;if(i()(J)==="object"&&J.then){Z(!0),J.then(function(G){Z(!1),G!==!1&&T()});return}T()}else T()},$=function(){var V=l()(o()().mark(function ne(){var X,J,G,le;return o()().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(J={},G=(X=M.current)===null||X===void 0?void 0:X.formInstance,!G){Y.next=7;break}return Y.next=5,G.validateFields();case 5:le=Y.sent,J=_()(_()({},K),le);case 7:if(!x){Y.next=11;break}return Z(!0),x(J).then(function(q){if(Z(!1),W){Q(J,q);return}var te=_()(_()({},z),L),re=(0,D.getDataByNamePath)(q,te.success),ue=(0,D.getDataByNamePath)(q,te.msg);re===te.successTag&&Q(J,q),a.default.easyMessage({success:re===te.successTag,msg:ue})}).catch(function(q){Z(!1),console.log("err",q)}),Y.abrupt("return");case 11:Q(J);case 12:case"end":return Y.stop()}},ne)}));return function(){return V.apply(this,arguments)}}();return k?(0,O.jsxs)(O.Fragment,{children:[E,k]}):(0,O.jsxs)(O.Fragment,{children:[E,(0,O.jsx)(c.ZP,{onClick:T,children:"\u53D6\u6D88"}),(0,O.jsx)(f.default,{auth:b,type:"primary",loading:B,onClick:$,children:"\u786E\u5B9A"})]})};function m(C){var R=C.children,b=C.hideCancel,E=C.cancelText,M=C.onOk,x=C.okBtnProps,S=a.default.useInstance(),T=S.buttonRef,U=S.buttonType,L=S.formInitialValues,K=S.closeDialog,W=S.onOkCallBack,j=S.request,A=p.Z.useFormInstance();r.default.showWarning(!j,"\u4F7F\u7528\u4E86CcsDialog.Buttons\u81EA\u5B9A\u4E49\u6309\u94AE\u884C\u4E3A\uFF0Crequest\u8BF7\u6C42\u5C06\u4E0D\u4F1A\u6267\u884C\u3002");var k=function(){var H=l()(o()().mark(function F(){var B,Z,z;return o()().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(B={},!A){$.next=6;break}return $.next=4,A.validateFields();case 4:Z=$.sent,B=_()(_()({},L),Z);case 6:if(M){$.next=10;break}return K(),W==null||W(B),$.abrupt("return");case 10:if(z=M(B),z!==!1){$.next=13;break}return $.abrupt("return");case 13:if(!(i()(z)==="object"&&z.then)){$.next=16;break}return z.then(function(V){V!==!1&&(K(),W==null||W(V))}),$.abrupt("return");case 16:K(),W==null||W(z);case 18:case"end":return $.stop()}},F)}));return function(){return H.apply(this,arguments)}}(),N=r.default.mergeProps({type:"primary",text:"\u786E\u5B9A"},x);return(0,t.useEffect)(function(){var H,F=(0,O.jsxs)(O.Fragment,{children:[!b&&(0,O.jsx)(c.ZP,{onClick:K,children:E||"\u53D6\u6D88"}),R,(x||M)&&(0,O.jsx)(f.default,_()(_()({},N),{},{onClick:k}))]});U==="modal"&&(F=(0,O.jsx)(O.Fragment,{children:F})),(H=T.current)===null||H===void 0||H.onSetButtons(F)}),(0,O.jsx)(O.Fragment,{})}},45484:function(g,n,e){"use strict";e.r(n),e.d(n,{DialogContentContext:function(){return o},useDialogContext:function(){return y}});var v=e(75271),o=v.createContext({}),y=function(){var u=(0,v.useContext)(o);if(u===void 0)throw new Error("DialogContentContext not found");return u}},97764:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return h}});var v=e(50712),o=e(8984),y=e(18466),_=e(15574),u=e(52676),l=[{key:"bottom",label:"bottom"},{key:"left",label:"left"},{key:"top",label:"top"}];function h(){var i=v.default.useDialog(),d=i.openDrawer,s=i.openModal,r=function(){s({title:"Modal",content:(0,u.jsx)("div",{children:"CcsModal content..."}),footer:null})},c=function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"right";d({title:"Drawer",width:300,content:(0,u.jsx)("div",{children:"CcsDrawer content..."}),placement:f})},p=function(){d({title:"Drawer",content:(0,u.jsx)("div",{children:"CcsDrawer content..."}),width:"100%",height:"100%",getContainer:void 0})},t=function(f){c(f.key)};return(0,u.jsxs)(o.Z,{style:{padding:"0 16px"},children:[(0,u.jsx)(y.ZP,{onClick:r,children:"modal"}),(0,u.jsx)(_.Z.Button,{menu:{items:l,onClick:t},onClick:function(){return c()},children:"drawer"}),(0,u.jsx)(y.ZP,{onClick:p,children:"\u5168\u5C4Fdrawer"})]})}},38525:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return h}});var v=e(50712),o=e(6052),y=e(8984),_=e(18466),u=e(75271),l=e(52676);function h(){var i=v.default.useDialog(),d=i.openModal,s=i.openDrawer,r=(0,u.useRef)(),c=(0,u.useRef)();return(0,u.useEffect)(function(){r.current=d({title:"Modal",open:!1,destroyOnHidden:!1,width:300,content:(0,l.jsx)(o.default,{placeholder:"\u8BF7\u9009\u62E9",options:[{value:"jack",label:"Jack"},{value:"lucy",label:"Lucy"}]})}),c.current=s({title:"Modal",open:!1,destroyOnHidden:!1,width:300,content:(0,l.jsx)(o.default,{placeholder:"\u8BF7\u9009\u62E9",options:[{value:"jack",label:"Jack"},{value:"lucy",label:"Lucy"}]})})},[]),(0,l.jsxs)(y.Z,{style:{marginLeft:16},children:[(0,l.jsx)(_.ZP,{onClick:function(){var t;(t=r.current)===null||t===void 0||t.update({open:!0})},children:"modal"}),(0,l.jsx)(_.ZP,{onClick:function(){var t;(t=c.current)===null||t===void 0||t.update({open:!0})},children:"drawer"})]})}},80429:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return O}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),u=e(36075),l=e.n(u),h=e(50712),i=e(11048),d=e(80729),s=e(18466),r=e(19152),c=e(8984),p=e(99930),t=e(52676),a=d.Z.Item,f=function(m){return l()(m),new Promise(function(C){setTimeout(function(){C({success:!0,msg:"\u64CD\u4F5C\u5931\u8D25"})},500)})};function P(){var I=h.default.useInstance(),m=I.closeDialog,C=(0,i.Z)(f,{manual:!0}),R=C.runAsync,b=C.loading,E=(0,p.default)(),M=E.getFieldsValue,x=function(){var S=_()(o()().mark(function T(U){var L;return o()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,R(U);case 2:return L=W.sent,h.default.easyMessage({success:L.success,msg:L.msg}),W.abrupt("return",L);case 5:case"end":return W.stop()}},T)}));return function(U){return S.apply(this,arguments)}}();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(h.default.Buttons,{onOk:x,okBtnProps:{loading:b,danger:!0,confirm:"\u786E\u5B9A\u4FDD\u5B58\uFF1F",text:"\u4FDD\u5B58"},children:[(0,t.jsx)(s.ZP,{onClick:function(){console.log("\u8868\u5355\u503C:",M())},children:"\u83B7\u53D6\u8868\u5355\u503C"}),(0,t.jsx)(s.ZP,{danger:!0,type:"dashed",onClick:m,children:"\u8FD4\u56DE"})]}),(0,t.jsx)(a,{label:"fieldA",name:"fieldA",children:(0,t.jsx)(r.Z,{})}),(0,t.jsx)(a,{label:"fieldB",name:"fieldB",children:(0,t.jsx)(r.Z,{})})]})}function D(){var I=h.default.useInstance(),m=I.formRef,C=I.closeDialog;function R(){return b.apply(this,arguments)}function b(){return b=_()(o()().mark(function E(){var M,x;return o()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,m==null||(M=m.current)===null||M===void 0||(M=M.formInstance)===null||M===void 0?void 0:M.validateFields();case 2:x=T.sent,console.log("values",x),C();case 5:case"end":return T.stop()}},E)})),b.apply(this,arguments)}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a,{label:"fieldA",name:"fieldA",children:(0,t.jsx)(r.Z,{})}),(0,t.jsx)(a,{label:"fieldB",name:"fieldB",children:(0,t.jsx)(r.Z,{})}),(0,t.jsx)(h.default.DrawerFooter,{children:(0,t.jsxs)(c.Z,{style:{padding:16},wrap:!0,children:[(0,t.jsx)(s.ZP,{type:"primary",children:"btn1"}),(0,t.jsx)(s.ZP,{type:"dashed",children:"btn1"}),(0,t.jsx)(s.ZP,{danger:!0,children:"btn2"}),(0,t.jsx)(s.ZP,{type:"link",children:"btn3"}),(0,t.jsx)(s.ZP,{children:"btn4"}),(0,t.jsx)(s.ZP,{children:"btn5"}),(0,t.jsx)(s.ZP,{children:"btn6"}),(0,t.jsx)(s.ZP,{children:"btn7"}),(0,t.jsx)(s.ZP,{children:"btn8"}),(0,t.jsx)(s.ZP,{onClick:function(){return C()},children:"\u53D6\u6D88"}),(0,t.jsx)(s.ZP,{onClick:R,type:"primary",children:"\u786E\u5B9A"})]})})]})}function O(){var I=h.default.useDialog(),m=I.openModal,C=I.openDrawer,R=function(){m({title:"Modal",form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16},style:{padding:10}},width:500,content:(0,t.jsx)(P,{}),styles:{body:{paddingBottom:0}},onOk:function(S){console.log("ok...",S)}})},b=function(){C({title:"Drawer",form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16}},width:500,content:(0,t.jsx)(P,{})})},E=function(){C({title:"Drawer",width:500,extra:void 0,form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16}},content:(0,t.jsx)(D,{})})};return(0,t.jsxs)(c.Z,{style:{padding:"0 16px"},children:[(0,t.jsx)(s.ZP,{onClick:R,children:"Modal custom form"}),(0,t.jsx)(s.ZP,{onClick:b,children:"Drawer custom form"}),(0,t.jsx)(s.ZP,{onClick:E,children:"Drawer \u591A\u6309\u94AE"})]})}},52653:function(g,n,e){"use strict";e.r(n),e.d(n,{FooterButtonHolder:function(){return l},default:function(){return h}});var v=e(48305),o=e.n(v),y=e(75271),_=e(50712),u=e(52676),l=function(d){var s=d.buttonRef,r=(0,y.useState)(),c=o()(r,2),p=c[0],t=c[1];return(0,y.useImperativeHandle)(s,function(){return{onSetButtons:function(f){t(f)}}}),(0,u.jsx)(u.Fragment,{children:p})};function h(i){var d=i.children,s=_.default.useInstance(),r=s.drawerFooterRef;return(0,y.useEffect)(function(){var c,p=(0,u.jsx)(u.Fragment,{children:d});r==null||(c=r.current)===null||c===void 0||c.onSetButtons(p)}),null}},24324:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),u=e(80729),l=e(75271),h=e(52676),i=function(s){var r=s.formRef,c=s.children,p=s.formProps,t=u.Z.useForm(),a=_()(t,1),f=a[0];(0,l.useImperativeHandle)(r,function(){return{formInstance:f}});var P=p.layout==="horizontal"||!p.layout,D=P?{labelCol:{span:7},wrapperCol:{span:16}}:void 0;return(0,h.jsx)(u.Z,o()(o()(o()({form:f,preserve:!1},D),p),{},{children:c}))};n.default=i},31939:function(g,n,e){"use strict";e.r(n),e.d(n,{DialogElementsHolder:function(){return f},default:function(){return I}});var v=e(15558),o=e.n(v),y=e(48305),_=e.n(y),u=e(68144),l=e(86763),h=e.n(l),i=e(75271),d=e(38751),s=e(94127),r=e(81475),c=e(94350),p=e(93261),t=e(3833),a=e(52676),f=i.memo(i.forwardRef(function(m,C){var R=(0,t.default)(),b=_()(R,2),E=b[0],M=b[1];return i.useImperativeHandle(C,function(){return{patchElement:M}},[]),(0,a.jsx)(a.Fragment,{children:E})})),P=0,D=0,O=[];function I(){var m=i.useRef(null),C=i.useState([]),R=_()(C,2),b=R[0],E=R[1],M=(0,r.default)()||{},x=(0,s.default)(),S=x.dialogHolderRef||M.dialogHolderRef;i.useEffect(function(){if(b.length){var K=o()(b);K.forEach(function(W){W()}),E([])}},[b]);var T=i.useCallback(function(K){P+=1;var W=i.createRef(),j,A=(0,a.jsx)(p.default,{config:K,afterClose:function(){var Z;(Z=j)===null||Z===void 0||Z()},dialogRef:W},"modal-".concat(P)),k=m.current?m:S;if(k!=null&&k.current)j=k.current.patchElement(A);else{u.default.showWarning(!1,"\u672A\u4F7F\u7528CssAppConfig\u5168\u5C40\u914D\u7F6E\u3001\u4E5F\u672A\u5C06contextHolder\u63D2\u5165\u7EC4\u4EF6\u4E2D\uFF0C\u5C06\u65E0\u6CD5\u9002\u914Dantd\u4E3B\u9898\u914D\u7F6E\u548C\u83B7\u53D6context\u3002");var N=document.createElement("div");document.body.append(N);var H=(0,d.createRoot)(N);H.render((0,a.jsx)(a.Fragment,{children:A})),j=function(){setTimeout(function(){H.unmount()},500)}}j&&O.push(j);var F={destroy:function(){function Z(){var z;(z=W.current)===null||z===void 0||z.destroy()}W.current?Z():E(function(z){return[].concat(o()(z),[Z])})},update:function(Z){function z(){var Q;(Q=W.current)===null||Q===void 0||Q.update(Z)}W.current?z():E(function(Q){return[].concat(o()(Q),[z])})}};return F},[]),U=i.useCallback(function(K){D+=1;var W=i.createRef(),j,A=(0,a.jsx)(c.default,{config:K,afterClose:function(){var z;(z=j)===null||z===void 0||z()},dialogRef:W},"drawer-".concat(D)),k=m.current?m:S;if(k!=null&&k.current){var N;j=(N=k.current)===null||N===void 0?void 0:N.patchElement(A)}else{u.default.showWarning(!1,"\u672A\u4F7F\u7528CssAppConfig\u5168\u5C40\u914D\u7F6E\u3001\u4E5F\u672A\u5C06contextHolder\u63D2\u5165\u7EC4\u4EF6\u4E2D\uFF0C\u5C06\u65E0\u6CD5\u9002\u914Dantd\u4E3B\u9898\u914D\u7F6E\u548C\u83B7\u53D6context\u3002");var H=document.createElement("div");document.body.append(H);var F=(0,d.createRoot)(H);F.render((0,a.jsx)(a.Fragment,{children:A})),j=function(){setTimeout(function(){F.unmount()},500)}}j&&O.push(j);var B={destroy:function(){function z(){var Q;(Q=W.current)===null||Q===void 0||Q.destroy()}W.current?z():E(function(Q){return[].concat(o()(Q),[z])})},update:function(z){function Q(){var $;($=W.current)===null||$===void 0||$.update(z)}W.current?Q():E(function($){return[].concat(o()($),[Q])})}};return B},[]),L=i.useMemo(function(){return{openModal:h()(function(K){return T(K)},500,{leading:!0,trailing:!1}),openDrawer:h()(function(K){return U(K)},500,{leading:!0,trailing:!1})}},[]);return{openDrawer:L.openDrawer,openModal:L.openModal,contextHolder:(0,a.jsx)(f,{ref:m},"modal-holder")}}},50712:function(g,n,e){"use strict";e.r(n);var v=e(35119),o=e(22818),y=e(45484),_=e(52653),u=e(31939),l=v.default;l.Buttons=o.default,l.useDialog=u.default,l.useInstance=y.useDialogContext,l.DrawerFooter=_.default,n.default=l},3833:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var v=e(15558),o=e.n(v),y=e(48305),_=e.n(y),u=e(75271);function l(){var h=u.useState([]),i=_()(h,2),d=i[0],s=i[1],r=u.useCallback(function(c){return s(function(p){return[].concat(o()(p),[c])}),function(){s(function(p){return p.filter(function(t){return t!==c})})}},[]);return[d,r]}},4683:function(g,n,e){"use strict";e.r(n)},29175:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),u=e(93325),l=e(82187),h=e.n(l),i=e(81475),d=e(50796),s=e(83857),r=e(52676),c=["placeholder","height","variant","className","extensions","disabled","styles","size","theme"];function p(t){var a=t.placeholder,f=a===void 0?"\u8BF7\u8F93\u5165":a,P=t.height,D=P===void 0?150:P,O=t.variant,I=O===void 0?"outlined":O,m=t.className,C=t.extensions,R=C===void 0?[]:C,b=t.disabled,E=t.styles,M=t.size,x=M===void 0?"middle":M,S=t.theme,T=_()(t,c),U=(0,i.default)(),L=S||U.theme||"light",K=(0,d.default)({height:D,styles:E,variant:I,size:x}),W=K.styles.root,j=K.onActived;return(0,r.jsx)(u.default,o()(o()({onFocus:function(){return j(!0)},onBlur:function(){return j(!1)},style:W,readOnly:b,extensions:R,placeholder:f,theme:L},T),{},{className:h()("ccs-editor",m,{"ccs-editor-fill":I==="filled"&&L==="light"})}))}},81777:function(g,n,e){"use strict";e.r(n);var v=e(36075),o=e.n(v),y=e(51561),_=e(68240),u=e(80932),l=e(24605),h=e(39445),i=e(53056),d=e(52676);function s(r){return o()(r),(0,d.jsx)(d.Fragment,{})}s.Json=_.default,s.Js=y.default,s.Sql=l.default,s.Yaml=i.default,s.Xml=h.default,s.Rich=u.default,n.default=s},51561:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var v=e(26068),o=e.n(v),y=e(48496),_=e(29175),u=e(52676);function l(h){return(0,u.jsx)(_.default,o()(o()({},h),{},{extensions:[(0,y.javascript)({jsx:!0})]}))}},68240:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return d}});var v=e(26068),o=e.n(v),y=e(37441),_=e(8435),u=e(47107),l=e(29175),h=e(52676),i=(0,u.linter)(function(s){var r=[];return(0,_.syntaxTree)(s.state).cursor().iterate(function(c){c.name==="\u26A0"&&r.push({from:c.from,to:c.to,severity:"error",message:"JSON\u9519\u8BEF"})}),r});function d(s){return(0,h.jsx)(l.default,o()(o()({},s),{},{extensions:[(0,y.json)(),i]}))}},14635:function(g,n,e){"use strict";e.r(n),e.d(n,{EditorRichContext:function(){return P},default:function(){return D}});var v=e(26068),o=e.n(v),y=e(81475),_=e(50796),u=e(27741),l=e(13343),h=e(85600),i=e(7214),d=e(69157),s=e(69838),r=e(54249),c=e(75271),p=e(92523),t=e(86638),a=e(56062),f=e(52676),P=c.createContext({});function D(O){var I=O.disabled,m=O.height,C=m===void 0?150:m,R=O.styles,b=O.variant,E=b===void 0?"outlined":b,M=O.placeholder,x=M===void 0?"\u8BF7\u8F93\u5165":M,S=O.size,T=S===void 0?"middle":S,U=O.imageUpload,L=O.plugins,K=O.editorConfig,W=O.onChange,j=(0,y.default)(),A=j.theme||"light",k=(0,_.default)({height:C,styles:R,variant:E,size:T,theme:A}),N=k.styles,H=N.root,F=N.inner,B=N.toolbarStyles,Z=N.placeholderStyles,z=N.background,Q=k.onActived;return(0,f.jsx)(P.Provider,{value:{imageUpload:U},children:(0,f.jsx)(u.LexicalComposer,{initialConfig:o()(o()({},K),{},{editable:!I,editorState:null}),children:(0,f.jsxs)("div",{className:"css-editor-rich",style:o()({background:z},H),children:[(0,f.jsx)(a.default,{disabled:I,style:B}),(0,f.jsxs)("div",{className:"editor-inner",style:F,children:[(0,f.jsx)(r.RichTextPlugin,{contentEditable:(0,f.jsx)(l.ContentEditable,{className:"editor-input","aria-placeholder":x,placeholder:(0,f.jsx)("div",{className:"editor-placeholder",style:Z,children:x}),onFocus:function(){return Q(!0)},onBlur:function(){return Q(!1)}}),ErrorBoundary:h.LexicalErrorBoundary}),(0,f.jsx)(s.OnChangePlugin,{onChange:W}),(0,f.jsx)(p.default,{}),(0,f.jsx)(i.HistoryPlugin,{}),(0,f.jsx)(d.LinkPlugin,{}),L]})]})})})}},24181:function(g,n,e){"use strict";e.r(n),e.d(n,{parseAllowedColor:function(){return _},parseAllowedFontSize:function(){return y}});var v=8,o=72,y=function(l){var h=l.match(/^(\d+(?:\.\d+)?)px$/);if(h){var i=Number(h[1]);if(i>=v&&i<=o)return l}return""};function _(u){return/^rgb\(\d+, \d+, \d+\)$/.test(u)?u:""}},67764:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return s}});var v=e(48305),o=e.n(v),y=e(15409),_=e(89633),u=e(16929),l=e(19152),h=e(18466),i=e(75271),d=e(52676);function s(r){var c=r.onClose,p=r.onOk,t=r.code,a=(0,i.useState)(t),f=o()(a,2),P=f[0],D=f[1],O=u.Z.useToken(),I=O.token;return(0,d.jsx)("div",{className:"css-editor-code",style:{background:I.colorBgContainer},children:(0,d.jsxs)("div",{className:"css-editor-code-content",children:[(0,d.jsx)(l.Z.TextArea,{style:{height:"100%"},variant:"filled",value:P,onChange:function(C){return D(C.target.value)}}),(0,d.jsxs)("div",{className:"css-editor-code-btn",children:[(0,d.jsx)(h.ZP,{onClick:c,icon:(0,d.jsx)(y.Z,{}),size:"small",children:"\u8FD4\u56DE"}),(0,d.jsx)(h.ZP,{style:{marginLeft:10},icon:(0,d.jsx)(_.Z,{}),onClick:function(){return p(P)},size:"small",children:"\u4FDD\u5B58"})]})]})})}},56062:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return Q}});var v=e(48305),o=e.n(v),y=e(2593),_=e(65351),u=e(52608),l=e(22668),h=e(82348),i=e(12335),d=e(37101),s=e(76371),r=e(91319),c=e(37535),p=e(32791),t=e(86346),a=e(23455),f=e(14875),P=e(24799),D=e(48666),O=e(63552),I=e(1775),m=e(34073),C=e(83346),R=e(20509),b=e(80729),E=e(46960),M=e(19152),x=e(54999),S=e(57439),T=e(18466),U=e(81465),L=e(6052),K=e(71794),W=e(75271),j=e(14635),A=e(32097),k=e(35030),N=e(85289),H=e(67764),F=e(6145),B=e(52676);function Z($){var V=$.onCancel,ne=$.onOk,X=b.Z.useForm(),J=o()(X,1),G=J[0];function le(){G.validateFields().then(function(ae){ne(ae),V()})}return(0,B.jsx)(B.Fragment,{children:(0,B.jsx)(E.Z,{open:!0,destroyOnHidden:!0,onCancel:V,onOk:le,children:(0,B.jsxs)(b.Z,{form:G,initialValues:{url:"http://",target:"_self"},layout:"horizontal",labelCol:{span:6},wrapperCol:{span:15},children:[(0,B.jsx)(b.Z.Item,{label:"url",name:"url",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5"}],children:(0,B.jsx)(M.Z,{})}),(0,B.jsx)(b.Z.Item,{label:"\u8BF4\u660E",name:"title",children:(0,B.jsx)(M.Z,{})}),(0,B.jsx)(b.Z.Item,{label:"\u7C7B\u578B",name:"target",children:(0,B.jsx)(x.ZP.Group,{optionType:"button",options:[{label:"\u5185\u90E8\u94FE\u63A5",value:"_self"},{label:"\u5916\u90E8\u94FE\u63A5",value:"_blank"}]})})]})})})}var z=[{label:"\u9ED8\u8BA4",value:"inherit"},{label:"\u5B8B\u4F53",value:"SimSun, serif"},{label:"\u9ED1\u4F53",value:"SimHei, sans-serif"},{label:"\u5FAE\u8F6F\u96C5\u9ED1",value:'"Microsoft YaHei", sans-serif'},{label:"Arial",value:"Arial, sans-serif"},{label:"Times New Roman",value:'"Times New Roman", serif'},{label:"Courier New",value:'"Courier New", monospace'},{label:"Georgia",value:"Georgia, serif"},{label:"Verdana",value:"Verdana, sans-serif"}];function Q($){var V=$.style,ne=$.disabled,X=(0,m.useLexicalComposerContext)(),J=o()(X,1),G=J[0],le=(0,W.useContext)(j.EditorRichContext),ae=le.imageUpload,Y=A.default.useComplexState({canUndo:!1,canRedo:!1,isBold:!1,isItalic:!1,isUnderline:!1,isStrikethrough:!1,isUpload:!1,isLinkOpen:!1,isLink:!1,fontSize:"14px",fontFamily:"inherit",fontColor:void 0,bgColor:void 0,codeEdit:""}),q=Y.state,te=Y.setByPath,re=q.canRedo,ue=q.canUndo,oe=q.isBold,ie=q.isItalic,me=q.isUnderline,_e=q.isStrikethrough,ve=q.isUpload,he=q.isLinkOpen,Pe=q.isLink,Re=q.fontSize,ge=q.fontFamily,Me=q.fontColor,Ke=q.bgColor,Te=q.codeEdit,pe=(0,W.useCallback)(function(se){G.update(function(){var xe=(0,K.$getSelection)();(0,K.$isRangeSelection)(xe)&&(0,C.$patchStyleText)(xe,se)})},[G]),de=(0,W.useCallback)(function(se){pe({"font-size":se}),te("fontSize",se)},[pe]),Ie=(0,W.useCallback)(function(se){pe({"font-family":se}),te("fontFamily",se)},[pe]),Ae=(0,W.useCallback)(function(se){pe({color:se}),te("fontColor",se)},[pe]),Be=(0,W.useCallback)(function(se){pe({"background-color":se}),te("bgColor",se)},[pe]),Ue=function(xe){G.dispatchCommand(K.FORMAT_TEXT_COMMAND,xe)},Se=function(xe){G.dispatchCommand(K.FORMAT_ELEMENT_COMMAND,xe)},je=[{label:12,value:"12px"},{label:14,value:"14px"},{label:16,value:"16px"},{label:18,value:"18px"},{label:20,value:"20px"},{label:24,value:"24px"},{label:28,value:"28px"},{label:38,value:"36px"},{label:48,value:"48px"},{label:72,value:"72px"}],w=(0,W.useCallback)(function(){var se=(0,K.$getSelection)();if((0,K.$isRangeSelection)(se)){te({isBold:se.hasFormat("bold"),isItalic:se.hasFormat("italic"),isUnderline:se.hasFormat("underline"),isStrikethrough:se.hasFormat("strikethrough"),fontSize:(0,C.$getSelectionStyleValueForProperty)(se,"font-size","16px"),fontFamily:(0,C.$getSelectionStyleValueForProperty)(se,"font-family","inherit"),fontColor:(0,C.$getSelectionStyleValueForProperty)(se,"color","#000000"),bgColor:(0,C.$getSelectionStyleValueForProperty)(se,"background-color",void 0)});var xe=se.anchor.getNode().getParent();te("isLink",(0,I.$isLinkNode)(xe))}},[]);(0,N.useInsertCss)("editor",function(se){return[".ccs-rich-upload .".concat(se,"-upload-wrapper.").concat(se,"-upload-picture-card-wrapper .").concat(se,"-upload.").concat(se,"-upload-select{width:200px;height:200px;}"),".ccs-rich-upload .".concat(se,"-upload-wrapper.").concat(se,"-upload-picture-card-wrapper .").concat(se,"-upload-list.").concat(se,"-upload-list-picture-card .").concat(se,"-upload-list-item-container{width:200px;height:200px;}")]}),(0,W.useEffect)(function(){return(0,R.mergeRegister)(G.registerUpdateListener(function(se){var xe=se.editorState;xe.read(function(){w()},{editor:G})}),G.registerCommand(K.SELECTION_CHANGE_COMMAND,function(se,xe){return w(),!1},K.COMMAND_PRIORITY_LOW),G.registerCommand(K.CAN_UNDO_COMMAND,function(se){return te("canUndo",se),!1},K.COMMAND_PRIORITY_LOW),G.registerCommand(K.CAN_REDO_COMMAND,function(se){return te("canRedo",se),!1},K.COMMAND_PRIORITY_LOW))},[G,w]);var ee=function(xe){G.dispatchCommand(I.TOGGLE_LINK_COMMAND,xe)},ce=(0,W.useCallback)(function(){Pe?G.dispatchCommand(I.TOGGLE_LINK_COMMAND,null):te("isLinkOpen",!0)},[G,Pe]),fe=ne,Ce=function(xe){G.update(function(){if(Te!==xe){var ke=new DOMParser,Ne=ke.parseFromString(xe||"","text/html"),He=(0,O.$generateNodesFromDOM)(G,Ne);(0,K.$getRoot)().clear(),(0,K.$getRoot)().select(),(0,K.$insertNodes)(He)}te("codeEdit","")})};return(0,B.jsxs)("div",{className:"ccs-editor-toolbar",style:V,children:[(0,B.jsx)(S.Z,{title:"\u64A4\u9500",children:(0,B.jsx)(T.ZP,{disabled:!ue||fe,onClick:function(){G.dispatchCommand(K.UNDO_COMMAND,void 0)},icon:(0,B.jsx)(y.Z,{}),type:"text"})}),(0,B.jsx)(S.Z,{title:"\u91CD\u505A",children:(0,B.jsx)(T.ZP,{disabled:!re||fe,onClick:function(){G.dispatchCommand(K.REDO_COMMAND,void 0)},icon:(0,B.jsx)(_.Z,{}),type:"text"})}),(0,B.jsx)(U.Z,{type:"vertical"}),(0,B.jsx)(S.Z,{title:"\u52A0\u7C97",children:(0,B.jsx)(T.ZP,{disabled:fe,onClick:function(){Ue("bold")},icon:(0,B.jsx)(u.Z,{}),type:oe?"link":"text"})}),(0,B.jsx)(S.Z,{title:"\u659C\u4F53",children:(0,B.jsx)(T.ZP,{disabled:fe,onClick:function(){Ue("italic")},icon:(0,B.jsx)(l.Z,{}),type:ie?"link":"text"})}),(0,B.jsx)(S.Z,{title:"\u4E0B\u5212\u7EBF",children:(0,B.jsx)(T.ZP,{disabled:fe,onClick:function(){Ue("underline")},icon:(0,B.jsx)(h.Z,{}),type:me?"link":"text"})}),(0,B.jsx)(S.Z,{title:"\u5220\u9664\u7EBF",children:(0,B.jsx)(T.ZP,{disabled:fe,onClick:function(){Ue("strikethrough")},icon:(0,B.jsx)(i.Z,{}),type:_e?"link":"text"})}),(0,B.jsx)(U.Z,{type:"vertical"}),(0,B.jsx)(S.Z,{title:"\u5DE6\u5BF9\u9F50",children:(0,B.jsx)(T.ZP,{disabled:fe,onClick:function(){Se("left")},icon:(0,B.jsx)(d.Z,{}),type:"text"})}),(0,B.jsx)(S.Z,{title:"\u4E2D\u95F4\u5BF9\u9F50",children:(0,B.jsx)(T.ZP,{disabled:fe,onClick:function(){Se("center")},icon:(0,B.jsx)(s.Z,{}),type:"text"})}),(0,B.jsx)(S.Z,{title:"\u53F3\u5BF9\u9F50",children:(0,B.jsx)(T.ZP,{disabled:fe,onClick:function(){Se("right")},icon:(0,B.jsx)(r.Z,{}),type:"text"})}),(0,B.jsx)(S.Z,{title:"\u4E24\u6BB5\u5BF9\u9F50",children:(0,B.jsx)(T.ZP,{disabled:fe,onClick:function(){Se("justify")},icon:(0,B.jsx)(c.Z,{}),type:"text"})}),(0,B.jsx)(S.Z,{title:"\u56FE\u7247\u4E0A\u4F20",children:(0,B.jsx)(T.ZP,{type:"text",disabled:fe,icon:(0,B.jsx)(p.Z,{}),onClick:function(){return te("isUpload",!0)}})}),(0,B.jsx)(S.Z,{title:Pe?"\u53D6\u6D88\u8D85\u94FE\u63A5":"\u6DFB\u52A0\u8D85\u94FE\u63A5",children:(0,B.jsx)(T.ZP,{type:"text",icon:Pe?(0,B.jsx)(t.Z,{}):(0,B.jsx)(a.Z,{}),onClick:function(){return ce()},disabled:fe})}),(0,B.jsx)(U.Z,{type:"vertical"}),(0,B.jsx)(k.default,{value:Me,onChange:function(xe){return Ae(xe)},children:(0,B.jsx)(S.Z,{title:"\u5B57\u4F53\u989C\u8272",children:(0,B.jsx)(T.ZP,{disabled:fe,style:{color:Me},icon:(0,B.jsx)(f.Z,{}),type:"text"})})}),(0,B.jsx)(k.default,{value:Ke,onChange:function(xe){return Be(xe)},children:(0,B.jsx)(S.Z,{title:"\u80CC\u666F\u8272",children:(0,B.jsx)(T.ZP,{disabled:fe,style:{color:Ke},icon:(0,B.jsx)(P.Z,{}),type:"text"})})}),(0,B.jsx)(U.Z,{type:"vertical"}),(0,B.jsx)(S.Z,{title:"\u5B57\u4F53",children:(0,B.jsx)(L.default,{value:ge,options:z,variant:"filled",size:"small",onChange:Ie,style:{marginRight:6,width:80},popupMatchSelectWidth:200})}),(0,B.jsx)(S.Z,{title:"\u5B57\u4F53\u5927\u5C0F",children:(0,B.jsx)(L.default,{value:Re,options:je,variant:"filled",size:"small",onChange:de})}),(0,B.jsx)(U.Z,{type:"vertical"}),(0,B.jsx)(T.ZP,{size:"small",type:"text",onClick:function(){G.read(function(){var xe=(0,D.$onGenerateHTML)(G);te("codeEdit",xe)})},children:"\u6E90\u7801"}),(0,B.jsx)(T.ZP,{size:"small",type:"text",onClick:function(){G.read(function(){var xe=(0,D.$onGenerateHTML)(G),ke=window.open("about:blank","_blank");ke==null||ke.document.write("<!DOCTYPE html><html><head><title>\u65B0\u9875\u9762</title><style>p{margin:0};</style></head><body>".concat(xe,"</body></html>")),ke==null||ke.document.close()})},children:"\u9884\u89C8"}),ve&&(ae==null?void 0:ae.uploadRequest)&&(0,B.jsx)(F.default,{onCancel:function(){return te("isUpload",!1)}}),he&&(0,B.jsx)(Z,{onOk:ee,onCancel:function(){return te("isLinkOpen",!1)}}),!!Te&&(0,B.jsx)(H.default,{code:Te,onOk:Ce,onClose:function(){return te("codeEdit","")}})]})}},6145:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return R}});var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),u=e(87999),l=e.n(u),h=e(48305),i=e.n(h),d=e(64276),s=e(34073),r=e(80729),c=e(46960),p=e(54999),t=e(19152),a=e(71794),f=e(75271),P=e(14635),D=e(80882),O=e(92523),I=e(83844),m=e(52676),C=function(E){return E?typeof E=="number"?E+"px":E.endsWith("px")||E.endsWith("%")?E:parseInt(E)+"px":"100%"};function R(b){var E=b.imageProps,M=E===void 0?{urlType:"url"}:E,x=b.onCancel,S=(0,s.useLexicalComposerContext)(),T=i()(S,1),U=T[0],L=(0,f.useContext)(P.EditorRichContext),K=L.imageUpload;function W(){return M.src?M.urlType==="url"?{base64:void 0,url:M.src}:{base64:M.src,url:void 0}:{}}var j=(0,f.useState)(W),A=i()(j,2),k=A[0],N=A[1],H=r.Z.useForm(),F=i()(H,1),B=F[0],Z=(0,f.useRef)(null),z=function(){var Q=l()(_()().mark(function $(){var V,ne,X,J,G,le;return _()().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return Y.next=2,B.validateFields();case 2:if(V=Y.sent,ne=V.urlType,X=V.src,J=V.altText,G=V.height,le=V.width,M.key===void 0){Y.next=8;break}return U.update(function(){var q=(0,a.$getNodeByKey)(M.key);q&&(0,I.$isImageNode)(q)&&q.updateData({altText:J,height:C(G),width:C(le),urlType:ne,src:X})}),x(),Y.abrupt("return");case 8:U.dispatchCommand(O.INSERT_IMAGE_COMMAND,{altText:J||"",src:X,width:C(le),height:C(G)}),x();case 10:case"end":return Y.stop()}},$)}));return function(){return Q.apply(this,arguments)}}();return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(c.Z,{open:!0,title:"\u56FE\u7247\u4E0A\u4F20",onCancel:x,rootClassName:"ccs-rich-upload",onOk:z,width:550,children:(0,m.jsxs)("div",{style:{display:"flex",gap:16,justifyContent:"center"},children:[(0,m.jsxs)(r.Z,{form:B,labelCol:{span:8},layout:"horizontal",initialValues:M,children:[(0,m.jsx)(r.Z.Item,{name:"urlType",label:"\u52A0\u8F7D\u7C7B\u578B",style:{marginBottom:16},children:(0,m.jsx)(p.ZP.Group,{optionType:"button",options:[{label:"\u94FE\u63A5",value:"url"},{label:"BASE64",value:"base64"}]})}),(0,m.jsx)(d.Z.Item,{name:"src",label:"\u56FE\u7247\u94FE\u63A5",style:{marginBottom:16},simpleRule:"input",children:(0,m.jsx)(t.Z.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u94FE\u63A5"})}),(0,m.jsx)(r.Z.Item,{name:"altText",label:"\u56FE\u7247\u540D\u79F0",style:{marginBottom:16},children:(0,m.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u540D\u79F0"})}),(0,m.jsx)(r.Z.Item,{name:"width",label:"\u56FE\u7247\u5BBD\u5EA6",style:{marginBottom:16},children:(0,m.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u5BBD\u5EA6"})}),(0,m.jsx)(r.Z.Item,{name:"height",label:"\u56FE\u7247\u9AD8\u5EA6",style:{marginBottom:0},children:(0,m.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u9AD8\u5EA6"})}),(0,m.jsx)(r.Z.Item,{shouldUpdate:function($,V){return $.urlType!==V.urlType},children:function($){var V=$.getFieldValue,ne=$.setFieldValue,X=V("urlType"),J=V("src");return setTimeout(function(){if(X==="base64"){if(k.base64===J)return null;ne("src",k.base64)}if(X==="url"){if(k.url===J)return null;ne("src",k.url)}},1),null}})]}),(0,m.jsx)("div",{style:{flex:"0 0 200px"},children:(0,m.jsx)(D.default.Image,o()(o()({value:M.src},K),{},{onImageInfo:function($){var V="".concat((K==null?void 0:K.imageUrl)||"").concat($.url);N({base64:$.base64,url:V});var ne=B.getFieldValue("urlType");B.setFieldValue("altText",$.name),B.setFieldValue("src",ne==="url"?V:$.base64)},onChange:function($){$||(B.setFieldsValue({src:"",altText:"",width:"",height:""}),N({}))}}))}),(0,m.jsx)("img",{style:{position:"fixed",visibility:"hidden",top:0,left:0},onLoad:function(){var $,V;return B.setFieldsValue({width:"".concat(($=Z.current)===null||$===void 0?void 0:$.width,"px"),height:"".concat((V=Z.current)===null||V===void 0?void 0:V.height,"px")})},ref:Z,src:k.base64})]})})})}},40815:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var v=e(48305),o=e.n(v),y=e(75271),_=e(6145),u=e(52676);function l(h){var i=h.src,d=h.altText,s=h.nodeKey,r=h.width,c=h.height,p=(0,y.useState)(!1),t=o()(p,2),a=t[0],f=t[1],P=function(){f(!0)};return(0,u.jsxs)(u.Fragment,{children:[a&&(0,u.jsx)(_.default,{imageProps:{key:s,src:i,altText:d,width:r,height:c,urlType:i!=null&&i.startsWith("data:image")?"base64":"url"},onCancel:function(){return f(!1)}}),(0,u.jsx)("img",{style:{width:r,height:c},onClick:P,alt:d,src:i,draggable:"false"})]})}},83844:function(g,n,e){"use strict";e.r(n),e.d(n,{$createImageNode:function(){return D},$isImageNode:function(){return I},ImageNode:function(){return P}});var v=e(25298),o=e.n(v),y=e(17069),_=e.n(y),u=e(62657),l=e.n(u),h=e(21742),i=e.n(h),d=e(83136),s=e.n(d),r=e(82092),c=e.n(r),p=e(71794),t=e(75271),a=e(52676),f=t.lazy(function(){return Promise.resolve().then(e.bind(e,40815))}),P=function(m){i()(R,m);var C=s()(R);function R(b,E,M,x,S){var T;return o()(this,R),T=C.call(this,S),c()(l()(T),"__src",void 0),c()(l()(T),"__altText",void 0),c()(l()(T),"__width",void 0),c()(l()(T),"__height",void 0),T.__src=b,T.__altText=E,T.__width=M||"inherit",T.__height=x||"inherit",T}return _()(R,[{key:"exportJSON",value:function(){return{altText:this.__altText,height:this.__height,src:this.__src,width:this.__width,type:"image",version:1}}},{key:"exportDOM",value:function(){var E=document.createElement("img");return E.setAttribute("src",this.__src),E.setAttribute("alt",this.__altText),this.__width&&E.setAttribute("width",this.__width.toString()),this.__height&&E.setAttribute("height",this.__height.toString()),{element:E}}},{key:"createDOM",value:function(E){var M=document.createElement("span"),x=E.theme,S=x.image;return S!==void 0&&(M.className=S),M}},{key:"updateDOM",value:function(){return!1}},{key:"updateData",value:function(E){var M=this.getWritable();M.__width=E.width,M.__height=E.height,M.__src=E.src,M.__altText=E.altText}},{key:"decorate",value:function(){return(0,a.jsx)(t.Suspense,{fallback:null,children:(0,a.jsx)(f,{src:this.__src,altText:this.__altText,width:this.__width,height:this.__height,nodeKey:this.getKey()})})}}],[{key:"getType",value:function(){return"image"}},{key:"clone",value:function(E){return new R(E.__src,E.__altText,E.__width,E.__height,E.__key)}},{key:"importJSON",value:function(E){var M=E.altText,x=E.height,S=E.width,T=E.src;return new R(T,M,S,x)}},{key:"importDOM",value:function(){return{img:function(){return{conversion:O,priority:0}}}}}]),R}(p.DecoratorNode);function D(m){var C=m.altText,R=m.height,b=m.src,E=m.width;return new P(b,C,E,R)}function O(m){if(m instanceof HTMLImageElement){var C=m.alt,R=m.src,b=m.width,E=m.height,M=D({altText:C,height:E,src:R,width:b});return{node:M}}return null}function I(m){return m instanceof P}},92523:function(g,n,e){"use strict";e.r(n),e.d(n,{INSERT_IMAGE_COMMAND:function(){return h},UPDATE_IMAGE_COMMAND:function(){return i},default:function(){return d}});var v=e(48305),o=e.n(v),y=e(34073),_=e(71794),u=e(75271),l=e(83844),h=(0,_.createCommand)("INSERT_IMAGE_COMMAND"),i=(0,_.createCommand)("UPDATE_IMAGE_COMMAND");function d(){var s=(0,y.useLexicalComposerContext)(),r=o()(s,1),c=r[0];return(0,u.useEffect)(function(){c.registerCommand(h,function(p){var t=(0,l.$createImageNode)(p);return(0,_.$insertNodes)([t]),!0},_.COMMAND_PRIORITY_EDITOR)},[c]),null}},13273:function(g,n,e){"use strict";e.r(n);var v=e(48305),o=e.n(v),y=e(63552),_=e(34073),u=e(71794),l=e(75271),h=function(d){var s=d.value,r=(0,_.useLexicalComposerContext)(),c=o()(r,1),p=c[0];return(0,l.useEffect)(function(){p.update(function(){var t=(0,y.$generateHtmlFromNodes)(p,null);if(s!==t){var a=new DOMParser,f=a.parseFromString(s||"","text/html"),P=(0,y.$generateNodesFromDOM)(p,f);(0,u.$getRoot)().clear(),(0,u.$getRoot)().select(),(0,u.$insertNodes)(P)}})},[p,s]),null};n.default=h},48666:function(g,n,e){"use strict";e.r(n),e.d(n,{$onGenerateHTML:function(){return h}});var v=e(1775),o=e(5590),y=e(78608),_=e(71794),u=e(83844);function l(i){return i.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function h(i){var d="";function s(r){if((0,_.$isTextNode)(r)){var c=l(r.getTextContent());return r.hasFormat("bold")&&(c="<strong>".concat(c,"</strong>")),r.hasFormat("italic")&&(c="<em>".concat(c,"</em>")),r.hasFormat("underline")&&(c="<u>".concat(c,"</u>")),r.hasFormat("strikethrough")&&(c="<s>".concat(c,"</s>")),r.hasFormat("code")&&(c="<code>".concat(c,"</code>")),c}if((0,u.$isImageNode)(r)){var p=r.__width,t=r.__height,a=r.__altText,f=r.__src;return typeof p=="number"&&(p="".concat(p,"px")),typeof t=="number"&&(t="".concat(t,"px")),'<img src="'.concat(f,'" alt="').concat(a,'" width="').concat(p,'" height="').concat(t,'" />')}if((0,_.$isElementNode)(r)){var P,D=r.getChildren(),O=D.map(function(b){return s(b)}).join(""),I=((P=r.getFormatType)===null||P===void 0?void 0:P.call(r))||"",m=I?' style="text-align: '.concat(I,';"'):"";if((0,_.$isParagraphNode)(r))return"<p".concat(m,">").concat(O,`</p>
|
|
22
|
-
`);if((0,
|
|
23
|
-
`)}if((0,
|
|
24
|
-
`);if((0,o.$isListNode)(
|
|
25
|
-
`)}return(0,o.$isListItemNode)(
|
|
26
|
-
`):(0,
|
|
27
|
-
`)}return""}return i.getEditorState().read(function(){var r=(0,_.$getRoot)();d=s(r)}),d}},80932:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return M}});var v=e(67825),o=e.n(v),y=e(26068),_=e.n(y),u=e(48305),l=e.n(u),h=e(15558),i=e.n(h),d=e(1775),s=e(5590),r=e(78608),c=e(71794),p=e(14635),t=e(24181),a=e(83844),f=e(13273),P=e(48666),D=e(2978),O=e(52676),I=["value","onChange"],m=function(S,T){var U=T.exportDOM(S);if(U&&(0,c.isHTMLElement)(U.element))for(var L=0,K=[U.element].concat(i()(U.element.querySelectorAll("[style],[class]")));L<K.length;L++){var W=K[L];W.removeAttribute("class"),W.removeAttribute("style")}return U},C=new Map([[c.ParagraphNode,m],[c.TextNode,m]]),R=function(S){var T="",U=(0,t.parseAllowedFontSize)(S.style.fontSize),L=(0,t.parseAllowedColor)(S.style.backgroundColor),K=(0,t.parseAllowedColor)(S.style.color);return U!==""&&U!=="15px"&&(T+="font-size: ".concat(U,";")),L!==""&&L!=="rgb(255, 255, 255)"&&(T+="background-color: ".concat(L,";")),K!==""&&K!=="rgb(0, 0, 0)"&&(T+="color: ".concat(K,";")),T},b=function(){for(var S={},T=function(){var W=l()(L[U],2),j=W[0],A=W[1];S[j]=function(k){var N=A(k);return N?_()(_()({},N),{},{conversion:function(F){var B=N.conversion(F);if(B===null||B.forChild===void 0||B.after!==void 0||B.node!==null)return B;var Z=R(F);if(Z){var z=B.forChild;return _()(_()({},B),{},{forChild:function($,V){var ne=z($,V);return(0,c.$isTextNode)(ne)&&ne.setStyle(ne.getStyle()+Z),ne}})}return B}}):null}},U=0,L=Object.entries(c.TextNode.importDOM()||{});U<L.length;U++)T();return S},E={html:{export:C,import:b()},namespace:"EditorRich",nodes:[c.ParagraphNode,c.TextNode,a.ImageNode,r.HeadingNode,r.QuoteNode,s.ListNode,s.ListItemNode,d.LinkNode],onError:function(S){throw S},theme:D.default};function M(x){var S=x.value,T=x.onChange,U=o()(x,I),L=function(W,j){W.read(function(){var A=(0,P.$onGenerateHTML)(j);return T==null?void 0:T(A)})};return(0,O.jsx)(p.default,_()(_()({editorConfig:E},U),{},{onChange:L,plugins:(0,O.jsx)(f.default,{value:S})}))}},2978:function(g,n,e){"use strict";e.r(n),n.default={code:"editor-code",heading:{h1:"editor-heading-h1",h2:"editor-heading-h2",h3:"editor-heading-h3",h4:"editor-heading-h4",h5:"editor-heading-h5"},image:"editor-image",link:"editor-link",list:{listitem:"editor-listitem",nested:{listitem:"editor-nested-listitem"},ol:"editor-list-ol",ul:"editor-list-ul"},paragraph:"editor-paragraph",placeholder:"editor-placeholder",quote:"editor-quote",text:{bold:"editor-text-bold",code:"editor-text-code",hashtag:"editor-text-hashtag",italic:"editor-text-italic",overflowed:"editor-text-overflowed",strikethrough:"editor-text-strikethrough",underline:"editor-text-underline",underlineStrikethrough:"editor-text-underlinetrikethrough"},ltr:"editor-ltr",rtl:"editor-rtl"}},24605:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var v=e(26068),o=e.n(v),y=e(34887),_=e(29175),u=e(52676);function l(h){return(0,u.jsx)(_.default,o()(o()({},h),{},{extensions:[(0,y.sql)()]}))}},39445:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var v=e(26068),o=e.n(v),y=e(8689),_=e(29175),u=e(52676);function l(h){return(0,u.jsx)(_.default,o()(o()({},h),{},{extensions:[(0,y.xml)()]}))}},53056:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return l}});var v=e(26068),o=e.n(v),y=e(24365),_=e(29175),u=e(52676);function l(h){return(0,u.jsx)(_.default,o()(o()({},h),{},{extensions:[(0,y.yaml)()]}))}},37293:function(g,n,e){"use strict";e.r(n)},64276:function(g,n,e){"use strict";e.d(n,{Z:function(){return u}});var v=e(64017),o=e(14894),y=e(52676);function _(){return(0,y.jsx)(y.Fragment,{})}_.Item=v.default,_.List=o.default;var u=_},64017:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),u=e(67825),l=e.n(u),h=e(19842),i=e(80729),d=e(75271),s=e(65173),r=e(52676),c=["mb","name","rules","children","simpleRule","isGroupName","showValidate","shouldUpdateNames","style"],p=function(P){var D=P.name,O=P.getFieldsValue,I=P.setFieldValue,m=P.getFieldValue,C=P.names,R=m(D);return(0,d.useEffect)(function(){var b=O(!0),E=[];if(C.forEach(function(x){E.push((0,s.getDataByNamePath)(b,x))}),E.filter(function(x){return x!==void 0}).length>0){I(D,E);return}var M=(0,s.getDataByNamePath)(b,D);Array.isArray(M)&&C.forEach(function(x,S){I(x,M[S])})},[]),(0,h.Z)(function(){setTimeout(function(){C.forEach(function(b,E){I(b,Array.isArray(R)?R[E]:void 0)})},1)},[R]),null};function t(f,P){var D=typeof P!="string"?"":P;return f==="select"?{required:!0,message:"\u8BF7\u9009\u62E9".concat(D)}:f==="input"?{required:!0,message:"\u8BF7\u8F93\u5165".concat(D)}:f==="email"?{required:!0,message:"".concat(D||"\u90AE\u7BB1","\u975E\u6CD5"),pattern:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/}:f==="phone"?{required:!0,message:"".concat(D||"\u7535\u8BDD\u53F7\u7801","\u975E\u6CD5"),pattern:/^1[3-9]\d{9}$/}:f==="idcard"?function(){return{validator:function(I,m){return(0,s.isValidCard)(m)?Promise.resolve():Promise.reject(new Error("".concat(D||"\u8EAB\u4EFD\u8BC1\u53F7\u7801","\u975E\u6CD5")))}}}:f==="url"?function(){return{validator:function(I,m){return(0,s.isUrl)(m)?Promise.resolve():Promise.reject(new Error("".concat(D||"URL","\u975E\u6CD5")))}}}:f instanceof RegExp?{required:!0,message:"".concat(D||"\u5185\u5BB9","\u975E\u6CD5"),pattern:f}:{required:!0}}function a(f){var P,D=f.mb,O=f.name,I=f.rules,m=f.children,C=f.simpleRule,R=f.isGroupName,b=f.showValidate,E=f.shouldUpdateNames,M=f.style,x=l()(f,c),S=R&&Array.isArray(O)&&O.length>0,T=(0,d.useState)(S?"_".concat(O==null||(P=O.join("And"))===null||P===void 0?void 0:P.replace(/[^a-zA-Z]/g,""),"_"):O),U=_()(T,1),L=U[0],K=(0,d.useMemo)(function(){var A=I||[];return C&&(Array.isArray(C)?C.forEach(function(k){return A.push(t(k,x.label))}):A.push(t(C,x.label))),A},[C,I]),W=(0,d.useMemo)(function(){var A={};return D!==void 0&&(A.marginBottom=D),o()(o()({},A),M)},[]),j=S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z.Item,{noStyle:!0,shouldUpdate:function(k,N){return(0,s.getDataByNamePath)(k,L)!==(0,s.getDataByNamePath)(N,L)},children:function(k){var N=k.getFieldsValue,H=k.setFieldValue,F=k.getFieldValue;return(0,r.jsx)(p,{getFieldsValue:N,setFieldValue:H,getFieldValue:F,names:O,name:L})}}),O.map(function(A,k){return(0,r.jsx)(a,{noStyle:!0,name:A,hidden:!0},k)})]}):null;return E?(0,r.jsx)(i.Z.Item,{noStyle:!0,shouldUpdate:function(k,N){return Array.isArray(E)?E.some(function(H){return(0,s.getDataByNamePath)(k,H)!==(0,s.getDataByNamePath)(N,H)}):!1},children:function(k){var N=E.map(function(H){return k.getFieldValue(H)});return b&&!b(N)?null:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.Z.Item,o()(o()({rules:K,name:L,style:W},x),{},{children:[d.isValidElement(m)&&d.cloneElement(m,{changes:N}),typeof m=="function"&&m(o()(o()({},k),{},{changes:N}))]})),j]})}}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z.Item,o()(o()({name:L,rules:K,style:W},x),{},{children:m})),j]})}},14894:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return b}});var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),u=e(87999),l=e.n(u),h=e(67825),i=e.n(h),d=e(84816),s=e(64341),r=e(17114),c=e(16929),p=e(80729),t=e(18466),a=e(82187),f=e.n(a),P=e(75271),D=e(59881),O=e.n(D),I=e(52676),m=["name","max","min","addBtn","label","isDrag","renderItem"],C=["key"],R=["className","style"];function b(E){var M=E.name,x=E.max,S=E.min,T=E.addBtn,U=T===void 0?"\u6DFB\u52A0\u9879":T,L=E.label,K=E.isDrag,W=E.renderItem,j=i()(E,m),A=c.Z.useToken(),k=A.token.colorTextDescription,N=(0,I.jsx)(p.Z.List,{name:M,rules:[{validator:function(){var H=l()(_()().mark(function B(Z,z){return _()().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(!(S!==void 0&&(!z||z.length<S))){$.next=2;break}return $.abrupt("return",Promise.reject(new Error("\u9009\u9879\u4E0D\u80FD\u5C11\u4E8E".concat(S,"\u4E2A"))));case 2:if(!(x!==void 0&&(!z||z.length>x))){$.next=4;break}return $.abrupt("return",Promise.reject(new Error("\u9009\u9879\u4E0D\u80FD\u5927\u4E8E".concat(x,"\u4E2A"))));case 4:case"end":return $.stop()}},B)}));function F(B,Z){return H.apply(this,arguments)}return F}()}],children:function(F,B,Z){var z=B.add,Q=B.remove,$=B.move,V=Z.errors,ne=F.map(function(X){var J=X.key,G=i()(X,C);return(0,I.jsx)(P.Fragment,{children:W({remove:Q,nameIndex:G.name,RemoveButtom:function(ae){return(0,I.jsx)(t.ZP,o()({onClick:function(){return Q(G.name)},type:"text",icon:(0,I.jsx)(d.Z,{style:{color:k}})},ae))},DragButtom:function(ae){var Y=ae.className,q=ae.style,te=i()(ae,R);return(0,I.jsx)(t.ZP,o()(o()({type:"text",icon:(0,I.jsx)(s.Z,{style:{color:k}})},te),{},{className:f()("ccs-drag-handle-btn",Y),style:o()({cursor:"move"},q)}))}})},J)});return(0,I.jsxs)(I.Fragment,{children:[K?(0,I.jsx)(D.ReactSortable,{handle:".ccs-drag-handle-btn",list:F,onEnd:function(J){var G=J.oldIndex,le=J.newIndex;G!==void 0&&le!==void 0&&$(G,le)},setList:function(){},animation:200,ghostClass:"ccs-form-drag-ghost",chosenClass:"ccs-form-drag-chosen",children:ne}):ne,P.isValidElement(U)?P.cloneElement(U,{onClick:function(){return z({})}}):(0,I.jsx)(t.ZP,{type:"dashed",onClick:function(){return z({})},icon:(0,I.jsx)(r.Z,{}),children:U}),(0,I.jsx)(p.Z.ErrorList,{errors:V})]})}});return L?(0,I.jsx)(p.Z.Item,o()(o()({label:L},j),{},{children:N})):N}},81475:function(g,n,e){"use strict";e.r(n),e.d(n,{useBaseFields:function(){return h},useProTableFields:function(){return l}});var v=e(26068),o=e.n(v),y=e(75271),_=e(56973),u=function(){var d=(0,y.useContext)(_.AppConfigContext);if(d===void 0)throw new Error("AppConfigContext not found \u672A\u5168\u5C40\u4F7F\u7528 CcsAppConfig");return d},l=function(){var d,s=(0,y.useContext)(_.AppConfigContext)||{};return o()({dataSource:["data","result"],total:["data","totalNum"],requestParam:{pageNo:["pageNo"],pageSize:["pageSize"],filters:["filters"],orderProps:["orderProps"],query:["query"]}},s==null||(d=s.fieldNames)===null||d===void 0?void 0:d.page)},h=function(){var d,s=(0,y.useContext)(_.AppConfigContext)||{};return o()({success:["success"],successTag:!0,msg:["msg"],data:["data"]},s==null||(d=s.fieldNames)===null||d===void 0?void 0:d.base)};n.default=u},50796:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return h}});var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),u=e(16929),l=e(75271);function h(i){var d=i.height,s=i.styles,r=i.variant,c=r===void 0?"outlined":r,p=i.size,t=p===void 0?"middle":p,a=i.theme,f=(0,l.useState)(!1),P=_()(f,2),D=P[0],O=P[1],I=u.Z.useToken(),m=I.token,C=(0,l.useMemo)(function(){var R,b,E,M,x,S,T,U,L={small:{paddingBlock:((R=m.Input)===null||R===void 0?void 0:R.paddingBlock)||0,paddingInline:((b=m.Input)===null||b===void 0?void 0:b.paddingInline)||7},middle:{paddingBlock:((E=m.Input)===null||E===void 0?void 0:E.paddingBlock)||4,paddingInline:((M=m.Input)===null||M===void 0?void 0:M.paddingInline)||11},large:{paddingBlock:((x=m.Input)===null||x===void 0?void 0:x.paddingBlock)||7,paddingInline:((S=m.Input)===null||S===void 0?void 0:S.paddingInline)||11}},K={overflow:"hidden",borderRadius:m.borderRadius,borderColor:D?((T=m.Input)===null||T===void 0?void 0:T.hoverBorderColor)||m.colorInfoHover:m.colorBorder,borderWidth:m.lineWidth,borderStyle:m.lineType,boxShadow:D?((U=m.Input)===null||U===void 0?void 0:U.activeShadow)||m.boxShadowTertiary:"none"};c==="filled"&&(K.background=m.colorFillTertiary,K.borderColor="transparent"),c==="borderless"&&(K.borderColor="transparent"),c==="underlined"&&(K.borderColor="transparent transparent ".concat(m.colorBorder," transparent"),K.borderRadius=0);var W={padding:"".concat(L[t].paddingBlock,"px ").concat(L[t].paddingInline,"px")};d&&(K.height=typeof d=="number"?"".concat(d,"px"):d,K.overflow="hidden");var j={borderBottom:"".concat(m.lineWidth,"px ").concat(m.lineType," ").concat(c==="outlined"?m.colorBorder:"transparent")},A={top:L[t].paddingBlock,left:L[t].paddingInline,color:m.colorTextPlaceholder};return{root:o()(o()({},K),s==null?void 0:s.root),inner:o()(o()({},W),s==null?void 0:s.inner),background:m.colorBgContainer,toolbarStyles:j,placeholderStyles:A}},[c,D,s,a]);return{styles:C,onActived:O}}},85289:function(g,n,e){"use strict";e.r(n),e.d(n,{useInsertCss:function(){return l}});var v=e(89486),o=e.n(v),y=e(75271),_=e(81475),u={};function l(h,i){var d=(0,_.default)()||{},s=d.antConfig,r=(s==null?void 0:s.prefixCls)||"ant";(0,y.useEffect)(function(){if(!u[h]){u[h]=!0;var c=i(r)||[];(0,v.insertCss)(c.join(""))}},[])}},31248:function(g,n,e){"use strict";e.r(n);var v=e(75271),o=function(_){var u=(0,v.useRef)(!1),l=function(){if(!u.current){for(var i=arguments.length,d=new Array(i),s=0;s<i;s++)d[s]=arguments[s];_(d),u.current=!0}};return l};n.default=o},94127:function(g,n,e){"use strict";e.r(n);var v=e(75271),o=e(56973),y=function(){var u=(0,v.useContext)(o.PageContext);if(u===void 0)throw new Error("PageContext not found");return u};n.default=y},70896:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),u=e(67825),l=e.n(u),h=e(31759),i=e.n(h),d=e(13443),s=e(19842),r=e(75271),c=["value","type","defaultRows","keyField","onChangeRows","onChange"];function p(f,P){var D=f!=null?f:[],O=P!=null?P:[];return Array.isArray(D)||(D=[D]),JSON.stringify(D)!==JSON.stringify(O)}function t(f,P){return f===void 0?f:Array.isArray(f)?f.map(function(D){return i()(D)==="object"?D[P]:D}):i()(f)==="object"?f[P]:[f]}function a(f){var P=f||{},D=P.value,O=P.type,I=O===void 0?"checkbox":O,m=P.defaultRows,C=P.keyField,R=C===void 0?"key":C,b=P.onChangeRows,E=P.onChange,M=l()(P,c),x=(0,r.useState)({}),S=_()(x,2),T=S[1],U=(0,r.useRef)({selectedRowKeys:t(D,R),selectedRows:m,info:{type:"none"}}),L=I==="checkbox",K=(0,d.Z)(function(){var A=U.current,k=A.selectedRowKeys,N=k===void 0?[]:k,H=A.selectedRows,F=H===void 0?[]:H;L?E==null||E(N,F):E==null||E(N[0],F[0]),b==null||b(F||[]),E||T({})});(0,r.useEffect)(function(){m&&!U.current.selectedRows&&(U.current.selectedRows=m,b&&b(m),T({}))},[m]),(0,s.Z)(function(){var A=t(D,R);if(p(A,U.current.selectedRowKeys)){var k,N=(k=U.current.selectedRows)===null||k===void 0?void 0:k.filter(function(){var H,F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(H=A||[])===null||H===void 0?void 0:H.includes(F[R])});U.current={selectedRowKeys:A===void 0&&L?[]:A,selectedRows:N,info:{type:"none"}},T({})}},[D]);var W=(0,d.Z)(function(A,k,N){U.current={selectedRowKeys:A,selectedRows:k,info:N},m&&m.length>0&&k.forEach(function(H,F){if(!H){var B=m.find(function(Z){return Z[R]===A[F]});B&&(k[F]=B)}}),K()}),j=(0,d.Z)(function(A){if(!A)U.current={selectedRowKeys:[],selectedRows:[],info:{type:"none"}};else{var k=U.current,N=k.selectedRowKeys,H=N===void 0?[]:N,F=k.selectedRows,B=F===void 0?[]:F,Z=B.filter(function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Q[R]!==A}),z=H.filter(function(Q){return Q!==A});U.current={selectedRowKeys:z,selectedRows:Z,info:{type:"none"}}}K()});return o()(o()(o()({},U.current),{},{onChange:W,onClear:j,type:I},M),{},{onClearByProTable:j})}},60136:function(g,n,e){"use strict";e.r(n);var v=e(75271),o=e(56973),y=function(){var u=(0,v.useContext)(o.TabsContext);if(u===void 0)throw new Error("TabsContext not found");return u};n.default=y},52892:function(g,n,e){"use strict";e.r(n);var v=e(75271),o=e(56973),y=function(){var u=(0,v.useContext)(o.DrawerAndModalContext);if(u===void 0)throw new Error("DrawerAndModalContext not found");return u};n.default=y},39203:function(g,n,e){"use strict";e.r(n),e.d(n,{CcsAjCaptcha:function(){return v.default},CcsAppConfig:function(){return h.default},CcsAtom:function(){return o.default},CcsAuth:function(){return y.default},CcsButton:function(){return _.default},CcsCascader:function(){return u.default},CcsColorPicker:function(){return l.default},CcsDatePicker:function(){return i.default},CcsDialog:function(){return d.default},CcsEditor:function(){return s.default},CcsForm:function(){return r.Z},CcsKeepAliveTabs:function(){return O.default},CcsPageLayout:function(){return D.default},CcsProTable:function(){return m.default},CcsProTabs:function(){return C.default},CcsResult:function(){return R.default},CcsSelect:function(){return b.default},CcsSinglePage:function(){return I.default},CcsStatusTag:function(){return E.default},CcsTable:function(){return M.Z},CcsTimePicker:function(){return x.default},CcsUpload:function(){return S.default},CcsWaterMark:function(){return T.default},useAppConfig:function(){return c.default},useCcsOnceEvent:function(){return p.default},useCcsPage:function(){return t.default},useCcsTabs:function(){return f.default},useCcsWindow:function(){return P.default},useTableSelection:function(){return a.default}});var v=e(12648),o=e(32097),y=e(1444),_=e(668),u=e(97681),l=e(35030),h=e(88686),i=e(86247),d=e(50712),s=e(81777),r=e(64276),c=e(81475),p=e(31248),t=e(94127),a=e(70896),f=e(60136),P=e(52892),D=e(60301),O=e(47797),I=e(88370),m=e(76098),C=e(32813),R=e(68296),b=e(18437),E=e(98708),M=e(73946),x=e(71973),S=e(80882),T=e(1130),U=e(16652);n.default=U},64637:function(g,n,e){"use strict";e.r(n)},60301:function(g,n,e){"use strict";e.r(n),e.d(n,{classAtomPrefix:function(){return _},default:function(){return l}});var v=e(47797),o=e(88370),y=e(52676),_="ccs-atom",u=function(){return(0,y.jsx)(y.Fragment,{})};u.Multi=v.default,u.Single=o.default;var l=u},47797:function(g,n,e){"use strict";e.r(n),e.d(n,{findMenusByUrl:function(){return N}});var v=e(82092),o=e.n(v),y=e(26068),_=e.n(y),u=e(90228),l=e.n(u),h=e(87999),i=e.n(h),d=e(15558),s=e.n(d),r=e(31759),c=e.n(r),p=e(335),t=e.n(p),a=e(34443),f=e(68144),P=e(37208),D=e(19842),O=e(13443),I=e(15574),m=e(18466),C=e(50068),R=e(82187),b=e.n(R),E=e(85899),M=e.n(E),x=e(75271),S=e(5791),T=e(81475),U=e(68296),L=e(85289),K=e(46619),W=e(52676),j=[{key:"1",label:"\u5173\u95ED\u5176\u4ED6\u6807\u7B7E"},{key:"2",label:"\u5173\u95ED\u6240\u6709\u6807\u7B7E"}],A=[];function k(F,B){if(Array.isArray(F)){var Z=t()(F),z;try{for(Z.s();!(z=Z.n()).done;){var Q=z.value,$=k(Q,B);if($)return $}}catch(G){Z.e(G)}finally{Z.f()}}else if(c()(F)==="object"&&F!==null){if(F.key===B&&(!F.children||F.children.length===0))return F;if(F.children&&F.children.length>0){var V=t()(F.children),ne;try{for(V.s();!(ne=V.n()).done;){var X=ne.value,J=k(X,B);if(J)return J}}catch(G){V.e(G)}finally{V.f()}}}return null}function N(F,B){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(Array.isArray(F)){var z=t()(F),Q;try{for(z.s();!(Q=z.n()).done;){var $=Q.value,V=N($,B,Z);if(V)return V}}catch(Y){z.e(Y)}finally{z.f()}}else if(c()(F)==="object"&&F!==null){var ne;if(F.url===B||(ne=F.url)!==null&&ne!==void 0&&ne.includes("?")&&F.url.split("?")[0]===B)return[].concat(s()(Z),[F]);if(F.children&&F.children.length>0){var X=[].concat(s()(Z),[F]),J=t()(F.children),G;try{for(J.s();!(G=J.n()).done;){var le=G.value,ae=N(le,B,X);if(ae)return ae}}catch(Y){J.e(Y)}finally{J.f()}}}return null}function H(F){var B=F.maxLen,Z=B===void 0?10:B,z=F.appName,Q=F.history,$=F.menuItems,V=$===void 0?[]:$,ne=F.className,X=(0,x.useRef)([]),J=(0,S.useLocation)(),G=J.pathname,le=(0,S.useOutlet)(),ae=(0,P.Z)(),Y=(0,T.default)(),q=Y.theme,te=q==="dark";(0,L.useInsertCss)("keep-alive",function(pe){return[".ccs-tabs-auto-height > .".concat(pe,`-tabs-content-holder,
|
|
28
|
-
.ccs-tabs-auto-height > .`).concat(
|
|
29
|
-
.ccs-tabs-auto-height > .`).concat(
|
|
30
|
-
.ccs-tabs-auto-height> .`).concat(pe,"-tabs-content-holder> .").concat(pe,"-tabs-content> div> .ccs-pl { height: 100%;}"),".ccs-keep-alive-nav .".concat(pe,"-tabs-tab {border: 0 !important;border-radius: 0 !important;}"),".ccs-keep-alive-nav .".concat(pe,"-tabs-tab-active {background-color: #f0f2f5 !important;}"),".ccs-keep-alive .dark .ccs-keep-alive-nav .".concat(pe,"-tabs-tab-active {background-color: #2b2c2c !important;} ")]}),X.current.length>=Z&&(X.current=X.current.slice(1)),(0,D.Z)(function(){X.current.forEach(function(pe){var de,Ie=k(V,pe.menuKey);pe.urlAuthList=(Ie==null||(de=Ie.btnAuth)===null||de===void 0?void 0:de.map(function(Ae){return Ae.code}))||[]}),ae()},[V]);var re=(0,x.useMemo)(function(){var pe=N(V,G)||[],de=pe==null?void 0:pe.at(-1);setTimeout(function(){document.title="".concat((de==null?void 0:de.label)||(de==null?void 0:de.url)," - ").concat(z)},10);var Ie=function(){var Be=i()(l()().mark(function Ue(){var Se;return l()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(A.length){w.next=7;break}return w.next=3,f.default.getStroage("_ROUTE_HISTORY");case 3:if(w.t0=w.sent,w.t0){w.next=6;break}w.t0=[];case 6:A=w.t0;case 7:Se=A.findIndex(function(ee){return ee.pathName===G}),Se>-1&&A.splice(Se,1),A.unshift({pathName:G,menuName:(de==null?void 0:de.label)||"",time:new Date}),f.default.setStroage("_ROUTE_HISTORY",A);case 11:case"end":return w.stop()}},Ue)}));return function(){return Be.apply(this,arguments)}}();de&&Ie();var Ae=pe.map(function(Be){return{key:Be.key,title:Be.label}});return Ae.unshift({key:"-1",title:"\u9996\u9875"}),_()(_()({},de),{},{breadcrumb:Ae})},[G]),ue=J.key,oe=X.current.findIndex(function(pe){return pe.pageLocation.pathname===G});if(oe>-1){var ie=X.current[oe];ie.pageLocation.search!==J.search||f.default.jsonStringify(ie.pageLocation.state)!==f.default.jsonStringify(J.state)?X.current=M()(X.current,o()({},oe,{key:{$set:J.key},pageLocation:{$set:J}})):ue=ie.pageLocation.key}else{var me=re||{},_e=me.btnAuth,ve=_e===void 0?[]:_e,he=me.breadcrumb,Pe=he===void 0?[]:he,Re=re.key!==void 0;X.current=M()(X.current,{$push:[{key:J.key,label:(re==null?void 0:re.label)||"\u672A\u77E5",outlet:Re?le:(0,W.jsx)(U.default.Page404,{}),urlAuthList:ve.map(function(pe){return pe.code}),breadcrumb:Re?Pe:[],pageLocation:J,menuKey:(re==null?void 0:re.key)||""}]})}var ge=(0,x.useCallback)(function(pe){var de=X.current.find(function(Se){return Se.key===pe});if(de){var Ie=de.pageLocation,Ae=Ie.pathname,Be=Ie.state,Ue=Ie.search;Q.push("".concat(Ae).concat(Ue),Be)}},[]),Me=(0,O.Z)(function(pe){var de=X.current.findIndex(function(Ae){return Ae.key===pe}),Ie=X.current[de];if(de>=0){if(X.current=M()(X.current,{$splice:[[de,1]]}),Ie.key!==pe){ae();return}if(X.current.length===0){Q.push("/");return}if(de===X.current.length){ge(X.current[de-1].key);return}ge(X.current[de].key)}}),Ke=(0,x.useCallback)(function(pe){pe==="1"?(X.current=X.current.filter(function(de){return de.key===G}),ae()):(X.current=[],Q.push("/"))},[]),Te=(0,W.jsx)(I.Z,{menu:{items:j,onClick:function(de){Ke(de.key)}},placement:"bottomRight",children:(0,W.jsx)(m.ZP,{icon:(0,W.jsx)(a.Z,{}),type:"text"})});return(0,W.jsxs)("div",{className:b()(ne,"ccs-keep-alive"),children:[(0,W.jsx)(C.Z,{id:"keep-alive-tabs",hideAdd:!0,size:"small",onChange:ge,className:b()("ccs-keep-alive-tabs",o()({},"dark",te)),activeKey:ue,type:"editable-card",onEdit:function(de){return Me(de)},items:X.current,tabBarExtraContent:X.current.length>2?Te:null,tabBarStyle:{margin:0},renderTabBar:function(de,Ie){return(0,W.jsx)(Ie,_()(_()({},de),{},{className:"ccs-keep-alive-nav"}))}}),X.current.map(function(pe){var de=pe.key,Ie=pe.urlAuthList,Ae=pe.outlet,Be=pe.breadcrumb,Ue=pe.pageLocation;return(0,W.jsx)(K.default,{active:Ue.pathname===G,location:Ue,onDestroy:Me,urlAuthList:Ie,breadcrumb:Be,children:Ae},de)})]})}n.default=H},46619:function(g,n,e){"use strict";e.r(n);var v=e(74973),o=e(82187),y=e.n(o),_=e(75271),u=e(56973),l=e(31939),h=e(52676);function i(d){var s=d.children,r=d.active,c=d.urlAuthList,p=d.onDestroy,t=d.breadcrumb,a=d.location,f="_tab_content_".concat(a.key),P=(0,_.useRef)(null);return(0,h.jsx)(u.PageContext.Provider,{value:{id:f,dialogHolderRef:P,isActive:r,location:a,onDestroy:p,onAuth:function(O){return c.includes(O)}},children:(0,h.jsx)("div",{id:f,style:{display:r?"block":"none"},className:"ccs-tab-item","data-display":r,children:(0,h.jsxs)("div",{className:y()("ccs-layout-page",{"page-avtive":r}),children:[(0,h.jsx)("div",{className:"page-top"}),(0,h.jsx)(v.Z,{items:t,className:"ccs-breadcrumb"}),s,(0,h.jsx)(l.DialogElementsHolder,{ref:P},"modal-drawer-holder"),(0,h.jsx)("div",{className:"page-bottom"})]})})})}n.default=(0,_.memo)(i,function(d,s){return d.active===s.active&&d.urlAuthList.join(",")===s.urlAuthList.join(",")})},88370:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r}});var v=e(75271),o=e(5791),y=e(68296),_=e(47797),u=e(74973),l=e(56973),h=e(31939),i=e(52676),d=(0,v.memo)(function(c){var p=(0,v.useRef)(c.location),t=c.children,a=c.urlAuthList,f=a===void 0?[]:a,P=c.breadcrumb,D=P===void 0?[]:P,O=(0,v.useRef)(null);return(0,i.jsx)(l.PageContext.Provider,{value:{id:"",isActive:!0,dialogHolderRef:O,location:p.current,onDestroy:function(){console.error("\u5355\u9875\u6A21\u5F0F\u4E0D\u652F\u6301")},onAuth:function(m){return f.includes(m)}},children:(0,i.jsxs)("div",{className:"ccs-layout-page single-page",children:[(0,i.jsx)("div",{className:"page-top"}),(0,i.jsx)(u.Z,{items:D,className:"ccs-breadcrumb",style:c.breadcrumbStyle}),t,(0,i.jsx)(h.DialogElementsHolder,{ref:O},"modal-drawer-holder"),(0,i.jsx)("div",{className:"page-bottom"})]})})});function s(c){var p=c.appName,t=c.menuItems,a=t===void 0?[]:t,f=c.breadcrumbStyle,P=c.children,D=(0,o.useLocation)(),O=D.pathname,I=(0,o.useOutlet)(),m=(0,v.useMemo)(function(){var C,R=(0,_.findMenusByUrl)(a,O)||[],b=R==null?void 0:R.at(-1);if(b){setTimeout(function(){document.title="".concat((b==null?void 0:b.label)||(b==null?void 0:b.url)," - ").concat(p)},10);var E=R.map(function(M){return{key:M.key,title:M.label}});return E.unshift({key:"-1",title:"\u9996\u9875"}),{auth:((C=b.btnAuth)===null||C===void 0?void 0:C.map(function(M){return M.code}))||[],breadcrumb:E,menu:b}}},[O,a]);return(0,i.jsx)(i.Fragment,{children:m!=null&&m.auth?(0,i.jsx)(d,{location:D,urlAuthList:m.auth,breadcrumb:m.breadcrumb,breadcrumbStyle:f,children:(0,i.jsxs)(i.Fragment,{children:[I,P]})}):(0,i.jsx)(y.default.Page404,{style:{flex:"auto"},subTitle:"\u9875\u9762\u4E0D\u5B58\u5728"})})}var r=s},79579:function(g,n,e){"use strict";e.r(n)},3034:function(g,n,e){"use strict";e.r(n),e.d(n,{getAllChildrenId:function(){return u},getDataById:function(){return _},getShowDpends:function(){return h},isComponent:function(){return l},onTableInModalOrDrawer:function(){return o},onTableInTabItem:function(){return y}});var v=e(75271),o=function i(d,s){var r,c,p,t,a=d.parentNode;return a?(r=a.classList)!==null&&r!==void 0&&r.contains("ccs-drawer-content")||(c=a.classList)!==null&&c!==void 0&&c.contains("".concat(s,"-drawer-body"))?{getContainer:function(){return a},isInDialog:!0}:(p=a.classList)!==null&&p!==void 0&&p.contains("".concat(s,"-modal"))||(t=a.classList)!==null&&t!==void 0&&t.contains("".concat(s,"-drawer"))?{offsetHeader:0,isInDialog:!0}:i(a,s):!1},y=function i(d){var s,r=d.parentNode;return r?(s=r.classList)!==null&&s!==void 0&&s.contains("ccs-route-page")?{getContainer:function(){return d}}:i(r):!1},_=function i(d,s,r){if(Array.isArray(d))for(var c=0;c<d.length;c+=1){if(d[c][s]===r)return d[c];if(d[c].children){var p=i(d[c].children,s,r);if(p)return p}}},u=function i(d,s){return d.reduce(function(r,c){return r.push(c[s]),c.children&&Array.isArray(c.children)?r.concat(i(c.children,s)):r},[])},l=function(d,s){if(!v.isValidElement(d))return!1;var r=d==null?void 0:d.type;return typeof r=="string"?!1:(r==null?void 0:r.displayName)===s},h=function i(d,s,r){var c=s.showDepends;if(c){var p=d.filter(function(t){return c.some(function(a){return a&&a.name===t.name})})||[];return p.forEach(function(t){return t!=null&&t.showDepends?(t.showDepends.forEach(function(a){return r.push(a)}),i(d,t,r)):!1}),r}return r}},94238:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),u=e(87999),l=e.n(u),h=e(67825),i=e.n(h),d=e(11048),s=e(6052),r=e(57898),c=e(52676),p=["onChange"],t=s.default.Option,a=function(P){var D=P.onChange,O=i()(P,p),I=function(M){D&&D(M)};console.log("restProps",O);var m=(0,d.Z)(l()(_()().mark(function E(){var M;return _()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,(0,r.queryParam1)();case 2:return M=S.sent,S.abrupt("return",M.data);case 4:case"end":return S.stop()}},E)}))),C=m.loading,R=m.data,b=R===void 0?[]:R;return(0,c.jsx)(s.default,o()(o()({},o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:I,loading:C},O)),{},{children:b.map(function(E){return(0,c.jsx)(t,{value:E.key,children:E.name},E.key)})}))};n.default=a},40011:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),u=e(87999),l=e.n(u),h=e(67825),i=e.n(h),d=e(11048),s=e(6052),r=e(75271),c=e(57898),p=e(52676),t=["changes","onChange"],a=s.default.Option,f=function(D){var O=D.changes,I=O===void 0?[]:O,m=D.onChange,C=i()(D,t),R=function(K){m&&m(K)},b=I[0],E=(0,d.Z)(function(){var L=l()(_()().mark(function K(W){var j;return _()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,(0,c.queryParam2)(W);case 2:return j=k.sent,k.abrupt("return",j.data);case 4:case"end":return k.stop()}},K)}));return function(K){return L.apply(this,arguments)}}(),{manual:!0}),M=E.loading,x=E.data,S=x===void 0?[]:x,T=E.mutate,U=E.run;return(0,r.useEffect)(function(){S.length&&T([]),C.value&&m&&m(void 0),b&&U({param1:b})},[b]),(0,p.jsx)(s.default,o()(o()({},o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:R,loading:M,notFoundContent:b?"\u8BF7\u9009\u62E9":"\u8BF7\u9009\u62E9\u6761\u4EF61"},C)),{},{children:S.map(function(L){return(0,p.jsx)(a,{value:L.key,children:L.name},L.key)})}))};n.default=f},33765:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),u=e(87999),l=e.n(u),h=e(67825),i=e.n(h),d=e(11048),s=e(6052),r=e(75271),c=e(57898),p=e(52676),t=["changes","onChange"],a=s.default.Option,f=function(D){var O=D.changes,I=O===void 0?[]:O,m=D.onChange,C=i()(D,t),R=function(K){m&&m(K)},b=I[0],E=(0,d.Z)(function(){var L=l()(_()().mark(function K(W){var j;return _()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,(0,c.queryParam3)(W);case 2:return j=k.sent,k.abrupt("return",j.data);case 4:case"end":return k.stop()}},K)}));return function(K){return L.apply(this,arguments)}}(),{manual:!0}),M=E.loading,x=E.data,S=x===void 0?[]:x,T=E.mutate,U=E.run;return(0,r.useEffect)(function(){S.length&&T([]),C.value&&m&&m(void 0),b&&U({param2:b})},[b]),(0,p.jsx)(s.default,o()(o()({},o()(o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:R,loading:M,notFoundContent:b?"\u8BF7\u9009\u62E9":"\u8BF7\u9009\u62E9\u6761\u4EF62"},C),{},{adad:{asdasda:1,abav:2}})),{},{children:S.map(function(L){return(0,p.jsx)(a,{value:L.key,children:L.name},L.key)})}))};n.default=f},57898:function(g,n,e){"use strict";e.r(n),e.d(n,{queryParam1:function(){return v},queryParam2:function(){return o},queryParam3:function(){return y}});var v=function(){return new Promise(function(u){setTimeout(function(){u({msg:"",success:!0,data:[{name:"\u91CD\u5E86",key:"1"},{name:"\u56DB\u5DDD",key:"2"},{name:"\u5317\u4EAC",key:"3"},{name:"\u4E0A\u6D77",key:"4"},{name:"\u5E7F\u5DDE",key:"5"}]})},1e3)})},o=function(u){return new Promise(function(l){console.log("param",u),setTimeout(function(){l({msg:"",success:!0,data:[{name:"\u533A\u53BF1",key:"1"},{name:"\u533A\u53BF2",key:"2"},{name:"\u533A\u53BF3",key:"3"},{name:"\u533A\u53BF4",key:"4"},{name:"\u533A\u53BF5",key:"5"}]})},1e3)})},y=function(u){return new Promise(function(l){console.log("param",u),setTimeout(function(){l({msg:"",success:!0,data:[{name:"\u57CE\u95471",key:"1"},{name:"\u57CE\u95472",key:"2"},{name:"\u57CE\u95473",key:"3"},{name:"\u57CE\u95474",key:"4"},{name:"\u57CE\u95475",key:"5"}]})},1e3)})}},3675:function(g,n,e){"use strict";e.r(n),e.d(n,{query:function(){return _},update:function(){return u}});var v={},o=[],y=function(h){for(var i=[],d=0;d<5;d+=1){var s="".concat(h,"-").concat(d);v[s]?i.push(v[s]):i.push({id:s,name:"\u540D\u79F0-".concat(s),parentId:h})}var r=o.filter(function(c){return c.parentId===h});return r&&r.forEach(function(c){var p="".concat(h,"-").concat(i.length);i.push({id:p,name:v[p]?v[p].name:c.name,parentId:h})}),i},_=function(h){return new Promise(function(i){setTimeout(function(){i({success:!0,data:y(h.parentId)})},1e3)})},u=function(h){return new Promise(function(i){h.id?v[h.id]=h:o.push(h),setTimeout(function(){i({msg:"",success:!0,data:""})},1e3)})}},96757:function(g,n,e){"use strict";e.r(n),e.d(n,{queryWorker:function(){return y}});var v=e(17888),o=e.n(v);function y(_){return console.log("\u8BF7\u6C42\u53C2\u6570\uFF1A",_),new Promise(function(u){setTimeout(function(){u({success:!0,msg:"",data:{pageNo:1,pageSize:10,hasNext:!1,totalNum:100,result:Array(_.pageSize).fill("").map(function(l,h){return{loginId:h,workerName:"workerName-".concat(h),loginCode:"-",orgName:"-",state:Math.round(Math.random()),mobile:"-",email:"-",sex:Math.round(Math.random()),birthday:o()().format("YYYY-MM-DD"),createTime:o()().format("YYYY-MM-DD HH:mm"),num:1}})}})},500)})}},61289:function(g,n,e){"use strict";e.r(n);var v=e(80729),o=e(19152),y=e(52676),_=v.Z.Item,u=function(){return(0,y.jsx)(y.Fragment,{children:(0,y.jsx)(_,{label:"\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u540D\u79F0"}],children:(0,y.jsx)(o.Z,{placeholder:"\u8BF7\u8F93\u5165"})})})};n.default=u},76098:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(27783),_=e(18237),u=e(10495),l=e(29909),h=e(52676),i=function(r){return(0,h.jsx)(l.default,o()({},r))},d=function(r){return(0,h.jsx)(l.default,o()({},r))};i.Tree=d,i.SelectionAlert=_.default,i.Summary=u.default,n.default=i},18237:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return s}});var v=e(26068),o=e.n(v),y=e(38913),_=e(16929),u=e(8984),l=e(16254),h=e(18466),i=e(75271),d=e(52676);function s(r){var c=r.data,p=r.color,t=r.style,a=r.className,f=r.fieldNames,P=f===void 0?{key:"key",label:"label"}:f,D=r.onClear,O=_.Z.useToken(),I=O.token;if(!(!c||c.length===0)){var m="".concat(I.paddingSM,"px");return(0,d.jsxs)(u.Z,{size:4,wrap:!0,style:o()({padding:"0 ".concat(m," ").concat(m," ").concat(m)},t),className:a,children:[c.map(function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,d.jsx)(l.Z,{color:p,closable:!0,onClose:function(b){D(C[P.key]),b.preventDefault()},children:C[P.label||"name"]},C[P.key||"key"])}),c.length>1&&(0,d.jsx)(h.ZP,{size:"small",onClick:function(R){D(),R.preventDefault()},icon:(0,d.jsx)(y.Z,{}),danger:!0,type:"text",children:"\u6E05\u7A7A"})]})}}},10495:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return _}});var v=e(16708),o=e(52676),y=-1;function _(u){var l=u.data,h=l===void 0?{}:l,i=u.columns,d=u.hasRowSelection;y=-1;var s=function r(c){return c.map(function(p){return p.children&&p.children.length>0?r(p.children):(y+=1,(0,o.jsx)(v.Z.Summary.Cell,{index:0,children:h[p.dataIndex]},y))})};return d&&(y+=1),(0,o.jsx)(v.Z.Summary,{fixed:!0,children:(0,o.jsxs)(v.Z.Summary.Row,{children:[d&&(0,o.jsx)(v.Z.Summary.Cell,{index:y}),s(i)]})})}},29909:function(g,n,e){"use strict";e.r(n),e.d(n,{classPrefix:function(){return M}});var v=e(82092),o=e.n(v),y=e(31759),_=e.n(y),u=e(26068),l=e.n(u),h=e(48305),i=e.n(h),d=e(19842),s=e(16929),r=e(37426),c=e(12203),p=e(82187),t=e.n(p),a=e(75271),f=e(81475),P=e(32097),D=e(73799),O=e(24887),I=e(85289),m=e(73946),C=e(3034),R=e(27783),b=e(26707),E=e(52676),M="ccs-pl";function x(T){var U={filters:{},orderProps:[],columnOptions:[],columnShowKeys:[]};return T==null||T.forEach(function(L){L.dataIndex&&L.title&&U.columnOptions.push({label:L.title,value:L.dataIndex}),L.hidden!==!0&&U.columnShowKeys.push(L.dataIndex),L.sorter&&L.defaultSortOrder!==void 0&&U.orderProps.push({prop:L.dataIndex,ascending:L.defaultSortOrder==="ascend"}),L.filters&&L.defaultFilteredValue!==void 0&&(U.filters[L.dataIndex]=L.defaultFilteredValue)}),U}var S=function(U){var L,K,W=U.init,j=U.auth,A=U.table,k=U.styles,N=k===void 0?{}:k,H=U.proRef,F=U.toolbar,B=U.children,Z=U.className,z=U.expandForm,Q=U.formItems,$=Q===void 0?[]:Q,V=U.leafNode,ne=U.bordered,X=U.parentFieldName,J=U.formInitValues,G=J===void 0?{}:J,le=U.onEvent,ae=(0,a.useContext)(c.E_);(0,I.useInsertCss)("table",function(ye){return[".ccs-pl .".concat(ye,"-table-title {padding: 0 !important;} ")]});var Y=A||{},q=Y.requestParam,te=q===void 0?{}:q,re=Y.columns,ue=Y.rowKey,oe=Y.request,ie=(0,a.useRef)(!1),me=(0,a.useMemo)(function(){return x(re)},[]),_e=(0,a.useRef)(me),ve=(0,a.useRef)(null),he=(0,a.useRef)(null),Pe=(0,a.useRef)(),Re=(0,a.useRef)(null),ge=(0,a.useRef)(null),Me=(0,a.useState)((A==null?void 0:A.size)||"middle"),Ke=i()(Me,2),Te=Ke[0],pe=Ke[1],de=(0,f.default)(),Ie=de.theme,Ae=s.Z.useToken(),Be=Ae.token,Ue=(0,O.default)({auth:j,rowKey:ue,pagination:A==null?void 0:A.pagination,fieldNames:(L=U.table)===null||L===void 0?void 0:L.fieldNames,emptyDefaultOne:A==null?void 0:A.emptyDefaultOne,onFilterOrder:function(){return _e.current},onEvent:le,getFormValues:function(){var Ee;return(Ee=Re.current)===null||Ee===void 0?void 0:Ee.getFormValues()},request:oe,onRequestCustom:X?function(){for(var ye,Ee=arguments.length,be=new Array(Ee),Oe=0;Oe<Ee;Oe++)be[Oe]=arguments[Oe];return(ye=ge.current)===null||ye===void 0?void 0:ye.onRequestTree.apply(ye,be)}:void 0}),Se=Ue.isAuth,je=Ue.data,w=Ue.onRequest,ee=Ue.onChangeData,ce=function(Ee){var be,Oe,Le=(0,C.getDataById)(je.dataSource||[],ue,Ee);if(!Le){w(D.DataEvent.Search);return}var We=(0,C.getAllChildrenId)(Le.children||[],ue);(be=ge.current)===null||be===void 0||be.onExpandKeys(We),(Oe=ge.current)===null||Oe===void 0||Oe.onRequestTree(D.DataEvent.PartialReload,{},Le)};(0,a.useEffect)(function(){var ye=(0,C.onTableInModalOrDrawer)(ve.current,ae.getPrefixCls());if(ye){ie.current=ye,A!=null&&A.size||pe("small");return}var Ee=(0,C.onTableInTabItem)(ve.current);if(Ee){ie.current=Ee;return}},[]),(0,d.Z)(function(){pe((A==null?void 0:A.size)||"middle")},[A==null?void 0:A.size]),(0,a.useEffect)(function(){W!==!1&&oe&&w(D.DataEvent.InitSearch)},[Object.keys(te||{}).toString(),Object.values(te||{}).toString()]);var fe=function(){w(D.DataEvent.Search)},Ce=function(){var Ee,be,Oe;A==null||(Ee=A.rowSelection)===null||Ee===void 0||(be=Ee.onClearByProTable)===null||be===void 0||be.call(Ee),(Oe=Re.current)===null||Oe===void 0||Oe.form.resetFields(),re==null||re.forEach(function(Le){(Le.filterDropdown||Le.filters)&&(Le.filteredValue=Le.defaultFilteredValue||[]),Le.sorter&&(Le.sortOrder=Le.defaultSortOrder)}),_e.current=me,w(D.DataEvent.Reset)},se=function(){var Ee,be;A==null||(Ee=A.rowSelection)===null||Ee===void 0||(be=Ee.onClearByProTable)===null||be===void 0||be.call(Ee),w(D.DataEvent.Reload,je.current,je.pageSize)};(0,a.useImperativeHandle)(H,function(){var ye;return{data:je,getFormValues:(ye=Re.current)===null||ye===void 0?void 0:ye.getFormValues,onSearch:fe,onReload:se,onPartialReload:function(be){ce(be)},onReset:Ce,onChangeData:ee}});var xe=function(Ee,be,Oe){if(be&&(re==null||re.forEach(function(We){(We.filterDropdown||We.filters)&&(We.filteredValue=be[We.dataIndex])}),_e.current=l()(l()({},_e.current),{},{filters:be})),Oe){re==null||re.forEach(function(We){if(We.sorter){if(Array.isArray(Oe)){var Ge=Oe.find(function(nn){return nn.field===We.dataIndex});Ge&&(We.sortOrder=Ge==null?void 0:Ge.order);return}if(Oe.field===We.dataIndex){We.sortOrder=Oe.order;return}We.sortOrder=void 0}});var Le=[];Array.isArray(Oe)?Oe.forEach(function(We){Le.push({prop:We.field,ascending:We.order==="ascend"})}):Oe.order&&Le.push({prop:Oe.field,ascending:Oe.order==="ascend"}),_e.current=l()(l()({},_e.current),{},{orderProps:Le})}w(D.DataEvent.ChangePage,Ee.current||0,Ee.pageSize||10)},ke=function(){if(!A)return null;if(!Se)return(0,E.jsx)(r.Z,{style:{margin:0,padding:"32px 0",color:"red",background:"#fff"},image:r.Z.PRESENTED_IMAGE_DEFAULT,description:"\u6CA1\u6709\u6570\u636E\u8BF7\u6C42\u6743\u9650"});if(_()(ie.current)==="object"&&"getContainer"in ie.current){var Ee=ie.current.getContainer(),be=window.getComputedStyle(Ee),Oe=be.paddingTop;Oe&&(ie.current=l()(l()({},ie.current),{},{offsetHeader:-parseInt(Oe.replace("px",""))}))}return X?(0,E.jsx)(b.default,{data:je,table:A,leafNode:V,treeRef:ge,tableRef:Pe,tableContentRef:ve,tableRowSize:Te,sticky:ie.current||!0,parentFieldName:X,setData:ee,onEvent:le}):(0,E.jsx)(m.Z,l()(l()({data:je,tableRef:Pe,tableContentRef:ve,onChange:xe,sticky:ie.current||!0},A),{},{size:Te,columns:re,showSorterTooltip:!0,showNumber:U.showNumber,loading:A.loading||je.loading||!1,onEvent:le}))},Ne=(A==null||(K=A.scroll)===null||K===void 0?void 0:K.y)==="auto",He=(0,a.useMemo)(function(){var ye=N.root||{},Ee=N.table||{};return Ee.overflow="unset",ne&&(ye.border="1px solid ".concat(Be.colorBorderSecondary),ye.borderRadius=4),Ne&&(ye.overflow="hidden",ye.height="100%",Ee.overflow="hidden"),{root:ye,table:Ee}},[]),qe=function(){var Ee;if(Ne&&((Ee=ve.current)===null||Ee===void 0?void 0:Ee.clientHeight)!==0){var be;(be=Pe.current)===null||be===void 0||be.onFixedThead()}},en=(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(P.default.FullScreen,{parentHtmlId:"ccs-pro-table"}),(0,E.jsx)(P.default.Checkbox,{options:me.columnOptions,defaultCheckedKeys:me.columnShowKeys,placement:"bottomRight",onChange:function(Ee){var be,Oe=me.columnShowKeys.filter(function(Le){return!Ee.includes(Le)});(be=Pe.current)===null||be===void 0||be.onColumnFilter(Oe)}})]}),Ye=A!=null&&A.hideOperation?(0,E.jsx)(P.default.Operation,{extraLeft:F}):(0,E.jsx)(P.default.Operation,{extraLeft:F,extraRight:en,onChangeSize:function(Ee){return pe(Ee)},size:Te,onReset:Ce,columns:re,tableRef:Pe,style:{marginLeft:F?0:8}});return(0,E.jsxs)(E.Fragment,{children:[Ne&&(0,E.jsx)(P.default.Resize,{targetRef:ve,onResize:qe}),(0,E.jsxs)("div",{id:"ccs-pro-table",className:t()(M,Z,o()({},"dark-table",Ie==="dark")),style:He.root,ref:he,children:[(0,E.jsx)(P.default.Title,{children:U.title}),(0,E.jsx)(P.default.Filter,{ref:Re,extra:F?void 0:Ye,formItems:$,expandForm:z,formInitValues:G,formItemLabelWidth:U.formItemLabelWidth,onSearch:fe,requestParam:A==null?void 0:A.requestParam}),F&&Ye,(0,E.jsxs)("div",{className:"".concat(M,"-table-content"),style:He.table,ref:ve,children:[ke(),B]})]})]})};n.default=S},26707:function(g,n,e){"use strict";e.r(n);var v=e(90228),o=e.n(v),y=e(15558),_=e.n(y),u=e(87999),l=e.n(u),h=e(26068),i=e.n(h),d=e(48305),s=e.n(d),r=e(68144),c=e(75271),p=e(73946),t=e(73799),a=e(81475),f=e(65173),P=e(52676),D=function(I){var m=I.data,C=I.table,R=I.sticky,b=I.treeRef,E=I.tableRef,M=I.leafNode,x=I.tableRowSize,S=I.tableContentRef,T=I.parentFieldName,U=I.setData,L=I.onEvent,K=(0,c.useState)([]),W=s()(K,2),j=W[0],A=W[1],k=C,N=k.rowKey,H=k.expandable,F=k.columns,B=k.request,Z=(H==null?void 0:H.childrenColumnName)||"children",z=(0,a.useBaseFields)(),Q=i()(i()({},z),I.fieldNames),$=function(){var X=l()(o()().mark(function J(G){var le,ae,Y,q,te,re=arguments;return o()().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(le=re.length>1&&re[1]!==void 0?re[1]:{},ae=re.length>2?re[2]:void 0,Y=le,ae&&(Y[T]=ae[N]),L==null||L(G,{loading:!0,params:Y}),U(function(ie){return i()(i()({},ie),{},{loading:!0})}),oe.t0=B,!oe.t0){oe.next=11;break}return oe.next=10,B(Y);case 10:oe.t0=oe.sent;case 11:q=oe.t0,L==null||L(G,{loading:!0,params:Y,data:q}),q?(te=(0,f.getDataByNamePath)(q,Q.data),M&&te&&Array.isArray(te)&&te.forEach(function(ie){if(typeof M=="string"&&!ie[M]){ie.children=[];return}typeof M=="function"&&!M(ie)&&(ie.children=[])}),ae?(ae[Z]=te,U(function(ie){return i()(i()({},ie),{},{dataSource:_()(ie.dataSource||[]),loading:!1})})):(A([]),U({loading:!1,dataSource:te}))):U(function(ie){return i()(i()({},ie),{},{loading:!1})});case 14:case"end":return oe.stop()}},J)}));return function(G){return X.apply(this,arguments)}}();(0,c.useImperativeHandle)(b,function(){return{onRequestTree:$,onExpandKeys:function(J){A(j.filter(function(G){return!J.includes(G)}))}}});var V=function(J,G){if(!N||(N&&G[N])===void 0){r.default.showLogWarning("rowKey\u672A\u4F20\u5165\u6216\u4F20\u5165rowKey\u4E0D\u6B63\u786E");return}var le=G[N];if(J){var ae;if(j.push(le),((ae=G[Z])===null||ae===void 0?void 0:ae.length)>0)return;$(t.DataEvent.Expand,{},G)}else A(j.filter(function(Y){return Y!==le}))},ne=i()(i()({sticky:R},C),{},{onExpand:V,expandedRowKeys:j});return(0,P.jsx)(p.Z,i()(i()({data:m,tableRef:E,tableContentRef:S},ne),{},{size:x,columns:F,showSorterTooltip:!0,loading:ne.loading||m.loading||!1}))};n.default=D},98143:function(g,n,e){"use strict";e.r(n)},32813:function(g,n,e){"use strict";e.r(n);var v=e(48305),o=e.n(v),y=e(68144),_=e(19842),u=e(16929),l=e(85899),h=e.n(l),i=e(75271),d=e(56973),s=e(52676),r=function(p){var t=p.children,a=(t==null?void 0:t.props)||{},f=a.items,P=f===void 0?[]:f,D=a.activeKey,O=a.defaultActiveKey,I=a.onChange,m=(0,i.useState)("ccs-tabs-".concat(y.default.getUUID(5))),C=o()(m,1),R=C[0],b=(0,i.useState)(function(){return{activeKey:O||(P[0]||{}).key,items:P||[],options:{}}}),E=o()(b,2),M=E[0],x=E[1];(0,_.Z)(function(){x(h()(M,{items:{$set:P}}))},[P==null?void 0:P.map(function(j){return j.key}).join(",")]);var S=u.Z.useToken(),T=S.token,U={items:M.items,className:"ccs-tabs",id:R,tabBarStyle:{margin:0,paddingLeft:16,backgroundColor:T.colorBgContainer}};D||(U.activeKey=M.activeKey,U.onChange=function(j){x(h()(M,{activeKey:{$set:j}})),I&&I(j)});var L=function(A){var k=A.activeKey,N=A.enableKeys,H=N===void 0?[]:N,F=A.disableKeys,B=F===void 0?[]:F,Z=A.options,z={};if(k&&(z.activeKey={$set:k},I&&I(k)),H.length||B.length){var Q,$={};(Q=M.items)===null||Q===void 0||Q.forEach(function(V,ne){H.includes(V.key)?$[ne]={disabled:{$set:!1}}:B.includes(V.key)&&($[ne]={disabled:{$set:!0}})}),z.items=$}Z&&(z.options={$set:Z}),x(h()(M,z))},K=function(A){var k,N=A;typeof A=="string"&&(N=[A]);var H=[];(k=M.items)===null||k===void 0||k.forEach(function(F,B){N.includes(F.key)&&H.push([B,1])}),x(h()(M,{items:{$splice:H}}))},W=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],k=arguments.length>1?arguments[1]:void 0,N=Array.isArray(A),H={items:{$push:N?A:[A]}};k&&(H.activeKey={$set:k||M.activeKey}),x(h()(M,H))};return t?(0,s.jsx)(d.TabsContext.Provider,{value:{tabsId:R,activeKey:M.activeKey,options:M.options,onTabChange:L,onRemoveTabs:K,onAddTabs:W},children:(0,i.cloneElement)(t,U)}):(0,s.jsx)(s.Fragment,{})};n.default=r},68296:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(28344),_=e(52676),u=function(t){return(0,_.jsx)(y.ZP,o()({},t))},l=function(t){return(0,_.jsx)(u,o()(o()({title:"\u64CD\u4F5C\u6210\u529F"},t),{},{status:"success"}))},h=function(t){return(0,_.jsx)(u,o()(o()({title:"\u64CD\u4F5C\u8BE6\u60C5"},t),{},{status:"info"}))},i=function(t){return(0,_.jsx)(u,o()(o()({title:"\u64CD\u4F5C\u63D0\u9192"},t),{},{status:"warning"}))},d=function(t){return(0,_.jsx)(u,o()(o()({title:"\u64CD\u4F5C\u5931\u8D25"},t),{},{status:"error"}))},s=function(t){return(0,_.jsx)(u,o()(o()({title:"403"},t),{},{status:"403"}))},r=function(t){return(0,_.jsx)(u,o()(o()({title:"404"},t),{},{status:"404"}))},c=function(t){return(0,_.jsx)(u,o()(o()({title:"500"},t),{},{status:"500"}))};u.Success=l,u.Info=h,u.Warning=i,u.Error=d,u.Page403=s,u.Page404=r,u.Page500=c,n.default=u},99696:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return f}});var v=e(26068),o=e.n(v),y=e(31759),_=e.n(y),u=e(48305),l=e.n(u),h=e(67825),i=e.n(h),d=e(79312),s=e(97022),r=e(6052),c=e(46960),p=e(75271),t=e(52676),a=["style","mode","modal","value","children","labelInValue","onChange"];function f(P){var D=P.style,O=P.mode,I=P.modal,m=P.value,C=P.children,R=P.labelInValue,b=P.onChange,E=i()(P,a),M=(0,p.useState)(!1),x=l()(M,2),S=x[0],T=x[1],U=function(){T(!0)},L=(0,p.useState)(void 0),K=l()(L,2),W=K[0],j=K[1],A=(0,p.useState)(!1),k=l()(A,2),N=k[0],H=k[1],F=(0,p.useState)(m),B=l()(F,2),Z=B[0],z=B[1],Q=(0,p.useState)(void 0),$=l()(Q,2),V=$[0],ne=$[1],X=function(q){q==null||q.stopPropagation(),T(!1)},J={value:Z,mode:O,onClose:X,onLoading:H,onChangeLabel:j,onChange:function(q,te){z(R?te:q)},onChangeOptions:ne},G=function(){b==null||b(Z),T(!1)},le=function(){z(m),T(!1)},ae=function(){if(!(m===void 0||Array.isArray(m)&&m.length===0)){if(W)return W;if(Array.isArray(m))return m.map(function(te){var re;return _()(te)==="object"?te[((re=E.fieldNames)===null||re===void 0?void 0:re.value)||"value"]:te});if(_()(m)==="object"){var q;return m[((q=E.fieldNames)===null||q===void 0?void 0:q.value)||"value"]}return m}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,o()(o()({allowClear:!0,suffixIcon:N?(0,t.jsx)(d.Z,{}):(0,t.jsx)(s.Z,{}),open:!1,popupRender:function(){return(0,t.jsx)("div",{})},value:N?void 0:ae(),onClick:U,placeholder:"\u8BF7\u9009\u62E9"},E),{},{mode:W?void 0:O,style:D,options:V,onChange:function(q){z(q),b==null||b(q)}})),(0,t.jsx)(c.Z,o()(o()({open:S,onCancel:le,styles:{body:{padding:0}},forceRender:!0,onOk:G},I),{},{children:C&&(typeof C=="function"?C(J):p.cloneElement(C,J))}))]})}},84799:function(g,n,e){"use strict";e.r(n)},10436:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),u=e(87999),l=e.n(u),h=e(67825),i=e.n(h),d=e(11048),s=e(75271),r=e(18437),c=e(52676),p=["request","cache","defaultParams"];function t(a){var f=a.request,P=a.cache,D=a.defaultParams,O=D===void 0?{}:D,I=i()(a,p),m=(0,d.Z)(function(){var M=l()(_()().mark(function x(S){return _()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:if(f){U.next=2;break}return U.abrupt("return",[]);case 2:return U.next=4,f(S);case 4:return U.abrupt("return",U.sent);case 5:case"end":return U.stop()}},x)}));return function(x){return M.apply(this,arguments)}}(),o()({manual:!0},P||{})),C=m.loading,R=m.data,b=R===void 0?[]:R,E=m.run;return(0,s.useEffect)(function(){f&&E(O)},[JSON.stringify(O)]),(0,c.jsx)(r.default,o()({options:b,loading:C},I))}n.default=t},49805:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(31759),_=e.n(y),u=e(48305),l=e.n(u),h=e(67825),i=e.n(h),d=e(79312),s=e(97022),r=e(6052),c=e(75271),p=e(52676),t=["value","style","mode","children","contentWidth","labelInValue","onChange"];function a(f){var P=f.value,D=f.style,O=f.mode,I=f.children,m=f.contentWidth,C=f.labelInValue,R=f.onChange,b=i()(f,t),E=(0,c.useState)(!0),M=l()(E,2),x=M[0],S=M[1],T=(0,c.useRef)(null),U=(0,c.useState)(void 0),L=l()(U,2),K=L[0],W=L[1],j=(0,c.useState)(!1),A=l()(j,2),k=A[0],N=A[1],H=(0,c.useState)(void 0),F=l()(H,2),B=F[0],Z=F[1],z=function(X){X==null||X.stopPropagation(),S(!1)},Q={value:P,onClose:z,onChange:function(X,J){R==null||R(C?J:X),O||S(!1)},onLoading:N,onChangeLabel:W,mode:O,onChangeOptions:Z},$=(0,c.useMemo)(function(){return(0,p.jsx)("div",{style:{display:"none"},ref:T,children:I&&(typeof I=="function"?I(Q):c.cloneElement(I,Q))})},[P]);(0,c.useEffect)(function(){S(!1)},[]),(0,c.useEffect)(function(){x&&T.current&&T.current.style.display==="none"&&(T.current.style.display="block")},[x]);var V=function(){if(!(P===void 0||Array.isArray(P)&&P.length===0)){if(K)return K;if(Array.isArray(P))return P.map(function(J){var G;return _()(J)==="object"?J[((G=b.fieldNames)===null||G===void 0?void 0:G.value)||"value"]:J});if(_()(P)==="object"){var X;return P[((X=b.fieldNames)===null||X===void 0?void 0:X.value)||"value"]}return P}};return(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(r.default,o()(o()({open:x,onOpenChange:S,allowClear:!0,defaultActiveFirstOption:!0,suffixIcon:k?(0,p.jsx)(d.Z,{}):(0,p.jsx)(s.Z,{}),placeholder:"\u8BF7\u9009\u62E9"},b),{},{popupMatchSelectWidth:m,popupRender:function(){return $},mode:K?void 0:O,value:k?void 0:V(),style:o()({},D),onChange:R,options:B}))})}n.default=a},61809:function(g,n,e){"use strict";e.r(n),e.d(n,{onRequest:function(){return v},onRequestDefault:function(){return o},onRequestList:function(){return _},onRequestPage:function(){return y}});function v(){return new Promise(function(u){setTimeout(function(){u({msg:"",success:!0,data:[{id:"1",name:"\u9009\u9879\u4E00"},{id:"2",name:"\u9009\u9879\u4E8C"},{id:"3",name:"\u9009\u9879\u4E09"}]})},1e3)})}function o(){return new Promise(function(u){setTimeout(function(){u([{value:"1",label:"\u9009\u9879\u4E00"},{value:"2",label:"\u9009\u9879\u4E8C"},{value:"3",label:"\u9009\u9879\u4E09"}])},1e3)})}function y(u){var l=u.pageNo;return new Promise(function(h){setTimeout(function(){h({data:{totalNum:20,result:Array(10).fill("").map(function(i,d){var s=(l-1)*10+d+1;return{id:s.toString(),name:"\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879\u9009\u9879".concat(s)}})}})},1e3)})}function _(u){return new Promise(function(l){setTimeout(function(){l({data:Array.isArray(u)?u.map(function(h){return{id:h,name:"\u9009\u9879".concat(h)}}):[{id:u,name:"\u9009\u9879".concat(u)}]})},1500)})}},18437:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(15558),_=e.n(y),u=e(67825),l=e.n(u),h=e(6052),i=e(75271),d=e(73511),s=e.n(d),r=e(65173),c=e(99696),p=e(10436),t=e(49805),a=e(52676),f=["showAll","fieldNames","options"];function P(O){return Array.isArray(O)?O:[O]}function D(O){var I=O.showAll,m=O.fieldNames,C=O.options,R=C===void 0?[]:C,b=l()(O,f),E=_()(P((m==null?void 0:m.label)||["label"])),M=_()(P((m==null?void 0:m.value)||["value"])),x=function(U,L){var K="".concat(L==null?void 0:L.label).concat(L==null?void 0:L.value),W=s().convertToPinyin(K,"",!0).toLocaleUpperCase();return!!(K.includes(U)||W.includes(U.toLocaleUpperCase()))},S=(0,i.useMemo)(function(){for(var T=R||[];E.length>0||M.length>0;){if(Array.isArray(T)){T.forEach(function(L){L.label=(0,r.getDataByNamePath)(L,E),L.value=(0,r.getDataByNamePath)(L,M)});break}E.shift();var U=M.shift();U&&T!==void 0&&(T=T[U])}return I&&Array.isArray(T)&&T.length>0&&T.unshift(typeof I=="boolean"?{label:"\u5168\u90E8",value:""}:I),T},[R]);return(0,a.jsx)(h.default,o()({options:S,filterOption:x,placeholder:"\u8BF7\u9009\u62E9",allowClear:!0,showSearch:!0},b))}D.Api=p.default,D.Customize=t.default,D.Modal=c.default,n.default=D},98708:function(g,n,e){"use strict";e.r(n);var v=e(16254),o=e(60561),y=e(52676);function _(u){var l=u.value,h=u.options,i=h===void 0?[]:h;if(l===void 0||l==="")return l;var d=i.find(function(c){return c.value===l});if(!d)return l;var s=d.label,r=d.tag;return r&&r[0]==="tag"?(0,y.jsx)(v.Z,{color:r[1],children:s}):r&&r[0]==="badge"?(0,y.jsx)(o.Z,{status:r[1],text:s}):s}n.default=_},73946:function(g,n,e){"use strict";e.d(n,{Z:function(){return C}});var v=e(31759),o=e.n(v),y=e(26068),_=e.n(y),u=e(67825),l=e.n(u),h=e(37208),i=e(37401),d=e(16929),s=e(16708),r=e(12203),c=e(75271),p=e(2369),t=e(32097),a=e(73799),f=e(60136),P=e(52676),D=["onResize","width"],O=["data","style","scroll","rowKey","columns","tableRef","pagination","rowSelection","tableContentRef"],I=function(b){var E=b.onResize,M=b.width,x=l()(b,D);return!M||typeof M!="number"?(0,P.jsx)("th",_()({},x)):(0,P.jsx)(p.Resizable,{width:M,height:0,handle:(0,P.jsx)("span",{className:"react-resizable-handle",onClick:function(T){T.stopPropagation()}}),onResize:E,draggableOpts:{enableUserSelectHack:!1},children:(0,P.jsx)("th",_()({},x))})},m=function(b){var E=b.data,M=b.style,x=b.scroll,S=b.rowKey,T=b.columns,U=b.tableRef,L=b.pagination,K=b.rowSelection,W=b.tableContentRef,j=l()(b,O),A=(0,h.Z)(),k=E||{},N=k.dataSource,H=N===void 0?[]:N,F=k.pageSize,B=F===void 0?10:F,Z=k.current,z=Z===void 0?1:Z,Q=k.total,$=Q===void 0?0:Q,V=(0,f.default)(),ne=(0,c.useContext)(r.E_),X=(0,i.Z)(function(){var re;if((x==null?void 0:x.y)==="auto"){var ue=W==null?void 0:W.current;if(V!=null&&V.tabsId){var oe=document.getElementById(V==null?void 0:V.tabsId);oe&&oe.classList.add("ccs-tabs-auto-height")}if(ue){var ie=(re=W.current)===null||re===void 0?void 0:re.clientHeight,me=ne.getPrefixCls(),_e=ue.getElementsByClassName("".concat(me,"-table"))[0],ve=[],he=void 0;_e.childNodes.forEach(function(ge){ge.classList.contains("".concat(me,"-table-container"))?ge.childNodes.forEach(function(Me){Me.classList.contains("".concat(me,"-table-body"))?he=Me:ve.push(Me.clientHeight||0)}):ve.push(ge.clientHeight||0)});var Pe=ue.getElementsByClassName("".concat(me,"-pagination"));if(Pe&&Pe.length>0&&ve.push(Pe[0].clientHeight),he){var Re=ie-ve.reduce(function(ge,Me){return ge+Me},0);he.style.height="".concat(Re,"px")}}}},{wait:500,leading:!0}),J=X.run;(0,c.useEffect)(function(){J()},[$]),(0,c.useImperativeHandle)(U,function(){return{onColumnFilter:function(ue){var oe;T==null||T.forEach(function(ie){ie.hidden=ue.includes(ie.dataIndex)}),(oe=b.onEvent)===null||oe===void 0||oe.call(b,a.DataEvent.ColumnFilter,ue),A()},onFixedThead:J}});var G=function(ue){return function(oe,ie){var me=ie.size,_e=T==null?void 0:T.find(function(ve){return ve.dataIndex===ue});_e.width=me.width,A()}},le=function(){var ue=T==null?void 0:T.filter(function(oe){return!oe.hidden});return ue==null||ue.forEach(function(oe){if(oe.ellipsis&&typeof oe.ellipsis!="boolean"&&!oe.render){var ie={};typeof oe.ellipsis=="number"&&(ie={rows:oe.ellipsis}),o()(oe.ellipsis)==="object"&&(ie=oe.ellipsis),oe.ellipsis=!1,oe.render=function(me){return(0,P.jsx)(t.default.Ellipsis,_()({content:me,showTooltip:!0},ie))}}oe.width!==void 0&&(oe.onHeaderCell=function(me){return{width:me.width,onResize:G(oe.dataIndex)}})}),j.showNumber&&(ue==null||ue.unshift({title:"\u5E8F\u53F7",ellipsis:!0,width:60,render:function(ie,me,_e){return _e+1+((z||1)-1)*(B||10)}})),ue},ae=d.Z.useToken(),Y=ae.token,q=function(ue,oe){return oe||0},te=le();return(0,P.jsx)("div",{className:"ccs-table-card",style:_()(_()({},M),{},{background:Y.colorBgContainer}),children:(0,P.jsx)(s.Z,_()(_()({rowKey:S||q,dataSource:H,sortDirections:["ascend","descend"],pagination:L===!1?!1:_()({total:$,pageSize:B,current:z,showSizeChanger:!0,showQuickJumper:!0,showTotal:function(){return"\u5171".concat($,"\u6761\u8BB0\u5F55")},pageSizeOptions:["10","20","30","50","100"],size:j.size==="small"?"small":"default",simple:j.size==="small",className:"ccs-table-pagination",style:{borderTop:"1px solid ".concat(Y.colorBorderSecondary)}},L),rowSelection:K?_()(_()({},K),{},{columnWidth:60}):void 0,columns:te,components:{header:{cell:I}}},j),{},{size:j.size||"middle",scroll:x,summary:j!=null&&j.summary?function(re){var ue;return(ue=j.summary)===null||ue===void 0?void 0:ue.call(j,re,te||[])}:void 0}))})},C=m},35119:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var v=e(25298),o=e.n(v),y=e(17069),_=e.n(y),u=e(82092),l=e.n(u),h=e(8890),i=e(46960),d=e(15771),s=e(86763),r=e.n(s),c,p=function(){function t(){o()(this,t)}return _()(t,null,[{key:"setConfig",value:function(f,P,D){this.message=f,this.notice=P,this.modal=D}},{key:"easyMessage",value:function(f,P,D){var O,I=(O=this.message)!==null&&O!==void 0?O:h.ZP;f!=null&&f.success?I.success(P||"\u64CD\u4F5C\u6210\u529F"):I.error(D||(f==null?void 0:f.msg)||"\u64CD\u4F5C\u5931\u8D25")}},{key:"confirm",value:function(){var f=this,P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return new Promise(function(D){var O,I=(O=f.modal)!==null&&O!==void 0?O:i.Z;I.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",content:P,okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u53D6\u6D88",centered:!0,onOk:function(){D(!0)},onCancel:function(){D(!1)}})})}}]),t}();c=p,l()(p,"message",h.ZP),l()(p,"notice",d.ZP),l()(p,"modal",i.Z),l()(p,"easyConfirm",r()(c.confirm,500,{leading:!0,trailing:!1}))},71973:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),u=e(38443),l=e(17888),h=e.n(l),i=e(80998),d=e.n(i),s=e(52676),r=["value","onChange"],c=["value","onChange"];h().extend(d());function p(a){var f=a.value,P=a.onChange,D=_()(a,r),O=function(C,R){P&&P(R)},I=typeof f=="string"?h()(f,"HH:mm:ss"):f;return(0,s.jsx)(u.Z,o()({value:I,onChange:O},D))}function t(a){var f=a.value,P=a.onChange,D=_()(a,c),O=function(){return Array.isArray(f)?[h()(f[0],"HH:mm:ss"),h()(f[1],"HH:mm:ss")]:null},I=function(C,R){P&&P(R)};return(0,s.jsx)(u.Z.RangePicker,o()({value:O(),onChange:I},D))}p.RangePicker=t,n.default=p},65683:function(g,n,e){"use strict";e.r(n)},80882:function(g,n,e){"use strict";e.r(n),e.d(n,{uploadDefaultFlies:function(){return C}});var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),u=e(87999),l=e.n(u),h=e(48305),i=e.n(h),d=e(67825),s=e.n(d),r=e(31759),c=e.n(r),p=e(98868),t=e(8890),a=e(62477),f=e(18466),P=e(75271),D=e(50712),O=e(9472),I=e(52676),m=["value","uploadText","maxCount","maxFileSize","fileDownloadUrl","uploadRequest","onChange"];function C(b,E){return Array.isArray(b)?b.map(function(M){if(typeof M=="string")return{uid:M,name:M,url:"".concat(E).concat(M),fileId:M};if(c()(M)==="object")return{uid:M.fileId,name:M.name,url:"".concat(E).concat(M.fileId),fileId:M.fileId}}).filter(function(M){return M}):typeof b=="string"?[{uid:b,name:b,url:"".concat(E).concat(b),fileId:b}]:[]}function R(b){var E=b.value,M=b.uploadText,x=b.maxCount,S=x===void 0?1:x,T=b.maxFileSize,U=T===void 0?10:T,L=b.fileDownloadUrl,K=L===void 0?"":L,W=b.uploadRequest,j=b.onChange,A=s()(b,m),k=(0,P.useState)(function(){return C(E,K)}),N=i()(k,2),H=N[0],F=N[1],B=function($){var V=$.fileList;if(F(V),!!j&&!V.find(function(J){return J.status==="uploading"}))if(S===1){var ne,X;j(((ne=V[0])===null||ne===void 0||(ne=ne.response)===null||ne===void 0?void 0:ne.data)||((X=V[0])===null||X===void 0?void 0:X.fileId))}else j(V.map(function(J){var G;return((G=J.response)===null||G===void 0?void 0:G.data)||J.fileId}).filter(function(J){return J!==void 0}))},Z=function($){var V=$.size/1024/1024<U;return V||t.ZP.error("\u6587\u4EF6\u4E0D\u80FD\u5927\u4E8E".concat(U,"MB!")),V},z=function(){var Q=l()(_()().mark(function $(V){var ne,X,J,G;return _()().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ne=V.file,X=V.onSuccess,J=V.onError,ae.next=3,W(ne);case 3:G=ae.sent,G.success&&X&&X(G),!G.success&&J&&(D.default.message.error(G.msg||"\u4E0A\u4F20\u5931\u8D25"),J({status:500,name:"\u51FA\u9519\u4E86",message:G.msg||"\u4E0A\u4F20\u5931\u8D25"}));case 6:case"end":return ae.stop()}},$)}));return function(V){return Q.apply(this,arguments)}}();return(0,I.jsx)(a.Z,o()(o()({customRequest:z,name:"fileName",onChange:B,beforeUpload:Z,fileList:H,maxCount:S},A),{},{children:(0,I.jsx)(f.ZP,{icon:(0,I.jsx)(p.Z,{}),disabled:H.length>=S,children:M})}))}R.Image=O.ImageUpload,n.default=R},9472:function(g,n,e){"use strict";e.r(n),e.d(n,{ImageUpload:function(){return m}});var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),u=e(87999),l=e.n(u),h=e(48305),i=e.n(h),d=e(67825),s=e.n(d),r=e(17114),c=e(8890),p=e(62477),t=e(89020),a=e(75271),f=e(50712),P=e(80882),D=e(52676),O=["uploadText","maxCount","maxFileSize","crop","value","fileDownloadUrl","uploadRequest","onChange","onImageInfo","accept"],I=function(R){return new Promise(function(b,E){var M=new FileReader;M.readAsDataURL(R),M.onload=function(){return b(M.result)},M.onerror=function(x){return E(x)}})};function m(C){var R=C.uploadText,b=R===void 0?"\u4E0A\u4F20":R,E=C.maxCount,M=E===void 0?1:E,x=C.maxFileSize,S=x===void 0?10:x,T=C.crop,U=C.value,L=C.fileDownloadUrl,K=L===void 0?"":L,W=C.uploadRequest,j=C.onChange,A=C.onImageInfo,k=C.accept,N=k===void 0?"image/*":k,H=s()(C,O),F=(0,a.useState)(function(){return(0,P.uploadDefaultFlies)(U,K)}),B=i()(F,2),Z=B[0],z=B[1],Q=f.default.useDialog(),$=Q.openModal,V=function(ae){var Y=ae.fileList;if(Y.forEach(function(te){!te.fileId&&te.response&&(te.fileId=te.response.data)}),z(Y),!!j&&!Y.find(function(te){return te.status==="uploading"}))if(M===1){var q;j((q=Y[0])===null||q===void 0?void 0:q.fileId)}else j(Y.filter(function(te){return!!te.fileId}).map(function(te){return te.fileId}))},ne=function(ae){var Y=ae.size/1024/1024<S,q=ae.type==="image/jpeg"||ae.type==="image/png";return q?(Y||c.ZP.error("\u56FE\u7247\u4E0D\u80FD\u5927\u4E8E".concat(S,"MB!")),Y):(c.ZP.error("\u8BF7\u9009\u62E9\u56FE\u7247\uFF01"),p.Z.LIST_IGNORE)},X=function(){var le=l()(_()().mark(function ae(Y){return _()().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:if(Y.preview){te.next=8;break}if(!Y.originFileObj){te.next=7;break}return te.next=4,I(Y.originFileObj);case 4:Y.preview=te.sent,te.next=8;break;case 7:Y.preview="".concat(K).concat(Y.fileId);case 8:$({title:Y.name||Y.url.substring(Y.url.lastIndexOf("/")+1),content:(0,D.jsx)("img",{alt:Y.name,style:{width:"100%"},src:Y.preview}),footer:null});case 9:case"end":return te.stop()}},ae)}));return function(Y){return le.apply(this,arguments)}}(),J=function(){var le=l()(_()().mark(function ae(Y){var q,te,re,ue,oe,ie,me,_e;return _()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return q=Y.file,te=Y.onSuccess,re=Y.onError,he.next=3,W(q);case 3:if(ue=he.sent,!(ue.success&&te)){he.next=11;break}return te(ue),he.next=8,I(q);case 8:oe=he.sent,ie=q,me=ie.name,_e=ie.type,A==null||A({base64:oe,name:me,type:_e,url:ue.data});case 11:!ue.success&&re&&(f.default.message.error(ue.msg||"\u4E0A\u4F20\u5931\u8D25"),re({status:500,name:"\u51FA\u9519\u4E86",message:ue.msg||"\u4E0A\u4F20\u5931\u8D25"}));case 12:case"end":return he.stop()}},ae)}));return function(Y){return le.apply(this,arguments)}}(),G=(0,D.jsx)(p.Z,o()(o()({customRequest:J,name:"fileName",onChange:V,beforeUpload:ne,fileList:Z,maxCount:M,listType:"picture-card",onPreview:X,accept:N},H),{},{children:Z.length<M&&(0,D.jsxs)("div",{children:[(0,D.jsx)(r.Z,{}),(0,D.jsx)("div",{style:{marginTop:8},children:b})]})}));return(0,D.jsx)(D.Fragment,{children:T?(0,D.jsx)(t.default,{minZoom:.5,rotationSlider:!0,children:G}):G})}},65173:function(g,n,e){"use strict";e.r(n),e.d(n,{extractBirthday:function(){return r},extractGender:function(){return c},getDataByNamePath:function(){return t},isUrl:function(){return p},isValidCard:function(){return s}});var v=e(31759),o=e.n(v),y=e(15558),_=e.n(y),u=/^[1-9]\d{5}(19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dXx]$/,l=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],h=["1","0","X","9","8","7","6","5","4","3","2"];function i(a){return u.test(a)}function d(a){for(var f=a.toUpperCase(),P=0,D=0;D<17;D++)P+=parseInt(f[D],10)*l[D];var O=P%11,I=h[O];return f[17]===I}function s(a){return a.length!==18||!i(a)?!1:d(a)}function r(a){if(!s(a))return null;var f=a.substring(6,10),P=a.substring(10,12),D=a.substring(12,14);return"".concat(f,"-").concat(P,"-").concat(D)}function c(a){if(!s(a))return null;var f=parseInt(a.substring(16,17),10);return f%2===1?1:0}function p(a){return/^https?:\/\/.+/.test(a)}function t(a,f){if(!(!a||!f)){if(typeof f=="string")return a[f];var P=_()(f),D=P.shift(),O=a[D];return o()(O)==="object"&&P.length>0?t(O,P):O}}},91721:function(g,n,e){"use strict";e.r(n)},1130:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),u=e(96586),l=e(82187),h=e.n(l),i=e(75271),d=e(73801),s=e(52676),r=function(t){if(!t)return 1;var a=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/a},c=function(t){var a=t.children,f=t.style,P=t.className,D=t.markStyle,O=t.markClassName,I=t.zIndex,m=I===void 0?9:I,C=t.gapX,R=C===void 0?212:C,b=t.gapY,E=b===void 0?222:b,M=t.width,x=M===void 0?120:M,S=t.height,T=S===void 0?64:S,U=t.rotate,L=U===void 0?-22:U,K=t.image,W=t.content,j=t.offsetLeft,A=t.offsetTop,k=t.fontStyle,N=k===void 0?"normal":k,H=t.fontWeight,F=H===void 0?"normal":H,B=t.fontColor,Z=B===void 0?"rgba(0,0,0,.15)":B,z=t.fontSize,Q=z===void 0?16:z,$=t.fontFamily,V=$===void 0?"sans-serif":$,ne=t.prefixCls,X=(0,i.useContext)(u.default.ConfigContext),J=X.getPrefixCls,G=J("pro-layout-watermark",ne),le=h()("".concat(G,"-wrapper"),P),ae=h()(G,O),Y=(0,i.useState)(""),q=_()(Y,2),te=q[0],re=q[1];return(0,i.useEffect)(function(){var ue=document.createElement("canvas"),oe=ue.getContext("2d"),ie=r(oe),me="".concat((R+x)*ie,"px"),_e="".concat((E+T)*ie,"px"),ve=j||R/2,he=A||E/2;if(ue.setAttribute("width",me),ue.setAttribute("height",_e),oe){oe.translate(ve*ie,he*ie),oe.rotate(Math.PI/180*Number(L));var Pe=x*ie,Re=T*ie;if(K){var ge=new Image;ge.crossOrigin="anonymous",ge.referrerPolicy="no-referrer",ge.src=K,ge.onload=function(){oe.drawImage(ge,0,0,Pe,Re),re(ue.toDataURL())}}else if(W){var Me=Number(Q)*ie;oe.font="".concat(N," normal ").concat(F," ").concat(Me,"px/").concat(Re,"px ").concat(V),oe.fillStyle=Z,oe.fillText(W,0,0),re(ue.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[R,E,j,A,L,N,F,x,T,V,Z,K,W,Q]),(0,s.jsxs)("div",{style:o()({position:"relative"},f),className:le,children:[a,te&&(0,s.jsx)("div",{className:ae,style:o()({zIndex:m,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(R+x,"px"),pointerEvents:"none",backgroundRepeat:"repeat",backgroundImage:"url('".concat(te,"')")},D)})]})};c.Relative=d.default,n.default=c},73801:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),u=e(96586),l=e(82187),h=e.n(l),i=e(75271),d=e(52676),s=function(p){if(!p)return 1;var t=p.backingStorePixelRatio||p.webkitBackingStorePixelRatio||p.mozBackingStorePixelRatio||p.msBackingStorePixelRatio||p.oBackingStorePixelRatio||p.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},r=function(p){var t=p.markStyle,a=p.markClassName,f=p.zIndex,P=f===void 0?9:f,D=p.gapX,O=D===void 0?212:D,I=p.gapY,m=I===void 0?222:I,C=p.width,R=C===void 0?120:C,b=p.height,E=b===void 0?64:b,M=p.rotate,x=M===void 0?-22:M,S=p.image,T=p.content,U=p.offsetLeft,L=p.offsetTop,K=p.fontStyle,W=K===void 0?"normal":K,j=p.fontWeight,A=j===void 0?"normal":j,k=p.fontColor,N=k===void 0?"rgba(0,0,0,.15)":k,H=p.fontSize,F=H===void 0?16:H,B=p.fontFamily,Z=B===void 0?"sans-serif":B,z=p.prefixCls,Q=(0,i.useContext)(u.default.ConfigContext),$=Q.getPrefixCls,V=$("pro-layout-watermark",z),ne=h()(V,a),X=(0,i.useState)(""),J=_()(X,2),G=J[0],le=J[1];return(0,i.useEffect)(function(){var ae=document.createElement("canvas"),Y=ae.getContext("2d"),q=s(Y),te="".concat((O+R)*q,"px"),re="".concat((m+E)*q,"px"),ue=U||O/2,oe=L||m/2;if(ae.setAttribute("width",te),ae.setAttribute("height",re),Y){Y.translate(ue*q,oe*q),Y.rotate(Math.PI/180*Number(x));var ie=R*q,me=E*q;if(S){var _e=new Image;_e.crossOrigin="anonymous",_e.referrerPolicy="no-referrer",_e.src=S,_e.onload=function(){Y.drawImage(_e,0,0,ie,me),le(ae.toDataURL())}}else if(T){var ve=Number(F)*q;Y.font="".concat(W," normal ").concat(A," ").concat(ve,"px/").concat(me,"px ").concat(Z),Y.fillStyle=N,Y.fillText(T,0,0),le(ae.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[O,m,U,L,x,W,A,R,E,Z,N,S,T,F]),(0,d.jsx)(d.Fragment,{children:G&&(0,d.jsx)("div",{className:ne,style:o()({zIndex:P,position:"fixed",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(O+R,"px"),pointerEvents:"none",backgroundRepeat:"repeat",backgroundImage:"url('".concat(G,"')")},t)})})};n.default=r},68144:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return je}});var v={};e.r(v),e.d(v,{aesDecrypt:function(){return Pe},aesEncrypt:function(){return he},antPath:function(){return ge},base64ToJson:function(){return q},copy:function(){return me},dayjs:function(){return J},dayjsFmt:function(){return ue},findNodesByDFS:function(){return Ae},getArrayIds:function(){return H},getByJsonPath:function(){return Be},getNodeForge:function(){return Ue},getStroage:function(){return Z},getTimeId:function(){return N},getUUID:function(){return Ke},isBrowser:function(){return X},isDev:function(){return F},isEmpty:function(){return G},isFunction:function(){return B},isMobile:function(){return A},isNil:function(){return ie},isNode:function(){return ne},isNotEmpty:function(){return le},jsonParse:function(){return te},jsonStringify:function(){return Y},jsonToBase64:function(){return ae},mergeProp:function(){return pe},mergeProps:function(){return Te},objIsEmpty:function(){return oe},onArraySum:function(){return k},onFormartFileSize:function(){return j},onLoopData:function(){return Ie},onPopoverPosition:function(){return de},onRelativeTime:function(){return K},onTextEllipsis:function(){return W},onTreeFlat:function(){return Me},removeStroage:function(){return Q},rsaDecrypt:function(){return ve},rsaEncrypt:function(){return _e},rsaEncryptForge:function(){return Se},setStroage:function(){return z},sha256Encrypt:function(){return Re},showLogWarning:function(){return $},showWarning:function(){return V},stringToHex:function(){return re}});var o=e(31759),y=e.n(o),_=e(44651),u=e.n(_),l=e(874),h=e.n(l),i=e(25778),d=e.n(i),s=e(17888),r=e.n(s),c=e(56e3),p=e.n(c),t=e(39396),a=e.n(t),f=e(87),P=e.n(f),D=e(58667),O=e(27859),I=e(21764),m=e(95170),C=e.n(m),R=e(4293),b=e.n(R),E=e(52041),M=e.n(E),x=e(52408),S=e(92054),T=e.n(S),U=e(15588),L=e(14224);r().locale(p()),r().extend(P()),r().extend(a());function K(w){return w?r()(w).calendar(null,{sameDay:"H:mm",nextDay:"M\u6708D\u65E5 H:mm",nextWeek:"M\u6708D\u65E5 H:mm",lastDay:"[\u6628\u5929] H:mm",lastWeek:"dddd H:mm",sameElse:"M\u6708D\u65E5 H:mm"}):""}K.description="\u663E\u793A\u76F8\u5BF9\u65F6\u95F4";function W(w,ee){return!w||w.length<ee?w:"".concat(w.substring(0,ee-10),"...").concat(w.substring(w.length-10))}W.description="\u6587\u5B57\u4E2D\u90E8\u7701\u7565";function j(w){if(w<500)return"".concat(w,"Byte");if(w<1024)return"".concat((w/1024).toFixed(1),"KB");var ee=Math.floor(w/1024);return ee<1024?"".concat(ee,"KB"):(ee=w/1024/1024,"".concat(ee.toFixed(2),"MB"))}j.description="\u6587\u4EF6\u5927\u5C0F\u683C\u5F0F\u5316";function A(){var w=navigator.userAgent,ee=["Mobile","Android","iPhone","iPad","Windows Phone"];return ee.some(function(ce){return w.includes(ce)})}A.description="\u79FB\u52A8\u7AEF\uFF1F";function k(w,ee){return w.reduce(function(ce,fe){return M()(ce)&&M()(fe)&&ee?ce[ee]+fe[ee]:ce+fe},0)}k.description="\u6C42\u548C";var N=function(){return new Date().getTime()};N.description="\u83B7\u53D6\u5F53\u524D\u65F6\u95F4\u6233";var H=function(ee){return Array.from({length:ee},function(ce,fe){return fe})};H.description="\u751F\u6210\u6570\u7EC4";function F(){return!1}F.description="\u5F00\u53D1\u73AF\u5883\uFF1F";function B(w){return typeof w=="function"}B.description="\u662F\u51FD\u6570\uFF1F";function Z(w){return C().getItem(w)}Z.description="\u83B7\u53D6stroage";function z(w,ee){C().setItem(w,ee)}z.description="\u8BBE\u7F6Estroage";function Q(w){return C().removeItem(w)}Q.description="\u5220\u9664stroage";function $(w){}$.description="\u5F00\u53D1\u73AF\u5883\u629B\u51FA\u5F02\u5E38\u4FE1\u606F";function V(w,ee){(0,U.ZP)(w,ee)}V.description="\u5F00\u53D1\u73AF\u5883\u629B\u8B66\u544A";function ne(){return typeof L!="undefined"&&L.versions!==null&&L.versions.node!==null}ne.description="nodejs \u73AF\u5883";function X(){return typeof window!="undefined"&&typeof window.document!="undefined"&&!ne}X.description="\u6D4F\u89C8\u5668\u73AF\u5883";function J(w){return r()(w)}J.description="\u683C\u5F0F\u5316\u6210dayjs";var G=function(ee){return b()(ee)};G.description="\u7A7A\u5224\u65AD";var le=function(ee){return!G(ee)};le.description="\u975E\u7A7A";function ae(w){try{var ee=JSON.stringify(w);return D.DS.encode(ee)}catch(ce){return""}}ae.description="json\u8F6Cbase64";function Y(w){if(!w)return"";try{return y()(w)==="object"?JSON.stringify(w):w}catch(ee){return""}}Y.description="json\u8F6Cstring";function q(w){try{var ee=D.DS.decode(w);return JSON.parse(ee)}catch(ce){return null}}q.description="base64\u8F6Cjson";function te(w){try{return JSON.parse(w)}catch(ee){return w}}te.description="\u683C\u5F0F\u5316\u6210json";function re(w){if(w==="")return"";for(var ee=[],ce=0;ce<w.length;ce+=1)ee.push(w.charCodeAt(ce).toString(16));return ee.join("").toUpperCase()}re.description="\u5B57\u7B26\u4E32\u8F6Cbase64";function ue(w,ee){if(w)return ee&&(r()(),r()(w).format(ee)),r()(w)}ue.description="\u5B57\u7B26\u4E32\u8F6Cdayjs";function oe(w){return w?Object.keys(w).length===0:!0}oe.description="\u7A7A\u5BF9\u8C61\u5224\u65AD";function ie(w){return typeof w=="string"?w.trim()==="":Array.isArray(w)?w.length===0:M()(w)?Object.keys(w).length===0:w==null}ie.description="\u5224\u65AD\u503C\u4E0D\u4E3A\u7A7A";function me(w){if(w)return h()(w)}me.description="\u590D\u5236\u6587\u5B57";function _e(w,ee){var ce=new O.Z;return ce.setPublicKey(ee),ce.encrypt(w)||""}_e.description="RSA\u52A0\u5BC6";function ve(w,ee){var ce=new O.Z;return ce.setPublicKey(ee),ce.decrypt(w)||""}ve.description="RSA\u89E3\u5BC6";function he(w,ee){return d().AES.encrypt(d().enc.Utf8.parse(w),d().enc.Utf8.parse(ee),{mode:d().mode.ECB,padding:d().pad.Pkcs7}).toString()}he.description="AES\u52A0\u5BC6";function Pe(w,ee){return d().AES.decrypt(w,d().enc.Utf8.parse(ee),{mode:d().mode.ECB,padding:d().pad.Pkcs7}).toString(d().enc.Utf8)}Pe.description="AES\u89E3\u5BC6";function Re(w,ee){return d().HmacSHA256(d().enc.Utf8.parse(w),ee).toString(d().enc.Hex)}Re.description="HmacSHA256";function ge(w,ee){var ce=new(u());return ce.match(w,ee)}ge.description="\u5224\u65AD\u662F\u5426\u7B26\u5408ant path\u98CE\u683C\u5339\u914D\u5730\u5740";function Me(w){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"children";return w.reduce(function(ce,fe){return ce.push(fe),fe[ee]?ce.concat(Me(fe[ee])):ce},[])}Me.description="\u6811\u5F62\u6570\u636E\u6241\u5E73\u5316";function Ke(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,1,2],ce=["1234567890","abcdefghijklmnopqrstuvwxyz","ABCDEFGHIJKLMNOPQRSTUVWXYZ"],fe=ce.join("");if(Array.isArray(ee)){var Ce=ee.map(function(xe){return ce[xe]}).join("");Ce&&(fe=Ce)}else fe=ce[ee];var se=(0,x.kP)(fe,w);return se()}Ke.description="\u751F\u6210uuid";function Te(){for(var w={},ee=arguments.length,ce=new Array(ee),fe=0;fe<ee;fe++)ce[fe]=arguments[fe];return ce.forEach(function(Ce){Ce&&Object.keys(Ce).forEach(function(se){Ce[se]!==void 0&&(w[se]=Ce[se])})}),w}function pe(w){for(var ee=arguments.length,ce=new Array(ee>1?ee-1:0),fe=1;fe<ee;fe++)ce[fe-1]=arguments[fe];for(var Ce=ce.length-1;Ce>=0;Ce-=1)if(ce[Ce]!==void 0)return ce[Ce];return w}Te.description="\u5408\u5E76props",pe.description="\u5408\u5E76prop";function de(w,ee,ce){var fe={},Ce=w.clientHeight,se=w.clientWidth;return se/2>ce&&Ce/2>ee&&(fe={left:ce,top:ee,maxHeight:Ce-ee-16}),se/2>ce&&Ce/2<ee&&(fe={left:ce,bottom:Ce-ee,maxHeight:ee-16}),se/2<ce&&Ce/2>ee&&(fe={right:se-ce,top:ee,maxHeight:Ce-ee-16}),se/2<ce&&Ce/2<ee&&(fe={right:se-ce,bottom:Ce-ee,maxHeight:ee-16}),fe}de.description="\u5224\u65AD\u76EE\u6807\u5BF9\u8BDD\u6846\u51FA\u73B0\u7684\u4F4D\u7F6E";function Ie(w,ee){for(var ce=w.data,fe=w.key,Ce=w.fieldKey,se=Ce===void 0?"key":Ce,xe=0;xe<ce.length;xe++){var ke;if(ce[xe][se]===fe)return ee(ce[xe],xe,ce);var Ne=(ke=ce[xe])===null||ke===void 0?void 0:ke.children;Ne&&Ie({data:Ne,key:fe,fieldKey:se},ee)}}Ie.description="\u67E5\u627E\u6811\u5F62\u8282\u70B9";function Ae(w,ee){var ce=[];return w.forEach(function(fe){ee(fe)&&ce.push(fe),fe.children&&fe.children.length>0&&(ce=ce.concat(Ae(fe.children,ee)))}),ce}Ae.description="\u6DF1\u5EA6\u4F18\u5148\u641C\u7D22\uFF08\u9012\u5F52\uFF09\u83B7\u53D6\u7B26\u5408\u6761\u4EF6\u7684\u8282\u70B9";function Be(w,ee){return(0,I.j)({json:w,path:ee})}Be.description="\u6839\u636Ejson path \u83B7\u53D6\u6570\u636E";function Ue(){return T()}Ue.description="\u751F\u6210node-forge\u5B9E\u4F8B";function Se(w,ee){var ce=T().pki.publicKeyFromPem(ee),fe=ce.encrypt(w,"RSAES-PKCS1-V1_5",{md:T().md.sha256.create()});return T().util.encode64(fe)}Se.description="\u57FA\u4E8Enode-forge\u5B9E\u73B0rsa\u52A0\u5BC6";var je=v},83857:function(g,n,e){"use strict";e.r(n)},86638:function(g,n,e){"use strict";e.r(n)},27783:function(){"use strict"},587:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u57FA\u4E8E\u5355\u4E00\u804C\u8D23\u8BBE\u8BA1\u7684\u539F\u5B50\u7EC4\u4EF6",paraId:0,tocIndex:0}]},63953:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u81EA\u52A8\u83B7\u53D6\u7CFB\u7EDF\u6309\u94AE\u6743\u9650\u6570\u636E\uFF0C\u901A\u8FC7\u6743\u9650 key \u63A7\u5236\u663E\u9690\u5185\u5BB9",paraId:0,tocIndex:0},{value:"\u53C2\u6570",paraId:1,tocIndex:4},{value:"\u8BF4\u660E",paraId:1,tocIndex:4},{value:"\u7C7B\u578B",paraId:1,tocIndex:4},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:4},{value:"auth",paraId:1,tocIndex:4},{value:"api \u6743\u9650\u6807\u8BC6",paraId:1,tocIndex:4},{value:"string",paraId:1,tocIndex:4},{value:"-",paraId:1,tocIndex:4}]},21025:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u81EA\u52A8\u83B7\u53D6\u7CFB\u7EDF\u6309\u94AE\u6743\u9650\u6570\u636E\uFF0C\u901A\u8FC7\u6743\u9650 key \u63A7\u5236\u663E\u9690\u5185\u5BB9",paraId:0,tocIndex:0},{value:"ButtonProps",paraId:1,tocIndex:4},{value:"CcsButton.Group",paraId:2,tocIndex:4},{value:"CcsButton.Dropdown",paraId:3,tocIndex:4},{value:"\u66F4\u591A...",paraId:4,tocIndex:4}]},61519:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u6570\u636E\u6765\u6E90\u4E8E\u63A5\u53E3\u7684 Cascader \u7EC4\u4EF6\uFF0C\u5C01\u88C5\u6570\u636E\u8BF7\u6C42\u903B\u8F91",paraId:0,tocIndex:0},{value:"CascaderProps",paraId:1,tocIndex:4}]},18284:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u65F6\u95F4\u9009\u62E9\u7EC4\u4EF6\uFF0C\u8F93\u5165\u8F93\u51FA\u65F6\u95F4\u5B57\u7B26\u4E32",paraId:0,tocIndex:0},{value:"DatePickerProps",paraId:1,tocIndex:4},{value:"RangePickerProps",paraId:2,tocIndex:4}]},91941:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u96C6\u6210 Modal\u3001Drawer\u3001Message\u3001Notification \u9002\u5E94\u4E3B\u9898\u53D8\u5316\u7684\u9759\u6001\u65B9\u6CD5",paraId:0,tocIndex:0},{value:"\u4F7F\u7528\u9759\u6001\u65B9\u6CD5\u65F6\uFF0C\u9700\u4F7F\u7528CcsAppConfig\u7EC4\u4EF6\u3002\u53EA\u9700\u5728\u5E94\u7528\u5916\u56F4\u5305\u88F9\u4E00\u6B21\u5373\u53EF\u5168\u5C40\u751F\u6548\u3002",paraId:1,tocIndex:0},{value:"\u4E3B\u8981\u529F\u80FD\uFF1A",paraId:2,tocIndex:0},{value:"\u9759\u6001\u65B9\u6CD5\u6253\u5F00\u5BF9\u8BDD\u6846\uFF0C\u652F\u6301\u83B7\u53D6 context \u4E0A\u4E0B\u6587",paraId:3,tocIndex:0},{value:"\u81EA\u52A8\u6536\u96C6\u8868\u5355\u4FE1\u606F\uFF0C\u8C03\u7528\u63A5\u53E3\u5904\u7406\u3001\u7ED3\u679C\u53CD\u9988",paraId:3,tocIndex:0},{value:"\u5982\u4F7F\u7528\u5BF9\u8BDD\u6846\u81EA\u52A8\u8C03\u7528\u63A5\u53E3\uFF0C\u53CD\u9988\u7ED3\u679C\u9700\u6307\u5B9A\u63A5\u53E3\u8FD4\u56DE\u89C4\u8303\uFF0C\u5168\u5C40\u914D\u7F6E\u4E00\u6B21\u5373\u53EF\u3002",paraId:4,tocIndex:4},{value:`<CcsAppConfig
|
|
22
|
+
\u4F7F\u7528\u53C2\u6570labelInValue\u8FD4\u56DE\u9009\u4E2D\u5BF9\u8C61\u6570\u636E`},context:{"./service.ts":c,"@ccs-ui/rc-pro":h,ahooks:r,antd:d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/demos/service.ts":c},renderOpts:{compile:function(){var l=u()(C()().mark(function t(){var i,p=arguments;return C()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,e.e(9510).then(e.bind(e,59510));case 2:return v.abrupt("return",(i=v.sent).default.apply(i,p));case 3:case"end":return v.stop()}},t)}));function m(){return l.apply(this,arguments)}return m}()}},"select-demo-customize-label":{component:a.memo(a.lazy(function(){return e.e(6714).then(e.bind(e,96672))})),asset:{type:"BLOCK",id:"select-demo-customize-label",refAtomIds:["select"],dependencies:{"index.tsx":{type:"FILE",value:e(20804).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"},"./service.ts":{type:"FILE",value:e(65358).Z}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u9009\u4E2D\u8BE6\u60C5"},context:{"./service.ts":c,"@ccs-ui/rc-pro":h,antd:d,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/demos/service.ts":c},renderOpts:{compile:function(){var l=u()(C()().mark(function t(){var i,p=arguments;return C()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,e.e(9510).then(e.bind(e,59510));case 2:return v.abrupt("return",(i=v.sent).default.apply(i,p));case 3:case"end":return v.stop()}},t)}));function m(){return l.apply(this,arguments)}return m}()}}}},21300:function(P,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return d}});var _=e(90228),o=e.n(_),C=e(87999),f=e.n(C),u=e(75271),a=e(39203),h=e(28320),d={"time-picker-demo-basic":{component:u.memo(u.lazy(function(){return e.e(9673).then(e.bind(e,64600))})),asset:{type:"BLOCK",id:"time-picker-demo-basic",refAtomIds:["time-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(54516).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u5E74\uFF0C\u6708\uFF0C\u65E5\uFF0C\u65F6\u95F4\uFF0C\u8F93\u5165\u8F93\u51FA\u5B57\u7B26\u4E32\uFF0C\u4E0D\u9700\u8981\u8F6C\u6362Dayjs\u7C7B\u578B\u3002"},context:{"@ccs-ui/rc-pro":a,antd:h},renderOpts:{compile:function(){var c=f()(o()().mark(function s(){var l,m=arguments;return o()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(9510).then(e.bind(e,59510));case 2:return i.abrupt("return",(l=i.sent).default.apply(l,m));case 3:case"end":return i.stop()}},s)}));function r(){return c.apply(this,arguments)}return r}()}}}},67655:function(P,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return h}});var _=e(90228),o=e.n(_),C=e(87999),f=e.n(C),u=e(75271),a=e(39203),h={"upload-demo-basic":{component:u.memo(u.lazy(function(){return e.e(43).then(e.bind(e,90828))})),asset:{type:"BLOCK",id:"upload-demo-basic",refAtomIds:["upload"],dependencies:{"index.tsx":{type:"FILE",value:e(48615).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"}},entry:"index.tsx",title:"\u6587\u4EF6\u4E0A\u4F20"},context:{"@ccs-ui/rc-pro":a},renderOpts:{compile:function(){var d=f()(o()().mark(function r(){var s,l=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(s=t.sent).default.apply(s,l));case 3:case"end":return t.stop()}},r)}));function c(){return d.apply(this,arguments)}return c}()}},"upload-demo-image":{component:u.memo(u.lazy(function(){return e.e(43).then(e.bind(e,22946))})),asset:{type:"BLOCK",id:"upload-demo-image",refAtomIds:["upload"],dependencies:{"index.tsx":{type:"FILE",value:e(52122).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"}},entry:"index.tsx",title:"\u56FE\u7247\u4E0A\u4F20"},context:{"@ccs-ui/rc-pro":a},renderOpts:{compile:function(){var d=f()(o()().mark(function r(){var s,l=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(s=t.sent).default.apply(s,l));case 3:case"end":return t.stop()}},r)}));function c(){return d.apply(this,arguments)}return c}()}}}},82757:function(P,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return h}});var _=e(90228),o=e.n(_),C=e(87999),f=e.n(C),u=e(75271),a=e(39203),h={"water-mark-demo-basic":{component:u.memo(u.lazy(function(){return e.e(1592).then(e.bind(e,86608))})),asset:{type:"BLOCK",id:"water-mark-demo-basic",refAtomIds:["water-mark"],dependencies:{"index.tsx":{type:"FILE",value:e(7281).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.5.0"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":a},renderOpts:{compile:function(){var d=f()(o()().mark(function r(){var s,l=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(s=t.sent).default.apply(s,l));case 3:case"end":return t.stop()}},r)}));function c(){return d.apply(this,arguments)}return c}()}}}},57979:function(P,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return h}});var _=e(90228),o=e.n(_),C=e(87999),f=e.n(C),u=e(75271),a=e(68144),h={"packages-utils-src-demo-demos":{component:u.memo(u.lazy(function(){return e.e(2433).then(e.bind(e,91152))})),asset:{type:"BLOCK",id:"packages-utils-src-demo-demos",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(93474).Z},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"}},entry:"index.tsx"},context:{"@ccs-ui/utils":a},renderOpts:{compile:function(){var d=f()(o()().mark(function r(){var s,l=arguments;return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.e(9510).then(e.bind(e,59510));case 2:return t.abrupt("return",(s=t.sent).default.apply(s,l));case 3:case"end":return t.stop()}},r)}));function c(){return d.apply(this,arguments)}return c}()}}}},12648:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return D}});var _=e(26068),o=e.n(_),C=e(15558),f=e.n(C),u=e(48305),a=e.n(u),h=e(79312),d=e(5864),c=e(15409),r=e(30627),s=e(3923),l=e(55387),m=e(16929),t=e(18529),i=e(18466),p=e(46960),y=e(75271),v=e(52676),O=m.Z.useToken;function M(x){var R=x.msg,E=(0,y.useState)(!0),A=a()(E,2),U=A[0],S=A[1];return(0,y.useEffect)(function(){R&&setTimeout(function(){S(!1)},1e3)},[]),U?R:""}function g(x){var R=x.bgImg,E=x.sliderImg,A=x.loadingImg,U=x.loadingValid,S=x.validErrorMsg,F=x.onValid,B=x.onCancel,j=x.onRefresh,N=(0,y.useRef)(null),k=(0,y.useRef)(null),K=(0,y.useRef)({start:!1,startX:0});(0,y.useEffect)(function(){K.current={start:!1,startX:0},N.current.style.left="0px",k.current.style.left="0px"},[E]);var L=function(Z){if(Z<0){N.current.style.left="0px",k.current.style.left="0px";return}var z=Z>263?"263px":"".concat(Z,"px");N.current.style.left=z,k.current.style.left=z};(0,l.Z)("mousedown",function(T){U||(K.current.startX||(K.current.startX=T.clientX),K.current.start=!0)},{target:N}),(0,l.Z)("mousemove",function(T){if(K.current.start){var Z=T.clientX-K.current.startX;L(Z)}},{target:document}),(0,l.Z)("mouseup",function(T){var Z=T.clientX-K.current.startX;F({x:Z,y:5},"sliding"),K.current.start=!1},{target:document});var H=O(),W=H.token;return(0,v.jsxs)(t.Z,{indicator:(0,v.jsx)(h.Z,{style:{fontSize:24}}),spinning:A,children:[(0,v.jsxs)("div",{className:"ccs-aj-body",style:{background:W.colorBgContainerDisabled},children:[(0,v.jsx)("img",{className:"ccs-aj-bg",src:R?"data:image/png;base64,".concat(R):void 0,width:310,height:155}),(0,v.jsx)("img",{ref:k,className:"ccs-aj-slider-img",style:{height:155},src:E?"data:image/png;base64,".concat(E):void 0}),(0,v.jsxs)("div",{className:"ccs-aj-btn",children:[(0,v.jsx)(i.ZP,{onClick:j,type:"text",icon:(0,v.jsx)(d.Z,{})}),(0,v.jsx)("div",{className:"ccs-aj-error",children:(0,v.jsx)(M,{msg:S},E)}),(0,v.jsx)(i.ZP,{onClick:B,type:"text",icon:(0,v.jsx)(c.Z,{})})]})]}),(0,v.jsxs)("div",{className:"ccs-aj-slider",style:{background:W.colorBgElevated},children:[(0,v.jsx)("div",{className:"ccs-aj-slider-track",style:{background:W.colorBgContainerDisabled},children:"\u6309\u4F4F\u6ED1\u5757\uFF0C\u62D6\u52A8\u5B8C\u6210\u4E0A\u65B9\u62FC\u56FE"}),(0,v.jsx)("div",{className:"ccs-aj-slider-bar",ref:N,style:{backgroundColor:W.colorBgBase,border:"1px solid ".concat(W.colorBorder)},children:U?(0,v.jsx)(h.Z,{}):(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(r.Z,{}),(0,v.jsx)(s.Z,{})]})})]})]})}function b(x){var R=x.bgImg,E=x.words,A=x.loadingImg,U=x.loadingValid,S=x.validErrorMsg,F=x.onValid,B=x.onCancel,j=x.onRefresh,N=(0,y.useRef)(null),k=(0,y.useState)([]),K=a()(k,2),L=K[0],H=K[1];(0,y.useEffect)(function(){H([])},[R]),(0,l.Z)("mouseup",function(Z){H([].concat(f()(L),[{x:Z.offsetX,y:Z.offsetY}]))},{target:N}),(0,y.useEffect)(function(){L.length===(E==null?void 0:E.length)&&F(L,"wordSelect")},[L.length]);var W=O(),T=W.token;return(0,v.jsxs)(t.Z,{indicator:(0,v.jsx)(h.Z,{style:{fontSize:24}}),spinning:A||U,children:[(0,v.jsxs)("div",{className:"ccs-aj-body",style:{background:T.colorBgContainerDisabled},children:[(0,v.jsx)("img",{ref:N,className:"ccs-aj-bg",src:R?"data:image/png;base64,".concat(R):void 0,width:310,height:155}),L.map(function(Z,z){return(0,v.jsx)("div",{className:"ccs-word-point",style:{left:Z.x-13,top:Z.y-13},children:z+1},Z.x)}),(0,v.jsxs)("div",{className:"ccs-aj-btn",children:[(0,v.jsx)(i.ZP,{onClick:j,type:"text",icon:(0,v.jsx)(d.Z,{})}),(0,v.jsx)("div",{className:"ccs-aj-error",children:(0,v.jsx)(M,{msg:S},R)}),(0,v.jsx)(i.ZP,{onClick:B,type:"text",icon:(0,v.jsx)(c.Z,{})})]})]}),(0,v.jsxs)("div",{className:"ccs-aj-word-slider",style:{color:T.colorTextLabel,border:"1px solid ".concat(T.colorTextLabel)},children:["\u8BF7\u4F9D\u6B21\u70B9\u51FB\u3010",E==null?void 0:E.join(", "),"\u3011"]})]})}function I(x){var R=x.captchaType==="sliding"?"10px 10px 0 10px":10;return(0,v.jsx)(p.Z,{width:330,open:x.open,destroyOnHidden:!0,onCancel:x.onCancel,footer:null,closable:!1,maskClosable:!1,styles:{content:{padding:0},body:{padding:R},mask:{backgroundColor:"rgba(0, 0, 0, 0.25)"}},className:"ccs-aj-modal",style:{top:"calc(50vh - 200px)"},children:x.captchaType==="sliding"?(0,v.jsx)(g,o()({},x)):(0,v.jsx)(b,o()({},x))})}var D=I},73799:function(P,n,e){"use strict";e.r(n),e.d(n,{DataEvent:function(){return _}});var _=function(o){return o.Search="search",o.Reset="reset",o.Reload="reload",o.ChangePage="changePage",o.InitSearch="initSearch",o.FullScreen="fullScreen",o.ColumnFilter="columnFilter",o.SelectedRows="SelectedRows",o.Expand="Expand",o.PartialReload="PartialReload",o}({})},19505:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r}});var _=e(26068),o=e.n(_),C=e(67825),f=e.n(C),u=e(68144),a=e(22126),h=e(9369),d=e(52676),c=["request","defaultParams","cache"];function r(s){var l=s.request,m=s.defaultParams,t=s.cache,i=f()(s,c),p=u.default.isFunction(l)?{service:l,defaultParams:m,cache:t}:l,y=(0,h.default)(p),v=y.data,O=v===void 0?[]:v,M=y.loading;return(0,d.jsx)(a.default,o()({options:O,loading:M},i))}},22126:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return y}});var _=e(26068),o=e.n(_),C=e(31759),f=e.n(C),u=e(48305),a=e.n(u),h=e(42932),d=e(81465),c=e(69608),r=e(82187),s=e.n(r),l=e(75271),m=e(32097),t=e(52668),i=e(52676),p=h.Z.Group;function y(v){var O=v.style,M=v.value,g=v.className,b=v.loading,I=v.showAll,D=v.popoverMode,x=v.options,R=x===void 0?[]:x,E=v.defaultCheckedKeys,A=E===void 0?[]:E,U=v.fieldNames,S=v.selectedRef,F="value"in v,B=(0,l.useState)(A),j=a()(B,2),N=j[0],k=j[1],K=F?M:N,L=(0,t.default)(R,{fieldNames:U})||[],H=function(X){var $;F||k(X),($=v.onChange)===null||$===void 0||$.call(v,X),S&&(S.current=L.filter(function(w){var q=f()(w)==="object"?w.value:w;return X.includes(q)}))};(0,l.useEffect)(function(){if(S){var z=F?M:A;z&&z.length>0&&(S.current=L.filter(function(X){var $=f()(X)==="object"?X.value:X;return z.includes($)}))}},[L]);var W=function(X){var $=X.target.checked?L.map(function(w){return f()(w)==="object"?w.value:w}):[];H($)},T=function(){if(!(I===!1||!(L!=null&&L.length))){var X=L.length===K.length,$=K.length>0&&K.length<L.length;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(h.Z,{indeterminate:$,onChange:W,checked:X,children:"\u5168\u9009"}),(0,i.jsx)(d.Z,{style:{margin:"10px 0"}})]})}},Z=(0,i.jsxs)(m.default.Spin,{spinning:b===!0,children:[T(),(0,i.jsx)(p,{style:O,className:s()("".concat(m.classAtomPrefix,"-check-group"),g),options:L,value:K,onChange:H})]});return D?(0,i.jsx)(c.Z,o()(o()({},D),{},{content:Z})):Z}},21827:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(90228),f=e.n(C),u=e(87999),a=e.n(u),h=e(48305),d=e.n(h),c=e(67825),r=e.n(c),s=e(75250),l=e(18466),m=e(75271),t=e(52676),i=["num","cacheKey","disabledText","children"];function p(y,v){var O=y.num,M=O===void 0?60:O,g=y.cacheKey,b=y.disabledText,I=y.children,D=r()(y,i),x=(0,m.useState)(-1),R=d()(x,2),E=R[0],A=R[1],U=(0,m.useState)(null),S=d()(U,2),F=S[0],B=S[1],j=(0,m.useMemo)(function(){return g||window.location.host},[]);(0,m.useLayoutEffect)(function(){var K=function(){var L=a()(f()().mark(function H(){var W,T,Z,z;return f()().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.next=2,localStorage.getItem(j);case 2:if(W=$.sent,!W){$.next=11;break}if(T=JSON.parse(W),Z=new Date().getTime(),z=Math.round((Z-T.time)/1e3),!(z<T.num)){$.next=11;break}return A(T.num-z),B(1e3),$.abrupt("return");case 11:A(M);case 12:case"end":return $.stop()}},H)}));return function(){return L.apply(this,arguments)}}();K()},[]),(0,s.Z)(function(){if(E-1===0){B(null),A(M),j&&localStorage.removeItem(j);return}A(E-1)},F,{immediate:!0});var N=E!==0&&E!==M,k=function(){B(1e3),j&&localStorage.setItem(j,JSON.stringify({num:M,time:new Date().getTime()}))};return(0,m.useImperativeHandle)(v,function(){return{onStart:k}}),E===-1?null:(0,t.jsx)(l.ZP,o()(o()({type:"primary"},D),{},{onClick:D.onClick?D.onClick:k,disabled:D.disabled?!0:N,children:N?"".concat(E,"\u79D2").concat(b):"".concat(I)}))}n.default=(0,m.forwardRef)(p)},13373:function(P,n,e){"use strict";e.r(n);var _=e(48305),o=e.n(_),C=e(26068),f=e.n(C),u=e(60680),a=e(68144),h=e(81992),d=e(21947),c=e(19842),r=e(57439),s=e(18466),l=e(8890),m=e(75271),t=e(14306),i=e(52676),p={visibility:"hidden",whiteSpace:"inherit",lineHeight:"inherit",fontSize:"inherit"},y=function(b){return b[b.INIT=99]="INIT",b[b.NO_ELLIPSIS=0]="NO_ELLIPSIS",b[b.MEASURE_WALKING=200]="MEASURE_WALKING",b[b.STABLE_ELLIPSIS=400]="STABLE_ELLIPSIS",b[b.NULL=-1]="NULL",b}(y||{}),v="...";function O(b){var I=b.option,D=b.targetRef,x=b.onResize,R=(0,h.Z)(D),E=(0,d.Z)(R,f()({wait:500,leading:!0,trailing:!1},I));return(0,m.useEffect)(function(){E&&x(E)},[E]),null}function M(b){var I=b.content,D=b.rows,x=D===void 0?1:D,R=b.direction,E=R===void 0?"end":R,A=b.showTooltip,U=(0,m.useRef)(null),S=m.useRef(null),F=m.useRef(null),B=m.useState(y.INIT),j=o()(B,2),N=j[0],k=j[1],K=m.useMemo(function(){return(0,t.default)(I||"")},[I]),L=(0,m.useState)(0),H=o()(L,2),W=H[0],T=H[1],Z=(0,m.useRef)({maxHeight:0,step:0});(0,c.Z)(function(){k(y.INIT)},[I]),(0,m.useEffect)(function(){var $=K.length;if(N===y.INIT){var w,q,Y=(((w=S.current)===null||w===void 0?void 0:w.offsetHeight)||0)*x;if(((q=S.current)===null||q===void 0?void 0:q.offsetHeight)===0){k(y.NULL);return}Z.current.maxHeight=Y,Z.current.step=$,T($),k(y.MEASURE_WALKING);return}if(N===y.MEASURE_WALKING){var J=Math.round(Z.current.step/2);if(Z.current.step=J,!F.current)return;var G=F.current;if(G.offsetHeight===G.scrollHeight){if(W===$){k(y.NO_ELLIPSIS);return}if(J===0){k(y.STABLE_ELLIPSIS);return}T(function(ie){return ie+J})}else{if(J===1||J===0){T(function(ie){return ie-(J+1)}),k(y.STABLE_ELLIPSIS);return}T(function(ie){return ie-J})}}},[N,W]);var z=function(){if(W===0)return".";if(E==="start")return"".concat(v).concat(K.slice(K.length-W).join(""));if(E==="end")return"".concat(K.slice(0,W).join("")).concat(v);if(E==="middle"){var w=Math.floor(W/2);return"".concat(K.slice(0,w).join("")).concat(v).concat(K.slice(K.length-(W-w)).join(""))}};if(N===y.NO_ELLIPSIS)return I;if(N===y.STABLE_ELLIPSIS)return A?(0,i.jsx)(r.Z,{zIndex:9999,rootClassName:"ccs-ellipsis-tootip",title:function(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{style:{maxHeight:300,overflow:"auto"},children:I}),(0,i.jsx)("div",{style:{textAlign:"right"},children:(0,i.jsx)(s.ZP,{type:"link",onClick:function(){a.default.copy(I),l.ZP===null||l.ZP===void 0||l.ZP.info("\u590D\u5236\u6210\u529F")},icon:(0,i.jsx)(u.Z,{}),children:"\u590D\u5236"})})]})},placement:"bottomLeft",destroyOnHidden:!0,styles:{body:{whiteSpace:"normal"}},children:z()}):z();var X=function(w){w.height===0||w.width===0||k(y.INIT)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(O,{targetRef:U,onResize:X}),(0,i.jsxs)("div",{className:"ccs-ellipsis",ref:U,children:[[y.INIT,y.NULL].includes(N)&&(0,i.jsx)("div",{"aria-hidden":!0,ref:S,style:p,children:"\xA0"},"stable"),y.MEASURE_WALKING===N&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{ref:F,style:{maxHeight:Z.current.maxHeight},className:"ccs-ellipsis-scroll",children:z()},"measure-walking")})]})]})}function g(b){return b.content===""||b.content===void 0?b.content:(0,i.jsx)(M,f()({},b))}n.default=m.memo(g,function(b,I){return b.content===I.content})},26123:function(P,n,e){"use strict";e.r(n);var _=e(67825),o=e.n(_),C=e(26068),f=e.n(C),u=e(48305),a=e.n(u),h=e(68825),d=e(49115),c=e(80729),r=e(16929),s=e(18466),l=e(75271),m=e(32097),t=e(63766),i=e(32272),p=e(52676),y=["onFormat"];function v(O,M){var g=O.extra,b=O.style,I=O.className,D=O.expandForm,x=D===void 0?!1:D,R=O.formItems,E=R===void 0?[]:R,A=O.formInitValues,U=O.formItemLabelWidth,S=O.requestParam,F=O.onSearch,B="".concat(m.classAtomPrefix,"-filter"),j=c.Z.useForm(),N=a()(j,1),k=N[0],K=(0,l.useRef)(null),L=(0,l.useRef)(null),H=(0,l.useRef)(null),W=(0,l.useState)(!1),T=a()(W,2),Z=T[0],z=T[1],X=(0,l.useState)(!1),$=a()(X,2),w=$[0],q=$[1],Y=r.Z.useToken().token;function J(){var se=Y.rootValue?"".concat((Y.controlHeight/Y.rootValue).toFixed(3),"rem"):Y.controlHeight;return se}var G=(0,l.useState)(J),ie=a()(G,2),ae=ie[0],Q=ie[1];(0,l.useEffect)(function(){w&&x&&z(!0)},[w]);var te=function(){var _e=k.getFieldsValue();if(_e){var ce=Object.keys(_e).filter(function(he){return he.startsWith("_")&&he.endsWith("_")});ce.length>0&&ce.forEach(function(he){return delete _e[he]})}return Object.keys(_e).forEach(function(he){if(_e[he]!==void 0){var ve=E.find(function(Pe){return Pe.name===he});ve!=null&&ve.onFormat&&(_e[he]=ve.onFormat(_e[he]))}}),f()(f()(f()({},S),A),_e)};(0,l.useImperativeHandle)(M,function(){return{getFormValues:te,form:k}});var ne=function(){var _e,ce,he,ve,Pe;if(!(!L.current||!K.current)){var Re=ae;K.current.childNodes.forEach(function(fe){Re<fe.clientHeight&&(Re=fe.clientHeight)}),Re!==ae&&Q(Re);var Ee=(_e=L.current)===null||_e===void 0||(_e=_e.getClientRects()[0])===null||_e===void 0?void 0:_e.top,Oe=(ce=K.current)===null||ce===void 0||(ce=ce.getClientRects()[0])===null||ce===void 0?void 0:ce.top,Le=(he=H.current)===null||he===void 0||(he=he.getClientRects()[0])===null||he===void 0?void 0:he.top;if(Ee===Oe&&Ee===Le&&(q(!1),z(!1)),!Z){var Ie=((ve=L.current)===null||ve===void 0||(ve=ve.getClientRects()[0])===null||ve===void 0?void 0:ve.top)!==((Pe=K.current)===null||Pe===void 0||(Pe=Pe.getClientRects()[0])===null||Pe===void 0?void 0:Pe.top);q(Ie)}}};if((0,l.useEffect)(function(){ne()},[]),E.length===0)return null;var le=function(_e){_e.width!==0&&ne()},ue=(0,p.jsxs)("div",{style:{textAlign:"right",flex:Z&&w?"1 1 auto":"0 0 auto"},ref:H,children:[w&&(0,p.jsx)(s.ZP,{type:"link",icon:Z?(0,p.jsx)(h.Z,{}):(0,p.jsx)(d.Z,{}),style:{padding:"4px 6px"},onClick:function(){return z(!Z)},children:Z?"\u6536\u8D77":"\u5C55\u5F00"}),(0,p.jsx)(s.ZP,{type:"primary",htmlType:"submit",children:"\u67E5\u8BE2"}),g]}),oe={flexWrap:Z?"wrap":"nowrap"};return(0,p.jsx)(i.default,{style:b,className:I,children:(E.length>0||F)&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(m.default.Resize,{targetRef:K,onResize:le}),(0,p.jsxs)(c.Z,{initialValues:A,form:k,onFinish:F,layout:"inline",style:oe,preserve:!1,children:[(0,p.jsx)("div",{style:{height:Z?"auto":ae},className:"".concat(B,"-adaptation"),children:(0,p.jsxs)("div",{className:"".concat(B,"-").concat(Z&&w?"expand":"collapse"),ref:K,children:[E.map(function(se){var _e=se.onFormat,ce=o()(se,y);return(0,p.jsx)(t.Z.Item,f()(f()(f()({},ce),U?{label:(0,p.jsx)("div",{style:{width:U},children:ce.label})}:void 0),{},{className:"".concat(B,"-form-item"),children:ce.value||ce.children}),ce.name)}),(0,p.jsx)("div",{style:{height:1},ref:L}),Z&&ue]})}),!Z&&ue]})]})})}n.default=l.forwardRef(v)},93238:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(48305),f=e.n(C),u=e(87887),a=e(67619),h=e(16929),d=e(18466),c=e(57439),r=e(75271),s=e(32097),l=e(52676);function m(t){var i=t.btnProps,p=t.parentHtmlId,y=(0,r.useState)(!1),v=f()(y,2),O=v[0],M=v[1],g=(0,r.useRef)(null),b=(0,r.useRef)(void 0),I=h.Z.useToken(),D=I.token;(0,r.useEffect)(function(){p&&(b.current=g.current.closest("#".concat(p))||void 0)},[]);var x=function(){if(b.current){var E=b.current||{},A=E.classList,U=E.style;O?(A==null||A.remove("".concat(s.classAtomPrefix,"-fullscreen")),U.backgroundColor="transparent"):(A==null||A.add("".concat(s.classAtomPrefix,"-fullscreen")),U.backgroundColor=D.colorBgContainer)}M(!O)};return(0,l.jsx)("span",{ref:g,children:O?(0,l.jsx)(d.ZP,o()({onClick:function(){return x()},icon:(0,l.jsx)(u.Z,{}),type:"text"},i)):(0,l.jsx)(c.Z,{title:"\u5168\u5C4F",destroyOnHidden:!0,children:(0,l.jsx)(d.ZP,o()({onClick:function(){return x()},icon:(0,l.jsx)(a.Z,{}),type:"text"},i))})})}n.default=m},32097:function(P,n,e){"use strict";e.r(n),e.d(n,{classAtomPrefix:function(){return y},default:function(){return O}});var _=e(22126),o=e(19505),C=e(21827),f=e(13373),u=e(26123),a=e(93238),h=e(9889),d=e(39142),c=e(70110),r=e(79831),s=e(56251),l=e(9369),m=e(64723),t=e(52668),i=e(24887),p=e(52676),y="ccs-atom",v=function(){return(0,p.jsx)(p.Fragment,{})};v.Filter=u.default,v.Operation=d.default,v.Checkbox=_.default,v.CheckboxApi=o.default,v.FullScreen=a.default,v.Title=s.default,v.Resize=c.default,v.Countdown=C.default,v.Ellipsis=f.default,v.Loading=h.default,v.Spin=r.default,v.usePageRequest=i.default,v.useComplexState=m.default,v.useFieldOptions=t.default,v.useApiRequest=l.default;var O=v},32272:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return d}});var _=e(26068),o=e.n(_),C=e(16929),f=e(82187),u=e.n(f),a=e(85289),h=e(52676);function d(c){var r=c.style,s=c.size,l=c.className,m=c.children,t=C.Z.useToken(),i=t.token;(0,a.useInsertCss)("atom-item",function(){return[".ccs-atom-item ~ .ccs-atom-item { border-top: 1px solid ".concat(i.colorBorderSecondary,"; }")]});var p=s==="small"?i.paddingSM:i.paddingMD;return(0,h.jsx)("div",{className:u()("ccs-atom-item",l),style:o()({background:i.colorBgContainer,padding:"".concat(i.paddingSM,"px ").concat(p,"px")},r),children:m})}},9889:function(P,n,e){"use strict";e.r(n);var _=e(79312),o=e(8984),C=e(18529),f=e(52676),u=function(h){var d=h.loading,c=h.loadingTip;return d?(0,f.jsx)("div",{className:"ccs-loading",children:(0,f.jsx)("div",{className:"ccs-loading-content ",children:(0,f.jsxs)(o.Z,{children:[(0,f.jsx)(C.Z,{indicator:(0,f.jsx)(_.Z,{style:{fontSize:24}})}),c]})})}):null};n.default=u},39142:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(55363),f=e(65351),u=e(15574),a=e(18466),h=e(57439),d=e(82187),c=e.n(d),r=e(32097),s=e(93238),l=e(32272),m=e(52676);function t(i){var p="".concat(r.classAtomPrefix,"-operation"),y=i.extraRight,v=i.extraLeft,O=i.size,M=i.parentHtmlId,g=i.style,b=i.className,I=i.onReset,D=i.onChangeSize;if(Object.values(i).filter(function(R){return R}).length===0)return null;var x=o()({},g);return v||(x.display="inline-block",x.padding=0),(0,m.jsxs)(l.default,{className:c()(p,b),style:x,children:[(0,m.jsx)("div",{className:"".concat(p,"-left"),children:v}),(0,m.jsxs)("div",{className:"".concat(p,"-right"),children:[y,O&&(0,m.jsx)(u.Z,{placement:"bottomRight",menu:{activeKey:O,items:[{key:"large",label:"\u9ED8\u8BA4"},{key:"middle",label:"\u4E2D\u7B49"},{key:"small",label:"\u7D27\u51D1"}],onClick:function(E){D==null||D(E.key)}},children:(0,m.jsx)(a.ZP,{icon:(0,m.jsx)(C.Z,{}),type:"text"})}),I&&(0,m.jsx)(h.Z,{title:"\u91CD\u7F6E",children:(0,m.jsx)(a.ZP,{onClick:I,icon:(0,m.jsx)(f.Z,{}),type:"text"})}),M!==void 0&&(0,m.jsx)(s.default,{parentHtmlId:"ccs-pro-table"})]})]})}n.default=t},70110:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(81992),f=e(21947),u=e(75271),a=e(52676);function h(r){var s=r.onResize,l=r.option,m=(0,u.useRef)(),t=(0,u.useRef)(null),i=(0,C.Z)(t),p=(0,f.Z)(i,o()({wait:500,leading:!1,trailing:!0},l));return(0,u.useEffect)(function(){p&&(m.current&&s(p),m.current=p)},[p]),(0,a.jsx)("div",{ref:t})}function d(r){var s=r.option,l=r.targetRef,m=r.onResize,t=(0,u.useRef)(),i=(0,C.Z)(l),p=(0,f.Z)(i,o()({wait:500,leading:!1,trailing:!0},s));return(0,u.useEffect)(function(){p&&(t.current&&m(p),t.current=p)},[p]),null}function c(r){return r.targetRef?(0,a.jsx)(d,o()({},r)):(0,a.jsx)(h,o()({},r))}n.default=c},79831:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var _=e(26068),o=e.n(_),C=e(79312),f=e(18529),u=e(52676);function a(h){return(0,u.jsx)(f.Z,o()({indicator:(0,u.jsx)(C.Z,{spin:!0})},h))}},56251:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var _=e(26068),o=e.n(_),C=e(16929),f=e(32272),u=e(52676);function a(h){var d=h.children,c=h.style,r=h.className;if(!d)return null;var s=C.Z.useToken(),l=s.token;return(0,u.jsx)(f.default,{className:r,style:o()({fontSize:l.fontSizeHeading5,fontWeight:l.fontWeightStrong},c),children:d})}},9369:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return c}});var _=e(26068),o=e.n(_),C=e(90228),f=e.n(C),u=e(87999),a=e.n(u),h=e(11048),d=e(75271);function c(r){var s=r||{},l=s.service,m=s.defaultParams,t=s.cache,i=t===void 0?{}:t,p=(0,h.Z)(function(){var M=a()(f()().mark(function g(b){return f()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:if(l){D.next=2;break}return D.abrupt("return",void 0);case 2:return D.next=4,l(b);case 4:return D.abrupt("return",D.sent);case 5:case"end":return D.stop()}},g)}));return function(g){return M.apply(this,arguments)}}(),o()({manual:!0},i)),y=p.loading,v=p.data,O=p.run;return(0,d.useEffect)(function(){l&&O(m)},[JSON.stringify(m)]),{loading:y,data:v}}},64723:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return s}});var _=e(31759),o=e.n(_),C=e(48305),f=e.n(C),u=e(82092),a=e.n(u),h=e(85899),d=e.n(h),c=e(75271),r=function(m,t){for(var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"$set",p=m.split("."),y=a()({},i,t),v=p.length-1;v>=0;v--){var O=p[v];y=a()({},O,y)}return y};function s(l){var m=(0,c.useState)(l),t=f()(m,2),i=t[0],p=t[1],y=(0,c.useCallback)(function(g){if(typeof g=="function"){p(function(b){return d()(b,g(b))});return}p(function(b){return d()(b,g)})},[]),v=(0,c.useCallback)(function(g,b){p(function(I){if(typeof g=="string"){var D=g,x=b,R=r(D,x);return d()(I,R)}else if(o()(g)==="object"&&g!==null){var E=I,A=g;return Object.entries(A).forEach(function(U){var S=f()(U,2),F=S[0],B=S[1],j=r(F,B);E=d()(E,j)}),E}return I})},[]),O=(0,c.useCallback)(function(g,b,I){var D=r(g,Array.isArray(b)?b:[b],I||"$push");p(function(x){return d()(x,D)})},[]),M=(0,c.useCallback)(function(){p(l)},[l]);return{state:i,setRaw:y,setByPath:v,setArray:O,reset:M}}},52668:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return d}});var _=e(31759),o=e.n(_),C=e(15558),f=e.n(C),u=e(75271),a=e(65173);function h(c){return Array.isArray(c)?c:[c]}function d(c,r){var s,l,m=f()(h((r==null||(s=r.fieldNames)===null||s===void 0?void 0:s.label)||["label"])),t=f()(h((r==null||(l=r.fieldNames)===null||l===void 0?void 0:l.value)||["value"])),i=(0,u.useMemo)(function(){for(var p=c||[];m.length>0||t.length>0;){if(Array.isArray(p)){p.forEach(function(v){o()(v)==="object"&&(v.label=(0,a.getDataByNamePath)(v,m),v.value=(0,a.getDataByNamePath)(v,t))});break}m.shift();var y=t.shift();y&&p!==void 0&&(p=p[y])}return r!=null&&r.defaultOptions?Array.isArray(r==null?void 0:r.defaultOptions)?r.defaultOptions.concat(p):[r.defaultOptions].concat(p):p},[c]);return i}},24887:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return M}});var _=e(90228),o=e.n(_),C=e(82092),f=e.n(C),u=e(15558),a=e.n(u),h=e(26068),d=e.n(h),c=e(87999),r=e.n(c),s=e(48305),l=e.n(s),m=e(13443),t=e(75271),i=e(94127),p=e(81475),y=e(65173),v=e(73799);function O(g,b,I){for(;b.length>0;){var D=b.shift();b.length>0?(g[D]||(g[D]={}),O(g[D],b,I)):g[D]=I}}function M(g){var b=g.auth,I=g.rowKey,D=g.pagination,x=g.emptyDefaultOne,R=g.fieldNames,E=g.onEvent,A=g.getFormValues,U=g.onFilterOrder,S=g.onRequestCustom,F=g.request,B=(0,t.useState)({total:0,dataSource:[],pageSize:10,current:1}),j=l()(B,2),N=j[0],k=j[1],K=(0,i.default)(),L=K.onAuth,H=(0,p.useProTableFields)(),W=(0,t.useMemo)(function(){return b?L&&L(b):!0},[b]),T=(0,m.Z)(function(){var z=r()(o()().mark(function X($){var w,q,Y,J,G,ie,ae,Q,te,ne,le,ue,oe,se,_e,ce,he,ve,Pe,Re,Ee,Oe,Le,Ie=arguments;return o()().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(w=Ie.length>1&&Ie[1]!==void 0?Ie[1]:1,q=Ie.length>2&&Ie[2]!==void 0?Ie[2]:(D?D.defaultPageSize:10)||10,Y=Ie.length>3?Ie[3]:void 0,!(!W||!F)){me.next=5;break}return me.abrupt("return");case 5:return me.next=7,A==null?void 0:A();case 7:if(me.t0=me.sent,me.t0){me.next=10;break}me.t0={};case 10:if(J=me.t0,G=d()(d()({},H),R),ie=G.requestParam||{},ae=ie.filters,Q=ae===void 0?["filters"]:ae,te=ie.pageNo,ne=te===void 0?["pageNo"]:te,le=ie.pageSize,ue=le===void 0?["pageSize"]:le,oe=ie.orderProps,se=oe===void 0?["orderProps"]:oe,_e=ie.query,ce={},_e&&_e.length>0?O(ce,a()(_e),J):ce=J,D!==!1&&(O(ce,a()(ne),w),O(ce,a()(ue),q)),he=(U==null?void 0:U())||{},ve=he.filters,Pe=he.orderProps,ve&&Object.keys(ve).length>0&&O(ce,a()(Q),ve),Pe&&Pe.length>0&&O(ce,a()(se),Pe),!S){me.next=22;break}return S($,ce.query||ce,Y),me.abrupt("return");case 22:return E==null||E($,{loading:!0,params:ce}),k(function(ye){return d()(d()({},ye),{},{loading:!0})}),me.next=26,F(ce);case 26:if(Re=me.sent,E==null||E($,{loading:!1,params:ce,data:Re}),!Re){me.next=38;break}if(Ee=(0,y.getDataByNamePath)(Re,G.dataSource),x&&Ee&&Ee.length===0&&Ee.push(f()({},I||"id","0")),Oe=(0,y.getDataByNamePath)(Re,G.total),!(Oe===void 0||Ee===void 0)){me.next=36;break}return Le={dataSource:Ee,pageSize:q,current:w,total:Oe,loading:!1},k(Le),me.abrupt("return");case 36:return!Ee.length&&w!==1?T(v.DataEvent.Reload,w-1):k({current:w,pageSize:q,loading:!1,dataSource:Ee,total:Oe||0}),me.abrupt("return");case 38:k(function(ye){return d()(d()({},ye),{},{loading:!1})});case 39:case"end":return me.stop()}},X)}));return function(X){return z.apply(this,arguments)}}()),Z=(0,m.Z)(function(z){k(z)});return{data:N,isAuth:W,onRequest:T,onChangeData:Z}}},1444:function(P,n,e){"use strict";e.r(n),e.d(n,{ModalConfirm:function(){return h}});var _=e(48305),o=e.n(_),C=e(46960),f=e(75271),u=e(94127),a=e(52676);function h(c){var r=c.modalRef,s=C.Z.useModal(),l=o()(s,2),m=l[0],t=l[1];return(0,f.useEffect)(function(){r.current=m},[]),(0,a.jsxs)(a.Fragment,{children:[" ",t]})}function d(c){var r=c.auth,s=c.children,l=(0,u.default)()||{},m=l.onAuth;return m&&r?m(r)?s:null:s}n.default=d},32375:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r}});var _=e(26068),o=e.n(_),C=e(67825),f=e.n(C),u=e(15574),a=e(75271),h=e(94127),d=e(52676),c=["auth","menus","children","onClick"];function r(s){var l=s.auth,m=s.menus,t=m===void 0?[]:m,i=s.children,p=s.onClick,y=f()(s,c),v=(0,h.default)()||{},O=v.onAuth,M=(0,a.useMemo)(function(){function b(I){var D=I.filter(function(x){if(!x.auth)return!0;var R=O&&O(x.auth);return!!R});return D.map(function(x){var R=Object.assign({},x);if(R.children){var E=b(R.children);R.children=E.length>0?E:null}return R}).filter(function(x){return x.children!==null})}return b(t)},[t.map(function(b){return b==null?void 0:b.key}).join(",")]),g=(0,a.useMemo)(function(){if(!l)return i;var b=O&&O(l);return b?i:(0,d.jsx)(d.Fragment,{})},[]);return M.filter(function(b){return b.type!=="divider"}).length?(0,d.jsx)(u.Z,o()(o()({},y),{},{menu:{items:M,onClick:p},children:g})):(0,d.jsx)(d.Fragment,{})}},75419:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return v}});var _=e(26068),o=e.n(_),C=e(67825),f=e.n(C),u=e(57499),a=e(887),h=e(8984),d=e(81465),c=e(18466),r=e(15574),s=e(75271),l=e(668),m=e(94127),t=e(52676),i=["auth","hidden"],p=["key","label","auth","confirm"],y=["key","label","disabled","auth","confirm"];function v(O){var M=O.size,g=O.isLink,b=O.showCount,I=O.moreIcon,D=O.moreText,x=O.items,R=x===void 0?[]:x,E=O.onClick,A=(0,m.default)()||{},U=A.onAuth,S=(0,s.useRef)(null),F=[];if(R.forEach(function(N){var k=N.auth,K=N.hidden,L=f()(N,i);U&&k&&!U(k)||K||F.push(L)}),!F||R.length===0)return null;var B=function(k){if(E){var K=R.find(function(H){return H.key===k});if(K&&K.confirm){var L;(L=S.current)===null||L===void 0||L.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",icon:(0,t.jsx)(u.Z,{}),centered:!0,content:K.confirm,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:function(){return E==null?void 0:E(k)}});return}E(k)}},j=F.splice(0,b||R.length);return g?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Z,{split:(0,t.jsx)(d.Z,{type:"vertical",style:{margin:0}}),children:j==null?void 0:j.map(function(N){var k=N.key,K=N.label,L=N.auth,H=N.confirm,W=f()(N,p);return(0,t.jsx)(c.ZP,o()(o()({style:{padding:0}},W),{},{size:M,type:"link",onClick:function(){return B(k)},children:K}),k)})}),F.length>0&&(0,t.jsx)(r.Z,{menu:{items:F,onClick:function(k){return B(k.key)}},children:(0,t.jsx)(c.ZP,{type:"link",icon:D?null:I||(0,t.jsx)(a.Z,{}),size:"small",children:D})}),R.find(function(N){return!!N.confirm})?(0,t.jsx)(l.ModalConfirm,{modalRef:S}):null]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Z,{wrap:!0,children:j==null?void 0:j.map(function(N,k){var K=N.key,L=N.label,H=N.disabled,W=N.auth,T=N.confirm,Z=f()(N,y);return k===j.length-1&&F.length>0?(0,t.jsxs)(h.Z.Compact,{children:[(0,t.jsx)(c.ZP,o()(o()({},Z),{},{size:M,onClick:function(){return B(K)},disabled:H,children:L})),(0,t.jsx)(r.Z,{menu:{items:F,onClick:function(X){return B(X.key)}},children:(0,t.jsx)(c.ZP,{icon:D?null:I||(0,t.jsx)(a.Z,{}),children:D})})]},K):(0,t.jsx)(c.ZP,o()(o()({},Z),{},{size:M,disabled:H,onClick:function(){return B(K)},children:L}),K)})}),R.find(function(N){return!!N.confirm})?(0,t.jsx)(l.ModalConfirm,{modalRef:S}):null]})}},668:function(P,n,e){"use strict";e.r(n),e.d(n,{ModalConfirm:function(){return y}});var _=e(26068),o=e.n(_),C=e(67825),f=e.n(C),u=e(48305),a=e.n(u),h=e(57499),d=e(46960),c=e(18466),r=e(19152),s=e(75271),l=e(94127),m=e(32375),t=e(75419),i=e(52676),p=["auth","text","confirm","disabled","inputConfirm","onClick"];function y(O){var M=O.modalRef,g=d.Z.useModal(),b=a()(g,2),I=b[0],D=b[1];return(0,s.useEffect)(function(){M.current=I},[]),(0,i.jsxs)(i.Fragment,{children:[" ",D]})}function v(O){var M=O.auth,g=O.text,b=O.confirm,I=O.disabled,D=O.inputConfirm,x=O.onClick,R=f()(O,p),E=(0,l.default)()||{},A=E.onAuth,U=(0,s.useRef)(null),S=(0,s.useRef)(null),F=(0,i.jsxs)(c.ZP,o()(o()({},R),{},{onClick:function(N){if(x){if(b){var k;(k=U.current)===null||k===void 0||k.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",icon:(0,i.jsx)(h.Z,{}),centered:!0,content:(0,i.jsxs)(i.Fragment,{children:[b,D&&(0,i.jsx)(r.Z,{ref:S,placeholder:"\u8BF7\u8F93\u5165",style:{marginTop:5},onFocus:function(){var L=document.getElementById("_inputConfirmError");L&&(L.innerHTML="")}})]}),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:function(){if(D)return new Promise(function(L,H){var W;if(((W=S.current)===null||W===void 0||(W=W.input)===null||W===void 0?void 0:W.value)===D)x(N),L(!0);else{var T=document.getElementById("_inputConfirmError");if(T)T.innerHTML="\u8F93\u5165\u9A8C\u8BC1\u5931\u8D25\uFF01";else{var Z;(Z=S.current)===null||Z===void 0||(Z=Z.input)===null||Z===void 0||(Z=Z.parentElement)===null||Z===void 0||Z.insertAdjacentHTML("beforeend",'<span id="_inputConfirmError" style="color:red">\u8F93\u5165\u9A8C\u8BC1\u5931\u8D25\uFF01</span>')}H(!1)}});x(N)}});return}x(N)}},disabled:I,children:[g,R.children]}));if(!M)return(0,i.jsxs)(i.Fragment,{children:[F,b?(0,i.jsx)(y,{modalRef:U}):null]});var B=A&&A(M);return(0,i.jsxs)(i.Fragment,{children:[B?F:(0,i.jsx)(i.Fragment,{}),b?(0,i.jsx)(y,{modalRef:U}):null]})}v.Group=t.default,v.Dropdown=m.default,n.default=v},97681:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return g}});var _=e(26068),o=e.n(_),C=e(90228),f=e.n(C),u=e(87999),a=e.n(u),h=e(67825),d=e.n(h),c=e(15558),r=e.n(c),s=e(11048),l=e(11066),m=e(75271),t=e(65173),i=e(52676),p=["request","cache","fieldNames","defaultParams"];function y(b){return Array.isArray(b)?b:[b]}function v(){for(var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=arguments.length>1?arguments[1]:void 0,D=arguments.length>2?arguments[2]:void 0,x=arguments.length>3?arguments[3]:void 0,R=b,E=r()(I),A=r()(D),U=r()(x);E.length>0||A.length>0;){if(Array.isArray(R)){R.forEach(function(F){F.label=(0,t.getDataByNamePath)(F,E),F.value=(0,t.getDataByNamePath)(F,A),F.children=v((0,t.getDataByNamePath)(F,U),E,A,U)});break}E.shift(),U.shift();var S=A.shift();S&&(R=R[S])}return R}function O(b){var I=b.request,D=b.cache,x=b.fieldNames,R=b.defaultParams,E=R===void 0?{}:R,A=d()(b,p),U=r()(y((x==null?void 0:x.label)||["data","label"])),S=r()(y((x==null?void 0:x.value)||["data","value"])),F=r()(y((x==null?void 0:x.children)||["data","children"])),B=(0,s.Z)(function(){var L=a()(f()().mark(function H(W){var T;return f()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:if(I){z.next=2;break}return z.abrupt("return",[]);case 2:return z.next=4,I(W);case 4:return T=z.sent,z.abrupt("return",v(T,U,S,F));case 6:case"end":return z.stop()}},H)}));return function(H){return L.apply(this,arguments)}}(),o()({manual:!0},D||{})),j=B.loading,N=B.data,k=N===void 0?[]:N,K=B.run;return(0,m.useEffect)(function(){I&&K(E)},[JSON.stringify(E)]),(0,i.jsx)(l.Z,o()({options:k,loading:j,style:{width:"100%"}},A))}var M=function(){return(0,i.jsx)(i.Fragment,{})};M.Api=O;var g=M},16652:function(P,n,e){"use strict";e.r(n),e.d(n,{DataEvent:function(){return _.DataEvent}});var _=e(73799)},35030:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return v}});var _=e(26068),o=e.n(_),C=e(67825),f=e.n(C),u=e(48305),a=e.n(u),h=e(10077),d=e(60686),c=e(27947),r=e(81465),s=e(6052),l=e(91620),m=e(52676),t=["mode","children","onChange"];function i(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.presetPalettes;return Object.entries(O).map(function(M){var g=a()(M,2),b=g[0],I=g[1];return{label:b,colors:I,key:b}})}var p=i({blue:h.blue,red:h.red,green:h.green,cyan:h.cyan,orange:h.orange,magenta:h.magenta,gray:h.gray});p.forEach(function(O){O.colors=O.colors.slice(0,6)});function y(O){var M=O.mode,g=M===void 0?"single":M,b=O.children,I=O.onChange,D=f()(O,t),x=function(){var U=D.value;if(typeof U=="string")return U;if(Array.isArray(U))return"linear-gradient(".concat(U.map(function(S){return"".concat(S.color," ").concat(S.percent,"%")}).join(","),")")},R=function(U,S){var F=S.components,B=F.Picker,j=F.Presets;return(0,m.jsxs)(d.Z,{justify:"space-between",wrap:!1,style:{width:420},children:[(0,m.jsx)(c.Z,{span:12,children:(0,m.jsx)(j,{})}),(0,m.jsx)(r.Z,{type:"vertical",style:{height:"auto"}}),(0,m.jsxs)(c.Z,{flex:"auto",children:[(0,m.jsx)(B,{}),(0,m.jsx)("div",{style:{marginTop:10,color:"rgba(0,0,0,0.65)"},children:x()})]})]})},E=function(){if(!D.value)return(0,m.jsx)(s.default,{classNames:{popup:{root:"ccs-color-picker-select"}},placeholder:"\u8BF7\u9009\u62E9",popupRender:function(){return(0,m.jsx)(m.Fragment,{})}})};return(0,m.jsx)(l.Z,o()(o()({className:"ccs-color-picker",allowClear:!0,showText:!0,mode:g,onChange:function(U,S){if(I){var F=U.getColors();if(F.length>1){var B=F.map(function(j){return{color:j.color.toRgbString(),percent:j.percent}});I(B,S);return}if(F.length===1){I(U.toCssString(),S);return}}},onClear:function(){I&&I(void 0,"")},presets:p,panelRender:R},D),{},{children:b||E()}))}var v=y},88686:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return R},onDefaultFormat:function(){return D}});var _=e(26068),o=e.n(_),C=e(67825),f=e.n(C),u=e(48305),a=e.n(u),h=e(94129),d=e(8890),c=e(15771),r=e(46960),s=e(16929),l=e(96586),m=e(8033),t=e(34336),i=e(75271),p=e(56973),y=e(31939),v=e(35119),O=e(73801),M=e(52676),g=["theme","prefixCls"],b=["token","components"];function I(){var E=d.ZP.useMessage(),A=a()(E,2),U=A[0],S=A[1],F=c.ZP.useNotification(),B=a()(F,2),j=B[0],N=B[1],k=r.Z.useModal(),K=a()(k,2),L=K[0],H=K[1];return(0,i.useState)(function(){v.default.setConfig(U,j,L)}),(0,M.jsxs)(M.Fragment,{children:[S,N,H]})}function D(E){return E}function x(E){var A=E.children,U=E.theme,S=U===void 0?"light":U,F=E.isCompact,B=E.watermark,j=E.antConfig,N=E.fieldNames,k=i.useRef(null),K=S==="dark"?h.$_:h.uH,L=j||{},H=L.theme,W=L.prefixCls,T=W===void 0?"ant":W,Z=f()(L,g),z=H||{},X=z.token,$=z.components,w=f()(z,b),q=function(){var G=S==="dark"?[s.Z.darkAlgorithm]:[s.Z.defaultAlgorithm];return F&&G.push(s.Z.compactAlgorithm),G},Y=o()(o()({},K.token),X);return S==="dark"&&(Y.colorBgContainer="rgb(36, 37, 37)"),(0,M.jsx)(l.default,o()(o()({locale:t.default,prefixCls:T},Z),{},{theme:o()(o()(o()({},K),w),{},{token:Y,components:o()(o()({},K.components),$),algorithm:q()}),children:(0,M.jsxs)(p.AppConfigContext.Provider,{value:{theme:S,dialogHolderRef:k,fieldNames:N},children:[A,(0,M.jsx)(I,{}),(0,M.jsx)(y.DialogElementsHolder,{ref:k},"modal-drawer-holder"),(B==null?void 0:B.content)&&(0,M.jsx)(O.default,{content:B.content,fontColor:"rgba(0,0,0,.15)",zIndex:105})]})}))}function R(E){return(0,M.jsx)(m.Z,{style:{height:"100%"},children:(0,M.jsx)(x,o()({},E))})}},56973:function(P,n,e){"use strict";e.r(n),e.d(n,{AppConfigContext:function(){return u},DrawerAndModalContext:function(){return o},PageContext:function(){return C},TabsContext:function(){return f}});var _=e(75271),o=(0,_.createContext)({}),C=(0,_.createContext)({}),f=_.createContext({}),u=_.createContext({})},86247:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(67825),f=e.n(C),u=e(92167),a=e(17888),h=e.n(a),d=e(52676),c=["value","onChange"],r=["value","onChange"],s=[{label:"\u4ECA\u5929",value:[h()().startOf("day"),h()().endOf("day")]},{label:"\u6700\u8FD13\u5929",value:[h()().add(-3,"d"),h()()]},{label:"\u6700\u8FD17\u5929",value:[h()().add(-7,"d"),h()()]},{label:"\u6700\u8FD114\u5929",value:[h()().add(-14,"d"),h()()]},{label:"\u6700\u8FD130\u5929",value:[h()().add(-30,"d"),h()()]},{label:"\u6700\u8FD190\u5929",value:[h()().add(-90,"d"),h()()]}];function l(t){var i=t.value,p=t.onChange,y=f()(t,c),v=function(g,b){p&&p(b||void 0)},O=typeof i=="string"?h()(i):i;return(0,d.jsx)(u.default,o()({value:O,onChange:v},y))}function m(t){var i=t.value,p=t.onChange,y=f()(t,r),v=function(){if(Array.isArray(i)){var g=i[0]?h()(i[0]):void 0,b=i[1]?h()(i[1]):void 0;return[g,b]}return null},O=function(g,b){p&&p(b||void 0)};return(0,d.jsx)(u.default.RangePicker,o()({presets:y.picker==="date"||!y.picker?s:void 0,value:v(),onChange:O},y))}l.RangePicker=m,n.default=l},94350:function(P,n,e){"use strict";e.r(n);var _=e(90228),o=e.n(_),C=e(87999),f=e.n(C),u=e(67825),a=e.n(u),h=e(26068),d=e.n(h),c=e(48305),r=e.n(c),s=e(9228),l=e(82187),m=e.n(l),t=e(75271),i=e(85289),p=e(22818),y=e(45484),v=e(52653),O=e(24324),M=e(52676),g=["auth","form","content","extraBtn","className","rootStyle","getContainer","requestFieldNames","preventRequestHandle","contextParam","request","onClose","onOk"],b=function(D){var x=D.afterClose,R=D.config,E=D.dialogRef,A=(0,t.useState)(function(){return R.open===void 0?d()(d()({},R),{},{open:!0}):R}),U=r()(A,2),S=U[0],F=U[1],B=(0,t.useRef)(null),j=(0,t.useRef)(null),N=(0,t.useRef)(null);(0,i.useInsertCss)("dialog-drawer",function(le){return[".".concat(le,"-drawer .").concat(le,"-drawer-extra >.").concat(le,"-btn+.").concat(le,"-btn {margin-inline-start: 8px;}"),".ccs-dialog-drawer .".concat(le,"-drawer-footer{padding:0 !important;}")]});var k=function(){x()},K=S.auth,L=S.form,H=S.content,W=S.extraBtn,T=S.className,Z=S.rootStyle,z=S.getContainer,X=S.requestFieldNames,$=S.preventRequestHandle,w=S.contextParam,q=S.request,Y=S.onClose,J=S.onOk,G=a()(S,g),ie=function(){var le=f()(o()().mark(function ue(){return o()().wrap(function(se){for(;;)switch(se.prev=se.next){case 0:F(function(_e){return d()(d()({},_e),{},{open:!1})}),Y&&Y();case 2:case"end":return se.stop()}},ue)}));return function(){return le.apply(this,arguments)}}();(0,t.useImperativeHandle)(E,function(){return{destroy:ie,update:function(ue){F(function(oe){return d()(d()({},oe),ue)})}}});var ae=function(){var ue=document.body.querySelectorAll('[id*="_tab_content_"][data-display="true"]');if(ue.length>0)return ue[0]},Q="getContainer"in S,te=S.styles||{};te.mask=d()({background:"rgba(0, 0, 0, 0.1)"},te.mask);var ne=(0,t.useMemo)(function(){return(0,M.jsx)(p.DialogButtonHolder,{auth:K,request:q,onClose:ie,onOk:J,formRef:N,extraBtn:W,formInitialValues:L==null?void 0:L.initialValues,buttonRef:B,preventRequestHandle:$,requestFieldNames:X})},[]);return(0,M.jsx)(s.Z,d()(d()({afterOpenChange:function(ue){!ue&&R.destroyOnClose!==!1&&R.destroyOnHidden!==!1&&k()},extra:ne,footer:(0,M.jsx)(v.FooterButtonHolder,{buttonRef:j})},G),{},{onClose:ie,className:m()("ccs-dialog-drawer",T),styles:te,rootStyle:d()(d()({},Q?{}:{position:"absolute"}),Z),getContainer:Q?z:ae,children:(0,M.jsx)(y.DialogContentContext.Provider,{value:{formRef:N,buttonRef:B,contextParam:w,buttonType:"drawer",onOkCallBack:J,closeDialog:ie,request:q,drawerFooterRef:j,formInitialValues:(L==null?void 0:L.initialValues)||{}},children:L?(0,M.jsx)(O.default,{formRef:N,formProps:L,children:H}):H})}))};n.default=b},93261:function(P,n,e){"use strict";e.r(n);var _=e(90228),o=e.n(_),C=e(87999),f=e.n(C),u=e(67825),a=e.n(u),h=e(48305),d=e.n(h),c=e(26068),r=e.n(c),s=e(46960),l=e(82187),m=e.n(l),t=e(75271),i=e(79176),p=e.n(i),y=e(22818),v=e(45484),O=e(24324),M=e(52676),g=["auth","form","title","content","extraBtn","className","footer","contextParam","preventRequestHandle","requestFieldNames","onOk","request","onClose"],b=function(x){var R=x.modal,E=x.dragState,A=x.onDragState,U=(0,t.useRef)(null),S=function(B,j){var N,k=window.document.documentElement,K=k.clientWidth,L=k.clientHeight,H=(N=U.current)===null||N===void 0?void 0:N.getBoundingClientRect();H&&A(function(W){return r()(r()({},W),{},{bounds:{left:-H.left+j.x,right:K-(H.right-j.x),top:-H.top+j.y,bottom:L-(H.bottom-j.y)}})})};return(0,M.jsx)(p(),{nodeRef:U,disabled:E.disabled,bounds:E.bounds,onStart:S,children:(0,M.jsx)("div",{ref:U,children:R})})},I=function(x){var R=x.dialogRef,E=x.afterClose,A=x.config,U=(0,t.useState)(function(){return A.open===void 0?r()(r()({},A),{},{open:!0}):A}),S=d()(U,2),F=S[0],B=S[1],j=(0,t.useState)({disabled:!0,bounds:{left:0,top:0,bottom:0,right:0}}),N=d()(j,2),k=N[0],K=N[1],L=(0,t.useRef)(null),H=(0,t.useRef)(null),W=function(){var se;A.destroyOnClose!==!1&&A.destroyOnHidden!==!1&&E(),(se=F.afterClose)===null||se===void 0||se.call(F)},T=F.auth,Z=F.form,z=F.title,X=F.content,$=F.extraBtn,w=F.className,q=F.footer,Y=F.contextParam,J=F.preventRequestHandle,G=F.requestFieldNames,ie=F.onOk,ae=F.request,Q=F.onClose,te=a()(F,g),ne=function(){var oe=f()(o()().mark(function se(){return o()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:B(function(he){return r()(r()({},he),{},{open:!1})}),Q&&Q();case 2:case"end":return ce.stop()}},se)}));return function(){return oe.apply(this,arguments)}}();(0,t.useImperativeHandle)(R,function(){return{destroy:ne,update:function(se){B(function(_e){return r()(r()({},_e),se)})}}});var le=(0,t.useMemo)(function(){return(0,M.jsx)(y.DialogButtonHolder,{auth:T,request:ae,onClose:ne,onOk:ie,formRef:H,extraBtn:$,formInitialValues:Z==null?void 0:Z.initialValues,buttonRef:L,preventRequestHandle:J,requestFieldNames:G})},[]),ue=(0,M.jsx)("div",{style:{width:"100%",cursor:"move"},onMouseOver:function(){k.disabled&&K(function(se){return r()(r()({},se),{},{disabled:!1})})},onMouseOut:function(){K(function(se){return r()(r()({},se),{},{disabled:!0})})},children:z});return(0,M.jsx)(s.Z,r()(r()({onCancel:ne,afterClose:W},te),{},{className:m()("ccs-dialog-modal",w),footer:q===null?null:le,title:ue,modalRender:function(se){return(0,M.jsx)(b,{modal:se,dragState:k,onDragState:K})},children:(0,M.jsx)(v.DialogContentContext.Provider,{value:{formRef:H,buttonRef:L,contextParam:Y,buttonType:"modal",request:ae,onOkCallBack:ie,closeDialog:ne,formInitialValues:(Z==null?void 0:Z.initialValues)||{}},children:Z?(0,M.jsx)(O.default,{formRef:H,formProps:Z,children:X}):X})}))};n.default=I},22818:function(P,n,e){"use strict";e.r(n),e.d(n,{DialogButtonHolder:function(){return M},default:function(){return g}});var _=e(90228),o=e.n(_),C=e(26068),f=e.n(C),u=e(87999),a=e.n(u),h=e(31759),d=e.n(h),c=e(48305),r=e.n(c),s=e(68144),l=e(18466),m=e(80729),t=e(75271),i=e(50712),p=e(668),y=e(81475),v=e(65173),O=e(52676),M=function(I){var D=I.auth,x=I.extraBtn,R=I.formRef,E=I.request,A=I.onOk,U=I.onClose,S=I.buttonRef,F=I.requestFieldNames,B=I.formInitialValues,j=I.preventRequestHandle,N=(0,t.useState)(),k=r()(N,2),K=k[0],L=k[1],H=(0,t.useState)(!1),W=r()(H,2),T=W[0],Z=W[1],z=(0,y.useBaseFields)();(0,t.useImperativeHandle)(S,function(){return{onSetButtons:function(q){L(q)}}});var X=function(q,Y){if(A){var J=A(q,Y);if(typeof J=="boolean"&&J===!1)return;if(d()(J)==="object"&&J.then){Z(!0),J.then(function(G){Z(!1),G!==!1&&U()});return}U()}else U()},$=function(){var w=a()(o()().mark(function q(){var Y,J,G,ie;return o()().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:if(J={},G=(Y=R.current)===null||Y===void 0?void 0:Y.formInstance,!G){Q.next=7;break}return Q.next=5,G.validateFields();case 5:ie=Q.sent,J=f()(f()({},B),ie);case 7:if(!E){Q.next=11;break}return Z(!0),E(J).then(function(te){if(Z(!1),j){X(J,te);return}var ne=f()(f()({},z),F),le=(0,v.getDataByNamePath)(te,ne.success),ue=(0,v.getDataByNamePath)(te,ne.msg);le===ne.successTag&&X(J,te),i.default.easyMessage({success:le===ne.successTag,msg:ue})}).catch(function(te){Z(!1),console.log("err",te)}),Q.abrupt("return");case 11:X(J);case 12:case"end":return Q.stop()}},q)}));return function(){return w.apply(this,arguments)}}();return K?(0,O.jsxs)(O.Fragment,{children:[x,K]}):(0,O.jsxs)(O.Fragment,{children:[x,(0,O.jsx)(l.ZP,{onClick:U,children:"\u53D6\u6D88"}),(0,O.jsx)(p.default,{auth:D,type:"primary",loading:T,onClick:$,children:"\u786E\u5B9A"})]})};function g(b){var I=b.children,D=b.hideCancel,x=b.cancelText,R=b.onOk,E=b.okBtnProps,A=i.default.useInstance(),U=A.buttonRef,S=A.buttonType,F=A.formInitialValues,B=A.closeDialog,j=A.onOkCallBack,N=A.request,k=m.Z.useFormInstance();s.default.showWarning(!N,"\u4F7F\u7528\u4E86CcsDialog.Buttons\u81EA\u5B9A\u4E49\u6309\u94AE\u884C\u4E3A\uFF0Crequest\u8BF7\u6C42\u5C06\u4E0D\u4F1A\u6267\u884C\u3002");var K=function(){var H=a()(o()().mark(function W(){var T,Z,z;return o()().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(T={},!k){$.next=6;break}return $.next=4,k.validateFields();case 4:Z=$.sent,T=f()(f()({},F),Z);case 6:if(R){$.next=10;break}return B(),j==null||j(T),$.abrupt("return");case 10:if(z=R(T),z!==!1){$.next=13;break}return $.abrupt("return");case 13:if(!(d()(z)==="object"&&z.then)){$.next=16;break}return z.then(function(w){w!==!1&&(B(),j==null||j(w))}),$.abrupt("return");case 16:B(),j==null||j(z);case 18:case"end":return $.stop()}},W)}));return function(){return H.apply(this,arguments)}}(),L=s.default.mergeProps({type:"primary",text:"\u786E\u5B9A"},E);return(0,t.useEffect)(function(){var H,W=(0,O.jsxs)(O.Fragment,{children:[!D&&(0,O.jsx)(l.ZP,{onClick:B,children:x||"\u53D6\u6D88"}),I,(E||R)&&(0,O.jsx)(p.default,f()(f()({},L),{},{onClick:K}))]});S==="modal"&&(W=(0,O.jsx)(O.Fragment,{children:W})),(H=U.current)===null||H===void 0||H.onSetButtons(W)}),(0,O.jsx)(O.Fragment,{})}},45484:function(P,n,e){"use strict";e.r(n),e.d(n,{DialogContentContext:function(){return o},useDialogContext:function(){return C}});var _=e(75271),o=_.createContext({}),C=function(){var u=(0,_.useContext)(o);if(u===void 0)throw new Error("DialogContentContext not found");return u}},97764:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return h}});var _=e(50712),o=e(8984),C=e(18466),f=e(15574),u=e(52676),a=[{key:"bottom",label:"bottom"},{key:"left",label:"left"},{key:"top",label:"top"}];function h(){var d=_.default.useDialog(),c=d.openDrawer,r=d.openModal,s=function(){r({title:"Modal",content:(0,u.jsx)("div",{children:"CcsModal content..."}),footer:null})},l=function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"right";c({title:"Drawer",width:300,content:(0,u.jsx)("div",{children:"CcsDrawer content..."}),placement:p})},m=function(){c({title:"Drawer",content:(0,u.jsx)("div",{children:"CcsDrawer content..."}),width:"100%",height:"100%",getContainer:void 0})},t=function(p){l(p.key)};return(0,u.jsxs)(o.Z,{style:{padding:"0 16px"},children:[(0,u.jsx)(C.ZP,{onClick:s,children:"modal"}),(0,u.jsx)(f.Z.Button,{menu:{items:a,onClick:t},onClick:function(){return l()},children:"drawer"}),(0,u.jsx)(C.ZP,{onClick:m,children:"\u5168\u5C4Fdrawer"})]})}},38525:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return h}});var _=e(50712),o=e(6052),C=e(8984),f=e(18466),u=e(75271),a=e(52676);function h(){var d=_.default.useDialog(),c=d.openModal,r=d.openDrawer,s=(0,u.useRef)(),l=(0,u.useRef)();return(0,u.useEffect)(function(){s.current=c({title:"Modal",open:!1,destroyOnHidden:!1,width:300,content:(0,a.jsx)(o.default,{placeholder:"\u8BF7\u9009\u62E9",options:[{value:"jack",label:"Jack"},{value:"lucy",label:"Lucy"}]})}),l.current=r({title:"Modal",open:!1,destroyOnHidden:!1,width:300,content:(0,a.jsx)(o.default,{placeholder:"\u8BF7\u9009\u62E9",options:[{value:"jack",label:"Jack"},{value:"lucy",label:"Lucy"}]})})},[]),(0,a.jsxs)(C.Z,{style:{marginLeft:16},children:[(0,a.jsx)(f.ZP,{onClick:function(){var t;(t=s.current)===null||t===void 0||t.update({open:!0})},children:"modal"}),(0,a.jsx)(f.ZP,{onClick:function(){var t;(t=l.current)===null||t===void 0||t.update({open:!0})},children:"drawer"})]})}},80429:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return O}});var _=e(90228),o=e.n(_),C=e(87999),f=e.n(C),u=e(36075),a=e.n(u),h=e(50712),d=e(11048),c=e(80729),r=e(18466),s=e(19152),l=e(8984),m=e(99930),t=e(52676),i=c.Z.Item,p=function(g){return a()(g),new Promise(function(b){setTimeout(function(){b({success:!0,msg:"\u64CD\u4F5C\u5931\u8D25"})},500)})};function y(){var M=h.default.useInstance(),g=M.closeDialog,b=(0,d.Z)(p,{manual:!0}),I=b.runAsync,D=b.loading,x=(0,m.default)(),R=x.getFieldsValue,E=function(){var A=f()(o()().mark(function U(S){var F;return o()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.next=2,I(S);case 2:return F=j.sent,h.default.easyMessage({success:F.success,msg:F.msg}),j.abrupt("return",F);case 5:case"end":return j.stop()}},U)}));return function(S){return A.apply(this,arguments)}}();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(h.default.Buttons,{onOk:E,okBtnProps:{loading:D,danger:!0,confirm:"\u786E\u5B9A\u4FDD\u5B58\uFF1F",text:"\u4FDD\u5B58"},children:[(0,t.jsx)(r.ZP,{onClick:function(){console.log("\u8868\u5355\u503C:",R())},children:"\u83B7\u53D6\u8868\u5355\u503C"}),(0,t.jsx)(r.ZP,{danger:!0,type:"dashed",onClick:g,children:"\u8FD4\u56DE"})]}),(0,t.jsx)(i,{label:"fieldA",name:"fieldA",children:(0,t.jsx)(s.Z,{})}),(0,t.jsx)(i,{label:"fieldB",name:"fieldB",children:(0,t.jsx)(s.Z,{})})]})}function v(){var M=h.default.useInstance(),g=M.formRef,b=M.closeDialog;function I(){return D.apply(this,arguments)}function D(){return D=f()(o()().mark(function x(){var R,E;return o()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,g==null||(R=g.current)===null||R===void 0||(R=R.formInstance)===null||R===void 0?void 0:R.validateFields();case 2:E=U.sent,console.log("values",E),b();case 5:case"end":return U.stop()}},x)})),D.apply(this,arguments)}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i,{label:"fieldA",name:"fieldA",children:(0,t.jsx)(s.Z,{})}),(0,t.jsx)(i,{label:"fieldB",name:"fieldB",children:(0,t.jsx)(s.Z,{})}),(0,t.jsx)(h.default.DrawerFooter,{children:(0,t.jsxs)(l.Z,{style:{padding:16},wrap:!0,children:[(0,t.jsx)(r.ZP,{type:"primary",children:"btn1"}),(0,t.jsx)(r.ZP,{type:"dashed",children:"btn1"}),(0,t.jsx)(r.ZP,{danger:!0,children:"btn2"}),(0,t.jsx)(r.ZP,{type:"link",children:"btn3"}),(0,t.jsx)(r.ZP,{children:"btn4"}),(0,t.jsx)(r.ZP,{children:"btn5"}),(0,t.jsx)(r.ZP,{children:"btn6"}),(0,t.jsx)(r.ZP,{children:"btn7"}),(0,t.jsx)(r.ZP,{children:"btn8"}),(0,t.jsx)(r.ZP,{onClick:function(){return b()},children:"\u53D6\u6D88"}),(0,t.jsx)(r.ZP,{onClick:I,type:"primary",children:"\u786E\u5B9A"})]})})]})}function O(){var M=h.default.useDialog(),g=M.openModal,b=M.openDrawer,I=function(){g({title:"Modal",form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16},style:{padding:10}},width:500,content:(0,t.jsx)(y,{}),styles:{body:{paddingBottom:0}},onOk:function(A){console.log("ok...",A)}})},D=function(){b({title:"Drawer",form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16}},width:500,content:(0,t.jsx)(y,{})})},x=function(){b({title:"Drawer",width:500,extra:void 0,form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16}},content:(0,t.jsx)(v,{})})};return(0,t.jsxs)(l.Z,{style:{padding:"0 16px"},children:[(0,t.jsx)(r.ZP,{onClick:I,children:"Modal custom form"}),(0,t.jsx)(r.ZP,{onClick:D,children:"Drawer custom form"}),(0,t.jsx)(r.ZP,{onClick:x,children:"Drawer \u591A\u6309\u94AE"})]})}},52653:function(P,n,e){"use strict";e.r(n),e.d(n,{FooterButtonHolder:function(){return a},default:function(){return h}});var _=e(48305),o=e.n(_),C=e(75271),f=e(50712),u=e(52676),a=function(c){var r=c.buttonRef,s=(0,C.useState)(),l=o()(s,2),m=l[0],t=l[1];return(0,C.useImperativeHandle)(r,function(){return{onSetButtons:function(p){t(p)}}}),(0,u.jsx)(u.Fragment,{children:m})};function h(d){var c=d.children,r=f.default.useInstance(),s=r.drawerFooterRef;return(0,C.useEffect)(function(){var l,m=(0,u.jsx)(u.Fragment,{children:c});s==null||(l=s.current)===null||l===void 0||l.onSetButtons(m)}),null}},24324:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(48305),f=e.n(C),u=e(80729),a=e(75271),h=e(52676),d=function(r){var s=r.formRef,l=r.children,m=r.formProps,t=u.Z.useForm(),i=f()(t,1),p=i[0];(0,a.useImperativeHandle)(s,function(){return{formInstance:p}});var y=m.layout==="horizontal"||!m.layout,v=y?{labelCol:{span:7},wrapperCol:{span:16}}:void 0;return(0,h.jsx)(u.Z,o()(o()(o()({form:p,preserve:!1},v),m),{},{children:l}))};n.default=d},31939:function(P,n,e){"use strict";e.r(n),e.d(n,{DialogElementsHolder:function(){return p},default:function(){return M}});var _=e(15558),o=e.n(_),C=e(48305),f=e.n(C),u=e(68144),a=e(86763),h=e.n(a),d=e(75271),c=e(38751),r=e(94127),s=e(81475),l=e(94350),m=e(93261),t=e(3833),i=e(52676),p=d.memo(d.forwardRef(function(g,b){var I=(0,t.default)(),D=f()(I,2),x=D[0],R=D[1];return d.useImperativeHandle(b,function(){return{patchElement:R}},[]),(0,i.jsx)(i.Fragment,{children:x})})),y=0,v=0,O=[];function M(){var g=d.useRef(null),b=d.useState([]),I=f()(b,2),D=I[0],x=I[1],R=(0,s.default)()||{},E=(0,r.default)(),A=E.dialogHolderRef||R.dialogHolderRef;d.useEffect(function(){if(D.length){var B=o()(D);B.forEach(function(j){j()}),x([])}},[D]);var U=d.useCallback(function(B){y+=1;var j=d.createRef();console.log("config2",B);var N,k=(0,i.jsx)(m.default,{config:B,afterClose:function(){var Z;(Z=N)===null||Z===void 0||Z()},dialogRef:j},"modal-".concat(y)),K=g.current?g:A;if(K!=null&&K.current)N=K.current.patchElement(k);else{u.default.showWarning(!1,"\u672A\u4F7F\u7528CssAppConfig\u5168\u5C40\u914D\u7F6E\u3001\u4E5F\u672A\u5C06contextHolder\u63D2\u5165\u7EC4\u4EF6\u4E2D\uFF0C\u5C06\u65E0\u6CD5\u9002\u914Dantd\u4E3B\u9898\u914D\u7F6E\u548C\u83B7\u53D6context\u3002");var L=document.createElement("div");document.body.append(L);var H=(0,c.createRoot)(L);H.render((0,i.jsx)(i.Fragment,{children:k})),N=function(){setTimeout(function(){H.unmount()},500)}}N&&O.push(N);var W={destroy:function(){function Z(){var z;(z=j.current)===null||z===void 0||z.destroy()}j.current?Z():x(function(z){return[].concat(o()(z),[Z])})},update:function(Z){function z(){var X;(X=j.current)===null||X===void 0||X.update(Z)}j.current?z():x(function(X){return[].concat(o()(X),[z])})}};return W},[]),S=d.useCallback(function(B){v+=1;var j=d.createRef(),N,k=(0,i.jsx)(l.default,{config:B,afterClose:function(){var z;(z=N)===null||z===void 0||z()},dialogRef:j},"drawer-".concat(v)),K=g.current?g:A;if(K!=null&&K.current){var L;N=(L=K.current)===null||L===void 0?void 0:L.patchElement(k)}else{u.default.showWarning(!1,"\u672A\u4F7F\u7528CssAppConfig\u5168\u5C40\u914D\u7F6E\u3001\u4E5F\u672A\u5C06contextHolder\u63D2\u5165\u7EC4\u4EF6\u4E2D\uFF0C\u5C06\u65E0\u6CD5\u9002\u914Dantd\u4E3B\u9898\u914D\u7F6E\u548C\u83B7\u53D6context\u3002");var H=document.createElement("div");document.body.append(H);var W=(0,c.createRoot)(H);W.render((0,i.jsx)(i.Fragment,{children:k})),N=function(){setTimeout(function(){W.unmount()},500)}}N&&O.push(N);var T={destroy:function(){function z(){var X;(X=j.current)===null||X===void 0||X.destroy()}j.current?z():x(function(X){return[].concat(o()(X),[z])})},update:function(z){function X(){var $;($=j.current)===null||$===void 0||$.update(z)}j.current?X():x(function($){return[].concat(o()($),[X])})}};return T},[]),F=d.useMemo(function(){return{openModal:h()(function(B){return U(B)},500,{leading:!0,trailing:!1}),openDrawer:h()(function(B){return S(B)},500,{leading:!0,trailing:!1})}},[]);return{openDrawer:F.openDrawer,openModal:F.openModal,contextHolder:(0,i.jsx)(p,{ref:g},"modal-holder")}}},50712:function(P,n,e){"use strict";e.r(n);var _=e(35119),o=e(22818),C=e(45484),f=e(52653),u=e(31939),a=_.default;a.Buttons=o.default,a.useDialog=u.default,a.useInstance=C.useDialogContext,a.DrawerFooter=f.default,n.default=a},3833:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var _=e(15558),o=e.n(_),C=e(48305),f=e.n(C),u=e(75271);function a(){var h=u.useState([]),d=f()(h,2),c=d[0],r=d[1],s=u.useCallback(function(l){return r(function(m){return[].concat(o()(m),[l])}),function(){r(function(m){return m.filter(function(t){return t!==l})})}},[]);return[c,s]}},29175:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return m}});var _=e(26068),o=e.n(_),C=e(67825),f=e.n(C),u=e(93325),a=e(82187),h=e.n(a),d=e(81475),c=e(50796),r=e(83857),s=e(52676),l=["placeholder","height","variant","className","extensions","disabled","styles","size","theme"];function m(t){var i=t.placeholder,p=i===void 0?"\u8BF7\u8F93\u5165":i,y=t.height,v=y===void 0?150:y,O=t.variant,M=O===void 0?"outlined":O,g=t.className,b=t.extensions,I=b===void 0?[]:b,D=t.disabled,x=t.styles,R=t.size,E=R===void 0?"middle":R,A=t.theme,U=f()(t,l),S=(0,d.default)(),F=A||S.theme||"light",B=(0,c.default)({height:v,styles:x,variant:M,size:E}),j=B.styles.root,N=B.onActived;return(0,s.jsx)(u.default,o()(o()({onFocus:function(){return N(!0)},onBlur:function(){return N(!1)},style:j,readOnly:D,extensions:I,placeholder:p,theme:F},U),{},{className:h()("ccs-editor",g,{"ccs-editor-fill":M==="filled"&&F==="light"})}))}},81777:function(P,n,e){"use strict";e.r(n);var _=e(36075),o=e.n(_),C=e(51561),f=e(68240),u=e(80932),a=e(24605),h=e(39445),d=e(53056),c=e(52676);function r(s){return o()(s),(0,c.jsx)(c.Fragment,{})}r.Json=f.default,r.Js=C.default,r.Sql=a.default,r.Yaml=d.default,r.Xml=h.default,r.Rich=u.default,n.default=r},51561:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var _=e(26068),o=e.n(_),C=e(48496),f=e(29175),u=e(52676);function a(h){return(0,u.jsx)(f.default,o()(o()({},h),{},{extensions:[(0,C.javascript)({jsx:!0})]}))}},68240:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return c}});var _=e(26068),o=e.n(_),C=e(37441),f=e(8435),u=e(47107),a=e(29175),h=e(52676),d=(0,u.linter)(function(r){var s=[];return(0,f.syntaxTree)(r.state).cursor().iterate(function(l){l.name==="\u26A0"&&s.push({from:l.from,to:l.to,severity:"error",message:"JSON\u9519\u8BEF"})}),s});function c(r){return(0,h.jsx)(a.default,o()(o()({},r),{},{extensions:[(0,C.json)(),d]}))}},14635:function(P,n,e){"use strict";e.r(n),e.d(n,{EditorRichContext:function(){return y},default:function(){return v}});var _=e(26068),o=e.n(_),C=e(81475),f=e(50796),u=e(27741),a=e(13343),h=e(85600),d=e(7214),c=e(69157),r=e(69838),s=e(54249),l=e(75271),m=e(92523),t=e(86638),i=e(56062),p=e(52676),y=l.createContext({});function v(O){var M=O.disabled,g=O.height,b=g===void 0?150:g,I=O.styles,D=O.variant,x=D===void 0?"outlined":D,R=O.placeholder,E=R===void 0?"\u8BF7\u8F93\u5165":R,A=O.size,U=A===void 0?"middle":A,S=O.imageUpload,F=O.plugins,B=O.editorConfig,j=O.onChange,N=(0,C.default)(),k=N.theme||"light",K=(0,f.default)({height:b,styles:I,variant:x,size:U,theme:k}),L=K.styles,H=L.root,W=L.inner,T=L.toolbarStyles,Z=L.placeholderStyles,z=L.background,X=K.onActived;return(0,p.jsx)(y.Provider,{value:{imageUpload:S},children:(0,p.jsx)(u.LexicalComposer,{initialConfig:o()(o()({},B),{},{editable:!M,editorState:null}),children:(0,p.jsxs)("div",{className:"css-editor-rich",style:o()({background:z},H),children:[(0,p.jsx)(i.default,{disabled:M,style:T}),(0,p.jsxs)("div",{className:"editor-inner",style:W,children:[(0,p.jsx)(s.RichTextPlugin,{contentEditable:(0,p.jsx)(a.ContentEditable,{className:"editor-input","aria-placeholder":E,placeholder:(0,p.jsx)("div",{className:"editor-placeholder",style:Z,children:E}),onFocus:function(){return X(!0)},onBlur:function(){return X(!1)}}),ErrorBoundary:h.LexicalErrorBoundary}),(0,p.jsx)(r.OnChangePlugin,{onChange:j}),(0,p.jsx)(m.default,{}),(0,p.jsx)(d.HistoryPlugin,{}),(0,p.jsx)(c.LinkPlugin,{}),F]})]})})})}},24181:function(P,n,e){"use strict";e.r(n),e.d(n,{parseAllowedColor:function(){return f},parseAllowedFontSize:function(){return C}});var _=8,o=72,C=function(a){var h=a.match(/^(\d+(?:\.\d+)?)px$/);if(h){var d=Number(h[1]);if(d>=_&&d<=o)return a}return""};function f(u){return/^rgb\(\d+, \d+, \d+\)$/.test(u)?u:""}},67764:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r}});var _=e(48305),o=e.n(_),C=e(15409),f=e(89633),u=e(16929),a=e(19152),h=e(18466),d=e(75271),c=e(52676);function r(s){var l=s.onClose,m=s.onOk,t=s.code,i=(0,d.useState)(t),p=o()(i,2),y=p[0],v=p[1],O=u.Z.useToken(),M=O.token;return(0,c.jsx)("div",{className:"css-editor-code",style:{background:M.colorBgContainer},children:(0,c.jsxs)("div",{className:"css-editor-code-content",children:[(0,c.jsx)(a.Z.TextArea,{style:{height:"100%"},variant:"filled",value:y,onChange:function(b){return v(b.target.value)}}),(0,c.jsxs)("div",{className:"css-editor-code-btn",children:[(0,c.jsx)(h.ZP,{onClick:l,icon:(0,c.jsx)(C.Z,{}),size:"small",children:"\u8FD4\u56DE"}),(0,c.jsx)(h.ZP,{style:{marginLeft:10},icon:(0,c.jsx)(f.Z,{}),onClick:function(){return m(y)},size:"small",children:"\u4FDD\u5B58"})]})]})})}},56062:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return X}});var _=e(48305),o=e.n(_),C=e(2593),f=e(65351),u=e(52608),a=e(22668),h=e(82348),d=e(12335),c=e(37101),r=e(76371),s=e(91319),l=e(37535),m=e(32791),t=e(86346),i=e(23455),p=e(14875),y=e(24799),v=e(48666),O=e(63552),M=e(1775),g=e(34073),b=e(83346),I=e(20509),D=e(80729),x=e(46960),R=e(19152),E=e(54999),A=e(57439),U=e(18466),S=e(81465),F=e(6052),B=e(71794),j=e(75271),N=e(14635),k=e(32097),K=e(35030),L=e(85289),H=e(67764),W=e(6145),T=e(52676);function Z($){var w=$.onCancel,q=$.onOk,Y=D.Z.useForm(),J=o()(Y,1),G=J[0];function ie(){G.validateFields().then(function(ae){q(ae),w()})}return(0,T.jsx)(T.Fragment,{children:(0,T.jsx)(x.Z,{open:!0,destroyOnHidden:!0,onCancel:w,onOk:ie,children:(0,T.jsxs)(D.Z,{form:G,initialValues:{url:"http://",target:"_self"},layout:"horizontal",labelCol:{span:6},wrapperCol:{span:15},children:[(0,T.jsx)(D.Z.Item,{label:"url",name:"url",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5"}],children:(0,T.jsx)(R.Z,{})}),(0,T.jsx)(D.Z.Item,{label:"\u8BF4\u660E",name:"title",children:(0,T.jsx)(R.Z,{})}),(0,T.jsx)(D.Z.Item,{label:"\u7C7B\u578B",name:"target",children:(0,T.jsx)(E.ZP.Group,{optionType:"button",options:[{label:"\u5185\u90E8\u94FE\u63A5",value:"_self"},{label:"\u5916\u90E8\u94FE\u63A5",value:"_blank"}]})})]})})})}var z=[{label:"\u9ED8\u8BA4",value:"inherit"},{label:"\u5B8B\u4F53",value:"SimSun, serif"},{label:"\u9ED1\u4F53",value:"SimHei, sans-serif"},{label:"\u5FAE\u8F6F\u96C5\u9ED1",value:'"Microsoft YaHei", sans-serif'},{label:"Arial",value:"Arial, sans-serif"},{label:"Times New Roman",value:'"Times New Roman", serif'},{label:"Courier New",value:'"Courier New", monospace'},{label:"Georgia",value:"Georgia, serif"},{label:"Verdana",value:"Verdana, sans-serif"}];function X($){var w=$.style,q=$.disabled,Y=(0,g.useLexicalComposerContext)(),J=o()(Y,1),G=J[0],ie=(0,j.useContext)(N.EditorRichContext),ae=ie.imageUpload,Q=k.default.useComplexState({canUndo:!1,canRedo:!1,isBold:!1,isItalic:!1,isUnderline:!1,isStrikethrough:!1,isUpload:!1,isLinkOpen:!1,isLink:!1,fontSize:"14px",fontFamily:"inherit",fontColor:void 0,bgColor:void 0,codeEdit:""}),te=Q.state,ne=Q.setByPath,le=te.canRedo,ue=te.canUndo,oe=te.isBold,se=te.isItalic,_e=te.isUnderline,ce=te.isStrikethrough,he=te.isUpload,ve=te.isLinkOpen,Pe=te.isLink,Re=te.fontSize,Ee=te.fontFamily,Oe=te.fontColor,Le=te.bgColor,Ie=te.codeEdit,fe=(0,j.useCallback)(function(re){G.update(function(){var Ce=(0,B.$getSelection)();(0,B.$isRangeSelection)(Ce)&&(0,b.$patchStyleText)(Ce,re)})},[G]),me=(0,j.useCallback)(function(re){fe({"font-size":re}),ne("fontSize",re)},[fe]),ye=(0,j.useCallback)(function(re){fe({"font-family":re}),ne("fontFamily",re)},[fe]),Ae=(0,j.useCallback)(function(re){fe({color:re}),ne("fontColor",re)},[fe]),Be=(0,j.useCallback)(function(re){fe({"background-color":re}),ne("bgColor",re)},[fe]),Te=function(Ce){G.dispatchCommand(B.FORMAT_TEXT_COMMAND,Ce)},Se=function(Ce){G.dispatchCommand(B.FORMAT_ELEMENT_COMMAND,Ce)},Ne=[{label:12,value:"12px"},{label:14,value:"14px"},{label:16,value:"16px"},{label:18,value:"18px"},{label:20,value:"20px"},{label:24,value:"24px"},{label:28,value:"28px"},{label:38,value:"36px"},{label:48,value:"48px"},{label:72,value:"72px"}],V=(0,j.useCallback)(function(){var re=(0,B.$getSelection)();if((0,B.$isRangeSelection)(re)){ne({isBold:re.hasFormat("bold"),isItalic:re.hasFormat("italic"),isUnderline:re.hasFormat("underline"),isStrikethrough:re.hasFormat("strikethrough"),fontSize:(0,b.$getSelectionStyleValueForProperty)(re,"font-size","16px"),fontFamily:(0,b.$getSelectionStyleValueForProperty)(re,"font-family","inherit"),fontColor:(0,b.$getSelectionStyleValueForProperty)(re,"color","#000000"),bgColor:(0,b.$getSelectionStyleValueForProperty)(re,"background-color",void 0)});var Ce=re.anchor.getNode().getParent();ne("isLink",(0,M.$isLinkNode)(Ce))}},[]);(0,L.useInsertCss)("editor",function(re){return[".ccs-rich-upload .".concat(re,"-upload-wrapper.").concat(re,"-upload-picture-card-wrapper .").concat(re,"-upload.").concat(re,"-upload-select{width:200px;height:200px;}"),".ccs-rich-upload .".concat(re,"-upload-wrapper.").concat(re,"-upload-picture-card-wrapper .").concat(re,"-upload-list.").concat(re,"-upload-list-picture-card .").concat(re,"-upload-list-item-container{width:200px;height:200px;}")]}),(0,j.useEffect)(function(){return(0,I.mergeRegister)(G.registerUpdateListener(function(re){var Ce=re.editorState;Ce.read(function(){V()},{editor:G})}),G.registerCommand(B.SELECTION_CHANGE_COMMAND,function(re,Ce){return V(),!1},B.COMMAND_PRIORITY_LOW),G.registerCommand(B.CAN_UNDO_COMMAND,function(re){return ne("canUndo",re),!1},B.COMMAND_PRIORITY_LOW),G.registerCommand(B.CAN_REDO_COMMAND,function(re){return ne("canRedo",re),!1},B.COMMAND_PRIORITY_LOW))},[G,V]);var ee=function(Ce){G.dispatchCommand(M.TOGGLE_LINK_COMMAND,Ce)},de=(0,j.useCallback)(function(){Pe?G.dispatchCommand(M.TOGGLE_LINK_COMMAND,null):ne("isLinkOpen",!0)},[G,Pe]),pe=q,xe=function(Ce){G.update(function(){if(Ie!==Ce){var Fe=new DOMParser,We=Fe.parseFromString(Ce||"","text/html"),ke=(0,O.$generateNodesFromDOM)(G,We);(0,B.$getRoot)().clear(),(0,B.$getRoot)().select(),(0,B.$insertNodes)(ke)}ne("codeEdit","")})};return(0,T.jsxs)("div",{className:"ccs-editor-toolbar",style:w,children:[(0,T.jsx)(A.Z,{title:"\u64A4\u9500",children:(0,T.jsx)(U.ZP,{disabled:!ue||pe,onClick:function(){G.dispatchCommand(B.UNDO_COMMAND,void 0)},icon:(0,T.jsx)(C.Z,{}),type:"text"})}),(0,T.jsx)(A.Z,{title:"\u91CD\u505A",children:(0,T.jsx)(U.ZP,{disabled:!le||pe,onClick:function(){G.dispatchCommand(B.REDO_COMMAND,void 0)},icon:(0,T.jsx)(f.Z,{}),type:"text"})}),(0,T.jsx)(S.Z,{type:"vertical"}),(0,T.jsx)(A.Z,{title:"\u52A0\u7C97",children:(0,T.jsx)(U.ZP,{disabled:pe,onClick:function(){Te("bold")},icon:(0,T.jsx)(u.Z,{}),type:oe?"link":"text"})}),(0,T.jsx)(A.Z,{title:"\u659C\u4F53",children:(0,T.jsx)(U.ZP,{disabled:pe,onClick:function(){Te("italic")},icon:(0,T.jsx)(a.Z,{}),type:se?"link":"text"})}),(0,T.jsx)(A.Z,{title:"\u4E0B\u5212\u7EBF",children:(0,T.jsx)(U.ZP,{disabled:pe,onClick:function(){Te("underline")},icon:(0,T.jsx)(h.Z,{}),type:_e?"link":"text"})}),(0,T.jsx)(A.Z,{title:"\u5220\u9664\u7EBF",children:(0,T.jsx)(U.ZP,{disabled:pe,onClick:function(){Te("strikethrough")},icon:(0,T.jsx)(d.Z,{}),type:ce?"link":"text"})}),(0,T.jsx)(S.Z,{type:"vertical"}),(0,T.jsx)(A.Z,{title:"\u5DE6\u5BF9\u9F50",children:(0,T.jsx)(U.ZP,{disabled:pe,onClick:function(){Se("left")},icon:(0,T.jsx)(c.Z,{}),type:"text"})}),(0,T.jsx)(A.Z,{title:"\u4E2D\u95F4\u5BF9\u9F50",children:(0,T.jsx)(U.ZP,{disabled:pe,onClick:function(){Se("center")},icon:(0,T.jsx)(r.Z,{}),type:"text"})}),(0,T.jsx)(A.Z,{title:"\u53F3\u5BF9\u9F50",children:(0,T.jsx)(U.ZP,{disabled:pe,onClick:function(){Se("right")},icon:(0,T.jsx)(s.Z,{}),type:"text"})}),(0,T.jsx)(A.Z,{title:"\u4E24\u6BB5\u5BF9\u9F50",children:(0,T.jsx)(U.ZP,{disabled:pe,onClick:function(){Se("justify")},icon:(0,T.jsx)(l.Z,{}),type:"text"})}),(0,T.jsx)(A.Z,{title:"\u56FE\u7247\u4E0A\u4F20",children:(0,T.jsx)(U.ZP,{type:"text",disabled:pe,icon:(0,T.jsx)(m.Z,{}),onClick:function(){return ne("isUpload",!0)}})}),(0,T.jsx)(A.Z,{title:Pe?"\u53D6\u6D88\u8D85\u94FE\u63A5":"\u6DFB\u52A0\u8D85\u94FE\u63A5",children:(0,T.jsx)(U.ZP,{type:"text",icon:Pe?(0,T.jsx)(t.Z,{}):(0,T.jsx)(i.Z,{}),onClick:function(){return de()},disabled:pe})}),(0,T.jsx)(S.Z,{type:"vertical"}),(0,T.jsx)(K.default,{value:Oe,onChange:function(Ce){return Ae(Ce)},children:(0,T.jsx)(A.Z,{title:"\u5B57\u4F53\u989C\u8272",children:(0,T.jsx)(U.ZP,{disabled:pe,style:{color:Oe},icon:(0,T.jsx)(p.Z,{}),type:"text"})})}),(0,T.jsx)(K.default,{value:Le,onChange:function(Ce){return Be(Ce)},children:(0,T.jsx)(A.Z,{title:"\u80CC\u666F\u8272",children:(0,T.jsx)(U.ZP,{disabled:pe,style:{color:Le},icon:(0,T.jsx)(y.Z,{}),type:"text"})})}),(0,T.jsx)(S.Z,{type:"vertical"}),(0,T.jsx)(A.Z,{title:"\u5B57\u4F53",children:(0,T.jsx)(F.default,{value:Ee,options:z,variant:"filled",size:"small",onChange:ye,style:{marginRight:6,width:80},popupMatchSelectWidth:200})}),(0,T.jsx)(A.Z,{title:"\u5B57\u4F53\u5927\u5C0F",children:(0,T.jsx)(F.default,{value:Re,options:Ne,variant:"filled",size:"small",onChange:me})}),(0,T.jsx)(S.Z,{type:"vertical"}),(0,T.jsx)(U.ZP,{size:"small",type:"text",onClick:function(){G.read(function(){var Ce=(0,v.$onGenerateHTML)(G);ne("codeEdit",Ce)})},children:"\u6E90\u7801"}),(0,T.jsx)(U.ZP,{size:"small",type:"text",onClick:function(){G.read(function(){var Ce=(0,v.$onGenerateHTML)(G),Fe=window.open("about:blank","_blank");Fe==null||Fe.document.write("<!DOCTYPE html><html><head><title>\u65B0\u9875\u9762</title><style>p{margin:0};</style></head><body>".concat(Ce,"</body></html>")),Fe==null||Fe.document.close()})},children:"\u9884\u89C8"}),he&&(ae==null?void 0:ae.uploadRequest)&&(0,T.jsx)(W.default,{onCancel:function(){return ne("isUpload",!1)}}),ve&&(0,T.jsx)(Z,{onOk:ee,onCancel:function(){return ne("isLinkOpen",!1)}}),!!Ie&&(0,T.jsx)(H.default,{code:Ie,onOk:xe,onClose:function(){return ne("codeEdit","")}})]})}},6145:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return I}});var _=e(26068),o=e.n(_),C=e(90228),f=e.n(C),u=e(87999),a=e.n(u),h=e(48305),d=e.n(h),c=e(63766),r=e(34073),s=e(80729),l=e(46960),m=e(54999),t=e(19152),i=e(71794),p=e(75271),y=e(14635),v=e(80882),O=e(92523),M=e(83844),g=e(52676),b=function(x){return x?typeof x=="number"?x+"px":x.endsWith("px")||x.endsWith("%")?x:parseInt(x)+"px":"100%"};function I(D){var x=D.imageProps,R=x===void 0?{urlType:"url"}:x,E=D.onCancel,A=(0,r.useLexicalComposerContext)(),U=d()(A,1),S=U[0],F=(0,p.useContext)(y.EditorRichContext),B=F.imageUpload;function j(){return R.src?R.urlType==="url"?{base64:void 0,url:R.src}:{base64:R.src,url:void 0}:{}}var N=(0,p.useState)(j),k=d()(N,2),K=k[0],L=k[1],H=s.Z.useForm(),W=d()(H,1),T=W[0],Z=(0,p.useRef)(null),z=function(){var X=a()(f()().mark(function $(){var w,q,Y,J,G,ie;return f()().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:return Q.next=2,T.validateFields();case 2:if(w=Q.sent,q=w.urlType,Y=w.src,J=w.altText,G=w.height,ie=w.width,R.key===void 0){Q.next=8;break}return S.update(function(){var te=(0,i.$getNodeByKey)(R.key);te&&(0,M.$isImageNode)(te)&&te.updateData({altText:J,height:b(G),width:b(ie),urlType:q,src:Y})}),E(),Q.abrupt("return");case 8:S.dispatchCommand(O.INSERT_IMAGE_COMMAND,{altText:J||"",src:Y,width:b(ie),height:b(G)}),E();case 10:case"end":return Q.stop()}},$)}));return function(){return X.apply(this,arguments)}}();return(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(l.Z,{open:!0,title:"\u56FE\u7247\u4E0A\u4F20",onCancel:E,rootClassName:"ccs-rich-upload",onOk:z,width:550,children:(0,g.jsxs)("div",{style:{display:"flex",gap:16,justifyContent:"center"},children:[(0,g.jsxs)(s.Z,{form:T,labelCol:{span:8},layout:"horizontal",initialValues:R,children:[(0,g.jsx)(s.Z.Item,{name:"urlType",label:"\u52A0\u8F7D\u7C7B\u578B",style:{marginBottom:16},children:(0,g.jsx)(m.ZP.Group,{optionType:"button",options:[{label:"\u94FE\u63A5",value:"url"},{label:"BASE64",value:"base64"}]})}),(0,g.jsx)(c.Z.Item,{name:"src",label:"\u56FE\u7247\u94FE\u63A5",style:{marginBottom:16},simpleRule:"input",children:(0,g.jsx)(t.Z.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u94FE\u63A5"})}),(0,g.jsx)(s.Z.Item,{name:"altText",label:"\u56FE\u7247\u540D\u79F0",style:{marginBottom:16},children:(0,g.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u540D\u79F0"})}),(0,g.jsx)(s.Z.Item,{name:"width",label:"\u56FE\u7247\u5BBD\u5EA6",style:{marginBottom:16},children:(0,g.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u5BBD\u5EA6"})}),(0,g.jsx)(s.Z.Item,{name:"height",label:"\u56FE\u7247\u9AD8\u5EA6",style:{marginBottom:0},children:(0,g.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u9AD8\u5EA6"})}),(0,g.jsx)(s.Z.Item,{shouldUpdate:function($,w){return $.urlType!==w.urlType},children:function($){var w=$.getFieldValue,q=$.setFieldValue,Y=w("urlType"),J=w("src");return setTimeout(function(){if(Y==="base64"){if(K.base64===J)return null;q("src",K.base64)}if(Y==="url"){if(K.url===J)return null;q("src",K.url)}},1),null}})]}),(0,g.jsx)("div",{style:{flex:"0 0 200px"},children:(0,g.jsx)(v.default.Image,o()(o()({value:R.src},B),{},{onImageInfo:function($){var w="".concat((B==null?void 0:B.imageUrl)||"").concat($.url);L({base64:$.base64,url:w});var q=T.getFieldValue("urlType");T.setFieldValue("altText",$.name),T.setFieldValue("src",q==="url"?w:$.base64)},onChange:function($){$||(T.setFieldsValue({src:"",altText:"",width:"",height:""}),L({}))}}))}),(0,g.jsx)("img",{style:{position:"fixed",visibility:"hidden",top:0,left:0},onLoad:function(){var $,w;return T.setFieldsValue({width:"".concat(($=Z.current)===null||$===void 0?void 0:$.width,"px"),height:"".concat((w=Z.current)===null||w===void 0?void 0:w.height,"px")})},ref:Z,src:K.base64})]})})})}},40815:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var _=e(48305),o=e.n(_),C=e(75271),f=e(6145),u=e(52676);function a(h){var d=h.src,c=h.altText,r=h.nodeKey,s=h.width,l=h.height,m=(0,C.useState)(!1),t=o()(m,2),i=t[0],p=t[1],y=function(){p(!0)};return(0,u.jsxs)(u.Fragment,{children:[i&&(0,u.jsx)(f.default,{imageProps:{key:r,src:d,altText:c,width:s,height:l,urlType:d!=null&&d.startsWith("data:image")?"base64":"url"},onCancel:function(){return p(!1)}}),(0,u.jsx)("img",{style:{width:s,height:l},onClick:y,alt:c,src:d,draggable:"false"})]})}},83844:function(P,n,e){"use strict";e.r(n),e.d(n,{$createImageNode:function(){return v},$isImageNode:function(){return M},ImageNode:function(){return y}});var _=e(25298),o=e.n(_),C=e(17069),f=e.n(C),u=e(62657),a=e.n(u),h=e(21742),d=e.n(h),c=e(83136),r=e.n(c),s=e(82092),l=e.n(s),m=e(71794),t=e(75271),i=e(52676),p=t.lazy(function(){return Promise.resolve().then(e.bind(e,40815))}),y=function(g){d()(I,g);var b=r()(I);function I(D,x,R,E,A){var U;return o()(this,I),U=b.call(this,A),l()(a()(U),"__src",void 0),l()(a()(U),"__altText",void 0),l()(a()(U),"__width",void 0),l()(a()(U),"__height",void 0),U.__src=D,U.__altText=x,U.__width=R||"inherit",U.__height=E||"inherit",U}return f()(I,[{key:"exportJSON",value:function(){return{altText:this.__altText,height:this.__height,src:this.__src,width:this.__width,type:"image",version:1}}},{key:"exportDOM",value:function(){var x=document.createElement("img");return x.setAttribute("src",this.__src),x.setAttribute("alt",this.__altText),this.__width&&x.setAttribute("width",this.__width.toString()),this.__height&&x.setAttribute("height",this.__height.toString()),{element:x}}},{key:"createDOM",value:function(x){var R=document.createElement("span"),E=x.theme,A=E.image;return A!==void 0&&(R.className=A),R}},{key:"updateDOM",value:function(){return!1}},{key:"updateData",value:function(x){var R=this.getWritable();R.__width=x.width,R.__height=x.height,R.__src=x.src,R.__altText=x.altText}},{key:"decorate",value:function(){return(0,i.jsx)(t.Suspense,{fallback:null,children:(0,i.jsx)(p,{src:this.__src,altText:this.__altText,width:this.__width,height:this.__height,nodeKey:this.getKey()})})}}],[{key:"getType",value:function(){return"image"}},{key:"clone",value:function(x){return new I(x.__src,x.__altText,x.__width,x.__height,x.__key)}},{key:"importJSON",value:function(x){var R=x.altText,E=x.height,A=x.width,U=x.src;return new I(U,R,A,E)}},{key:"importDOM",value:function(){return{img:function(){return{conversion:O,priority:0}}}}}]),I}(m.DecoratorNode);function v(g){var b=g.altText,I=g.height,D=g.src,x=g.width;return new y(D,b,x,I)}function O(g){if(g instanceof HTMLImageElement){var b=g.alt,I=g.src,D=g.width,x=g.height,R=v({altText:b,height:x,src:I,width:D});return{node:R}}return null}function M(g){return g instanceof y}},92523:function(P,n,e){"use strict";e.r(n),e.d(n,{INSERT_IMAGE_COMMAND:function(){return h},UPDATE_IMAGE_COMMAND:function(){return d},default:function(){return c}});var _=e(48305),o=e.n(_),C=e(34073),f=e(71794),u=e(75271),a=e(83844),h=(0,f.createCommand)("INSERT_IMAGE_COMMAND"),d=(0,f.createCommand)("UPDATE_IMAGE_COMMAND");function c(){var r=(0,C.useLexicalComposerContext)(),s=o()(r,1),l=s[0];return(0,u.useEffect)(function(){l.registerCommand(h,function(m){var t=(0,a.$createImageNode)(m);return(0,f.$insertNodes)([t]),!0},f.COMMAND_PRIORITY_EDITOR)},[l]),null}},13273:function(P,n,e){"use strict";e.r(n);var _=e(48305),o=e.n(_),C=e(63552),f=e(34073),u=e(71794),a=e(75271),h=function(c){var r=c.value,s=(0,f.useLexicalComposerContext)(),l=o()(s,1),m=l[0];return(0,a.useEffect)(function(){m.update(function(){var t=(0,C.$generateHtmlFromNodes)(m,null);if(r!==t){var i=new DOMParser,p=i.parseFromString(r||"","text/html"),y=(0,C.$generateNodesFromDOM)(m,p);(0,u.$getRoot)().clear(),(0,u.$getRoot)().select(),(0,u.$insertNodes)(y)}})},[m,r]),null};n.default=h},48666:function(P,n,e){"use strict";e.r(n),e.d(n,{$onGenerateHTML:function(){return h}});var _=e(1775),o=e(5590),C=e(78608),f=e(71794),u=e(83844);function a(d){return d.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function h(d){var c="";function r(s){if((0,f.$isTextNode)(s)){var l=a(s.getTextContent());return s.hasFormat("bold")&&(l="<strong>".concat(l,"</strong>")),s.hasFormat("italic")&&(l="<em>".concat(l,"</em>")),s.hasFormat("underline")&&(l="<u>".concat(l,"</u>")),s.hasFormat("strikethrough")&&(l="<s>".concat(l,"</s>")),s.hasFormat("code")&&(l="<code>".concat(l,"</code>")),l}if((0,u.$isImageNode)(s)){var m=s.__width,t=s.__height,i=s.__altText,p=s.__src;return typeof m=="number"&&(m="".concat(m,"px")),typeof t=="number"&&(t="".concat(t,"px")),'<img src="'.concat(p,'" alt="').concat(i,'" width="').concat(m,'" height="').concat(t,'" />')}if((0,f.$isElementNode)(s)){var y,v=s.getChildren(),O=v.map(function(D){return r(D)}).join(""),M=((y=s.getFormatType)===null||y===void 0?void 0:y.call(s))||"",g=M?' style="text-align: '.concat(M,';"'):"";if((0,f.$isParagraphNode)(s))return"<p".concat(g,">").concat(O,`</p>
|
|
23
|
+
`);if((0,C.$isHeadingNode)(s)){var b=s.getTag();return"<".concat(b).concat(g,">").concat(O,"</").concat(b,`>
|
|
24
|
+
`)}if((0,C.$isQuoteNode)(s))return"<blockquote".concat(g,">").concat(O,`</blockquote>
|
|
25
|
+
`);if((0,o.$isListNode)(s)){var I=s.getListType()==="bullet"?"ul":"ol";return"<".concat(I,">").concat(O,"</").concat(I,`>
|
|
26
|
+
`)}return(0,o.$isListItemNode)(s)?"<li".concat(g,">").concat(O,`</li>
|
|
27
|
+
`):(0,_.$isLinkNode)(s)?'<a href="'.concat(s.__url,'""').concat(s.__target==="_blank"?' target="_blank"':"").concat(s.__title?' title="'.concat(s.__title,'"'):"",">").concat(O,"</a>"):s.getType()==="root"?O:"<div".concat(g,">").concat(O,`</div>
|
|
28
|
+
`)}return""}return d.getEditorState().read(function(){var s=(0,f.$getRoot)();c=r(s)}),c}},80932:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return R}});var _=e(67825),o=e.n(_),C=e(26068),f=e.n(C),u=e(48305),a=e.n(u),h=e(15558),d=e.n(h),c=e(1775),r=e(5590),s=e(78608),l=e(71794),m=e(14635),t=e(24181),i=e(83844),p=e(13273),y=e(48666),v=e(2978),O=e(52676),M=["value","onChange"],g=function(A,U){var S=U.exportDOM(A);if(S&&(0,l.isHTMLElement)(S.element))for(var F=0,B=[S.element].concat(d()(S.element.querySelectorAll("[style],[class]")));F<B.length;F++){var j=B[F];j.removeAttribute("class"),j.removeAttribute("style")}return S},b=new Map([[l.ParagraphNode,g],[l.TextNode,g]]),I=function(A){var U="",S=(0,t.parseAllowedFontSize)(A.style.fontSize),F=(0,t.parseAllowedColor)(A.style.backgroundColor),B=(0,t.parseAllowedColor)(A.style.color);return S!==""&&S!=="15px"&&(U+="font-size: ".concat(S,";")),F!==""&&F!=="rgb(255, 255, 255)"&&(U+="background-color: ".concat(F,";")),B!==""&&B!=="rgb(0, 0, 0)"&&(U+="color: ".concat(B,";")),U},D=function(){for(var A={},U=function(){var j=a()(F[S],2),N=j[0],k=j[1];A[N]=function(K){var L=k(K);return L?f()(f()({},L),{},{conversion:function(W){var T=L.conversion(W);if(T===null||T.forChild===void 0||T.after!==void 0||T.node!==null)return T;var Z=I(W);if(Z){var z=T.forChild;return f()(f()({},T),{},{forChild:function($,w){var q=z($,w);return(0,l.$isTextNode)(q)&&q.setStyle(q.getStyle()+Z),q}})}return T}}):null}},S=0,F=Object.entries(l.TextNode.importDOM()||{});S<F.length;S++)U();return A},x={html:{export:b,import:D()},namespace:"EditorRich",nodes:[l.ParagraphNode,l.TextNode,i.ImageNode,s.HeadingNode,s.QuoteNode,r.ListNode,r.ListItemNode,c.LinkNode],onError:function(A){throw A},theme:v.default};function R(E){var A=E.value,U=E.onChange,S=o()(E,M),F=function(j,N){j.read(function(){var k=(0,y.$onGenerateHTML)(N);return U==null?void 0:U(k)})};return(0,O.jsx)(m.default,f()(f()({editorConfig:x},S),{},{onChange:F,plugins:(0,O.jsx)(p.default,{value:A})}))}},2978:function(P,n,e){"use strict";e.r(n),n.default={code:"editor-code",heading:{h1:"editor-heading-h1",h2:"editor-heading-h2",h3:"editor-heading-h3",h4:"editor-heading-h4",h5:"editor-heading-h5"},image:"editor-image",link:"editor-link",list:{listitem:"editor-listitem",nested:{listitem:"editor-nested-listitem"},ol:"editor-list-ol",ul:"editor-list-ul"},paragraph:"editor-paragraph",placeholder:"editor-placeholder",quote:"editor-quote",text:{bold:"editor-text-bold",code:"editor-text-code",hashtag:"editor-text-hashtag",italic:"editor-text-italic",overflowed:"editor-text-overflowed",strikethrough:"editor-text-strikethrough",underline:"editor-text-underline",underlineStrikethrough:"editor-text-underlinetrikethrough"},ltr:"editor-ltr",rtl:"editor-rtl"}},24605:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var _=e(26068),o=e.n(_),C=e(34887),f=e(29175),u=e(52676);function a(h){return(0,u.jsx)(f.default,o()(o()({},h),{},{extensions:[(0,C.sql)()]}))}},39445:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var _=e(26068),o=e.n(_),C=e(8689),f=e(29175),u=e(52676);function a(h){return(0,u.jsx)(f.default,o()(o()({},h),{},{extensions:[(0,C.xml)()]}))}},53056:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var _=e(26068),o=e.n(_),C=e(24365),f=e(29175),u=e(52676);function a(h){return(0,u.jsx)(f.default,o()(o()({},h),{},{extensions:[(0,C.yaml)()]}))}},63766:function(P,n,e){"use strict";e.d(n,{Z:function(){return v}});var _=e(26068),o=e.n(_),C=e(48305),f=e.n(C),u=e(67825),a=e.n(u),h=e(19842),d=e(80729),c=e(75271),r=e(65173),s=e(52676),l=["mb","name","rules","children","simpleRule","isGroupName","showValidate","shouldUpdateNames","style"],m=function(M){var g=M.name,b=M.getFieldsValue,I=M.setFieldValue,D=M.getFieldValue,x=M.names,R=D(g);return(0,c.useEffect)(function(){var E=b(!0),A=[];if(x.forEach(function(S){A.push((0,r.getDataByNamePath)(E,S))}),A.filter(function(S){return S!==void 0}).length>0){I(g,A);return}var U=(0,r.getDataByNamePath)(E,g);Array.isArray(U)&&x.forEach(function(S,F){I(S,U[F])})},[]),(0,h.Z)(function(){setTimeout(function(){x.forEach(function(E,A){I(E,Array.isArray(R)?R[A]:void 0)})},1)},[R]),null};function t(O,M){var g=typeof M!="string"?"":M;return O==="select"?{required:!0,message:"\u8BF7\u9009\u62E9".concat(g)}:O==="input"?{required:!0,message:"\u8BF7\u8F93\u5165".concat(g)}:O==="email"?{required:!0,message:"".concat(g||"\u90AE\u7BB1","\u975E\u6CD5"),pattern:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/}:O==="phone"?{required:!0,message:"".concat(g||"\u7535\u8BDD\u53F7\u7801","\u975E\u6CD5"),pattern:/^1[3-9]\d{9}$/}:O==="idcard"?function(){return{validator:function(I,D){return(0,r.isValidCard)(D)?Promise.resolve():Promise.reject(new Error("".concat(g||"\u8EAB\u4EFD\u8BC1\u53F7\u7801","\u975E\u6CD5")))}}}:O==="url"?function(){return{validator:function(I,D){return(0,r.isUrl)(D)?Promise.resolve():Promise.reject(new Error("".concat(g||"URL","\u975E\u6CD5")))}}}:O instanceof RegExp?{required:!0,message:"".concat(g||"\u5185\u5BB9","\u975E\u6CD5"),pattern:O}:{required:!0}}function i(O){var M,g=O.mb,b=O.name,I=O.rules,D=O.children,x=O.simpleRule,R=O.isGroupName,E=O.showValidate,A=O.shouldUpdateNames,U=O.style,S=a()(O,l),F=R&&Array.isArray(b)&&b.length>0,B=(0,c.useState)(F?"_".concat(b==null||(M=b.join("And"))===null||M===void 0?void 0:M.replace(/[^a-zA-Z]/g,""),"_"):b),j=f()(B,1),N=j[0],k=(0,c.useMemo)(function(){var H=I||[];return x&&(Array.isArray(x)?x.forEach(function(W){return H.push(t(W,S.label))}):H.push(t(x,S.label))),H},[x,I]),K=(0,c.useMemo)(function(){var H={};return g!==void 0&&(H.marginBottom=g),o()(o()({},H),U)},[]),L=F?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.Z.Item,{noStyle:!0,shouldUpdate:function(W,T){return(0,r.getDataByNamePath)(W,N)!==(0,r.getDataByNamePath)(T,N)},children:function(W){var T=W.getFieldsValue,Z=W.setFieldValue,z=W.getFieldValue;return(0,s.jsx)(m,{getFieldsValue:T,setFieldValue:Z,getFieldValue:z,names:b,name:N})}}),b.map(function(H,W){return(0,s.jsx)(i,{noStyle:!0,name:H,hidden:!0},W)})]}):null;return A?(0,s.jsx)(d.Z.Item,{noStyle:!0,shouldUpdate:function(W,T){return Array.isArray(A)?A.some(function(Z){return(0,r.getDataByNamePath)(W,Z)!==(0,r.getDataByNamePath)(T,Z)}):!1},children:function(W){var T=A.map(function(Z){return W.getFieldValue(Z)});return E&&!E(T)?null:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(d.Z.Item,o()(o()({rules:k,name:N,style:K},S),{},{children:[c.isValidElement(D)&&c.cloneElement(D,{changes:T}),typeof D=="function"&&D(o()(o()({},W),{},{changes:T}))]})),L]})}}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.Z.Item,o()(o()({name:N,rules:k,style:K},S),{},{children:D})),L]})}var p=e(14894);function y(){return(0,s.jsx)(s.Fragment,{})}y.Item=i,y.List=p.default;var v=y},14894:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return D}});var _=e(26068),o=e.n(_),C=e(90228),f=e.n(C),u=e(87999),a=e.n(u),h=e(67825),d=e.n(h),c=e(84816),r=e(64341),s=e(17114),l=e(16929),m=e(80729),t=e(18466),i=e(82187),p=e.n(i),y=e(75271),v=e(59881),O=e.n(v),M=e(52676),g=["name","max","min","addBtn","label","isDrag","renderItem"],b=["key"],I=["className","style"];function D(x){var R=x.name,E=x.max,A=x.min,U=x.addBtn,S=U===void 0?"\u6DFB\u52A0\u9879":U,F=x.label,B=x.isDrag,j=x.renderItem,N=d()(x,g),k=l.Z.useToken(),K=k.token.colorTextDescription,L=(0,M.jsx)(m.Z.List,{name:R,rules:[{validator:function(){var H=a()(f()().mark(function T(Z,z){return f()().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(!(A!==void 0&&(!z||z.length<A))){$.next=2;break}return $.abrupt("return",Promise.reject(new Error("\u9009\u9879\u4E0D\u80FD\u5C11\u4E8E".concat(A,"\u4E2A"))));case 2:if(!(E!==void 0&&(!z||z.length>E))){$.next=4;break}return $.abrupt("return",Promise.reject(new Error("\u9009\u9879\u4E0D\u80FD\u5927\u4E8E".concat(E,"\u4E2A"))));case 4:case"end":return $.stop()}},T)}));function W(T,Z){return H.apply(this,arguments)}return W}()}],children:function(W,T,Z){var z=T.add,X=T.remove,$=T.move,w=Z.errors,q=W.map(function(Y){var J=Y.key,G=d()(Y,b);return(0,M.jsx)(y.Fragment,{children:j({remove:X,nameIndex:G.name,RemoveButtom:function(ae){return(0,M.jsx)(t.ZP,o()({onClick:function(){return X(G.name)},type:"text",icon:(0,M.jsx)(c.Z,{style:{color:K}})},ae))},DragButtom:function(ae){var Q=ae.className,te=ae.style,ne=d()(ae,I);return(0,M.jsx)(t.ZP,o()(o()({type:"text",icon:(0,M.jsx)(r.Z,{style:{color:K}})},ne),{},{className:p()("ccs-drag-handle-btn",Q),style:o()({cursor:"move"},te)}))}})},J)});return(0,M.jsxs)(M.Fragment,{children:[B?(0,M.jsx)(v.ReactSortable,{handle:".ccs-drag-handle-btn",list:W,onEnd:function(J){var G=J.oldIndex,ie=J.newIndex;G!==void 0&&ie!==void 0&&$(G,ie)},setList:function(){},animation:200,ghostClass:"ccs-form-drag-ghost",chosenClass:"ccs-form-drag-chosen",children:q}):q,y.isValidElement(S)?y.cloneElement(S,{onClick:function(){return z({})}}):(0,M.jsx)(t.ZP,{type:"dashed",onClick:function(){return z({})},icon:(0,M.jsx)(s.Z,{}),children:S}),(0,M.jsx)(m.Z.ErrorList,{errors:w})]})}});return F?(0,M.jsx)(m.Z.Item,o()(o()({label:F},N),{},{children:L})):L}},81475:function(P,n,e){"use strict";e.r(n),e.d(n,{useBaseFields:function(){return h},useProTableFields:function(){return a}});var _=e(26068),o=e.n(_),C=e(75271),f=e(56973),u=function(){var c=(0,C.useContext)(f.AppConfigContext);if(c===void 0)throw new Error("AppConfigContext not found \u672A\u5168\u5C40\u4F7F\u7528 CcsAppConfig");return c},a=function(){var c,r=(0,C.useContext)(f.AppConfigContext)||{};return o()({dataSource:["data","result"],total:["data","totalNum"],requestParam:{pageNo:["pageNo"],pageSize:["pageSize"],filters:["filters"],orderProps:["orderProps"],query:["query"]}},r==null||(c=r.fieldNames)===null||c===void 0?void 0:c.page)},h=function(){var c,r=(0,C.useContext)(f.AppConfigContext)||{};return o()({success:["success"],successTag:!0,msg:["msg"],data:["data"]},r==null||(c=r.fieldNames)===null||c===void 0?void 0:c.base)};n.default=u},50796:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return h}});var _=e(26068),o=e.n(_),C=e(48305),f=e.n(C),u=e(16929),a=e(75271);function h(d){var c=d.height,r=d.styles,s=d.variant,l=s===void 0?"outlined":s,m=d.size,t=m===void 0?"middle":m,i=d.theme,p=(0,a.useState)(!1),y=f()(p,2),v=y[0],O=y[1],M=u.Z.useToken(),g=M.token,b=(0,a.useMemo)(function(){var I,D,x,R,E,A,U,S,F={small:{paddingBlock:((I=g.Input)===null||I===void 0?void 0:I.paddingBlock)||0,paddingInline:((D=g.Input)===null||D===void 0?void 0:D.paddingInline)||7},middle:{paddingBlock:((x=g.Input)===null||x===void 0?void 0:x.paddingBlock)||4,paddingInline:((R=g.Input)===null||R===void 0?void 0:R.paddingInline)||11},large:{paddingBlock:((E=g.Input)===null||E===void 0?void 0:E.paddingBlock)||7,paddingInline:((A=g.Input)===null||A===void 0?void 0:A.paddingInline)||11}},B={overflow:"hidden",borderRadius:g.borderRadius,borderColor:v?((U=g.Input)===null||U===void 0?void 0:U.hoverBorderColor)||g.colorInfoHover:g.colorBorder,borderWidth:g.lineWidth,borderStyle:g.lineType,boxShadow:v?((S=g.Input)===null||S===void 0?void 0:S.activeShadow)||g.boxShadowTertiary:"none"};l==="filled"&&(B.background=g.colorFillTertiary,B.borderColor="transparent"),l==="borderless"&&(B.borderColor="transparent"),l==="underlined"&&(B.borderColor="transparent transparent ".concat(g.colorBorder," transparent"),B.borderRadius=0);var j={padding:"".concat(F[t].paddingBlock,"px ").concat(F[t].paddingInline,"px")};c&&(B.height=typeof c=="number"?"".concat(c,"px"):c,B.overflow="hidden");var N={borderBottom:"".concat(g.lineWidth,"px ").concat(g.lineType," ").concat(l==="outlined"?g.colorBorder:"transparent")},k={top:F[t].paddingBlock,left:F[t].paddingInline,color:g.colorTextPlaceholder};return{root:o()(o()({},B),r==null?void 0:r.root),inner:o()(o()({},j),r==null?void 0:r.inner),background:g.colorBgContainer,toolbarStyles:N,placeholderStyles:k}},[l,v,r,i]);return{styles:b,onActived:O}}},85289:function(P,n,e){"use strict";e.r(n),e.d(n,{useInsertCss:function(){return a}});var _=e(89486),o=e.n(_),C=e(75271),f=e(81475),u={};function a(h,d){var c=(0,f.default)()||{},r=c.antConfig,s=(r==null?void 0:r.prefixCls)||"ant";(0,C.useEffect)(function(){if(!u[h]){u[h]=!0;var l=d(s)||[];(0,_.insertCss)(l.join(""))}},[])}},31248:function(P,n,e){"use strict";e.r(n);var _=e(75271),o=function(f){var u=(0,_.useRef)(!1),a=function(){if(!u.current){for(var d=arguments.length,c=new Array(d),r=0;r<d;r++)c[r]=arguments[r];f(c),u.current=!0}};return a};n.default=o},94127:function(P,n,e){"use strict";e.r(n);var _=e(75271),o=e(56973),C=function(){var u=(0,_.useContext)(o.PageContext);if(u===void 0)throw new Error("PageContext not found");return u};n.default=C},70896:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return i}});var _=e(26068),o=e.n(_),C=e(48305),f=e.n(C),u=e(67825),a=e.n(u),h=e(31759),d=e.n(h),c=e(13443),r=e(19842),s=e(75271),l=["value","type","defaultRows","keyField","onChangeRows","onChange"];function m(p,y){var v=p!=null?p:[],O=y!=null?y:[];return Array.isArray(v)||(v=[v]),JSON.stringify(v)!==JSON.stringify(O)}function t(p,y){return p===void 0?p:Array.isArray(p)?p.map(function(v){return d()(v)==="object"?v[y]:v}):d()(p)==="object"?p[y]:[p]}function i(p){var y=p||{},v=y.value,O=y.type,M=O===void 0?"checkbox":O,g=y.defaultRows,b=y.keyField,I=b===void 0?"key":b,D=y.onChangeRows,x=y.onChange,R=a()(y,l),E=(0,s.useState)({}),A=f()(E,2),U=A[1],S=(0,s.useRef)({selectedRowKeys:t(v,I),selectedRows:g,info:{type:"none"}}),F=M==="checkbox",B=(0,c.Z)(function(){var k=S.current,K=k.selectedRowKeys,L=K===void 0?[]:K,H=k.selectedRows,W=H===void 0?[]:H;F?x==null||x(L,W):x==null||x(L[0],W[0]),D==null||D(W||[]),x||U({})});(0,s.useEffect)(function(){g&&!S.current.selectedRows&&(S.current.selectedRows=g,D&&D(g),U({}))},[g]),(0,r.Z)(function(){var k=t(v,I);if(m(k,S.current.selectedRowKeys)){var K,L=(K=S.current.selectedRows)===null||K===void 0?void 0:K.filter(function(){var H,W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(H=k||[])===null||H===void 0?void 0:H.includes(W[I])});S.current={selectedRowKeys:k===void 0&&F?[]:k,selectedRows:L,info:{type:"none"}},U({})}},[v]);var j=(0,c.Z)(function(k,K,L){S.current={selectedRowKeys:k,selectedRows:K,info:L},g&&g.length>0&&K.forEach(function(H,W){if(!H){var T=g.find(function(Z){return Z[I]===k[W]});T&&(K[W]=T)}}),B()}),N=(0,c.Z)(function(k){if(!k)S.current={selectedRowKeys:[],selectedRows:[],info:{type:"none"}};else{var K=S.current,L=K.selectedRowKeys,H=L===void 0?[]:L,W=K.selectedRows,T=W===void 0?[]:W,Z=T.filter(function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return X[I]!==k}),z=H.filter(function(X){return X!==k});S.current={selectedRowKeys:z,selectedRows:Z,info:{type:"none"}}}B()});return o()(o()(o()({},S.current),{},{onChange:j,onClear:N,type:M},R),{},{onClearByProTable:N})}},60136:function(P,n,e){"use strict";e.r(n);var _=e(75271),o=e(56973),C=function(){var u=(0,_.useContext)(o.TabsContext);if(u===void 0)throw new Error("TabsContext not found");return u};n.default=C},52892:function(P,n,e){"use strict";e.r(n);var _=e(75271),o=e(56973),C=function(){var u=(0,_.useContext)(o.DrawerAndModalContext);if(u===void 0)throw new Error("DrawerAndModalContext not found");return u};n.default=C},39203:function(P,n,e){"use strict";e.r(n),e.d(n,{CcsAjCaptcha:function(){return _.default},CcsAppConfig:function(){return h.default},CcsAtom:function(){return o.default},CcsAuth:function(){return C.default},CcsButton:function(){return f.default},CcsCascader:function(){return u.default},CcsColorPicker:function(){return a.default},CcsDatePicker:function(){return d.default},CcsDialog:function(){return c.default},CcsEditor:function(){return r.default},CcsForm:function(){return s.Z},CcsKeepAliveTabs:function(){return O.default},CcsPageLayout:function(){return v.default},CcsProTable:function(){return g.default},CcsProTabs:function(){return b.default},CcsResult:function(){return I.default},CcsSelect:function(){return D.default},CcsSinglePage:function(){return M.default},CcsStatusTag:function(){return x.default},CcsTable:function(){return R.Z},CcsTimePicker:function(){return E.default},CcsUpload:function(){return A.default},CcsWaterMark:function(){return U.default},useAppConfig:function(){return l.default},useCcsOnceEvent:function(){return m.default},useCcsPage:function(){return t.default},useCcsTabs:function(){return p.default},useCcsWindow:function(){return y.default},useTableSelection:function(){return i.default}});var _=e(12648),o=e(32097),C=e(1444),f=e(668),u=e(97681),a=e(35030),h=e(88686),d=e(86247),c=e(50712),r=e(81777),s=e(63766),l=e(81475),m=e(31248),t=e(94127),i=e(70896),p=e(60136),y=e(52892),v=e(60301),O=e(47797),M=e(88370),g=e(76098),b=e(32813),I=e(68296),D=e(94283),x=e(98708),R=e(73946),E=e(71973),A=e(80882),U=e(1130),S=e(16652);n.default=S},60301:function(P,n,e){"use strict";e.r(n),e.d(n,{classAtomPrefix:function(){return f},default:function(){return a}});var _=e(47797),o=e(88370),C=e(52676),f="ccs-atom",u=function(){return(0,C.jsx)(C.Fragment,{})};u.Multi=_.default,u.Single=o.default;var a=u},47797:function(P,n,e){"use strict";e.r(n),e.d(n,{findMenusByUrl:function(){return L}});var _=e(82092),o=e.n(_),C=e(26068),f=e.n(C),u=e(90228),a=e.n(u),h=e(87999),d=e.n(h),c=e(15558),r=e.n(c),s=e(31759),l=e.n(s),m=e(335),t=e.n(m),i=e(34443),p=e(68144),y=e(37208),v=e(19842),O=e(13443),M=e(15574),g=e(18466),b=e(50068),I=e(82187),D=e.n(I),x=e(85899),R=e.n(x),E=e(75271),A=e(5791),U=e(81475),S=e(68296),F=e(85289),B=e(46619),j=e(52676),N=[{key:"1",label:"\u5173\u95ED\u5176\u4ED6\u6807\u7B7E"},{key:"2",label:"\u5173\u95ED\u6240\u6709\u6807\u7B7E"}],k=[];function K(W,T){if(Array.isArray(W)){var Z=t()(W),z;try{for(Z.s();!(z=Z.n()).done;){var X=z.value,$=K(X,T);if($)return $}}catch(G){Z.e(G)}finally{Z.f()}}else if(l()(W)==="object"&&W!==null){if(W.key===T&&(!W.children||W.children.length===0))return W;if(W.children&&W.children.length>0){var w=t()(W.children),q;try{for(w.s();!(q=w.n()).done;){var Y=q.value,J=K(Y,T);if(J)return J}}catch(G){w.e(G)}finally{w.f()}}}return null}function L(W,T){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(Array.isArray(W)){var z=t()(W),X;try{for(z.s();!(X=z.n()).done;){var $=X.value,w=L($,T,Z);if(w)return w}}catch(Q){z.e(Q)}finally{z.f()}}else if(l()(W)==="object"&&W!==null){var q;if(W.url===T||(q=W.url)!==null&&q!==void 0&&q.includes("?")&&W.url.split("?")[0]===T)return[].concat(r()(Z),[W]);if(W.children&&W.children.length>0){var Y=[].concat(r()(Z),[W]),J=t()(W.children),G;try{for(J.s();!(G=J.n()).done;){var ie=G.value,ae=L(ie,T,Y);if(ae)return ae}}catch(Q){J.e(Q)}finally{J.f()}}}return null}function H(W){var T=W.maxLen,Z=T===void 0?10:T,z=W.appName,X=W.history,$=W.menuItems,w=$===void 0?[]:$,q=W.className,Y=(0,E.useRef)([]),J=(0,A.useLocation)(),G=J.pathname,ie=(0,A.useOutlet)(),ae=(0,y.Z)(),Q=(0,U.default)(),te=Q.theme,ne=te==="dark";(0,F.useInsertCss)("keep-alive",function(fe){return[".ccs-tabs-auto-height > .".concat(fe,`-tabs-content-holder,
|
|
29
|
+
.ccs-tabs-auto-height > .`).concat(fe,"-tabs-content-holder > .").concat(fe,`-tabs-content,
|
|
30
|
+
.ccs-tabs-auto-height > .`).concat(fe,"-tabs-content-holder > .").concat(fe,`-tabs-content > div,
|
|
31
|
+
.ccs-tabs-auto-height> .`).concat(fe,"-tabs-content-holder> .").concat(fe,"-tabs-content> div> .ccs-pl { height: 100%;}"),".ccs-keep-alive-nav .".concat(fe,"-tabs-tab {border: 0 !important;border-radius: 0 !important;}"),".ccs-keep-alive-nav .".concat(fe,"-tabs-tab-active {background-color: #f0f2f5 !important;}"),".ccs-keep-alive .dark .ccs-keep-alive-nav .".concat(fe,"-tabs-tab-active {background-color: #2b2c2c !important;} ")]}),Y.current.length>=Z&&(Y.current=Y.current.slice(1)),(0,v.Z)(function(){Y.current.forEach(function(fe){var me,ye=K(w,fe.menuKey);fe.urlAuthList=(ye==null||(me=ye.btnAuth)===null||me===void 0?void 0:me.map(function(Ae){return Ae.code}))||[]}),ae()},[w]);var le=(0,E.useMemo)(function(){var fe=L(w,G)||[],me=fe==null?void 0:fe.at(-1);setTimeout(function(){document.title="".concat((me==null?void 0:me.label)||(me==null?void 0:me.url)," - ").concat(z)},10);var ye=function(){var Be=d()(a()().mark(function Te(){var Se;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:if(k.length){V.next=7;break}return V.next=3,p.default.getStroage("_ROUTE_HISTORY");case 3:if(V.t0=V.sent,V.t0){V.next=6;break}V.t0=[];case 6:k=V.t0;case 7:Se=k.findIndex(function(ee){return ee.pathName===G}),Se>-1&&k.splice(Se,1),k.unshift({pathName:G,menuName:(me==null?void 0:me.label)||"",time:new Date}),p.default.setStroage("_ROUTE_HISTORY",k);case 11:case"end":return V.stop()}},Te)}));return function(){return Be.apply(this,arguments)}}();me&&ye();var Ae=fe.map(function(Be){return{key:Be.key,title:Be.label}});return Ae.unshift({key:"-1",title:"\u9996\u9875"}),f()(f()({},me),{},{breadcrumb:Ae})},[G]),ue=J.key,oe=Y.current.findIndex(function(fe){return fe.pageLocation.pathname===G});if(oe>-1){var se=Y.current[oe];se.pageLocation.search!==J.search||p.default.jsonStringify(se.pageLocation.state)!==p.default.jsonStringify(J.state)?Y.current=R()(Y.current,o()({},oe,{key:{$set:J.key},pageLocation:{$set:J}})):ue=se.pageLocation.key}else{var _e=le||{},ce=_e.btnAuth,he=ce===void 0?[]:ce,ve=_e.breadcrumb,Pe=ve===void 0?[]:ve,Re=le.key!==void 0;Y.current=R()(Y.current,{$push:[{key:J.key,label:(le==null?void 0:le.label)||"\u672A\u77E5",outlet:Re?ie:(0,j.jsx)(S.default.Page404,{}),urlAuthList:he.map(function(fe){return fe.code}),breadcrumb:Re?Pe:[],pageLocation:J,menuKey:(le==null?void 0:le.key)||""}]})}var Ee=(0,E.useCallback)(function(fe){var me=Y.current.find(function(Se){return Se.key===fe});if(me){var ye=me.pageLocation,Ae=ye.pathname,Be=ye.state,Te=ye.search;X.push("".concat(Ae).concat(Te),Be)}},[]),Oe=(0,O.Z)(function(fe){var me=Y.current.findIndex(function(Ae){return Ae.key===fe}),ye=Y.current[me];if(me>=0){if(Y.current=R()(Y.current,{$splice:[[me,1]]}),ye.key!==fe){ae();return}if(Y.current.length===0){X.push("/");return}if(me===Y.current.length){Ee(Y.current[me-1].key);return}Ee(Y.current[me].key)}}),Le=(0,E.useCallback)(function(fe){fe==="1"?(Y.current=Y.current.filter(function(me){return me.key===G}),ae()):(Y.current=[],X.push("/"))},[]),Ie=(0,j.jsx)(M.Z,{menu:{items:N,onClick:function(me){Le(me.key)}},placement:"bottomRight",children:(0,j.jsx)(g.ZP,{icon:(0,j.jsx)(i.Z,{}),type:"text"})});return(0,j.jsxs)("div",{className:D()(q,"ccs-keep-alive"),children:[(0,j.jsx)(b.Z,{id:"keep-alive-tabs",hideAdd:!0,size:"small",onChange:Ee,className:D()("ccs-keep-alive-tabs",o()({},"dark",ne)),activeKey:ue,type:"editable-card",onEdit:function(me){return Oe(me)},items:Y.current,tabBarExtraContent:Y.current.length>2?Ie:null,tabBarStyle:{margin:0},renderTabBar:function(me,ye){return(0,j.jsx)(ye,f()(f()({},me),{},{className:"ccs-keep-alive-nav"}))}}),Y.current.map(function(fe){var me=fe.key,ye=fe.urlAuthList,Ae=fe.outlet,Be=fe.breadcrumb,Te=fe.pageLocation;return(0,j.jsx)(B.default,{active:Te.pathname===G,location:Te,onDestroy:Oe,urlAuthList:ye,breadcrumb:Be,children:Ae},me)})]})}n.default=H},46619:function(P,n,e){"use strict";e.r(n);var _=e(74973),o=e(82187),C=e.n(o),f=e(75271),u=e(56973),a=e(31939),h=e(52676);function d(c){var r=c.children,s=c.active,l=c.urlAuthList,m=c.onDestroy,t=c.breadcrumb,i=c.location,p="_tab_content_".concat(i.key),y=(0,f.useRef)(null);return(0,h.jsx)(u.PageContext.Provider,{value:{id:p,dialogHolderRef:y,isActive:s,location:i,onDestroy:m,onAuth:function(O){return l.includes(O)}},children:(0,h.jsx)("div",{id:p,style:{display:s?"block":"none"},className:"ccs-tab-item","data-display":s,children:(0,h.jsxs)("div",{className:C()("ccs-layout-page",{"page-avtive":s}),children:[(0,h.jsx)("div",{className:"page-top"}),(0,h.jsx)(_.Z,{items:t,className:"ccs-breadcrumb"}),r,(0,h.jsx)(a.DialogElementsHolder,{ref:y},"modal-drawer-holder"),(0,h.jsx)("div",{className:"page-bottom"})]})})})}n.default=(0,f.memo)(d,function(c,r){return c.active===r.active&&c.urlAuthList.join(",")===r.urlAuthList.join(",")})},88370:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return s}});var _=e(75271),o=e(5791),C=e(68296),f=e(47797),u=e(74973),a=e(56973),h=e(31939),d=e(52676),c=(0,_.memo)(function(l){var m=(0,_.useRef)(l.location),t=l.children,i=l.urlAuthList,p=i===void 0?[]:i,y=l.breadcrumb,v=y===void 0?[]:y,O=(0,_.useRef)(null);return(0,d.jsx)(a.PageContext.Provider,{value:{id:"",isActive:!0,dialogHolderRef:O,location:m.current,onDestroy:function(){console.error("\u5355\u9875\u6A21\u5F0F\u4E0D\u652F\u6301")},onAuth:function(g){return p.includes(g)}},children:(0,d.jsxs)("div",{className:"ccs-layout-page single-page",children:[(0,d.jsx)("div",{className:"page-top"}),(0,d.jsx)(u.Z,{items:v,className:"ccs-breadcrumb",style:l.breadcrumbStyle}),t,(0,d.jsx)(h.DialogElementsHolder,{ref:O},"modal-drawer-holder"),(0,d.jsx)("div",{className:"page-bottom"})]})})});function r(l){var m=l.appName,t=l.menuItems,i=t===void 0?[]:t,p=l.breadcrumbStyle,y=l.children,v=(0,o.useLocation)(),O=v.pathname,M=(0,o.useOutlet)(),g=(0,_.useMemo)(function(){var b,I=(0,f.findMenusByUrl)(i,O)||[],D=I==null?void 0:I.at(-1);if(D){setTimeout(function(){document.title="".concat((D==null?void 0:D.label)||(D==null?void 0:D.url)," - ").concat(m)},10);var x=I.map(function(R){return{key:R.key,title:R.label}});return x.unshift({key:"-1",title:"\u9996\u9875"}),{auth:((b=D.btnAuth)===null||b===void 0?void 0:b.map(function(R){return R.code}))||[],breadcrumb:x,menu:D}}},[O,i]);return(0,d.jsx)(d.Fragment,{children:g!=null&&g.auth?(0,d.jsx)(c,{location:v,urlAuthList:g.auth,breadcrumb:g.breadcrumb,breadcrumbStyle:p,children:(0,d.jsxs)(d.Fragment,{children:[M,y]})}):(0,d.jsx)(C.default.Page404,{style:{flex:"auto"},subTitle:"\u9875\u9762\u4E0D\u5B58\u5728"})})}var s=r},3034:function(P,n,e){"use strict";e.r(n),e.d(n,{getAllChildrenId:function(){return u},getDataById:function(){return f},getShowDpends:function(){return h},isComponent:function(){return a},onTableInModalOrDrawer:function(){return o},onTableInTabItem:function(){return C}});var _=e(75271),o=function d(c,r){var s,l,m,t,i=c.parentNode;return i?(s=i.classList)!==null&&s!==void 0&&s.contains("ccs-drawer-content")||(l=i.classList)!==null&&l!==void 0&&l.contains("".concat(r,"-drawer-body"))?{getContainer:function(){return i},isInDialog:!0}:(m=i.classList)!==null&&m!==void 0&&m.contains("".concat(r,"-modal"))||(t=i.classList)!==null&&t!==void 0&&t.contains("".concat(r,"-drawer"))?{offsetHeader:0,isInDialog:!0}:d(i,r):!1},C=function d(c){var r,s=c.parentNode;return s?(r=s.classList)!==null&&r!==void 0&&r.contains("ccs-route-page")?{getContainer:function(){return c}}:d(s):!1},f=function d(c,r,s){if(Array.isArray(c))for(var l=0;l<c.length;l+=1){if(c[l][r]===s)return c[l];if(c[l].children){var m=d(c[l].children,r,s);if(m)return m}}},u=function d(c,r){return c.reduce(function(s,l){return s.push(l[r]),l.children&&Array.isArray(l.children)?s.concat(d(l.children,r)):s},[])},a=function(c,r){if(!_.isValidElement(c))return!1;var s=c==null?void 0:c.type;return typeof s=="string"?!1:(s==null?void 0:s.displayName)===r},h=function d(c,r,s){var l=r.showDepends;if(l){var m=c.filter(function(t){return l.some(function(i){return i&&i.name===t.name})})||[];return m.forEach(function(t){return t!=null&&t.showDepends?(t.showDepends.forEach(function(i){return s.push(i)}),d(c,t,s)):!1}),s}return s}},94238:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(90228),f=e.n(C),u=e(87999),a=e.n(u),h=e(67825),d=e.n(h),c=e(11048),r=e(6052),s=e(57898),l=e(52676),m=["onChange"],t=r.default.Option,i=function(y){var v=y.onChange,O=d()(y,m),M=function(R){v&&v(R)};console.log("restProps",O);var g=(0,c.Z)(a()(f()().mark(function x(){var R;return f()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,(0,s.queryParam1)();case 2:return R=A.sent,A.abrupt("return",R.data);case 4:case"end":return A.stop()}},x)}))),b=g.loading,I=g.data,D=I===void 0?[]:I;return(0,l.jsx)(r.default,o()(o()({},o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:M,loading:b},O)),{},{children:D.map(function(x){return(0,l.jsx)(t,{value:x.key,children:x.name},x.key)})}))};n.default=i},40011:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(90228),f=e.n(C),u=e(87999),a=e.n(u),h=e(67825),d=e.n(h),c=e(11048),r=e(6052),s=e(75271),l=e(57898),m=e(52676),t=["changes","onChange"],i=r.default.Option,p=function(v){var O=v.changes,M=O===void 0?[]:O,g=v.onChange,b=d()(v,t),I=function(B){g&&g(B)},D=M[0],x=(0,c.Z)(function(){var F=a()(f()().mark(function B(j){var N;return f()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,(0,l.queryParam2)(j);case 2:return N=K.sent,K.abrupt("return",N.data);case 4:case"end":return K.stop()}},B)}));return function(B){return F.apply(this,arguments)}}(),{manual:!0}),R=x.loading,E=x.data,A=E===void 0?[]:E,U=x.mutate,S=x.run;return(0,s.useEffect)(function(){A.length&&U([]),b.value&&g&&g(void 0),D&&S({param1:D})},[D]),(0,m.jsx)(r.default,o()(o()({},o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:I,loading:R,notFoundContent:D?"\u8BF7\u9009\u62E9":"\u8BF7\u9009\u62E9\u6761\u4EF61"},b)),{},{children:A.map(function(F){return(0,m.jsx)(i,{value:F.key,children:F.name},F.key)})}))};n.default=p},33765:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(90228),f=e.n(C),u=e(87999),a=e.n(u),h=e(67825),d=e.n(h),c=e(11048),r=e(6052),s=e(75271),l=e(57898),m=e(52676),t=["changes","onChange"],i=r.default.Option,p=function(v){var O=v.changes,M=O===void 0?[]:O,g=v.onChange,b=d()(v,t),I=function(B){g&&g(B)},D=M[0],x=(0,c.Z)(function(){var F=a()(f()().mark(function B(j){var N;return f()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,(0,l.queryParam3)(j);case 2:return N=K.sent,K.abrupt("return",N.data);case 4:case"end":return K.stop()}},B)}));return function(B){return F.apply(this,arguments)}}(),{manual:!0}),R=x.loading,E=x.data,A=E===void 0?[]:E,U=x.mutate,S=x.run;return(0,s.useEffect)(function(){A.length&&U([]),b.value&&g&&g(void 0),D&&S({param2:D})},[D]),(0,m.jsx)(r.default,o()(o()({},o()(o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:I,loading:R,notFoundContent:D?"\u8BF7\u9009\u62E9":"\u8BF7\u9009\u62E9\u6761\u4EF62"},b),{},{adad:{asdasda:1,abav:2}})),{},{children:A.map(function(F){return(0,m.jsx)(i,{value:F.key,children:F.name},F.key)})}))};n.default=p},57898:function(P,n,e){"use strict";e.r(n),e.d(n,{queryParam1:function(){return _},queryParam2:function(){return o},queryParam3:function(){return C}});var _=function(){return new Promise(function(u){setTimeout(function(){u({msg:"",success:!0,data:[{name:"\u91CD\u5E86",key:"1"},{name:"\u56DB\u5DDD",key:"2"},{name:"\u5317\u4EAC",key:"3"},{name:"\u4E0A\u6D77",key:"4"},{name:"\u5E7F\u5DDE",key:"5"}]})},1e3)})},o=function(u){return new Promise(function(a){console.log("param",u),setTimeout(function(){a({msg:"",success:!0,data:[{name:"\u533A\u53BF1",key:"1"},{name:"\u533A\u53BF2",key:"2"},{name:"\u533A\u53BF3",key:"3"},{name:"\u533A\u53BF4",key:"4"},{name:"\u533A\u53BF5",key:"5"}]})},1e3)})},C=function(u){return new Promise(function(a){console.log("param",u),setTimeout(function(){a({msg:"",success:!0,data:[{name:"\u57CE\u95471",key:"1"},{name:"\u57CE\u95472",key:"2"},{name:"\u57CE\u95473",key:"3"},{name:"\u57CE\u95474",key:"4"},{name:"\u57CE\u95475",key:"5"}]})},1e3)})}},3675:function(P,n,e){"use strict";e.r(n),e.d(n,{query:function(){return f},update:function(){return u}});var _={},o=[],C=function(h){for(var d=[],c=0;c<5;c+=1){var r="".concat(h,"-").concat(c);_[r]?d.push(_[r]):d.push({id:r,name:"\u540D\u79F0-".concat(r),parentId:h})}var s=o.filter(function(l){return l.parentId===h});return s&&s.forEach(function(l){var m="".concat(h,"-").concat(d.length);d.push({id:m,name:_[m]?_[m].name:l.name,parentId:h})}),d},f=function(h){return new Promise(function(d){setTimeout(function(){d({success:!0,data:C(h.parentId)})},1e3)})},u=function(h){return new Promise(function(d){h.id?_[h.id]=h:o.push(h),setTimeout(function(){d({msg:"",success:!0,data:""})},1e3)})}},96757:function(P,n,e){"use strict";e.r(n),e.d(n,{queryWorker:function(){return C}});var _=e(17888),o=e.n(_);function C(f){return console.log("\u8BF7\u6C42\u53C2\u6570\uFF1A",f),new Promise(function(u){setTimeout(function(){u({success:!0,msg:"",data:{pageNo:1,pageSize:10,hasNext:!1,totalNum:100,result:Array(f.pageSize).fill("").map(function(a,h){return{loginId:h,workerName:"workerName-".concat(h),loginCode:"-",orgName:"-",state:Math.round(Math.random()),mobile:"-",email:"-",sex:Math.round(Math.random()),birthday:o()().format("YYYY-MM-DD"),createTime:o()().format("YYYY-MM-DD HH:mm"),num:1}})}})},500)})}},61289:function(P,n,e){"use strict";e.r(n);var _=e(80729),o=e(19152),C=e(52676),f=_.Z.Item,u=function(){return(0,C.jsx)(C.Fragment,{children:(0,C.jsx)(f,{label:"\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u540D\u79F0"}],children:(0,C.jsx)(o.Z,{placeholder:"\u8BF7\u8F93\u5165"})})})};n.default=u},76098:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(27783),f=e(18237),u=e(10495),a=e(29909),h=e(52676),d=function(s){return(0,h.jsx)(a.default,o()({},s))},c=function(s){return(0,h.jsx)(a.default,o()({},s))};d.Tree=c,d.SelectionAlert=f.default,d.Summary=u.default,n.default=d},18237:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r}});var _=e(26068),o=e.n(_),C=e(38913),f=e(16929),u=e(8984),a=e(16254),h=e(18466),d=e(75271),c=e(52676);function r(s){var l=s.data,m=s.color,t=s.style,i=s.className,p=s.fieldNames,y=p===void 0?{key:"key",label:"label"}:p,v=s.onClear,O=f.Z.useToken(),M=O.token;if(!(!l||l.length===0)){var g="".concat(M.paddingSM,"px");return(0,c.jsxs)(u.Z,{size:4,wrap:!0,style:o()({padding:"0 ".concat(g," ").concat(g," ").concat(g)},t),className:i,children:[l.map(function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,c.jsx)(a.Z,{color:m,closable:!0,onClose:function(D){v(b[y.key]),D.preventDefault()},children:b[y.label||"name"]},b[y.key||"key"])}),l.length>1&&(0,c.jsx)(h.ZP,{size:"small",onClick:function(I){v(),I.preventDefault()},icon:(0,c.jsx)(C.Z,{}),danger:!0,type:"text",children:"\u6E05\u7A7A"})]})}}},10495:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return f}});var _=e(16708),o=e(52676),C=-1;function f(u){var a=u.data,h=a===void 0?{}:a,d=u.columns,c=u.hasRowSelection;C=-1;var r=function s(l){return l.map(function(m){return m.children&&m.children.length>0?s(m.children):(C+=1,(0,o.jsx)(_.Z.Summary.Cell,{index:0,children:h[m.dataIndex]},C))})};return c&&(C+=1),(0,o.jsx)(_.Z.Summary,{fixed:!0,children:(0,o.jsxs)(_.Z.Summary.Row,{children:[c&&(0,o.jsx)(_.Z.Summary.Cell,{index:C}),r(d)]})})}},29909:function(P,n,e){"use strict";e.r(n),e.d(n,{classPrefix:function(){return A}});var _=e(82092),o=e.n(_),C=e(31759),f=e.n(C),u=e(26068),a=e.n(u),h=e(48305),d=e.n(h),c=e(45186),r=e(19842),s=e(16929),l=e(37426),m=e(18466),t=e(12203),i=e(82187),p=e.n(i),y=e(75271),v=e(81475),O=e(32097),M=e(73799),g=e(24887),b=e(85289),I=e(73946),D=e(3034),x=e(27783),R=e(26707),E=e(52676),A="ccs-pl";function U(F){var B={filters:{},orderProps:[],columnOptions:[],columnShowKeys:[]};return F==null||F.forEach(function(j){j.dataIndex&&j.title&&B.columnOptions.push({label:j.title,value:j.dataIndex}),j.hidden!==!0&&j.dataIndex&&B.columnShowKeys.push(j.dataIndex),j.sorter&&j.defaultSortOrder!==void 0&&B.orderProps.push({prop:j.dataIndex,ascending:j.defaultSortOrder==="ascend"}),j.filters&&j.defaultFilteredValue!==void 0&&(B.filters[j.dataIndex]=j.defaultFilteredValue)}),B}var S=function(B){var j,N,k=B.init,K=B.auth,L=B.table,H=B.styles,W=H===void 0?{}:H,T=B.proRef,Z=B.toolbar,z=B.children,X=B.className,$=B.expandForm,w=B.formItems,q=w===void 0?[]:w,Y=B.leafNode,J=B.bordered,G=B.parentFieldName,ie=B.formInitValues,ae=ie===void 0?{}:ie,Q=B.onEvent,te=(0,y.useContext)(t.E_);(0,b.useInsertCss)("table",function(be){return[".ccs-pl .".concat(be,"-table-title {padding: 0 !important;} ")]});var ne=L||{},le=ne.requestParam,ue=le===void 0?{}:le,oe=ne.columns,se=ne.rowKey,_e=ne.request,ce=(0,y.useRef)(!1),he=(0,y.useMemo)(function(){return U(oe)},[]),ve=(0,y.useRef)(he),Pe=(0,y.useRef)(null),Re=(0,y.useRef)(null),Ee=(0,y.useRef)(),Oe=(0,y.useRef)(null),Le=(0,y.useRef)(null),Ie=(0,y.useState)((L==null?void 0:L.size)||"middle"),fe=d()(Ie,2),me=fe[0],ye=fe[1],Ae=(0,v.default)(),Be=Ae.theme,Te=s.Z.useToken(),Se=Te.token,Ne=(0,g.default)({auth:K,rowKey:se,pagination:L==null?void 0:L.pagination,fieldNames:(j=B.table)===null||j===void 0?void 0:j.fieldNames,emptyDefaultOne:L==null?void 0:L.emptyDefaultOne,onFilterOrder:function(){return ve.current},onEvent:Q,getFormValues:function(){var ge;return(ge=Oe.current)===null||ge===void 0?void 0:ge.getFormValues()},request:_e,onRequestCustom:G?function(){for(var be,ge=arguments.length,De=new Array(ge),Me=0;Me<ge;Me++)De[Me]=arguments[Me];return(be=Le.current)===null||be===void 0?void 0:be.onRequestTree.apply(be,De)}:void 0}),V=Ne.isAuth,ee=Ne.data,de=Ne.onRequest,pe=Ne.onChangeData,xe=function(ge){var De,Me,je=(0,D.getDataById)(ee.dataSource||[],se,ge);if(!je){de(M.DataEvent.Search);return}var Ue=(0,D.getAllChildrenId)(je.children||[],se);(De=Le.current)===null||De===void 0||De.onExpandKeys(Ue),(Me=Le.current)===null||Me===void 0||Me.onRequestTree(M.DataEvent.PartialReload,{},je)};(0,y.useEffect)(function(){var be=(0,D.onTableInModalOrDrawer)(Pe.current,te.getPrefixCls());if(be){ce.current=be,L!=null&&L.size||ye("small");return}var ge=(0,D.onTableInTabItem)(Pe.current);if(ge){ce.current=ge;return}},[]),(0,r.Z)(function(){ye((L==null?void 0:L.size)||"middle")},[L==null?void 0:L.size]),(0,y.useEffect)(function(){k!==!1&&_e&&de(M.DataEvent.InitSearch)},[Object.keys(ue||{}).toString(),Object.values(ue||{}).toString()]);var re=function(){de(M.DataEvent.Search)},Ce=function(){var ge,De,Me;L==null||(ge=L.rowSelection)===null||ge===void 0||(De=ge.onClearByProTable)===null||De===void 0||De.call(ge),(Me=Oe.current)===null||Me===void 0||Me.form.resetFields(),oe==null||oe.forEach(function(je){(je.filterDropdown||je.filters)&&(je.filteredValue=je.defaultFilteredValue||[]),je.sorter&&(je.sortOrder=je.defaultSortOrder)}),ve.current=he,de(M.DataEvent.Reset)},Fe=function(){var ge,De;L==null||(ge=L.rowSelection)===null||ge===void 0||(De=ge.onClearByProTable)===null||De===void 0||De.call(ge),de(M.DataEvent.Reload,ee.current,ee.pageSize)};(0,y.useImperativeHandle)(T,function(){var be;return{data:ee,getFormValues:(be=Oe.current)===null||be===void 0?void 0:be.getFormValues,onSearch:re,onReload:Fe,onPartialReload:function(De){xe(De)},onReset:Ce,onChangeData:pe}});var We=function(ge,De,Me){if(De&&(oe==null||oe.forEach(function(Ue){(Ue.filterDropdown||Ue.filters)&&(Ue.filteredValue=De[Ue.dataIndex])}),ve.current=a()(a()({},ve.current),{},{filters:De})),Me){oe==null||oe.forEach(function(Ue){if(Ue.sorter){if(Array.isArray(Me)){var ze=Me.find(function(Ye){return Ye.field===Ue.dataIndex});ze&&(Ue.sortOrder=ze==null?void 0:ze.order);return}if(Me.field===Ue.dataIndex){Ue.sortOrder=Me.order;return}Ue.sortOrder=void 0}});var je=[];Array.isArray(Me)?Me.forEach(function(Ue){je.push({prop:Ue.field,ascending:Ue.order==="ascend"})}):Me.order&&je.push({prop:Me.field,ascending:Me.order==="ascend"}),ve.current=a()(a()({},ve.current),{},{orderProps:je})}de(M.DataEvent.ChangePage,ge.current||0,ge.pageSize||10)},ke=function(){if(!L)return null;if(!V)return(0,E.jsx)(l.Z,{style:{margin:0,padding:"32px 0",color:"red",background:"#fff"},image:l.Z.PRESENTED_IMAGE_DEFAULT,description:"\u6CA1\u6709\u6570\u636E\u8BF7\u6C42\u6743\u9650"});if(f()(ce.current)==="object"&&"getContainer"in ce.current){var ge=ce.current.getContainer(),De=window.getComputedStyle(ge),Me=De.paddingTop;Me&&(ce.current=a()(a()({},ce.current),{},{offsetHeader:-parseInt(Me.replace("px",""))}))}return G?(0,E.jsx)(R.default,{data:ee,table:L,leafNode:Y,treeRef:Le,tableRef:Ee,tableContentRef:Pe,tableRowSize:me,sticky:ce.current||!0,parentFieldName:G,setData:pe,onEvent:Q}):(0,E.jsx)(I.Z,a()(a()({data:ee,tableRef:Ee,tableContentRef:Pe,onChange:We,sticky:ce.current||!0},L),{},{size:me,columns:oe,showSorterTooltip:!0,showNumber:B.showNumber,loading:L.loading||ee.loading||!1,onEvent:Q}))},Ze=(L==null||(N=L.scroll)===null||N===void 0?void 0:N.y)==="auto",$e=(0,y.useMemo)(function(){var be=W.root||{},ge=W.table||{};return ge.overflow="unset",J&&(be.border="1px solid ".concat(Se.colorBorderSecondary),be.borderRadius=4),Ze&&(be.overflow="hidden",be.height="100%",ge.overflow="hidden"),{root:be,table:ge}},[]),He=function(){var ge;if(Ze&&((ge=Pe.current)===null||ge===void 0?void 0:ge.clientHeight)!==0){var De;(De=Ee.current)===null||De===void 0||De.onFixedThead()}},Je=(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(O.default.FullScreen,{parentHtmlId:"ccs-pro-table"}),(0,E.jsx)(O.default.Checkbox,{style:{maxHeight:300},options:he.columnOptions,defaultCheckedKeys:he.columnShowKeys,popoverMode:{placement:"bottomRight",children:(0,E.jsx)(m.ZP,{type:"text",icon:(0,E.jsx)(c.Z,{})})},onChange:function(ge){var De,Me=he.columnShowKeys.filter(function(je){return!ge.includes(je)});(De=Ee.current)===null||De===void 0||De.onColumnFilter(Me)}})]}),Ge=L!=null&&L.hideOperation?(0,E.jsx)(O.default.Operation,{extraLeft:Z}):(0,E.jsx)(O.default.Operation,{extraLeft:Z,extraRight:Je,onChangeSize:function(ge){return ye(ge)},size:me,onReset:Ce,columns:oe,tableRef:Ee,style:{marginLeft:Z?0:8}});return(0,E.jsxs)(E.Fragment,{children:[Ze&&(0,E.jsx)(O.default.Resize,{targetRef:Pe,onResize:He}),(0,E.jsxs)("div",{id:"ccs-pro-table",className:p()(A,X,o()({},"dark-table",Be==="dark")),style:$e.root,ref:Re,children:[(0,E.jsx)(O.default.Title,{children:B.title}),(0,E.jsx)(O.default.Filter,{ref:Oe,extra:Z?void 0:Ge,formItems:q,expandForm:$,formInitValues:ae,formItemLabelWidth:B.formItemLabelWidth,onSearch:re,requestParam:L==null?void 0:L.requestParam}),Z&&Ge,(0,E.jsxs)("div",{className:"".concat(A,"-table-content"),style:$e.table,ref:Pe,children:[ke(),z]})]})]})};n.default=S},26707:function(P,n,e){"use strict";e.r(n);var _=e(90228),o=e.n(_),C=e(15558),f=e.n(C),u=e(87999),a=e.n(u),h=e(26068),d=e.n(h),c=e(48305),r=e.n(c),s=e(68144),l=e(75271),m=e(73946),t=e(73799),i=e(81475),p=e(65173),y=e(52676),v=function(M){var g=M.data,b=M.table,I=M.sticky,D=M.treeRef,x=M.tableRef,R=M.leafNode,E=M.tableRowSize,A=M.tableContentRef,U=M.parentFieldName,S=M.setData,F=M.onEvent,B=(0,l.useState)([]),j=r()(B,2),N=j[0],k=j[1],K=b,L=K.rowKey,H=K.expandable,W=K.columns,T=K.request,Z=(H==null?void 0:H.childrenColumnName)||"children",z=(0,i.useBaseFields)(),X=d()(d()({},z),M.fieldNames),$=function(){var Y=a()(o()().mark(function J(G){var ie,ae,Q,te,ne,le=arguments;return o()().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(ie=le.length>1&&le[1]!==void 0?le[1]:{},ae=le.length>2?le[2]:void 0,Q=ie,ae&&(Q[U]=ae[L]),F==null||F(G,{loading:!0,params:Q}),S(function(se){return d()(d()({},se),{},{loading:!0})}),oe.t0=T,!oe.t0){oe.next=11;break}return oe.next=10,T(Q);case 10:oe.t0=oe.sent;case 11:te=oe.t0,F==null||F(G,{loading:!0,params:Q,data:te}),te?(ne=(0,p.getDataByNamePath)(te,X.data),R&&ne&&Array.isArray(ne)&&ne.forEach(function(se){if(typeof R=="string"&&!se[R]){se.children=[];return}typeof R=="function"&&!R(se)&&(se.children=[])}),ae?(ae[Z]=ne,S(function(se){return d()(d()({},se),{},{dataSource:f()(se.dataSource||[]),loading:!1})})):(k([]),S({loading:!1,dataSource:ne}))):S(function(se){return d()(d()({},se),{},{loading:!1})});case 14:case"end":return oe.stop()}},J)}));return function(G){return Y.apply(this,arguments)}}();(0,l.useImperativeHandle)(D,function(){return{onRequestTree:$,onExpandKeys:function(J){k(N.filter(function(G){return!J.includes(G)}))}}});var w=function(J,G){if(!L||(L&&G[L])===void 0){s.default.showLogWarning("rowKey\u672A\u4F20\u5165\u6216\u4F20\u5165rowKey\u4E0D\u6B63\u786E");return}var ie=G[L];if(J){var ae;if(N.push(ie),((ae=G[Z])===null||ae===void 0?void 0:ae.length)>0)return;$(t.DataEvent.Expand,{},G)}else k(N.filter(function(Q){return Q!==ie}))},q=d()(d()({sticky:I},b),{},{onExpand:w,expandedRowKeys:N});return(0,y.jsx)(m.Z,d()(d()({data:g,tableRef:x,tableContentRef:A},q),{},{size:E,columns:W,showSorterTooltip:!0,loading:q.loading||g.loading||!1}))};n.default=v},32813:function(P,n,e){"use strict";e.r(n);var _=e(48305),o=e.n(_),C=e(68144),f=e(19842),u=e(16929),a=e(85899),h=e.n(a),d=e(75271),c=e(56973),r=e(52676),s=function(m){var t=m.children,i=(t==null?void 0:t.props)||{},p=i.items,y=p===void 0?[]:p,v=i.activeKey,O=i.defaultActiveKey,M=i.onChange,g=(0,d.useState)("ccs-tabs-".concat(C.default.getUUID(5))),b=o()(g,1),I=b[0],D=(0,d.useState)(function(){return{activeKey:O||(y[0]||{}).key,items:y||[],options:{}}}),x=o()(D,2),R=x[0],E=x[1];(0,f.Z)(function(){E(h()(R,{items:{$set:y}}))},[y==null?void 0:y.map(function(N){return N.key}).join(",")]);var A=u.Z.useToken(),U=A.token,S={items:R.items,className:"ccs-tabs",id:I,tabBarStyle:{margin:0,paddingLeft:16,backgroundColor:U.colorBgContainer}};v||(S.activeKey=R.activeKey,S.onChange=function(N){E(h()(R,{activeKey:{$set:N}})),M&&M(N)});var F=function(k){var K=k.activeKey,L=k.enableKeys,H=L===void 0?[]:L,W=k.disableKeys,T=W===void 0?[]:W,Z=k.options,z={};if(K&&(z.activeKey={$set:K},M&&M(K)),H.length||T.length){var X,$={};(X=R.items)===null||X===void 0||X.forEach(function(w,q){H.includes(w.key)?$[q]={disabled:{$set:!1}}:T.includes(w.key)&&($[q]={disabled:{$set:!0}})}),z.items=$}Z&&(z.options={$set:Z}),E(h()(R,z))},B=function(k){var K,L=k;typeof k=="string"&&(L=[k]);var H=[];(K=R.items)===null||K===void 0||K.forEach(function(W,T){L.includes(W.key)&&H.push([T,1])}),E(h()(R,{items:{$splice:H}}))},j=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],K=arguments.length>1?arguments[1]:void 0,L=Array.isArray(k),H={items:{$push:L?k:[k]}};K&&(H.activeKey={$set:K||R.activeKey}),E(h()(R,H))};return t?(0,r.jsx)(c.TabsContext.Provider,{value:{tabsId:I,activeKey:R.activeKey,options:R.options,onTabChange:F,onRemoveTabs:B,onAddTabs:j},children:(0,d.cloneElement)(t,S)}):(0,r.jsx)(r.Fragment,{})};n.default=s},68296:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(28344),f=e(52676),u=function(t){return(0,f.jsx)(C.ZP,o()({},t))},a=function(t){return(0,f.jsx)(u,o()(o()({title:"\u64CD\u4F5C\u6210\u529F"},t),{},{status:"success"}))},h=function(t){return(0,f.jsx)(u,o()(o()({title:"\u64CD\u4F5C\u8BE6\u60C5"},t),{},{status:"info"}))},d=function(t){return(0,f.jsx)(u,o()(o()({title:"\u64CD\u4F5C\u63D0\u9192"},t),{},{status:"warning"}))},c=function(t){return(0,f.jsx)(u,o()(o()({title:"\u64CD\u4F5C\u5931\u8D25"},t),{},{status:"error"}))},r=function(t){return(0,f.jsx)(u,o()(o()({title:"403"},t),{},{status:"403"}))},s=function(t){return(0,f.jsx)(u,o()(o()({title:"404"},t),{},{status:"404"}))},l=function(t){return(0,f.jsx)(u,o()(o()({title:"500"},t),{},{status:"500"}))};u.Success=a,u.Info=h,u.Warning=d,u.Error=c,u.Page403=r,u.Page404=s,u.Page500=l,n.default=u},99696:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var _=e(26068),o=e.n(_),C=e(31759),f=e.n(C),u=e(48305),a=e.n(u),h=e(67825),d=e.n(h),c=e(79312),r=e(97022),s=e(6052),l=e(46960),m=e(75271),t=e(52676),i=["style","mode","modal","value","children","labelInValue","onChange"];function p(y){var v=y.style,O=y.mode,M=y.modal,g=y.value,b=y.children,I=y.labelInValue,D=y.onChange,x=d()(y,i),R=(0,m.useState)(!1),E=a()(R,2),A=E[0],U=E[1],S=function(){U(!0)},F=(0,m.useState)(void 0),B=a()(F,2),j=B[0],N=B[1],k=(0,m.useState)(!1),K=a()(k,2),L=K[0],H=K[1],W=(0,m.useState)(g),T=a()(W,2),Z=T[0],z=T[1],X=(0,m.useState)(void 0),$=a()(X,2),w=$[0],q=$[1],Y=function(te){te==null||te.stopPropagation(),U(!1)},J={value:Z,mode:O,onClose:Y,onLoading:H,onChangeLabel:N,onChange:function(te,ne){z(I?ne:te)},onChangeOptions:q},G=function(){D==null||D(Z),U(!1)},ie=function(){z(g),U(!1)},ae=function(){if(!(g===void 0||Array.isArray(g)&&g.length===0)){if(j)return j;if(Array.isArray(g))return g.map(function(ne){var le;return f()(ne)==="object"?ne[((le=x.fieldNames)===null||le===void 0?void 0:le.value)||"value"]:ne});if(f()(g)==="object"){var te;return g[((te=x.fieldNames)===null||te===void 0?void 0:te.value)||"value"]}return g}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,o()(o()({allowClear:!0,suffixIcon:L?(0,t.jsx)(c.Z,{}):(0,t.jsx)(r.Z,{}),open:!1,popupRender:function(){return(0,t.jsx)("div",{})},value:L?void 0:ae(),onClick:S,placeholder:"\u8BF7\u9009\u62E9"},x),{},{mode:j?void 0:O,style:v,options:w,onChange:function(te){z(te),D==null||D(te)}})),(0,t.jsx)(l.Z,o()(o()({open:A,onCancel:ie,styles:{body:{padding:0}},forceRender:!0,onOk:G},M),{},{children:b&&(typeof b=="function"?b(J):m.cloneElement(b,J))}))]})}},10436:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(67825),f=e.n(C),u=e(68144),a=e(94283),h=e(9369),d=e(52676),c=["request","cache","defaultParams"];function r(s){var l=s.request,m=s.cache,t=s.defaultParams,i=t===void 0?{}:t,p=f()(s,c),y=u.default.isFunction(l)?{service:l,defaultParams:i,cache:m}:l,v=(0,h.default)(y),O=v.loading,M=v.data,g=M===void 0?[]:M;return(0,d.jsx)(a.default,o()({options:g,loading:O},p))}n.default=r},49805:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(31759),f=e.n(C),u=e(48305),a=e.n(u),h=e(67825),d=e.n(h),c=e(79312),r=e(97022),s=e(6052),l=e(75271),m=e(52676),t=["value","mode","children","contentWidth","labelInValue","onChange"];function i(p){var y=p.value,v=p.mode,O=p.children,M=p.contentWidth,g=p.labelInValue,b=p.onChange,I=d()(p,t),D=(0,l.useState)("init"),x=a()(D,2),R=x[0],E=x[1],A=(0,l.useRef)(null),U=(0,l.useState)(void 0),S=a()(U,2),F=S[0],B=S[1],j=(0,l.useState)(!1),N=a()(j,2),k=N[0],K=N[1],L=(0,l.useState)(void 0),H=a()(L,2),W=H[0],T=H[1],Z=function(q){q==null||q.stopPropagation(),E(!1)},z={value:y,onClose:Z,onChange:function(q,Y){b==null||b(g?Y:q),v||E(!1)},onLoading:K,onChangeLabel:B,mode:v,onChangeOptions:T},X=(0,l.useMemo)(function(){return(0,m.jsx)("div",{style:{display:"none"},ref:A,children:O&&(typeof O=="function"?O(z):l.cloneElement(O,z))})},[y]);(0,l.useEffect)(function(){E(!1)},[]),(0,l.useEffect)(function(){R&&A.current&&A.current.style.display==="none"&&(A.current.style.display="block")},[R]);var $=function(){if(!(y===void 0||Array.isArray(y)&&y.length===0)){if(F)return F;if(Array.isArray(y))return y.map(function(Y){var J;return f()(Y)==="object"?Y[((J=I.fieldNames)===null||J===void 0?void 0:J.value)||"value"]:Y});if(f()(y)==="object"){var q;return y[((q=I.fieldNames)===null||q===void 0?void 0:q.value)||"value"]}return y}};return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.default,o()(o()({open:!!R,onOpenChange:E,allowClear:!0,defaultActiveFirstOption:!0,suffixIcon:k?(0,m.jsx)(c.Z,{}):(0,m.jsx)(r.Z,{}),placeholder:"\u8BF7\u9009\u62E9",classNames:{popup:{root:R==="init"?"ccs-select-custom-init":void 0}}},I),{},{popupMatchSelectWidth:M,popupRender:function(){return X},mode:F?void 0:v,value:k?void 0:$(),onChange:b,options:W}))})}n.default=i},61809:function(P,n,e){"use strict";e.r(n),e.d(n,{onRequest:function(){return _},onRequestDefault:function(){return o},onRequestList:function(){return f},onRequestPage:function(){return C}});function _(){return new Promise(function(u){setTimeout(function(){u({msg:"",success:!0,data:[{id:"1",name:"\u9009\u9879\u4E00"},{id:"2",name:"\u9009\u9879\u4E8C"},{id:"3",name:"\u9009\u9879\u4E09"}]})},1e3)})}function o(){return new Promise(function(u){setTimeout(function(){u([{value:"1",label:"\u9009\u9879\u4E00"},{value:"2",label:"\u9009\u9879\u4E8C"},{value:"3",label:"\u9009\u9879\u4E09"}])},1e3)})}function C(u){var a=u.pageNo;return new Promise(function(h){setTimeout(function(){h({data:{totalNum:20,result:Array(10).fill("").map(function(d,c){var r=(a-1)*10+c+1;return{id:r.toString(),name:"\u9009\u9879".concat(r)}})}})},1e3)})}function f(u){return new Promise(function(a){setTimeout(function(){a({data:Array.isArray(u)?u.map(function(h){return{id:h,name:"\u9009\u9879".concat(h)}}):[{id:u,name:"\u9009\u9879".concat(u)}]})},1500)})}},94283:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var _=e(26068),o=e.n(_),C=e(67825),f=e.n(C),u=e(6052),a=e(75271),h=e(73511),d=e.n(h),c=e(52668),r=e(99696),s=e(10436),l=e(49805),m=e(52676),t=["showAll","fieldNames","options","selectedRef"];function i(y){var v=y.showAll,O=y.fieldNames,M=y.options,g=M===void 0?[]:M,b=y.selectedRef,I=f()(y,t),D=function(E,A){var U="".concat(A==null?void 0:A.label).concat(A==null?void 0:A.value),S=d().convertToPinyin(U,"",!0).toLocaleUpperCase();return!!(U.includes(E)||S.includes(E.toLocaleUpperCase()))},x=(0,c.default)(g,{fieldNames:O,defaultOptions:v?typeof v=="boolean"?{label:"\u5168\u90E8",value:""}:v:void 0});return(0,a.useEffect)(function(){b&&I.value!==void 0&&(b.current=x.filter(function(R){var E;return(E=Array.isArray(I.value)?I.value:[I.value])===null||E===void 0?void 0:E.includes(R.value)}))},[x]),(0,m.jsx)(u.default,o()(o()({options:x,filterOption:D,placeholder:"\u8BF7\u9009\u62E9",allowClear:!0,showSearch:!0},I),{},{onChange:function(E,A){var U;b&&(b.current=A),(U=I.onChange)===null||U===void 0||U.call(I,E,A)}}))}i.Api=s.default,i.Customize=l.default,i.Modal=r.default;var p=i},98708:function(P,n,e){"use strict";e.r(n);var _=e(16254),o=e(60561),C=e(52676);function f(u){var a=u.value,h=u.options,d=h===void 0?[]:h;if(a===void 0||a==="")return a;var c=d.find(function(l){return l.value===a});if(!c)return a;var r=c.label,s=c.tag;return s&&s[0]==="tag"?(0,C.jsx)(_.Z,{color:s[1],children:r}):s&&s[0]==="badge"?(0,C.jsx)(o.Z,{status:s[1],text:r}):r}n.default=f},73946:function(P,n,e){"use strict";e.d(n,{Z:function(){return b}});var _=e(31759),o=e.n(_),C=e(26068),f=e.n(C),u=e(67825),a=e.n(u),h=e(37208),d=e(37401),c=e(16929),r=e(16708),s=e(12203),l=e(75271),m=e(2369),t=e(32097),i=e(73799),p=e(60136),y=e(52676),v=["onResize","width"],O=["data","style","scroll","rowKey","columns","tableRef","pagination","rowSelection","tableContentRef"],M=function(D){var x=D.onResize,R=D.width,E=a()(D,v);return!R||typeof R!="number"?(0,y.jsx)("th",f()({},E)):(0,y.jsx)(m.Resizable,{width:R,height:0,handle:(0,y.jsx)("span",{className:"react-resizable-handle",onClick:function(U){U.stopPropagation()}}),onResize:x,draggableOpts:{enableUserSelectHack:!1},children:(0,y.jsx)("th",f()({},E))})},g=function(D){var x=D.data,R=D.style,E=D.scroll,A=D.rowKey,U=D.columns,S=D.tableRef,F=D.pagination,B=D.rowSelection,j=D.tableContentRef,N=a()(D,O),k=(0,h.Z)(),K=x||{},L=K.dataSource,H=L===void 0?[]:L,W=K.pageSize,T=W===void 0?10:W,Z=K.current,z=Z===void 0?1:Z,X=K.total,$=X===void 0?0:X,w=(0,p.default)(),q=(0,l.useContext)(s.E_),Y=(0,d.Z)(function(){var le;if((E==null?void 0:E.y)==="auto"){var ue=j==null?void 0:j.current;if(w!=null&&w.tabsId){var oe=document.getElementById(w==null?void 0:w.tabsId);oe&&oe.classList.add("ccs-tabs-auto-height")}if(ue){var se=(le=j.current)===null||le===void 0?void 0:le.clientHeight,_e=q.getPrefixCls(),ce=ue.getElementsByClassName("".concat(_e,"-table"))[0],he=[],ve=void 0;ce.childNodes.forEach(function(Ee){Ee.classList.contains("".concat(_e,"-table-container"))?Ee.childNodes.forEach(function(Oe){Oe.classList.contains("".concat(_e,"-table-body"))?ve=Oe:he.push(Oe.clientHeight||0)}):he.push(Ee.clientHeight||0)});var Pe=ue.getElementsByClassName("".concat(_e,"-pagination"));if(Pe&&Pe.length>0&&he.push(Pe[0].clientHeight),ve){var Re=se-he.reduce(function(Ee,Oe){return Ee+Oe},0);ve.style.height="".concat(Re,"px")}}}},{wait:500,leading:!0}),J=Y.run;(0,l.useEffect)(function(){J()},[$]),(0,l.useImperativeHandle)(S,function(){return{onColumnFilter:function(ue){var oe;U==null||U.forEach(function(se){se.hidden=ue.includes(se.dataIndex)}),(oe=D.onEvent)===null||oe===void 0||oe.call(D,i.DataEvent.ColumnFilter,ue),k()},onFixedThead:J}});var G=function(ue){return function(oe,se){var _e=se.size,ce=U==null?void 0:U.find(function(he){return he.dataIndex===ue});ce.width=_e.width,k()}},ie=function(){var ue=U==null?void 0:U.filter(function(oe){return!oe.hidden});return ue==null||ue.forEach(function(oe){if(oe.ellipsis&&typeof oe.ellipsis!="boolean"&&!oe.render){var se={};typeof oe.ellipsis=="number"&&(se={rows:oe.ellipsis}),o()(oe.ellipsis)==="object"&&(se=oe.ellipsis),oe.ellipsis=!1,oe.render=function(_e){return(0,y.jsx)(t.default.Ellipsis,f()({content:_e,showTooltip:!0},se))}}oe.width!==void 0&&(oe.onHeaderCell=function(_e){return{width:_e.width,onResize:G(oe.dataIndex)}})}),N.showNumber&&(ue==null||ue.unshift({title:"\u5E8F\u53F7",ellipsis:!0,width:60,render:function(se,_e,ce){return ce+1+((z||1)-1)*(T||10)}})),ue},ae=c.Z.useToken(),Q=ae.token,te=function(ue,oe){return oe||0},ne=ie();return(0,y.jsx)("div",{className:"ccs-table-card",style:f()(f()({},R),{},{background:Q.colorBgContainer}),children:(0,y.jsx)(r.Z,f()(f()({rowKey:A||te,dataSource:H,sortDirections:["ascend","descend"],pagination:F===!1?!1:f()({total:$,pageSize:T,current:z,showSizeChanger:!0,showQuickJumper:!0,showTotal:function(){return"\u5171".concat($,"\u6761\u8BB0\u5F55")},pageSizeOptions:["10","20","30","50","100"],size:N.size==="small"?"small":"default",simple:N.size==="small",className:"ccs-table-pagination",style:{borderTop:"1px solid ".concat(Q.colorBorderSecondary)}},F),rowSelection:B?f()(f()({},B),{},{columnWidth:60}):void 0,columns:ne,components:{header:{cell:M}}},N),{},{size:N.size||"middle",scroll:E,summary:N!=null&&N.summary?function(le){var ue;return(ue=N.summary)===null||ue===void 0?void 0:ue.call(N,le,ne||[])}:void 0}))})},b=g},35119:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return m}});var _=e(25298),o=e.n(_),C=e(17069),f=e.n(C),u=e(82092),a=e.n(u),h=e(8890),d=e(46960),c=e(15771),r=e(86763),s=e.n(r),l,m=function(){function t(){o()(this,t)}return f()(t,null,[{key:"setConfig",value:function(p,y,v){this.message=p,this.notice=y,this.modal=v}},{key:"easyMessage",value:function(p,y,v){var O,M=(O=this.message)!==null&&O!==void 0?O:h.ZP;p!=null&&p.success?M.success(y||"\u64CD\u4F5C\u6210\u529F"):M.error(v||(p==null?void 0:p.msg)||"\u64CD\u4F5C\u5931\u8D25")}},{key:"confirm",value:function(){var p=this,y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return new Promise(function(v){var O,M=(O=p.modal)!==null&&O!==void 0?O:d.Z;M.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",content:y,okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u53D6\u6D88",centered:!0,onOk:function(){v(!0)},onCancel:function(){v(!1)}})})}}]),t}();l=m,a()(m,"message",h.ZP),a()(m,"notice",c.ZP),a()(m,"modal",d.Z),a()(m,"easyConfirm",s()(l.confirm,500,{leading:!0,trailing:!1}))},71973:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(67825),f=e.n(C),u=e(38443),a=e(17888),h=e.n(a),d=e(80998),c=e.n(d),r=e(52676),s=["value","onChange"],l=["value","onChange"];h().extend(c());function m(i){var p=i.value,y=i.onChange,v=f()(i,s),O=function(b,I){y&&y(I)},M=typeof p=="string"?h()(p,"HH:mm:ss"):p;return(0,r.jsx)(u.Z,o()({value:M,onChange:O},v))}function t(i){var p=i.value,y=i.onChange,v=f()(i,l),O=function(){return Array.isArray(p)?[h()(p[0],"HH:mm:ss"),h()(p[1],"HH:mm:ss")]:null},M=function(b,I){y&&y(I)};return(0,r.jsx)(u.Z.RangePicker,o()({value:O(),onChange:M},v))}m.RangePicker=t,n.default=m},80882:function(P,n,e){"use strict";e.r(n),e.d(n,{uploadDefaultFlies:function(){return b}});var _=e(26068),o=e.n(_),C=e(90228),f=e.n(C),u=e(87999),a=e.n(u),h=e(48305),d=e.n(h),c=e(67825),r=e.n(c),s=e(31759),l=e.n(s),m=e(98868),t=e(8890),i=e(62477),p=e(18466),y=e(75271),v=e(50712),O=e(9472),M=e(52676),g=["value","uploadText","maxCount","maxFileSize","fileDownloadUrl","uploadRequest","onChange"];function b(D,x){return Array.isArray(D)?D.map(function(R){if(typeof R=="string")return{uid:R,name:R,url:"".concat(x).concat(R),fileId:R};if(l()(R)==="object")return{uid:R.fileId,name:R.name,url:"".concat(x).concat(R.fileId),fileId:R.fileId}}).filter(function(R){return R}):typeof D=="string"?[{uid:D,name:D,url:"".concat(x).concat(D),fileId:D}]:[]}function I(D){var x=D.value,R=D.uploadText,E=D.maxCount,A=E===void 0?1:E,U=D.maxFileSize,S=U===void 0?10:U,F=D.fileDownloadUrl,B=F===void 0?"":F,j=D.uploadRequest,N=D.onChange,k=r()(D,g),K=(0,y.useState)(function(){return b(x,B)}),L=d()(K,2),H=L[0],W=L[1],T=function($){var w=$.fileList;if(W(w),!!N&&!w.find(function(J){return J.status==="uploading"}))if(A===1){var q,Y;N(((q=w[0])===null||q===void 0||(q=q.response)===null||q===void 0?void 0:q.data)||((Y=w[0])===null||Y===void 0?void 0:Y.fileId))}else N(w.map(function(J){var G;return((G=J.response)===null||G===void 0?void 0:G.data)||J.fileId}).filter(function(J){return J!==void 0}))},Z=function($){var w=$.size/1024/1024<S;return w||t.ZP.error("\u6587\u4EF6\u4E0D\u80FD\u5927\u4E8E".concat(S,"MB!")),w},z=function(){var X=a()(f()().mark(function $(w){var q,Y,J,G;return f()().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return q=w.file,Y=w.onSuccess,J=w.onError,ae.next=3,j(q);case 3:G=ae.sent,G.success&&Y&&Y(G),!G.success&&J&&(v.default.message.error(G.msg||"\u4E0A\u4F20\u5931\u8D25"),J({status:500,name:"\u51FA\u9519\u4E86",message:G.msg||"\u4E0A\u4F20\u5931\u8D25"}));case 6:case"end":return ae.stop()}},$)}));return function(w){return X.apply(this,arguments)}}();return(0,M.jsx)(i.Z,o()(o()({customRequest:z,name:"fileName",onChange:T,beforeUpload:Z,fileList:H,maxCount:A},k),{},{children:(0,M.jsx)(p.ZP,{icon:(0,M.jsx)(m.Z,{}),disabled:H.length>=A,children:R})}))}I.Image=O.ImageUpload,n.default=I},9472:function(P,n,e){"use strict";e.r(n),e.d(n,{ImageUpload:function(){return g}});var _=e(26068),o=e.n(_),C=e(90228),f=e.n(C),u=e(87999),a=e.n(u),h=e(48305),d=e.n(h),c=e(67825),r=e.n(c),s=e(17114),l=e(8890),m=e(62477),t=e(89020),i=e(75271),p=e(50712),y=e(80882),v=e(52676),O=["uploadText","maxCount","maxFileSize","crop","value","fileDownloadUrl","uploadRequest","onChange","onImageInfo","accept"],M=function(I){return new Promise(function(D,x){var R=new FileReader;R.readAsDataURL(I),R.onload=function(){return D(R.result)},R.onerror=function(E){return x(E)}})};function g(b){var I=b.uploadText,D=I===void 0?"\u4E0A\u4F20":I,x=b.maxCount,R=x===void 0?1:x,E=b.maxFileSize,A=E===void 0?10:E,U=b.crop,S=b.value,F=b.fileDownloadUrl,B=F===void 0?"":F,j=b.uploadRequest,N=b.onChange,k=b.onImageInfo,K=b.accept,L=K===void 0?"image/*":K,H=r()(b,O),W=(0,i.useState)(function(){return(0,y.uploadDefaultFlies)(S,B)}),T=d()(W,2),Z=T[0],z=T[1],X=p.default.useDialog(),$=X.openModal,w=function(ae){var Q=ae.fileList;if(Q.forEach(function(ne){!ne.fileId&&ne.response&&(ne.fileId=ne.response.data)}),z(Q),!!N&&!Q.find(function(ne){return ne.status==="uploading"}))if(R===1){var te;N((te=Q[0])===null||te===void 0?void 0:te.fileId)}else N(Q.filter(function(ne){return!!ne.fileId}).map(function(ne){return ne.fileId}))},q=function(ae){var Q=ae.size/1024/1024<A,te=ae.type==="image/jpeg"||ae.type==="image/png";return te?(Q||l.ZP.error("\u56FE\u7247\u4E0D\u80FD\u5927\u4E8E".concat(A,"MB!")),Q):(l.ZP.error("\u8BF7\u9009\u62E9\u56FE\u7247\uFF01"),m.Z.LIST_IGNORE)},Y=function(){var ie=a()(f()().mark(function ae(Q){return f()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:if(Q.preview){ne.next=8;break}if(!Q.originFileObj){ne.next=7;break}return ne.next=4,M(Q.originFileObj);case 4:Q.preview=ne.sent,ne.next=8;break;case 7:Q.preview="".concat(B).concat(Q.fileId);case 8:$({title:Q.name||Q.url.substring(Q.url.lastIndexOf("/")+1),content:(0,v.jsx)("img",{alt:Q.name,style:{width:"100%"},src:Q.preview}),footer:null});case 9:case"end":return ne.stop()}},ae)}));return function(Q){return ie.apply(this,arguments)}}(),J=function(){var ie=a()(f()().mark(function ae(Q){var te,ne,le,ue,oe,se,_e,ce;return f()().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=Q.file,ne=Q.onSuccess,le=Q.onError,ve.next=3,j(te);case 3:if(ue=ve.sent,!(ue.success&&ne)){ve.next=11;break}return ne(ue),ve.next=8,M(te);case 8:oe=ve.sent,se=te,_e=se.name,ce=se.type,k==null||k({base64:oe,name:_e,type:ce,url:ue.data});case 11:!ue.success&&le&&(p.default.message.error(ue.msg||"\u4E0A\u4F20\u5931\u8D25"),le({status:500,name:"\u51FA\u9519\u4E86",message:ue.msg||"\u4E0A\u4F20\u5931\u8D25"}));case 12:case"end":return ve.stop()}},ae)}));return function(Q){return ie.apply(this,arguments)}}(),G=(0,v.jsx)(m.Z,o()(o()({customRequest:J,name:"fileName",onChange:w,beforeUpload:q,fileList:Z,maxCount:R,listType:"picture-card",onPreview:Y,accept:L},H),{},{children:Z.length<R&&(0,v.jsxs)("div",{children:[(0,v.jsx)(s.Z,{}),(0,v.jsx)("div",{style:{marginTop:8},children:D})]})}));return(0,v.jsx)(v.Fragment,{children:U?(0,v.jsx)(t.default,{minZoom:.5,rotationSlider:!0,children:G}):G})}},65173:function(P,n,e){"use strict";e.r(n),e.d(n,{extractBirthday:function(){return s},extractGender:function(){return l},getDataByNamePath:function(){return t},isUrl:function(){return m},isValidCard:function(){return r}});var _=e(31759),o=e.n(_),C=e(15558),f=e.n(C),u=/^[1-9]\d{5}(19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dXx]$/,a=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],h=["1","0","X","9","8","7","6","5","4","3","2"];function d(i){return u.test(i)}function c(i){for(var p=i.toUpperCase(),y=0,v=0;v<17;v++)y+=parseInt(p[v],10)*a[v];var O=y%11,M=h[O];return p[17]===M}function r(i){return i.length!==18||!d(i)?!1:c(i)}function s(i){if(!r(i))return null;var p=i.substring(6,10),y=i.substring(10,12),v=i.substring(12,14);return"".concat(p,"-").concat(y,"-").concat(v)}function l(i){if(!r(i))return null;var p=parseInt(i.substring(16,17),10);return p%2===1?1:0}function m(i){return/^https?:\/\/.+/.test(i)}function t(i,p){if(!(!i||!p)){if(typeof p=="string")return i[p];var y=f()(p),v=y.shift(),O=i[v];return o()(O)==="object"&&y.length>0?t(O,y):O}}},1130:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(48305),f=e.n(C),u=e(96586),a=e(82187),h=e.n(a),d=e(75271),c=e(73801),r=e(52676),s=function(t){if(!t)return 1;var i=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/i},l=function(t){var i=t.children,p=t.style,y=t.className,v=t.markStyle,O=t.markClassName,M=t.zIndex,g=M===void 0?9:M,b=t.gapX,I=b===void 0?212:b,D=t.gapY,x=D===void 0?222:D,R=t.width,E=R===void 0?120:R,A=t.height,U=A===void 0?64:A,S=t.rotate,F=S===void 0?-22:S,B=t.image,j=t.content,N=t.offsetLeft,k=t.offsetTop,K=t.fontStyle,L=K===void 0?"normal":K,H=t.fontWeight,W=H===void 0?"normal":H,T=t.fontColor,Z=T===void 0?"rgba(0,0,0,.15)":T,z=t.fontSize,X=z===void 0?16:z,$=t.fontFamily,w=$===void 0?"sans-serif":$,q=t.prefixCls,Y=(0,d.useContext)(u.default.ConfigContext),J=Y.getPrefixCls,G=J("pro-layout-watermark",q),ie=h()("".concat(G,"-wrapper"),y),ae=h()(G,O),Q=(0,d.useState)(""),te=f()(Q,2),ne=te[0],le=te[1];return(0,d.useEffect)(function(){var ue=document.createElement("canvas"),oe=ue.getContext("2d"),se=s(oe),_e="".concat((I+E)*se,"px"),ce="".concat((x+U)*se,"px"),he=N||I/2,ve=k||x/2;if(ue.setAttribute("width",_e),ue.setAttribute("height",ce),oe){oe.translate(he*se,ve*se),oe.rotate(Math.PI/180*Number(F));var Pe=E*se,Re=U*se;if(B){var Ee=new Image;Ee.crossOrigin="anonymous",Ee.referrerPolicy="no-referrer",Ee.src=B,Ee.onload=function(){oe.drawImage(Ee,0,0,Pe,Re),le(ue.toDataURL())}}else if(j){var Oe=Number(X)*se;oe.font="".concat(L," normal ").concat(W," ").concat(Oe,"px/").concat(Re,"px ").concat(w),oe.fillStyle=Z,oe.fillText(j,0,0),le(ue.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[I,x,N,k,F,L,W,E,U,w,Z,B,j,X]),(0,r.jsxs)("div",{style:o()({position:"relative"},p),className:ie,children:[i,ne&&(0,r.jsx)("div",{className:ae,style:o()({zIndex:g,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(I+E,"px"),pointerEvents:"none",backgroundRepeat:"repeat",backgroundImage:"url('".concat(ne,"')")},v)})]})};l.Relative=c.default,n.default=l},73801:function(P,n,e){"use strict";e.r(n);var _=e(26068),o=e.n(_),C=e(48305),f=e.n(C),u=e(96586),a=e(82187),h=e.n(a),d=e(75271),c=e(52676),r=function(m){if(!m)return 1;var t=m.backingStorePixelRatio||m.webkitBackingStorePixelRatio||m.mozBackingStorePixelRatio||m.msBackingStorePixelRatio||m.oBackingStorePixelRatio||m.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},s=function(m){var t=m.markStyle,i=m.markClassName,p=m.zIndex,y=p===void 0?9:p,v=m.gapX,O=v===void 0?212:v,M=m.gapY,g=M===void 0?222:M,b=m.width,I=b===void 0?120:b,D=m.height,x=D===void 0?64:D,R=m.rotate,E=R===void 0?-22:R,A=m.image,U=m.content,S=m.offsetLeft,F=m.offsetTop,B=m.fontStyle,j=B===void 0?"normal":B,N=m.fontWeight,k=N===void 0?"normal":N,K=m.fontColor,L=K===void 0?"rgba(0,0,0,.15)":K,H=m.fontSize,W=H===void 0?16:H,T=m.fontFamily,Z=T===void 0?"sans-serif":T,z=m.prefixCls,X=(0,d.useContext)(u.default.ConfigContext),$=X.getPrefixCls,w=$("pro-layout-watermark",z),q=h()(w,i),Y=(0,d.useState)(""),J=f()(Y,2),G=J[0],ie=J[1];return(0,d.useEffect)(function(){var ae=document.createElement("canvas"),Q=ae.getContext("2d"),te=r(Q),ne="".concat((O+I)*te,"px"),le="".concat((g+x)*te,"px"),ue=S||O/2,oe=F||g/2;if(ae.setAttribute("width",ne),ae.setAttribute("height",le),Q){Q.translate(ue*te,oe*te),Q.rotate(Math.PI/180*Number(E));var se=I*te,_e=x*te;if(A){var ce=new Image;ce.crossOrigin="anonymous",ce.referrerPolicy="no-referrer",ce.src=A,ce.onload=function(){Q.drawImage(ce,0,0,se,_e),ie(ae.toDataURL())}}else if(U){var he=Number(W)*te;Q.font="".concat(j," normal ").concat(k," ").concat(he,"px/").concat(_e,"px ").concat(Z),Q.fillStyle=L,Q.fillText(U,0,0),ie(ae.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[O,g,S,F,E,j,k,I,x,Z,L,A,U,W]),(0,c.jsx)(c.Fragment,{children:G&&(0,c.jsx)("div",{className:q,style:o()({zIndex:y,position:"fixed",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(O+I,"px"),pointerEvents:"none",backgroundRepeat:"repeat",backgroundImage:"url('".concat(G,"')")},t)})})};n.default=s},68144:function(P,n,e){"use strict";e.r(n),e.d(n,{default:function(){return Ne}});var _={};e.r(_),e.d(_,{aesDecrypt:function(){return Pe},aesEncrypt:function(){return ve},antPath:function(){return Ee},base64ToJson:function(){return te},copy:function(){return _e},dayjs:function(){return J},dayjsFmt:function(){return ue},findNodesByDFS:function(){return Ae},getArrayIds:function(){return H},getByJsonPath:function(){return Be},getNodeForge:function(){return Te},getStroage:function(){return Z},getTimeId:function(){return L},getUUID:function(){return Le},isBrowser:function(){return Y},isDev:function(){return W},isEmpty:function(){return G},isFunction:function(){return T},isMobile:function(){return k},isNil:function(){return se},isNode:function(){return q},isNotEmpty:function(){return ie},jsonParse:function(){return ne},jsonStringify:function(){return Q},jsonToBase64:function(){return ae},mergeProp:function(){return fe},mergeProps:function(){return Ie},objIsEmpty:function(){return oe},onArraySum:function(){return K},onFormartFileSize:function(){return N},onLoopData:function(){return ye},onPopoverPosition:function(){return me},onRelativeTime:function(){return B},onTextEllipsis:function(){return j},onTreeFlat:function(){return Oe},removeStroage:function(){return X},rsaDecrypt:function(){return he},rsaEncrypt:function(){return ce},rsaEncryptForge:function(){return Se},setStroage:function(){return z},sha256Encrypt:function(){return Re},showLogWarning:function(){return $},showWarning:function(){return w},stringToHex:function(){return le}});var o=e(31759),C=e.n(o),f=e(44651),u=e.n(f),a=e(874),h=e.n(a),d=e(25778),c=e.n(d),r=e(17888),s=e.n(r),l=e(56e3),m=e.n(l),t=e(39396),i=e.n(t),p=e(87),y=e.n(p),v=e(58667),O=e(27859),M=e(21764),g=e(95170),b=e.n(g),I=e(4293),D=e.n(I),x=e(52041),R=e.n(x),E=e(52408),A=e(92054),U=e.n(A),S=e(15588),F=e(14224);s().locale(m()),s().extend(y()),s().extend(i());function B(V){return V?s()(V).calendar(null,{sameDay:"H:mm",nextDay:"M\u6708D\u65E5 H:mm",nextWeek:"M\u6708D\u65E5 H:mm",lastDay:"[\u6628\u5929] H:mm",lastWeek:"dddd H:mm",sameElse:"M\u6708D\u65E5 H:mm"}):""}B.description="\u663E\u793A\u76F8\u5BF9\u65F6\u95F4";function j(V,ee){return!V||V.length<ee?V:"".concat(V.substring(0,ee-10),"...").concat(V.substring(V.length-10))}j.description="\u6587\u5B57\u4E2D\u90E8\u7701\u7565";function N(V){if(V<500)return"".concat(V,"Byte");if(V<1024)return"".concat((V/1024).toFixed(1),"KB");var ee=Math.floor(V/1024);return ee<1024?"".concat(ee,"KB"):(ee=V/1024/1024,"".concat(ee.toFixed(2),"MB"))}N.description="\u6587\u4EF6\u5927\u5C0F\u683C\u5F0F\u5316";function k(){var V=navigator.userAgent,ee=["Mobile","Android","iPhone","iPad","Windows Phone"];return ee.some(function(de){return V.includes(de)})}k.description="\u79FB\u52A8\u7AEF\uFF1F";function K(V,ee){return V.reduce(function(de,pe){return R()(de)&&R()(pe)&&ee?de[ee]+pe[ee]:de+pe},0)}K.description="\u6C42\u548C";var L=function(){return new Date().getTime()};L.description="\u83B7\u53D6\u5F53\u524D\u65F6\u95F4\u6233";var H=function(ee){return Array.from({length:ee},function(de,pe){return pe})};H.description="\u751F\u6210\u6570\u7EC4";function W(){return!1}W.description="\u5F00\u53D1\u73AF\u5883\uFF1F";function T(V){return typeof V=="function"}T.description="\u662F\u51FD\u6570\uFF1F";function Z(V){return b().getItem(V)}Z.description="\u83B7\u53D6stroage";function z(V,ee){b().setItem(V,ee)}z.description="\u8BBE\u7F6Estroage";function X(V){return b().removeItem(V)}X.description="\u5220\u9664stroage";function $(V){}$.description="\u5F00\u53D1\u73AF\u5883\u629B\u51FA\u5F02\u5E38\u4FE1\u606F";function w(V,ee){(0,S.ZP)(V,ee)}w.description="\u5F00\u53D1\u73AF\u5883\u629B\u8B66\u544A";function q(){return typeof F!="undefined"&&F.versions!==null&&F.versions.node!==null}q.description="nodejs \u73AF\u5883";function Y(){return typeof window!="undefined"&&typeof window.document!="undefined"&&!q}Y.description="\u6D4F\u89C8\u5668\u73AF\u5883";function J(V){return s()(V)}J.description="\u683C\u5F0F\u5316\u6210dayjs";var G=function(ee){return D()(ee)};G.description="\u7A7A\u5224\u65AD";var ie=function(ee){return!G(ee)};ie.description="\u975E\u7A7A";function ae(V){try{var ee=JSON.stringify(V);return v.DS.encode(ee)}catch(de){return""}}ae.description="json\u8F6Cbase64";function Q(V){if(!V)return"";try{return C()(V)==="object"?JSON.stringify(V):V}catch(ee){return""}}Q.description="json\u8F6Cstring";function te(V){try{var ee=v.DS.decode(V);return JSON.parse(ee)}catch(de){return null}}te.description="base64\u8F6Cjson";function ne(V){try{return JSON.parse(V)}catch(ee){return V}}ne.description="\u683C\u5F0F\u5316\u6210json";function le(V){if(V==="")return"";for(var ee=[],de=0;de<V.length;de+=1)ee.push(V.charCodeAt(de).toString(16));return ee.join("").toUpperCase()}le.description="\u5B57\u7B26\u4E32\u8F6Cbase64";function ue(V,ee){if(V)return ee&&(s()(),s()(V).format(ee)),s()(V)}ue.description="\u5B57\u7B26\u4E32\u8F6Cdayjs";function oe(V){return V?Object.keys(V).length===0:!0}oe.description="\u7A7A\u5BF9\u8C61\u5224\u65AD";function se(V){return typeof V=="string"?V.trim()==="":Array.isArray(V)?V.length===0:R()(V)?Object.keys(V).length===0:V==null}se.description="\u5224\u65AD\u503C\u4E0D\u4E3A\u7A7A";function _e(V){if(V)return h()(V)}_e.description="\u590D\u5236\u6587\u5B57";function ce(V,ee){var de=new O.Z;return de.setPublicKey(ee),de.encrypt(V)||""}ce.description="RSA\u52A0\u5BC6";function he(V,ee){var de=new O.Z;return de.setPublicKey(ee),de.decrypt(V)||""}he.description="RSA\u89E3\u5BC6";function ve(V,ee){return c().AES.encrypt(c().enc.Utf8.parse(V),c().enc.Utf8.parse(ee),{mode:c().mode.ECB,padding:c().pad.Pkcs7}).toString()}ve.description="AES\u52A0\u5BC6";function Pe(V,ee){return c().AES.decrypt(V,c().enc.Utf8.parse(ee),{mode:c().mode.ECB,padding:c().pad.Pkcs7}).toString(c().enc.Utf8)}Pe.description="AES\u89E3\u5BC6";function Re(V,ee){return c().HmacSHA256(c().enc.Utf8.parse(V),ee).toString(c().enc.Hex)}Re.description="HmacSHA256";function Ee(V,ee){var de=new(u());return de.match(V,ee)}Ee.description="\u5224\u65AD\u662F\u5426\u7B26\u5408ant path\u98CE\u683C\u5339\u914D\u5730\u5740";function Oe(V){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"children";return V.reduce(function(de,pe){return de.push(pe),pe[ee]?de.concat(Oe(pe[ee])):de},[])}Oe.description="\u6811\u5F62\u6570\u636E\u6241\u5E73\u5316";function Le(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,1,2],de=["1234567890","abcdefghijklmnopqrstuvwxyz","ABCDEFGHIJKLMNOPQRSTUVWXYZ"],pe=de.join("");if(Array.isArray(ee)){var xe=ee.map(function(Ce){return de[Ce]}).join("");xe&&(pe=xe)}else pe=de[ee];var re=(0,E.kP)(pe,V);return re()}Le.description="\u751F\u6210uuid";function Ie(){for(var V={},ee=arguments.length,de=new Array(ee),pe=0;pe<ee;pe++)de[pe]=arguments[pe];return de.forEach(function(xe){xe&&Object.keys(xe).forEach(function(re){xe[re]!==void 0&&(V[re]=xe[re])})}),V}function fe(V){for(var ee=arguments.length,de=new Array(ee>1?ee-1:0),pe=1;pe<ee;pe++)de[pe-1]=arguments[pe];for(var xe=de.length-1;xe>=0;xe-=1)if(de[xe]!==void 0)return de[xe];return V}Ie.description="\u5408\u5E76props",fe.description="\u5408\u5E76prop";function me(V,ee,de){var pe={},xe=V.clientHeight,re=V.clientWidth;return re/2>de&&xe/2>ee&&(pe={left:de,top:ee,maxHeight:xe-ee-16}),re/2>de&&xe/2<ee&&(pe={left:de,bottom:xe-ee,maxHeight:ee-16}),re/2<de&&xe/2>ee&&(pe={right:re-de,top:ee,maxHeight:xe-ee-16}),re/2<de&&xe/2<ee&&(pe={right:re-de,bottom:xe-ee,maxHeight:ee-16}),pe}me.description="\u5224\u65AD\u76EE\u6807\u5BF9\u8BDD\u6846\u51FA\u73B0\u7684\u4F4D\u7F6E";function ye(V,ee){for(var de=V.data,pe=V.key,xe=V.fieldKey,re=xe===void 0?"key":xe,Ce=0;Ce<de.length;Ce++){var Fe;if(de[Ce][re]===pe)return ee(de[Ce],Ce,de);var We=(Fe=de[Ce])===null||Fe===void 0?void 0:Fe.children;We&&ye({data:We,key:pe,fieldKey:re},ee)}}ye.description="\u67E5\u627E\u6811\u5F62\u8282\u70B9";function Ae(V,ee){var de=[];return V.forEach(function(pe){ee(pe)&&de.push(pe),pe.children&&pe.children.length>0&&(de=de.concat(Ae(pe.children,ee)))}),de}Ae.description="\u6DF1\u5EA6\u4F18\u5148\u641C\u7D22\uFF08\u9012\u5F52\uFF09\u83B7\u53D6\u7B26\u5408\u6761\u4EF6\u7684\u8282\u70B9";function Be(V,ee){return(0,M.j)({json:V,path:ee})}Be.description="\u6839\u636Ejson path \u83B7\u53D6\u6570\u636E";function Te(){return U()}Te.description="\u751F\u6210node-forge\u5B9E\u4F8B";function Se(V,ee){var de=U().pki.publicKeyFromPem(ee),pe=de.encrypt(V,"RSAES-PKCS1-V1_5",{md:U().md.sha256.create()});return U().util.encode64(pe)}Se.description="\u57FA\u4E8Enode-forge\u5B9E\u73B0rsa\u52A0\u5BC6";var Ne=_},83857:function(P,n,e){"use strict";e.r(n)},86638:function(P,n,e){"use strict";e.r(n)},27783:function(){"use strict"},587:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u57FA\u4E8E\u5355\u4E00\u804C\u8D23\u8BBE\u8BA1\u7684\u539F\u5B50\u7EC4\u4EF6",paraId:0,tocIndex:0}]},63953:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u81EA\u52A8\u83B7\u53D6\u7CFB\u7EDF\u6309\u94AE\u6743\u9650\u6570\u636E\uFF0C\u901A\u8FC7\u6743\u9650 key \u63A7\u5236\u663E\u9690\u5185\u5BB9",paraId:0,tocIndex:0},{value:"\u53C2\u6570",paraId:1,tocIndex:4},{value:"\u8BF4\u660E",paraId:1,tocIndex:4},{value:"\u7C7B\u578B",paraId:1,tocIndex:4},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:4},{value:"auth",paraId:1,tocIndex:4},{value:"api \u6743\u9650\u6807\u8BC6",paraId:1,tocIndex:4},{value:"string",paraId:1,tocIndex:4},{value:"-",paraId:1,tocIndex:4}]},21025:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u81EA\u52A8\u83B7\u53D6\u7CFB\u7EDF\u6309\u94AE\u6743\u9650\u6570\u636E\uFF0C\u901A\u8FC7\u6743\u9650 key \u63A7\u5236\u663E\u9690\u5185\u5BB9",paraId:0,tocIndex:0},{value:"ButtonProps",paraId:1,tocIndex:4},{value:"CcsButton.Group",paraId:2,tocIndex:4},{value:"CcsButton.Dropdown",paraId:3,tocIndex:4},{value:"\u66F4\u591A...",paraId:4,tocIndex:4}]},61519:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u6570\u636E\u6765\u6E90\u4E8E\u63A5\u53E3\u7684 Cascader \u7EC4\u4EF6\uFF0C\u5C01\u88C5\u6570\u636E\u8BF7\u6C42\u903B\u8F91",paraId:0,tocIndex:0},{value:"CascaderProps",paraId:1,tocIndex:4}]},18284:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u65F6\u95F4\u9009\u62E9\u7EC4\u4EF6\uFF0C\u8F93\u5165\u8F93\u51FA\u65F6\u95F4\u5B57\u7B26\u4E32",paraId:0,tocIndex:0},{value:"DatePickerProps",paraId:1,tocIndex:4},{value:"RangePickerProps",paraId:2,tocIndex:4}]},91941:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u96C6\u6210 Modal\u3001Drawer\u3001Message\u3001Notification \u9002\u5E94\u4E3B\u9898\u53D8\u5316\u7684\u9759\u6001\u65B9\u6CD5",paraId:0,tocIndex:0},{value:"\u4F7F\u7528\u9759\u6001\u65B9\u6CD5\u65F6\uFF0C\u9700\u4F7F\u7528CcsAppConfig\u7EC4\u4EF6\u3002\u53EA\u9700\u5728\u5E94\u7528\u5916\u56F4\u5305\u88F9\u4E00\u6B21\u5373\u53EF\u5168\u5C40\u751F\u6548\u3002",paraId:1,tocIndex:0},{value:"\u4E3B\u8981\u529F\u80FD\uFF1A",paraId:2,tocIndex:0},{value:"\u9759\u6001\u65B9\u6CD5\u6253\u5F00\u5BF9\u8BDD\u6846\uFF0C\u652F\u6301\u83B7\u53D6 context \u4E0A\u4E0B\u6587",paraId:3,tocIndex:0},{value:"\u81EA\u52A8\u6536\u96C6\u8868\u5355\u4FE1\u606F\uFF0C\u8C03\u7528\u63A5\u53E3\u5904\u7406\u3001\u7ED3\u679C\u53CD\u9988",paraId:3,tocIndex:0},{value:"\u5982\u4F7F\u7528\u5BF9\u8BDD\u6846\u81EA\u52A8\u8C03\u7528\u63A5\u53E3\uFF0C\u53CD\u9988\u7ED3\u679C\u9700\u6307\u5B9A\u63A5\u53E3\u8FD4\u56DE\u89C4\u8303\uFF0C\u5168\u5C40\u914D\u7F6E\u4E00\u6B21\u5373\u53EF\u3002",paraId:4,tocIndex:4},{value:`<CcsAppConfig
|
|
31
32
|
fieldNames={{
|
|
32
33
|
dialog: { success: ['success'], successTag: true, msg: ['msg'] },
|
|
33
34
|
}}
|
|
34
35
|
>
|
|
35
36
|
<Outlet />
|
|
36
37
|
</CcsAppConfig>
|
|
37
|
-
`,paraId:5,tocIndex:4},{value:"DialogProps",paraId:6,tocIndex:5},{value:"CcsDialog.useInstance",paraId:7,tocIndex:5},{value:"\u66F4\u591A",paraId:8,tocIndex:5}]},80537:function(
|
|
38
|
+
`,paraId:5,tocIndex:4},{value:"DialogProps",paraId:6,tocIndex:5},{value:"CcsDialog.useInstance",paraId:7,tocIndex:5},{value:"\u66F4\u591A",paraId:8,tocIndex:5}]},80537:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u5BCC\u6587\u672C\u7F16\u8F91\u5668\uFF0C\u4EE3\u7801\u7F16\u8F91\u5668",paraId:0,tocIndex:0},{value:"EditorCodeProps",paraId:1,tocIndex:4},{value:"EditorRichProps",paraId:2,tocIndex:4}]},84062:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"Antd Form \u7EC4\u4EF6\u6269\u5C55\uFF0C\u5236\u5B9A\u8868\u5355\u7B80\u5355\u6821\u9A8C\u89C4\u5219\uFF0C\u4F9D\u8D56\u66F4\u65B0\uFF0C\u4F9D\u8D56\u663E\u793A\uFF0C\u7B80\u5316\u6570\u7EC4\u5BF9\u8C61\u8868\u5355\u3002",paraId:0,tocIndex:0},{value:"FormItemProps",paraId:1,tocIndex:3},{value:"FormListProps",paraId:2,tocIndex:3},{value:"\u66F4\u591A",paraId:3,tocIndex:3}]},56475:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"ccs-ui@rc-pro",paraId:0,tocIndex:0},{value:" \u4E3A Web \u5E94\u7528\u63D0\u4F9B\u4E86\u4E30\u5BCC\u7684\u4F01\u4E1A\u7EA7 UI \u7EC4\u4EF6\u3002",paraId:0,tocIndex:0},{value:"umijs",paraId:1,tocIndex:1},{value:" \u57FA\u7840\u6846\u67B6",paraId:1,tocIndex:1},{value:"ahooks",paraId:1,tocIndex:1},{value:" \u4E00\u5957\u9AD8\u8D28\u91CF\u53EF\u9760\u7684 React Hooks \u5E93\u3001\u4F7F\u4F60\u7684\u4EE3\u7801\u66F4\u52A0\u4F18\u96C5",paraId:1,tocIndex:1},{value:"ant design",paraId:1,tocIndex:1},{value:" \u57FA\u7840\u7EC4\u4EF6\u5E93",paraId:1,tocIndex:1},{value:"lodash",paraId:1,tocIndex:1},{value:" \u9AD8\u6027\u80FD\u7684 JavaScript \u5B9E\u7528\u5DE5\u5177\u5E93",paraId:1,tocIndex:1},{value:"\u793E\u533A\u7CBE\u9009\u7EC4\u4EF6",paraId:1,tocIndex:1}]},46155:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u4F20\u5165\u7CFB\u7EDF\u83DC\u5355\u6570\u636E\uFF0C\u6309\u94AE\u6743\u9650\u6570\u636E\u3002\u5B9E\u73B0\u9762\u5305\u5C51\uFF0C\u8DEF\u7531\u7F13\u5B58\uFF0C\u8DEF\u7531\u6743\u9650\u6821\u9A8C\uFF0C\u6309\u94AE\u6743\u9650\u6821\u9A8C\u7B49\u529F\u80FD",paraId:0,tocIndex:0},{value:`/**
|
|
38
39
|
* useCcsPage \u83B7\u53D6\u5F53\u524D\u8DEF\u7531\u4FE1\u606F
|
|
39
40
|
* location: history Location
|
|
40
41
|
* isActive: \u524D\u9875\u9762\u662F\u5426\u9009\u4E2D
|
|
@@ -48,7 +49,7 @@ const { location, isActive, onDestroy, onAuth } = useCcsPage();
|
|
|
48
49
|
* onAuth: \u4F20\u5165\u6743\u9650\u7F16\u7801\uFF0C\u5224\u65AD\u662F\u5426\u62E5\u6709\u6309\u94AE\u6743\u9650
|
|
49
50
|
*/
|
|
50
51
|
const { location, onAuth } = useCcsPage();
|
|
51
|
-
`,paraId:2,tocIndex:2},{value:"KeepAliveTabsProps",paraId:3,tocIndex:3},{value:"SinglePageProps",paraId:4,tocIndex:3},{value:"MenuType",paraId:5,tocIndex:3}]},8674:function(
|
|
52
|
+
`,paraId:2,tocIndex:2},{value:"KeepAliveTabsProps",paraId:3,tocIndex:3},{value:"SinglePageProps",paraId:4,tocIndex:3},{value:"MenuType",paraId:5,tocIndex:3}]},8674:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u4F01\u4E1A\u7EA7 Table \u7EC4\u4EF6\uFF0C\u96C6\u67E5\u8BE2\uFF0C\u6570\u636E\u5C55\u793A\u4E00\u4F53\u3002",paraId:0,tocIndex:0},{value:"\u6307\u5B9Atable\u63A5\u53E3\u8BF7\u6C42\u5B57\u6BB5\u548C\u8FD4\u56DE\u5B57\u6BB5",paraId:1,tocIndex:11},{value:`<CcsAppConfig
|
|
52
53
|
fieldNames={{
|
|
53
54
|
proTable: {
|
|
54
55
|
dataSource: ['data', 'result'],
|
|
@@ -68,14 +69,14 @@ const { location, onAuth } = useCcsPage();
|
|
|
68
69
|
>
|
|
69
70
|
<Outlet />
|
|
70
71
|
</CcsAppConfig>
|
|
71
|
-
`,paraId:2,tocIndex:11},{value:"ProTableProps",paraId:3,tocIndex:12},{value:"table ref \u5B9E\u4F8B",paraId:4,tocIndex:12},{value:"table \u5217\u914D\u7F6E",paraId:5,tocIndex:12},{value:"\u66F4\u591A",paraId:6,tocIndex:12}]},62890:function(
|
|
72
|
-
`,paraId:1,tocIndex:4},{value:"Antd Result",paraId:1,tocIndex:4}]},23002:function(
|
|
72
|
+
`,paraId:2,tocIndex:11},{value:"ProTableProps",paraId:3,tocIndex:12},{value:"table ref \u5B9E\u4F8B",paraId:4,tocIndex:12},{value:"table \u5217\u914D\u7F6E",paraId:5,tocIndex:12},{value:"\u66F4\u591A",paraId:6,tocIndex:12}]},62890:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u57FA\u4E8E antd Tabs \u7EC4\u4EF6\uFF0C\u56FA\u5B9A\u754C\u9762\u98CE\u683C\uFF0Ctab \u95F4\u4F7F\u7528 hooks \u8FDB\u884C\u4EA4\u4E92",paraId:0,tocIndex:0},{value:"useCcsTabs",paraId:1,tocIndex:4},{value:"\u66F4\u591A...",paraId:2,tocIndex:4}]},11222:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u7ED3\u679C\u9875",paraId:0,tocIndex:0},{value:`\u53C2\u8003
|
|
73
|
+
`,paraId:1,tocIndex:4},{value:"Antd Result",paraId:1,tocIndex:4}]},23002:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"Antd Select \u7EC4\u4EF6\u6269\u5C55\uFF0C\u6DFB\u52A0\u9ED8\u8BA4\u914D\u7F6E\uFF0C\u57FA\u4E8E\u63A5\u53E3\u9009\u62E9\uFF0C\u81EA\u5B9A\u4E49\u5F39\u6846\u9009\u62E9\u3002",paraId:0,tocIndex:0},{value:"SelectProps",paraId:1,tocIndex:6},{value:"ApiSelectProps",paraId:2,tocIndex:6},{value:"SelectChildrenProps",paraId:3,tocIndex:6},{value:"CustomizeSelectProps",paraId:4,tocIndex:6},{value:"\u66F4\u591A",paraId:5,tocIndex:6}]},4439:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u65F6\u95F4\u9009\u62E9\u7EC4\u4EF6\uFF0C\u8F93\u5165\u8F93\u51FA\u65F6\u95F4\u5B57\u7B26\u4E32",paraId:0,tocIndex:0},{value:"\u901A\u7528\u5C5E\u6027\u7EE7\u627F ",paraId:1,tocIndex:3},{value:"Ant TimePicker",paraId:1,tocIndex:3}]},79810:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u7B80\u5316\u6587\u4EF6\uFF0C\u56FE\u7247\u4E0A\u4F20\u903B\u8F91",paraId:0,tocIndex:0},{value:"UploadProps",paraId:1,tocIndex:4},{value:"UploadImageProps",paraId:2,tocIndex:4},{value:"\u66F4\u591A",paraId:3,tocIndex:4}]},15373:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:"\u6C34\u5370\u7EC4\u4EF6",paraId:0,tocIndex:0},{value:"WaterMarkProps",paraId:1,tocIndex:3}]},75021:function(P,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return _}});const _=[{value:`import CcsUtils from '@ccs-ui/utils';
|
|
73
74
|
|
|
74
75
|
// \u5DE5\u5177\u7C7B\u8C03\u7528
|
|
75
76
|
CcsUtils.aesDecrypt();
|
|
76
77
|
CcsUtils.aesEncrypt();
|
|
77
78
|
CcsUtils.???();
|
|
78
|
-
`,paraId:0}]},86893:function(
|
|
79
|
+
`,paraId:0}]},86893:function(P,n){"use strict";n.Z=`import {
|
|
79
80
|
CloseOutlined,
|
|
80
81
|
LeftOutlined,
|
|
81
82
|
LoadingOutlined,
|
|
@@ -387,7 +388,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
387
388
|
}
|
|
388
389
|
|
|
389
390
|
export default AjCaptcha;
|
|
390
|
-
`},35759:function(
|
|
391
|
+
`},35759:function(P,n){"use strict";n.Z=`import { DebounceOptions } from 'ahooks/lib/useDebounce/debounceOptions';
|
|
391
392
|
import {
|
|
392
393
|
ButtonProps,
|
|
393
394
|
FormInstance,
|
|
@@ -399,10 +400,12 @@ import { CheckboxGroupProps } from 'antd/es/checkbox';
|
|
|
399
400
|
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
400
401
|
import { ReactElement, ReactNode } from 'react';
|
|
401
402
|
import {
|
|
403
|
+
ApiRequestProps,
|
|
402
404
|
FormItemProps,
|
|
403
405
|
PageFieldNames,
|
|
404
406
|
PropsWithChildren,
|
|
405
407
|
PropsWithCss,
|
|
408
|
+
SelectFieldNames,
|
|
406
409
|
} from '../ccs';
|
|
407
410
|
|
|
408
411
|
export type AtomOperationProps<T> = PropsWithChildren<T> &
|
|
@@ -479,21 +482,31 @@ export interface AtomFullScreenProps {
|
|
|
479
482
|
parentHtmlId?: string;
|
|
480
483
|
}
|
|
481
484
|
|
|
482
|
-
export interface AtomCheckboxProps {
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
/** \u5168\u9009 */
|
|
486
|
-
|
|
485
|
+
export interface AtomCheckboxProps extends PropsWithCss {
|
|
486
|
+
// \u5F39\u51FA\u6846\u6A21\u5F0F\u914D\u7F6E
|
|
487
|
+
popoverMode?: Omit<PopoverProps, 'content'>;
|
|
488
|
+
/** \u5168\u9009, @default true */
|
|
489
|
+
showAll?: boolean;
|
|
490
|
+
/** \u5B57\u6BB5\u540D\u914D\u7F6E */
|
|
491
|
+
fieldNames?: SelectFieldNames;
|
|
487
492
|
/** \u9009\u9879 */
|
|
488
493
|
options?: CheckboxGroupProps['options'];
|
|
489
|
-
/** \u4F4D\u7F6E */
|
|
490
|
-
placement?: PopoverProps['placement'];
|
|
491
494
|
/** \u9ED8\u8BA4\u9009\u4E2D\u9879 */
|
|
492
|
-
defaultCheckedKeys?:
|
|
495
|
+
defaultCheckedKeys?: React.Key[];
|
|
496
|
+
/** \u662F\u5426\u52A0\u8F7D\u4E2D */
|
|
497
|
+
loading?: boolean;
|
|
498
|
+
/** \u9009\u4E2D\u9879\u5F15\u7528 */
|
|
499
|
+
selectedRef?: React.MutableRefObject<any>;
|
|
500
|
+
/** \u9009\u4E2D\u9879 */
|
|
501
|
+
value?: React.Key[];
|
|
493
502
|
/** \u9009\u4E2D\u6539\u53D8 */
|
|
494
503
|
onChange?: (keys: string[]) => void;
|
|
495
504
|
}
|
|
496
505
|
|
|
506
|
+
export interface AtomCheckboxApiProps
|
|
507
|
+
extends AtomCheckboxProps,
|
|
508
|
+
ApiRequestProps {}
|
|
509
|
+
|
|
497
510
|
export type AtomTitleProps = PropsWithCss & PropsWithChildren;
|
|
498
511
|
|
|
499
512
|
/** \u8BF7\u6C42\u4E8B\u4EF6\u7C7B\u578B */
|
|
@@ -604,41 +617,105 @@ export interface AtomLoadingProps {
|
|
|
604
617
|
/** loading \u6587\u5B57\u8BF4\u660E */
|
|
605
618
|
loadingTip?: ReactNode;
|
|
606
619
|
}
|
|
607
|
-
`},
|
|
608
|
-
import {
|
|
609
|
-
import {
|
|
620
|
+
`},793:function(P,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
|
|
621
|
+
import { RequestType } from '../ccs';
|
|
622
|
+
import { AtomCheckboxApiProps } from './_api';
|
|
623
|
+
import AtomCheckbox from './check';
|
|
624
|
+
import useApiRequest from './useApiRequest';
|
|
625
|
+
|
|
626
|
+
export default function AtomCheckboxApi(props: AtomCheckboxApiProps) {
|
|
627
|
+
const { request, defaultParams, cache, ...checkProps } = props;
|
|
628
|
+
|
|
629
|
+
const apiProps = CcsUtils.isFunction(request)
|
|
630
|
+
? { service: request, defaultParams, cache }
|
|
631
|
+
: (request as RequestType);
|
|
632
|
+
|
|
633
|
+
const { data = [], loading } = useApiRequest(apiProps);
|
|
634
|
+
|
|
635
|
+
// \u5168\u9009\u4E8B
|
|
636
|
+
return (
|
|
637
|
+
<AtomCheckbox options={data as any} loading={loading} {...checkProps} />
|
|
638
|
+
);
|
|
639
|
+
}
|
|
640
|
+
`},13924:function(P,n){"use strict";n.Z=`import { Checkbox, CheckboxProps, Divider, Popover } from 'antd';
|
|
641
|
+
import classNames from 'classnames';
|
|
642
|
+
import { useEffect, useState } from 'react';
|
|
610
643
|
import { classAtomPrefix } from '.';
|
|
644
|
+
import { CcsAtom } from '..';
|
|
611
645
|
import { AtomCheckboxProps } from './_api';
|
|
646
|
+
import useFieldOptions from './useFieldOptions';
|
|
612
647
|
|
|
613
648
|
const CheckboxGroup = Checkbox.Group;
|
|
614
649
|
|
|
615
650
|
export default function AtomCheckbox(props: AtomCheckboxProps) {
|
|
616
|
-
const {
|
|
617
|
-
|
|
651
|
+
const {
|
|
652
|
+
style,
|
|
653
|
+
value,
|
|
654
|
+
className,
|
|
655
|
+
loading,
|
|
656
|
+
showAll,
|
|
657
|
+
popoverMode,
|
|
658
|
+
options = [],
|
|
659
|
+
defaultCheckedKeys = [],
|
|
660
|
+
fieldNames,
|
|
661
|
+
selectedRef,
|
|
662
|
+
} = props;
|
|
663
|
+
|
|
664
|
+
// \u662F\u5426\u53D7\u63A7
|
|
665
|
+
const hasValue = 'value' in props;
|
|
666
|
+
|
|
667
|
+
const [checkedList, setCheckedList] =
|
|
668
|
+
useState<React.Key[]>(defaultCheckedKeys);
|
|
669
|
+
|
|
670
|
+
// \u5F53\u524D\u9009\u4E2D\u9879
|
|
671
|
+
const checkedKeys = hasValue ? (value as React.Key[]) : checkedList;
|
|
672
|
+
|
|
673
|
+
// \u9009\u9879
|
|
674
|
+
const selectOptions = useFieldOptions(options, { fieldNames }) || [];
|
|
618
675
|
|
|
619
676
|
// \u9009\u4E2D\u6539\u53D8\u4E8B\u4EF6
|
|
620
677
|
const onChange = (keys: string[]) => {
|
|
621
|
-
setCheckedList(keys);
|
|
678
|
+
if (!hasValue) setCheckedList(keys);
|
|
679
|
+
|
|
622
680
|
props.onChange?.(keys);
|
|
681
|
+
if (selectedRef)
|
|
682
|
+
selectedRef.current = selectOptions.filter((option) => {
|
|
683
|
+
const value = typeof option === 'object' ? option.value : option;
|
|
684
|
+
return keys.includes(value);
|
|
685
|
+
});
|
|
623
686
|
};
|
|
624
687
|
|
|
688
|
+
// selectedRef \u9ED8\u8BA4\u5DF2\u9009\u62E9\u7684\u6570\u636E
|
|
689
|
+
useEffect(() => {
|
|
690
|
+
if (!selectedRef) return;
|
|
691
|
+
|
|
692
|
+
const defaultKeys = hasValue ? value : defaultCheckedKeys;
|
|
693
|
+
if (defaultKeys && defaultKeys.length > 0) {
|
|
694
|
+
selectedRef.current = selectOptions.filter((option) => {
|
|
695
|
+
const value = typeof option === 'object' ? option.value : option;
|
|
696
|
+
return defaultKeys.includes(value);
|
|
697
|
+
});
|
|
698
|
+
}
|
|
699
|
+
}, [selectOptions]);
|
|
700
|
+
|
|
625
701
|
// \u5168\u9009\u4E8B\u4EF6
|
|
626
702
|
const onCheckAllChange: CheckboxProps['onChange'] = (e) => {
|
|
627
703
|
const keys = e.target.checked
|
|
628
|
-
?
|
|
704
|
+
? selectOptions.map((o) => (typeof o === 'object' ? o.value : o))
|
|
629
705
|
: [];
|
|
630
|
-
|
|
631
|
-
|
|
706
|
+
|
|
707
|
+
onChange(keys);
|
|
632
708
|
};
|
|
633
709
|
|
|
634
|
-
|
|
635
|
-
|
|
710
|
+
// \u6E32\u67D3\u5168\u9009
|
|
711
|
+
const renderAll = () => {
|
|
712
|
+
if (showAll === false || !selectOptions?.length) return;
|
|
636
713
|
|
|
637
714
|
// \u5168\u9009
|
|
638
|
-
const checkAll =
|
|
715
|
+
const checkAll = selectOptions.length === checkedKeys.length;
|
|
639
716
|
// \u534A\u9009
|
|
640
717
|
const indeterminate =
|
|
641
|
-
|
|
718
|
+
checkedKeys.length > 0 && checkedKeys.length < selectOptions.length;
|
|
642
719
|
|
|
643
720
|
return (
|
|
644
721
|
<>
|
|
@@ -654,28 +731,25 @@ export default function AtomCheckbox(props: AtomCheckboxProps) {
|
|
|
654
731
|
);
|
|
655
732
|
};
|
|
656
733
|
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
onChange={onChange}
|
|
669
|
-
/>
|
|
670
|
-
</>
|
|
671
|
-
}
|
|
672
|
-
>
|
|
673
|
-
<Button type="text" icon={<SettingOutlined />} {...btnProps} />
|
|
674
|
-
</Popover>
|
|
675
|
-
</>
|
|
734
|
+
const content = (
|
|
735
|
+
<CcsAtom.Spin spinning={loading === true}>
|
|
736
|
+
{renderAll()}
|
|
737
|
+
<CheckboxGroup
|
|
738
|
+
style={style}
|
|
739
|
+
className={classNames(\`\${classAtomPrefix}-check-group\`, className)}
|
|
740
|
+
options={selectOptions}
|
|
741
|
+
value={checkedKeys as any[]}
|
|
742
|
+
onChange={onChange}
|
|
743
|
+
/>
|
|
744
|
+
</CcsAtom.Spin>
|
|
676
745
|
);
|
|
746
|
+
|
|
747
|
+
if (popoverMode) {
|
|
748
|
+
return <Popover {...popoverMode} content={content} />;
|
|
749
|
+
}
|
|
750
|
+
return content;
|
|
677
751
|
}
|
|
678
|
-
`},36483:function(
|
|
752
|
+
`},36483:function(P,n){"use strict";n.Z=`import { useInterval } from 'ahooks';
|
|
679
753
|
import { Button } from 'antd';
|
|
680
754
|
import {
|
|
681
755
|
ForwardedRef,
|
|
@@ -780,13 +854,11 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
780
854
|
}
|
|
781
855
|
|
|
782
856
|
export default forwardRef(AtomCountdown);
|
|
783
|
-
`},77822:function(
|
|
857
|
+
`},77822:function(P,n){"use strict";n.Z=`import { SendOutlined } from '@ant-design/icons';
|
|
784
858
|
import { CcsAtom } from '@ccs-ui/rc-pro';
|
|
785
859
|
import { Button, Divider } from 'antd';
|
|
786
860
|
import { useState } from 'react';
|
|
787
861
|
|
|
788
|
-
const plainOptions = ['Apple', 'Pear', 'Orange'];
|
|
789
|
-
|
|
790
862
|
export default () => {
|
|
791
863
|
const [size, setSize] = useState('');
|
|
792
864
|
const [loading, setLoading] = useState(false);
|
|
@@ -800,14 +872,7 @@ export default () => {
|
|
|
800
872
|
parentHtmlId="ccs-pro-table"
|
|
801
873
|
btnProps={{ children: '\u5168\u5C4F' }}
|
|
802
874
|
/>
|
|
803
|
-
|
|
804
|
-
btnProps={{ children: '\u4E0B\u62C9\u9009\u62E9\u7EC4' }}
|
|
805
|
-
options={plainOptions}
|
|
806
|
-
defaultCheckedKeys={['Apple', 'Pear']}
|
|
807
|
-
onChange={(e) => {
|
|
808
|
-
console.log('CcsAtom.Checkbox onChange', e);
|
|
809
|
-
}}
|
|
810
|
-
/>
|
|
875
|
+
|
|
811
876
|
<CcsAtom.Countdown
|
|
812
877
|
icon={<SendOutlined />}
|
|
813
878
|
type="text"
|
|
@@ -843,7 +908,41 @@ export default () => {
|
|
|
843
908
|
</div>
|
|
844
909
|
);
|
|
845
910
|
};
|
|
846
|
-
`},
|
|
911
|
+
`},77325:function(P,n){"use strict";n.Z=`import { CcsAtom } from '@ccs-ui/rc-pro';
|
|
912
|
+
import { useRef } from 'react';
|
|
913
|
+
|
|
914
|
+
function fetchCheckboxData() {
|
|
915
|
+
return new Promise<any>((resolve) => {
|
|
916
|
+
setTimeout(() => {
|
|
917
|
+
resolve({
|
|
918
|
+
success: true,
|
|
919
|
+
data: [
|
|
920
|
+
{ label: 'Apple', value: 'Apple' },
|
|
921
|
+
{ label: 'Pear', value: 'Pear' },
|
|
922
|
+
{ label: 'Orange', value: 'Orange' },
|
|
923
|
+
],
|
|
924
|
+
});
|
|
925
|
+
}, 1000);
|
|
926
|
+
});
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
export default function AtomSpin() {
|
|
930
|
+
const ref = useRef<any>();
|
|
931
|
+
return (
|
|
932
|
+
<>
|
|
933
|
+
<CcsAtom.CheckboxApi
|
|
934
|
+
defaultCheckedKeys={['Apple', 'Pear']}
|
|
935
|
+
fieldNames={{ label: ['data', 'label'], value: ['data', 'value'] }}
|
|
936
|
+
onChange={(e) => {
|
|
937
|
+
console.log('CcsAtom.Checkbox onChange', e);
|
|
938
|
+
}}
|
|
939
|
+
request={{ service: fetchCheckboxData }}
|
|
940
|
+
selectedRef={ref}
|
|
941
|
+
/>
|
|
942
|
+
</>
|
|
943
|
+
);
|
|
944
|
+
}
|
|
945
|
+
`},5228:function(P,n){"use strict";n.Z=`import CCS, { CcsAtom, CcsProTable } from '@ccs-ui/rc-pro';
|
|
847
946
|
import { Divider } from 'antd';
|
|
848
947
|
|
|
849
948
|
const fieldname = \`\u94F8\u9B42\u624E\u6839\uFF0C\u65B9\u80FD\u884C\u7A33\u81F4\u8FDC\u3002\u5E74\u8F7B\u5E72\u90E8\u6295\u8EAB\u4E61\u6751\u5168\u9762\u632F\u5174\uFF0C\u9996\u8981\u7684\u662F\u89E3\u51B3\u201C\u4E3A\u8C01\u5E72\u4E8B\u3001\u5982\u4F55\u5E72\u4E8B\u201D\u7684\u6839\u672C\u95EE\u9898\u3002\u4E61\u6751\u5DE5\u4F5C\u76F4\u9762\u57FA\u5C42\u7FA4\u4F17\uFF0C\u60C5\u51B5\u9519\u7EFC\u590D\u6742\u3002\u82E5\u7406\u8BBA\u6B66\u88C5\u4E0D\u6DF1\u3001\u653F\u7B56\u628A\u63E1\u4E0D\u51C6\uFF0C\u884C\u52A8\u4FBF\u4F1A\u504F\u79BB\u822A\u5411\uFF1B\u82E5\u7FA4\u4F17\u611F\u60C5\u4E0D\u591F\u6DF1\u539A\uFF0C\u5DE5\u4F5C\u5C31\u53EF\u80FD\u9677\u5165\u201C\u81EA\u8BF4\u81EA\u8BDD\u201D\u6216\u201C\u6C34\u571F\u4E0D\u670D\u201D\u7684\u56F0\u5883\u3002\u5FC5\u987B\u628A\u5F3A\u5316\u601D\u60F3\u6DEC\u70BC\u548C\u653F\u6CBB\u5386\u7EC3\u6446\u5728\u9996\u4F4D\uFF0C\u5F15\u5BFC\u5E74\u8F7B\u5E72\u90E8\u6DF1\u5165\u5B66\u4E60\u8D2F\u5F7B\u4E60\u8FD1\u5E73\u65B0\u65F6\u4EE3\u4E2D\u56FD\u7279\u8272\u793E\u4F1A\u4E3B\u4E49\u601D\u60F3\uFF0C\u7279\u522B\u662F\u4E60\u8FD1\u5E73\u603B\u4E66\u8BB0\u5173\u4E8E\u201C\u4E09\u519C\u201D\u5DE5\u4F5C\u91CD\u8981\u8BBA\u8FF0\uFF0C\u5728\u52E4\u5B66\u5584\u601D\u4E2D\u4E0D\u65AD\u575A\u5B9A\u7406\u60F3\u4FE1\u5FF5\uFF0C\u786E\u4FDD\u4E61\u6751\u5DE5\u4F5C\u59CB\u7EC8\u6CBF\u7740\u6B63\u786E\u65B9\u5411\u524D\u8FDB\u3002\u8BA9\u7406\u8BBA\u5B66\u4E60\u7684\u201C\u6DF1\u5EA6\u201D\u8F6C\u5316\u4E3A\u670D\u52A1\u7FA4\u4F17\u7684\u201C\u6E29\u5EA6\u201D\uFF0C\u63A8\u52A8\u5E74\u8F7B\u5E72\u90E8\u6C89\u5230\u7530\u95F4\u5730\u5934\u3001\u519C\u5BB6\u9662\u843D\uFF0C\u4E0E\u519C\u6C11\u7FA4\u4F17\u540C\u5750\u4E00\u6761\u677F\u51F3\u3001\u540C\u5E72\u4E00\u573A\u519C\u6D3B\uFF0C\u5728\u503E\u542C\u6C11\u58F0\u3001\u611F\u77E5\u6C11\u60C5\u4E2D\u589E\u8FDB\u7406\u89E3\u3001\u5EFA\u7ACB\u4FE1\u4EFB\uFF0C\u771F\u6B63\u628A\u6839\u624E\u5728\u6CE5\u571F\u91CC\u3001\u624E\u5728\u767E\u59D3\u4E2D\`;
|
|
@@ -941,7 +1040,7 @@ export default () => {
|
|
|
941
1040
|
</>
|
|
942
1041
|
);
|
|
943
1042
|
};
|
|
944
|
-
`},51655:function(
|
|
1043
|
+
`},51655:function(P,n){"use strict";n.Z=`import CCS, { CcsAtom, CcsDatePicker } from '@ccs-ui/rc-pro';
|
|
945
1044
|
import { DatePicker, Input, InputNumber, Select } from 'antd';
|
|
946
1045
|
|
|
947
1046
|
export default () => {
|
|
@@ -1003,44 +1102,7 @@ export default () => {
|
|
|
1003
1102
|
/>
|
|
1004
1103
|
);
|
|
1005
1104
|
};
|
|
1006
|
-
`},
|
|
1007
|
-
import ProCheckbox from '../check';
|
|
1008
|
-
|
|
1009
|
-
export default () => {
|
|
1010
|
-
return (
|
|
1011
|
-
<div id="ccs-pro-table">
|
|
1012
|
-
<CcsAtom.Operation
|
|
1013
|
-
parentHtmlId="ccs-pro-table"
|
|
1014
|
-
extraLeft={
|
|
1015
|
-
<CcsButton.Group
|
|
1016
|
-
items={[
|
|
1017
|
-
{ label: '\u6309\u94AE1', key: 'btn1', type: 'primary' },
|
|
1018
|
-
{ label: '\u6309\u94AE2', key: 'btn2' },
|
|
1019
|
-
]}
|
|
1020
|
-
/>
|
|
1021
|
-
}
|
|
1022
|
-
onReset={() => {
|
|
1023
|
-
console.log('onReset...');
|
|
1024
|
-
}}
|
|
1025
|
-
size="middle"
|
|
1026
|
-
onChangeSize={(e) => {
|
|
1027
|
-
console.log('onChangeSize', e);
|
|
1028
|
-
}}
|
|
1029
|
-
extraRight={
|
|
1030
|
-
<ProCheckbox
|
|
1031
|
-
placement="bottomRight"
|
|
1032
|
-
options={[
|
|
1033
|
-
{ label: '\u9009\u98791', value: '1' },
|
|
1034
|
-
{ label: '\u9009\u98792', value: '2' },
|
|
1035
|
-
{ label: '\u9009\u98793', value: '3' },
|
|
1036
|
-
]}
|
|
1037
|
-
/>
|
|
1038
|
-
}
|
|
1039
|
-
/>
|
|
1040
|
-
</div>
|
|
1041
|
-
);
|
|
1042
|
-
};
|
|
1043
|
-
`},20315:function(g,n){"use strict";n.Z=`import { Button, Space } from 'antd';
|
|
1105
|
+
`},20315:function(P,n){"use strict";n.Z=`import { Button, Space } from 'antd';
|
|
1044
1106
|
import useComplexState from '../useComplexState';
|
|
1045
1107
|
|
|
1046
1108
|
export default () => {
|
|
@@ -1082,7 +1144,7 @@ export default () => {
|
|
|
1082
1144
|
</div>
|
|
1083
1145
|
);
|
|
1084
1146
|
};
|
|
1085
|
-
`},7122:function(
|
|
1147
|
+
`},7122:function(P,n){"use strict";n.Z=`import { CopyOutlined } from '@ant-design/icons';
|
|
1086
1148
|
import CcsUtils from '@ccs-ui/utils';
|
|
1087
1149
|
import { useDebounce, useSize, useUpdateEffect } from 'ahooks';
|
|
1088
1150
|
import { Button, message, Tooltip } from 'antd';
|
|
@@ -1190,7 +1252,9 @@ function Ellipsis({
|
|
|
1190
1252
|
|
|
1191
1253
|
dataRef.current.step = newStepNum;
|
|
1192
1254
|
|
|
1193
|
-
|
|
1255
|
+
if (!walkingContentRef.current) return;
|
|
1256
|
+
|
|
1257
|
+
const dom = walkingContentRef.current;
|
|
1194
1258
|
// \u5185\u5BB9\u6CA1\u6709\u8D85\u51FA\u6700\u5927\u9AD8\u5EA6
|
|
1195
1259
|
if (dom.offsetHeight === dom.scrollHeight) {
|
|
1196
1260
|
// \u5185\u5BB9\u6CA1\u6709\u8D85\u51FA\u6700\u5927\u9AD8\u5EA6\uFF0C\u4E0D\u9700\u8981\u7701\u7565\u53F7
|
|
@@ -1333,7 +1397,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1333
1397
|
}
|
|
1334
1398
|
|
|
1335
1399
|
export default React.memo(AtomEllipsis, (l, n) => l.content === n.content);
|
|
1336
|
-
`},24706:function(
|
|
1400
|
+
`},24706:function(P,n){"use strict";n.Z=`import { DownOutlined, UpOutlined } from '@ant-design/icons';
|
|
1337
1401
|
import { Button, Form, theme } from 'antd';
|
|
1338
1402
|
import React, {
|
|
1339
1403
|
CSSProperties,
|
|
@@ -1562,7 +1626,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1562
1626
|
}
|
|
1563
1627
|
|
|
1564
1628
|
export default React.forwardRef(AtomFilter);
|
|
1565
|
-
`},11361:function(
|
|
1629
|
+
`},11361:function(P,n){"use strict";n.Z=`import { FullscreenExitOutlined, FullscreenOutlined } from '@ant-design/icons';
|
|
1566
1630
|
import { Button, theme, Tooltip } from 'antd';
|
|
1567
1631
|
import { useEffect, useRef, useState } from 'react';
|
|
1568
1632
|
import { classAtomPrefix } from '.';
|
|
@@ -1623,7 +1687,8 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1623
1687
|
}
|
|
1624
1688
|
|
|
1625
1689
|
export default AtomFullScreen;
|
|
1626
|
-
`},7169:function(
|
|
1690
|
+
`},7169:function(P,n){"use strict";n.Z=`import AtomCheckbox from './check';
|
|
1691
|
+
import AtomCheckboxApi from './check-api';
|
|
1627
1692
|
import AtomCountdown from './count-down';
|
|
1628
1693
|
import AtomEllipsis from './ellipsis';
|
|
1629
1694
|
import AtomFilter from './filter';
|
|
@@ -1632,8 +1697,11 @@ import './index.less';
|
|
|
1632
1697
|
import AtomLoading from './loading';
|
|
1633
1698
|
import AtomOperation from './operation';
|
|
1634
1699
|
import AtomResize from './resize-observer';
|
|
1700
|
+
import AtomSpin from './spin';
|
|
1635
1701
|
import AtomTitle from './title';
|
|
1702
|
+
import useApiRequest from './useApiRequest';
|
|
1636
1703
|
import useComplexState from './useComplexState';
|
|
1704
|
+
import useFieldOptions from './useFieldOptions';
|
|
1637
1705
|
import usePageRequest from './usePageRequest';
|
|
1638
1706
|
|
|
1639
1707
|
export const classAtomPrefix = 'ccs-atom';
|
|
@@ -1652,6 +1720,9 @@ Atom.Operation = AtomOperation;
|
|
|
1652
1720
|
/** Checkbox */
|
|
1653
1721
|
Atom.Checkbox = AtomCheckbox;
|
|
1654
1722
|
|
|
1723
|
+
/** Checkbox - API\u65B9\u5F0F */
|
|
1724
|
+
Atom.CheckboxApi = AtomCheckboxApi;
|
|
1725
|
+
|
|
1655
1726
|
/** \u5168\u5C4F */
|
|
1656
1727
|
Atom.FullScreen = AtomFullScreen;
|
|
1657
1728
|
|
|
@@ -1667,21 +1738,30 @@ Atom.Countdown = AtomCountdown;
|
|
|
1667
1738
|
/** \u6587\u672C\u7F29\u7565 */
|
|
1668
1739
|
Atom.Ellipsis = AtomEllipsis;
|
|
1669
1740
|
|
|
1741
|
+
/** \u76F8\u5BF9loading */
|
|
1742
|
+
Atom.Loading = AtomLoading;
|
|
1743
|
+
|
|
1744
|
+
/** Spin */
|
|
1745
|
+
Atom.Spin = AtomSpin;
|
|
1746
|
+
|
|
1670
1747
|
/** \u5206\u9875\u8BF7\u6C42hooks */
|
|
1671
1748
|
Atom.usePageRequest = usePageRequest;
|
|
1672
1749
|
|
|
1673
1750
|
/** \u591A\u72B6\u6001\u7BA1\u7406 */
|
|
1674
1751
|
Atom.useComplexState = useComplexState;
|
|
1675
1752
|
|
|
1676
|
-
/** \
|
|
1677
|
-
Atom.
|
|
1753
|
+
/** \u6839\u636E\u5B57\u6BB5\u540D\u83B7\u53D6\u9009\u9879 */
|
|
1754
|
+
Atom.useFieldOptions = useFieldOptions;
|
|
1755
|
+
|
|
1756
|
+
/** API\u8BF7\u6C42hooks */
|
|
1757
|
+
Atom.useApiRequest = useApiRequest;
|
|
1678
1758
|
|
|
1679
1759
|
if (process.env.NODE_ENV !== 'production') {
|
|
1680
1760
|
Atom.displayName = 'CcsAtom';
|
|
1681
1761
|
}
|
|
1682
1762
|
|
|
1683
1763
|
export default Atom;
|
|
1684
|
-
`},68666:function(
|
|
1764
|
+
`},68666:function(P,n){"use strict";n.Z=`import { theme as antTheme } from 'antd';
|
|
1685
1765
|
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
1686
1766
|
import classNames from 'classnames';
|
|
1687
1767
|
import { PropsWithChildren, PropsWithCss } from '../ccs';
|
|
@@ -1719,7 +1799,7 @@ export default function AtomItem({
|
|
|
1719
1799
|
</div>
|
|
1720
1800
|
);
|
|
1721
1801
|
}
|
|
1722
|
-
`},91680:function(
|
|
1802
|
+
`},91680:function(P,n){"use strict";n.Z=`import { LoadingOutlined } from '@ant-design/icons';
|
|
1723
1803
|
import { Space, Spin } from 'antd';
|
|
1724
1804
|
import { AtomLoadingProps } from './_api';
|
|
1725
1805
|
|
|
@@ -1741,7 +1821,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1741
1821
|
}
|
|
1742
1822
|
|
|
1743
1823
|
export default AtomLoading;
|
|
1744
|
-
`},63013:function(
|
|
1824
|
+
`},63013:function(P,n){"use strict";n.Z=`import { ColumnHeightOutlined, RedoOutlined } from '@ant-design/icons';
|
|
1745
1825
|
import { Button, Dropdown, Tooltip } from 'antd';
|
|
1746
1826
|
import classNames from 'classnames';
|
|
1747
1827
|
import { classAtomPrefix } from '.';
|
|
@@ -1812,7 +1892,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1812
1892
|
}
|
|
1813
1893
|
|
|
1814
1894
|
export default AtomOperation;
|
|
1815
|
-
`},99021:function(
|
|
1895
|
+
`},99021:function(P,n){"use strict";n.Z=`import { useDebounce, useSize } from 'ahooks';
|
|
1816
1896
|
import { useEffect, useRef } from 'react';
|
|
1817
1897
|
import { AtomResizeProps, ResizeSize } from './_api';
|
|
1818
1898
|
|
|
@@ -1886,7 +1966,13 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1886
1966
|
}
|
|
1887
1967
|
|
|
1888
1968
|
export default AtomResize;
|
|
1889
|
-
`},
|
|
1969
|
+
`},25941:function(P,n){"use strict";n.Z=`import { LoadingOutlined } from '@ant-design/icons';
|
|
1970
|
+
import { Spin, SpinProps } from 'antd';
|
|
1971
|
+
|
|
1972
|
+
export default function AtomSpin(props: SpinProps) {
|
|
1973
|
+
return <Spin indicator={<LoadingOutlined spin />} {...props} />;
|
|
1974
|
+
}
|
|
1975
|
+
`},92649:function(P,n){"use strict";n.Z=`import { theme } from 'antd';
|
|
1890
1976
|
import { AtomTitleProps } from './_api';
|
|
1891
1977
|
import ProBaseItem from './item';
|
|
1892
1978
|
|
|
@@ -1912,7 +1998,31 @@ export default function AtomTitle({
|
|
|
1912
1998
|
</ProBaseItem>
|
|
1913
1999
|
);
|
|
1914
2000
|
}
|
|
1915
|
-
`},
|
|
2001
|
+
`},44390:function(P,n){"use strict";n.Z=`import { useRequest } from 'ahooks';
|
|
2002
|
+
import { useEffect } from 'react';
|
|
2003
|
+
import { RequestType } from '../ccs';
|
|
2004
|
+
|
|
2005
|
+
export default function useApiRequest(props: RequestType) {
|
|
2006
|
+
const { service, defaultParams, cache = {} } = props || {};
|
|
2007
|
+
const { loading, data, run } = useRequest(
|
|
2008
|
+
async (params) => {
|
|
2009
|
+
if (!service) return undefined;
|
|
2010
|
+
|
|
2011
|
+
return await service(params);
|
|
2012
|
+
},
|
|
2013
|
+
{
|
|
2014
|
+
manual: true,
|
|
2015
|
+
...cache,
|
|
2016
|
+
},
|
|
2017
|
+
);
|
|
2018
|
+
|
|
2019
|
+
useEffect(() => {
|
|
2020
|
+
if (service) run(defaultParams);
|
|
2021
|
+
}, [JSON.stringify(defaultParams)]);
|
|
2022
|
+
|
|
2023
|
+
return { loading, data };
|
|
2024
|
+
}
|
|
2025
|
+
`},84109:function(P,n){"use strict";n.Z=`import update, { Spec } from 'immutability-helper';
|
|
1916
2026
|
import { useCallback, useState } from 'react';
|
|
1917
2027
|
|
|
1918
2028
|
type Paths<T> = T extends object
|
|
@@ -2048,7 +2158,66 @@ export default function useComplexState<T>(
|
|
|
2048
2158
|
reset,
|
|
2049
2159
|
};
|
|
2050
2160
|
}
|
|
2051
|
-
`},
|
|
2161
|
+
`},39129:function(P,n){"use strict";n.Z=`import { useMemo } from 'react';
|
|
2162
|
+
import { SelectFieldNames } from '../ccs';
|
|
2163
|
+
import { getDataByNamePath } from '../utils';
|
|
2164
|
+
|
|
2165
|
+
function onIsArray(data: string | string[]) {
|
|
2166
|
+
if (Array.isArray(data)) return data;
|
|
2167
|
+
|
|
2168
|
+
return [data];
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
/** \u6839\u636E\u5B57\u6BB5\u540D\u83B7\u53D6\u9009\u9879 */
|
|
2172
|
+
export default function useFieldOptions(
|
|
2173
|
+
/** \u9009\u9879\u6570\u636E */
|
|
2174
|
+
options: any[],
|
|
2175
|
+
/** \u989D\u5916\u914D\u7F6E */
|
|
2176
|
+
extra: {
|
|
2177
|
+
/** \u5B57\u6BB5\u540D\u914D\u7F6E */
|
|
2178
|
+
fieldNames?: SelectFieldNames;
|
|
2179
|
+
/** \u9ED8\u8BA4\u9009\u9879 */
|
|
2180
|
+
defaultOptions?: any;
|
|
2181
|
+
},
|
|
2182
|
+
) {
|
|
2183
|
+
const labelField = [...onIsArray(extra?.fieldNames?.label || ['label'])];
|
|
2184
|
+
const valueField = [...onIsArray(extra?.fieldNames?.value || ['value'])];
|
|
2185
|
+
|
|
2186
|
+
// \u9009\u9879
|
|
2187
|
+
const selectOptions = useMemo(() => {
|
|
2188
|
+
let ops = options || [];
|
|
2189
|
+
while (labelField.length > 0 || valueField.length > 0) {
|
|
2190
|
+
if (Array.isArray(ops)) {
|
|
2191
|
+
ops.forEach((r) => {
|
|
2192
|
+
if (typeof r !== 'object') return;
|
|
2193
|
+
|
|
2194
|
+
r.label = getDataByNamePath(r, labelField);
|
|
2195
|
+
r.value = getDataByNamePath(r, valueField);
|
|
2196
|
+
});
|
|
2197
|
+
break;
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
labelField.shift();
|
|
2201
|
+
const value = valueField.shift();
|
|
2202
|
+
|
|
2203
|
+
if (value && ops !== undefined) {
|
|
2204
|
+
ops = ops[value];
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
|
|
2208
|
+
// \u9ED8\u8BA4\u9009\u9879
|
|
2209
|
+
if (extra?.defaultOptions) {
|
|
2210
|
+
return Array.isArray(extra?.defaultOptions)
|
|
2211
|
+
? extra.defaultOptions.concat(ops)
|
|
2212
|
+
: [extra.defaultOptions].concat(ops);
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
return ops;
|
|
2216
|
+
}, [options]);
|
|
2217
|
+
|
|
2218
|
+
return selectOptions;
|
|
2219
|
+
}
|
|
2220
|
+
`},71754:function(P,n){"use strict";n.Z=`import { useMemoizedFn } from 'ahooks';
|
|
2052
2221
|
import { useMemo, useState } from 'react';
|
|
2053
2222
|
import CCS, { useCcsPage } from '..';
|
|
2054
2223
|
import { RecordType } from '../ccs';
|
|
@@ -2218,7 +2387,7 @@ export default function usePageRequest<RecordType>({
|
|
|
2218
2387
|
|
|
2219
2388
|
return { data, isAuth, onRequest, onChangeData };
|
|
2220
2389
|
}
|
|
2221
|
-
`},44403:function(
|
|
2390
|
+
`},44403:function(P,n){"use strict";n.Z=`import { CcsAuth } from '@ccs-ui/rc-pro';
|
|
2222
2391
|
|
|
2223
2392
|
export default function Basic() {
|
|
2224
2393
|
return (
|
|
@@ -2229,7 +2398,7 @@ export default function Basic() {
|
|
|
2229
2398
|
</CcsAuth>
|
|
2230
2399
|
);
|
|
2231
2400
|
}
|
|
2232
|
-
`},93722:function(
|
|
2401
|
+
`},93722:function(P,n){"use strict";n.Z=`import { Modal } from 'antd';
|
|
2233
2402
|
import { ReactElement, useEffect } from 'react';
|
|
2234
2403
|
import { useCcsPage } from '..';
|
|
2235
2404
|
|
|
@@ -2275,7 +2444,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
2275
2444
|
}
|
|
2276
2445
|
|
|
2277
2446
|
export default CcsAuth;
|
|
2278
|
-
`},45621:function(
|
|
2447
|
+
`},45621:function(P,n){"use strict";n.Z=`import { ButtonProps as AntButtonProps } from 'antd';
|
|
2279
2448
|
import { ItemType } from 'antd/es/menu/interface';
|
|
2280
2449
|
import { DropDownProps as AntDropDownProps } from 'antd/lib/dropdown';
|
|
2281
2450
|
import { MenuInfo } from 'rc-menu/lib/interface';
|
|
@@ -2357,7 +2526,7 @@ export interface ButtonGroupProps {
|
|
|
2357
2526
|
/** \u70B9\u51FB\u4E8B\u4EF6 */
|
|
2358
2527
|
onClick?: GroupClick;
|
|
2359
2528
|
}
|
|
2360
|
-
`},13703:function(
|
|
2529
|
+
`},13703:function(P,n){"use strict";n.Z=`import { Button, Space } from 'antd';
|
|
2361
2530
|
import CcsButton from '..';
|
|
2362
2531
|
|
|
2363
2532
|
export default function Basic() {
|
|
@@ -2403,7 +2572,7 @@ export default function Basic() {
|
|
|
2403
2572
|
</Space>
|
|
2404
2573
|
);
|
|
2405
2574
|
}
|
|
2406
|
-
`},17367:function(
|
|
2575
|
+
`},17367:function(P,n){"use strict";n.Z=`import { DownOutlined, PlusOutlined } from '@ant-design/icons';
|
|
2407
2576
|
import { ButtonProps, Space } from 'antd';
|
|
2408
2577
|
import CcsButton from '..';
|
|
2409
2578
|
import { GroupButtonItem } from '../_api';
|
|
@@ -2483,7 +2652,7 @@ export default function Basic() {
|
|
|
2483
2652
|
</Space>
|
|
2484
2653
|
);
|
|
2485
2654
|
}
|
|
2486
|
-
`},83450:function(
|
|
2655
|
+
`},83450:function(P,n){"use strict";n.Z=`import { Dropdown } from 'antd';
|
|
2487
2656
|
import React, { useMemo } from 'react';
|
|
2488
2657
|
import { useCcsPage } from '..';
|
|
2489
2658
|
import { DropdownMenuItemType, DropdownProps } from './_api';
|
|
@@ -2551,7 +2720,7 @@ export default function CssButtonDropdown({
|
|
|
2551
2720
|
<></>
|
|
2552
2721
|
);
|
|
2553
2722
|
}
|
|
2554
|
-
`},55736:function(
|
|
2723
|
+
`},55736:function(P,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2555
2724
|
import { EllipsisOutlined, ExclamationCircleOutlined } from '@ant-design/icons';
|
|
2556
2725
|
import { Button, Divider, Dropdown, Space } from 'antd';
|
|
2557
2726
|
import { ModalStaticFunctions } from 'antd/es/modal/confirm';
|
|
@@ -2710,7 +2879,7 @@ export default function CssButtonGroup({
|
|
|
2710
2879
|
</>
|
|
2711
2880
|
);
|
|
2712
2881
|
}
|
|
2713
|
-
`},49202:function(
|
|
2882
|
+
`},49202:function(P,n){"use strict";n.Z=`import { ExclamationCircleOutlined } from '@ant-design/icons';
|
|
2714
2883
|
import { Button, Input, InputRef, Modal } from 'antd';
|
|
2715
2884
|
import { ModalStaticFunctions } from 'antd/es/modal/confirm';
|
|
2716
2885
|
import { useEffect, useRef } from 'react';
|
|
@@ -2850,7 +3019,7 @@ CcsButton.Group = CssButtonGroup;
|
|
|
2850
3019
|
CcsButton.Dropdown = CssButtonDropdown;
|
|
2851
3020
|
|
|
2852
3021
|
export default CcsButton;
|
|
2853
|
-
`},20848:function(
|
|
3022
|
+
`},20848:function(P,n){"use strict";n.Z=`import { CascaderProps as AntCascaderProps } from 'antd';
|
|
2854
3023
|
import { NamePath } from 'antd/es/form/interface';
|
|
2855
3024
|
import { CacheType } from '../ccs';
|
|
2856
3025
|
|
|
@@ -2867,7 +3036,7 @@ export type ApiCascaderProps = Omit<AntCascaderProps, 'fieldNames'> & {
|
|
|
2867
3036
|
/** \u67E5\u8BE2\u8BF7\u6C42 */
|
|
2868
3037
|
request?: (params?: any) => Promise<any>;
|
|
2869
3038
|
};
|
|
2870
|
-
`},20532:function(
|
|
3039
|
+
`},20532:function(P,n){"use strict";n.Z=`import { CcsCascader } from '@ccs-ui/rc-pro';
|
|
2871
3040
|
|
|
2872
3041
|
function onQuery() {
|
|
2873
3042
|
return new Promise((resolve) => {
|
|
@@ -2911,7 +3080,7 @@ export default () => {
|
|
|
2911
3080
|
/>
|
|
2912
3081
|
);
|
|
2913
3082
|
};
|
|
2914
|
-
`},75309:function(
|
|
3083
|
+
`},75309:function(P,n){"use strict";n.Z=`import { CcsCascader } from '@ccs-ui/rc-pro';
|
|
2915
3084
|
import { Button, Space } from 'antd';
|
|
2916
3085
|
import { useState } from 'react';
|
|
2917
3086
|
|
|
@@ -2969,7 +3138,7 @@ export default () => {
|
|
|
2969
3138
|
</Space>
|
|
2970
3139
|
);
|
|
2971
3140
|
};
|
|
2972
|
-
`},57066:function(
|
|
3141
|
+
`},57066:function(P,n){"use strict";n.Z=`import ApiCascader from './api';
|
|
2973
3142
|
|
|
2974
3143
|
const CcsCascader = () => <></>;
|
|
2975
3144
|
|
|
@@ -2981,7 +3150,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
2981
3150
|
CcsCascader.Api = ApiCascader;
|
|
2982
3151
|
|
|
2983
3152
|
export default CcsCascader;
|
|
2984
|
-
`},37846:function(
|
|
3153
|
+
`},37846:function(P,n){"use strict";n.Z=`import { CSSProperties, ReactElement, ReactNode } from 'react';
|
|
2985
3154
|
|
|
2986
3155
|
// \u4EFB\u610F\u53C2\u6570\u7C7B\u578B
|
|
2987
3156
|
type RecordType = Record<string, any>;
|
|
@@ -3042,7 +3211,7 @@ export * from './pro-tabs/_api';
|
|
|
3042
3211
|
export * from './select/_api';
|
|
3043
3212
|
export * from './upload/_api';
|
|
3044
3213
|
export * from './water-mark/_api';
|
|
3045
|
-
`},12290:function(
|
|
3214
|
+
`},12290:function(P,n){"use strict";n.Z=`import {
|
|
3046
3215
|
blue,
|
|
3047
3216
|
cyan,
|
|
3048
3217
|
gray,
|
|
@@ -3172,7 +3341,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3172
3341
|
}
|
|
3173
3342
|
|
|
3174
3343
|
export default CcsColorPicker;
|
|
3175
|
-
`},23456:function(
|
|
3344
|
+
`},23456:function(P,n){"use strict";n.Z=`import { darkTheme, defaultTheme } from '@ant-design/compatible';
|
|
3176
3345
|
import {
|
|
3177
3346
|
theme as antTheme,
|
|
3178
3347
|
App,
|
|
@@ -3310,7 +3479,7 @@ export default function CssAppConfig(props: AppConfigProps) {
|
|
|
3310
3479
|
</App>
|
|
3311
3480
|
);
|
|
3312
3481
|
}
|
|
3313
|
-
`},51412:function(
|
|
3482
|
+
`},51412:function(P,n){"use strict";n.Z=`import { ConfigProviderProps } from 'antd';
|
|
3314
3483
|
import { Store } from 'antd/es/form/interface';
|
|
3315
3484
|
import React from 'react';
|
|
3316
3485
|
import { Location } from 'react-router';
|
|
@@ -3414,7 +3583,7 @@ export type AppConfigType = {
|
|
|
3414
3583
|
*/
|
|
3415
3584
|
fieldNames?: AppFieldNames;
|
|
3416
3585
|
};
|
|
3417
|
-
`},45757:function(
|
|
3586
|
+
`},45757:function(P,n){"use strict";n.Z=`import React, { createContext } from 'react';
|
|
3418
3587
|
import { TabsContextType } from '../pro-tabs/_api';
|
|
3419
3588
|
import { AppConfigType, FnContextType, PageContextType } from './_api';
|
|
3420
3589
|
|
|
@@ -3428,7 +3597,7 @@ const TabsContext = React.createContext({} as TabsContextType);
|
|
|
3428
3597
|
const AppConfigContext = React.createContext<AppConfigType>({} as any);
|
|
3429
3598
|
|
|
3430
3599
|
export { AppConfigContext, DrawerAndModalContext, PageContext, TabsContext };
|
|
3431
|
-
`},797:function(
|
|
3600
|
+
`},797:function(P,n){"use strict";n.Z=`import { DatePickerProps as AntdDatePickerProps } from 'antd';
|
|
3432
3601
|
import { RangePickerProps as AntdRangePickerProps } from 'antd/es/date-picker';
|
|
3433
3602
|
|
|
3434
3603
|
/**
|
|
@@ -3449,7 +3618,7 @@ export type RangePickerProps = {
|
|
|
3449
3618
|
picker?: 'year' | 'month' | 'date';
|
|
3450
3619
|
onChange?: (e: [string, string]) => void;
|
|
3451
3620
|
} & Omit<AntdRangePickerProps, 'value' | 'onChange'>;
|
|
3452
|
-
`},29634:function(
|
|
3621
|
+
`},29634:function(P,n){"use strict";n.Z=`import { CcsDatePicker } from '@ccs-ui/rc-pro';
|
|
3453
3622
|
import { Form } from 'antd';
|
|
3454
3623
|
|
|
3455
3624
|
export default () => {
|
|
@@ -3480,7 +3649,7 @@ export default () => {
|
|
|
3480
3649
|
</Form>
|
|
3481
3650
|
);
|
|
3482
3651
|
};
|
|
3483
|
-
`},49277:function(
|
|
3652
|
+
`},49277:function(P,n){"use strict";n.Z=`import { CcsDatePicker } from '@ccs-ui/rc-pro';
|
|
3484
3653
|
import { Form } from 'antd';
|
|
3485
3654
|
|
|
3486
3655
|
export default () => {
|
|
@@ -3520,7 +3689,7 @@ export default () => {
|
|
|
3520
3689
|
</Form>
|
|
3521
3690
|
);
|
|
3522
3691
|
};
|
|
3523
|
-
`},45645:function(
|
|
3692
|
+
`},45645:function(P,n){"use strict";n.Z=`import {
|
|
3524
3693
|
DatePickerProps as AntdDatePickerProps,
|
|
3525
3694
|
DatePicker,
|
|
3526
3695
|
TimeRangePickerProps,
|
|
@@ -3587,7 +3756,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3587
3756
|
}
|
|
3588
3757
|
|
|
3589
3758
|
export default CcsDatePicker;
|
|
3590
|
-
`},95933:function(
|
|
3759
|
+
`},95933:function(P,n){"use strict";n.Z=`import { Drawer } from 'antd';
|
|
3591
3760
|
import classNames from 'classnames';
|
|
3592
3761
|
import { useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
3593
3762
|
import { useInsertCss } from '../hooks/use-insert-css';
|
|
@@ -3743,7 +3912,7 @@ const HookDrawer = <TParams, TData>(
|
|
|
3743
3912
|
};
|
|
3744
3913
|
|
|
3745
3914
|
export default HookDrawer;
|
|
3746
|
-
`},40656:function(
|
|
3915
|
+
`},40656:function(P,n){"use strict";n.Z=`import { Modal } from 'antd';
|
|
3747
3916
|
import classNames from 'classnames';
|
|
3748
3917
|
import React, {
|
|
3749
3918
|
Dispatch,
|
|
@@ -3889,6 +4058,22 @@ const HookModal = <TParams, TData>(
|
|
|
3889
4058
|
);
|
|
3890
4059
|
}, []);
|
|
3891
4060
|
|
|
4061
|
+
const renderTitle = (
|
|
4062
|
+
<div
|
|
4063
|
+
style={{ width: '100%', cursor: 'move' }}
|
|
4064
|
+
onMouseOver={() => {
|
|
4065
|
+
if (dragState.disabled) {
|
|
4066
|
+
setDragState((e) => ({ ...e, disabled: false }));
|
|
4067
|
+
}
|
|
4068
|
+
}}
|
|
4069
|
+
onMouseOut={() => {
|
|
4070
|
+
setDragState((e) => ({ ...e, disabled: true }));
|
|
4071
|
+
}}
|
|
4072
|
+
>
|
|
4073
|
+
{title}
|
|
4074
|
+
</div>
|
|
4075
|
+
);
|
|
4076
|
+
|
|
3892
4077
|
return (
|
|
3893
4078
|
<Modal
|
|
3894
4079
|
onCancel={onHandleClose}
|
|
@@ -3896,21 +4081,7 @@ const HookModal = <TParams, TData>(
|
|
|
3896
4081
|
{...otherInnerConfig}
|
|
3897
4082
|
className={classNames('ccs-dialog-modal', className)}
|
|
3898
4083
|
footer={footer === null ? null : renderFooter}
|
|
3899
|
-
title={
|
|
3900
|
-
<div
|
|
3901
|
-
style={{ width: '100%', cursor: 'move' }}
|
|
3902
|
-
onMouseOver={() => {
|
|
3903
|
-
if (dragState.disabled) {
|
|
3904
|
-
setDragState((e) => ({ ...e, disabled: false }));
|
|
3905
|
-
}
|
|
3906
|
-
}}
|
|
3907
|
-
onMouseOut={() => {
|
|
3908
|
-
setDragState((e) => ({ ...e, disabled: true }));
|
|
3909
|
-
}}
|
|
3910
|
-
>
|
|
3911
|
-
{title}
|
|
3912
|
-
</div>
|
|
3913
|
-
}
|
|
4084
|
+
title={renderTitle}
|
|
3914
4085
|
modalRender={(modal) => (
|
|
3915
4086
|
<DragModal
|
|
3916
4087
|
modal={modal}
|
|
@@ -3944,7 +4115,7 @@ const HookModal = <TParams, TData>(
|
|
|
3944
4115
|
};
|
|
3945
4116
|
|
|
3946
4117
|
export default HookModal;
|
|
3947
|
-
`},35987:function(
|
|
4118
|
+
`},35987:function(P,n){"use strict";n.Z=`import { DrawerProps, FormProps, ModalFuncProps } from 'antd';
|
|
3948
4119
|
import { Store } from 'antd/es/form/interface';
|
|
3949
4120
|
import { ReactNode, RefObject } from 'react';
|
|
3950
4121
|
import CCS from '..';
|
|
@@ -4082,7 +4253,7 @@ export interface DialogContextType<T = Store> {
|
|
|
4082
4253
|
/** \u786E\u5B9A\u56DE\u8C03 */
|
|
4083
4254
|
onOkCallBack: OkEvent<any, any> | undefined;
|
|
4084
4255
|
}
|
|
4085
|
-
`},80886:function(
|
|
4256
|
+
`},80886:function(P,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
|
|
4086
4257
|
import { Button, Form, FormProps } from 'antd';
|
|
4087
4258
|
import React, {
|
|
4088
4259
|
RefObject,
|
|
@@ -4331,7 +4502,7 @@ export default function CcsDialogButtons<TParams>({
|
|
|
4331
4502
|
|
|
4332
4503
|
return <></>;
|
|
4333
4504
|
}
|
|
4334
|
-
`},70052:function(
|
|
4505
|
+
`},70052:function(P,n){"use strict";n.Z=`import { Store } from 'antd/es/form/interface';
|
|
4335
4506
|
import React, { useContext } from 'react';
|
|
4336
4507
|
import { DialogContextType } from './_api';
|
|
4337
4508
|
|
|
@@ -4349,7 +4520,7 @@ const useDialogContext = <T = Store>() => {
|
|
|
4349
4520
|
};
|
|
4350
4521
|
|
|
4351
4522
|
export { DialogContentContext, useDialogContext };
|
|
4352
|
-
`},58254:function(
|
|
4523
|
+
`},58254:function(P,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
|
|
4353
4524
|
import { Button, DrawerProps, Dropdown, MenuProps, Space } from 'antd';
|
|
4354
4525
|
|
|
4355
4526
|
const items = [
|
|
@@ -4405,7 +4576,7 @@ export default function DialogBasic() {
|
|
|
4405
4576
|
</Space>
|
|
4406
4577
|
);
|
|
4407
4578
|
}
|
|
4408
|
-
`},26260:function(
|
|
4579
|
+
`},26260:function(P,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
|
|
4409
4580
|
import { DialogDrawer, DialogModal } from '@ccs-ui/rc-pro/dialog/_api';
|
|
4410
4581
|
import { Button, Select, Space } from 'antd';
|
|
4411
4582
|
import { useEffect, useRef } from 'react';
|
|
@@ -4468,7 +4639,7 @@ export default function DialogCache() {
|
|
|
4468
4639
|
</Space>
|
|
4469
4640
|
);
|
|
4470
4641
|
}
|
|
4471
|
-
`},77697:function(
|
|
4642
|
+
`},77697:function(P,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
|
|
4472
4643
|
import { Button, Form, Input, Space } from 'antd';
|
|
4473
4644
|
|
|
4474
4645
|
const FormItem = Form.Item;
|
|
@@ -4583,7 +4754,7 @@ export default function DialogForm() {
|
|
|
4583
4754
|
</Space>
|
|
4584
4755
|
);
|
|
4585
4756
|
}
|
|
4586
|
-
`},91015:function(
|
|
4757
|
+
`},91015:function(P,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
|
|
4587
4758
|
import { useRequest } from 'ahooks';
|
|
4588
4759
|
import { Button, Form, Input, Space } from 'antd';
|
|
4589
4760
|
import useFormInstance from 'antd/es/form/hooks/useFormInstance';
|
|
@@ -4748,7 +4919,7 @@ export default function DialogFormCustom() {
|
|
|
4748
4919
|
</Space>
|
|
4749
4920
|
);
|
|
4750
4921
|
}
|
|
4751
|
-
`},24606:function(
|
|
4922
|
+
`},24606:function(P,n){"use strict";n.Z=`import { CcsAppConfig, CcsDialog } from '@ccs-ui/rc-pro';
|
|
4752
4923
|
import { Button } from 'antd';
|
|
4753
4924
|
|
|
4754
4925
|
const mp = {
|
|
@@ -4810,10 +4981,10 @@ export default function DialogPrompt() {
|
|
|
4810
4981
|
</CcsAppConfig>
|
|
4811
4982
|
);
|
|
4812
4983
|
}
|
|
4813
|
-
`},4027:function(
|
|
4984
|
+
`},4027:function(P,n){"use strict";n.Z=`import { CcsAppConfig } from '@ccs-ui/rc-pro';
|
|
4814
4985
|
import { Divider } from 'antd';
|
|
4815
|
-
import
|
|
4816
|
-
import
|
|
4986
|
+
import DialogBasic from './Basic';
|
|
4987
|
+
import DialogCache from './Cache';
|
|
4817
4988
|
import FormCustom from './FormCustom';
|
|
4818
4989
|
|
|
4819
4990
|
export default () => {
|
|
@@ -4823,7 +4994,7 @@ export default () => {
|
|
|
4823
4994
|
<Divider plain orientation="left" orientationMargin={16}>
|
|
4824
4995
|
\u57FA\u672C\u7528\u6CD5:\u4F7F\u7528\u65F6\u521B\u5EFA\uFF0C\u5173\u95ED\u5373\u9500\u6BC1\u3002
|
|
4825
4996
|
</Divider>
|
|
4826
|
-
<
|
|
4997
|
+
<DialogBasic />
|
|
4827
4998
|
<Divider plain orientation="left" orientationMargin={16}>
|
|
4828
4999
|
\u7ED3\u5408Form\u8868\u5355,\u81EA\u5B9A\u4E49\u8BF7\u6C42,\u6309\u94AE,\u8868\u5355\u4E1A\u52A1\u5904\u7406\u903B\u8F91\u3002
|
|
4829
5000
|
</Divider>
|
|
@@ -4831,12 +5002,12 @@ export default () => {
|
|
|
4831
5002
|
<Divider plain orientation="left" orientationMargin={16}>
|
|
4832
5003
|
\u7F13\u5B58\u5185\u5BB9:\u9700\u7F13\u5B58\u6570\u636E\u65F6\uFF0C\u4F7F\u7528ref\u7F13\u5B58\u65B9\u6CD5\u3002
|
|
4833
5004
|
</Divider>
|
|
4834
|
-
<
|
|
5005
|
+
<DialogCache />
|
|
4835
5006
|
</>
|
|
4836
5007
|
</CcsAppConfig>
|
|
4837
5008
|
);
|
|
4838
5009
|
};
|
|
4839
|
-
`},82759:function(
|
|
5010
|
+
`},82759:function(P,n){"use strict";n.Z=`import { RefObject, useEffect, useImperativeHandle, useState } from 'react';
|
|
4840
5011
|
import CcsDialog from '.';
|
|
4841
5012
|
import { DialogButtonsProps } from './_api';
|
|
4842
5013
|
import { DialogButtonRef } from './button';
|
|
@@ -4869,7 +5040,7 @@ export default function CcsDrawerFooter({ children }: DialogButtonsProps) {
|
|
|
4869
5040
|
|
|
4870
5041
|
return null;
|
|
4871
5042
|
}
|
|
4872
|
-
`},28013:function(
|
|
5043
|
+
`},28013:function(P,n){"use strict";n.Z=`import { Form, FormInstance, FormProps } from 'antd';
|
|
4873
5044
|
import React, { ReactNode, useImperativeHandle } from 'react';
|
|
4874
5045
|
|
|
4875
5046
|
type PropsType<TParams> = {
|
|
@@ -4913,7 +5084,7 @@ const DialogForm = <TParams,>({
|
|
|
4913
5084
|
};
|
|
4914
5085
|
|
|
4915
5086
|
export default DialogForm;
|
|
4916
|
-
`},98314:function(
|
|
5087
|
+
`},98314:function(P,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/ban-types */
|
|
4917
5088
|
import CcsUtils from '@ccs-ui/utils';
|
|
4918
5089
|
import _debounce from 'lodash.debounce';
|
|
4919
5090
|
import React from 'react';
|
|
@@ -5014,7 +5185,7 @@ export default function useCcsDialog(): CcsDialogType {
|
|
|
5014
5185
|
modalUuid += 1;
|
|
5015
5186
|
|
|
5016
5187
|
const modalRef = React.createRef<DialogModal>();
|
|
5017
|
-
|
|
5188
|
+
console.log('config2', config);
|
|
5018
5189
|
// \u5173\u95ED\u4E8B\u4EF6
|
|
5019
5190
|
let closeFunc: Function | undefined;
|
|
5020
5191
|
// modal
|
|
@@ -5200,7 +5371,7 @@ export default function useCcsDialog(): CcsDialogType {
|
|
|
5200
5371
|
contextHolder: <DialogElementsHolder key="modal-holder" ref={holderRef} />,
|
|
5201
5372
|
};
|
|
5202
5373
|
}
|
|
5203
|
-
`},43022:function(
|
|
5374
|
+
`},43022:function(P,n){"use strict";n.Z=`import ThemeDialog from '../theme-dialog';
|
|
5204
5375
|
import { DialogInterface } from './_api';
|
|
5205
5376
|
import CcsDialogButtons from './button';
|
|
5206
5377
|
import { useDialogContext } from './context';
|
|
@@ -5227,7 +5398,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
5227
5398
|
}
|
|
5228
5399
|
|
|
5229
5400
|
export default CcsDialog;
|
|
5230
|
-
`},96602:function(
|
|
5401
|
+
`},96602:function(P,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/ban-types */
|
|
5231
5402
|
import * as React from 'react';
|
|
5232
5403
|
|
|
5233
5404
|
export default function usePatchElement(): [
|
|
@@ -5251,7 +5422,7 @@ export default function usePatchElement(): [
|
|
|
5251
5422
|
|
|
5252
5423
|
return [elements, patchElement];
|
|
5253
5424
|
}
|
|
5254
|
-
`},2142:function(
|
|
5425
|
+
`},2142:function(P,n){"use strict";n.Z=`import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
5255
5426
|
import { ReactCodeMirrorProps } from '@uiw/react-codemirror';
|
|
5256
5427
|
import { InputProps } from 'antd';
|
|
5257
5428
|
import { EditorState, LexicalEditor } from 'lexical';
|
|
@@ -5318,7 +5489,7 @@ export type EditorRichProps = Omit<
|
|
|
5318
5489
|
/** \u4E3B\u9898 */
|
|
5319
5490
|
theme?: AppConfigType['theme'];
|
|
5320
5491
|
};
|
|
5321
|
-
`},46345:function(
|
|
5492
|
+
`},46345:function(P,n){"use strict";n.Z=`import CodeMirror from '@uiw/react-codemirror';
|
|
5322
5493
|
import classNames from 'classnames';
|
|
5323
5494
|
import useAppConfig from '../hooks/use-app';
|
|
5324
5495
|
import useInputCss from '../hooks/use-input-css';
|
|
@@ -5363,7 +5534,7 @@ export default function BaseCodeMirror({
|
|
|
5363
5534
|
/>
|
|
5364
5535
|
);
|
|
5365
5536
|
}
|
|
5366
|
-
`},49960:function(
|
|
5537
|
+
`},49960:function(P,n){"use strict";n.Z=`.ccs-editor {
|
|
5367
5538
|
.cm-editor {
|
|
5368
5539
|
height: 100%;
|
|
5369
5540
|
outline: none !important;
|
|
@@ -5379,7 +5550,7 @@ export default function BaseCodeMirror({
|
|
|
5379
5550
|
background: transparent;
|
|
5380
5551
|
}
|
|
5381
5552
|
}
|
|
5382
|
-
`},25232:function(
|
|
5553
|
+
`},25232:function(P,n){"use strict";n.Z=`import { CcsEditor } from '@ccs-ui/rc-pro';
|
|
5383
5554
|
import { Radio } from 'antd';
|
|
5384
5555
|
import { Variant } from 'antd/es/config-provider';
|
|
5385
5556
|
import { useState } from 'react';
|
|
@@ -5457,7 +5628,7 @@ export default () => {
|
|
|
5457
5628
|
</>
|
|
5458
5629
|
);
|
|
5459
5630
|
};
|
|
5460
|
-
`},46912:function(
|
|
5631
|
+
`},46912:function(P,n){"use strict";n.Z=`import { CcsEditor } from '@ccs-ui/rc-pro';
|
|
5461
5632
|
import { Radio } from 'antd';
|
|
5462
5633
|
import { Variant } from 'antd/es/config-provider';
|
|
5463
5634
|
import { useState } from 'react';
|
|
@@ -5507,7 +5678,7 @@ export default () => {
|
|
|
5507
5678
|
</>
|
|
5508
5679
|
);
|
|
5509
5680
|
};
|
|
5510
|
-
`},36878:function(
|
|
5681
|
+
`},36878:function(P,n){"use strict";n.Z=`import JavaScriptEditor from './javascript';
|
|
5511
5682
|
import JsonEditor from './json';
|
|
5512
5683
|
import EditorRich from './rich';
|
|
5513
5684
|
import SqlEditor from './sql';
|
|
@@ -5541,13 +5712,13 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
5541
5712
|
Editor.Rich = EditorRich;
|
|
5542
5713
|
|
|
5543
5714
|
export default Editor;
|
|
5544
|
-
`},85609:function(
|
|
5715
|
+
`},85609:function(P,n){"use strict";n.Z=`import { javascript } from '@codemirror/lang-javascript';
|
|
5545
5716
|
import { EditorCodeProps } from './_api';
|
|
5546
5717
|
import BaseEditor from './code-base';
|
|
5547
5718
|
export default function JavaScriptEditor(props: EditorCodeProps) {
|
|
5548
5719
|
return <BaseEditor {...props} extensions={[javascript({ jsx: true })]} />;
|
|
5549
5720
|
}
|
|
5550
|
-
`},94975:function(
|
|
5721
|
+
`},94975:function(P,n){"use strict";n.Z=`import { json } from '@codemirror/lang-json';
|
|
5551
5722
|
import { syntaxTree } from '@codemirror/language';
|
|
5552
5723
|
import { Diagnostic, linter } from '@codemirror/lint';
|
|
5553
5724
|
import { EditorCodeProps } from './_api';
|
|
@@ -5572,7 +5743,7 @@ const regexpLinter = linter((view) => {
|
|
|
5572
5743
|
export default function JsonEditor(props: EditorCodeProps) {
|
|
5573
5744
|
return <BaseEditor {...props} extensions={[json(), regexpLinter]} />;
|
|
5574
5745
|
}
|
|
5575
|
-
`},47285:function(
|
|
5746
|
+
`},47285:function(P,n){"use strict";n.Z=`.css-editor-rich {
|
|
5576
5747
|
display: flex;
|
|
5577
5748
|
flex-direction: column;
|
|
5578
5749
|
position: relative;
|
|
@@ -5876,7 +6047,7 @@ export default function JsonEditor(props: EditorCodeProps) {
|
|
|
5876
6047
|
top: 4px;
|
|
5877
6048
|
}
|
|
5878
6049
|
}
|
|
5879
|
-
`},37634:function(
|
|
6050
|
+
`},37634:function(P,n){"use strict";n.Z=`import { useAppConfig } from '@ccs-ui/rc-pro';
|
|
5880
6051
|
import useInputCss from '@ccs-ui/rc-pro/hooks/use-input-css';
|
|
5881
6052
|
import { LexicalComposer } from '@lexical/react/LexicalComposer';
|
|
5882
6053
|
import { ContentEditable } from '@lexical/react/LexicalContentEditable';
|
|
@@ -5959,7 +6130,7 @@ export default function LexicalEditorBase({
|
|
|
5959
6130
|
</EditorRichContext.Provider>
|
|
5960
6131
|
);
|
|
5961
6132
|
}
|
|
5962
|
-
`},20466:function(
|
|
6133
|
+
`},20466:function(P,n){"use strict";n.Z=`const MIN_ALLOWED_FONT_SIZE = 8;
|
|
5963
6134
|
const MAX_ALLOWED_FONT_SIZE = 72;
|
|
5964
6135
|
|
|
5965
6136
|
export const parseAllowedFontSize = (input: string): string => {
|
|
@@ -5976,7 +6147,7 @@ export const parseAllowedFontSize = (input: string): string => {
|
|
|
5976
6147
|
export function parseAllowedColor(input: string) {
|
|
5977
6148
|
return /^rgb\\(\\d+, \\d+, \\d+\\)$/.test(input) ? input : '';
|
|
5978
6149
|
}
|
|
5979
|
-
`},58988:function(
|
|
6150
|
+
`},58988:function(P,n){"use strict";n.Z=`import { CheckOutlined, CloseOutlined } from '@ant-design/icons';
|
|
5980
6151
|
import { Button, Input, theme } from 'antd';
|
|
5981
6152
|
import { useState } from 'react';
|
|
5982
6153
|
|
|
@@ -6021,7 +6192,7 @@ export default function CodeEdit({
|
|
|
6021
6192
|
</div>
|
|
6022
6193
|
);
|
|
6023
6194
|
}
|
|
6024
|
-
`},49811:function(
|
|
6195
|
+
`},49811:function(P,n){"use strict";n.Z=`import {
|
|
6025
6196
|
AlignCenterOutlined,
|
|
6026
6197
|
AlignLeftOutlined,
|
|
6027
6198
|
AlignRightOutlined,
|
|
@@ -6605,7 +6776,7 @@ export default function ToolbarPlugin({ style, disabled }: PropsType) {
|
|
|
6605
6776
|
</div>
|
|
6606
6777
|
);
|
|
6607
6778
|
}
|
|
6608
|
-
`},62989:function(
|
|
6779
|
+
`},62989:function(P,n){"use strict";n.Z=`import { CcsForm } from '@ccs-ui/rc-pro';
|
|
6609
6780
|
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
|
|
6610
6781
|
import { Form, Input, Modal, Radio } from 'antd';
|
|
6611
6782
|
import { $getNodeByKey } from 'lexical';
|
|
@@ -6822,7 +6993,7 @@ export default function UploadModal({
|
|
|
6822
6993
|
</>
|
|
6823
6994
|
);
|
|
6824
6995
|
}
|
|
6825
|
-
`},74610:function(
|
|
6996
|
+
`},74610:function(P,n){"use strict";n.Z=`import { useState } from 'react';
|
|
6826
6997
|
import UploadModal from '../../base/toolbar/upload';
|
|
6827
6998
|
import { ImageNodeType } from './ImageNode';
|
|
6828
6999
|
|
|
@@ -6864,7 +7035,7 @@ export default function ImageComponent({
|
|
|
6864
7035
|
</>
|
|
6865
7036
|
);
|
|
6866
7037
|
}
|
|
6867
|
-
`},87173:function(
|
|
7038
|
+
`},87173:function(P,n){"use strict";n.Z=`import { DecoratorNode, LexicalNode } from 'lexical';
|
|
6868
7039
|
import * as React from 'react';
|
|
6869
7040
|
import { Suspense } from 'react';
|
|
6870
7041
|
|
|
@@ -7032,7 +7203,7 @@ function convertImageElement(domNode: ImageNodeType) {
|
|
|
7032
7203
|
export function $isImageNode(node: LexicalNode) {
|
|
7033
7204
|
return node instanceof ImageNode;
|
|
7034
7205
|
}
|
|
7035
|
-
`},95791:function(
|
|
7206
|
+
`},95791:function(P,n){"use strict";n.Z=`import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
|
|
7036
7207
|
import { $insertNodes, COMMAND_PRIORITY_EDITOR, createCommand } from 'lexical';
|
|
7037
7208
|
import { useEffect } from 'react';
|
|
7038
7209
|
import { $createImageNode } from './ImageNode';
|
|
@@ -7059,7 +7230,7 @@ export default function PluginImage() {
|
|
|
7059
7230
|
|
|
7060
7231
|
return null;
|
|
7061
7232
|
}
|
|
7062
|
-
`},1731:function(
|
|
7233
|
+
`},1731:function(P,n){"use strict";n.Z=`import { $generateHtmlFromNodes, $generateNodesFromDOM } from '@lexical/html';
|
|
7063
7234
|
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
|
|
7064
7235
|
import { $getRoot, $insertNodes } from 'lexical';
|
|
7065
7236
|
import { useEffect } from 'react';
|
|
@@ -7092,7 +7263,7 @@ const PluginInitHtml = ({ value }: { value?: string }) => {
|
|
|
7092
7263
|
};
|
|
7093
7264
|
|
|
7094
7265
|
export default PluginInitHtml;
|
|
7095
|
-
`},82227:function(
|
|
7266
|
+
`},82227:function(P,n){"use strict";n.Z=`import { $isLinkNode } from '@lexical/link';
|
|
7096
7267
|
import { $isListItemNode, $isListNode } from '@lexical/list';
|
|
7097
7268
|
import { $isHeadingNode, $isQuoteNode } from '@lexical/rich-text';
|
|
7098
7269
|
import {
|
|
@@ -7220,7 +7391,7 @@ export function $onGenerateHTML(editor: LexicalEditor): string {
|
|
|
7220
7391
|
|
|
7221
7392
|
return html;
|
|
7222
7393
|
}
|
|
7223
|
-
`},88535:function(
|
|
7394
|
+
`},88535:function(P,n){"use strict";n.Z=`import { LinkNode } from '@lexical/link';
|
|
7224
7395
|
import { ListItemNode, ListNode } from '@lexical/list';
|
|
7225
7396
|
import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
7226
7397
|
import { HeadingNode, QuoteNode } from '@lexical/rich-text';
|
|
@@ -7390,7 +7561,7 @@ export default function EditorRich({
|
|
|
7390
7561
|
/>
|
|
7391
7562
|
);
|
|
7392
7563
|
}
|
|
7393
|
-
`},91255:function(
|
|
7564
|
+
`},91255:function(P,n){"use strict";n.Z=`export default {
|
|
7394
7565
|
code: 'editor-code',
|
|
7395
7566
|
heading: {
|
|
7396
7567
|
h1: 'editor-heading-h1',
|
|
@@ -7428,28 +7599,28 @@ export default function EditorRich({
|
|
|
7428
7599
|
ltr: 'editor-ltr',
|
|
7429
7600
|
rtl: 'editor-rtl',
|
|
7430
7601
|
};
|
|
7431
|
-
`},53986:function(
|
|
7602
|
+
`},53986:function(P,n){"use strict";n.Z=`import { sql } from '@codemirror/lang-sql';
|
|
7432
7603
|
import { EditorCodeProps } from './_api';
|
|
7433
7604
|
import BaseEditor from './code-base';
|
|
7434
7605
|
|
|
7435
7606
|
export default function SqlEditor(props: EditorCodeProps) {
|
|
7436
7607
|
return <BaseEditor {...props} extensions={[sql()]} />;
|
|
7437
7608
|
}
|
|
7438
|
-
`},26834:function(
|
|
7609
|
+
`},26834:function(P,n){"use strict";n.Z=`import { xml } from '@codemirror/lang-xml';
|
|
7439
7610
|
import { EditorCodeProps } from './_api';
|
|
7440
7611
|
import BaseEditor from './code-base';
|
|
7441
7612
|
|
|
7442
7613
|
export default function XmlEditor(props: EditorCodeProps) {
|
|
7443
7614
|
return <BaseEditor {...props} extensions={[xml()]} />;
|
|
7444
7615
|
}
|
|
7445
|
-
`},5093:function(
|
|
7616
|
+
`},5093:function(P,n){"use strict";n.Z=`import { yaml } from '@codemirror/lang-yaml';
|
|
7446
7617
|
import { EditorCodeProps } from './_api';
|
|
7447
7618
|
import BaseEditor from './code-base';
|
|
7448
7619
|
|
|
7449
7620
|
export default function YamlEditor(props: EditorCodeProps) {
|
|
7450
7621
|
return <BaseEditor {...props} extensions={[yaml()]} />;
|
|
7451
7622
|
}
|
|
7452
|
-
`},29060:function(
|
|
7623
|
+
`},29060:function(P,n){"use strict";n.Z=`import {
|
|
7453
7624
|
FormItemProps as AntdFormItemProps,
|
|
7454
7625
|
ButtonProps,
|
|
7455
7626
|
Form,
|
|
@@ -7550,7 +7721,7 @@ export type FormListProps = PropsWithCss & {
|
|
|
7550
7721
|
|
|
7551
7722
|
/** \u5217\u8868\u9879\u5220\u9664\u6309\u94AE */
|
|
7552
7723
|
export type ListItemBtnProps = Omit<ButtonProps, 'onClick'> & {};
|
|
7553
|
-
`},7570:function(
|
|
7724
|
+
`},7570:function(P,n){"use strict";n.Z=`import { CcsDatePicker, CcsForm } from '@ccs-ui/rc-pro';
|
|
7554
7725
|
import { Button, Form, Input, Select, Space } from 'antd';
|
|
7555
7726
|
import { useEffect } from 'react';
|
|
7556
7727
|
import { FormItemChildren } from '../_api';
|
|
@@ -7679,263 +7850,7 @@ export default function DemoApp() {
|
|
|
7679
7850
|
</>
|
|
7680
7851
|
);
|
|
7681
7852
|
}
|
|
7682
|
-
`},
|
|
7683
|
-
import { Form } from 'antd';
|
|
7684
|
-
import { FormInstance, Rule } from 'antd/es/form';
|
|
7685
|
-
import { NamePath } from 'antd/es/form/interface';
|
|
7686
|
-
import React, {
|
|
7687
|
-
CSSProperties,
|
|
7688
|
-
ReactNode,
|
|
7689
|
-
useEffect,
|
|
7690
|
-
useMemo,
|
|
7691
|
-
useState,
|
|
7692
|
-
} from 'react';
|
|
7693
|
-
import { getDataByNamePath, isUrl, isValidCard } from '../utils';
|
|
7694
|
-
import { FormItemChildren, FormItemProps, RuleType } from './_api';
|
|
7695
|
-
|
|
7696
|
-
const FormUpdateItem = ({
|
|
7697
|
-
name,
|
|
7698
|
-
getFieldsValue,
|
|
7699
|
-
setFieldValue,
|
|
7700
|
-
getFieldValue,
|
|
7701
|
-
names,
|
|
7702
|
-
}: { name: NamePath; names: NamePath[] } & Pick<
|
|
7703
|
-
FormInstance,
|
|
7704
|
-
'getFieldsValue' | 'getFieldValue' | 'setFieldValue'
|
|
7705
|
-
>) => {
|
|
7706
|
-
const nameValue = getFieldValue(name);
|
|
7707
|
-
|
|
7708
|
-
useEffect(() => {
|
|
7709
|
-
// \u521D\u59CB\u503C
|
|
7710
|
-
const initialValues = getFieldsValue(true);
|
|
7711
|
-
const initNameValue: string[] = [];
|
|
7712
|
-
|
|
7713
|
-
// \u6839\u636E\u5B50\u9879\u521D\u59CB\u503C\u8BBE\u7F6Ename\u7684\u9ED8\u8BA4\u503C
|
|
7714
|
-
names.forEach((item) => {
|
|
7715
|
-
initNameValue.push(getDataByNamePath(initialValues, item));
|
|
7716
|
-
});
|
|
7717
|
-
|
|
7718
|
-
// \u5982\u679C\u5B50\u9879\u6709\u521D\u59CB\u503C\uFF0C\u5219\u8BBE\u7F6Ename\u7684\u9ED8\u8BA4\u503C
|
|
7719
|
-
if (initNameValue.filter((n) => n !== undefined).length > 0) {
|
|
7720
|
-
setFieldValue(name, initNameValue);
|
|
7721
|
-
return;
|
|
7722
|
-
}
|
|
7723
|
-
|
|
7724
|
-
// \u5982\u679C\u5B50\u9879\u6CA1\u6709\u521D\u59CB\u503C\uFF0C\u4E3B\u9879\u6709\u521D\u59CB\u503C
|
|
7725
|
-
const groupNameValue = getDataByNamePath(initialValues, name);
|
|
7726
|
-
if (Array.isArray(groupNameValue)) {
|
|
7727
|
-
names.forEach((item, index) => {
|
|
7728
|
-
setFieldValue(item, groupNameValue[index]);
|
|
7729
|
-
});
|
|
7730
|
-
}
|
|
7731
|
-
}, []);
|
|
7732
|
-
|
|
7733
|
-
// \u4F9D\u8D56\u4E3B\u5B57\u6BB5\u53D8\u66F4\uFF0C\u66F4\u65B0\u5B50\u9879\u5C5E\u6027\u503C
|
|
7734
|
-
useUpdateEffect(() => {
|
|
7735
|
-
setTimeout(() => {
|
|
7736
|
-
names.forEach((item, index) => {
|
|
7737
|
-
setFieldValue(
|
|
7738
|
-
item,
|
|
7739
|
-
Array.isArray(nameValue) ? nameValue[index] : undefined,
|
|
7740
|
-
);
|
|
7741
|
-
});
|
|
7742
|
-
}, 1);
|
|
7743
|
-
}, [nameValue]);
|
|
7744
|
-
|
|
7745
|
-
return null;
|
|
7746
|
-
};
|
|
7747
|
-
|
|
7748
|
-
function onRule(rule: RuleType, label: ReactNode): Rule {
|
|
7749
|
-
const newLabel = typeof label !== 'string' ? '' : label;
|
|
7750
|
-
|
|
7751
|
-
// \u9009\u62E9\u6821\u9A8C
|
|
7752
|
-
if (rule === 'select') {
|
|
7753
|
-
return { required: true, message: \`\u8BF7\u9009\u62E9\${newLabel}\` };
|
|
7754
|
-
}
|
|
7755
|
-
|
|
7756
|
-
// \u8F93\u5165\u6821\u9A8C
|
|
7757
|
-
if (rule === 'input') {
|
|
7758
|
-
return { required: true, message: \`\u8BF7\u8F93\u5165\${newLabel}\` };
|
|
7759
|
-
}
|
|
7760
|
-
|
|
7761
|
-
// \u90AE\u7BB1\u6821\u9A8C
|
|
7762
|
-
if (rule === 'email') {
|
|
7763
|
-
return {
|
|
7764
|
-
required: true,
|
|
7765
|
-
message: \`\${newLabel || '\u90AE\u7BB1'}\u975E\u6CD5\`,
|
|
7766
|
-
pattern: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/,
|
|
7767
|
-
};
|
|
7768
|
-
}
|
|
7769
|
-
|
|
7770
|
-
// \u624B\u673A\u53F7\u6821\u9A8C
|
|
7771
|
-
if (rule === 'phone') {
|
|
7772
|
-
return {
|
|
7773
|
-
required: true,
|
|
7774
|
-
message: \`\${newLabel || '\u7535\u8BDD\u53F7\u7801'}\u975E\u6CD5\`,
|
|
7775
|
-
pattern: /^1[3-9]\\d{9}$/,
|
|
7776
|
-
};
|
|
7777
|
-
}
|
|
7778
|
-
|
|
7779
|
-
// \u8EAB\u4EFD\u8BC1\u53F7\u7801\u6821\u9A8C
|
|
7780
|
-
if (rule === 'idcard') {
|
|
7781
|
-
return () => ({
|
|
7782
|
-
validator(_, value) {
|
|
7783
|
-
if (isValidCard(value)) {
|
|
7784
|
-
return Promise.resolve();
|
|
7785
|
-
}
|
|
7786
|
-
return Promise.reject(new Error(\`\${newLabel || '\u8EAB\u4EFD\u8BC1\u53F7\u7801'}\u975E\u6CD5\`));
|
|
7787
|
-
},
|
|
7788
|
-
});
|
|
7789
|
-
}
|
|
7790
|
-
|
|
7791
|
-
// URL\u6821\u9A8C
|
|
7792
|
-
if (rule === 'url') {
|
|
7793
|
-
return () => ({
|
|
7794
|
-
validator(_, value) {
|
|
7795
|
-
if (isUrl(value)) {
|
|
7796
|
-
return Promise.resolve();
|
|
7797
|
-
}
|
|
7798
|
-
return Promise.reject(new Error(\`\${newLabel || 'URL'}\u975E\u6CD5\`));
|
|
7799
|
-
},
|
|
7800
|
-
});
|
|
7801
|
-
}
|
|
7802
|
-
|
|
7803
|
-
if (rule instanceof RegExp) {
|
|
7804
|
-
return {
|
|
7805
|
-
required: true,
|
|
7806
|
-
message: \`\${newLabel || '\u5185\u5BB9'}\u975E\u6CD5\`,
|
|
7807
|
-
pattern: rule,
|
|
7808
|
-
};
|
|
7809
|
-
}
|
|
7810
|
-
|
|
7811
|
-
return { required: true };
|
|
7812
|
-
}
|
|
7813
|
-
|
|
7814
|
-
export default function FormItem({
|
|
7815
|
-
mb,
|
|
7816
|
-
name,
|
|
7817
|
-
rules,
|
|
7818
|
-
children,
|
|
7819
|
-
simpleRule,
|
|
7820
|
-
isGroupName,
|
|
7821
|
-
showValidate,
|
|
7822
|
-
shouldUpdateNames,
|
|
7823
|
-
style,
|
|
7824
|
-
...item
|
|
7825
|
-
}: FormItemProps) {
|
|
7826
|
-
const isGroupItem = isGroupName && Array.isArray(name) && name.length > 0;
|
|
7827
|
-
// form item name
|
|
7828
|
-
const [itemName] = useState(
|
|
7829
|
-
isGroupItem ? \`_\${name?.join('And')?.replace(/[^a-zA-Z]/g, '')}_\` : name,
|
|
7830
|
-
);
|
|
7831
|
-
|
|
7832
|
-
// \u6821\u9A8C\u89C4\u5219
|
|
7833
|
-
const itemRules = useMemo(() => {
|
|
7834
|
-
let itemRules = rules || [];
|
|
7835
|
-
|
|
7836
|
-
if (simpleRule) {
|
|
7837
|
-
if (Array.isArray(simpleRule)) {
|
|
7838
|
-
simpleRule.forEach((rule) => itemRules.push(onRule(rule, item.label)));
|
|
7839
|
-
} else {
|
|
7840
|
-
itemRules.push(onRule(simpleRule, item.label));
|
|
7841
|
-
}
|
|
7842
|
-
}
|
|
7843
|
-
|
|
7844
|
-
return itemRules;
|
|
7845
|
-
}, [simpleRule, rules]);
|
|
7846
|
-
|
|
7847
|
-
// style
|
|
7848
|
-
const styles = useMemo(() => {
|
|
7849
|
-
const s = {} as CSSProperties;
|
|
7850
|
-
if (mb !== undefined) {
|
|
7851
|
-
s.marginBottom = mb;
|
|
7852
|
-
}
|
|
7853
|
-
return { ...s, ...style };
|
|
7854
|
-
}, []);
|
|
7855
|
-
|
|
7856
|
-
const renderGroupItem = isGroupItem ? (
|
|
7857
|
-
<>
|
|
7858
|
-
<Form.Item
|
|
7859
|
-
noStyle
|
|
7860
|
-
shouldUpdate={(l, r) =>
|
|
7861
|
-
getDataByNamePath(l, itemName) !== getDataByNamePath(r, itemName)
|
|
7862
|
-
}
|
|
7863
|
-
>
|
|
7864
|
-
{({ getFieldsValue, setFieldValue, getFieldValue }) => {
|
|
7865
|
-
return (
|
|
7866
|
-
<FormUpdateItem
|
|
7867
|
-
getFieldsValue={getFieldsValue}
|
|
7868
|
-
setFieldValue={setFieldValue}
|
|
7869
|
-
getFieldValue={getFieldValue}
|
|
7870
|
-
names={name}
|
|
7871
|
-
name={itemName}
|
|
7872
|
-
/>
|
|
7873
|
-
);
|
|
7874
|
-
}}
|
|
7875
|
-
</Form.Item>
|
|
7876
|
-
{name.map((item, index) => (
|
|
7877
|
-
<FormItem key={index} noStyle name={item} hidden />
|
|
7878
|
-
))}
|
|
7879
|
-
</>
|
|
7880
|
-
) : null;
|
|
7881
|
-
|
|
7882
|
-
// \u4F9D\u8D56\u66F4\u65B0
|
|
7883
|
-
if (shouldUpdateNames) {
|
|
7884
|
-
return (
|
|
7885
|
-
<Form.Item
|
|
7886
|
-
noStyle
|
|
7887
|
-
shouldUpdate={(prevValues, nextValues) => {
|
|
7888
|
-
if (!Array.isArray(shouldUpdateNames)) return false;
|
|
7889
|
-
|
|
7890
|
-
return shouldUpdateNames.some(
|
|
7891
|
-
(name) =>
|
|
7892
|
-
getDataByNamePath(prevValues, name) !==
|
|
7893
|
-
getDataByNamePath(nextValues, name),
|
|
7894
|
-
);
|
|
7895
|
-
}}
|
|
7896
|
-
>
|
|
7897
|
-
{(formInstance) => {
|
|
7898
|
-
// \u6539\u53D8\u7684\u503C
|
|
7899
|
-
let changeValues = shouldUpdateNames.map((n) =>
|
|
7900
|
-
formInstance.getFieldValue(n),
|
|
7901
|
-
);
|
|
7902
|
-
|
|
7903
|
-
// \u663E\u793A\u5224\u65AD
|
|
7904
|
-
if (showValidate && !showValidate(changeValues)) return null;
|
|
7905
|
-
|
|
7906
|
-
return (
|
|
7907
|
-
<>
|
|
7908
|
-
<Form.Item
|
|
7909
|
-
rules={itemRules}
|
|
7910
|
-
name={itemName}
|
|
7911
|
-
style={styles}
|
|
7912
|
-
{...item}
|
|
7913
|
-
>
|
|
7914
|
-
{React.isValidElement(children) &&
|
|
7915
|
-
React.cloneElement<any>(children, {
|
|
7916
|
-
changes: changeValues,
|
|
7917
|
-
} as FormItemChildren)}
|
|
7918
|
-
{typeof children === 'function' &&
|
|
7919
|
-
children({ ...formInstance, changes: changeValues })}
|
|
7920
|
-
</Form.Item>
|
|
7921
|
-
{renderGroupItem}
|
|
7922
|
-
</>
|
|
7923
|
-
);
|
|
7924
|
-
}}
|
|
7925
|
-
</Form.Item>
|
|
7926
|
-
);
|
|
7927
|
-
}
|
|
7928
|
-
|
|
7929
|
-
return (
|
|
7930
|
-
<>
|
|
7931
|
-
<Form.Item name={itemName} rules={itemRules} style={styles} {...item}>
|
|
7932
|
-
{children as any}
|
|
7933
|
-
</Form.Item>
|
|
7934
|
-
{renderGroupItem}
|
|
7935
|
-
</>
|
|
7936
|
-
);
|
|
7937
|
-
}
|
|
7938
|
-
`},53019:function(g,n){"use strict";n.Z=`import {
|
|
7853
|
+
`},53019:function(P,n){"use strict";n.Z=`import {
|
|
7939
7854
|
DragOutlined,
|
|
7940
7855
|
MinusCircleOutlined,
|
|
7941
7856
|
PlusOutlined,
|
|
@@ -8065,7 +7980,7 @@ export default function FormList({
|
|
|
8065
7980
|
|
|
8066
7981
|
return renderList;
|
|
8067
7982
|
}
|
|
8068
|
-
`},57414:function(
|
|
7983
|
+
`},57414:function(P,n){"use strict";n.Z=`import { useContext } from 'react';
|
|
8069
7984
|
import { AppConfigContext } from '../context';
|
|
8070
7985
|
|
|
8071
7986
|
/**
|
|
@@ -8108,7 +8023,7 @@ export const useBaseFields = () => {
|
|
|
8108
8023
|
};
|
|
8109
8024
|
|
|
8110
8025
|
export default useAppConfig;
|
|
8111
|
-
`},63406:function(
|
|
8026
|
+
`},63406:function(P,n){"use strict";n.Z=`import { theme as antTheme } from 'antd';
|
|
8112
8027
|
import { InputProps } from 'antd/lib';
|
|
8113
8028
|
import { CSSProperties, useMemo, useState } from 'react';
|
|
8114
8029
|
import { AppConfigType, EditorStyles } from '../ccs';
|
|
@@ -8220,7 +8135,7 @@ export default function useInputCss({
|
|
|
8220
8135
|
onActived: setActived,
|
|
8221
8136
|
} as InputCssResult;
|
|
8222
8137
|
}
|
|
8223
|
-
`},5766:function(
|
|
8138
|
+
`},5766:function(P,n){"use strict";n.Z=`import { insertCss } from 'insert-css';
|
|
8224
8139
|
import { useEffect } from 'react';
|
|
8225
8140
|
import useAppConfig from './use-app';
|
|
8226
8141
|
|
|
@@ -8243,7 +8158,7 @@ export function useInsertCss(
|
|
|
8243
8158
|
insertCss(csss.join(''));
|
|
8244
8159
|
}, []);
|
|
8245
8160
|
}
|
|
8246
|
-
`},80659:function(
|
|
8161
|
+
`},80659:function(P,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/ban-types */
|
|
8247
8162
|
import { useRef } from 'react';
|
|
8248
8163
|
|
|
8249
8164
|
const useOnceEvent = (fn: (...params: any) => void) => {
|
|
@@ -8260,7 +8175,7 @@ const useOnceEvent = (fn: (...params: any) => void) => {
|
|
|
8260
8175
|
};
|
|
8261
8176
|
|
|
8262
8177
|
export default useOnceEvent;
|
|
8263
|
-
`},38712:function(
|
|
8178
|
+
`},38712:function(P,n){"use strict";n.Z=`import { useContext } from 'react';
|
|
8264
8179
|
import { PageContext } from '../context';
|
|
8265
8180
|
|
|
8266
8181
|
const usePage = () => {
|
|
@@ -8272,7 +8187,7 @@ const usePage = () => {
|
|
|
8272
8187
|
};
|
|
8273
8188
|
|
|
8274
8189
|
export default usePage;
|
|
8275
|
-
`},13853:function(
|
|
8190
|
+
`},13853:function(P,n){"use strict";n.Z=`import { useMemoizedFn, useUpdateEffect } from 'ahooks';
|
|
8276
8191
|
import { SelectProps } from 'antd';
|
|
8277
8192
|
import { RowSelectMethod, TableRowSelection } from 'antd/es/table/interface';
|
|
8278
8193
|
import React, { useEffect, useRef, useState } from 'react';
|
|
@@ -8446,7 +8361,7 @@ export default function useTableSelection<T = any>(
|
|
|
8446
8361
|
onClearByProTable: onClear,
|
|
8447
8362
|
};
|
|
8448
8363
|
}
|
|
8449
|
-
`},67634:function(
|
|
8364
|
+
`},67634:function(P,n){"use strict";n.Z=`import { useContext } from 'react';
|
|
8450
8365
|
import { TabsContext } from '../context';
|
|
8451
8366
|
|
|
8452
8367
|
const useTabs = () => {
|
|
@@ -8458,7 +8373,7 @@ const useTabs = () => {
|
|
|
8458
8373
|
};
|
|
8459
8374
|
|
|
8460
8375
|
export default useTabs;
|
|
8461
|
-
`},30960:function(
|
|
8376
|
+
`},30960:function(P,n){"use strict";n.Z=`import { Store } from 'antd/es/form/interface';
|
|
8462
8377
|
import { useContext } from 'react';
|
|
8463
8378
|
import { FnContextType } from '../ccs';
|
|
8464
8379
|
import { DrawerAndModalContext } from '../context';
|
|
@@ -8476,7 +8391,7 @@ const useCcsWindow = <T = Store>() => {
|
|
|
8476
8391
|
};
|
|
8477
8392
|
|
|
8478
8393
|
export default useCcsWindow;
|
|
8479
|
-
`},21460:function(
|
|
8394
|
+
`},21460:function(P,n){"use strict";n.Z=`export { default as CcsAjCaptcha } from './aj-captcha';
|
|
8480
8395
|
export { default as CcsAtom } from './atom';
|
|
8481
8396
|
export { default as CcsAuth } from './auth';
|
|
8482
8397
|
export { default as CcsButton } from './button';
|
|
@@ -8507,7 +8422,7 @@ export { default as CcsUpload } from './upload';
|
|
|
8507
8422
|
export { default as CcsWaterMark } from './water-mark';
|
|
8508
8423
|
import * as CCS from './ccs';
|
|
8509
8424
|
export default CCS;
|
|
8510
|
-
`},98333:function(
|
|
8425
|
+
`},98333:function(P,n){"use strict";n.Z=`import { CSSProperties, ReactNode } from 'react';
|
|
8511
8426
|
|
|
8512
8427
|
// \u7CFB\u7EDF\u83DC\u5355\u5C5E\u6027
|
|
8513
8428
|
export type MenuType = {
|
|
@@ -8540,7 +8455,7 @@ export interface SinglePageProps {
|
|
|
8540
8455
|
breadcrumbStyle?: CSSProperties;
|
|
8541
8456
|
children?: ReactNode;
|
|
8542
8457
|
}
|
|
8543
|
-
`},63705:function(
|
|
8458
|
+
`},63705:function(P,n){"use strict";n.Z=`import './index.less';
|
|
8544
8459
|
import KeepAliveTabs from './keep-alive';
|
|
8545
8460
|
import SinglePage from './single-page';
|
|
8546
8461
|
|
|
@@ -8562,7 +8477,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
8562
8477
|
}
|
|
8563
8478
|
|
|
8564
8479
|
export default CcsPageLayout;
|
|
8565
|
-
`},42210:function(
|
|
8480
|
+
`},42210:function(P,n){"use strict";n.Z=`import { MoreOutlined } from '@ant-design/icons';
|
|
8566
8481
|
import CcsUtils from '@ccs-ui/utils';
|
|
8567
8482
|
import { useMemoizedFn, useUpdate, useUpdateEffect } from 'ahooks';
|
|
8568
8483
|
import { BreadcrumbProps, Button, Dropdown, MenuProps, Tabs } from 'antd';
|
|
@@ -8913,7 +8828,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
8913
8828
|
}
|
|
8914
8829
|
|
|
8915
8830
|
export default KeepAliveTabs;
|
|
8916
|
-
`},79172:function(
|
|
8831
|
+
`},79172:function(P,n){"use strict";n.Z=`import { Breadcrumb } from 'antd';
|
|
8917
8832
|
import classNames from 'classnames';
|
|
8918
8833
|
import { memo, useRef } from 'react';
|
|
8919
8834
|
import { Location } from 'react-router';
|
|
@@ -8981,7 +8896,7 @@ export default memo(
|
|
|
8981
8896
|
l.active === n.active &&
|
|
8982
8897
|
l.urlAuthList.join(',') === n.urlAuthList.join(','),
|
|
8983
8898
|
);
|
|
8984
|
-
`},76288:function(
|
|
8899
|
+
`},76288:function(P,n){"use strict";n.Z=`import { BreadcrumbProps } from 'antd';
|
|
8985
8900
|
import { useMemo } from 'react';
|
|
8986
8901
|
import { useLocation } from 'react-router';
|
|
8987
8902
|
import { useOutlet } from 'react-router-dom';
|
|
@@ -9051,7 +8966,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
9051
8966
|
}
|
|
9052
8967
|
|
|
9053
8968
|
export default SinglePage;
|
|
9054
|
-
`},10753:function(
|
|
8969
|
+
`},10753:function(P,n){"use strict";n.Z=`import { TableProps as AntdTableProps, PaginationProps } from 'antd';
|
|
9055
8970
|
import { ColumnGroupType, ColumnType } from 'antd/es/table';
|
|
9056
8971
|
import { CSSProperties, MutableRefObject, ReactNode } from 'react';
|
|
9057
8972
|
import {
|
|
@@ -9179,7 +9094,7 @@ export type TreeInstance<T> = {
|
|
|
9179
9094
|
onRequestTree: (eventType: DataEvent, query: any, record: T | any) => void;
|
|
9180
9095
|
onExpandKeys: (ids: string[]) => void;
|
|
9181
9096
|
};
|
|
9182
|
-
`},52067:function(
|
|
9097
|
+
`},52067:function(P,n){"use strict";n.Z=`import { TableSticky } from 'rc-table/lib/interface';
|
|
9183
9098
|
import React, { ReactNode } from 'react';
|
|
9184
9099
|
import CCS from '..';
|
|
9185
9100
|
|
|
@@ -9295,7 +9210,7 @@ export {
|
|
|
9295
9210
|
onTableInModalOrDrawer,
|
|
9296
9211
|
onTableInTabItem,
|
|
9297
9212
|
};
|
|
9298
|
-
`},7049:function(
|
|
9213
|
+
`},7049:function(P,n){"use strict";n.Z=`import { PlusOutlined } from '@ant-design/icons';
|
|
9299
9214
|
import CCS, { CcsButton, CcsDatePicker, CcsProTable } from '@ccs-ui/rc-pro';
|
|
9300
9215
|
import { Badge, DatePicker, Input, InputNumber, Select } from 'antd';
|
|
9301
9216
|
import { queryWorker, TableDataType } from './service';
|
|
@@ -9483,7 +9398,7 @@ export default function Basic() {
|
|
|
9483
9398
|
</>
|
|
9484
9399
|
);
|
|
9485
9400
|
}
|
|
9486
|
-
`},66842:function(
|
|
9401
|
+
`},66842:function(P,n){"use strict";n.Z=`import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
|
|
9487
9402
|
import SelectParam1 from './components/SelectParam1';
|
|
9488
9403
|
import SelectParam2 from './components/SelectParam2';
|
|
9489
9404
|
import SelectParam3 from './components/SelectParam3';
|
|
@@ -9540,7 +9455,7 @@ export default () => {
|
|
|
9540
9455
|
</div>
|
|
9541
9456
|
);
|
|
9542
9457
|
};
|
|
9543
|
-
`},84296:function(
|
|
9458
|
+
`},84296:function(P,n){"use strict";n.Z=`import { useRequest } from 'ahooks';
|
|
9544
9459
|
import { Select } from 'antd';
|
|
9545
9460
|
import { FC } from 'react';
|
|
9546
9461
|
import { queryParam1 } from './service';
|
|
@@ -9590,7 +9505,7 @@ const SelectParam1: FC<StateProps> = ({ onChange, ...restProps }) => {
|
|
|
9590
9505
|
};
|
|
9591
9506
|
|
|
9592
9507
|
export default SelectParam1;
|
|
9593
|
-
`},84005:function(
|
|
9508
|
+
`},84005:function(P,n){"use strict";n.Z=`import { FormItemChildren } from '@ccs-ui/rc-pro/ccs';
|
|
9594
9509
|
import { useRequest } from 'ahooks';
|
|
9595
9510
|
import { Select } from 'antd';
|
|
9596
9511
|
import { FC, useEffect } from 'react';
|
|
@@ -9660,7 +9575,7 @@ const SelectParam2: FC<FormItemChildren> = ({
|
|
|
9660
9575
|
};
|
|
9661
9576
|
|
|
9662
9577
|
export default SelectParam2;
|
|
9663
|
-
`},38717:function(
|
|
9578
|
+
`},38717:function(P,n){"use strict";n.Z=`import { FormItemChildren } from '@ccs-ui/rc-pro/ccs';
|
|
9664
9579
|
import { useRequest } from 'ahooks';
|
|
9665
9580
|
import { Select } from 'antd';
|
|
9666
9581
|
import { FC, useEffect } from 'react';
|
|
@@ -9738,7 +9653,7 @@ const SelectParam3: FC<FormItemChildren> = ({
|
|
|
9738
9653
|
};
|
|
9739
9654
|
|
|
9740
9655
|
export default SelectParam3;
|
|
9741
|
-
`},43421:function(
|
|
9656
|
+
`},43421:function(P,n){"use strict";n.Z=`export const queryParam1 = () =>
|
|
9742
9657
|
new Promise<any>((resolve) => {
|
|
9743
9658
|
setTimeout(() => {
|
|
9744
9659
|
resolve({
|
|
@@ -9835,7 +9750,7 @@ export const queryParam3 = (param: any) =>
|
|
|
9835
9750
|
});
|
|
9836
9751
|
}, 1000);
|
|
9837
9752
|
});
|
|
9838
|
-
`},77470:function(
|
|
9753
|
+
`},77470:function(P,n){"use strict";n.Z=`import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
|
|
9839
9754
|
import { Input } from 'antd';
|
|
9840
9755
|
import { queryWorker, TableDataType } from './service';
|
|
9841
9756
|
|
|
@@ -9893,7 +9808,7 @@ export default function TableExtra() {
|
|
|
9893
9808
|
/>
|
|
9894
9809
|
);
|
|
9895
9810
|
}
|
|
9896
|
-
`},627:function(
|
|
9811
|
+
`},627:function(P,n){"use strict";n.Z=`import { SearchOutlined } from '@ant-design/icons';
|
|
9897
9812
|
import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
|
|
9898
9813
|
import { Button, Input } from 'antd';
|
|
9899
9814
|
import { queryWorker } from './service';
|
|
@@ -9998,7 +9913,7 @@ export default () => {
|
|
|
9998
9913
|
/>
|
|
9999
9914
|
);
|
|
10000
9915
|
};
|
|
10001
|
-
`},46682:function(
|
|
9916
|
+
`},46682:function(P,n){"use strict";n.Z=`import CCS, { CcsButton, CcsProTable } from '@ccs-ui/rc-pro';
|
|
10002
9917
|
import { DatePicker, Input, InputNumber, Select, Table } from 'antd';
|
|
10003
9918
|
import { useRef } from 'react';
|
|
10004
9919
|
import { queryWorker } from './service';
|
|
@@ -10109,7 +10024,7 @@ export default () => {
|
|
|
10109
10024
|
</div>
|
|
10110
10025
|
);
|
|
10111
10026
|
};
|
|
10112
|
-
`},60545:function(
|
|
10027
|
+
`},60545:function(P,n){"use strict";n.Z=`import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
|
|
10113
10028
|
import { Button, Input, Space } from 'antd';
|
|
10114
10029
|
import { useRef } from 'react';
|
|
10115
10030
|
import { queryWorker } from './service';
|
|
@@ -10155,7 +10070,7 @@ export default () => {
|
|
|
10155
10070
|
/>
|
|
10156
10071
|
);
|
|
10157
10072
|
};
|
|
10158
|
-
`},82691:function(
|
|
10073
|
+
`},82691:function(P,n){"use strict";n.Z=`import { PlusOutlined } from '@ant-design/icons';
|
|
10159
10074
|
import CCS, { CcsButton, CcsProTable, useTableSelection } from '@ccs-ui/rc-pro';
|
|
10160
10075
|
import { Badge, DatePicker, Input, InputNumber, Select } from 'antd';
|
|
10161
10076
|
import { queryWorker, TableDataType } from './service';
|
|
@@ -10377,7 +10292,7 @@ export default function Basic() {
|
|
|
10377
10292
|
</>
|
|
10378
10293
|
);
|
|
10379
10294
|
}
|
|
10380
|
-
`},64359:function(
|
|
10295
|
+
`},64359:function(P,n){"use strict";n.Z=`const updateData: any = {};
|
|
10381
10296
|
const addData: DataType[] = [];
|
|
10382
10297
|
|
|
10383
10298
|
// \u751F\u6210\u6570\u636E\u65B9\u6CD5
|
|
@@ -10441,7 +10356,7 @@ export type DataType = {
|
|
|
10441
10356
|
name?: string;
|
|
10442
10357
|
parentId: string;
|
|
10443
10358
|
};
|
|
10444
|
-
`},54331:function(
|
|
10359
|
+
`},54331:function(P,n){"use strict";n.Z=`import dayjs from 'dayjs';
|
|
10445
10360
|
|
|
10446
10361
|
export type TableDataType = {
|
|
10447
10362
|
loginId: number;
|
|
@@ -10489,7 +10404,7 @@ export function queryWorker(e: any) {
|
|
|
10489
10404
|
}, 500);
|
|
10490
10405
|
});
|
|
10491
10406
|
}
|
|
10492
|
-
`},48962:function(
|
|
10407
|
+
`},48962:function(P,n){"use strict";n.Z=`import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
|
|
10493
10408
|
import { Input, Select } from 'antd';
|
|
10494
10409
|
import { queryWorker, TableDataType } from './service';
|
|
10495
10410
|
|
|
@@ -10562,7 +10477,7 @@ export default () => {
|
|
|
10562
10477
|
</>
|
|
10563
10478
|
);
|
|
10564
10479
|
};
|
|
10565
|
-
`},83758:function(
|
|
10480
|
+
`},83758:function(P,n){"use strict";n.Z=`import CCS, { CcsButton, CcsDialog, CcsProTable } from '@ccs-ui/rc-pro';
|
|
10566
10481
|
import { useRef } from 'react';
|
|
10567
10482
|
import { DataType, query, update } from './service-tree';
|
|
10568
10483
|
import TreeForm from './tree-form';
|
|
@@ -10627,7 +10542,7 @@ export default () => {
|
|
|
10627
10542
|
/>
|
|
10628
10543
|
);
|
|
10629
10544
|
};
|
|
10630
|
-
`},12136:function(
|
|
10545
|
+
`},12136:function(P,n){"use strict";n.Z=`import { Form, Input } from 'antd';
|
|
10631
10546
|
import { FC } from 'react';
|
|
10632
10547
|
|
|
10633
10548
|
const FormItem = Form.Item;
|
|
@@ -10647,7 +10562,7 @@ const TreeForm: FC = () => {
|
|
|
10647
10562
|
};
|
|
10648
10563
|
|
|
10649
10564
|
export default TreeForm;
|
|
10650
|
-
`},82530:function(
|
|
10565
|
+
`},82530:function(P,n){"use strict";n.Z=`import { ProTableProps } from './_api';
|
|
10651
10566
|
import './index.less';
|
|
10652
10567
|
import SelectionAlert from './selection-alert';
|
|
10653
10568
|
import TableSummary from './summary';
|
|
@@ -10694,7 +10609,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
10694
10609
|
}
|
|
10695
10610
|
|
|
10696
10611
|
export default ProTable;
|
|
10697
|
-
`},9267:function(
|
|
10612
|
+
`},9267:function(P,n){"use strict";n.Z=`import { DeleteOutlined } from '@ant-design/icons';
|
|
10698
10613
|
import { Button, Space, Tag, TagProps, theme } from 'antd';
|
|
10699
10614
|
import React, { CSSProperties } from 'react';
|
|
10700
10615
|
|
|
@@ -10764,7 +10679,7 @@ export default function SelectionAlert({
|
|
|
10764
10679
|
</Space>
|
|
10765
10680
|
);
|
|
10766
10681
|
}
|
|
10767
|
-
`},98670:function(
|
|
10682
|
+
`},98670:function(P,n){"use strict";n.Z=`import { Table } from 'antd';
|
|
10768
10683
|
import { ReactNode } from 'react';
|
|
10769
10684
|
import CCS from '..';
|
|
10770
10685
|
|
|
@@ -10810,8 +10725,9 @@ export default function TableSummary({
|
|
|
10810
10725
|
</Table.Summary>
|
|
10811
10726
|
);
|
|
10812
10727
|
}
|
|
10813
|
-
`},56197:function(
|
|
10814
|
-
import {
|
|
10728
|
+
`},56197:function(P,n){"use strict";n.Z=`import { SettingOutlined } from '@ant-design/icons';
|
|
10729
|
+
import { useUpdateEffect } from 'ahooks';
|
|
10730
|
+
import { theme as antTheme, Button, Empty, TableProps } from 'antd';
|
|
10815
10731
|
import { ConfigContext } from 'antd/es/config-provider';
|
|
10816
10732
|
import { CheckboxOptionType } from 'antd/lib';
|
|
10817
10733
|
import { TablePaginationConfig } from 'antd/lib/table';
|
|
@@ -10869,7 +10785,7 @@ function onDefaultColumnValue<RecordType>(
|
|
|
10869
10785
|
if (!!c.dataIndex && !!c.title) {
|
|
10870
10786
|
defaultValue.columnOptions.push({ label: c.title, value: c.dataIndex });
|
|
10871
10787
|
}
|
|
10872
|
-
if (c.hidden !== true) {
|
|
10788
|
+
if (c.hidden !== true && !!c.dataIndex) {
|
|
10873
10789
|
defaultValue.columnShowKeys.push(c.dataIndex);
|
|
10874
10790
|
}
|
|
10875
10791
|
|
|
@@ -11246,9 +11162,13 @@ const InternalProTable = <RecordType extends object = any>(
|
|
|
11246
11162
|
<>
|
|
11247
11163
|
<CcsAtom.FullScreen parentHtmlId="ccs-pro-table" />
|
|
11248
11164
|
<CcsAtom.Checkbox
|
|
11165
|
+
style={{ maxHeight: 300 }}
|
|
11249
11166
|
options={defaultColumnValues.columnOptions}
|
|
11250
11167
|
defaultCheckedKeys={defaultColumnValues.columnShowKeys}
|
|
11251
|
-
|
|
11168
|
+
popoverMode={{
|
|
11169
|
+
placement: 'bottomRight',
|
|
11170
|
+
children: <Button type="text" icon={<SettingOutlined />} />,
|
|
11171
|
+
}}
|
|
11252
11172
|
onChange={(e) => {
|
|
11253
11173
|
const hideKeys = defaultColumnValues.columnShowKeys.filter(
|
|
11254
11174
|
(key) => !e.includes(key),
|
|
@@ -11314,7 +11234,7 @@ const InternalProTable = <RecordType extends object = any>(
|
|
|
11314
11234
|
};
|
|
11315
11235
|
|
|
11316
11236
|
export default InternalProTable;
|
|
11317
|
-
`},97683:function(
|
|
11237
|
+
`},97683:function(P,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
|
|
11318
11238
|
import { TableProps } from 'antd';
|
|
11319
11239
|
import { TableSticky } from 'rc-table/lib/interface';
|
|
11320
11240
|
import { RefObject, useImperativeHandle, useState } from 'react';
|
|
@@ -11465,7 +11385,7 @@ const TableTree = <T extends object = any>(props: TreeTableProps<T>) => {
|
|
|
11465
11385
|
};
|
|
11466
11386
|
|
|
11467
11387
|
export default TableTree;
|
|
11468
|
-
`},67190:function(
|
|
11388
|
+
`},67190:function(P,n){"use strict";n.Z=`import { TabPaneProps } from 'antd';
|
|
11469
11389
|
|
|
11470
11390
|
/** onTabChange \u53C2\u6570 */
|
|
11471
11391
|
export interface TabsChangeProps {
|
|
@@ -11502,7 +11422,7 @@ export interface TabsContextType {
|
|
|
11502
11422
|
/** \u6539\u53D8tab\u95F4\u4F20\u9012\u7684\u53C2\u6570 */
|
|
11503
11423
|
onTabChange: (tab: TabsChangeProps) => void;
|
|
11504
11424
|
}
|
|
11505
|
-
`},69045:function(
|
|
11425
|
+
`},69045:function(P,n){"use strict";n.Z=`import { CcsProTabs } from '@ccs-ui/rc-pro';
|
|
11506
11426
|
import { Tabs } from 'antd';
|
|
11507
11427
|
|
|
11508
11428
|
const items = [
|
|
@@ -11532,7 +11452,7 @@ export default function Basic() {
|
|
|
11532
11452
|
</>
|
|
11533
11453
|
);
|
|
11534
11454
|
}
|
|
11535
|
-
`},37926:function(
|
|
11455
|
+
`},37926:function(P,n){"use strict";n.Z=`import { CcsProTabs, useCcsTabs } from '@ccs-ui/rc-pro';
|
|
11536
11456
|
import { Button, Card, Space, Tabs } from 'antd';
|
|
11537
11457
|
|
|
11538
11458
|
let tabId = 3;
|
|
@@ -11605,7 +11525,7 @@ export default () => (
|
|
|
11605
11525
|
/>
|
|
11606
11526
|
</CcsProTabs>
|
|
11607
11527
|
);
|
|
11608
|
-
`},4196:function(
|
|
11528
|
+
`},4196:function(P,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
|
|
11609
11529
|
import { useUpdateEffect } from 'ahooks';
|
|
11610
11530
|
import { TabsProps, theme as antTheme } from 'antd';
|
|
11611
11531
|
import update, { Spec } from 'immutability-helper';
|
|
@@ -11750,7 +11670,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
11750
11670
|
}
|
|
11751
11671
|
|
|
11752
11672
|
export default ProTabs;
|
|
11753
|
-
`},20003:function(
|
|
11673
|
+
`},20003:function(P,n){"use strict";n.Z=`import { CcsResult } from '@ccs-ui/rc-pro';
|
|
11754
11674
|
|
|
11755
11675
|
export default () => {
|
|
11756
11676
|
return (
|
|
@@ -11768,7 +11688,7 @@ export default () => {
|
|
|
11768
11688
|
</>
|
|
11769
11689
|
);
|
|
11770
11690
|
};
|
|
11771
|
-
`},58578:function(
|
|
11691
|
+
`},58578:function(P,n){"use strict";n.Z=`import { Result } from 'antd';
|
|
11772
11692
|
import { ResultProps } from 'antd/es/result';
|
|
11773
11693
|
|
|
11774
11694
|
const InternalResult = (props: ResultProps) => <Result {...props} />;
|
|
@@ -11823,7 +11743,7 @@ InternalResult.Page404 = Result404;
|
|
|
11823
11743
|
InternalResult.Page500 = Result500;
|
|
11824
11744
|
|
|
11825
11745
|
export default InternalResult;
|
|
11826
|
-
`},2431:function(
|
|
11746
|
+
`},2431:function(P,n){"use strict";n.Z=`import { LoadingOutlined, SelectOutlined } from '@ant-design/icons';
|
|
11827
11747
|
import { Modal, Select } from 'antd';
|
|
11828
11748
|
import React, { useState } from 'react';
|
|
11829
11749
|
import { ModalSelectProps, SelectChildrenProps } from './_api';
|
|
@@ -11939,11 +11859,11 @@ export default function ModalSelect({
|
|
|
11939
11859
|
</>
|
|
11940
11860
|
);
|
|
11941
11861
|
}
|
|
11942
|
-
`},42519:function(
|
|
11862
|
+
`},42519:function(P,n){"use strict";n.Z=`import { SelectProps as AntSelectProps, ModalProps } from 'antd';
|
|
11943
11863
|
import { NamePath } from 'antd/es/form/interface';
|
|
11944
11864
|
import { ReactElement, ReactNode } from 'react';
|
|
11945
11865
|
|
|
11946
|
-
type SelectFieldNames = {
|
|
11866
|
+
export type SelectFieldNames = {
|
|
11947
11867
|
label?: NamePath;
|
|
11948
11868
|
value?: NamePath;
|
|
11949
11869
|
};
|
|
@@ -11953,6 +11873,8 @@ export type SelectProps = Omit<AntSelectProps, 'fieldNames'> & {
|
|
|
11953
11873
|
showAll?: boolean | { label: string; value: any };
|
|
11954
11874
|
/** \u63A5\u53E3\u6570\u636E\u5B57\u6BB5 */
|
|
11955
11875
|
fieldNames?: SelectFieldNames;
|
|
11876
|
+
/** \u9009\u4E2D\u9879ref */
|
|
11877
|
+
selectedRef?: React.MutableRefObject<any>;
|
|
11956
11878
|
};
|
|
11957
11879
|
|
|
11958
11880
|
export type SelectChildrenProps = Pick<
|
|
@@ -11976,6 +11898,7 @@ export type CustomizeSelectProps = Omit<AntSelectProps, 'children'> & {
|
|
|
11976
11898
|
children?: ReactElement | ((props: SelectChildrenProps) => ReactNode);
|
|
11977
11899
|
};
|
|
11978
11900
|
|
|
11901
|
+
/** \u7F13\u5B58\u914D\u7F6E */
|
|
11979
11902
|
export type CacheType = {
|
|
11980
11903
|
/** \u7F13\u5B58key\uFF0C\u540C\u4E00\u4E2Akey\u5C06\u5171\u4EAB\u6570\u636E */
|
|
11981
11904
|
cacheKey?: string;
|
|
@@ -11985,14 +11908,26 @@ export type CacheType = {
|
|
|
11985
11908
|
cacheTime?: number;
|
|
11986
11909
|
};
|
|
11987
11910
|
|
|
11988
|
-
export
|
|
11911
|
+
export interface RequestType {
|
|
11989
11912
|
/** \u5F00\u542F\u7F13\u5B58 */
|
|
11990
11913
|
cache?: CacheType;
|
|
11991
11914
|
/** \u4F9D\u8D56\u53C2\u6570 */
|
|
11992
11915
|
defaultParams?: Record<string, any>;
|
|
11993
11916
|
/** \u67E5\u8BE2\u8BF7\u6C42 */
|
|
11994
|
-
|
|
11995
|
-
}
|
|
11917
|
+
service?: (params?: any) => Promise<any>;
|
|
11918
|
+
}
|
|
11919
|
+
|
|
11920
|
+
/** \u63A5\u53E3\u8BF7\u6C42\u5C5E\u6027 */
|
|
11921
|
+
export interface ApiRequestProps {
|
|
11922
|
+
/** @deprecated \u5F00\u542F\u7F13\u5B58 */
|
|
11923
|
+
cache?: CacheType;
|
|
11924
|
+
/** @deprecated \u4F9D\u8D56\u53C2\u6570 */
|
|
11925
|
+
defaultParams?: Record<string, any>;
|
|
11926
|
+
/** \u67E5\u8BE2\u8BF7\u6C42 */
|
|
11927
|
+
request?: ((params?: any) => Promise<any>) | RequestType;
|
|
11928
|
+
}
|
|
11929
|
+
|
|
11930
|
+
export type ApiSelectProps = SelectProps & ApiRequestProps;
|
|
11996
11931
|
|
|
11997
11932
|
export type ModalSelectProps = Omit<AntSelectProps, 'children' | 'title'> & {
|
|
11998
11933
|
/** modal props */
|
|
@@ -12000,10 +11935,10 @@ export type ModalSelectProps = Omit<AntSelectProps, 'children' | 'title'> & {
|
|
|
12000
11935
|
/** \u81EA\u5B9A\u4E49\u5185\u5BB9 */
|
|
12001
11936
|
children?: ReactElement | ((props: SelectChildrenProps) => ReactNode);
|
|
12002
11937
|
};
|
|
12003
|
-
`},52504:function(
|
|
12004
|
-
import { useEffect } from 'react';
|
|
11938
|
+
`},52504:function(P,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
|
|
12005
11939
|
import InternalSelect from '.';
|
|
12006
|
-
import
|
|
11940
|
+
import useApiRequest from '../atom/useApiRequest';
|
|
11941
|
+
import { ApiSelectProps, RequestType } from './_api';
|
|
12007
11942
|
|
|
12008
11943
|
/**
|
|
12009
11944
|
* \u57FA\u4E8E\u63A5\u53E3\u67E5\u8BE2\u7684select\u7EC4\u4EF6
|
|
@@ -12016,31 +11951,19 @@ function ApiSelect({
|
|
|
12016
11951
|
defaultParams = {},
|
|
12017
11952
|
...restProps
|
|
12018
11953
|
}: ApiSelectProps) {
|
|
12019
|
-
const
|
|
12020
|
-
|
|
12021
|
-
|
|
12022
|
-
run,
|
|
12023
|
-
} = useRequest<any[], any[]>(
|
|
12024
|
-
async (params) => {
|
|
12025
|
-
if (!request) return [];
|
|
11954
|
+
const apiProps = CcsUtils.isFunction(request)
|
|
11955
|
+
? { service: request, defaultParams, cache }
|
|
11956
|
+
: (request as RequestType);
|
|
12026
11957
|
|
|
12027
|
-
|
|
12028
|
-
},
|
|
12029
|
-
{
|
|
12030
|
-
manual: true,
|
|
12031
|
-
...(cache || {}),
|
|
12032
|
-
},
|
|
12033
|
-
);
|
|
11958
|
+
const { loading, data = [] } = useApiRequest(apiProps);
|
|
12034
11959
|
|
|
12035
|
-
|
|
12036
|
-
|
|
12037
|
-
|
|
12038
|
-
|
|
12039
|
-
return <InternalSelect options={data} loading={loading} {...restProps} />;
|
|
11960
|
+
return (
|
|
11961
|
+
<InternalSelect options={data as any} loading={loading} {...restProps} />
|
|
11962
|
+
);
|
|
12040
11963
|
}
|
|
12041
11964
|
|
|
12042
11965
|
export default ApiSelect;
|
|
12043
|
-
`},5125:function(
|
|
11966
|
+
`},5125:function(P,n){"use strict";n.Z=`import { LoadingOutlined, SelectOutlined } from '@ant-design/icons';
|
|
12044
11967
|
import { Select } from 'antd';
|
|
12045
11968
|
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
|
12046
11969
|
import { CustomizeSelectProps, SelectChildrenProps } from './_api';
|
|
@@ -12052,7 +11975,6 @@ import { CustomizeSelectProps, SelectChildrenProps } from './_api';
|
|
|
12052
11975
|
*/
|
|
12053
11976
|
function SelectIndex({
|
|
12054
11977
|
value,
|
|
12055
|
-
style,
|
|
12056
11978
|
mode,
|
|
12057
11979
|
children,
|
|
12058
11980
|
contentWidth,
|
|
@@ -12061,7 +11983,7 @@ function SelectIndex({
|
|
|
12061
11983
|
...otherProps
|
|
12062
11984
|
}: CustomizeSelectProps) {
|
|
12063
11985
|
// \u521D\u59CB\u52A0\u8F7D
|
|
12064
|
-
const [open, setOpen] = useState(
|
|
11986
|
+
const [open, setOpen] = useState<boolean | 'init'>('init');
|
|
12065
11987
|
const ref = useRef<HTMLDivElement>(null);
|
|
12066
11988
|
const [labelText, setLabelText] = useState<string | undefined>(undefined);
|
|
12067
11989
|
const [loading, setLoading] = useState(false);
|
|
@@ -12141,18 +12063,22 @@ function SelectIndex({
|
|
|
12141
12063
|
return (
|
|
12142
12064
|
<>
|
|
12143
12065
|
<Select
|
|
12144
|
-
open={open}
|
|
12066
|
+
open={!!open}
|
|
12145
12067
|
onOpenChange={setOpen}
|
|
12146
12068
|
allowClear
|
|
12147
12069
|
defaultActiveFirstOption
|
|
12148
12070
|
suffixIcon={loading ? <LoadingOutlined /> : <SelectOutlined />}
|
|
12149
12071
|
placeholder="\u8BF7\u9009\u62E9"
|
|
12072
|
+
classNames={{
|
|
12073
|
+
popup: {
|
|
12074
|
+
root: open === 'init' ? 'ccs-select-custom-init' : undefined,
|
|
12075
|
+
},
|
|
12076
|
+
}}
|
|
12150
12077
|
{...otherProps}
|
|
12151
12078
|
popupMatchSelectWidth={contentWidth}
|
|
12152
12079
|
popupRender={() => dropdownRender}
|
|
12153
12080
|
mode={!!labelText ? undefined : mode}
|
|
12154
12081
|
value={loading ? undefined : renderValueText()}
|
|
12155
|
-
style={{ ...style }}
|
|
12156
12082
|
onChange={onChange}
|
|
12157
12083
|
options={options}
|
|
12158
12084
|
/>
|
|
@@ -12161,7 +12087,148 @@ function SelectIndex({
|
|
|
12161
12087
|
}
|
|
12162
12088
|
|
|
12163
12089
|
export default SelectIndex;
|
|
12164
|
-
`},
|
|
12090
|
+
`},54681:function(P,n){"use strict";n.Z=`import { CcsSelect } from '@ccs-ui/rc-pro';
|
|
12091
|
+
import { Button, Space } from 'antd';
|
|
12092
|
+
import { useState } from 'react';
|
|
12093
|
+
import { onRequest } from './service';
|
|
12094
|
+
|
|
12095
|
+
export default () => {
|
|
12096
|
+
const [count, setCount] = useState(1);
|
|
12097
|
+
|
|
12098
|
+
return (
|
|
12099
|
+
<>
|
|
12100
|
+
<Space direction="vertical">
|
|
12101
|
+
<CcsSelect.Api
|
|
12102
|
+
showAll
|
|
12103
|
+
request={onRequest}
|
|
12104
|
+
placeholder="\u8BF7\u9009\u62E9"
|
|
12105
|
+
style={{ width: 200 }}
|
|
12106
|
+
fieldNames={{
|
|
12107
|
+
label: ['data', 'name'],
|
|
12108
|
+
value: ['data', 'id'],
|
|
12109
|
+
}}
|
|
12110
|
+
/>
|
|
12111
|
+
<CcsSelect.Api
|
|
12112
|
+
showAll
|
|
12113
|
+
request={onRequest}
|
|
12114
|
+
placeholder="\u8BF7\u9009\u62E9"
|
|
12115
|
+
style={{ width: 200 }}
|
|
12116
|
+
fieldNames={{ label: ['data', 'name'], value: ['data', 'id'] }}
|
|
12117
|
+
/>
|
|
12118
|
+
{Array(count)
|
|
12119
|
+
.fill('')
|
|
12120
|
+
.map((_, index) => (
|
|
12121
|
+
<CcsSelect.Api
|
|
12122
|
+
key={index}
|
|
12123
|
+
request={{
|
|
12124
|
+
service: onRequest,
|
|
12125
|
+
cache: { cacheKey: '_Select_01', staleTime: 60 * 60 * 1000 },
|
|
12126
|
+
}}
|
|
12127
|
+
placeholder="\u8BF7\u9009\u62E9"
|
|
12128
|
+
style={{ width: 200 }}
|
|
12129
|
+
fieldNames={{ label: ['data', 'name'], value: ['data', 'id'] }}
|
|
12130
|
+
/>
|
|
12131
|
+
))}
|
|
12132
|
+
<Button onClick={() => setCount(count + 1)}>\u6DFB\u52A0</Button>
|
|
12133
|
+
</Space>
|
|
12134
|
+
</>
|
|
12135
|
+
);
|
|
12136
|
+
};
|
|
12137
|
+
`},85467:function(P,n){"use strict";n.Z=`import { CcsSelect } from '@ccs-ui/rc-pro';
|
|
12138
|
+
|
|
12139
|
+
export default () => {
|
|
12140
|
+
return (
|
|
12141
|
+
<>
|
|
12142
|
+
<CcsSelect
|
|
12143
|
+
options={[
|
|
12144
|
+
{ value: '1', label: '\u9009\u9879\u4E00' },
|
|
12145
|
+
{ value: '2', label: '\u9009\u9879\u4E8C' },
|
|
12146
|
+
{ value: '3', label: '\u9009\u9879\u4E09' },
|
|
12147
|
+
]}
|
|
12148
|
+
placeholder="\u8BF7\u9009\u62E9"
|
|
12149
|
+
style={{ width: 200 }}
|
|
12150
|
+
showAll
|
|
12151
|
+
/>
|
|
12152
|
+
</>
|
|
12153
|
+
);
|
|
12154
|
+
};
|
|
12155
|
+
`},20804:function(P,n){"use strict";n.Z=`import CCS, { CcsProTable, CcsSelect, useTableSelection } from '@ccs-ui/rc-pro';
|
|
12156
|
+
import { Form, Space } from 'antd';
|
|
12157
|
+
import { onRequestPage, RecordType } from './service';
|
|
12158
|
+
|
|
12159
|
+
function CustomSelect({
|
|
12160
|
+
mode,
|
|
12161
|
+
value,
|
|
12162
|
+
onChange,
|
|
12163
|
+
onChangeLabel,
|
|
12164
|
+
}: CCS.SelectChildrenProps) {
|
|
12165
|
+
// \u9009\u62E9\u72B6\u6001\u4E8B\u4EF6\uFF0C\u5904\u7406\u53D7\u63A7\u72B6\u6001\uFF0C\u9009\u4E2D\u663E\u793A\u6587\u5B57\u4FE1\u606F
|
|
12166
|
+
const rowSelection = useTableSelection({
|
|
12167
|
+
value,
|
|
12168
|
+
onChange,
|
|
12169
|
+
keyField: 'id',
|
|
12170
|
+
onChangeRows: (rows) => {
|
|
12171
|
+
// \u81EA\u5B9A\u4E49\u663E\u793A\u9009\u4E2D\u8BE6\u60C5
|
|
12172
|
+
onChangeLabel?.(\`\u5DF2\u9009\u4E2D\${rows.length}\u9879\`);
|
|
12173
|
+
},
|
|
12174
|
+
type: !!mode ? 'checkbox' : 'radio',
|
|
12175
|
+
preserveSelectedRowKeys: true,
|
|
12176
|
+
});
|
|
12177
|
+
|
|
12178
|
+
return (
|
|
12179
|
+
<CcsProTable<RecordType>
|
|
12180
|
+
table={{
|
|
12181
|
+
rowKey: 'id',
|
|
12182
|
+
size: 'small',
|
|
12183
|
+
request: onRequestPage,
|
|
12184
|
+
rowSelection,
|
|
12185
|
+
hideOperation: true,
|
|
12186
|
+
columns: [
|
|
12187
|
+
{ dataIndex: 'id', title: 'ID' },
|
|
12188
|
+
{ dataIndex: 'name', title: 'Name' },
|
|
12189
|
+
],
|
|
12190
|
+
}}
|
|
12191
|
+
/>
|
|
12192
|
+
);
|
|
12193
|
+
}
|
|
12194
|
+
|
|
12195
|
+
export default () => {
|
|
12196
|
+
return (
|
|
12197
|
+
<Space direction="vertical">
|
|
12198
|
+
<Form
|
|
12199
|
+
onValuesChange={(values) => {
|
|
12200
|
+
console.log('form values', values);
|
|
12201
|
+
}}
|
|
12202
|
+
>
|
|
12203
|
+
<Form.Item name="customLabel">
|
|
12204
|
+
<CcsSelect.Customize
|
|
12205
|
+
style={{ width: 200 }}
|
|
12206
|
+
contentWidth={500}
|
|
12207
|
+
placeholder="\u8BF7\u9009\u62E9"
|
|
12208
|
+
title="\u8868\u683C\u9009\u62E9"
|
|
12209
|
+
mode="multiple"
|
|
12210
|
+
>
|
|
12211
|
+
<CustomSelect />
|
|
12212
|
+
</CcsSelect.Customize>
|
|
12213
|
+
</Form.Item>
|
|
12214
|
+
<Form.Item name="customModalLabel">
|
|
12215
|
+
<CcsSelect.Modal
|
|
12216
|
+
placeholder="\u8BF7\u9009\u62E9"
|
|
12217
|
+
style={{ width: 200 }}
|
|
12218
|
+
mode="multiple"
|
|
12219
|
+
modal={{
|
|
12220
|
+
width: 600,
|
|
12221
|
+
title: '\u8868\u683C\u9009\u62E9',
|
|
12222
|
+
}}
|
|
12223
|
+
>
|
|
12224
|
+
<CustomSelect />
|
|
12225
|
+
</CcsSelect.Modal>
|
|
12226
|
+
</Form.Item>
|
|
12227
|
+
</Form>
|
|
12228
|
+
</Space>
|
|
12229
|
+
);
|
|
12230
|
+
};
|
|
12231
|
+
`},82668:function(P,n){"use strict";n.Z=`import CCS, { CcsProTable, CcsSelect, useTableSelection } from '@ccs-ui/rc-pro';
|
|
12165
12232
|
import { useRequest } from 'ahooks';
|
|
12166
12233
|
import { Form, Space } from 'antd';
|
|
12167
12234
|
import { onRequestList, onRequestPage, RecordType } from './service';
|
|
@@ -12297,7 +12364,7 @@ export default () => {
|
|
|
12297
12364
|
</Space>
|
|
12298
12365
|
);
|
|
12299
12366
|
};
|
|
12300
|
-
`},65358:function(
|
|
12367
|
+
`},65358:function(P,n){"use strict";n.Z=`export type RecordType = { id: string; name: string };
|
|
12301
12368
|
|
|
12302
12369
|
export function onRequest() {
|
|
12303
12370
|
return new Promise<any>((resolve) => {
|
|
@@ -12342,7 +12409,7 @@ export function onRequestPage({ pageNo }: { pageNo: number }) {
|
|
|
12342
12409
|
const id = (pageNo - 1) * 10 + index + 1;
|
|
12343
12410
|
return {
|
|
12344
12411
|
id: id.toString(),
|
|
12345
|
-
name: \`\u9009\u9879
|
|
12412
|
+
name: \`\u9009\u9879\${id}\`,
|
|
12346
12413
|
};
|
|
12347
12414
|
}),
|
|
12348
12415
|
},
|
|
@@ -12363,20 +12430,15 @@ export function onRequestList(value: string | string[]) {
|
|
|
12363
12430
|
}, 1500);
|
|
12364
12431
|
});
|
|
12365
12432
|
}
|
|
12366
|
-
`},96440:function(
|
|
12367
|
-
import {
|
|
12433
|
+
`},96440:function(P,n){"use strict";n.Z=`import { Select } from 'antd';
|
|
12434
|
+
import { useEffect } from 'react';
|
|
12368
12435
|
import pinyin from 'tiny-pinyin';
|
|
12369
|
-
import
|
|
12436
|
+
import useFieldOptions from '../atom/useFieldOptions';
|
|
12370
12437
|
import ModalSelect from './ modal';
|
|
12371
12438
|
import { SelectProps } from './_api';
|
|
12372
12439
|
import ApiSelect from './api';
|
|
12373
12440
|
import CustomizeSelect from './customize';
|
|
12374
|
-
|
|
12375
|
-
function onIsArray(data: string | string[]) {
|
|
12376
|
-
if (Array.isArray(data)) return data;
|
|
12377
|
-
|
|
12378
|
-
return [data];
|
|
12379
|
-
}
|
|
12441
|
+
import './index.less';
|
|
12380
12442
|
|
|
12381
12443
|
/**
|
|
12382
12444
|
* select \u7EC4\u4EF6\u6269\u5C55
|
|
@@ -12387,11 +12449,9 @@ function InternalSelect({
|
|
|
12387
12449
|
showAll,
|
|
12388
12450
|
fieldNames,
|
|
12389
12451
|
options = [],
|
|
12452
|
+
selectedRef,
|
|
12390
12453
|
...props
|
|
12391
12454
|
}: SelectProps) {
|
|
12392
|
-
const labelField = [...onIsArray(fieldNames?.label || ['label'])];
|
|
12393
|
-
const valueField = [...onIsArray(fieldNames?.value || ['value'])];
|
|
12394
|
-
|
|
12395
12455
|
// \u641C\u7D22\uFF0C\u4E2D\u6587\u8F6C\u82F1\u6587\u641C\u7D22
|
|
12396
12456
|
const onFilterOption: SelectProps['filterOption'] = (input, option) => {
|
|
12397
12457
|
const str = \`\${option?.label}\${option?.value}\`;
|
|
@@ -12404,33 +12464,25 @@ function InternalSelect({
|
|
|
12404
12464
|
};
|
|
12405
12465
|
|
|
12406
12466
|
// \u9009\u9879
|
|
12407
|
-
const selectOptions =
|
|
12408
|
-
|
|
12409
|
-
|
|
12410
|
-
|
|
12411
|
-
|
|
12412
|
-
|
|
12413
|
-
|
|
12414
|
-
|
|
12415
|
-
break;
|
|
12416
|
-
}
|
|
12417
|
-
|
|
12418
|
-
labelField.shift();
|
|
12419
|
-
const value = valueField.shift();
|
|
12420
|
-
|
|
12421
|
-
if (value && ops !== undefined) {
|
|
12422
|
-
ops = ops[value];
|
|
12423
|
-
}
|
|
12424
|
-
}
|
|
12467
|
+
const selectOptions = useFieldOptions(options, {
|
|
12468
|
+
fieldNames,
|
|
12469
|
+
defaultOptions: showAll
|
|
12470
|
+
? typeof showAll === 'boolean'
|
|
12471
|
+
? { label: '\u5168\u90E8', value: '' }
|
|
12472
|
+
: showAll
|
|
12473
|
+
: undefined,
|
|
12474
|
+
});
|
|
12425
12475
|
|
|
12426
|
-
|
|
12427
|
-
|
|
12428
|
-
|
|
12429
|
-
|
|
12476
|
+
// selectedRef \u9ED8\u8BA4\u5DF2\u9009\u62E9\u7684\u6570\u636E
|
|
12477
|
+
useEffect(() => {
|
|
12478
|
+
if (selectedRef && props.value !== undefined) {
|
|
12479
|
+
selectedRef.current = selectOptions.filter((item) =>
|
|
12480
|
+
(Array.isArray(props.value) ? props.value : [props.value])?.includes(
|
|
12481
|
+
item.value,
|
|
12482
|
+
),
|
|
12430
12483
|
);
|
|
12431
12484
|
}
|
|
12432
|
-
|
|
12433
|
-
}, [options]);
|
|
12485
|
+
}, [selectOptions]);
|
|
12434
12486
|
|
|
12435
12487
|
return (
|
|
12436
12488
|
<Select
|
|
@@ -12440,6 +12492,10 @@ function InternalSelect({
|
|
|
12440
12492
|
allowClear
|
|
12441
12493
|
showSearch
|
|
12442
12494
|
{...props}
|
|
12495
|
+
onChange={(value, options) => {
|
|
12496
|
+
if (selectedRef) selectedRef.current = options;
|
|
12497
|
+
props.onChange?.(value, options);
|
|
12498
|
+
}}
|
|
12443
12499
|
/>
|
|
12444
12500
|
);
|
|
12445
12501
|
}
|
|
@@ -12458,7 +12514,7 @@ InternalSelect.Customize = CustomizeSelect;
|
|
|
12458
12514
|
InternalSelect.Modal = ModalSelect;
|
|
12459
12515
|
|
|
12460
12516
|
export default InternalSelect;
|
|
12461
|
-
`},59609:function(
|
|
12517
|
+
`},59609:function(P,n){"use strict";n.Z=`import { Badge, Tag } from 'antd';
|
|
12462
12518
|
|
|
12463
12519
|
export type CcsStatusTagProps = {
|
|
12464
12520
|
value: any;
|
|
@@ -12487,7 +12543,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
12487
12543
|
}
|
|
12488
12544
|
|
|
12489
12545
|
export default StatusTag;
|
|
12490
|
-
`},62576:function(
|
|
12546
|
+
`},62576:function(P,n){"use strict";n.Z=`import { message, Modal, notification } from 'antd';
|
|
12491
12547
|
import { MessageInstance } from 'antd/es/message/interface';
|
|
12492
12548
|
import { HookAPI } from 'antd/es/modal/useModal';
|
|
12493
12549
|
import { NotificationInstance } from 'antd/es/notification/interface';
|
|
@@ -12566,7 +12622,7 @@ export default class ThemeDialog {
|
|
|
12566
12622
|
},
|
|
12567
12623
|
);
|
|
12568
12624
|
}
|
|
12569
|
-
`},54516:function(
|
|
12625
|
+
`},54516:function(P,n){"use strict";n.Z=`import { CcsTimePicker } from '@ccs-ui/rc-pro';
|
|
12570
12626
|
import { Space } from 'antd';
|
|
12571
12627
|
|
|
12572
12628
|
export default () => {
|
|
@@ -12589,7 +12645,7 @@ export default () => {
|
|
|
12589
12645
|
</Space>
|
|
12590
12646
|
);
|
|
12591
12647
|
};
|
|
12592
|
-
`},88225:function(
|
|
12648
|
+
`},88225:function(P,n){"use strict";n.Z=`import { TimePicker, TimePickerProps } from 'antd';
|
|
12593
12649
|
import { RangePickerProps } from 'antd/es/date-picker';
|
|
12594
12650
|
import dayjs from 'dayjs';
|
|
12595
12651
|
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
@@ -12647,7 +12703,7 @@ function RangePicker({ value, onChange, ...restProps }: CcsRangePickerProps) {
|
|
|
12647
12703
|
CcsTimePicker.RangePicker = RangePicker;
|
|
12648
12704
|
|
|
12649
12705
|
export default CcsTimePicker;
|
|
12650
|
-
`},86363:function(
|
|
12706
|
+
`},86363:function(P,n){"use strict";n.Z=`import {
|
|
12651
12707
|
UploadProps as AntUploadProps,
|
|
12652
12708
|
UploadChangeParam,
|
|
12653
12709
|
} from 'antd/es/upload';
|
|
@@ -12716,7 +12772,7 @@ export type UploadImageProps = UploadProps & {
|
|
|
12716
12772
|
/** \u83B7\u53D6base64\u6570\u636E */
|
|
12717
12773
|
onImageInfo?: (info: ImageInfo) => void;
|
|
12718
12774
|
};
|
|
12719
|
-
`},48615:function(
|
|
12775
|
+
`},48615:function(P,n){"use strict";n.Z=`import { CcsUpload } from '@ccs-ui/rc-pro';
|
|
12720
12776
|
|
|
12721
12777
|
const uploadRequest = () => {
|
|
12722
12778
|
return new Promise<any>((resolve) => {
|
|
@@ -12738,7 +12794,7 @@ export default function Basic() {
|
|
|
12738
12794
|
/>
|
|
12739
12795
|
);
|
|
12740
12796
|
}
|
|
12741
|
-
`},52122:function(
|
|
12797
|
+
`},52122:function(P,n){"use strict";n.Z=`import { CcsUpload } from '@ccs-ui/rc-pro';
|
|
12742
12798
|
|
|
12743
12799
|
const uploadRequest = () => {
|
|
12744
12800
|
return new Promise<any>((resolve) => {
|
|
@@ -12760,7 +12816,7 @@ export default function Basic() {
|
|
|
12760
12816
|
/>
|
|
12761
12817
|
);
|
|
12762
12818
|
}
|
|
12763
|
-
`},27379:function(
|
|
12819
|
+
`},27379:function(P,n){"use strict";n.Z=`import { UploadOutlined } from '@ant-design/icons';
|
|
12764
12820
|
import { UploadProps as AntUploadProps, Button, Upload, message } from 'antd';
|
|
12765
12821
|
import { useState } from 'react';
|
|
12766
12822
|
import CcsDialog from '../dialog';
|
|
@@ -12903,7 +12959,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
12903
12959
|
}
|
|
12904
12960
|
|
|
12905
12961
|
export default CustomUpload;
|
|
12906
|
-
`},87745:function(
|
|
12962
|
+
`},87745:function(P,n){"use strict";n.Z=`import { PlusOutlined } from '@ant-design/icons';
|
|
12907
12963
|
import { message, Upload, UploadProps } from 'antd';
|
|
12908
12964
|
import ImgCrop from 'antd-img-crop';
|
|
12909
12965
|
import { RcFile, UploadFile } from 'antd/es/upload/interface';
|
|
@@ -13054,7 +13110,7 @@ export function ImageUpload({
|
|
|
13054
13110
|
</>
|
|
13055
13111
|
);
|
|
13056
13112
|
}
|
|
13057
|
-
`},47704:function(
|
|
13113
|
+
`},47704:function(P,n){"use strict";n.Z=`import { NamePath } from 'antd/es/form/interface';
|
|
13058
13114
|
|
|
13059
13115
|
// \u8EAB\u4EFD\u8BC1\u53F7\u7801\u6B63\u5219\u8868\u8FBE\u5F0F\uFF08\u7ED3\u6784\u6821\u9A8C\uFF09
|
|
13060
13116
|
const idCardRegex =
|
|
@@ -13145,7 +13201,7 @@ export function getDataByNamePath(data: any, name: NamePath) {
|
|
|
13145
13201
|
}
|
|
13146
13202
|
return newData;
|
|
13147
13203
|
}
|
|
13148
|
-
`},96788:function(
|
|
13204
|
+
`},96788:function(P,n){"use strict";n.Z=`import { PropsWithCss, PropsWithNodeChildren } from '../ccs';
|
|
13149
13205
|
|
|
13150
13206
|
export type WaterMarkProps = PropsWithNodeChildren &
|
|
13151
13207
|
PropsWithCss & {
|
|
@@ -13201,7 +13257,7 @@ export type WaterMarkProps = PropsWithNodeChildren &
|
|
|
13201
13257
|
*/
|
|
13202
13258
|
fontSize?: number | string;
|
|
13203
13259
|
};
|
|
13204
|
-
`},7281:function(
|
|
13260
|
+
`},7281:function(P,n){"use strict";n.Z=`import { CcsWaterMark } from '@ccs-ui/rc-pro';
|
|
13205
13261
|
|
|
13206
13262
|
export default () => {
|
|
13207
13263
|
return (
|
|
@@ -13229,7 +13285,7 @@ export default () => {
|
|
|
13229
13285
|
</>
|
|
13230
13286
|
);
|
|
13231
13287
|
};
|
|
13232
|
-
`},79604:function(
|
|
13288
|
+
`},79604:function(P,n){"use strict";n.Z=`import { ConfigProvider } from 'antd';
|
|
13233
13289
|
import classNames from 'classnames';
|
|
13234
13290
|
import { useContext, useEffect, useState } from 'react';
|
|
13235
13291
|
import { WaterMarkProps } from './_api';
|
|
@@ -13388,7 +13444,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
13388
13444
|
WaterMarkComponent.Relative = WaterMarkRelative;
|
|
13389
13445
|
|
|
13390
13446
|
export default WaterMarkComponent;
|
|
13391
|
-
`},62561:function(
|
|
13447
|
+
`},62561:function(P,n){"use strict";n.Z=`import { ConfigProvider } from 'antd';
|
|
13392
13448
|
import classNames from 'classnames';
|
|
13393
13449
|
import { useContext, useEffect, useState } from 'react';
|
|
13394
13450
|
import { WaterMarkProps } from './_api';
|
|
@@ -13528,7 +13584,7 @@ const WaterMarkRelative = (props: WaterMarkProps) => {
|
|
|
13528
13584
|
};
|
|
13529
13585
|
|
|
13530
13586
|
export default WaterMarkRelative;
|
|
13531
|
-
`},93474:function(
|
|
13587
|
+
`},93474:function(P,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
|
|
13532
13588
|
|
|
13533
13589
|
export default function DemoIndex() {
|
|
13534
13590
|
const items = Object.getOwnPropertyNames(CcsUtils)
|