@ebscn/ui 1.0.0 → 1.0.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -28
- package/assets/images/delete.png +0 -0
- package/assets/images/hand.png +0 -0
- package/assets/images/loading.webp +0 -0
- package/assets/images/pull_loading_grey.png +0 -0
- package/assets/images/pull_loading_refreshing_grey.gif +0 -0
- package/assets/images/pull_loading_refreshing_white.gif +0 -0
- package/assets/images/pull_loading_white.png +0 -0
- package/cjs/assets/images/delete.png +0 -0
- package/cjs/assets/images/hand.png +0 -0
- package/cjs/assets/images/loading.webp +0 -0
- package/cjs/assets/images/pull_loading_grey.png +0 -0
- package/cjs/assets/images/pull_loading_refreshing_grey.gif +0 -0
- package/cjs/assets/images/pull_loading_refreshing_white.gif +0 -0
- package/cjs/assets/images/pull_loading_white.png +0 -0
- package/cjs/components/alphabet-keyboard/alphabet-keyboard.css +1 -1
- package/cjs/components/button/button.d.ts +2 -2
- package/cjs/components/button/button.js +2 -2
- package/cjs/components/button/index.d.ts +3 -1
- package/cjs/components/button/index.js +13 -2
- package/cjs/components/button/selectorButton.css +15 -0
- package/cjs/components/button/selectorButton.d.ts +11 -0
- package/cjs/components/button/selectorButton.js +157 -0
- package/cjs/components/card/card.css +2 -2
- package/cjs/components/card/card.d.ts +1 -1
- package/cjs/components/checkbox/checkbox.css +1 -0
- package/cjs/components/checkbox/checkbox.js +3 -3
- package/cjs/components/date-picker/date-picker-date-utils.d.ts +7 -0
- package/cjs/components/date-picker/date-picker-date-utils.js +178 -0
- package/cjs/components/date-picker/date-picker-utils.d.ts +10 -0
- package/cjs/components/date-picker/date-picker-utils.js +51 -0
- package/cjs/components/date-picker/date-picker-week-utils.d.ts +7 -0
- package/cjs/components/date-picker/date-picker-week-utils.js +115 -0
- package/cjs/components/date-picker/date-picker.css +0 -0
- package/cjs/components/date-picker/date-picker.d.ts +40 -0
- package/cjs/components/date-picker/date-picker.js +92 -0
- package/cjs/components/date-picker/index.d.ts +28 -0
- package/cjs/components/date-picker/index.js +15 -0
- package/cjs/components/date-picker/prompt.d.ts +3 -0
- package/cjs/components/date-picker/prompt.js +53 -0
- package/cjs/components/date-picker/util.d.ts +4 -0
- package/cjs/components/date-picker/util.js +7 -0
- package/cjs/components/date-picker-view/date-picker-view.d.ts +18 -0
- package/cjs/components/date-picker-view/date-picker-view.js +60 -0
- package/cjs/components/date-picker-view/index.d.ts +4 -0
- package/cjs/components/date-picker-view/index.js +8 -0
- package/cjs/components/date-picker-view/useRenderLabel.d.ts +2 -0
- package/cjs/components/date-picker-view/useRenderLabel.js +25 -0
- package/cjs/components/date-range-picker/date-range-picker.css +94 -0
- package/cjs/components/date-range-picker/date-range-picker.d.ts +78 -0
- package/cjs/components/date-range-picker/date-range-picker.js +339 -0
- package/cjs/components/date-range-picker/index.d.ts +79 -0
- package/cjs/components/date-range-picker/index.js +13 -0
- package/cjs/components/divider/divider.css +39 -0
- package/cjs/components/divider/divider.d.ts +9 -0
- package/cjs/components/divider/divider.js +36 -0
- package/cjs/components/divider/index.d.ts +4 -0
- package/cjs/components/divider/index.js +9 -0
- package/cjs/components/grid/grid.css +2 -2
- package/cjs/components/grid/grid.js +1 -1
- package/cjs/components/handRead/handRead.css +54 -0
- package/cjs/components/handRead/handRead.d.ts +6 -0
- package/cjs/components/handRead/handRead.js +248 -0
- package/cjs/components/handRead/index.d.ts +25 -0
- package/cjs/components/handRead/index.js +9 -0
- package/cjs/components/header/header.css +62 -0
- package/cjs/components/header/header.d.ts +14 -0
- package/cjs/components/header/header.js +39 -0
- package/cjs/components/header/index.d.ts +4 -0
- package/cjs/components/header/index.js +10 -0
- package/cjs/components/icons/back-icon.d.ts +4 -0
- package/cjs/components/icons/back-icon.js +38 -0
- package/cjs/components/icons/check-icon.js +2 -1
- package/cjs/components/icons/check-only-icon.js +2 -1
- package/cjs/components/icons/clear-icon.js +1 -1
- package/cjs/components/icons/close-icon.d.ts +4 -0
- package/cjs/components/icons/close-icon.js +36 -0
- package/cjs/components/icons/gdlogo-icon.d.ts +4 -0
- package/cjs/components/icons/gdlogo-icon.js +41 -0
- package/cjs/components/icons/indeterminate-icon.js +2 -1
- package/cjs/components/icons/index.d.ts +7 -0
- package/cjs/components/icons/index.js +49 -0
- package/cjs/components/icons/loading-icon.js +2 -1
- package/cjs/components/icons/notice-icon.d.ts +4 -0
- package/cjs/components/icons/notice-icon.js +24 -0
- package/cjs/components/icons/right-icon.d.ts +4 -0
- package/cjs/components/icons/right-icon.js +24 -0
- package/cjs/components/icons/search-icon.js +1 -1
- package/cjs/components/icons/selector-icon.d.ts +4 -0
- package/cjs/components/icons/selector-icon.js +33 -0
- package/cjs/components/icons/spin-icon.js +2 -1
- package/cjs/components/icons/uncheck-icon.js +2 -1
- package/cjs/components/icons/warning-icon.d.ts +4 -0
- package/cjs/components/icons/warning-icon.js +34 -0
- package/cjs/components/mask/index.d.ts +4 -0
- package/cjs/components/mask/index.js +9 -0
- package/cjs/components/mask/mask.css +22 -0
- package/cjs/components/mask/mask.d.ts +20 -0
- package/cjs/components/mask/mask.js +113 -0
- package/cjs/components/mask/mask.patch.css +3 -0
- package/cjs/components/notice-bar/index.d.ts +10 -0
- package/cjs/components/notice-bar/index.js +20 -0
- package/cjs/components/notice-bar/notice-bar-graph-item.d.ts +10 -0
- package/cjs/components/notice-bar/notice-bar-graph-item.js +16 -0
- package/cjs/components/notice-bar/notice-bar-graph.d.ts +19 -0
- package/cjs/components/notice-bar/notice-bar-graph.js +237 -0
- package/cjs/components/notice-bar/notice-bar.css +109 -0
- package/cjs/components/notice-bar/notice-bar.d.ts +19 -0
- package/cjs/components/notice-bar/notice-bar.js +132 -0
- package/cjs/components/number-keyboard/number-keyboard.css +2 -2
- package/cjs/components/page-indicator/index.d.ts +4 -0
- package/cjs/components/page-indicator/index.js +9 -0
- package/cjs/components/page-indicator/page-indicator.css +47 -0
- package/cjs/components/page-indicator/page-indicator.d.ts +9 -0
- package/cjs/components/page-indicator/page-indicator.js +32 -0
- package/cjs/components/pdfLink/pdfLink.js +3 -4
- package/cjs/components/picker/index.d.ts +59 -0
- package/cjs/components/picker/index.js +13 -0
- package/cjs/components/picker/picker-utils.d.ts +3 -0
- package/cjs/components/picker/picker-utils.js +10 -0
- package/cjs/components/picker/picker.css +55 -0
- package/cjs/components/picker/picker.d.ts +57 -0
- package/cjs/components/picker/picker.js +160 -0
- package/cjs/components/picker/prompt.d.ts +2 -0
- package/cjs/components/picker/prompt.js +53 -0
- package/cjs/components/picker-view/columns-extend.d.ts +3 -0
- package/cjs/components/picker-view/columns-extend.js +46 -0
- package/cjs/components/picker-view/index.d.ts +4 -0
- package/cjs/components/picker-view/index.js +9 -0
- package/cjs/components/picker-view/picker-view.css +129 -0
- package/cjs/components/picker-view/picker-view.d.ts +25 -0
- package/cjs/components/picker-view/picker-view.js +94 -0
- package/cjs/components/picker-view/wheel.d.ts +13 -0
- package/cjs/components/picker-view/wheel.js +252 -0
- package/cjs/components/popup/index.d.ts +4 -0
- package/cjs/components/popup/index.js +9 -0
- package/cjs/components/popup/popup-base-props.d.ts +51 -0
- package/cjs/components/popup/popup-base-props.js +19 -0
- package/cjs/components/popup/popup.css +57 -0
- package/cjs/components/popup/popup.d.ts +8 -0
- package/cjs/components/popup/popup.js +145 -0
- package/cjs/components/pro-selector/index.d.ts +30 -0
- package/cjs/components/pro-selector/index.js +12 -0
- package/cjs/components/pro-selector/pro-selector.css +11 -0
- package/cjs/components/pro-selector/pro-selector.d.ts +60 -0
- package/cjs/components/pro-selector/pro-selector.js +310 -0
- package/cjs/components/protocol/protocol.js +4 -4
- package/cjs/components/pull-to-refresh/index.d.ts +4 -0
- package/cjs/components/pull-to-refresh/index.js +9 -0
- package/cjs/components/pull-to-refresh/pull-to-refresh.css +58 -0
- package/cjs/components/pull-to-refresh/pull-to-refresh.d.ts +26 -0
- package/cjs/components/pull-to-refresh/pull-to-refresh.js +345 -0
- package/cjs/components/radio/group.d.ts +1 -1
- package/cjs/components/radio/radio.css +1 -0
- package/cjs/components/radio/radio.js +3 -3
- package/cjs/components/search/search.js +3 -3
- package/cjs/components/selector/check-mark.d.ts +2 -0
- package/cjs/components/selector/check-mark.js +37 -0
- package/cjs/components/selector/index.d.ts +4 -0
- package/cjs/components/selector/index.js +9 -0
- package/cjs/components/selector/selector.css +71 -0
- package/cjs/components/selector/selector.d.ts +27 -0
- package/cjs/components/selector/selector.js +94 -0
- package/cjs/components/skeleton/index.d.ts +11 -0
- package/cjs/components/skeleton/index.js +16 -0
- package/cjs/components/skeleton/skeleton.css +65 -0
- package/cjs/components/skeleton/skeleton.d.ts +29 -0
- package/cjs/components/skeleton/skeleton.js +71 -0
- package/cjs/components/space/index.d.ts +4 -0
- package/cjs/components/space/index.js +9 -0
- package/cjs/components/space/space.css +70 -0
- package/cjs/components/space/space.d.ts +13 -0
- package/cjs/components/space/space.js +30 -0
- package/cjs/components/squared-grid/index.d.ts +7 -0
- package/cjs/components/squared-grid/index.js +12 -0
- package/cjs/components/squared-grid/squared-grid.css +30 -0
- package/cjs/components/squared-grid/squared-grid.d.ts +17 -0
- package/cjs/components/squared-grid/squared-grid.js +91 -0
- package/cjs/components/stock-count-keyboard/stock-count-keyboard.css +2 -2
- package/cjs/components/stock-keyboard/stock-keyboard.css +2 -2
- package/cjs/components/swiper/index.d.ts +35 -0
- package/cjs/components/swiper/index.js +13 -0
- package/cjs/components/swiper/swiper-item.d.ts +9 -0
- package/cjs/components/swiper/swiper-item.js +16 -0
- package/cjs/components/swiper/swiper.css +80 -0
- package/cjs/components/swiper/swiper.d.ts +68 -0
- package/cjs/components/swiper/swiper.js +378 -0
- package/cjs/components/switch/switch.js +2 -2
- package/cjs/components/tabs/index.d.ts +7 -0
- package/cjs/components/tabs/index.js +12 -0
- package/cjs/components/tabs/tabs.css +76 -0
- package/cjs/components/tabs/tabs.d.ts +27 -0
- package/cjs/components/tabs/tabs.js +294 -0
- package/cjs/components/tabs/tabs.patch.css +23 -0
- package/cjs/components/tip/index.d.ts +4 -0
- package/cjs/components/tip/index.js +9 -0
- package/cjs/components/tip/tip.css +22 -0
- package/cjs/components/tip/tip.d.ts +7 -0
- package/cjs/components/tip/tip.js +31 -0
- package/cjs/components/toastLoading/toastLoading.css +0 -1
- package/cjs/components/toastLoading/toastLoading.js +9 -3
- package/cjs/global/global.css +4 -1
- package/cjs/global/theme-default.css +1 -1
- package/cjs/hooks/index.d.ts +5 -0
- package/cjs/hooks/index.js +12 -0
- package/cjs/hooks/useFieldNames.d.ts +7 -0
- package/cjs/hooks/useFieldNames.js +25 -0
- package/cjs/index.d.ts +31 -12
- package/cjs/index.js +190 -24
- package/cjs/utils/convert-px.js +2 -2
- package/cjs/utils/use-lock-scroll.js +1 -1
- package/es/assets/images/delete.png +0 -0
- package/es/assets/images/hand.png +0 -0
- package/es/assets/images/loading.webp +0 -0
- package/es/assets/images/pull_loading_grey.png +0 -0
- package/es/assets/images/pull_loading_refreshing_grey.gif +0 -0
- package/es/assets/images/pull_loading_refreshing_white.gif +0 -0
- package/es/assets/images/pull_loading_white.png +0 -0
- package/es/components/alphabet-keyboard/alphabet-keyboard.css +1 -1
- package/es/components/button/button.d.ts +2 -2
- package/es/components/button/button.js +1 -1
- package/es/components/button/index.d.ts +3 -1
- package/es/components/button/index.js +2 -1
- package/es/components/button/selectorButton.css +15 -0
- package/es/components/button/selectorButton.d.ts +11 -0
- package/es/components/button/selectorButton.js +149 -0
- package/es/components/card/card.css +2 -2
- package/es/components/card/card.d.ts +1 -1
- package/es/components/checkbox/checkbox.css +1 -0
- package/es/components/checkbox/checkbox.js +1 -1
- package/es/components/date-picker/date-picker-date-utils.d.ts +7 -0
- package/es/components/date-picker/date-picker-date-utils.js +169 -0
- package/es/components/date-picker/date-picker-utils.d.ts +10 -0
- package/es/components/date-picker/date-picker-utils.js +40 -0
- package/es/components/date-picker/date-picker-week-utils.d.ts +7 -0
- package/es/components/date-picker/date-picker-week-utils.js +106 -0
- package/es/components/date-picker/date-picker.css +0 -0
- package/es/components/date-picker/date-picker.d.ts +40 -0
- package/es/components/date-picker/date-picker.js +83 -0
- package/es/components/date-picker/index.d.ts +28 -0
- package/es/components/date-picker/index.js +9 -0
- package/es/components/date-picker/prompt.d.ts +3 -0
- package/es/components/date-picker/prompt.js +45 -0
- package/es/components/date-picker/util.d.ts +4 -0
- package/es/components/date-picker/util.js +1 -0
- package/es/components/date-picker-view/date-picker-view.d.ts +18 -0
- package/es/components/date-picker-view/date-picker-view.js +50 -0
- package/es/components/date-picker-view/index.d.ts +4 -0
- package/es/components/date-picker-view/index.js +2 -0
- package/es/components/date-picker-view/useRenderLabel.d.ts +2 -0
- package/es/components/date-picker-view/useRenderLabel.js +19 -0
- package/es/components/date-range-picker/date-range-picker.css +94 -0
- package/es/components/date-range-picker/date-range-picker.d.ts +78 -0
- package/es/components/date-range-picker/date-range-picker.js +330 -0
- package/es/components/date-range-picker/index.d.ts +79 -0
- package/es/components/date-range-picker/index.js +7 -0
- package/es/components/divider/divider.css +39 -0
- package/es/components/divider/divider.d.ts +9 -0
- package/es/components/divider/divider.js +28 -0
- package/es/components/divider/index.d.ts +4 -0
- package/es/components/divider/index.js +3 -0
- package/es/components/grid/grid.css +2 -2
- package/es/components/grid/grid.js +1 -1
- package/es/components/handRead/handRead.css +54 -0
- package/es/components/handRead/handRead.d.ts +6 -0
- package/es/components/handRead/handRead.js +239 -0
- package/es/components/handRead/index.d.ts +25 -0
- package/es/components/handRead/index.js +2 -0
- package/es/components/header/header.css +62 -0
- package/es/components/header/header.d.ts +14 -0
- package/es/components/header/header.js +32 -0
- package/es/components/header/index.d.ts +4 -0
- package/es/components/header/index.js +3 -0
- package/es/components/icons/back-icon.d.ts +4 -0
- package/es/components/icons/back-icon.js +30 -0
- package/es/components/icons/check-icon.js +2 -1
- package/es/components/icons/check-only-icon.js +2 -1
- package/es/components/icons/clear-icon.js +1 -1
- package/es/components/icons/close-icon.d.ts +4 -0
- package/es/components/icons/close-icon.js +28 -0
- package/es/components/icons/gdlogo-icon.d.ts +4 -0
- package/es/components/icons/gdlogo-icon.js +33 -0
- package/es/components/icons/indeterminate-icon.js +2 -1
- package/es/components/icons/index.d.ts +7 -0
- package/es/components/icons/index.js +8 -1
- package/es/components/icons/loading-icon.js +2 -1
- package/es/components/icons/notice-icon.d.ts +4 -0
- package/es/components/icons/notice-icon.js +16 -0
- package/es/components/icons/right-icon.d.ts +4 -0
- package/es/components/icons/right-icon.js +16 -0
- package/es/components/icons/search-icon.js +1 -1
- package/es/components/icons/selector-icon.d.ts +4 -0
- package/es/components/icons/selector-icon.js +25 -0
- package/es/components/icons/spin-icon.js +2 -1
- package/es/components/icons/uncheck-icon.js +2 -1
- package/es/components/icons/warning-icon.d.ts +4 -0
- package/es/components/icons/warning-icon.js +26 -0
- package/es/components/mask/index.d.ts +4 -0
- package/es/components/mask/index.js +3 -0
- package/es/components/mask/mask.css +22 -0
- package/es/components/mask/mask.d.ts +20 -0
- package/es/components/mask/mask.js +104 -0
- package/es/components/mask/mask.patch.css +3 -0
- package/es/components/notice-bar/index.d.ts +10 -0
- package/es/components/notice-bar/index.js +9 -0
- package/es/components/notice-bar/notice-bar-graph-item.d.ts +10 -0
- package/es/components/notice-bar/notice-bar-graph-item.js +8 -0
- package/es/components/notice-bar/notice-bar-graph.d.ts +19 -0
- package/es/components/notice-bar/notice-bar-graph.js +228 -0
- package/es/components/notice-bar/notice-bar.css +109 -0
- package/es/components/notice-bar/notice-bar.d.ts +19 -0
- package/es/components/notice-bar/notice-bar.js +123 -0
- package/es/components/number-keyboard/number-keyboard.css +2 -2
- package/es/components/page-indicator/index.d.ts +4 -0
- package/es/components/page-indicator/index.js +3 -0
- package/es/components/page-indicator/page-indicator.css +47 -0
- package/es/components/page-indicator/page-indicator.d.ts +9 -0
- package/es/components/page-indicator/page-indicator.js +23 -0
- package/es/components/pdfLink/pdfLink.js +1 -2
- package/es/components/picker/index.d.ts +59 -0
- package/es/components/picker/index.js +7 -0
- package/es/components/picker/picker-utils.d.ts +3 -0
- package/es/components/picker/picker-utils.js +3 -0
- package/es/components/picker/picker.css +55 -0
- package/es/components/picker/picker.d.ts +57 -0
- package/es/components/picker/picker.js +151 -0
- package/es/components/picker/prompt.d.ts +2 -0
- package/es/components/picker/prompt.js +45 -0
- package/es/components/picker-view/columns-extend.d.ts +3 -0
- package/es/components/picker-view/columns-extend.js +39 -0
- package/es/components/picker-view/index.d.ts +4 -0
- package/es/components/picker-view/index.js +3 -0
- package/es/components/picker-view/picker-view.css +129 -0
- package/es/components/picker-view/picker-view.d.ts +25 -0
- package/es/components/picker-view/picker-view.js +86 -0
- package/es/components/picker-view/wheel.d.ts +13 -0
- package/es/components/picker-view/wheel.js +243 -0
- package/es/components/popup/index.d.ts +4 -0
- package/es/components/popup/index.js +3 -0
- package/es/components/popup/popup-base-props.d.ts +51 -0
- package/es/components/popup/popup-base-props.js +13 -0
- package/es/components/popup/popup.css +57 -0
- package/es/components/popup/popup.d.ts +8 -0
- package/es/components/popup/popup.js +135 -0
- package/es/components/pro-selector/index.d.ts +30 -0
- package/es/components/pro-selector/index.js +6 -0
- package/es/components/pro-selector/pro-selector.css +11 -0
- package/es/components/pro-selector/pro-selector.d.ts +60 -0
- package/es/components/pro-selector/pro-selector.js +299 -0
- package/es/components/protocol/protocol.js +1 -1
- package/es/components/pull-to-refresh/index.d.ts +4 -0
- package/es/components/pull-to-refresh/index.js +3 -0
- package/es/components/pull-to-refresh/pull-to-refresh.css +58 -0
- package/es/components/pull-to-refresh/pull-to-refresh.d.ts +26 -0
- package/es/components/pull-to-refresh/pull-to-refresh.js +335 -0
- package/es/components/radio/group.d.ts +1 -1
- package/es/components/radio/radio.css +1 -0
- package/es/components/radio/radio.js +1 -1
- package/es/components/search/search.js +1 -1
- package/es/components/selector/check-mark.d.ts +2 -0
- package/es/components/selector/check-mark.js +29 -0
- package/es/components/selector/index.d.ts +4 -0
- package/es/components/selector/index.js +3 -0
- package/es/components/selector/selector.css +71 -0
- package/es/components/selector/selector.d.ts +27 -0
- package/es/components/selector/selector.js +86 -0
- package/es/components/skeleton/index.d.ts +11 -0
- package/es/components/skeleton/index.js +10 -0
- package/es/components/skeleton/skeleton.css +65 -0
- package/es/components/skeleton/skeleton.d.ts +29 -0
- package/es/components/skeleton/skeleton.js +58 -0
- package/es/components/space/index.d.ts +4 -0
- package/es/components/space/index.js +3 -0
- package/es/components/space/space.css +70 -0
- package/es/components/space/space.d.ts +13 -0
- package/es/components/space/space.js +22 -0
- package/es/components/squared-grid/index.d.ts +7 -0
- package/es/components/squared-grid/index.js +6 -0
- package/es/components/squared-grid/squared-grid.css +30 -0
- package/es/components/squared-grid/squared-grid.d.ts +17 -0
- package/es/components/squared-grid/squared-grid.js +82 -0
- package/es/components/stock-count-keyboard/stock-count-keyboard.css +2 -2
- package/es/components/stock-keyboard/stock-keyboard.css +2 -2
- package/es/components/swiper/index.d.ts +35 -0
- package/es/components/swiper/index.js +7 -0
- package/es/components/swiper/swiper-item.d.ts +9 -0
- package/es/components/swiper/swiper-item.js +8 -0
- package/es/components/swiper/swiper.css +80 -0
- package/es/components/swiper/swiper.d.ts +68 -0
- package/es/components/swiper/swiper.js +369 -0
- package/es/components/switch/switch.js +1 -1
- package/es/components/tabs/index.d.ts +7 -0
- package/es/components/tabs/index.js +6 -0
- package/es/components/tabs/tabs.css +76 -0
- package/es/components/tabs/tabs.d.ts +27 -0
- package/es/components/tabs/tabs.js +283 -0
- package/es/components/tabs/tabs.patch.css +23 -0
- package/es/components/tip/index.d.ts +4 -0
- package/es/components/tip/index.js +3 -0
- package/es/components/tip/tip.css +22 -0
- package/es/components/tip/tip.d.ts +7 -0
- package/es/components/tip/tip.js +23 -0
- package/es/components/toastLoading/toastLoading.css +0 -1
- package/es/components/toastLoading/toastLoading.js +8 -3
- package/es/global/global.css +4 -1
- package/es/global/theme-default.css +1 -1
- package/es/hooks/index.d.ts +5 -0
- package/es/hooks/index.js +1 -0
- package/es/hooks/useFieldNames.d.ts +7 -0
- package/es/hooks/useFieldNames.js +18 -0
- package/es/index.d.ts +31 -12
- package/es/index.js +31 -12
- package/es/utils/convert-px.js +2 -2
- package/es/utils/use-lock-scroll.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.ebscn-grid {
|
|
2
2
|
--gap: 0;
|
|
3
3
|
--gap-horizontal: var(--gap);
|
|
4
4
|
--gap-vertical: var(--gap);
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
|
|
11
11
|
align-items: stretch;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.ebscn-grid-item {
|
|
14
14
|
grid-column-end: span var(--item-span);
|
|
15
15
|
}
|
|
@@ -2,7 +2,7 @@ import { mergeProps } from '../../utils/with-default-props';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { withNativeProps } from '../../utils/native-props';
|
|
4
4
|
import { toCSSLength } from '../../utils/to-css-length';
|
|
5
|
-
var classPrefix = "
|
|
5
|
+
var classPrefix = "ebscn-grid";
|
|
6
6
|
export var Grid = function (props) {
|
|
7
7
|
var style = {
|
|
8
8
|
'--columns': props.columns.toString()
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@keyframes actionTip {
|
|
2
|
+
from {
|
|
3
|
+
transform: translateX(0%);
|
|
4
|
+
}
|
|
5
|
+
to {
|
|
6
|
+
transform: translateX(880%);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
.ebscn-handread-pdfBox {
|
|
10
|
+
display: flex;
|
|
11
|
+
padding: 10px;
|
|
12
|
+
position: relative;
|
|
13
|
+
}
|
|
14
|
+
.ebscn-handread-pdfWarp {
|
|
15
|
+
position: relative;
|
|
16
|
+
width: 90%;
|
|
17
|
+
min-height: 300px;
|
|
18
|
+
}
|
|
19
|
+
.ebscn-handread-pdfImg {
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
22
|
+
.ebscn-handread-pdfView {
|
|
23
|
+
position: absolute;
|
|
24
|
+
left: 0px;
|
|
25
|
+
top: 0px;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 450px;
|
|
28
|
+
}
|
|
29
|
+
.ebscn-handread-pdfView .defaultSeal {
|
|
30
|
+
position: absolute;
|
|
31
|
+
color: white;
|
|
32
|
+
padding: 0px 2px;
|
|
33
|
+
font-size: 12px;
|
|
34
|
+
}
|
|
35
|
+
.ebscn-handread-pagination {
|
|
36
|
+
width: 10%;
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
align-items: flex-end;
|
|
40
|
+
position: absolute;
|
|
41
|
+
right: 0px;
|
|
42
|
+
}
|
|
43
|
+
.ebscn-handread-pagination-vertivalBtn {
|
|
44
|
+
margin-bottom: 5px;
|
|
45
|
+
}
|
|
46
|
+
.ebscn-handread-pagination-vertivalBtn div {
|
|
47
|
+
-webkit-writing-mode: vertical-lr;
|
|
48
|
+
writing-mode: vertical-lr;
|
|
49
|
+
padding: 10px 0px;
|
|
50
|
+
height: auto;
|
|
51
|
+
white-space: nowrap;
|
|
52
|
+
color: white;
|
|
53
|
+
letter-spacing: 1px;
|
|
54
|
+
}
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import Draggable from "react-draggable";
|
|
2
|
+
import "./handRead.css";
|
|
3
|
+
import React, { useLayoutEffect, useRef, useState } from "react";
|
|
4
|
+
import { Button } from "antd-mobile";
|
|
5
|
+
import dayjs from "dayjs";
|
|
6
|
+
import hand from "../../assets/images/hand.png";
|
|
7
|
+
import ImageViewer from "../imageViewer";
|
|
8
|
+
var classPrefix = "ebscn-handread";
|
|
9
|
+
function HandRead(props) {
|
|
10
|
+
var documentJson = props.documentJson,
|
|
11
|
+
mandatoryReading = props.mandatoryReading,
|
|
12
|
+
done = props.done;
|
|
13
|
+
if (!documentJson || !mandatoryReading) {
|
|
14
|
+
return React.createElement("div", null, "\u534F\u8BAE\u5185\u5BB9\u7F3A\u5931");
|
|
15
|
+
}
|
|
16
|
+
var container = useRef(null);
|
|
17
|
+
var PDF_WIDTH = props.pdfWidth || 600;
|
|
18
|
+
var PDF_HEIGHT = props.pdfHeight || 840;
|
|
19
|
+
var PDF_SCALE = useRef(0);
|
|
20
|
+
var documentImgUrl = documentJson.documentImgUrl,
|
|
21
|
+
documentPages = documentJson.documentPages;
|
|
22
|
+
var _a = useState(false),
|
|
23
|
+
imgFlag = _a[0],
|
|
24
|
+
setImgFlag = _a[1];
|
|
25
|
+
var _b = useState(1),
|
|
26
|
+
currentPageNum = _b[0],
|
|
27
|
+
setCurrentPageNum = _b[1];
|
|
28
|
+
var _c = useState(0),
|
|
29
|
+
currentSign = _c[0],
|
|
30
|
+
setCurrentSign = _c[1];
|
|
31
|
+
var _d = useState({}),
|
|
32
|
+
_ = _d[0],
|
|
33
|
+
setForceUpdate = _d[1];
|
|
34
|
+
var handleInfo = useRef({
|
|
35
|
+
type: "",
|
|
36
|
+
touchStartTime: "",
|
|
37
|
+
touchEndTime: ""
|
|
38
|
+
});
|
|
39
|
+
useLayoutEffect(function () {
|
|
40
|
+
if (container.current && !PDF_SCALE.current) {
|
|
41
|
+
PDF_SCALE.current = container.current.clientWidth / PDF_WIDTH;
|
|
42
|
+
console.log(PDF_SCALE);
|
|
43
|
+
forceUpdate();
|
|
44
|
+
}
|
|
45
|
+
}, [container.current]);
|
|
46
|
+
function forceUpdate() {
|
|
47
|
+
setForceUpdate({});
|
|
48
|
+
}
|
|
49
|
+
function handleOnMouseDown() {}
|
|
50
|
+
function handleOnStop(item, e) {
|
|
51
|
+
console.log(e, '--e--');
|
|
52
|
+
var stopClientX = e.changedTouches[0].clientX;
|
|
53
|
+
// const { mandatoryReading } = this.props.data;
|
|
54
|
+
var dragDistance = stopClientX + 10; // 拖拽的距离
|
|
55
|
+
if (dragDistance >= (item.right - item.left) * PDF_SCALE.current) {
|
|
56
|
+
item.hasRead = true;
|
|
57
|
+
handleInfo.current.type = "滑动";
|
|
58
|
+
handleInfo.current.touchEndTime = dayjs().format("YYYY-MM-DD HH:mm:ss");
|
|
59
|
+
nextConfim();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
// 判断是否所有的确认确认项都已完成
|
|
63
|
+
function isAllSure() {
|
|
64
|
+
var isAll = false;
|
|
65
|
+
var reads = mandatoryReading.filter(function (item) {
|
|
66
|
+
return !item.hasRead;
|
|
67
|
+
});
|
|
68
|
+
if (reads.length === 0) {
|
|
69
|
+
isAll = true;
|
|
70
|
+
}
|
|
71
|
+
return isAll;
|
|
72
|
+
}
|
|
73
|
+
// 上一页
|
|
74
|
+
var onPrev = function () {
|
|
75
|
+
if (currentPageNum === 1) return;
|
|
76
|
+
setCurrentPageNum(function () {
|
|
77
|
+
return currentPageNum - 1;
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
// 下一页
|
|
81
|
+
var onNext = function () {
|
|
82
|
+
if (currentPageNum < documentPages) {
|
|
83
|
+
setCurrentPageNum(function () {
|
|
84
|
+
return currentPageNum + 1;
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
// 获取下一确认项的index
|
|
89
|
+
var nextConfim = function () {
|
|
90
|
+
var recordIndex = currentSign;
|
|
91
|
+
if (isAllSure()) {
|
|
92
|
+
forceUpdate();
|
|
93
|
+
done && done(documentJson.fileId);
|
|
94
|
+
console.log("指读完毕");
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
var nextRecordIndex = 0;
|
|
98
|
+
if (recordIndex < mandatoryReading.length - 1) {
|
|
99
|
+
for (var i = recordIndex + 1; i < mandatoryReading.length; i++) {
|
|
100
|
+
if (!mandatoryReading[i].hasRead) {
|
|
101
|
+
nextRecordIndex = i;
|
|
102
|
+
break;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
} else {
|
|
106
|
+
for (var i = 0; i < mandatoryReading.length; i++) {
|
|
107
|
+
if (!mandatoryReading[i].hasRead) {
|
|
108
|
+
nextRecordIndex = i;
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
var newPageNum = mandatoryReading[nextRecordIndex].pageNo * 1;
|
|
114
|
+
setCurrentSign(nextRecordIndex);
|
|
115
|
+
setCurrentPageNum(newPageNum);
|
|
116
|
+
};
|
|
117
|
+
function lastConfim() {
|
|
118
|
+
var index = currentSign;
|
|
119
|
+
while (true) {
|
|
120
|
+
if (--index < 0) {
|
|
121
|
+
break;
|
|
122
|
+
} else {
|
|
123
|
+
console.log(index);
|
|
124
|
+
if (!mandatoryReading[index].hasRead) {
|
|
125
|
+
setCurrentSign(index);
|
|
126
|
+
setCurrentPageNum(mandatoryReading[index].pageNo);
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
// 获取图片地址
|
|
133
|
+
var getImageList = function (baseUrl, maxPages) {
|
|
134
|
+
console.log(baseUrl, '--baseUrl-');
|
|
135
|
+
var arr = [];
|
|
136
|
+
if (!baseUrl) return arr;
|
|
137
|
+
if (!maxPages) return arr;
|
|
138
|
+
for (var i = 1; i <= maxPages; i++) {
|
|
139
|
+
arr.push("".concat(baseUrl, "/").concat(i, ".jpg"));
|
|
140
|
+
}
|
|
141
|
+
return arr;
|
|
142
|
+
};
|
|
143
|
+
return React.createElement("div", {
|
|
144
|
+
className: "".concat(classPrefix, "-pdfBox"),
|
|
145
|
+
style: {
|
|
146
|
+
height: PDF_HEIGHT * PDF_SCALE.current
|
|
147
|
+
}
|
|
148
|
+
}, documentImgUrl ? React.createElement("div", {
|
|
149
|
+
className: "".concat(classPrefix, "-pdfWarp")
|
|
150
|
+
}, React.createElement("img", {
|
|
151
|
+
onClick: function () {
|
|
152
|
+
return setImgFlag(true);
|
|
153
|
+
},
|
|
154
|
+
className: "".concat(classPrefix, "-pdfImg"),
|
|
155
|
+
src: "".concat(documentImgUrl + "/" + currentPageNum, ".jpg"),
|
|
156
|
+
alt: "\u52A0\u8F7D\u4E2D"
|
|
157
|
+
}), React.createElement("div", {
|
|
158
|
+
className: "".concat(classPrefix, "-pdfView"),
|
|
159
|
+
ref: container
|
|
160
|
+
}, mandatoryReading.map(function (item, index) {
|
|
161
|
+
return item.pageNo * 1 === currentPageNum && React.createElement("div", {
|
|
162
|
+
key: Math.random() + item.pageNo,
|
|
163
|
+
style: {
|
|
164
|
+
position: "absolute",
|
|
165
|
+
width: (item.right - item.left) * PDF_SCALE.current,
|
|
166
|
+
height: (item.top - item.bottom) * PDF_SCALE.current,
|
|
167
|
+
top: (PDF_HEIGHT - item.top) * PDF_SCALE.current,
|
|
168
|
+
left: item.left * PDF_SCALE.current,
|
|
169
|
+
border: "1px solid #ccc",
|
|
170
|
+
borderColor: item.hasRead ? "#93b4fb" : "#FF9933"
|
|
171
|
+
},
|
|
172
|
+
onClick: function () {
|
|
173
|
+
setCurrentSign(index);
|
|
174
|
+
console.log(index);
|
|
175
|
+
}
|
|
176
|
+
}, React.createElement(Draggable, {
|
|
177
|
+
handle: ".handle",
|
|
178
|
+
axis: "x",
|
|
179
|
+
bounds: "parent",
|
|
180
|
+
onMouseDown: handleOnMouseDown,
|
|
181
|
+
onStop: function (e) {
|
|
182
|
+
return handleOnStop(item, e);
|
|
183
|
+
}
|
|
184
|
+
}, currentSign === index && !item.hasRead ? React.createElement("div", {
|
|
185
|
+
className: "handle",
|
|
186
|
+
style: {
|
|
187
|
+
width: 30,
|
|
188
|
+
height: 30,
|
|
189
|
+
background: "url(".concat(hand, ") 0 center/cover no-repeat")
|
|
190
|
+
}
|
|
191
|
+
}) : React.createElement("div", null)
|
|
192
|
+
// <div className="handle" style={{ width: 40, height: 40, border: '1px solid #f00', background: `url(${require('../../../../../assets/logo.png')}) 0 center/cover no-repeat` }}></div> : <div className="handle"></div>
|
|
193
|
+
));
|
|
194
|
+
}))) : React.createElement("div", null, "loading"), React.createElement("div", {
|
|
195
|
+
className: "".concat(classPrefix, "-pagination")
|
|
196
|
+
}, React.createElement(Button, {
|
|
197
|
+
className: "".concat(classPrefix, "-pagination-vertivalBtn"),
|
|
198
|
+
color: "primary",
|
|
199
|
+
size: "small",
|
|
200
|
+
disabled: currentPageNum === 1,
|
|
201
|
+
onClick: onPrev
|
|
202
|
+
}, React.createElement("div", null, "\u4E0A\u4E00\u9875")), React.createElement(Button, {
|
|
203
|
+
className: "".concat(classPrefix, "-pagination-vertivalBtn"),
|
|
204
|
+
color: "primary",
|
|
205
|
+
size: "small",
|
|
206
|
+
disabled: currentPageNum === documentPages,
|
|
207
|
+
onClick: onNext
|
|
208
|
+
}, React.createElement("div", null, React.createElement("span", null, "\u4E0B\u4E00\u9875"), React.createElement("span", null, "".concat(currentPageNum, "/").concat(documentPages)))), React.createElement(Button, {
|
|
209
|
+
className: "".concat(classPrefix, "-pagination-vertivalBtn"),
|
|
210
|
+
color: "primary",
|
|
211
|
+
size: "small",
|
|
212
|
+
disabled: isAllSure() || currentSign == 0,
|
|
213
|
+
onClick: function () {
|
|
214
|
+
return lastConfim();
|
|
215
|
+
}
|
|
216
|
+
}, React.createElement("div", null, "\u4E0A\u4E00\u786E\u8BA4\u9879")), React.createElement(Button, {
|
|
217
|
+
className: "".concat(classPrefix, "-pagination-vertivalBtn"),
|
|
218
|
+
color: "primary",
|
|
219
|
+
size: "small",
|
|
220
|
+
disabled: isAllSure() || currentSign == mandatoryReading.length - 1,
|
|
221
|
+
onClick: function () {
|
|
222
|
+
return nextConfim();
|
|
223
|
+
}
|
|
224
|
+
}, React.createElement("div", null, "\u4E0B\u4E00\u786E\u8BA4\u9879")), React.createElement(Button, {
|
|
225
|
+
className: "".concat(classPrefix, "-pagination-vertivalBtn"),
|
|
226
|
+
color: "primary",
|
|
227
|
+
size: "small",
|
|
228
|
+
onClick: function () {
|
|
229
|
+
return setImgFlag(true);
|
|
230
|
+
}
|
|
231
|
+
}, React.createElement("div", null, "\u9884 \u89C8"))), imgFlag && React.createElement(ImageViewer, {
|
|
232
|
+
currentIndex: currentPageNum - 1,
|
|
233
|
+
onClose: function () {
|
|
234
|
+
return setImgFlag(false);
|
|
235
|
+
},
|
|
236
|
+
images: getImageList(documentImgUrl, documentPages)
|
|
237
|
+
}));
|
|
238
|
+
}
|
|
239
|
+
export default React.memo(HandRead);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import HandRead from "./handRead";
|
|
2
|
+
export declare type DocumentJson = {
|
|
3
|
+
fileId?: number | string;
|
|
4
|
+
documentUrl: string;
|
|
5
|
+
documentImgUrl: string;
|
|
6
|
+
createDate: string;
|
|
7
|
+
documentPages: number;
|
|
8
|
+
preUrl: string;
|
|
9
|
+
};
|
|
10
|
+
export declare type MandatoryReading = {
|
|
11
|
+
pageNo: number;
|
|
12
|
+
top: number;
|
|
13
|
+
bottom: number;
|
|
14
|
+
left: number;
|
|
15
|
+
right: number;
|
|
16
|
+
hasRead?: boolean;
|
|
17
|
+
};
|
|
18
|
+
export declare type HandReadProps = {
|
|
19
|
+
documentJson: DocumentJson;
|
|
20
|
+
mandatoryReading: MandatoryReading[];
|
|
21
|
+
done?: Function;
|
|
22
|
+
pdfWidth?: number;
|
|
23
|
+
pdfHeight?: number;
|
|
24
|
+
};
|
|
25
|
+
export default HandRead;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
.ebscn-header {
|
|
2
|
+
--color: #333333;
|
|
3
|
+
--bgColor: #FFFFFF;
|
|
4
|
+
--subTitleColor: #666666;
|
|
5
|
+
--buttonColor: #666666;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
height: 44px;
|
|
9
|
+
border-bottom: none;
|
|
10
|
+
padding: 0 12px;
|
|
11
|
+
white-space: nowrap;
|
|
12
|
+
color: var(--color);
|
|
13
|
+
background-color: var(--bgColor);
|
|
14
|
+
}
|
|
15
|
+
.ebscn-header-left,
|
|
16
|
+
.ebscn-header-right {
|
|
17
|
+
flex: 1;
|
|
18
|
+
font-size: 28px;
|
|
19
|
+
}
|
|
20
|
+
.ebscn-header-title {
|
|
21
|
+
flex: auto;
|
|
22
|
+
text-align: center;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
text-overflow: ellipsis;
|
|
25
|
+
}
|
|
26
|
+
.ebscn-header-subtitle {
|
|
27
|
+
font-size: 12px;
|
|
28
|
+
line-height: 17px;
|
|
29
|
+
color: var(--subTitleColor);
|
|
30
|
+
}
|
|
31
|
+
.ebscn-header-back {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
margin-right: 16px;
|
|
35
|
+
padding: 6px 0;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
}
|
|
38
|
+
.ebscn-header-back-arrow {
|
|
39
|
+
font-size: 24px;
|
|
40
|
+
margin-right: 4px;
|
|
41
|
+
}
|
|
42
|
+
.ebscn-header-left {
|
|
43
|
+
display: flex;
|
|
44
|
+
justify-content: flex-start;
|
|
45
|
+
align-items: center;
|
|
46
|
+
}
|
|
47
|
+
.ebscn-header-title {
|
|
48
|
+
justify-content: center;
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
font-size: 18px;
|
|
51
|
+
line-height: 25px;
|
|
52
|
+
}
|
|
53
|
+
.ebscn-header-right {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: flex-end;
|
|
56
|
+
align-items: center;
|
|
57
|
+
}
|
|
58
|
+
.ebscn-header-text-button {
|
|
59
|
+
font-size: 15px;
|
|
60
|
+
line-height: 21px;
|
|
61
|
+
color: var(--buttonColor);
|
|
62
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { FC, ReactNode } from 'react';
|
|
2
|
+
import { NativeProps } from '../../utils/native-props';
|
|
3
|
+
export type HeaderProps = {
|
|
4
|
+
left?: ReactNode;
|
|
5
|
+
showLeftIcon?: boolean;
|
|
6
|
+
onLeftClick?: () => void;
|
|
7
|
+
title?: string;
|
|
8
|
+
subTitle?: string;
|
|
9
|
+
right?: ReactNode;
|
|
10
|
+
onRightClick?: () => void;
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
} & NativeProps<'--height' | '--border-bottom'>;
|
|
13
|
+
declare const Header: FC<HeaderProps>;
|
|
14
|
+
export default Header;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import classNames from 'classnames';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { withNativeProps } from '../../utils/native-props';
|
|
4
|
+
import { mergeProps } from '../../utils/with-default-props';
|
|
5
|
+
import BackIcon from '../icons/back-icon';
|
|
6
|
+
var classPrefix = "ebscn-header";
|
|
7
|
+
var defaultProps = {
|
|
8
|
+
showLeftIcon: true,
|
|
9
|
+
onLeftClick: function () {},
|
|
10
|
+
onRightClick: function () {}
|
|
11
|
+
};
|
|
12
|
+
var Header = function (p) {
|
|
13
|
+
var props = mergeProps(defaultProps, p);
|
|
14
|
+
return withNativeProps(props, React.createElement("div", {
|
|
15
|
+
className: classNames(classPrefix)
|
|
16
|
+
}, React.createElement("div", {
|
|
17
|
+
className: "".concat(classPrefix, "-left"),
|
|
18
|
+
onClick: function () {
|
|
19
|
+
return props.onLeftClick();
|
|
20
|
+
}
|
|
21
|
+
}, props.showLeftIcon && React.createElement(BackIcon, null), props.left), React.createElement("div", {
|
|
22
|
+
className: "".concat(classPrefix, "-title")
|
|
23
|
+
}, props.title && React.createElement("div", null, props.title), props.subTitle && React.createElement("div", {
|
|
24
|
+
className: "".concat(classPrefix, "-subtitle")
|
|
25
|
+
}, props.subTitle), props.children), React.createElement("div", {
|
|
26
|
+
className: "".concat(classPrefix, "-right"),
|
|
27
|
+
onClick: function () {
|
|
28
|
+
return props.onRightClick();
|
|
29
|
+
}
|
|
30
|
+
}, props.right)));
|
|
31
|
+
};
|
|
32
|
+
export default Header;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React, { memo } from 'react';
|
|
2
|
+
import { withNativeProps } from '../../utils/native-props';
|
|
3
|
+
var BackIcon = memo(function (props) {
|
|
4
|
+
return withNativeProps(props, React.createElement("svg", {
|
|
5
|
+
width: "1em",
|
|
6
|
+
height: "1em",
|
|
7
|
+
viewBox: "0 0 56 56",
|
|
8
|
+
version: "1.1",
|
|
9
|
+
className: "ebscn-ui-icon"
|
|
10
|
+
}, React.createElement("g", {
|
|
11
|
+
stroke: "none",
|
|
12
|
+
strokeWidth: "1",
|
|
13
|
+
fill: "none",
|
|
14
|
+
fillRule: "evenodd"
|
|
15
|
+
}, React.createElement("rect", {
|
|
16
|
+
fill: "none",
|
|
17
|
+
opacity: "0",
|
|
18
|
+
x: "8",
|
|
19
|
+
y: "8",
|
|
20
|
+
width: "40",
|
|
21
|
+
height: "40",
|
|
22
|
+
rx: "8"
|
|
23
|
+
}), React.createElement("path", {
|
|
24
|
+
d: "M24.2637318,14 L10.6051328,26.5589714 C9.79204002,27.3066037 9.73897377,28.5718213 10.486606,29.384914 C10.5255617,29.4272805 10.566328,29.4679458 10.6087911,29.5067962 L24.2637318,42 L24.2637318,42",
|
|
25
|
+
stroke: "currentColor",
|
|
26
|
+
strokeWidth: "3",
|
|
27
|
+
strokeLinecap: "round"
|
|
28
|
+
}))));
|
|
29
|
+
});
|
|
30
|
+
export default BackIcon;
|
|
@@ -4,7 +4,8 @@ var CheckIcon = memo(function (props) {
|
|
|
4
4
|
return withNativeProps(props, React.createElement("svg", {
|
|
5
5
|
width: "1em",
|
|
6
6
|
height: "1em",
|
|
7
|
-
viewBox: "0 0 48 48"
|
|
7
|
+
viewBox: "0 0 48 48",
|
|
8
|
+
className: "ebscn-ui-icon"
|
|
8
9
|
}, React.createElement("g", {
|
|
9
10
|
stroke: "none",
|
|
10
11
|
strokeWidth: "1",
|
|
@@ -4,7 +4,8 @@ var CheckOnlyIcon = memo(function (props) {
|
|
|
4
4
|
return withNativeProps(props, React.createElement("svg", {
|
|
5
5
|
width: "1em",
|
|
6
6
|
height: "1em",
|
|
7
|
-
viewBox: "0 0 32 32"
|
|
7
|
+
viewBox: "0 0 32 32",
|
|
8
|
+
className: "ebscn-ui-icon"
|
|
8
9
|
}, React.createElement("path", {
|
|
9
10
|
d: "M30.5986424,6.1055493 C30.9712631,6.53987855 30.9531134,7.18617346 30.5567048,7.59890623 L12.3166884,26.5900478 C11.9341206,26.9883697 11.3010844,27.001141 10.9027625,26.6185732 C10.8828778,26.5994749 10.8637913,26.5795625 10.8455522,26.5588869 L1.39075001,15.8410716 C1.02539196,15.4269074 1.06495712,14.7949798 1.47912126,14.4296218 C1.8340823,14.1164902 2.35996301,14.0951176 2.73916366,14.3784118 L10.9224935,20.4920347 C11.2975514,20.7722339 11.8168072,20.7547169 12.172129,20.4498784 L29.0316484,5.98571934 C29.497452,5.58609604 30.1990191,5.63974574 30.5986424,6.1055493 Z",
|
|
10
11
|
fill: "currentColor"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React, { memo } from 'react';
|
|
2
|
+
import { withNativeProps } from '../../utils/native-props';
|
|
3
|
+
var CloseIcon = memo(function (props) {
|
|
4
|
+
return withNativeProps(props, React.createElement("svg", {
|
|
5
|
+
width: "1em",
|
|
6
|
+
height: "1em",
|
|
7
|
+
viewBox: "0 0 32 32",
|
|
8
|
+
className: "ebscn-ui-icon"
|
|
9
|
+
}, React.createElement("g", {
|
|
10
|
+
stroke: "none",
|
|
11
|
+
strokeWidth: "1",
|
|
12
|
+
fill: "none",
|
|
13
|
+
fillRule: "evenodd",
|
|
14
|
+
strokeLinecap: "round",
|
|
15
|
+
strokeLinejoin: "round"
|
|
16
|
+
}, React.createElement("g", {
|
|
17
|
+
transform: "translate(-694.000000, -585.000000)",
|
|
18
|
+
stroke: "currentColor",
|
|
19
|
+
strokeWidth: "2.5"
|
|
20
|
+
}, React.createElement("g", {
|
|
21
|
+
transform: "translate(0.000000, 563.000000)"
|
|
22
|
+
}, React.createElement("g", {
|
|
23
|
+
transform: "translate(694.000000, 22.000000)"
|
|
24
|
+
}, React.createElement("path", {
|
|
25
|
+
d: "M5,5 L27,27 M27,5 L5,27"
|
|
26
|
+
})))))));
|
|
27
|
+
});
|
|
28
|
+
export default CloseIcon;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React, { memo } from 'react';
|
|
2
|
+
import { withNativeProps } from '../../utils/native-props';
|
|
3
|
+
var SelctorIcon = memo(function (props) {
|
|
4
|
+
return withNativeProps(props, React.createElement("svg", {
|
|
5
|
+
version: "1.1",
|
|
6
|
+
width: "1em",
|
|
7
|
+
height: "1em",
|
|
8
|
+
viewBox: "0 0 80 80",
|
|
9
|
+
className: "ebscn-ui-icon"
|
|
10
|
+
}, React.createElement("g", {
|
|
11
|
+
stroke: "none",
|
|
12
|
+
strokeWidth: "1",
|
|
13
|
+
fill: "none",
|
|
14
|
+
fillRule: "evenodd"
|
|
15
|
+
}, React.createElement("g", {
|
|
16
|
+
transform: "translate(-516, -1428)"
|
|
17
|
+
}, React.createElement("g", {
|
|
18
|
+
transform: "translate(385, 1375)"
|
|
19
|
+
}, React.createElement("g", {
|
|
20
|
+
transform: "translate(131, 53)"
|
|
21
|
+
}, React.createElement("path", {
|
|
22
|
+
d: "M29.0206587,52.0376844 L60.35,52.0376844 C60.3431565,51.7873384 60.3294696,51.151324 60.2541916,50.6032692 C60.2336612,50.4408825 60.2062874,50.2717298 60.1789136,50.102577 L29.0206587,50.102577 L29.0206587,48.5260735 L59.8230539,48.5260735 C59.734089,48.2148324 59.6245937,47.8562286 59.4808811,47.4976248 C59.4124465,47.3352382 59.3508554,47.1728515 59.2824209,47.0104649 C59.2482036,46.9360377 59.2208298,46.8548444 59.1866125,46.7804172 C59.1592387,46.7195222 59.1250214,46.6586272 59.0976476,46.5909661 L29.0206587,46.5909661 L29.0206587,45.0144626 L58.2695894,45.0144626 C57.8521386,44.3310855 57.3799401,43.681539 56.852994,43.0793552 L44.5073995,43.0793552 L44.5073995,41.5028516 L55.2242515,41.5028516 C54.2730111,40.7179829 53.2122754,40.0684364 52.0694183,39.5677443 L44.500556,39.5677443 L44.500556,37.9912407 L49.947947,37.9912407 C51.3234816,37.5852741 52.5963644,36.901897 53.7118477,36.035835 L44.500556,36.035835 L44.500556,36.035835 L29.0206587,36.035835 L29.0206587,34.4796298 L55.381651,34.4796298 C55.8949102,33.8842121 56.3534217,33.2414317 56.7434987,32.5445224 L29.0206587,32.5445224 L29.0206587,30.9680189 L57.5168092,30.9680189 C57.5784003,30.8056322 57.6399914,30.6364795 57.6947391,30.4673267 L57.6947391,30.4673267 C57.8521386,30.0004652 57.947947,29.5268375 58.0437553,29.0396776 L29.0206587,29.0396776 L29.0206587,27.463174 L58.2832763,27.463174 C58.2832763,27.4361096 58.2901198,27.4090452 58.2901198,27.3819807 L58.2901198,27.3819807 C58.3038067,27.1654652 58.3106501,26.9489497 58.3106501,26.7256681 C58.3106501,26.4211931 58.2901198,26.1234843 58.2695894,25.8325416 L58.2695894,25.8325416 C58.2627459,25.73105 58.2559025,25.6295583 58.2422156,25.5280667 L29.0206587,25.5280667 L29.0206587,23.9515631 L57.947947,23.9515631 C57.7905475,23.2817183 57.5715569,22.6389378 57.3046621,22.0164557 L46.7931138,22.0164557 L46.7931138,20.4399522 L56.4766039,20.4399522 C56.0386228,19.7430429 55.532207,19.0934964 54.9642002,18.5048448 L46.7999572,18.5048448 L46.7999572,16.9283413 L53.0754063,16.9283413 C51.4124465,15.8186993 49.4483747,15.1353222 47.3337468,15.0270644 C47.2789991,15.0202983 47.231095,15.0202983 47.1763473,15.0202983 C47.0531651,15.0135322 46.9231394,15.0067661 46.7999572,15 L46.7999572,15 L46.7452096,15 L46.7452096,15 L46.7452096,15 L46.5741232,15 L46.5741232,15 L20.35,15 L20.35,66.0638298 L46.5878101,66.0638298 L46.7999572,66.0638298 L46.7999572,66.0570637 C48.1754919,66.0367653 49.4483747,65.8202498 50.6596664,65.4278155 C50.878657,65.3601544 51.0908041,65.2789611 51.3097947,65.1977677 C51.3303251,65.1910016 51.344012,65.1842355 51.3645423,65.1774694 C52.1310094,64.8932928 52.8632592,64.5414551 53.5544482,64.1287224 L46.7999572,64.1287224 L46.7999572,62.5522189 L55.7032934,62.5522189 C55.8059453,62.4574933 55.9154405,62.3627678 56.0180924,62.2680423 C56.0386228,62.2477439 56.0591531,62.2342117 56.0796835,62.2139134 C56.3328914,61.9703334 56.5724123,61.7132213 56.8119333,61.449343 C56.8187767,61.4425769 56.8256202,61.4358108 56.8393071,61.4222785 L56.8393071,61.4222785 C57.0651411,61.1651664 57.2909752,60.9012881 57.4962789,60.6238776 L46.7999572,60.6238776 L46.7999572,59.047374 L58.563858,59.047374 C58.6938837,58.8105602 58.8239093,58.5669803 58.9402481,58.3301664 C58.9402481,58.3301664 59.1866125,57.8768371 59.4740376,57.1122667 L29.0206587,57.1122667 L29.0206587,55.5357631 L59.9667665,55.5357631 C59.9941403,55.4342715 60.0215141,55.3395459 60.0420445,55.2380543 C60.0420445,55.2380543 60.1857571,54.60204 60.2815654,53.6886152 C60.2815654,53.6615507 60.2884089,53.6344863 60.2884089,53.6074219 L29.0206587,53.6074219 L29.0206587,52.0376844 Z",
|
|
23
|
+
id: "logo",
|
|
24
|
+
fill: "#E0E0E0",
|
|
25
|
+
fillRule: "nonzero"
|
|
26
|
+
}), React.createElement("rect", {
|
|
27
|
+
fill: "#D8D8D8",
|
|
28
|
+
opacity: "0",
|
|
29
|
+
x: "0",
|
|
30
|
+
y: "0"
|
|
31
|
+
})))))));
|
|
32
|
+
});
|
|
33
|
+
export default SelctorIcon;
|
|
@@ -4,7 +4,8 @@ var IndeterminateIcon = memo(function (props) {
|
|
|
4
4
|
return withNativeProps(props, React.createElement("svg", {
|
|
5
5
|
width: "1em",
|
|
6
6
|
height: "1em",
|
|
7
|
-
viewBox: "0 0 48 48"
|
|
7
|
+
viewBox: "0 0 48 48",
|
|
8
|
+
className: "ebscn-ui-icon"
|
|
8
9
|
}, React.createElement("g", {
|
|
9
10
|
fill: "none"
|
|
10
11
|
}, React.createElement("g", {
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
export { default as BackIcon } from './back-icon';
|
|
1
2
|
export { default as CheckIcon } from './check-icon';
|
|
2
3
|
export { default as CheckOnlyIcon } from './check-only-icon';
|
|
3
4
|
export { default as ClearIcon } from './clear-icon';
|
|
5
|
+
export { default as CloseIcon } from './close-icon';
|
|
6
|
+
export { default as GdlogoIcon } from './gdlogo-icon';
|
|
4
7
|
export { default as IndeterminateIcon } from './indeterminate-icon';
|
|
5
8
|
export { default as LoadingIcon } from './loading-icon';
|
|
9
|
+
export { default as NoticeIcon } from './notice-icon';
|
|
10
|
+
export { default as RightIcon } from './right-icon';
|
|
6
11
|
export { default as SearchIcon } from './search-icon';
|
|
12
|
+
export { default as SelectorIcon } from './selector-icon';
|
|
7
13
|
export { default as SpinIcon } from './spin-icon';
|
|
8
14
|
export { default as UncheckIcon } from './uncheck-icon';
|
|
15
|
+
export { default as WarningIcon } from './warning-icon';
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
export { default as BackIcon } from './back-icon';
|
|
1
2
|
export { default as CheckIcon } from './check-icon';
|
|
2
3
|
export { default as CheckOnlyIcon } from './check-only-icon';
|
|
3
4
|
export { default as ClearIcon } from './clear-icon';
|
|
5
|
+
export { default as CloseIcon } from './close-icon';
|
|
6
|
+
export { default as GdlogoIcon } from './gdlogo-icon';
|
|
4
7
|
export { default as IndeterminateIcon } from './indeterminate-icon';
|
|
5
8
|
export { default as LoadingIcon } from './loading-icon';
|
|
9
|
+
export { default as NoticeIcon } from './notice-icon';
|
|
10
|
+
export { default as RightIcon } from './right-icon';
|
|
6
11
|
export { default as SearchIcon } from './search-icon';
|
|
12
|
+
export { default as SelectorIcon } from './selector-icon';
|
|
7
13
|
export { default as SpinIcon } from './spin-icon';
|
|
8
|
-
export { default as UncheckIcon } from './uncheck-icon';
|
|
14
|
+
export { default as UncheckIcon } from './uncheck-icon';
|
|
15
|
+
export { default as WarningIcon } from './warning-icon';
|