@fonixtree/magic-design 0.0.13 → 0.0.16
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/es/assets/fonts/.DS_Store +0 -0
- package/es/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/es/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/es/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/es/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/es/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/es/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/es/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.css +299 -0
- package/es/assets/fonts/magic-box-iconfont.css.bak +299 -0
- package/es/assets/fonts/magic-box-iconfont.js +1 -0
- package/es/assets/fonts/magic-box-iconfont.js.bak +1 -0
- package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/es/assets/images/icon/index.js +68 -0
- package/es/assets/images/layout-icon/carouselLayout1.png +0 -0
- package/es/assets/images/layout-icon/carouselLayout2.png +0 -0
- package/es/assets/images/layout-icon/dividerLayout.svg +4 -0
- package/es/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
- package/es/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
- package/es/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m3-1.svg +18 -0
- package/es/assets/images/layout-icon/layout-imagetext-m3-2.svg +9 -0
- package/es/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
- package/es/assets/images/layout-icon/layout-search.png +0 -0
- package/es/assets/images/layout-icon/newsletter.svg +7 -0
- package/es/assets/less/button.less +9 -0
- package/es/assets/less/common.less +82 -0
- package/es/assets/less/cylon-antd.less +32534 -0
- package/es/assets/less/font.less +50 -0
- package/es/assets/less/global.less +8 -0
- package/es/assets/less/index.less +11 -0
- package/es/assets/less/input.less +8 -0
- package/es/assets/less/menu.less +21 -0
- package/es/assets/less/modal.less +16 -0
- package/es/assets/less/select.less +19 -0
- package/es/assets/less/slider.less +21 -0
- package/es/assets/less/switch.less +20 -0
- package/es/assets/less/table.less +40 -0
- package/es/assets/less/variables.less +4 -0
- package/es/common/AlignSelector/index.js +104 -0
- package/es/common/AlignSelector/index.less +28 -0
- package/es/common/Button/index.js +134 -0
- package/es/common/Button/index.less +68 -0
- package/es/common/ButtonIconLayout/index.js +103 -0
- package/es/common/ButtonIconLayout/index.less +53 -0
- package/es/common/Collapse/index.js +384 -0
- package/es/common/Collapse/index.less +97 -0
- package/es/common/ColorPicker/imgs/no-color.png +0 -0
- package/es/common/ColorPicker/index.js +131 -0
- package/es/common/ColorPicker/index.less +26 -0
- package/es/common/ColorPickerInput/imgs/code.png +0 -0
- package/es/common/ColorPickerInput/index.js +114 -0
- package/es/common/ColorPickerInput/index.less +50 -0
- package/es/common/CountDown/index.js +151 -0
- package/es/common/CountDown/index.less +23 -0
- package/es/common/Field/index.js +80 -0
- package/es/common/Field/index.less +37 -0
- package/es/common/FontStyles/index.js +178 -0
- package/es/common/FontStyles/index.less +63 -0
- package/es/common/GroupList/defaultImg.png +0 -0
- package/es/common/GroupList/index.js +210 -0
- package/es/common/GroupList/index.less +85 -0
- package/es/common/IconPicker/index.js +147 -0
- package/es/common/IconPicker/index.less +46 -0
- package/es/common/Iconfont/index.js +148 -0
- package/es/common/Iconfont/index.less +20 -0
- package/es/common/ImageModal/CommonModal/const.js +22 -0
- package/es/common/ImageModal/CommonModal/index.js +46 -0
- package/es/common/ImageModal/CommonSelPicCard/index.js +80 -0
- package/es/common/ImageModal/CommonSelPicCard/index.less +40 -0
- package/es/common/ImageModal/const.js +24 -0
- package/es/common/ImageModal/index.js +748 -0
- package/es/common/ImageModal/index.less +21 -0
- package/es/common/ImagePicker/index.js +162 -0
- package/es/common/ImagePicker/index.less +104 -0
- package/es/common/InputNumber/index.js +91 -0
- package/es/common/InputNumber/index.less +33 -0
- package/es/common/LayoutSelector/imgs/center.png +0 -0
- package/es/common/LayoutSelector/imgs/left.png +0 -0
- package/es/common/LayoutSelector/imgs/right.png +0 -0
- package/es/common/LayoutSelector/index.js +111 -0
- package/es/common/LayoutSelector/index.less +34 -0
- package/es/common/LinkModal/CatgTable/index.js +234 -0
- package/es/common/LinkModal/CouponTable/index.js +299 -0
- package/es/common/LinkModal/CustomTable/index.js +227 -0
- package/es/common/LinkModal/FilteredProductModal/index.js +640 -0
- package/es/common/LinkModal/FilteredProductModal/index.less +113 -0
- package/es/common/LinkModal/FunctionTable/index.js +221 -0
- package/es/common/LinkModal/ProductDetailPage/index.js +433 -0
- package/es/common/LinkModal/ProductDetailPage/index.less +21 -0
- package/es/common/LinkModal/index.js +136 -0
- package/es/common/LinkModal/index.less +108 -0
- package/es/common/NewImg/index.js +165 -0
- package/es/common/NewImg/index.less +0 -0
- package/es/common/ProductModal/index.js +760 -0
- package/es/common/ProductModal/index.less +238 -0
- package/es/common/ProductSource/index.js +250 -0
- package/es/common/ProductSource/index.less +12 -0
- package/es/common/RcCollapse/Collapse.js +240 -0
- package/es/common/RcCollapse/Panel.js +193 -0
- package/es/common/RcCollapse/PanelContent.js +59 -0
- package/es/common/RcCollapse/index.js +15 -0
- package/es/common/RcCollapse/index.less +108 -0
- package/es/common/RcCollapse/interface.js +1 -0
- package/es/common/RcCollapse/motion.less +12 -0
- package/es/common/RcCollapse/motionUtil.js +44 -0
- package/es/common/Slider/index.js +151 -0
- package/es/common/Slider/index.less +45 -0
- package/es/common/SwitchCollapse/index.js +216 -0
- package/es/common/SwitchCollapse/index.less +40 -0
- package/es/common/UrlPicker/index.js +119 -0
- package/es/common/UrlPicker/index.less +72 -0
- package/es/common/index.js +127 -0
- package/es/composite-comp/bol/components/Banner/defaultJSON.js +268 -0
- package/es/composite-comp/bol/components/Banner/index.js +89 -0
- package/es/composite-comp/bol/components/Button/defaultJSON.js +114 -0
- package/es/composite-comp/bol/components/Button/index.js +0 -0
- package/es/composite-comp/bol/components/Carousel/defaultJSON.js +295 -0
- package/es/composite-comp/bol/components/Divider/defaultJSON.js +47 -0
- package/es/composite-comp/bol/components/ImageGallery/defaultJSON.js +74 -0
- package/es/composite-comp/bol/components/ImageText/defaultJSON.js +546 -0
- package/es/composite-comp/bol/components/Newsletter/defaultJSON.js +135 -0
- package/es/composite-comp/bol/components/Tag/defaultJSON.js +112 -0
- package/es/composite-comp/bol/components/Text/defaultJSON.js +149 -0
- package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +183 -0
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +220 -0
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +56 -0
- package/es/constants/component-types.js +87 -0
- package/es/constants/index.js +144 -0
- package/es/constants/layout.js +120 -0
- package/es/core/Designer/CompListPanel/index.js +156 -0
- package/es/core/Designer/CompListPanel/index.less +69 -0
- package/es/core/Designer/ConfigPanel/index.js +294 -0
- package/es/core/Designer/ConfigPanel/index.less +139 -0
- package/es/core/Designer/History/index.js +91 -0
- package/es/core/Designer/PageCompList/index.js +266 -0
- package/es/core/Designer/PageCompList/index.less +114 -0
- package/es/core/Designer/QuickMenuBar/index.js +176 -0
- package/es/core/Designer/QuickMenuBar/index.less +67 -0
- package/es/core/Designer/ViewArea/index.js +150 -0
- package/es/core/Designer/ViewArea/index.less +53 -0
- package/es/core/Designer/index.js +454 -0
- package/es/core/Designer/index.less +6 -0
- package/es/core/Renderer/index.js +82 -0
- package/es/decorator/compositeDecorator.js +130 -0
- package/es/decorator/index.js +23 -0
- package/es/decorator/metaDecorator.js +199 -0
- package/es/index.js +27 -0
- package/es/meta-comp/components/Button/index.js +189 -0
- package/es/meta-comp/components/Button/index.less +19 -0
- package/es/meta-comp/components/Image/index.js +183 -0
- package/es/meta-comp/components/Text/index.js +478 -0
- package/es/meta-comp/components/index.js +31 -0
- package/es/meta-comp/config-panels/BaseConfig.js +87 -0
- package/es/meta-comp/config-panels/ButtonConfig/index.js +356 -0
- package/es/meta-comp/config-panels/ImageConfig/index.js +395 -0
- package/es/meta-comp/config-panels/TextConfig/index.js +358 -0
- package/es/mobx/Store.js +95 -0
- package/es/mobx/index.js +36 -0
- package/es/utils/androidUtil.js +113 -0
- package/es/utils/businessUtil.js +235 -0
- package/es/utils/commonUtil.js +289 -0
- package/es/utils/compJsonUtil.js +240 -0
- package/es/utils/coreUtil.js +156 -0
- package/es/utils/currencyUtil.js +190 -0
- package/es/utils/dataTreeUtils.js +105 -0
- package/es/utils/dateUtil.js +70 -0
- package/es/utils/storeUtil.js +258 -0
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/lib/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/lib/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/lib/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/lib/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/lib/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.css +299 -0
- package/lib/assets/fonts/magic-box-iconfont.css.bak +299 -0
- package/lib/assets/fonts/magic-box-iconfont.js +1 -0
- package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -0
- package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/lib/assets/images/icon/index.js +68 -0
- package/lib/assets/images/layout-icon/carouselLayout1.png +0 -0
- package/lib/assets/images/layout-icon/carouselLayout2.png +0 -0
- package/lib/assets/images/layout-icon/dividerLayout.svg +4 -0
- package/lib/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
- package/lib/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
- package/lib/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m3-1.svg +18 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m3-2.svg +9 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
- package/lib/assets/images/layout-icon/layout-search.png +0 -0
- package/lib/assets/images/layout-icon/newsletter.svg +7 -0
- package/lib/assets/less/button.less +9 -0
- package/lib/assets/less/common.less +82 -0
- package/lib/assets/less/cylon-antd.less +32534 -0
- package/lib/assets/less/font.less +50 -0
- package/lib/assets/less/global.less +8 -0
- package/lib/assets/less/index.less +11 -0
- package/lib/assets/less/input.less +8 -0
- package/lib/assets/less/menu.less +21 -0
- package/lib/assets/less/modal.less +16 -0
- package/lib/assets/less/select.less +19 -0
- package/lib/assets/less/slider.less +21 -0
- package/lib/assets/less/switch.less +20 -0
- package/lib/assets/less/table.less +40 -0
- package/lib/assets/less/variables.less +4 -0
- package/lib/common/AlignSelector/index.js +104 -0
- package/lib/common/AlignSelector/index.less +28 -0
- package/lib/common/Button/index.js +134 -0
- package/lib/common/Button/index.less +68 -0
- package/lib/common/ButtonIconLayout/index.js +103 -0
- package/lib/common/ButtonIconLayout/index.less +53 -0
- package/lib/common/Collapse/index.js +384 -0
- package/lib/common/Collapse/index.less +97 -0
- package/lib/common/ColorPicker/imgs/no-color.png +0 -0
- package/lib/common/ColorPicker/index.js +131 -0
- package/lib/common/ColorPicker/index.less +26 -0
- package/lib/common/ColorPickerInput/imgs/code.png +0 -0
- package/lib/common/ColorPickerInput/index.js +114 -0
- package/lib/common/ColorPickerInput/index.less +50 -0
- package/lib/common/CountDown/index.js +151 -0
- package/lib/common/CountDown/index.less +23 -0
- package/lib/common/Field/index.js +80 -0
- package/lib/common/Field/index.less +37 -0
- package/lib/common/FontStyles/index.js +178 -0
- package/lib/common/FontStyles/index.less +63 -0
- package/lib/common/GroupList/defaultImg.png +0 -0
- package/lib/common/GroupList/index.js +210 -0
- package/lib/common/GroupList/index.less +85 -0
- package/lib/common/IconPicker/index.js +147 -0
- package/lib/common/IconPicker/index.less +46 -0
- package/lib/common/Iconfont/index.js +148 -0
- package/lib/common/Iconfont/index.less +20 -0
- package/lib/common/ImageModal/CommonModal/const.js +22 -0
- package/lib/common/ImageModal/CommonModal/index.js +46 -0
- package/lib/common/ImageModal/CommonSelPicCard/index.js +80 -0
- package/lib/common/ImageModal/CommonSelPicCard/index.less +40 -0
- package/lib/common/ImageModal/const.js +24 -0
- package/lib/common/ImageModal/index.js +748 -0
- package/lib/common/ImageModal/index.less +21 -0
- package/lib/common/ImagePicker/index.js +162 -0
- package/lib/common/ImagePicker/index.less +104 -0
- package/lib/common/InputNumber/index.js +91 -0
- package/lib/common/InputNumber/index.less +33 -0
- package/lib/common/LayoutSelector/imgs/center.png +0 -0
- package/lib/common/LayoutSelector/imgs/left.png +0 -0
- package/lib/common/LayoutSelector/imgs/right.png +0 -0
- package/lib/common/LayoutSelector/index.js +111 -0
- package/lib/common/LayoutSelector/index.less +34 -0
- package/lib/common/LinkModal/CatgTable/index.js +234 -0
- package/lib/common/LinkModal/CouponTable/index.js +299 -0
- package/lib/common/LinkModal/CustomTable/index.js +227 -0
- package/lib/common/LinkModal/FilteredProductModal/index.js +640 -0
- package/lib/common/LinkModal/FilteredProductModal/index.less +113 -0
- package/lib/common/LinkModal/FunctionTable/index.js +221 -0
- package/lib/common/LinkModal/ProductDetailPage/index.js +433 -0
- package/lib/common/LinkModal/ProductDetailPage/index.less +21 -0
- package/lib/common/LinkModal/index.js +136 -0
- package/lib/common/LinkModal/index.less +108 -0
- package/lib/common/NewImg/index.js +165 -0
- package/lib/common/NewImg/index.less +0 -0
- package/lib/common/ProductModal/index.js +760 -0
- package/lib/common/ProductModal/index.less +238 -0
- package/lib/common/ProductSource/index.js +250 -0
- package/lib/common/ProductSource/index.less +12 -0
- package/lib/common/RcCollapse/Collapse.js +240 -0
- package/lib/common/RcCollapse/Panel.js +193 -0
- package/lib/common/RcCollapse/PanelContent.js +59 -0
- package/lib/common/RcCollapse/index.js +15 -0
- package/lib/common/RcCollapse/index.less +108 -0
- package/lib/common/RcCollapse/interface.js +1 -0
- package/lib/common/RcCollapse/motion.less +12 -0
- package/lib/common/RcCollapse/motionUtil.js +44 -0
- package/lib/common/Slider/index.js +151 -0
- package/lib/common/Slider/index.less +45 -0
- package/lib/common/SwitchCollapse/index.js +216 -0
- package/lib/common/SwitchCollapse/index.less +40 -0
- package/lib/common/UrlPicker/index.js +119 -0
- package/lib/common/UrlPicker/index.less +72 -0
- package/lib/common/index.js +127 -0
- package/lib/composite-comp/bol/components/Banner/defaultJSON.js +268 -0
- package/lib/composite-comp/bol/components/Banner/index.js +89 -0
- package/lib/composite-comp/bol/components/Button/defaultJSON.js +114 -0
- package/lib/composite-comp/bol/components/Button/index.js +103 -0
- package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +295 -0
- package/lib/composite-comp/bol/components/Divider/defaultJSON.js +47 -0
- package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +74 -0
- package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +546 -0
- package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +135 -0
- package/lib/composite-comp/bol/components/Tag/defaultJSON.js +112 -0
- package/lib/composite-comp/bol/components/Text/defaultJSON.js +149 -0
- package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +183 -0
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +220 -0
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +56 -0
- package/lib/constants/component-types.js +87 -0
- package/lib/constants/index.js +144 -0
- package/lib/constants/layout.js +120 -0
- package/lib/core/Designer/CompListPanel/index.js +156 -0
- package/lib/core/Designer/CompListPanel/index.less +69 -0
- package/lib/core/Designer/ConfigPanel/index.js +294 -0
- package/lib/core/Designer/ConfigPanel/index.less +139 -0
- package/lib/core/Designer/History/index.js +91 -0
- package/lib/core/Designer/PageCompList/index.js +266 -0
- package/lib/core/Designer/PageCompList/index.less +114 -0
- package/lib/core/Designer/QuickMenuBar/index.js +176 -0
- package/lib/core/Designer/QuickMenuBar/index.less +67 -0
- package/lib/core/Designer/ViewArea/index.js +150 -0
- package/lib/core/Designer/ViewArea/index.less +53 -0
- package/lib/core/Designer/index.js +454 -0
- package/lib/core/Designer/index.less +6 -0
- package/lib/core/Renderer/index.js +82 -0
- package/lib/decorator/compositeDecorator.js +130 -0
- package/lib/decorator/index.js +23 -0
- package/lib/decorator/metaDecorator.js +199 -0
- package/lib/index.js +27 -0
- package/lib/meta-comp/components/Button/index.js +189 -0
- package/lib/meta-comp/components/Button/index.less +0 -0
- package/lib/meta-comp/components/Image/index.js +183 -0
- package/lib/meta-comp/components/Text/index.js +478 -0
- package/lib/meta-comp/components/index.js +31 -0
- package/lib/meta-comp/config-panels/BaseConfig.js +87 -0
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +356 -0
- package/lib/meta-comp/config-panels/ImageConfig/index.js +395 -0
- package/lib/meta-comp/config-panels/TextConfig/index.js +358 -0
- package/lib/mobx/Store.js +95 -0
- package/lib/mobx/index.js +36 -0
- package/lib/utils/androidUtil.js +113 -0
- package/lib/utils/businessUtil.js +235 -0
- package/lib/utils/commonUtil.js +289 -0
- package/lib/utils/compJsonUtil.js +240 -0
- package/lib/utils/coreUtil.js +156 -0
- package/lib/utils/currencyUtil.js +190 -0
- package/lib/utils/dataTreeUtils.js +105 -0
- package/lib/utils/dateUtil.js +70 -0
- package/lib/utils/storeUtil.js +258 -0
- package/package.json +44 -6
- package/_virtual/__node-resolve_empty.js +0 -6
- package/_virtual/_cloneBuffer.js +0 -3
- package/_virtual/_commonjsHelpers.js +0 -24
- package/_virtual/_node-resolve_empty.js +0 -3
- package/_virtual/_nodeUtil.js +0 -3
- package/_virtual/_rollupPluginBabelHelpers.js +0 -18
- package/_virtual/index.js +0 -3
- package/_virtual/index2.js +0 -3
- package/_virtual/index3.js +0 -3
- package/_virtual/index4.js +0 -3
- package/_virtual/index5.js +0 -5
- package/_virtual/interopRequireDefault.js +0 -3
- package/_virtual/isBuffer.js +0 -3
- package/_virtual/react-is.development.js +0 -3
- package/_virtual/react-is.production.min.js +0 -3
- package/_virtual/rng-browser.js +0 -3
- package/_virtual/toArray.js +0 -3
- package/my_node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -11
- package/my_node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -5
- package/my_node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -9
- package/my_node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -7
- package/my_node_modules/@babel/runtime/helpers/esm/createClass.js +0 -20
- package/my_node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -22
- package/my_node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -16
- package/my_node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -8
- package/my_node_modules/@babel/runtime/helpers/esm/inherits.js +0 -21
- package/my_node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -14
- package/my_node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -31
- package/my_node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -5
- package/my_node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -29
- package/my_node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -14
- package/my_node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -9
- package/my_node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
- package/my_node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
- package/my_node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -12
- package/my_node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -11
- package/my_node_modules/call-bind/callBound.js +0 -19
- package/my_node_modules/call-bind/index.js +0 -52
- package/my_node_modules/classnames/index.js +0 -61
- package/my_node_modules/function-bind/implementation.js +0 -52
- package/my_node_modules/function-bind/index.js +0 -7
- package/my_node_modules/get-intrinsic/index.js +0 -338
- package/my_node_modules/has/src/index.js +0 -7
- package/my_node_modules/has-symbols/index.js +0 -15
- package/my_node_modules/has-symbols/shams.js +0 -42
- package/my_node_modules/lodash/_DataView.js +0 -12
- package/my_node_modules/lodash/_Hash.js +0 -40
- package/my_node_modules/lodash/_ListCache.js +0 -40
- package/my_node_modules/lodash/_Map.js +0 -12
- package/my_node_modules/lodash/_MapCache.js +0 -40
- package/my_node_modules/lodash/_Promise.js +0 -12
- package/my_node_modules/lodash/_Set.js +0 -12
- package/my_node_modules/lodash/_SetCache.js +0 -33
- package/my_node_modules/lodash/_Stack.js +0 -36
- package/my_node_modules/lodash/_Symbol.js +0 -10
- package/my_node_modules/lodash/_Uint8Array.js +0 -10
- package/my_node_modules/lodash/_WeakMap.js +0 -12
- package/my_node_modules/lodash/_arrayEach.js +0 -25
- package/my_node_modules/lodash/_arrayFilter.js +0 -28
- package/my_node_modules/lodash/_arrayLikeKeys.js +0 -59
- package/my_node_modules/lodash/_arrayMap.js +0 -24
- package/my_node_modules/lodash/_arrayPush.js +0 -23
- package/my_node_modules/lodash/_arraySome.js +0 -26
- package/my_node_modules/lodash/_assignValue.js +0 -33
- package/my_node_modules/lodash/_assocIndexOf.js +0 -25
- package/my_node_modules/lodash/_baseAssign.js +0 -22
- package/my_node_modules/lodash/_baseAssignIn.js +0 -22
- package/my_node_modules/lodash/_baseAssignValue.js +0 -29
- package/my_node_modules/lodash/_baseClone.js +0 -193
- package/my_node_modules/lodash/_baseCreate.js +0 -34
- package/my_node_modules/lodash/_baseFindIndex.js +0 -27
- package/my_node_modules/lodash/_baseFor.js +0 -20
- package/my_node_modules/lodash/_baseForOwn.js +0 -21
- package/my_node_modules/lodash/_baseGet.js +0 -29
- package/my_node_modules/lodash/_baseGetAllKeys.js +0 -25
- package/my_node_modules/lodash/_baseGetTag.js +0 -34
- package/my_node_modules/lodash/_baseHasIn.js +0 -16
- package/my_node_modules/lodash/_baseIsArguments.js +0 -23
- package/my_node_modules/lodash/_baseIsEqual.js +0 -33
- package/my_node_modules/lodash/_baseIsEqualDeep.js +0 -95
- package/my_node_modules/lodash/_baseIsMap.js +0 -23
- package/my_node_modules/lodash/_baseIsMatch.js +0 -67
- package/my_node_modules/lodash/_baseIsNative.js +0 -54
- package/my_node_modules/lodash/_baseIsSet.js +0 -23
- package/my_node_modules/lodash/_baseIsTypedArray.js +0 -66
- package/my_node_modules/lodash/_baseIteratee.js +0 -39
- package/my_node_modules/lodash/_baseKeys.js +0 -35
- package/my_node_modules/lodash/_baseKeysIn.js +0 -39
- package/my_node_modules/lodash/_baseMatches.js +0 -28
- package/my_node_modules/lodash/_baseMatchesProperty.js +0 -43
- package/my_node_modules/lodash/_baseProperty.js +0 -17
- package/my_node_modules/lodash/_basePropertyDeep.js +0 -20
- package/my_node_modules/lodash/_baseTimes.js +0 -23
- package/my_node_modules/lodash/_baseToNumber.js +0 -28
- package/my_node_modules/lodash/_baseToString.js +0 -44
- package/my_node_modules/lodash/_baseTrim.js +0 -23
- package/my_node_modules/lodash/_baseUnary.js +0 -17
- package/my_node_modules/lodash/_cacheHas.js +0 -16
- package/my_node_modules/lodash/_castPath.js +0 -28
- package/my_node_modules/lodash/_cloneArrayBuffer.js +0 -20
- package/my_node_modules/lodash/_cloneBuffer.js +0 -40
- package/my_node_modules/lodash/_cloneDataView.js +0 -20
- package/my_node_modules/lodash/_cloneRegExp.js +0 -20
- package/my_node_modules/lodash/_cloneSymbol.js +0 -22
- package/my_node_modules/lodash/_cloneTypedArray.js +0 -20
- package/my_node_modules/lodash/_copyArray.js +0 -23
- package/my_node_modules/lodash/_copyObject.js +0 -45
- package/my_node_modules/lodash/_copySymbols.js +0 -21
- package/my_node_modules/lodash/_copySymbolsIn.js +0 -21
- package/my_node_modules/lodash/_coreJsData.js +0 -10
- package/my_node_modules/lodash/_createBaseFor.js +0 -28
- package/my_node_modules/lodash/_createMathOperation.js +0 -43
- package/my_node_modules/lodash/_defineProperty.js +0 -15
- package/my_node_modules/lodash/_equalArrays.js +0 -90
- package/my_node_modules/lodash/_equalByTag.js +0 -121
- package/my_node_modules/lodash/_equalObjects.js +0 -94
- package/my_node_modules/lodash/_freeGlobal.js +0 -9
- package/my_node_modules/lodash/_getAllKeys.js +0 -22
- package/my_node_modules/lodash/_getAllKeysIn.js +0 -23
- package/my_node_modules/lodash/_getMapData.js +0 -22
- package/my_node_modules/lodash/_getMatchData.js +0 -29
- package/my_node_modules/lodash/_getNative.js +0 -22
- package/my_node_modules/lodash/_getPrototype.js +0 -10
- package/my_node_modules/lodash/_getRawTag.js +0 -50
- package/my_node_modules/lodash/_getSymbols.js +0 -35
- package/my_node_modules/lodash/_getSymbolsIn.js +0 -32
- package/my_node_modules/lodash/_getTag.js +0 -68
- package/my_node_modules/lodash/_getValue.js +0 -16
- package/my_node_modules/lodash/_hasPath.js +0 -48
- package/my_node_modules/lodash/_hashClear.js +0 -19
- package/my_node_modules/lodash/_hashDelete.js +0 -20
- package/my_node_modules/lodash/_hashGet.js +0 -34
- package/my_node_modules/lodash/_hashHas.js +0 -27
- package/my_node_modules/lodash/_hashSet.js +0 -27
- package/my_node_modules/lodash/_initCloneArray.js +0 -29
- package/my_node_modules/lodash/_initCloneByTag.js +0 -85
- package/my_node_modules/lodash/_initCloneObject.js +0 -24
- package/my_node_modules/lodash/_isIndex.js +0 -28
- package/my_node_modules/lodash/_isKey.js +0 -34
- package/my_node_modules/lodash/_isKeyable.js +0 -18
- package/my_node_modules/lodash/_isMasked.js +0 -24
- package/my_node_modules/lodash/_isPrototype.js +0 -21
- package/my_node_modules/lodash/_isStrictComparable.js +0 -19
- package/my_node_modules/lodash/_listCacheClear.js +0 -16
- package/my_node_modules/lodash/_listCacheDelete.js +0 -39
- package/my_node_modules/lodash/_listCacheGet.js +0 -23
- package/my_node_modules/lodash/_listCacheHas.js +0 -20
- package/my_node_modules/lodash/_listCacheSet.js +0 -30
- package/my_node_modules/lodash/_mapCacheClear.js +0 -27
- package/my_node_modules/lodash/_mapCacheDelete.js +0 -22
- package/my_node_modules/lodash/_mapCacheGet.js +0 -20
- package/my_node_modules/lodash/_mapCacheHas.js +0 -20
- package/my_node_modules/lodash/_mapCacheSet.js +0 -26
- package/my_node_modules/lodash/_mapToArray.js +0 -21
- package/my_node_modules/lodash/_matchesStrictComparable.js +0 -23
- package/my_node_modules/lodash/_memoizeCapped.js +0 -30
- package/my_node_modules/lodash/_nativeCreate.js +0 -10
- package/my_node_modules/lodash/_nativeKeys.js +0 -10
- package/my_node_modules/lodash/_nativeKeysIn.js +0 -23
- package/my_node_modules/lodash/_nodeUtil.js +0 -35
- package/my_node_modules/lodash/_objectToString.js +0 -25
- package/my_node_modules/lodash/_overArg.js +0 -18
- package/my_node_modules/lodash/_root.js +0 -13
- package/my_node_modules/lodash/_setCacheAdd.js +0 -22
- package/my_node_modules/lodash/_setCacheHas.js +0 -17
- package/my_node_modules/lodash/_setToArray.js +0 -21
- package/my_node_modules/lodash/_stackClear.js +0 -19
- package/my_node_modules/lodash/_stackDelete.js +0 -21
- package/my_node_modules/lodash/_stackGet.js +0 -17
- package/my_node_modules/lodash/_stackHas.js +0 -17
- package/my_node_modules/lodash/_stackSet.js +0 -40
- package/my_node_modules/lodash/_stringToPath.js +0 -31
- package/my_node_modules/lodash/_toKey.js +0 -25
- package/my_node_modules/lodash/_toSource.js +0 -29
- package/my_node_modules/lodash/_trimmedEndIndex.js +0 -22
- package/my_node_modules/lodash/cloneDeep.js +0 -33
- package/my_node_modules/lodash/divide.js +0 -26
- package/my_node_modules/lodash/eq.js +0 -40
- package/my_node_modules/lodash/findIndex.js +0 -61
- package/my_node_modules/lodash/get.js +0 -37
- package/my_node_modules/lodash/hasIn.js +0 -39
- package/my_node_modules/lodash/identity.js +0 -24
- package/my_node_modules/lodash/isArguments.js +0 -41
- package/my_node_modules/lodash/isArray.js +0 -29
- package/my_node_modules/lodash/isArrayLike.js +0 -38
- package/my_node_modules/lodash/isBuffer.js +0 -44
- package/my_node_modules/lodash/isEmpty.js +0 -89
- package/my_node_modules/lodash/isFunction.js +0 -42
- package/my_node_modules/lodash/isLength.js +0 -38
- package/my_node_modules/lodash/isMap.js +0 -34
- package/my_node_modules/lodash/isObject.js +0 -34
- package/my_node_modules/lodash/isObjectLike.js +0 -32
- package/my_node_modules/lodash/isSet.js +0 -34
- package/my_node_modules/lodash/isSymbol.js +0 -34
- package/my_node_modules/lodash/isTypedArray.js +0 -34
- package/my_node_modules/lodash/keys.js +0 -43
- package/my_node_modules/lodash/keysIn.js +0 -38
- package/my_node_modules/lodash/mapKeys.js +0 -42
- package/my_node_modules/lodash/memoize.js +0 -77
- package/my_node_modules/lodash/property.js +0 -39
- package/my_node_modules/lodash/stubArray.js +0 -26
- package/my_node_modules/lodash/stubFalse.js +0 -21
- package/my_node_modules/lodash/toFinite.js +0 -46
- package/my_node_modules/lodash/toInteger.js +0 -40
- package/my_node_modules/lodash/toNumber.js +0 -70
- package/my_node_modules/lodash/toString.js +0 -32
- package/my_node_modules/object-assign/index.js +0 -99
- package/my_node_modules/object-inspect/index.js +0 -516
- package/my_node_modules/prop-types/checkPropTypes.js +0 -115
- package/my_node_modules/prop-types/factoryWithThrowingShims.js +0 -74
- package/my_node_modules/prop-types/factoryWithTypeCheckers.js +0 -625
- package/my_node_modules/prop-types/index.js +0 -27
- package/my_node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -21
- package/my_node_modules/prop-types/lib/has.js +0 -11
- package/my_node_modules/qs/lib/formats.js +0 -23
- package/my_node_modules/qs/lib/index.js +0 -15
- package/my_node_modules/qs/lib/parse.js +0 -265
- package/my_node_modules/qs/lib/stringify.js +0 -330
- package/my_node_modules/qs/lib/utils.js +0 -254
- package/my_node_modules/rc-motion/es/CSSMotion.js +0 -149
- package/my_node_modules/rc-motion/es/DomWrapper.js +0 -28
- package/my_node_modules/rc-motion/es/hooks/useDomMotionEvents.js +0 -45
- package/my_node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js +0 -6
- package/my_node_modules/rc-motion/es/hooks/useNextFrame.js +0 -36
- package/my_node_modules/rc-motion/es/hooks/useStatus.js +0 -232
- package/my_node_modules/rc-motion/es/hooks/useStepQueue.js +0 -69
- package/my_node_modules/rc-motion/es/index.js +0 -4
- package/my_node_modules/rc-motion/es/interface.js +0 -11
- package/my_node_modules/rc-motion/es/util/motion.js +0 -85
- package/my_node_modules/rc-util/es/Dom/canUseDom.js +0 -5
- package/my_node_modules/rc-util/es/Dom/findDOMNode.js +0 -15
- package/my_node_modules/rc-util/es/hooks/useState.js +0 -36
- package/my_node_modules/rc-util/es/raf.js +0 -57
- package/my_node_modules/rc-util/es/ref.js +0 -30
- package/my_node_modules/rc-util/lib/Children/toArray.js +0 -39
- package/my_node_modules/react-is/cjs/react-is.development.js +0 -190
- package/my_node_modules/react-is/cjs/react-is.production.min.js +0 -26
- package/my_node_modules/react-is/index.js +0 -21
- package/my_node_modules/shallowequal/index.js +0 -48
- package/my_node_modules/side-channel/index.js +0 -128
- package/my_node_modules/slick-carousel/slick/slick-theme.css.js +0 -4
- package/my_node_modules/slick-carousel/slick/slick.css.js +0 -4
- package/my_node_modules/style-inject/dist/style-inject.es.js +0 -28
- package/my_node_modules/tslib/tslib.es6.js +0 -110
- package/my_node_modules/uuid/index.js +0 -13
- package/my_node_modules/uuid/lib/bytesToUuid.js +0 -29
- package/my_node_modules/uuid/lib/rng-browser.js +0 -39
- package/my_node_modules/uuid/v1.js +0 -115
- package/my_node_modules/uuid/v4.js +0 -35
- package/src/components/assets/images/layout-icon/carouselLayout1.png.js +0 -3
- package/src/components/assets/images/layout-icon/carouselLayout2.png.js +0 -3
- package/src/components/assets/images/layout-icon/dividerLayout.svg.js +0 -3
- package/src/components/assets/images/layout-icon/imageGalleryLayout1.png.js +0 -3
- package/src/components/assets/images/layout-icon/imageGalleryLayout2.png.js +0 -3
- package/src/components/assets/images/layout-icon/imageGalleryLayout3.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-m1-1.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-m1-2.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-m1-3.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-m2.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-m3.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-p1.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-p2.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-p4.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-search.png.js +0 -3
- package/src/components/assets/images/layout-icon/newsletter.svg.js +0 -3
- package/src/components/assets/less/cylon-antd.less.js +0 -3
- package/src/components/assets/less/index.less.js +0 -4
- package/src/components/common/AlignSelector/index.js +0 -65
- package/src/components/common/AlignSelector/index.less.js +0 -4
- package/src/components/common/Button/index.js +0 -75
- package/src/components/common/Button/index.less.js +0 -4
- package/src/components/common/ButtonIconLayout/index.js +0 -66
- package/src/components/common/ButtonIconLayout/index.less.js +0 -4
- package/src/components/common/Collapse/index.js +0 -323
- package/src/components/common/Collapse/index.less.js +0 -4
- package/src/components/common/ColorPicker/index.js +0 -94
- package/src/components/common/ColorPicker/index.less.js +0 -4
- package/src/components/common/ColorPickerInput/index.js +0 -76
- package/src/components/common/ColorPickerInput/index.less.js +0 -4
- package/src/components/common/CountDown/index.js +0 -110
- package/src/components/common/CountDown/index.less.js +0 -4
- package/src/components/common/Field/index.js +0 -43
- package/src/components/common/Field/index.less.js +0 -4
- package/src/components/common/FontStyles/index.js +0 -124
- package/src/components/common/FontStyles/index.less.js +0 -4
- package/src/components/common/GroupList/defaultImg.png.js +0 -3
- package/src/components/common/GroupList/index.js +0 -170
- package/src/components/common/GroupList/index.less.js +0 -4
- package/src/components/common/IconPicker/index.js +0 -93
- package/src/components/common/IconPicker/index.less.js +0 -4
- package/src/components/common/Iconfont/index.js +0 -74
- package/src/components/common/Iconfont/index.less.js +0 -4
- package/src/components/common/ImageModal/CommonModal/const.js +0 -16
- package/src/components/common/ImageModal/CommonModal/index.js +0 -33
- package/src/components/common/ImageModal/CommonSelPicCard/index.js +0 -66
- package/src/components/common/ImageModal/CommonSelPicCard/index.less.js +0 -4
- package/src/components/common/ImageModal/const.js +0 -18
- package/src/components/common/ImageModal/index.js +0 -547
- package/src/components/common/ImageModal/index.less.js +0 -4
- package/src/components/common/ImagePicker/index.js +0 -124
- package/src/components/common/ImagePicker/index.less.js +0 -4
- package/src/components/common/InputNumber/index.js +0 -54
- package/src/components/common/InputNumber/index.less.js +0 -4
- package/src/components/common/LayoutSelector/imgs/center.png.js +0 -3
- package/src/components/common/LayoutSelector/imgs/left.png.js +0 -3
- package/src/components/common/LayoutSelector/imgs/right.png.js +0 -3
- package/src/components/common/LayoutSelector/index.js +0 -70
- package/src/components/common/LayoutSelector/index.less.js +0 -4
- package/src/components/common/LinkModal/CatgTable/index.js +0 -78
- package/src/components/common/LinkModal/CouponTable/index.js +0 -111
- package/src/components/common/LinkModal/CustomTable/index.js +0 -72
- package/src/components/common/LinkModal/FilteredProductModal/index.js +0 -463
- package/src/components/common/LinkModal/FilteredProductModal/index.less.js +0 -4
- package/src/components/common/LinkModal/FunctionTable/index.js +0 -66
- package/src/components/common/LinkModal/ProductDetailPage/index.js +0 -241
- package/src/components/common/LinkModal/ProductDetailPage/index.less.js +0 -4
- package/src/components/common/LinkModal/index.js +0 -112
- package/src/components/common/LinkModal/index.less.js +0 -4
- package/src/components/common/NewImg/index.js +0 -91
- package/src/components/common/ProductModal/index.js +0 -556
- package/src/components/common/ProductModal/index.less.js +0 -4
- package/src/components/common/ProductSource/index.js +0 -91
- package/src/components/common/ProductSource/index.less.js +0 -4
- package/src/components/common/RcCollapse/Collapse.js +0 -176
- package/src/components/common/RcCollapse/Panel.js +0 -146
- package/src/components/common/RcCollapse/PanelContent.js +0 -41
- package/src/components/common/RcCollapse/index.js +0 -6
- package/src/components/common/RcCollapse/index.less.js +0 -4
- package/src/components/common/RcCollapse/motionUtil.js +0 -37
- package/src/components/common/Slider/index.js +0 -95
- package/src/components/common/Slider/index.less.js +0 -4
- package/src/components/common/SwitchCollapse/index.js +0 -162
- package/src/components/common/SwitchCollapse/index.less.js +0 -4
- package/src/components/common/UrlPicker/index.js +0 -81
- package/src/components/common/UrlPicker/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Banner/defaultJSON.js +0 -258
- package/src/components/composite-comp/bol/components/Banner/imgs/banner.png.js +0 -3
- package/src/components/composite-comp/bol/components/Banner/index.js +0 -34
- package/src/components/composite-comp/bol/components/Banner/mobile/index.js +0 -176
- package/src/components/composite-comp/bol/components/Banner/mobile/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Banner/pc/index.js +0 -254
- package/src/components/composite-comp/bol/components/Banner/pc/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Button/defaultJSON.js +0 -93
- package/src/components/composite-comp/bol/components/Button/index.js +0 -48
- package/src/components/composite-comp/bol/components/Button/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Carousel/defaultJSON.js +0 -287
- package/src/components/composite-comp/bol/components/Carousel/imgs/defaultImg.png.js +0 -3
- package/src/components/composite-comp/bol/components/Carousel/index.js +0 -37
- package/src/components/composite-comp/bol/components/Carousel/mobile/index.js +0 -217
- package/src/components/composite-comp/bol/components/Carousel/mobile/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Carousel/pc/index.js +0 -208
- package/src/components/composite-comp/bol/components/Carousel/pc/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Divider/defaultJSON.js +0 -40
- package/src/components/composite-comp/bol/components/Divider/index.js +0 -48
- package/src/components/composite-comp/bol/components/ImageGallery/defaultJSON.js +0 -64
- package/src/components/composite-comp/bol/components/ImageGallery/index.js +0 -30
- package/src/components/composite-comp/bol/components/ImageGallery/mobile/index.js +0 -47
- package/src/components/composite-comp/bol/components/ImageGallery/mobile/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/ImageText/defaultJSON.js +0 -540
- package/src/components/composite-comp/bol/components/ImageText/index.js +0 -33
- package/src/components/composite-comp/bol/components/ImageText/mobile/index.js +0 -145
- package/src/components/composite-comp/bol/components/ImageText/mobile/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/ImageText/pc/index.js +0 -126
- package/src/components/composite-comp/bol/components/ImageText/pc/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Newsletter/defaultJSON.js +0 -114
- package/src/components/composite-comp/bol/components/Newsletter/index.js +0 -65
- package/src/components/composite-comp/bol/components/Newsletter/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Tag/defaultJSON.js +0 -91
- package/src/components/composite-comp/bol/components/Tag/index.js +0 -52
- package/src/components/composite-comp/bol/components/Tag/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Text/defaultJSON.js +0 -125
- package/src/components/composite-comp/bol/components/Text/index.js +0 -68
- package/src/components/composite-comp/bol/components/Text/index.less.js +0 -4
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +0 -73
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less.js +0 -4
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +0 -200
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less.js +0 -4
- package/src/components/composite-comp/bol/config-panels/BannerConfig/index.js +0 -35
- package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigContent/index.js +0 -79
- package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png.js +0 -3
- package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png.js +0 -3
- package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/index.js +0 -53
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +0 -91
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +0 -175
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less.js +0 -4
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png.js +0 -3
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/index.js +0 -54
- package/src/components/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +0 -153
- package/src/components/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +0 -66
- package/src/components/composite-comp/bol/config-panels/DividerConfig/index.js +0 -44
- package/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +0 -91
- package/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png.js +0 -3
- package/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +0 -44
- package/src/components/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +0 -74
- package/src/components/composite-comp/bol/config-panels/ImageTextConfig/index.js +0 -170
- package/src/components/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +0 -143
- package/src/components/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +0 -89
- package/src/components/composite-comp/bol/config-panels/NewsletterConfig/index.js +0 -44
- package/src/components/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +0 -88
- package/src/components/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png.js +0 -3
- package/src/components/composite-comp/bol/config-panels/TagCompConfig/index.js +0 -48
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +0 -79
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +0 -85
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less.js +0 -4
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png.js +0 -3
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/index.js +0 -55
- package/src/components/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +0 -109
- package/src/components/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +0 -107
- package/src/components/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +0 -118
- package/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +0 -79
- package/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +0 -70
- package/src/components/composite-comp/common/components/ImageLabel/index.js +0 -47
- package/src/components/composite-comp/common/components/ImageLabel/index.less.js +0 -4
- package/src/components/composite-comp/common/components/ProductItem/index.js +0 -121
- package/src/components/composite-comp/common/components/ProductItem/index.less.js +0 -4
- package/src/components/composite-comp/common/config-panels/BackgroundConfig/index.js +0 -89
- package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.js +0 -182
- package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.less.js +0 -4
- package/src/components/composite-comp/common/config-panels/SpacingConfig/index.js +0 -133
- package/src/components/composite-comp/common/config-panels/SpacingConfig/index.less.js +0 -4
- package/src/components/composite-comp/dito/components/FlashDeal/defaultJSON.js +0 -176
- package/src/components/composite-comp/dito/components/FlashDeal/index.js +0 -31
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png.js +0 -3
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png.js +0 -3
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png.js +0 -3
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/index.js +0 -233
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/index.less.js +0 -4
- package/src/components/composite-comp/dito/components/Recommend/defaultJSON.js +0 -210
- package/src/components/composite-comp/dito/components/Recommend/index.js +0 -31
- package/src/components/composite-comp/dito/components/Recommend/mobile/index.js +0 -317
- package/src/components/composite-comp/dito/components/Recommend/mobile/index.less.js +0 -4
- package/src/components/composite-comp/dito/components/SearchBar/defaultJSON.js +0 -44
- package/src/components/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg.js +0 -3
- package/src/components/composite-comp/dito/components/SearchBar/index.js +0 -31
- package/src/components/composite-comp/dito/components/SearchBar/mobile/index.js +0 -89
- package/src/components/composite-comp/dito/components/SearchBar/mobile/index.less.js +0 -4
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +0 -121
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +0 -102
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png.js +0 -3
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/index.js +0 -49
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +0 -97
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +0 -89
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less.js +0 -4
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png.js +0 -3
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/imgs/layout1.png.js +0 -3
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/index.js +0 -49
- package/src/components/composite-comp/dito/config-panels/SearchBarConfig/index.js +0 -115
- package/src/components/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +0 -156
- package/src/components/constants/component-types.js +0 -48
- package/src/components/constants/index.js +0 -74
- package/src/components/constants/layout.js +0 -90
- package/src/components/core/Designer/CompListPanel/CompCard/index.js +0 -33
- package/src/components/core/Designer/CompListPanel/CompCard/index.less.js +0 -4
- package/src/components/core/Designer/CompListPanel/index.js +0 -109
- package/src/components/core/Designer/CompListPanel/index.less.js +0 -4
- package/src/components/core/Designer/ConfigPanel/index.js +0 -246
- package/src/components/core/Designer/ConfigPanel/index.less.js +0 -4
- package/src/components/core/Designer/History/index.js +0 -82
- package/src/components/core/Designer/PageCompList/index.js +0 -248
- package/src/components/core/Designer/PageCompList/index.less.js +0 -4
- package/src/components/core/Designer/QuickMenuBar/index.js +0 -130
- package/src/components/core/Designer/QuickMenuBar/index.less.js +0 -4
- package/src/components/core/Designer/ViewArea/index.js +0 -86
- package/src/components/core/Designer/ViewArea/index.less.js +0 -4
- package/src/components/core/Designer/index.js +0 -364
- package/src/components/core/Designer/index.less.js +0 -4
- package/src/components/core/Renderer/index.js +0 -55
- package/src/components/decorator/compositeDecorator.js +0 -94
- package/src/components/decorator/metaDecorator.js +0 -150
- package/src/components/index.js +0 -4
- package/src/components/meta-comp/components/Button/index.js +0 -113
- package/src/components/meta-comp/components/Button/index.less.js +0 -4
- package/src/components/meta-comp/components/Image/index.js +0 -133
- package/src/components/meta-comp/components/Image/index.less.js +0 -4
- package/src/components/meta-comp/components/Text/index.js +0 -385
- package/src/components/meta-comp/components/Text/index.less.js +0 -4
- package/src/components/meta-comp/config-panels/BaseConfig.js +0 -47
- package/src/components/meta-comp/config-panels/ButtonConfig/index.js +0 -308
- package/src/components/meta-comp/config-panels/ButtonConfig/index.less.js +0 -4
- package/src/components/meta-comp/config-panels/ImageConfig/index.js +0 -224
- package/src/components/meta-comp/config-panels/ImageConfig/index.less.js +0 -4
- package/src/components/meta-comp/config-panels/TextConfig/index.js +0 -310
- package/src/components/meta-comp/config-panels/TextConfig/index.less.js +0 -4
- package/src/components/mobx/Store.js +0 -88
- package/src/components/mobx/index.js +0 -12
- package/src/components/utils/androidUtil.js +0 -22
- package/src/components/utils/businessUtil.js +0 -214
- package/src/components/utils/commonUtil.js +0 -240
- package/src/components/utils/coreUtil.js +0 -108
- package/src/components/utils/currencyUtil.js +0 -110
- package/src/components/utils/dataTreeUtils.js +0 -93
- package/src/components/utils/dateUtil.js +0 -30
- package/src/components/utils/storeUtil.js +0 -113
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import styleInject from '../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
|
-
var css_248z = "@import '../fonts/magic-box-iconfont.css';\n.index_ml8__jgWiB {\n margin-left: 8px;\n}\n.index_ml12__pQBfq {\n margin-left: 12px;\n}\n.index_ml14__ToYwk {\n margin-left: 14px;\n}\n.index_ml16__ugj4u {\n margin-left: 16px;\n}\n.index_mr8__FiGPO {\n margin-right: 8px;\n}\n.index_mr12__S6332 {\n margin-right: 12px;\n}\n.index_mr14__P8kEH {\n margin-right: 14px;\n}\n.index_mr16__G6Xqi {\n margin-right: 16px;\n}\n.index_mt8__FpvaW {\n margin-top: 8px;\n}\n.index_mt12__kbisQ {\n margin-top: 12px;\n}\n.index_mt14__6XnVh {\n margin-top: 14px;\n}\n.index_mt16__xgN0e {\n margin-top: 16px;\n}\n.index_mt20__yfJcj {\n margin-top: 20px;\n}\n.index_mb8__IYztR {\n margin-bottom: 8px;\n}\n.index_mb12__PRgvU {\n margin-bottom: 12px;\n}\n.index_mb14__SScSo {\n margin-bottom: 14px;\n}\n.index_mb16__hhtvU {\n margin-bottom: 16px;\n}\n.index_mb20__AoqNK {\n margin-bottom: 20px;\n}\n.index_pt16__vbOLW {\n padding-top: 16px;\n}\n.index_one_row__5mZM4 {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n[contenteditable=\"true\"] {\n border: 1px solid transparent;\n}\n[contenteditable=\"true\"]:active,\n[contenteditable=\"true\"]:focus {\n border: 1px solid transparent;\n outline: none;\n}\n@font-face {\n font-family: 'Open Sans';\n src: url('../fonts/OpenSans-Bold.ttf');\n font-weight: 700;\n font-style: normal;\n}\n@font-face {\n font-family: 'Open Sans';\n src: url('../fonts/OpenSans-SemiBold.ttf');\n font-weight: 600;\n font-style: normal;\n}\n@font-face {\n font-family: 'Open Sans';\n src: url('../fonts/OpenSans-Regular.ttf');\n font-weight: 400;\n font-style: normal;\n}\n@font-face {\n font-family: 'Montserrat';\n src: url('../fonts/Montserrat-Regular.ttf');\n font-weight: 400;\n font-style: normal;\n}\n@font-face {\n font-family: 'Montserrat';\n src: url('../fonts/Montserrat-Medium.ttf');\n font-weight: 500;\n font-style: normal;\n}\n@font-face {\n font-family: 'Montserrat';\n src: url(../fonts/Montserrat-SemiBold.ttf);\n font-weight: 600;\n font-style: normal;\n}\n@font-face {\n font-family: 'Montserrat';\n src: url(../fonts/Montserrat-Bold.ttf);\n font-weight: 700;\n font-style: normal;\n}\n* {\n box-sizing: border-box;\n}\nbody {\n margin: 0;\n}\n[magic_design] .index_ant-select__oon91 {\n border-radius: 4px;\n height: 36px;\n padding: 0 16px;\n}\n[magic_design] .index_ant-select__oon91 .index_ant-select-selector__PNJOz {\n border-radius: 4px !important;\n}\n[magic_design] .index_ant-select__oon91.index_ant-select-sm__z3owi {\n height: 32px;\n}\n[magic_design] .index_ant-select__oon91.index_ant-select-sm__z3owi .index_ant-select-selector__PNJOz {\n height: 32px !important;\n}\n[magic_design] .index_ant-select__oon91.index_ant-select-sm__z3owi .index_ant-select-selector__PNJOz .index_ant-select-selection-placeholder__61syq {\n line-height: calc(32px - 2px) !important;\n}\n[magic_design] .index_designer-wrap__e9w3O .index_ant-switch__nrhkB {\n min-width: 40px;\n height: 24px;\n}\n[magic_design] .index_designer-wrap__e9w3O .index_ant-switch__nrhkB::after {\n content: none;\n}\n[magic_design] .index_designer-wrap__e9w3O .index_ant-switch__nrhkB.index_ant-switch-checked__IMOd5 {\n background: #2F54EB !important;\n}\n[magic_design] .index_designer-wrap__e9w3O .index_ant-switch__nrhkB.index_ant-switch-checked__IMOd5 .index_ant-switch-handle__oQNRK {\n left: calc(100% - 18px - 3px);\n}\n[magic_design] .index_designer-wrap__e9w3O .index_ant-switch__nrhkB .index_ant-switch-handle__oQNRK {\n top: 3px;\n left: 3px;\n}\n[magic_design] .index_ant-dropdown__cVXys .index_ant-dropdown-menu__JURtB {\n border-radius: 10px;\n width: 200px;\n padding: 8px 0;\n}\n[magic_design] .index_ant-dropdown__cVXys .index_ant-dropdown-menu__JURtB .index_ant-dropdown-menu-item__U9Lh0 {\n padding: 16px 24px;\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n color: #232F46;\n}\n[magic_design] .index_ant-dropdown__cVXys .index_ant-dropdown-menu__JURtB .index_ant-dropdown-menu-item-active__5vpz8 {\n background: #E9F0FF;\n color: #2F54EB;\n font-weight: 600;\n}\n[magic_design] .index_ant-slider__Ytw-R .index_ant-slider-rail__OKn02 {\n background-color: #E9F0FF !important;\n height: 8px;\n}\n[magic_design] .index_ant-slider__Ytw-R .index_ant-slider-track__OLXsj {\n background-color: #2F54EB !important;\n height: 8px;\n}\n[magic_design] .index_ant-slider__Ytw-R .index_ant-slider-step__I-E2s {\n height: 8px;\n}\n[magic_design] .index_ant-slider__Ytw-R .index_ant-slider-handle__MuSzg {\n height: 20px;\n width: 20px;\n margin-top: -6px !important;\n background-color: #597EF7 !important;\n border: solid 5px #fff !important;\n box-shadow: 1px 1px 4px 1px rgba(132, 147, 175, 0.21) !important;\n}\n[magic_design] .index_ant-table__TcZh1 .index_ant-table-container__5lJ-I .index_ant-table-header__QQfLU tr th {\n padding: 12.5px 16px;\n}\n[magic_design] .index_ant-table__TcZh1 .index_ant-table-container__5lJ-I .index_ant-table-body__ZmCxj tr th {\n padding: 12.5px 16px;\n}\n[magic_design] .index_ant-table__TcZh1 .index_ant-table-container__5lJ-I .index_ant-table-body__ZmCxj tr.index_ant-table-row-selected__fhxTm td {\n background: #E9F0FF;\n}\n[magic_design] .index_ant-table__TcZh1 .index_ant-table-container__5lJ-I .index_ant-table-content__rpQvw .index_ant-table-thead__wnTyv tr th {\n padding: 12.5px 16px;\n}\n[magic_design] .index_ant-table__TcZh1 .index_ant-table-container__5lJ-I .index_ant-table-content__rpQvw .index_ant-table-tbody__tdD3s tr td {\n padding: 12.5px 16px;\n}\n[magic_design] .index_ant-modal-wrap__DV5GR {\n display: flex;\n align-items: center;\n}\n[magic_design] .index_ant-modal-wrap__DV5GR .index_ant-modal__KdYDR {\n width: 100%;\n top: 0 !important;\n padding-bottom: 0px !important;\n}\n[magic_design] .index_ant-modal-wrap__DV5GR .index_ant-modal__KdYDR .index_ant-modal-content__LJnb6 {\n border-radius: 8px !important;\n}\n[magic_design] .index_ant-modal-wrap__DV5GR .index_ant-modal__KdYDR .index_ant-modal-content__LJnb6 .index_ant-modal-header__3M-UO {\n border-top-left-radius: 8px !important;\n border-top-right-radius: 8px !important;\n}\n[magic_design] .index_ant-input__e3nod {\n border-radius: 4px !important;\n height: 36px;\n}\n[magic_design] .index_ant-input__e3nod.index_ant-input-sm__OuqFR {\n height: 32px;\n}\n[magic_design] .index_ant-btn__D2fbT {\n height: 36px !important;\n border-radius: 4px !important;\n}\n[magic_design] .index_ant-btn__D2fbT.index_ant-btn-sm__MMJNf {\n height: 32px !important;\n}\n";
|
|
4
|
-
styleInject(css_248z);
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { __extends } from '../../../../my_my_node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import classNames from '../../../../my_my_node_modules/classnames/index.js';
|
|
4
|
-
import Iconfont from '../Iconfont/index.js';
|
|
5
|
-
import './index.less.js';
|
|
6
|
-
|
|
7
|
-
var textAlignMenu = [{
|
|
8
|
-
id: 1,
|
|
9
|
-
name: 'left',
|
|
10
|
-
icon: 'icon-align-left'
|
|
11
|
-
}, {
|
|
12
|
-
id: 2,
|
|
13
|
-
name: 'center',
|
|
14
|
-
icon: 'icon-align-center'
|
|
15
|
-
}, {
|
|
16
|
-
id: 3,
|
|
17
|
-
name: 'right',
|
|
18
|
-
icon: 'icon-align-right'
|
|
19
|
-
}];
|
|
20
|
-
var alignItemMap = {
|
|
21
|
-
left: 'flex-start',
|
|
22
|
-
center: 'center',
|
|
23
|
-
right: 'flex-end'
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
var AlignSelector =
|
|
27
|
-
/** @class */
|
|
28
|
-
function (_super) {
|
|
29
|
-
__extends(AlignSelector, _super);
|
|
30
|
-
|
|
31
|
-
function AlignSelector() {
|
|
32
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
AlignSelector.prototype.render = function () {
|
|
36
|
-
var _a = this.props,
|
|
37
|
-
onChange = _a.onChange,
|
|
38
|
-
value = _a.value;
|
|
39
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
|
40
|
-
className: "m-align-selector"
|
|
41
|
-
}, textAlignMenu.map(function (m) {
|
|
42
|
-
return /*#__PURE__*/React__default.createElement("span", {
|
|
43
|
-
key: m.id,
|
|
44
|
-
className: classNames('item-icon', {
|
|
45
|
-
active: value === m.name
|
|
46
|
-
}),
|
|
47
|
-
onClick: function () {
|
|
48
|
-
return onChange(m.name);
|
|
49
|
-
}
|
|
50
|
-
}, /*#__PURE__*/React__default.createElement(Iconfont, {
|
|
51
|
-
color: "#000",
|
|
52
|
-
size: 20,
|
|
53
|
-
type: m.icon
|
|
54
|
-
}));
|
|
55
|
-
}));
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
AlignSelector.defaultProps = {
|
|
59
|
-
value: 'left',
|
|
60
|
-
onChange: function () {}
|
|
61
|
-
};
|
|
62
|
-
return AlignSelector;
|
|
63
|
-
}(React__default.Component);
|
|
64
|
-
|
|
65
|
-
export { alignItemMap, AlignSelector as default };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import styleInject from '../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
|
-
var css_248z = ".index_m-align-selector__kMKlN {\n background: #F5F6F7;\n border-radius: 6px;\n padding: 4px;\n display: flex;\n align-items: center;\n width: fit-content;\n}\n.index_m-align-selector__kMKlN .index_item-icon__ygCMq {\n border-radius: 6px;\n width: 46px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 4px;\n cursor: pointer;\n}\n.index_m-align-selector__kMKlN .index_item-icon__ygCMq:last-child {\n margin-right: 0px;\n}\n.index_m-align-selector__kMKlN .index_item-icon__ygCMq.index_active__9Affh {\n background: #FFFFFF;\n box-shadow: -1px -1px 4px rgba(45, 48, 64, 0.08), 1px 1px 4px rgba(45, 48, 64, 0.08);\n}\n";
|
|
4
|
-
styleInject(css_248z);
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { extends as _extends } from '../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import { __extends, __rest } from '../../../../my_my_node_modules/tslib/tslib.es6.js';
|
|
3
|
-
import classNames from '../../../../my_my_node_modules/classnames/index.js';
|
|
4
|
-
import React__default, { Component } from 'react';
|
|
5
|
-
import { Tooltip } from 'antd';
|
|
6
|
-
import Iconfont from '../Iconfont/index.js';
|
|
7
|
-
import './index.less.js';
|
|
8
|
-
|
|
9
|
-
var Button =
|
|
10
|
-
/** @class */
|
|
11
|
-
function (_super) {
|
|
12
|
-
__extends(Button, _super);
|
|
13
|
-
|
|
14
|
-
function Button() {
|
|
15
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
16
|
-
|
|
17
|
-
_this.getButton = function () {
|
|
18
|
-
var _a = _this.props,
|
|
19
|
-
disabled = _a.disabled,
|
|
20
|
-
type = _a.type,
|
|
21
|
-
onClick = _a.onClick,
|
|
22
|
-
children = _a.children,
|
|
23
|
-
icon = _a.icon,
|
|
24
|
-
size = _a.size,
|
|
25
|
-
rest = __rest(_a, ["disabled", "type", "onClick", "children", "icon", "size"]);
|
|
26
|
-
|
|
27
|
-
return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
|
|
28
|
-
className: classNames('common_btn_wrap', rest.className, {
|
|
29
|
-
disabled: disabled,
|
|
30
|
-
default: type === 'default',
|
|
31
|
-
primary: type === 'primary',
|
|
32
|
-
light: type === 'light',
|
|
33
|
-
icon_btn: type === 'icon',
|
|
34
|
-
text: type === 'text',
|
|
35
|
-
large: size === 'large'
|
|
36
|
-
}),
|
|
37
|
-
onClick: function (e) {
|
|
38
|
-
if (!disabled && onClick) {
|
|
39
|
-
onClick(e);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}), icon && /*#__PURE__*/React__default.createElement(Iconfont, {
|
|
43
|
-
size: "20px",
|
|
44
|
-
type: icon
|
|
45
|
-
}), icon && children && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, "\xA0\xA0"), children);
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
return _this;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
Button.prototype.render = function () {
|
|
52
|
-
var _a = this.props,
|
|
53
|
-
disabled = _a.disabled,
|
|
54
|
-
tip = _a.tip;
|
|
55
|
-
|
|
56
|
-
if (disabled && tip) {
|
|
57
|
-
return /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
58
|
-
placement: "bottomRight",
|
|
59
|
-
title: tip
|
|
60
|
-
}, this.getButton());
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
return this.getButton();
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
Button.defaultProps = {
|
|
67
|
-
disabled: false,
|
|
68
|
-
type: 'default',
|
|
69
|
-
size: 'default',
|
|
70
|
-
children: ''
|
|
71
|
-
};
|
|
72
|
-
return Button;
|
|
73
|
-
}(Component);
|
|
74
|
-
|
|
75
|
-
export { Button as default };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import styleInject from '../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
|
-
var css_248z = ".index_common_btn_wrap__rKvLf {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 48px;\n padding: 12px 24px;\n border-radius: 8px;\n cursor: pointer;\n font-family: 'Open Sans';\n font-weight: 600;\n font-size: 16px;\n}\n.index_common_btn_wrap__rKvLf.index_default__IuTkU {\n background: #F5F6F7;\n color: #232F46;\n}\n.index_common_btn_wrap__rKvLf.index_default__IuTkU:hover {\n background-color: #EDF0F4;\n}\n.index_common_btn_wrap__rKvLf.index_primary__UwLxV {\n background-color: #2F54EB;\n color: #FFFFFF;\n}\n.index_common_btn_wrap__rKvLf.index_primary__UwLxV:hover {\n background-color: #1D39C4;\n}\n.index_common_btn_wrap__rKvLf.index_light__Susp- {\n background-color: #E9F0FF;\n color: #2F54EB;\n}\n.index_common_btn_wrap__rKvLf.index_light__Susp-:hover {\n background-color: #D6E4FF;\n}\n.index_common_btn_wrap__rKvLf.index_icon_btn__SAG8L {\n background-color: #F5F6F7;\n color: #232F46;\n padding: 14px;\n}\n.index_common_btn_wrap__rKvLf.index_icon_btn__SAG8L:hover {\n background-color: #EDF0F4;\n}\n.index_common_btn_wrap__rKvLf.index_text__kXh4a {\n background: #F5F6F7;\n color: #2F54EB;\n font-weight: 400;\n}\n.index_common_btn_wrap__rKvLf.index_disabled__mNrOn {\n background-color: #EDF0F4;\n color: #8493AF;\n cursor: not-allowed;\n}\n.index_common_btn_wrap__rKvLf.index_disabled__mNrOn:hover {\n background-color: #EDF0F4 !important;\n}\n.index_common_btn_wrap__rKvLf.index_large__iLSsM {\n height: 56px;\n}\n.index_common_btn_wrap__rKvLf + .index_common_btn_wrap__rKvLf {\n margin-left: 12px;\n}\n";
|
|
4
|
-
styleInject(css_248z);
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { __extends } from '../../../../my_my_node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import classNames from '../../../../my_my_node_modules/classnames/index.js';
|
|
4
|
-
import './index.less.js';
|
|
5
|
-
|
|
6
|
-
var layoutType = [{
|
|
7
|
-
id: 1,
|
|
8
|
-
value: 'right'
|
|
9
|
-
}, {
|
|
10
|
-
id: 2,
|
|
11
|
-
value: 'left'
|
|
12
|
-
}, {
|
|
13
|
-
id: 3,
|
|
14
|
-
value: 'bottom'
|
|
15
|
-
}, {
|
|
16
|
-
id: 4,
|
|
17
|
-
value: 'top'
|
|
18
|
-
}];
|
|
19
|
-
|
|
20
|
-
var ButtonIconLayout =
|
|
21
|
-
/** @class */
|
|
22
|
-
function (_super) {
|
|
23
|
-
__extends(ButtonIconLayout, _super);
|
|
24
|
-
|
|
25
|
-
function ButtonIconLayout() {
|
|
26
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
ButtonIconLayout.prototype.render = function () {
|
|
30
|
-
var _a = this.props,
|
|
31
|
-
onChange = _a.onChange,
|
|
32
|
-
value = _a.value,
|
|
33
|
-
icon = _a.icon;
|
|
34
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
|
35
|
-
className: "m-button-icon-layout"
|
|
36
|
-
}, layoutType.map(function (item) {
|
|
37
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
|
38
|
-
key: item.id,
|
|
39
|
-
className: classNames('item-wrap', {
|
|
40
|
-
vertical: item.value === 'top' || item.value === 'bottom',
|
|
41
|
-
active: value === item.value
|
|
42
|
-
}),
|
|
43
|
-
onClick: function () {
|
|
44
|
-
onChange(item.value);
|
|
45
|
-
}
|
|
46
|
-
}, (item.value === 'right' || item.value === 'bottom') && /*#__PURE__*/React__default.createElement("span", {
|
|
47
|
-
className: "text el"
|
|
48
|
-
}, "Text"), icon && /*#__PURE__*/React__default.createElement("img", {
|
|
49
|
-
alt: "",
|
|
50
|
-
className: "el",
|
|
51
|
-
src: icon
|
|
52
|
-
}), (item.value === 'left' || item.value === 'top') && /*#__PURE__*/React__default.createElement("span", {
|
|
53
|
-
className: "text"
|
|
54
|
-
}, "Text"));
|
|
55
|
-
}));
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
ButtonIconLayout.defaultProps = {
|
|
59
|
-
value: 'right',
|
|
60
|
-
onChange: function () {},
|
|
61
|
-
icon: ''
|
|
62
|
-
};
|
|
63
|
-
return ButtonIconLayout;
|
|
64
|
-
}(React__default.Component);
|
|
65
|
-
|
|
66
|
-
export { ButtonIconLayout as default };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import styleInject from '../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
|
-
var css_248z = ".index_m-button-icon-layout__RtUVl {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n}\n.index_m-button-icon-layout__RtUVl .index_item-wrap__f7CuV {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 94px;\n height: 50px;\n background: #FFFFFF;\n border: 1px solid #D2D9E5;\n border-radius: 8px;\n margin-right: 12px;\n margin-bottom: 12px;\n cursor: pointer;\n}\n.index_m-button-icon-layout__RtUVl .index_item-wrap__f7CuV.index_active__B1ISV {\n border: 2px solid #2F54EB;\n color: #232F46;\n}\n.index_m-button-icon-layout__RtUVl .index_item-wrap__f7CuV.index_vertical__jmte3 {\n flex-direction: column;\n}\n.index_m-button-icon-layout__RtUVl .index_item-wrap__f7CuV.index_vertical__jmte3 .index_el__hpHYA:first-child {\n margin-right: 0;\n}\n.index_m-button-icon-layout__RtUVl .index_item-wrap__f7CuV .index_el__hpHYA:first-child {\n margin-right: 8px;\n}\n.index_m-button-icon-layout__RtUVl .index_item-wrap__f7CuV .index_text__0kiv1 {\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 400;\n font-size: 14px;\n color: #232F46;\n}\n.index_m-button-icon-layout__RtUVl .index_item-wrap__f7CuV img {\n height: 20px;\n}\n";
|
|
4
|
-
styleInject(css_248z);
|
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
import { __extends, __assign } from '../../../../my_my_node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import { Switch, Checkbox } from 'antd';
|
|
4
|
-
import { store } from '../../mobx/index.js';
|
|
5
|
-
import { Panel } from '../RcCollapse/index.js';
|
|
6
|
-
import Iconfont from '../Iconfont/index.js';
|
|
7
|
-
import './index.less.js';
|
|
8
|
-
import Collapse from '../RcCollapse/Collapse.js';
|
|
9
|
-
import { autorun } from 'mobx';
|
|
10
|
-
|
|
11
|
-
var debug = require('debug')('worker:Collapse'); // @inject('store')
|
|
12
|
-
// @observer
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var CommonCollapse =
|
|
16
|
-
/** @class */
|
|
17
|
-
function (_super) {
|
|
18
|
-
__extends(CommonCollapse, _super);
|
|
19
|
-
|
|
20
|
-
function CommonCollapse() {
|
|
21
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
22
|
-
|
|
23
|
-
_this.state = {
|
|
24
|
-
activeKey: ['1']
|
|
25
|
-
}; // 初始化展开面板
|
|
26
|
-
|
|
27
|
-
_this.initActive = function (props) {
|
|
28
|
-
var _a, _b;
|
|
29
|
-
|
|
30
|
-
var actives = [];
|
|
31
|
-
var type = props.type,
|
|
32
|
-
source = props.source;
|
|
33
|
-
|
|
34
|
-
if (source.length === 0) {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
if (type === 'switch') {
|
|
39
|
-
debug('source', source);
|
|
40
|
-
var first = source.find(function (src) {
|
|
41
|
-
var _a;
|
|
42
|
-
|
|
43
|
-
return (_a = src.metaOption) === null || _a === void 0 ? void 0 : _a.open;
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
if (first && !store.clickedMeta) {
|
|
47
|
-
store.setState({
|
|
48
|
-
clickedMeta: (_a = first.metaOption) === null || _a === void 0 ? void 0 : _a.id
|
|
49
|
-
});
|
|
50
|
-
actives.push(((_b = first.metaOption) === null || _b === void 0 ? void 0 : _b.id) || first.key);
|
|
51
|
-
}
|
|
52
|
-
} else {
|
|
53
|
-
var first = source.find(function (src) {
|
|
54
|
-
var _a;
|
|
55
|
-
|
|
56
|
-
return ((_a = src.metaOption) === null || _a === void 0 ? void 0 : _a.open) !== false;
|
|
57
|
-
});
|
|
58
|
-
actives.push(first === null || first === void 0 ? void 0 : first.key);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
_this.setState({
|
|
62
|
-
activeKey: actives
|
|
63
|
-
});
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
_this.onCheckBoxChange = function (e, panelInfo) {
|
|
67
|
-
var _a;
|
|
68
|
-
|
|
69
|
-
var checked = e.target.checked;
|
|
70
|
-
panelInfo.metaOption.open = checked;
|
|
71
|
-
var activeKey = _this.state.activeKey;
|
|
72
|
-
|
|
73
|
-
if (checked) {
|
|
74
|
-
_this.setState({
|
|
75
|
-
activeKey: [((_a = panelInfo.metaOption) === null || _a === void 0 ? void 0 : _a.id) || panelInfo.key]
|
|
76
|
-
});
|
|
77
|
-
} else {
|
|
78
|
-
_this.setState({
|
|
79
|
-
activeKey: activeKey.filter(function (key) {
|
|
80
|
-
return key !== panelInfo.key;
|
|
81
|
-
})
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
_this.props.onRefresh();
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
_this.onSwitchChange = function (checked, panelInfo) {
|
|
89
|
-
var _a;
|
|
90
|
-
|
|
91
|
-
panelInfo.metaOption.open = checked;
|
|
92
|
-
|
|
93
|
-
if (checked) {
|
|
94
|
-
_this.setState({
|
|
95
|
-
activeKey: [((_a = panelInfo.metaOption) === null || _a === void 0 ? void 0 : _a.id) || panelInfo.key]
|
|
96
|
-
});
|
|
97
|
-
} else {
|
|
98
|
-
_this.setState({
|
|
99
|
-
activeKey: []
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
_this.props.onRefresh();
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
_this.getExtraInfo = function (panel) {
|
|
107
|
-
var _a;
|
|
108
|
-
|
|
109
|
-
var activeKey = _this.state.activeKey;
|
|
110
|
-
var type = _this.props.type;
|
|
111
|
-
var toggleType = panel.toggleType,
|
|
112
|
-
key = panel.key;
|
|
113
|
-
var extraType = toggleType || type; // 三角类型折叠
|
|
114
|
-
|
|
115
|
-
if (extraType === 'triangle') {
|
|
116
|
-
if (activeKey.includes(key)) {
|
|
117
|
-
return /*#__PURE__*/React__default.createElement(Iconfont, {
|
|
118
|
-
color: "#8493AF",
|
|
119
|
-
size: 20,
|
|
120
|
-
type: "icon-up"
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
return /*#__PURE__*/React__default.createElement(Iconfont, {
|
|
125
|
-
color: "#8493AF",
|
|
126
|
-
size: 20,
|
|
127
|
-
type: "icon-down"
|
|
128
|
-
});
|
|
129
|
-
} // 箭头类型折叠
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
if (extraType === 'arrow') {
|
|
133
|
-
if (activeKey.includes(key)) {
|
|
134
|
-
return /*#__PURE__*/React__default.createElement(Iconfont, {
|
|
135
|
-
color: "#8493AF",
|
|
136
|
-
size: 20,
|
|
137
|
-
type: "icon-outlined-up"
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
return /*#__PURE__*/React__default.createElement(Iconfont, {
|
|
142
|
-
color: "#8493AF",
|
|
143
|
-
size: 20,
|
|
144
|
-
type: "icon-outlined-down"
|
|
145
|
-
});
|
|
146
|
-
} // switch类型折叠
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
if (extraType === 'switch') {
|
|
150
|
-
return /*#__PURE__*/React__default.createElement(Switch, {
|
|
151
|
-
checked: (_a = panel.metaOption) === null || _a === void 0 ? void 0 : _a.open,
|
|
152
|
-
onChange: function (checked) {
|
|
153
|
-
return _this.onSwitchChange(checked, panel);
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
} // checkbox类型折叠
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
if (extraType === 'checkbox') {
|
|
160
|
-
return /*#__PURE__*/React__default.createElement(Checkbox, {
|
|
161
|
-
checked: panel.metaOption.open,
|
|
162
|
-
onChange: function (e) {
|
|
163
|
-
return _this.onCheckBoxChange(e, panel);
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
_this.headerMouseEnter = function (panel) {
|
|
170
|
-
var _a;
|
|
171
|
-
|
|
172
|
-
if (_this.props.type !== 'switch') {
|
|
173
|
-
return;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
store.setState({
|
|
177
|
-
hoveredMeta: (_a = panel.metaOption) === null || _a === void 0 ? void 0 : _a.id
|
|
178
|
-
});
|
|
179
|
-
};
|
|
180
|
-
|
|
181
|
-
_this.headerMouseLeave = function () {
|
|
182
|
-
if (_this.props.type !== 'switch') {
|
|
183
|
-
return;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
store.setState({
|
|
187
|
-
hoveredMeta: ''
|
|
188
|
-
});
|
|
189
|
-
};
|
|
190
|
-
|
|
191
|
-
_this.getHeader = function (panel) {
|
|
192
|
-
var activeKey = _this.state.activeKey;
|
|
193
|
-
var name = panel.name,
|
|
194
|
-
key = panel.key;
|
|
195
|
-
var _a = _this.props,
|
|
196
|
-
headerStyle = _a.headerStyle,
|
|
197
|
-
showActiveColor = _a.showActiveColor;
|
|
198
|
-
var showColor = activeKey.includes(key) && showActiveColor;
|
|
199
|
-
var activeStyle = showColor ? {
|
|
200
|
-
color: '#2F54EB'
|
|
201
|
-
} : {};
|
|
202
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
|
203
|
-
className: "header_wrap",
|
|
204
|
-
onMouseEnter: function () {
|
|
205
|
-
return _this.headerMouseEnter(panel);
|
|
206
|
-
},
|
|
207
|
-
onMouseLeave: _this.headerMouseLeave,
|
|
208
|
-
style: __assign(__assign({}, headerStyle), activeStyle)
|
|
209
|
-
}, /*#__PURE__*/React__default.createElement("div", null, name));
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
_this.panelCollapsible = function (panel) {
|
|
213
|
-
var type = _this.props.type;
|
|
214
|
-
var toggleType = panel.toggleType,
|
|
215
|
-
metaOption = panel.metaOption;
|
|
216
|
-
var extraType = toggleType || type;
|
|
217
|
-
|
|
218
|
-
if (['triangle', 'arrow'].includes(extraType)) {
|
|
219
|
-
return null;
|
|
220
|
-
} else {
|
|
221
|
-
// switch 和checkbox模式只有在开启的状态下才能展开
|
|
222
|
-
if (metaOption === null || metaOption === void 0 ? void 0 : metaOption.open) {
|
|
223
|
-
return 'header';
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
return 'disabled';
|
|
227
|
-
}
|
|
228
|
-
};
|
|
229
|
-
|
|
230
|
-
_this.showHeaderHover = function (panel) {
|
|
231
|
-
var _a;
|
|
232
|
-
|
|
233
|
-
var type = _this.props.type;
|
|
234
|
-
|
|
235
|
-
if (store.hoveredMeta === ((_a = panel.metaOption) === null || _a === void 0 ? void 0 : _a.id) && type === 'switch') {
|
|
236
|
-
return true;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
return false;
|
|
240
|
-
};
|
|
241
|
-
|
|
242
|
-
_this.onCollapseChange = function (value) {
|
|
243
|
-
var type = _this.props.type;
|
|
244
|
-
|
|
245
|
-
_this.setState({
|
|
246
|
-
activeKey: value ? [value] : []
|
|
247
|
-
});
|
|
248
|
-
|
|
249
|
-
if (type === 'switch') {
|
|
250
|
-
store.setState({
|
|
251
|
-
clickedMeta: value
|
|
252
|
-
});
|
|
253
|
-
}
|
|
254
|
-
};
|
|
255
|
-
|
|
256
|
-
return _this;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
CommonCollapse.prototype.componentWillMount = function () {
|
|
260
|
-
this.initActive(this.props);
|
|
261
|
-
};
|
|
262
|
-
|
|
263
|
-
CommonCollapse.prototype.componentDidMount = function () {
|
|
264
|
-
var _this = this;
|
|
265
|
-
|
|
266
|
-
this.distroy = autorun(function () {
|
|
267
|
-
if (_this.props.type === 'switch' && store.clickedMeta) {
|
|
268
|
-
_this.setState({
|
|
269
|
-
activeKey: [store.clickedMeta]
|
|
270
|
-
});
|
|
271
|
-
}
|
|
272
|
-
});
|
|
273
|
-
}; // componentWillReceiveProps(nextProps) {
|
|
274
|
-
// console.log(this.props);
|
|
275
|
-
// console.log(nextProps);
|
|
276
|
-
// this.initActive(nextProps);
|
|
277
|
-
// }
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
CommonCollapse.prototype.componentWillUnmount = function () {
|
|
281
|
-
this.distroy();
|
|
282
|
-
};
|
|
283
|
-
|
|
284
|
-
CommonCollapse.prototype.render = function () {
|
|
285
|
-
var _this = this;
|
|
286
|
-
|
|
287
|
-
var _a = this.props,
|
|
288
|
-
source = _a.source,
|
|
289
|
-
headerSize = _a.headerSize,
|
|
290
|
-
divider = _a.divider;
|
|
291
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
|
292
|
-
className: "collapse_wrap ".concat(headerSize, "_header ").concat(divider, "_divider")
|
|
293
|
-
}, /*#__PURE__*/React__default.createElement(Collapse, {
|
|
294
|
-
accordion: true,
|
|
295
|
-
activeKey: this.state.activeKey // destroyInactivePanel
|
|
296
|
-
,
|
|
297
|
-
onChange: this.onCollapseChange
|
|
298
|
-
}, source.map(function (panel) {
|
|
299
|
-
var _a;
|
|
300
|
-
|
|
301
|
-
return /*#__PURE__*/React__default.createElement(Panel, {
|
|
302
|
-
key: ((_a = panel.metaOption) === null || _a === void 0 ? void 0 : _a.id) || panel.key,
|
|
303
|
-
collapsible: _this.panelCollapsible(panel),
|
|
304
|
-
extra: _this.getExtraInfo(panel),
|
|
305
|
-
header: _this.getHeader(panel),
|
|
306
|
-
headerClass: _this.showHeaderHover(panel) ? 'rc-collapse-header-hover' : '',
|
|
307
|
-
showArrow: false
|
|
308
|
-
}, panel.value);
|
|
309
|
-
})));
|
|
310
|
-
};
|
|
311
|
-
|
|
312
|
-
CommonCollapse.defaultProps = {
|
|
313
|
-
type: 'triangle',
|
|
314
|
-
source: [],
|
|
315
|
-
headerStyle: {},
|
|
316
|
-
divider: 'solid',
|
|
317
|
-
headerSize: 'default',
|
|
318
|
-
onRefresh: function () {}
|
|
319
|
-
};
|
|
320
|
-
return CommonCollapse;
|
|
321
|
-
}(React__default.Component);
|
|
322
|
-
|
|
323
|
-
export { CommonCollapse as default };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import styleInject from '../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
|
-
var css_248z = ".index_collapse_wrap__p-a9F .index_rc-collapse__JUUbd .index_rc-collapse-item__9TO42 {\n border-bottom: 1px solid #EDF0F4;\n}\n.index_collapse_wrap__p-a9F .index_rc-collapse__JUUbd .index_rc-collapse-item__9TO42 .index_rc-collapse-header__CL9I5 {\n padding: 0 5px;\n margin: 0 -5px;\n align-items: center;\n}\n.index_collapse_wrap__p-a9F .index_rc-collapse__JUUbd .index_rc-collapse-item__9TO42 .index_rc-collapse-header__CL9I5 .index_rc-collapse-header-text__9HPod {\n flex-grow: 1;\n}\n.index_collapse_wrap__p-a9F .index_rc-collapse__JUUbd .index_rc-collapse-item__9TO42 .index_rc-collapse-header__CL9I5.index_rc-collapse-header-hover__ovEfY {\n background: #E9F0FF;\n}\n.index_collapse_wrap__p-a9F .index_rc-collapse__JUUbd .index_rc-collapse-item__9TO42 .index_rc-collapse-content__6UU69 .index_rc-collapse-content-box__XlFDA {\n padding: 0;\n}\n.index_collapse_wrap__p-a9F .index_rc-collapse__JUUbd .index_header_wrap__nihJT {\n padding: 20px 0;\n position: relative;\n color: #232F46;\n font-family: 'Open Sans';\n font-style: normal;\n box-sizing: content-box;\n}\n.index_collapse_wrap__p-a9F.index_bold_divider__UnWgX .index_rc-collapse__JUUbd .index_rc-collapse-item__9TO42 {\n border-bottom: 6px solid #EDF0F4;\n border-radius: 2px;\n}\n.index_collapse_wrap__p-a9F.index_bold_divider__UnWgX .index_rc-collapse__JUUbd .index_rc-collapse-item__9TO42:last-child {\n border-bottom: none;\n}\n.index_collapse_wrap__p-a9F.index_solid_divider__ob8rb .index_rc-collapse__JUUbd .index_rc-collapse-item__9TO42 {\n border-bottom: 1px solid #EDF0F4;\n border-radius: 0px;\n}\n.index_collapse_wrap__p-a9F.index_solid_divider__ob8rb .index_rc-collapse__JUUbd .index_rc-collapse-item__9TO42:last-child {\n border-bottom: none;\n}\n.index_collapse_wrap__p-a9F.index_dashed_divider__aT2QL .index_rc-collapse__JUUbd .index_rc-collapse-item__9TO42 {\n border-bottom: 1px dashed #D2D9E5;\n}\n.index_collapse_wrap__p-a9F.index_dashed_divider__aT2QL .index_rc-collapse__JUUbd .index_rc-collapse-item__9TO42:last-child {\n border-bottom: none;\n}\n.index_collapse_wrap__p-a9F.index_large_header__o2lO4 .index_header_wrap__nihJT {\n font-size: 18px !important;\n line-height: 26px !important;\n height: 26px !important;\n font-weight: 700 !important;\n}\n.index_collapse_wrap__p-a9F.index_middle_header__S2kXd .index_header_wrap__nihJT {\n font-size: 16px !important;\n line-height: 24px !important;\n height: 24px !important;\n font-weight: 600 !important;\n}\n.index_collapse_wrap__p-a9F.index_small_header__eqwTc .index_header_wrap__nihJT {\n font-size: 14px !important;\n line-height: 22px !important;\n height: 22px !important;\n font-weight: 700 !important;\n}\n.index_collapse_wrap__p-a9F.index_default_header__J2Aex .index_header_wrap__nihJT {\n font-size: 16px;\n line-height: 24px;\n height: 24px;\n font-weight: 600;\n}\n";
|
|
4
|
-
styleInject(css_248z);
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { __extends } from '../../../../my_my_node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import { SketchPicker } from 'react-color';
|
|
4
|
-
import './index.less.js';
|
|
5
|
-
|
|
6
|
-
var ColorPicker =
|
|
7
|
-
/** @class */
|
|
8
|
-
function (_super) {
|
|
9
|
-
__extends(ColorPicker, _super);
|
|
10
|
-
|
|
11
|
-
function ColorPicker() {
|
|
12
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13
|
-
|
|
14
|
-
_this.getRgbaStr = function (c) {
|
|
15
|
-
return "rgba(".concat(c.r, ", ").concat(c.g, ", ").concat(c.b, ", ").concat(c.a, ")");
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
_this.getHexStr = function (c) {
|
|
19
|
-
if (_this.getRgbaStr(c.rgb) === 'rgba(255, 255, 255, 0)') {
|
|
20
|
-
return '';
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return c.hex;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
_this.onChangeColor = function (color) {
|
|
27
|
-
var _a = _this.props,
|
|
28
|
-
type = _a.type,
|
|
29
|
-
onChangeColor = _a.onChangeColor;
|
|
30
|
-
|
|
31
|
-
var _color = type === 'hex' ? _this.getHexStr(color) : _this.getRgbaStr(color.rgb);
|
|
32
|
-
|
|
33
|
-
onChangeColor(_color);
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
_this.convertPlacement = function (type) {
|
|
37
|
-
var styleMap = {
|
|
38
|
-
top: {},
|
|
39
|
-
left: {},
|
|
40
|
-
right: {},
|
|
41
|
-
bottom: {},
|
|
42
|
-
topLeft: {},
|
|
43
|
-
topRight: {},
|
|
44
|
-
bottomLeft: {
|
|
45
|
-
right: 0,
|
|
46
|
-
top: '100%'
|
|
47
|
-
},
|
|
48
|
-
bottomRight: {},
|
|
49
|
-
leftTop: {},
|
|
50
|
-
leftBottom: {},
|
|
51
|
-
rightTop: {},
|
|
52
|
-
rightBottom: {}
|
|
53
|
-
};
|
|
54
|
-
return styleMap[type] || {};
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
return _this;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
ColorPicker.prototype.render = function () {
|
|
61
|
-
var _a = this.props,
|
|
62
|
-
type = _a.type,
|
|
63
|
-
placement = _a.placement,
|
|
64
|
-
color = _a.color,
|
|
65
|
-
visibility = _a.visibility,
|
|
66
|
-
onClose = _a.onClose;
|
|
67
|
-
var style = this.convertPlacement(placement);
|
|
68
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
|
69
|
-
className: "m-color-picker-panel",
|
|
70
|
-
style: style
|
|
71
|
-
}, visibility && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
72
|
-
className: "panel-bg",
|
|
73
|
-
onClick: function () {
|
|
74
|
-
return onClose();
|
|
75
|
-
}
|
|
76
|
-
}), /*#__PURE__*/React__default.createElement(SketchPicker, {
|
|
77
|
-
color: color,
|
|
78
|
-
disableAlpha: type == 'hex',
|
|
79
|
-
onChangeComplete: this.onChangeColor,
|
|
80
|
-
presetColors: ['rgba(255,255,255,0)', '#000', '#fff', '#2F54EB', '#FF0000', '#FF7D00', '#FFFF00', '#00FF00', '#0000FF', '#FF00FF', '#EDF0F4', '#d9d9d9']
|
|
81
|
-
})));
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
ColorPicker.defaultProps = {
|
|
85
|
-
visibility: false,
|
|
86
|
-
color: '#2F54EB',
|
|
87
|
-
type: 'hex',
|
|
88
|
-
onChangeColor: function () {},
|
|
89
|
-
onClose: function () {}
|
|
90
|
-
};
|
|
91
|
-
return ColorPicker;
|
|
92
|
-
}(React__default.Component);
|
|
93
|
-
|
|
94
|
-
export { ColorPicker as default };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import styleInject from '../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
|
-
var css_248z = ".index_m-color-picker-panel__tKxhY {\n position: absolute;\n z-index: 999;\n}\n.index_m-color-picker-panel__tKxhY .index_panel-bg__fs7jw {\n position: fixed;\n z-index: 0;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.index_m-color-picker-panel__tKxhY .index_sketch-picker__ROr8z .index_flexbox-fix__hV6-T:last-child > div > span > div {\n border-radius: 50px !important;\n}\n.index_m-color-picker-panel__tKxhY .index_sketch-picker__ROr8z .index_flexbox-fix__hV6-T:last-child div[title=\"rgba(255,255,255,0)\"] {\n background: url('./imgs/no-color.png') !important;\n background-size: 100% !important;\n}\n";
|
|
4
|
-
styleInject(css_248z);
|