antd-mobile 5.32.0 → 5.32.2
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/2x/bundle/antd-mobile.cjs.development.js +385 -303
- package/2x/bundle/antd-mobile.cjs.js +9 -9
- package/2x/bundle/antd-mobile.es.development.js +385 -303
- package/2x/bundle/antd-mobile.es.js +5266 -5213
- package/2x/bundle/antd-mobile.umd.development.js +385 -303
- package/2x/bundle/antd-mobile.umd.js +9 -9
- package/2x/bundle/style.css +43 -35
- package/2x/cjs/components/action-sheet/action-sheet.css +1 -1
- package/2x/cjs/components/badge/badge.css +1 -1
- package/2x/cjs/components/button/button.css +2 -2
- package/2x/cjs/components/calendar/calendar.js +5 -1
- package/2x/cjs/components/cascader/cascader.d.ts +2 -2
- package/2x/cjs/components/cascader/index.d.ts +4 -4
- package/2x/cjs/components/cascader/prompt.d.ts +1 -1
- package/2x/cjs/components/cascader-view/cascader-view.d.ts +2 -1
- package/2x/cjs/components/center-popup/center-popup.js +6 -5
- package/2x/cjs/components/check-list/check-list-item.d.ts +2 -1
- package/2x/cjs/components/check-list/check-list.d.ts +4 -3
- package/2x/cjs/components/check-list/context.d.ts +4 -3
- package/2x/cjs/components/check-list/index.d.ts +1 -1
- package/2x/cjs/components/checkbox/checkbox.css +1 -1
- package/2x/cjs/components/collapse/collapse.js +27 -12
- package/2x/cjs/components/ellipsis/ellipsis.js +4 -5
- package/2x/cjs/components/error-block/create-error-block.js +4 -4
- package/2x/cjs/components/error-block/error-block.css +1 -1
- package/2x/cjs/components/floating-panel/floating-panel.js +8 -7
- package/2x/cjs/components/footer/footer.css +1 -1
- package/2x/cjs/components/form/form-item.d.ts +1 -1
- package/2x/cjs/components/form/form-item.js +6 -9
- package/2x/cjs/components/form/form.css +1 -1
- package/2x/cjs/components/form/index.css +1 -1
- package/2x/cjs/components/image-uploader/image-uploader.css +1 -1
- package/2x/cjs/components/image-viewer/image-viewer.css +1 -1
- package/2x/cjs/components/input/input.d.ts +2 -8
- package/2x/cjs/components/notice-bar/notice-bar.css +5 -5
- package/2x/cjs/components/number-keyboard/number-keyboard.css +2 -2
- package/2x/cjs/components/page-indicator/page-indicator.css +1 -1
- package/2x/cjs/components/passcode-input/passcode-input.css +1 -1
- package/2x/cjs/components/picker-view/wheel.js +61 -14
- package/2x/cjs/components/popover/popover-menu.css +2 -2
- package/2x/cjs/components/progress-bar/progress-bar.css +2 -2
- package/2x/cjs/components/progress-circle/progress-circle.css +1 -1
- package/2x/cjs/components/pull-to-refresh/pull-to-refresh.js +1 -1
- package/2x/cjs/components/radio/radio.css +1 -1
- package/2x/cjs/components/rate/rate.css +3 -3
- package/2x/cjs/components/rate/rate.d.ts +1 -1
- package/2x/cjs/components/selector/selector.css +1 -1
- package/2x/cjs/components/steps/steps.css +3 -3
- package/2x/cjs/components/steps/steps.js +5 -5
- package/2x/cjs/components/swipe-action/swipe-action.d.ts +4 -3
- package/2x/cjs/components/tag/tag.js +1 -1
- package/2x/cjs/components/text-area/text-area.js +11 -2
- package/2x/cjs/components/toast/toast.css +2 -2
- package/2x/cjs/components/tree-select/tree-select.css +1 -1
- package/2x/cjs/components/water-mark/water-mark.js +1 -1
- package/2x/cjs/global/global.css +8 -0
- package/2x/cjs/global/theme-dark.css +3 -0
- package/2x/cjs/global/theme-default.css +4 -0
- package/2x/cjs/locales/base.d.ts +1 -1
- package/2x/cjs/locales/base.js +1 -1
- package/2x/cjs/locales/da-DK.d.ts +1 -1
- package/2x/cjs/locales/da-DK.js +1 -1
- package/2x/cjs/locales/en-US.d.ts +1 -1
- package/2x/cjs/locales/es-ES.d.ts +1 -1
- package/2x/cjs/locales/es-ES.js +1 -1
- package/2x/cjs/locales/fa-IR.d.ts +1 -1
- package/2x/cjs/locales/fa-IR.js +1 -1
- package/2x/cjs/locales/fr-FR.d.ts +1 -1
- package/2x/cjs/locales/fr-FR.js +1 -1
- package/2x/cjs/locales/id-ID.d.ts +1 -1
- package/2x/cjs/locales/id-ID.js +1 -1
- package/2x/cjs/locales/it-IT.d.ts +1 -1
- package/2x/cjs/locales/it-IT.js +1 -1
- package/2x/cjs/locales/ja-JP.d.ts +1 -1
- package/2x/cjs/locales/ja-JP.js +1 -1
- package/2x/cjs/locales/kk-KZ.d.ts +1 -1
- package/2x/cjs/locales/kk-KZ.js +1 -1
- package/2x/cjs/locales/ko-KR.d.ts +1 -1
- package/2x/cjs/locales/ko-KR.js +1 -1
- package/2x/cjs/locales/nb-NO.d.ts +1 -1
- package/2x/cjs/locales/nb-NO.js +1 -1
- package/2x/cjs/locales/nl-NL.d.ts +1 -1
- package/2x/cjs/locales/nl-NL.js +1 -1
- package/2x/cjs/locales/ru-RU.d.ts +1 -1
- package/2x/cjs/locales/ru-RU.js +1 -1
- package/2x/cjs/locales/zh-CN.d.ts +1 -1
- package/2x/cjs/locales/zh-CN.js +1 -1
- package/2x/cjs/locales/zh-HK.d.ts +1 -1
- package/2x/cjs/locales/zh-HK.js +1 -1
- package/2x/cjs/locales/zh-TW.d.ts +1 -1
- package/2x/cjs/locales/zh-TW.js +1 -1
- package/2x/cjs/utils/replace-message.d.ts +1 -0
- package/2x/cjs/utils/replace-message.js +13 -0
- package/2x/cjs/utils/use-lock-scroll.js +6 -2
- package/2x/es/components/action-sheet/action-sheet.css +1 -1
- package/2x/es/components/badge/badge.css +1 -1
- package/2x/es/components/button/button.css +2 -2
- package/2x/es/components/calendar/calendar.js +5 -1
- package/2x/es/components/cascader/cascader.d.ts +2 -2
- package/2x/es/components/cascader/index.d.ts +4 -4
- package/2x/es/components/cascader/prompt.d.ts +1 -1
- package/2x/es/components/cascader-view/cascader-view.d.ts +2 -1
- package/2x/es/components/center-popup/center-popup.js +6 -5
- package/2x/es/components/check-list/check-list-item.d.ts +2 -1
- package/2x/es/components/check-list/check-list.d.ts +4 -3
- package/2x/es/components/check-list/context.d.ts +4 -3
- package/2x/es/components/check-list/index.d.ts +1 -1
- package/2x/es/components/checkbox/checkbox.css +1 -1
- package/2x/es/components/collapse/collapse.js +27 -12
- package/2x/es/components/ellipsis/ellipsis.js +4 -5
- package/2x/es/components/error-block/create-error-block.js +4 -4
- package/2x/es/components/error-block/error-block.css +1 -1
- package/2x/es/components/floating-panel/floating-panel.js +8 -7
- package/2x/es/components/footer/footer.css +1 -1
- package/2x/es/components/form/form-item.d.ts +1 -1
- package/2x/es/components/form/form-item.js +6 -9
- package/2x/es/components/form/form.css +1 -1
- package/2x/es/components/form/index.css +1 -1
- package/2x/es/components/image-uploader/image-uploader.css +1 -1
- package/2x/es/components/image-viewer/image-viewer.css +1 -1
- package/2x/es/components/input/input.d.ts +2 -8
- package/2x/es/components/notice-bar/notice-bar.css +5 -5
- package/2x/es/components/number-keyboard/number-keyboard.css +2 -2
- package/2x/es/components/page-indicator/page-indicator.css +1 -1
- package/2x/es/components/passcode-input/passcode-input.css +1 -1
- package/2x/es/components/picker-view/wheel.js +61 -14
- package/2x/es/components/popover/popover-menu.css +2 -2
- package/2x/es/components/progress-bar/progress-bar.css +2 -2
- package/2x/es/components/progress-circle/progress-circle.css +1 -1
- package/2x/es/components/pull-to-refresh/pull-to-refresh.js +1 -1
- package/2x/es/components/radio/radio.css +1 -1
- package/2x/es/components/rate/rate.css +3 -3
- package/2x/es/components/rate/rate.d.ts +1 -1
- package/2x/es/components/selector/selector.css +1 -1
- package/2x/es/components/steps/steps.css +3 -3
- package/2x/es/components/steps/steps.js +5 -5
- package/2x/es/components/swipe-action/swipe-action.d.ts +4 -3
- package/2x/es/components/tag/tag.js +1 -1
- package/2x/es/components/text-area/text-area.js +11 -2
- package/2x/es/components/toast/toast.css +2 -2
- package/2x/es/components/tree-select/tree-select.css +1 -1
- package/2x/es/components/water-mark/water-mark.js +1 -1
- package/2x/es/global/global.css +8 -0
- package/2x/es/global/theme-dark.css +3 -0
- package/2x/es/global/theme-default.css +4 -0
- package/2x/es/locales/base.d.ts +1 -1
- package/2x/es/locales/base.js +1 -1
- package/2x/es/locales/da-DK.d.ts +1 -1
- package/2x/es/locales/da-DK.js +1 -1
- package/2x/es/locales/en-US.d.ts +1 -1
- package/2x/es/locales/es-ES.d.ts +1 -1
- package/2x/es/locales/es-ES.js +1 -1
- package/2x/es/locales/fa-IR.d.ts +1 -1
- package/2x/es/locales/fa-IR.js +1 -1
- package/2x/es/locales/fr-FR.d.ts +1 -1
- package/2x/es/locales/fr-FR.js +1 -1
- package/2x/es/locales/id-ID.d.ts +1 -1
- package/2x/es/locales/id-ID.js +1 -1
- package/2x/es/locales/it-IT.d.ts +1 -1
- package/2x/es/locales/it-IT.js +1 -1
- package/2x/es/locales/ja-JP.d.ts +1 -1
- package/2x/es/locales/ja-JP.js +1 -1
- package/2x/es/locales/kk-KZ.d.ts +1 -1
- package/2x/es/locales/kk-KZ.js +1 -1
- package/2x/es/locales/ko-KR.d.ts +1 -1
- package/2x/es/locales/ko-KR.js +1 -1
- package/2x/es/locales/nb-NO.d.ts +1 -1
- package/2x/es/locales/nb-NO.js +1 -1
- package/2x/es/locales/nl-NL.d.ts +1 -1
- package/2x/es/locales/nl-NL.js +1 -1
- package/2x/es/locales/ru-RU.d.ts +1 -1
- package/2x/es/locales/ru-RU.js +1 -1
- package/2x/es/locales/zh-CN.d.ts +1 -1
- package/2x/es/locales/zh-CN.js +1 -1
- package/2x/es/locales/zh-HK.d.ts +1 -1
- package/2x/es/locales/zh-HK.js +1 -1
- package/2x/es/locales/zh-TW.d.ts +1 -1
- package/2x/es/locales/zh-TW.js +1 -1
- package/2x/es/utils/replace-message.d.ts +1 -0
- package/2x/es/utils/replace-message.js +7 -0
- package/2x/es/utils/use-lock-scroll.js +6 -2
- package/2x/package.json +1 -1
- package/bundle/antd-mobile.cjs.development.js +385 -303
- package/bundle/antd-mobile.cjs.js +9 -9
- package/bundle/antd-mobile.compatible.umd.js +1 -1
- package/bundle/antd-mobile.es.development.js +385 -303
- package/bundle/antd-mobile.es.js +5266 -5213
- package/bundle/antd-mobile.umd.development.js +385 -303
- package/bundle/antd-mobile.umd.js +9 -9
- package/bundle/style.css +1 -1
- package/cjs/components/action-sheet/action-sheet.css +1 -1
- package/cjs/components/badge/badge.css +1 -1
- package/cjs/components/button/button.css +2 -2
- package/cjs/components/calendar/calendar.js +5 -1
- package/cjs/components/cascader/cascader.d.ts +2 -2
- package/cjs/components/cascader/index.d.ts +4 -4
- package/cjs/components/cascader/prompt.d.ts +1 -1
- package/cjs/components/cascader-view/cascader-view.d.ts +2 -1
- package/cjs/components/center-popup/center-popup.js +6 -5
- package/cjs/components/check-list/check-list-item.d.ts +2 -1
- package/cjs/components/check-list/check-list.d.ts +4 -3
- package/cjs/components/check-list/context.d.ts +4 -3
- package/cjs/components/check-list/index.d.ts +1 -1
- package/cjs/components/checkbox/checkbox.css +1 -1
- package/cjs/components/collapse/collapse.js +27 -12
- package/cjs/components/ellipsis/ellipsis.js +4 -5
- package/cjs/components/error-block/create-error-block.js +4 -4
- package/cjs/components/error-block/error-block.css +1 -1
- package/cjs/components/floating-panel/floating-panel.js +8 -7
- package/cjs/components/footer/footer.css +1 -1
- package/cjs/components/form/form-item.d.ts +1 -1
- package/cjs/components/form/form-item.js +6 -9
- package/cjs/components/form/form.css +1 -1
- package/cjs/components/form/index.css +1 -1
- package/cjs/components/image-uploader/image-uploader.css +1 -1
- package/cjs/components/image-viewer/image-viewer.css +1 -1
- package/cjs/components/input/input.d.ts +2 -8
- package/cjs/components/notice-bar/notice-bar.css +5 -5
- package/cjs/components/number-keyboard/number-keyboard.css +2 -2
- package/cjs/components/page-indicator/page-indicator.css +1 -1
- package/cjs/components/passcode-input/passcode-input.css +1 -1
- package/cjs/components/picker-view/wheel.js +61 -14
- package/cjs/components/popover/popover-menu.css +2 -2
- package/cjs/components/progress-bar/progress-bar.css +2 -2
- package/cjs/components/progress-circle/progress-circle.css +1 -1
- package/cjs/components/pull-to-refresh/pull-to-refresh.js +1 -1
- package/cjs/components/radio/radio.css +1 -1
- package/cjs/components/rate/rate.css +3 -3
- package/cjs/components/rate/rate.d.ts +1 -1
- package/cjs/components/selector/selector.css +1 -1
- package/cjs/components/steps/steps.css +3 -3
- package/cjs/components/steps/steps.js +5 -5
- package/cjs/components/swipe-action/swipe-action.d.ts +4 -3
- package/cjs/components/tag/tag.js +1 -1
- package/cjs/components/text-area/text-area.js +11 -2
- package/cjs/components/toast/toast.css +2 -2
- package/cjs/components/tree-select/tree-select.css +1 -1
- package/cjs/components/water-mark/water-mark.js +1 -1
- package/cjs/global/global.css +8 -0
- package/cjs/global/theme-dark.css +3 -0
- package/cjs/global/theme-default.css +4 -0
- package/cjs/locales/base.d.ts +1 -1
- package/cjs/locales/base.js +1 -1
- package/cjs/locales/da-DK.d.ts +1 -1
- package/cjs/locales/da-DK.js +1 -1
- package/cjs/locales/en-US.d.ts +1 -1
- package/cjs/locales/es-ES.d.ts +1 -1
- package/cjs/locales/es-ES.js +1 -1
- package/cjs/locales/fa-IR.d.ts +1 -1
- package/cjs/locales/fa-IR.js +1 -1
- package/cjs/locales/fr-FR.d.ts +1 -1
- package/cjs/locales/fr-FR.js +1 -1
- package/cjs/locales/id-ID.d.ts +1 -1
- package/cjs/locales/id-ID.js +1 -1
- package/cjs/locales/it-IT.d.ts +1 -1
- package/cjs/locales/it-IT.js +1 -1
- package/cjs/locales/ja-JP.d.ts +1 -1
- package/cjs/locales/ja-JP.js +1 -1
- package/cjs/locales/kk-KZ.d.ts +1 -1
- package/cjs/locales/kk-KZ.js +1 -1
- package/cjs/locales/ko-KR.d.ts +1 -1
- package/cjs/locales/ko-KR.js +1 -1
- package/cjs/locales/nb-NO.d.ts +1 -1
- package/cjs/locales/nb-NO.js +1 -1
- package/cjs/locales/nl-NL.d.ts +1 -1
- package/cjs/locales/nl-NL.js +1 -1
- package/cjs/locales/ru-RU.d.ts +1 -1
- package/cjs/locales/ru-RU.js +1 -1
- package/cjs/locales/zh-CN.d.ts +1 -1
- package/cjs/locales/zh-CN.js +1 -1
- package/cjs/locales/zh-HK.d.ts +1 -1
- package/cjs/locales/zh-HK.js +1 -1
- package/cjs/locales/zh-TW.d.ts +1 -1
- package/cjs/locales/zh-TW.js +1 -1
- package/cjs/utils/replace-message.d.ts +1 -0
- package/cjs/utils/replace-message.js +13 -0
- package/cjs/utils/use-lock-scroll.js +6 -2
- package/es/components/action-sheet/action-sheet.css +1 -1
- package/es/components/badge/badge.css +1 -1
- package/es/components/button/button.css +2 -2
- package/es/components/calendar/calendar.js +5 -1
- package/es/components/cascader/cascader.d.ts +2 -2
- package/es/components/cascader/index.d.ts +4 -4
- package/es/components/cascader/prompt.d.ts +1 -1
- package/es/components/cascader-view/cascader-view.d.ts +2 -1
- package/es/components/center-popup/center-popup.js +6 -5
- package/es/components/check-list/check-list-item.d.ts +2 -1
- package/es/components/check-list/check-list.d.ts +4 -3
- package/es/components/check-list/context.d.ts +4 -3
- package/es/components/check-list/index.d.ts +1 -1
- package/es/components/checkbox/checkbox.css +1 -1
- package/es/components/collapse/collapse.js +27 -12
- package/es/components/ellipsis/ellipsis.js +4 -5
- package/es/components/error-block/create-error-block.js +4 -4
- package/es/components/error-block/error-block.css +1 -1
- package/es/components/floating-panel/floating-panel.js +8 -7
- package/es/components/footer/footer.css +1 -1
- package/es/components/form/form-item.d.ts +1 -1
- package/es/components/form/form-item.js +6 -9
- package/es/components/form/form.css +1 -1
- package/es/components/form/index.css +1 -1
- package/es/components/image-uploader/image-uploader.css +1 -1
- package/es/components/image-viewer/image-viewer.css +1 -1
- package/es/components/input/input.d.ts +2 -8
- package/es/components/notice-bar/notice-bar.css +5 -5
- package/es/components/number-keyboard/number-keyboard.css +2 -2
- package/es/components/page-indicator/page-indicator.css +1 -1
- package/es/components/passcode-input/passcode-input.css +1 -1
- package/es/components/picker-view/wheel.js +61 -14
- package/es/components/popover/popover-menu.css +2 -2
- package/es/components/progress-bar/progress-bar.css +2 -2
- package/es/components/progress-circle/progress-circle.css +1 -1
- package/es/components/pull-to-refresh/pull-to-refresh.js +1 -1
- package/es/components/radio/radio.css +1 -1
- package/es/components/rate/rate.css +3 -3
- package/es/components/rate/rate.d.ts +1 -1
- package/es/components/selector/selector.css +1 -1
- package/es/components/steps/steps.css +3 -3
- package/es/components/steps/steps.js +5 -5
- package/es/components/swipe-action/swipe-action.d.ts +4 -3
- package/es/components/tag/tag.js +1 -1
- package/es/components/text-area/text-area.js +11 -2
- package/es/components/toast/toast.css +2 -2
- package/es/components/tree-select/tree-select.css +1 -1
- package/es/components/water-mark/water-mark.js +1 -1
- package/es/global/global.css +8 -0
- package/es/global/theme-dark.css +3 -0
- package/es/global/theme-default.css +4 -0
- package/es/locales/base.d.ts +1 -1
- package/es/locales/base.js +1 -1
- package/es/locales/da-DK.d.ts +1 -1
- package/es/locales/da-DK.js +1 -1
- package/es/locales/en-US.d.ts +1 -1
- package/es/locales/es-ES.d.ts +1 -1
- package/es/locales/es-ES.js +1 -1
- package/es/locales/fa-IR.d.ts +1 -1
- package/es/locales/fa-IR.js +1 -1
- package/es/locales/fr-FR.d.ts +1 -1
- package/es/locales/fr-FR.js +1 -1
- package/es/locales/id-ID.d.ts +1 -1
- package/es/locales/id-ID.js +1 -1
- package/es/locales/it-IT.d.ts +1 -1
- package/es/locales/it-IT.js +1 -1
- package/es/locales/ja-JP.d.ts +1 -1
- package/es/locales/ja-JP.js +1 -1
- package/es/locales/kk-KZ.d.ts +1 -1
- package/es/locales/kk-KZ.js +1 -1
- package/es/locales/ko-KR.d.ts +1 -1
- package/es/locales/ko-KR.js +1 -1
- package/es/locales/nb-NO.d.ts +1 -1
- package/es/locales/nb-NO.js +1 -1
- package/es/locales/nl-NL.d.ts +1 -1
- package/es/locales/nl-NL.js +1 -1
- package/es/locales/ru-RU.d.ts +1 -1
- package/es/locales/ru-RU.js +1 -1
- package/es/locales/zh-CN.d.ts +1 -1
- package/es/locales/zh-CN.js +1 -1
- package/es/locales/zh-HK.d.ts +1 -1
- package/es/locales/zh-HK.js +1 -1
- package/es/locales/zh-TW.d.ts +1 -1
- package/es/locales/zh-TW.js +1 -1
- package/es/utils/replace-message.d.ts +1 -0
- package/es/utils/replace-message.js +7 -0
- package/es/utils/use-lock-scroll.js +6 -2
- package/package.json +1 -1
- package/umd/antd-mobile.js +1 -1
|
@@ -4,11 +4,11 @@ export type { CascaderProps, CascaderRef, CascaderActions } from './cascader';
|
|
|
4
4
|
export type { CascaderValue, CascaderValueExtend, CascaderOption, } from '../cascader-view';
|
|
5
5
|
declare const _default: import("react").ForwardRefExoticComponent<{
|
|
6
6
|
options: import("../cascader-view").CascaderOption[];
|
|
7
|
-
value?:
|
|
8
|
-
defaultValue?:
|
|
7
|
+
value?: import("../check-list").CheckListValue[] | undefined;
|
|
8
|
+
defaultValue?: import("../check-list").CheckListValue[] | undefined;
|
|
9
9
|
placeholder?: string | undefined;
|
|
10
|
-
onSelect?: ((value:
|
|
11
|
-
onConfirm?: ((value:
|
|
10
|
+
onSelect?: ((value: import("../check-list").CheckListValue[], extend: import("../cascader-view").CascaderValueExtend) => void) | undefined;
|
|
11
|
+
onConfirm?: ((value: import("../check-list").CheckListValue[], extend: import("../cascader-view").CascaderValueExtend) => void) | undefined;
|
|
12
12
|
onCancel?: (() => void) | undefined;
|
|
13
13
|
onClose?: (() => void) | undefined;
|
|
14
14
|
visible?: boolean | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { CascaderProps } from './index';
|
|
2
|
-
export declare function prompt(props: Omit<CascaderProps, 'value' | 'visible' | 'children'>): Promise<
|
|
2
|
+
export declare function prompt(props: Omit<CascaderProps, 'value' | 'visible' | 'children'>): Promise<import("../check-list").CheckListValue[] | null>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { CheckListValue } from '../check-list';
|
|
2
3
|
import { NativeProps } from '../../utils/native-props';
|
|
3
|
-
export declare type CascaderValue =
|
|
4
|
+
export declare type CascaderValue = CheckListValue;
|
|
4
5
|
export declare type CascaderOption = {
|
|
5
6
|
label: string;
|
|
6
7
|
value: string;
|
|
@@ -12,6 +12,7 @@ import { ShouldRender } from '../../utils/should-render';
|
|
|
12
12
|
import { useLockScroll } from '../../utils/use-lock-scroll';
|
|
13
13
|
import { CloseOutline } from 'antd-mobile-icons';
|
|
14
14
|
import { defaultPopupBaseProps } from '../popup/popup-base-props';
|
|
15
|
+
const classPrefix = 'adm-center-popup';
|
|
15
16
|
const defaultProps = Object.assign(Object.assign({}, defaultPopupBaseProps), {
|
|
16
17
|
getContainer: null
|
|
17
18
|
});
|
|
@@ -48,11 +49,11 @@ export const CenterPopup = p => {
|
|
|
48
49
|
useLockScroll(ref, props.disableBodyScroll && active);
|
|
49
50
|
const maskVisible = useInnerVisible(active && props.visible);
|
|
50
51
|
const body = React.createElement("div", {
|
|
51
|
-
className: classNames(
|
|
52
|
+
className: classNames(`${classPrefix}-body`, props.bodyClassName),
|
|
52
53
|
style: props.bodyStyle
|
|
53
54
|
}, props.children);
|
|
54
55
|
const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React.createElement("div", {
|
|
55
|
-
className:
|
|
56
|
+
className: classPrefix,
|
|
56
57
|
style: {
|
|
57
58
|
display: active ? undefined : 'none',
|
|
58
59
|
pointerEvents: active ? undefined : 'none'
|
|
@@ -69,18 +70,18 @@ export const CenterPopup = p => {
|
|
|
69
70
|
}
|
|
70
71
|
},
|
|
71
72
|
style: props.maskStyle,
|
|
72
|
-
className: classNames(
|
|
73
|
+
className: classNames(`${classPrefix}-mask`, props.maskClassName),
|
|
73
74
|
disableBodyScroll: false,
|
|
74
75
|
stopPropagation: props.stopPropagation
|
|
75
76
|
}), React.createElement("div", {
|
|
76
|
-
className:
|
|
77
|
+
className: `${classPrefix}-wrap`,
|
|
77
78
|
role: props.role,
|
|
78
79
|
"aria-label": props['aria-label']
|
|
79
80
|
}, React.createElement(animated.div, {
|
|
80
81
|
style: style,
|
|
81
82
|
ref: ref
|
|
82
83
|
}, props.showCloseButton && React.createElement("a", {
|
|
83
|
-
className: classNames(
|
|
84
|
+
className: classNames(`${classPrefix}-close`, 'adm-plain-anchor'),
|
|
84
85
|
onClick: () => {
|
|
85
86
|
var _a;
|
|
86
87
|
(_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ListItemProps } from '../list';
|
|
3
3
|
import { NativeProps } from '../../utils/native-props';
|
|
4
|
+
import { CheckListValue } from '.';
|
|
4
5
|
export declare type CheckListItemProps = Pick<ListItemProps, 'title' | 'children' | 'description' | 'prefix' | 'disabled' | 'onClick' | 'style'> & {
|
|
5
|
-
value:
|
|
6
|
+
value: CheckListValue;
|
|
6
7
|
readOnly?: boolean;
|
|
7
8
|
} & NativeProps;
|
|
8
9
|
export declare const CheckListItem: FC<CheckListItemProps>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React, { FC, ReactNode } from 'react';
|
|
2
2
|
import { NativeProps } from '../../utils/native-props';
|
|
3
3
|
import { ListProps } from '../list';
|
|
4
|
+
export declare type CheckListValue = string | number;
|
|
4
5
|
export declare type CheckListProps = Pick<ListProps, 'mode' | 'style'> & {
|
|
5
|
-
defaultValue?:
|
|
6
|
-
value?:
|
|
7
|
-
onChange?: (val:
|
|
6
|
+
defaultValue?: CheckListValue[];
|
|
7
|
+
value?: CheckListValue[];
|
|
8
|
+
onChange?: (val: CheckListValue[]) => void;
|
|
8
9
|
multiple?: boolean;
|
|
9
10
|
activeIcon?: ReactNode;
|
|
10
11
|
extra?: (active: boolean) => ReactNode;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { CheckListValue } from '.';
|
|
2
3
|
export declare const CheckListContext: import("react").Context<{
|
|
3
|
-
value:
|
|
4
|
-
check: (val:
|
|
5
|
-
uncheck: (val:
|
|
4
|
+
value: CheckListValue[];
|
|
5
|
+
check: (val: CheckListValue) => void;
|
|
6
|
+
uncheck: (val: CheckListValue) => void;
|
|
6
7
|
activeIcon?: ReactNode;
|
|
7
8
|
extra?: ((active: boolean) => ReactNode) | undefined;
|
|
8
9
|
disabled?: boolean | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './check-list.less';
|
|
2
|
-
export type { CheckListProps } from './check-list';
|
|
2
|
+
export type { CheckListValue, CheckListProps } from './check-list';
|
|
3
3
|
export type { CheckListItemProps } from './check-list-item';
|
|
4
4
|
declare const _default: import("react").FC<import("./check-list").CheckListProps> & {
|
|
5
5
|
Item: import("react").FC<import("./check-list-item").CheckListItemProps>;
|
|
@@ -78,7 +78,6 @@ const CollapsePanelContent = props => {
|
|
|
78
78
|
}, React.createElement(List.Item, null, shouldRender && props.children)));
|
|
79
79
|
};
|
|
80
80
|
export const Collapse = props => {
|
|
81
|
-
var _a;
|
|
82
81
|
const panels = [];
|
|
83
82
|
traverseReactNode(props.children, child => {
|
|
84
83
|
if (!isValidElement(child)) return;
|
|
@@ -86,18 +85,34 @@ export const Collapse = props => {
|
|
|
86
85
|
if (typeof key !== 'string') return;
|
|
87
86
|
panels.push(child);
|
|
88
87
|
});
|
|
89
|
-
const
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
88
|
+
const handlePropsValue = () => {
|
|
89
|
+
var _a;
|
|
90
|
+
if (!props.accordion) {
|
|
91
|
+
return {
|
|
92
|
+
value: props.activeKey,
|
|
93
|
+
defaultValue: (_a = props.defaultActiveKey) !== null && _a !== void 0 ? _a : [],
|
|
94
|
+
onChange: props.onChange
|
|
95
|
+
};
|
|
95
96
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
const initValue = {
|
|
98
|
+
value: [],
|
|
99
|
+
defaultValue: [],
|
|
100
|
+
onChange: v => {
|
|
101
|
+
var _a, _b;
|
|
102
|
+
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, (_b = v[0]) !== null && _b !== void 0 ? _b : null);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
if (props.activeKey === undefined) {
|
|
106
|
+
initValue.value = undefined;
|
|
107
|
+
} else if (props.activeKey !== null) {
|
|
108
|
+
initValue.value = [props.activeKey];
|
|
109
|
+
}
|
|
110
|
+
if (![null, undefined].includes(props.defaultActiveKey)) {
|
|
111
|
+
initValue.defaultValue = [props.defaultActiveKey];
|
|
112
|
+
}
|
|
113
|
+
return initValue;
|
|
114
|
+
};
|
|
115
|
+
const [activeKey, setActiveKey] = usePropsValue(handlePropsValue());
|
|
101
116
|
const activeKeyList = activeKey === null ? [] : Array.isArray(activeKey) ? activeKey : [activeKey];
|
|
102
117
|
return withNativeProps(props, React.createElement("div", {
|
|
103
118
|
className: classPrefix
|
|
@@ -45,7 +45,6 @@ export const Ellipsis = p => {
|
|
|
45
45
|
container.style.minHeight = 'auto';
|
|
46
46
|
container.style.maxHeight = 'auto';
|
|
47
47
|
container.style.textOverflow = 'clip';
|
|
48
|
-
container.style.whiteSpace = 'normal';
|
|
49
48
|
container.style.webkitLineClamp = 'unset';
|
|
50
49
|
container.style.display = 'block';
|
|
51
50
|
const lineHeight = pxToNumber(originStyle.lineHeight);
|
|
@@ -118,18 +117,18 @@ export const Ellipsis = p => {
|
|
|
118
117
|
useIsomorphicLayoutEffect(() => {
|
|
119
118
|
calcEllipsised();
|
|
120
119
|
}, [props.content, props.direction, props.rows, props.expandText, props.collapseText]);
|
|
121
|
-
const expandActionElement =
|
|
120
|
+
const expandActionElement = !!props.expandText && withStopPropagation(props.stopPropagationForActionButtons, React.createElement("a", {
|
|
122
121
|
ref: expandElRef,
|
|
123
122
|
onClick: () => {
|
|
124
123
|
setExpanded(true);
|
|
125
124
|
}
|
|
126
|
-
}, props.expandText))
|
|
127
|
-
const collapseActionElement =
|
|
125
|
+
}, props.expandText));
|
|
126
|
+
const collapseActionElement = !!props.collapseText && withStopPropagation(props.stopPropagationForActionButtons, React.createElement("a", {
|
|
128
127
|
ref: collapseElRef,
|
|
129
128
|
onClick: () => {
|
|
130
129
|
setExpanded(false);
|
|
131
130
|
}
|
|
132
|
-
}, props.collapseText))
|
|
131
|
+
}, props.collapseText));
|
|
133
132
|
const renderContent = () => {
|
|
134
133
|
if (!exceeded) return props.content;
|
|
135
134
|
if (expanded) return React.createElement(React.Fragment, null, props.content, collapseActionElement);
|
|
@@ -15,7 +15,7 @@ export function createErrorBlock(imageRecord) {
|
|
|
15
15
|
locale
|
|
16
16
|
} = useConfig();
|
|
17
17
|
const contentPack = locale.ErrorBlock[props.status];
|
|
18
|
-
const
|
|
18
|
+
const desc = 'description' in props ? props.description : contentPack.description;
|
|
19
19
|
const title = 'title' in props ? props.title : contentPack.title;
|
|
20
20
|
const image = (_a = props.image) !== null && _a !== void 0 ? _a : imageRecord[props.status];
|
|
21
21
|
const imageNode = typeof image === 'string' ? React.createElement("img", {
|
|
@@ -30,11 +30,11 @@ export function createErrorBlock(imageRecord) {
|
|
|
30
30
|
className: `${classPrefix}-image`
|
|
31
31
|
}, imageNode), React.createElement("div", {
|
|
32
32
|
className: `${classPrefix}-description`
|
|
33
|
-
}, title && React.createElement("div", {
|
|
33
|
+
}, ![undefined, null].includes(title) && React.createElement("div", {
|
|
34
34
|
className: `${classPrefix}-description-title`
|
|
35
|
-
}, title),
|
|
35
|
+
}, title), ![undefined, null].includes(desc) && React.createElement("div", {
|
|
36
36
|
className: `${classPrefix}-description-subtitle`
|
|
37
|
-
},
|
|
37
|
+
}, desc)), props.children && React.createElement("div", {
|
|
38
38
|
className: `${classPrefix}-content`
|
|
39
39
|
}, props.children)));
|
|
40
40
|
};
|
|
@@ -7,6 +7,7 @@ import { nearest } from '../../utils/nearest';
|
|
|
7
7
|
import { mergeProps } from '../../utils/with-default-props';
|
|
8
8
|
import { useLockScroll } from '../../utils/use-lock-scroll';
|
|
9
9
|
import { useMemoizedFn } from 'ahooks';
|
|
10
|
+
const classPrefix = 'adm-floating-panel';
|
|
10
11
|
const defaultProps = {
|
|
11
12
|
handleDraggingOfContent: true
|
|
12
13
|
};
|
|
@@ -65,7 +66,7 @@ export const FloatingPanel = forwardRef((p, ref) => {
|
|
|
65
66
|
const {
|
|
66
67
|
event
|
|
67
68
|
} = state;
|
|
68
|
-
if (event.cancelable) {
|
|
69
|
+
if (event.cancelable && supportsPassive) {
|
|
69
70
|
event.preventDefault();
|
|
70
71
|
}
|
|
71
72
|
event.stopPropagation();
|
|
@@ -89,7 +90,7 @@ export const FloatingPanel = forwardRef((p, ref) => {
|
|
|
89
90
|
target: elementRef,
|
|
90
91
|
eventOptions: supportsPassive ? {
|
|
91
92
|
passive: false
|
|
92
|
-
} :
|
|
93
|
+
} : undefined
|
|
93
94
|
});
|
|
94
95
|
useImperativeHandle(ref, () => ({
|
|
95
96
|
setHeight: (height, options) => {
|
|
@@ -102,23 +103,23 @@ export const FloatingPanel = forwardRef((p, ref) => {
|
|
|
102
103
|
useLockScroll(elementRef, true);
|
|
103
104
|
return withNativeProps(props, React.createElement(animated.div, {
|
|
104
105
|
ref: elementRef,
|
|
105
|
-
className:
|
|
106
|
+
className: classPrefix,
|
|
106
107
|
style: {
|
|
107
108
|
height: Math.round(maxHeight),
|
|
108
109
|
translateY: y.to(y => `calc(100% + (${Math.round(y)}px))`)
|
|
109
110
|
}
|
|
110
111
|
}, React.createElement("div", {
|
|
111
|
-
className:
|
|
112
|
+
className: `${classPrefix}-mask`,
|
|
112
113
|
style: {
|
|
113
114
|
display: pulling ? 'block' : 'none'
|
|
114
115
|
}
|
|
115
116
|
}), React.createElement("div", {
|
|
116
|
-
className:
|
|
117
|
+
className: `${classPrefix}-header`,
|
|
117
118
|
ref: headerRef
|
|
118
119
|
}, React.createElement("div", {
|
|
119
|
-
className:
|
|
120
|
+
className: `${classPrefix}-bar`
|
|
120
121
|
})), React.createElement("div", {
|
|
121
|
-
className:
|
|
122
|
+
className: `${classPrefix}-content`,
|
|
122
123
|
ref: contentRef
|
|
123
124
|
}, props.children)));
|
|
124
125
|
});
|
|
@@ -2,8 +2,8 @@ import React, { FC } from 'react';
|
|
|
2
2
|
import { NativeProps } from '../../utils/native-props';
|
|
3
3
|
import { FormInstance } from 'rc-field-form';
|
|
4
4
|
import type { FieldProps } from 'rc-field-form/lib/Field';
|
|
5
|
-
import { ListItemProps } from '../list';
|
|
6
5
|
import type { FormLayout } from './index';
|
|
6
|
+
import { ListItemProps } from '../list';
|
|
7
7
|
declare type RenderChildren<Values = any> = (form: FormInstance<Values>) => React.ReactNode;
|
|
8
8
|
declare type ChildrenType<Values = any> = RenderChildren<Values> | React.ReactNode;
|
|
9
9
|
declare type RcFieldProps = Omit<FieldProps, 'children'>;
|
|
@@ -20,7 +20,6 @@ const MemoInput = React.memo(({
|
|
|
20
20
|
const FormItemLayout = props => {
|
|
21
21
|
var _a;
|
|
22
22
|
const {
|
|
23
|
-
className,
|
|
24
23
|
style,
|
|
25
24
|
extra,
|
|
26
25
|
label,
|
|
@@ -62,7 +61,7 @@ const FormItemLayout = props => {
|
|
|
62
61
|
return null;
|
|
63
62
|
}
|
|
64
63
|
})();
|
|
65
|
-
const labelElement = label
|
|
64
|
+
const labelElement = !!label && React.createElement("label", {
|
|
66
65
|
className: `${classPrefix}-label`,
|
|
67
66
|
htmlFor: htmlFor
|
|
68
67
|
}, label, requiredMark, help && React.createElement(Popover, {
|
|
@@ -74,21 +73,21 @@ const FormItemLayout = props => {
|
|
|
74
73
|
onClick: e => {
|
|
75
74
|
e.preventDefault();
|
|
76
75
|
}
|
|
77
|
-
}, React.createElement(QuestionCircleOutline, null))))
|
|
78
|
-
const description = props.description || hasFeedback
|
|
76
|
+
}, React.createElement(QuestionCircleOutline, null))));
|
|
77
|
+
const description = (!!props.description || hasFeedback) && React.createElement(React.Fragment, null, props.description, hasFeedback && React.createElement(React.Fragment, null, props.errors.map((error, index) => React.createElement("div", {
|
|
79
78
|
key: `error-${index}`,
|
|
80
79
|
className: `${classPrefix}-feedback-error`
|
|
81
80
|
}, error)), props.warnings.map((warning, index) => React.createElement("div", {
|
|
82
81
|
key: `warning-${index}`,
|
|
83
82
|
className: `${classPrefix}-feedback-warning`
|
|
84
|
-
}, warning))))
|
|
83
|
+
}, warning))));
|
|
85
84
|
return withNativeProps(props, React.createElement(List.Item, {
|
|
86
85
|
style: style,
|
|
87
86
|
title: layout === 'vertical' && labelElement,
|
|
88
87
|
prefix: layout === 'horizontal' && labelElement,
|
|
89
88
|
extra: extra,
|
|
90
89
|
description: description,
|
|
91
|
-
className: classNames(classPrefix,
|
|
90
|
+
className: classNames(classPrefix, `${classPrefix}-${layout}`, {
|
|
92
91
|
[`${classPrefix}-hidden`]: hidden,
|
|
93
92
|
[`${classPrefix}-has-error`]: props.errors.length
|
|
94
93
|
}),
|
|
@@ -105,7 +104,6 @@ const FormItemLayout = props => {
|
|
|
105
104
|
export const FormItem = props => {
|
|
106
105
|
const {
|
|
107
106
|
// 样式相关
|
|
108
|
-
className,
|
|
109
107
|
style,
|
|
110
108
|
// FormItem 相关
|
|
111
109
|
label,
|
|
@@ -132,7 +130,7 @@ export const FormItem = props => {
|
|
|
132
130
|
clickable,
|
|
133
131
|
arrow
|
|
134
132
|
} = props,
|
|
135
|
-
fieldProps = __rest(props, ["
|
|
133
|
+
fieldProps = __rest(props, ["style", "label", "help", "extra", "hasFeedback", "name", "required", "noStyle", "hidden", "layout", "childElementPosition", "description", "disabled", "rules", "children", "messageVariables", "trigger", "validateTrigger", "onClick", "shouldUpdate", "dependencies", "clickable", "arrow"]);
|
|
136
134
|
const {
|
|
137
135
|
name: formName
|
|
138
136
|
} = useContext(FormContext);
|
|
@@ -180,7 +178,6 @@ export const FormItem = props => {
|
|
|
180
178
|
return subWarnings;
|
|
181
179
|
}, curWarnings);
|
|
182
180
|
return withNativeProps(props, React.createElement(FormItemLayout, {
|
|
183
|
-
className: className,
|
|
184
181
|
style: style,
|
|
185
182
|
label: label,
|
|
186
183
|
extra: extra,
|
|
@@ -4,13 +4,10 @@ declare type NativeInputProps = React.DetailedHTMLProps<React.InputHTMLAttribute
|
|
|
4
4
|
declare type AriaProps = {
|
|
5
5
|
role?: string;
|
|
6
6
|
};
|
|
7
|
-
export declare type InputProps = Pick<NativeInputProps, 'maxLength' | 'minLength' | 'autoComplete' | 'autoFocus' | 'pattern' | 'inputMode' | 'type' | 'name' | 'onFocus' | 'onBlur' | 'autoCapitalize' | 'autoCorrect' | 'onKeyDown' | 'onKeyUp' | 'onCompositionStart' | 'onCompositionEnd' | 'onClick' | 'step' | 'id'> & {
|
|
7
|
+
export declare type InputProps = Pick<NativeInputProps, 'maxLength' | 'minLength' | 'autoComplete' | 'autoFocus' | 'pattern' | 'inputMode' | 'type' | 'name' | 'onFocus' | 'onBlur' | 'autoCapitalize' | 'autoCorrect' | 'onKeyDown' | 'onKeyUp' | 'onCompositionStart' | 'onCompositionEnd' | 'onClick' | 'step' | 'id' | 'placeholder' | 'readOnly' | 'disabled'> & {
|
|
8
8
|
value?: string;
|
|
9
9
|
defaultValue?: string;
|
|
10
10
|
onChange?: (val: string) => void;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
readOnly?: boolean;
|
|
14
11
|
clearable?: boolean;
|
|
15
12
|
onlyShowClearWhenFocus?: boolean;
|
|
16
13
|
onClear?: () => void;
|
|
@@ -25,13 +22,10 @@ export declare type InputRef = {
|
|
|
25
22
|
blur: () => void;
|
|
26
23
|
nativeElement: HTMLInputElement | null;
|
|
27
24
|
};
|
|
28
|
-
export declare const Input: React.ForwardRefExoticComponent<Pick<NativeInputProps, "pattern" | "id" | "onClick" | "onCompositionEnd" | "onCompositionStart" | "onFocus" | "onBlur" | "onKeyDown" | "onKeyUp" | "type" | "step" | "autoFocus" | "autoCapitalize" | "autoCorrect" | "inputMode" | "name" | "autoComplete" | "maxLength" | "minLength"> & {
|
|
25
|
+
export declare const Input: React.ForwardRefExoticComponent<Pick<NativeInputProps, "pattern" | "id" | "onClick" | "disabled" | "onCompositionEnd" | "onCompositionStart" | "onFocus" | "onBlur" | "onKeyDown" | "onKeyUp" | "type" | "step" | "autoFocus" | "placeholder" | "autoCapitalize" | "autoCorrect" | "inputMode" | "name" | "readOnly" | "autoComplete" | "maxLength" | "minLength"> & {
|
|
29
26
|
value?: string | undefined;
|
|
30
27
|
defaultValue?: string | undefined;
|
|
31
28
|
onChange?: ((val: string) => void) | undefined;
|
|
32
|
-
placeholder?: string | undefined;
|
|
33
|
-
disabled?: boolean | undefined;
|
|
34
|
-
readOnly?: boolean | undefined;
|
|
35
29
|
clearable?: boolean | undefined;
|
|
36
30
|
onlyShowClearWhenFocus?: boolean | undefined;
|
|
37
31
|
onClear?: (() => void) | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.adm-notice-bar {
|
|
2
|
-
--background-color:
|
|
3
|
-
--border-color:
|
|
2
|
+
--background-color: var(--adm-color-weak);
|
|
3
|
+
--border-color: var(--adm-color-weak);
|
|
4
4
|
--text-color: var(--adm-color-text-light-solid);
|
|
5
5
|
--font-size: var(--adm-font-size-7);
|
|
6
6
|
--icon-font-size: var(--adm-font-size-10);
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
.adm-notice-bar.adm-notice-bar-alert {
|
|
25
25
|
--background-color: #fff9ed;
|
|
26
26
|
--border-color: #fff3e9;
|
|
27
|
-
--text-color:
|
|
27
|
+
--text-color: var(--adm-color-orange);
|
|
28
28
|
}
|
|
29
29
|
.adm-notice-bar.adm-notice-bar-error {
|
|
30
|
-
--background-color:
|
|
30
|
+
--background-color: var(--adm-color-danger);
|
|
31
31
|
--border-color: #d9281e;
|
|
32
32
|
--text-color: #ffffff;
|
|
33
33
|
}
|
|
34
34
|
.adm-notice-bar.adm-notice-bar-info {
|
|
35
35
|
--background-color: #d0e4ff;
|
|
36
36
|
--border-color: #bcd8ff;
|
|
37
|
-
--text-color:
|
|
37
|
+
--text-color: var(--adm-color-primary);
|
|
38
38
|
}
|
|
39
39
|
.adm-notice-bar .adm-notice-bar-left {
|
|
40
40
|
flex-shrink: 0;
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
left: 50%;
|
|
74
74
|
width: 100%;
|
|
75
75
|
height: 100%;
|
|
76
|
-
background-color:
|
|
76
|
+
background-color: var(--adm-color-text-dark-solid);
|
|
77
77
|
border: inherit;
|
|
78
|
-
border-color:
|
|
78
|
+
border-color: var(--adm-color-text-dark-solid);
|
|
79
79
|
border-radius: inherit;
|
|
80
80
|
transform: translate(-50%, -50%);
|
|
81
81
|
opacity: 0;
|