@ccs-ui/rc-pro 2.4.7 → 2.4.9
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 +1 -1
- package/docs-dist/atom__demos.90c61f8e.async.js +1 -0
- package/docs-dist/guide/index.html +1 -1
- package/docs-dist/index.html +1 -1
- package/docs-dist/{meta__packages.6918a5b3.chunk.css → meta__packages.005955bf.chunk.css} +1 -1
- package/docs-dist/{meta__packages.3df2aa7f.async.js → meta__packages.afac63ad.async.js} +238 -222
- package/docs-dist/plugins/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/enumerations/DataEvent.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomCheckboxProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomEllipsisProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomFullScreenProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomLoadingProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomMultiStateProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/interfaces/ResizeSize.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomCountdownInstance.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomCountdownProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterInstance.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItem.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItems.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomOperationProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomPageRequestProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomResizeProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomTitleProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/TableEventHandle.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/interfaces/ButtonGroupProps.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/interfaces/DropdownProps.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/interfaces/GroupButtonItem.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/type-aliases/ButtonProps.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/type-aliases/DropdownClick.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/type-aliases/DropdownMenuItemType.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/type-aliases/GroupClick.md/index.html +1 -1
- package/docs-dist/rc-pro/cascader/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/cascader/_api/type-aliases/ApiCascaderProps.md/index.html +1 -1
- package/docs-dist/rc-pro/context/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/context/_api/type-aliases/AppConfigType.md/index.html +1 -1
- package/docs-dist/rc-pro/context/_api/type-aliases/AppFieldNames.md/index.html +1 -1
- package/docs-dist/rc-pro/context/_api/type-aliases/FnContextType.md/index.html +1 -1
- package/docs-dist/rc-pro/context/_api/type-aliases/PageContextType.md/index.html +1 -1
- package/docs-dist/rc-pro/context/_api/type-aliases/PageFieldNames.md/index.html +1 -1
- package/docs-dist/rc-pro/date-picker/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/date-picker/_api/type-aliases/DatePickerProps.md/index.html +1 -1
- package/docs-dist/rc-pro/date-picker/_api/type-aliases/RangePickerProps.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogContextType.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogDrawer.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogInterface.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogModal.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogProps.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogButtonsProps.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogDrawerProps.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogModalProps.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/type-aliases/OkBtnProps.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/type-aliases/OkEvent.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/type-aliases/Service.md/index.html +1 -1
- package/docs-dist/rc-pro/editor/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/editor/_api/type-aliases/EditorCodeProps.md/index.html +1 -1
- package/docs-dist/rc-pro/editor/_api/type-aliases/EditorRichProps.md/index.html +1 -1
- package/docs-dist/rc-pro/editor/_api/type-aliases/LexicalEditorBaseProps.md/index.html +1 -1
- package/docs-dist/rc-pro/editor/_api/type-aliases/RichImageUpload.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItem.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItemChildren.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItemProps.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/FormListProps.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/ListItemBtnProps.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItem.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemButton.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemProps.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/RuleType.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/ShowValidateEvent.md/index.html +1 -1
- package/docs-dist/rc-pro/index.html +1 -1
- package/docs-dist/rc-pro/index.md/index.html +1 -1
- package/docs-dist/rc-pro/page-layout/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/page-layout/_api/interfaces/KeepAliveTabsProps.md/index.html +1 -1
- package/docs-dist/rc-pro/page-layout/_api/interfaces/SinglePageProps.md/index.html +1 -1
- package/docs-dist/rc-pro/page-layout/_api/type-aliases/MenuType.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/interfaces/ProTableProps.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/interfaces/TableInstance.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/interfaces/TableProps.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/LeafVerify.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumn.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumns.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableData.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItems.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableInstanceRef.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TreeInstance.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-tabs/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsChangeProps.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsContextType.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-tabs/_api/type-aliases/TabProps.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/type-aliases/ApiSelectProps.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/type-aliases/CacheType.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/type-aliases/CustomizeSelectProps.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/type-aliases/ModalSelectProps.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/type-aliases/SelectChildrenProps.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/type-aliases/SelectProps.md/index.html +1 -1
- package/docs-dist/rc-pro/upload/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/upload/_api/interfaces/ImageInfo.md/index.html +1 -1
- package/docs-dist/rc-pro/upload/_api/type-aliases/FileUploadList.md/index.html +1 -1
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadImageProps.md/index.html +1 -1
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadProps.md/index.html +1 -1
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadRequest.md/index.html +1 -1
- package/docs-dist/rc-pro/water-mark/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/water-mark/_api/type-aliases/WaterMarkProps.md/index.html +1 -1
- package/docs-dist/rc-pros/atom/index.html +1 -1
- package/docs-dist/rc-pros/auth/index.html +1 -1
- package/docs-dist/rc-pros/button/index.html +1 -1
- package/docs-dist/rc-pros/cascader/index.html +1 -1
- package/docs-dist/rc-pros/date-picker/index.html +1 -1
- package/docs-dist/rc-pros/dialog/index.html +1 -1
- package/docs-dist/rc-pros/editor/index.html +1 -1
- package/docs-dist/rc-pros/form/index.html +1 -1
- package/docs-dist/rc-pros/index.html +1 -1
- package/docs-dist/rc-pros/page-layout/index.html +1 -1
- package/docs-dist/rc-pros/pro-table/index.html +1 -1
- package/docs-dist/rc-pros/pro-tabs/index.html +1 -1
- package/docs-dist/rc-pros/result/index.html +1 -1
- package/docs-dist/rc-pros/select/index.html +1 -1
- package/docs-dist/rc-pros/time-picker/index.html +1 -1
- package/docs-dist/rc-pros/upload/index.html +1 -1
- package/docs-dist/rc-pros/water-mark/index.html +1 -1
- package/docs-dist/{select__demos.4ae9fdec.async.js → select__demos.19a1f254.async.js} +1 -1
- package/docs-dist/{umi.8f111ec1.js → umi.941a7883.js} +1 -1
- package/docs-dist/utils/index.html +1 -1
- package/docs-dist/~demos/:id/index.html +1 -1
- package/docs-dist/~demos/atom-demo-base/index.html +1 -1
- package/docs-dist/~demos/atom-demo-ellipsis/index.html +1 -1
- package/docs-dist/~demos/atom-demo-filter/index.html +1 -1
- package/docs-dist/~demos/atom-demo-operation/index.html +1 -1
- package/docs-dist/~demos/atom-demo-state/index.html +1 -1
- package/docs-dist/~demos/auth-demo-basic/index.html +1 -1
- package/docs-dist/~demos/button-demo-button/index.html +1 -1
- package/docs-dist/~demos/button-demo-group/index.html +1 -1
- package/docs-dist/~demos/cascader-demo-basic/index.html +1 -1
- package/docs-dist/~demos/cascader-demo-cache/index.html +1 -1
- package/docs-dist/~demos/date-picker-demo-basic/index.html +1 -1
- package/docs-dist/~demos/date-picker-demo-range/index.html +1 -1
- package/docs-dist/~demos/dialog-demo-demos/index.html +1 -1
- package/docs-dist/~demos/dialog-demo-form/index.html +1 -1
- package/docs-dist/~demos/dialog-demo-prompt/index.html +1 -1
- package/docs-dist/~demos/editor-demo-demos/index.html +1 -1
- package/docs-dist/~demos/editor-demo-rich/index.html +1 -1
- package/docs-dist/~demos/form-demo-demos/index.html +1 -1
- package/docs-dist/~demos/packages-utils-src-demo-demos/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-basic/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-cascade/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-extra/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-filter/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-fixed/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-refresh/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-selection/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-show-depend/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-tree-async/index.html +1 -1
- package/docs-dist/~demos/pro-tabs-demo-basic/index.html +1 -1
- package/docs-dist/~demos/pro-tabs-demo-tab/index.html +1 -1
- package/docs-dist/~demos/result-demo-basic/index.html +1 -1
- package/docs-dist/~demos/select-demo-customize/index.html +1 -1
- package/docs-dist/~demos/time-picker-demo-basic/index.html +1 -1
- package/docs-dist/~demos/upload-demo-basic/index.html +1 -1
- package/docs-dist/~demos/upload-demo-image/index.html +1 -1
- package/docs-dist/~demos/water-mark-demo-basic/index.html +1 -1
- package/es/atom/ellipsis.d.ts +1 -6
- package/es/atom/ellipsis.js +34 -23
- package/es/atom/index.d.ts +1 -1
- package/es/dialog/HookModal.js +24 -23
- package/es/dialog/button.d.ts +1 -1
- package/es/dialog/hook.js +1 -1
- package/es/pro-table/table.js +5 -6
- package/es/select/customize.d.ts +1 -1
- package/es/select/customize.js +9 -6
- package/es/select/index.d.ts +1 -0
- package/es/select/index.js +1 -0
- package/es/select/index.less +3 -0
- package/package.json +1 -1
- package/docs-dist/atom__demos.018af23a.async.js +0 -1
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
(self.webpackChunkccs_ui=self.webpackChunkccs_ui||[]).push([[56],{23803:function(E,n,e){"use strict";var f,o;e.r(n),e.d(n,{demos:function(){return $n}});var P=e(90228),m=e.n(P),c=e(87999),d=e.n(c),v=e(75271),i=e(3180),_=e(39203),s=e(28320),r=e(64723),l=e(85899),g=e.n(l),t=e(22126),p=e(32097),a=e(21827),C=e(24887),D=e(9889),M=e(13373),I=e(86638),u=e(56251),b=e(70110),L=e(26123),y=e(39142),h=e(93238),O=e(41974),x=e(68144),B=e(64017),R=e(82187),A=e.n(R),T=e(14306),K=e(85289),W=e(65173),j=e(73799),U=e(81475),k=e(89486),F=e.n(k),z=e(56973),N=e(1444),S=e(22818),Z=e(97681),$=e(12648),Q=e(70896),H=e(88686),G=e(76098),ne=e(35030),V=e(81777),Y=e(88370),X=e(16652),ue=e(86247),ae=e(47797),J=e(50712),q=e(32813),te=e(24324),re=e(60136),ie=e(60301),oe=e(68296),le=e(31248),me=e(94127),_e=e(52892),ve=e(18437),ge=e(98708),Ee=e(71973),Oe=e(29909),Ce=e(80882),Ie=e(1130),je=e(25922),Te=e(10077),pe=e(10436),de=e(17888),Re=e.n(de),Ae=e(5791),Be=e(60489),Ue=e(80998),ke=e.n(Ue),Ke=e(33553),w=e(73511),ee=e.n(w),ce=e(96586),fe=e(14894),ye=e(18237),se=e(10495),xe=e(2369),We=e.n(xe),ze=e(35119),He=e(52653),nn=e(31939),tn=e(45484),Ye=e(9472),be=e(75419),he=e(32375),Pe=e(46619),De=e(51561),Le=e(24605),Se=e(68240),Ve=e(39445),wn=e(80932),zn=e(53056),Hn=e(73801),on=e(49805),Vn=e(99696),ot=e(34887),st=e(37441),rt=e(8689),at=e(48496),In=e(24365),Rn=e(1775),sn=e(86763),Gn=e.n(sn),Tn=e(8435),Un=e(5590),rn=e(59881),Xn=e.n(rn),An=e(89020),an=e(29175),Ln=e(78608),Bn=e(47107),Sn=e(38751),kn=e(71794),Kn=e(93325),Wn=e(62376),_t=e(86954),ln=e(2534),un=e(43449),dn=e(4683),cn=e(98143),_n=e(73541),mn=e(83857),pn=e(37293),fn=e(84799),vn=e(91721),hn=e(65683),Qe=e(50796),gn=e(79579),En=e(64637),xn=e(2978),Xe=e(24181),Pn=e(83844),Cn=e(13273),qe=e(48666),Jn=e(14635),Je=e(3833),yn=e(94350),bn=e(93261),jn=e(63552),Yn=e(34073),pt=e(27741),Dn=e(3034),Mn=e(26707),it=e(13343),Qn=e(40815),qn=e(79176),mt=e.n(qn),Fn=e(85600),lt=e(7214),ut=e(69157),et=e(6145),Nn=e(69838),dt=e(54249),nt=e(56062),On=e(92523),Zn=e(83346),ct=e(20509),tt=e(67764),$n={"atom-demo-base":{component:v.memo(v.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.7"},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":_,antd:s,react:f||(f=e.t(v,2))},renderOpts:{compile:function(){var Ge=d()(m()().mark(function $e(){var Fe,Ne=arguments;return m()().wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Me.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Me.abrupt("return",(Fe=Me.sent).default.apply(Fe,Ne));case 3:case"end":return Me.stop()}},$e)}));function Ze(){return Ge.apply(this,arguments)}return Ze}()}},"atom-demo-state":{component:v.memo(v.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":l,react:f||(f=e.t(v,2))},renderOpts:{compile:function(){var Ge=d()(m()().mark(function $e(){var Fe,Ne=arguments;return m()().wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Me.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Me.abrupt("return",(Fe=Me.sent).default.apply(Fe,Ne));case 3:case"end":return Me.stop()}},$e)}));function Ze(){return Ge.apply(this,arguments)}return Ze}()}},"atom-demo-ellipsis":{component:v.memo(v.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.7"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6587\u672C\u7F29\u7565"},context:{"@ccs-ui/rc-pro":_,antd:s},renderOpts:{compile:function(){var Ge=d()(m()().mark(function $e(){var Fe,Ne=arguments;return m()().wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Me.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Me.abrupt("return",(Fe=Me.sent).default.apply(Fe,Ne));case 3:case"end":return Me.stop()}},$e)}));function Ze(){return Ge.apply(this,arguments)}return Ze}()}},"atom-demo-operation":{component:v.memo(v.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.7"},"../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},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./loading.tsx":{type:"FILE",value:e(91680).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./index.less":{type:"FILE",value:e(47285).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},"immutability-helper":{type:"NPM",value:"3.1.1"},ahooks:{type:"NPM",value:"3.9.5"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},"./item.tsx":{type:"FILE",value:e(2379).Z},classnames:{type:"NPM",value:"2.5.1"},runes2:{type:"NPM",value:"1.1.4"},"../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"...ts":{type:"FILE",value:e(21460).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"./_api.ts":{type:"FILE",value:e(35759).Z},"../hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"insert-css":{type:"NPM",value:"2.0.0"},"../context.ts":{type:"FILE",value:e(45757).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},"./aj-captcha.tsx":{type:"FILE",value:e(86893).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./page-layout/single-page.tsx":{type:"FILE",value:e(76288).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./page-layout/keep-alive.tsx":{type:"FILE",value:e(42210).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./page-layout.tsx":{type:"FILE",value:e(63705).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).Z},"@ant-design/compatible":{type:"NPM",value:"5.1.4"},"@ant-design/colors":{type:"NPM",value:"8.0.0"},"./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},"./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"},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"./hook.tsx":{type:"FILE",value:e(98314).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).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},"./javascript.tsx":{type:"FILE",value:e(85609).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},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"./relative.tsx":{type:"FILE",value:e(62561).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-json":{type:"NPM",value:"6.0.2"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"@lexical/link":{type:"NPM",value:"0.38.2"},"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"},"antd-img-crop":{type:"NPM",value:"4.25.0"},"./code-base.tsx":{type:"FILE",value:e(46345).Z},"@lexical/rich-text":{type:"NPM",value:"0.38.2"},"@codemirror/lint":{type:"NPM",value:"6.8.5"},"react-dom":{type:"NPM",value:"18.3.1"},lexical:{type:"NPM",value:"0.38.2"},undefined:{type:"NPM"},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./code.less":{type:"FILE",value:e(49960).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"./theme.ts":{type:"FILE",value:e(91255).Z},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).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.tsx":{type:"FILE",value:e(37634).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/html":{type:"NPM",value:"0.38.2"},"@lexical/react":{type:"NPM",value:"0.38.2"},"./_utils.ts":{type:"FILE",value:e(52067).Z},"./tree.tsx":{type:"FILE",value:e(97683).Z},"./ImageComponent.tsx":{type:"FILE",value:e(74610).Z},"react-draggable":{type:"NPM",value:"4.5.0"},"../../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:"\u64CD\u4F5C\u680F"},context:{"../check.tsx":t,"..tsx":p,"./count-down.tsx":a,"./usePageRequest.tsx":C,"./loading.tsx":D,"./useComplexState.tsx":r,"./ellipsis.tsx":M,"./index.less":I,"./title.tsx":u,"./resize-observer.tsx":b,"./filter.tsx":L,"./operation.tsx":y,"./full-screen.tsx":h,"./item.tsx":B,"../hooks/use-insert-css.ts":K,"...ts":_,"../utils.ts":W,"./_api.ts":j,"../hooks/use-app.ts":U,"../context.ts":z,"./auth.tsx":N,"./button.tsx":S,"./cascader.tsx":Z,"./aj-captcha.tsx":$,"./hooks/use-selection.ts":Q,"./config.tsx":H,"./pro-table.tsx":G,"./color-picker.tsx":ne,"./editor.tsx":V,"./page-layout/single-page.tsx":Y,"./ccs.ts":X,"./date-picker.tsx":ue,"./page-layout/keep-alive.tsx":ae,"./dialog.tsx":J,"./pro-tabs.tsx":q,"./form.tsx":te,"./hooks/use-tabs.tsx":re,"./page-layout.tsx":ie,"./result.tsx":oe,"./hooks/use-once-event.tsx":le,"./hooks/use-page.ts":me,"./hooks/use-window.ts":_e,"./select.tsx":ve,"./status-tag.tsx":ge,"./time-picker.tsx":Ee,"./table.tsx":Oe,"./upload.tsx":Ce,"./water-mark.tsx":Ie,"./api.tsx":pe,"./list.tsx":fe,"./selection-alert.tsx":ye,"./summary.tsx":se,"../theme-dialog.ts":ze,"./drawer-footer.tsx":He,"./hook.tsx":nn,"./context.ts":tn,"./upload-image.tsx":Ye,"./group.tsx":be,"./dropdown.tsx":he,"./page.tsx":Pe,"./javascript.tsx":De,"./sql.tsx":Le,"./json.tsx":Se,"./xml.tsx":Ve,"./rich.tsx":wn,"./yaml.tsx":zn,"./relative.tsx":Hn,"./customize.tsx":on,"./ modal.tsx":Vn,"./code-base.tsx":an,"./cascader/_api.ts":Wn,"./button/_api.ts":_t,"./date-picker/_api.ts":ln,"./context/_api.ts":un,"./editor/_api.ts":dn,"./pro-tabs/_api.ts":cn,"./dialog/_api.ts":_n,"./code.less":mn,"./form/_api.ts":pn,"./select/_api.ts":fn,"./water-mark/_api.ts":vn,"./upload/_api.ts":hn,"../hooks/use-input-css.ts":Qe,"./pro-table/_api.ts":gn,"./page-layout/_api.ts":En,"./theme.ts":xn,"../lexical/base/styleConfig.ts":Xe,"../lexical/plugins/image/ImageNode.tsx":Pn,"../lexical/plugins/init-html.tsx":Cn,"./export.ts":qe,"../lexical/base.tsx":Jn,"./usePatchElement.tsx":Je,"./HookDrawer.tsx":yn,"./HookModal.tsx":bn,"./_utils.ts":Dn,"./tree.tsx":Mn,"./ImageComponent.tsx":Qn,"../../base/toolbar/upload.tsx":et,"./toolbar.tsx":nt,"../plugins/image.tsx":On,"./code.tsx":tt,"@ccs-ui/rc-pro":_,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":t,"@ant-design/icons":i,antd:s,react:f||(f=e.t(v,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":p,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":D,"/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/ellipsis.tsx":M,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.less":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":u,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":h,"immutability-helper":l,ahooks:O,"@ccs-ui/utils":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/item.tsx":B,classnames:R,runes2:T,"/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/index.ts":_,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":U,"insert-css":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":N,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":$,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":Q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":H,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":G,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":V,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/single-page/index.tsx":Y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":X,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":J,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/index.tsx":ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":oe,"/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":me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":_e,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":Ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":Oe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":Ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":Ie,"@ant-design/compatible":je,"@ant-design/colors":Te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":pe,dayjs:de,"react-router":Ae,"antd/locale/zh_CN":Be,"dayjs/plugin/customParseFormat":Ue,"react-router-dom":Ke,"tiny-pinyin":w,"antd/es/config-provider":ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/list.tsx":fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":se,"react-resizable":xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":ze,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":He,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":nn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":Ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/group.tsx":be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":he,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/page.tsx":Pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":De,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":Le,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":Se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":Ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":wn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":zn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":Hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":on,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":Vn,"@codemirror/lang-sql":ot,"@codemirror/lang-json":st,"@codemirror/lang-xml":rt,"@codemirror/lang-javascript":at,"@codemirror/lang-yaml":In,"@lexical/link":Rn,"lodash.debounce":sn,"@codemirror/language":Tn,"@lexical/list":Un,"react-sortablejs":rn,"antd-img-crop":An,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":an,"@lexical/rich-text":Ln,"@codemirror/lint":Bn,"react-dom/client":o||(o=e.t(Sn,2)),lexical:kn,"@uiw/react-codemirror":Kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":Wn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":_t,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_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/dialog/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-input-css.ts":Qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/_api.ts":En,"/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/styleConfig.ts":Xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/init-html.tsx":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":Jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":Je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":bn,"@lexical/html":jn,"@ccs-ui/rc-pro/hooks/use-input-css":Qe,"@lexical/react/LexicalComposerContext":Yn,"@lexical/react/LexicalComposer":pt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":Mn,"@lexical/react/LexicalContentEditable":it,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":Qn,"react-draggable":qn,"@lexical/react/LexicalErrorBoundary":Fn,"@lexical/react/LexicalHistoryPlugin":lt,"@lexical/react/LexicalLinkPlugin":ut,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":et,"@lexical/react/LexicalOnChangePlugin":Nn,"@lexical/react/LexicalRichTextPlugin":dt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":nt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":On,"@ccs-ui/rc-pro/editor/rich/export":qe,"@lexical/selection":Zn,"@lexical/utils":ct,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":tt},renderOpts:{compile:function(){var Ge=d()(m()().mark(function $e(){var Fe,Ne=arguments;return m()().wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Me.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Me.abrupt("return",(Fe=Me.sent).default.apply(Fe,Ne));case 3:case"end":return Me.stop()}},$e)}));function Ze(){return Ge.apply(this,arguments)}return Ze}()}},"atom-demo-filter":{component:v.memo(v.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.7"},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":_,antd:s},renderOpts:{compile:function(){var Ge=d()(m()().mark(function $e(){var Fe,Ne=arguments;return m()().wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Me.next=2,e.e(9510).then(e.bind(e,59510));case 2:return Me.abrupt("return",(Fe=Me.sent).default.apply(Fe,Ne));case 3:case"end":return Me.stop()}},$e)}));function Ze(){return Ge.apply(this,arguments)}return Ze}()}}}},62708:function(E,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return v}});var f=e(90228),o=e.n(f),P=e(87999),m=e.n(P),c=e(75271),d=e(39203),v={"auth-demo-basic":{component:c.memo(c.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.7"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":d},renderOpts:{compile:function(){var i=m()(o()().mark(function s(){var r,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",(r=t.sent).default.apply(r,l));case 3:case"end":return t.stop()}},s)}));function _(){return i.apply(this,arguments)}return _}()}}}},99350:function(E,n,e){"use strict";var f,o;e.r(n),e.d(n,{demos:function(){return Ge}});var P=e(90228),m=e.n(P),c=e(87999),d=e.n(c),v=e(75271),i=e(28320),_=e(668),s=e(3180),r=e(75419),l=e(32375),g=e(39203),t=e(12648),p=e(32097),a=e(35030),C=e(1444),D=e(97681),M=e(50712),I=e(88686),u=e(24324),b=e(81777),L=e(86247),y=e(31248),h=e(94127),O=e(81475),x=e(60136),B=e(70896),R=e(47797),A=e(52892),T=e(60301),K=e(76098),W=e(88370),j=e(98708),U=e(32813),k=e(16652),F=e(71973),z=e(68296),N=e(80882),S=e(29909),Z=e(18437),$=e(1130),Q=e(10077),H=e(25922),G=e(41974),ne=e(68144),V=e(10436),Y=e(17888),X=e.n(Y),ue=e(82187),ae=e.n(ue),J=e(5791),q=e(56973),te=e(60489),re=e(96586),ie=e(80998),oe=e.n(ie),le=e(73511),me=e.n(le),_e=e(33553),ve=e(86638),ge=e(14894),Ee=e(32272),Oe=e(85899),Ce=e.n(Oe),Ie=e(2369),je=e.n(Ie),Te=e(18237),pe=e(10495),de=e(73801),Re=e(35119),Ae=e(31939),Be=e(22818),Ue=e(52653),ke=e(45484),Ke=e(9472),w=e(53056),ee=e(51561),ce=e(24605),fe=e(80932),ye=e(39445),se=e(68240),xe=e(65173),We=e(86763),ze=e.n(We),He=e(46619),nn=e(24365),tn=e(34887),Ye=e(48496),be=e(37441),he=e(8689),Pe=e(99696),De=e(49805),Le=e(1775),Se=e(8435),Ve=e(59881),wn=e.n(Ve),zn=e(38751),Hn=e(5590),on=e(29175),Vn=e(89020),ot=e(47107),st=e(78608),rt=e(93325),at=e(71794),In=e(22126),Rn=e(13373),sn=e(26123),Gn=e(93238),Tn=e(21827),Un=e(9889),rn=e(39142),Xn=e(70110),An=e(56251),an=e(24887),Ln=e(85289),Bn=e(64723),Sn=e(91721),kn=e(2534),Kn=e(86954),Wn=e(89486),_t=e.n(Wn),ln=e(62376),un=e(43449),dn=e(73799),cn=e(64637),_n=e(98143),mn=e(4683),pn=e(37293),fn=e(73541),vn=e(79579),hn=e(84799),Qe=e(65683),gn=e(3833),En=e(93261),xn=e(94350),Xe=e(50796),Pn=e(83857),Cn=e(14635),qe=e(24181),Jn=e(14306),Je=e(48666),yn=e(13273),bn=e(83844),jn=e(2978),Yn=e(79176),pt=e.n(Yn),Dn=e(26707),Mn=e(3034),it=e(63552),Qn=e(34073),qn=e(27741),mt=e(13343),Fn=e(40815),lt=e(85600),ut=e(7214),et=e(69157),Nn=e(6145),dt=e(69838),nt=e(54249),On=e(56062),Zn=e(92523),ct=e(83346),tt=e(20509),$n=e(67764),Ge={"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"},"./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},"./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},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./page-layout/keep-alive.tsx":{type:"FILE",value:e(42210).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./page-layout.tsx":{type:"FILE",value:e(63705).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./page-layout/single-page.tsx":{type:"FILE",value:e(76288).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./select.tsx":{type:"FILE",value:e(96440).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"},ahooks:{type:"NPM",value:"3.9.5"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},"./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},"./item.tsx":{type:"FILE",value:e(68666).Z},"immutability-helper":{type:"NPM",value:"3.1.1"},"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},"./relative.tsx":{type:"FILE",value:e(62561).Z},"../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},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./yaml.tsx":{type:"FILE",value:e(5093).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},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"lodash.debounce":{type:"NPM",value:"4.0.8"},"./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"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"./customize.tsx":{type:"FILE",value:e(5125).Z},"@lexical/link":{type:"NPM",value:"0.38.2"},"@codemirror/language":{type:"NPM",value:"6.11.3"},"react-sortablejs":{type:"NPM",value:"6.1.4"},"react-dom":{type:"NPM",value:"18.3.1"},"@lexical/list":{type:"NPM",value:"0.38.2"},"./code-base.tsx":{type:"FILE",value:e(46345).Z},"antd-img-crop":{type:"NPM",value:"4.25.0"},"@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"},"./check.tsx":{type:"FILE",value:e(13924).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},"./count-down.tsx":{type:"FILE",value:e(36483).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},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"../../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"insert-css":{type:"NPM",value:"2.0.0"},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./atom/_api.ts":{type:"FILE",value:e(35759).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./usePatchElement.tsx":{type:"FILE",value:e(96602).Z},"./HookModal.tsx":{type:"FILE",value:e(40656).Z},"./HookDrawer.tsx":{type:"FILE",value:e(95933).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},"./code.less":{type:"FILE",value:e(49960).Z},"../lexical/base.tsx":{type:"FILE",value:e(37634).Z},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).Z},runes2:{type:"NPM",value:"1.1.4"},"./export.ts":{type:"FILE",value:e(82227).Z},"../lexical/plugins/init-html.tsx":{type:"FILE",value:e(1731).Z},"../lexical/plugins/image/ImageNode.tsx":{type:"FILE",value:e(87173).Z},"./theme.ts":{type:"FILE",value:e(91255).Z},"react-draggable":{type:"NPM",value:"4.5.0"},"./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.7"},"@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},"./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":_,"./group.tsx":r,"./dropdown.tsx":l,"...ts":g,"./aj-captcha.tsx":t,"./atom.tsx":p,"./color-picker.tsx":a,"./auth.tsx":C,"./cascader.tsx":D,"./dialog.tsx":M,"./config.tsx":I,"./form.tsx":u,"./editor.tsx":b,"./date-picker.tsx":L,"./hooks/use-once-event.tsx":y,"./hooks/use-page.ts":h,"./hooks/use-app.ts":O,"./hooks/use-tabs.tsx":x,"./hooks/use-selection.ts":B,"./page-layout/keep-alive.tsx":R,"./hooks/use-window.ts":A,"./page-layout.tsx":T,"./pro-table.tsx":K,"./page-layout/single-page.tsx":W,"./status-tag.tsx":j,"./pro-tabs.tsx":U,"./ccs.ts":k,"./time-picker.tsx":F,"./result.tsx":z,"./upload.tsx":N,"./table.tsx":S,"./select.tsx":Z,"./water-mark.tsx":$,"./api.tsx":V,"../context.ts":q,"./index.less":ve,"./list.tsx":ge,"./item.tsx":Ee,"./selection-alert.tsx":Te,"./summary.tsx":pe,"./relative.tsx":de,"../theme-dialog.ts":Re,"./hook.tsx":Ae,"./button.tsx":Be,"./drawer-footer.tsx":Ue,"./context.ts":ke,"./upload-image.tsx":Ke,"./yaml.tsx":w,"./javascript.tsx":ee,"./sql.tsx":ce,"./rich.tsx":fe,"./xml.tsx":ye,"./json.tsx":se,"../utils.ts":xe,"./page.tsx":He,"./ modal.tsx":Pe,"./customize.tsx":De,"./code-base.tsx":on,"./check.tsx":In,"./ellipsis.tsx":Rn,"./filter.tsx":sn,"./full-screen.tsx":Gn,"./count-down.tsx":Tn,"./loading.tsx":Un,"./operation.tsx":rn,"./resize-observer.tsx":Xn,"./title.tsx":An,"./usePageRequest.tsx":an,"../../hooks/use-insert-css.ts":Ln,"./useComplexState.tsx":Bn,"./water-mark/_api.ts":Sn,"./date-picker/_api.ts":kn,"./button/_api.ts":Kn,"./cascader/_api.ts":ln,"./context/_api.ts":un,"./atom/_api.ts":dn,"./page-layout/_api.ts":cn,"./pro-tabs/_api.ts":_n,"./editor/_api.ts":mn,"./form/_api.ts":pn,"./dialog/_api.ts":fn,"./pro-table/_api.ts":vn,"./select/_api.ts":hn,"./upload/_api.ts":Qe,"./usePatchElement.tsx":gn,"./HookModal.tsx":En,"./HookDrawer.tsx":xn,"../hooks/use-input-css.ts":Xe,"./code.less":Pn,"../lexical/base.tsx":Cn,"../lexical/base/styleConfig.ts":qe,"./export.ts":Je,"../lexical/plugins/init-html.tsx":yn,"../lexical/plugins/image/ImageNode.tsx":bn,"./theme.ts":jn,"./tree.tsx":Dn,"./_utils.ts":Mn,"./ImageComponent.tsx":Fn,"../../base/toolbar/upload.tsx":Nn,"./toolbar.tsx":On,"../plugins/image.tsx":Zn,"./code.tsx":$n,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/index.tsx":_,"@ant-design/icons":s,react:f||(f=e.t(v,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":l,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/index.ts":g,"/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/atom/index.tsx":p,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":M,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":u,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":h,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":R,"/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/page-layout/index.tsx":T,"/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/page-layout/single-page/index.tsx":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":U,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":N,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":$,"@ant-design/colors":Q,"@ant-design/compatible":H,ahooks:G,"@ccs-ui/utils":ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":V,dayjs:Y,classnames:ue,"react-router":J,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":q,"antd/locale/zh_CN":te,"antd/es/config-provider":re,"dayjs/plugin/customParseFormat":ie,"tiny-pinyin":le,"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":ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/item.tsx":Ee,"immutability-helper":Oe,"react-resizable":Ie,"/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":pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":de,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":Re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":Ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":Be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":Ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":Ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":w,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.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/xml.tsx":ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":xe,"lodash.debounce":We,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/page.tsx":He,"@codemirror/lang-yaml":nn,"@codemirror/lang-sql":tn,"@codemirror/lang-javascript":Ye,"@codemirror/lang-json":be,"@codemirror/lang-xml":he,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":Pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":De,"@lexical/link":Le,"@codemirror/language":Se,"react-sortablejs":Ve,"react-dom/client":o||(o=e.t(zn,2)),"@lexical/list":Hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":on,"antd-img-crop":Vn,"@codemirror/lint":ot,"@lexical/rich-text":st,"@uiw/react-codemirror":rt,lexical:at,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":In,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":Rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":Gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":Tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":Un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":Xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":An,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":Ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":Bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":Sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":Kn,"insert-css":Wn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/_api.ts":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_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/select/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":Qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":xn,"/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/code.less":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":qe,runes2:Jn,"/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/plugins/init-html.tsx":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":jn,"react-draggable":Yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":Mn,"@lexical/html":it,"@ccs-ui/rc-pro":g,"@ccs-ui/rc-pro/hooks/use-input-css":Xe,"@lexical/react/LexicalComposerContext":Qn,"@lexical/react/LexicalComposer":qn,"@lexical/react/LexicalContentEditable":mt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":Fn,"@lexical/react/LexicalErrorBoundary":lt,"@lexical/react/LexicalHistoryPlugin":ut,"@lexical/react/LexicalLinkPlugin":et,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":Nn,"@lexical/react/LexicalOnChangePlugin":dt,"@lexical/react/LexicalRichTextPlugin":nt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":On,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":Zn,"@ccs-ui/rc-pro/editor/rich/export":Je,"@lexical/selection":ct,"@lexical/utils":tt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":$n},renderOpts:{compile:function(){var Ze=d()(m()().mark(function Fe(){var Ne,en=arguments;return m()().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return we.next=2,e.e(9510).then(e.bind(e,59510));case 2:return we.abrupt("return",(Ne=we.sent).default.apply(Ne,en));case 3:case"end":return we.stop()}},Fe)}));function $e(){return Ze.apply(this,arguments)}return $e}()}},"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},"./atom.tsx":{type:"FILE",value:e(7169).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./page-layout.tsx":{type:"FILE",value:e(63705).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./page-layout/single-page.tsx":{type:"FILE",value:e(76288).Z},"./page-layout/keep-alive.tsx":{type:"FILE",value:e(42210).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./pro-tabs.tsx":{type:"FILE",value:e(4196).Z},"./result.tsx":{type:"FILE",value:e(58578).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).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"},"./api.tsx":{type:"FILE",value:e(52504).Z},dayjs:{type:"NPM",value:"1.11.18"},"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"},"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},"./relative.tsx":{type:"FILE",value:e(62561).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"./hook.tsx":{type:"FILE",value:e(98314).Z},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./button.tsx":{type:"FILE",value:e(80886).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"./yaml.tsx":{type:"FILE",value:e(5093).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},"./rich.tsx":{type:"FILE",value:e(88535).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},"./customize.tsx":{type:"FILE",value:e(5125).Z},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"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"},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"@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"},"@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"},undefined:{type:"NPM"},"antd-img-crop":{type:"NPM",value:"4.25.0"},lexical:{type:"NPM",value:"0.38.2"},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./check.tsx":{type:"FILE",value:e(13924).Z},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},"./loading.tsx":{type:"FILE",value:e(91680).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"../../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"insert-css":{type:"NPM",value:"2.0.0"},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./atom/_api.ts":{type:"FILE",value:e(35759).Z},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).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},runes2:{type:"NPM",value:"1.1.4"},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).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},"react-draggable":{type:"NPM",value:"4.5.0"},"./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.7"},"@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":_,"./group.tsx":r,"...ts":g,"./dropdown.tsx":l,"./aj-captcha.tsx":t,"./atom.tsx":p,"./auth.tsx":C,"./cascader.tsx":D,"./config.tsx":I,"./color-picker.tsx":a,"./date-picker.tsx":L,"./dialog.tsx":M,"./form.tsx":u,"./editor.tsx":b,"./hooks/use-page.ts":h,"./hooks/use-app.ts":O,"./hooks/use-tabs.tsx":x,"./hooks/use-once-event.tsx":y,"./hooks/use-selection.ts":B,"./page-layout.tsx":T,"./hooks/use-window.ts":A,"./page-layout/single-page.tsx":W,"./page-layout/keep-alive.tsx":R,"./ccs.ts":k,"./pro-table.tsx":K,"./pro-tabs.tsx":U,"./result.tsx":z,"./table.tsx":S,"./time-picker.tsx":F,"./select.tsx":Z,"./status-tag.tsx":j,"./water-mark.tsx":$,"./upload.tsx":N,"./api.tsx":V,"../context.ts":q,"./index.less":ve,"./list.tsx":ge,"./item.tsx":Ee,"./selection-alert.tsx":Te,"./summary.tsx":pe,"./relative.tsx":de,"./context.ts":ke,"./hook.tsx":Ae,"../theme-dialog.ts":Re,"./button.tsx":Be,"./drawer-footer.tsx":Ue,"../utils.ts":xe,"./yaml.tsx":w,"./page.tsx":He,"./javascript.tsx":ee,"./sql.tsx":ce,"./rich.tsx":fe,"./json.tsx":se,"./xml.tsx":ye,"./upload-image.tsx":Ke,"./customize.tsx":De,"./ modal.tsx":Pe,"./code-base.tsx":on,"./ellipsis.tsx":Rn,"./check.tsx":In,"./full-screen.tsx":Gn,"./count-down.tsx":Tn,"./usePageRequest.tsx":an,"./resize-observer.tsx":Xn,"./operation.tsx":rn,"./loading.tsx":Un,"./useComplexState.tsx":Bn,"./title.tsx":An,"./filter.tsx":sn,"../../hooks/use-insert-css.ts":Ln,"./button/_api.ts":Kn,"./atom/_api.ts":dn,"./cascader/_api.ts":ln,"./page-layout/_api.ts":cn,"./pro-table/_api.ts":vn,"./context/_api.ts":un,"./pro-tabs/_api.ts":_n,"./select/_api.ts":hn,"./upload/_api.ts":Qe,"./water-mark/_api.ts":Sn,"./editor/_api.ts":mn,"./dialog/_api.ts":fn,"./form/_api.ts":pn,"./date-picker/_api.ts":kn,"./HookModal.tsx":En,"./HookDrawer.tsx":xn,"./usePatchElement.tsx":gn,"./code.less":Pn,"../hooks/use-input-css.ts":Xe,"../lexical/base/styleConfig.ts":qe,"./theme.ts":jn,"../lexical/base.tsx":Cn,"../lexical/plugins/image/ImageNode.tsx":bn,"../lexical/plugins/init-html.tsx":yn,"./export.ts":Je,"./tree.tsx":Dn,"./_utils.ts":Mn,"./ImageComponent.tsx":Fn,"../../base/toolbar/upload.tsx":Nn,"../plugins/image.tsx":Zn,"./toolbar.tsx":On,"./code.tsx":$n,"@ant-design/icons":s,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/index.tsx":_,react:f||(f=e.t(v,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/index.ts":g,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":l,"/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/atom/index.tsx":p,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":L,"/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":u,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":h,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/index.tsx":T,"/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/page-layout/single-page/index.tsx":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":k,"/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/pro-tabs/index.tsx":U,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":$,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":N,"@ant-design/colors":Q,"@ant-design/compatible":H,ahooks:G,"@ccs-ui/utils":ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":V,dayjs:Y,"react-router":J,classnames:ue,"antd/locale/zh_CN":te,"antd/es/config-provider":re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":q,"react-router-dom":_e,"tiny-pinyin":le,"dayjs/plugin/customParseFormat":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":ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/item.tsx":Ee,"immutability-helper":Oe,"react-resizable":Ie,"/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":pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":de,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":Ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":Re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":Be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":Ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":w,"/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/editor/javascript.tsx":ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.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":se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":Ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":De,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":Pe,"lodash.debounce":We,"@codemirror/lang-yaml":nn,"@codemirror/lang-json":be,"@codemirror/lang-javascript":Ye,"@codemirror/lang-xml":he,"@codemirror/lang-sql":tn,"@lexical/link":Le,"react-sortablejs":Ve,"@codemirror/language":Se,"@lexical/list":Hn,"react-dom/client":o||(o=e.t(zn,2)),"@codemirror/lint":ot,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":on,"@lexical/rich-text":st,"@uiw/react-codemirror":rt,"antd-img-crop":Vn,lexical:at,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":Rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":In,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":Gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":Tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":Xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":Un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":Bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":An,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":Ln,"insert-css":Wn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":Kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/_api.ts":cn,"/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/context/_api.ts":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":Qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":Sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":En,"/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/usePatchElement.tsx":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-input-css.ts":Xe,runes2:Jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/init-html.tsx":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":Je,"react-draggable":Yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":Mn,"@lexical/html":it,"@ccs-ui/rc-pro":g,"@lexical/react/LexicalComposerContext":Qn,"@ccs-ui/rc-pro/hooks/use-input-css":Xe,"@lexical/react/LexicalComposer":qn,"@lexical/react/LexicalContentEditable":mt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":Fn,"@lexical/react/LexicalErrorBoundary":lt,"@lexical/react/LexicalHistoryPlugin":ut,"@lexical/react/LexicalLinkPlugin":et,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":Nn,"@lexical/react/LexicalOnChangePlugin":dt,"@lexical/react/LexicalRichTextPlugin":nt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":Zn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":On,"@ccs-ui/rc-pro/editor/rich/export":Je,"@lexical/selection":ct,"@lexical/utils":tt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":$n},renderOpts:{compile:function(){var Ze=d()(m()().mark(function Fe(){var Ne,en=arguments;return m()().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return we.next=2,e.e(9510).then(e.bind(e,59510));case 2:return we.abrupt("return",(Ne=we.sent).default.apply(Ne,en));case 3:case"end":return we.stop()}},Fe)}));function $e(){return Ze.apply(this,arguments)}return $e}()}}}},32120:function(E,n,e){"use strict";var f;e.r(n),e.d(n,{demos:function(){return _}});var o=e(90228),P=e.n(o),m=e(87999),c=e.n(m),d=e(75271),v=e(39203),i=e(28320),_={"cascader-demo-basic":{component:d.memo(d.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.7"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":v},renderOpts:{compile:function(){var s=c()(P()().mark(function l(){var g,t=arguments;return P()().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",(g=a.sent).default.apply(g,t));case 3:case"end":return a.stop()}},l)}));function r(){return s.apply(this,arguments)}return r}()}},"cascader-demo-cache":{component:d.memo(d.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.7"},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":v,antd:i,react:f||(f=e.t(d,2))},renderOpts:{compile:function(){var s=c()(P()().mark(function l(){var g,t=arguments;return P()().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",(g=a.sent).default.apply(g,t));case 3:case"end":return a.stop()}},l)}));function r(){return s.apply(this,arguments)}return r}()}}}},8218:function(E,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return i}});var f=e(90228),o=e.n(f),P=e(87999),m=e.n(P),c=e(75271),d=e(39203),v=e(28320),i={"date-picker-demo-basic":{component:c.memo(c.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.7"},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":d,antd:v},renderOpts:{compile:function(){var _=m()(o()().mark(function r(){var l,g=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",(l=p.sent).default.apply(l,g));case 3:case"end":return p.stop()}},r)}));function s(){return _.apply(this,arguments)}return s}()}},"date-picker-demo-range":{component:c.memo(c.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.7"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u533A\u95F4\u9009\u62E9"},context:{"@ccs-ui/rc-pro":d,antd:v},renderOpts:{compile:function(){var _=m()(o()().mark(function r(){var l,g=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",(l=p.sent).default.apply(l,g));case 3:case"end":return p.stop()}},r)}));function s(){return _.apply(this,arguments)}return s}()}}}},98582:function(E,n,e){"use strict";var f;e.r(n),e.d(n,{demos:function(){return t}});var o=e(90228),P=e.n(o),m=e(87999),c=e.n(m),d=e(75271),v=e(39203),i=e(28320),_=e(97764),s=e(80429),r=e(38525),l=e(41974),g=e(99930),t={"dialog-demo-demos":{component:d.memo(d.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.7"},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":_,"./FormCustom.tsx":s,"./Cache.tsx":r,"@ccs-ui/rc-pro":v,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/Basic.tsx":_,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/FormCustom.tsx":s,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/Cache.tsx":r,ahooks:l,react:f||(f=e.t(d,2)),"antd/es/form/hooks/useFormInstance":g},renderOpts:{compile:function(){var p=c()(P()().mark(function C(){var D,M=arguments;return P()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,e.e(9510).then(e.bind(e,59510));case 2:return u.abrupt("return",(D=u.sent).default.apply(D,M));case 3:case"end":return u.stop()}},C)}));function a(){return p.apply(this,arguments)}return a}()}},"dialog-demo-form":{component:d.memo(d.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.7"},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":v,antd:i},renderOpts:{compile:function(){var p=c()(P()().mark(function C(){var D,M=arguments;return P()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,e.e(9510).then(e.bind(e,59510));case 2:return u.abrupt("return",(D=u.sent).default.apply(D,M));case 3:case"end":return u.stop()}},C)}));function a(){return p.apply(this,arguments)}return a}()}},"dialog-demo-prompt":{component:d.memo(d.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.7"},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":v,antd:i},renderOpts:{compile:function(){var p=c()(P()().mark(function C(){var D,M=arguments;return P()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,e.e(9510).then(e.bind(e,59510));case 2:return u.abrupt("return",(D=u.sent).default.apply(D,M));case 3:case"end":return u.stop()}},C)}));function a(){return p.apply(this,arguments)}return a}()}}}},17882:function(E,n,e){"use strict";var f;e.r(n),e.d(n,{demos:function(){return _}});var o=e(90228),P=e.n(o),m=e(87999),c=e.n(m),d=e(75271),v=e(39203),i=e(28320),_={"editor-demo-rich":{component:d.memo(d.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.7"},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":v,antd:i,react:f||(f=e.t(d,2))},renderOpts:{compile:function(){var s=c()(P()().mark(function l(){var g,t=arguments;return P()().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",(g=a.sent).default.apply(g,t));case 3:case"end":return a.stop()}},l)}));function r(){return s.apply(this,arguments)}return r}()}},"editor-demo-demos":{component:d.memo(d.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.7"},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":v,antd:i,react:f||(f=e.t(d,2))},renderOpts:{compile:function(){var s=c()(P()().mark(function l(){var g,t=arguments;return P()().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",(g=a.sent).default.apply(g,t));case 3:case"end":return a.stop()}},l)}));function r(){return s.apply(this,arguments)}return r}()}}}},72913:function(E,n,e){"use strict";var f;e.r(n),e.d(n,{demos:function(){return _}});var o=e(90228),P=e.n(o),m=e(87999),c=e.n(m),d=e(75271),v=e(39203),i=e(28320),_={"form-demo-demos":{component:d.memo(d.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.7"},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":
|
|
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 Zn}});var y=e(90228),_=e.n(y),d=e(87999),l=e.n(d),h=e(75271),i=e(3180),c=e(39203),s=e(28320),r=e(64723),u=e(85899),p=e.n(u),t=e(22126),a=e(32097),f=e(93238),C=e(24887),D=e(13373),O=e(21827),I=e(56251),m=e(70110),P=e(86638),T=e(26123),b=e(9889),E=e(39142),M=e(41974),x=e(68144),S=e(64017),A=e(82187),R=e.n(A),B=e(14306),K=e(85289),W=e(81475),F=e(73799),U=e(65173),k=e(89486),N=e.n(k),H=e(56973),j=e(1444),L=e(12648),Z=e(97681),z=e(35030),Q=e(88686),$=e(22818),V=e(86247),q=e(81777),X=e(50712),Y=e(16652),G=e(76098),le=e(88370),ie=e(80882),J=e(24324),ne=e(71973),te=e(98708),re=e(1130),ue=e(31248),ae=e(29909),oe=e(32813),_e=e(68296),ce=e(94127),ve=e(52892),he=e(70896),Ee=e(94283),Me=e(60301),Pe=e(47797),Oe=e(60136),Se=e(10077),Te=e(25922),pe=e(10436),de=e(17888),Re=e.n(de),Ae=e(5791),Be=e(80998),Ue=e.n(Be),ke=e(33553),Fe=e(60489),w=e(73511),ee=e.n(w),me=e(96586),fe=e(14894),ye=e(73801),se=e(18237),xe=e(10495),Ke=e(2369),Ze=e.n(Ke),He=e(35119),nn=e(31939),tn=e(52653),Ye=e(45484),Ce=e(9472),ge=e(68240),be=e(24605),Ie=e(51561),Le=e(39445),We=e(53056),Ve=e(80932),$n=e(32375),wn=e(46619),zn=e(75419),Hn=e(86763),Vn=e.n(Hn),nt=e(8689),tt=e(24365),ot=e(34887),st=e(48496),An=e(37441),Ln=e(1775),Bn=e(8435),Sn=e(5590),on=e(99696),sn=e(49805),kn=e(89020),rn=e(59881),Gn=e.n(rn),an=e(29175),Kn=e(47107),Wn=e(38751),Xn=e(78608),mt=e(71794),Fn=e(93325),ln=e(43449),un=e(86954),dn=e(62376),cn=e(73541),_n=e(4683),mn=e(79579),pn=e(98143),fn=e(91721),vn=e(37293),hn=e(64637),gn=e(84799),En=e(65683),xn=e(2534),Pn=e(83857),Cn=e(3833),Qe=e(50796),Xe=e(94350),yn=e(93261),Jn=e(14635),bn=e(2978),qe=e(48666),Dn=e(24181),Mn=e(83844),On=e(13273),Je=e(3034),In=e(26707),jn=e(63552),Yn=e(34073),pt=e(27741),rt=e(13343),Qn=e(79176),_t=e.n(Qn),at=e(85600),Rn=e(40815),it=e(7214),lt=e(69157),ut=e(69838),Tn=e(6145),dt=e(54249),qn=e(56062),Un=e(92523),Nn=e(83346),ct=e(20509),et=e(67764),Zn={"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.9"},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":c,antd:s,react:v||(v=e.t(h,2))},renderOpts:{compile:function(){var Ge=l()(_()().mark(function we(){var je,Ne=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",(je=De.sent).default.apply(je,Ne));case 3:case"end":return De.stop()}},we)}));function $e(){return Ge.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":u,react:v||(v=e.t(h,2))},renderOpts:{compile:function(){var Ge=l()(_()().mark(function we(){var je,Ne=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",(je=De.sent).default.apply(je,Ne));case 3:case"end":return De.stop()}},we)}));function $e(){return Ge.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.9"},antd:{type:"NPM",value:"5.27.3"}},entry:"index.tsx",title:"\u6587\u672C\u7F29\u7565"},context:{"@ccs-ui/rc-pro":c,antd:s},renderOpts:{compile:function(){var Ge=l()(_()().mark(function we(){var je,Ne=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",(je=De.sent).default.apply(je,Ne));case 3:case"end":return De.stop()}},we)}));function $e(){return Ge.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.9"},"../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},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./index.less":{type:"FILE",value:e(47285).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./loading.tsx":{type:"FILE",value:e(91680).Z},"./operation.tsx":{type:"FILE",value:e(63013).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"},"./item.tsx":{type:"FILE",value:e(2379).Z},classnames:{type:"NPM",value:"2.5.1"},runes2:{type:"NPM",value:"1.1.4"},"../hooks/use-insert-css.ts":{type:"FILE",value:e(5766).Z},"...ts":{type:"FILE",value:e(21460).Z},"../hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./_api.ts":{type:"FILE",value:e(35759).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},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./aj-captcha.tsx":{type:"FILE",value:e(86893).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},"./button.tsx":{type:"FILE",value:e(80886).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./pro-table.tsx":{type:"FILE",value:e(82530).Z},"./page-layout/single-page.tsx":{type:"FILE",value:e(76288).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./form.tsx":{type:"FILE",value:e(28013).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},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).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},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./page-layout.tsx":{type:"FILE",value:e(63705).Z},"./page-layout/keep-alive.tsx":{type:"FILE",value:e(42210).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).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},"./relative.tsx":{type:"FILE",value:e(62561).Z},"./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"},"../theme-dialog.ts":{type:"FILE",value:e(62576).Z},"./hook.tsx":{type:"FILE",value:e(98314).Z},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"./context.ts":{type:"FILE",value:e(70052).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./dropdown.tsx":{type:"FILE",value:e(83450).Z},"./page.tsx":{type:"FILE",value:e(79172).Z},"./group.tsx":{type:"FILE",value:e(55736).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-sql":{type:"NPM",value:"6.10.0"},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"@lexical/link":{type:"NPM",value:"0.38.2"},"@codemirror/language":{type:"NPM",value:"6.11.3"},"@lexical/list":{type:"NPM",value:"0.38.2"},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"./customize.tsx":{type:"FILE",value:e(5125).Z},"antd-img-crop":{type:"NPM",value:"4.25.0"},"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"},"react-dom":{type:"NPM",value:"18.3.1"},"@lexical/rich-text":{type:"NPM",value:"0.38.2"},lexical:{type:"NPM",value:"0.38.2"},undefined:{type:"NPM"},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./cascader/_api.ts":{type:"FILE",value:e(20848).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./code.less":{type:"FILE",value:e(49960).Z},"./usePatchElement.tsx":{type:"FILE",value:e(96602).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},"../lexical/base.tsx":{type:"FILE",value:e(37634).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},"../lexical/plugins/init-html.tsx":{type:"FILE",value:e(1731).Z},"./_utils.ts":{type:"FILE",value:e(52067).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},"./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:"\u64CD\u4F5C\u680F"},context:{"../check.tsx":t,"..tsx":a,"./full-screen.tsx":f,"./usePageRequest.tsx":C,"./ellipsis.tsx":D,"./count-down.tsx":O,"./title.tsx":I,"./useComplexState.tsx":r,"./resize-observer.tsx":m,"./index.less":P,"./filter.tsx":T,"./loading.tsx":b,"./operation.tsx":E,"./item.tsx":S,"../hooks/use-insert-css.ts":K,"...ts":c,"../hooks/use-app.ts":W,"./_api.ts":F,"../utils.ts":U,"../context.ts":H,"./auth.tsx":j,"./aj-captcha.tsx":L,"./cascader.tsx":Z,"./color-picker.tsx":z,"./config.tsx":Q,"./button.tsx":$,"./date-picker.tsx":V,"./editor.tsx":q,"./dialog.tsx":X,"./ccs.ts":Y,"./pro-table.tsx":G,"./page-layout/single-page.tsx":le,"./upload.tsx":ie,"./form.tsx":J,"./time-picker.tsx":ne,"./status-tag.tsx":te,"./water-mark.tsx":re,"./hooks/use-once-event.tsx":ue,"./table.tsx":ae,"./pro-tabs.tsx":oe,"./result.tsx":_e,"./hooks/use-page.ts":ce,"./hooks/use-window.ts":ve,"./hooks/use-selection.ts":he,"./select.tsx":Ee,"./page-layout.tsx":Me,"./page-layout/keep-alive.tsx":Pe,"./hooks/use-tabs.tsx":Oe,"./api.tsx":pe,"./list.tsx":fe,"./relative.tsx":ye,"./selection-alert.tsx":se,"./summary.tsx":xe,"../theme-dialog.ts":He,"./hook.tsx":nn,"./drawer-footer.tsx":tn,"./context.ts":Ye,"./upload-image.tsx":Ce,"./json.tsx":ge,"./sql.tsx":be,"./javascript.tsx":Ie,"./xml.tsx":Le,"./yaml.tsx":We,"./rich.tsx":Ve,"./dropdown.tsx":$n,"./page.tsx":wn,"./group.tsx":zn,"./ modal.tsx":on,"./customize.tsx":sn,"./code-base.tsx":an,"./context/_api.ts":ln,"./button/_api.ts":un,"./cascader/_api.ts":dn,"./dialog/_api.ts":cn,"./editor/_api.ts":_n,"./pro-table/_api.ts":mn,"./pro-tabs/_api.ts":pn,"./water-mark/_api.ts":fn,"./form/_api.ts":vn,"./page-layout/_api.ts":hn,"./select/_api.ts":gn,"./upload/_api.ts":En,"./date-picker/_api.ts":xn,"./code.less":Pn,"./usePatchElement.tsx":Cn,"../hooks/use-input-css.ts":Qe,"./HookDrawer.tsx":Xe,"./HookModal.tsx":yn,"../lexical/base.tsx":Jn,"./theme.ts":bn,"./export.ts":qe,"../lexical/base/styleConfig.ts":Dn,"../lexical/plugins/image/ImageNode.tsx":Mn,"../lexical/plugins/init-html.tsx":On,"./_utils.ts":Je,"./tree.tsx":In,"./ImageComponent.tsx":Rn,"../../base/toolbar/upload.tsx":Tn,"./toolbar.tsx":qn,"../plugins/image.tsx":Un,"./code.tsx":et,"@ccs-ui/rc-pro":c,"/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/full-screen.tsx":f,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/usePageRequest.tsx":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/ellipsis.tsx":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":I,"/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/resize-observer.tsx":m,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.less":P,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":T,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":E,ahooks:M,"immutability-helper":u,"@ccs-ui/utils":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/item.tsx":S,classnames:A,runes2:B,"/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/index.ts":c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":U,"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/auth/index.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":Q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":$,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":V,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":X,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":Y,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":G,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/single-page/index.tsx":le,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":J,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":ne,"/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":re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":oe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":_e,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":he,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":Ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/index.tsx":Me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":Pe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":Oe,"@ant-design/colors":Se,"@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,"react-router-dom":ke,"antd/locale/zh_CN":Fe,"tiny-pinyin":w,"antd/es/config-provider":me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/list.tsx":fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":xe,"react-resizable":Ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":He,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":nn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":tn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":Ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":Ce,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":ge,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":Ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/xml.tsx":Le,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/yaml.tsx":We,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":Ve,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":$n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/page.tsx":wn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/group.tsx":zn,"lodash.debounce":Hn,"@codemirror/lang-xml":nt,"@codemirror/lang-yaml":tt,"@codemirror/lang-sql":ot,"@codemirror/lang-javascript":st,"@codemirror/lang-json":An,"@lexical/link":Ln,"@codemirror/language":Bn,"@lexical/list":Sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":on,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":sn,"antd-img-crop":kn,"react-sortablejs":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":an,"@codemirror/lint":Kn,"react-dom/client":o||(o=e.t(Wn,2)),"@lexical/rich-text":Xn,lexical:mt,"@uiw/react-codemirror":Fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_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/cascader/_api.ts":dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code.less":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/hooks/use-input-css.ts":Qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":Xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":Jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":Mn,"/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/pro-table/_utils.ts":Je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":In,"@ccs-ui/rc-pro/hooks/use-input-css":Qe,"@lexical/html":jn,"@lexical/react/LexicalComposerContext":Yn,"@lexical/react/LexicalComposer":pt,"@lexical/react/LexicalContentEditable":rt,"react-draggable":Qn,"@lexical/react/LexicalErrorBoundary":at,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":Rn,"@lexical/react/LexicalHistoryPlugin":it,"@lexical/react/LexicalLinkPlugin":lt,"@lexical/react/LexicalOnChangePlugin":ut,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":Tn,"@lexical/react/LexicalRichTextPlugin":dt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/index.tsx":qn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/index.tsx":Un,"@ccs-ui/rc-pro/editor/rich/export":qe,"@lexical/selection":Nn,"@lexical/utils":ct,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":et},renderOpts:{compile:function(){var Ge=l()(_()().mark(function we(){var je,Ne=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",(je=De.sent).default.apply(je,Ne));case 3:case"end":return De.stop()}},we)}));function $e(){return Ge.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.9"},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":c,antd:s},renderOpts:{compile:function(){var Ge=l()(_()().mark(function we(){var je,Ne=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",(je=De.sent).default.apply(je,Ne));case 3:case"end":return De.stop()}},we)}));function $e(){return Ge.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),d=e(75271),l=e(39203),h={"auth-demo-basic":{component:d.memo(d.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.9"}},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,u=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,u));case 3:case"end":return t.stop()}},s)}));function c(){return i.apply(this,arguments)}return c}()}}}},99350:function(g,n,e){"use strict";var v,o;e.r(n),e.d(n,{demos:function(){return Ge}});var y=e(90228),_=e.n(y),d=e(87999),l=e.n(d),h=e(75271),i=e(28320),c=e(668),s=e(3180),r=e(75419),u=e(39203),p=e(32375),t=e(32097),a=e(12648),f=e(1444),C=e(88686),D=e(35030),O=e(50712),I=e(86247),m=e(81777),P=e(94127),T=e(81475),b=e(31248),E=e(24324),M=e(60301),x=e(52892),S=e(60136),A=e(16652),R=e(94283),B=e(70896),K=e(71973),W=e(47797),F=e(80882),U=e(88370),k=e(29909),N=e(97681),H=e(1130),j=e(76098),L=e(68296),Z=e(32813),z=e(98708),Q=e(25922),$=e(10077),V=e(41974),q=e(68144),X=e(17888),Y=e.n(X),G=e(5791),le=e(82187),ie=e.n(le),J=e(10436),ne=e(60489),te=e(56973),re=e(73511),ue=e.n(re),ae=e(80998),oe=e.n(ae),_e=e(33553),ce=e(96586),ve=e(86638),he=e(14894),Ee=e(32272),Me=e(85899),Pe=e.n(Me),Oe=e(18237),Se=e(10495),Te=e(2369),pe=e.n(Te),de=e(73801),Re=e(31939),Ae=e(35119),Be=e(22818),Ue=e(45484),ke=e(52653),Fe=e(9472),w=e(46619),ee=e(65173),me=e(86763),fe=e.n(me),ye=e(51561),se=e(68240),xe=e(80932),Ke=e(24605),Ze=e(39445),He=e(53056),nn=e(89020),tn=e(34887),Ye=e(8689),Ce=e(99696),ge=e(24365),be=e(37441),Ie=e(48496),Le=e(49805),We=e(1775),Ve=e(59881),$n=e.n(Ve),wn=e(8435),zn=e(38751),Hn=e(5590),Vn=e(29175),nt=e(47107),tt=e(78608),ot=e(93325),st=e(71794),An=e(22126),Ln=e(93238),Bn=e(9889),Sn=e(13373),on=e(24887),sn=e(26123),kn=e(21827),rn=e(39142),Gn=e(56251),an=e(70110),Kn=e(64723),Wn=e(85289),Xn=e(89486),mt=e.n(Xn),Fn=e(62376),ln=e(2534),un=e(91721),dn=e(86954),cn=e(43449),_n=e(73799),mn=e(73541),pn=e(79579),fn=e(37293),vn=e(84799),hn=e(65683),gn=e(64637),En=e(4683),xn=e(98143),Pn=e(3833),Cn=e(94350),Qe=e(93261),Xe=e(50796),yn=e(83857),Jn=e(14306),bn=e(3034),qe=e(26707),Dn=e(14635),Mn=e(2978),On=e(13273),Je=e(48666),In=e(24181),jn=e(83844),Yn=e(79176),pt=e.n(Yn),rt=e(63552),Qn=e(34073),_t=e(27741),at=e(13343),Rn=e(40815),it=e(85600),lt=e(7214),ut=e(69157),Tn=e(6145),dt=e(69838),qn=e(54249),Un=e(56062),Nn=e(92523),ct=e(83346),et=e(20509),Zn=e(67764),Ge={"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},"...ts":{type:"FILE",value:e(21460).Z},"./dropdown.tsx":{type:"FILE",value:e(83450).Z},"./atom.tsx":{type:"FILE",value:e(7169).Z},"./aj-captcha.tsx":{type:"FILE",value:e(86893).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./page-layout.tsx":{type:"FILE",value:e(63705).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./select.tsx":{type:"FILE",value:e(96440).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./page-layout/keep-alive.tsx":{type:"FILE",value:e(42210).Z},"./upload.tsx":{type:"FILE",value:e(27379).Z},"./page-layout/single-page.tsx":{type:"FILE",value:e(76288).Z},"./table.tsx":{type:"FILE",value:e(56197).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./water-mark.tsx":{type:"FILE",value:e(79604).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},"./status-tag.tsx":{type:"FILE",value:e(59609).Z},"@ant-design/compatible":{type:"NPM",value:"5.1.4"},"@ant-design/colors":{type:"NPM",value:"8.0.0"},ahooks:{type:"NPM",value:"3.9.5"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},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},"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},"./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"},"./relative.tsx":{type:"FILE",value:e(62561).Z},"./hook.tsx":{type:"FILE",value:e(98314).Z},"../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},"./drawer-footer.tsx":{type:"FILE",value:e(82759).Z},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./page.tsx":{type:"FILE",value:e(79172).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"lodash.debounce":{type:"NPM",value:"4.0.8"},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"antd-img-crop":{type:"NPM",value:"4.25.0"},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"./customize.tsx":{type:"FILE",value:e(5125).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"},"react-dom":{type:"NPM",value:"18.3.1"},"@lexical/list":{type:"NPM",value:"0.38.2"},"./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"},"./check.tsx":{type:"FILE",value:e(13924).Z},"./full-screen.tsx":{type:"FILE",value:e(11361).Z},"./loading.tsx":{type:"FILE",value:e(91680).Z},"./ellipsis.tsx":{type:"FILE",value:e(7122).Z},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./count-down.tsx":{type:"FILE",value:e(36483).Z},"./operation.tsx":{type:"FILE",value:e(63013).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).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},"./date-picker/_api.ts":{type:"FILE",value:e(797).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./context/_api.ts":{type:"FILE",value:e(51412).Z},"./atom/_api.ts":{type:"FILE",value:e(35759).Z},"./dialog/_api.ts":{type:"FILE",value:e(35987).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).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},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},"./code.less":{type:"FILE",value:e(49960).Z},runes2:{type:"NPM",value:"1.1.4"},"./_utils.ts":{type:"FILE",value:e(52067).Z},"./tree.tsx":{type:"FILE",value:e(97683).Z},"../lexical/base.tsx":{type:"FILE",value:e(37634).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},"../lexical/base/styleConfig.ts":{type:"FILE",value:e(20466).Z},"../lexical/plugins/image/ImageNode.tsx":{type:"FILE",value:e(87173).Z},"react-draggable":{type:"NPM",value:"4.5.0"},"@lexical/html":{type:"NPM",value:"0.38.2"},"@ccs-ui/rc-pro":{type:"NPM",value:"2.4.9"},"@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},"./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":c,"./group.tsx":r,"...ts":u,"./dropdown.tsx":p,"./atom.tsx":t,"./aj-captcha.tsx":a,"./auth.tsx":f,"./config.tsx":C,"./color-picker.tsx":D,"./dialog.tsx":O,"./date-picker.tsx":I,"./editor.tsx":m,"./hooks/use-page.ts":P,"./hooks/use-app.ts":T,"./hooks/use-once-event.tsx":b,"./form.tsx":E,"./page-layout.tsx":M,"./hooks/use-window.ts":x,"./hooks/use-tabs.tsx":S,"./ccs.ts":A,"./select.tsx":R,"./hooks/use-selection.ts":B,"./time-picker.tsx":K,"./page-layout/keep-alive.tsx":W,"./upload.tsx":F,"./page-layout/single-page.tsx":U,"./table.tsx":k,"./cascader.tsx":N,"./water-mark.tsx":H,"./pro-table.tsx":j,"./result.tsx":L,"./pro-tabs.tsx":Z,"./status-tag.tsx":z,"./api.tsx":J,"../context.ts":te,"./index.less":ve,"./list.tsx":he,"./item.tsx":Ee,"./selection-alert.tsx":Oe,"./summary.tsx":Se,"./relative.tsx":de,"./hook.tsx":Re,"../theme-dialog.ts":Ae,"./button.tsx":Be,"./context.ts":Ue,"./drawer-footer.tsx":ke,"./upload-image.tsx":Fe,"./page.tsx":w,"../utils.ts":ee,"./javascript.tsx":ye,"./json.tsx":se,"./rich.tsx":xe,"./sql.tsx":Ke,"./xml.tsx":Ze,"./yaml.tsx":He,"./ modal.tsx":Ce,"./customize.tsx":Le,"./code-base.tsx":Vn,"./check.tsx":An,"./full-screen.tsx":Ln,"./loading.tsx":Bn,"./ellipsis.tsx":Sn,"./usePageRequest.tsx":on,"./filter.tsx":sn,"./count-down.tsx":kn,"./operation.tsx":rn,"./title.tsx":Gn,"./resize-observer.tsx":an,"./useComplexState.tsx":Kn,"../../hooks/use-insert-css.ts":Wn,"./cascader/_api.ts":Fn,"./date-picker/_api.ts":ln,"./water-mark/_api.ts":un,"./button/_api.ts":dn,"./context/_api.ts":cn,"./atom/_api.ts":_n,"./dialog/_api.ts":mn,"./pro-table/_api.ts":pn,"./form/_api.ts":fn,"./select/_api.ts":vn,"./upload/_api.ts":hn,"./page-layout/_api.ts":gn,"./editor/_api.ts":En,"./pro-tabs/_api.ts":xn,"./usePatchElement.tsx":Pn,"./HookDrawer.tsx":Cn,"./HookModal.tsx":Qe,"../hooks/use-input-css.ts":Xe,"./code.less":yn,"./_utils.ts":bn,"./tree.tsx":qe,"../lexical/base.tsx":Dn,"./theme.ts":Mn,"../lexical/plugins/init-html.tsx":On,"./export.ts":Je,"../lexical/base/styleConfig.ts":In,"../lexical/plugins/image/ImageNode.tsx":jn,"./ImageComponent.tsx":Rn,"../../base/toolbar/upload.tsx":Tn,"./toolbar.tsx":Un,"../plugins/image.tsx":Nn,"./code.tsx":Zn,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/index.tsx":c,"@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/index.ts":u,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":p,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":t,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/aj-captcha/index.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":f,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":m,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":P,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":T,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":E,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/index.tsx":M,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":A,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":K,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/single-page/index.tsx":U,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.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/pro-table/index.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":z,"@ant-design/compatible":Q,"@ant-design/colors":$,ahooks:V,"@ccs-ui/utils":q,dayjs:X,"react-router":G,classnames:le,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":J,"antd/locale/zh_CN":ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":te,"tiny-pinyin":re,"dayjs/plugin/customParseFormat":ae,"react-router-dom":_e,"antd/es/config-provider":ce,"/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":Ee,"immutability-helper":Me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":Oe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":Se,"react-resizable":Te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":de,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":Re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":Ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":Be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":Ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":Fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/page.tsx":w,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":ee,"lodash.debounce":me,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":xe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.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/yaml.tsx":He,"antd-img-crop":nn,"@codemirror/lang-sql":tn,"@codemirror/lang-xml":Ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":Ce,"@codemirror/lang-yaml":ge,"@codemirror/lang-json":be,"@codemirror/lang-javascript":Ie,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":Le,"@lexical/link":We,"react-sortablejs":Ve,"@codemirror/language":wn,"react-dom/client":o||(o=e.t(zn,2)),"@lexical/list":Hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":Vn,"@codemirror/lint":nt,"@lexical/rich-text":tt,"@uiw/react-codemirror":ot,lexical:st,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":An,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":Ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":Bn,"/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":on,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":Gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":Kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":Wn,"insert-css":Xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":Fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_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/context/_api.ts":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_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/pro-table/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_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/_api.ts":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/_api.ts":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":Qe,"/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/code.less":yn,runes2:Jn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/theme.ts":Mn,"/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":Je,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":In,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":jn,"react-draggable":Yn,"@lexical/html":rt,"@ccs-ui/rc-pro":u,"@lexical/react/LexicalComposerContext":Qn,"@ccs-ui/rc-pro/hooks/use-input-css":Xe,"@lexical/react/LexicalComposer":_t,"@lexical/react/LexicalContentEditable":at,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":Rn,"@lexical/react/LexicalErrorBoundary":it,"@lexical/react/LexicalHistoryPlugin":lt,"@lexical/react/LexicalLinkPlugin":ut,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":Tn,"@lexical/react/LexicalOnChangePlugin":dt,"@lexical/react/LexicalRichTextPlugin":qn,"/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":Nn,"@ccs-ui/rc-pro/editor/rich/export":Je,"@lexical/selection":ct,"@lexical/utils":et,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":Zn},renderOpts:{compile:function(){var $e=l()(_()().mark(function je(){var Ne,en=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",(Ne=ze.sent).default.apply(Ne,en));case 3:case"end":return ze.stop()}},je)}));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},"./atom.tsx":{type:"FILE",value:e(7169).Z},"./auth.tsx":{type:"FILE",value:e(93722).Z},"./cascader.tsx":{type:"FILE",value:e(57066).Z},"./editor.tsx":{type:"FILE",value:e(36878).Z},"./config.tsx":{type:"FILE",value:e(23456).Z},"./color-picker.tsx":{type:"FILE",value:e(12290).Z},"./date-picker.tsx":{type:"FILE",value:e(45645).Z},"./dialog.tsx":{type:"FILE",value:e(43022).Z},"./hooks/use-window.ts":{type:"FILE",value:e(30960).Z},"./hooks/use-once-event.tsx":{type:"FILE",value:e(80659).Z},"./hooks/use-page.ts":{type:"FILE",value:e(38712).Z},"./form.tsx":{type:"FILE",value:e(28013).Z},"./ccs.ts":{type:"FILE",value:e(37846).Z},"./hooks/use-selection.ts":{type:"FILE",value:e(13853).Z},"./hooks/use-app.ts":{type:"FILE",value:e(57414).Z},"./hooks/use-tabs.tsx":{type:"FILE",value:e(67634).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},"./time-picker.tsx":{type:"FILE",value:e(88225).Z},"./upload.tsx":{type:"FILE",value:e(27379).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},"./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"},ahooks:{type:"NPM",value:"3.9.5"},dayjs:{type:"NPM",value:"1.11.18"},"@ccs-ui/utils":{type:"NPM",value:"0.1.7"},"./api.tsx":{type:"FILE",value:e(52504).Z},"react-router":{type:"NPM",value:"6.3.0"},"../context.ts":{type:"FILE",value:e(45757).Z},"tiny-pinyin":{type:"NPM",value:"1.3.2"},classnames:{type:"NPM",value:"2.5.1"},"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},"./item.tsx":{type:"FILE",value:e(68666).Z},"immutability-helper":{type:"NPM",value:"3.1.1"},"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},"./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},"./upload-image.tsx":{type:"FILE",value:e(87745).Z},"./relative.tsx":{type:"FILE",value:e(62561).Z},"./javascript.tsx":{type:"FILE",value:e(85609).Z},"./json.tsx":{type:"FILE",value:e(94975).Z},"../utils.ts":{type:"FILE",value:e(47704).Z},"./rich.tsx":{type:"FILE",value:e(88535).Z},"./xml.tsx":{type:"FILE",value:e(26834).Z},"./yaml.tsx":{type:"FILE",value:e(5093).Z},"./sql.tsx":{type:"FILE",value:e(53986).Z},"./page.tsx":{type:"FILE",value:e(79172).Z},"lodash.debounce":{type:"NPM",value:"4.0.8"},"@codemirror/lang-javascript":{type:"NPM",value:"6.2.4"},"@codemirror/lang-json":{type:"NPM",value:"6.0.2"},"@codemirror/lang-yaml":{type:"NPM",value:"6.1.2"},"@codemirror/lang-xml":{type:"NPM",value:"6.1.0"},"@codemirror/lang-sql":{type:"NPM",value:"6.10.0"},"@lexical/link":{type:"NPM",value:"0.38.2"},"./ modal.tsx":{type:"FILE",value:e(2431).Z},"@codemirror/language":{type:"NPM",value:"6.11.3"},"react-sortablejs":{type:"NPM",value:"6.1.4"},"@lexical/list":{type:"NPM",value:"0.38.2"},"./customize.tsx":{type:"FILE",value:e(5125).Z},"react-dom":{type:"NPM",value:"18.3.1"},"@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"},"antd-img-crop":{type:"NPM",value:"4.25.0"},lexical:{type:"NPM",value:"0.38.2"},undefined:{type:"NPM"},"./check.tsx":{type:"FILE",value:e(13924).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},"./usePageRequest.tsx":{type:"FILE",value:e(71754).Z},"./resize-observer.tsx":{type:"FILE",value:e(99021).Z},"./title.tsx":{type:"FILE",value:e(92649).Z},"./filter.tsx":{type:"FILE",value:e(24706).Z},"./loading.tsx":{type:"FILE",value:e(91680).Z},"./useComplexState.tsx":{type:"FILE",value:e(84109).Z},"./operation.tsx":{type:"FILE",value:e(63013).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},"./form/_api.ts":{type:"FILE",value:e(29060).Z},"./water-mark/_api.ts":{type:"FILE",value:e(96788).Z},"./editor/_api.ts":{type:"FILE",value:e(2142).Z},"./atom/_api.ts":{type:"FILE",value:e(35759).Z},"./button/_api.ts":{type:"FILE",value:e(45621).Z},"./page-layout/_api.ts":{type:"FILE",value:e(98333).Z},"./pro-tabs/_api.ts":{type:"FILE",value:e(67190).Z},"./select/_api.ts":{type:"FILE",value:e(42519).Z},"./pro-table/_api.ts":{type:"FILE",value:e(10753).Z},"./upload/_api.ts":{type:"FILE",value:e(86363).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},"./usePatchElement.tsx":{type:"FILE",value:e(96602).Z},"./HookDrawer.tsx":{type:"FILE",value:e(95933).Z},"./HookModal.tsx":{type:"FILE",value:e(40656).Z},"../hooks/use-input-css.ts":{type:"FILE",value:e(63406).Z},"./code.less":{type:"FILE",value:e(49960).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},"./theme.ts":{type:"FILE",value:e(91255).Z},"./export.ts":{type:"FILE",value:e(82227).Z},runes2:{type:"NPM",value:"1.1.4"},"@lexical/html":{type:"NPM",value:"0.38.2"},"./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.9"},"@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},"./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":c,"...ts":u,"./dropdown.tsx":p,"./group.tsx":r,"./aj-captcha.tsx":a,"./atom.tsx":t,"./auth.tsx":f,"./cascader.tsx":N,"./editor.tsx":m,"./config.tsx":C,"./color-picker.tsx":D,"./date-picker.tsx":I,"./dialog.tsx":O,"./hooks/use-window.ts":x,"./hooks/use-once-event.tsx":b,"./hooks/use-page.ts":P,"./form.tsx":E,"./ccs.ts":A,"./hooks/use-selection.ts":B,"./hooks/use-app.ts":T,"./hooks/use-tabs.tsx":S,"./page-layout.tsx":M,"./select.tsx":R,"./status-tag.tsx":z,"./page-layout/keep-alive.tsx":W,"./table.tsx":k,"./time-picker.tsx":K,"./upload.tsx":F,"./page-layout/single-page.tsx":U,"./pro-tabs.tsx":Z,"./result.tsx":L,"./pro-table.tsx":j,"./water-mark.tsx":H,"./api.tsx":J,"../context.ts":te,"./index.less":ve,"./list.tsx":he,"./item.tsx":Ee,"./selection-alert.tsx":Oe,"./summary.tsx":Se,"./hook.tsx":Re,"./button.tsx":Be,"./context.ts":Ue,"./drawer-footer.tsx":ke,"../theme-dialog.ts":Ae,"./upload-image.tsx":Fe,"./relative.tsx":de,"./javascript.tsx":ye,"./json.tsx":se,"../utils.ts":ee,"./rich.tsx":xe,"./xml.tsx":Ze,"./yaml.tsx":He,"./sql.tsx":Ke,"./page.tsx":w,"./ modal.tsx":Ce,"./customize.tsx":Le,"./code-base.tsx":Vn,"./check.tsx":An,"./count-down.tsx":kn,"./full-screen.tsx":Ln,"./ellipsis.tsx":Sn,"./usePageRequest.tsx":on,"./resize-observer.tsx":an,"./title.tsx":Gn,"./filter.tsx":sn,"./loading.tsx":Bn,"./useComplexState.tsx":Kn,"./operation.tsx":rn,"../../hooks/use-insert-css.ts":Wn,"./cascader/_api.ts":Fn,"./form/_api.ts":fn,"./water-mark/_api.ts":un,"./editor/_api.ts":En,"./atom/_api.ts":_n,"./button/_api.ts":dn,"./page-layout/_api.ts":gn,"./pro-tabs/_api.ts":xn,"./select/_api.ts":vn,"./pro-table/_api.ts":pn,"./upload/_api.ts":hn,"./context/_api.ts":cn,"./date-picker/_api.ts":ln,"./dialog/_api.ts":mn,"./usePatchElement.tsx":Pn,"./HookDrawer.tsx":Cn,"./HookModal.tsx":Qe,"../hooks/use-input-css.ts":Xe,"./code.less":yn,"../lexical/base/styleConfig.ts":In,"../lexical/base.tsx":Dn,"../lexical/plugins/image/ImageNode.tsx":jn,"../lexical/plugins/init-html.tsx":On,"./theme.ts":Mn,"./export.ts":Je,"./tree.tsx":qe,"./_utils.ts":bn,"./ImageComponent.tsx":Rn,"../../base/toolbar/upload.tsx":Tn,"./toolbar.tsx":Un,"../plugins/image.tsx":Nn,"./code.tsx":Zn,"@ant-design/icons":s,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/index.tsx":c,react:v||(v=e.t(h,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/index.ts":u,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/dropdown.tsx":p,"/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":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/index.tsx":t,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/auth/index.tsx":f,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/index.tsx":N,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/index.tsx":m,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/config.tsx":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/color-picker/index.tsx":D,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/index.tsx":I,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/index.tsx":O,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-window.ts":x,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-once-event.tsx":b,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-page.ts":P,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/form.tsx":E,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/ccs.ts":A,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-selection.ts":B,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-app.ts":T,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-tabs.tsx":S,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/index.tsx":M,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/index.tsx":R,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/status-tag/index.tsx":z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/index.tsx":W,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/table.tsx":k,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/time-picker/index.tsx":K,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/index.tsx":F,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/single-page/index.tsx":U,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-tabs/index.tsx":Z,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/result/index.tsx":L,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/index.tsx":j,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/index.tsx":H,"@ant-design/colors":$,"@ant-design/compatible":Q,ahooks:V,dayjs:X,"@ccs-ui/utils":q,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/api.tsx":J,"react-router":G,"antd/locale/zh_CN":ne,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/index.ts":te,"tiny-pinyin":re,"antd/es/config-provider":ce,"dayjs/plugin/customParseFormat":ae,classnames:le,"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,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/item.tsx":Ee,"immutability-helper":Me,"react-resizable":Te,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/selection-alert.tsx":Oe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/summary.tsx":Se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/hook.tsx":Re,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/button.tsx":Be,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/context.ts":Ue,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/drawer-footer.tsx":ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/theme-dialog.ts":Ae,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/upload-image.tsx":Fe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/relative.tsx":de,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/javascript.tsx":ye,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/json.tsx":se,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/utils.ts":ee,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/index.tsx":xe,"/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/yaml.tsx":He,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/sql.tsx":Ke,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/page-layout/keep-alive/page.tsx":w,"lodash.debounce":me,"@codemirror/lang-javascript":Ie,"@codemirror/lang-json":be,"@codemirror/lang-yaml":ge,"@codemirror/lang-xml":Ye,"@codemirror/lang-sql":tn,"@lexical/link":We,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/ modal.tsx":Ce,"@codemirror/language":wn,"react-sortablejs":Ve,"@lexical/list":Hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/customize.tsx":Le,"react-dom/client":o||(o=e.t(zn,2)),"@codemirror/lint":nt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/code-base.tsx":Vn,"@lexical/rich-text":tt,"antd-img-crop":nn,lexical:st,"@uiw/react-codemirror":ot,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/check.tsx":An,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/count-down.tsx":kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/full-screen.tsx":Ln,"/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":on,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/resize-observer.tsx":an,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/title.tsx":Gn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/filter.tsx":sn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/loading.tsx":Bn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/useComplexState.tsx":Kn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/operation.tsx":rn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/hooks/use-insert-css.ts":Wn,"insert-css":Xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/cascader/_api.ts":Fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/form/_api.ts":fn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/water-mark/_api.ts":un,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/_api.ts":En,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/atom/_api.ts":_n,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/button/_api.ts":dn,"/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":xn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/_api.ts":vn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_api.ts":pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/upload/_api.ts":hn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/context/_api.ts":cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/date-picker/_api.ts":ln,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/_api.ts":mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/usePatchElement.tsx":Pn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookDrawer.tsx":Cn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/HookModal.tsx":Qe,"/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/code.less":yn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/styleConfig.ts":In,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/index.tsx":Dn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageNode.tsx":jn,"/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/theme.ts":Mn,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/rich/export.ts":Je,runes2:Jn,"@lexical/html":rt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/tree.tsx":qe,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/_utils.ts":bn,"@ccs-ui/rc-pro":u,"@lexical/react/LexicalComposerContext":Qn,"react-draggable":Yn,"@ccs-ui/rc-pro/hooks/use-input-css":Xe,"@lexical/react/LexicalComposer":_t,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/plugins/image/ImageComponent.tsx":Rn,"@lexical/react/LexicalContentEditable":at,"@lexical/react/LexicalErrorBoundary":it,"@lexical/react/LexicalHistoryPlugin":lt,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/upload.tsx":Tn,"@lexical/react/LexicalLinkPlugin":ut,"@lexical/react/LexicalOnChangePlugin":dt,"@lexical/react/LexicalRichTextPlugin":qn,"/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":Nn,"@ccs-ui/rc-pro/editor/rich/export":Je,"@lexical/selection":ct,"@lexical/utils":et,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/editor/lexical/base/toolbar/code.tsx":Zn},renderOpts:{compile:function(){var $e=l()(_()().mark(function je(){var Ne,en=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",(Ne=ze.sent).default.apply(Ne,en));case 3:case"end":return ze.stop()}},je)}));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 c}});var o=e(90228),y=e.n(o),_=e(87999),d=e.n(_),l=e(75271),h=e(39203),i=e(28320),c={"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.9"}},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=d()(y()().mark(function u(){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()}},u)}));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.9"},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=d()(y()().mark(function u(){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()}},u)}));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),d=e(75271),l=e(39203),h=e(28320),i={"date-picker-demo-basic":{component:d.memo(d.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.9"},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 c=_()(o()().mark(function r(){var u,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",(u=a.sent).default.apply(u,p));case 3:case"end":return a.stop()}},r)}));function s(){return c.apply(this,arguments)}return s}()}},"date-picker-demo-range":{component:d.memo(d.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.9"},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 c=_()(o()().mark(function r(){var u,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",(u=a.sent).default.apply(u,p));case 3:case"end":return a.stop()}},r)}));function s(){return c.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),d=e.n(_),l=e(75271),h=e(39203),i=e(28320),c=e(38525),s=e(80429),r=e(97764),u=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.9"},antd:{type:"NPM",value:"5.27.3"},"./Cache.tsx":{type:"FILE",value:e(26260).Z},"./FormCustom.tsx":{type:"FILE",value:e(91015).Z},"./Basic.tsx":{type:"FILE",value:e(58254).Z},ahooks:{type:"NPM",value:"3.9.5"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"./Cache.tsx":c,"./FormCustom.tsx":s,"./Basic.tsx":r,"@ccs-ui/rc-pro":h,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/Cache.tsx":c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/FormCustom.tsx":s,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/dialog/demos/Basic.tsx":r,ahooks:u,react:v||(v=e.t(l,2)),"antd/es/form/hooks/useFormInstance":p},renderOpts:{compile:function(){var a=d()(y()().mark(function C(){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()}},C)}));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.9"},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=d()(y()().mark(function C(){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()}},C)}));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.9"},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=d()(y()().mark(function C(){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()}},C)}));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 c}});var o=e(90228),y=e.n(o),_=e(87999),d=e.n(_),l=e(75271),h=e(39203),i=e(28320),c={"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.9"},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=d()(y()().mark(function u(){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()}},u)}));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.9"},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=d()(y()().mark(function u(){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()}},u)}));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 c}});var o=e(90228),y=e.n(o),_=e(87999),d=e.n(_),l=e(75271),h=e(39203),i=e(28320),c={"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.9"},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:i,react:v||(v=e.t(l,2))},renderOpts:{compile:function(){var s=d()(y()().mark(function u(){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()}},u)}));function r(){return s.apply(this,arguments)}return r}()}}}},66339:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return o}});var v=e(75271),o={}},85577:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return o}});var v=e(75271),o={}},10865:function(g,n,e){"use strict";var v;e.r(n),e.d(n,{demos:function(){return I}});var o=e(90228),y=e.n(o),_=e(87999),d=e.n(_),l=e(75271),h=e(3180),i=e(39203),c=e(28320),s=e(96757),r=e(17888),u=e.n(r),p=e(61289),t=e(3675),a=e(94238),f=e(33765),C=e(40011),D=e(57898),O=e(41974),I={"pro-table-demo-basic":{component:l.memo(l.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.4.9"},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":s,"@ant-design/icons":h,"@ccs-ui/rc-pro":i,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":s,dayjs:r},renderOpts:{compile:function(){var m=d()(y()().mark(function T(){var b,E=arguments;return y()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},T)}));function P(){return m.apply(this,arguments)}return P}()}},"pro-table-demo-selection":{component:l.memo(l.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.4.9"},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":s,"@ant-design/icons":h,"@ccs-ui/rc-pro":i,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":s,dayjs:r},renderOpts:{compile:function(){var m=d()(y()().mark(function T(){var b,E=arguments;return y()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},T)}));function P(){return m.apply(this,arguments)}return P}()}},"pro-table-demo-filter":{component:l.memo(l.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.4.9"},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":s,"@ant-design/icons":
|
|
6
|
+
\u672C\u5730\u6A21\u62DF\u6570\u636E\u3001\u8BF7\u6253\u5F00\u63A7\u5236\u53F0\u67E5\u770B\u65E5\u5FD7`},context:{"./service.ts":s,"@ant-design/icons":h,"@ccs-ui/rc-pro":i,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":s,dayjs:r},renderOpts:{compile:function(){var m=d()(y()().mark(function T(){var b,E=arguments;return y()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},T)}));function P(){return m.apply(this,arguments)}return P}()}},"pro-table-demo-refresh":{component:l.memo(l.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.4.9"},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":s,"@ccs-ui/rc-pro":i,antd:
|
|
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":s,"@ccs-ui/rc-pro":i,antd:c,react:v||(v=e.t(l,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":s,dayjs:r},renderOpts:{compile:function(){var m=d()(y()().mark(function T(){var b,E=arguments;return y()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},T)}));function P(){return m.apply(this,arguments)}return P}()}},"pro-table-demo-tree-async":{component:l.memo(l.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.4.9"},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":s,"@ccs-ui/rc-pro":i,antd:
|
|
17
|
-
\u901A\u8FC7\u591A\u4E2A select \u7EC4\u4EF6\u6765\u6784\u5EFA\u7EA7\u8054\u53C2\u8003\u4E0A\u9762\u793A\u4F8B\uFF1A`},context:{"./service.ts":s,"@ccs-ui/rc-pro":i,antd:
|
|
18
|
-
\u901A\u8FC7\u591A\u4E2A select \u7EC4\u4EF6\u6765\u6784\u5EFA\u7EA7\u8054\u53C2\u8003\u4E0A\u9762\u793A\u4F8B\uFF1A`},context:{"./
|
|
15
|
+
- \u5237\u65B0\u65B9\u6CD5\uFF1AproRef.current?.onPartialReload(\u7236\u7EA7ID)`},context:{"./tree-form.tsx":p,"./service-tree.ts":t,"@ccs-ui/rc-pro":i,react:v||(v=e.t(l,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/tree-form.tsx":p,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service-tree.ts":t,antd:c},renderOpts:{compile:function(){var m=d()(y()().mark(function T(){var b,E=arguments;return y()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},T)}));function P(){return m.apply(this,arguments)}return P}()}},"pro-table-demo-fixed":{component:l.memo(l.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.4.9"},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":s,"@ccs-ui/rc-pro":i,antd:c,react:v||(v=e.t(l,2)),"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":s,dayjs:r},renderOpts:{compile:function(){var m=d()(y()().mark(function T(){var b,E=arguments;return y()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},T)}));function P(){return m.apply(this,arguments)}return P}()}},"pro-table-demo-show-depend":{component:l.memo(l.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.4.9"},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":s,"@ccs-ui/rc-pro":i,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":s,dayjs:r},renderOpts:{compile:function(){var m=d()(y()().mark(function T(){var b,E=arguments;return y()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},T)}));function P(){return m.apply(this,arguments)}return P}()}},"pro-table-demo-cascade":{component:l.memo(l.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.4.9"},"./components/SelectParam1.tsx":{type:"FILE",value:e(84296).Z},"./components/SelectParam3.tsx":{type:"FILE",value:e(38717).Z},"./components/SelectParam2.tsx":{type:"FILE",value:e(84005).Z},"./service.ts":{type:"FILE",value:e(43421).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:{"./components/SelectParam1.tsx":a,"./components/SelectParam3.tsx":f,"./components/SelectParam2.tsx":C,"./service.ts":D,"@ccs-ui/rc-pro":i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/components/SelectParam1.tsx":a,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/components/SelectParam3.tsx":f,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/components/SelectParam2.tsx":C,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/components/service.ts":D,ahooks:O,dayjs:r,antd:c,react:v||(v=e.t(l,2))},renderOpts:{compile:function(){var m=d()(y()().mark(function T(){var b,E=arguments;return y()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},T)}));function P(){return m.apply(this,arguments)}return P}()}},"pro-table-demo-extra":{component:l.memo(l.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.4.9"},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":s,"@ccs-ui/rc-pro":i,antd:c,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/pro-table/demos/service.ts":s,dayjs:r},renderOpts:{compile:function(){var m=d()(y()().mark(function T(){var b,E=arguments;return y()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,e.e(9510).then(e.bind(e,59510));case 2:return x.abrupt("return",(b=x.sent).default.apply(b,E));case 3:case"end":return x.stop()}},T)}));function P(){return m.apply(this,arguments)}return P}()}}}},70987: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),d=e(75271),l=e(39203),h=e(28320),i={"pro-tabs-demo-basic":{component:d.memo(d.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.4.9"},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":l,antd:h},renderOpts:{compile:function(){var c=_()(o()().mark(function r(){var u,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",(u=a.sent).default.apply(u,p));case 3:case"end":return a.stop()}},r)}));function s(){return c.apply(this,arguments)}return s}()}},"pro-tabs-demo-tab":{component:d.memo(d.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.4.9"},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":l,antd:h},renderOpts:{compile:function(){var c=_()(o()().mark(function r(){var u,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",(u=a.sent).default.apply(u,p));case 3:case"end":return a.stop()}},r)}));function s(){return c.apply(this,arguments)}return s}()}}}},46670: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),d=e(75271),l=e(39203),h={"result-demo-basic":{component:d.memo(d.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.4.9"}},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,u=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,u));case 3:case"end":return t.stop()}},s)}));function c(){return i.apply(this,arguments)}return c}()}}}},98693:function(g,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return s}});var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),d=e(75271),l=e(39203),h=e(41974),i=e(28320),c=e(61809),s={"select-demo-customize":{component:d.memo(d.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.4.9"},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
19
|
\u4F7F\u7528useTableSelection\u83B7\u53D6\u9009\u4E2D\u6570\u636E\uFF0C\u5904\u7406\u53D7\u63A7\u6570\u636E
|
|
20
20
|
\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":_,"@ccs-ui/rc-pro":d,ahooks:v,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/demos/service.ts":_},renderOpts:{compile:function(){var r=m()(o()().mark(function g(){var t,p=arguments;return o()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,e.e(9510).then(e.bind(e,59510));case 2:return C.abrupt("return",(t=C.sent).default.apply(t,p));case 3:case"end":return C.stop()}},g)}));function l(){return r.apply(this,arguments)}return l}()}}}},21300:function(E,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return i}});var f=e(90228),o=e.n(f),P=e(87999),m=e.n(P),c=e(75271),d=e(39203),v=e(28320),i={"time-picker-demo-basic":{component:c.memo(c.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.7"},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":d,antd:v},renderOpts:{compile:function(){var _=m()(o()().mark(function r(){var l,g=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",(l=p.sent).default.apply(l,g));case 3:case"end":return p.stop()}},r)}));function s(){return _.apply(this,arguments)}return s}()}}}},67655:function(E,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return v}});var f=e(90228),o=e.n(f),P=e(87999),m=e.n(P),c=e(75271),d=e(39203),v={"upload-demo-basic":{component:c.memo(c.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.7"}},entry:"index.tsx",title:"\u6587\u4EF6\u4E0A\u4F20"},context:{"@ccs-ui/rc-pro":d},renderOpts:{compile:function(){var i=m()(o()().mark(function s(){var r,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",(r=t.sent).default.apply(r,l));case 3:case"end":return t.stop()}},s)}));function _(){return i.apply(this,arguments)}return _}()}},"upload-demo-image":{component:c.memo(c.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.7"}},entry:"index.tsx",title:"\u56FE\u7247\u4E0A\u4F20"},context:{"@ccs-ui/rc-pro":d},renderOpts:{compile:function(){var i=m()(o()().mark(function s(){var r,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",(r=t.sent).default.apply(r,l));case 3:case"end":return t.stop()}},s)}));function _(){return i.apply(this,arguments)}return _}()}}}},82757:function(E,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return v}});var f=e(90228),o=e.n(f),P=e(87999),m=e.n(P),c=e(75271),d=e(39203),v={"water-mark-demo-basic":{component:c.memo(c.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.7"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":d},renderOpts:{compile:function(){var i=m()(o()().mark(function s(){var r,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",(r=t.sent).default.apply(r,l));case 3:case"end":return t.stop()}},s)}));function _(){return i.apply(this,arguments)}return _}()}}}},57979:function(E,n,e){"use strict";e.r(n),e.d(n,{demos:function(){return v}});var f=e(90228),o=e.n(f),P=e(87999),m=e.n(P),c=e(75271),d=e(68144),v={"packages-utils-src-demo-demos":{component:c.memo(c.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":d},renderOpts:{compile:function(){var i=m()(o()().mark(function s(){var r,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",(r=t.sent).default.apply(r,l));case 3:case"end":return t.stop()}},s)}));function _(){return i.apply(this,arguments)}return _}()}}}},12648:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return y}});var f=e(26068),o=e.n(f),P=e(15558),m=e.n(P),c=e(48305),d=e.n(c),v=e(79312),i=e(5864),_=e(15409),s=e(30627),r=e(3923),l=e(55387),g=e(16929),t=e(18529),p=e(18466),a=e(46960),C=e(75271),D=e(52676),M=g.Z.useToken;function I(h){var O=h.msg,x=(0,C.useState)(!0),B=d()(x,2),R=B[0],A=B[1];return(0,C.useEffect)(function(){O&&setTimeout(function(){A(!1)},1e3)},[]),R?O:""}function u(h){var O=h.bgImg,x=h.sliderImg,B=h.loadingImg,R=h.loadingValid,A=h.validErrorMsg,T=h.onValid,K=h.onCancel,W=h.onRefresh,j=(0,C.useRef)(null),U=(0,C.useRef)(null),k=(0,C.useRef)({start:!1,startX:0});(0,C.useEffect)(function(){k.current={start:!1,startX:0},j.current.style.left="0px",U.current.style.left="0px"},[x]);var F=function(Z){if(Z<0){j.current.style.left="0px",U.current.style.left="0px";return}var $=Z>263?"263px":"".concat(Z,"px");j.current.style.left=$,U.current.style.left=$};(0,l.Z)("mousedown",function(S){R||(k.current.startX||(k.current.startX=S.clientX),k.current.start=!0)},{target:j}),(0,l.Z)("mousemove",function(S){if(k.current.start){var Z=S.clientX-k.current.startX;F(Z)}},{target:document}),(0,l.Z)("mouseup",function(S){var Z=S.clientX-k.current.startX;T({x:Z,y:5},"sliding"),k.current.start=!1},{target:document});var z=M(),N=z.token;return(0,D.jsxs)(t.Z,{indicator:(0,D.jsx)(v.Z,{style:{fontSize:24}}),spinning:B,children:[(0,D.jsxs)("div",{className:"ccs-aj-body",style:{background:N.colorBgContainerDisabled},children:[(0,D.jsx)("img",{className:"ccs-aj-bg",src:O?"data:image/png;base64,".concat(O):void 0,width:310,height:155}),(0,D.jsx)("img",{ref:U,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)(p.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:A},x)}),(0,D.jsx)(p.ZP,{onClick:K,type:"text",icon:(0,D.jsx)(_.Z,{})})]})]}),(0,D.jsxs)("div",{className:"ccs-aj-slider",style:{background:N.colorBgElevated},children:[(0,D.jsx)("div",{className:"ccs-aj-slider-track",style:{background:N.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:N.colorBgBase,border:"1px solid ".concat(N.colorBorder)},children:R?(0,D.jsx)(v.Z,{}):(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(s.Z,{}),(0,D.jsx)(r.Z,{})]})})]})]})}function b(h){var O=h.bgImg,x=h.words,B=h.loadingImg,R=h.loadingValid,A=h.validErrorMsg,T=h.onValid,K=h.onCancel,W=h.onRefresh,j=(0,C.useRef)(null),U=(0,C.useState)([]),k=d()(U,2),F=k[0],z=k[1];(0,C.useEffect)(function(){z([])},[O]),(0,l.Z)("mouseup",function(Z){z([].concat(m()(F),[{x:Z.offsetX,y:Z.offsetY}]))},{target:j}),(0,C.useEffect)(function(){F.length===(x==null?void 0:x.length)&&T(F,"wordSelect")},[F.length]);var N=M(),S=N.token;return(0,D.jsxs)(t.Z,{indicator:(0,D.jsx)(v.Z,{style:{fontSize:24}}),spinning:B||R,children:[(0,D.jsxs)("div",{className:"ccs-aj-body",style:{background:S.colorBgContainerDisabled},children:[(0,D.jsx)("img",{ref:j,className:"ccs-aj-bg",src:O?"data:image/png;base64,".concat(O):void 0,width:310,height:155}),F.map(function(Z,$){return(0,D.jsx)("div",{className:"ccs-word-point",style:{left:Z.x-13,top:Z.y-13},children:$+1},Z.x)}),(0,D.jsxs)("div",{className:"ccs-aj-btn",children:[(0,D.jsx)(p.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:A},O)}),(0,D.jsx)(p.ZP,{onClick:K,type:"text",icon:(0,D.jsx)(_.Z,{})})]})]}),(0,D.jsxs)("div",{className:"ccs-aj-word-slider",style:{color:S.colorTextLabel,border:"1px solid ".concat(S.colorTextLabel)},children:["\u8BF7\u4F9D\u6B21\u70B9\u51FB\u3010",x==null?void 0:x.join(", "),"\u3011"]})]})}function L(h){var O=h.captchaType==="sliding"?"10px 10px 0 10px":10;return(0,D.jsx)(a.Z,{width:330,open:h.open,destroyOnHidden:!0,onCancel:h.onCancel,footer:null,closable:!1,maskClosable:!1,styles:{content:{padding:0},body:{padding:O},mask:{backgroundColor:"rgba(0, 0, 0, 0.25)"}},className:"ccs-aj-modal",style:{top:"calc(50vh - 200px)"},children:h.captchaType==="sliding"?(0,D.jsx)(u,o()({},h)):(0,D.jsx)(b,o()({},h))})}var y=L},73799:function(E,n,e){"use strict";e.r(n),e.d(n,{DataEvent:function(){return f}});var f=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(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var f=e(26068),o=e.n(f),P=e(31759),m=e.n(P),c=e(48305),d=e.n(c),v=e(45186),i=e(42932),_=e(81465),s=e(69608),r=e(18466),l=e(75271),g=e(32097),t=e(52676),p=i.Z.Group;function a(C){var D=C.isAll,M=C.btnProps,I=C.options,u=I===void 0?[]:I,b=C.defaultCheckedKeys,L=b===void 0?[]:b,y=(0,l.useState)(L),h=d()(y,2),O=h[0],x=h[1],B=function(K){var W;x(K),(W=C.onChange)===null||W===void 0||W.call(C,K)},R=function(K){var W,j=K.target.checked?u.map(function(U){return m()(U)==="object"?U.value:U}):[];x(j),(W=C.onChange)===null||W===void 0||W.call(C,j)},A=function(){if(!(D===!1||!(u!=null&&u.length))){var K=u.length===O.length,W=O.length>0&&O.length<u.length;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Z,{indeterminate:W,onChange:R,checked:K,children:"\u5168\u9009"}),(0,t.jsx)(_.Z,{style:{margin:"10px 0"}})]})}};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(s.Z,{placement:C.placement,content:(0,t.jsxs)(t.Fragment,{children:[A(),(0,t.jsx)(p,{className:"".concat(g.classAtomPrefix,"-check"),options:u,value:O,onChange:B})]}),children:(0,t.jsx)(r.ZP,o()({type:"text",icon:(0,t.jsx)(v.Z,{})},M))})})}},21827:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(90228),m=e.n(P),c=e(87999),d=e.n(c),v=e(48305),i=e.n(v),_=e(67825),s=e.n(_),r=e(75250),l=e(18466),g=e(75271),t=e(52676),p=["num","cacheKey","disabledText","children"];function a(C,D){var M=C.num,I=M===void 0?60:M,u=C.cacheKey,b=C.disabledText,L=C.children,y=s()(C,p),h=(0,g.useState)(-1),O=i()(h,2),x=O[0],B=O[1],R=(0,g.useState)(null),A=i()(R,2),T=A[0],K=A[1],W=(0,g.useMemo)(function(){return u||window.location.host},[]);(0,g.useLayoutEffect)(function(){var k=function(){var F=d()(m()().mark(function z(){var N,S,Z,$;return m()().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return H.next=2,localStorage.getItem(W);case 2:if(N=H.sent,!N){H.next=11;break}if(S=JSON.parse(N),Z=new Date().getTime(),$=Math.round((Z-S.time)/1e3),!($<S.num)){H.next=11;break}return B(S.num-$),K(1e3),H.abrupt("return");case 11:B(I);case 12:case"end":return H.stop()}},z)}));return function(){return F.apply(this,arguments)}}();k()},[]),(0,r.Z)(function(){if(x-1===0){K(null),B(I),W&&localStorage.removeItem(W);return}B(x-1)},T,{immediate:!0});var j=x!==0&&x!==I,U=function(){K(1e3),W&&localStorage.setItem(W,JSON.stringify({num:I,time:new Date().getTime()}))};return(0,g.useImperativeHandle)(D,function(){return{onStart:U}}),x===-1?null:(0,t.jsx)(l.ZP,o()(o()({type:"primary"},y),{},{onClick:y.onClick?y.onClick:U,disabled:y.disabled?!0:j,children:j?"".concat(x,"\u79D2").concat(b):"".concat(L)}))}n.default=(0,g.forwardRef)(a)},13373:function(E,n,e){"use strict";e.r(n);var f=e(48305),o=e.n(f),P=e(26068),m=e.n(P),c=e(60680),d=e(68144),v=e(81992),i=e(21947),_=e(57439),s=e(18466),r=e(8890),l=e(75271),g=e(14306),t=e(52676),p={visibility:"hidden",whiteSpace:"inherit",lineHeight:"inherit",fontSize:"inherit"},a=function(I){return I[I.INIT=99]="INIT",I[I.NO_ELLIPSIS=0]="NO_ELLIPSIS",I[I.MEASURE_WALKING=200]="MEASURE_WALKING",I[I.STABLE_ELLIPSIS=400]="STABLE_ELLIPSIS",I[I.NULL=-1]="NULL",I}(a||{}),C="...";function D(I){var u=I.option,b=I.targetRef,L=I.onResize,y=(0,v.Z)(b),h=(0,i.Z)(y,m()({wait:500,leading:!0,trailing:!1},u));return(0,l.useEffect)(function(){h&&L(h)},[h]),null}function M(I){var u=I.content,b=I.rows,L=b===void 0?1:b,y=I.direction,h=y===void 0?"end":y,O=I.showTooltip,x=l.useRef(null),B=l.useRef(null),R=l.useState(a.INIT),A=o()(R,2),T=A[0],K=A[1],W=l.useMemo(function(){return(0,g.default)(u||"")},[u]),j=(0,l.useState)(0),U=o()(j,2),k=U[0],F=U[1],z=(0,l.useRef)({maxHeight:0,step:0});(0,l.useEffect)(function(){var Z=W.length;if(T===a.INIT){var $,Q,H=((($=x.current)===null||$===void 0?void 0:$.offsetHeight)||0)*L;if(((Q=x.current)===null||Q===void 0?void 0:Q.offsetHeight)===0){K(a.NULL);return}z.current.maxHeight=H,z.current.step=Z,F(Z),K(a.MEASURE_WALKING);return}if(T===a.MEASURE_WALKING){var G=Math.floor(z.current.step/2);z.current.step=G;var ne=B.current;if(ne.offsetHeight===ne.scrollHeight){if(k===Z){K(a.NO_ELLIPSIS);return}if(G===0){K(a.STABLE_ELLIPSIS);return}F(function(V){return V+G})}else{if(G===0){F(function(V){return V-1}),K(a.STABLE_ELLIPSIS);return}F(function(V){return V-G})}}},[T,k]);var N=function(){if(k===0)return".";if(h==="start")return"".concat(C).concat(W.slice(W.length-k).join(""));if(h==="end")return"".concat(W.slice(0,k).join("")).concat(C);if(h==="middle"){var $=Math.floor(k/2);return"".concat(W.slice(0,$).join("")).concat(C).concat(W.slice(W.length-(k-$)).join(""))}};if(T===a.NO_ELLIPSIS)return u;if(T===a.STABLE_ELLIPSIS)return O?(0,t.jsx)(_.Z,{zIndex:9999,rootClassName:"ccs-ellipsis-tootip",title:function(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{style:{maxHeight:300,overflow:"auto"},children:u}),(0,t.jsx)("div",{style:{textAlign:"right"},children:(0,t.jsx)(s.ZP,{type:"link",onClick:function(){d.default.copy(u),r.ZP===null||r.ZP===void 0||r.ZP.info("\u590D\u5236\u6210\u529F")},icon:(0,t.jsx)(c.Z,{}),children:"\u590D\u5236"})})]})},placement:"bottomLeft",destroyOnHidden:!0,styles:{body:{whiteSpace:"normal"}},children:N()}):N();var S=function($){$.height===0||$.width===0||K(a.INIT)};return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"ccs-ellipsis",children:[T===a.INIT&&(0,t.jsx)("div",{"aria-hidden":!0,ref:x,style:p,children:"\xA0"},"stable"),T===a.MEASURE_WALKING&&(0,t.jsx)("div",{ref:B,style:{maxHeight:z.current.maxHeight},className:"ccs-ellipsis-scroll",children:N()},"measure-walking"),T===a.NULL&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:B,children:"\xA0"}),(0,t.jsx)(D,{targetRef:B,onResize:S})]})]})})}n.default=l.memo(M,function(I,u){return I.content===u.content})},26123:function(E,n,e){"use strict";e.r(n);var f=e(67825),o=e.n(f),P=e(26068),m=e.n(P),c=e(48305),d=e.n(c),v=e(68825),i=e(49115),_=e(80729),s=e(16929),r=e(18466),l=e(75271),g=e(32097),t=e(64276),p=e(32272),a=e(52676),C=["onFormat"];function D(M,I){var u=M.extra,b=M.style,L=M.className,y=M.expandForm,h=y===void 0?!1:y,O=M.formItems,x=O===void 0?[]:O,B=M.formInitValues,R=M.formItemLabelWidth,A=M.requestParam,T=M.onSearch,K="".concat(g.classAtomPrefix,"-filter"),W=_.Z.useForm(),j=d()(W,1),U=j[0],k=(0,l.useRef)(null),F=(0,l.useRef)(null),z=(0,l.useRef)(null),N=(0,l.useState)(!1),S=d()(N,2),Z=S[0],$=S[1],Q=(0,l.useState)(!1),H=d()(Q,2),G=H[0],ne=H[1],V=s.Z.useToken().token;function Y(){var le=V.rootValue?"".concat((V.controlHeight/V.rootValue).toFixed(3),"rem"):V.controlHeight;return le}var X=(0,l.useState)(Y),ue=d()(X,2),ae=ue[0],J=ue[1];(0,l.useEffect)(function(){G&&h&&$(!0)},[G]);var q=function(){var me=U.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 ge=x.find(function(Ee){return Ee.name===ve});ge!=null&&ge.onFormat&&(me[ve]=ge.onFormat(me[ve]))}}),m()(m()(m()({},A),B),me)};(0,l.useImperativeHandle)(I,function(){return{getFormValues:q,form:U}});var te=function(){var me,_e,ve,ge,Ee;if(!(!F.current||!k.current)){var Oe=ae;k.current.childNodes.forEach(function(pe){Oe<pe.clientHeight&&(Oe=pe.clientHeight)}),Oe!==ae&&J(Oe);var Ce=(me=F.current)===null||me===void 0||(me=me.getClientRects()[0])===null||me===void 0?void 0:me.top,Ie=(_e=k.current)===null||_e===void 0||(_e=_e.getClientRects()[0])===null||_e===void 0?void 0:_e.top,je=(ve=z.current)===null||ve===void 0||(ve=ve.getClientRects()[0])===null||ve===void 0?void 0:ve.top;if(Ce===Ie&&Ce===je&&(ne(!1),$(!1)),!Z){var Te=((ge=F.current)===null||ge===void 0||(ge=ge.getClientRects()[0])===null||ge===void 0?void 0:ge.top)!==((Ee=k.current)===null||Ee===void 0||(Ee=Ee.getClientRects()[0])===null||Ee===void 0?void 0:Ee.top);ne(Te)}}};if((0,l.useEffect)(function(){te()},[]),x.length===0)return null;var re=function(me){me.width!==0&&te()},ie=(0,a.jsxs)("div",{style:{textAlign:"right",flex:Z&&G?"1 1 auto":"0 0 auto"},ref:z,children:[G&&(0,a.jsx)(r.ZP,{type:"link",icon:Z?(0,a.jsx)(v.Z,{}):(0,a.jsx)(i.Z,{}),style:{padding:"4px 6px"},onClick:function(){return $(!Z)},children:Z?"\u6536\u8D77":"\u5C55\u5F00"}),(0,a.jsx)(r.ZP,{type:"primary",htmlType:"submit",children:"\u67E5\u8BE2"}),u]}),oe={flexWrap:Z?"wrap":"nowrap"};return(0,a.jsx)(p.default,{style:b,className:L,children:(x.length>0||T)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g.default.Resize,{targetRef:k,onResize:re}),(0,a.jsxs)(_.Z,{initialValues:B,form:U,onFinish:T,layout:"inline",style:oe,preserve:!1,children:[(0,a.jsx)("div",{style:{height:Z?"auto":ae},className:"".concat(K,"-adaptation"),children:(0,a.jsxs)("div",{className:"".concat(K,"-").concat(Z&&G?"expand":"collapse"),ref:k,children:[x.map(function(le){var me=le.onFormat,_e=o()(le,C);return(0,a.jsx)(t.Z.Item,m()(m()(m()({},_e),R?{label:(0,a.jsx)("div",{style:{width:R},children:_e.label})}:void 0),{},{className:"".concat(K,"-form-item"),children:_e.value||_e.children}),_e.name)}),(0,a.jsx)("div",{style:{height:1},ref:F}),Z&&ie]})}),!Z&&ie]})]})})}n.default=l.forwardRef(D)},93238:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(48305),m=e.n(P),c=e(87887),d=e(67619),v=e(16929),i=e(18466),_=e(57439),s=e(75271),r=e(32097),l=e(52676);function g(t){var p=t.btnProps,a=t.parentHtmlId,C=(0,s.useState)(!1),D=m()(C,2),M=D[0],I=D[1],u=(0,s.useRef)(null),b=(0,s.useRef)(void 0),L=v.Z.useToken(),y=L.token;(0,s.useEffect)(function(){a&&(b.current=u.current.closest("#".concat(a))||void 0)},[]);var h=function(){if(b.current){var x=b.current||{},B=x.classList,R=x.style;M?(B==null||B.remove("".concat(r.classAtomPrefix,"-fullscreen")),R.backgroundColor="transparent"):(B==null||B.add("".concat(r.classAtomPrefix,"-fullscreen")),R.backgroundColor=y.colorBgContainer)}I(!M)};return(0,l.jsx)("span",{ref:u,children:M?(0,l.jsx)(i.ZP,o()({onClick:function(){return h()},icon:(0,l.jsx)(c.Z,{}),type:"text"},p)):(0,l.jsx)(_.Z,{title:"\u5168\u5C4F",destroyOnHidden:!0,children:(0,l.jsx)(i.ZP,o()({onClick:function(){return h()},icon:(0,l.jsx)(d.Z,{}),type:"text"},p))})})}n.default=g},32097:function(E,n,e){"use strict";e.r(n),e.d(n,{classAtomPrefix:function(){return g},default:function(){return p}});var f=e(22126),o=e(21827),P=e(13373),m=e(26123),c=e(93238),d=e(9889),v=e(39142),i=e(70110),_=e(56251),s=e(64723),r=e(24887),l=e(52676),g="ccs-atom",t=function(){return(0,l.jsx)(l.Fragment,{})};t.Filter=m.default,t.Operation=v.default,t.Checkbox=f.default,t.FullScreen=c.default,t.Title=_.default,t.Resize=i.default,t.Countdown=o.default,t.Ellipsis=P.default,t.usePageRequest=r.default,t.useComplexState=s.default,t.Loading=d.default;var p=t},32272:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return i}});var f=e(26068),o=e.n(f),P=e(16929),m=e(82187),c=e.n(m),d=e(85289),v=e(52676);function i(_){var s=_.style,r=_.size,l=_.className,g=_.children,t=P.Z.useToken(),p=t.token;(0,d.useInsertCss)("atom-item",function(){return[".ccs-atom-item ~ .ccs-atom-item { border-top: 1px solid ".concat(p.colorBorderSecondary,"; }")]});var a=r==="small"?p.paddingSM:p.paddingMD;return(0,v.jsx)("div",{className:c()("ccs-atom-item",l),style:o()({background:p.colorBgContainer,padding:"".concat(p.paddingSM,"px ").concat(a,"px")},s),children:g})}},9889:function(E,n,e){"use strict";e.r(n);var f=e(79312),o=e(8984),P=e(18529),m=e(52676),c=function(v){var i=v.loading,_=v.loadingTip;return i?(0,m.jsx)("div",{className:"ccs-loading",children:(0,m.jsx)("div",{className:"ccs-loading-content ",children:(0,m.jsxs)(o.Z,{children:[(0,m.jsx)(P.Z,{indicator:(0,m.jsx)(f.Z,{style:{fontSize:24}})}),_]})})}):null};n.default=c},39142:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(55363),m=e(65351),c=e(15574),d=e(18466),v=e(57439),i=e(82187),_=e.n(i),s=e(32097),r=e(93238),l=e(32272),g=e(52676);function t(p){var a="".concat(s.classAtomPrefix,"-operation"),C=p.extraRight,D=p.extraLeft,M=p.size,I=p.parentHtmlId,u=p.style,b=p.className,L=p.onReset,y=p.onChangeSize;if(Object.values(p).filter(function(O){return O}).length===0)return null;var h=o()({},u);return D||(h.display="inline-block",h.padding=0),(0,g.jsxs)(l.default,{className:_()(a,b),style:h,children:[(0,g.jsx)("div",{className:"".concat(a,"-left"),children:D}),(0,g.jsxs)("div",{className:"".concat(a,"-right"),children:[C,M&&(0,g.jsx)(c.Z,{placement:"bottomRight",menu:{activeKey:M,items:[{key:"large",label:"\u9ED8\u8BA4"},{key:"middle",label:"\u4E2D\u7B49"},{key:"small",label:"\u7D27\u51D1"}],onClick:function(x){y==null||y(x.key)}},children:(0,g.jsx)(d.ZP,{icon:(0,g.jsx)(P.Z,{}),type:"text"})}),L&&(0,g.jsx)(v.Z,{title:"\u91CD\u7F6E",children:(0,g.jsx)(d.ZP,{onClick:L,icon:(0,g.jsx)(m.Z,{}),type:"text"})}),I!==void 0&&(0,g.jsx)(r.default,{parentHtmlId:"ccs-pro-table"})]})]})}n.default=t},70110:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(81992),m=e(21947),c=e(75271),d=e(52676);function v(s){var r=s.onResize,l=s.option,g=(0,c.useRef)(),t=(0,c.useRef)(null),p=(0,P.Z)(t),a=(0,m.Z)(p,o()({wait:500,leading:!1,trailing:!0},l));return(0,c.useEffect)(function(){a&&(g.current&&r(a),g.current=a)},[a]),(0,d.jsx)("div",{ref:t})}function i(s){var r=s.option,l=s.targetRef,g=s.onResize,t=(0,c.useRef)(),p=(0,P.Z)(l),a=(0,m.Z)(p,o()({wait:500,leading:!1,trailing:!0},r));return(0,c.useEffect)(function(){a&&(t.current&&g(a),t.current=a)},[a]),null}function _(s){return s.targetRef?(0,d.jsx)(i,o()({},s)):(0,d.jsx)(v,o()({},s))}n.default=_},56251:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return d}});var f=e(26068),o=e.n(f),P=e(16929),m=e(32272),c=e(52676);function d(v){var i=v.children,_=v.style,s=v.className;if(!i)return null;var r=P.Z.useToken(),l=r.token;return(0,c.jsx)(m.default,{className:s,style:o()({fontSize:l.fontSizeHeading5,fontWeight:l.fontWeightStrong},_),children:i})}},64723:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r}});var f=e(31759),o=e.n(f),P=e(48305),m=e.n(P),c=e(82092),d=e.n(c),v=e(85899),i=e.n(v),_=e(75271),s=function(g,t){for(var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"$set",a=g.split("."),C=d()({},p,t),D=a.length-1;D>=0;D--){var M=a[D];C=d()({},M,C)}return C};function r(l){var g=(0,_.useState)(l),t=m()(g,2),p=t[0],a=t[1],C=(0,_.useCallback)(function(u){if(typeof u=="function"){a(function(b){return i()(b,u(b))});return}a(function(b){return i()(b,u)})},[]),D=(0,_.useCallback)(function(u,b){a(function(L){if(typeof u=="string"){var y=u,h=b,O=s(y,h);return i()(L,O)}else if(o()(u)==="object"&&u!==null){var x=L,B=u;return Object.entries(B).forEach(function(R){var A=m()(R,2),T=A[0],K=A[1],W=s(T,K);x=i()(x,W)}),x}return L})},[]),M=(0,_.useCallback)(function(u,b,L){var y=s(u,Array.isArray(b)?b:[b],L||"$push");a(function(h){return i()(h,y)})},[]),I=(0,_.useCallback)(function(){a(l)},[l]);return{state:p,setRaw:C,setByPath:D,setArray:M,reset:I}}},24887:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return I}});var f=e(90228),o=e.n(f),P=e(82092),m=e.n(P),c=e(15558),d=e.n(c),v=e(26068),i=e.n(v),_=e(87999),s=e.n(_),r=e(48305),l=e.n(r),g=e(13443),t=e(75271),p=e(94127),a=e(81475),C=e(65173),D=e(73799);function M(u,b,L){for(;b.length>0;){var y=b.shift();b.length>0?(u[y]||(u[y]={}),M(u[y],b,L)):u[y]=L}}function I(u){var b=u.auth,L=u.rowKey,y=u.pagination,h=u.emptyDefaultOne,O=u.fieldNames,x=u.onEvent,B=u.getFormValues,R=u.onFilterOrder,A=u.onRequestCustom,T=u.request,K=(0,t.useState)({total:0,dataSource:[],pageSize:10,current:1}),W=l()(K,2),j=W[0],U=W[1],k=(0,p.default)(),F=k.onAuth,z=(0,a.useProTableFields)(),N=(0,t.useMemo)(function(){return b?F&&F(b):!0},[b]),S=(0,g.Z)(function(){var $=s()(o()().mark(function Q(H){var G,ne,V,Y,X,ue,ae,J,q,te,re,ie,oe,le,me,_e,ve,ge,Ee,Oe,Ce,Ie,je,Te=arguments;return o()().wrap(function(de){for(;;)switch(de.prev=de.next){case 0:if(G=Te.length>1&&Te[1]!==void 0?Te[1]:1,ne=Te.length>2&&Te[2]!==void 0?Te[2]:(y?y.defaultPageSize:10)||10,V=Te.length>3?Te[3]:void 0,!(!N||!T)){de.next=5;break}return de.abrupt("return");case 5:return de.next=7,B==null?void 0:B();case 7:if(de.t0=de.sent,de.t0){de.next=10;break}de.t0={};case 10:if(Y=de.t0,X=i()(i()({},z),O),ue=X.requestParam||{},ae=ue.filters,J=ae===void 0?["filters"]:ae,q=ue.pageNo,te=q===void 0?["pageNo"]:q,re=ue.pageSize,ie=re===void 0?["pageSize"]:re,oe=ue.orderProps,le=oe===void 0?["orderProps"]:oe,me=ue.query,_e={},me&&me.length>0?M(_e,d()(me),Y):_e=Y,y!==!1&&(M(_e,d()(te),G),M(_e,d()(ie),ne)),ve=(R==null?void 0:R())||{},ge=ve.filters,Ee=ve.orderProps,ge&&Object.keys(ge).length>0&&M(_e,d()(J),ge),Ee&&Ee.length>0&&M(_e,d()(le),Ee),!A){de.next=22;break}return A(H,_e.query||_e,V),de.abrupt("return");case 22:return x==null||x(H,{loading:!0,params:_e}),U(function(Re){return i()(i()({},Re),{},{loading:!0})}),de.next=26,T(_e);case 26:if(Oe=de.sent,x==null||x(H,{loading:!1,params:_e,data:Oe}),!Oe){de.next=38;break}if(Ce=(0,C.getDataByNamePath)(Oe,X.dataSource),h&&Ce&&Ce.length===0&&Ce.push(m()({},L||"id","0")),Ie=(0,C.getDataByNamePath)(Oe,X.total),!(Ie===void 0||Ce===void 0)){de.next=36;break}return je={dataSource:Ce,pageSize:ne,current:G,total:Ie,loading:!1},U(je),de.abrupt("return");case 36:return!Ce.length&&G!==1?S(D.DataEvent.Reload,G-1):U({current:G,pageSize:ne,loading:!1,dataSource:Ce,total:Ie||0}),de.abrupt("return");case 38:U(function(Re){return i()(i()({},Re),{},{loading:!1})});case 39:case"end":return de.stop()}},Q)}));return function(Q){return $.apply(this,arguments)}}()),Z=(0,g.Z)(function($){U($)});return{data:j,isAuth:N,onRequest:S,onChangeData:Z}}},1444:function(E,n,e){"use strict";e.r(n),e.d(n,{ModalConfirm:function(){return v}});var f=e(48305),o=e.n(f),P=e(46960),m=e(75271),c=e(94127),d=e(52676);function v(_){var s=_.modalRef,r=P.Z.useModal(),l=o()(r,2),g=l[0],t=l[1];return(0,m.useEffect)(function(){s.current=g},[]),(0,d.jsxs)(d.Fragment,{children:[" ",t]})}function i(_){var s=_.auth,r=_.children,l=(0,c.default)()||{},g=l.onAuth;return g&&s?g(s)?r:null:r}n.default=i},86954:function(E,n,e){"use strict";e.r(n)},32375:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return s}});var f=e(26068),o=e.n(f),P=e(67825),m=e.n(P),c=e(15574),d=e(75271),v=e(94127),i=e(52676),_=["auth","menus","children","onClick"];function s(r){var l=r.auth,g=r.menus,t=g===void 0?[]:g,p=r.children,a=r.onClick,C=m()(r,_),D=(0,v.default)()||{},M=D.onAuth,I=(0,d.useMemo)(function(){function b(L){var y=L.filter(function(h){if(!h.auth)return!0;var O=M&&M(h.auth);return!!O});return y.map(function(h){var O=Object.assign({},h);if(O.children){var x=b(O.children);O.children=x.length>0?x:null}return O}).filter(function(h){return h.children!==null})}return b(t)},[t.map(function(b){return b==null?void 0:b.key}).join(",")]),u=(0,d.useMemo)(function(){if(!l)return p;var b=M&&M(l);return b?p:(0,i.jsx)(i.Fragment,{})},[]);return I.filter(function(b){return b.type!=="divider"}).length?(0,i.jsx)(c.Z,o()(o()({},C),{},{menu:{items:I,onClick:a},children:u})):(0,i.jsx)(i.Fragment,{})}},75419:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return D}});var f=e(26068),o=e.n(f),P=e(67825),m=e.n(P),c=e(57499),d=e(887),v=e(8984),i=e(81465),_=e(18466),s=e(15574),r=e(75271),l=e(668),g=e(94127),t=e(52676),p=["auth","hidden"],a=["key","label","auth","confirm"],C=["key","label","disabled","auth","confirm"];function D(M){var I=M.size,u=M.isLink,b=M.showCount,L=M.moreIcon,y=M.moreText,h=M.items,O=h===void 0?[]:h,x=M.onClick,B=(0,g.default)()||{},R=B.onAuth,A=(0,r.useRef)(null),T=[];if(O.forEach(function(j){var U=j.auth,k=j.hidden,F=m()(j,p);R&&U&&!R(U)||k||T.push(F)}),!T||O.length===0)return null;var K=function(U){if(x){var k=O.find(function(z){return z.key===U});if(k&&k.confirm){var F;(F=A.current)===null||F===void 0||F.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",icon:(0,t.jsx)(c.Z,{}),centered:!0,content:k.confirm,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:function(){return x==null?void 0:x(U)}});return}x(U)}},W=T.splice(0,b||O.length);return u?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v.Z,{split:(0,t.jsx)(i.Z,{type:"vertical",style:{margin:0}}),children:W==null?void 0:W.map(function(j){var U=j.key,k=j.label,F=j.auth,z=j.confirm,N=m()(j,a);return(0,t.jsx)(_.ZP,o()(o()({style:{padding:0}},N),{},{size:I,type:"link",onClick:function(){return K(U)},children:k}),U)})}),T.length>0&&(0,t.jsx)(s.Z,{menu:{items:T,onClick:function(U){return K(U.key)}},children:(0,t.jsx)(_.ZP,{type:"link",icon:y?null:L||(0,t.jsx)(d.Z,{}),size:"small",children:y})}),O.find(function(j){return!!j.confirm})?(0,t.jsx)(l.ModalConfirm,{modalRef:A}):null]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v.Z,{wrap:!0,children:W==null?void 0:W.map(function(j,U){var k=j.key,F=j.label,z=j.disabled,N=j.auth,S=j.confirm,Z=m()(j,C);return U===W.length-1&&T.length>0?(0,t.jsxs)(v.Z.Compact,{children:[(0,t.jsx)(_.ZP,o()(o()({},Z),{},{size:I,onClick:function(){return K(k)},disabled:z,children:F})),(0,t.jsx)(s.Z,{menu:{items:T,onClick:function(Q){return K(Q.key)}},children:(0,t.jsx)(_.ZP,{icon:y?null:L||(0,t.jsx)(d.Z,{}),children:y})})]},k):(0,t.jsx)(_.ZP,o()(o()({},Z),{},{size:I,disabled:z,onClick:function(){return K(k)},children:F}),k)})}),O.find(function(j){return!!j.confirm})?(0,t.jsx)(l.ModalConfirm,{modalRef:A}):null]})}},668:function(E,n,e){"use strict";e.r(n),e.d(n,{ModalConfirm:function(){return C}});var f=e(26068),o=e.n(f),P=e(67825),m=e.n(P),c=e(48305),d=e.n(c),v=e(57499),i=e(46960),_=e(18466),s=e(19152),r=e(75271),l=e(94127),g=e(32375),t=e(75419),p=e(52676),a=["auth","text","confirm","disabled","inputConfirm","onClick"];function C(M){var I=M.modalRef,u=i.Z.useModal(),b=d()(u,2),L=b[0],y=b[1];return(0,r.useEffect)(function(){I.current=L},[]),(0,p.jsxs)(p.Fragment,{children:[" ",y]})}function D(M){var I=M.auth,u=M.text,b=M.confirm,L=M.disabled,y=M.inputConfirm,h=M.onClick,O=m()(M,a),x=(0,l.default)()||{},B=x.onAuth,R=(0,r.useRef)(null),A=(0,r.useRef)(null),T=(0,p.jsxs)(_.ZP,o()(o()({},O),{},{onClick:function(j){if(h){if(b){var U;(U=R.current)===null||U===void 0||U.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",icon:(0,p.jsx)(v.Z,{}),centered:!0,content:(0,p.jsxs)(p.Fragment,{children:[b,y&&(0,p.jsx)(s.Z,{ref:A,placeholder:"\u8BF7\u8F93\u5165",style:{marginTop:5},onFocus:function(){var F=document.getElementById("_inputConfirmError");F&&(F.innerHTML="")}})]}),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:function(){if(y)return new Promise(function(F,z){var N;if(((N=A.current)===null||N===void 0||(N=N.input)===null||N===void 0?void 0:N.value)===y)h(j),F(!0);else{var S=document.getElementById("_inputConfirmError");if(S)S.innerHTML="\u8F93\u5165\u9A8C\u8BC1\u5931\u8D25\uFF01";else{var Z;(Z=A.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>')}z(!1)}});h(j)}});return}h(j)}},disabled:L,children:[u,O.children]}));if(!I)return(0,p.jsxs)(p.Fragment,{children:[T,b?(0,p.jsx)(C,{modalRef:R}):null]});var K=B&&B(I);return(0,p.jsxs)(p.Fragment,{children:[K?T:(0,p.jsx)(p.Fragment,{}),b?(0,p.jsx)(C,{modalRef:R}):null]})}D.Group=t.default,D.Dropdown=g.default,n.default=D},62376:function(E,n,e){"use strict";e.r(n)},97681:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return u}});var f=e(26068),o=e.n(f),P=e(90228),m=e.n(P),c=e(87999),d=e.n(c),v=e(67825),i=e.n(v),_=e(15558),s=e.n(_),r=e(11048),l=e(11066),g=e(75271),t=e(65173),p=e(52676),a=["request","cache","fieldNames","defaultParams"];function C(b){return Array.isArray(b)?b:[b]}function D(){for(var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=arguments.length>1?arguments[1]:void 0,y=arguments.length>2?arguments[2]:void 0,h=arguments.length>3?arguments[3]:void 0,O=b,x=s()(L),B=s()(y),R=s()(h);x.length>0||B.length>0;){if(Array.isArray(O)){O.forEach(function(T){T.label=(0,t.getDataByNamePath)(T,x),T.value=(0,t.getDataByNamePath)(T,B),T.children=D((0,t.getDataByNamePath)(T,R),x,B,R)});break}x.shift(),R.shift();var A=B.shift();A&&(O=O[A])}return O}function M(b){var L=b.request,y=b.cache,h=b.fieldNames,O=b.defaultParams,x=O===void 0?{}:O,B=i()(b,a),R=s()(C((h==null?void 0:h.label)||["data","label"])),A=s()(C((h==null?void 0:h.value)||["data","value"])),T=s()(C((h==null?void 0:h.children)||["data","children"])),K=(0,r.Z)(function(){var F=d()(m()().mark(function z(N){var S;return m()().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(L){$.next=2;break}return $.abrupt("return",[]);case 2:return $.next=4,L(N);case 4:return S=$.sent,$.abrupt("return",D(S,R,A,T));case 6:case"end":return $.stop()}},z)}));return function(z){return F.apply(this,arguments)}}(),o()({manual:!0},y||{})),W=K.loading,j=K.data,U=j===void 0?[]:j,k=K.run;return(0,g.useEffect)(function(){L&&k(x)},[JSON.stringify(x)]),(0,p.jsx)(l.Z,o()({options:U,loading:W,style:{width:"100%"}},B))}var I=function(){return(0,p.jsx)(p.Fragment,{})};I.Api=M;var u=I},16652:function(E,n,e){"use strict";e.r(n),e.d(n,{DataEvent:function(){return f.DataEvent}});var f=e(73799)},35030:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return D}});var f=e(26068),o=e.n(f),P=e(67825),m=e.n(P),c=e(48305),d=e.n(c),v=e(10077),i=e(60686),_=e(27947),s=e(81465),r=e(6052),l=e(91620),g=e(52676),t=["mode","children","onChange"];function p(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v.presetPalettes;return Object.entries(M).map(function(I){var u=d()(I,2),b=u[0],L=u[1];return{label:b,colors:L,key:b}})}var a=p({blue:v.blue,red:v.red,green:v.green,cyan:v.cyan,orange:v.orange,magenta:v.magenta,gray:v.gray});a.forEach(function(M){M.colors=M.colors.slice(0,6)});function C(M){var I=M.mode,u=I===void 0?"single":I,b=M.children,L=M.onChange,y=m()(M,t),h=function(){var R=y.value;if(typeof R=="string")return R;if(Array.isArray(R))return"linear-gradient(".concat(R.map(function(A){return"".concat(A.color," ").concat(A.percent,"%")}).join(","),")")},O=function(R,A){var T=A.components,K=T.Picker,W=T.Presets;return(0,g.jsxs)(i.Z,{justify:"space-between",wrap:!1,style:{width:420},children:[(0,g.jsx)(_.Z,{span:12,children:(0,g.jsx)(W,{})}),(0,g.jsx)(s.Z,{type:"vertical",style:{height:"auto"}}),(0,g.jsxs)(_.Z,{flex:"auto",children:[(0,g.jsx)(K,{}),(0,g.jsx)("div",{style:{marginTop:10,color:"rgba(0,0,0,0.65)"},children:h()})]})]})},x=function(){if(!y.value)return(0,g.jsx)(r.default,{classNames:{popup:{root:"ccs-color-picker-select"}},placeholder:"\u8BF7\u9009\u62E9",popupRender:function(){return(0,g.jsx)(g.Fragment,{})}})};return(0,g.jsx)(l.Z,o()(o()({className:"ccs-color-picker",allowClear:!0,showText:!0,mode:u,onChange:function(R,A){if(L){var T=R.getColors();if(T.length>1){var K=T.map(function(W){return{color:W.color.toRgbString(),percent:W.percent}});L(K,A);return}if(T.length===1){L(R.toCssString(),A);return}}},onClear:function(){L&&L(void 0,"")},presets:a,panelRender:O},y),{},{children:b||x()}))}var D=C},88686:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return O},onDefaultFormat:function(){return y}});var f=e(26068),o=e.n(f),P=e(67825),m=e.n(P),c=e(48305),d=e.n(c),v=e(94129),i=e(8890),_=e(15771),s=e(46960),r=e(16929),l=e(96586),g=e(8033),t=e(34336),p=e(75271),a=e(56973),C=e(31939),D=e(35119),M=e(73801),I=e(52676),u=["theme","prefixCls"],b=["token","components"];function L(){var x=i.ZP.useMessage(),B=d()(x,2),R=B[0],A=B[1],T=_.ZP.useNotification(),K=d()(T,2),W=K[0],j=K[1],U=s.Z.useModal(),k=d()(U,2),F=k[0],z=k[1];return(0,p.useState)(function(){D.default.setConfig(R,W,F)}),(0,I.jsxs)(I.Fragment,{children:[A,j,z]})}function y(x){return x}function h(x){var B=x.children,R=x.theme,A=R===void 0?"light":R,T=x.isCompact,K=x.watermark,W=x.antConfig,j=x.fieldNames,U=p.useRef(null),k=A==="dark"?v.$_:v.uH,F=W||{},z=F.theme,N=F.prefixCls,S=N===void 0?"ant":N,Z=m()(F,u),$=z||{},Q=$.token,H=$.components,G=m()($,b),ne=function(){var X=A==="dark"?[r.Z.darkAlgorithm]:[r.Z.defaultAlgorithm];return T&&X.push(r.Z.compactAlgorithm),X},V=o()(o()({},k.token),Q);return A==="dark"&&(V.colorBgContainer="rgb(36, 37, 37)"),(0,I.jsx)(l.default,o()(o()({locale:t.default,prefixCls:S},Z),{},{theme:o()(o()(o()({},k),G),{},{token:V,components:o()(o()({},k.components),H),algorithm:ne()}),children:(0,I.jsxs)(a.AppConfigContext.Provider,{value:{theme:A,dialogHolderRef:U,fieldNames:j},children:[B,(0,I.jsx)(L,{}),(0,I.jsx)(C.DialogElementsHolder,{ref:U},"modal-drawer-holder"),(K==null?void 0:K.content)&&(0,I.jsx)(M.default,{content:K.content,fontColor:"rgba(0,0,0,.15)",zIndex:105})]})}))}function O(x){return(0,I.jsx)(g.Z,{style:{height:"100%"},children:(0,I.jsx)(h,o()({},x))})}},43449:function(E,n,e){"use strict";e.r(n)},56973:function(E,n,e){"use strict";e.r(n),e.d(n,{AppConfigContext:function(){return c},DrawerAndModalContext:function(){return o},PageContext:function(){return P},TabsContext:function(){return m}});var f=e(75271),o=(0,f.createContext)({}),P=(0,f.createContext)({}),m=f.createContext({}),c=f.createContext({})},2534:function(E,n,e){"use strict";e.r(n)},86247:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(67825),m=e.n(P),c=e(92167),d=e(17888),v=e.n(d),i=e(52676),_=["value","onChange"],s=["value","onChange"],r=[{label:"\u4ECA\u5929",value:[v()().startOf("day"),v()().endOf("day")]},{label:"\u6700\u8FD13\u5929",value:[v()().add(-3,"d"),v()()]},{label:"\u6700\u8FD17\u5929",value:[v()().add(-7,"d"),v()()]},{label:"\u6700\u8FD114\u5929",value:[v()().add(-14,"d"),v()()]},{label:"\u6700\u8FD130\u5929",value:[v()().add(-30,"d"),v()()]},{label:"\u6700\u8FD190\u5929",value:[v()().add(-90,"d"),v()()]}];function l(t){var p=t.value,a=t.onChange,C=m()(t,_),D=function(u,b){a&&a(b||void 0)},M=typeof p=="string"?v()(p):p;return(0,i.jsx)(c.default,o()({value:M,onChange:D},C))}function g(t){var p=t.value,a=t.onChange,C=m()(t,s),D=function(){if(Array.isArray(p)){var u=p[0]?v()(p[0]):void 0,b=p[1]?v()(p[1]):void 0;return[u,b]}return null},M=function(u,b){a&&a(b||void 0)};return(0,i.jsx)(c.default.RangePicker,o()({presets:C.picker==="date"||!C.picker?r:void 0,value:D(),onChange:M},C))}l.RangePicker=g,n.default=l},94350:function(E,n,e){"use strict";e.r(n);var f=e(90228),o=e.n(f),P=e(87999),m=e.n(P),c=e(67825),d=e.n(c),v=e(26068),i=e.n(v),_=e(48305),s=e.n(_),r=e(9228),l=e(82187),g=e.n(l),t=e(75271),p=e(85289),a=e(22818),C=e(45484),D=e(52653),M=e(24324),I=e(52676),u=["auth","form","content","extraBtn","className","rootStyle","getContainer","requestFieldNames","preventRequestHandle","contextParam","request","onClose","onOk"],b=function(y){var h=y.afterClose,O=y.config,x=y.dialogRef,B=(0,t.useState)(function(){return O.open===void 0?i()(i()({},O),{},{open:!0}):O}),R=s()(B,2),A=R[0],T=R[1],K=(0,t.useRef)(null),W=(0,t.useRef)(null),j=(0,t.useRef)(null);(0,p.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 U=function(){h()},k=A.auth,F=A.form,z=A.content,N=A.extraBtn,S=A.className,Z=A.rootStyle,$=A.getContainer,Q=A.requestFieldNames,H=A.preventRequestHandle,G=A.contextParam,ne=A.request,V=A.onClose,Y=A.onOk,X=d()(A,u),ue=function(){var re=m()(o()().mark(function ie(){return o()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:T(function(me){return i()(i()({},me),{},{open:!1})}),V&&V();case 2:case"end":return le.stop()}},ie)}));return function(){return re.apply(this,arguments)}}();(0,t.useImperativeHandle)(x,function(){return{destroy:ue,update:function(ie){T(function(oe){return i()(i()({},oe),ie)})}}});var ae=function(){var ie=document.body.querySelectorAll('[id*="_tab_content_"][data-display="true"]');if(ie.length>0)return ie[0]},J="getContainer"in A,q=A.styles||{};q.mask=i()({background:"rgba(0, 0, 0, 0.1)"},q.mask);var te=(0,t.useMemo)(function(){return(0,I.jsx)(a.DialogButtonHolder,{auth:k,request:ne,onClose:ue,onOk:Y,formRef:j,extraBtn:N,formInitialValues:F==null?void 0:F.initialValues,buttonRef:K,preventRequestHandle:H,requestFieldNames:Q})},[]);return(0,I.jsx)(r.Z,i()(i()({afterOpenChange:function(ie){!ie&&O.destroyOnClose!==!1&&O.destroyOnHidden!==!1&&U()},extra:te,footer:(0,I.jsx)(D.FooterButtonHolder,{buttonRef:W})},X),{},{onClose:ue,className:g()("ccs-dialog-drawer",S),styles:q,rootStyle:i()(i()({},J?{}:{position:"absolute"}),Z),getContainer:J?$:ae,children:(0,I.jsx)(C.DialogContentContext.Provider,{value:{formRef:j,buttonRef:K,contextParam:G,buttonType:"drawer",onOkCallBack:Y,closeDialog:ue,request:ne,drawerFooterRef:W,formInitialValues:(F==null?void 0:F.initialValues)||{}},children:F?(0,I.jsx)(M.default,{formRef:j,formProps:F,children:z}):z})}))};n.default=b},93261:function(E,n,e){"use strict";e.r(n);var f=e(90228),o=e.n(f),P=e(87999),m=e.n(P),c=e(67825),d=e.n(c),v=e(48305),i=e.n(v),_=e(26068),s=e.n(_),r=e(46960),l=e(82187),g=e.n(l),t=e(75271),p=e(79176),a=e.n(p),C=e(22818),D=e(45484),M=e(24324),I=e(52676),u=["auth","form","title","content","extraBtn","className","footer","contextParam","preventRequestHandle","requestFieldNames","onOk","request","onClose"],b=function(h){var O=h.modal,x=h.dragState,B=h.onDragState,R=(0,t.useRef)(null),A=function(K,W){var j,U=window.document.documentElement,k=U.clientWidth,F=U.clientHeight,z=(j=R.current)===null||j===void 0?void 0:j.getBoundingClientRect();z&&B(function(N){return s()(s()({},N),{},{bounds:{left:-z.left+W.x,right:k-(z.right-W.x),top:-z.top+W.y,bottom:F-(z.bottom-W.y)}})})};return(0,I.jsx)(a(),{nodeRef:R,disabled:x.disabled,bounds:x.bounds,onStart:A,children:(0,I.jsx)("div",{ref:R,children:O})})},L=function(h){var O=h.dialogRef,x=h.afterClose,B=h.config,R=(0,t.useState)(function(){return B.open===void 0?s()(s()({},B),{},{open:!0}):B}),A=i()(R,2),T=A[0],K=A[1],W=(0,t.useState)({disabled:!0,bounds:{left:0,top:0,bottom:0,right:0}}),j=i()(W,2),U=j[0],k=j[1],F=(0,t.useRef)(null),z=(0,t.useRef)(null),N=function(){var oe;B.destroyOnClose!==!1&&B.destroyOnHidden!==!1&&x(),(oe=T.afterClose)===null||oe===void 0||oe.call(T)},S=T.auth,Z=T.form,$=T.title,Q=T.content,H=T.extraBtn,G=T.className,ne=T.footer,V=T.contextParam,Y=T.preventRequestHandle,X=T.requestFieldNames,ue=T.onOk,ae=T.request,J=T.onClose,q=d()(T,u),te=function(){var ie=m()(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})}),J&&J();case 2:case"end":return me.stop()}},oe)}));return function(){return ie.apply(this,arguments)}}();(0,t.useImperativeHandle)(O,function(){return{destroy:te,update:function(oe){K(function(le){return s()(s()({},le),oe)})}}});var re=(0,t.useMemo)(function(){return(0,I.jsx)(C.DialogButtonHolder,{auth:S,request:ae,onClose:te,onOk:ue,formRef:z,extraBtn:H,formInitialValues:Z==null?void 0:Z.initialValues,buttonRef:F,preventRequestHandle:Y,requestFieldNames:X})},[]);return(0,I.jsx)(r.Z,s()(s()({onCancel:te,afterClose:N},q),{},{className:g()("ccs-dialog-modal",G),footer:ne===null?null:re,title:(0,I.jsx)("div",{style:{width:"100%",cursor:"move"},onMouseOver:function(){U.disabled&&k(function(oe){return s()(s()({},oe),{},{disabled:!1})})},onMouseOut:function(){k(function(oe){return s()(s()({},oe),{},{disabled:!0})})},children:$}),modalRender:function(oe){return(0,I.jsx)(b,{modal:oe,dragState:U,onDragState:k})},children:(0,I.jsx)(D.DialogContentContext.Provider,{value:{formRef:z,buttonRef:F,contextParam:V,buttonType:"modal",request:ae,onOkCallBack:ue,closeDialog:te,formInitialValues:(Z==null?void 0:Z.initialValues)||{}},children:Z?(0,I.jsx)(M.default,{formRef:z,formProps:Z,children:Q}):Q})}))};n.default=L},73541:function(E,n,e){"use strict";e.r(n)},22818:function(E,n,e){"use strict";e.r(n),e.d(n,{DialogButtonHolder:function(){return I},default:function(){return u}});var f=e(90228),o=e.n(f),P=e(26068),m=e.n(P),c=e(87999),d=e.n(c),v=e(31759),i=e.n(v),_=e(48305),s=e.n(_),r=e(68144),l=e(18466),g=e(80729),t=e(75271),p=e(50712),a=e(668),C=e(81475),D=e(65173),M=e(52676),I=function(L){var y=L.auth,h=L.extraBtn,O=L.formRef,x=L.request,B=L.onOk,R=L.onClose,A=L.buttonRef,T=L.requestFieldNames,K=L.formInitialValues,W=L.preventRequestHandle,j=(0,t.useState)(),U=s()(j,2),k=U[0],F=U[1],z=(0,t.useState)(!1),N=s()(z,2),S=N[0],Z=N[1],$=(0,C.useBaseFields)();(0,t.useImperativeHandle)(A,function(){return{onSetButtons:function(ne){F(ne)}}});var Q=function(ne,V){if(B){var Y=B(ne,V);if(typeof Y=="boolean"&&Y===!1)return;if(i()(Y)==="object"&&Y.then){Z(!0),Y.then(function(X){Z(!1),X!==!1&&R()});return}R()}else R()},H=function(){var G=d()(o()().mark(function ne(){var V,Y,X,ue;return o()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(Y={},X=(V=O.current)===null||V===void 0?void 0:V.formInstance,!X){J.next=7;break}return J.next=5,X.validateFields();case 5:ue=J.sent,Y=m()(m()({},K),ue);case 7:if(!x){J.next=11;break}return Z(!0),x(Y).then(function(q){if(Z(!1),W){Q(Y,q);return}var te=m()(m()({},$),T),re=(0,D.getDataByNamePath)(q,te.success),ie=(0,D.getDataByNamePath)(q,te.msg);re===te.successTag&&Q(Y,q),p.default.easyMessage({success:re===te.successTag,msg:ie})}).catch(function(q){Z(!1),console.log("err",q)}),J.abrupt("return");case 11:Q(Y);case 12:case"end":return J.stop()}},ne)}));return function(){return G.apply(this,arguments)}}();return k?(0,M.jsxs)(M.Fragment,{children:[h,k]}):(0,M.jsxs)(M.Fragment,{children:[h,(0,M.jsx)(l.ZP,{onClick:R,children:"\u53D6\u6D88"}),(0,M.jsx)(a.default,{auth:y,type:"primary",loading:S,onClick:H,children:"\u786E\u5B9A"})]})};function u(b){var L=b.children,y=b.hideCancel,h=b.cancelText,O=b.onOk,x=b.okBtnProps,B=p.default.useInstance(),R=B.buttonRef,A=B.buttonType,T=B.formInitialValues,K=B.closeDialog,W=B.onOkCallBack,j=B.request,U=g.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 z=d()(o()().mark(function N(){var S,Z,$;return o()().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:if(S={},!U){H.next=6;break}return H.next=4,U.validateFields();case 4:Z=H.sent,S=m()(m()({},T),Z);case 6:if(O){H.next=10;break}return K(),W==null||W(S),H.abrupt("return");case 10:if($=O(S),$!==!1){H.next=13;break}return H.abrupt("return");case 13:if(!(i()($)==="object"&&$.then)){H.next=16;break}return $.then(function(G){G!==!1&&(K(),W==null||W(G))}),H.abrupt("return");case 16:K(),W==null||W($);case 18:case"end":return H.stop()}},N)}));return function(){return z.apply(this,arguments)}}(),F=r.default.mergeProps({type:"primary",text:"\u786E\u5B9A"},x);return(0,t.useEffect)(function(){var z,N=(0,M.jsxs)(M.Fragment,{children:[!y&&(0,M.jsx)(l.ZP,{onClick:K,children:h||"\u53D6\u6D88"}),L,(x||O)&&(0,M.jsx)(a.default,m()(m()({},F),{},{onClick:k}))]});A==="modal"&&(N=(0,M.jsx)(M.Fragment,{children:N})),(z=R.current)===null||z===void 0||z.onSetButtons(N)}),(0,M.jsx)(M.Fragment,{})}},45484:function(E,n,e){"use strict";e.r(n),e.d(n,{DialogContentContext:function(){return o},useDialogContext:function(){return P}});var f=e(75271),o=f.createContext({}),P=function(){var c=(0,f.useContext)(o);if(c===void 0)throw new Error("DialogContentContext not found");return c}},97764:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return v}});var f=e(50712),o=e(8984),P=e(18466),m=e(15574),c=e(52676),d=[{key:"bottom",label:"bottom"},{key:"left",label:"left"},{key:"top",label:"top"}];function v(){var i=f.default.useDialog(),_=i.openDrawer,s=i.openModal,r=function(){s({title:"Modal",content:(0,c.jsx)("div",{children:"CcsModal content..."}),footer:null})},l=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"right";_({title:"Drawer",width:300,content:(0,c.jsx)("div",{children:"CcsDrawer content..."}),placement:a})},g=function(){_({title:"Drawer",content:(0,c.jsx)("div",{children:"CcsDrawer content..."}),width:"100%",height:"100%",getContainer:void 0})},t=function(a){l(a.key)};return(0,c.jsxs)(o.Z,{style:{padding:"0 16px"},children:[(0,c.jsx)(P.ZP,{onClick:r,children:"modal"}),(0,c.jsx)(m.Z.Button,{menu:{items:d,onClick:t},onClick:function(){return l()},children:"drawer"}),(0,c.jsx)(P.ZP,{onClick:g,children:"\u5168\u5C4Fdrawer"})]})}},38525:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return v}});var f=e(50712),o=e(6052),P=e(8984),m=e(18466),c=e(75271),d=e(52676);function v(){var i=f.default.useDialog(),_=i.openModal,s=i.openDrawer,r=(0,c.useRef)(),l=(0,c.useRef)();return(0,c.useEffect)(function(){r.current=_({title:"Modal",open:!1,destroyOnHidden:!1,width:300,content:(0,d.jsx)(o.default,{placeholder:"\u8BF7\u9009\u62E9",options:[{value:"jack",label:"Jack"},{value:"lucy",label:"Lucy"}]})}),l.current=s({title:"Modal",open:!1,destroyOnHidden:!1,width:300,content:(0,d.jsx)(o.default,{placeholder:"\u8BF7\u9009\u62E9",options:[{value:"jack",label:"Jack"},{value:"lucy",label:"Lucy"}]})})},[]),(0,d.jsxs)(P.Z,{style:{marginLeft:16},children:[(0,d.jsx)(m.ZP,{onClick:function(){var t;(t=r.current)===null||t===void 0||t.update({open:!0})},children:"modal"}),(0,d.jsx)(m.ZP,{onClick:function(){var t;(t=l.current)===null||t===void 0||t.update({open:!0})},children:"drawer"})]})}},80429:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return M}});var f=e(90228),o=e.n(f),P=e(87999),m=e.n(P),c=e(36075),d=e.n(c),v=e(50712),i=e(11048),_=e(80729),s=e(18466),r=e(19152),l=e(8984),g=e(99930),t=e(52676),p=_.Z.Item,a=function(u){return d()(u),new Promise(function(b){setTimeout(function(){b({success:!0,msg:"\u64CD\u4F5C\u5931\u8D25"})},500)})};function C(){var I=v.default.useInstance(),u=I.closeDialog,b=(0,i.Z)(a,{manual:!0}),L=b.runAsync,y=b.loading,h=(0,g.default)(),O=h.getFieldsValue,x=function(){var B=m()(o()().mark(function R(A){var T;return o()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,L(A);case 2:return T=W.sent,v.default.easyMessage({success:T.success,msg:T.msg}),W.abrupt("return",T);case 5:case"end":return W.stop()}},R)}));return function(A){return B.apply(this,arguments)}}();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(v.default.Buttons,{onOk:x,okBtnProps:{loading:y,danger:!0,confirm:"\u786E\u5B9A\u4FDD\u5B58\uFF1F",text:"\u4FDD\u5B58"},children:[(0,t.jsx)(s.ZP,{onClick:function(){console.log("\u8868\u5355\u503C:",O())},children:"\u83B7\u53D6\u8868\u5355\u503C"}),(0,t.jsx)(s.ZP,{danger:!0,type:"dashed",onClick:u,children:"\u8FD4\u56DE"})]}),(0,t.jsx)(p,{label:"fieldA",name:"fieldA",children:(0,t.jsx)(r.Z,{})}),(0,t.jsx)(p,{label:"fieldB",name:"fieldB",children:(0,t.jsx)(r.Z,{})})]})}function D(){var I=v.default.useInstance(),u=I.formRef,b=I.closeDialog;function L(){return y.apply(this,arguments)}function y(){return y=m()(o()().mark(function h(){var O,x;return o()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,u==null||(O=u.current)===null||O===void 0||(O=O.formInstance)===null||O===void 0?void 0:O.validateFields();case 2:x=R.sent,console.log("values",x),b();case 5:case"end":return R.stop()}},h)})),y.apply(this,arguments)}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p,{label:"fieldA",name:"fieldA",children:(0,t.jsx)(r.Z,{})}),(0,t.jsx)(p,{label:"fieldB",name:"fieldB",children:(0,t.jsx)(r.Z,{})}),(0,t.jsx)(v.default.DrawerFooter,{children:(0,t.jsxs)(l.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 b()},children:"\u53D6\u6D88"}),(0,t.jsx)(s.ZP,{onClick:L,type:"primary",children:"\u786E\u5B9A"})]})})]})}function M(){var I=v.default.useDialog(),u=I.openModal,b=I.openDrawer,L=function(){u({title:"Modal",form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16},style:{padding:10}},width:500,content:(0,t.jsx)(C,{}),styles:{body:{paddingBottom:0}},onOk:function(B){console.log("ok...",B)}})},y=function(){b({title:"Drawer",form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16}},width:500,content:(0,t.jsx)(C,{})})},h=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)(D,{})})};return(0,t.jsxs)(l.Z,{style:{padding:"0 16px"},children:[(0,t.jsx)(s.ZP,{onClick:L,children:"Modal custom form"}),(0,t.jsx)(s.ZP,{onClick:y,children:"Drawer custom form"}),(0,t.jsx)(s.ZP,{onClick:h,children:"Drawer \u591A\u6309\u94AE"})]})}},52653:function(E,n,e){"use strict";e.r(n),e.d(n,{FooterButtonHolder:function(){return d},default:function(){return v}});var f=e(48305),o=e.n(f),P=e(75271),m=e(50712),c=e(52676),d=function(_){var s=_.buttonRef,r=(0,P.useState)(),l=o()(r,2),g=l[0],t=l[1];return(0,P.useImperativeHandle)(s,function(){return{onSetButtons:function(a){t(a)}}}),(0,c.jsx)(c.Fragment,{children:g})};function v(i){var _=i.children,s=m.default.useInstance(),r=s.drawerFooterRef;return(0,P.useEffect)(function(){var l,g=(0,c.jsx)(c.Fragment,{children:_});r==null||(l=r.current)===null||l===void 0||l.onSetButtons(g)}),null}},24324:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(48305),m=e.n(P),c=e(80729),d=e(75271),v=e(52676),i=function(s){var r=s.formRef,l=s.children,g=s.formProps,t=c.Z.useForm(),p=m()(t,1),a=p[0];(0,d.useImperativeHandle)(r,function(){return{formInstance:a}});var C=g.layout==="horizontal"||!g.layout,D=C?{labelCol:{span:7},wrapperCol:{span:16}}:void 0;return(0,v.jsx)(c.Z,o()(o()(o()({form:a,preserve:!1},D),g),{},{children:l}))};n.default=i},31939:function(E,n,e){"use strict";e.r(n),e.d(n,{DialogElementsHolder:function(){return a},default:function(){return I}});var f=e(15558),o=e.n(f),P=e(48305),m=e.n(P),c=e(68144),d=e(86763),v=e.n(d),i=e(75271),_=e(38751),s=e(94127),r=e(81475),l=e(94350),g=e(93261),t=e(3833),p=e(52676),a=i.memo(i.forwardRef(function(u,b){var L=(0,t.default)(),y=m()(L,2),h=y[0],O=y[1];return i.useImperativeHandle(b,function(){return{patchElement:O}},[]),(0,p.jsx)(p.Fragment,{children:h})})),C=0,D=0,M=[];function I(){var u=i.useRef(null),b=i.useState([]),L=m()(b,2),y=L[0],h=L[1],O=(0,r.default)()||{},x=(0,s.default)(),B=x.dialogHolderRef||O.dialogHolderRef;i.useEffect(function(){if(y.length){var K=o()(y);K.forEach(function(W){W()}),h([])}},[y]);var R=i.useCallback(function(K){C+=1;var W=i.createRef(),j,U=(0,p.jsx)(g.default,{config:K,afterClose:function(){var Z;(Z=j)===null||Z===void 0||Z()},dialogRef:W},"modal-".concat(C)),k=u.current?u:B;if(k!=null&&k.current)j=k.current.patchElement(U);else{c.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 F=document.createElement("div");document.body.append(F);var z=(0,_.createRoot)(F);z.render((0,p.jsx)(p.Fragment,{children:U})),j=function(){setTimeout(function(){z.unmount()},500)}}j&&M.push(j);var N={destroy:function(){function Z(){var $;($=W.current)===null||$===void 0||$.destroy()}W.current?Z():h(function($){return[].concat(o()($),[Z])})},update:function(Z){function $(){var Q;(Q=W.current)===null||Q===void 0||Q.update(Z)}W.current?$():h(function(Q){return[].concat(o()(Q),[$])})}};return N},[]),A=i.useCallback(function(K){D+=1;var W=i.createRef(),j,U=(0,p.jsx)(l.default,{config:K,afterClose:function(){var $;($=j)===null||$===void 0||$()},dialogRef:W},"drawer-".concat(D)),k=u.current?u:B;if(k!=null&&k.current){var F;j=(F=k.current)===null||F===void 0?void 0:F.patchElement(U)}else{c.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 z=document.createElement("div");document.body.append(z);var N=(0,_.createRoot)(z);N.render((0,p.jsx)(p.Fragment,{children:U})),j=function(){setTimeout(function(){N.unmount()},500)}}j&&M.push(j);var S={destroy:function(){function $(){var Q;(Q=W.current)===null||Q===void 0||Q.destroy()}W.current?$():h(function(Q){return[].concat(o()(Q),[$])})},update:function($){function Q(){var H;(H=W.current)===null||H===void 0||H.update($)}W.current?Q():h(function(H){return[].concat(o()(H),[Q])})}};return S},[]),T=i.useMemo(function(){return{openModal:v()(function(K){return R(K)},500,{leading:!0,trailing:!1}),openDrawer:v()(function(K){return A(K)},500,{leading:!0,trailing:!1})}},[]);return{openDrawer:T.openDrawer,openModal:T.openModal,contextHolder:(0,p.jsx)(a,{ref:u},"modal-holder")}}},50712:function(E,n,e){"use strict";e.r(n);var f=e(35119),o=e(22818),P=e(45484),m=e(52653),c=e(31939),d=f.default;d.Buttons=o.default,d.useDialog=c.default,d.useInstance=P.useDialogContext,d.DrawerFooter=m.default,n.default=d},3833:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return d}});var f=e(15558),o=e.n(f),P=e(48305),m=e.n(P),c=e(75271);function d(){var v=c.useState([]),i=m()(v,2),_=i[0],s=i[1],r=c.useCallback(function(l){return s(function(g){return[].concat(o()(g),[l])}),function(){s(function(g){return g.filter(function(t){return t!==l})})}},[]);return[_,r]}},4683:function(E,n,e){"use strict";e.r(n)},29175:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return g}});var f=e(26068),o=e.n(f),P=e(67825),m=e.n(P),c=e(93325),d=e(82187),v=e.n(d),i=e(81475),_=e(50796),s=e(83857),r=e(52676),l=["placeholder","height","variant","className","extensions","disabled","styles","size","theme"];function g(t){var p=t.placeholder,a=p===void 0?"\u8BF7\u8F93\u5165":p,C=t.height,D=C===void 0?150:C,M=t.variant,I=M===void 0?"outlined":M,u=t.className,b=t.extensions,L=b===void 0?[]:b,y=t.disabled,h=t.styles,O=t.size,x=O===void 0?"middle":O,B=t.theme,R=m()(t,l),A=(0,i.default)(),T=B||A.theme||"light",K=(0,_.default)({height:D,styles:h,variant:I,size:x}),W=K.styles.root,j=K.onActived;return(0,r.jsx)(c.default,o()(o()({onFocus:function(){return j(!0)},onBlur:function(){return j(!1)},style:W,readOnly:y,extensions:L,placeholder:a,theme:T},R),{},{className:v()("ccs-editor",u,{"ccs-editor-fill":I==="filled"&&T==="light"})}))}},81777:function(E,n,e){"use strict";e.r(n);var f=e(36075),o=e.n(f),P=e(51561),m=e(68240),c=e(80932),d=e(24605),v=e(39445),i=e(53056),_=e(52676);function s(r){return o()(r),(0,_.jsx)(_.Fragment,{})}s.Json=m.default,s.Js=P.default,s.Sql=d.default,s.Yaml=i.default,s.Xml=v.default,s.Rich=c.default,n.default=s},51561:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return d}});var f=e(26068),o=e.n(f),P=e(48496),m=e(29175),c=e(52676);function d(v){return(0,c.jsx)(m.default,o()(o()({},v),{},{extensions:[(0,P.javascript)({jsx:!0})]}))}},68240:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return _}});var f=e(26068),o=e.n(f),P=e(37441),m=e(8435),c=e(47107),d=e(29175),v=e(52676),i=(0,c.linter)(function(s){var r=[];return(0,m.syntaxTree)(s.state).cursor().iterate(function(l){l.name==="\u26A0"&&r.push({from:l.from,to:l.to,severity:"error",message:"JSON\u9519\u8BEF"})}),r});function _(s){return(0,v.jsx)(d.default,o()(o()({},s),{},{extensions:[(0,P.json)(),i]}))}},14635:function(E,n,e){"use strict";e.r(n),e.d(n,{EditorRichContext:function(){return C},default:function(){return D}});var f=e(26068),o=e.n(f),P=e(81475),m=e(50796),c=e(27741),d=e(13343),v=e(85600),i=e(7214),_=e(69157),s=e(69838),r=e(54249),l=e(75271),g=e(92523),t=e(86638),p=e(56062),a=e(52676),C=l.createContext({});function D(M){var I=M.disabled,u=M.height,b=u===void 0?150:u,L=M.styles,y=M.variant,h=y===void 0?"outlined":y,O=M.placeholder,x=O===void 0?"\u8BF7\u8F93\u5165":O,B=M.size,R=B===void 0?"middle":B,A=M.imageUpload,T=M.plugins,K=M.editorConfig,W=M.onChange,j=(0,P.default)(),U=j.theme||"light",k=(0,m.default)({height:b,styles:L,variant:h,size:R,theme:U}),F=k.styles,z=F.root,N=F.inner,S=F.toolbarStyles,Z=F.placeholderStyles,$=F.background,Q=k.onActived;return(0,a.jsx)(C.Provider,{value:{imageUpload:A},children:(0,a.jsx)(c.LexicalComposer,{initialConfig:o()(o()({},K),{},{editable:!I,editorState:null}),children:(0,a.jsxs)("div",{className:"css-editor-rich",style:o()({background:$},z),children:[(0,a.jsx)(p.default,{disabled:I,style:S}),(0,a.jsxs)("div",{className:"editor-inner",style:N,children:[(0,a.jsx)(r.RichTextPlugin,{contentEditable:(0,a.jsx)(d.ContentEditable,{className:"editor-input","aria-placeholder":x,placeholder:(0,a.jsx)("div",{className:"editor-placeholder",style:Z,children:x}),onFocus:function(){return Q(!0)},onBlur:function(){return Q(!1)}}),ErrorBoundary:v.LexicalErrorBoundary}),(0,a.jsx)(s.OnChangePlugin,{onChange:W}),(0,a.jsx)(g.default,{}),(0,a.jsx)(i.HistoryPlugin,{}),(0,a.jsx)(_.LinkPlugin,{}),T]})]})})})}},24181:function(E,n,e){"use strict";e.r(n),e.d(n,{parseAllowedColor:function(){return m},parseAllowedFontSize:function(){return P}});var f=8,o=72,P=function(d){var v=d.match(/^(\d+(?:\.\d+)?)px$/);if(v){var i=Number(v[1]);if(i>=f&&i<=o)return d}return""};function m(c){return/^rgb\(\d+, \d+, \d+\)$/.test(c)?c:""}},67764:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return s}});var f=e(48305),o=e.n(f),P=e(15409),m=e(89633),c=e(16929),d=e(19152),v=e(18466),i=e(75271),_=e(52676);function s(r){var l=r.onClose,g=r.onOk,t=r.code,p=(0,i.useState)(t),a=o()(p,2),C=a[0],D=a[1],M=c.Z.useToken(),I=M.token;return(0,_.jsx)("div",{className:"css-editor-code",style:{background:I.colorBgContainer},children:(0,_.jsxs)("div",{className:"css-editor-code-content",children:[(0,_.jsx)(d.Z.TextArea,{style:{height:"100%"},variant:"filled",value:C,onChange:function(b){return D(b.target.value)}}),(0,_.jsxs)("div",{className:"css-editor-code-btn",children:[(0,_.jsx)(v.ZP,{onClick:l,icon:(0,_.jsx)(P.Z,{}),size:"small",children:"\u8FD4\u56DE"}),(0,_.jsx)(v.ZP,{style:{marginLeft:10},icon:(0,_.jsx)(m.Z,{}),onClick:function(){return g(C)},size:"small",children:"\u4FDD\u5B58"})]})]})})}},56062:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return Q}});var f=e(48305),o=e.n(f),P=e(2593),m=e(65351),c=e(52608),d=e(22668),v=e(82348),i=e(12335),_=e(37101),s=e(76371),r=e(91319),l=e(37535),g=e(32791),t=e(86346),p=e(23455),a=e(14875),C=e(24799),D=e(48666),M=e(63552),I=e(1775),u=e(34073),b=e(83346),L=e(20509),y=e(80729),h=e(46960),O=e(19152),x=e(54999),B=e(57439),R=e(18466),A=e(81465),T=e(6052),K=e(71794),W=e(75271),j=e(14635),U=e(32097),k=e(35030),F=e(85289),z=e(67764),N=e(6145),S=e(52676);function Z(H){var G=H.onCancel,ne=H.onOk,V=y.Z.useForm(),Y=o()(V,1),X=Y[0];function ue(){X.validateFields().then(function(ae){ne(ae),G()})}return(0,S.jsx)(S.Fragment,{children:(0,S.jsx)(h.Z,{open:!0,destroyOnHidden:!0,onCancel:G,onOk:ue,children:(0,S.jsxs)(y.Z,{form:X,initialValues:{url:"http://",target:"_self"},layout:"horizontal",labelCol:{span:6},wrapperCol:{span:15},children:[(0,S.jsx)(y.Z.Item,{label:"url",name:"url",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5"}],children:(0,S.jsx)(O.Z,{})}),(0,S.jsx)(y.Z.Item,{label:"\u8BF4\u660E",name:"title",children:(0,S.jsx)(O.Z,{})}),(0,S.jsx)(y.Z.Item,{label:"\u7C7B\u578B",name:"target",children:(0,S.jsx)(x.ZP.Group,{optionType:"button",options:[{label:"\u5185\u90E8\u94FE\u63A5",value:"_self"},{label:"\u5916\u90E8\u94FE\u63A5",value:"_blank"}]})})]})})})}var $=[{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(H){var G=H.style,ne=H.disabled,V=(0,u.useLexicalComposerContext)(),Y=o()(V,1),X=Y[0],ue=(0,W.useContext)(j.EditorRichContext),ae=ue.imageUpload,J=U.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=J.state,te=J.setByPath,re=q.canRedo,ie=q.canUndo,oe=q.isBold,le=q.isItalic,me=q.isUnderline,_e=q.isStrikethrough,ve=q.isUpload,ge=q.isLinkOpen,Ee=q.isLink,Oe=q.fontSize,Ce=q.fontFamily,Ie=q.fontColor,je=q.bgColor,Te=q.codeEdit,pe=(0,W.useCallback)(function(se){X.update(function(){var xe=(0,K.$getSelection)();(0,K.$isRangeSelection)(xe)&&(0,b.$patchStyleText)(xe,se)})},[X]),de=(0,W.useCallback)(function(se){pe({"font-size":se}),te("fontSize",se)},[pe]),Re=(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){X.dispatchCommand(K.FORMAT_TEXT_COMMAND,xe)},ke=function(xe){X.dispatchCommand(K.FORMAT_ELEMENT_COMMAND,xe)},Ke=[{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,b.$getSelectionStyleValueForProperty)(se,"font-size","16px"),fontFamily:(0,b.$getSelectionStyleValueForProperty)(se,"font-family","inherit"),fontColor:(0,b.$getSelectionStyleValueForProperty)(se,"color","#000000"),bgColor:(0,b.$getSelectionStyleValueForProperty)(se,"background-color",void 0)});var xe=se.anchor.getNode().getParent();te("isLink",(0,I.$isLinkNode)(xe))}},[]);(0,F.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,L.mergeRegister)(X.registerUpdateListener(function(se){var xe=se.editorState;xe.read(function(){w()},{editor:X})}),X.registerCommand(K.SELECTION_CHANGE_COMMAND,function(se,xe){return w(),!1},K.COMMAND_PRIORITY_LOW),X.registerCommand(K.CAN_UNDO_COMMAND,function(se){return te("canUndo",se),!1},K.COMMAND_PRIORITY_LOW),X.registerCommand(K.CAN_REDO_COMMAND,function(se){return te("canRedo",se),!1},K.COMMAND_PRIORITY_LOW))},[X,w]);var ee=function(xe){X.dispatchCommand(I.TOGGLE_LINK_COMMAND,xe)},ce=(0,W.useCallback)(function(){Ee?X.dispatchCommand(I.TOGGLE_LINK_COMMAND,null):te("isLinkOpen",!0)},[X,Ee]),fe=ne,ye=function(xe){X.update(function(){if(Te!==xe){var We=new DOMParser,ze=We.parseFromString(xe||"","text/html"),He=(0,M.$generateNodesFromDOM)(X,ze);(0,K.$getRoot)().clear(),(0,K.$getRoot)().select(),(0,K.$insertNodes)(He)}te("codeEdit","")})};return(0,S.jsxs)("div",{className:"ccs-editor-toolbar",style:G,children:[(0,S.jsx)(B.Z,{title:"\u64A4\u9500",children:(0,S.jsx)(R.ZP,{disabled:!ie||fe,onClick:function(){X.dispatchCommand(K.UNDO_COMMAND,void 0)},icon:(0,S.jsx)(P.Z,{}),type:"text"})}),(0,S.jsx)(B.Z,{title:"\u91CD\u505A",children:(0,S.jsx)(R.ZP,{disabled:!re||fe,onClick:function(){X.dispatchCommand(K.REDO_COMMAND,void 0)},icon:(0,S.jsx)(m.Z,{}),type:"text"})}),(0,S.jsx)(A.Z,{type:"vertical"}),(0,S.jsx)(B.Z,{title:"\u52A0\u7C97",children:(0,S.jsx)(R.ZP,{disabled:fe,onClick:function(){Ue("bold")},icon:(0,S.jsx)(c.Z,{}),type:oe?"link":"text"})}),(0,S.jsx)(B.Z,{title:"\u659C\u4F53",children:(0,S.jsx)(R.ZP,{disabled:fe,onClick:function(){Ue("italic")},icon:(0,S.jsx)(d.Z,{}),type:le?"link":"text"})}),(0,S.jsx)(B.Z,{title:"\u4E0B\u5212\u7EBF",children:(0,S.jsx)(R.ZP,{disabled:fe,onClick:function(){Ue("underline")},icon:(0,S.jsx)(v.Z,{}),type:me?"link":"text"})}),(0,S.jsx)(B.Z,{title:"\u5220\u9664\u7EBF",children:(0,S.jsx)(R.ZP,{disabled:fe,onClick:function(){Ue("strikethrough")},icon:(0,S.jsx)(i.Z,{}),type:_e?"link":"text"})}),(0,S.jsx)(A.Z,{type:"vertical"}),(0,S.jsx)(B.Z,{title:"\u5DE6\u5BF9\u9F50",children:(0,S.jsx)(R.ZP,{disabled:fe,onClick:function(){ke("left")},icon:(0,S.jsx)(_.Z,{}),type:"text"})}),(0,S.jsx)(B.Z,{title:"\u4E2D\u95F4\u5BF9\u9F50",children:(0,S.jsx)(R.ZP,{disabled:fe,onClick:function(){ke("center")},icon:(0,S.jsx)(s.Z,{}),type:"text"})}),(0,S.jsx)(B.Z,{title:"\u53F3\u5BF9\u9F50",children:(0,S.jsx)(R.ZP,{disabled:fe,onClick:function(){ke("right")},icon:(0,S.jsx)(r.Z,{}),type:"text"})}),(0,S.jsx)(B.Z,{title:"\u4E24\u6BB5\u5BF9\u9F50",children:(0,S.jsx)(R.ZP,{disabled:fe,onClick:function(){ke("justify")},icon:(0,S.jsx)(l.Z,{}),type:"text"})}),(0,S.jsx)(B.Z,{title:"\u56FE\u7247\u4E0A\u4F20",children:(0,S.jsx)(R.ZP,{type:"text",disabled:fe,icon:(0,S.jsx)(g.Z,{}),onClick:function(){return te("isUpload",!0)}})}),(0,S.jsx)(B.Z,{title:Ee?"\u53D6\u6D88\u8D85\u94FE\u63A5":"\u6DFB\u52A0\u8D85\u94FE\u63A5",children:(0,S.jsx)(R.ZP,{type:"text",icon:Ee?(0,S.jsx)(t.Z,{}):(0,S.jsx)(p.Z,{}),onClick:function(){return ce()},disabled:fe})}),(0,S.jsx)(A.Z,{type:"vertical"}),(0,S.jsx)(k.default,{value:Ie,onChange:function(xe){return Ae(xe)},children:(0,S.jsx)(B.Z,{title:"\u5B57\u4F53\u989C\u8272",children:(0,S.jsx)(R.ZP,{disabled:fe,style:{color:Ie},icon:(0,S.jsx)(a.Z,{}),type:"text"})})}),(0,S.jsx)(k.default,{value:je,onChange:function(xe){return Be(xe)},children:(0,S.jsx)(B.Z,{title:"\u80CC\u666F\u8272",children:(0,S.jsx)(R.ZP,{disabled:fe,style:{color:je},icon:(0,S.jsx)(C.Z,{}),type:"text"})})}),(0,S.jsx)(A.Z,{type:"vertical"}),(0,S.jsx)(B.Z,{title:"\u5B57\u4F53",children:(0,S.jsx)(T.default,{value:Ce,options:$,variant:"filled",size:"small",onChange:Re,style:{marginRight:6,width:80},popupMatchSelectWidth:200})}),(0,S.jsx)(B.Z,{title:"\u5B57\u4F53\u5927\u5C0F",children:(0,S.jsx)(T.default,{value:Oe,options:Ke,variant:"filled",size:"small",onChange:de})}),(0,S.jsx)(A.Z,{type:"vertical"}),(0,S.jsx)(R.ZP,{size:"small",type:"text",onClick:function(){X.read(function(){var xe=(0,D.$onGenerateHTML)(X);te("codeEdit",xe)})},children:"\u6E90\u7801"}),(0,S.jsx)(R.ZP,{size:"small",type:"text",onClick:function(){X.read(function(){var xe=(0,D.$onGenerateHTML)(X),We=window.open("about:blank","_blank");We==null||We.document.write("<!DOCTYPE html><html><head><title>\u65B0\u9875\u9762</title><style>p{margin:0};</style></head><body>".concat(xe,"</body></html>")),We==null||We.document.close()})},children:"\u9884\u89C8"}),ve&&(ae==null?void 0:ae.uploadRequest)&&(0,S.jsx)(N.default,{onCancel:function(){return te("isUpload",!1)}}),ge&&(0,S.jsx)(Z,{onOk:ee,onCancel:function(){return te("isLinkOpen",!1)}}),!!Te&&(0,S.jsx)(z.default,{code:Te,onOk:ye,onClose:function(){return te("codeEdit","")}})]})}},6145:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return L}});var f=e(26068),o=e.n(f),P=e(90228),m=e.n(P),c=e(87999),d=e.n(c),v=e(48305),i=e.n(v),_=e(64276),s=e(34073),r=e(80729),l=e(46960),g=e(54999),t=e(19152),p=e(71794),a=e(75271),C=e(14635),D=e(80882),M=e(92523),I=e(83844),u=e(52676),b=function(h){return h?typeof h=="number"?h+"px":h.endsWith("px")||h.endsWith("%")?h:parseInt(h)+"px":"100%"};function L(y){var h=y.imageProps,O=h===void 0?{urlType:"url"}:h,x=y.onCancel,B=(0,s.useLexicalComposerContext)(),R=i()(B,1),A=R[0],T=(0,a.useContext)(C.EditorRichContext),K=T.imageUpload;function W(){return O.src?O.urlType==="url"?{base64:void 0,url:O.src}:{base64:O.src,url:void 0}:{}}var j=(0,a.useState)(W),U=i()(j,2),k=U[0],F=U[1],z=r.Z.useForm(),N=i()(z,1),S=N[0],Z=(0,a.useRef)(null),$=function(){var Q=d()(m()().mark(function H(){var G,ne,V,Y,X,ue;return m()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.next=2,S.validateFields();case 2:if(G=J.sent,ne=G.urlType,V=G.src,Y=G.altText,X=G.height,ue=G.width,O.key===void 0){J.next=8;break}return A.update(function(){var q=(0,p.$getNodeByKey)(O.key);q&&(0,I.$isImageNode)(q)&&q.updateData({altText:Y,height:b(X),width:b(ue),urlType:ne,src:V})}),x(),J.abrupt("return");case 8:A.dispatchCommand(M.INSERT_IMAGE_COMMAND,{altText:Y||"",src:V,width:b(ue),height:b(X)}),x();case 10:case"end":return J.stop()}},H)}));return function(){return Q.apply(this,arguments)}}();return(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(l.Z,{open:!0,title:"\u56FE\u7247\u4E0A\u4F20",onCancel:x,rootClassName:"ccs-rich-upload",onOk:$,width:550,children:(0,u.jsxs)("div",{style:{display:"flex",gap:16,justifyContent:"center"},children:[(0,u.jsxs)(r.Z,{form:S,labelCol:{span:8},layout:"horizontal",initialValues:O,children:[(0,u.jsx)(r.Z.Item,{name:"urlType",label:"\u52A0\u8F7D\u7C7B\u578B",style:{marginBottom:16},children:(0,u.jsx)(g.ZP.Group,{optionType:"button",options:[{label:"\u94FE\u63A5",value:"url"},{label:"BASE64",value:"base64"}]})}),(0,u.jsx)(_.Z.Item,{name:"src",label:"\u56FE\u7247\u94FE\u63A5",style:{marginBottom:16},simpleRule:"input",children:(0,u.jsx)(t.Z.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u94FE\u63A5"})}),(0,u.jsx)(r.Z.Item,{name:"altText",label:"\u56FE\u7247\u540D\u79F0",style:{marginBottom:16},children:(0,u.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u540D\u79F0"})}),(0,u.jsx)(r.Z.Item,{name:"width",label:"\u56FE\u7247\u5BBD\u5EA6",style:{marginBottom:16},children:(0,u.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u5BBD\u5EA6"})}),(0,u.jsx)(r.Z.Item,{name:"height",label:"\u56FE\u7247\u9AD8\u5EA6",style:{marginBottom:0},children:(0,u.jsx)(t.Z,{placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u9AD8\u5EA6"})}),(0,u.jsx)(r.Z.Item,{shouldUpdate:function(H,G){return H.urlType!==G.urlType},children:function(H){var G=H.getFieldValue,ne=H.setFieldValue,V=G("urlType"),Y=G("src");return setTimeout(function(){if(V==="base64"){if(k.base64===Y)return null;ne("src",k.base64)}if(V==="url"){if(k.url===Y)return null;ne("src",k.url)}},1),null}})]}),(0,u.jsx)("div",{style:{flex:"0 0 200px"},children:(0,u.jsx)(D.default.Image,o()(o()({value:O.src},K),{},{onImageInfo:function(H){var G="".concat((K==null?void 0:K.imageUrl)||"").concat(H.url);F({base64:H.base64,url:G});var ne=S.getFieldValue("urlType");S.setFieldValue("altText",H.name),S.setFieldValue("src",ne==="url"?G:H.base64)},onChange:function(H){H||(S.setFieldsValue({src:"",altText:"",width:"",height:""}),F({}))}}))}),(0,u.jsx)("img",{style:{position:"fixed",visibility:"hidden",top:0,left:0},onLoad:function(){var H,G;return S.setFieldsValue({width:"".concat((H=Z.current)===null||H===void 0?void 0:H.width,"px"),height:"".concat((G=Z.current)===null||G===void 0?void 0:G.height,"px")})},ref:Z,src:k.base64})]})})})}},40815:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return d}});var f=e(48305),o=e.n(f),P=e(75271),m=e(6145),c=e(52676);function d(v){var i=v.src,_=v.altText,s=v.nodeKey,r=v.width,l=v.height,g=(0,P.useState)(!1),t=o()(g,2),p=t[0],a=t[1],C=function(){a(!0)};return(0,c.jsxs)(c.Fragment,{children:[p&&(0,c.jsx)(m.default,{imageProps:{key:s,src:i,altText:_,width:r,height:l,urlType:i!=null&&i.startsWith("data:image")?"base64":"url"},onCancel:function(){return a(!1)}}),(0,c.jsx)("img",{style:{width:r,height:l},onClick:C,alt:_,src:i,draggable:"false"})]})}},83844:function(E,n,e){"use strict";e.r(n),e.d(n,{$createImageNode:function(){return D},$isImageNode:function(){return I},ImageNode:function(){return C}});var f=e(25298),o=e.n(f),P=e(17069),m=e.n(P),c=e(62657),d=e.n(c),v=e(21742),i=e.n(v),_=e(83136),s=e.n(_),r=e(82092),l=e.n(r),g=e(71794),t=e(75271),p=e(52676),a=t.lazy(function(){return Promise.resolve().then(e.bind(e,40815))}),C=function(u){i()(L,u);var b=s()(L);function L(y,h,O,x,B){var R;return o()(this,L),R=b.call(this,B),l()(d()(R),"__src",void 0),l()(d()(R),"__altText",void 0),l()(d()(R),"__width",void 0),l()(d()(R),"__height",void 0),R.__src=y,R.__altText=h,R.__width=O||"inherit",R.__height=x||"inherit",R}return m()(L,[{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 h=document.createElement("img");return h.setAttribute("src",this.__src),h.setAttribute("alt",this.__altText),this.__width&&h.setAttribute("width",this.__width.toString()),this.__height&&h.setAttribute("height",this.__height.toString()),{element:h}}},{key:"createDOM",value:function(h){var O=document.createElement("span"),x=h.theme,B=x.image;return B!==void 0&&(O.className=B),O}},{key:"updateDOM",value:function(){return!1}},{key:"updateData",value:function(h){var O=this.getWritable();O.__width=h.width,O.__height=h.height,O.__src=h.src,O.__altText=h.altText}},{key:"decorate",value:function(){return(0,p.jsx)(t.Suspense,{fallback:null,children:(0,p.jsx)(a,{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(h){return new L(h.__src,h.__altText,h.__width,h.__height,h.__key)}},{key:"importJSON",value:function(h){var O=h.altText,x=h.height,B=h.width,R=h.src;return new L(R,O,B,x)}},{key:"importDOM",value:function(){return{img:function(){return{conversion:M,priority:0}}}}}]),L}(g.DecoratorNode);function D(u){var b=u.altText,L=u.height,y=u.src,h=u.width;return new C(y,b,h,L)}function M(u){if(u instanceof HTMLImageElement){var b=u.alt,L=u.src,y=u.width,h=u.height,O=D({altText:b,height:h,src:L,width:y});return{node:O}}return null}function I(u){return u instanceof C}},92523:function(E,n,e){"use strict";e.r(n),e.d(n,{INSERT_IMAGE_COMMAND:function(){return v},UPDATE_IMAGE_COMMAND:function(){return i},default:function(){return _}});var f=e(48305),o=e.n(f),P=e(34073),m=e(71794),c=e(75271),d=e(83844),v=(0,m.createCommand)("INSERT_IMAGE_COMMAND"),i=(0,m.createCommand)("UPDATE_IMAGE_COMMAND");function _(){var s=(0,P.useLexicalComposerContext)(),r=o()(s,1),l=r[0];return(0,c.useEffect)(function(){l.registerCommand(v,function(g){var t=(0,d.$createImageNode)(g);return(0,m.$insertNodes)([t]),!0},m.COMMAND_PRIORITY_EDITOR)},[l]),null}},13273:function(E,n,e){"use strict";e.r(n);var f=e(48305),o=e.n(f),P=e(63552),m=e(34073),c=e(71794),d=e(75271),v=function(_){var s=_.value,r=(0,m.useLexicalComposerContext)(),l=o()(r,1),g=l[0];return(0,d.useEffect)(function(){g.update(function(){var t=(0,P.$generateHtmlFromNodes)(g,null);if(s!==t){var p=new DOMParser,a=p.parseFromString(s||"","text/html"),C=(0,P.$generateNodesFromDOM)(g,a);(0,c.$getRoot)().clear(),(0,c.$getRoot)().select(),(0,c.$insertNodes)(C)}})},[g,s]),null};n.default=v},48666:function(E,n,e){"use strict";e.r(n),e.d(n,{$onGenerateHTML:function(){return v}});var f=e(1775),o=e(5590),P=e(78608),m=e(71794),c=e(83844);function d(i){return i.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function v(i){var _="";function s(r){if((0,m.$isTextNode)(r)){var l=d(r.getTextContent());return r.hasFormat("bold")&&(l="<strong>".concat(l,"</strong>")),r.hasFormat("italic")&&(l="<em>".concat(l,"</em>")),r.hasFormat("underline")&&(l="<u>".concat(l,"</u>")),r.hasFormat("strikethrough")&&(l="<s>".concat(l,"</s>")),r.hasFormat("code")&&(l="<code>".concat(l,"</code>")),l}if((0,c.$isImageNode)(r)){var g=r.__width,t=r.__height,p=r.__altText,a=r.__src;return typeof g=="number"&&(g="".concat(g,"px")),typeof t=="number"&&(t="".concat(t,"px")),'<img src="'.concat(a,'" alt="').concat(p,'" width="').concat(g,'" height="').concat(t,'" />')}if((0,m.$isElementNode)(r)){var C,D=r.getChildren(),M=D.map(function(y){return s(y)}).join(""),I=((C=r.getFormatType)===null||C===void 0?void 0:C.call(r))||"",u=I?' style="text-align: '.concat(I,';"'):"";if((0,m.$isParagraphNode)(r))return"<p".concat(u,">").concat(M,`</p>
|
|
22
|
-
`);if((0,
|
|
23
|
-
`)}if((0,
|
|
24
|
-
`);if((0,o.$isListNode)(r)){var
|
|
25
|
-
`)}return(0,o.$isListItemNode)(r)?"<li".concat(
|
|
26
|
-
`):(0,
|
|
27
|
-
`)}return""}return i.getEditorState().read(function(){var r=(0,m.$getRoot)();_=s(r)}),_}},80932:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return O}});var f=e(67825),o=e.n(f),P=e(26068),m=e.n(P),c=e(48305),d=e.n(c),v=e(15558),i=e.n(v),_=e(1775),s=e(5590),r=e(78608),l=e(71794),g=e(14635),t=e(24181),p=e(83844),a=e(13273),C=e(48666),D=e(2978),M=e(52676),I=["value","onChange"],u=function(B,R){var A=R.exportDOM(B);if(A&&(0,l.isHTMLElement)(A.element))for(var T=0,K=[A.element].concat(i()(A.element.querySelectorAll("[style],[class]")));T<K.length;T++){var W=K[T];W.removeAttribute("class"),W.removeAttribute("style")}return A},b=new Map([[l.ParagraphNode,u],[l.TextNode,u]]),L=function(B){var R="",A=(0,t.parseAllowedFontSize)(B.style.fontSize),T=(0,t.parseAllowedColor)(B.style.backgroundColor),K=(0,t.parseAllowedColor)(B.style.color);return A!==""&&A!=="15px"&&(R+="font-size: ".concat(A,";")),T!==""&&T!=="rgb(255, 255, 255)"&&(R+="background-color: ".concat(T,";")),K!==""&&K!=="rgb(0, 0, 0)"&&(R+="color: ".concat(K,";")),R},y=function(){for(var B={},R=function(){var W=d()(T[A],2),j=W[0],U=W[1];B[j]=function(k){var F=U(k);return F?m()(m()({},F),{},{conversion:function(N){var S=F.conversion(N);if(S===null||S.forChild===void 0||S.after!==void 0||S.node!==null)return S;var Z=L(N);if(Z){var $=S.forChild;return m()(m()({},S),{},{forChild:function(H,G){var ne=$(H,G);return(0,l.$isTextNode)(ne)&&ne.setStyle(ne.getStyle()+Z),ne}})}return S}}):null}},A=0,T=Object.entries(l.TextNode.importDOM()||{});A<T.length;A++)R();return B},h={html:{export:b,import:y()},namespace:"EditorRich",nodes:[l.ParagraphNode,l.TextNode,p.ImageNode,r.HeadingNode,r.QuoteNode,s.ListNode,s.ListItemNode,_.LinkNode],onError:function(B){throw B},theme:D.default};function O(x){var B=x.value,R=x.onChange,A=o()(x,I),T=function(W,j){W.read(function(){var U=(0,C.$onGenerateHTML)(j);return R==null?void 0:R(U)})};return(0,M.jsx)(g.default,m()(m()({editorConfig:h},A),{},{onChange:T,plugins:(0,M.jsx)(a.default,{value:B})}))}},2978:function(E,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(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return d}});var f=e(26068),o=e.n(f),P=e(34887),m=e(29175),c=e(52676);function d(v){return(0,c.jsx)(m.default,o()(o()({},v),{},{extensions:[(0,P.sql)()]}))}},39445:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return d}});var f=e(26068),o=e.n(f),P=e(8689),m=e(29175),c=e(52676);function d(v){return(0,c.jsx)(m.default,o()(o()({},v),{},{extensions:[(0,P.xml)()]}))}},53056:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return d}});var f=e(26068),o=e.n(f),P=e(24365),m=e(29175),c=e(52676);function d(v){return(0,c.jsx)(m.default,o()(o()({},v),{},{extensions:[(0,P.yaml)()]}))}},37293:function(E,n,e){"use strict";e.r(n)},64276:function(E,n,e){"use strict";e.d(n,{Z:function(){return c}});var f=e(64017),o=e(14894),P=e(52676);function m(){return(0,P.jsx)(P.Fragment,{})}m.Item=f.default,m.List=o.default;var c=m},64017:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var f=e(26068),o=e.n(f),P=e(48305),m=e.n(P),c=e(67825),d=e.n(c),v=e(19842),i=e(80729),_=e(75271),s=e(65173),r=e(52676),l=["mb","name","rules","children","simpleRule","isGroupName","showValidate","shouldUpdateNames","style"],g=function(C){var D=C.name,M=C.getFieldsValue,I=C.setFieldValue,u=C.getFieldValue,b=C.names,L=u(D);return(0,_.useEffect)(function(){var y=M(!0),h=[];if(b.forEach(function(x){h.push((0,s.getDataByNamePath)(y,x))}),h.filter(function(x){return x!==void 0}).length>0){I(D,h);return}var O=(0,s.getDataByNamePath)(y,D);Array.isArray(O)&&b.forEach(function(x,B){I(x,O[B])})},[]),(0,v.Z)(function(){setTimeout(function(){b.forEach(function(y,h){I(y,Array.isArray(L)?L[h]:void 0)})},1)},[L]),null};function t(a,C){var D=typeof C!="string"?"":C;return a==="select"?{required:!0,message:"\u8BF7\u9009\u62E9".concat(D)}:a==="input"?{required:!0,message:"\u8BF7\u8F93\u5165".concat(D)}:a==="email"?{required:!0,message:"".concat(D||"\u90AE\u7BB1","\u975E\u6CD5"),pattern:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/}:a==="phone"?{required:!0,message:"".concat(D||"\u7535\u8BDD\u53F7\u7801","\u975E\u6CD5"),pattern:/^1[3-9]\d{9}$/}:a==="idcard"?function(){return{validator:function(I,u){return(0,s.isValidCard)(u)?Promise.resolve():Promise.reject(new Error("".concat(D||"\u8EAB\u4EFD\u8BC1\u53F7\u7801","\u975E\u6CD5")))}}}:a==="url"?function(){return{validator:function(I,u){return(0,s.isUrl)(u)?Promise.resolve():Promise.reject(new Error("".concat(D||"URL","\u975E\u6CD5")))}}}:a instanceof RegExp?{required:!0,message:"".concat(D||"\u5185\u5BB9","\u975E\u6CD5"),pattern:a}:{required:!0}}function p(a){var C,D=a.mb,M=a.name,I=a.rules,u=a.children,b=a.simpleRule,L=a.isGroupName,y=a.showValidate,h=a.shouldUpdateNames,O=a.style,x=d()(a,l),B=L&&Array.isArray(M)&&M.length>0,R=(0,_.useState)(B?"_".concat(M==null||(C=M.join("And"))===null||C===void 0?void 0:C.replace(/[^a-zA-Z]/g,""),"_"):M),A=m()(R,1),T=A[0],K=(0,_.useMemo)(function(){var U=I||[];return b&&(Array.isArray(b)?b.forEach(function(k){return U.push(t(k,x.label))}):U.push(t(b,x.label))),U},[b,I]),W=(0,_.useMemo)(function(){var U={};return D!==void 0&&(U.marginBottom=D),o()(o()({},U),O)},[]),j=B?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z.Item,{noStyle:!0,shouldUpdate:function(k,F){return(0,s.getDataByNamePath)(k,T)!==(0,s.getDataByNamePath)(F,T)},children:function(k){var F=k.getFieldsValue,z=k.setFieldValue,N=k.getFieldValue;return(0,r.jsx)(g,{getFieldsValue:F,setFieldValue:z,getFieldValue:N,names:M,name:T})}}),M.map(function(U,k){return(0,r.jsx)(p,{noStyle:!0,name:U,hidden:!0},k)})]}):null;return h?(0,r.jsx)(i.Z.Item,{noStyle:!0,shouldUpdate:function(k,F){return Array.isArray(h)?h.some(function(z){return(0,s.getDataByNamePath)(k,z)!==(0,s.getDataByNamePath)(F,z)}):!1},children:function(k){var F=h.map(function(z){return k.getFieldValue(z)});return y&&!y(F)?null:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.Z.Item,o()(o()({rules:K,name:T,style:W},x),{},{children:[_.isValidElement(u)&&_.cloneElement(u,{changes:F}),typeof u=="function"&&u(o()(o()({},k),{},{changes:F}))]})),j]})}}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z.Item,o()(o()({name:T,rules:K,style:W},x),{},{children:u})),j]})}},14894:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return y}});var f=e(26068),o=e.n(f),P=e(90228),m=e.n(P),c=e(87999),d=e.n(c),v=e(67825),i=e.n(v),_=e(84816),s=e(64341),r=e(17114),l=e(16929),g=e(80729),t=e(18466),p=e(82187),a=e.n(p),C=e(75271),D=e(59881),M=e.n(D),I=e(52676),u=["name","max","min","addBtn","label","isDrag","renderItem"],b=["key"],L=["className","style"];function y(h){var O=h.name,x=h.max,B=h.min,R=h.addBtn,A=R===void 0?"\u6DFB\u52A0\u9879":R,T=h.label,K=h.isDrag,W=h.renderItem,j=i()(h,u),U=l.Z.useToken(),k=U.token.colorTextDescription,F=(0,I.jsx)(g.Z.List,{name:O,rules:[{validator:function(){var z=d()(m()().mark(function S(Z,$){return m()().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:if(!(B!==void 0&&(!$||$.length<B))){H.next=2;break}return H.abrupt("return",Promise.reject(new Error("\u9009\u9879\u4E0D\u80FD\u5C11\u4E8E".concat(B,"\u4E2A"))));case 2:if(!(x!==void 0&&(!$||$.length>x))){H.next=4;break}return H.abrupt("return",Promise.reject(new Error("\u9009\u9879\u4E0D\u80FD\u5927\u4E8E".concat(x,"\u4E2A"))));case 4:case"end":return H.stop()}},S)}));function N(S,Z){return z.apply(this,arguments)}return N}()}],children:function(N,S,Z){var $=S.add,Q=S.remove,H=S.move,G=Z.errors,ne=N.map(function(V){var Y=V.key,X=i()(V,b);return(0,I.jsx)(C.Fragment,{children:W({remove:Q,nameIndex:X.name,RemoveButtom:function(ae){return(0,I.jsx)(t.ZP,o()({onClick:function(){return Q(X.name)},type:"text",icon:(0,I.jsx)(_.Z,{style:{color:k}})},ae))},DragButtom:function(ae){var J=ae.className,q=ae.style,te=i()(ae,L);return(0,I.jsx)(t.ZP,o()(o()({type:"text",icon:(0,I.jsx)(s.Z,{style:{color:k}})},te),{},{className:a()("ccs-drag-handle-btn",J),style:o()({cursor:"move"},q)}))}})},Y)});return(0,I.jsxs)(I.Fragment,{children:[K?(0,I.jsx)(D.ReactSortable,{handle:".ccs-drag-handle-btn",list:N,onEnd:function(Y){var X=Y.oldIndex,ue=Y.newIndex;X!==void 0&&ue!==void 0&&H(X,ue)},setList:function(){},animation:200,ghostClass:"ccs-form-drag-ghost",chosenClass:"ccs-form-drag-chosen",children:ne}):ne,C.isValidElement(A)?C.cloneElement(A,{onClick:function(){return $({})}}):(0,I.jsx)(t.ZP,{type:"dashed",onClick:function(){return $({})},icon:(0,I.jsx)(r.Z,{}),children:A}),(0,I.jsx)(g.Z.ErrorList,{errors:G})]})}});return T?(0,I.jsx)(g.Z.Item,o()(o()({label:T},j),{},{children:F})):F}},81475:function(E,n,e){"use strict";e.r(n),e.d(n,{useBaseFields:function(){return v},useProTableFields:function(){return d}});var f=e(26068),o=e.n(f),P=e(75271),m=e(56973),c=function(){var _=(0,P.useContext)(m.AppConfigContext);if(_===void 0)throw new Error("AppConfigContext not found \u672A\u5168\u5C40\u4F7F\u7528 CcsAppConfig");return _},d=function(){var _,s=(0,P.useContext)(m.AppConfigContext)||{};return o()({dataSource:["data","result"],total:["data","totalNum"],requestParam:{pageNo:["pageNo"],pageSize:["pageSize"],filters:["filters"],orderProps:["orderProps"],query:["query"]}},s==null||(_=s.fieldNames)===null||_===void 0?void 0:_.page)},v=function(){var _,s=(0,P.useContext)(m.AppConfigContext)||{};return o()({success:["success"],successTag:!0,msg:["msg"],data:["data"]},s==null||(_=s.fieldNames)===null||_===void 0?void 0:_.base)};n.default=c},50796:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return v}});var f=e(26068),o=e.n(f),P=e(48305),m=e.n(P),c=e(16929),d=e(75271);function v(i){var _=i.height,s=i.styles,r=i.variant,l=r===void 0?"outlined":r,g=i.size,t=g===void 0?"middle":g,p=i.theme,a=(0,d.useState)(!1),C=m()(a,2),D=C[0],M=C[1],I=c.Z.useToken(),u=I.token,b=(0,d.useMemo)(function(){var L,y,h,O,x,B,R,A,T={small:{paddingBlock:((L=u.Input)===null||L===void 0?void 0:L.paddingBlock)||0,paddingInline:((y=u.Input)===null||y===void 0?void 0:y.paddingInline)||7},middle:{paddingBlock:((h=u.Input)===null||h===void 0?void 0:h.paddingBlock)||4,paddingInline:((O=u.Input)===null||O===void 0?void 0:O.paddingInline)||11},large:{paddingBlock:((x=u.Input)===null||x===void 0?void 0:x.paddingBlock)||7,paddingInline:((B=u.Input)===null||B===void 0?void 0:B.paddingInline)||11}},K={overflow:"hidden",borderRadius:u.borderRadius,borderColor:D?((R=u.Input)===null||R===void 0?void 0:R.hoverBorderColor)||u.colorInfoHover:u.colorBorder,borderWidth:u.lineWidth,borderStyle:u.lineType,boxShadow:D?((A=u.Input)===null||A===void 0?void 0:A.activeShadow)||u.boxShadowTertiary:"none"};l==="filled"&&(K.background=u.colorFillTertiary,K.borderColor="transparent"),l==="borderless"&&(K.borderColor="transparent"),l==="underlined"&&(K.borderColor="transparent transparent ".concat(u.colorBorder," transparent"),K.borderRadius=0);var W={padding:"".concat(T[t].paddingBlock,"px ").concat(T[t].paddingInline,"px")};_&&(K.height=typeof _=="number"?"".concat(_,"px"):_,K.overflow="hidden");var j={borderBottom:"".concat(u.lineWidth,"px ").concat(u.lineType," ").concat(l==="outlined"?u.colorBorder:"transparent")},U={top:T[t].paddingBlock,left:T[t].paddingInline,color:u.colorTextPlaceholder};return{root:o()(o()({},K),s==null?void 0:s.root),inner:o()(o()({},W),s==null?void 0:s.inner),background:u.colorBgContainer,toolbarStyles:j,placeholderStyles:U}},[l,D,s,p]);return{styles:b,onActived:M}}},85289:function(E,n,e){"use strict";e.r(n),e.d(n,{useInsertCss:function(){return d}});var f=e(89486),o=e.n(f),P=e(75271),m=e(81475),c={};function d(v,i){var _=(0,m.default)()||{},s=_.antConfig,r=(s==null?void 0:s.prefixCls)||"ant";(0,P.useEffect)(function(){if(!c[v]){c[v]=!0;var l=i(r)||[];(0,f.insertCss)(l.join(""))}},[])}},31248:function(E,n,e){"use strict";e.r(n);var f=e(75271),o=function(m){var c=(0,f.useRef)(!1),d=function(){if(!c.current){for(var i=arguments.length,_=new Array(i),s=0;s<i;s++)_[s]=arguments[s];m(_),c.current=!0}};return d};n.default=o},94127:function(E,n,e){"use strict";e.r(n);var f=e(75271),o=e(56973),P=function(){var c=(0,f.useContext)(o.PageContext);if(c===void 0)throw new Error("PageContext not found");return c};n.default=P},70896:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return p}});var f=e(26068),o=e.n(f),P=e(48305),m=e.n(P),c=e(67825),d=e.n(c),v=e(31759),i=e.n(v),_=e(13443),s=e(19842),r=e(75271),l=["value","type","defaultRows","keyField","onChangeRows","onChange"];function g(a,C){var D=a!=null?a:[],M=C!=null?C:[];return Array.isArray(D)||(D=[D]),JSON.stringify(D)!==JSON.stringify(M)}function t(a,C){return a===void 0?a:Array.isArray(a)?a.map(function(D){return i()(D)==="object"?D[C]:D}):i()(a)==="object"?a[C]:[a]}function p(a){var C=a||{},D=C.value,M=C.type,I=M===void 0?"checkbox":M,u=C.defaultRows,b=C.keyField,L=b===void 0?"key":b,y=C.onChangeRows,h=C.onChange,O=d()(C,l),x=(0,r.useState)({}),B=m()(x,2),R=B[1],A=(0,r.useRef)({selectedRowKeys:t(D,L),selectedRows:u,info:{type:"none"}}),T=I==="checkbox",K=(0,_.Z)(function(){var U=A.current,k=U.selectedRowKeys,F=k===void 0?[]:k,z=U.selectedRows,N=z===void 0?[]:z;T?h==null||h(F,N):h==null||h(F[0],N[0]),y==null||y(N||[]),h||R({})});(0,r.useEffect)(function(){u&&!A.current.selectedRows&&(A.current.selectedRows=u,y&&y(u),R({}))},[u]),(0,s.Z)(function(){var U=t(D,L);if(g(U,A.current.selectedRowKeys)){var k,F=(k=A.current.selectedRows)===null||k===void 0?void 0:k.filter(function(){var z,N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(z=U||[])===null||z===void 0?void 0:z.includes(N[L])});A.current={selectedRowKeys:U===void 0&&T?[]:U,selectedRows:F,info:{type:"none"}},R({})}},[D]);var W=(0,_.Z)(function(U,k,F){A.current={selectedRowKeys:U,selectedRows:k,info:F},u&&u.length>0&&k.forEach(function(z,N){if(!z){var S=u.find(function(Z){return Z[L]===U[N]});S&&(k[N]=S)}}),K()}),j=(0,_.Z)(function(U){if(!U)A.current={selectedRowKeys:[],selectedRows:[],info:{type:"none"}};else{var k=A.current,F=k.selectedRowKeys,z=F===void 0?[]:F,N=k.selectedRows,S=N===void 0?[]:N,Z=S.filter(function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Q[L]!==U}),$=z.filter(function(Q){return Q!==U});A.current={selectedRowKeys:$,selectedRows:Z,info:{type:"none"}}}K()});return o()(o()(o()({},A.current),{},{onChange:W,onClear:j,type:I},O),{},{onClearByProTable:j})}},60136:function(E,n,e){"use strict";e.r(n);var f=e(75271),o=e(56973),P=function(){var c=(0,f.useContext)(o.TabsContext);if(c===void 0)throw new Error("TabsContext not found");return c};n.default=P},52892:function(E,n,e){"use strict";e.r(n);var f=e(75271),o=e(56973),P=function(){var c=(0,f.useContext)(o.DrawerAndModalContext);if(c===void 0)throw new Error("DrawerAndModalContext not found");return c};n.default=P},39203:function(E,n,e){"use strict";e.r(n),e.d(n,{CcsAjCaptcha:function(){return f.default},CcsAppConfig:function(){return v.default},CcsAtom:function(){return o.default},CcsAuth:function(){return P.default},CcsButton:function(){return m.default},CcsCascader:function(){return c.default},CcsColorPicker:function(){return d.default},CcsDatePicker:function(){return i.default},CcsDialog:function(){return _.default},CcsEditor:function(){return s.default},CcsForm:function(){return r.Z},CcsKeepAliveTabs:function(){return M.default},CcsPageLayout:function(){return D.default},CcsProTable:function(){return u.default},CcsProTabs:function(){return b.default},CcsResult:function(){return L.default},CcsSelect:function(){return y.default},CcsSinglePage:function(){return I.default},CcsStatusTag:function(){return h.default},CcsTable:function(){return O.Z},CcsTimePicker:function(){return x.default},CcsUpload:function(){return B.default},CcsWaterMark:function(){return R.default},useAppConfig:function(){return l.default},useCcsOnceEvent:function(){return g.default},useCcsPage:function(){return t.default},useCcsTabs:function(){return a.default},useCcsWindow:function(){return C.default},useTableSelection:function(){return p.default}});var f=e(12648),o=e(32097),P=e(1444),m=e(668),c=e(97681),d=e(35030),v=e(88686),i=e(86247),_=e(50712),s=e(81777),r=e(64276),l=e(81475),g=e(31248),t=e(94127),p=e(70896),a=e(60136),C=e(52892),D=e(60301),M=e(47797),I=e(88370),u=e(76098),b=e(32813),L=e(68296),y=e(18437),h=e(98708),O=e(73946),x=e(71973),B=e(80882),R=e(1130),A=e(16652);n.default=A},64637:function(E,n,e){"use strict";e.r(n)},60301:function(E,n,e){"use strict";e.r(n),e.d(n,{classAtomPrefix:function(){return m},default:function(){return d}});var f=e(47797),o=e(88370),P=e(52676),m="ccs-atom",c=function(){return(0,P.jsx)(P.Fragment,{})};c.Multi=f.default,c.Single=o.default;var d=c},47797:function(E,n,e){"use strict";e.r(n),e.d(n,{findMenusByUrl:function(){return F}});var f=e(82092),o=e.n(f),P=e(26068),m=e.n(P),c=e(90228),d=e.n(c),v=e(87999),i=e.n(v),_=e(15558),s=e.n(_),r=e(31759),l=e.n(r),g=e(335),t=e.n(g),p=e(34443),a=e(68144),C=e(37208),D=e(19842),M=e(13443),I=e(15574),u=e(18466),b=e(50068),L=e(82187),y=e.n(L),h=e(85899),O=e.n(h),x=e(75271),B=e(5791),R=e(81475),A=e(68296),T=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"}],U=[];function k(N,S){if(Array.isArray(N)){var Z=t()(N),$;try{for(Z.s();!($=Z.n()).done;){var Q=$.value,H=k(Q,S);if(H)return H}}catch(X){Z.e(X)}finally{Z.f()}}else if(l()(N)==="object"&&N!==null){if(N.key===S&&(!N.children||N.children.length===0))return N;if(N.children&&N.children.length>0){var G=t()(N.children),ne;try{for(G.s();!(ne=G.n()).done;){var V=ne.value,Y=k(V,S);if(Y)return Y}}catch(X){G.e(X)}finally{G.f()}}}return null}function F(N,S){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(Array.isArray(N)){var $=t()(N),Q;try{for($.s();!(Q=$.n()).done;){var H=Q.value,G=F(H,S,Z);if(G)return G}}catch(J){$.e(J)}finally{$.f()}}else if(l()(N)==="object"&&N!==null){var ne;if(N.url===S||(ne=N.url)!==null&&ne!==void 0&&ne.includes("?")&&N.url.split("?")[0]===S)return[].concat(s()(Z),[N]);if(N.children&&N.children.length>0){var V=[].concat(s()(Z),[N]),Y=t()(N.children),X;try{for(Y.s();!(X=Y.n()).done;){var ue=X.value,ae=F(ue,S,V);if(ae)return ae}}catch(J){Y.e(J)}finally{Y.f()}}}return null}function z(N){var S=N.maxLen,Z=S===void 0?10:S,$=N.appName,Q=N.history,H=N.menuItems,G=H===void 0?[]:H,ne=N.className,V=(0,x.useRef)([]),Y=(0,B.useLocation)(),X=Y.pathname,ue=(0,B.useOutlet)(),ae=(0,C.Z)(),J=(0,R.default)(),q=J.theme,te=q==="dark";(0,T.useInsertCss)("keep-alive",function(pe){return[".ccs-tabs-auto-height > .".concat(pe,`-tabs-content-holder,
|
|
21
|
+
\u4F7F\u7528\u53C2\u6570labelInValue\u8FD4\u56DE\u9009\u4E2D\u5BF9\u8C61\u6570\u636E`},context:{"./service.ts":c,"@ccs-ui/rc-pro":l,ahooks:h,antd:i,"/Users/devinxie/works/_codehub/@ccs-ui/packages/rc-pro/src/select/demos/service.ts":c},renderOpts:{compile:function(){var r=_()(o()().mark(function p(){var t,a=arguments;return o()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,e.e(9510).then(e.bind(e,59510));case 2:return C.abrupt("return",(t=C.sent).default.apply(t,a));case 3:case"end":return C.stop()}},p)}));function u(){return r.apply(this,arguments)}return u}()}}}},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),d=e(75271),l=e(39203),h=e(28320),i={"time-picker-demo-basic":{component:d.memo(d.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.9"},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 c=_()(o()().mark(function r(){var u,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",(u=a.sent).default.apply(u,p));case 3:case"end":return a.stop()}},r)}));function s(){return c.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),d=e(75271),l=e(39203),h={"upload-demo-basic":{component:d.memo(d.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.9"}},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,u=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,u));case 3:case"end":return t.stop()}},s)}));function c(){return i.apply(this,arguments)}return c}()}},"upload-demo-image":{component:d.memo(d.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.9"}},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,u=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,u));case 3:case"end":return t.stop()}},s)}));function c(){return i.apply(this,arguments)}return c}()}}}},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),d=e(75271),l=e(39203),h={"water-mark-demo-basic":{component:d.memo(d.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.9"}},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,u=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,u));case 3:case"end":return t.stop()}},s)}));function c(){return i.apply(this,arguments)}return c}()}}}},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),d=e(75271),l=e(68144),h={"packages-utils-src-demo-demos":{component:d.memo(d.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,u=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,u));case 3:case"end":return t.stop()}},s)}));function c(){return i.apply(this,arguments)}return c}()}}}},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),d=e(48305),l=e.n(d),h=e(79312),i=e(5864),c=e(15409),s=e(30627),r=e(3923),u=e(55387),p=e(16929),t=e(18529),a=e(18466),f=e(46960),C=e(75271),D=e(52676),O=p.Z.useToken;function I(E){var M=E.msg,x=(0,C.useState)(!0),S=l()(x,2),A=S[0],R=S[1];return(0,C.useEffect)(function(){M&&setTimeout(function(){R(!1)},1e3)},[]),A?M:""}function m(E){var M=E.bgImg,x=E.sliderImg,S=E.loadingImg,A=E.loadingValid,R=E.validErrorMsg,B=E.onValid,K=E.onCancel,W=E.onRefresh,F=(0,C.useRef)(null),U=(0,C.useRef)(null),k=(0,C.useRef)({start:!1,startX:0});(0,C.useEffect)(function(){k.current={start:!1,startX:0},F.current.style.left="0px",U.current.style.left="0px"},[x]);var N=function(Z){if(Z<0){F.current.style.left="0px",U.current.style.left="0px";return}var z=Z>263?"263px":"".concat(Z,"px");F.current.style.left=z,U.current.style.left=z};(0,u.Z)("mousedown",function(L){A||(k.current.startX||(k.current.startX=L.clientX),k.current.start=!0)},{target:F}),(0,u.Z)("mousemove",function(L){if(k.current.start){var Z=L.clientX-k.current.startX;N(Z)}},{target:document}),(0,u.Z)("mouseup",function(L){var Z=L.clientX-k.current.startX;B({x:Z,y:5},"sliding"),k.current.start=!1},{target:document});var H=O(),j=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:j.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:U,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:R},x)}),(0,D.jsx)(a.ZP,{onClick:K,type:"text",icon:(0,D.jsx)(c.Z,{})})]})]}),(0,D.jsxs)("div",{className:"ccs-aj-slider",style:{background:j.colorBgElevated},children:[(0,D.jsx)("div",{className:"ccs-aj-slider-track",style:{background:j.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:F,style:{backgroundColor:j.colorBgBase,border:"1px solid ".concat(j.colorBorder)},children:A?(0,D.jsx)(h.Z,{}):(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(s.Z,{}),(0,D.jsx)(r.Z,{})]})})]})]})}function P(E){var M=E.bgImg,x=E.words,S=E.loadingImg,A=E.loadingValid,R=E.validErrorMsg,B=E.onValid,K=E.onCancel,W=E.onRefresh,F=(0,C.useRef)(null),U=(0,C.useState)([]),k=l()(U,2),N=k[0],H=k[1];(0,C.useEffect)(function(){H([])},[M]),(0,u.Z)("mouseup",function(Z){H([].concat(_()(N),[{x:Z.offsetX,y:Z.offsetY}]))},{target:F}),(0,C.useEffect)(function(){N.length===(x==null?void 0:x.length)&&B(N,"wordSelect")},[N.length]);var j=O(),L=j.token;return(0,D.jsxs)(t.Z,{indicator:(0,D.jsx)(h.Z,{style:{fontSize:24}}),spinning:S||A,children:[(0,D.jsxs)("div",{className:"ccs-aj-body",style:{background:L.colorBgContainerDisabled},children:[(0,D.jsx)("img",{ref:F,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:R},M)}),(0,D.jsx)(a.ZP,{onClick:K,type:"text",icon:(0,D.jsx)(c.Z,{})})]})]}),(0,D.jsxs)("div",{className:"ccs-aj-word-slider",style:{color:L.colorTextLabel,border:"1px solid ".concat(L.colorTextLabel)},children:["\u8BF7\u4F9D\u6B21\u70B9\u51FB\u3010",x==null?void 0:x.join(", "),"\u3011"]})]})}function T(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)(P,o()({},E))})}var b=T},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),d=e(48305),l=e.n(d),h=e(45186),i=e(42932),c=e(81465),s=e(69608),r=e(18466),u=e(75271),p=e(32097),t=e(52676),a=i.Z.Group;function f(C){var D=C.isAll,O=C.btnProps,I=C.options,m=I===void 0?[]:I,P=C.defaultCheckedKeys,T=P===void 0?[]:P,b=(0,u.useState)(T),E=l()(b,2),M=E[0],x=E[1],S=function(K){var W;x(K),(W=C.onChange)===null||W===void 0||W.call(C,K)},A=function(K){var W,F=K.target.checked?m.map(function(U){return _()(U)==="object"?U.value:U}):[];x(F),(W=C.onChange)===null||W===void 0||W.call(C,F)},R=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:A,checked:K,children:"\u5168\u9009"}),(0,t.jsx)(c.Z,{style:{margin:"10px 0"}})]})}};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(s.Z,{placement:C.placement,content:(0,t.jsxs)(t.Fragment,{children:[R(),(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),d=e(87999),l=e.n(d),h=e(48305),i=e.n(h),c=e(67825),s=e.n(c),r=e(75250),u=e(18466),p=e(75271),t=e(52676),a=["num","cacheKey","disabledText","children"];function f(C,D){var O=C.num,I=O===void 0?60:O,m=C.cacheKey,P=C.disabledText,T=C.children,b=s()(C,a),E=(0,p.useState)(-1),M=i()(E,2),x=M[0],S=M[1],A=(0,p.useState)(null),R=i()(A,2),B=R[0],K=R[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 j,L,Z,z;return _()().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.next=2,localStorage.getItem(W);case 2:if(j=$.sent,!j){$.next=11;break}if(L=JSON.parse(j),Z=new Date().getTime(),z=Math.round((Z-L.time)/1e3),!(z<L.num)){$.next=11;break}return S(L.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)},B,{immediate:!0});var F=x!==0&&x!==I,U=function(){K(1e3),W&&localStorage.setItem(W,JSON.stringify({num:I,time:new Date().getTime()}))};return(0,p.useImperativeHandle)(D,function(){return{onStart:U}}),x===-1?null:(0,t.jsx)(u.ZP,o()(o()({type:"primary"},b),{},{onClick:b.onClick?b.onClick:U,disabled:b.disabled?!0:F,children:F?"".concat(x,"\u79D2").concat(P):"".concat(T)}))}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),d=e(60680),l=e(68144),h=e(81992),i=e(21947),c=e(19842),s=e(57439),r=e(18466),u=e(8890),p=e(75271),t=e(14306),a=e(52676),f={visibility:"hidden",whiteSpace:"inherit",lineHeight:"inherit",fontSize:"inherit"},C=function(P){return P[P.INIT=99]="INIT",P[P.NO_ELLIPSIS=0]="NO_ELLIPSIS",P[P.MEASURE_WALKING=200]="MEASURE_WALKING",P[P.STABLE_ELLIPSIS=400]="STABLE_ELLIPSIS",P[P.NULL=-1]="NULL",P}(C||{}),D="...";function O(P){var T=P.option,b=P.targetRef,E=P.onResize,M=(0,h.Z)(b),x=(0,i.Z)(M,_()({wait:500,leading:!0,trailing:!1},T));return(0,p.useEffect)(function(){x&&E(x)},[x]),null}function I(P){var T=P.content,b=P.rows,E=b===void 0?1:b,M=P.direction,x=M===void 0?"end":M,S=P.showTooltip,A=(0,p.useRef)(null),R=p.useRef(null),B=p.useRef(null),K=p.useState(C.INIT),W=o()(K,2),F=W[0],U=W[1],k=p.useMemo(function(){return(0,t.default)(T||"")},[T]),N=(0,p.useState)(0),H=o()(N,2),j=H[0],L=H[1],Z=(0,p.useRef)({maxHeight:0,step:0});(0,c.Z)(function(){U(C.INIT)},[T]),(0,p.useEffect)(function(){var $=k.length;if(F===C.INIT){var V,q,X=(((V=R.current)===null||V===void 0?void 0:V.offsetHeight)||0)*E;if(((q=R.current)===null||q===void 0?void 0:q.offsetHeight)===0){U(C.NULL);return}Z.current.maxHeight=X,Z.current.step=$,L($),U(C.MEASURE_WALKING);return}if(F===C.MEASURE_WALKING){var Y=Math.round(Z.current.step/2);Z.current.step=Y;var G=B.current;if(G.offsetHeight===G.scrollHeight){if(j===$){U(C.NO_ELLIPSIS);return}if(Y===0){U(C.STABLE_ELLIPSIS);return}L(function(le){return le+Y})}else{if(Y===1||Y===0){L(function(le){return le-(Y+1)}),U(C.STABLE_ELLIPSIS);return}L(function(le){return le-Y})}}},[F,j]);var z=function(){if(j===0)return".";if(x==="start")return"".concat(D).concat(k.slice(k.length-j).join(""));if(x==="end")return"".concat(k.slice(0,j).join("")).concat(D);if(x==="middle"){var V=Math.floor(j/2);return"".concat(k.slice(0,V).join("")).concat(D).concat(k.slice(k.length-(j-V)).join(""))}};if(F===C.NO_ELLIPSIS)return T;if(F===C.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:T}),(0,a.jsx)("div",{style:{textAlign:"right"},children:(0,a.jsx)(r.ZP,{type:"link",onClick:function(){l.default.copy(T),u.ZP===null||u.ZP===void 0||u.ZP.info("\u590D\u5236\u6210\u529F")},icon:(0,a.jsx)(d.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||U(C.INIT)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{targetRef:A,onResize:Q}),(0,a.jsxs)("div",{className:"ccs-ellipsis",ref:A,children:[[C.INIT,C.NULL].includes(F)&&(0,a.jsx)("div",{"aria-hidden":!0,ref:R,style:f,children:"\xA0"},"stable"),C.MEASURE_WALKING===F&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{ref:B,style:{maxHeight:Z.current.maxHeight},className:"ccs-ellipsis-scroll",children:z()},"measure-walking")})]})]})}function m(P){return P.content===""||P.content===void 0?P.content:(0,a.jsx)(I,_()({},P))}n.default=p.memo(m,function(P,T){return P.content===T.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),d=e(48305),l=e.n(d),h=e(68825),i=e(49115),c=e(80729),s=e(16929),r=e(18466),u=e(75271),p=e(32097),t=e(64276),a=e(32272),f=e(52676),C=["onFormat"];function D(O,I){var m=O.extra,P=O.style,T=O.className,b=O.expandForm,E=b===void 0?!1:b,M=O.formItems,x=M===void 0?[]:M,S=O.formInitValues,A=O.formItemLabelWidth,R=O.requestParam,B=O.onSearch,K="".concat(p.classAtomPrefix,"-filter"),W=c.Z.useForm(),F=l()(W,1),U=F[0],k=(0,u.useRef)(null),N=(0,u.useRef)(null),H=(0,u.useRef)(null),j=(0,u.useState)(!1),L=l()(j,2),Z=L[0],z=L[1],Q=(0,u.useState)(!1),$=l()(Q,2),V=$[0],q=$[1],X=s.Z.useToken().token;function Y(){var oe=X.rootValue?"".concat((X.controlHeight/X.rootValue).toFixed(3),"rem"):X.controlHeight;return oe}var G=(0,u.useState)(Y),le=l()(G,2),ie=le[0],J=le[1];(0,u.useEffect)(function(){V&&E&&z(!0)},[V]);var ne=function(){var _e=U.getFieldsValue();if(_e){var ce=Object.keys(_e).filter(function(ve){return ve.startsWith("_")&&ve.endsWith("_")});ce.length>0&&ce.forEach(function(ve){return delete _e[ve]})}return Object.keys(_e).forEach(function(ve){if(_e[ve]!==void 0){var he=x.find(function(Ee){return Ee.name===ve});he!=null&&he.onFormat&&(_e[ve]=he.onFormat(_e[ve]))}}),_()(_()(_()({},R),S),_e)};(0,u.useImperativeHandle)(I,function(){return{getFormValues:ne,form:U}});var te=function(){var _e,ce,ve,he,Ee;if(!(!N.current||!k.current)){var Me=ie;k.current.childNodes.forEach(function(pe){Me<pe.clientHeight&&(Me=pe.clientHeight)}),Me!==ie&&J(Me);var Pe=(_e=N.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,Se=(ve=H.current)===null||ve===void 0||(ve=ve.getClientRects()[0])===null||ve===void 0?void 0:ve.top;if(Pe===Oe&&Pe===Se&&(q(!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)!==((Ee=k.current)===null||Ee===void 0||(Ee=Ee.getClientRects()[0])===null||Ee===void 0?void 0:Ee.top);q(Te)}}};if((0,u.useEffect)(function(){te()},[]),x.length===0)return null;var re=function(_e){_e.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]}),ae={flexWrap:Z?"wrap":"nowrap"};return(0,f.jsx)(a.default,{style:P,className:T,children:(x.length>0||B)&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(p.default.Resize,{targetRef:k,onResize:re}),(0,f.jsxs)(c.Z,{initialValues:S,form:U,onFinish:B,layout:"inline",style:ae,preserve:!1,children:[(0,f.jsx)("div",{style:{height:Z?"auto":ie},className:"".concat(K,"-adaptation"),children:(0,f.jsxs)("div",{className:"".concat(K,"-").concat(Z&&V?"expand":"collapse"),ref:k,children:[x.map(function(oe){var _e=oe.onFormat,ce=o()(oe,C);return(0,f.jsx)(t.Z.Item,_()(_()(_()({},ce),A?{label:(0,f.jsx)("div",{style:{width:A},children:ce.label})}:void 0),{},{className:"".concat(K,"-form-item"),children:ce.value||ce.children}),ce.name)}),(0,f.jsx)("div",{style:{height:1},ref:N}),Z&&ue]})}),!Z&&ue]})]})})}n.default=u.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),d=e(87887),l=e(67619),h=e(16929),i=e(18466),c=e(57439),s=e(75271),r=e(32097),u=e(52676);function p(t){var a=t.btnProps,f=t.parentHtmlId,C=(0,s.useState)(!1),D=_()(C,2),O=D[0],I=D[1],m=(0,s.useRef)(null),P=(0,s.useRef)(void 0),T=h.Z.useToken(),b=T.token;(0,s.useEffect)(function(){f&&(P.current=m.current.closest("#".concat(f))||void 0)},[]);var E=function(){if(P.current){var x=P.current||{},S=x.classList,A=x.style;O?(S==null||S.remove("".concat(r.classAtomPrefix,"-fullscreen")),A.backgroundColor="transparent"):(S==null||S.add("".concat(r.classAtomPrefix,"-fullscreen")),A.backgroundColor=b.colorBgContainer)}I(!O)};return(0,u.jsx)("span",{ref:m,children:O?(0,u.jsx)(i.ZP,o()({onClick:function(){return E()},icon:(0,u.jsx)(d.Z,{}),type:"text"},a)):(0,u.jsx)(c.Z,{title:"\u5168\u5C4F",destroyOnHidden:!0,children:(0,u.jsx)(i.ZP,o()({onClick:function(){return E()},icon:(0,u.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),d=e(93238),l=e(9889),h=e(39142),i=e(70110),c=e(56251),s=e(64723),r=e(24887),u=e(52676),p="ccs-atom",t=function(){return(0,u.jsx)(u.Fragment,{})};t.Filter=_.default,t.Operation=h.default,t.Checkbox=v.default,t.FullScreen=d.default,t.Title=c.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),d=e.n(_),l=e(85289),h=e(52676);function i(c){var s=c.style,r=c.size,u=c.className,p=c.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:d()("ccs-atom-item",u),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),d=function(h){var i=h.loading,c=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}})}),c]})})}):null};n.default=d},39142:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(55363),_=e(65351),d=e(15574),l=e(18466),h=e(57439),i=e(82187),c=e.n(i),s=e(32097),r=e(93238),u=e(32272),p=e(52676);function t(a){var f="".concat(s.classAtomPrefix,"-operation"),C=a.extraRight,D=a.extraLeft,O=a.size,I=a.parentHtmlId,m=a.style,P=a.className,T=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)(u.default,{className:c()(f,P),style:E,children:[(0,p.jsx)("div",{className:"".concat(f,"-left"),children:D}),(0,p.jsxs)("div",{className:"".concat(f,"-right"),children:[C,O&&(0,p.jsx)(d.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"})}),T&&(0,p.jsx)(h.Z,{title:"\u91CD\u7F6E",children:(0,p.jsx)(l.ZP,{onClick:T,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),d=e(75271),l=e(52676);function h(s){var r=s.onResize,u=s.option,p=(0,d.useRef)(),t=(0,d.useRef)(null),a=(0,y.Z)(t),f=(0,_.Z)(a,o()({wait:500,leading:!1,trailing:!0},u));return(0,d.useEffect)(function(){f&&(p.current&&r(f),p.current=f)},[f]),(0,l.jsx)("div",{ref:t})}function i(s){var r=s.option,u=s.targetRef,p=s.onResize,t=(0,d.useRef)(),a=(0,y.Z)(u),f=(0,_.Z)(a,o()({wait:500,leading:!1,trailing:!0},r));return(0,d.useEffect)(function(){f&&(t.current&&p(f),t.current=f)},[f]),null}function c(s){return s.targetRef?(0,l.jsx)(i,o()({},s)):(0,l.jsx)(h,o()({},s))}n.default=c},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),d=e(52676);function l(h){var i=h.children,c=h.style,s=h.className;if(!i)return null;var r=y.Z.useToken(),u=r.token;return(0,d.jsx)(_.default,{className:s,style:o()({fontSize:u.fontSizeHeading5,fontWeight:u.fontWeightStrong},c),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),d=e(82092),l=e.n(d),h=e(85899),i=e.n(h),c=e(75271),s=function(p,t){for(var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"$set",f=p.split("."),C=l()({},a,t),D=f.length-1;D>=0;D--){var O=f[D];C=l()({},O,C)}return C};function r(u){var p=(0,c.useState)(u),t=_()(p,2),a=t[0],f=t[1],C=(0,c.useCallback)(function(m){if(typeof m=="function"){f(function(P){return i()(P,m(P))});return}f(function(P){return i()(P,m)})},[]),D=(0,c.useCallback)(function(m,P){f(function(T){if(typeof m=="string"){var b=m,E=P,M=s(b,E);return i()(T,M)}else if(o()(m)==="object"&&m!==null){var x=T,S=m;return Object.entries(S).forEach(function(A){var R=_()(A,2),B=R[0],K=R[1],W=s(B,K);x=i()(x,W)}),x}return T})},[]),O=(0,c.useCallback)(function(m,P,T){var b=s(m,Array.isArray(P)?P:[P],T||"$push");f(function(E){return i()(E,b)})},[]),I=(0,c.useCallback)(function(){f(u)},[u]);return{state:a,setRaw:C,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),d=e(15558),l=e.n(d),h=e(26068),i=e.n(h),c=e(87999),s=e.n(c),r=e(48305),u=e.n(r),p=e(13443),t=e(75271),a=e(94127),f=e(81475),C=e(65173),D=e(73799);function O(m,P,T){for(;P.length>0;){var b=P.shift();P.length>0?(m[b]||(m[b]={}),O(m[b],P,T)):m[b]=T}}function I(m){var P=m.auth,T=m.rowKey,b=m.pagination,E=m.emptyDefaultOne,M=m.fieldNames,x=m.onEvent,S=m.getFormValues,A=m.onFilterOrder,R=m.onRequestCustom,B=m.request,K=(0,t.useState)({total:0,dataSource:[],pageSize:10,current:1}),W=u()(K,2),F=W[0],U=W[1],k=(0,a.default)(),N=k.onAuth,H=(0,f.useProTableFields)(),j=(0,t.useMemo)(function(){return P?N&&N(P):!0},[P]),L=(0,p.Z)(function(){var z=s()(o()().mark(function Q($){var V,q,X,Y,G,le,ie,J,ne,te,re,ue,ae,oe,_e,ce,ve,he,Ee,Me,Pe,Oe,Se,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,q=Te.length>2&&Te[2]!==void 0?Te[2]:(b?b.defaultPageSize:10)||10,X=Te.length>3?Te[3]:void 0,!(!j||!B)){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(Y=de.t0,G=i()(i()({},H),M),le=G.requestParam||{},ie=le.filters,J=ie===void 0?["filters"]:ie,ne=le.pageNo,te=ne===void 0?["pageNo"]:ne,re=le.pageSize,ue=re===void 0?["pageSize"]:re,ae=le.orderProps,oe=ae===void 0?["orderProps"]:ae,_e=le.query,ce={},_e&&_e.length>0?O(ce,l()(_e),Y):ce=Y,b!==!1&&(O(ce,l()(te),V),O(ce,l()(ue),q)),ve=(A==null?void 0:A())||{},he=ve.filters,Ee=ve.orderProps,he&&Object.keys(he).length>0&&O(ce,l()(J),he),Ee&&Ee.length>0&&O(ce,l()(oe),Ee),!R){de.next=22;break}return R($,ce.query||ce,X),de.abrupt("return");case 22:return x==null||x($,{loading:!0,params:ce}),U(function(Re){return i()(i()({},Re),{},{loading:!0})}),de.next=26,B(ce);case 26:if(Me=de.sent,x==null||x($,{loading:!1,params:ce,data:Me}),!Me){de.next=38;break}if(Pe=(0,C.getDataByNamePath)(Me,G.dataSource),E&&Pe&&Pe.length===0&&Pe.push(_()({},T||"id","0")),Oe=(0,C.getDataByNamePath)(Me,G.total),!(Oe===void 0||Pe===void 0)){de.next=36;break}return Se={dataSource:Pe,pageSize:q,current:V,total:Oe,loading:!1},U(Se),de.abrupt("return");case 36:return!Pe.length&&V!==1?L(D.DataEvent.Reload,V-1):U({current:V,pageSize:q,loading:!1,dataSource:Pe,total:Oe||0}),de.abrupt("return");case 38:U(function(Re){return i()(i()({},Re),{},{loading:!1})});case 39:case"end":return de.stop()}},Q)}));return function(Q){return z.apply(this,arguments)}}()),Z=(0,p.Z)(function(z){U(z)});return{data:F,isAuth:j,onRequest:L,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),d=e(94127),l=e(52676);function h(c){var s=c.modalRef,r=y.Z.useModal(),u=o()(r,2),p=u[0],t=u[1];return(0,_.useEffect)(function(){s.current=p},[]),(0,l.jsxs)(l.Fragment,{children:[" ",t]})}function i(c){var s=c.auth,r=c.children,u=(0,d.default)()||{},p=u.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),d=e(15574),l=e(75271),h=e(94127),i=e(52676),c=["auth","menus","children","onClick"];function s(r){var u=r.auth,p=r.menus,t=p===void 0?[]:p,a=r.children,f=r.onClick,C=_()(r,c),D=(0,h.default)()||{},O=D.onAuth,I=(0,l.useMemo)(function(){function P(T){var b=T.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=P(M.children);M.children=x.length>0?x:null}return M}).filter(function(E){return E.children!==null})}return P(t)},[t.map(function(P){return P==null?void 0:P.key}).join(",")]),m=(0,l.useMemo)(function(){if(!u)return a;var P=O&&O(u);return P?a:(0,i.jsx)(i.Fragment,{})},[]);return I.filter(function(P){return P.type!=="divider"}).length?(0,i.jsx)(d.Z,o()(o()({},C),{},{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),d=e(57499),l=e(887),h=e(8984),i=e(81465),c=e(18466),s=e(15574),r=e(75271),u=e(668),p=e(94127),t=e(52676),a=["auth","hidden"],f=["key","label","auth","confirm"],C=["key","label","disabled","auth","confirm"];function D(O){var I=O.size,m=O.isLink,P=O.showCount,T=O.moreIcon,b=O.moreText,E=O.items,M=E===void 0?[]:E,x=O.onClick,S=(0,p.default)()||{},A=S.onAuth,R=(0,r.useRef)(null),B=[];if(M.forEach(function(F){var U=F.auth,k=F.hidden,N=_()(F,a);A&&U&&!A(U)||k||B.push(N)}),!B||M.length===0)return null;var K=function(U){if(x){var k=M.find(function(H){return H.key===U});if(k&&k.confirm){var N;(N=R.current)===null||N===void 0||N.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",icon:(0,t.jsx)(d.Z,{}),centered:!0,content:k.confirm,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:function(){return x==null?void 0:x(U)}});return}x(U)}},W=B.splice(0,P||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(F){var U=F.key,k=F.label,N=F.auth,H=F.confirm,j=_()(F,f);return(0,t.jsx)(c.ZP,o()(o()({style:{padding:0}},j),{},{size:I,type:"link",onClick:function(){return K(U)},children:k}),U)})}),B.length>0&&(0,t.jsx)(s.Z,{menu:{items:B,onClick:function(U){return K(U.key)}},children:(0,t.jsx)(c.ZP,{type:"link",icon:b?null:T||(0,t.jsx)(l.Z,{}),size:"small",children:b})}),M.find(function(F){return!!F.confirm})?(0,t.jsx)(u.ModalConfirm,{modalRef:R}):null]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Z,{wrap:!0,children:W==null?void 0:W.map(function(F,U){var k=F.key,N=F.label,H=F.disabled,j=F.auth,L=F.confirm,Z=_()(F,C);return U===W.length-1&&B.length>0?(0,t.jsxs)(h.Z.Compact,{children:[(0,t.jsx)(c.ZP,o()(o()({},Z),{},{size:I,onClick:function(){return K(k)},disabled:H,children:N})),(0,t.jsx)(s.Z,{menu:{items:B,onClick:function(Q){return K(Q.key)}},children:(0,t.jsx)(c.ZP,{icon:b?null:T||(0,t.jsx)(l.Z,{}),children:b})})]},k):(0,t.jsx)(c.ZP,o()(o()({},Z),{},{size:I,disabled:H,onClick:function(){return K(k)},children:N}),k)})}),M.find(function(F){return!!F.confirm})?(0,t.jsx)(u.ModalConfirm,{modalRef:R}):null]})}},668:function(g,n,e){"use strict";e.r(n),e.d(n,{ModalConfirm:function(){return C}});var v=e(26068),o=e.n(v),y=e(67825),_=e.n(y),d=e(48305),l=e.n(d),h=e(57499),i=e(46960),c=e(18466),s=e(19152),r=e(75271),u=e(94127),p=e(32375),t=e(75419),a=e(52676),f=["auth","text","confirm","disabled","inputConfirm","onClick"];function C(O){var I=O.modalRef,m=i.Z.useModal(),P=l()(m,2),T=P[0],b=P[1];return(0,r.useEffect)(function(){I.current=T},[]),(0,a.jsxs)(a.Fragment,{children:[" ",b]})}function D(O){var I=O.auth,m=O.text,P=O.confirm,T=O.disabled,b=O.inputConfirm,E=O.onClick,M=_()(O,f),x=(0,u.default)()||{},S=x.onAuth,A=(0,r.useRef)(null),R=(0,r.useRef)(null),B=(0,a.jsxs)(c.ZP,o()(o()({},M),{},{onClick:function(F){if(E){if(P){var U;(U=A.current)===null||U===void 0||U.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",icon:(0,a.jsx)(h.Z,{}),centered:!0,content:(0,a.jsxs)(a.Fragment,{children:[P,b&&(0,a.jsx)(s.Z,{ref:R,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 j;if(((j=R.current)===null||j===void 0||(j=j.input)===null||j===void 0?void 0:j.value)===b)E(F),N(!0);else{var L=document.getElementById("_inputConfirmError");if(L)L.innerHTML="\u8F93\u5165\u9A8C\u8BC1\u5931\u8D25\uFF01";else{var Z;(Z=R.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(F)}});return}E(F)}},disabled:T,children:[m,M.children]}));if(!I)return(0,a.jsxs)(a.Fragment,{children:[B,P?(0,a.jsx)(C,{modalRef:A}):null]});var K=S&&S(I);return(0,a.jsxs)(a.Fragment,{children:[K?B:(0,a.jsx)(a.Fragment,{}),P?(0,a.jsx)(C,{modalRef:A}):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),d=e(87999),l=e.n(d),h=e(67825),i=e.n(h),c=e(15558),s=e.n(c),r=e(11048),u=e(11066),p=e(75271),t=e(65173),a=e(52676),f=["request","cache","fieldNames","defaultParams"];function C(P){return Array.isArray(P)?P:[P]}function D(){for(var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0,b=arguments.length>2?arguments[2]:void 0,E=arguments.length>3?arguments[3]:void 0,M=P,x=s()(T),S=s()(b),A=s()(E);x.length>0||S.length>0;){if(Array.isArray(M)){M.forEach(function(B){B.label=(0,t.getDataByNamePath)(B,x),B.value=(0,t.getDataByNamePath)(B,S),B.children=D((0,t.getDataByNamePath)(B,A),x,S,A)});break}x.shift(),A.shift();var R=S.shift();R&&(M=M[R])}return M}function O(P){var T=P.request,b=P.cache,E=P.fieldNames,M=P.defaultParams,x=M===void 0?{}:M,S=i()(P,f),A=s()(C((E==null?void 0:E.label)||["data","label"])),R=s()(C((E==null?void 0:E.value)||["data","value"])),B=s()(C((E==null?void 0:E.children)||["data","children"])),K=(0,r.Z)(function(){var N=l()(_()().mark(function H(j){var L;return _()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:if(T){z.next=2;break}return z.abrupt("return",[]);case 2:return z.next=4,T(j);case 4:return L=z.sent,z.abrupt("return",D(L,A,R,B));case 6:case"end":return z.stop()}},H)}));return function(H){return N.apply(this,arguments)}}(),o()({manual:!0},b||{})),W=K.loading,F=K.data,U=F===void 0?[]:F,k=K.run;return(0,p.useEffect)(function(){T&&k(x)},[JSON.stringify(x)]),(0,a.jsx)(u.Z,o()({options:U,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),d=e(48305),l=e.n(d),h=e(10077),i=e(60686),c=e(27947),s=e(81465),r=e(6052),u=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),P=m[0],T=m[1];return{label:P,colors:T,key:P}})}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 C(O){var I=O.mode,m=I===void 0?"single":I,P=O.children,T=O.onChange,b=_()(O,t),E=function(){var A=b.value;if(typeof A=="string")return A;if(Array.isArray(A))return"linear-gradient(".concat(A.map(function(R){return"".concat(R.color," ").concat(R.percent,"%")}).join(","),")")},M=function(A,R){var B=R.components,K=B.Picker,W=B.Presets;return(0,p.jsxs)(i.Z,{justify:"space-between",wrap:!1,style:{width:420},children:[(0,p.jsx)(c.Z,{span:12,children:(0,p.jsx)(W,{})}),(0,p.jsx)(s.Z,{type:"vertical",style:{height:"auto"}}),(0,p.jsxs)(c.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)(u.Z,o()(o()({className:"ccs-color-picker",allowClear:!0,showText:!0,mode:m,onChange:function(A,R){if(T){var B=A.getColors();if(B.length>1){var K=B.map(function(W){return{color:W.color.toRgbString(),percent:W.percent}});T(K,R);return}if(B.length===1){T(A.toCssString(),R);return}}},onClear:function(){T&&T(void 0,"")},presets:f,panelRender:M},b),{},{children:P||x()}))}var D=C},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),d=e(48305),l=e.n(d),h=e(94129),i=e(8890),c=e(15771),s=e(46960),r=e(16929),u=e(96586),p=e(8033),t=e(34336),a=e(75271),f=e(56973),C=e(31939),D=e(35119),O=e(73801),I=e(52676),m=["theme","prefixCls"],P=["token","components"];function T(){var x=i.ZP.useMessage(),S=l()(x,2),A=S[0],R=S[1],B=c.ZP.useNotification(),K=l()(B,2),W=K[0],F=K[1],U=s.Z.useModal(),k=l()(U,2),N=k[0],H=k[1];return(0,a.useState)(function(){D.default.setConfig(A,W,N)}),(0,I.jsxs)(I.Fragment,{children:[R,F,H]})}function b(x){return x}function E(x){var S=x.children,A=x.theme,R=A===void 0?"light":A,B=x.isCompact,K=x.watermark,W=x.antConfig,F=x.fieldNames,U=a.useRef(null),k=R==="dark"?h.$_:h.uH,N=W||{},H=N.theme,j=N.prefixCls,L=j===void 0?"ant":j,Z=_()(N,m),z=H||{},Q=z.token,$=z.components,V=_()(z,P),q=function(){var G=R==="dark"?[r.Z.darkAlgorithm]:[r.Z.defaultAlgorithm];return B&&G.push(r.Z.compactAlgorithm),G},X=o()(o()({},k.token),Q);return R==="dark"&&(X.colorBgContainer="rgb(36, 37, 37)"),(0,I.jsx)(u.default,o()(o()({locale:t.default,prefixCls:L},Z),{},{theme:o()(o()(o()({},k),V),{},{token:X,components:o()(o()({},k.components),$),algorithm:q()}),children:(0,I.jsxs)(f.AppConfigContext.Provider,{value:{theme:R,dialogHolderRef:U,fieldNames:F},children:[S,(0,I.jsx)(T,{}),(0,I.jsx)(C.DialogElementsHolder,{ref:U},"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 d},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({}),d=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),d=e(92167),l=e(17888),h=e.n(l),i=e(52676),c=["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 u(t){var a=t.value,f=t.onChange,C=_()(t,c),D=function(m,P){f&&f(P||void 0)},O=typeof a=="string"?h()(a):a;return(0,i.jsx)(d.default,o()({value:O,onChange:D},C))}function p(t){var a=t.value,f=t.onChange,C=_()(t,s),D=function(){if(Array.isArray(a)){var m=a[0]?h()(a[0]):void 0,P=a[1]?h()(a[1]):void 0;return[m,P]}return null},O=function(m,P){f&&f(P||void 0)};return(0,i.jsx)(d.default.RangePicker,o()({presets:C.picker==="date"||!C.picker?r:void 0,value:D(),onChange:O},C))}u.RangePicker=p,n.default=u},94350:function(g,n,e){"use strict";e.r(n);var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),d=e(67825),l=e.n(d),h=e(26068),i=e.n(h),c=e(48305),s=e.n(c),r=e(9228),u=e(82187),p=e.n(u),t=e(75271),a=e(85289),f=e(22818),C=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"],P=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}),A=s()(S,2),R=A[0],B=A[1],K=(0,t.useRef)(null),W=(0,t.useRef)(null),F=(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 U=function(){E()},k=R.auth,N=R.form,H=R.content,j=R.extraBtn,L=R.className,Z=R.rootStyle,z=R.getContainer,Q=R.requestFieldNames,$=R.preventRequestHandle,V=R.contextParam,q=R.request,X=R.onClose,Y=R.onOk,G=l()(R,m),le=function(){var re=_()(o()().mark(function ue(){return o()().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:B(function(_e){return i()(i()({},_e),{},{open:!1})}),X&&X();case 2:case"end":return oe.stop()}},ue)}));return function(){return re.apply(this,arguments)}}();(0,t.useImperativeHandle)(x,function(){return{destroy:le,update:function(ue){B(function(ae){return i()(i()({},ae),ue)})}}});var ie=function(){var ue=document.body.querySelectorAll('[id*="_tab_content_"][data-display="true"]');if(ue.length>0)return ue[0]},J="getContainer"in R,ne=R.styles||{};ne.mask=i()({background:"rgba(0, 0, 0, 0.1)"},ne.mask);var te=(0,t.useMemo)(function(){return(0,I.jsx)(f.DialogButtonHolder,{auth:k,request:q,onClose:le,onOk:Y,formRef:F,extraBtn:j,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&&U()},extra:te,footer:(0,I.jsx)(D.FooterButtonHolder,{buttonRef:W})},G),{},{onClose:le,className:p()("ccs-dialog-drawer",L),styles:ne,rootStyle:i()(i()({},J?{}:{position:"absolute"}),Z),getContainer:J?z:ie,children:(0,I.jsx)(C.DialogContentContext.Provider,{value:{formRef:F,buttonRef:K,contextParam:V,buttonType:"drawer",onOkCallBack:Y,closeDialog:le,request:q,drawerFooterRef:W,formInitialValues:(N==null?void 0:N.initialValues)||{}},children:N?(0,I.jsx)(O.default,{formRef:F,formProps:N,children:H}):H})}))};n.default=P},93261:function(g,n,e){"use strict";e.r(n);var v=e(90228),o=e.n(v),y=e(87999),_=e.n(y),d=e(67825),l=e.n(d),h=e(48305),i=e.n(h),c=e(26068),s=e.n(c),r=e(46960),u=e(82187),p=e.n(u),t=e(75271),a=e(79176),f=e.n(a),C=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"],P=function(E){var M=E.modal,x=E.dragState,S=E.onDragState,A=(0,t.useRef)(null),R=function(K,W){var F,U=window.document.documentElement,k=U.clientWidth,N=U.clientHeight,H=(F=A.current)===null||F===void 0?void 0:F.getBoundingClientRect();H&&S(function(j){return s()(s()({},j),{},{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:A,disabled:x.disabled,bounds:x.bounds,onStart:R,children:(0,I.jsx)("div",{ref:A,children:M})})},T=function(E){var M=E.dialogRef,x=E.afterClose,S=E.config,A=(0,t.useState)(function(){return S.open===void 0?s()(s()({},S),{},{open:!0}):S}),R=i()(A,2),B=R[0],K=R[1],W=(0,t.useState)({disabled:!0,bounds:{left:0,top:0,bottom:0,right:0}}),F=i()(W,2),U=F[0],k=F[1],N=(0,t.useRef)(null),H=(0,t.useRef)(null),j=function(){var oe;S.destroyOnClose!==!1&&S.destroyOnHidden!==!1&&x(),(oe=B.afterClose)===null||oe===void 0||oe.call(B)},L=B.auth,Z=B.form,z=B.title,Q=B.content,$=B.extraBtn,V=B.className,q=B.footer,X=B.contextParam,Y=B.preventRequestHandle,G=B.requestFieldNames,le=B.onOk,ie=B.request,J=B.onClose,ne=l()(B,m),te=function(){var ae=_()(o()().mark(function oe(){return o()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:K(function(ve){return s()(s()({},ve),{},{open:!1})}),J&&J();case 2:case"end":return ce.stop()}},oe)}));return function(){return ae.apply(this,arguments)}}();(0,t.useImperativeHandle)(M,function(){return{destroy:te,update:function(oe){K(function(_e){return s()(s()({},_e),oe)})}}});var re=(0,t.useMemo)(function(){return(0,I.jsx)(C.DialogButtonHolder,{auth:L,request:ie,onClose:te,onOk:le,formRef:H,extraBtn:$,formInitialValues:Z==null?void 0:Z.initialValues,buttonRef:N,preventRequestHandle:Y,requestFieldNames:G})},[]),ue=(0,I.jsx)("div",{style:{width:"100%",cursor:"move"},onMouseOver:function(){U.disabled&&k(function(oe){return s()(s()({},oe),{},{disabled:!1})})},onMouseOut:function(){k(function(oe){return s()(s()({},oe),{},{disabled:!0})})},children:z});return(0,I.jsx)(r.Z,s()(s()({onCancel:te,afterClose:j},ne),{},{className:p()("ccs-dialog-modal",V),footer:q===null?null:re,title:ue,modalRender:function(oe){return(0,I.jsx)(P,{modal:oe,dragState:U,onDragState:k})},children:(0,I.jsx)(D.DialogContentContext.Provider,{value:{formRef:H,buttonRef:N,contextParam:X,buttonType:"modal",request:ie,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=T},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),d=e(87999),l=e.n(d),h=e(31759),i=e.n(h),c=e(48305),s=e.n(c),r=e(68144),u=e(18466),p=e(80729),t=e(75271),a=e(50712),f=e(668),C=e(81475),D=e(65173),O=e(52676),I=function(T){var b=T.auth,E=T.extraBtn,M=T.formRef,x=T.request,S=T.onOk,A=T.onClose,R=T.buttonRef,B=T.requestFieldNames,K=T.formInitialValues,W=T.preventRequestHandle,F=(0,t.useState)(),U=s()(F,2),k=U[0],N=U[1],H=(0,t.useState)(!1),j=s()(H,2),L=j[0],Z=j[1],z=(0,C.useBaseFields)();(0,t.useImperativeHandle)(R,function(){return{onSetButtons:function(q){N(q)}}});var Q=function(q,X){if(S){var Y=S(q,X);if(typeof Y=="boolean"&&Y===!1)return;if(i()(Y)==="object"&&Y.then){Z(!0),Y.then(function(G){Z(!1),G!==!1&&A()});return}A()}else A()},$=function(){var V=l()(o()().mark(function q(){var X,Y,G,le;return o()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(Y={},G=(X=M.current)===null||X===void 0?void 0:X.formInstance,!G){J.next=7;break}return J.next=5,G.validateFields();case 5:le=J.sent,Y=_()(_()({},K),le);case 7:if(!x){J.next=11;break}return Z(!0),x(Y).then(function(ne){if(Z(!1),W){Q(Y,ne);return}var te=_()(_()({},z),B),re=(0,D.getDataByNamePath)(ne,te.success),ue=(0,D.getDataByNamePath)(ne,te.msg);re===te.successTag&&Q(Y,ne),a.default.easyMessage({success:re===te.successTag,msg:ue})}).catch(function(ne){Z(!1),console.log("err",ne)}),J.abrupt("return");case 11:Q(Y);case 12:case"end":return J.stop()}},q)}));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)(u.ZP,{onClick:A,children:"\u53D6\u6D88"}),(0,O.jsx)(f.default,{auth:b,type:"primary",loading:L,onClick:$,children:"\u786E\u5B9A"})]})};function m(P){var T=P.children,b=P.hideCancel,E=P.cancelText,M=P.onOk,x=P.okBtnProps,S=a.default.useInstance(),A=S.buttonRef,R=S.buttonType,B=S.formInitialValues,K=S.closeDialog,W=S.onOkCallBack,F=S.request,U=p.Z.useFormInstance();r.default.showWarning(!F,"\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 j(){var L,Z,z;return o()().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(L={},!U){$.next=6;break}return $.next=4,U.validateFields();case 4:Z=$.sent,L=_()(_()({},B),Z);case 6:if(M){$.next=10;break}return K(),W==null||W(L),$.abrupt("return");case 10:if(z=M(L),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()}},j)}));return function(){return H.apply(this,arguments)}}(),N=r.default.mergeProps({type:"primary",text:"\u786E\u5B9A"},x);return(0,t.useEffect)(function(){var H,j=(0,O.jsxs)(O.Fragment,{children:[!b&&(0,O.jsx)(u.ZP,{onClick:K,children:E||"\u53D6\u6D88"}),T,(x||M)&&(0,O.jsx)(f.default,_()(_()({},N),{},{onClick:k}))]});R==="modal"&&(j=(0,O.jsx)(O.Fragment,{children:j})),(H=A.current)===null||H===void 0||H.onSetButtons(j)}),(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 d=(0,v.useContext)(o);if(d===void 0)throw new Error("DialogContentContext not found");return d}},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),d=e(52676),l=[{key:"bottom",label:"bottom"},{key:"left",label:"left"},{key:"top",label:"top"}];function h(){var i=v.default.useDialog(),c=i.openDrawer,s=i.openModal,r=function(){s({title:"Modal",content:(0,d.jsx)("div",{children:"CcsModal content..."}),footer:null})},u=function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"right";c({title:"Drawer",width:300,content:(0,d.jsx)("div",{children:"CcsDrawer content..."}),placement:f})},p=function(){c({title:"Drawer",content:(0,d.jsx)("div",{children:"CcsDrawer content..."}),width:"100%",height:"100%",getContainer:void 0})},t=function(f){u(f.key)};return(0,d.jsxs)(o.Z,{style:{padding:"0 16px"},children:[(0,d.jsx)(y.ZP,{onClick:r,children:"modal"}),(0,d.jsx)(_.Z.Button,{menu:{items:l,onClick:t},onClick:function(){return u()},children:"drawer"}),(0,d.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),d=e(75271),l=e(52676);function h(){var i=v.default.useDialog(),c=i.openModal,s=i.openDrawer,r=(0,d.useRef)(),u=(0,d.useRef)();return(0,d.useEffect)(function(){r.current=c({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"}]})}),u.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=u.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),d=e(36075),l=e.n(d),h=e(50712),i=e(11048),c=e(80729),s=e(18466),r=e(19152),u=e(8984),p=e(99930),t=e(52676),a=c.Z.Item,f=function(m){return l()(m),new Promise(function(P){setTimeout(function(){P({success:!0,msg:"\u64CD\u4F5C\u5931\u8D25"})},500)})};function C(){var I=h.default.useInstance(),m=I.closeDialog,P=(0,i.Z)(f,{manual:!0}),T=P.runAsync,b=P.loading,E=(0,p.default)(),M=E.getFieldsValue,x=function(){var S=_()(o()().mark(function A(R){var B;return o()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,T(R);case 2:return B=W.sent,h.default.easyMessage({success:B.success,msg:B.msg}),W.abrupt("return",B);case 5:case"end":return W.stop()}},A)}));return function(R){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,P=I.closeDialog;function T(){return b.apply(this,arguments)}function b(){return b=_()(o()().mark(function E(){var M,x;return o()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.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=A.sent,console.log("values",x),P();case 5:case"end":return A.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)(u.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 P()},children:"\u53D6\u6D88"}),(0,t.jsx)(s.ZP,{onClick:T,type:"primary",children:"\u786E\u5B9A"})]})})]})}function O(){var I=h.default.useDialog(),m=I.openModal,P=I.openDrawer,T=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)(C,{}),styles:{body:{paddingBottom:0}},onOk:function(S){console.log("ok...",S)}})},b=function(){P({title:"Drawer",form:{initialValues:{fieldA:"testa",fieldB:"testb"},labelCol:{span:6},wrapperCol:{span:16}},width:500,content:(0,t.jsx)(C,{})})},E=function(){P({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)(u.Z,{style:{padding:"0 16px"},children:[(0,t.jsx)(s.ZP,{onClick:T,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),d=e(52676),l=function(c){var s=c.buttonRef,r=(0,y.useState)(),u=o()(r,2),p=u[0],t=u[1];return(0,y.useImperativeHandle)(s,function(){return{onSetButtons:function(f){t(f)}}}),(0,d.jsx)(d.Fragment,{children:p})};function h(i){var c=i.children,s=_.default.useInstance(),r=s.drawerFooterRef;return(0,y.useEffect)(function(){var u,p=(0,d.jsx)(d.Fragment,{children:c});r==null||(u=r.current)===null||u===void 0||u.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),d=e(80729),l=e(75271),h=e(52676),i=function(s){var r=s.formRef,u=s.children,p=s.formProps,t=d.Z.useForm(),a=_()(t,1),f=a[0];(0,l.useImperativeHandle)(r,function(){return{formInstance:f}});var C=p.layout==="horizontal"||!p.layout,D=C?{labelCol:{span:7},wrapperCol:{span:16}}:void 0;return(0,h.jsx)(d.Z,o()(o()(o()({form:f,preserve:!1},D),p),{},{children:u}))};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),d=e(68144),l=e(86763),h=e.n(l),i=e(75271),c=e(38751),s=e(94127),r=e(81475),u=e(94350),p=e(93261),t=e(3833),a=e(52676),f=i.memo(i.forwardRef(function(m,P){var T=(0,t.default)(),b=_()(T,2),E=b[0],M=b[1];return i.useImperativeHandle(P,function(){return{patchElement:M}},[]),(0,a.jsx)(a.Fragment,{children:E})})),C=0,D=0,O=[];function I(){var m=i.useRef(null),P=i.useState([]),T=_()(P,2),b=T[0],E=T[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 A=i.useCallback(function(K){C+=1;var W=i.createRef();console.log("config2",K);var F,U=(0,a.jsx)(p.default,{config:K,afterClose:function(){var Z;(Z=F)===null||Z===void 0||Z()},dialogRef:W},"modal-".concat(C)),k=m.current?m:S;if(k!=null&&k.current)F=k.current.patchElement(U);else{d.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,c.createRoot)(N);H.render((0,a.jsx)(a.Fragment,{children:U})),F=function(){setTimeout(function(){H.unmount()},500)}}F&&O.push(F);var j={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 j},[]),R=i.useCallback(function(K){D+=1;var W=i.createRef(),F,U=(0,a.jsx)(u.default,{config:K,afterClose:function(){var z;(z=F)===null||z===void 0||z()},dialogRef:W},"drawer-".concat(D)),k=m.current?m:S;if(k!=null&&k.current){var N;F=(N=k.current)===null||N===void 0?void 0:N.patchElement(U)}else{d.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 j=(0,c.createRoot)(H);j.render((0,a.jsx)(a.Fragment,{children:U})),F=function(){setTimeout(function(){j.unmount()},500)}}F&&O.push(F);var L={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 L},[]),B=i.useMemo(function(){return{openModal:h()(function(K){return A(K)},500,{leading:!0,trailing:!1}),openDrawer:h()(function(K){return R(K)},500,{leading:!0,trailing:!1})}},[]);return{openDrawer:B.openDrawer,openModal:B.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),d=e(31939),l=v.default;l.Buttons=o.default,l.useDialog=d.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),d=e(75271);function l(){var h=d.useState([]),i=_()(h,2),c=i[0],s=i[1],r=d.useCallback(function(u){return s(function(p){return[].concat(o()(p),[u])}),function(){s(function(p){return p.filter(function(t){return t!==u})})}},[]);return[c,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),d=e(93325),l=e(82187),h=e.n(l),i=e(81475),c=e(50796),s=e(83857),r=e(52676),u=["placeholder","height","variant","className","extensions","disabled","styles","size","theme"];function p(t){var a=t.placeholder,f=a===void 0?"\u8BF7\u8F93\u5165":a,C=t.height,D=C===void 0?150:C,O=t.variant,I=O===void 0?"outlined":O,m=t.className,P=t.extensions,T=P===void 0?[]:P,b=t.disabled,E=t.styles,M=t.size,x=M===void 0?"middle":M,S=t.theme,A=_()(t,u),R=(0,i.default)(),B=S||R.theme||"light",K=(0,c.default)({height:D,styles:E,variant:I,size:x}),W=K.styles.root,F=K.onActived;return(0,r.jsx)(d.default,o()(o()({onFocus:function(){return F(!0)},onBlur:function(){return F(!1)},style:W,readOnly:b,extensions:T,placeholder:f,theme:B},A),{},{className:h()("ccs-editor",m,{"ccs-editor-fill":I==="filled"&&B==="light"})}))}},81777:function(g,n,e){"use strict";e.r(n);var v=e(36075),o=e.n(v),y=e(51561),_=e(68240),d=e(80932),l=e(24605),h=e(39445),i=e(53056),c=e(52676);function s(r){return o()(r),(0,c.jsx)(c.Fragment,{})}s.Json=_.default,s.Js=y.default,s.Sql=l.default,s.Yaml=i.default,s.Xml=h.default,s.Rich=d.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),d=e(52676);function l(h){return(0,d.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 c}});var v=e(26068),o=e.n(v),y=e(37441),_=e(8435),d=e(47107),l=e(29175),h=e(52676),i=(0,d.linter)(function(s){var r=[];return(0,_.syntaxTree)(s.state).cursor().iterate(function(u){u.name==="\u26A0"&&r.push({from:u.from,to:u.to,severity:"error",message:"JSON\u9519\u8BEF"})}),r});function c(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 C},default:function(){return D}});var v=e(26068),o=e.n(v),y=e(81475),_=e(50796),d=e(27741),l=e(13343),h=e(85600),i=e(7214),c=e(69157),s=e(69838),r=e(54249),u=e(75271),p=e(92523),t=e(86638),a=e(56062),f=e(52676),C=u.createContext({});function D(O){var I=O.disabled,m=O.height,P=m===void 0?150:m,T=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,A=S===void 0?"middle":S,R=O.imageUpload,B=O.plugins,K=O.editorConfig,W=O.onChange,F=(0,y.default)(),U=F.theme||"light",k=(0,_.default)({height:P,styles:T,variant:E,size:A,theme:U}),N=k.styles,H=N.root,j=N.inner,L=N.toolbarStyles,Z=N.placeholderStyles,z=N.background,Q=k.onActived;return(0,f.jsx)(C.Provider,{value:{imageUpload:R},children:(0,f.jsx)(d.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:L}),(0,f.jsxs)("div",{className:"editor-inner",style:j,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)(c.LinkPlugin,{}),B]})]})})})}},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 _(d){return/^rgb\(\d+, \d+, \d+\)$/.test(d)?d:""}},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),d=e(16929),l=e(19152),h=e(18466),i=e(75271),c=e(52676);function s(r){var u=r.onClose,p=r.onOk,t=r.code,a=(0,i.useState)(t),f=o()(a,2),C=f[0],D=f[1],O=d.Z.useToken(),I=O.token;return(0,c.jsx)("div",{className:"css-editor-code",style:{background:I.colorBgContainer},children:(0,c.jsxs)("div",{className:"css-editor-code-content",children:[(0,c.jsx)(l.Z.TextArea,{style:{height:"100%"},variant:"filled",value:C,onChange:function(P){return D(P.target.value)}}),(0,c.jsxs)("div",{className:"css-editor-code-btn",children:[(0,c.jsx)(h.ZP,{onClick:u,icon:(0,c.jsx)(y.Z,{}),size:"small",children:"\u8FD4\u56DE"}),(0,c.jsx)(h.ZP,{style:{marginLeft:10},icon:(0,c.jsx)(_.Z,{}),onClick:function(){return p(C)},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),d=e(52608),l=e(22668),h=e(82348),i=e(12335),c=e(37101),s=e(76371),r=e(91319),u=e(37535),p=e(32791),t=e(86346),a=e(23455),f=e(14875),C=e(24799),D=e(48666),O=e(63552),I=e(1775),m=e(34073),P=e(83346),T=e(20509),b=e(80729),E=e(46960),M=e(19152),x=e(54999),S=e(57439),A=e(18466),R=e(81465),B=e(6052),K=e(71794),W=e(75271),F=e(14635),U=e(32097),k=e(35030),N=e(85289),H=e(67764),j=e(6145),L=e(52676);function Z($){var V=$.onCancel,q=$.onOk,X=b.Z.useForm(),Y=o()(X,1),G=Y[0];function le(){G.validateFields().then(function(ie){q(ie),V()})}return(0,L.jsx)(L.Fragment,{children:(0,L.jsx)(E.Z,{open:!0,destroyOnHidden:!0,onCancel:V,onOk:le,children:(0,L.jsxs)(b.Z,{form:G,initialValues:{url:"http://",target:"_self"},layout:"horizontal",labelCol:{span:6},wrapperCol:{span:15},children:[(0,L.jsx)(b.Z.Item,{label:"url",name:"url",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5"}],children:(0,L.jsx)(M.Z,{})}),(0,L.jsx)(b.Z.Item,{label:"\u8BF4\u660E",name:"title",children:(0,L.jsx)(M.Z,{})}),(0,L.jsx)(b.Z.Item,{label:"\u7C7B\u578B",name:"target",children:(0,L.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,q=$.disabled,X=(0,m.useLexicalComposerContext)(),Y=o()(X,1),G=Y[0],le=(0,W.useContext)(F.EditorRichContext),ie=le.imageUpload,J=U.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:""}),ne=J.state,te=J.setByPath,re=ne.canRedo,ue=ne.canUndo,ae=ne.isBold,oe=ne.isItalic,_e=ne.isUnderline,ce=ne.isStrikethrough,ve=ne.isUpload,he=ne.isLinkOpen,Ee=ne.isLink,Me=ne.fontSize,Pe=ne.fontFamily,Oe=ne.fontColor,Se=ne.bgColor,Te=ne.codeEdit,pe=(0,W.useCallback)(function(se){G.update(function(){var xe=(0,K.$getSelection)();(0,K.$isRangeSelection)(xe)&&(0,P.$patchStyleText)(xe,se)})},[G]),de=(0,W.useCallback)(function(se){pe({"font-size":se}),te("fontSize",se)},[pe]),Re=(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)},ke=function(xe){G.dispatchCommand(K.FORMAT_ELEMENT_COMMAND,xe)},Fe=[{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,P.$getSelectionStyleValueForProperty)(se,"font-size","16px"),fontFamily:(0,P.$getSelectionStyleValueForProperty)(se,"font-family","inherit"),fontColor:(0,P.$getSelectionStyleValueForProperty)(se,"color","#000000"),bgColor:(0,P.$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,T.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)},me=(0,W.useCallback)(function(){Ee?G.dispatchCommand(I.TOGGLE_LINK_COMMAND,null):te("isLinkOpen",!0)},[G,Ee]),fe=q,ye=function(xe){G.update(function(){if(Te!==xe){var Ke=new DOMParser,Ze=Ke.parseFromString(xe||"","text/html"),He=(0,O.$generateNodesFromDOM)(G,Ze);(0,K.$getRoot)().clear(),(0,K.$getRoot)().select(),(0,K.$insertNodes)(He)}te("codeEdit","")})};return(0,L.jsxs)("div",{className:"ccs-editor-toolbar",style:V,children:[(0,L.jsx)(S.Z,{title:"\u64A4\u9500",children:(0,L.jsx)(A.ZP,{disabled:!ue||fe,onClick:function(){G.dispatchCommand(K.UNDO_COMMAND,void 0)},icon:(0,L.jsx)(y.Z,{}),type:"text"})}),(0,L.jsx)(S.Z,{title:"\u91CD\u505A",children:(0,L.jsx)(A.ZP,{disabled:!re||fe,onClick:function(){G.dispatchCommand(K.REDO_COMMAND,void 0)},icon:(0,L.jsx)(_.Z,{}),type:"text"})}),(0,L.jsx)(R.Z,{type:"vertical"}),(0,L.jsx)(S.Z,{title:"\u52A0\u7C97",children:(0,L.jsx)(A.ZP,{disabled:fe,onClick:function(){Ue("bold")},icon:(0,L.jsx)(d.Z,{}),type:ae?"link":"text"})}),(0,L.jsx)(S.Z,{title:"\u659C\u4F53",children:(0,L.jsx)(A.ZP,{disabled:fe,onClick:function(){Ue("italic")},icon:(0,L.jsx)(l.Z,{}),type:oe?"link":"text"})}),(0,L.jsx)(S.Z,{title:"\u4E0B\u5212\u7EBF",children:(0,L.jsx)(A.ZP,{disabled:fe,onClick:function(){Ue("underline")},icon:(0,L.jsx)(h.Z,{}),type:_e?"link":"text"})}),(0,L.jsx)(S.Z,{title:"\u5220\u9664\u7EBF",children:(0,L.jsx)(A.ZP,{disabled:fe,onClick:function(){Ue("strikethrough")},icon:(0,L.jsx)(i.Z,{}),type:ce?"link":"text"})}),(0,L.jsx)(R.Z,{type:"vertical"}),(0,L.jsx)(S.Z,{title:"\u5DE6\u5BF9\u9F50",children:(0,L.jsx)(A.ZP,{disabled:fe,onClick:function(){ke("left")},icon:(0,L.jsx)(c.Z,{}),type:"text"})}),(0,L.jsx)(S.Z,{title:"\u4E2D\u95F4\u5BF9\u9F50",children:(0,L.jsx)(A.ZP,{disabled:fe,onClick:function(){ke("center")},icon:(0,L.jsx)(s.Z,{}),type:"text"})}),(0,L.jsx)(S.Z,{title:"\u53F3\u5BF9\u9F50",children:(0,L.jsx)(A.ZP,{disabled:fe,onClick:function(){ke("right")},icon:(0,L.jsx)(r.Z,{}),type:"text"})}),(0,L.jsx)(S.Z,{title:"\u4E24\u6BB5\u5BF9\u9F50",children:(0,L.jsx)(A.ZP,{disabled:fe,onClick:function(){ke("justify")},icon:(0,L.jsx)(u.Z,{}),type:"text"})}),(0,L.jsx)(S.Z,{title:"\u56FE\u7247\u4E0A\u4F20",children:(0,L.jsx)(A.ZP,{type:"text",disabled:fe,icon:(0,L.jsx)(p.Z,{}),onClick:function(){return te("isUpload",!0)}})}),(0,L.jsx)(S.Z,{title:Ee?"\u53D6\u6D88\u8D85\u94FE\u63A5":"\u6DFB\u52A0\u8D85\u94FE\u63A5",children:(0,L.jsx)(A.ZP,{type:"text",icon:Ee?(0,L.jsx)(t.Z,{}):(0,L.jsx)(a.Z,{}),onClick:function(){return me()},disabled:fe})}),(0,L.jsx)(R.Z,{type:"vertical"}),(0,L.jsx)(k.default,{value:Oe,onChange:function(xe){return Ae(xe)},children:(0,L.jsx)(S.Z,{title:"\u5B57\u4F53\u989C\u8272",children:(0,L.jsx)(A.ZP,{disabled:fe,style:{color:Oe},icon:(0,L.jsx)(f.Z,{}),type:"text"})})}),(0,L.jsx)(k.default,{value:Se,onChange:function(xe){return Be(xe)},children:(0,L.jsx)(S.Z,{title:"\u80CC\u666F\u8272",children:(0,L.jsx)(A.ZP,{disabled:fe,style:{color:Se},icon:(0,L.jsx)(C.Z,{}),type:"text"})})}),(0,L.jsx)(R.Z,{type:"vertical"}),(0,L.jsx)(S.Z,{title:"\u5B57\u4F53",children:(0,L.jsx)(B.default,{value:Pe,options:z,variant:"filled",size:"small",onChange:Re,style:{marginRight:6,width:80},popupMatchSelectWidth:200})}),(0,L.jsx)(S.Z,{title:"\u5B57\u4F53\u5927\u5C0F",children:(0,L.jsx)(B.default,{value:Me,options:Fe,variant:"filled",size:"small",onChange:de})}),(0,L.jsx)(R.Z,{type:"vertical"}),(0,L.jsx)(A.ZP,{size:"small",type:"text",onClick:function(){G.read(function(){var xe=(0,D.$onGenerateHTML)(G);te("codeEdit",xe)})},children:"\u6E90\u7801"}),(0,L.jsx)(A.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&&(ie==null?void 0:ie.uploadRequest)&&(0,L.jsx)(j.default,{onCancel:function(){return te("isUpload",!1)}}),he&&(0,L.jsx)(Z,{onOk:ee,onCancel:function(){return te("isLinkOpen",!1)}}),!!Te&&(0,L.jsx)(H.default,{code:Te,onOk:ye,onClose:function(){return te("codeEdit","")}})]})}},6145:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return T}});var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),d=e(87999),l=e.n(d),h=e(48305),i=e.n(h),c=e(64276),s=e(34073),r=e(80729),u=e(46960),p=e(54999),t=e(19152),a=e(71794),f=e(75271),C=e(14635),D=e(80882),O=e(92523),I=e(83844),m=e(52676),P=function(E){return E?typeof E=="number"?E+"px":E.endsWith("px")||E.endsWith("%")?E:parseInt(E)+"px":"100%"};function T(b){var E=b.imageProps,M=E===void 0?{urlType:"url"}:E,x=b.onCancel,S=(0,s.useLexicalComposerContext)(),A=i()(S,1),R=A[0],B=(0,f.useContext)(C.EditorRichContext),K=B.imageUpload;function W(){return M.src?M.urlType==="url"?{base64:void 0,url:M.src}:{base64:M.src,url:void 0}:{}}var F=(0,f.useState)(W),U=i()(F,2),k=U[0],N=U[1],H=r.Z.useForm(),j=i()(H,1),L=j[0],Z=(0,f.useRef)(null),z=function(){var Q=l()(_()().mark(function $(){var V,q,X,Y,G,le;return _()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.next=2,L.validateFields();case 2:if(V=J.sent,q=V.urlType,X=V.src,Y=V.altText,G=V.height,le=V.width,M.key===void 0){J.next=8;break}return R.update(function(){var ne=(0,a.$getNodeByKey)(M.key);ne&&(0,I.$isImageNode)(ne)&&ne.updateData({altText:Y,height:P(G),width:P(le),urlType:q,src:X})}),x(),J.abrupt("return");case 8:R.dispatchCommand(O.INSERT_IMAGE_COMMAND,{altText:Y||"",src:X,width:P(le),height:P(G)}),x();case 10:case"end":return J.stop()}},$)}));return function(){return Q.apply(this,arguments)}}();return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(u.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:L,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)(c.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,q=$.setFieldValue,X=V("urlType"),Y=V("src");return setTimeout(function(){if(X==="base64"){if(k.base64===Y)return null;q("src",k.base64)}if(X==="url"){if(k.url===Y)return null;q("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 q=L.getFieldValue("urlType");L.setFieldValue("altText",$.name),L.setFieldValue("src",q==="url"?V:$.base64)},onChange:function($){$||(L.setFieldsValue({src:"",altText:"",width:"",height:""}),N({}))}}))}),(0,m.jsx)("img",{style:{position:"fixed",visibility:"hidden",top:0,left:0},onLoad:function(){var $,V;return L.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),d=e(52676);function l(h){var i=h.src,c=h.altText,s=h.nodeKey,r=h.width,u=h.height,p=(0,y.useState)(!1),t=o()(p,2),a=t[0],f=t[1],C=function(){f(!0)};return(0,d.jsxs)(d.Fragment,{children:[a&&(0,d.jsx)(_.default,{imageProps:{key:s,src:i,altText:c,width:r,height:u,urlType:i!=null&&i.startsWith("data:image")?"base64":"url"},onCancel:function(){return f(!1)}}),(0,d.jsx)("img",{style:{width:r,height:u},onClick:C,alt:c,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 C}});var v=e(25298),o=e.n(v),y=e(17069),_=e.n(y),d=e(62657),l=e.n(d),h=e(21742),i=e.n(h),c=e(83136),s=e.n(c),r=e(82092),u=e.n(r),p=e(71794),t=e(75271),a=e(52676),f=t.lazy(function(){return Promise.resolve().then(e.bind(e,40815))}),C=function(m){i()(T,m);var P=s()(T);function T(b,E,M,x,S){var A;return o()(this,T),A=P.call(this,S),u()(l()(A),"__src",void 0),u()(l()(A),"__altText",void 0),u()(l()(A),"__width",void 0),u()(l()(A),"__height",void 0),A.__src=b,A.__altText=E,A.__width=M||"inherit",A.__height=x||"inherit",A}return _()(T,[{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 T(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,A=E.src;return new T(A,M,S,x)}},{key:"importDOM",value:function(){return{img:function(){return{conversion:O,priority:0}}}}}]),T}(p.DecoratorNode);function D(m){var P=m.altText,T=m.height,b=m.src,E=m.width;return new C(b,P,E,T)}function O(m){if(m instanceof HTMLImageElement){var P=m.alt,T=m.src,b=m.width,E=m.height,M=D({altText:P,height:E,src:T,width:b});return{node:M}}return null}function I(m){return m instanceof C}},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 c}});var v=e(48305),o=e.n(v),y=e(34073),_=e(71794),d=e(75271),l=e(83844),h=(0,_.createCommand)("INSERT_IMAGE_COMMAND"),i=(0,_.createCommand)("UPDATE_IMAGE_COMMAND");function c(){var s=(0,y.useLexicalComposerContext)(),r=o()(s,1),u=r[0];return(0,d.useEffect)(function(){u.registerCommand(h,function(p){var t=(0,l.$createImageNode)(p);return(0,_.$insertNodes)([t]),!0},_.COMMAND_PRIORITY_EDITOR)},[u]),null}},13273:function(g,n,e){"use strict";e.r(n);var v=e(48305),o=e.n(v),y=e(63552),_=e(34073),d=e(71794),l=e(75271),h=function(c){var s=c.value,r=(0,_.useLexicalComposerContext)(),u=o()(r,1),p=u[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"),C=(0,y.$generateNodesFromDOM)(p,f);(0,d.$getRoot)().clear(),(0,d.$getRoot)().select(),(0,d.$insertNodes)(C)}})},[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),d=e(83844);function l(i){return i.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function h(i){var c="";function s(r){if((0,_.$isTextNode)(r)){var u=l(r.getTextContent());return r.hasFormat("bold")&&(u="<strong>".concat(u,"</strong>")),r.hasFormat("italic")&&(u="<em>".concat(u,"</em>")),r.hasFormat("underline")&&(u="<u>".concat(u,"</u>")),r.hasFormat("strikethrough")&&(u="<s>".concat(u,"</s>")),r.hasFormat("code")&&(u="<code>".concat(u,"</code>")),u}if((0,d.$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 C,D=r.getChildren(),O=D.map(function(b){return s(b)}).join(""),I=((C=r.getFormatType)===null||C===void 0?void 0:C.call(r))||"",m=I?' style="text-align: '.concat(I,';"'):"";if((0,_.$isParagraphNode)(r))return"<p".concat(m,">").concat(O,`</p>
|
|
22
|
+
`);if((0,y.$isHeadingNode)(r)){var P=r.getTag();return"<".concat(P).concat(m,">").concat(O,"</").concat(P,`>
|
|
23
|
+
`)}if((0,y.$isQuoteNode)(r))return"<blockquote".concat(m,">").concat(O,`</blockquote>
|
|
24
|
+
`);if((0,o.$isListNode)(r)){var T=r.getListType()==="bullet"?"ul":"ol";return"<".concat(T,">").concat(O,"</").concat(T,`>
|
|
25
|
+
`)}return(0,o.$isListItemNode)(r)?"<li".concat(m,">").concat(O,`</li>
|
|
26
|
+
`):(0,v.$isLinkNode)(r)?'<a href="'.concat(r.__url,'""').concat(r.__target==="_blank"?' target="_blank"':"").concat(r.__title?' title="'.concat(r.__title,'"'):"",">").concat(O,"</a>"):r.getType()==="root"?O:"<div".concat(m,">").concat(O,`</div>
|
|
27
|
+
`)}return""}return i.getEditorState().read(function(){var r=(0,_.$getRoot)();c=s(r)}),c}},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),d=e(48305),l=e.n(d),h=e(15558),i=e.n(h),c=e(1775),s=e(5590),r=e(78608),u=e(71794),p=e(14635),t=e(24181),a=e(83844),f=e(13273),C=e(48666),D=e(2978),O=e(52676),I=["value","onChange"],m=function(S,A){var R=A.exportDOM(S);if(R&&(0,u.isHTMLElement)(R.element))for(var B=0,K=[R.element].concat(i()(R.element.querySelectorAll("[style],[class]")));B<K.length;B++){var W=K[B];W.removeAttribute("class"),W.removeAttribute("style")}return R},P=new Map([[u.ParagraphNode,m],[u.TextNode,m]]),T=function(S){var A="",R=(0,t.parseAllowedFontSize)(S.style.fontSize),B=(0,t.parseAllowedColor)(S.style.backgroundColor),K=(0,t.parseAllowedColor)(S.style.color);return R!==""&&R!=="15px"&&(A+="font-size: ".concat(R,";")),B!==""&&B!=="rgb(255, 255, 255)"&&(A+="background-color: ".concat(B,";")),K!==""&&K!=="rgb(0, 0, 0)"&&(A+="color: ".concat(K,";")),A},b=function(){for(var S={},A=function(){var W=l()(B[R],2),F=W[0],U=W[1];S[F]=function(k){var N=U(k);return N?_()(_()({},N),{},{conversion:function(j){var L=N.conversion(j);if(L===null||L.forChild===void 0||L.after!==void 0||L.node!==null)return L;var Z=T(j);if(Z){var z=L.forChild;return _()(_()({},L),{},{forChild:function($,V){var q=z($,V);return(0,u.$isTextNode)(q)&&q.setStyle(q.getStyle()+Z),q}})}return L}}):null}},R=0,B=Object.entries(u.TextNode.importDOM()||{});R<B.length;R++)A();return S},E={html:{export:P,import:b()},namespace:"EditorRich",nodes:[u.ParagraphNode,u.TextNode,a.ImageNode,r.HeadingNode,r.QuoteNode,s.ListNode,s.ListItemNode,c.LinkNode],onError:function(S){throw S},theme:D.default};function M(x){var S=x.value,A=x.onChange,R=o()(x,I),B=function(W,F){W.read(function(){var U=(0,C.$onGenerateHTML)(F);return A==null?void 0:A(U)})};return(0,O.jsx)(p.default,_()(_()({editorConfig:E},R),{},{onChange:B,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),d=e(52676);function l(h){return(0,d.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),d=e(52676);function l(h){return(0,d.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),d=e(52676);function l(h){return(0,d.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 d}});var v=e(64017),o=e(14894),y=e(52676);function _(){return(0,y.jsx)(y.Fragment,{})}_.Item=v.default,_.List=o.default;var d=_},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),d=e(67825),l=e.n(d),h=e(19842),i=e(80729),c=e(75271),s=e(65173),r=e(52676),u=["mb","name","rules","children","simpleRule","isGroupName","showValidate","shouldUpdateNames","style"],p=function(C){var D=C.name,O=C.getFieldsValue,I=C.setFieldValue,m=C.getFieldValue,P=C.names,T=m(D);return(0,c.useEffect)(function(){var b=O(!0),E=[];if(P.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)&&P.forEach(function(x,S){I(x,M[S])})},[]),(0,h.Z)(function(){setTimeout(function(){P.forEach(function(b,E){I(b,Array.isArray(T)?T[E]:void 0)})},1)},[T]),null};function t(f,C){var D=typeof C!="string"?"":C;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 C,D=f.mb,O=f.name,I=f.rules,m=f.children,P=f.simpleRule,T=f.isGroupName,b=f.showValidate,E=f.shouldUpdateNames,M=f.style,x=l()(f,u),S=T&&Array.isArray(O)&&O.length>0,A=(0,c.useState)(S?"_".concat(O==null||(C=O.join("And"))===null||C===void 0?void 0:C.replace(/[^a-zA-Z]/g,""),"_"):O),R=_()(A,1),B=R[0],K=(0,c.useMemo)(function(){var U=I||[];return P&&(Array.isArray(P)?P.forEach(function(k){return U.push(t(k,x.label))}):U.push(t(P,x.label))),U},[P,I]),W=(0,c.useMemo)(function(){var U={};return D!==void 0&&(U.marginBottom=D),o()(o()({},U),M)},[]),F=S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z.Item,{noStyle:!0,shouldUpdate:function(k,N){return(0,s.getDataByNamePath)(k,B)!==(0,s.getDataByNamePath)(N,B)},children:function(k){var N=k.getFieldsValue,H=k.setFieldValue,j=k.getFieldValue;return(0,r.jsx)(p,{getFieldsValue:N,setFieldValue:H,getFieldValue:j,names:O,name:B})}}),O.map(function(U,k){return(0,r.jsx)(a,{noStyle:!0,name:U,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:B,style:W},x),{},{children:[c.isValidElement(m)&&c.cloneElement(m,{changes:N}),typeof m=="function"&&m(o()(o()({},k),{},{changes:N}))]})),F]})}}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z.Item,o()(o()({name:B,rules:K,style:W},x),{},{children:m})),F]})}},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),d=e(87999),l=e.n(d),h=e(67825),i=e.n(h),c=e(84816),s=e(64341),r=e(17114),u=e(16929),p=e(80729),t=e(18466),a=e(82187),f=e.n(a),C=e(75271),D=e(59881),O=e.n(D),I=e(52676),m=["name","max","min","addBtn","label","isDrag","renderItem"],P=["key"],T=["className","style"];function b(E){var M=E.name,x=E.max,S=E.min,A=E.addBtn,R=A===void 0?"\u6DFB\u52A0\u9879":A,B=E.label,K=E.isDrag,W=E.renderItem,F=i()(E,m),U=u.Z.useToken(),k=U.token.colorTextDescription,N=(0,I.jsx)(p.Z.List,{name:M,rules:[{validator:function(){var H=l()(_()().mark(function L(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()}},L)}));function j(L,Z){return H.apply(this,arguments)}return j}()}],children:function(j,L,Z){var z=L.add,Q=L.remove,$=L.move,V=Z.errors,q=j.map(function(X){var Y=X.key,G=i()(X,P);return(0,I.jsx)(C.Fragment,{children:W({remove:Q,nameIndex:G.name,RemoveButtom:function(ie){return(0,I.jsx)(t.ZP,o()({onClick:function(){return Q(G.name)},type:"text",icon:(0,I.jsx)(c.Z,{style:{color:k}})},ie))},DragButtom:function(ie){var J=ie.className,ne=ie.style,te=i()(ie,T);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",J),style:o()({cursor:"move"},ne)}))}})},Y)});return(0,I.jsxs)(I.Fragment,{children:[K?(0,I.jsx)(D.ReactSortable,{handle:".ccs-drag-handle-btn",list:j,onEnd:function(Y){var G=Y.oldIndex,le=Y.newIndex;G!==void 0&&le!==void 0&&$(G,le)},setList:function(){},animation:200,ghostClass:"ccs-form-drag-ghost",chosenClass:"ccs-form-drag-chosen",children:q}):q,C.isValidElement(R)?C.cloneElement(R,{onClick:function(){return z({})}}):(0,I.jsx)(t.ZP,{type:"dashed",onClick:function(){return z({})},icon:(0,I.jsx)(r.Z,{}),children:R}),(0,I.jsx)(p.Z.ErrorList,{errors:V})]})}});return B?(0,I.jsx)(p.Z.Item,o()(o()({label:B},F),{},{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),d=function(){var c=(0,y.useContext)(_.AppConfigContext);if(c===void 0)throw new Error("AppConfigContext not found \u672A\u5168\u5C40\u4F7F\u7528 CcsAppConfig");return c},l=function(){var c,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||(c=s.fieldNames)===null||c===void 0?void 0:c.page)},h=function(){var c,s=(0,y.useContext)(_.AppConfigContext)||{};return o()({success:["success"],successTag:!0,msg:["msg"],data:["data"]},s==null||(c=s.fieldNames)===null||c===void 0?void 0:c.base)};n.default=d},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),d=e(16929),l=e(75271);function h(i){var c=i.height,s=i.styles,r=i.variant,u=r===void 0?"outlined":r,p=i.size,t=p===void 0?"middle":p,a=i.theme,f=(0,l.useState)(!1),C=_()(f,2),D=C[0],O=C[1],I=d.Z.useToken(),m=I.token,P=(0,l.useMemo)(function(){var T,b,E,M,x,S,A,R,B={small:{paddingBlock:((T=m.Input)===null||T===void 0?void 0:T.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?((A=m.Input)===null||A===void 0?void 0:A.hoverBorderColor)||m.colorInfoHover:m.colorBorder,borderWidth:m.lineWidth,borderStyle:m.lineType,boxShadow:D?((R=m.Input)===null||R===void 0?void 0:R.activeShadow)||m.boxShadowTertiary:"none"};u==="filled"&&(K.background=m.colorFillTertiary,K.borderColor="transparent"),u==="borderless"&&(K.borderColor="transparent"),u==="underlined"&&(K.borderColor="transparent transparent ".concat(m.colorBorder," transparent"),K.borderRadius=0);var W={padding:"".concat(B[t].paddingBlock,"px ").concat(B[t].paddingInline,"px")};c&&(K.height=typeof c=="number"?"".concat(c,"px"):c,K.overflow="hidden");var F={borderBottom:"".concat(m.lineWidth,"px ").concat(m.lineType," ").concat(u==="outlined"?m.colorBorder:"transparent")},U={top:B[t].paddingBlock,left:B[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:F,placeholderStyles:U}},[u,D,s,a]);return{styles:P,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),d={};function l(h,i){var c=(0,_.default)()||{},s=c.antConfig,r=(s==null?void 0:s.prefixCls)||"ant";(0,y.useEffect)(function(){if(!d[h]){d[h]=!0;var u=i(r)||[];(0,v.insertCss)(u.join(""))}},[])}},31248:function(g,n,e){"use strict";e.r(n);var v=e(75271),o=function(_){var d=(0,v.useRef)(!1),l=function(){if(!d.current){for(var i=arguments.length,c=new Array(i),s=0;s<i;s++)c[s]=arguments[s];_(c),d.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 d=(0,v.useContext)(o.PageContext);if(d===void 0)throw new Error("PageContext not found");return d};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),d=e(67825),l=e.n(d),h=e(31759),i=e.n(h),c=e(13443),s=e(19842),r=e(75271),u=["value","type","defaultRows","keyField","onChangeRows","onChange"];function p(f,C){var D=f!=null?f:[],O=C!=null?C:[];return Array.isArray(D)||(D=[D]),JSON.stringify(D)!==JSON.stringify(O)}function t(f,C){return f===void 0?f:Array.isArray(f)?f.map(function(D){return i()(D)==="object"?D[C]:D}):i()(f)==="object"?f[C]:[f]}function a(f){var C=f||{},D=C.value,O=C.type,I=O===void 0?"checkbox":O,m=C.defaultRows,P=C.keyField,T=P===void 0?"key":P,b=C.onChangeRows,E=C.onChange,M=l()(C,u),x=(0,r.useState)({}),S=_()(x,2),A=S[1],R=(0,r.useRef)({selectedRowKeys:t(D,T),selectedRows:m,info:{type:"none"}}),B=I==="checkbox",K=(0,c.Z)(function(){var U=R.current,k=U.selectedRowKeys,N=k===void 0?[]:k,H=U.selectedRows,j=H===void 0?[]:H;B?E==null||E(N,j):E==null||E(N[0],j[0]),b==null||b(j||[]),E||A({})});(0,r.useEffect)(function(){m&&!R.current.selectedRows&&(R.current.selectedRows=m,b&&b(m),A({}))},[m]),(0,s.Z)(function(){var U=t(D,T);if(p(U,R.current.selectedRowKeys)){var k,N=(k=R.current.selectedRows)===null||k===void 0?void 0:k.filter(function(){var H,j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(H=U||[])===null||H===void 0?void 0:H.includes(j[T])});R.current={selectedRowKeys:U===void 0&&B?[]:U,selectedRows:N,info:{type:"none"}},A({})}},[D]);var W=(0,c.Z)(function(U,k,N){R.current={selectedRowKeys:U,selectedRows:k,info:N},m&&m.length>0&&k.forEach(function(H,j){if(!H){var L=m.find(function(Z){return Z[T]===U[j]});L&&(k[j]=L)}}),K()}),F=(0,c.Z)(function(U){if(!U)R.current={selectedRowKeys:[],selectedRows:[],info:{type:"none"}};else{var k=R.current,N=k.selectedRowKeys,H=N===void 0?[]:N,j=k.selectedRows,L=j===void 0?[]:j,Z=L.filter(function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Q[T]!==U}),z=H.filter(function(Q){return Q!==U});R.current={selectedRowKeys:z,selectedRows:Z,info:{type:"none"}}}K()});return o()(o()(o()({},R.current),{},{onChange:W,onClear:F,type:I},M),{},{onClearByProTable:F})}},60136:function(g,n,e){"use strict";e.r(n);var v=e(75271),o=e(56973),y=function(){var d=(0,v.useContext)(o.TabsContext);if(d===void 0)throw new Error("TabsContext not found");return d};n.default=y},52892:function(g,n,e){"use strict";e.r(n);var v=e(75271),o=e(56973),y=function(){var d=(0,v.useContext)(o.DrawerAndModalContext);if(d===void 0)throw new Error("DrawerAndModalContext not found");return d};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 d.default},CcsColorPicker:function(){return l.default},CcsDatePicker:function(){return i.default},CcsDialog:function(){return c.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 P.default},CcsResult:function(){return T.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 A.default},useAppConfig:function(){return u.default},useCcsOnceEvent:function(){return p.default},useCcsPage:function(){return t.default},useCcsTabs:function(){return f.default},useCcsWindow:function(){return C.default},useTableSelection:function(){return a.default}});var v=e(12648),o=e(32097),y=e(1444),_=e(668),d=e(97681),l=e(35030),h=e(88686),i=e(86247),c=e(50712),s=e(81777),r=e(64276),u=e(81475),p=e(31248),t=e(94127),a=e(70896),f=e(60136),C=e(52892),D=e(60301),O=e(47797),I=e(88370),m=e(76098),P=e(32813),T=e(68296),b=e(94283),E=e(98708),M=e(73946),x=e(71973),S=e(80882),A=e(1130),R=e(16652);n.default=R},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",d=function(){return(0,y.jsx)(y.Fragment,{})};d.Multi=v.default,d.Single=o.default;var l=d},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),d=e(90228),l=e.n(d),h=e(87999),i=e.n(h),c=e(15558),s=e.n(c),r=e(31759),u=e.n(r),p=e(335),t=e.n(p),a=e(34443),f=e(68144),C=e(37208),D=e(19842),O=e(13443),I=e(15574),m=e(18466),P=e(50068),T=e(82187),b=e.n(T),E=e(85899),M=e.n(E),x=e(75271),S=e(5791),A=e(81475),R=e(68296),B=e(85289),K=e(46619),W=e(52676),F=[{key:"1",label:"\u5173\u95ED\u5176\u4ED6\u6807\u7B7E"},{key:"2",label:"\u5173\u95ED\u6240\u6709\u6807\u7B7E"}],U=[];function k(j,L){if(Array.isArray(j)){var Z=t()(j),z;try{for(Z.s();!(z=Z.n()).done;){var Q=z.value,$=k(Q,L);if($)return $}}catch(G){Z.e(G)}finally{Z.f()}}else if(u()(j)==="object"&&j!==null){if(j.key===L&&(!j.children||j.children.length===0))return j;if(j.children&&j.children.length>0){var V=t()(j.children),q;try{for(V.s();!(q=V.n()).done;){var X=q.value,Y=k(X,L);if(Y)return Y}}catch(G){V.e(G)}finally{V.f()}}}return null}function N(j,L){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(Array.isArray(j)){var z=t()(j),Q;try{for(z.s();!(Q=z.n()).done;){var $=Q.value,V=N($,L,Z);if(V)return V}}catch(J){z.e(J)}finally{z.f()}}else if(u()(j)==="object"&&j!==null){var q;if(j.url===L||(q=j.url)!==null&&q!==void 0&&q.includes("?")&&j.url.split("?")[0]===L)return[].concat(s()(Z),[j]);if(j.children&&j.children.length>0){var X=[].concat(s()(Z),[j]),Y=t()(j.children),G;try{for(Y.s();!(G=Y.n()).done;){var le=G.value,ie=N(le,L,X);if(ie)return ie}}catch(J){Y.e(J)}finally{Y.f()}}}return null}function H(j){var L=j.maxLen,Z=L===void 0?10:L,z=j.appName,Q=j.history,$=j.menuItems,V=$===void 0?[]:$,q=j.className,X=(0,x.useRef)([]),Y=(0,S.useLocation)(),G=Y.pathname,le=(0,S.useOutlet)(),ie=(0,C.Z)(),J=(0,A.default)(),ne=J.theme,te=ne==="dark";(0,B.useInsertCss)("keep-alive",function(pe){return[".ccs-tabs-auto-height > .".concat(pe,`-tabs-content-holder,
|
|
28
28
|
.ccs-tabs-auto-height > .`).concat(pe,"-tabs-content-holder > .").concat(pe,`-tabs-content,
|
|
29
29
|
.ccs-tabs-auto-height > .`).concat(pe,"-tabs-content-holder > .").concat(pe,`-tabs-content > div,
|
|
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;} ")]}),V.current.length>=Z&&(V.current=V.current.slice(1)),(0,D.Z)(function(){V.current.forEach(function(pe){var de,Re=k(G,pe.menuKey);pe.urlAuthList=(Re==null||(de=Re.btnAuth)===null||de===void 0?void 0:de.map(function(Ae){return Ae.code}))||[]}),ae()},[G]);var re=(0,x.useMemo)(function(){var pe=F(G,X)||[],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($)},10);var Re=function(){var Be=i()(d()().mark(function Ue(){var ke;return d()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(U.length){w.next=7;break}return w.next=3,a.default.getStroage("_ROUTE_HISTORY");case 3:if(w.t0=w.sent,w.t0){w.next=6;break}w.t0=[];case 6:U=w.t0;case 7:ke=U.findIndex(function(ee){return ee.pathName===X}),ke>-1&&U.splice(ke,1),U.unshift({pathName:X,menuName:(de==null?void 0:de.label)||"",time:new Date}),a.default.setStroage("_ROUTE_HISTORY",U);case 11:case"end":return w.stop()}},Ue)}));return function(){return Be.apply(this,arguments)}}();de&&Re();var Ae=pe.map(function(Be){return{key:Be.key,title:Be.label}});return Ae.unshift({key:"-1",title:"\u9996\u9875"}),m()(m()({},de),{},{breadcrumb:Ae})},[X]),ie=Y.key,oe=V.current.findIndex(function(pe){return pe.pageLocation.pathname===X});if(oe>-1){var le=V.current[oe];le.pageLocation.search!==Y.search||a.default.jsonStringify(le.pageLocation.state)!==a.default.jsonStringify(Y.state)?V.current=O()(V.current,o()({},oe,{key:{$set:Y.key},pageLocation:{$set:Y}})):ie=le.pageLocation.key}else{var me=re||{},_e=me.btnAuth,ve=_e===void 0?[]:_e,ge=me.breadcrumb,Ee=ge===void 0?[]:ge,Oe=re.key!==void 0;V.current=O()(V.current,{$push:[{key:Y.key,label:(re==null?void 0:re.label)||"\u672A\u77E5",outlet:Oe?ue:(0,W.jsx)(A.default.Page404,{}),urlAuthList:ve.map(function(pe){return pe.code}),breadcrumb:Oe?Ee:[],pageLocation:Y,menuKey:(re==null?void 0:re.key)||""}]})}var Ce=(0,x.useCallback)(function(pe){var de=V.current.find(function(ke){return ke.key===pe});if(de){var Re=de.pageLocation,Ae=Re.pathname,Be=Re.state,Ue=Re.search;Q.push("".concat(Ae).concat(Ue),Be)}},[]),Ie=(0,M.Z)(function(pe){var de=V.current.findIndex(function(Ae){return Ae.key===pe}),Re=V.current[de];if(de>=0){if(V.current=O()(V.current,{$splice:[[de,1]]}),Re.key!==pe){ae();return}if(V.current.length===0){Q.push("/");return}if(de===V.current.length){Ce(V.current[de-1].key);return}Ce(V.current[de].key)}}),je=(0,x.useCallback)(function(pe){pe==="1"?(V.current=V.current.filter(function(de){return de.key===X}),ae()):(V.current=[],Q.push("/"))},[]),Te=(0,W.jsx)(I.Z,{menu:{items:j,onClick:function(de){je(de.key)}},placement:"bottomRight",children:(0,W.jsx)(u.ZP,{icon:(0,W.jsx)(p.Z,{}),type:"text"})});return(0,W.jsxs)("div",{className:y()(ne,"ccs-keep-alive"),children:[(0,W.jsx)(b.Z,{id:"keep-alive-tabs",hideAdd:!0,size:"small",onChange:Ce,className:y()("ccs-keep-alive-tabs",o()({},"dark",te)),activeKey:ie,type:"editable-card",onEdit:function(de){return Ie(de)},items:V.current,tabBarExtraContent:V.current.length>2?Te:null,tabBarStyle:{margin:0},renderTabBar:function(de,Re){return(0,W.jsx)(Re,m()(m()({},de),{},{className:"ccs-keep-alive-nav"}))}}),V.current.map(function(pe){var de=pe.key,Re=pe.urlAuthList,Ae=pe.outlet,Be=pe.breadcrumb,Ue=pe.pageLocation;return(0,W.jsx)(K.default,{active:Ue.pathname===X,location:Ue,onDestroy:Ie,urlAuthList:Re,breadcrumb:Be,children:Ae},de)})]})}n.default=z},46619:function(E,n,e){"use strict";e.r(n);var f=e(74973),o=e(82187),P=e.n(o),m=e(75271),c=e(56973),d=e(31939),v=e(52676);function i(_){var s=_.children,r=_.active,l=_.urlAuthList,g=_.onDestroy,t=_.breadcrumb,p=_.location,a="_tab_content_".concat(p.key),C=(0,m.useRef)(null);return(0,v.jsx)(c.PageContext.Provider,{value:{id:a,dialogHolderRef:C,isActive:r,location:p,onDestroy:g,onAuth:function(M){return l.includes(M)}},children:(0,v.jsx)("div",{id:a,style:{display:r?"block":"none"},className:"ccs-tab-item","data-display":r,children:(0,v.jsxs)("div",{className:P()("ccs-layout-page",{"page-avtive":r}),children:[(0,v.jsx)("div",{className:"page-top"}),(0,v.jsx)(f.Z,{items:t,className:"ccs-breadcrumb"}),s,(0,v.jsx)(d.DialogElementsHolder,{ref:C},"modal-drawer-holder"),(0,v.jsx)("div",{className:"page-bottom"})]})})})}n.default=(0,m.memo)(i,function(_,s){return _.active===s.active&&_.urlAuthList.join(",")===s.urlAuthList.join(",")})},88370:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r}});var f=e(75271),o=e(5791),P=e(68296),m=e(47797),c=e(74973),d=e(56973),v=e(31939),i=e(52676),_=(0,f.memo)(function(l){var g=(0,f.useRef)(l.location),t=l.children,p=l.urlAuthList,a=p===void 0?[]:p,C=l.breadcrumb,D=C===void 0?[]:C,M=(0,f.useRef)(null);return(0,i.jsx)(d.PageContext.Provider,{value:{id:"",isActive:!0,dialogHolderRef:M,location:g.current,onDestroy:function(){console.error("\u5355\u9875\u6A21\u5F0F\u4E0D\u652F\u6301")},onAuth:function(u){return a.includes(u)}},children:(0,i.jsxs)("div",{className:"ccs-layout-page single-page",children:[(0,i.jsx)("div",{className:"page-top"}),(0,i.jsx)(c.Z,{items:D,className:"ccs-breadcrumb",style:l.breadcrumbStyle}),t,(0,i.jsx)(v.DialogElementsHolder,{ref:M},"modal-drawer-holder"),(0,i.jsx)("div",{className:"page-bottom"})]})})});function s(l){var g=l.appName,t=l.menuItems,p=t===void 0?[]:t,a=l.breadcrumbStyle,C=l.children,D=(0,o.useLocation)(),M=D.pathname,I=(0,o.useOutlet)(),u=(0,f.useMemo)(function(){var b,L=(0,m.findMenusByUrl)(p,M)||[],y=L==null?void 0:L.at(-1);if(y){setTimeout(function(){document.title="".concat((y==null?void 0:y.label)||(y==null?void 0:y.url)," - ").concat(g)},10);var h=L.map(function(O){return{key:O.key,title:O.label}});return h.unshift({key:"-1",title:"\u9996\u9875"}),{auth:((b=y.btnAuth)===null||b===void 0?void 0:b.map(function(O){return O.code}))||[],breadcrumb:h,menu:y}}},[M,p]);return(0,i.jsx)(i.Fragment,{children:u!=null&&u.auth?(0,i.jsx)(_,{location:D,urlAuthList:u.auth,breadcrumb:u.breadcrumb,breadcrumbStyle:a,children:(0,i.jsxs)(i.Fragment,{children:[I,C]})}):(0,i.jsx)(P.default.Page404,{style:{flex:"auto"},subTitle:"\u9875\u9762\u4E0D\u5B58\u5728"})})}var r=s},79579:function(E,n,e){"use strict";e.r(n)},3034:function(E,n,e){"use strict";e.r(n),e.d(n,{getAllChildrenId:function(){return c},getDataById:function(){return m},getShowDpends:function(){return v},isComponent:function(){return d},onTableInModalOrDrawer:function(){return o},onTableInTabItem:function(){return P}});var f=e(75271),o=function i(_,s){var r,l,g,t,p=_.parentNode;return p?(r=p.classList)!==null&&r!==void 0&&r.contains("ccs-drawer-content")||(l=p.classList)!==null&&l!==void 0&&l.contains("".concat(s,"-drawer-body"))?{getContainer:function(){return p},isInDialog:!0}:(g=p.classList)!==null&&g!==void 0&&g.contains("".concat(s,"-modal"))||(t=p.classList)!==null&&t!==void 0&&t.contains("".concat(s,"-drawer"))?{offsetHeader:0,isInDialog:!0}:i(p,s):!1},P=function i(_){var s,r=_.parentNode;return r?(s=r.classList)!==null&&s!==void 0&&s.contains("ccs-route-page")?{getContainer:function(){return _}}:i(r):!1},m=function i(_,s,r){if(Array.isArray(_))for(var l=0;l<_.length;l+=1){if(_[l][s]===r)return _[l];if(_[l].children){var g=i(_[l].children,s,r);if(g)return g}}},c=function i(_,s){return _.reduce(function(r,l){return r.push(l[s]),l.children&&Array.isArray(l.children)?r.concat(i(l.children,s)):r},[])},d=function(_,s){if(!f.isValidElement(_))return!1;var r=_==null?void 0:_.type;return typeof r=="string"?!1:(r==null?void 0:r.displayName)===s},v=function i(_,s,r){var l=s.showDepends;if(l){var g=_.filter(function(t){return l.some(function(p){return p&&p.name===t.name})})||[];return g.forEach(function(t){return t!=null&&t.showDepends?(t.showDepends.forEach(function(p){return r.push(p)}),i(_,t,r)):!1}),r}return r}},94238:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(90228),m=e.n(P),c=e(87999),d=e.n(c),v=e(67825),i=e.n(v),_=e(11048),s=e(6052),r=e(57898),l=e(52676),g=["onChange"],t=s.default.Option,p=function(C){var D=C.onChange,M=i()(C,g),I=function(O){D&&D(O)};console.log("restProps",M);var u=(0,_.Z)(d()(m()().mark(function h(){var O;return m()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,(0,r.queryParam1)();case 2:return O=B.sent,B.abrupt("return",O.data);case 4:case"end":return B.stop()}},h)}))),b=u.loading,L=u.data,y=L===void 0?[]:L;return(0,l.jsx)(s.default,o()(o()({},o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:I,loading:b},M)),{},{children:y.map(function(h){return(0,l.jsx)(t,{value:h.key,children:h.name},h.key)})}))};n.default=p},40011:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(90228),m=e.n(P),c=e(87999),d=e.n(c),v=e(67825),i=e.n(v),_=e(11048),s=e(6052),r=e(75271),l=e(57898),g=e(52676),t=["changes","onChange"],p=s.default.Option,a=function(D){var M=D.changes,I=M===void 0?[]:M,u=D.onChange,b=i()(D,t),L=function(K){u&&u(K)},y=I[0],h=(0,_.Z)(function(){var T=d()(m()().mark(function K(W){var j;return m()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,(0,l.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 T.apply(this,arguments)}}(),{manual:!0}),O=h.loading,x=h.data,B=x===void 0?[]:x,R=h.mutate,A=h.run;return(0,r.useEffect)(function(){B.length&&R([]),b.value&&u&&u(void 0),y&&A({param1:y})},[y]),(0,g.jsx)(s.default,o()(o()({},o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:L,loading:O,notFoundContent:y?"\u8BF7\u9009\u62E9":"\u8BF7\u9009\u62E9\u6761\u4EF61"},b)),{},{children:B.map(function(T){return(0,g.jsx)(p,{value:T.key,children:T.name},T.key)})}))};n.default=a},33765:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(90228),m=e.n(P),c=e(87999),d=e.n(c),v=e(67825),i=e.n(v),_=e(11048),s=e(6052),r=e(75271),l=e(57898),g=e(52676),t=["changes","onChange"],p=s.default.Option,a=function(D){var M=D.changes,I=M===void 0?[]:M,u=D.onChange,b=i()(D,t),L=function(K){u&&u(K)},y=I[0],h=(0,_.Z)(function(){var T=d()(m()().mark(function K(W){var j;return m()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,(0,l.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 T.apply(this,arguments)}}(),{manual:!0}),O=h.loading,x=h.data,B=x===void 0?[]:x,R=h.mutate,A=h.run;return(0,r.useEffect)(function(){B.length&&R([]),b.value&&u&&u(void 0),y&&A({param2:y})},[y]),(0,g.jsx)(s.default,o()(o()({},o()(o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:L,loading:O,notFoundContent:y?"\u8BF7\u9009\u62E9":"\u8BF7\u9009\u62E9\u6761\u4EF62"},b),{},{adad:{asdasda:1,abav:2}})),{},{children:B.map(function(T){return(0,g.jsx)(p,{value:T.key,children:T.name},T.key)})}))};n.default=a},57898:function(E,n,e){"use strict";e.r(n),e.d(n,{queryParam1:function(){return f},queryParam2:function(){return o},queryParam3:function(){return P}});var f=function(){return new Promise(function(c){setTimeout(function(){c({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(c){return new Promise(function(d){console.log("param",c),setTimeout(function(){d({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)})},P=function(c){return new Promise(function(d){console.log("param",c),setTimeout(function(){d({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(E,n,e){"use strict";e.r(n),e.d(n,{query:function(){return m},update:function(){return c}});var f={},o=[],P=function(v){for(var i=[],_=0;_<5;_+=1){var s="".concat(v,"-").concat(_);f[s]?i.push(f[s]):i.push({id:s,name:"\u540D\u79F0-".concat(s),parentId:v})}var r=o.filter(function(l){return l.parentId===v});return r&&r.forEach(function(l){var g="".concat(v,"-").concat(i.length);i.push({id:g,name:f[g]?f[g].name:l.name,parentId:v})}),i},m=function(v){return new Promise(function(i){setTimeout(function(){i({success:!0,data:P(v.parentId)})},1e3)})},c=function(v){return new Promise(function(i){v.id?f[v.id]=v:o.push(v),setTimeout(function(){i({msg:"",success:!0,data:""})},1e3)})}},96757:function(E,n,e){"use strict";e.r(n),e.d(n,{queryWorker:function(){return P}});var f=e(17888),o=e.n(f);function P(m){return console.log("\u8BF7\u6C42\u53C2\u6570\uFF1A",m),new Promise(function(c){setTimeout(function(){c({success:!0,msg:"",data:{pageNo:1,pageSize:10,hasNext:!1,totalNum:100,result:Array(m.pageSize).fill("").map(function(d,v){return{loginId:v,workerName:"workerName-".concat(v),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(E,n,e){"use strict";e.r(n);var f=e(80729),o=e(19152),P=e(52676),m=f.Z.Item,c=function(){return(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(m,{label:"\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u540D\u79F0"}],children:(0,P.jsx)(o.Z,{placeholder:"\u8BF7\u8F93\u5165"})})})};n.default=c},76098:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(27783),m=e(18237),c=e(10495),d=e(29909),v=e(52676),i=function(r){return(0,v.jsx)(d.default,o()({},r))},_=function(r){return(0,v.jsx)(d.default,o()({},r))};i.Tree=_,i.SelectionAlert=m.default,i.Summary=c.default,n.default=i},18237:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return s}});var f=e(26068),o=e.n(f),P=e(38913),m=e(16929),c=e(8984),d=e(16254),v=e(18466),i=e(75271),_=e(52676);function s(r){var l=r.data,g=r.color,t=r.style,p=r.className,a=r.fieldNames,C=a===void 0?{key:"key",label:"label"}:a,D=r.onClear,M=m.Z.useToken(),I=M.token;if(!(!l||l.length===0)){var u="".concat(I.paddingSM,"px");return(0,_.jsxs)(c.Z,{size:4,wrap:!0,style:o()({padding:"0 ".concat(u," ").concat(u," ").concat(u)},t),className:p,children:[l.map(function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,_.jsx)(d.Z,{color:g,closable:!0,onClose:function(y){D(b[C.key]),y.preventDefault()},children:b[C.label||"name"]},b[C.key||"key"])}),l.length>1&&(0,_.jsx)(v.ZP,{size:"small",onClick:function(L){D(),L.preventDefault()},icon:(0,_.jsx)(P.Z,{}),danger:!0,type:"text",children:"\u6E05\u7A7A"})]})}}},10495:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return m}});var f=e(16708),o=e(52676),P=-1;function m(c){var d=c.data,v=d===void 0?{}:d,i=c.columns,_=c.hasRowSelection;P=-1;var s=function r(l){return l.map(function(g){return g.children&&g.children.length>0?r(g.children):(P+=1,(0,o.jsx)(f.Z.Summary.Cell,{index:0,children:v[g.dataIndex]},P))})};return _&&(P+=1),(0,o.jsx)(f.Z.Summary,{fixed:!0,children:(0,o.jsxs)(f.Z.Summary.Row,{children:[_&&(0,o.jsx)(f.Z.Summary.Cell,{index:P}),s(i)]})})}},29909:function(E,n,e){"use strict";e.r(n),e.d(n,{classPrefix:function(){return O}});var f=e(82092),o=e.n(f),P=e(31759),m=e.n(P),c=e(26068),d=e.n(c),v=e(48305),i=e.n(v),_=e(19842),s=e(16929),r=e(37426),l=e(12203),g=e(82187),t=e.n(g),p=e(75271),a=e(81475),C=e(32097),D=e(73799),M=e(24887),I=e(85289),u=e(73946),b=e(3034),L=e(27783),y=e(26707),h=e(52676),O="ccs-pl";function x(R){var A={filters:{},orderProps:[],columnOptions:[],columnShowKeys:[]};return R==null||R.forEach(function(T){T.dataIndex&&T.title&&A.columnOptions.push({label:T.title,value:T.dataIndex}),T.hidden!==!0&&A.columnShowKeys.push(T.dataIndex),T.sorter&&T.defaultSortOrder!==void 0&&A.orderProps.push({prop:T.dataIndex,ascending:T.defaultSortOrder==="ascend"}),T.filters&&T.defaultFilteredValue!==void 0&&(A.filters[T.dataIndex]=T.defaultFilteredValue)}),A}var B=function(A){var T,K,W=A.init,j=A.auth,U=A.table,k=A.styles,F=k===void 0?{}:k,z=A.proRef,N=A.toolbar,S=A.children,Z=A.className,$=A.expandForm,Q=A.formItems,H=Q===void 0?[]:Q,G=A.leafNode,ne=A.bordered,V=A.parentFieldName,Y=A.formInitValues,X=Y===void 0?{}:Y,ue=A.onEvent,ae=(0,p.useContext)(l.E_);(0,I.useInsertCss)("table",function(be){return[".ccs-pl .".concat(be,"-table-title {padding: 0 !important;} ")]});var J=U||{},q=J.requestParam,te=q===void 0?{}:q,re=J.columns,ie=J.rowKey,oe=J.request,le=(0,p.useRef)(!1),me=(0,p.useMemo)(function(){return x(re)},[]),_e=(0,p.useRef)(me),ve=(0,p.useRef)(null),ge=(0,p.useRef)(null),Ee=(0,p.useRef)(),Oe=(0,p.useRef)(null),Ce=(0,p.useRef)(null),Ie=(0,p.useState)((U==null?void 0:U.size)||"middle"),je=i()(Ie,2),Te=je[0],pe=je[1],de=(0,a.default)(),Re=de.theme,Ae=s.Z.useToken(),Be=Ae.token,Ue=(0,M.default)({auth:j,rowKey:ie,pagination:U==null?void 0:U.pagination,fieldNames:(T=A.table)===null||T===void 0?void 0:T.fieldNames,emptyDefaultOne:U==null?void 0:U.emptyDefaultOne,onFilterOrder:function(){return _e.current},onEvent:ue,getFormValues:function(){var he;return(he=Oe.current)===null||he===void 0?void 0:he.getFormValues()},request:oe,onRequestCustom:V?function(){for(var be,he=arguments.length,Pe=new Array(he),De=0;De<he;De++)Pe[De]=arguments[De];return(be=Ce.current)===null||be===void 0?void 0:be.onRequestTree.apply(be,Pe)}:void 0}),ke=Ue.isAuth,Ke=Ue.data,w=Ue.onRequest,ee=Ue.onChangeData,ce=function(he){var Pe,De,Le=(0,b.getDataById)(Ke.dataSource||[],ie,he);if(!Le){w(D.DataEvent.Search);return}var Se=(0,b.getAllChildrenId)(Le.children||[],ie);(Pe=Ce.current)===null||Pe===void 0||Pe.onExpandKeys(Se),(De=Ce.current)===null||De===void 0||De.onRequestTree(D.DataEvent.PartialReload,{},Le)};(0,p.useEffect)(function(){var be=(0,b.onTableInModalOrDrawer)(ve.current,ae.getPrefixCls());if(be){le.current=be,U!=null&&U.size||pe("small");return}var he=(0,b.onTableInTabItem)(ve.current);if(he){le.current=he;return}},[]),(0,_.Z)(function(){pe((U==null?void 0:U.size)||"middle")},[U==null?void 0:U.size]),(0,p.useEffect)(function(){W!==!1&&oe&&w(D.DataEvent.InitSearch)},[Object.keys(te||{}).toString(),Object.values(te||{}).toString()]);var fe=function(){var he,Pe;U==null||(he=U.rowSelection)===null||he===void 0||(Pe=he.onClearByProTable)===null||Pe===void 0||Pe.call(he),w(D.DataEvent.Search)},ye=function(){var he,Pe,De;U==null||(he=U.rowSelection)===null||he===void 0||(Pe=he.onClearByProTable)===null||Pe===void 0||Pe.call(he),(De=Oe.current)===null||De===void 0||De.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 he,Pe;U==null||(he=U.rowSelection)===null||he===void 0||(Pe=he.onClearByProTable)===null||Pe===void 0||Pe.call(he),w(D.DataEvent.Reload,Ke.current,Ke.pageSize)};(0,p.useImperativeHandle)(z,function(){var be;return{data:Ke,getFormValues:(be=Oe.current)===null||be===void 0?void 0:be.getFormValues,onSearch:fe,onReload:se,onPartialReload:function(Pe){ce(Pe)},onReset:ye,onChangeData:ee}});var xe=function(he,Pe,De){if(Pe&&(re==null||re.forEach(function(Se){(Se.filterDropdown||Se.filters)&&(Se.filteredValue=Pe[Se.dataIndex])}),_e.current=d()(d()({},_e.current),{},{filters:Pe})),De){re==null||re.forEach(function(Se){if(Se.sorter){if(Array.isArray(De)){var Ve=De.find(function(wn){return wn.field===Se.dataIndex});Ve&&(Se.sortOrder=Ve==null?void 0:Ve.order);return}if(De.field===Se.dataIndex){Se.sortOrder=De.order;return}Se.sortOrder=void 0}});var Le=[];Array.isArray(De)?De.forEach(function(Se){Le.push({prop:Se.field,ascending:Se.order==="ascend"})}):De.order&&Le.push({prop:De.field,ascending:De.order==="ascend"}),_e.current=d()(d()({},_e.current),{},{orderProps:Le})}w(D.DataEvent.ChangePage,he.current||0,he.pageSize||10)},We=function(){if(!U)return null;if(!ke)return(0,h.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(m()(le.current)==="object"&&"getContainer"in le.current){var he=le.current.getContainer(),Pe=window.getComputedStyle(he),De=Pe.paddingTop;De&&(le.current=d()(d()({},le.current),{},{offsetHeader:-parseInt(De.replace("px",""))}))}return V?(0,h.jsx)(y.default,{data:Ke,table:U,leafNode:G,treeRef:Ce,tableRef:Ee,tableContentRef:ve,tableRowSize:Te,sticky:le.current||!0,parentFieldName:V,setData:ee,onEvent:ue}):(0,h.jsx)(u.Z,d()(d()({data:Ke,tableRef:Ee,tableContentRef:ve,onChange:xe,sticky:le.current||!0},U),{},{size:Te,columns:re,showSorterTooltip:!0,showNumber:A.showNumber,loading:U.loading||Ke.loading||!1,onEvent:ue}))},ze=(U==null||(K=U.scroll)===null||K===void 0?void 0:K.y)==="auto",He=(0,p.useMemo)(function(){var be=F.root||{},he=F.table||{};return he.overflow="unset",ne&&(be.border="1px solid ".concat(Be.colorBorderSecondary),be.borderRadius=4),ze&&(be.overflow="hidden",be.height="100%",he.overflow="hidden"),{root:be,table:he}},[]),nn=function(){var he;if(ze&&((he=ve.current)===null||he===void 0?void 0:he.clientHeight)!==0){var Pe;(Pe=Ee.current)===null||Pe===void 0||Pe.onFixedThead()}},tn=(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(C.default.FullScreen,{parentHtmlId:"ccs-pro-table"}),(0,h.jsx)(C.default.Checkbox,{options:me.columnOptions,defaultCheckedKeys:me.columnShowKeys,placement:"bottomRight",onChange:function(he){var Pe,De=me.columnShowKeys.filter(function(Le){return!he.includes(Le)});(Pe=Ee.current)===null||Pe===void 0||Pe.onColumnFilter(De)}})]}),Ye=U!=null&&U.hideOperation?(0,h.jsx)(C.default.Operation,{extraLeft:N}):(0,h.jsx)(C.default.Operation,{extraLeft:N,extraRight:tn,onChangeSize:function(he){return pe(he)},size:Te,onReset:ye,columns:re,tableRef:Ee,style:{marginLeft:N?0:8}});return(0,h.jsxs)(h.Fragment,{children:[ze&&(0,h.jsx)(C.default.Resize,{targetRef:ve,onResize:nn}),(0,h.jsxs)("div",{id:"ccs-pro-table",className:t()(O,Z,o()({},"dark-table",Re==="dark")),style:He.root,ref:ge,children:[(0,h.jsx)(C.default.Title,{children:A.title}),(0,h.jsx)(C.default.Filter,{ref:Oe,extra:N?void 0:Ye,formItems:H,expandForm:$,formInitValues:X,formItemLabelWidth:A.formItemLabelWidth,onSearch:fe,requestParam:U==null?void 0:U.requestParam}),N&&Ye,(0,h.jsxs)("div",{className:"".concat(O,"-table-content"),style:He.table,ref:ve,children:[We(),S]})]})]})};n.default=B},26707:function(E,n,e){"use strict";e.r(n);var f=e(90228),o=e.n(f),P=e(15558),m=e.n(P),c=e(87999),d=e.n(c),v=e(26068),i=e.n(v),_=e(48305),s=e.n(_),r=e(68144),l=e(75271),g=e(73946),t=e(73799),p=e(81475),a=e(65173),C=e(52676),D=function(I){var u=I.data,b=I.table,L=I.sticky,y=I.treeRef,h=I.tableRef,O=I.leafNode,x=I.tableRowSize,B=I.tableContentRef,R=I.parentFieldName,A=I.setData,T=I.onEvent,K=(0,l.useState)([]),W=s()(K,2),j=W[0],U=W[1],k=b,F=k.rowKey,z=k.expandable,N=k.columns,S=k.request,Z=(z==null?void 0:z.childrenColumnName)||"children",$=(0,p.useBaseFields)(),Q=i()(i()({},$),I.fieldNames),H=function(){var V=d()(o()().mark(function Y(X){var ue,ae,J,q,te,re=arguments;return o()().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(ue=re.length>1&&re[1]!==void 0?re[1]:{},ae=re.length>2?re[2]:void 0,J=ue,ae&&(J[R]=ae[F]),T==null||T(X,{loading:!0,params:J}),A(function(le){return i()(i()({},le),{},{loading:!0})}),oe.t0=S,!oe.t0){oe.next=11;break}return oe.next=10,S(J);case 10:oe.t0=oe.sent;case 11:q=oe.t0,T==null||T(X,{loading:!0,params:J,data:q}),q?(te=(0,a.getDataByNamePath)(q,Q.data),O&&te&&Array.isArray(te)&&te.forEach(function(le){if(typeof O=="string"&&!le[O]){le.children=[];return}typeof O=="function"&&!O(le)&&(le.children=[])}),ae?(ae[Z]=te,A(function(le){return i()(i()({},le),{},{dataSource:m()(le.dataSource||[]),loading:!1})})):(U([]),A({loading:!1,dataSource:te}))):A(function(le){return i()(i()({},le),{},{loading:!1})});case 14:case"end":return oe.stop()}},Y)}));return function(X){return V.apply(this,arguments)}}();(0,l.useImperativeHandle)(y,function(){return{onRequestTree:H,onExpandKeys:function(Y){U(j.filter(function(X){return!Y.includes(X)}))}}});var G=function(Y,X){if(!F||(F&&X[F])===void 0){r.default.showLogWarning("rowKey\u672A\u4F20\u5165\u6216\u4F20\u5165rowKey\u4E0D\u6B63\u786E");return}var ue=X[F];if(Y){var ae;if(j.push(ue),((ae=X[Z])===null||ae===void 0?void 0:ae.length)>0)return;H(t.DataEvent.Expand,{},X)}else U(j.filter(function(J){return J!==ue}))},ne=i()(i()({sticky:L},b),{},{onExpand:G,expandedRowKeys:j});return(0,C.jsx)(g.Z,i()(i()({data:u,tableRef:h,tableContentRef:B},ne),{},{size:x,columns:N,showSorterTooltip:!0,loading:ne.loading||u.loading||!1}))};n.default=D},98143:function(E,n,e){"use strict";e.r(n)},32813:function(E,n,e){"use strict";e.r(n);var f=e(48305),o=e.n(f),P=e(68144),m=e(19842),c=e(16929),d=e(85899),v=e.n(d),i=e(75271),_=e(56973),s=e(52676),r=function(g){var t=g.children,p=(t==null?void 0:t.props)||{},a=p.items,C=a===void 0?[]:a,D=p.activeKey,M=p.defaultActiveKey,I=p.onChange,u=(0,i.useState)("ccs-tabs-".concat(P.default.getUUID(5))),b=o()(u,1),L=b[0],y=(0,i.useState)(function(){return{activeKey:M||(C[0]||{}).key,items:C||[],options:{}}}),h=o()(y,2),O=h[0],x=h[1];(0,m.Z)(function(){x(v()(O,{items:{$set:C}}))},[C==null?void 0:C.map(function(j){return j.key}).join(",")]);var B=c.Z.useToken(),R=B.token,A={items:O.items,className:"ccs-tabs",id:L,tabBarStyle:{margin:0,paddingLeft:16,backgroundColor:R.colorBgContainer}};D||(A.activeKey=O.activeKey,A.onChange=function(j){x(v()(O,{activeKey:{$set:j}})),I&&I(j)});var T=function(U){var k=U.activeKey,F=U.enableKeys,z=F===void 0?[]:F,N=U.disableKeys,S=N===void 0?[]:N,Z=U.options,$={};if(k&&($.activeKey={$set:k},I&&I(k)),z.length||S.length){var Q,H={};(Q=O.items)===null||Q===void 0||Q.forEach(function(G,ne){z.includes(G.key)?H[ne]={disabled:{$set:!1}}:S.includes(G.key)&&(H[ne]={disabled:{$set:!0}})}),$.items=H}Z&&($.options={$set:Z}),x(v()(O,$))},K=function(U){var k,F=U;typeof U=="string"&&(F=[U]);var z=[];(k=O.items)===null||k===void 0||k.forEach(function(N,S){F.includes(N.key)&&z.push([S,1])}),x(v()(O,{items:{$splice:z}}))},W=function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],k=arguments.length>1?arguments[1]:void 0,F=Array.isArray(U),z={items:{$push:F?U:[U]}};k&&(z.activeKey={$set:k||O.activeKey}),x(v()(O,z))};return t?(0,s.jsx)(_.TabsContext.Provider,{value:{tabsId:L,activeKey:O.activeKey,options:O.options,onTabChange:T,onRemoveTabs:K,onAddTabs:W},children:(0,i.cloneElement)(t,A)}):(0,s.jsx)(s.Fragment,{})};n.default=r},68296:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(28344),m=e(52676),c=function(t){return(0,m.jsx)(P.ZP,o()({},t))},d=function(t){return(0,m.jsx)(c,o()(o()({title:"\u64CD\u4F5C\u6210\u529F"},t),{},{status:"success"}))},v=function(t){return(0,m.jsx)(c,o()(o()({title:"\u64CD\u4F5C\u8BE6\u60C5"},t),{},{status:"info"}))},i=function(t){return(0,m.jsx)(c,o()(o()({title:"\u64CD\u4F5C\u63D0\u9192"},t),{},{status:"warning"}))},_=function(t){return(0,m.jsx)(c,o()(o()({title:"\u64CD\u4F5C\u5931\u8D25"},t),{},{status:"error"}))},s=function(t){return(0,m.jsx)(c,o()(o()({title:"403"},t),{},{status:"403"}))},r=function(t){return(0,m.jsx)(c,o()(o()({title:"404"},t),{},{status:"404"}))},l=function(t){return(0,m.jsx)(c,o()(o()({title:"500"},t),{},{status:"500"}))};c.Success=d,c.Info=v,c.Warning=i,c.Error=_,c.Page403=s,c.Page404=r,c.Page500=l,n.default=c},99696:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return a}});var f=e(26068),o=e.n(f),P=e(31759),m=e.n(P),c=e(48305),d=e.n(c),v=e(67825),i=e.n(v),_=e(79312),s=e(97022),r=e(6052),l=e(46960),g=e(75271),t=e(52676),p=["style","mode","modal","value","children","labelInValue","onChange"];function a(C){var D=C.style,M=C.mode,I=C.modal,u=C.value,b=C.children,L=C.labelInValue,y=C.onChange,h=i()(C,p),O=(0,g.useState)(!1),x=d()(O,2),B=x[0],R=x[1],A=function(){R(!0)},T=(0,g.useState)(void 0),K=d()(T,2),W=K[0],j=K[1],U=(0,g.useState)(!1),k=d()(U,2),F=k[0],z=k[1],N=(0,g.useState)(u),S=d()(N,2),Z=S[0],$=S[1],Q=(0,g.useState)(void 0),H=d()(Q,2),G=H[0],ne=H[1],V=function(q){q==null||q.stopPropagation(),R(!1)},Y={value:Z,mode:M,onClose:V,onLoading:z,onChangeLabel:j,onChange:function(q,te){$(L?te:q)},onChangeOptions:ne},X=function(){y==null||y(Z),R(!1)},ue=function(){$(u),R(!1)},ae=function(){if(!(u===void 0||Array.isArray(u)&&u.length===0)){if(W)return W;if(Array.isArray(u))return u.map(function(te){var re;return m()(te)==="object"?te[((re=h.fieldNames)===null||re===void 0?void 0:re.value)||"value"]:te});if(m()(u)==="object"){var q;return u[((q=h.fieldNames)===null||q===void 0?void 0:q.value)||"value"]}return u}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,o()(o()({allowClear:!0,suffixIcon:F?(0,t.jsx)(_.Z,{}):(0,t.jsx)(s.Z,{}),open:!1,popupRender:function(){return(0,t.jsx)("div",{})},value:F?void 0:ae(),onClick:A,placeholder:"\u8BF7\u9009\u62E9"},h),{},{mode:W?void 0:M,style:D,options:G,onChange:function(q){$(q),y==null||y(q)}})),(0,t.jsx)(l.Z,o()(o()({open:B,onCancel:ue,styles:{body:{padding:0}},forceRender:!0,onOk:X},I),{},{children:b&&(typeof b=="function"?b(Y):g.cloneElement(b,Y))}))]})}},84799:function(E,n,e){"use strict";e.r(n)},10436:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(90228),m=e.n(P),c=e(87999),d=e.n(c),v=e(67825),i=e.n(v),_=e(11048),s=e(75271),r=e(18437),l=e(52676),g=["request","cache","defaultParams"];function t(p){var a=p.request,C=p.cache,D=p.defaultParams,M=D===void 0?{}:D,I=i()(p,g),u=(0,_.Z)(function(){var O=d()(m()().mark(function x(B){return m()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(a){A.next=2;break}return A.abrupt("return",[]);case 2:return A.next=4,a(B);case 4:return A.abrupt("return",A.sent);case 5:case"end":return A.stop()}},x)}));return function(x){return O.apply(this,arguments)}}(),o()({manual:!0},C||{})),b=u.loading,L=u.data,y=L===void 0?[]:L,h=u.run;return(0,s.useEffect)(function(){a&&h(M)},[JSON.stringify(M)]),(0,l.jsx)(r.default,o()({options:y,loading:b},I))}n.default=t},49805:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(31759),m=e.n(P),c=e(48305),d=e.n(c),v=e(67825),i=e.n(v),_=e(79312),s=e(97022),r=e(6052),l=e(75271),g=e(52676),t=["value","style","mode","children","contentWidth","labelInValue","onChange"];function p(a){var C=a.value,D=a.style,M=a.mode,I=a.children,u=a.contentWidth,b=a.labelInValue,L=a.onChange,y=i()(a,t),h=(0,l.useState)(!0),O=d()(h,2),x=O[0],B=O[1],R=(0,l.useRef)(null),A=(0,l.useState)(void 0),T=d()(A,2),K=T[0],W=T[1],j=(0,l.useState)(!1),U=d()(j,2),k=U[0],F=U[1],z=(0,l.useState)(void 0),N=d()(z,2),S=N[0],Z=N[1],$=function(V){V==null||V.stopPropagation(),B(!1)},Q={value:C,onClose:$,onChange:function(V,Y){L==null||L(b?Y:V),M||B(!1)},onLoading:F,onChangeLabel:W,mode:M,onChangeOptions:Z},H=(0,l.useMemo)(function(){return(0,g.jsx)("div",{style:{display:"none"},ref:R,children:I&&(typeof I=="function"?I(Q):l.cloneElement(I,Q))})},[C]);(0,l.useEffect)(function(){B(!1)},[]),(0,l.useEffect)(function(){x&&R.current&&R.current.style.display==="none"&&(R.current.style.display="block")},[x]);var G=function(){if(!(C===void 0||Array.isArray(C)&&C.length===0)){if(K)return K;if(Array.isArray(C))return C.map(function(Y){var X;return m()(Y)==="object"?Y[((X=y.fieldNames)===null||X===void 0?void 0:X.value)||"value"]:Y});if(m()(C)==="object"){var V;return C[((V=y.fieldNames)===null||V===void 0?void 0:V.value)||"value"]}return C}};return(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(r.default,o()(o()({open:x,onOpenChange:B,allowClear:!0,defaultActiveFirstOption:!0,suffixIcon:k?(0,g.jsx)(_.Z,{}):(0,g.jsx)(s.Z,{}),placeholder:"\u8BF7\u9009\u62E9"},y),{},{popupMatchSelectWidth:u,popupRender:function(){return H},mode:K?void 0:M,value:k?void 0:G(),style:o()({},D),onChange:L,options:S}))})}n.default=p},61809:function(E,n,e){"use strict";e.r(n),e.d(n,{onRequest:function(){return f},onRequestDefault:function(){return o},onRequestList:function(){return m},onRequestPage:function(){return P}});function f(){return new Promise(function(c){setTimeout(function(){c({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(c){setTimeout(function(){c([{value:"1",label:"\u9009\u9879\u4E00"},{value:"2",label:"\u9009\u9879\u4E8C"},{value:"3",label:"\u9009\u9879\u4E09"}])},1e3)})}function P(c){var d=c.pageNo;return new Promise(function(v){setTimeout(function(){v({data:{totalNum:20,result:Array(10).fill("").map(function(i,_){var s=(d-1)*10+_+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 m(c){return new Promise(function(d){setTimeout(function(){d({data:Array.isArray(c)?c.map(function(v){return{id:v,name:"\u9009\u9879".concat(v)}}):[{id:c,name:"\u9009\u9879".concat(c)}]})},1500)})}},18437:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(15558),m=e.n(P),c=e(67825),d=e.n(c),v=e(6052),i=e(75271),_=e(73511),s=e.n(_),r=e(65173),l=e(99696),g=e(10436),t=e(49805),p=e(52676),a=["showAll","fieldNames","options"];function C(M){return Array.isArray(M)?M:[M]}function D(M){var I=M.showAll,u=M.fieldNames,b=M.options,L=b===void 0?[]:b,y=d()(M,a),h=m()(C((u==null?void 0:u.label)||["label"])),O=m()(C((u==null?void 0:u.value)||["value"])),x=function(A,T){var K="".concat(T==null?void 0:T.label).concat(T==null?void 0:T.value),W=s().convertToPinyin(K,"",!0).toLocaleUpperCase();return!!(K.includes(A)||W.includes(A.toLocaleUpperCase()))},B=(0,i.useMemo)(function(){for(var R=L||[];h.length>0||O.length>0;){if(Array.isArray(R)){R.forEach(function(T){T.label=(0,r.getDataByNamePath)(T,h),T.value=(0,r.getDataByNamePath)(T,O)});break}h.shift();var A=O.shift();A&&R!==void 0&&(R=R[A])}return I&&Array.isArray(R)&&R.length>0&&R.unshift(typeof I=="boolean"?{label:"\u5168\u90E8",value:""}:I),R},[L]);return(0,p.jsx)(v.default,o()({options:B,filterOption:x,placeholder:"\u8BF7\u9009\u62E9",allowClear:!0,showSearch:!0},y))}D.Api=g.default,D.Customize=t.default,D.Modal=l.default,n.default=D},98708:function(E,n,e){"use strict";e.r(n);var f=e(16254),o=e(60561),P=e(52676);function m(c){var d=c.value,v=c.options,i=v===void 0?[]:v;if(d===void 0||d==="")return d;var _=i.find(function(l){return l.value===d});if(!_)return d;var s=_.label,r=_.tag;return r&&r[0]==="tag"?(0,P.jsx)(f.Z,{color:r[1],children:s}):r&&r[0]==="badge"?(0,P.jsx)(o.Z,{status:r[1],text:s}):s}n.default=m},73946:function(E,n,e){"use strict";e.d(n,{Z:function(){return b}});var f=e(31759),o=e.n(f),P=e(26068),m=e.n(P),c=e(67825),d=e.n(c),v=e(37208),i=e(37401),_=e(16929),s=e(16708),r=e(12203),l=e(75271),g=e(2369),t=e(32097),p=e(73799),a=e(60136),C=e(52676),D=["onResize","width"],M=["data","style","scroll","rowKey","columns","tableRef","pagination","rowSelection","tableContentRef"],I=function(y){var h=y.onResize,O=y.width,x=d()(y,D);return!O||typeof O!="number"?(0,C.jsx)("th",m()({},x)):(0,C.jsx)(g.Resizable,{width:O,height:0,handle:(0,C.jsx)("span",{className:"react-resizable-handle",onClick:function(R){R.stopPropagation()}}),onResize:h,draggableOpts:{enableUserSelectHack:!1},children:(0,C.jsx)("th",m()({},x))})},u=function(y){var h=y.data,O=y.style,x=y.scroll,B=y.rowKey,R=y.columns,A=y.tableRef,T=y.pagination,K=y.rowSelection,W=y.tableContentRef,j=d()(y,M),U=(0,v.Z)(),k=h||{},F=k.dataSource,z=F===void 0?[]:F,N=k.pageSize,S=N===void 0?10:N,Z=k.current,$=Z===void 0?1:Z,Q=k.total,H=Q===void 0?0:Q,G=(0,a.default)(),ne=(0,l.useContext)(r.E_),V=(0,i.Z)(function(){var re;if((x==null?void 0:x.y)==="auto"){var ie=W==null?void 0:W.current;if(G!=null&&G.tabsId){var oe=document.getElementById(G==null?void 0:G.tabsId);oe&&oe.classList.add("ccs-tabs-auto-height")}if(ie){var le=(re=W.current)===null||re===void 0?void 0:re.clientHeight,me=ne.getPrefixCls(),_e=ie.getElementsByClassName("".concat(me,"-table"))[0],ve=[],ge=void 0;_e.childNodes.forEach(function(Ce){Ce.classList.contains("".concat(me,"-table-container"))?Ce.childNodes.forEach(function(Ie){Ie.classList.contains("".concat(me,"-table-body"))?ge=Ie:ve.push(Ie.clientHeight||0)}):ve.push(Ce.clientHeight||0)});var Ee=ie.getElementsByClassName("".concat(me,"-pagination"));if(Ee&&Ee.length>0&&ve.push(Ee[0].clientHeight),ge){var Oe=le-ve.reduce(function(Ce,Ie){return Ce+Ie},0);ge.style.height="".concat(Oe,"px")}}}},{wait:500,leading:!0}),Y=V.run;(0,l.useEffect)(function(){Y()},[H]),(0,l.useImperativeHandle)(A,function(){return{onColumnFilter:function(ie){var oe;R==null||R.forEach(function(le){le.hidden=ie.includes(le.dataIndex)}),(oe=y.onEvent)===null||oe===void 0||oe.call(y,p.DataEvent.ColumnFilter,ie),U()},onFixedThead:Y}});var X=function(ie){return function(oe,le){var me=le.size,_e=R==null?void 0:R.find(function(ve){return ve.dataIndex===ie});_e.width=me.width,U()}},ue=function(){var ie=R==null?void 0:R.filter(function(oe){return!oe.hidden});return ie==null||ie.forEach(function(oe){if(oe.ellipsis&&typeof oe.ellipsis!="boolean"&&!oe.render){var le={};typeof oe.ellipsis=="number"&&(le={rows:oe.ellipsis}),o()(oe.ellipsis)==="object"&&(le=oe.ellipsis),oe.ellipsis=!1,oe.render=function(me){return(0,C.jsx)(t.default.Ellipsis,m()({content:me,showTooltip:!0},le))}}oe.width!==void 0&&(oe.onHeaderCell=function(me){return{width:me.width,onResize:X(oe.dataIndex)}})}),j.showNumber&&(ie==null||ie.unshift({title:"\u5E8F\u53F7",ellipsis:!0,width:60,render:function(le,me,_e){return _e+1+(($||1)-1)*(S||10)}})),ie},ae=_.Z.useToken(),J=ae.token,q=function(ie,oe){return oe||0},te=ue();return(0,C.jsx)("div",{className:"ccs-table-card",style:m()(m()({},O),{},{background:J.colorBgContainer}),children:(0,C.jsx)(s.Z,m()(m()({rowKey:B||q,dataSource:z,sortDirections:["ascend","descend"],pagination:T===!1?!1:m()({total:H,pageSize:S,current:$,showSizeChanger:!0,showQuickJumper:!0,showTotal:function(){return"\u5171".concat(H,"\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(J.colorBorderSecondary)}},T),rowSelection:K?m()(m()({},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 ie;return(ie=j.summary)===null||ie===void 0?void 0:ie.call(j,re,te||[])}:void 0}))})},b=u},35119:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return g}});var f=e(25298),o=e.n(f),P=e(17069),m=e.n(P),c=e(82092),d=e.n(c),v=e(8890),i=e(46960),_=e(15771),s=e(86763),r=e.n(s),l,g=function(){function t(){o()(this,t)}return m()(t,null,[{key:"setConfig",value:function(a,C,D){this.message=a,this.notice=C,this.modal=D}},{key:"easyMessage",value:function(a,C,D){var M,I=(M=this.message)!==null&&M!==void 0?M:v.ZP;a!=null&&a.success?I.success(C||"\u64CD\u4F5C\u6210\u529F"):I.error(D||(a==null?void 0:a.msg)||"\u64CD\u4F5C\u5931\u8D25")}},{key:"confirm",value:function(){var a=this,C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return new Promise(function(D){var M,I=(M=a.modal)!==null&&M!==void 0?M:i.Z;I.confirm({title:"\u64CD\u4F5C\u786E\u8BA4",content:C,okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u53D6\u6D88",centered:!0,onOk:function(){D(!0)},onCancel:function(){D(!1)}})})}}]),t}();l=g,d()(g,"message",v.ZP),d()(g,"notice",_.ZP),d()(g,"modal",i.Z),d()(g,"easyConfirm",r()(l.confirm,500,{leading:!0,trailing:!1}))},71973:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(67825),m=e.n(P),c=e(38443),d=e(17888),v=e.n(d),i=e(80998),_=e.n(i),s=e(52676),r=["value","onChange"],l=["value","onChange"];v().extend(_());function g(p){var a=p.value,C=p.onChange,D=m()(p,r),M=function(b,L){C&&C(L)},I=typeof a=="string"?v()(a,"HH:mm:ss"):a;return(0,s.jsx)(c.Z,o()({value:I,onChange:M},D))}function t(p){var a=p.value,C=p.onChange,D=m()(p,l),M=function(){return Array.isArray(a)?[v()(a[0],"HH:mm:ss"),v()(a[1],"HH:mm:ss")]:null},I=function(b,L){C&&C(L)};return(0,s.jsx)(c.Z.RangePicker,o()({value:M(),onChange:I},D))}g.RangePicker=t,n.default=g},65683:function(E,n,e){"use strict";e.r(n)},80882:function(E,n,e){"use strict";e.r(n),e.d(n,{uploadDefaultFlies:function(){return b}});var f=e(26068),o=e.n(f),P=e(90228),m=e.n(P),c=e(87999),d=e.n(c),v=e(48305),i=e.n(v),_=e(67825),s=e.n(_),r=e(31759),l=e.n(r),g=e(98868),t=e(8890),p=e(62477),a=e(18466),C=e(75271),D=e(50712),M=e(9472),I=e(52676),u=["value","uploadText","maxCount","maxFileSize","fileDownloadUrl","uploadRequest","onChange"];function b(y,h){return Array.isArray(y)?y.map(function(O){if(typeof O=="string")return{uid:O,name:O,url:"".concat(h).concat(O),fileId:O};if(l()(O)==="object")return{uid:O.fileId,name:O.name,url:"".concat(h).concat(O.fileId),fileId:O.fileId}}).filter(function(O){return O}):typeof y=="string"?[{uid:y,name:y,url:"".concat(h).concat(y),fileId:y}]:[]}function L(y){var h=y.value,O=y.uploadText,x=y.maxCount,B=x===void 0?1:x,R=y.maxFileSize,A=R===void 0?10:R,T=y.fileDownloadUrl,K=T===void 0?"":T,W=y.uploadRequest,j=y.onChange,U=s()(y,u),k=(0,C.useState)(function(){return b(h,K)}),F=i()(k,2),z=F[0],N=F[1],S=function(H){var G=H.fileList;if(N(G),!!j&&!G.find(function(Y){return Y.status==="uploading"}))if(B===1){var ne,V;j(((ne=G[0])===null||ne===void 0||(ne=ne.response)===null||ne===void 0?void 0:ne.data)||((V=G[0])===null||V===void 0?void 0:V.fileId))}else j(G.map(function(Y){var X;return((X=Y.response)===null||X===void 0?void 0:X.data)||Y.fileId}).filter(function(Y){return Y!==void 0}))},Z=function(H){var G=H.size/1024/1024<A;return G||t.ZP.error("\u6587\u4EF6\u4E0D\u80FD\u5927\u4E8E".concat(A,"MB!")),G},$=function(){var Q=d()(m()().mark(function H(G){var ne,V,Y,X;return m()().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ne=G.file,V=G.onSuccess,Y=G.onError,ae.next=3,W(ne);case 3:X=ae.sent,X.success&&V&&V(X),!X.success&&Y&&(D.default.message.error(X.msg||"\u4E0A\u4F20\u5931\u8D25"),Y({status:500,name:"\u51FA\u9519\u4E86",message:X.msg||"\u4E0A\u4F20\u5931\u8D25"}));case 6:case"end":return ae.stop()}},H)}));return function(G){return Q.apply(this,arguments)}}();return(0,I.jsx)(p.Z,o()(o()({customRequest:$,name:"fileName",onChange:S,beforeUpload:Z,fileList:z,maxCount:B},U),{},{children:(0,I.jsx)(a.ZP,{icon:(0,I.jsx)(g.Z,{}),disabled:z.length>=B,children:O})}))}L.Image=M.ImageUpload,n.default=L},9472:function(E,n,e){"use strict";e.r(n),e.d(n,{ImageUpload:function(){return u}});var f=e(26068),o=e.n(f),P=e(90228),m=e.n(P),c=e(87999),d=e.n(c),v=e(48305),i=e.n(v),_=e(67825),s=e.n(_),r=e(17114),l=e(8890),g=e(62477),t=e(89020),p=e(75271),a=e(50712),C=e(80882),D=e(52676),M=["uploadText","maxCount","maxFileSize","crop","value","fileDownloadUrl","uploadRequest","onChange","onImageInfo","accept"],I=function(L){return new Promise(function(y,h){var O=new FileReader;O.readAsDataURL(L),O.onload=function(){return y(O.result)},O.onerror=function(x){return h(x)}})};function u(b){var L=b.uploadText,y=L===void 0?"\u4E0A\u4F20":L,h=b.maxCount,O=h===void 0?1:h,x=b.maxFileSize,B=x===void 0?10:x,R=b.crop,A=b.value,T=b.fileDownloadUrl,K=T===void 0?"":T,W=b.uploadRequest,j=b.onChange,U=b.onImageInfo,k=b.accept,F=k===void 0?"image/*":k,z=s()(b,M),N=(0,p.useState)(function(){return(0,C.uploadDefaultFlies)(A,K)}),S=i()(N,2),Z=S[0],$=S[1],Q=a.default.useDialog(),H=Q.openModal,G=function(ae){var J=ae.fileList;if(J.forEach(function(te){!te.fileId&&te.response&&(te.fileId=te.response.data)}),$(J),!!j&&!J.find(function(te){return te.status==="uploading"}))if(O===1){var q;j((q=J[0])===null||q===void 0?void 0:q.fileId)}else j(J.filter(function(te){return!!te.fileId}).map(function(te){return te.fileId}))},ne=function(ae){var J=ae.size/1024/1024<B,q=ae.type==="image/jpeg"||ae.type==="image/png";return q?(J||l.ZP.error("\u56FE\u7247\u4E0D\u80FD\u5927\u4E8E".concat(B,"MB!")),J):(l.ZP.error("\u8BF7\u9009\u62E9\u56FE\u7247\uFF01"),g.Z.LIST_IGNORE)},V=function(){var ue=d()(m()().mark(function ae(J){return m()().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:if(J.preview){te.next=8;break}if(!J.originFileObj){te.next=7;break}return te.next=4,I(J.originFileObj);case 4:J.preview=te.sent,te.next=8;break;case 7:J.preview="".concat(K).concat(J.fileId);case 8:H({title:J.name||J.url.substring(J.url.lastIndexOf("/")+1),content:(0,D.jsx)("img",{alt:J.name,style:{width:"100%"},src:J.preview}),footer:null});case 9:case"end":return te.stop()}},ae)}));return function(J){return ue.apply(this,arguments)}}(),Y=function(){var ue=d()(m()().mark(function ae(J){var q,te,re,ie,oe,le,me,_e;return m()().wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return q=J.file,te=J.onSuccess,re=J.onError,ge.next=3,W(q);case 3:if(ie=ge.sent,!(ie.success&&te)){ge.next=11;break}return te(ie),ge.next=8,I(q);case 8:oe=ge.sent,le=q,me=le.name,_e=le.type,U==null||U({base64:oe,name:me,type:_e,url:ie.data});case 11:!ie.success&&re&&(a.default.message.error(ie.msg||"\u4E0A\u4F20\u5931\u8D25"),re({status:500,name:"\u51FA\u9519\u4E86",message:ie.msg||"\u4E0A\u4F20\u5931\u8D25"}));case 12:case"end":return ge.stop()}},ae)}));return function(J){return ue.apply(this,arguments)}}(),X=(0,D.jsx)(g.Z,o()(o()({customRequest:Y,name:"fileName",onChange:G,beforeUpload:ne,fileList:Z,maxCount:O,listType:"picture-card",onPreview:V,accept:F},z),{},{children:Z.length<O&&(0,D.jsxs)("div",{children:[(0,D.jsx)(r.Z,{}),(0,D.jsx)("div",{style:{marginTop:8},children:y})]})}));return(0,D.jsx)(D.Fragment,{children:R?(0,D.jsx)(t.default,{minZoom:.5,rotationSlider:!0,children:X}):X})}},65173:function(E,n,e){"use strict";e.r(n),e.d(n,{extractBirthday:function(){return r},extractGender:function(){return l},getDataByNamePath:function(){return t},isUrl:function(){return g},isValidCard:function(){return s}});var f=e(31759),o=e.n(f),P=e(15558),m=e.n(P),c=/^[1-9]\d{5}(19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dXx]$/,d=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],v=["1","0","X","9","8","7","6","5","4","3","2"];function i(p){return c.test(p)}function _(p){for(var a=p.toUpperCase(),C=0,D=0;D<17;D++)C+=parseInt(a[D],10)*d[D];var M=C%11,I=v[M];return a[17]===I}function s(p){return p.length!==18||!i(p)?!1:_(p)}function r(p){if(!s(p))return null;var a=p.substring(6,10),C=p.substring(10,12),D=p.substring(12,14);return"".concat(a,"-").concat(C,"-").concat(D)}function l(p){if(!s(p))return null;var a=parseInt(p.substring(16,17),10);return a%2===1?1:0}function g(p){return/^https?:\/\/.+/.test(p)}function t(p,a){if(!(!p||!a)){if(typeof a=="string")return p[a];var C=m()(a),D=C.shift(),M=p[D];return o()(M)==="object"&&C.length>0?t(M,C):M}}},91721:function(E,n,e){"use strict";e.r(n)},1130:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(48305),m=e.n(P),c=e(96586),d=e(82187),v=e.n(d),i=e(75271),_=e(73801),s=e(52676),r=function(t){if(!t)return 1;var p=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/p},l=function(t){var p=t.children,a=t.style,C=t.className,D=t.markStyle,M=t.markClassName,I=t.zIndex,u=I===void 0?9:I,b=t.gapX,L=b===void 0?212:b,y=t.gapY,h=y===void 0?222:y,O=t.width,x=O===void 0?120:O,B=t.height,R=B===void 0?64:B,A=t.rotate,T=A===void 0?-22:A,K=t.image,W=t.content,j=t.offsetLeft,U=t.offsetTop,k=t.fontStyle,F=k===void 0?"normal":k,z=t.fontWeight,N=z===void 0?"normal":z,S=t.fontColor,Z=S===void 0?"rgba(0,0,0,.15)":S,$=t.fontSize,Q=$===void 0?16:$,H=t.fontFamily,G=H===void 0?"sans-serif":H,ne=t.prefixCls,V=(0,i.useContext)(c.default.ConfigContext),Y=V.getPrefixCls,X=Y("pro-layout-watermark",ne),ue=v()("".concat(X,"-wrapper"),C),ae=v()(X,M),J=(0,i.useState)(""),q=m()(J,2),te=q[0],re=q[1];return(0,i.useEffect)(function(){var ie=document.createElement("canvas"),oe=ie.getContext("2d"),le=r(oe),me="".concat((L+x)*le,"px"),_e="".concat((h+R)*le,"px"),ve=j||L/2,ge=U||h/2;if(ie.setAttribute("width",me),ie.setAttribute("height",_e),oe){oe.translate(ve*le,ge*le),oe.rotate(Math.PI/180*Number(T));var Ee=x*le,Oe=R*le;if(K){var Ce=new Image;Ce.crossOrigin="anonymous",Ce.referrerPolicy="no-referrer",Ce.src=K,Ce.onload=function(){oe.drawImage(Ce,0,0,Ee,Oe),re(ie.toDataURL())}}else if(W){var Ie=Number(Q)*le;oe.font="".concat(F," normal ").concat(N," ").concat(Ie,"px/").concat(Oe,"px ").concat(G),oe.fillStyle=Z,oe.fillText(W,0,0),re(ie.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[L,h,j,U,T,F,N,x,R,G,Z,K,W,Q]),(0,s.jsxs)("div",{style:o()({position:"relative"},a),className:ue,children:[p,te&&(0,s.jsx)("div",{className:ae,style:o()({zIndex:u,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(L+x,"px"),pointerEvents:"none",backgroundRepeat:"repeat",backgroundImage:"url('".concat(te,"')")},D)})]})};l.Relative=_.default,n.default=l},73801:function(E,n,e){"use strict";e.r(n);var f=e(26068),o=e.n(f),P=e(48305),m=e.n(P),c=e(96586),d=e(82187),v=e.n(d),i=e(75271),_=e(52676),s=function(g){if(!g)return 1;var t=g.backingStorePixelRatio||g.webkitBackingStorePixelRatio||g.mozBackingStorePixelRatio||g.msBackingStorePixelRatio||g.oBackingStorePixelRatio||g.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},r=function(g){var t=g.markStyle,p=g.markClassName,a=g.zIndex,C=a===void 0?9:a,D=g.gapX,M=D===void 0?212:D,I=g.gapY,u=I===void 0?222:I,b=g.width,L=b===void 0?120:b,y=g.height,h=y===void 0?64:y,O=g.rotate,x=O===void 0?-22:O,B=g.image,R=g.content,A=g.offsetLeft,T=g.offsetTop,K=g.fontStyle,W=K===void 0?"normal":K,j=g.fontWeight,U=j===void 0?"normal":j,k=g.fontColor,F=k===void 0?"rgba(0,0,0,.15)":k,z=g.fontSize,N=z===void 0?16:z,S=g.fontFamily,Z=S===void 0?"sans-serif":S,$=g.prefixCls,Q=(0,i.useContext)(c.default.ConfigContext),H=Q.getPrefixCls,G=H("pro-layout-watermark",$),ne=v()(G,p),V=(0,i.useState)(""),Y=m()(V,2),X=Y[0],ue=Y[1];return(0,i.useEffect)(function(){var ae=document.createElement("canvas"),J=ae.getContext("2d"),q=s(J),te="".concat((M+L)*q,"px"),re="".concat((u+h)*q,"px"),ie=A||M/2,oe=T||u/2;if(ae.setAttribute("width",te),ae.setAttribute("height",re),J){J.translate(ie*q,oe*q),J.rotate(Math.PI/180*Number(x));var le=L*q,me=h*q;if(B){var _e=new Image;_e.crossOrigin="anonymous",_e.referrerPolicy="no-referrer",_e.src=B,_e.onload=function(){J.drawImage(_e,0,0,le,me),ue(ae.toDataURL())}}else if(R){var ve=Number(N)*q;J.font="".concat(W," normal ").concat(U," ").concat(ve,"px/").concat(me,"px ").concat(Z),J.fillStyle=F,J.fillText(R,0,0),ue(ae.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[M,u,A,T,x,W,U,L,h,Z,F,B,R,N]),(0,_.jsx)(_.Fragment,{children:X&&(0,_.jsx)("div",{className:ne,style:o()({zIndex:C,position:"fixed",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(M+L,"px"),pointerEvents:"none",backgroundRepeat:"repeat",backgroundImage:"url('".concat(X,"')")},t)})})};n.default=r},68144:function(E,n,e){"use strict";e.r(n),e.d(n,{default:function(){return Ke}});var f={};e.r(f),e.d(f,{aesDecrypt:function(){return Ee},aesEncrypt:function(){return ge},antPath:function(){return Ce},base64ToJson:function(){return q},copy:function(){return me},dayjs:function(){return Y},dayjsFmt:function(){return ie},findNodesByDFS:function(){return Ae},getArrayIds:function(){return z},getByJsonPath:function(){return Be},getNodeForge:function(){return Ue},getStroage:function(){return Z},getTimeId:function(){return F},getUUID:function(){return je},isBrowser:function(){return V},isDev:function(){return N},isEmpty:function(){return X},isFunction:function(){return S},isMobile:function(){return U},isNil:function(){return le},isNode:function(){return ne},isNotEmpty:function(){return ue},jsonParse:function(){return te},jsonStringify:function(){return J},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 Re},onPopoverPosition:function(){return de},onRelativeTime:function(){return K},onTextEllipsis:function(){return W},onTreeFlat:function(){return Ie},removeStroage:function(){return Q},rsaDecrypt:function(){return ve},rsaEncrypt:function(){return _e},rsaEncryptForge:function(){return ke},setStroage:function(){return $},sha256Encrypt:function(){return Oe},showLogWarning:function(){return H},showWarning:function(){return G},stringToHex:function(){return re}});var o=e(31759),P=e.n(o),m=e(44651),c=e.n(m),d=e(874),v=e.n(d),i=e(25778),_=e.n(i),s=e(17888),r=e.n(s),l=e(56e3),g=e.n(l),t=e(39396),p=e.n(t),a=e(87),C=e.n(a),D=e(58667),M=e(27859),I=e(21764),u=e(95170),b=e.n(u),L=e(4293),y=e.n(L),h=e(52041),O=e.n(h),x=e(52408),B=e(92054),R=e.n(B),A=e(15588),T=e(14224);r().locale(g()),r().extend(C()),r().extend(p());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 U(){var w=navigator.userAgent,ee=["Mobile","Android","iPhone","iPad","Windows Phone"];return ee.some(function(ce){return w.includes(ce)})}U.description="\u79FB\u52A8\u7AEF\uFF1F";function k(w,ee){return w.reduce(function(ce,fe){return O()(ce)&&O()(fe)&&ee?ce[ee]+fe[ee]:ce+fe},0)}k.description="\u6C42\u548C";var F=function(){return new Date().getTime()};F.description="\u83B7\u53D6\u5F53\u524D\u65F6\u95F4\u6233";var z=function(ee){return Array.from({length:ee},function(ce,fe){return fe})};z.description="\u751F\u6210\u6570\u7EC4";function N(){return!1}N.description="\u5F00\u53D1\u73AF\u5883\uFF1F";function S(w){return typeof w=="function"}S.description="\u662F\u51FD\u6570\uFF1F";function Z(w){return b().getItem(w)}Z.description="\u83B7\u53D6stroage";function $(w,ee){b().setItem(w,ee)}$.description="\u8BBE\u7F6Estroage";function Q(w){return b().removeItem(w)}Q.description="\u5220\u9664stroage";function H(w){}H.description="\u5F00\u53D1\u73AF\u5883\u629B\u51FA\u5F02\u5E38\u4FE1\u606F";function G(w,ee){(0,A.ZP)(w,ee)}G.description="\u5F00\u53D1\u73AF\u5883\u629B\u8B66\u544A";function ne(){return typeof T!="undefined"&&T.versions!==null&&T.versions.node!==null}ne.description="nodejs \u73AF\u5883";function V(){return typeof window!="undefined"&&typeof window.document!="undefined"&&!ne}V.description="\u6D4F\u89C8\u5668\u73AF\u5883";function Y(w){return r()(w)}Y.description="\u683C\u5F0F\u5316\u6210dayjs";var X=function(ee){return y()(ee)};X.description="\u7A7A\u5224\u65AD";var ue=function(ee){return!X(ee)};ue.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 J(w){if(!w)return"";try{return P()(w)==="object"?JSON.stringify(w):w}catch(ee){return""}}J.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 ie(w,ee){if(w)return ee&&(r()(),r()(w).format(ee)),r()(w)}ie.description="\u5B57\u7B26\u4E32\u8F6Cdayjs";function oe(w){return w?Object.keys(w).length===0:!0}oe.description="\u7A7A\u5BF9\u8C61\u5224\u65AD";function le(w){return typeof w=="string"?w.trim()==="":Array.isArray(w)?w.length===0:O()(w)?Object.keys(w).length===0:w==null}le.description="\u5224\u65AD\u503C\u4E0D\u4E3A\u7A7A";function me(w){if(w)return v()(w)}me.description="\u590D\u5236\u6587\u5B57";function _e(w,ee){var ce=new M.Z;return ce.setPublicKey(ee),ce.encrypt(w)||""}_e.description="RSA\u52A0\u5BC6";function ve(w,ee){var ce=new M.Z;return ce.setPublicKey(ee),ce.decrypt(w)||""}ve.description="RSA\u89E3\u5BC6";function ge(w,ee){return _().AES.encrypt(_().enc.Utf8.parse(w),_().enc.Utf8.parse(ee),{mode:_().mode.ECB,padding:_().pad.Pkcs7}).toString()}ge.description="AES\u52A0\u5BC6";function Ee(w,ee){return _().AES.decrypt(w,_().enc.Utf8.parse(ee),{mode:_().mode.ECB,padding:_().pad.Pkcs7}).toString(_().enc.Utf8)}Ee.description="AES\u89E3\u5BC6";function Oe(w,ee){return _().HmacSHA256(_().enc.Utf8.parse(w),ee).toString(_().enc.Hex)}Oe.description="HmacSHA256";function Ce(w,ee){var ce=new(c());return ce.match(w,ee)}Ce.description="\u5224\u65AD\u662F\u5426\u7B26\u5408ant path\u98CE\u683C\u5339\u914D\u5730\u5740";function Ie(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(Ie(fe[ee])):ce},[])}Ie.description="\u6811\u5F62\u6570\u636E\u6241\u5E73\u5316";function je(){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 ye=ee.map(function(xe){return ce[xe]}).join("");ye&&(fe=ye)}else fe=ce[ee];var se=(0,x.kP)(fe,w);return se()}je.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(ye){ye&&Object.keys(ye).forEach(function(se){ye[se]!==void 0&&(w[se]=ye[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 ye=ce.length-1;ye>=0;ye-=1)if(ce[ye]!==void 0)return ce[ye];return w}Te.description="\u5408\u5E76props",pe.description="\u5408\u5E76prop";function de(w,ee,ce){var fe={},ye=w.clientHeight,se=w.clientWidth;return se/2>ce&&ye/2>ee&&(fe={left:ce,top:ee,maxHeight:ye-ee-16}),se/2>ce&&ye/2<ee&&(fe={left:ce,bottom:ye-ee,maxHeight:ee-16}),se/2<ce&&ye/2>ee&&(fe={right:se-ce,top:ee,maxHeight:ye-ee-16}),se/2<ce&&ye/2<ee&&(fe={right:se-ce,bottom:ye-ee,maxHeight:ee-16}),fe}de.description="\u5224\u65AD\u76EE\u6807\u5BF9\u8BDD\u6846\u51FA\u73B0\u7684\u4F4D\u7F6E";function Re(w,ee){for(var ce=w.data,fe=w.key,ye=w.fieldKey,se=ye===void 0?"key":ye,xe=0;xe<ce.length;xe++){var We;if(ce[xe][se]===fe)return ee(ce[xe],xe,ce);var ze=(We=ce[xe])===null||We===void 0?void 0:We.children;ze&&Re({data:ze,key:fe,fieldKey:se},ee)}}Re.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 R()}Ue.description="\u751F\u6210node-forge\u5B9E\u4F8B";function ke(w,ee){var ce=R().pki.publicKeyFromPem(ee),fe=ce.encrypt(w,"RSAES-PKCS1-V1_5",{md:R().md.sha256.create()});return R().util.encode64(fe)}ke.description="\u57FA\u4E8Enode-forge\u5B9E\u73B0rsa\u52A0\u5BC6";var Ke=f},83857:function(E,n,e){"use strict";e.r(n)},86638:function(E,n,e){"use strict";e.r(n)},27783:function(){"use strict"},587:function(E,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return f}});const f=[{value:"\u57FA\u4E8E\u5355\u4E00\u804C\u8D23\u8BBE\u8BA1\u7684\u539F\u5B50\u7EC4\u4EF6",paraId:0,tocIndex:0}]},63953:function(E,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return f}});const f=[{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(E,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return f}});const f=[{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(E,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return f}});const f=[{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(E,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return f}});const f=[{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(E,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return f}});const f=[{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
|
|
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,Re=k(V,pe.menuKey);pe.urlAuthList=(Re==null||(de=Re.btnAuth)===null||de===void 0?void 0:de.map(function(Ae){return Ae.code}))||[]}),ie()},[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 Re=function(){var Be=i()(l()().mark(function Ue(){var ke;return l()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(U.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:U=w.t0;case 7:ke=U.findIndex(function(ee){return ee.pathName===G}),ke>-1&&U.splice(ke,1),U.unshift({pathName:G,menuName:(de==null?void 0:de.label)||"",time:new Date}),f.default.setStroage("_ROUTE_HISTORY",U);case 11:case"end":return w.stop()}},Ue)}));return function(){return Be.apply(this,arguments)}}();de&&Re();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=Y.key,ae=X.current.findIndex(function(pe){return pe.pageLocation.pathname===G});if(ae>-1){var oe=X.current[ae];oe.pageLocation.search!==Y.search||f.default.jsonStringify(oe.pageLocation.state)!==f.default.jsonStringify(Y.state)?X.current=M()(X.current,o()({},ae,{key:{$set:Y.key},pageLocation:{$set:Y}})):ue=oe.pageLocation.key}else{var _e=re||{},ce=_e.btnAuth,ve=ce===void 0?[]:ce,he=_e.breadcrumb,Ee=he===void 0?[]:he,Me=re.key!==void 0;X.current=M()(X.current,{$push:[{key:Y.key,label:(re==null?void 0:re.label)||"\u672A\u77E5",outlet:Me?le:(0,W.jsx)(R.default.Page404,{}),urlAuthList:ve.map(function(pe){return pe.code}),breadcrumb:Me?Ee:[],pageLocation:Y,menuKey:(re==null?void 0:re.key)||""}]})}var Pe=(0,x.useCallback)(function(pe){var de=X.current.find(function(ke){return ke.key===pe});if(de){var Re=de.pageLocation,Ae=Re.pathname,Be=Re.state,Ue=Re.search;Q.push("".concat(Ae).concat(Ue),Be)}},[]),Oe=(0,O.Z)(function(pe){var de=X.current.findIndex(function(Ae){return Ae.key===pe}),Re=X.current[de];if(de>=0){if(X.current=M()(X.current,{$splice:[[de,1]]}),Re.key!==pe){ie();return}if(X.current.length===0){Q.push("/");return}if(de===X.current.length){Pe(X.current[de-1].key);return}Pe(X.current[de].key)}}),Se=(0,x.useCallback)(function(pe){pe==="1"?(X.current=X.current.filter(function(de){return de.key===G}),ie()):(X.current=[],Q.push("/"))},[]),Te=(0,W.jsx)(I.Z,{menu:{items:F,onClick:function(de){Se(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()(q,"ccs-keep-alive"),children:[(0,W.jsx)(P.Z,{id:"keep-alive-tabs",hideAdd:!0,size:"small",onChange:Pe,className:b()("ccs-keep-alive-tabs",o()({},"dark",te)),activeKey:ue,type:"editable-card",onEdit:function(de){return Oe(de)},items:X.current,tabBarExtraContent:X.current.length>2?Te:null,tabBarStyle:{margin:0},renderTabBar:function(de,Re){return(0,W.jsx)(Re,_()(_()({},de),{},{className:"ccs-keep-alive-nav"}))}}),X.current.map(function(pe){var de=pe.key,Re=pe.urlAuthList,Ae=pe.outlet,Be=pe.breadcrumb,Ue=pe.pageLocation;return(0,W.jsx)(K.default,{active:Ue.pathname===G,location:Ue,onDestroy:Oe,urlAuthList:Re,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),d=e(56973),l=e(31939),h=e(52676);function i(c){var s=c.children,r=c.active,u=c.urlAuthList,p=c.onDestroy,t=c.breadcrumb,a=c.location,f="_tab_content_".concat(a.key),C=(0,_.useRef)(null);return(0,h.jsx)(d.PageContext.Provider,{value:{id:f,dialogHolderRef:C,isActive:r,location:a,onDestroy:p,onAuth:function(O){return u.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:C},"modal-drawer-holder"),(0,h.jsx)("div",{className:"page-bottom"})]})})})}n.default=(0,_.memo)(i,function(c,s){return c.active===s.active&&c.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),d=e(74973),l=e(56973),h=e(31939),i=e(52676),c=(0,v.memo)(function(u){var p=(0,v.useRef)(u.location),t=u.children,a=u.urlAuthList,f=a===void 0?[]:a,C=u.breadcrumb,D=C===void 0?[]:C,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)(d.Z,{items:D,className:"ccs-breadcrumb",style:u.breadcrumbStyle}),t,(0,i.jsx)(h.DialogElementsHolder,{ref:O},"modal-drawer-holder"),(0,i.jsx)("div",{className:"page-bottom"})]})})});function s(u){var p=u.appName,t=u.menuItems,a=t===void 0?[]:t,f=u.breadcrumbStyle,C=u.children,D=(0,o.useLocation)(),O=D.pathname,I=(0,o.useOutlet)(),m=(0,v.useMemo)(function(){var P,T=(0,_.findMenusByUrl)(a,O)||[],b=T==null?void 0:T.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=T.map(function(M){return{key:M.key,title:M.label}});return E.unshift({key:"-1",title:"\u9996\u9875"}),{auth:((P=b.btnAuth)===null||P===void 0?void 0:P.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)(c,{location:D,urlAuthList:m.auth,breadcrumb:m.breadcrumb,breadcrumbStyle:f,children:(0,i.jsxs)(i.Fragment,{children:[I,C]})}):(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 d},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(c,s){var r,u,p,t,a=c.parentNode;return a?(r=a.classList)!==null&&r!==void 0&&r.contains("ccs-drawer-content")||(u=a.classList)!==null&&u!==void 0&&u.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(c){var s,r=c.parentNode;return r?(s=r.classList)!==null&&s!==void 0&&s.contains("ccs-route-page")?{getContainer:function(){return c}}:i(r):!1},_=function i(c,s,r){if(Array.isArray(c))for(var u=0;u<c.length;u+=1){if(c[u][s]===r)return c[u];if(c[u].children){var p=i(c[u].children,s,r);if(p)return p}}},d=function i(c,s){return c.reduce(function(r,u){return r.push(u[s]),u.children&&Array.isArray(u.children)?r.concat(i(u.children,s)):r},[])},l=function(c,s){if(!v.isValidElement(c))return!1;var r=c==null?void 0:c.type;return typeof r=="string"?!1:(r==null?void 0:r.displayName)===s},h=function i(c,s,r){var u=s.showDepends;if(u){var p=c.filter(function(t){return u.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(c,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),d=e(87999),l=e.n(d),h=e(67825),i=e.n(h),c=e(11048),s=e(6052),r=e(57898),u=e(52676),p=["onChange"],t=s.default.Option,a=function(C){var D=C.onChange,O=i()(C,p),I=function(M){D&&D(M)};console.log("restProps",O);var m=(0,c.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)}))),P=m.loading,T=m.data,b=T===void 0?[]:T;return(0,u.jsx)(s.default,o()(o()({},o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:I,loading:P},O)),{},{children:b.map(function(E){return(0,u.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),d=e(87999),l=e.n(d),h=e(67825),i=e.n(h),c=e(11048),s=e(6052),r=e(75271),u=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,P=i()(D,t),T=function(K){m&&m(K)},b=I[0],E=(0,c.Z)(function(){var B=l()(_()().mark(function K(W){var F;return _()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,(0,u.queryParam2)(W);case 2:return F=k.sent,k.abrupt("return",F.data);case 4:case"end":return k.stop()}},K)}));return function(K){return B.apply(this,arguments)}}(),{manual:!0}),M=E.loading,x=E.data,S=x===void 0?[]:x,A=E.mutate,R=E.run;return(0,r.useEffect)(function(){S.length&&A([]),P.value&&m&&m(void 0),b&&R({param1:b})},[b]),(0,p.jsx)(s.default,o()(o()({},o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:T,loading:M,notFoundContent:b?"\u8BF7\u9009\u62E9":"\u8BF7\u9009\u62E9\u6761\u4EF61"},P)),{},{children:S.map(function(B){return(0,p.jsx)(a,{value:B.key,children:B.name},B.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),d=e(87999),l=e.n(d),h=e(67825),i=e.n(h),c=e(11048),s=e(6052),r=e(75271),u=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,P=i()(D,t),T=function(K){m&&m(K)},b=I[0],E=(0,c.Z)(function(){var B=l()(_()().mark(function K(W){var F;return _()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,(0,u.queryParam3)(W);case 2:return F=k.sent,k.abrupt("return",F.data);case 4:case"end":return k.stop()}},K)}));return function(K){return B.apply(this,arguments)}}(),{manual:!0}),M=E.loading,x=E.data,S=x===void 0?[]:x,A=E.mutate,R=E.run;return(0,r.useEffect)(function(){S.length&&A([]),P.value&&m&&m(void 0),b&&R({param2:b})},[b]),(0,p.jsx)(s.default,o()(o()({},o()(o()({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},onChange:T,loading:M,notFoundContent:b?"\u8BF7\u9009\u62E9":"\u8BF7\u9009\u62E9\u6761\u4EF62"},P),{},{adad:{asdasda:1,abav:2}})),{},{children:S.map(function(B){return(0,p.jsx)(a,{value:B.key,children:B.name},B.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(d){setTimeout(function(){d({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(d){return new Promise(function(l){console.log("param",d),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(d){return new Promise(function(l){console.log("param",d),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 d}});var v={},o=[],y=function(h){for(var i=[],c=0;c<5;c+=1){var s="".concat(h,"-").concat(c);v[s]?i.push(v[s]):i.push({id:s,name:"\u540D\u79F0-".concat(s),parentId:h})}var r=o.filter(function(u){return u.parentId===h});return r&&r.forEach(function(u){var p="".concat(h,"-").concat(i.length);i.push({id:p,name:v[p]?v[p].name:u.name,parentId:h})}),i},_=function(h){return new Promise(function(i){setTimeout(function(){i({success:!0,data:y(h.parentId)})},1e3)})},d=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(d){setTimeout(function(){d({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,d=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=d},76098:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(27783),_=e(18237),d=e(10495),l=e(29909),h=e(52676),i=function(r){return(0,h.jsx)(l.default,o()({},r))},c=function(r){return(0,h.jsx)(l.default,o()({},r))};i.Tree=c,i.SelectionAlert=_.default,i.Summary=d.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),d=e(8984),l=e(16254),h=e(18466),i=e(75271),c=e(52676);function s(r){var u=r.data,p=r.color,t=r.style,a=r.className,f=r.fieldNames,C=f===void 0?{key:"key",label:"label"}:f,D=r.onClear,O=_.Z.useToken(),I=O.token;if(!(!u||u.length===0)){var m="".concat(I.paddingSM,"px");return(0,c.jsxs)(d.Z,{size:4,wrap:!0,style:o()({padding:"0 ".concat(m," ").concat(m," ").concat(m)},t),className:a,children:[u.map(function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,c.jsx)(l.Z,{color:p,closable:!0,onClose:function(b){D(P[C.key]),b.preventDefault()},children:P[C.label||"name"]},P[C.key||"key"])}),u.length>1&&(0,c.jsx)(h.ZP,{size:"small",onClick:function(T){D(),T.preventDefault()},icon:(0,c.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 _(d){var l=d.data,h=l===void 0?{}:l,i=d.columns,c=d.hasRowSelection;y=-1;var s=function r(u){return u.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 c&&(y+=1),(0,o.jsx)(v.Z.Summary,{fixed:!0,children:(0,o.jsxs)(v.Z.Summary.Row,{children:[c&&(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),d=e(26068),l=e.n(d),h=e(48305),i=e.n(h),c=e(19842),s=e(16929),r=e(37426),u=e(12203),p=e(82187),t=e.n(p),a=e(75271),f=e(81475),C=e(32097),D=e(73799),O=e(24887),I=e(85289),m=e(73946),P=e(3034),T=e(27783),b=e(26707),E=e(52676),M="ccs-pl";function x(A){var R={filters:{},orderProps:[],columnOptions:[],columnShowKeys:[]};return A==null||A.forEach(function(B){B.dataIndex&&B.title&&R.columnOptions.push({label:B.title,value:B.dataIndex}),B.hidden!==!0&&R.columnShowKeys.push(B.dataIndex),B.sorter&&B.defaultSortOrder!==void 0&&R.orderProps.push({prop:B.dataIndex,ascending:B.defaultSortOrder==="ascend"}),B.filters&&B.defaultFilteredValue!==void 0&&(R.filters[B.dataIndex]=B.defaultFilteredValue)}),R}var S=function(R){var B,K,W=R.init,F=R.auth,U=R.table,k=R.styles,N=k===void 0?{}:k,H=R.proRef,j=R.toolbar,L=R.children,Z=R.className,z=R.expandForm,Q=R.formItems,$=Q===void 0?[]:Q,V=R.leafNode,q=R.bordered,X=R.parentFieldName,Y=R.formInitValues,G=Y===void 0?{}:Y,le=R.onEvent,ie=(0,a.useContext)(u.E_);(0,I.useInsertCss)("table",function(Ce){return[".ccs-pl .".concat(Ce,"-table-title {padding: 0 !important;} ")]});var J=U||{},ne=J.requestParam,te=ne===void 0?{}:ne,re=J.columns,ue=J.rowKey,ae=J.request,oe=(0,a.useRef)(!1),_e=(0,a.useMemo)(function(){return x(re)},[]),ce=(0,a.useRef)(_e),ve=(0,a.useRef)(null),he=(0,a.useRef)(null),Ee=(0,a.useRef)(),Me=(0,a.useRef)(null),Pe=(0,a.useRef)(null),Oe=(0,a.useState)((U==null?void 0:U.size)||"middle"),Se=i()(Oe,2),Te=Se[0],pe=Se[1],de=(0,f.default)(),Re=de.theme,Ae=s.Z.useToken(),Be=Ae.token,Ue=(0,O.default)({auth:F,rowKey:ue,pagination:U==null?void 0:U.pagination,fieldNames:(B=R.table)===null||B===void 0?void 0:B.fieldNames,emptyDefaultOne:U==null?void 0:U.emptyDefaultOne,onFilterOrder:function(){return ce.current},onEvent:le,getFormValues:function(){var ge;return(ge=Me.current)===null||ge===void 0?void 0:ge.getFormValues()},request:ae,onRequestCustom:X?function(){for(var Ce,ge=arguments.length,be=new Array(ge),Ie=0;Ie<ge;Ie++)be[Ie]=arguments[Ie];return(Ce=Pe.current)===null||Ce===void 0?void 0:Ce.onRequestTree.apply(Ce,be)}:void 0}),ke=Ue.isAuth,Fe=Ue.data,w=Ue.onRequest,ee=Ue.onChangeData,me=function(ge){var be,Ie,Le=(0,P.getDataById)(Fe.dataSource||[],ue,ge);if(!Le){w(D.DataEvent.Search);return}var We=(0,P.getAllChildrenId)(Le.children||[],ue);(be=Pe.current)===null||be===void 0||be.onExpandKeys(We),(Ie=Pe.current)===null||Ie===void 0||Ie.onRequestTree(D.DataEvent.PartialReload,{},Le)};(0,a.useEffect)(function(){var Ce=(0,P.onTableInModalOrDrawer)(ve.current,ie.getPrefixCls());if(Ce){oe.current=Ce,U!=null&&U.size||pe("small");return}var ge=(0,P.onTableInTabItem)(ve.current);if(ge){oe.current=ge;return}},[]),(0,c.Z)(function(){pe((U==null?void 0:U.size)||"middle")},[U==null?void 0:U.size]),(0,a.useEffect)(function(){W!==!1&&ae&&w(D.DataEvent.InitSearch)},[Object.keys(te||{}).toString(),Object.values(te||{}).toString()]);var fe=function(){w(D.DataEvent.Search)},ye=function(){var ge,be,Ie;U==null||(ge=U.rowSelection)===null||ge===void 0||(be=ge.onClearByProTable)===null||be===void 0||be.call(ge),(Ie=Me.current)===null||Ie===void 0||Ie.form.resetFields(),re==null||re.forEach(function(Le){(Le.filterDropdown||Le.filters)&&(Le.filteredValue=Le.defaultFilteredValue||[]),Le.sorter&&(Le.sortOrder=Le.defaultSortOrder)}),ce.current=_e,w(D.DataEvent.Reset)},se=function(){var ge,be;U==null||(ge=U.rowSelection)===null||ge===void 0||(be=ge.onClearByProTable)===null||be===void 0||be.call(ge),w(D.DataEvent.Reload,Fe.current,Fe.pageSize)};(0,a.useImperativeHandle)(H,function(){var Ce;return{data:Fe,getFormValues:(Ce=Me.current)===null||Ce===void 0?void 0:Ce.getFormValues,onSearch:fe,onReload:se,onPartialReload:function(be){me(be)},onReset:ye,onChangeData:ee}});var xe=function(ge,be,Ie){if(be&&(re==null||re.forEach(function(We){(We.filterDropdown||We.filters)&&(We.filteredValue=be[We.dataIndex])}),ce.current=l()(l()({},ce.current),{},{filters:be})),Ie){re==null||re.forEach(function(We){if(We.sorter){if(Array.isArray(Ie)){var Ve=Ie.find(function($n){return $n.field===We.dataIndex});Ve&&(We.sortOrder=Ve==null?void 0:Ve.order);return}if(Ie.field===We.dataIndex){We.sortOrder=Ie.order;return}We.sortOrder=void 0}});var Le=[];Array.isArray(Ie)?Ie.forEach(function(We){Le.push({prop:We.field,ascending:We.order==="ascend"})}):Ie.order&&Le.push({prop:Ie.field,ascending:Ie.order==="ascend"}),ce.current=l()(l()({},ce.current),{},{orderProps:Le})}w(D.DataEvent.ChangePage,ge.current||0,ge.pageSize||10)},Ke=function(){if(!U)return null;if(!ke)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(_()(oe.current)==="object"&&"getContainer"in oe.current){var ge=oe.current.getContainer(),be=window.getComputedStyle(ge),Ie=be.paddingTop;Ie&&(oe.current=l()(l()({},oe.current),{},{offsetHeader:-parseInt(Ie.replace("px",""))}))}return X?(0,E.jsx)(b.default,{data:Fe,table:U,leafNode:V,treeRef:Pe,tableRef:Ee,tableContentRef:ve,tableRowSize:Te,sticky:oe.current||!0,parentFieldName:X,setData:ee,onEvent:le}):(0,E.jsx)(m.Z,l()(l()({data:Fe,tableRef:Ee,tableContentRef:ve,onChange:xe,sticky:oe.current||!0},U),{},{size:Te,columns:re,showSorterTooltip:!0,showNumber:R.showNumber,loading:U.loading||Fe.loading||!1,onEvent:le}))},Ze=(U==null||(K=U.scroll)===null||K===void 0?void 0:K.y)==="auto",He=(0,a.useMemo)(function(){var Ce=N.root||{},ge=N.table||{};return ge.overflow="unset",q&&(Ce.border="1px solid ".concat(Be.colorBorderSecondary),Ce.borderRadius=4),Ze&&(Ce.overflow="hidden",Ce.height="100%",ge.overflow="hidden"),{root:Ce,table:ge}},[]),nn=function(){var ge;if(Ze&&((ge=ve.current)===null||ge===void 0?void 0:ge.clientHeight)!==0){var be;(be=Ee.current)===null||be===void 0||be.onFixedThead()}},tn=(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(C.default.FullScreen,{parentHtmlId:"ccs-pro-table"}),(0,E.jsx)(C.default.Checkbox,{options:_e.columnOptions,defaultCheckedKeys:_e.columnShowKeys,placement:"bottomRight",onChange:function(ge){var be,Ie=_e.columnShowKeys.filter(function(Le){return!ge.includes(Le)});(be=Ee.current)===null||be===void 0||be.onColumnFilter(Ie)}})]}),Ye=U!=null&&U.hideOperation?(0,E.jsx)(C.default.Operation,{extraLeft:j}):(0,E.jsx)(C.default.Operation,{extraLeft:j,extraRight:tn,onChangeSize:function(ge){return pe(ge)},size:Te,onReset:ye,columns:re,tableRef:Ee,style:{marginLeft:j?0:8}});return(0,E.jsxs)(E.Fragment,{children:[Ze&&(0,E.jsx)(C.default.Resize,{targetRef:ve,onResize:nn}),(0,E.jsxs)("div",{id:"ccs-pro-table",className:t()(M,Z,o()({},"dark-table",Re==="dark")),style:He.root,ref:he,children:[(0,E.jsx)(C.default.Title,{children:R.title}),(0,E.jsx)(C.default.Filter,{ref:Me,extra:j?void 0:Ye,formItems:$,expandForm:z,formInitValues:G,formItemLabelWidth:R.formItemLabelWidth,onSearch:fe,requestParam:U==null?void 0:U.requestParam}),j&&Ye,(0,E.jsxs)("div",{className:"".concat(M,"-table-content"),style:He.table,ref:ve,children:[Ke(),L]})]})]})};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),d=e(87999),l=e.n(d),h=e(26068),i=e.n(h),c=e(48305),s=e.n(c),r=e(68144),u=e(75271),p=e(73946),t=e(73799),a=e(81475),f=e(65173),C=e(52676),D=function(I){var m=I.data,P=I.table,T=I.sticky,b=I.treeRef,E=I.tableRef,M=I.leafNode,x=I.tableRowSize,S=I.tableContentRef,A=I.parentFieldName,R=I.setData,B=I.onEvent,K=(0,u.useState)([]),W=s()(K,2),F=W[0],U=W[1],k=P,N=k.rowKey,H=k.expandable,j=k.columns,L=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 Y(G){var le,ie,J,ne,te,re=arguments;return o()().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:if(le=re.length>1&&re[1]!==void 0?re[1]:{},ie=re.length>2?re[2]:void 0,J=le,ie&&(J[A]=ie[N]),B==null||B(G,{loading:!0,params:J}),R(function(oe){return i()(i()({},oe),{},{loading:!0})}),ae.t0=L,!ae.t0){ae.next=11;break}return ae.next=10,L(J);case 10:ae.t0=ae.sent;case 11:ne=ae.t0,B==null||B(G,{loading:!0,params:J,data:ne}),ne?(te=(0,f.getDataByNamePath)(ne,Q.data),M&&te&&Array.isArray(te)&&te.forEach(function(oe){if(typeof M=="string"&&!oe[M]){oe.children=[];return}typeof M=="function"&&!M(oe)&&(oe.children=[])}),ie?(ie[Z]=te,R(function(oe){return i()(i()({},oe),{},{dataSource:_()(oe.dataSource||[]),loading:!1})})):(U([]),R({loading:!1,dataSource:te}))):R(function(oe){return i()(i()({},oe),{},{loading:!1})});case 14:case"end":return ae.stop()}},Y)}));return function(G){return X.apply(this,arguments)}}();(0,u.useImperativeHandle)(b,function(){return{onRequestTree:$,onExpandKeys:function(Y){U(F.filter(function(G){return!Y.includes(G)}))}}});var V=function(Y,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(Y){var ie;if(F.push(le),((ie=G[Z])===null||ie===void 0?void 0:ie.length)>0)return;$(t.DataEvent.Expand,{},G)}else U(F.filter(function(J){return J!==le}))},q=i()(i()({sticky:T},P),{},{onExpand:V,expandedRowKeys:F});return(0,C.jsx)(p.Z,i()(i()({data:m,tableRef:E,tableContentRef:S},q),{},{size:x,columns:j,showSorterTooltip:!0,loading:q.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),d=e(16929),l=e(85899),h=e.n(l),i=e(75271),c=e(56973),s=e(52676),r=function(p){var t=p.children,a=(t==null?void 0:t.props)||{},f=a.items,C=f===void 0?[]:f,D=a.activeKey,O=a.defaultActiveKey,I=a.onChange,m=(0,i.useState)("ccs-tabs-".concat(y.default.getUUID(5))),P=o()(m,1),T=P[0],b=(0,i.useState)(function(){return{activeKey:O||(C[0]||{}).key,items:C||[],options:{}}}),E=o()(b,2),M=E[0],x=E[1];(0,_.Z)(function(){x(h()(M,{items:{$set:C}}))},[C==null?void 0:C.map(function(F){return F.key}).join(",")]);var S=d.Z.useToken(),A=S.token,R={items:M.items,className:"ccs-tabs",id:T,tabBarStyle:{margin:0,paddingLeft:16,backgroundColor:A.colorBgContainer}};D||(R.activeKey=M.activeKey,R.onChange=function(F){x(h()(M,{activeKey:{$set:F}})),I&&I(F)});var B=function(U){var k=U.activeKey,N=U.enableKeys,H=N===void 0?[]:N,j=U.disableKeys,L=j===void 0?[]:j,Z=U.options,z={};if(k&&(z.activeKey={$set:k},I&&I(k)),H.length||L.length){var Q,$={};(Q=M.items)===null||Q===void 0||Q.forEach(function(V,q){H.includes(V.key)?$[q]={disabled:{$set:!1}}:L.includes(V.key)&&($[q]={disabled:{$set:!0}})}),z.items=$}Z&&(z.options={$set:Z}),x(h()(M,z))},K=function(U){var k,N=U;typeof U=="string"&&(N=[U]);var H=[];(k=M.items)===null||k===void 0||k.forEach(function(j,L){N.includes(j.key)&&H.push([L,1])}),x(h()(M,{items:{$splice:H}}))},W=function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],k=arguments.length>1?arguments[1]:void 0,N=Array.isArray(U),H={items:{$push:N?U:[U]}};k&&(H.activeKey={$set:k||M.activeKey}),x(h()(M,H))};return t?(0,s.jsx)(c.TabsContext.Provider,{value:{tabsId:T,activeKey:M.activeKey,options:M.options,onTabChange:B,onRemoveTabs:K,onAddTabs:W},children:(0,i.cloneElement)(t,R)}):(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),d=function(t){return(0,_.jsx)(y.ZP,o()({},t))},l=function(t){return(0,_.jsx)(d,o()(o()({title:"\u64CD\u4F5C\u6210\u529F"},t),{},{status:"success"}))},h=function(t){return(0,_.jsx)(d,o()(o()({title:"\u64CD\u4F5C\u8BE6\u60C5"},t),{},{status:"info"}))},i=function(t){return(0,_.jsx)(d,o()(o()({title:"\u64CD\u4F5C\u63D0\u9192"},t),{},{status:"warning"}))},c=function(t){return(0,_.jsx)(d,o()(o()({title:"\u64CD\u4F5C\u5931\u8D25"},t),{},{status:"error"}))},s=function(t){return(0,_.jsx)(d,o()(o()({title:"403"},t),{},{status:"403"}))},r=function(t){return(0,_.jsx)(d,o()(o()({title:"404"},t),{},{status:"404"}))},u=function(t){return(0,_.jsx)(d,o()(o()({title:"500"},t),{},{status:"500"}))};d.Success=l,d.Info=h,d.Warning=i,d.Error=c,d.Page403=s,d.Page404=r,d.Page500=u,n.default=d},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),d=e(48305),l=e.n(d),h=e(67825),i=e.n(h),c=e(79312),s=e(97022),r=e(6052),u=e(46960),p=e(75271),t=e(52676),a=["style","mode","modal","value","children","labelInValue","onChange"];function f(C){var D=C.style,O=C.mode,I=C.modal,m=C.value,P=C.children,T=C.labelInValue,b=C.onChange,E=i()(C,a),M=(0,p.useState)(!1),x=l()(M,2),S=x[0],A=x[1],R=function(){A(!0)},B=(0,p.useState)(void 0),K=l()(B,2),W=K[0],F=K[1],U=(0,p.useState)(!1),k=l()(U,2),N=k[0],H=k[1],j=(0,p.useState)(m),L=l()(j,2),Z=L[0],z=L[1],Q=(0,p.useState)(void 0),$=l()(Q,2),V=$[0],q=$[1],X=function(ne){ne==null||ne.stopPropagation(),A(!1)},Y={value:Z,mode:O,onClose:X,onLoading:H,onChangeLabel:F,onChange:function(ne,te){z(T?te:ne)},onChangeOptions:q},G=function(){b==null||b(Z),A(!1)},le=function(){z(m),A(!1)},ie=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 ne;return m[((ne=E.fieldNames)===null||ne===void 0?void 0:ne.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)(c.Z,{}):(0,t.jsx)(s.Z,{}),open:!1,popupRender:function(){return(0,t.jsx)("div",{})},value:N?void 0:ie(),onClick:R,placeholder:"\u8BF7\u9009\u62E9"},E),{},{mode:W?void 0:O,style:D,options:V,onChange:function(ne){z(ne),b==null||b(ne)}})),(0,t.jsx)(u.Z,o()(o()({open:S,onCancel:le,styles:{body:{padding:0}},forceRender:!0,onOk:G},I),{},{children:P&&(typeof P=="function"?P(Y):p.cloneElement(P,Y))}))]})}},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),d=e(87999),l=e.n(d),h=e(67825),i=e.n(h),c=e(11048),s=e(75271),r=e(94283),u=e(52676),p=["request","cache","defaultParams"];function t(a){var f=a.request,C=a.cache,D=a.defaultParams,O=D===void 0?{}:D,I=i()(a,p),m=(0,c.Z)(function(){var M=l()(_()().mark(function x(S){return _()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:if(f){R.next=2;break}return R.abrupt("return",[]);case 2:return R.next=4,f(S);case 4:return R.abrupt("return",R.sent);case 5:case"end":return R.stop()}},x)}));return function(x){return M.apply(this,arguments)}}(),o()({manual:!0},C||{})),P=m.loading,T=m.data,b=T===void 0?[]:T,E=m.run;return(0,s.useEffect)(function(){f&&E(O)},[JSON.stringify(O)]),(0,u.jsx)(r.default,o()({options:b,loading:P},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),d=e(48305),l=e.n(d),h=e(67825),i=e.n(h),c=e(79312),s=e(97022),r=e(6052),u=e(75271),p=e(52676),t=["value","mode","children","contentWidth","labelInValue","onChange"];function a(f){var C=f.value,D=f.mode,O=f.children,I=f.contentWidth,m=f.labelInValue,P=f.onChange,T=i()(f,t),b=(0,u.useState)("init"),E=l()(b,2),M=E[0],x=E[1],S=(0,u.useRef)(null),A=(0,u.useState)(void 0),R=l()(A,2),B=R[0],K=R[1],W=(0,u.useState)(!1),F=l()(W,2),U=F[0],k=F[1],N=(0,u.useState)(void 0),H=l()(N,2),j=H[0],L=H[1],Z=function(q){q==null||q.stopPropagation(),x(!1)},z={value:C,onClose:Z,onChange:function(q,X){P==null||P(m?X:q),D||x(!1)},onLoading:k,onChangeLabel:K,mode:D,onChangeOptions:L},Q=(0,u.useMemo)(function(){return(0,p.jsx)("div",{style:{display:"none"},ref:S,children:O&&(typeof O=="function"?O(z):u.cloneElement(O,z))})},[C]);(0,u.useEffect)(function(){x(!1)},[]),(0,u.useEffect)(function(){M&&S.current&&S.current.style.display==="none"&&(S.current.style.display="block")},[M]);var $=function(){if(!(C===void 0||Array.isArray(C)&&C.length===0)){if(B)return B;if(Array.isArray(C))return C.map(function(X){var Y;return _()(X)==="object"?X[((Y=T.fieldNames)===null||Y===void 0?void 0:Y.value)||"value"]:X});if(_()(C)==="object"){var q;return C[((q=T.fieldNames)===null||q===void 0?void 0:q.value)||"value"]}return C}};return(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(r.default,o()(o()({open:!!M,onOpenChange:x,allowClear:!0,defaultActiveFirstOption:!0,suffixIcon:U?(0,p.jsx)(c.Z,{}):(0,p.jsx)(s.Z,{}),placeholder:"\u8BF7\u9009\u62E9",classNames:{popup:{root:M==="init"?"ccs-select-custom-init":void 0}}},T),{},{popupMatchSelectWidth:I,popupRender:function(){return Q},mode:B?void 0:D,value:U?void 0:$(),onChange:P,options:j}))})}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(d){setTimeout(function(){d({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(d){setTimeout(function(){d([{value:"1",label:"\u9009\u9879\u4E00"},{value:"2",label:"\u9009\u9879\u4E8C"},{value:"3",label:"\u9009\u9879\u4E09"}])},1e3)})}function y(d){var l=d.pageNo;return new Promise(function(h){setTimeout(function(){h({data:{totalNum:20,result:Array(10).fill("").map(function(i,c){var s=(l-1)*10+c+1;return{id:s.toString(),name:"\u9009\u9879".concat(s)}})}})},1e3)})}function _(d){return new Promise(function(l){setTimeout(function(){l({data:Array.isArray(d)?d.map(function(h){return{id:h,name:"\u9009\u9879".concat(h)}}):[{id:d,name:"\u9009\u9879".concat(d)}]})},1500)})}},94283:function(g,n,e){"use strict";e.r(n),e.d(n,{default:function(){return O}});var v=e(26068),o=e.n(v),y=e(15558),_=e.n(y),d=e(67825),l=e.n(d),h=e(6052),i=e(75271),c=e(73511),s=e.n(c),r=e(65173),u=e(99696),p=e(10436),t=e(49805),a=e(52676),f=["showAll","fieldNames","options"];function C(I){return Array.isArray(I)?I:[I]}function D(I){var m=I.showAll,P=I.fieldNames,T=I.options,b=T===void 0?[]:T,E=l()(I,f),M=_()(C((P==null?void 0:P.label)||["label"])),x=_()(C((P==null?void 0:P.value)||["value"])),S=function(B,K){var W="".concat(K==null?void 0:K.label).concat(K==null?void 0:K.value),F=s().convertToPinyin(W,"",!0).toLocaleUpperCase();return!!(W.includes(B)||F.includes(B.toLocaleUpperCase()))},A=(0,i.useMemo)(function(){for(var R=b||[];M.length>0||x.length>0;){if(Array.isArray(R)){R.forEach(function(K){K.label=(0,r.getDataByNamePath)(K,M),K.value=(0,r.getDataByNamePath)(K,x)});break}M.shift();var B=x.shift();B&&R!==void 0&&(R=R[B])}return m&&Array.isArray(R)&&R.length>0&&R.unshift(typeof m=="boolean"?{label:"\u5168\u90E8",value:""}:m),R},[b]);return(0,a.jsx)(h.default,o()({options:A,filterOption:S,placeholder:"\u8BF7\u9009\u62E9",allowClear:!0,showSearch:!0},E))}D.Api=p.default,D.Customize=t.default,D.Modal=u.default;var O=D},98708:function(g,n,e){"use strict";e.r(n);var v=e(16254),o=e(60561),y=e(52676);function _(d){var l=d.value,h=d.options,i=h===void 0?[]:h;if(l===void 0||l==="")return l;var c=i.find(function(u){return u.value===l});if(!c)return l;var s=c.label,r=c.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 P}});var v=e(31759),o=e.n(v),y=e(26068),_=e.n(y),d=e(67825),l=e.n(d),h=e(37208),i=e(37401),c=e(16929),s=e(16708),r=e(12203),u=e(75271),p=e(2369),t=e(32097),a=e(73799),f=e(60136),C=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,C.jsx)("th",_()({},x)):(0,C.jsx)(p.Resizable,{width:M,height:0,handle:(0,C.jsx)("span",{className:"react-resizable-handle",onClick:function(A){A.stopPropagation()}}),onResize:E,draggableOpts:{enableUserSelectHack:!1},children:(0,C.jsx)("th",_()({},x))})},m=function(b){var E=b.data,M=b.style,x=b.scroll,S=b.rowKey,A=b.columns,R=b.tableRef,B=b.pagination,K=b.rowSelection,W=b.tableContentRef,F=l()(b,O),U=(0,h.Z)(),k=E||{},N=k.dataSource,H=N===void 0?[]:N,j=k.pageSize,L=j===void 0?10:j,Z=k.current,z=Z===void 0?1:Z,Q=k.total,$=Q===void 0?0:Q,V=(0,f.default)(),q=(0,u.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 ae=document.getElementById(V==null?void 0:V.tabsId);ae&&ae.classList.add("ccs-tabs-auto-height")}if(ue){var oe=(re=W.current)===null||re===void 0?void 0:re.clientHeight,_e=q.getPrefixCls(),ce=ue.getElementsByClassName("".concat(_e,"-table"))[0],ve=[],he=void 0;ce.childNodes.forEach(function(Pe){Pe.classList.contains("".concat(_e,"-table-container"))?Pe.childNodes.forEach(function(Oe){Oe.classList.contains("".concat(_e,"-table-body"))?he=Oe:ve.push(Oe.clientHeight||0)}):ve.push(Pe.clientHeight||0)});var Ee=ue.getElementsByClassName("".concat(_e,"-pagination"));if(Ee&&Ee.length>0&&ve.push(Ee[0].clientHeight),he){var Me=oe-ve.reduce(function(Pe,Oe){return Pe+Oe},0);he.style.height="".concat(Me,"px")}}}},{wait:500,leading:!0}),Y=X.run;(0,u.useEffect)(function(){Y()},[$]),(0,u.useImperativeHandle)(R,function(){return{onColumnFilter:function(ue){var ae;A==null||A.forEach(function(oe){oe.hidden=ue.includes(oe.dataIndex)}),(ae=b.onEvent)===null||ae===void 0||ae.call(b,a.DataEvent.ColumnFilter,ue),U()},onFixedThead:Y}});var G=function(ue){return function(ae,oe){var _e=oe.size,ce=A==null?void 0:A.find(function(ve){return ve.dataIndex===ue});ce.width=_e.width,U()}},le=function(){var ue=A==null?void 0:A.filter(function(ae){return!ae.hidden});return ue==null||ue.forEach(function(ae){if(ae.ellipsis&&typeof ae.ellipsis!="boolean"&&!ae.render){var oe={};typeof ae.ellipsis=="number"&&(oe={rows:ae.ellipsis}),o()(ae.ellipsis)==="object"&&(oe=ae.ellipsis),ae.ellipsis=!1,ae.render=function(_e){return(0,C.jsx)(t.default.Ellipsis,_()({content:_e,showTooltip:!0},oe))}}ae.width!==void 0&&(ae.onHeaderCell=function(_e){return{width:_e.width,onResize:G(ae.dataIndex)}})}),F.showNumber&&(ue==null||ue.unshift({title:"\u5E8F\u53F7",ellipsis:!0,width:60,render:function(oe,_e,ce){return ce+1+((z||1)-1)*(L||10)}})),ue},ie=c.Z.useToken(),J=ie.token,ne=function(ue,ae){return ae||0},te=le();return(0,C.jsx)("div",{className:"ccs-table-card",style:_()(_()({},M),{},{background:J.colorBgContainer}),children:(0,C.jsx)(s.Z,_()(_()({rowKey:S||ne,dataSource:H,sortDirections:["ascend","descend"],pagination:B===!1?!1:_()({total:$,pageSize:L,current:z,showSizeChanger:!0,showQuickJumper:!0,showTotal:function(){return"\u5171".concat($,"\u6761\u8BB0\u5F55")},pageSizeOptions:["10","20","30","50","100"],size:F.size==="small"?"small":"default",simple:F.size==="small",className:"ccs-table-pagination",style:{borderTop:"1px solid ".concat(J.colorBorderSecondary)}},B),rowSelection:K?_()(_()({},K),{},{columnWidth:60}):void 0,columns:te,components:{header:{cell:I}}},F),{},{size:F.size||"middle",scroll:x,summary:F!=null&&F.summary?function(re){var ue;return(ue=F.summary)===null||ue===void 0?void 0:ue.call(F,re,te||[])}:void 0}))})},P=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),d=e(82092),l=e.n(d),h=e(8890),i=e(46960),c=e(15771),s=e(86763),r=e.n(s),u,p=function(){function t(){o()(this,t)}return _()(t,null,[{key:"setConfig",value:function(f,C,D){this.message=f,this.notice=C,this.modal=D}},{key:"easyMessage",value:function(f,C,D){var O,I=(O=this.message)!==null&&O!==void 0?O:h.ZP;f!=null&&f.success?I.success(C||"\u64CD\u4F5C\u6210\u529F"):I.error(D||(f==null?void 0:f.msg)||"\u64CD\u4F5C\u5931\u8D25")}},{key:"confirm",value:function(){var f=this,C=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:C,okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u53D6\u6D88",centered:!0,onOk:function(){D(!0)},onCancel:function(){D(!1)}})})}}]),t}();u=p,l()(p,"message",h.ZP),l()(p,"notice",c.ZP),l()(p,"modal",i.Z),l()(p,"easyConfirm",r()(u.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),d=e(38443),l=e(17888),h=e.n(l),i=e(80998),c=e.n(i),s=e(52676),r=["value","onChange"],u=["value","onChange"];h().extend(c());function p(a){var f=a.value,C=a.onChange,D=_()(a,r),O=function(P,T){C&&C(T)},I=typeof f=="string"?h()(f,"HH:mm:ss"):f;return(0,s.jsx)(d.Z,o()({value:I,onChange:O},D))}function t(a){var f=a.value,C=a.onChange,D=_()(a,u),O=function(){return Array.isArray(f)?[h()(f[0],"HH:mm:ss"),h()(f[1],"HH:mm:ss")]:null},I=function(P,T){C&&C(T)};return(0,s.jsx)(d.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 P}});var v=e(26068),o=e.n(v),y=e(90228),_=e.n(y),d=e(87999),l=e.n(d),h=e(48305),i=e.n(h),c=e(67825),s=e.n(c),r=e(31759),u=e.n(r),p=e(98868),t=e(8890),a=e(62477),f=e(18466),C=e(75271),D=e(50712),O=e(9472),I=e(52676),m=["value","uploadText","maxCount","maxFileSize","fileDownloadUrl","uploadRequest","onChange"];function P(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(u()(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 T(b){var E=b.value,M=b.uploadText,x=b.maxCount,S=x===void 0?1:x,A=b.maxFileSize,R=A===void 0?10:A,B=b.fileDownloadUrl,K=B===void 0?"":B,W=b.uploadRequest,F=b.onChange,U=s()(b,m),k=(0,C.useState)(function(){return P(E,K)}),N=i()(k,2),H=N[0],j=N[1],L=function($){var V=$.fileList;if(j(V),!!F&&!V.find(function(Y){return Y.status==="uploading"}))if(S===1){var q,X;F(((q=V[0])===null||q===void 0||(q=q.response)===null||q===void 0?void 0:q.data)||((X=V[0])===null||X===void 0?void 0:X.fileId))}else F(V.map(function(Y){var G;return((G=Y.response)===null||G===void 0?void 0:G.data)||Y.fileId}).filter(function(Y){return Y!==void 0}))},Z=function($){var V=$.size/1024/1024<R;return V||t.ZP.error("\u6587\u4EF6\u4E0D\u80FD\u5927\u4E8E".concat(R,"MB!")),V},z=function(){var Q=l()(_()().mark(function $(V){var q,X,Y,G;return _()().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:return q=V.file,X=V.onSuccess,Y=V.onError,ie.next=3,W(q);case 3:G=ie.sent,G.success&&X&&X(G),!G.success&&Y&&(D.default.message.error(G.msg||"\u4E0A\u4F20\u5931\u8D25"),Y({status:500,name:"\u51FA\u9519\u4E86",message:G.msg||"\u4E0A\u4F20\u5931\u8D25"}));case 6:case"end":return ie.stop()}},$)}));return function(V){return Q.apply(this,arguments)}}();return(0,I.jsx)(a.Z,o()(o()({customRequest:z,name:"fileName",onChange:L,beforeUpload:Z,fileList:H,maxCount:S},U),{},{children:(0,I.jsx)(f.ZP,{icon:(0,I.jsx)(p.Z,{}),disabled:H.length>=S,children:M})}))}T.Image=O.ImageUpload,n.default=T},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),d=e(87999),l=e.n(d),h=e(48305),i=e.n(h),c=e(67825),s=e.n(c),r=e(17114),u=e(8890),p=e(62477),t=e(89020),a=e(75271),f=e(50712),C=e(80882),D=e(52676),O=["uploadText","maxCount","maxFileSize","crop","value","fileDownloadUrl","uploadRequest","onChange","onImageInfo","accept"],I=function(T){return new Promise(function(b,E){var M=new FileReader;M.readAsDataURL(T),M.onload=function(){return b(M.result)},M.onerror=function(x){return E(x)}})};function m(P){var T=P.uploadText,b=T===void 0?"\u4E0A\u4F20":T,E=P.maxCount,M=E===void 0?1:E,x=P.maxFileSize,S=x===void 0?10:x,A=P.crop,R=P.value,B=P.fileDownloadUrl,K=B===void 0?"":B,W=P.uploadRequest,F=P.onChange,U=P.onImageInfo,k=P.accept,N=k===void 0?"image/*":k,H=s()(P,O),j=(0,a.useState)(function(){return(0,C.uploadDefaultFlies)(R,K)}),L=i()(j,2),Z=L[0],z=L[1],Q=f.default.useDialog(),$=Q.openModal,V=function(ie){var J=ie.fileList;if(J.forEach(function(te){!te.fileId&&te.response&&(te.fileId=te.response.data)}),z(J),!!F&&!J.find(function(te){return te.status==="uploading"}))if(M===1){var ne;F((ne=J[0])===null||ne===void 0?void 0:ne.fileId)}else F(J.filter(function(te){return!!te.fileId}).map(function(te){return te.fileId}))},q=function(ie){var J=ie.size/1024/1024<S,ne=ie.type==="image/jpeg"||ie.type==="image/png";return ne?(J||u.ZP.error("\u56FE\u7247\u4E0D\u80FD\u5927\u4E8E".concat(S,"MB!")),J):(u.ZP.error("\u8BF7\u9009\u62E9\u56FE\u7247\uFF01"),p.Z.LIST_IGNORE)},X=function(){var le=l()(_()().mark(function ie(J){return _()().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:if(J.preview){te.next=8;break}if(!J.originFileObj){te.next=7;break}return te.next=4,I(J.originFileObj);case 4:J.preview=te.sent,te.next=8;break;case 7:J.preview="".concat(K).concat(J.fileId);case 8:$({title:J.name||J.url.substring(J.url.lastIndexOf("/")+1),content:(0,D.jsx)("img",{alt:J.name,style:{width:"100%"},src:J.preview}),footer:null});case 9:case"end":return te.stop()}},ie)}));return function(J){return le.apply(this,arguments)}}(),Y=function(){var le=l()(_()().mark(function ie(J){var ne,te,re,ue,ae,oe,_e,ce;return _()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return ne=J.file,te=J.onSuccess,re=J.onError,he.next=3,W(ne);case 3:if(ue=he.sent,!(ue.success&&te)){he.next=11;break}return te(ue),he.next=8,I(ne);case 8:ae=he.sent,oe=ne,_e=oe.name,ce=oe.type,U==null||U({base64:ae,name:_e,type:ce,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()}},ie)}));return function(J){return le.apply(this,arguments)}}(),G=(0,D.jsx)(p.Z,o()(o()({customRequest:Y,name:"fileName",onChange:V,beforeUpload:q,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:A?(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 u},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),d=/^[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 d.test(a)}function c(a){for(var f=a.toUpperCase(),C=0,D=0;D<17;D++)C+=parseInt(f[D],10)*l[D];var O=C%11,I=h[O];return f[17]===I}function s(a){return a.length!==18||!i(a)?!1:c(a)}function r(a){if(!s(a))return null;var f=a.substring(6,10),C=a.substring(10,12),D=a.substring(12,14);return"".concat(f,"-").concat(C,"-").concat(D)}function u(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 C=_()(f),D=C.shift(),O=a[D];return o()(O)==="object"&&C.length>0?t(O,C):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),d=e(96586),l=e(82187),h=e.n(l),i=e(75271),c=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},u=function(t){var a=t.children,f=t.style,C=t.className,D=t.markStyle,O=t.markClassName,I=t.zIndex,m=I===void 0?9:I,P=t.gapX,T=P===void 0?212:P,b=t.gapY,E=b===void 0?222:b,M=t.width,x=M===void 0?120:M,S=t.height,A=S===void 0?64:S,R=t.rotate,B=R===void 0?-22:R,K=t.image,W=t.content,F=t.offsetLeft,U=t.offsetTop,k=t.fontStyle,N=k===void 0?"normal":k,H=t.fontWeight,j=H===void 0?"normal":H,L=t.fontColor,Z=L===void 0?"rgba(0,0,0,.15)":L,z=t.fontSize,Q=z===void 0?16:z,$=t.fontFamily,V=$===void 0?"sans-serif":$,q=t.prefixCls,X=(0,i.useContext)(d.default.ConfigContext),Y=X.getPrefixCls,G=Y("pro-layout-watermark",q),le=h()("".concat(G,"-wrapper"),C),ie=h()(G,O),J=(0,i.useState)(""),ne=_()(J,2),te=ne[0],re=ne[1];return(0,i.useEffect)(function(){var ue=document.createElement("canvas"),ae=ue.getContext("2d"),oe=r(ae),_e="".concat((T+x)*oe,"px"),ce="".concat((E+A)*oe,"px"),ve=F||T/2,he=U||E/2;if(ue.setAttribute("width",_e),ue.setAttribute("height",ce),ae){ae.translate(ve*oe,he*oe),ae.rotate(Math.PI/180*Number(B));var Ee=x*oe,Me=A*oe;if(K){var Pe=new Image;Pe.crossOrigin="anonymous",Pe.referrerPolicy="no-referrer",Pe.src=K,Pe.onload=function(){ae.drawImage(Pe,0,0,Ee,Me),re(ue.toDataURL())}}else if(W){var Oe=Number(Q)*oe;ae.font="".concat(N," normal ").concat(j," ").concat(Oe,"px/").concat(Me,"px ").concat(V),ae.fillStyle=Z,ae.fillText(W,0,0),re(ue.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[T,E,F,U,B,N,j,x,A,V,Z,K,W,Q]),(0,s.jsxs)("div",{style:o()({position:"relative"},f),className:le,children:[a,te&&(0,s.jsx)("div",{className:ie,style:o()({zIndex:m,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(T+x,"px"),pointerEvents:"none",backgroundRepeat:"repeat",backgroundImage:"url('".concat(te,"')")},D)})]})};u.Relative=c.default,n.default=u},73801:function(g,n,e){"use strict";e.r(n);var v=e(26068),o=e.n(v),y=e(48305),_=e.n(y),d=e(96586),l=e(82187),h=e.n(l),i=e(75271),c=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,C=f===void 0?9:f,D=p.gapX,O=D===void 0?212:D,I=p.gapY,m=I===void 0?222:I,P=p.width,T=P===void 0?120:P,b=p.height,E=b===void 0?64:b,M=p.rotate,x=M===void 0?-22:M,S=p.image,A=p.content,R=p.offsetLeft,B=p.offsetTop,K=p.fontStyle,W=K===void 0?"normal":K,F=p.fontWeight,U=F===void 0?"normal":F,k=p.fontColor,N=k===void 0?"rgba(0,0,0,.15)":k,H=p.fontSize,j=H===void 0?16:H,L=p.fontFamily,Z=L===void 0?"sans-serif":L,z=p.prefixCls,Q=(0,i.useContext)(d.default.ConfigContext),$=Q.getPrefixCls,V=$("pro-layout-watermark",z),q=h()(V,a),X=(0,i.useState)(""),Y=_()(X,2),G=Y[0],le=Y[1];return(0,i.useEffect)(function(){var ie=document.createElement("canvas"),J=ie.getContext("2d"),ne=s(J),te="".concat((O+T)*ne,"px"),re="".concat((m+E)*ne,"px"),ue=R||O/2,ae=B||m/2;if(ie.setAttribute("width",te),ie.setAttribute("height",re),J){J.translate(ue*ne,ae*ne),J.rotate(Math.PI/180*Number(x));var oe=T*ne,_e=E*ne;if(S){var ce=new Image;ce.crossOrigin="anonymous",ce.referrerPolicy="no-referrer",ce.src=S,ce.onload=function(){J.drawImage(ce,0,0,oe,_e),le(ie.toDataURL())}}else if(A){var ve=Number(j)*ne;J.font="".concat(W," normal ").concat(U," ").concat(ve,"px/").concat(_e,"px ").concat(Z),J.fillStyle=N,J.fillText(A,0,0),le(ie.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[O,m,R,B,x,W,U,T,E,Z,N,S,A,j]),(0,c.jsx)(c.Fragment,{children:G&&(0,c.jsx)("div",{className:q,style:o()({zIndex:C,position:"fixed",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(O+T,"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 Fe}});var v={};e.r(v),e.d(v,{aesDecrypt:function(){return Ee},aesEncrypt:function(){return he},antPath:function(){return Pe},base64ToJson:function(){return ne},copy:function(){return _e},dayjs:function(){return Y},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 Se},isBrowser:function(){return X},isDev:function(){return j},isEmpty:function(){return G},isFunction:function(){return L},isMobile:function(){return U},isNil:function(){return oe},isNode:function(){return q},isNotEmpty:function(){return le},jsonParse:function(){return te},jsonStringify:function(){return J},jsonToBase64:function(){return ie},mergeProp:function(){return pe},mergeProps:function(){return Te},objIsEmpty:function(){return ae},onArraySum:function(){return k},onFormartFileSize:function(){return F},onLoopData:function(){return Re},onPopoverPosition:function(){return de},onRelativeTime:function(){return K},onTextEllipsis:function(){return W},onTreeFlat:function(){return Oe},removeStroage:function(){return Q},rsaDecrypt:function(){return ve},rsaEncrypt:function(){return ce},rsaEncryptForge:function(){return ke},setStroage:function(){return z},sha256Encrypt:function(){return Me},showLogWarning:function(){return $},showWarning:function(){return V},stringToHex:function(){return re}});var o=e(31759),y=e.n(o),_=e(44651),d=e.n(_),l=e(874),h=e.n(l),i=e(25778),c=e.n(i),s=e(17888),r=e.n(s),u=e(56e3),p=e.n(u),t=e(39396),a=e.n(t),f=e(87),C=e.n(f),D=e(58667),O=e(27859),I=e(21764),m=e(95170),P=e.n(m),T=e(4293),b=e.n(T),E=e(52041),M=e.n(E),x=e(52408),S=e(92054),A=e.n(S),R=e(15588),B=e(14224);r().locale(p()),r().extend(C()),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 F(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"))}F.description="\u6587\u4EF6\u5927\u5C0F\u683C\u5F0F\u5316";function U(){var w=navigator.userAgent,ee=["Mobile","Android","iPhone","iPad","Windows Phone"];return ee.some(function(me){return w.includes(me)})}U.description="\u79FB\u52A8\u7AEF\uFF1F";function k(w,ee){return w.reduce(function(me,fe){return M()(me)&&M()(fe)&&ee?me[ee]+fe[ee]:me+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(me,fe){return fe})};H.description="\u751F\u6210\u6570\u7EC4";function j(){return!1}j.description="\u5F00\u53D1\u73AF\u5883\uFF1F";function L(w){return typeof w=="function"}L.description="\u662F\u51FD\u6570\uFF1F";function Z(w){return P().getItem(w)}Z.description="\u83B7\u53D6stroage";function z(w,ee){P().setItem(w,ee)}z.description="\u8BBE\u7F6Estroage";function Q(w){return P().removeItem(w)}Q.description="\u5220\u9664stroage";function $(w){}$.description="\u5F00\u53D1\u73AF\u5883\u629B\u51FA\u5F02\u5E38\u4FE1\u606F";function V(w,ee){(0,R.ZP)(w,ee)}V.description="\u5F00\u53D1\u73AF\u5883\u629B\u8B66\u544A";function q(){return typeof B!="undefined"&&B.versions!==null&&B.versions.node!==null}q.description="nodejs \u73AF\u5883";function X(){return typeof window!="undefined"&&typeof window.document!="undefined"&&!q}X.description="\u6D4F\u89C8\u5668\u73AF\u5883";function Y(w){return r()(w)}Y.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 ie(w){try{var ee=JSON.stringify(w);return D.DS.encode(ee)}catch(me){return""}}ie.description="json\u8F6Cbase64";function J(w){if(!w)return"";try{return y()(w)==="object"?JSON.stringify(w):w}catch(ee){return""}}J.description="json\u8F6Cstring";function ne(w){try{var ee=D.DS.decode(w);return JSON.parse(ee)}catch(me){return null}}ne.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=[],me=0;me<w.length;me+=1)ee.push(w.charCodeAt(me).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 ae(w){return w?Object.keys(w).length===0:!0}ae.description="\u7A7A\u5BF9\u8C61\u5224\u65AD";function oe(w){return typeof w=="string"?w.trim()==="":Array.isArray(w)?w.length===0:M()(w)?Object.keys(w).length===0:w==null}oe.description="\u5224\u65AD\u503C\u4E0D\u4E3A\u7A7A";function _e(w){if(w)return h()(w)}_e.description="\u590D\u5236\u6587\u5B57";function ce(w,ee){var me=new O.Z;return me.setPublicKey(ee),me.encrypt(w)||""}ce.description="RSA\u52A0\u5BC6";function ve(w,ee){var me=new O.Z;return me.setPublicKey(ee),me.decrypt(w)||""}ve.description="RSA\u89E3\u5BC6";function he(w,ee){return c().AES.encrypt(c().enc.Utf8.parse(w),c().enc.Utf8.parse(ee),{mode:c().mode.ECB,padding:c().pad.Pkcs7}).toString()}he.description="AES\u52A0\u5BC6";function Ee(w,ee){return c().AES.decrypt(w,c().enc.Utf8.parse(ee),{mode:c().mode.ECB,padding:c().pad.Pkcs7}).toString(c().enc.Utf8)}Ee.description="AES\u89E3\u5BC6";function Me(w,ee){return c().HmacSHA256(c().enc.Utf8.parse(w),ee).toString(c().enc.Hex)}Me.description="HmacSHA256";function Pe(w,ee){var me=new(d());return me.match(w,ee)}Pe.description="\u5224\u65AD\u662F\u5426\u7B26\u5408ant path\u98CE\u683C\u5339\u914D\u5730\u5740";function Oe(w){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"children";return w.reduce(function(me,fe){return me.push(fe),fe[ee]?me.concat(Oe(fe[ee])):me},[])}Oe.description="\u6811\u5F62\u6570\u636E\u6241\u5E73\u5316";function Se(){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],me=["1234567890","abcdefghijklmnopqrstuvwxyz","ABCDEFGHIJKLMNOPQRSTUVWXYZ"],fe=me.join("");if(Array.isArray(ee)){var ye=ee.map(function(xe){return me[xe]}).join("");ye&&(fe=ye)}else fe=me[ee];var se=(0,x.kP)(fe,w);return se()}Se.description="\u751F\u6210uuid";function Te(){for(var w={},ee=arguments.length,me=new Array(ee),fe=0;fe<ee;fe++)me[fe]=arguments[fe];return me.forEach(function(ye){ye&&Object.keys(ye).forEach(function(se){ye[se]!==void 0&&(w[se]=ye[se])})}),w}function pe(w){for(var ee=arguments.length,me=new Array(ee>1?ee-1:0),fe=1;fe<ee;fe++)me[fe-1]=arguments[fe];for(var ye=me.length-1;ye>=0;ye-=1)if(me[ye]!==void 0)return me[ye];return w}Te.description="\u5408\u5E76props",pe.description="\u5408\u5E76prop";function de(w,ee,me){var fe={},ye=w.clientHeight,se=w.clientWidth;return se/2>me&&ye/2>ee&&(fe={left:me,top:ee,maxHeight:ye-ee-16}),se/2>me&&ye/2<ee&&(fe={left:me,bottom:ye-ee,maxHeight:ee-16}),se/2<me&&ye/2>ee&&(fe={right:se-me,top:ee,maxHeight:ye-ee-16}),se/2<me&&ye/2<ee&&(fe={right:se-me,bottom:ye-ee,maxHeight:ee-16}),fe}de.description="\u5224\u65AD\u76EE\u6807\u5BF9\u8BDD\u6846\u51FA\u73B0\u7684\u4F4D\u7F6E";function Re(w,ee){for(var me=w.data,fe=w.key,ye=w.fieldKey,se=ye===void 0?"key":ye,xe=0;xe<me.length;xe++){var Ke;if(me[xe][se]===fe)return ee(me[xe],xe,me);var Ze=(Ke=me[xe])===null||Ke===void 0?void 0:Ke.children;Ze&&Re({data:Ze,key:fe,fieldKey:se},ee)}}Re.description="\u67E5\u627E\u6811\u5F62\u8282\u70B9";function Ae(w,ee){var me=[];return w.forEach(function(fe){ee(fe)&&me.push(fe),fe.children&&fe.children.length>0&&(me=me.concat(Ae(fe.children,ee)))}),me}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 A()}Ue.description="\u751F\u6210node-forge\u5B9E\u4F8B";function ke(w,ee){var me=A().pki.publicKeyFromPem(ee),fe=me.encrypt(w,"RSAES-PKCS1-V1_5",{md:A().md.sha256.create()});return A().util.encode64(fe)}ke.description="\u57FA\u4E8Enode-forge\u5B9E\u73B0rsa\u52A0\u5BC6";var Fe=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
|
|
31
31
|
fieldNames={{
|
|
32
32
|
dialog: { success: ['success'], successTag: true, msg: ['msg'] },
|
|
33
33
|
}}
|
|
34
34
|
>
|
|
35
35
|
<Outlet />
|
|
36
36
|
</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(
|
|
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(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{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(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{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(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{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(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{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
38
|
* useCcsPage \u83B7\u53D6\u5F53\u524D\u8DEF\u7531\u4FE1\u606F
|
|
39
39
|
* location: history Location
|
|
40
40
|
* isActive: \u524D\u9875\u9762\u662F\u5426\u9009\u4E2D
|
|
@@ -48,7 +48,7 @@ const { location, isActive, onDestroy, onAuth } = useCcsPage();
|
|
|
48
48
|
* onAuth: \u4F20\u5165\u6743\u9650\u7F16\u7801\uFF0C\u5224\u65AD\u662F\u5426\u62E5\u6709\u6309\u94AE\u6743\u9650
|
|
49
49
|
*/
|
|
50
50
|
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(
|
|
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(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{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
52
|
fieldNames={{
|
|
53
53
|
proTable: {
|
|
54
54
|
dataSource: ['data', 'result'],
|
|
@@ -68,14 +68,14 @@ const { location, onAuth } = useCcsPage();
|
|
|
68
68
|
>
|
|
69
69
|
<Outlet />
|
|
70
70
|
</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(
|
|
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(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{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(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u7ED3\u679C\u9875",paraId:0,tocIndex:0},{value:`\u53C2\u8003
|
|
72
|
+
`,paraId:1,tocIndex:4},{value:"Antd Result",paraId:1,tocIndex:4}]},23002:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{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:3},{value:"ApiSelectProps",paraId:2,tocIndex:3},{value:"SelectChildrenProps",paraId:3,tocIndex:3},{value:"CustomizeSelectProps",paraId:4,tocIndex:3},{value:"\u66F4\u591A",paraId:5,tocIndex:3}]},4439: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:"\u901A\u7528\u5C5E\u6027\u7EE7\u627F ",paraId:1,tocIndex:3},{value:"Ant TimePicker",paraId:1,tocIndex:3}]},79810:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{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(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:"\u6C34\u5370\u7EC4\u4EF6",paraId:0,tocIndex:0},{value:"WaterMarkProps",paraId:1,tocIndex:3}]},75021:function(g,n,e){"use strict";e.r(n),e.d(n,{texts:function(){return v}});const v=[{value:`import CcsUtils from '@ccs-ui/utils';
|
|
73
73
|
|
|
74
74
|
// \u5DE5\u5177\u7C7B\u8C03\u7528
|
|
75
75
|
CcsUtils.aesDecrypt();
|
|
76
76
|
CcsUtils.aesEncrypt();
|
|
77
77
|
CcsUtils.???();
|
|
78
|
-
`,paraId:0}]},86893:function(
|
|
78
|
+
`,paraId:0}]},86893:function(g,n){"use strict";n.Z=`import {
|
|
79
79
|
CloseOutlined,
|
|
80
80
|
LeftOutlined,
|
|
81
81
|
LoadingOutlined,
|
|
@@ -387,7 +387,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
export default AjCaptcha;
|
|
390
|
-
`},35759:function(
|
|
390
|
+
`},35759:function(g,n){"use strict";n.Z=`import { DebounceOptions } from 'ahooks/lib/useDebounce/debounceOptions';
|
|
391
391
|
import {
|
|
392
392
|
ButtonProps,
|
|
393
393
|
FormInstance,
|
|
@@ -604,7 +604,7 @@ export interface AtomLoadingProps {
|
|
|
604
604
|
/** loading \u6587\u5B57\u8BF4\u660E */
|
|
605
605
|
loadingTip?: ReactNode;
|
|
606
606
|
}
|
|
607
|
-
`},13924:function(
|
|
607
|
+
`},13924:function(g,n){"use strict";n.Z=`import { SettingOutlined } from '@ant-design/icons';
|
|
608
608
|
import { Button, Checkbox, CheckboxProps, Divider, Popover } from 'antd';
|
|
609
609
|
import { useState } from 'react';
|
|
610
610
|
import { classAtomPrefix } from '.';
|
|
@@ -675,7 +675,7 @@ export default function AtomCheckbox(props: AtomCheckboxProps) {
|
|
|
675
675
|
</>
|
|
676
676
|
);
|
|
677
677
|
}
|
|
678
|
-
`},36483:function(
|
|
678
|
+
`},36483:function(g,n){"use strict";n.Z=`import { useInterval } from 'ahooks';
|
|
679
679
|
import { Button } from 'antd';
|
|
680
680
|
import {
|
|
681
681
|
ForwardedRef,
|
|
@@ -780,7 +780,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
780
780
|
}
|
|
781
781
|
|
|
782
782
|
export default forwardRef(AtomCountdown);
|
|
783
|
-
`},77822:function(
|
|
783
|
+
`},77822:function(g,n){"use strict";n.Z=`import { SendOutlined } from '@ant-design/icons';
|
|
784
784
|
import { CcsAtom } from '@ccs-ui/rc-pro';
|
|
785
785
|
import { Button, Divider } from 'antd';
|
|
786
786
|
import { useState } from 'react';
|
|
@@ -843,7 +843,7 @@ export default () => {
|
|
|
843
843
|
</div>
|
|
844
844
|
);
|
|
845
845
|
};
|
|
846
|
-
`},5228:function(
|
|
846
|
+
`},5228:function(g,n){"use strict";n.Z=`import CCS, { CcsAtom, CcsProTable } from '@ccs-ui/rc-pro';
|
|
847
847
|
import { Divider } from 'antd';
|
|
848
848
|
|
|
849
849
|
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\`;
|
|
@@ -875,13 +875,12 @@ const columns: CCS.TableColumns = [
|
|
|
875
875
|
{
|
|
876
876
|
dataIndex: 'name0',
|
|
877
877
|
title: 'name0',
|
|
878
|
-
ellipsis: { rows: 2, direction: 'middle' },
|
|
879
878
|
width: 80,
|
|
880
879
|
},
|
|
881
880
|
{
|
|
882
881
|
dataIndex: 'name1',
|
|
883
882
|
title: 'name1',
|
|
884
|
-
ellipsis: { rows: 2, direction: '
|
|
883
|
+
ellipsis: { rows: 2, direction: 'start' },
|
|
885
884
|
width: 140,
|
|
886
885
|
},
|
|
887
886
|
{
|
|
@@ -893,7 +892,7 @@ const columns: CCS.TableColumns = [
|
|
|
893
892
|
{
|
|
894
893
|
dataIndex: 'name3',
|
|
895
894
|
title: 'name3',
|
|
896
|
-
ellipsis: { rows: 2, direction: '
|
|
895
|
+
ellipsis: { rows: 2, direction: 'end' },
|
|
897
896
|
},
|
|
898
897
|
{
|
|
899
898
|
dataIndex: 'name4',
|
|
@@ -942,7 +941,7 @@ export default () => {
|
|
|
942
941
|
</>
|
|
943
942
|
);
|
|
944
943
|
};
|
|
945
|
-
`},51655:function(
|
|
944
|
+
`},51655:function(g,n){"use strict";n.Z=`import CCS, { CcsAtom, CcsDatePicker } from '@ccs-ui/rc-pro';
|
|
946
945
|
import { DatePicker, Input, InputNumber, Select } from 'antd';
|
|
947
946
|
|
|
948
947
|
export default () => {
|
|
@@ -1004,7 +1003,7 @@ export default () => {
|
|
|
1004
1003
|
/>
|
|
1005
1004
|
);
|
|
1006
1005
|
};
|
|
1007
|
-
`},49958:function(
|
|
1006
|
+
`},49958:function(g,n){"use strict";n.Z=`import { CcsAtom, CcsButton } from '@ccs-ui/rc-pro';
|
|
1008
1007
|
import ProCheckbox from '../check';
|
|
1009
1008
|
|
|
1010
1009
|
export default () => {
|
|
@@ -1041,7 +1040,7 @@ export default () => {
|
|
|
1041
1040
|
</div>
|
|
1042
1041
|
);
|
|
1043
1042
|
};
|
|
1044
|
-
`},20315:function(
|
|
1043
|
+
`},20315:function(g,n){"use strict";n.Z=`import { Button, Space } from 'antd';
|
|
1045
1044
|
import useComplexState from '../useComplexState';
|
|
1046
1045
|
|
|
1047
1046
|
export default () => {
|
|
@@ -1083,9 +1082,9 @@ export default () => {
|
|
|
1083
1082
|
</div>
|
|
1084
1083
|
);
|
|
1085
1084
|
};
|
|
1086
|
-
`},7122:function(
|
|
1085
|
+
`},7122:function(g,n){"use strict";n.Z=`import { CopyOutlined } from '@ant-design/icons';
|
|
1087
1086
|
import CcsUtils from '@ccs-ui/utils';
|
|
1088
|
-
import { useDebounce, useSize } from 'ahooks';
|
|
1087
|
+
import { useDebounce, useSize, useUpdateEffect } from 'ahooks';
|
|
1089
1088
|
import { Button, message, Tooltip } from 'antd';
|
|
1090
1089
|
import React, { useEffect, useRef, useState } from 'react';
|
|
1091
1090
|
import runes from 'runes2';
|
|
@@ -1135,12 +1134,14 @@ function ResizeObserverTarget({
|
|
|
1135
1134
|
* @param EllipsisProps
|
|
1136
1135
|
* @returns
|
|
1137
1136
|
*/
|
|
1138
|
-
function
|
|
1137
|
+
function Ellipsis({
|
|
1139
1138
|
content,
|
|
1140
1139
|
rows = 1,
|
|
1141
1140
|
direction = 'end',
|
|
1142
1141
|
showTooltip,
|
|
1143
1142
|
}: AtomEllipsisProps) {
|
|
1143
|
+
const containerRef = useRef<HTMLDivElement>(null);
|
|
1144
|
+
|
|
1144
1145
|
// \u8BA1\u7B97\u5355\u884C\u9AD8\u5EA6\u7684\u5BB9\u5668
|
|
1145
1146
|
const singleRowRef = React.useRef<HTMLDivElement>(null);
|
|
1146
1147
|
// \u8BA1\u7B97\u7701\u7565\u53F7\u5185\u5BB9\u5BB9\u5668
|
|
@@ -1157,6 +1158,11 @@ function AtomEllipsis({
|
|
|
1157
1158
|
// \u6570\u636E\u5F15\u7528
|
|
1158
1159
|
const dataRef = useRef({ maxHeight: 0, step: 0 });
|
|
1159
1160
|
|
|
1161
|
+
// content\u53D8\u5316\u65F6\u91CD\u7F6E\u72B6\u6001
|
|
1162
|
+
useUpdateEffect(() => {
|
|
1163
|
+
setStatus(MEASURE_STATUS.INIT);
|
|
1164
|
+
}, [content]);
|
|
1165
|
+
|
|
1160
1166
|
useEffect(() => {
|
|
1161
1167
|
const chatLength = contentChars.length;
|
|
1162
1168
|
// \u8BBE\u7F6E\u6700\u5927\u663E\u793A\u9AD8\u5EA6\uFF0C\u9632\u6B62\u6570\u636E\u6296\u52A8
|
|
@@ -1180,7 +1186,8 @@ function AtomEllipsis({
|
|
|
1180
1186
|
// \u6D4B\u91CF\u7701\u7565\u53F7
|
|
1181
1187
|
if (status === MEASURE_STATUS.MEASURE_WALKING) {
|
|
1182
1188
|
// \u4E8C\u5206\u91CF
|
|
1183
|
-
const newStepNum = Math.
|
|
1189
|
+
const newStepNum = Math.round(dataRef.current.step / 2);
|
|
1190
|
+
|
|
1184
1191
|
dataRef.current.step = newStepNum;
|
|
1185
1192
|
|
|
1186
1193
|
const dom = walkingContentRef.current!;
|
|
@@ -1202,8 +1209,8 @@ function AtomEllipsis({
|
|
|
1202
1209
|
setIndexNumber((state) => state + newStepNum);
|
|
1203
1210
|
} else {
|
|
1204
1211
|
// \u51CF\u5C11\u91CF\u4E3A0\uFF0C\u6D4B\u91CF\u7ED3\u675F
|
|
1205
|
-
if (newStepNum === 0) {
|
|
1206
|
-
setIndexNumber((state) => state - 1);
|
|
1212
|
+
if (newStepNum === 1 || newStepNum === 0) {
|
|
1213
|
+
setIndexNumber((state) => state - (newStepNum + 1));
|
|
1207
1214
|
setStatus(MEASURE_STATUS.STABLE_ELLIPSIS);
|
|
1208
1215
|
return;
|
|
1209
1216
|
}
|
|
@@ -1288,29 +1295,25 @@ function AtomEllipsis({
|
|
|
1288
1295
|
|
|
1289
1296
|
return (
|
|
1290
1297
|
<>
|
|
1291
|
-
<
|
|
1292
|
-
|
|
1298
|
+
<ResizeObserverTarget targetRef={containerRef} onResize={onResize} />
|
|
1299
|
+
<div className="ccs-ellipsis" ref={containerRef}>
|
|
1300
|
+
{[MEASURE_STATUS.INIT, MEASURE_STATUS.NULL].includes(status) && (
|
|
1293
1301
|
<div key="stable" aria-hidden ref={singleRowRef} style={measureStyle}>
|
|
1294
1302
|
{'\\u00A0'}
|
|
1295
1303
|
</div>
|
|
1296
1304
|
)}
|
|
1297
|
-
{
|
|
1298
|
-
<div
|
|
1299
|
-
key="measure-walking"
|
|
1300
|
-
ref={walkingContentRef}
|
|
1301
|
-
style={{ maxHeight: dataRef.current.maxHeight }}
|
|
1302
|
-
className="ccs-ellipsis-scroll"
|
|
1303
|
-
>
|
|
1304
|
-
{renderContent()}
|
|
1305
|
-
</div>
|
|
1306
|
-
)}
|
|
1307
|
-
{status === MEASURE_STATUS.NULL && (
|
|
1305
|
+
{MEASURE_STATUS.MEASURE_WALKING === status && (
|
|
1308
1306
|
<>
|
|
1309
|
-
<div
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1307
|
+
<div
|
|
1308
|
+
key="measure-walking"
|
|
1309
|
+
ref={walkingContentRef}
|
|
1310
|
+
style={{
|
|
1311
|
+
maxHeight: dataRef.current.maxHeight,
|
|
1312
|
+
}}
|
|
1313
|
+
className="ccs-ellipsis-scroll"
|
|
1314
|
+
>
|
|
1315
|
+
{renderContent()}
|
|
1316
|
+
</div>
|
|
1314
1317
|
</>
|
|
1315
1318
|
)}
|
|
1316
1319
|
</div>
|
|
@@ -1318,12 +1321,19 @@ function AtomEllipsis({
|
|
|
1318
1321
|
);
|
|
1319
1322
|
}
|
|
1320
1323
|
|
|
1324
|
+
function AtomEllipsis(props: AtomEllipsisProps) {
|
|
1325
|
+
if (props.content === '' || props.content === undefined) {
|
|
1326
|
+
return props.content;
|
|
1327
|
+
}
|
|
1328
|
+
return <Ellipsis {...props} />;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1321
1331
|
if (process.env.NODE_ENV !== 'production') {
|
|
1322
1332
|
AtomEllipsis.displayName = 'AtomEllipsis';
|
|
1323
1333
|
}
|
|
1324
1334
|
|
|
1325
1335
|
export default React.memo(AtomEllipsis, (l, n) => l.content === n.content);
|
|
1326
|
-
`},24706:function(
|
|
1336
|
+
`},24706:function(g,n){"use strict";n.Z=`import { DownOutlined, UpOutlined } from '@ant-design/icons';
|
|
1327
1337
|
import { Button, Form, theme } from 'antd';
|
|
1328
1338
|
import React, {
|
|
1329
1339
|
CSSProperties,
|
|
@@ -1552,7 +1562,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1552
1562
|
}
|
|
1553
1563
|
|
|
1554
1564
|
export default React.forwardRef(AtomFilter);
|
|
1555
|
-
`},11361:function(
|
|
1565
|
+
`},11361:function(g,n){"use strict";n.Z=`import { FullscreenExitOutlined, FullscreenOutlined } from '@ant-design/icons';
|
|
1556
1566
|
import { Button, theme, Tooltip } from 'antd';
|
|
1557
1567
|
import { useEffect, useRef, useState } from 'react';
|
|
1558
1568
|
import { classAtomPrefix } from '.';
|
|
@@ -1613,7 +1623,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1613
1623
|
}
|
|
1614
1624
|
|
|
1615
1625
|
export default AtomFullScreen;
|
|
1616
|
-
`},7169:function(
|
|
1626
|
+
`},7169:function(g,n){"use strict";n.Z=`import AtomCheckbox from './check';
|
|
1617
1627
|
import AtomCountdown from './count-down';
|
|
1618
1628
|
import AtomEllipsis from './ellipsis';
|
|
1619
1629
|
import AtomFilter from './filter';
|
|
@@ -1671,7 +1681,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1671
1681
|
}
|
|
1672
1682
|
|
|
1673
1683
|
export default Atom;
|
|
1674
|
-
`},68666:function(
|
|
1684
|
+
`},68666:function(g,n){"use strict";n.Z=`import { theme as antTheme } from 'antd';
|
|
1675
1685
|
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
1676
1686
|
import classNames from 'classnames';
|
|
1677
1687
|
import { PropsWithChildren, PropsWithCss } from '../ccs';
|
|
@@ -1709,7 +1719,7 @@ export default function AtomItem({
|
|
|
1709
1719
|
</div>
|
|
1710
1720
|
);
|
|
1711
1721
|
}
|
|
1712
|
-
`},91680:function(
|
|
1722
|
+
`},91680:function(g,n){"use strict";n.Z=`import { LoadingOutlined } from '@ant-design/icons';
|
|
1713
1723
|
import { Space, Spin } from 'antd';
|
|
1714
1724
|
import { AtomLoadingProps } from './_api';
|
|
1715
1725
|
|
|
@@ -1731,7 +1741,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1731
1741
|
}
|
|
1732
1742
|
|
|
1733
1743
|
export default AtomLoading;
|
|
1734
|
-
`},63013:function(
|
|
1744
|
+
`},63013:function(g,n){"use strict";n.Z=`import { ColumnHeightOutlined, RedoOutlined } from '@ant-design/icons';
|
|
1735
1745
|
import { Button, Dropdown, Tooltip } from 'antd';
|
|
1736
1746
|
import classNames from 'classnames';
|
|
1737
1747
|
import { classAtomPrefix } from '.';
|
|
@@ -1802,7 +1812,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1802
1812
|
}
|
|
1803
1813
|
|
|
1804
1814
|
export default AtomOperation;
|
|
1805
|
-
`},99021:function(
|
|
1815
|
+
`},99021:function(g,n){"use strict";n.Z=`import { useDebounce, useSize } from 'ahooks';
|
|
1806
1816
|
import { useEffect, useRef } from 'react';
|
|
1807
1817
|
import { AtomResizeProps, ResizeSize } from './_api';
|
|
1808
1818
|
|
|
@@ -1876,7 +1886,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1876
1886
|
}
|
|
1877
1887
|
|
|
1878
1888
|
export default AtomResize;
|
|
1879
|
-
`},92649:function(
|
|
1889
|
+
`},92649:function(g,n){"use strict";n.Z=`import { theme } from 'antd';
|
|
1880
1890
|
import { AtomTitleProps } from './_api';
|
|
1881
1891
|
import ProBaseItem from './item';
|
|
1882
1892
|
|
|
@@ -1902,7 +1912,7 @@ export default function AtomTitle({
|
|
|
1902
1912
|
</ProBaseItem>
|
|
1903
1913
|
);
|
|
1904
1914
|
}
|
|
1905
|
-
`},84109:function(
|
|
1915
|
+
`},84109:function(g,n){"use strict";n.Z=`import update, { Spec } from 'immutability-helper';
|
|
1906
1916
|
import { useCallback, useState } from 'react';
|
|
1907
1917
|
|
|
1908
1918
|
type Paths<T> = T extends object
|
|
@@ -2038,7 +2048,7 @@ export default function useComplexState<T>(
|
|
|
2038
2048
|
reset,
|
|
2039
2049
|
};
|
|
2040
2050
|
}
|
|
2041
|
-
`},71754:function(
|
|
2051
|
+
`},71754:function(g,n){"use strict";n.Z=`import { useMemoizedFn } from 'ahooks';
|
|
2042
2052
|
import { useMemo, useState } from 'react';
|
|
2043
2053
|
import CCS, { useCcsPage } from '..';
|
|
2044
2054
|
import { RecordType } from '../ccs';
|
|
@@ -2208,7 +2218,7 @@ export default function usePageRequest<RecordType>({
|
|
|
2208
2218
|
|
|
2209
2219
|
return { data, isAuth, onRequest, onChangeData };
|
|
2210
2220
|
}
|
|
2211
|
-
`},44403:function(
|
|
2221
|
+
`},44403:function(g,n){"use strict";n.Z=`import { CcsAuth } from '@ccs-ui/rc-pro';
|
|
2212
2222
|
|
|
2213
2223
|
export default function Basic() {
|
|
2214
2224
|
return (
|
|
@@ -2219,7 +2229,7 @@ export default function Basic() {
|
|
|
2219
2229
|
</CcsAuth>
|
|
2220
2230
|
);
|
|
2221
2231
|
}
|
|
2222
|
-
`},93722:function(
|
|
2232
|
+
`},93722:function(g,n){"use strict";n.Z=`import { Modal } from 'antd';
|
|
2223
2233
|
import { ReactElement, useEffect } from 'react';
|
|
2224
2234
|
import { useCcsPage } from '..';
|
|
2225
2235
|
|
|
@@ -2265,7 +2275,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
2265
2275
|
}
|
|
2266
2276
|
|
|
2267
2277
|
export default CcsAuth;
|
|
2268
|
-
`},45621:function(
|
|
2278
|
+
`},45621:function(g,n){"use strict";n.Z=`import { ButtonProps as AntButtonProps } from 'antd';
|
|
2269
2279
|
import { ItemType } from 'antd/es/menu/interface';
|
|
2270
2280
|
import { DropDownProps as AntDropDownProps } from 'antd/lib/dropdown';
|
|
2271
2281
|
import { MenuInfo } from 'rc-menu/lib/interface';
|
|
@@ -2347,7 +2357,7 @@ export interface ButtonGroupProps {
|
|
|
2347
2357
|
/** \u70B9\u51FB\u4E8B\u4EF6 */
|
|
2348
2358
|
onClick?: GroupClick;
|
|
2349
2359
|
}
|
|
2350
|
-
`},13703:function(
|
|
2360
|
+
`},13703:function(g,n){"use strict";n.Z=`import { Button, Space } from 'antd';
|
|
2351
2361
|
import CcsButton from '..';
|
|
2352
2362
|
|
|
2353
2363
|
export default function Basic() {
|
|
@@ -2393,7 +2403,7 @@ export default function Basic() {
|
|
|
2393
2403
|
</Space>
|
|
2394
2404
|
);
|
|
2395
2405
|
}
|
|
2396
|
-
`},17367:function(
|
|
2406
|
+
`},17367:function(g,n){"use strict";n.Z=`import { DownOutlined, PlusOutlined } from '@ant-design/icons';
|
|
2397
2407
|
import { ButtonProps, Space } from 'antd';
|
|
2398
2408
|
import CcsButton from '..';
|
|
2399
2409
|
import { GroupButtonItem } from '../_api';
|
|
@@ -2473,7 +2483,7 @@ export default function Basic() {
|
|
|
2473
2483
|
</Space>
|
|
2474
2484
|
);
|
|
2475
2485
|
}
|
|
2476
|
-
`},83450:function(
|
|
2486
|
+
`},83450:function(g,n){"use strict";n.Z=`import { Dropdown } from 'antd';
|
|
2477
2487
|
import React, { useMemo } from 'react';
|
|
2478
2488
|
import { useCcsPage } from '..';
|
|
2479
2489
|
import { DropdownMenuItemType, DropdownProps } from './_api';
|
|
@@ -2541,7 +2551,7 @@ export default function CssButtonDropdown({
|
|
|
2541
2551
|
<></>
|
|
2542
2552
|
);
|
|
2543
2553
|
}
|
|
2544
|
-
`},55736:function(
|
|
2554
|
+
`},55736:function(g,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2545
2555
|
import { EllipsisOutlined, ExclamationCircleOutlined } from '@ant-design/icons';
|
|
2546
2556
|
import { Button, Divider, Dropdown, Space } from 'antd';
|
|
2547
2557
|
import { ModalStaticFunctions } from 'antd/es/modal/confirm';
|
|
@@ -2700,7 +2710,7 @@ export default function CssButtonGroup({
|
|
|
2700
2710
|
</>
|
|
2701
2711
|
);
|
|
2702
2712
|
}
|
|
2703
|
-
`},49202:function(
|
|
2713
|
+
`},49202:function(g,n){"use strict";n.Z=`import { ExclamationCircleOutlined } from '@ant-design/icons';
|
|
2704
2714
|
import { Button, Input, InputRef, Modal } from 'antd';
|
|
2705
2715
|
import { ModalStaticFunctions } from 'antd/es/modal/confirm';
|
|
2706
2716
|
import { useEffect, useRef } from 'react';
|
|
@@ -2840,7 +2850,7 @@ CcsButton.Group = CssButtonGroup;
|
|
|
2840
2850
|
CcsButton.Dropdown = CssButtonDropdown;
|
|
2841
2851
|
|
|
2842
2852
|
export default CcsButton;
|
|
2843
|
-
`},20848:function(
|
|
2853
|
+
`},20848:function(g,n){"use strict";n.Z=`import { CascaderProps as AntCascaderProps } from 'antd';
|
|
2844
2854
|
import { NamePath } from 'antd/es/form/interface';
|
|
2845
2855
|
import { CacheType } from '../ccs';
|
|
2846
2856
|
|
|
@@ -2857,7 +2867,7 @@ export type ApiCascaderProps = Omit<AntCascaderProps, 'fieldNames'> & {
|
|
|
2857
2867
|
/** \u67E5\u8BE2\u8BF7\u6C42 */
|
|
2858
2868
|
request?: (params?: any) => Promise<any>;
|
|
2859
2869
|
};
|
|
2860
|
-
`},20532:function(
|
|
2870
|
+
`},20532:function(g,n){"use strict";n.Z=`import { CcsCascader } from '@ccs-ui/rc-pro';
|
|
2861
2871
|
|
|
2862
2872
|
function onQuery() {
|
|
2863
2873
|
return new Promise((resolve) => {
|
|
@@ -2901,7 +2911,7 @@ export default () => {
|
|
|
2901
2911
|
/>
|
|
2902
2912
|
);
|
|
2903
2913
|
};
|
|
2904
|
-
`},75309:function(
|
|
2914
|
+
`},75309:function(g,n){"use strict";n.Z=`import { CcsCascader } from '@ccs-ui/rc-pro';
|
|
2905
2915
|
import { Button, Space } from 'antd';
|
|
2906
2916
|
import { useState } from 'react';
|
|
2907
2917
|
|
|
@@ -2959,7 +2969,7 @@ export default () => {
|
|
|
2959
2969
|
</Space>
|
|
2960
2970
|
);
|
|
2961
2971
|
};
|
|
2962
|
-
`},57066:function(
|
|
2972
|
+
`},57066:function(g,n){"use strict";n.Z=`import ApiCascader from './api';
|
|
2963
2973
|
|
|
2964
2974
|
const CcsCascader = () => <></>;
|
|
2965
2975
|
|
|
@@ -2971,7 +2981,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
2971
2981
|
CcsCascader.Api = ApiCascader;
|
|
2972
2982
|
|
|
2973
2983
|
export default CcsCascader;
|
|
2974
|
-
`},37846:function(
|
|
2984
|
+
`},37846:function(g,n){"use strict";n.Z=`import { CSSProperties, ReactElement, ReactNode } from 'react';
|
|
2975
2985
|
|
|
2976
2986
|
// \u4EFB\u610F\u53C2\u6570\u7C7B\u578B
|
|
2977
2987
|
type RecordType = Record<string, any>;
|
|
@@ -3032,7 +3042,7 @@ export * from './pro-tabs/_api';
|
|
|
3032
3042
|
export * from './select/_api';
|
|
3033
3043
|
export * from './upload/_api';
|
|
3034
3044
|
export * from './water-mark/_api';
|
|
3035
|
-
`},12290:function(
|
|
3045
|
+
`},12290:function(g,n){"use strict";n.Z=`import {
|
|
3036
3046
|
blue,
|
|
3037
3047
|
cyan,
|
|
3038
3048
|
gray,
|
|
@@ -3162,7 +3172,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3162
3172
|
}
|
|
3163
3173
|
|
|
3164
3174
|
export default CcsColorPicker;
|
|
3165
|
-
`},23456:function(
|
|
3175
|
+
`},23456:function(g,n){"use strict";n.Z=`import { darkTheme, defaultTheme } from '@ant-design/compatible';
|
|
3166
3176
|
import {
|
|
3167
3177
|
theme as antTheme,
|
|
3168
3178
|
App,
|
|
@@ -3300,7 +3310,7 @@ export default function CssAppConfig(props: AppConfigProps) {
|
|
|
3300
3310
|
</App>
|
|
3301
3311
|
);
|
|
3302
3312
|
}
|
|
3303
|
-
`},51412:function(
|
|
3313
|
+
`},51412:function(g,n){"use strict";n.Z=`import { ConfigProviderProps } from 'antd';
|
|
3304
3314
|
import { Store } from 'antd/es/form/interface';
|
|
3305
3315
|
import React from 'react';
|
|
3306
3316
|
import { Location } from 'react-router';
|
|
@@ -3404,7 +3414,7 @@ export type AppConfigType = {
|
|
|
3404
3414
|
*/
|
|
3405
3415
|
fieldNames?: AppFieldNames;
|
|
3406
3416
|
};
|
|
3407
|
-
`},45757:function(
|
|
3417
|
+
`},45757:function(g,n){"use strict";n.Z=`import React, { createContext } from 'react';
|
|
3408
3418
|
import { TabsContextType } from '../pro-tabs/_api';
|
|
3409
3419
|
import { AppConfigType, FnContextType, PageContextType } from './_api';
|
|
3410
3420
|
|
|
@@ -3418,7 +3428,7 @@ const TabsContext = React.createContext({} as TabsContextType);
|
|
|
3418
3428
|
const AppConfigContext = React.createContext<AppConfigType>({} as any);
|
|
3419
3429
|
|
|
3420
3430
|
export { AppConfigContext, DrawerAndModalContext, PageContext, TabsContext };
|
|
3421
|
-
`},797:function(
|
|
3431
|
+
`},797:function(g,n){"use strict";n.Z=`import { DatePickerProps as AntdDatePickerProps } from 'antd';
|
|
3422
3432
|
import { RangePickerProps as AntdRangePickerProps } from 'antd/es/date-picker';
|
|
3423
3433
|
|
|
3424
3434
|
/**
|
|
@@ -3439,7 +3449,7 @@ export type RangePickerProps = {
|
|
|
3439
3449
|
picker?: 'year' | 'month' | 'date';
|
|
3440
3450
|
onChange?: (e: [string, string]) => void;
|
|
3441
3451
|
} & Omit<AntdRangePickerProps, 'value' | 'onChange'>;
|
|
3442
|
-
`},29634:function(
|
|
3452
|
+
`},29634:function(g,n){"use strict";n.Z=`import { CcsDatePicker } from '@ccs-ui/rc-pro';
|
|
3443
3453
|
import { Form } from 'antd';
|
|
3444
3454
|
|
|
3445
3455
|
export default () => {
|
|
@@ -3470,7 +3480,7 @@ export default () => {
|
|
|
3470
3480
|
</Form>
|
|
3471
3481
|
);
|
|
3472
3482
|
};
|
|
3473
|
-
`},49277:function(
|
|
3483
|
+
`},49277:function(g,n){"use strict";n.Z=`import { CcsDatePicker } from '@ccs-ui/rc-pro';
|
|
3474
3484
|
import { Form } from 'antd';
|
|
3475
3485
|
|
|
3476
3486
|
export default () => {
|
|
@@ -3510,7 +3520,7 @@ export default () => {
|
|
|
3510
3520
|
</Form>
|
|
3511
3521
|
);
|
|
3512
3522
|
};
|
|
3513
|
-
`},45645:function(
|
|
3523
|
+
`},45645:function(g,n){"use strict";n.Z=`import {
|
|
3514
3524
|
DatePickerProps as AntdDatePickerProps,
|
|
3515
3525
|
DatePicker,
|
|
3516
3526
|
TimeRangePickerProps,
|
|
@@ -3577,7 +3587,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3577
3587
|
}
|
|
3578
3588
|
|
|
3579
3589
|
export default CcsDatePicker;
|
|
3580
|
-
`},95933:function(
|
|
3590
|
+
`},95933:function(g,n){"use strict";n.Z=`import { Drawer } from 'antd';
|
|
3581
3591
|
import classNames from 'classnames';
|
|
3582
3592
|
import { useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
3583
3593
|
import { useInsertCss } from '../hooks/use-insert-css';
|
|
@@ -3733,7 +3743,7 @@ const HookDrawer = <TParams, TData>(
|
|
|
3733
3743
|
};
|
|
3734
3744
|
|
|
3735
3745
|
export default HookDrawer;
|
|
3736
|
-
`},40656:function(
|
|
3746
|
+
`},40656:function(g,n){"use strict";n.Z=`import { Modal } from 'antd';
|
|
3737
3747
|
import classNames from 'classnames';
|
|
3738
3748
|
import React, {
|
|
3739
3749
|
Dispatch,
|
|
@@ -3879,6 +3889,22 @@ const HookModal = <TParams, TData>(
|
|
|
3879
3889
|
);
|
|
3880
3890
|
}, []);
|
|
3881
3891
|
|
|
3892
|
+
const renderTitle = (
|
|
3893
|
+
<div
|
|
3894
|
+
style={{ width: '100%', cursor: 'move' }}
|
|
3895
|
+
onMouseOver={() => {
|
|
3896
|
+
if (dragState.disabled) {
|
|
3897
|
+
setDragState((e) => ({ ...e, disabled: false }));
|
|
3898
|
+
}
|
|
3899
|
+
}}
|
|
3900
|
+
onMouseOut={() => {
|
|
3901
|
+
setDragState((e) => ({ ...e, disabled: true }));
|
|
3902
|
+
}}
|
|
3903
|
+
>
|
|
3904
|
+
{title}
|
|
3905
|
+
</div>
|
|
3906
|
+
);
|
|
3907
|
+
|
|
3882
3908
|
return (
|
|
3883
3909
|
<Modal
|
|
3884
3910
|
onCancel={onHandleClose}
|
|
@@ -3886,21 +3912,7 @@ const HookModal = <TParams, TData>(
|
|
|
3886
3912
|
{...otherInnerConfig}
|
|
3887
3913
|
className={classNames('ccs-dialog-modal', className)}
|
|
3888
3914
|
footer={footer === null ? null : renderFooter}
|
|
3889
|
-
title={
|
|
3890
|
-
<div
|
|
3891
|
-
style={{ width: '100%', cursor: 'move' }}
|
|
3892
|
-
onMouseOver={() => {
|
|
3893
|
-
if (dragState.disabled) {
|
|
3894
|
-
setDragState((e) => ({ ...e, disabled: false }));
|
|
3895
|
-
}
|
|
3896
|
-
}}
|
|
3897
|
-
onMouseOut={() => {
|
|
3898
|
-
setDragState((e) => ({ ...e, disabled: true }));
|
|
3899
|
-
}}
|
|
3900
|
-
>
|
|
3901
|
-
{title}
|
|
3902
|
-
</div>
|
|
3903
|
-
}
|
|
3915
|
+
title={renderTitle}
|
|
3904
3916
|
modalRender={(modal) => (
|
|
3905
3917
|
<DragModal
|
|
3906
3918
|
modal={modal}
|
|
@@ -3934,7 +3946,7 @@ const HookModal = <TParams, TData>(
|
|
|
3934
3946
|
};
|
|
3935
3947
|
|
|
3936
3948
|
export default HookModal;
|
|
3937
|
-
`},35987:function(
|
|
3949
|
+
`},35987:function(g,n){"use strict";n.Z=`import { DrawerProps, FormProps, ModalFuncProps } from 'antd';
|
|
3938
3950
|
import { Store } from 'antd/es/form/interface';
|
|
3939
3951
|
import { ReactNode, RefObject } from 'react';
|
|
3940
3952
|
import CCS from '..';
|
|
@@ -4072,7 +4084,7 @@ export interface DialogContextType<T = Store> {
|
|
|
4072
4084
|
/** \u786E\u5B9A\u56DE\u8C03 */
|
|
4073
4085
|
onOkCallBack: OkEvent<any, any> | undefined;
|
|
4074
4086
|
}
|
|
4075
|
-
`},80886:function(
|
|
4087
|
+
`},80886:function(g,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
|
|
4076
4088
|
import { Button, Form, FormProps } from 'antd';
|
|
4077
4089
|
import React, {
|
|
4078
4090
|
RefObject,
|
|
@@ -4321,7 +4333,7 @@ export default function CcsDialogButtons<TParams>({
|
|
|
4321
4333
|
|
|
4322
4334
|
return <></>;
|
|
4323
4335
|
}
|
|
4324
|
-
`},70052:function(
|
|
4336
|
+
`},70052:function(g,n){"use strict";n.Z=`import { Store } from 'antd/es/form/interface';
|
|
4325
4337
|
import React, { useContext } from 'react';
|
|
4326
4338
|
import { DialogContextType } from './_api';
|
|
4327
4339
|
|
|
@@ -4339,7 +4351,7 @@ const useDialogContext = <T = Store>() => {
|
|
|
4339
4351
|
};
|
|
4340
4352
|
|
|
4341
4353
|
export { DialogContentContext, useDialogContext };
|
|
4342
|
-
`},58254:function(
|
|
4354
|
+
`},58254:function(g,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
|
|
4343
4355
|
import { Button, DrawerProps, Dropdown, MenuProps, Space } from 'antd';
|
|
4344
4356
|
|
|
4345
4357
|
const items = [
|
|
@@ -4395,7 +4407,7 @@ export default function DialogBasic() {
|
|
|
4395
4407
|
</Space>
|
|
4396
4408
|
);
|
|
4397
4409
|
}
|
|
4398
|
-
`},26260:function(
|
|
4410
|
+
`},26260:function(g,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
|
|
4399
4411
|
import { DialogDrawer, DialogModal } from '@ccs-ui/rc-pro/dialog/_api';
|
|
4400
4412
|
import { Button, Select, Space } from 'antd';
|
|
4401
4413
|
import { useEffect, useRef } from 'react';
|
|
@@ -4458,7 +4470,7 @@ export default function DialogCache() {
|
|
|
4458
4470
|
</Space>
|
|
4459
4471
|
);
|
|
4460
4472
|
}
|
|
4461
|
-
`},77697:function(
|
|
4473
|
+
`},77697:function(g,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
|
|
4462
4474
|
import { Button, Form, Input, Space } from 'antd';
|
|
4463
4475
|
|
|
4464
4476
|
const FormItem = Form.Item;
|
|
@@ -4573,7 +4585,7 @@ export default function DialogForm() {
|
|
|
4573
4585
|
</Space>
|
|
4574
4586
|
);
|
|
4575
4587
|
}
|
|
4576
|
-
`},91015:function(
|
|
4588
|
+
`},91015:function(g,n){"use strict";n.Z=`import { CcsDialog } from '@ccs-ui/rc-pro';
|
|
4577
4589
|
import { useRequest } from 'ahooks';
|
|
4578
4590
|
import { Button, Form, Input, Space } from 'antd';
|
|
4579
4591
|
import useFormInstance from 'antd/es/form/hooks/useFormInstance';
|
|
@@ -4738,7 +4750,7 @@ export default function DialogFormCustom() {
|
|
|
4738
4750
|
</Space>
|
|
4739
4751
|
);
|
|
4740
4752
|
}
|
|
4741
|
-
`},24606:function(
|
|
4753
|
+
`},24606:function(g,n){"use strict";n.Z=`import { CcsAppConfig, CcsDialog } from '@ccs-ui/rc-pro';
|
|
4742
4754
|
import { Button } from 'antd';
|
|
4743
4755
|
|
|
4744
4756
|
const mp = {
|
|
@@ -4800,10 +4812,10 @@ export default function DialogPrompt() {
|
|
|
4800
4812
|
</CcsAppConfig>
|
|
4801
4813
|
);
|
|
4802
4814
|
}
|
|
4803
|
-
`},4027:function(
|
|
4815
|
+
`},4027:function(g,n){"use strict";n.Z=`import { CcsAppConfig } from '@ccs-ui/rc-pro';
|
|
4804
4816
|
import { Divider } from 'antd';
|
|
4805
|
-
import
|
|
4806
|
-
import
|
|
4817
|
+
import DialogBasic from './Basic';
|
|
4818
|
+
import DialogCache from './Cache';
|
|
4807
4819
|
import FormCustom from './FormCustom';
|
|
4808
4820
|
|
|
4809
4821
|
export default () => {
|
|
@@ -4813,7 +4825,7 @@ export default () => {
|
|
|
4813
4825
|
<Divider plain orientation="left" orientationMargin={16}>
|
|
4814
4826
|
\u57FA\u672C\u7528\u6CD5:\u4F7F\u7528\u65F6\u521B\u5EFA\uFF0C\u5173\u95ED\u5373\u9500\u6BC1\u3002
|
|
4815
4827
|
</Divider>
|
|
4816
|
-
<
|
|
4828
|
+
<DialogBasic />
|
|
4817
4829
|
<Divider plain orientation="left" orientationMargin={16}>
|
|
4818
4830
|
\u7ED3\u5408Form\u8868\u5355,\u81EA\u5B9A\u4E49\u8BF7\u6C42,\u6309\u94AE,\u8868\u5355\u4E1A\u52A1\u5904\u7406\u903B\u8F91\u3002
|
|
4819
4831
|
</Divider>
|
|
@@ -4821,12 +4833,12 @@ export default () => {
|
|
|
4821
4833
|
<Divider plain orientation="left" orientationMargin={16}>
|
|
4822
4834
|
\u7F13\u5B58\u5185\u5BB9:\u9700\u7F13\u5B58\u6570\u636E\u65F6\uFF0C\u4F7F\u7528ref\u7F13\u5B58\u65B9\u6CD5\u3002
|
|
4823
4835
|
</Divider>
|
|
4824
|
-
<
|
|
4836
|
+
<DialogCache />
|
|
4825
4837
|
</>
|
|
4826
4838
|
</CcsAppConfig>
|
|
4827
4839
|
);
|
|
4828
4840
|
};
|
|
4829
|
-
`},82759:function(
|
|
4841
|
+
`},82759:function(g,n){"use strict";n.Z=`import { RefObject, useEffect, useImperativeHandle, useState } from 'react';
|
|
4830
4842
|
import CcsDialog from '.';
|
|
4831
4843
|
import { DialogButtonsProps } from './_api';
|
|
4832
4844
|
import { DialogButtonRef } from './button';
|
|
@@ -4859,7 +4871,7 @@ export default function CcsDrawerFooter({ children }: DialogButtonsProps) {
|
|
|
4859
4871
|
|
|
4860
4872
|
return null;
|
|
4861
4873
|
}
|
|
4862
|
-
`},28013:function(
|
|
4874
|
+
`},28013:function(g,n){"use strict";n.Z=`import { Form, FormInstance, FormProps } from 'antd';
|
|
4863
4875
|
import React, { ReactNode, useImperativeHandle } from 'react';
|
|
4864
4876
|
|
|
4865
4877
|
type PropsType<TParams> = {
|
|
@@ -4903,7 +4915,7 @@ const DialogForm = <TParams,>({
|
|
|
4903
4915
|
};
|
|
4904
4916
|
|
|
4905
4917
|
export default DialogForm;
|
|
4906
|
-
`},98314:function(
|
|
4918
|
+
`},98314:function(g,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/ban-types */
|
|
4907
4919
|
import CcsUtils from '@ccs-ui/utils';
|
|
4908
4920
|
import _debounce from 'lodash.debounce';
|
|
4909
4921
|
import React from 'react';
|
|
@@ -5004,7 +5016,7 @@ export default function useCcsDialog(): CcsDialogType {
|
|
|
5004
5016
|
modalUuid += 1;
|
|
5005
5017
|
|
|
5006
5018
|
const modalRef = React.createRef<DialogModal>();
|
|
5007
|
-
|
|
5019
|
+
console.log('config2', config);
|
|
5008
5020
|
// \u5173\u95ED\u4E8B\u4EF6
|
|
5009
5021
|
let closeFunc: Function | undefined;
|
|
5010
5022
|
// modal
|
|
@@ -5190,7 +5202,7 @@ export default function useCcsDialog(): CcsDialogType {
|
|
|
5190
5202
|
contextHolder: <DialogElementsHolder key="modal-holder" ref={holderRef} />,
|
|
5191
5203
|
};
|
|
5192
5204
|
}
|
|
5193
|
-
`},43022:function(
|
|
5205
|
+
`},43022:function(g,n){"use strict";n.Z=`import ThemeDialog from '../theme-dialog';
|
|
5194
5206
|
import { DialogInterface } from './_api';
|
|
5195
5207
|
import CcsDialogButtons from './button';
|
|
5196
5208
|
import { useDialogContext } from './context';
|
|
@@ -5217,7 +5229,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
5217
5229
|
}
|
|
5218
5230
|
|
|
5219
5231
|
export default CcsDialog;
|
|
5220
|
-
`},96602:function(
|
|
5232
|
+
`},96602:function(g,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/ban-types */
|
|
5221
5233
|
import * as React from 'react';
|
|
5222
5234
|
|
|
5223
5235
|
export default function usePatchElement(): [
|
|
@@ -5241,7 +5253,7 @@ export default function usePatchElement(): [
|
|
|
5241
5253
|
|
|
5242
5254
|
return [elements, patchElement];
|
|
5243
5255
|
}
|
|
5244
|
-
`},2142:function(
|
|
5256
|
+
`},2142:function(g,n){"use strict";n.Z=`import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
5245
5257
|
import { ReactCodeMirrorProps } from '@uiw/react-codemirror';
|
|
5246
5258
|
import { InputProps } from 'antd';
|
|
5247
5259
|
import { EditorState, LexicalEditor } from 'lexical';
|
|
@@ -5308,7 +5320,7 @@ export type EditorRichProps = Omit<
|
|
|
5308
5320
|
/** \u4E3B\u9898 */
|
|
5309
5321
|
theme?: AppConfigType['theme'];
|
|
5310
5322
|
};
|
|
5311
|
-
`},46345:function(
|
|
5323
|
+
`},46345:function(g,n){"use strict";n.Z=`import CodeMirror from '@uiw/react-codemirror';
|
|
5312
5324
|
import classNames from 'classnames';
|
|
5313
5325
|
import useAppConfig from '../hooks/use-app';
|
|
5314
5326
|
import useInputCss from '../hooks/use-input-css';
|
|
@@ -5353,7 +5365,7 @@ export default function BaseCodeMirror({
|
|
|
5353
5365
|
/>
|
|
5354
5366
|
);
|
|
5355
5367
|
}
|
|
5356
|
-
`},49960:function(
|
|
5368
|
+
`},49960:function(g,n){"use strict";n.Z=`.ccs-editor {
|
|
5357
5369
|
.cm-editor {
|
|
5358
5370
|
height: 100%;
|
|
5359
5371
|
outline: none !important;
|
|
@@ -5369,7 +5381,7 @@ export default function BaseCodeMirror({
|
|
|
5369
5381
|
background: transparent;
|
|
5370
5382
|
}
|
|
5371
5383
|
}
|
|
5372
|
-
`},25232:function(
|
|
5384
|
+
`},25232:function(g,n){"use strict";n.Z=`import { CcsEditor } from '@ccs-ui/rc-pro';
|
|
5373
5385
|
import { Radio } from 'antd';
|
|
5374
5386
|
import { Variant } from 'antd/es/config-provider';
|
|
5375
5387
|
import { useState } from 'react';
|
|
@@ -5447,7 +5459,7 @@ export default () => {
|
|
|
5447
5459
|
</>
|
|
5448
5460
|
);
|
|
5449
5461
|
};
|
|
5450
|
-
`},46912:function(
|
|
5462
|
+
`},46912:function(g,n){"use strict";n.Z=`import { CcsEditor } from '@ccs-ui/rc-pro';
|
|
5451
5463
|
import { Radio } from 'antd';
|
|
5452
5464
|
import { Variant } from 'antd/es/config-provider';
|
|
5453
5465
|
import { useState } from 'react';
|
|
@@ -5497,7 +5509,7 @@ export default () => {
|
|
|
5497
5509
|
</>
|
|
5498
5510
|
);
|
|
5499
5511
|
};
|
|
5500
|
-
`},36878:function(
|
|
5512
|
+
`},36878:function(g,n){"use strict";n.Z=`import JavaScriptEditor from './javascript';
|
|
5501
5513
|
import JsonEditor from './json';
|
|
5502
5514
|
import EditorRich from './rich';
|
|
5503
5515
|
import SqlEditor from './sql';
|
|
@@ -5531,13 +5543,13 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
5531
5543
|
Editor.Rich = EditorRich;
|
|
5532
5544
|
|
|
5533
5545
|
export default Editor;
|
|
5534
|
-
`},85609:function(
|
|
5546
|
+
`},85609:function(g,n){"use strict";n.Z=`import { javascript } from '@codemirror/lang-javascript';
|
|
5535
5547
|
import { EditorCodeProps } from './_api';
|
|
5536
5548
|
import BaseEditor from './code-base';
|
|
5537
5549
|
export default function JavaScriptEditor(props: EditorCodeProps) {
|
|
5538
5550
|
return <BaseEditor {...props} extensions={[javascript({ jsx: true })]} />;
|
|
5539
5551
|
}
|
|
5540
|
-
`},94975:function(
|
|
5552
|
+
`},94975:function(g,n){"use strict";n.Z=`import { json } from '@codemirror/lang-json';
|
|
5541
5553
|
import { syntaxTree } from '@codemirror/language';
|
|
5542
5554
|
import { Diagnostic, linter } from '@codemirror/lint';
|
|
5543
5555
|
import { EditorCodeProps } from './_api';
|
|
@@ -5562,7 +5574,7 @@ const regexpLinter = linter((view) => {
|
|
|
5562
5574
|
export default function JsonEditor(props: EditorCodeProps) {
|
|
5563
5575
|
return <BaseEditor {...props} extensions={[json(), regexpLinter]} />;
|
|
5564
5576
|
}
|
|
5565
|
-
`},47285:function(
|
|
5577
|
+
`},47285:function(g,n){"use strict";n.Z=`.css-editor-rich {
|
|
5566
5578
|
display: flex;
|
|
5567
5579
|
flex-direction: column;
|
|
5568
5580
|
position: relative;
|
|
@@ -5866,7 +5878,7 @@ export default function JsonEditor(props: EditorCodeProps) {
|
|
|
5866
5878
|
top: 4px;
|
|
5867
5879
|
}
|
|
5868
5880
|
}
|
|
5869
|
-
`},37634:function(
|
|
5881
|
+
`},37634:function(g,n){"use strict";n.Z=`import { useAppConfig } from '@ccs-ui/rc-pro';
|
|
5870
5882
|
import useInputCss from '@ccs-ui/rc-pro/hooks/use-input-css';
|
|
5871
5883
|
import { LexicalComposer } from '@lexical/react/LexicalComposer';
|
|
5872
5884
|
import { ContentEditable } from '@lexical/react/LexicalContentEditable';
|
|
@@ -5949,7 +5961,7 @@ export default function LexicalEditorBase({
|
|
|
5949
5961
|
</EditorRichContext.Provider>
|
|
5950
5962
|
);
|
|
5951
5963
|
}
|
|
5952
|
-
`},20466:function(
|
|
5964
|
+
`},20466:function(g,n){"use strict";n.Z=`const MIN_ALLOWED_FONT_SIZE = 8;
|
|
5953
5965
|
const MAX_ALLOWED_FONT_SIZE = 72;
|
|
5954
5966
|
|
|
5955
5967
|
export const parseAllowedFontSize = (input: string): string => {
|
|
@@ -5966,7 +5978,7 @@ export const parseAllowedFontSize = (input: string): string => {
|
|
|
5966
5978
|
export function parseAllowedColor(input: string) {
|
|
5967
5979
|
return /^rgb\\(\\d+, \\d+, \\d+\\)$/.test(input) ? input : '';
|
|
5968
5980
|
}
|
|
5969
|
-
`},58988:function(
|
|
5981
|
+
`},58988:function(g,n){"use strict";n.Z=`import { CheckOutlined, CloseOutlined } from '@ant-design/icons';
|
|
5970
5982
|
import { Button, Input, theme } from 'antd';
|
|
5971
5983
|
import { useState } from 'react';
|
|
5972
5984
|
|
|
@@ -6011,7 +6023,7 @@ export default function CodeEdit({
|
|
|
6011
6023
|
</div>
|
|
6012
6024
|
);
|
|
6013
6025
|
}
|
|
6014
|
-
`},49811:function(
|
|
6026
|
+
`},49811:function(g,n){"use strict";n.Z=`import {
|
|
6015
6027
|
AlignCenterOutlined,
|
|
6016
6028
|
AlignLeftOutlined,
|
|
6017
6029
|
AlignRightOutlined,
|
|
@@ -6595,7 +6607,7 @@ export default function ToolbarPlugin({ style, disabled }: PropsType) {
|
|
|
6595
6607
|
</div>
|
|
6596
6608
|
);
|
|
6597
6609
|
}
|
|
6598
|
-
`},62989:function(
|
|
6610
|
+
`},62989:function(g,n){"use strict";n.Z=`import { CcsForm } from '@ccs-ui/rc-pro';
|
|
6599
6611
|
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
|
|
6600
6612
|
import { Form, Input, Modal, Radio } from 'antd';
|
|
6601
6613
|
import { $getNodeByKey } from 'lexical';
|
|
@@ -6812,7 +6824,7 @@ export default function UploadModal({
|
|
|
6812
6824
|
</>
|
|
6813
6825
|
);
|
|
6814
6826
|
}
|
|
6815
|
-
`},74610:function(
|
|
6827
|
+
`},74610:function(g,n){"use strict";n.Z=`import { useState } from 'react';
|
|
6816
6828
|
import UploadModal from '../../base/toolbar/upload';
|
|
6817
6829
|
import { ImageNodeType } from './ImageNode';
|
|
6818
6830
|
|
|
@@ -6854,7 +6866,7 @@ export default function ImageComponent({
|
|
|
6854
6866
|
</>
|
|
6855
6867
|
);
|
|
6856
6868
|
}
|
|
6857
|
-
`},87173:function(
|
|
6869
|
+
`},87173:function(g,n){"use strict";n.Z=`import { DecoratorNode, LexicalNode } from 'lexical';
|
|
6858
6870
|
import * as React from 'react';
|
|
6859
6871
|
import { Suspense } from 'react';
|
|
6860
6872
|
|
|
@@ -7022,7 +7034,7 @@ function convertImageElement(domNode: ImageNodeType) {
|
|
|
7022
7034
|
export function $isImageNode(node: LexicalNode) {
|
|
7023
7035
|
return node instanceof ImageNode;
|
|
7024
7036
|
}
|
|
7025
|
-
`},95791:function(
|
|
7037
|
+
`},95791:function(g,n){"use strict";n.Z=`import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
|
|
7026
7038
|
import { $insertNodes, COMMAND_PRIORITY_EDITOR, createCommand } from 'lexical';
|
|
7027
7039
|
import { useEffect } from 'react';
|
|
7028
7040
|
import { $createImageNode } from './ImageNode';
|
|
@@ -7049,7 +7061,7 @@ export default function PluginImage() {
|
|
|
7049
7061
|
|
|
7050
7062
|
return null;
|
|
7051
7063
|
}
|
|
7052
|
-
`},1731:function(
|
|
7064
|
+
`},1731:function(g,n){"use strict";n.Z=`import { $generateHtmlFromNodes, $generateNodesFromDOM } from '@lexical/html';
|
|
7053
7065
|
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
|
|
7054
7066
|
import { $getRoot, $insertNodes } from 'lexical';
|
|
7055
7067
|
import { useEffect } from 'react';
|
|
@@ -7082,7 +7094,7 @@ const PluginInitHtml = ({ value }: { value?: string }) => {
|
|
|
7082
7094
|
};
|
|
7083
7095
|
|
|
7084
7096
|
export default PluginInitHtml;
|
|
7085
|
-
`},82227:function(
|
|
7097
|
+
`},82227:function(g,n){"use strict";n.Z=`import { $isLinkNode } from '@lexical/link';
|
|
7086
7098
|
import { $isListItemNode, $isListNode } from '@lexical/list';
|
|
7087
7099
|
import { $isHeadingNode, $isQuoteNode } from '@lexical/rich-text';
|
|
7088
7100
|
import {
|
|
@@ -7210,7 +7222,7 @@ export function $onGenerateHTML(editor: LexicalEditor): string {
|
|
|
7210
7222
|
|
|
7211
7223
|
return html;
|
|
7212
7224
|
}
|
|
7213
|
-
`},88535:function(
|
|
7225
|
+
`},88535:function(g,n){"use strict";n.Z=`import { LinkNode } from '@lexical/link';
|
|
7214
7226
|
import { ListItemNode, ListNode } from '@lexical/list';
|
|
7215
7227
|
import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
7216
7228
|
import { HeadingNode, QuoteNode } from '@lexical/rich-text';
|
|
@@ -7380,7 +7392,7 @@ export default function EditorRich({
|
|
|
7380
7392
|
/>
|
|
7381
7393
|
);
|
|
7382
7394
|
}
|
|
7383
|
-
`},91255:function(
|
|
7395
|
+
`},91255:function(g,n){"use strict";n.Z=`export default {
|
|
7384
7396
|
code: 'editor-code',
|
|
7385
7397
|
heading: {
|
|
7386
7398
|
h1: 'editor-heading-h1',
|
|
@@ -7418,28 +7430,28 @@ export default function EditorRich({
|
|
|
7418
7430
|
ltr: 'editor-ltr',
|
|
7419
7431
|
rtl: 'editor-rtl',
|
|
7420
7432
|
};
|
|
7421
|
-
`},53986:function(
|
|
7433
|
+
`},53986:function(g,n){"use strict";n.Z=`import { sql } from '@codemirror/lang-sql';
|
|
7422
7434
|
import { EditorCodeProps } from './_api';
|
|
7423
7435
|
import BaseEditor from './code-base';
|
|
7424
7436
|
|
|
7425
7437
|
export default function SqlEditor(props: EditorCodeProps) {
|
|
7426
7438
|
return <BaseEditor {...props} extensions={[sql()]} />;
|
|
7427
7439
|
}
|
|
7428
|
-
`},26834:function(
|
|
7440
|
+
`},26834:function(g,n){"use strict";n.Z=`import { xml } from '@codemirror/lang-xml';
|
|
7429
7441
|
import { EditorCodeProps } from './_api';
|
|
7430
7442
|
import BaseEditor from './code-base';
|
|
7431
7443
|
|
|
7432
7444
|
export default function XmlEditor(props: EditorCodeProps) {
|
|
7433
7445
|
return <BaseEditor {...props} extensions={[xml()]} />;
|
|
7434
7446
|
}
|
|
7435
|
-
`},5093:function(
|
|
7447
|
+
`},5093:function(g,n){"use strict";n.Z=`import { yaml } from '@codemirror/lang-yaml';
|
|
7436
7448
|
import { EditorCodeProps } from './_api';
|
|
7437
7449
|
import BaseEditor from './code-base';
|
|
7438
7450
|
|
|
7439
7451
|
export default function YamlEditor(props: EditorCodeProps) {
|
|
7440
7452
|
return <BaseEditor {...props} extensions={[yaml()]} />;
|
|
7441
7453
|
}
|
|
7442
|
-
`},29060:function(
|
|
7454
|
+
`},29060:function(g,n){"use strict";n.Z=`import {
|
|
7443
7455
|
FormItemProps as AntdFormItemProps,
|
|
7444
7456
|
ButtonProps,
|
|
7445
7457
|
Form,
|
|
@@ -7540,7 +7552,7 @@ export type FormListProps = PropsWithCss & {
|
|
|
7540
7552
|
|
|
7541
7553
|
/** \u5217\u8868\u9879\u5220\u9664\u6309\u94AE */
|
|
7542
7554
|
export type ListItemBtnProps = Omit<ButtonProps, 'onClick'> & {};
|
|
7543
|
-
`},7570:function(
|
|
7555
|
+
`},7570:function(g,n){"use strict";n.Z=`import { CcsDatePicker, CcsForm } from '@ccs-ui/rc-pro';
|
|
7544
7556
|
import { Button, Form, Input, Select, Space } from 'antd';
|
|
7545
7557
|
import { useEffect } from 'react';
|
|
7546
7558
|
import { FormItemChildren } from '../_api';
|
|
@@ -7669,7 +7681,7 @@ export default function DemoApp() {
|
|
|
7669
7681
|
</>
|
|
7670
7682
|
);
|
|
7671
7683
|
}
|
|
7672
|
-
`},2379:function(
|
|
7684
|
+
`},2379:function(g,n){"use strict";n.Z=`import { useUpdateEffect } from 'ahooks';
|
|
7673
7685
|
import { Form } from 'antd';
|
|
7674
7686
|
import { FormInstance, Rule } from 'antd/es/form';
|
|
7675
7687
|
import { NamePath } from 'antd/es/form/interface';
|
|
@@ -7925,7 +7937,7 @@ export default function FormItem({
|
|
|
7925
7937
|
</>
|
|
7926
7938
|
);
|
|
7927
7939
|
}
|
|
7928
|
-
`},53019:function(
|
|
7940
|
+
`},53019:function(g,n){"use strict";n.Z=`import {
|
|
7929
7941
|
DragOutlined,
|
|
7930
7942
|
MinusCircleOutlined,
|
|
7931
7943
|
PlusOutlined,
|
|
@@ -8055,7 +8067,7 @@ export default function FormList({
|
|
|
8055
8067
|
|
|
8056
8068
|
return renderList;
|
|
8057
8069
|
}
|
|
8058
|
-
`},57414:function(
|
|
8070
|
+
`},57414:function(g,n){"use strict";n.Z=`import { useContext } from 'react';
|
|
8059
8071
|
import { AppConfigContext } from '../context';
|
|
8060
8072
|
|
|
8061
8073
|
/**
|
|
@@ -8098,7 +8110,7 @@ export const useBaseFields = () => {
|
|
|
8098
8110
|
};
|
|
8099
8111
|
|
|
8100
8112
|
export default useAppConfig;
|
|
8101
|
-
`},63406:function(
|
|
8113
|
+
`},63406:function(g,n){"use strict";n.Z=`import { theme as antTheme } from 'antd';
|
|
8102
8114
|
import { InputProps } from 'antd/lib';
|
|
8103
8115
|
import { CSSProperties, useMemo, useState } from 'react';
|
|
8104
8116
|
import { AppConfigType, EditorStyles } from '../ccs';
|
|
@@ -8210,7 +8222,7 @@ export default function useInputCss({
|
|
|
8210
8222
|
onActived: setActived,
|
|
8211
8223
|
} as InputCssResult;
|
|
8212
8224
|
}
|
|
8213
|
-
`},5766:function(
|
|
8225
|
+
`},5766:function(g,n){"use strict";n.Z=`import { insertCss } from 'insert-css';
|
|
8214
8226
|
import { useEffect } from 'react';
|
|
8215
8227
|
import useAppConfig from './use-app';
|
|
8216
8228
|
|
|
@@ -8233,7 +8245,7 @@ export function useInsertCss(
|
|
|
8233
8245
|
insertCss(csss.join(''));
|
|
8234
8246
|
}, []);
|
|
8235
8247
|
}
|
|
8236
|
-
`},80659:function(
|
|
8248
|
+
`},80659:function(g,n){"use strict";n.Z=`/* eslint-disable @typescript-eslint/ban-types */
|
|
8237
8249
|
import { useRef } from 'react';
|
|
8238
8250
|
|
|
8239
8251
|
const useOnceEvent = (fn: (...params: any) => void) => {
|
|
@@ -8250,7 +8262,7 @@ const useOnceEvent = (fn: (...params: any) => void) => {
|
|
|
8250
8262
|
};
|
|
8251
8263
|
|
|
8252
8264
|
export default useOnceEvent;
|
|
8253
|
-
`},38712:function(
|
|
8265
|
+
`},38712:function(g,n){"use strict";n.Z=`import { useContext } from 'react';
|
|
8254
8266
|
import { PageContext } from '../context';
|
|
8255
8267
|
|
|
8256
8268
|
const usePage = () => {
|
|
@@ -8262,7 +8274,7 @@ const usePage = () => {
|
|
|
8262
8274
|
};
|
|
8263
8275
|
|
|
8264
8276
|
export default usePage;
|
|
8265
|
-
`},13853:function(
|
|
8277
|
+
`},13853:function(g,n){"use strict";n.Z=`import { useMemoizedFn, useUpdateEffect } from 'ahooks';
|
|
8266
8278
|
import { SelectProps } from 'antd';
|
|
8267
8279
|
import { RowSelectMethod, TableRowSelection } from 'antd/es/table/interface';
|
|
8268
8280
|
import React, { useEffect, useRef, useState } from 'react';
|
|
@@ -8436,7 +8448,7 @@ export default function useTableSelection<T = any>(
|
|
|
8436
8448
|
onClearByProTable: onClear,
|
|
8437
8449
|
};
|
|
8438
8450
|
}
|
|
8439
|
-
`},67634:function(
|
|
8451
|
+
`},67634:function(g,n){"use strict";n.Z=`import { useContext } from 'react';
|
|
8440
8452
|
import { TabsContext } from '../context';
|
|
8441
8453
|
|
|
8442
8454
|
const useTabs = () => {
|
|
@@ -8448,7 +8460,7 @@ const useTabs = () => {
|
|
|
8448
8460
|
};
|
|
8449
8461
|
|
|
8450
8462
|
export default useTabs;
|
|
8451
|
-
`},30960:function(
|
|
8463
|
+
`},30960:function(g,n){"use strict";n.Z=`import { Store } from 'antd/es/form/interface';
|
|
8452
8464
|
import { useContext } from 'react';
|
|
8453
8465
|
import { FnContextType } from '../ccs';
|
|
8454
8466
|
import { DrawerAndModalContext } from '../context';
|
|
@@ -8466,7 +8478,7 @@ const useCcsWindow = <T = Store>() => {
|
|
|
8466
8478
|
};
|
|
8467
8479
|
|
|
8468
8480
|
export default useCcsWindow;
|
|
8469
|
-
`},21460:function(
|
|
8481
|
+
`},21460:function(g,n){"use strict";n.Z=`export { default as CcsAjCaptcha } from './aj-captcha';
|
|
8470
8482
|
export { default as CcsAtom } from './atom';
|
|
8471
8483
|
export { default as CcsAuth } from './auth';
|
|
8472
8484
|
export { default as CcsButton } from './button';
|
|
@@ -8497,7 +8509,7 @@ export { default as CcsUpload } from './upload';
|
|
|
8497
8509
|
export { default as CcsWaterMark } from './water-mark';
|
|
8498
8510
|
import * as CCS from './ccs';
|
|
8499
8511
|
export default CCS;
|
|
8500
|
-
`},98333:function(
|
|
8512
|
+
`},98333:function(g,n){"use strict";n.Z=`import { CSSProperties, ReactNode } from 'react';
|
|
8501
8513
|
|
|
8502
8514
|
// \u7CFB\u7EDF\u83DC\u5355\u5C5E\u6027
|
|
8503
8515
|
export type MenuType = {
|
|
@@ -8530,7 +8542,7 @@ export interface SinglePageProps {
|
|
|
8530
8542
|
breadcrumbStyle?: CSSProperties;
|
|
8531
8543
|
children?: ReactNode;
|
|
8532
8544
|
}
|
|
8533
|
-
`},63705:function(
|
|
8545
|
+
`},63705:function(g,n){"use strict";n.Z=`import './index.less';
|
|
8534
8546
|
import KeepAliveTabs from './keep-alive';
|
|
8535
8547
|
import SinglePage from './single-page';
|
|
8536
8548
|
|
|
@@ -8552,7 +8564,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
8552
8564
|
}
|
|
8553
8565
|
|
|
8554
8566
|
export default CcsPageLayout;
|
|
8555
|
-
`},42210:function(
|
|
8567
|
+
`},42210:function(g,n){"use strict";n.Z=`import { MoreOutlined } from '@ant-design/icons';
|
|
8556
8568
|
import CcsUtils from '@ccs-ui/utils';
|
|
8557
8569
|
import { useMemoizedFn, useUpdate, useUpdateEffect } from 'ahooks';
|
|
8558
8570
|
import { BreadcrumbProps, Button, Dropdown, MenuProps, Tabs } from 'antd';
|
|
@@ -8903,7 +8915,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
8903
8915
|
}
|
|
8904
8916
|
|
|
8905
8917
|
export default KeepAliveTabs;
|
|
8906
|
-
`},79172:function(
|
|
8918
|
+
`},79172:function(g,n){"use strict";n.Z=`import { Breadcrumb } from 'antd';
|
|
8907
8919
|
import classNames from 'classnames';
|
|
8908
8920
|
import { memo, useRef } from 'react';
|
|
8909
8921
|
import { Location } from 'react-router';
|
|
@@ -8971,7 +8983,7 @@ export default memo(
|
|
|
8971
8983
|
l.active === n.active &&
|
|
8972
8984
|
l.urlAuthList.join(',') === n.urlAuthList.join(','),
|
|
8973
8985
|
);
|
|
8974
|
-
`},76288:function(
|
|
8986
|
+
`},76288:function(g,n){"use strict";n.Z=`import { BreadcrumbProps } from 'antd';
|
|
8975
8987
|
import { useMemo } from 'react';
|
|
8976
8988
|
import { useLocation } from 'react-router';
|
|
8977
8989
|
import { useOutlet } from 'react-router-dom';
|
|
@@ -9041,7 +9053,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
9041
9053
|
}
|
|
9042
9054
|
|
|
9043
9055
|
export default SinglePage;
|
|
9044
|
-
`},10753:function(
|
|
9056
|
+
`},10753:function(g,n){"use strict";n.Z=`import { TableProps as AntdTableProps, PaginationProps } from 'antd';
|
|
9045
9057
|
import { ColumnGroupType, ColumnType } from 'antd/es/table';
|
|
9046
9058
|
import { CSSProperties, MutableRefObject, ReactNode } from 'react';
|
|
9047
9059
|
import {
|
|
@@ -9169,7 +9181,7 @@ export type TreeInstance<T> = {
|
|
|
9169
9181
|
onRequestTree: (eventType: DataEvent, query: any, record: T | any) => void;
|
|
9170
9182
|
onExpandKeys: (ids: string[]) => void;
|
|
9171
9183
|
};
|
|
9172
|
-
`},52067:function(
|
|
9184
|
+
`},52067:function(g,n){"use strict";n.Z=`import { TableSticky } from 'rc-table/lib/interface';
|
|
9173
9185
|
import React, { ReactNode } from 'react';
|
|
9174
9186
|
import CCS from '..';
|
|
9175
9187
|
|
|
@@ -9285,7 +9297,7 @@ export {
|
|
|
9285
9297
|
onTableInModalOrDrawer,
|
|
9286
9298
|
onTableInTabItem,
|
|
9287
9299
|
};
|
|
9288
|
-
`},7049:function(
|
|
9300
|
+
`},7049:function(g,n){"use strict";n.Z=`import { PlusOutlined } from '@ant-design/icons';
|
|
9289
9301
|
import CCS, { CcsButton, CcsDatePicker, CcsProTable } from '@ccs-ui/rc-pro';
|
|
9290
9302
|
import { Badge, DatePicker, Input, InputNumber, Select } from 'antd';
|
|
9291
9303
|
import { queryWorker, TableDataType } from './service';
|
|
@@ -9473,7 +9485,7 @@ export default function Basic() {
|
|
|
9473
9485
|
</>
|
|
9474
9486
|
);
|
|
9475
9487
|
}
|
|
9476
|
-
`},66842:function(
|
|
9488
|
+
`},66842:function(g,n){"use strict";n.Z=`import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
|
|
9477
9489
|
import SelectParam1 from './components/SelectParam1';
|
|
9478
9490
|
import SelectParam2 from './components/SelectParam2';
|
|
9479
9491
|
import SelectParam3 from './components/SelectParam3';
|
|
@@ -9530,7 +9542,7 @@ export default () => {
|
|
|
9530
9542
|
</div>
|
|
9531
9543
|
);
|
|
9532
9544
|
};
|
|
9533
|
-
`},84296:function(
|
|
9545
|
+
`},84296:function(g,n){"use strict";n.Z=`import { useRequest } from 'ahooks';
|
|
9534
9546
|
import { Select } from 'antd';
|
|
9535
9547
|
import { FC } from 'react';
|
|
9536
9548
|
import { queryParam1 } from './service';
|
|
@@ -9580,7 +9592,7 @@ const SelectParam1: FC<StateProps> = ({ onChange, ...restProps }) => {
|
|
|
9580
9592
|
};
|
|
9581
9593
|
|
|
9582
9594
|
export default SelectParam1;
|
|
9583
|
-
`},84005:function(
|
|
9595
|
+
`},84005:function(g,n){"use strict";n.Z=`import { FormItemChildren } from '@ccs-ui/rc-pro/ccs';
|
|
9584
9596
|
import { useRequest } from 'ahooks';
|
|
9585
9597
|
import { Select } from 'antd';
|
|
9586
9598
|
import { FC, useEffect } from 'react';
|
|
@@ -9650,7 +9662,7 @@ const SelectParam2: FC<FormItemChildren> = ({
|
|
|
9650
9662
|
};
|
|
9651
9663
|
|
|
9652
9664
|
export default SelectParam2;
|
|
9653
|
-
`},38717:function(
|
|
9665
|
+
`},38717:function(g,n){"use strict";n.Z=`import { FormItemChildren } from '@ccs-ui/rc-pro/ccs';
|
|
9654
9666
|
import { useRequest } from 'ahooks';
|
|
9655
9667
|
import { Select } from 'antd';
|
|
9656
9668
|
import { FC, useEffect } from 'react';
|
|
@@ -9728,7 +9740,7 @@ const SelectParam3: FC<FormItemChildren> = ({
|
|
|
9728
9740
|
};
|
|
9729
9741
|
|
|
9730
9742
|
export default SelectParam3;
|
|
9731
|
-
`},43421:function(
|
|
9743
|
+
`},43421:function(g,n){"use strict";n.Z=`export const queryParam1 = () =>
|
|
9732
9744
|
new Promise<any>((resolve) => {
|
|
9733
9745
|
setTimeout(() => {
|
|
9734
9746
|
resolve({
|
|
@@ -9825,7 +9837,7 @@ export const queryParam3 = (param: any) =>
|
|
|
9825
9837
|
});
|
|
9826
9838
|
}, 1000);
|
|
9827
9839
|
});
|
|
9828
|
-
`},77470:function(
|
|
9840
|
+
`},77470:function(g,n){"use strict";n.Z=`import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
|
|
9829
9841
|
import { Input } from 'antd';
|
|
9830
9842
|
import { queryWorker, TableDataType } from './service';
|
|
9831
9843
|
|
|
@@ -9883,7 +9895,7 @@ export default function TableExtra() {
|
|
|
9883
9895
|
/>
|
|
9884
9896
|
);
|
|
9885
9897
|
}
|
|
9886
|
-
`},627:function(
|
|
9898
|
+
`},627:function(g,n){"use strict";n.Z=`import { SearchOutlined } from '@ant-design/icons';
|
|
9887
9899
|
import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
|
|
9888
9900
|
import { Button, Input } from 'antd';
|
|
9889
9901
|
import { queryWorker } from './service';
|
|
@@ -9988,7 +10000,7 @@ export default () => {
|
|
|
9988
10000
|
/>
|
|
9989
10001
|
);
|
|
9990
10002
|
};
|
|
9991
|
-
`},46682:function(
|
|
10003
|
+
`},46682:function(g,n){"use strict";n.Z=`import CCS, { CcsButton, CcsProTable } from '@ccs-ui/rc-pro';
|
|
9992
10004
|
import { DatePicker, Input, InputNumber, Select, Table } from 'antd';
|
|
9993
10005
|
import { useRef } from 'react';
|
|
9994
10006
|
import { queryWorker } from './service';
|
|
@@ -10099,7 +10111,7 @@ export default () => {
|
|
|
10099
10111
|
</div>
|
|
10100
10112
|
);
|
|
10101
10113
|
};
|
|
10102
|
-
`},60545:function(
|
|
10114
|
+
`},60545:function(g,n){"use strict";n.Z=`import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
|
|
10103
10115
|
import { Button, Input, Space } from 'antd';
|
|
10104
10116
|
import { useRef } from 'react';
|
|
10105
10117
|
import { queryWorker } from './service';
|
|
@@ -10145,7 +10157,7 @@ export default () => {
|
|
|
10145
10157
|
/>
|
|
10146
10158
|
);
|
|
10147
10159
|
};
|
|
10148
|
-
`},82691:function(
|
|
10160
|
+
`},82691:function(g,n){"use strict";n.Z=`import { PlusOutlined } from '@ant-design/icons';
|
|
10149
10161
|
import CCS, { CcsButton, CcsProTable, useTableSelection } from '@ccs-ui/rc-pro';
|
|
10150
10162
|
import { Badge, DatePicker, Input, InputNumber, Select } from 'antd';
|
|
10151
10163
|
import { queryWorker, TableDataType } from './service';
|
|
@@ -10367,7 +10379,7 @@ export default function Basic() {
|
|
|
10367
10379
|
</>
|
|
10368
10380
|
);
|
|
10369
10381
|
}
|
|
10370
|
-
`},64359:function(
|
|
10382
|
+
`},64359:function(g,n){"use strict";n.Z=`const updateData: any = {};
|
|
10371
10383
|
const addData: DataType[] = [];
|
|
10372
10384
|
|
|
10373
10385
|
// \u751F\u6210\u6570\u636E\u65B9\u6CD5
|
|
@@ -10431,7 +10443,7 @@ export type DataType = {
|
|
|
10431
10443
|
name?: string;
|
|
10432
10444
|
parentId: string;
|
|
10433
10445
|
};
|
|
10434
|
-
`},54331:function(
|
|
10446
|
+
`},54331:function(g,n){"use strict";n.Z=`import dayjs from 'dayjs';
|
|
10435
10447
|
|
|
10436
10448
|
export type TableDataType = {
|
|
10437
10449
|
loginId: number;
|
|
@@ -10479,7 +10491,7 @@ export function queryWorker(e: any) {
|
|
|
10479
10491
|
}, 500);
|
|
10480
10492
|
});
|
|
10481
10493
|
}
|
|
10482
|
-
`},48962:function(
|
|
10494
|
+
`},48962:function(g,n){"use strict";n.Z=`import CCS, { CcsProTable } from '@ccs-ui/rc-pro';
|
|
10483
10495
|
import { Input, Select } from 'antd';
|
|
10484
10496
|
import { queryWorker, TableDataType } from './service';
|
|
10485
10497
|
|
|
@@ -10552,7 +10564,7 @@ export default () => {
|
|
|
10552
10564
|
</>
|
|
10553
10565
|
);
|
|
10554
10566
|
};
|
|
10555
|
-
`},83758:function(
|
|
10567
|
+
`},83758:function(g,n){"use strict";n.Z=`import CCS, { CcsButton, CcsDialog, CcsProTable } from '@ccs-ui/rc-pro';
|
|
10556
10568
|
import { useRef } from 'react';
|
|
10557
10569
|
import { DataType, query, update } from './service-tree';
|
|
10558
10570
|
import TreeForm from './tree-form';
|
|
@@ -10617,7 +10629,7 @@ export default () => {
|
|
|
10617
10629
|
/>
|
|
10618
10630
|
);
|
|
10619
10631
|
};
|
|
10620
|
-
`},12136:function(
|
|
10632
|
+
`},12136:function(g,n){"use strict";n.Z=`import { Form, Input } from 'antd';
|
|
10621
10633
|
import { FC } from 'react';
|
|
10622
10634
|
|
|
10623
10635
|
const FormItem = Form.Item;
|
|
@@ -10637,7 +10649,7 @@ const TreeForm: FC = () => {
|
|
|
10637
10649
|
};
|
|
10638
10650
|
|
|
10639
10651
|
export default TreeForm;
|
|
10640
|
-
`},82530:function(
|
|
10652
|
+
`},82530:function(g,n){"use strict";n.Z=`import { ProTableProps } from './_api';
|
|
10641
10653
|
import './index.less';
|
|
10642
10654
|
import SelectionAlert from './selection-alert';
|
|
10643
10655
|
import TableSummary from './summary';
|
|
@@ -10684,7 +10696,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
10684
10696
|
}
|
|
10685
10697
|
|
|
10686
10698
|
export default ProTable;
|
|
10687
|
-
`},9267:function(
|
|
10699
|
+
`},9267:function(g,n){"use strict";n.Z=`import { DeleteOutlined } from '@ant-design/icons';
|
|
10688
10700
|
import { Button, Space, Tag, TagProps, theme } from 'antd';
|
|
10689
10701
|
import React, { CSSProperties } from 'react';
|
|
10690
10702
|
|
|
@@ -10754,7 +10766,7 @@ export default function SelectionAlert({
|
|
|
10754
10766
|
</Space>
|
|
10755
10767
|
);
|
|
10756
10768
|
}
|
|
10757
|
-
`},98670:function(
|
|
10769
|
+
`},98670:function(g,n){"use strict";n.Z=`import { Table } from 'antd';
|
|
10758
10770
|
import { ReactNode } from 'react';
|
|
10759
10771
|
import CCS from '..';
|
|
10760
10772
|
|
|
@@ -10800,7 +10812,7 @@ export default function TableSummary({
|
|
|
10800
10812
|
</Table.Summary>
|
|
10801
10813
|
);
|
|
10802
10814
|
}
|
|
10803
|
-
`},56197:function(
|
|
10815
|
+
`},56197:function(g,n){"use strict";n.Z=`import { useUpdateEffect } from 'ahooks';
|
|
10804
10816
|
import { theme as antTheme, Empty, TableProps } from 'antd';
|
|
10805
10817
|
import { ConfigContext } from 'antd/es/config-provider';
|
|
10806
10818
|
import { CheckboxOptionType } from 'antd/lib';
|
|
@@ -11021,7 +11033,7 @@ const InternalProTable = <RecordType extends object = any>(
|
|
|
11021
11033
|
// \u67E5\u8BE2\u6309\u94AE
|
|
11022
11034
|
const onSearch = () => {
|
|
11023
11035
|
// @ts-ignore
|
|
11024
|
-
table?.rowSelection?.onClearByProTable?.();
|
|
11036
|
+
// table?.rowSelection?.onClearByProTable?.();
|
|
11025
11037
|
onRequest(DataEvent.Search);
|
|
11026
11038
|
};
|
|
11027
11039
|
|
|
@@ -11304,7 +11316,7 @@ const InternalProTable = <RecordType extends object = any>(
|
|
|
11304
11316
|
};
|
|
11305
11317
|
|
|
11306
11318
|
export default InternalProTable;
|
|
11307
|
-
`},97683:function(
|
|
11319
|
+
`},97683:function(g,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
|
|
11308
11320
|
import { TableProps } from 'antd';
|
|
11309
11321
|
import { TableSticky } from 'rc-table/lib/interface';
|
|
11310
11322
|
import { RefObject, useImperativeHandle, useState } from 'react';
|
|
@@ -11455,7 +11467,7 @@ const TableTree = <T extends object = any>(props: TreeTableProps<T>) => {
|
|
|
11455
11467
|
};
|
|
11456
11468
|
|
|
11457
11469
|
export default TableTree;
|
|
11458
|
-
`},67190:function(
|
|
11470
|
+
`},67190:function(g,n){"use strict";n.Z=`import { TabPaneProps } from 'antd';
|
|
11459
11471
|
|
|
11460
11472
|
/** onTabChange \u53C2\u6570 */
|
|
11461
11473
|
export interface TabsChangeProps {
|
|
@@ -11492,7 +11504,7 @@ export interface TabsContextType {
|
|
|
11492
11504
|
/** \u6539\u53D8tab\u95F4\u4F20\u9012\u7684\u53C2\u6570 */
|
|
11493
11505
|
onTabChange: (tab: TabsChangeProps) => void;
|
|
11494
11506
|
}
|
|
11495
|
-
`},69045:function(
|
|
11507
|
+
`},69045:function(g,n){"use strict";n.Z=`import { CcsProTabs } from '@ccs-ui/rc-pro';
|
|
11496
11508
|
import { Tabs } from 'antd';
|
|
11497
11509
|
|
|
11498
11510
|
const items = [
|
|
@@ -11522,7 +11534,7 @@ export default function Basic() {
|
|
|
11522
11534
|
</>
|
|
11523
11535
|
);
|
|
11524
11536
|
}
|
|
11525
|
-
`},37926:function(
|
|
11537
|
+
`},37926:function(g,n){"use strict";n.Z=`import { CcsProTabs, useCcsTabs } from '@ccs-ui/rc-pro';
|
|
11526
11538
|
import { Button, Card, Space, Tabs } from 'antd';
|
|
11527
11539
|
|
|
11528
11540
|
let tabId = 3;
|
|
@@ -11595,7 +11607,7 @@ export default () => (
|
|
|
11595
11607
|
/>
|
|
11596
11608
|
</CcsProTabs>
|
|
11597
11609
|
);
|
|
11598
|
-
`},4196:function(
|
|
11610
|
+
`},4196:function(g,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
|
|
11599
11611
|
import { useUpdateEffect } from 'ahooks';
|
|
11600
11612
|
import { TabsProps, theme as antTheme } from 'antd';
|
|
11601
11613
|
import update, { Spec } from 'immutability-helper';
|
|
@@ -11740,7 +11752,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
11740
11752
|
}
|
|
11741
11753
|
|
|
11742
11754
|
export default ProTabs;
|
|
11743
|
-
`},20003:function(
|
|
11755
|
+
`},20003:function(g,n){"use strict";n.Z=`import { CcsResult } from '@ccs-ui/rc-pro';
|
|
11744
11756
|
|
|
11745
11757
|
export default () => {
|
|
11746
11758
|
return (
|
|
@@ -11758,7 +11770,7 @@ export default () => {
|
|
|
11758
11770
|
</>
|
|
11759
11771
|
);
|
|
11760
11772
|
};
|
|
11761
|
-
`},58578:function(
|
|
11773
|
+
`},58578:function(g,n){"use strict";n.Z=`import { Result } from 'antd';
|
|
11762
11774
|
import { ResultProps } from 'antd/es/result';
|
|
11763
11775
|
|
|
11764
11776
|
const InternalResult = (props: ResultProps) => <Result {...props} />;
|
|
@@ -11813,7 +11825,7 @@ InternalResult.Page404 = Result404;
|
|
|
11813
11825
|
InternalResult.Page500 = Result500;
|
|
11814
11826
|
|
|
11815
11827
|
export default InternalResult;
|
|
11816
|
-
`},2431:function(
|
|
11828
|
+
`},2431:function(g,n){"use strict";n.Z=`import { LoadingOutlined, SelectOutlined } from '@ant-design/icons';
|
|
11817
11829
|
import { Modal, Select } from 'antd';
|
|
11818
11830
|
import React, { useState } from 'react';
|
|
11819
11831
|
import { ModalSelectProps, SelectChildrenProps } from './_api';
|
|
@@ -11929,7 +11941,7 @@ export default function ModalSelect({
|
|
|
11929
11941
|
</>
|
|
11930
11942
|
);
|
|
11931
11943
|
}
|
|
11932
|
-
`},42519:function(
|
|
11944
|
+
`},42519:function(g,n){"use strict";n.Z=`import { SelectProps as AntSelectProps, ModalProps } from 'antd';
|
|
11933
11945
|
import { NamePath } from 'antd/es/form/interface';
|
|
11934
11946
|
import { ReactElement, ReactNode } from 'react';
|
|
11935
11947
|
|
|
@@ -11990,7 +12002,7 @@ export type ModalSelectProps = Omit<AntSelectProps, 'children' | 'title'> & {
|
|
|
11990
12002
|
/** \u81EA\u5B9A\u4E49\u5185\u5BB9 */
|
|
11991
12003
|
children?: ReactElement | ((props: SelectChildrenProps) => ReactNode);
|
|
11992
12004
|
};
|
|
11993
|
-
`},52504:function(
|
|
12005
|
+
`},52504:function(g,n){"use strict";n.Z=`import { useRequest } from 'ahooks';
|
|
11994
12006
|
import { useEffect } from 'react';
|
|
11995
12007
|
import InternalSelect from '.';
|
|
11996
12008
|
import { ApiSelectProps } from './_api';
|
|
@@ -12030,7 +12042,7 @@ function ApiSelect({
|
|
|
12030
12042
|
}
|
|
12031
12043
|
|
|
12032
12044
|
export default ApiSelect;
|
|
12033
|
-
`},5125:function(
|
|
12045
|
+
`},5125:function(g,n){"use strict";n.Z=`import { LoadingOutlined, SelectOutlined } from '@ant-design/icons';
|
|
12034
12046
|
import { Select } from 'antd';
|
|
12035
12047
|
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
|
12036
12048
|
import { CustomizeSelectProps, SelectChildrenProps } from './_api';
|
|
@@ -12042,7 +12054,6 @@ import { CustomizeSelectProps, SelectChildrenProps } from './_api';
|
|
|
12042
12054
|
*/
|
|
12043
12055
|
function SelectIndex({
|
|
12044
12056
|
value,
|
|
12045
|
-
style,
|
|
12046
12057
|
mode,
|
|
12047
12058
|
children,
|
|
12048
12059
|
contentWidth,
|
|
@@ -12051,7 +12062,7 @@ function SelectIndex({
|
|
|
12051
12062
|
...otherProps
|
|
12052
12063
|
}: CustomizeSelectProps) {
|
|
12053
12064
|
// \u521D\u59CB\u52A0\u8F7D
|
|
12054
|
-
const [open, setOpen] = useState(
|
|
12065
|
+
const [open, setOpen] = useState<boolean | 'init'>('init');
|
|
12055
12066
|
const ref = useRef<HTMLDivElement>(null);
|
|
12056
12067
|
const [labelText, setLabelText] = useState<string | undefined>(undefined);
|
|
12057
12068
|
const [loading, setLoading] = useState(false);
|
|
@@ -12131,18 +12142,22 @@ function SelectIndex({
|
|
|
12131
12142
|
return (
|
|
12132
12143
|
<>
|
|
12133
12144
|
<Select
|
|
12134
|
-
open={open}
|
|
12145
|
+
open={!!open}
|
|
12135
12146
|
onOpenChange={setOpen}
|
|
12136
12147
|
allowClear
|
|
12137
12148
|
defaultActiveFirstOption
|
|
12138
12149
|
suffixIcon={loading ? <LoadingOutlined /> : <SelectOutlined />}
|
|
12139
12150
|
placeholder="\u8BF7\u9009\u62E9"
|
|
12151
|
+
classNames={{
|
|
12152
|
+
popup: {
|
|
12153
|
+
root: open === 'init' ? 'ccs-select-custom-init' : undefined,
|
|
12154
|
+
},
|
|
12155
|
+
}}
|
|
12140
12156
|
{...otherProps}
|
|
12141
12157
|
popupMatchSelectWidth={contentWidth}
|
|
12142
12158
|
popupRender={() => dropdownRender}
|
|
12143
12159
|
mode={!!labelText ? undefined : mode}
|
|
12144
12160
|
value={loading ? undefined : renderValueText()}
|
|
12145
|
-
style={{ ...style }}
|
|
12146
12161
|
onChange={onChange}
|
|
12147
12162
|
options={options}
|
|
12148
12163
|
/>
|
|
@@ -12151,7 +12166,7 @@ function SelectIndex({
|
|
|
12151
12166
|
}
|
|
12152
12167
|
|
|
12153
12168
|
export default SelectIndex;
|
|
12154
|
-
`},82668:function(
|
|
12169
|
+
`},82668:function(g,n){"use strict";n.Z=`import CCS, { CcsProTable, CcsSelect, useTableSelection } from '@ccs-ui/rc-pro';
|
|
12155
12170
|
import { useRequest } from 'ahooks';
|
|
12156
12171
|
import { Form, Space } from 'antd';
|
|
12157
12172
|
import { onRequestList, onRequestPage, RecordType } from './service';
|
|
@@ -12287,7 +12302,7 @@ export default () => {
|
|
|
12287
12302
|
</Space>
|
|
12288
12303
|
);
|
|
12289
12304
|
};
|
|
12290
|
-
`},65358:function(
|
|
12305
|
+
`},65358:function(g,n){"use strict";n.Z=`export type RecordType = { id: string; name: string };
|
|
12291
12306
|
|
|
12292
12307
|
export function onRequest() {
|
|
12293
12308
|
return new Promise<any>((resolve) => {
|
|
@@ -12332,7 +12347,7 @@ export function onRequestPage({ pageNo }: { pageNo: number }) {
|
|
|
12332
12347
|
const id = (pageNo - 1) * 10 + index + 1;
|
|
12333
12348
|
return {
|
|
12334
12349
|
id: id.toString(),
|
|
12335
|
-
name: \`\u9009\u9879
|
|
12350
|
+
name: \`\u9009\u9879\${id}\`,
|
|
12336
12351
|
};
|
|
12337
12352
|
}),
|
|
12338
12353
|
},
|
|
@@ -12353,7 +12368,7 @@ export function onRequestList(value: string | string[]) {
|
|
|
12353
12368
|
}, 1500);
|
|
12354
12369
|
});
|
|
12355
12370
|
}
|
|
12356
|
-
`},96440:function(
|
|
12371
|
+
`},96440:function(g,n){"use strict";n.Z=`import { Select } from 'antd';
|
|
12357
12372
|
import { useMemo } from 'react';
|
|
12358
12373
|
import pinyin from 'tiny-pinyin';
|
|
12359
12374
|
import { getDataByNamePath } from '../utils';
|
|
@@ -12361,6 +12376,7 @@ import ModalSelect from './ modal';
|
|
|
12361
12376
|
import { SelectProps } from './_api';
|
|
12362
12377
|
import ApiSelect from './api';
|
|
12363
12378
|
import CustomizeSelect from './customize';
|
|
12379
|
+
import './index.less';
|
|
12364
12380
|
|
|
12365
12381
|
function onIsArray(data: string | string[]) {
|
|
12366
12382
|
if (Array.isArray(data)) return data;
|
|
@@ -12448,7 +12464,7 @@ InternalSelect.Customize = CustomizeSelect;
|
|
|
12448
12464
|
InternalSelect.Modal = ModalSelect;
|
|
12449
12465
|
|
|
12450
12466
|
export default InternalSelect;
|
|
12451
|
-
`},59609:function(
|
|
12467
|
+
`},59609:function(g,n){"use strict";n.Z=`import { Badge, Tag } from 'antd';
|
|
12452
12468
|
|
|
12453
12469
|
export type CcsStatusTagProps = {
|
|
12454
12470
|
value: any;
|
|
@@ -12477,7 +12493,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
12477
12493
|
}
|
|
12478
12494
|
|
|
12479
12495
|
export default StatusTag;
|
|
12480
|
-
`},62576:function(
|
|
12496
|
+
`},62576:function(g,n){"use strict";n.Z=`import { message, Modal, notification } from 'antd';
|
|
12481
12497
|
import { MessageInstance } from 'antd/es/message/interface';
|
|
12482
12498
|
import { HookAPI } from 'antd/es/modal/useModal';
|
|
12483
12499
|
import { NotificationInstance } from 'antd/es/notification/interface';
|
|
@@ -12556,7 +12572,7 @@ export default class ThemeDialog {
|
|
|
12556
12572
|
},
|
|
12557
12573
|
);
|
|
12558
12574
|
}
|
|
12559
|
-
`},54516:function(
|
|
12575
|
+
`},54516:function(g,n){"use strict";n.Z=`import { CcsTimePicker } from '@ccs-ui/rc-pro';
|
|
12560
12576
|
import { Space } from 'antd';
|
|
12561
12577
|
|
|
12562
12578
|
export default () => {
|
|
@@ -12579,7 +12595,7 @@ export default () => {
|
|
|
12579
12595
|
</Space>
|
|
12580
12596
|
);
|
|
12581
12597
|
};
|
|
12582
|
-
`},88225:function(
|
|
12598
|
+
`},88225:function(g,n){"use strict";n.Z=`import { TimePicker, TimePickerProps } from 'antd';
|
|
12583
12599
|
import { RangePickerProps } from 'antd/es/date-picker';
|
|
12584
12600
|
import dayjs from 'dayjs';
|
|
12585
12601
|
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
@@ -12637,7 +12653,7 @@ function RangePicker({ value, onChange, ...restProps }: CcsRangePickerProps) {
|
|
|
12637
12653
|
CcsTimePicker.RangePicker = RangePicker;
|
|
12638
12654
|
|
|
12639
12655
|
export default CcsTimePicker;
|
|
12640
|
-
`},86363:function(
|
|
12656
|
+
`},86363:function(g,n){"use strict";n.Z=`import {
|
|
12641
12657
|
UploadProps as AntUploadProps,
|
|
12642
12658
|
UploadChangeParam,
|
|
12643
12659
|
} from 'antd/es/upload';
|
|
@@ -12706,7 +12722,7 @@ export type UploadImageProps = UploadProps & {
|
|
|
12706
12722
|
/** \u83B7\u53D6base64\u6570\u636E */
|
|
12707
12723
|
onImageInfo?: (info: ImageInfo) => void;
|
|
12708
12724
|
};
|
|
12709
|
-
`},48615:function(
|
|
12725
|
+
`},48615:function(g,n){"use strict";n.Z=`import { CcsUpload } from '@ccs-ui/rc-pro';
|
|
12710
12726
|
|
|
12711
12727
|
const uploadRequest = () => {
|
|
12712
12728
|
return new Promise<any>((resolve) => {
|
|
@@ -12728,7 +12744,7 @@ export default function Basic() {
|
|
|
12728
12744
|
/>
|
|
12729
12745
|
);
|
|
12730
12746
|
}
|
|
12731
|
-
`},52122:function(
|
|
12747
|
+
`},52122:function(g,n){"use strict";n.Z=`import { CcsUpload } from '@ccs-ui/rc-pro';
|
|
12732
12748
|
|
|
12733
12749
|
const uploadRequest = () => {
|
|
12734
12750
|
return new Promise<any>((resolve) => {
|
|
@@ -12750,7 +12766,7 @@ export default function Basic() {
|
|
|
12750
12766
|
/>
|
|
12751
12767
|
);
|
|
12752
12768
|
}
|
|
12753
|
-
`},27379:function(
|
|
12769
|
+
`},27379:function(g,n){"use strict";n.Z=`import { UploadOutlined } from '@ant-design/icons';
|
|
12754
12770
|
import { UploadProps as AntUploadProps, Button, Upload, message } from 'antd';
|
|
12755
12771
|
import { useState } from 'react';
|
|
12756
12772
|
import CcsDialog from '../dialog';
|
|
@@ -12893,7 +12909,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
12893
12909
|
}
|
|
12894
12910
|
|
|
12895
12911
|
export default CustomUpload;
|
|
12896
|
-
`},87745:function(
|
|
12912
|
+
`},87745:function(g,n){"use strict";n.Z=`import { PlusOutlined } from '@ant-design/icons';
|
|
12897
12913
|
import { message, Upload, UploadProps } from 'antd';
|
|
12898
12914
|
import ImgCrop from 'antd-img-crop';
|
|
12899
12915
|
import { RcFile, UploadFile } from 'antd/es/upload/interface';
|
|
@@ -13044,7 +13060,7 @@ export function ImageUpload({
|
|
|
13044
13060
|
</>
|
|
13045
13061
|
);
|
|
13046
13062
|
}
|
|
13047
|
-
`},47704:function(
|
|
13063
|
+
`},47704:function(g,n){"use strict";n.Z=`import { NamePath } from 'antd/es/form/interface';
|
|
13048
13064
|
|
|
13049
13065
|
// \u8EAB\u4EFD\u8BC1\u53F7\u7801\u6B63\u5219\u8868\u8FBE\u5F0F\uFF08\u7ED3\u6784\u6821\u9A8C\uFF09
|
|
13050
13066
|
const idCardRegex =
|
|
@@ -13135,7 +13151,7 @@ export function getDataByNamePath(data: any, name: NamePath) {
|
|
|
13135
13151
|
}
|
|
13136
13152
|
return newData;
|
|
13137
13153
|
}
|
|
13138
|
-
`},96788:function(
|
|
13154
|
+
`},96788:function(g,n){"use strict";n.Z=`import { PropsWithCss, PropsWithNodeChildren } from '../ccs';
|
|
13139
13155
|
|
|
13140
13156
|
export type WaterMarkProps = PropsWithNodeChildren &
|
|
13141
13157
|
PropsWithCss & {
|
|
@@ -13191,7 +13207,7 @@ export type WaterMarkProps = PropsWithNodeChildren &
|
|
|
13191
13207
|
*/
|
|
13192
13208
|
fontSize?: number | string;
|
|
13193
13209
|
};
|
|
13194
|
-
`},7281:function(
|
|
13210
|
+
`},7281:function(g,n){"use strict";n.Z=`import { CcsWaterMark } from '@ccs-ui/rc-pro';
|
|
13195
13211
|
|
|
13196
13212
|
export default () => {
|
|
13197
13213
|
return (
|
|
@@ -13219,7 +13235,7 @@ export default () => {
|
|
|
13219
13235
|
</>
|
|
13220
13236
|
);
|
|
13221
13237
|
};
|
|
13222
|
-
`},79604:function(
|
|
13238
|
+
`},79604:function(g,n){"use strict";n.Z=`import { ConfigProvider } from 'antd';
|
|
13223
13239
|
import classNames from 'classnames';
|
|
13224
13240
|
import { useContext, useEffect, useState } from 'react';
|
|
13225
13241
|
import { WaterMarkProps } from './_api';
|
|
@@ -13378,7 +13394,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
13378
13394
|
WaterMarkComponent.Relative = WaterMarkRelative;
|
|
13379
13395
|
|
|
13380
13396
|
export default WaterMarkComponent;
|
|
13381
|
-
`},62561:function(
|
|
13397
|
+
`},62561:function(g,n){"use strict";n.Z=`import { ConfigProvider } from 'antd';
|
|
13382
13398
|
import classNames from 'classnames';
|
|
13383
13399
|
import { useContext, useEffect, useState } from 'react';
|
|
13384
13400
|
import { WaterMarkProps } from './_api';
|
|
@@ -13518,7 +13534,7 @@ const WaterMarkRelative = (props: WaterMarkProps) => {
|
|
|
13518
13534
|
};
|
|
13519
13535
|
|
|
13520
13536
|
export default WaterMarkRelative;
|
|
13521
|
-
`},93474:function(
|
|
13537
|
+
`},93474:function(g,n){"use strict";n.Z=`import CcsUtils from '@ccs-ui/utils';
|
|
13522
13538
|
|
|
13523
13539
|
export default function DemoIndex() {
|
|
13524
13540
|
const items = Object.getOwnPropertyNames(CcsUtils)
|