@ccs-ui/rc-pro 2.3.6-alpha-30 → 2.3.6-alpha-32

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.
Files changed (189) hide show
  1. package/docs-dist/2179.b80aa159.async.js +22 -0
  2. package/docs-dist/2191.275582c6.async.js +6 -0
  3. package/docs-dist/27.82086704.async.js +11 -0
  4. package/docs-dist/3249.edb38f0f.async.js +28 -0
  5. package/docs-dist/404.html +15 -0
  6. package/docs-dist/5171.198d8c6e.async.js +8 -0
  7. package/docs-dist/7024.588d984f.async.js +22 -0
  8. package/docs-dist/7488.2db563fb.async.js +137 -0
  9. package/docs-dist/751.bb8cce69.async.js +1 -0
  10. package/docs-dist/8784.91b4ab45.async.js +598 -0
  11. package/docs-dist/9591.06d066b1.async.js +1 -0
  12. package/docs-dist/9600.78d67888.async.js +16 -0
  13. package/docs-dist/9600.e8c51481.chunk.css +5 -0
  14. package/docs-dist/auth__demos.32e710d5.async.js +1 -0
  15. package/docs-dist/auth__index.md.33be0665.chunk.css +1 -0
  16. package/docs-dist/auth__index.md.e0b5996f.async.js +1 -0
  17. package/docs-dist/button__demos.a20990de.async.js +1 -0
  18. package/docs-dist/button__index.md.33be0665.chunk.css +1 -0
  19. package/docs-dist/button__index.md.43fe8c62.async.js +1 -0
  20. package/docs-dist/cascader__demos.cb1e67f3.async.js +1 -0
  21. package/docs-dist/cascader__index.md.33be0665.chunk.css +1 -0
  22. package/docs-dist/cascader__index.md.cafec622.async.js +1 -0
  23. package/docs-dist/components/auth/index.html +15 -0
  24. package/docs-dist/components/button/index.html +15 -0
  25. package/docs-dist/components/cascader/index.html +15 -0
  26. package/docs-dist/components/date-picker/index.html +15 -0
  27. package/docs-dist/components/dialog/index.html +15 -0
  28. package/docs-dist/components/editor/index.html +15 -0
  29. package/docs-dist/components/group-form-item/index.html +15 -0
  30. package/docs-dist/components/index.html +15 -0
  31. package/docs-dist/components/interval-button/index.html +15 -0
  32. package/docs-dist/components/layout-keep-alive/index.html +15 -0
  33. package/docs-dist/components/loading/index.html +15 -0
  34. package/docs-dist/components/pro-grid/index.html +15 -0
  35. package/docs-dist/components/pro-table/index.html +15 -0
  36. package/docs-dist/components/pro-tabs/index.html +15 -0
  37. package/docs-dist/components/result/index.html +15 -0
  38. package/docs-dist/components/select/index.html +15 -0
  39. package/docs-dist/components/time-picker/index.html +15 -0
  40. package/docs-dist/components/trigger/index.html +15 -0
  41. package/docs-dist/components/virtual-list/index.html +15 -0
  42. package/docs-dist/components/water-mark/index.html +15 -0
  43. package/docs-dist/date-picker__demos.4cf5ef3e.async.js +1 -0
  44. package/docs-dist/date-picker__index.md.33be0665.chunk.css +1 -0
  45. package/docs-dist/date-picker__index.md.c27e69b2.async.js +1 -0
  46. package/docs-dist/dialog__demos.14d31789.async.js +1 -0
  47. package/docs-dist/dialog__index.md.33be0665.chunk.css +1 -0
  48. package/docs-dist/dialog__index.md.665375f8.async.js +1 -0
  49. package/docs-dist/docs__index.md.0a458278.async.js +1 -0
  50. package/docs-dist/docs__index.md.33be0665.chunk.css +1 -0
  51. package/docs-dist/docs__log.md.33be0665.chunk.css +1 -0
  52. package/docs-dist/docs__log.md.af406e13.async.js +1 -0
  53. package/docs-dist/docs__utils.md.33be0665.chunk.css +1 -0
  54. package/docs-dist/docs__utils.md.e1ca1150.async.js +1 -0
  55. package/docs-dist/dumi__tmp-production__dumi__theme__ContextWrapper.b4f42a14.async.js +233 -0
  56. package/docs-dist/dumi__tmp-production__dumi__theme__ContextWrapper.b9764392.chunk.css +1 -0
  57. package/docs-dist/editor__demos.f5ff3638.async.js +6 -0
  58. package/docs-dist/editor__index.md.33be0665.chunk.css +1 -0
  59. package/docs-dist/editor__index.md.b4f3c5a3.async.js +1 -0
  60. package/docs-dist/favicon.png +0 -0
  61. package/docs-dist/group-form-item__demos.3197aa4d.async.js +1 -0
  62. package/docs-dist/group-form-item__index.md.33be0665.chunk.css +1 -0
  63. package/docs-dist/group-form-item__index.md.63bf18f4.async.js +1 -0
  64. package/docs-dist/index.html +15 -0
  65. package/docs-dist/index.md.1621f8b8.async.js +1 -0
  66. package/docs-dist/index.md.33be0665.chunk.css +1 -0
  67. package/docs-dist/interval-button__demos.ff98564f.async.js +1 -0
  68. package/docs-dist/interval-button__index.md.33be0665.chunk.css +1 -0
  69. package/docs-dist/interval-button__index.md.54c9da91.async.js +1 -0
  70. package/docs-dist/layout-keep-alive__demos.c12a544d.async.js +1 -0
  71. package/docs-dist/layout-keep-alive__index.md.33be0665.chunk.css +1 -0
  72. package/docs-dist/layout-keep-alive__index.md.90ef1c2b.async.js +1 -0
  73. package/docs-dist/loading__demos.8ac9187d.async.js +1 -0
  74. package/docs-dist/loading__index.md.33be0665.chunk.css +1 -0
  75. package/docs-dist/loading__index.md.d52a9847.async.js +1 -0
  76. package/docs-dist/log/index.html +15 -0
  77. package/docs-dist/logo.svg +48 -0
  78. package/docs-dist/meta__auth.2fdb9639.async.js +12 -0
  79. package/docs-dist/meta__auth.b9764392.chunk.css +1 -0
  80. package/docs-dist/meta__button.420ed66c.async.js +8759 -0
  81. package/docs-dist/meta__button.b9764392.chunk.css +1 -0
  82. package/docs-dist/meta__cascader.79f5fc28.async.js +103 -0
  83. package/docs-dist/meta__cascader.b9764392.chunk.css +1 -0
  84. package/docs-dist/meta__date-picker.79265ba8.async.js +72 -0
  85. package/docs-dist/meta__date-picker.b9764392.chunk.css +1 -0
  86. package/docs-dist/meta__dialog.1ca8b654.async.js +502 -0
  87. package/docs-dist/meta__dialog.b9764392.chunk.css +1 -0
  88. package/docs-dist/meta__docs.5dbc484a.async.js +1 -0
  89. package/docs-dist/meta__editor.11adf92c.async.js +37 -0
  90. package/docs-dist/meta__editor.b9764392.chunk.css +1 -0
  91. package/docs-dist/meta__group-form-item.a6e6163c.async.js +36 -0
  92. package/docs-dist/meta__group-form-item.b9764392.chunk.css +1 -0
  93. package/docs-dist/meta__index.md.3fe47f24.async.js +1 -0
  94. package/docs-dist/meta__interval-button.72bce101.async.js +17 -0
  95. package/docs-dist/meta__interval-button.b9764392.chunk.css +1 -0
  96. package/docs-dist/meta__layout-keep-alive.3997804f.async.js +17 -0
  97. package/docs-dist/meta__layout-keep-alive.b9764392.chunk.css +1 -0
  98. package/docs-dist/meta__loading.b9764392.chunk.css +1 -0
  99. package/docs-dist/meta__loading.cd39daf6.async.js +24 -0
  100. package/docs-dist/meta__pro-grid.b9764392.chunk.css +1 -0
  101. package/docs-dist/meta__pro-grid.be34bc7a.async.js +21 -0
  102. package/docs-dist/meta__pro-table.b9764392.chunk.css +1 -0
  103. package/docs-dist/meta__pro-table.d318e6ac.async.js +609 -0
  104. package/docs-dist/meta__pro-tabs.2d66cb0d.async.js +104 -0
  105. package/docs-dist/meta__pro-tabs.b9764392.chunk.css +1 -0
  106. package/docs-dist/meta__result.12e85cae.async.js +20 -0
  107. package/docs-dist/meta__result.b9764392.chunk.css +1 -0
  108. package/docs-dist/meta__select.91395de5.async.js +337 -0
  109. package/docs-dist/meta__select.b9764392.chunk.css +1 -0
  110. package/docs-dist/meta__time-picker.5ae1cf72.async.js +24 -0
  111. package/docs-dist/meta__time-picker.b9764392.chunk.css +1 -0
  112. package/docs-dist/meta__trigger.0368918c.async.js +451 -0
  113. package/docs-dist/meta__trigger.b9764392.chunk.css +1 -0
  114. package/docs-dist/meta__virtual-list.71ae35a9.async.js +35 -0
  115. package/docs-dist/meta__virtual-list.b9764392.chunk.css +1 -0
  116. package/docs-dist/meta__water-mark.b9764392.chunk.css +1 -0
  117. package/docs-dist/meta__water-mark.f487e8dd.async.js +15 -0
  118. package/docs-dist/nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css +1 -0
  119. package/docs-dist/nm__dumi__dist__client__pages__404.c319e0a3.async.js +1 -0
  120. package/docs-dist/nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css +1 -0
  121. package/docs-dist/nm__dumi__dist__client__pages__Demo__index.7e033f2b.async.js +1 -0
  122. package/docs-dist/nm__dumi__theme-default__layouts__DocLayout__index.8a08baa2.async.js +1 -0
  123. package/docs-dist/preload_helper.9430b29d.js +1 -0
  124. package/docs-dist/pro-grid__demos.81d67052.async.js +1 -0
  125. package/docs-dist/pro-grid__index.md.33be0665.chunk.css +1 -0
  126. package/docs-dist/pro-grid__index.md.a6b9c956.async.js +1 -0
  127. package/docs-dist/pro-table__demos.254e5b3a.async.js +1 -0
  128. package/docs-dist/pro-table__index.md.33be0665.chunk.css +1 -0
  129. package/docs-dist/pro-table__index.md.607fa3d4.async.js +1 -0
  130. package/docs-dist/pro-tabs__demos.2f05143c.async.js +1 -0
  131. package/docs-dist/pro-tabs__index.md.33be0665.chunk.css +1 -0
  132. package/docs-dist/pro-tabs__index.md.61a7d2c1.async.js +1 -0
  133. package/docs-dist/result__demos.689a5a17.async.js +1 -0
  134. package/docs-dist/result__index.md.33be0665.chunk.css +1 -0
  135. package/docs-dist/result__index.md.7cac7890.async.js +1 -0
  136. package/docs-dist/select__demos.c77af292.async.js +1 -0
  137. package/docs-dist/select__index.md.33be0665.chunk.css +1 -0
  138. package/docs-dist/select__index.md.f818a939.async.js +2 -0
  139. package/docs-dist/time-picker__demos.48d5025e.async.js +1 -0
  140. package/docs-dist/time-picker__index.md.25b2d39e.async.js +1 -0
  141. package/docs-dist/time-picker__index.md.33be0665.chunk.css +1 -0
  142. package/docs-dist/trigger__demos.2f9bf9f4.async.js +1 -0
  143. package/docs-dist/trigger__index.md.33be0665.chunk.css +1 -0
  144. package/docs-dist/trigger__index.md.7e0b7729.async.js +1 -0
  145. package/docs-dist/umi.52ae6580.js +110 -0
  146. package/docs-dist/umi.8c46519e.css +1 -0
  147. package/docs-dist/utils/index.html +15 -0
  148. package/docs-dist/virtual-list__demos.b1f5e707.async.js +1 -0
  149. package/docs-dist/virtual-list__index.md.33be0665.chunk.css +1 -0
  150. package/docs-dist/virtual-list__index.md.47c7bdca.async.js +1 -0
  151. package/docs-dist/water-mark__demos.f7bcee8a.async.js +1 -0
  152. package/docs-dist/water-mark__index.md.33be0665.chunk.css +1 -0
  153. package/docs-dist/water-mark__index.md.e5555c25.async.js +1 -0
  154. package/docs-dist/~demos/:id/index.html +15 -0
  155. package/docs-dist/~demos/auth-demo-basic/index.html +15 -0
  156. package/docs-dist/~demos/button-demo-button/index.html +15 -0
  157. package/docs-dist/~demos/button-demo-group/index.html +15 -0
  158. package/docs-dist/~demos/cascader-demo-basic/index.html +15 -0
  159. package/docs-dist/~demos/cascader-demo-cache/index.html +15 -0
  160. package/docs-dist/~demos/date-picker-demo-basic/index.html +15 -0
  161. package/docs-dist/~demos/date-picker-demo-range/index.html +15 -0
  162. package/docs-dist/~demos/dialog-demo-demos/index.html +15 -0
  163. package/docs-dist/~demos/editor-demo-demos/index.html +15 -0
  164. package/docs-dist/~demos/group-form-item-demo-basic/index.html +15 -0
  165. package/docs-dist/~demos/interval-button-demo-basic/index.html +15 -0
  166. package/docs-dist/~demos/layout-keep-alive-demo-basic/index.html +15 -0
  167. package/docs-dist/~demos/loading-demo-basic/index.html +15 -0
  168. package/docs-dist/~demos/pro-grid-demo-basic/index.html +15 -0
  169. package/docs-dist/~demos/pro-table-demo-basic/index.html +15 -0
  170. package/docs-dist/~demos/pro-table-demo-fixed/index.html +15 -0
  171. package/docs-dist/~demos/pro-table-demo-selection/index.html +15 -0
  172. package/docs-dist/~demos/pro-tabs-demo-basic/index.html +15 -0
  173. package/docs-dist/~demos/pro-tabs-demo-tab/index.html +15 -0
  174. package/docs-dist/~demos/result-demo-basic/index.html +15 -0
  175. package/docs-dist/~demos/select-demo-api/index.html +15 -0
  176. package/docs-dist/~demos/select-demo-basic/index.html +15 -0
  177. package/docs-dist/~demos/select-demo-customize/index.html +15 -0
  178. package/docs-dist/~demos/select-demo-customize-label/index.html +15 -0
  179. package/docs-dist/~demos/time-picker-demo-basic/index.html +15 -0
  180. package/docs-dist/~demos/trigger-demo-basic/index.html +15 -0
  181. package/docs-dist/~demos/virtual-list-demo-basic/index.html +15 -0
  182. package/docs-dist/~demos/water-mark-demo-basic/index.html +15 -0
  183. package/es/auth/index.d.ts +7 -0
  184. package/es/auth/index.js +14 -0
  185. package/es/ccs.d.ts +1 -1
  186. package/es/dialog/button.d.ts +1 -1
  187. package/es/layout-single-page/index.d.ts +1 -1
  188. package/es/layout-single-page/index.js +3 -0
  189. package/package.json +3 -2
