@ccs-ui/rc-pro 2.3.6-alpha-32 → 2.3.6-alpha-33
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/package.json +4 -26
- package/LICENSE +0 -21
- package/README.md +0 -37
- package/docs-dist/2179.b80aa159.async.js +0 -22
- package/docs-dist/2191.275582c6.async.js +0 -6
- package/docs-dist/27.82086704.async.js +0 -11
- package/docs-dist/3249.edb38f0f.async.js +0 -28
- package/docs-dist/404.html +0 -15
- package/docs-dist/5171.198d8c6e.async.js +0 -8
- package/docs-dist/7024.588d984f.async.js +0 -22
- package/docs-dist/7488.2db563fb.async.js +0 -137
- package/docs-dist/751.bb8cce69.async.js +0 -1
- package/docs-dist/8784.91b4ab45.async.js +0 -598
- package/docs-dist/9591.06d066b1.async.js +0 -1
- package/docs-dist/9600.78d67888.async.js +0 -16
- package/docs-dist/9600.e8c51481.chunk.css +0 -5
- package/docs-dist/auth__demos.32e710d5.async.js +0 -1
- package/docs-dist/auth__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/auth__index.md.e0b5996f.async.js +0 -1
- package/docs-dist/button__demos.a20990de.async.js +0 -1
- package/docs-dist/button__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/button__index.md.43fe8c62.async.js +0 -1
- package/docs-dist/cascader__demos.cb1e67f3.async.js +0 -1
- package/docs-dist/cascader__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/cascader__index.md.cafec622.async.js +0 -1
- package/docs-dist/components/auth/index.html +0 -15
- package/docs-dist/components/button/index.html +0 -15
- package/docs-dist/components/cascader/index.html +0 -15
- package/docs-dist/components/date-picker/index.html +0 -15
- package/docs-dist/components/dialog/index.html +0 -15
- package/docs-dist/components/editor/index.html +0 -15
- package/docs-dist/components/group-form-item/index.html +0 -15
- package/docs-dist/components/index.html +0 -15
- package/docs-dist/components/interval-button/index.html +0 -15
- package/docs-dist/components/layout-keep-alive/index.html +0 -15
- package/docs-dist/components/loading/index.html +0 -15
- package/docs-dist/components/pro-grid/index.html +0 -15
- package/docs-dist/components/pro-table/index.html +0 -15
- package/docs-dist/components/pro-tabs/index.html +0 -15
- package/docs-dist/components/result/index.html +0 -15
- package/docs-dist/components/select/index.html +0 -15
- package/docs-dist/components/time-picker/index.html +0 -15
- package/docs-dist/components/trigger/index.html +0 -15
- package/docs-dist/components/virtual-list/index.html +0 -15
- package/docs-dist/components/water-mark/index.html +0 -15
- package/docs-dist/date-picker__demos.4cf5ef3e.async.js +0 -1
- package/docs-dist/date-picker__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/date-picker__index.md.c27e69b2.async.js +0 -1
- package/docs-dist/dialog__demos.14d31789.async.js +0 -1
- package/docs-dist/dialog__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/dialog__index.md.665375f8.async.js +0 -1
- package/docs-dist/docs__index.md.0a458278.async.js +0 -1
- package/docs-dist/docs__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/docs__log.md.33be0665.chunk.css +0 -1
- package/docs-dist/docs__log.md.af406e13.async.js +0 -1
- package/docs-dist/docs__utils.md.33be0665.chunk.css +0 -1
- package/docs-dist/docs__utils.md.e1ca1150.async.js +0 -1
- package/docs-dist/dumi__tmp-production__dumi__theme__ContextWrapper.b4f42a14.async.js +0 -233
- package/docs-dist/dumi__tmp-production__dumi__theme__ContextWrapper.b9764392.chunk.css +0 -1
- package/docs-dist/editor__demos.f5ff3638.async.js +0 -6
- package/docs-dist/editor__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/editor__index.md.b4f3c5a3.async.js +0 -1
- package/docs-dist/favicon.png +0 -0
- package/docs-dist/group-form-item__demos.3197aa4d.async.js +0 -1
- package/docs-dist/group-form-item__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/group-form-item__index.md.63bf18f4.async.js +0 -1
- package/docs-dist/index.html +0 -15
- package/docs-dist/index.md.1621f8b8.async.js +0 -1
- package/docs-dist/index.md.33be0665.chunk.css +0 -1
- package/docs-dist/interval-button__demos.ff98564f.async.js +0 -1
- package/docs-dist/interval-button__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/interval-button__index.md.54c9da91.async.js +0 -1
- package/docs-dist/layout-keep-alive__demos.c12a544d.async.js +0 -1
- package/docs-dist/layout-keep-alive__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/layout-keep-alive__index.md.90ef1c2b.async.js +0 -1
- package/docs-dist/loading__demos.8ac9187d.async.js +0 -1
- package/docs-dist/loading__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/loading__index.md.d52a9847.async.js +0 -1
- package/docs-dist/log/index.html +0 -15
- package/docs-dist/logo.svg +0 -48
- package/docs-dist/meta__auth.2fdb9639.async.js +0 -12
- package/docs-dist/meta__auth.b9764392.chunk.css +0 -1
- package/docs-dist/meta__button.420ed66c.async.js +0 -8759
- package/docs-dist/meta__button.b9764392.chunk.css +0 -1
- package/docs-dist/meta__cascader.79f5fc28.async.js +0 -103
- package/docs-dist/meta__cascader.b9764392.chunk.css +0 -1
- package/docs-dist/meta__date-picker.79265ba8.async.js +0 -72
- package/docs-dist/meta__date-picker.b9764392.chunk.css +0 -1
- package/docs-dist/meta__dialog.1ca8b654.async.js +0 -502
- package/docs-dist/meta__dialog.b9764392.chunk.css +0 -1
- package/docs-dist/meta__docs.5dbc484a.async.js +0 -1
- package/docs-dist/meta__editor.11adf92c.async.js +0 -37
- package/docs-dist/meta__editor.b9764392.chunk.css +0 -1
- package/docs-dist/meta__group-form-item.a6e6163c.async.js +0 -36
- package/docs-dist/meta__group-form-item.b9764392.chunk.css +0 -1
- package/docs-dist/meta__index.md.3fe47f24.async.js +0 -1
- package/docs-dist/meta__interval-button.72bce101.async.js +0 -17
- package/docs-dist/meta__interval-button.b9764392.chunk.css +0 -1
- package/docs-dist/meta__layout-keep-alive.3997804f.async.js +0 -17
- package/docs-dist/meta__layout-keep-alive.b9764392.chunk.css +0 -1
- package/docs-dist/meta__loading.b9764392.chunk.css +0 -1
- package/docs-dist/meta__loading.cd39daf6.async.js +0 -24
- package/docs-dist/meta__pro-grid.b9764392.chunk.css +0 -1
- package/docs-dist/meta__pro-grid.be34bc7a.async.js +0 -21
- package/docs-dist/meta__pro-table.b9764392.chunk.css +0 -1
- package/docs-dist/meta__pro-table.d318e6ac.async.js +0 -609
- package/docs-dist/meta__pro-tabs.2d66cb0d.async.js +0 -104
- package/docs-dist/meta__pro-tabs.b9764392.chunk.css +0 -1
- package/docs-dist/meta__result.12e85cae.async.js +0 -20
- package/docs-dist/meta__result.b9764392.chunk.css +0 -1
- package/docs-dist/meta__select.91395de5.async.js +0 -337
- package/docs-dist/meta__select.b9764392.chunk.css +0 -1
- package/docs-dist/meta__time-picker.5ae1cf72.async.js +0 -24
- package/docs-dist/meta__time-picker.b9764392.chunk.css +0 -1
- package/docs-dist/meta__trigger.0368918c.async.js +0 -451
- package/docs-dist/meta__trigger.b9764392.chunk.css +0 -1
- package/docs-dist/meta__virtual-list.71ae35a9.async.js +0 -35
- package/docs-dist/meta__virtual-list.b9764392.chunk.css +0 -1
- package/docs-dist/meta__water-mark.b9764392.chunk.css +0 -1
- package/docs-dist/meta__water-mark.f487e8dd.async.js +0 -15
- package/docs-dist/nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css +0 -1
- package/docs-dist/nm__dumi__dist__client__pages__404.c319e0a3.async.js +0 -1
- package/docs-dist/nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css +0 -1
- package/docs-dist/nm__dumi__dist__client__pages__Demo__index.7e033f2b.async.js +0 -1
- package/docs-dist/nm__dumi__theme-default__layouts__DocLayout__index.8a08baa2.async.js +0 -1
- package/docs-dist/preload_helper.9430b29d.js +0 -1
- package/docs-dist/pro-grid__demos.81d67052.async.js +0 -1
- package/docs-dist/pro-grid__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/pro-grid__index.md.a6b9c956.async.js +0 -1
- package/docs-dist/pro-table__demos.254e5b3a.async.js +0 -1
- package/docs-dist/pro-table__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/pro-table__index.md.607fa3d4.async.js +0 -1
- package/docs-dist/pro-tabs__demos.2f05143c.async.js +0 -1
- package/docs-dist/pro-tabs__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/pro-tabs__index.md.61a7d2c1.async.js +0 -1
- package/docs-dist/result__demos.689a5a17.async.js +0 -1
- package/docs-dist/result__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/result__index.md.7cac7890.async.js +0 -1
- package/docs-dist/select__demos.c77af292.async.js +0 -1
- package/docs-dist/select__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/select__index.md.f818a939.async.js +0 -2
- package/docs-dist/time-picker__demos.48d5025e.async.js +0 -1
- package/docs-dist/time-picker__index.md.25b2d39e.async.js +0 -1
- package/docs-dist/time-picker__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/trigger__demos.2f9bf9f4.async.js +0 -1
- package/docs-dist/trigger__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/trigger__index.md.7e0b7729.async.js +0 -1
- package/docs-dist/umi.52ae6580.js +0 -110
- package/docs-dist/umi.8c46519e.css +0 -1
- package/docs-dist/utils/index.html +0 -15
- package/docs-dist/virtual-list__demos.b1f5e707.async.js +0 -1
- package/docs-dist/virtual-list__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/virtual-list__index.md.47c7bdca.async.js +0 -1
- package/docs-dist/water-mark__demos.f7bcee8a.async.js +0 -1
- package/docs-dist/water-mark__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/water-mark__index.md.e5555c25.async.js +0 -1
- package/docs-dist/~demos/:id/index.html +0 -15
- package/docs-dist/~demos/auth-demo-basic/index.html +0 -15
- package/docs-dist/~demos/button-demo-button/index.html +0 -15
- package/docs-dist/~demos/button-demo-group/index.html +0 -15
- package/docs-dist/~demos/cascader-demo-basic/index.html +0 -15
- package/docs-dist/~demos/cascader-demo-cache/index.html +0 -15
- package/docs-dist/~demos/date-picker-demo-basic/index.html +0 -15
- package/docs-dist/~demos/date-picker-demo-range/index.html +0 -15
- package/docs-dist/~demos/dialog-demo-demos/index.html +0 -15
- package/docs-dist/~demos/editor-demo-demos/index.html +0 -15
- package/docs-dist/~demos/group-form-item-demo-basic/index.html +0 -15
- package/docs-dist/~demos/interval-button-demo-basic/index.html +0 -15
- package/docs-dist/~demos/layout-keep-alive-demo-basic/index.html +0 -15
- package/docs-dist/~demos/loading-demo-basic/index.html +0 -15
- package/docs-dist/~demos/pro-grid-demo-basic/index.html +0 -15
- package/docs-dist/~demos/pro-table-demo-basic/index.html +0 -15
- package/docs-dist/~demos/pro-table-demo-fixed/index.html +0 -15
- package/docs-dist/~demos/pro-table-demo-selection/index.html +0 -15
- package/docs-dist/~demos/pro-tabs-demo-basic/index.html +0 -15
- package/docs-dist/~demos/pro-tabs-demo-tab/index.html +0 -15
- package/docs-dist/~demos/result-demo-basic/index.html +0 -15
- package/docs-dist/~demos/select-demo-api/index.html +0 -15
- package/docs-dist/~demos/select-demo-basic/index.html +0 -15
- package/docs-dist/~demos/select-demo-customize/index.html +0 -15
- package/docs-dist/~demos/select-demo-customize-label/index.html +0 -15
- package/docs-dist/~demos/time-picker-demo-basic/index.html +0 -15
- package/docs-dist/~demos/trigger-demo-basic/index.html +0 -15
- package/docs-dist/~demos/virtual-list-demo-basic/index.html +0 -15
- package/docs-dist/~demos/water-mark-demo-basic/index.html +0 -15
- package/es/aj-captcha/index.d.ts +0 -34
- package/es/aj-captcha/index.js +0 -302
- package/es/aj-captcha/index.less +0 -89
- package/es/auth/index.d.ts +0 -22
- package/es/auth/index.js +0 -52
- package/es/breadcrumb.d.ts +0 -8
- package/es/breadcrumb.js +0 -40
- package/es/button/dropdown.d.ts +0 -6
- package/es/button/dropdown.js +0 -72
- package/es/button/group.d.ts +0 -2
- package/es/button/group.js +0 -176
- package/es/button/index.d.ts +0 -65
- package/es/button/index.js +0 -133
- package/es/cascader/index.d.ts +0 -33
- package/es/cascader/index.js +0 -120
- package/es/ccs.d.ts +0 -131
- package/es/ccs.js +0 -1
- package/es/color-picker/index.d.ts +0 -7
- package/es/color-picker/index.js +0 -142
- package/es/color-picker/index.less +0 -8
- package/es/config.d.ts +0 -6
- package/es/config.js +0 -126
- package/es/context/index.d.ts +0 -115
- package/es/context/index.js +0 -6
- package/es/date-picker/index.d.ts +0 -19
- package/es/date-picker/index.js +0 -72
- package/es/dialog/HookDrawer.d.ts +0 -9
- package/es/dialog/HookDrawer.js +0 -156
- package/es/dialog/HookModal.d.ts +0 -10
- package/es/dialog/HookModal.js +0 -213
- package/es/dialog/button.d.ts +0 -24
- package/es/dialog/button.js +0 -256
- package/es/dialog/context.d.ts +0 -25
- package/es/dialog/context.js +0 -13
- package/es/dialog/drawer-footer.d.ts +0 -16
- package/es/dialog/drawer-footer.js +0 -43
- package/es/dialog/form.d.ts +0 -16
- package/es/dialog/form.js +0 -53
- package/es/dialog/hook.d.ts +0 -80
- package/es/dialog/hook.js +0 -234
- package/es/dialog/index.d.ts +0 -19
- package/es/dialog/index.js +0 -14
- package/es/dialog/usePatchElement.d.ts +0 -5
- package/es/dialog/usePatchElement.js +0 -35
- package/es/editor/index.d.ts +0 -22
- package/es/editor/index.js +0 -18
- package/es/editor/index.less +0 -19
- package/es/editor/javascript.d.ts +0 -2
- package/es/editor/javascript.js +0 -56
- package/es/editor/json.d.ts +0 -7
- package/es/editor/json.js +0 -82
- package/es/editor/sql.d.ts +0 -2
- package/es/editor/sql.js +0 -54
- package/es/ellipsis/index.d.ts +0 -22
- package/es/ellipsis/index.js +0 -129
- package/es/ellipsis/index.less +0 -5
- package/es/ellipsis/useMeasure.d.ts +0 -9
- package/es/ellipsis/useMeasure.js +0 -142
- package/es/ellipsis/useResizeEffect.d.ts +0 -2
- package/es/ellipsis/useResizeEffect.js +0 -14
- package/es/ellipsis/withStopPropagation.d.ts +0 -4
- package/es/ellipsis/withStopPropagation.js +0 -38
- package/es/full-screen/index.d.ts +0 -3
- package/es/full-screen/index.js +0 -49
- package/es/group-form-item/index.d.ts +0 -11
- package/es/group-form-item/index.js +0 -124
- package/es/hooks/use-app.d.ts +0 -25
- package/es/hooks/use-app.js +0 -52
- package/es/hooks/use-event.d.ts +0 -10
- package/es/hooks/use-event.js +0 -69
- package/es/hooks/use-once-event.d.ts +0 -2
- package/es/hooks/use-once-event.js +0 -16
- package/es/hooks/use-page.d.ts +0 -10
- package/es/hooks/use-page.js +0 -10
- package/es/hooks/use-selection.d.ts +0 -17
- package/es/hooks/use-selection.js +0 -172
- package/es/hooks/use-tabs.d.ts +0 -2
- package/es/hooks/use-tabs.js +0 -10
- package/es/hooks/use-window.d.ts +0 -8
- package/es/hooks/use-window.js +0 -15
- package/es/index.d.ts +0 -37
- package/es/index.js +0 -37
- package/es/interval-button/index.d.ts +0 -14
- package/es/interval-button/index.js +0 -128
- package/es/layout-keep-alive/index.d.ts +0 -29
- package/es/layout-keep-alive/index.js +0 -400
- package/es/layout-keep-alive/index.less +0 -79
- package/es/layout-keep-alive/page.d.ts +0 -14
- package/es/layout-keep-alive/page.js +0 -53
- package/es/layout-single-page/index.d.ts +0 -14
- package/es/layout-single-page/index.js +0 -71
- package/es/layout-single-page/index.less +0 -15
- package/es/layout-single-page/page.d.ts +0 -13
- package/es/layout-single-page/page.js +0 -41
- package/es/loading/index.d.ts +0 -14
- package/es/loading/index.js +0 -43
- package/es/pro-grid/index.d.ts +0 -15
- package/es/pro-grid/index.js +0 -58
- package/es/pro-table/_utils.d.ts +0 -12
- package/es/pro-table/_utils.js +0 -94
- package/es/pro-table/form-item.d.ts +0 -9
- package/es/pro-table/form-item.js +0 -44
- package/es/pro-table/head.d.ts +0 -16
- package/es/pro-table/head.js +0 -225
- package/es/pro-table/index.d.ts +0 -23
- package/es/pro-table/index.js +0 -37
- package/es/pro-table/index.less +0 -82
- package/es/pro-table/operation.d.ts +0 -14
- package/es/pro-table/operation.js +0 -194
- package/es/pro-table/selection-alert.d.ts +0 -20
- package/es/pro-table/selection-alert.js +0 -64
- package/es/pro-table/size.d.ts +0 -10
- package/es/pro-table/size.js +0 -17
- package/es/pro-table/summary.d.ts +0 -8
- package/es/pro-table/summary.js +0 -32
- package/es/pro-table/table.d.ts +0 -104
- package/es/pro-table/table.js +0 -712
- package/es/pro-table/tree.d.ts +0 -24
- package/es/pro-table/tree.js +0 -197
- package/es/pro-tabs/index.d.ts +0 -9
- package/es/pro-tabs/index.js +0 -174
- package/es/resize-observer.d.ts +0 -15
- package/es/resize-observer.js +0 -37
- package/es/result/icon.d.ts +0 -3
- package/es/result/icon.js +0 -3
- package/es/result/index.d.ts +0 -12
- package/es/result/index.js +0 -68
- package/es/select/ modal.d.ts +0 -10
- package/es/select/ modal.js +0 -141
- package/es/select/api.d.ts +0 -25
- package/es/select/api.js +0 -67
- package/es/select/customize.d.ts +0 -25
- package/es/select/customize.js +0 -139
- package/es/select/index.d.ts +0 -31
- package/es/select/index.js +0 -108
- package/es/status-tag/index.d.ts +0 -13
- package/es/status-tag/index.js +0 -31
- package/es/table/index.d.ts +0 -19
- package/es/table/index.js +0 -253
- package/es/table/index.less +0 -29
- package/es/theme-dialog.d.ts +0 -28
- package/es/theme-dialog.js +0 -81
- package/es/time-picker/index.d.ts +0 -15
- package/es/time-picker/index.js +0 -49
- package/es/trigger/index.d.ts +0 -43
- package/es/trigger/index.js +0 -298
- package/es/trigger/index.less +0 -42
- package/es/types.d.ts +0 -0
- package/es/types.js +0 -0
- package/es/upload/index.d.ts +0 -42
- package/es/upload/index.js +0 -167
- package/es/upload/upload-image.d.ts +0 -6
- package/es/upload/upload-image.js +0 -205
- package/es/virtual-list/index.d.ts +0 -51
- package/es/virtual-list/index.js +0 -132
- package/es/water-mark/index.d.ts +0 -65
- package/es/water-mark/index.js +0 -141
- package/es/water-mark/relative.d.ts +0 -62
- package/es/water-mark/relative.js +0 -130
|
@@ -1 +0,0 @@
|
|
|
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}
|
|
@@ -1,103 +0,0 @@
|
|
|
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
|
-
`}}]);
|
|
@@ -1 +0,0 @@
|
|
|
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}
|
|
@@ -1,72 +0,0 @@
|
|
|
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
|
-
`}}]);
|
|
@@ -1 +0,0 @@
|
|
|
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}
|