@fonixtree/magic-design 0.1.76 → 0.1.78
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/magic-box-iconfont.css +23 -3
- package/es/assets/fonts/magic-box-iconfont.css.bak +23 -3
- package/es/assets/fonts/magic-box-iconfont.js +1 -1
- package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
- 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/layout-icon/imageTextLeft.svg +6 -0
- package/es/assets/images/layout-icon/imageTextRight.svg +6 -0
- package/es/assets/images/layout-icon/locationLayout.png +0 -0
- package/es/assets/less/modal.less +1 -1
- package/es/common/ColorPicker/index.js +4 -1
- package/es/common/Field/index.js +20 -3
- package/es/common/ImageLazy/index.js +172 -0
- package/es/common/ImageLazy/index.less +0 -0
- package/es/common/ImagePicker/index.js +50 -5
- package/es/common/ImagePicker/index.less +1 -0
- package/es/common/LinkModal/BundleCampaign/index.js +2 -2
- package/es/common/LinkModal/CatgTable/index.js +1 -1
- package/es/common/LinkModal/CouponTable/index.js +10 -2
- package/es/common/LinkModal/FilteredProductModal/index.js +12 -9
- package/es/common/LinkModal/FilteredProductModal/index.less +1 -1
- package/es/common/LinkModal/ProductDetailPage/index.js +3 -3
- package/es/common/LinkModal/index.js +1 -1
- package/es/common/ProductModal/index.js +25 -32
- package/es/common/Video/index.js +11 -3
- package/es/common/Video/index.less +11 -7
- package/es/composite-comp/bol/components/Banner/mobile/index.js +6 -0
- package/es/composite-comp/bol/components/Carousel/index.js +27 -3
- package/es/composite-comp/bol/components/Carousel/mobile/index.js +11 -20
- package/es/composite-comp/bol/components/Carousel/pc/index.js +4 -2
- package/es/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
- package/es/composite-comp/bol/components/CustomCode/index.js +138 -0
- package/es/composite-comp/bol/components/ImageText/pc/index.js +95 -3
- package/es/composite-comp/bol/components/ImageText/pc/index.less +32 -0
- package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
- package/es/composite-comp/bol/components/Location/index.js +100 -0
- package/es/composite-comp/bol/components/Location/index.less +15 -0
- package/es/composite-comp/bol/components/Video/defaultJSON.js +24 -0
- package/es/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
- package/es/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
- package/es/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
- package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
- package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +113 -2
- package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +53 -2
- package/es/composite-comp/common/components/ProductItem/index.js +8 -4
- package/es/composite-comp/common/components/ProductItem/index.less +30 -15
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +16 -3
- package/es/composite-comp/dito/components/Recommend/pc/index.js +2 -1
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
- package/es/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
- package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +41 -37
- package/es/composite-comp/dito/components/SignBoard/mobile/index.js +46 -37
- package/es/composite-comp/dito/components/SignBoard/mobile/index.less +0 -14
- package/es/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
- package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
- package/es/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +9 -47
- package/es/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
- package/es/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -4
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +14 -2
- package/es/constants/component-types.js +10 -2
- package/es/constants/index.js +10 -1
- package/es/constants/layout.js +21 -1
- package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +6 -6
- package/es/core/Designer/AiImageGenerator/History/index.js +147 -0
- package/es/core/Designer/AiImageGenerator/History/index.less +75 -0
- package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
- package/es/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
- package/es/core/Designer/AiImageGenerator/UploadReference/index.js +18 -8
- package/es/core/Designer/AiImageGenerator/UploadReference/index.less +6 -0
- package/es/core/Designer/AiImageGenerator/index.js +364 -63
- package/es/core/Designer/AiImageGenerator/index.less +70 -46
- package/es/core/Designer/ChatRobot/index.js +51 -14
- package/es/core/Designer/ChatRobot/index.less +11 -0
- package/es/core/Designer/ConfigPanel/index.js +2 -1
- package/es/core/Designer/FonixtreeGpt/index.js +32 -171
- package/es/core/Designer/LeftTitle/index.js +1 -1
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +96 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +105 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +105 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/index.js +151 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/index.less +25 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
- package/es/core/Designer/ToolBarModal/index.js +366 -0
- package/es/core/Designer/ToolBarModal/index.less +32 -0
- package/es/core/Designer/index.js +33 -10
- package/es/core/Renderer/index.js +20 -21
- package/es/decorator/index.js +38 -1
- package/es/decorator/lazyLoadDecorator.js +75 -0
- package/es/locale/en/en.json +6 -1
- package/es/locale/es/es.json +6 -1
- package/es/locale/id/id.json +6 -1
- package/es/meta-comp/components/Button/index.js +7 -0
- package/es/meta-comp/components/Image/index.js +19 -3
- package/es/meta-comp/components/Text/formats/fontFamily.js +58 -0
- package/es/meta-comp/components/Text/formats/fontStyle.js +58 -0
- package/es/meta-comp/components/Text/formats/fontWeight.js +58 -0
- package/es/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
- package/es/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
- package/es/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
- package/es/meta-comp/components/Text/index.js +110 -372
- package/es/meta-comp/components/Text/index.less +57 -0
- package/es/meta-comp/config-panels/ButtonConfig/index.js +30 -28
- package/es/meta-comp/config-panels/ImageConfig/index.js +3 -1
- package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
- package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
- package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
- package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
- package/es/meta-comp/config-panels/TextConfig/index.js +9 -30
- package/es/meta-comp/config-panels/TextConfig/index.less +12 -16
- package/es/mobx/Frame.js +7 -1
- package/es/utils/androidUtil.js +6 -0
- package/es/utils/commonUtil.js +35 -7
- package/es/utils/coreUtil.js +15 -0
- package/es/utils/currencyUtil.js +29 -10
- package/lib/assets/fonts/magic-box-iconfont.css +23 -3
- package/lib/assets/fonts/magic-box-iconfont.css.bak +23 -3
- package/lib/assets/fonts/magic-box-iconfont.js +1 -1
- package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
- 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/layout-icon/imageTextLeft.svg +6 -0
- package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
- package/lib/assets/images/layout-icon/locationLayout.png +0 -0
- package/lib/assets/less/modal.less +1 -1
- package/lib/common/ColorPicker/index.js +4 -1
- package/lib/common/Field/index.js +20 -3
- package/lib/common/ImageLazy/index.js +172 -0
- package/lib/common/ImageLazy/index.less +0 -0
- package/lib/common/ImagePicker/index.js +50 -5
- package/lib/common/ImagePicker/index.less +1 -0
- package/lib/common/LinkModal/BundleCampaign/index.js +2 -2
- package/lib/common/LinkModal/CatgTable/index.js +1 -1
- package/lib/common/LinkModal/CouponTable/index.js +10 -2
- package/lib/common/LinkModal/FilteredProductModal/index.js +12 -9
- package/lib/common/LinkModal/FilteredProductModal/index.less +1 -1
- package/lib/common/LinkModal/ProductDetailPage/index.js +3 -3
- package/lib/common/LinkModal/index.js +1 -1
- package/lib/common/ProductModal/index.js +25 -32
- package/lib/common/Video/index.js +11 -3
- package/lib/common/Video/index.less +11 -7
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +6 -0
- package/lib/composite-comp/bol/components/Carousel/index.js +27 -3
- package/lib/composite-comp/bol/components/Carousel/mobile/index.js +11 -20
- package/lib/composite-comp/bol/components/Carousel/pc/index.js +4 -2
- package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
- package/lib/composite-comp/bol/components/CustomCode/index.js +138 -0
- package/lib/composite-comp/bol/components/ImageText/pc/index.js +95 -3
- package/lib/composite-comp/bol/components/ImageText/pc/index.less +32 -0
- package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
- package/lib/composite-comp/bol/components/Location/index.js +100 -0
- package/lib/composite-comp/bol/components/Location/index.less +15 -0
- package/lib/composite-comp/bol/components/Video/defaultJSON.js +24 -0
- package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
- package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
- package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
- package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +113 -2
- package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +53 -2
- package/lib/composite-comp/common/components/ProductItem/index.js +8 -4
- package/lib/composite-comp/common/components/ProductItem/index.less +30 -15
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +16 -3
- package/lib/composite-comp/dito/components/Recommend/pc/index.js +2 -1
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
- package/lib/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
- package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +41 -37
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +46 -37
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +0 -14
- package/lib/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
- package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +9 -47
- package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
- package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -4
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +14 -2
- package/lib/constants/component-types.js +10 -2
- package/lib/constants/index.js +10 -1
- package/lib/constants/layout.js +21 -1
- package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +6 -6
- package/lib/core/Designer/AiImageGenerator/History/index.js +147 -0
- package/lib/core/Designer/AiImageGenerator/History/index.less +75 -0
- package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
- package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +18 -8
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +6 -0
- package/lib/core/Designer/AiImageGenerator/index.js +364 -63
- package/lib/core/Designer/AiImageGenerator/index.less +70 -46
- package/lib/core/Designer/ChatRobot/index.js +51 -14
- package/lib/core/Designer/ChatRobot/index.less +11 -0
- package/lib/core/Designer/ConfigPanel/index.js +2 -1
- package/lib/core/Designer/FonixtreeGpt/index.js +32 -171
- package/lib/core/Designer/LeftTitle/index.js +1 -1
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +96 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +105 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +105 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +151 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +25 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
- package/lib/core/Designer/ToolBarModal/index.js +366 -0
- package/lib/core/Designer/ToolBarModal/index.less +32 -0
- package/lib/core/Designer/index.js +33 -10
- package/lib/core/Renderer/index.js +20 -21
- package/lib/decorator/index.js +38 -1
- package/lib/decorator/lazyLoadDecorator.js +75 -0
- package/lib/locale/en/en.json +6 -1
- package/lib/locale/es/es.json +6 -1
- package/lib/locale/id/id.json +6 -1
- package/lib/meta-comp/components/Button/index.js +7 -0
- package/lib/meta-comp/components/Image/index.js +19 -3
- package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
- package/lib/meta-comp/components/Text/formats/fontStyle.js +58 -0
- package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
- package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
- package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
- package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
- package/lib/meta-comp/components/Text/index.js +110 -372
- package/lib/meta-comp/components/Text/index.less +57 -0
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +30 -28
- package/lib/meta-comp/config-panels/ImageConfig/index.js +3 -1
- package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
- package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
- package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
- package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
- package/lib/meta-comp/config-panels/TextConfig/index.js +9 -30
- package/lib/meta-comp/config-panels/TextConfig/index.less +12 -16
- package/lib/mobx/Frame.js +7 -1
- package/lib/utils/androidUtil.js +6 -0
- package/lib/utils/commonUtil.js +35 -7
- package/lib/utils/coreUtil.js +15 -0
- package/lib/utils/currencyUtil.js +29 -10
- package/package.json +5 -2
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.tool-btn-wrap {
|
|
2
|
+
width: 26px;
|
|
3
|
+
height: 26px;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
border-radius: 6px;
|
|
9
|
+
padding: 0;
|
|
10
|
+
border: none;
|
|
11
|
+
transition: .2s all linear;
|
|
12
|
+
position: relative;
|
|
13
|
+
|
|
14
|
+
&:hover {
|
|
15
|
+
background: #f8f8f8;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.active {
|
|
19
|
+
background: #E7E9E8;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
svg {
|
|
23
|
+
height: 18px;
|
|
24
|
+
height: 18px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _common = require("../../../../../../../common");
|
|
11
|
+
|
|
12
|
+
require("./index.less");
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
17
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
18
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
19
|
+
__proto__: []
|
|
20
|
+
} instanceof Array && function (d, b) {
|
|
21
|
+
d.__proto__ = b;
|
|
22
|
+
} || function (d, b) {
|
|
23
|
+
for (var p in b) {
|
|
24
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
return _extendStatics(d, b);
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
return function (d, b) {
|
|
32
|
+
_extendStatics(d, b);
|
|
33
|
+
|
|
34
|
+
function __() {
|
|
35
|
+
this.constructor = d;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
39
|
+
};
|
|
40
|
+
}();
|
|
41
|
+
|
|
42
|
+
var LinkInputPicker =
|
|
43
|
+
/** @class */
|
|
44
|
+
function (_super) {
|
|
45
|
+
__extends(LinkInputPicker, _super);
|
|
46
|
+
|
|
47
|
+
function LinkInputPicker() {
|
|
48
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
49
|
+
|
|
50
|
+
_this.state = {
|
|
51
|
+
value: ''
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
_this.onUrlChange = function (v) {
|
|
55
|
+
console.log('v', v);
|
|
56
|
+
|
|
57
|
+
_this.setState({
|
|
58
|
+
value: v
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
_this.onCommit = function () {
|
|
63
|
+
var value = _this.state.value;
|
|
64
|
+
var _a = _this.props,
|
|
65
|
+
onChange = _a.onChange,
|
|
66
|
+
onClose = _a.onClose;
|
|
67
|
+
onChange(value);
|
|
68
|
+
onClose();
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
return _this;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
LinkInputPicker.prototype.render = function () {
|
|
75
|
+
var _a = this.props,
|
|
76
|
+
visibility = _a.visibility,
|
|
77
|
+
onClose = _a.onClose;
|
|
78
|
+
var value = this.state.value;
|
|
79
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
80
|
+
className: "link-input-picker-panel"
|
|
81
|
+
}, visibility && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
82
|
+
className: "panel-bg",
|
|
83
|
+
onClick: onClose
|
|
84
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
85
|
+
className: "panel-content"
|
|
86
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.UrlPicker, {
|
|
87
|
+
onChange: this.onUrlChange,
|
|
88
|
+
value: value
|
|
89
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
90
|
+
className: "commit-btn",
|
|
91
|
+
onClick: this.onCommit
|
|
92
|
+
}, "Confirm"))));
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
return LinkInputPicker;
|
|
96
|
+
}(_react["default"].Component);
|
|
97
|
+
|
|
98
|
+
var _default = LinkInputPicker;
|
|
99
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.link-input-picker-panel {
|
|
2
|
+
z-index: 999;
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: calc(100% + 8px);
|
|
5
|
+
right: 0;
|
|
6
|
+
|
|
7
|
+
.panel-bg {
|
|
8
|
+
position: fixed;
|
|
9
|
+
z-index: 0;
|
|
10
|
+
top: 0;
|
|
11
|
+
left: 0;
|
|
12
|
+
right: 0;
|
|
13
|
+
bottom: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.panel-content {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
padding: 16px;
|
|
20
|
+
border: 1px solid rgba(0, 0, 0, .04);
|
|
21
|
+
background-color: #fff;
|
|
22
|
+
border-radius: 8px;
|
|
23
|
+
|
|
24
|
+
.commit-btn {
|
|
25
|
+
margin-left: 12px;
|
|
26
|
+
background-color: #2e54eb;
|
|
27
|
+
padding: 5px 12px;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
color: #fff;
|
|
32
|
+
border-radius: 8px;
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
font-size: 12px;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
position: relative;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
+
|
|
12
|
+
var _LinkInputPicker = _interopRequireDefault(require("./LinkInputPicker"));
|
|
13
|
+
|
|
14
|
+
var _LinkSVG = _interopRequireDefault(require("../../images/LinkSVG"));
|
|
15
|
+
|
|
16
|
+
require("./index.less");
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
+
|
|
20
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
21
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
22
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
23
|
+
__proto__: []
|
|
24
|
+
} instanceof Array && function (d, b) {
|
|
25
|
+
d.__proto__ = b;
|
|
26
|
+
} || function (d, b) {
|
|
27
|
+
for (var p in b) {
|
|
28
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
return _extendStatics(d, b);
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
return function (d, b) {
|
|
36
|
+
_extendStatics(d, b);
|
|
37
|
+
|
|
38
|
+
function __() {
|
|
39
|
+
this.constructor = d;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
43
|
+
};
|
|
44
|
+
}();
|
|
45
|
+
|
|
46
|
+
var ColorPickerBtn =
|
|
47
|
+
/** @class */
|
|
48
|
+
function (_super) {
|
|
49
|
+
__extends(ColorPickerBtn, _super);
|
|
50
|
+
|
|
51
|
+
function ColorPickerBtn() {
|
|
52
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
53
|
+
|
|
54
|
+
_this.state = {
|
|
55
|
+
visibility: false
|
|
56
|
+
};
|
|
57
|
+
return _this;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
ColorPickerBtn.prototype.render = function () {
|
|
61
|
+
var _this = this;
|
|
62
|
+
|
|
63
|
+
var _a = this.props,
|
|
64
|
+
value = _a.value,
|
|
65
|
+
onChange = _a.onChange;
|
|
66
|
+
var visibility = this.state.visibility;
|
|
67
|
+
var color = value === null || value === void 0 ? void 0 : value.color;
|
|
68
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
69
|
+
className: (0, _classnames["default"])('tool-btn-wrap')
|
|
70
|
+
}, /*#__PURE__*/_react["default"].createElement(_LinkSVG["default"], {
|
|
71
|
+
color: color || '#262626',
|
|
72
|
+
onChange: function onChange() {
|
|
73
|
+
_this.setState({
|
|
74
|
+
visibility: !visibility
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}), visibility && /*#__PURE__*/_react["default"].createElement(_LinkInputPicker["default"], {
|
|
78
|
+
onChange: onChange,
|
|
79
|
+
onClose: function onClose() {
|
|
80
|
+
_this.setState({
|
|
81
|
+
visibility: false
|
|
82
|
+
});
|
|
83
|
+
},
|
|
84
|
+
visibility: true
|
|
85
|
+
}));
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
ColorPickerBtn.defaultProps = {};
|
|
89
|
+
return ColorPickerBtn;
|
|
90
|
+
}(_react["default"].Component);
|
|
91
|
+
|
|
92
|
+
var _default = ColorPickerBtn;
|
|
93
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.tool-btn-wrap {
|
|
2
|
+
width: 26px;
|
|
3
|
+
height: 26px;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
border-radius: 6px;
|
|
9
|
+
padding: 0;
|
|
10
|
+
border: none;
|
|
11
|
+
transition: .2s all linear;
|
|
12
|
+
position: relative;
|
|
13
|
+
|
|
14
|
+
&:hover {
|
|
15
|
+
background: #f8f8f8;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.active {
|
|
19
|
+
background: #E7E9E8;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
svg {
|
|
23
|
+
height: 18px;
|
|
24
|
+
height: 18px;
|
|
25
|
+
}
|
|
26
|
+
}
|
package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
+
|
|
12
|
+
var _CJLDecimalSVG = _interopRequireDefault(require("../images/CJLDecimalSVG"));
|
|
13
|
+
|
|
14
|
+
var _DecimalSVG = _interopRequireDefault(require("../images/DecimalSVG"));
|
|
15
|
+
|
|
16
|
+
var _LowerAlphaSVG = _interopRequireDefault(require("../images/LowerAlphaSVG"));
|
|
17
|
+
|
|
18
|
+
var _UpperAlphaSVG = _interopRequireDefault(require("../images/UpperAlphaSVG"));
|
|
19
|
+
|
|
20
|
+
var _LowerRomanSVG = _interopRequireDefault(require("../images/LowerRomanSVG"));
|
|
21
|
+
|
|
22
|
+
var _UpperRomanSVG = _interopRequireDefault(require("../images/UpperRomanSVG"));
|
|
23
|
+
|
|
24
|
+
require("./index.less");
|
|
25
|
+
|
|
26
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27
|
+
|
|
28
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
29
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
30
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
31
|
+
__proto__: []
|
|
32
|
+
} instanceof Array && function (d, b) {
|
|
33
|
+
d.__proto__ = b;
|
|
34
|
+
} || function (d, b) {
|
|
35
|
+
for (var p in b) {
|
|
36
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
return _extendStatics(d, b);
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
return function (d, b) {
|
|
44
|
+
_extendStatics(d, b);
|
|
45
|
+
|
|
46
|
+
function __() {
|
|
47
|
+
this.constructor = d;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
51
|
+
};
|
|
52
|
+
}();
|
|
53
|
+
|
|
54
|
+
var IconSelectPicker =
|
|
55
|
+
/** @class */
|
|
56
|
+
function (_super) {
|
|
57
|
+
__extends(IconSelectPicker, _super);
|
|
58
|
+
|
|
59
|
+
function IconSelectPicker() {
|
|
60
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
IconSelectPicker.prototype.render = function () {
|
|
64
|
+
var _a = this.props,
|
|
65
|
+
visibility = _a.visibility,
|
|
66
|
+
value = _a.value,
|
|
67
|
+
_onChange = _a.onChange;
|
|
68
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
69
|
+
className: "align-select-picker-panel"
|
|
70
|
+
}, visibility && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
71
|
+
className: "panel-bg"
|
|
72
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
73
|
+
className: "select-modal-content"
|
|
74
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
75
|
+
className: "select-content-row"
|
|
76
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
77
|
+
className: (0, _classnames["default"])('select-item', {
|
|
78
|
+
active: value == 'decimal'
|
|
79
|
+
})
|
|
80
|
+
}, /*#__PURE__*/_react["default"].createElement(_DecimalSVG["default"], {
|
|
81
|
+
onChange: function onChange() {
|
|
82
|
+
return _onChange('decimal');
|
|
83
|
+
}
|
|
84
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
85
|
+
className: (0, _classnames["default"])('select-item', {
|
|
86
|
+
active: value == 'lower-alpha'
|
|
87
|
+
})
|
|
88
|
+
}, /*#__PURE__*/_react["default"].createElement(_LowerAlphaSVG["default"], {
|
|
89
|
+
onChange: function onChange() {
|
|
90
|
+
return _onChange('lower-alpha');
|
|
91
|
+
}
|
|
92
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
93
|
+
className: (0, _classnames["default"])('select-item', {
|
|
94
|
+
active: value == 'lower-roman'
|
|
95
|
+
})
|
|
96
|
+
}, /*#__PURE__*/_react["default"].createElement(_LowerRomanSVG["default"], {
|
|
97
|
+
onChange: function onChange() {
|
|
98
|
+
return _onChange('lower-roman');
|
|
99
|
+
}
|
|
100
|
+
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
101
|
+
className: "select-content-row"
|
|
102
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
103
|
+
className: (0, _classnames["default"])('select-item', {
|
|
104
|
+
active: value == 'cjk-decimal'
|
|
105
|
+
})
|
|
106
|
+
}, /*#__PURE__*/_react["default"].createElement(_CJLDecimalSVG["default"], {
|
|
107
|
+
onChange: function onChange() {
|
|
108
|
+
return _onChange('cjk-decimal');
|
|
109
|
+
}
|
|
110
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
111
|
+
className: (0, _classnames["default"])('select-item', {
|
|
112
|
+
active: value == 'upper-alpha'
|
|
113
|
+
})
|
|
114
|
+
}, /*#__PURE__*/_react["default"].createElement(_UpperAlphaSVG["default"], {
|
|
115
|
+
onChange: function onChange() {
|
|
116
|
+
return _onChange('upper-alpha');
|
|
117
|
+
}
|
|
118
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
119
|
+
className: (0, _classnames["default"])('select-item', {
|
|
120
|
+
active: value == 'upper-roman'
|
|
121
|
+
})
|
|
122
|
+
}, /*#__PURE__*/_react["default"].createElement(_UpperRomanSVG["default"], {
|
|
123
|
+
onChange: function onChange() {
|
|
124
|
+
return _onChange('upper-roman');
|
|
125
|
+
}
|
|
126
|
+
}))))));
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
return IconSelectPicker;
|
|
130
|
+
}(_react["default"].Component);
|
|
131
|
+
|
|
132
|
+
var _default = IconSelectPicker;
|
|
133
|
+
exports["default"] = _default;
|
package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
.align-select-picker-panel {
|
|
2
|
+
z-index: 999;
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: 100%;
|
|
5
|
+
left: 0;
|
|
6
|
+
|
|
7
|
+
.panel-bg {
|
|
8
|
+
position: fixed;
|
|
9
|
+
z-index: 0;
|
|
10
|
+
top: 0;
|
|
11
|
+
left: 0;
|
|
12
|
+
right: 0;
|
|
13
|
+
bottom: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.select-modal-content {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
padding: 5px;
|
|
20
|
+
background-color: #fff;
|
|
21
|
+
border: 1px solid #E7E9E8;
|
|
22
|
+
box-shadow: 0 8px 16px 4px hsla(0, 0%, 0%, 0.04);
|
|
23
|
+
color: #262626;
|
|
24
|
+
border-radius: 6px;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
|
|
27
|
+
.select-content-row{
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.select-item {
|
|
33
|
+
width: 26px;
|
|
34
|
+
height: 26px;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
border-radius: 6px;
|
|
40
|
+
padding: 0;
|
|
41
|
+
border: none;
|
|
42
|
+
transition: .2s all linear;
|
|
43
|
+
position: relative;
|
|
44
|
+
margin: 0 5px;
|
|
45
|
+
|
|
46
|
+
&:hover {
|
|
47
|
+
background: #f8f8f8;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.active {
|
|
51
|
+
background: #E7E9E8;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
svg {
|
|
55
|
+
height: 18px;
|
|
56
|
+
height: 18px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var _default = function _default(_a) {
|
|
13
|
+
var onChange = _a.onChange;
|
|
14
|
+
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
15
|
+
fill: "none",
|
|
16
|
+
onClick: onChange,
|
|
17
|
+
viewBox: "0 0 19 16",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
20
|
+
d: "M10.5 8H17.5",
|
|
21
|
+
stroke: "#232F46",
|
|
22
|
+
strokeLinecap: "round",
|
|
23
|
+
strokeLinejoin: "round",
|
|
24
|
+
strokeWidth: "1.1"
|
|
25
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
26
|
+
d: "M10.5 4H17.5",
|
|
27
|
+
stroke: "#232F46",
|
|
28
|
+
strokeLinecap: "round",
|
|
29
|
+
strokeLinejoin: "round",
|
|
30
|
+
strokeWidth: "1.1"
|
|
31
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
32
|
+
d: "M10.5 12H17.5",
|
|
33
|
+
stroke: "#232F46",
|
|
34
|
+
strokeLinecap: "round",
|
|
35
|
+
strokeLinejoin: "round",
|
|
36
|
+
strokeWidth: "1.1"
|
|
37
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
38
|
+
d: "M0.816867 3.46922H6.37287V4.25522H0.816867V3.46922ZM6.93164 5.78027C6.93164 5.59668 6.98145 5.46777 7.08105 5.39355C7.18262 5.31934 7.30469 5.28223 7.44727 5.28223C7.58594 5.28223 7.70508 5.31934 7.80469 5.39355C7.90625 5.46777 7.95703 5.59668 7.95703 5.78027C7.95703 5.95605 7.90625 6.08301 7.80469 6.16113C7.70508 6.23926 7.58594 6.27832 7.44727 6.27832C7.30469 6.27832 7.18262 6.23926 7.08105 6.16113C6.98145 6.08301 6.93164 5.95605 6.93164 5.78027Z",
|
|
39
|
+
fill: "#232F46"
|
|
40
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
41
|
+
d: "M1.41087 8.734H5.76687V9.526H1.41087V8.734ZM0.912867 12.214H6.27087V13.042H0.912867V12.214ZM6.93164 12.5811C6.93164 12.3975 6.98145 12.2686 7.08105 12.1943C7.18262 12.1201 7.30469 12.083 7.44727 12.083C7.58594 12.083 7.70508 12.1201 7.80469 12.1943C7.90625 12.2686 7.95703 12.3975 7.95703 12.5811C7.95703 12.7568 7.90625 12.8838 7.80469 12.9619C7.70508 13.04 7.58594 13.0791 7.44727 13.0791C7.30469 13.0791 7.18262 13.04 7.08105 12.9619C6.98145 12.8838 6.93164 12.7568 6.93164 12.5811Z",
|
|
42
|
+
fill: "#232F46"
|
|
43
|
+
}));
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var _default = function _default(_a) {
|
|
13
|
+
var onChange = _a.onChange;
|
|
14
|
+
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
15
|
+
fill: "none",
|
|
16
|
+
onClick: onChange,
|
|
17
|
+
viewBox: "0 0 16 16",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
20
|
+
d: "M7.5 8H14.5",
|
|
21
|
+
stroke: "#232F46",
|
|
22
|
+
strokeLinecap: "round",
|
|
23
|
+
strokeLinejoin: "round",
|
|
24
|
+
strokeWidth: "1.1"
|
|
25
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
26
|
+
d: "M7.5 4H14.5",
|
|
27
|
+
stroke: "#232F46",
|
|
28
|
+
strokeLinecap: "round",
|
|
29
|
+
strokeLinejoin: "round",
|
|
30
|
+
strokeWidth: "1.1"
|
|
31
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
32
|
+
d: "M7.5 12H14.5",
|
|
33
|
+
stroke: "#232F46",
|
|
34
|
+
strokeLinecap: "round",
|
|
35
|
+
strokeLinejoin: "round",
|
|
36
|
+
strokeWidth: "1.1"
|
|
37
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
38
|
+
d: "M3.47852 6.19922H2.57324V3.7207C2.57324 3.65234 2.57422 3.56836 2.57617 3.46875C2.57812 3.36719 2.58105 3.26367 2.58496 3.1582C2.58887 3.05078 2.59277 2.9541 2.59668 2.86816C2.5752 2.89355 2.53125 2.9375 2.46484 3C2.40039 3.06055 2.33984 3.11523 2.2832 3.16406L1.79102 3.55957L1.35449 3.01465L2.73438 1.91602H3.47852V6.19922ZM4.77637 5.78027C4.77637 5.59668 4.82617 5.46777 4.92578 5.39355C5.02734 5.31934 5.14941 5.28223 5.29199 5.28223C5.43066 5.28223 5.5498 5.31934 5.64941 5.39355C5.75098 5.46777 5.80176 5.59668 5.80176 5.78027C5.80176 5.95605 5.75098 6.08301 5.64941 6.16113C5.5498 6.23926 5.43066 6.27832 5.29199 6.27832C5.14941 6.27832 5.02734 6.23926 4.92578 6.16113C4.82617 6.08301 4.77637 5.95605 4.77637 5.78027Z",
|
|
39
|
+
fill: "#232F46"
|
|
40
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
41
|
+
d: "M4.23438 13H1.24023V12.3701L2.31543 11.2832C2.53223 11.0605 2.70605 10.875 2.83691 10.7266C2.96973 10.5762 3.06543 10.4395 3.12402 10.3164C3.18457 10.1934 3.21484 10.0615 3.21484 9.9209C3.21484 9.75098 3.16699 9.62402 3.07129 9.54004C2.97754 9.4541 2.85156 9.41113 2.69336 9.41113C2.52734 9.41113 2.36621 9.44922 2.20996 9.52539C2.05371 9.60156 1.89062 9.70996 1.7207 9.85059L1.22852 9.26758C1.35156 9.16211 1.48145 9.0625 1.61816 8.96875C1.75684 8.875 1.91699 8.7998 2.09863 8.74316C2.28223 8.68457 2.50195 8.65527 2.75781 8.65527C3.03906 8.65527 3.28027 8.70605 3.48145 8.80762C3.68457 8.90918 3.84082 9.04785 3.9502 9.22363C4.05957 9.39746 4.11426 9.59473 4.11426 9.81543C4.11426 10.0518 4.06738 10.2676 3.97363 10.4629C3.87988 10.6582 3.74316 10.8516 3.56348 11.043C3.38574 11.2344 3.1709 11.4463 2.91895 11.6787L2.36816 12.1973V12.2383H4.23438V13ZM4.77637 12.5811C4.77637 12.3975 4.82617 12.2686 4.92578 12.1943C5.02734 12.1201 5.14941 12.083 5.29199 12.083C5.43066 12.083 5.5498 12.1201 5.64941 12.1943C5.75098 12.2686 5.80176 12.3975 5.80176 12.5811C5.80176 12.7568 5.75098 12.8838 5.64941 12.9619C5.5498 13.04 5.43066 13.0791 5.29199 13.0791C5.14941 13.0791 5.02734 13.04 4.92578 12.9619C4.82617 12.8838 4.77637 12.7568 4.77637 12.5811Z",
|
|
42
|
+
fill: "#232F46"
|
|
43
|
+
}));
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
exports["default"] = _default;
|
package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var _default = function _default(_a) {
|
|
13
|
+
var onChange = _a.onChange;
|
|
14
|
+
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
15
|
+
fill: "none",
|
|
16
|
+
onClick: onChange,
|
|
17
|
+
viewBox: "0 0 16 16",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
20
|
+
d: "M7.5 8H14.5",
|
|
21
|
+
stroke: "#232F46",
|
|
22
|
+
strokeLinecap: "round",
|
|
23
|
+
strokeLinejoin: "round",
|
|
24
|
+
strokeWidth: "1.1"
|
|
25
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
26
|
+
d: "M7.5 4H14.5",
|
|
27
|
+
stroke: "#232F46",
|
|
28
|
+
strokeLinecap: "round",
|
|
29
|
+
strokeLinejoin: "round",
|
|
30
|
+
strokeWidth: "1.1"
|
|
31
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
32
|
+
d: "M7.5 12H14.5",
|
|
33
|
+
stroke: "#232F46",
|
|
34
|
+
strokeLinecap: "round",
|
|
35
|
+
strokeLinejoin: "round",
|
|
36
|
+
strokeWidth: "1.1"
|
|
37
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
38
|
+
d: "M2.81055 2.85645C3.25 2.85645 3.58691 2.95215 3.82129 3.14355C4.05566 3.33496 4.17285 3.62598 4.17285 4.0166V6.19922H3.54883L3.37598 5.75391H3.35254C3.25879 5.87109 3.16309 5.9668 3.06543 6.04102C2.96777 6.11523 2.85547 6.16992 2.72852 6.20508C2.60156 6.24023 2.44727 6.25781 2.26562 6.25781C2.07227 6.25781 1.89844 6.2207 1.74414 6.14648C1.5918 6.07227 1.47168 5.95898 1.38379 5.80664C1.2959 5.65234 1.25195 5.45703 1.25195 5.2207C1.25195 4.87305 1.37402 4.61719 1.61816 4.45312C1.8623 4.28711 2.22852 4.19531 2.7168 4.17773L3.28516 4.16016V4.0166C3.28516 3.84473 3.24023 3.71875 3.15039 3.63867C3.06055 3.55859 2.93555 3.51855 2.77539 3.51855C2.61719 3.51855 2.46191 3.54102 2.30957 3.58594C2.15723 3.63086 2.00488 3.6875 1.85254 3.75586L1.55664 3.15234C1.73047 3.06055 1.9248 2.98828 2.13965 2.93555C2.35645 2.88281 2.58008 2.85645 2.81055 2.85645ZM3.28516 4.68164L2.93945 4.69336C2.65039 4.70117 2.44922 4.75293 2.33594 4.84863C2.22461 4.94434 2.16895 5.07031 2.16895 5.22656C2.16895 5.36328 2.20898 5.46094 2.28906 5.51953C2.36914 5.57617 2.47363 5.60449 2.60254 5.60449C2.79395 5.60449 2.95508 5.54785 3.08594 5.43457C3.21875 5.32129 3.28516 5.16016 3.28516 4.95117V4.68164ZM4.96973 5.78027C4.96973 5.59668 5.01953 5.46777 5.11914 5.39355C5.2207 5.31934 5.34277 5.28223 5.48535 5.28223C5.62402 5.28223 5.74316 5.31934 5.84277 5.39355C5.94434 5.46777 5.99512 5.59668 5.99512 5.78027C5.99512 5.95605 5.94434 6.08301 5.84277 6.16113C5.74316 6.23926 5.62402 6.27832 5.48535 6.27832C5.34277 6.27832 5.2207 6.23926 5.11914 6.16113C5.01953 6.08301 4.96973 5.95605 4.96973 5.78027Z",
|
|
39
|
+
fill: "#232F46"
|
|
40
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
41
|
+
d: "M2.3623 8.44141V9.50195C2.3623 9.625 2.3584 9.74707 2.35059 9.86816C2.34473 9.98926 2.33691 10.083 2.32715 10.1494H2.3623C2.44824 10.0146 2.56543 9.90039 2.71387 9.80664C2.8623 9.71094 3.05469 9.66309 3.29102 9.66309C3.6582 9.66309 3.95605 9.80664 4.18457 10.0938C4.41309 10.3809 4.52734 10.8018 4.52734 11.3564C4.52734 11.7295 4.47461 12.043 4.36914 12.2969C4.26367 12.5488 4.11621 12.7393 3.92676 12.8682C3.7373 12.9951 3.51758 13.0586 3.26758 13.0586C3.02734 13.0586 2.83789 13.0156 2.69922 12.9297C2.56055 12.8438 2.44824 12.7471 2.3623 12.6396H2.30078L2.15137 13H1.46875V8.44141H2.3623ZM3.00391 10.3779C2.84766 10.3779 2.72363 10.4102 2.63184 10.4746C2.54004 10.5391 2.47266 10.6357 2.42969 10.7646C2.38867 10.8936 2.36621 11.0566 2.3623 11.2539V11.3506C2.3623 11.6689 2.40918 11.9131 2.50293 12.083C2.59668 12.251 2.76758 12.335 3.01562 12.335C3.19922 12.335 3.34473 12.25 3.45215 12.0801C3.56152 11.9102 3.61621 11.665 3.61621 11.3447C3.61621 11.0244 3.56152 10.7832 3.45215 10.6211C3.34277 10.459 3.19336 10.3779 3.00391 10.3779ZM5.13965 12.5811C5.13965 12.3975 5.18945 12.2686 5.28906 12.1943C5.39062 12.1201 5.5127 12.083 5.65527 12.083C5.79395 12.083 5.91309 12.1201 6.0127 12.1943C6.11426 12.2686 6.16504 12.3975 6.16504 12.5811C6.16504 12.7568 6.11426 12.8838 6.0127 12.9619C5.91309 13.04 5.79395 13.0791 5.65527 13.0791C5.5127 13.0791 5.39062 13.04 5.28906 12.9619C5.18945 12.8838 5.13965 12.7568 5.13965 12.5811Z",
|
|
42
|
+
fill: "#232F46"
|
|
43
|
+
}));
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
exports["default"] = _default;
|
package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var _default = function _default(_a) {
|
|
13
|
+
var onChange = _a.onChange;
|
|
14
|
+
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
15
|
+
fill: "none",
|
|
16
|
+
onClick: onChange,
|
|
17
|
+
viewBox: "0 0 16 16",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
20
|
+
d: "M7.5 8H14.5",
|
|
21
|
+
stroke: "#232F46",
|
|
22
|
+
strokeLinecap: "round",
|
|
23
|
+
strokeLinejoin: "round",
|
|
24
|
+
strokeWidth: "1.1"
|
|
25
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
26
|
+
d: "M7.5 4H14.5",
|
|
27
|
+
stroke: "#232F46",
|
|
28
|
+
strokeLinecap: "round",
|
|
29
|
+
strokeLinejoin: "round",
|
|
30
|
+
strokeWidth: "1.1"
|
|
31
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
32
|
+
d: "M7.5 12H14.5",
|
|
33
|
+
stroke: "#232F46",
|
|
34
|
+
strokeLinecap: "round",
|
|
35
|
+
strokeLinejoin: "round",
|
|
36
|
+
strokeWidth: "1.1"
|
|
37
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
38
|
+
d: "M3.83147 2.92383V6.19922H2.93792V2.92383H3.83147ZM3.38616 1.64062C3.51897 1.64062 3.63323 1.67188 3.72893 1.73438C3.82464 1.79492 3.87249 1.90918 3.87249 2.07715C3.87249 2.24316 3.82464 2.3584 3.72893 2.42285C3.63323 2.48535 3.51897 2.5166 3.38616 2.5166C3.2514 2.5166 3.13616 2.48535 3.04046 2.42285C2.94671 2.3584 2.89983 2.24316 2.89983 2.07715C2.89983 1.90918 2.94671 1.79492 3.04046 1.73438C3.13616 1.67188 3.2514 1.64062 3.38616 1.64062ZM4.64593 5.78027C4.64593 5.59668 4.69573 5.46777 4.79534 5.39355C4.8969 5.31934 5.01897 5.28223 5.16155 5.28223C5.30022 5.28223 5.41936 5.31934 5.51897 5.39355C5.62054 5.46777 5.67132 5.59668 5.67132 5.78027C5.67132 5.95605 5.62054 6.08301 5.51897 6.16113C5.41936 6.23926 5.30022 6.27832 5.16155 6.27832C5.01897 6.27832 4.8969 6.23926 4.79534 6.16113C4.69573 6.08301 4.64593 5.95605 4.64593 5.78027Z",
|
|
39
|
+
fill: "#232F46"
|
|
40
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
41
|
+
d: "M1.99749 9.72461V13H1.10393V9.72461H1.99749ZM1.55218 8.44141C1.68499 8.44141 1.79925 8.47266 1.89495 8.53516C1.99065 8.5957 2.0385 8.70996 2.0385 8.87793C2.0385 9.04395 1.99065 9.15918 1.89495 9.22363C1.79925 9.28613 1.68499 9.31738 1.55218 9.31738C1.41741 9.31738 1.30218 9.28613 1.20647 9.22363C1.11272 9.15918 1.06585 9.04395 1.06585 8.87793C1.06585 8.70996 1.11272 8.5957 1.20647 8.53516C1.30218 8.47266 1.41741 8.44141 1.55218 8.44141ZM3.83147 9.72461V13H2.93792V9.72461H3.83147ZM3.38616 8.44141C3.51897 8.44141 3.63323 8.47266 3.72893 8.53516C3.82464 8.5957 3.87249 8.70996 3.87249 8.87793C3.87249 9.04395 3.82464 9.15918 3.72893 9.22363C3.63323 9.28613 3.51897 9.31738 3.38616 9.31738C3.2514 9.31738 3.13616 9.28613 3.04046 9.22363C2.94671 9.15918 2.89983 9.04395 2.89983 8.87793C2.89983 8.70996 2.94671 8.5957 3.04046 8.53516C3.13616 8.47266 3.2514 8.44141 3.38616 8.44141ZM4.64593 12.5811C4.64593 12.3975 4.69573 12.2686 4.79534 12.1943C4.8969 12.1201 5.01897 12.083 5.16155 12.083C5.30022 12.083 5.41936 12.1201 5.51897 12.1943C5.62054 12.2686 5.67132 12.3975 5.67132 12.5811C5.67132 12.7568 5.62054 12.8838 5.51897 12.9619C5.41936 13.04 5.30022 13.0791 5.16155 13.0791C5.01897 13.0791 4.8969 13.04 4.79534 12.9619C4.69573 12.8838 4.64593 12.7568 4.64593 12.5811Z",
|
|
42
|
+
fill: "#232F46"
|
|
43
|
+
}));
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
exports["default"] = _default;
|