@@ -0,0 +1 @@
1
+ .ccs-aj-modal .ccs-aj-bg{-webkit-user-drag:none}.ccs-aj-modal .ccs-aj-slider-img{top:0;position:absolute;-webkit-user-drag:none}.ccs-aj-modal .ccs-aj-body{position:relative}.ccs-aj-modal .ccs-aj-btn{display:flex;justify-content:space-between;margin-top:5px;align-items:center}.ccs-aj-modal .ccs-aj-error{color:red}.ccs-aj-modal .ccs-aj-slider{position:relative;height:40px}.ccs-aj-modal .ccs-aj-slider-track{height:30px;margin-top:10px;text-align:center;line-height:30px;border-radius:15px;user-select:none}.ccs-aj-modal .ccs-aj-slider-bar{height:40px;width:40px;position:absolute;bottom:5px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:gray;font-size:12px;cursor:move}.ccs-aj-modal .ccs-aj-slider-bar:hover{box-shadow:#666 0 0 8px}.ccs-aj-modal .ccs-aj-word-slider{color:#52c41a;text-align:center;border:1px solid #52c41a;height:36px;line-height:36px;margin-top:10px}.ccs-aj-modal .ccs-word-point{background-color:#52c41a;border-radius:15px;width:26px;height:26px;line-height:26px;text-align:center;color:#fff;position:absolute}.ccs-color-picker{display:flex;justify-content:start}.ccs-color-picker-select{display:none!important}.ccs-editor .cm-editor{outline:none!important}.ccs-editor .cm-editor:hover{outline:1px solid #c8c8c8!important}.ccs-editor-preview .cm-gutters{display:none}.ccs-editor-preview .cm-activeLine{background:transparent}.ccs-ellipsis{overflow:hidden;line-height:1.5;word-break:break-word}.buttons button:not(:last-child):after{margin:0 4px 0 6px;color:#e8e8e8;content:"|"}.dark-table ::-webkit-scrollbar{width:12px;height:12px}.dark-table ::-webkit-scrollbar-thumb{background:#2a2c2c;border-radius:3px}.ccs-pl.css-table-full{position:fixed;left:0;right:0;top:0;bottom:0;z-index:9999}.ccs-table-pagination{margin:0!important;padding:12px 16px;text-align:right}.ccs-pl{display:flex;flex-direction:column}.ccs-pl-icon{font-size:16}.ccs-pl-table-content{position:relative;flex:auto}.ccs-pl-form-collapse{display:flex;justify-content:flex-end;flex-wrap:wrap;column-gap:10px}.ccs-pl-form-expand{display:flex;justify-content:flex-start;flex-wrap:wrap;column-gap:10px}.ccs-pl-adaptation-form{flex:1 1 auto;overflow:hidden}.ccs-pl-adaptation-form::-webkit-scrollbar{display:none}.ccs-pl-form-item{margin-bottom:10px!important;margin-inline-end:0!important}.ccs-pl-toolbar{flex:0 0 auto}.ccs-table-card .react-resizable{position:relative;background-clip:padding-box}.ccs-table-card .react-resizable-handle{position:absolute;right:-5px;bottom:0;z-index:1;width:15px;height:100%;cursor:col-resize}.ccs-tabs-auto-height{flex:1 1 auto;overflow:hidden}.ccs-table-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ccs-keep-alive{flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav{margin:0}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav:before{background:#fff;opacity:.1;position:absolute;top:0;right:0;bottom:0;left:0}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-tab-active{background-color:#fff}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-tab{border:0;padding:6px 16px!important;border-radius:0!important}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-tab,.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-tab-remove,.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-extra-content>.ant-dropdown-trigger{color:#03a9f4}.ccs-keep-alive-nav{margin:0}.ccs-keep-alive-nav:before{border-bottom:0!important}.ccs-keep-alive-tabs{background-color:#fff;border-bottom:1px solid #f1f2f5}.ccs-keep-alive-tabs.dark{background-color:#252525;border-bottom:0}.ccs-keep-alive .ccs-tab-item{flex:1 1 auto;position:relative}.ccs-keep-alive .ccs-sticky-scroll>div{padding:10px 16px 16px;flex-direction:column;display:none}.ccs-keep-alive .ccs-sticky-scroll.route-avtive>div{display:flex}.ccs-sticky-scroll>div{display:flex;flex-direction:column;padding:10px 16px 16px}.colorful-theme .page-content{background-color:#fff}.ccs-breadcrumb{margin-bottom:10px}.ccs-trigger-hidden{display:none!important}.ccs-trigger-show{display:block!important}.ccs-trigger-icon{color:#00000040!important;font-size:12px}.ccs-trigger-container{overflow:auto;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;transition:margin .3s}.ccs-trigger-mask{position:fixed;top:0;right:0;bottom:0;left:0;height:100%;opacity:1}.ccs-trigger-mask-hidden,.rc-trigger-popup-hidden{display:none}
@@ -0,0 +1,103 @@
1
+ "use strict";(self.webpackChunk_ccs_ui_rc_pro=self.webpackChunk_ccs_ui_rc_pro||[]).push([[1379],{71621:function(o,a,e){e.r(a),e.d(a,{demos:function(){return I}});var c=e(90228),t=e.n(c),p=e(87999),m=e.n(p),r=e(75271),I={"cascader-demo-basic":{component:r.memo(r.lazy(function(){return e.e(7681).then(e.bind(e,90065))})),asset:{type:"BLOCK",id:"cascader-demo-basic",refAtomIds:["cascader"],dependencies:{"index.tsx":{type:"FILE",value:e(58116).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.3.6-alpha-32"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u57FA\u672C\u7528\u6CD5\u3002"},context:{"@ccs-ui/rc-pro":e(20600)},renderOpts:{compile:function(){var s=m()(t()().mark(function l(){var d,i=arguments;return t()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.e(7488).then(e.bind(e,47488));case 2:return n.abrupt("return",(d=n.sent).default.apply(d,i));case 3:case"end":return n.stop()}},l)}));function u(){return s.apply(this,arguments)}return u}()}},"cascader-demo-cache":{component:r.memo(r.lazy(function(){return e.e(7681).then(e.bind(e,2235))})),asset:{type:"BLOCK",id:"cascader-demo-cache",refAtomIds:["cascader"],dependencies:{"index.tsx":{type:"FILE",value:e(84556).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.3.6-alpha-32"},antd:{type:"NPM",value:"5.24.6"},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":e(20600),antd:e(13249),react:e(75271)},renderOpts:{compile:function(){var s=m()(t()().mark(function l(){var d,i=arguments;return t()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.e(7488).then(e.bind(e,47488));case 2:return n.abrupt("return",(d=n.sent).default.apply(d,i));case 3:case"end":return n.stop()}},l)}));function u(){return s.apply(this,arguments)}return u}()}}}},22460:function(o,a,e){e.r(a),e.d(a,{texts:function(){return c}});const c=[{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:"\u901A\u7528\u5C5E\u6027\u7EE7\u627F ",paraId:1,tocIndex:5},{value:"Antd Cascader",paraId:1,tocIndex:5},{value:"\u53C2\u6570",paraId:2,tocIndex:5},{value:"\u8BF4\u660E",paraId:2,tocIndex:5},{value:"\u7C7B\u578B",paraId:2,tocIndex:5},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:5},{value:"request",paraId:2,tocIndex:5},{value:"\u63A5\u53E3\u67E5\u8BE2\u65B9\u6CD5",paraId:2,tocIndex:5},{value:"(dependParams: any) => Promise<any[]>",paraId:2,tocIndex:5},{value:"-",paraId:2,tocIndex:5},{value:"defaultParams",paraId:2,tocIndex:5},{value:"\u9ED8\u8BA4\u53C2\u6570",paraId:2,tocIndex:5},{value:"Record<string,any>",paraId:2,tocIndex:5},{value:"-",paraId:2,tocIndex:5},{value:"cache",paraId:2,tocIndex:5},{value:"\u6570\u636E\u7F13\u5B58\u914D\u7F6E",paraId:2,tocIndex:5},{value:"CacheType",paraId:2,tocIndex:5},{value:"-",paraId:2,tocIndex:5},{value:"\u53C2\u6570",paraId:3,tocIndex:6},{value:"\u8BF4\u660E",paraId:3,tocIndex:6},{value:"\u7C7B\u578B",paraId:3,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:6},{value:"cacheKey",paraId:3,tocIndex:6},{value:"\u7F13\u5B58 key\uFF0C\u540C\u4E00\u4E2A key \u5C06\u5168\u5C40\u5171\u4EAB\u6570\u636E",paraId:3,tocIndex:6},{value:"string",paraId:3,tocIndex:6},{value:"-",paraId:3,tocIndex:6},{value:"staleTime",paraId:3,tocIndex:6},{value:"\u8BBE\u7F6E\u6570\u636E\u4FDD\u6301\u65B0\u9C9C\u65F6\u95F4,\u5728\u8BE5\u65F6\u95F4\u5185\uFF0C\u6211\u4EEC\u8BA4\u4E3A\u6570\u636E\u662F\u65B0\u9C9C\u7684\uFF0C\u4E0D\u4F1A\u91CD\u65B0\u53D1\u8D77\u8BF7\u6C42",paraId:3,tocIndex:6},{value:"number",paraId:3,tocIndex:6},{value:"-",paraId:3,tocIndex:6},{value:"cacheTime",paraId:3,tocIndex:6},{value:"\u8BBE\u7F6E\u6570\u636E\u7F13\u5B58\u65F6\u95F4\uFF0C\u8D85\u8FC7\u8BE5\u65F6\u95F4\uFF0C\u6211\u4EEC\u4F1A\u6E05\u7A7A\u8BE5\u6761\u7F13\u5B58\u6570\u636E",paraId:3,tocIndex:6},{value:"number",paraId:3,tocIndex:6},{value:"-",paraId:3,tocIndex:6}]},58116:function(o,a){a.Z=`import { CcsApiCascader } from '@ccs-ui/rc-pro';
2
+
3
+ function onQuery() {
4
+ return new Promise((resolve) => {
5
+ setTimeout(() => {
6
+ resolve({
7
+ msg: '',
8
+ success: true,
9
+ data: [
10
+ {
11
+ id: '1',
12
+ name: '\u9009\u98791',
13
+ children: [
14
+ { id: '11', name: '\u9009\u98791-1' },
15
+ { id: '12', name: '\u9009\u98791-2' },
16
+ { id: '13', name: '\u9009\u98791-3' },
17
+ ],
18
+ },
19
+ {
20
+ id: '2',
21
+ name: '\u9009\u98792',
22
+ children: [
23
+ { id: '21', name: '\u9009\u98792-1' },
24
+ { id: '22', name: '\u9009\u98792-2' },
25
+ { id: '23', name: '\u9009\u98792-3' },
26
+ ],
27
+ },
28
+ { id: '3', name: '\u9009\u9879\u4E09' },
29
+ ],
30
+ });
31
+ }, 1000);
32
+ });
33
+ }
34
+
35
+ export default () => {
36
+ return (
37
+ <CcsApiCascader
38
+ request={onQuery}
39
+ placeholder="\u8BF7\u9009\u62E9"
40
+ style={{ width: 200 }}
41
+ fieldNames={{ label: 'name', value: 'id' }}
42
+ />
43
+ );
44
+ };
45
+ `},84556:function(o,a){a.Z=`import { CcsApiCascader } from '@ccs-ui/rc-pro';
46
+ import { Button, Space } from 'antd';
47
+ import { useState } from 'react';
48
+
49
+ function onQuery() {
50
+ return new Promise((resolve) => {
51
+ console.log('\u8BF7\u6C42\u5F00\u59CB\u4E86...');
52
+
53
+ setTimeout(() => {
54
+ resolve({
55
+ msg: '',
56
+ success: true,
57
+ data: [
58
+ {
59
+ id: '1',
60
+ name: '\u9009\u98791',
61
+ children: [
62
+ { id: '11', name: '\u9009\u98791-1' },
63
+ { id: '12', name: '\u9009\u98791-2' },
64
+ { id: '13', name: '\u9009\u98791-3' },
65
+ ],
66
+ },
67
+ {
68
+ id: '2',
69
+ name: '\u9009\u98792',
70
+ children: [
71
+ { id: '21', name: '\u9009\u98792-1' },
72
+ { id: '22', name: '\u9009\u98792-2' },
73
+ { id: '23', name: '\u9009\u98792-3' },
74
+ ],
75
+ },
76
+ { id: '3', name: '\u9009\u9879\u4E09' },
77
+ ],
78
+ });
79
+ }, 1000);
80
+ });
81
+ }
82
+
83
+ export default () => {
84
+ const [count, setCount] = useState(1);
85
+ return (
86
+ <Space direction="vertical">
87
+ {Array(count)
88
+ .fill('')
89
+ .map((_, index) => (
90
+ <CcsApiCascader
91
+ key={index}
92
+ request={onQuery}
93
+ placeholder="\u8BF7\u9009\u62E9"
94
+ style={{ width: 200 }}
95
+ fieldNames={{ label: 'name', value: 'id' }}
96
+ cache={{ cacheKey: '_Select_01', staleTime: 60 * 60 * 1000 }}
97
+ />
98
+ ))}
99
+ <Button onClick={() => setCount(count + 1)}>\u6DFB\u52A0</Button>
100
+ </Space>
101
+ );
102
+ };
103
+ `}}]);
@@ -0,0 +1 @@
1
+ .ccs-aj-modal .ccs-aj-bg{-webkit-user-drag:none}.ccs-aj-modal .ccs-aj-slider-img{top:0;position:absolute;-webkit-user-drag:none}.ccs-aj-modal .ccs-aj-body{position:relative}.ccs-aj-modal .ccs-aj-btn{display:flex;justify-content:space-between;margin-top:5px;align-items:center}.ccs-aj-modal .ccs-aj-error{color:red}.ccs-aj-modal .ccs-aj-slider{position:relative;height:40px}.ccs-aj-modal .ccs-aj-slider-track{height:30px;margin-top:10px;text-align:center;line-height:30px;border-radius:15px;user-select:none}.ccs-aj-modal .ccs-aj-slider-bar{height:40px;width:40px;position:absolute;bottom:5px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:gray;font-size:12px;cursor:move}.ccs-aj-modal .ccs-aj-slider-bar:hover{box-shadow:#666 0 0 8px}.ccs-aj-modal .ccs-aj-word-slider{color:#52c41a;text-align:center;border:1px solid #52c41a;height:36px;line-height:36px;margin-top:10px}.ccs-aj-modal .ccs-word-point{background-color:#52c41a;border-radius:15px;width:26px;height:26px;line-height:26px;text-align:center;color:#fff;position:absolute}.ccs-color-picker{display:flex;justify-content:start}.ccs-color-picker-select{display:none!important}.ccs-editor .cm-editor{outline:none!important}.ccs-editor .cm-editor:hover{outline:1px solid #c8c8c8!important}.ccs-editor-preview .cm-gutters{display:none}.ccs-editor-preview .cm-activeLine{background:transparent}.ccs-ellipsis{overflow:hidden;line-height:1.5;word-break:break-word}.buttons button:not(:last-child):after{margin:0 4px 0 6px;color:#e8e8e8;content:"|"}.dark-table ::-webkit-scrollbar{width:12px;height:12px}.dark-table ::-webkit-scrollbar-thumb{background:#2a2c2c;border-radius:3px}.ccs-pl.css-table-full{position:fixed;left:0;right:0;top:0;bottom:0;z-index:9999}.ccs-table-pagination{margin:0!important;padding:12px 16px;text-align:right}.ccs-pl{display:flex;flex-direction:column}.ccs-pl-icon{font-size:16}.ccs-pl-table-content{position:relative;flex:auto}.ccs-pl-form-collapse{display:flex;justify-content:flex-end;flex-wrap:wrap;column-gap:10px}.ccs-pl-form-expand{display:flex;justify-content:flex-start;flex-wrap:wrap;column-gap:10px}.ccs-pl-adaptation-form{flex:1 1 auto;overflow:hidden}.ccs-pl-adaptation-form::-webkit-scrollbar{display:none}.ccs-pl-form-item{margin-bottom:10px!important;margin-inline-end:0!important}.ccs-pl-toolbar{flex:0 0 auto}.ccs-table-card .react-resizable{position:relative;background-clip:padding-box}.ccs-table-card .react-resizable-handle{position:absolute;right:-5px;bottom:0;z-index:1;width:15px;height:100%;cursor:col-resize}.ccs-tabs-auto-height{flex:1 1 auto;overflow:hidden}.ccs-table-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ccs-keep-alive{flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav{margin:0}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav:before{background:#fff;opacity:.1;position:absolute;top:0;right:0;bottom:0;left:0}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-tab-active{background-color:#fff}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-tab{border:0;padding:6px 16px!important;border-radius:0!important}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-tab,.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-tab-remove,.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-extra-content>.ant-dropdown-trigger{color:#03a9f4}.ccs-keep-alive-nav{margin:0}.ccs-keep-alive-nav:before{border-bottom:0!important}.ccs-keep-alive-tabs{background-color:#fff;border-bottom:1px solid #f1f2f5}.ccs-keep-alive-tabs.dark{background-color:#252525;border-bottom:0}.ccs-keep-alive .ccs-tab-item{flex:1 1 auto;position:relative}.ccs-keep-alive .ccs-sticky-scroll>div{padding:10px 16px 16px;flex-direction:column;display:none}.ccs-keep-alive .ccs-sticky-scroll.route-avtive>div{display:flex}.ccs-sticky-scroll>div{display:flex;flex-direction:column;padding:10px 16px 16px}.colorful-theme .page-content{background-color:#fff}.ccs-breadcrumb{margin-bottom:10px}.ccs-trigger-hidden{display:none!important}.ccs-trigger-show{display:block!important}.ccs-trigger-icon{color:#00000040!important;font-size:12px}.ccs-trigger-container{overflow:auto;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;transition:margin .3s}.ccs-trigger-mask{position:fixed;top:0;right:0;bottom:0;left:0;height:100%;opacity:1}.ccs-trigger-mask-hidden,.rc-trigger-popup-hidden{display:none}
@@ -0,0 +1,72 @@
1
+ "use strict";(self.webpackChunk_ccs_ui_rc_pro=self.webpackChunk_ccs_ui_rc_pro||[]).push([[2087],{87336:function(a,r,e){e.r(r),e.d(r,{demos:function(){return h}});var s=e(90228),o=e.n(s),p=e(87999),u=e.n(p),m=e(75271),h={"date-picker-demo-basic":{component:m.memo(m.lazy(function(){return e.e(5003).then(e.bind(e,16384))})),asset:{type:"BLOCK",id:"date-picker-demo-basic",refAtomIds:["date-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(86322).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.3.6-alpha-32"},antd:{type:"NPM",value:"5.24.6"}},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":e(20600),antd:e(13249)},renderOpts:{compile:function(){var d=u()(o()().mark(function i(){var t,l=arguments;return o()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.e(7488).then(e.bind(e,47488));case 2:return n.abrupt("return",(t=n.sent).default.apply(t,l));case 3:case"end":return n.stop()}},i)}));function c(){return d.apply(this,arguments)}return c}()}},"date-picker-demo-range":{component:m.memo(m.lazy(function(){return e.e(5003).then(e.bind(e,67094))})),asset:{type:"BLOCK",id:"date-picker-demo-range",refAtomIds:["date-picker"],dependencies:{"index.tsx":{type:"FILE",value:e(11522).Z},"@ccs-ui/rc-pro":{type:"NPM",value:"2.3.6-alpha-32"},antd:{type:"NPM",value:"5.24.6"}},entry:"index.tsx",title:"\u533A\u95F4\u9009\u62E9"},context:{"@ccs-ui/rc-pro":e(20600),antd:e(13249)},renderOpts:{compile:function(){var d=u()(o()().mark(function i(){var t,l=arguments;return o()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.e(7488).then(e.bind(e,47488));case 2:return n.abrupt("return",(t=n.sent).default.apply(t,l));case 3:case"end":return n.stop()}},i)}));function c(){return d.apply(this,arguments)}return c}()}}}},7908:function(a,r,e){e.r(r),e.d(r,{texts:function(){return s}});const s=[{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:4},{value:"Ant DatePicker",paraId:1,tocIndex:4}]},86322:function(a,r){r.Z=`import { CcsDatePicker } from '@ccs-ui/rc-pro';
2
+ import { Form } from 'antd';
3
+
4
+ export default () => {
5
+ const [form] = Form.useForm();
6
+
7
+ return (
8
+ <Form
9
+ form={form}
10
+ initialValues={{
11
+ year: '2023',
12
+ month: '2023-09',
13
+ date: '2023-09-01',
14
+ datetime: '2023-09-01 23:12:12',
15
+ }}
16
+ >
17
+ <Form.Item name="year">
18
+ <CcsDatePicker picker="year" placeholder="\u9009\u62E9\u5E74" />
19
+ </Form.Item>
20
+ <Form.Item name="month">
21
+ <CcsDatePicker picker="month" placeholder="\u9009\u62E9\u6708" />
22
+ </Form.Item>
23
+ <Form.Item name="date">
24
+ <CcsDatePicker placeholder="\u9009\u62E9\u65E5\u671F" />
25
+ </Form.Item>
26
+ <Form.Item name="datetime">
27
+ <CcsDatePicker showTime placeholder="\u9009\u62E9\u65F6\u95F4" />
28
+ </Form.Item>
29
+ </Form>
30
+ );
31
+ };
32
+ `},11522:function(a,r){r.Z=`import { CcsDatePicker } from '@ccs-ui/rc-pro';
33
+ import { Form } from 'antd';
34
+
35
+ export default () => {
36
+ const [form] = Form.useForm();
37
+
38
+ return (
39
+ <Form
40
+ form={form}
41
+ initialValues={{
42
+ years: ['2023', '2025'],
43
+ months: ['2023-07', '2023-09'],
44
+ dates: ['2023-09-01', '2023-09-31'],
45
+ datetimes: ['2023-06-01 23:12:12', '2023-09-01 23:12:12'],
46
+ }}
47
+ >
48
+ <Form.Item name="years">
49
+ <CcsDatePicker.RangePicker
50
+ picker="year"
51
+ placeholder={['\u5F00\u59CB\u5E74', '\u7ED3\u675F\u5E74']}
52
+ />
53
+ </Form.Item>
54
+ <Form.Item name="months">
55
+ <CcsDatePicker.RangePicker
56
+ picker="month"
57
+ placeholder={['\u5F00\u59CB\u6708', '\u7ED3\u675F\u6708']}
58
+ />
59
+ </Form.Item>
60
+ <Form.Item name="dates">
61
+ <CcsDatePicker.RangePicker placeholder={['\u5F00\u59CB\u5E74', '\u7ED3\u675F\u5E74']} />
62
+ </Form.Item>
63
+ <Form.Item name="datetimes">
64
+ <CcsDatePicker.RangePicker
65
+ showTime
66
+ placeholder={['\u5F00\u59CB\u5E74', '\u7ED3\u675F\u5E74']}
67
+ />
68
+ </Form.Item>
69
+ </Form>
70
+ );
71
+ };
72
+ `}}]);
@@ -0,0 +1 @@
1
+ .ccs-aj-modal .ccs-aj-bg{-webkit-user-drag:none}.ccs-aj-modal .ccs-aj-slider-img{top:0;position:absolute;-webkit-user-drag:none}.ccs-aj-modal .ccs-aj-body{position:relative}.ccs-aj-modal .ccs-aj-btn{display:flex;justify-content:space-between;margin-top:5px;align-items:center}.ccs-aj-modal .ccs-aj-error{color:red}.ccs-aj-modal .ccs-aj-slider{position:relative;height:40px}.ccs-aj-modal .ccs-aj-slider-track{height:30px;margin-top:10px;text-align:center;line-height:30px;border-radius:15px;user-select:none}.ccs-aj-modal .ccs-aj-slider-bar{height:40px;width:40px;position:absolute;bottom:5px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:gray;font-size:12px;cursor:move}.ccs-aj-modal .ccs-aj-slider-bar:hover{box-shadow:#666 0 0 8px}.ccs-aj-modal .ccs-aj-word-slider{color:#52c41a;text-align:center;border:1px solid #52c41a;height:36px;line-height:36px;margin-top:10px}.ccs-aj-modal .ccs-word-point{background-color:#52c41a;border-radius:15px;width:26px;height:26px;line-height:26px;text-align:center;color:#fff;position:absolute}.ccs-color-picker{display:flex;justify-content:start}.ccs-color-picker-select{display:none!important}.ccs-editor .cm-editor{outline:none!important}.ccs-editor .cm-editor:hover{outline:1px solid #c8c8c8!important}.ccs-editor-preview .cm-gutters{display:none}.ccs-editor-preview .cm-activeLine{background:transparent}.ccs-ellipsis{overflow:hidden;line-height:1.5;word-break:break-word}.buttons button:not(:last-child):after{margin:0 4px 0 6px;color:#e8e8e8;content:"|"}.dark-table ::-webkit-scrollbar{width:12px;height:12px}.dark-table ::-webkit-scrollbar-thumb{background:#2a2c2c;border-radius:3px}.ccs-pl.css-table-full{position:fixed;left:0;right:0;top:0;bottom:0;z-index:9999}.ccs-table-pagination{margin:0!important;padding:12px 16px;text-align:right}.ccs-pl{display:flex;flex-direction:column}.ccs-pl-icon{font-size:16}.ccs-pl-table-content{position:relative;flex:auto}.ccs-pl-form-collapse{display:flex;justify-content:flex-end;flex-wrap:wrap;column-gap:10px}.ccs-pl-form-expand{display:flex;justify-content:flex-start;flex-wrap:wrap;column-gap:10px}.ccs-pl-adaptation-form{flex:1 1 auto;overflow:hidden}.ccs-pl-adaptation-form::-webkit-scrollbar{display:none}.ccs-pl-form-item{margin-bottom:10px!important;margin-inline-end:0!important}.ccs-pl-toolbar{flex:0 0 auto}.ccs-table-card .react-resizable{position:relative;background-clip:padding-box}.ccs-table-card .react-resizable-handle{position:absolute;right:-5px;bottom:0;z-index:1;width:15px;height:100%;cursor:col-resize}.ccs-tabs-auto-height{flex:1 1 auto;overflow:hidden}.ccs-table-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ccs-keep-alive{flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav{margin:0}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav:before{background:#fff;opacity:.1;position:absolute;top:0;right:0;bottom:0;left:0}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-tab-active{background-color:#fff}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-tab{border:0;padding:6px 16px!important;border-radius:0!important}.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-tab,.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-tab-remove,.ccs-keep-alive-tabs-colorful>.ant-tabs-nav .ant-tabs-extra-content>.ant-dropdown-trigger{color:#03a9f4}.ccs-keep-alive-nav{margin:0}.ccs-keep-alive-nav:before{border-bottom:0!important}.ccs-keep-alive-tabs{background-color:#fff;border-bottom:1px solid #f1f2f5}.ccs-keep-alive-tabs.dark{background-color:#252525;border-bottom:0}.ccs-keep-alive .ccs-tab-item{flex:1 1 auto;position:relative}.ccs-keep-alive .ccs-sticky-scroll>div{padding:10px 16px 16px;flex-direction:column;display:none}.ccs-keep-alive .ccs-sticky-scroll.route-avtive>div{display:flex}.ccs-sticky-scroll>div{display:flex;flex-direction:column;padding:10px 16px 16px}.colorful-theme .page-content{background-color:#fff}.ccs-breadcrumb{margin-bottom:10px}.ccs-trigger-hidden{display:none!important}.ccs-trigger-show{display:block!important}.ccs-trigger-icon{color:#00000040!important;font-size:12px}.ccs-trigger-container{overflow:auto;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;transition:margin .3s}.ccs-trigger-mask{position:fixed;top:0;right:0;bottom:0;left:0;height:100%;opacity:1}.ccs-trigger-mask-hidden,.rc-trigger-popup-hidden{display:none}