@dckj-npm/dc-material 0.1.358 → 0.1.360
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -17
- package/build/index.css +2 -0
- package/build/index.html +1 -0
- package/build/index.js +43 -0
- package/build/lowcode/assets-daily.json +71 -0
- package/build/lowcode/assets-dev.json +71 -0
- package/build/lowcode/assets-prod.json +71 -0
- package/build/lowcode/designer.html +302 -0
- package/build/lowcode/index.html +304 -0
- package/build/lowcode/index.js +1 -0
- package/build/lowcode/meta.design.js +1 -0
- package/build/lowcode/meta.js +1 -0
- package/build/lowcode/preview.css +1 -0
- package/build/lowcode/preview.html +33 -0
- package/build/lowcode/preview.js +310 -0
- package/build/lowcode/render/default/view.css +1 -0
- package/build/lowcode/render/default/view.js +295 -0
- package/build/lowcode/view.css +1 -0
- package/build/lowcode/view.js +295 -0
- package/dist/BizComps.css +1 -0
- package/dist/BizComps.js +7 -0
- package/dist/BizComps.js.map +1 -0
- package/es/assets/icon/grid-nav/right.png +0 -0
- package/es/assets/icon/position/location.png +0 -0
- package/es/assets/icon/review-list/like-fill.png +0 -0
- package/es/assets/icon/review-list/like.png +0 -0
- package/es/assets/icon/review-list/unlike-fill.png +0 -0
- package/es/assets/icon/review-list/unlike.png +0 -0
- package/es/assets/icon/search/delete.png +0 -0
- package/es/assets/icon/search-history-list/close.png +0 -0
- package/es/assets/icon/search-history-list/time.png +0 -0
- package/es/assets/icon/shop/add.png +0 -0
- package/es/assets/icon/shop/checkbox.png +0 -0
- package/es/assets/icon/shop/subtract.png +0 -0
- package/es/assets/icon/teletext-list/arr.png +0 -0
- package/es/assets/scss/mixin.scss +68 -0
- package/es/components/accordion-selector/accordion-selector.d.ts +49 -0
- package/es/components/accordion-selector/accordion-selector.js +22 -0
- package/es/components/accordion-selector/index.d.ts +6 -0
- package/es/components/accordion-selector/index.js +5 -0
- package/es/components/accordion-selector/index.scss +5 -0
- package/es/components/address-list/address-list-item.d.ts +14 -0
- package/es/components/address-list/address-list-item.js +50 -0
- package/es/components/address-list/address-list-item.scss +90 -0
- package/es/components/address-list/address-list.d.ts +44 -0
- package/es/components/address-list/address-list.js +46 -0
- package/es/components/address-list/index.d.ts +6 -0
- package/es/components/address-list/index.js +6 -0
- package/es/components/address-list/index.scss +4 -0
- package/es/components/bottom-navigation/bottom-navigation.d.ts +15 -15
- package/es/components/bottom-navigation/index.d.ts +3 -3
- package/es/components/bottom-navigation/index.scss +28 -28
- package/es/components/bread-crumb/bread-crumb.d.ts +24 -0
- package/es/components/bread-crumb/bread-crumb.js +33 -0
- package/es/components/bread-crumb/index.d.ts +6 -0
- package/es/components/bread-crumb/index.js +6 -0
- package/es/components/bread-crumb/index.scss +4 -0
- package/es/components/button/button.d.ts +14 -14
- package/es/components/button/button.js +4 -1
- package/es/components/button/index.d.ts +6 -6
- package/es/components/button/index.js +2 -2
- package/es/components/button/index.scss +16 -16
- package/es/components/carousel/carousel.d.ts +14 -14
- package/es/components/carousel/carousel.scss +32 -32
- package/es/components/collapse/collapse.d.ts +51 -0
- package/es/components/collapse/collapse.js +58 -0
- package/es/components/collapse/index.d.ts +6 -0
- package/es/components/collapse/index.js +5 -0
- package/es/components/collapse/index.scss +18 -0
- package/es/components/collapse-selector/collapse-selector.d.ts +14 -0
- package/es/components/collapse-selector/collapse-selector.js +94 -0
- package/es/components/collapse-selector/index.d.ts +3 -0
- package/es/components/collapse-selector/index.js +2 -0
- package/es/components/collapse-selector/index.scss +98 -0
- package/es/components/collapse-selector-item/collapse-selector-item.d.ts +8 -0
- package/es/components/collapse-selector-item/collapse-selector-item.js +16 -0
- package/es/components/collapse-selector-item/index.d.ts +3 -0
- package/es/components/collapse-selector-item/index.js +2 -0
- package/es/components/collapse-selector-item/index.scss +6 -0
- package/es/components/colorful-button/colorful-button.d.ts +12 -12
- package/es/components/colorful-button/index.d.ts +3 -3
- package/es/components/colorful-button/index.scss +5 -5
- package/es/components/colorful-input/colorful-input.d.ts +8 -8
- package/es/components/colorful-input/index.d.ts +3 -3
- package/es/components/colorful-input/index.scss +5 -5
- package/es/components/custom-form/custom-form.d.ts +37 -0
- package/es/components/custom-form/custom-form.js +158 -0
- package/es/components/custom-form/index.d.ts +6 -0
- package/es/components/custom-form/index.js +6 -0
- package/es/components/custom-form/index.scss +25 -0
- package/es/components/custom-select/index.d.ts +6 -0
- package/es/components/custom-select/index.js +6 -0
- package/es/components/custom-select/index.scss +152 -0
- package/es/components/custom-select/select.d.ts +45 -0
- package/es/components/custom-select/select.js +146 -0
- package/es/components/dc-slider/index.d.ts +3 -3
- package/es/components/dc-slider/index.scss +6 -6
- package/es/components/dc-slider/slider-img.d.ts +32 -32
- package/es/components/drawer/drawer.d.ts +44 -0
- package/es/components/drawer/drawer.js +43 -0
- package/es/components/drawer/index.d.ts +6 -0
- package/es/components/drawer/index.js +6 -0
- package/es/components/drawer/index.scss +16 -0
- package/es/components/form/form-item.d.ts +42 -42
- package/es/components/form/form-item.scss +20 -20
- package/es/components/form/form.d.ts +21 -20
- package/es/components/form/form.js +254 -1468
- package/es/components/form/index.d.ts +6 -6
- package/es/components/form/index.js +2 -2
- package/es/components/form/index.scss +21 -21
- package/es/components/goods-card-list/goods-card-list-common.d.ts +5 -5
- package/es/components/goods-card-list/goods-card-list-common.scss +118 -118
- package/es/components/goods-card-list/goods-card-list.d.ts +5 -5
- package/es/components/goods-card-list/goods-card-list.scss +112 -112
- package/es/components/goods-card-list/index.d.ts +4 -4
- package/es/components/goods-card-list/types.d.ts +45 -45
- package/es/components/grid-nav/grid-nav.d.ts +13 -13
- package/es/components/grid-nav/index.d.ts +3 -3
- package/es/components/grid-nav/index.scss +50 -50
- package/es/components/image/image.d.ts +17 -0
- package/es/components/image/image.js +21 -0
- package/es/components/image/index.d.ts +3 -0
- package/es/components/image/index.js +2 -0
- package/es/components/image/index.scss +3 -0
- package/es/components/input/index.d.ts +6 -0
- package/es/components/input/index.js +6 -0
- package/es/components/input/index.scss +3 -0
- package/es/components/input/input.d.ts +42 -0
- package/es/components/input/input.js +95 -0
- package/es/components/integral-task/index.d.ts +6 -6
- package/es/components/integral-task/index.js +2 -2
- package/es/components/integral-task/index.scss +35 -35
- package/es/components/integral-task/integral-task.d.ts +40 -40
- package/es/components/member-card/index.d.ts +6 -6
- package/es/components/member-card/index.js +2 -2
- package/es/components/member-card/index.scss +86 -86
- package/es/components/member-card/member-card.d.ts +5 -5
- package/es/components/member-card/type.d.ts +11 -11
- package/es/components/menu-list/index.d.ts +6 -6
- package/es/components/menu-list/index.js +2 -2
- package/es/components/menu-list/index.scss +16 -16
- package/es/components/menu-list/menu-list-item.d.ts +5 -5
- package/es/components/menu-list/menu-list-item.scss +49 -49
- package/es/components/menu-list/menu-list.d.ts +5 -5
- package/es/components/menu-list/types.d.ts +23 -23
- package/es/components/message-list/index.d.ts +6 -6
- package/es/components/message-list/index.js +2 -2
- package/es/components/message-list/index.scss +22 -22
- package/es/components/message-list/message-list-item.d.ts +33 -33
- package/es/components/message-list/message-list-item.js +2 -2
- package/es/components/message-list/message-list-item.scss +62 -62
- package/es/components/message-list/message-list.d.ts +28 -28
- package/es/components/notice-bar/index.d.ts +3 -3
- package/es/components/notice-bar/index.scss +84 -84
- package/es/components/notice-bar/notice-bar-item.d.ts +18 -18
- package/es/components/notice-bar/notice-bar-item.scss +26 -26
- package/es/components/notice-bar/notice-bar.d.ts +46 -46
- package/es/components/position/entity.d.ts +5 -5
- package/es/components/position/index.d.ts +3 -3
- package/es/components/position/index.scss +124 -124
- package/es/components/position/position-left.d.ts +9 -9
- package/es/components/position/position-list.d.ts +12 -12
- package/es/components/position/position-list.js +4 -4
- package/es/components/position/position.d.ts +8 -8
- package/es/components/profile/index.d.ts +6 -0
- package/es/components/profile/index.js +6 -0
- package/es/components/profile/index.scss +37 -0
- package/es/components/profile/profile.d.ts +35 -0
- package/es/components/profile/profile.js +41 -0
- package/es/components/radio-group/index.d.ts +8 -8
- package/es/components/radio-group/index.js +2 -2
- package/es/components/radio-group/index.scss +40 -40
- package/es/components/radio-group/radio-group-item.d.ts +48 -48
- package/es/components/radio-group/radio-group.d.ts +52 -52
- package/es/components/rating/index.d.ts +6 -0
- package/es/components/rating/index.js +6 -0
- package/es/components/rating/index.scss +3 -0
- package/es/components/rating/rating.d.ts +39 -0
- package/es/components/rating/rating.js +31 -0
- package/es/components/review-list/index.d.ts +3 -0
- package/es/components/review-list/index.js +2 -0
- package/es/components/review-list/index.scss +89 -0
- package/es/components/review-list/review-list.d.ts +44 -0
- package/es/components/review-list/review-list.js +71 -0
- package/es/components/rich-text/index.d.ts +6 -6
- package/es/components/rich-text/index.js +2 -2
- package/es/components/rich-text/index.scss +19 -19
- package/es/components/rich-text/rich-text.d.ts +13 -14
- package/es/components/search-bar/index.d.ts +3 -3
- package/es/components/search-bar/index.scss +44 -39
- package/es/components/search-bar/search-bar.d.ts +12 -10
- package/es/components/search-bar/search-bar.js +12 -6
- package/es/components/search-history-list/index.d.ts +3 -0
- package/es/components/search-history-list/index.js +2 -0
- package/es/components/search-history-list/index.scss +29 -0
- package/es/components/search-history-list/search-history-list.d.ts +29 -0
- package/es/components/search-history-list/search-history-list.js +45 -0
- package/es/components/shopping-cart/components/good-item.d.ts +15 -0
- package/es/components/shopping-cart/components/good-item.js +127 -0
- package/es/components/shopping-cart/components/good-item.scss +161 -0
- package/es/components/shopping-cart/index.d.ts +6 -0
- package/es/components/shopping-cart/index.js +6 -0
- package/es/components/shopping-cart/index.scss +140 -0
- package/es/components/shopping-cart/shopping-cart.d.ts +5 -0
- package/es/components/shopping-cart/shopping-cart.js +239 -0
- package/es/components/shopping-cart/type.d.ts +51 -0
- package/es/components/shopping-cart/type.js +1 -0
- package/es/components/stream-list/index.d.ts +6 -6
- package/es/components/stream-list/index.js +2 -2
- package/es/components/stream-list/index.scss +26 -26
- package/es/components/stream-list/stream-list.d.ts +54 -54
- package/es/components/stream-list/stream-list.js +4 -4
- package/es/components/swiper/index.d.ts +3 -3
- package/es/components/swiper/index.scss +20 -20
- package/es/components/swiper/swiper.d.ts +30 -30
- package/es/components/switch/index.d.ts +6 -0
- package/es/components/switch/index.js +6 -0
- package/es/components/switch/index.scss +4 -0
- package/es/components/switch/switch.d.ts +14 -0
- package/es/components/switch/switch.js +20 -0
- package/es/components/tab/index.d.ts +6 -6
- package/es/components/tab/index.js +2 -2
- package/es/components/tab/index.scss +44 -44
- package/es/components/tab/tab.d.ts +27 -27
- package/es/components/tab-container/index.d.ts +3 -3
- package/es/components/tab-container/index.scss +47 -47
- package/es/components/tab-container/tab-container.d.ts +10 -10
- package/es/components/tab-container-item/index.d.ts +3 -3
- package/es/components/tab-container-item/tab-container-item.d.ts +11 -11
- package/es/components/tag/index.d.ts +6 -6
- package/es/components/tag/index.js +2 -2
- package/es/components/tag/index.scss +24 -24
- package/es/components/tag/tag.d.ts +14 -14
- package/es/components/teletext-list/index.d.ts +6 -6
- package/es/components/teletext-list/index.js +2 -2
- package/es/components/teletext-list/index.scss +53 -40
- package/es/components/teletext-list/teletext-list-item.d.ts +102 -33
- package/es/components/teletext-list/teletext-list-item.js +195 -28
- package/es/components/teletext-list/teletext-list-item.scss +203 -57
- package/es/components/teletext-list/teletext-list.d.ts +147 -61
- package/es/components/teletext-list/teletext-list.js +91 -9
- package/es/components/text-description-detail-list/index.d.ts +6 -0
- package/es/components/text-description-detail-list/index.js +6 -0
- package/es/components/text-description-detail-list/index.scss +12 -0
- package/es/components/text-description-detail-list/text-description-detail-list-item.d.ts +29 -0
- package/es/components/text-description-detail-list/text-description-detail-list-item.js +24 -0
- package/es/components/text-description-detail-list/text-description-detail-list-item.scss +45 -0
- package/es/components/text-description-detail-list/text-description-detail-list.d.ts +27 -0
- package/es/components/text-description-detail-list/text-description-detail-list.js +44 -0
- package/es/components/title/index.d.ts +8 -8
- package/es/components/title/index.js +2 -2
- package/es/components/title/title-1.d.ts +10 -10
- package/es/components/title/title-1.scss +25 -25
- package/es/components/title/title-2.d.ts +18 -18
- package/es/components/title/title-2.scss +22 -22
- package/es/components/user-card/index.d.ts +6 -6
- package/es/components/user-card/index.js +2 -2
- package/es/components/user-card/index.scss +68 -68
- package/es/components/user-card/type.d.ts +8 -8
- package/es/components/user-card/user-card.d.ts +5 -5
- package/es/components//346/250/241/346/235/277/index.d.ts +6 -0
- package/es/components//346/250/241/346/235/277/index.js +6 -0
- package/es/components//346/250/241/346/235/277/index.scss +0 -0
- package/es/components//346/250/241/346/235/277/member-card.d.ts +5 -0
- package/es/components//346/250/241/346/235/277/member-card.js +21 -0
- package/es/components//346/250/241/346/235/277/type.d.ts +11 -0
- package/es/components//346/250/241/346/235/277/type.js +1 -0
- package/es/entity/dynamic-column-data-type.d.ts +316 -316
- package/es/entity/dynamic-column-data-type.js +4 -4
- package/es/index.d.ts +85 -52
- package/es/index.js +73 -2
- package/es/index.scss +6 -6
- package/es/style.js +14 -0
- package/es/utils/children-node-handle.d.ts +9 -9
- package/es/utils/children-node-handle.js +12 -7
- package/es/utils/component-wrapper.d.ts +9 -9
- package/es/utils/debounce.d.ts +1 -1
- package/es/utils/textUtil.d.ts +10 -10
- package/es/utils/textUtil.js +9 -9
- package/es/utils/time-util.d.ts +5 -5
- package/es/utils/time-util.js +3 -3
- package/es/variables.d.ts +2 -2
- package/es/variables.scss +3 -3
- package/lib/assets/icon/grid-nav/right.png +0 -0
- package/lib/assets/icon/position/location.png +0 -0
- package/lib/assets/icon/review-list/like-fill.png +0 -0
- package/lib/assets/icon/review-list/like.png +0 -0
- package/lib/assets/icon/review-list/unlike-fill.png +0 -0
- package/lib/assets/icon/review-list/unlike.png +0 -0
- package/lib/assets/icon/search/delete.png +0 -0
- package/lib/assets/icon/search-history-list/close.png +0 -0
- package/lib/assets/icon/search-history-list/time.png +0 -0
- package/lib/assets/icon/shop/add.png +0 -0
- package/lib/assets/icon/shop/checkbox.png +0 -0
- package/lib/assets/icon/shop/subtract.png +0 -0
- package/lib/assets/icon/teletext-list/arr.png +0 -0
- package/lib/assets/scss/mixin.scss +68 -0
- package/lib/components/accordion-selector/accordion-selector.d.ts +49 -0
- package/lib/components/accordion-selector/accordion-selector.js +27 -0
- package/lib/components/accordion-selector/index.d.ts +6 -0
- package/lib/components/accordion-selector/index.js +6 -0
- package/lib/components/accordion-selector/index.scss +5 -0
- package/lib/components/address-list/address-list-item.d.ts +14 -0
- package/lib/components/address-list/address-list-item.js +55 -0
- package/lib/components/address-list/address-list-item.scss +90 -0
- package/lib/components/address-list/address-list.d.ts +44 -0
- package/lib/components/address-list/address-list.js +51 -0
- package/lib/components/address-list/index.d.ts +6 -0
- package/lib/components/address-list/index.js +6 -0
- package/lib/components/address-list/index.scss +4 -0
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +15 -15
- package/lib/components/bottom-navigation/bottom-navigation.js +1 -2
- package/lib/components/bottom-navigation/index.d.ts +3 -3
- package/lib/components/bottom-navigation/index.scss +28 -28
- package/lib/components/bread-crumb/bread-crumb.d.ts +24 -0
- package/lib/components/bread-crumb/bread-crumb.js +38 -0
- package/lib/components/bread-crumb/index.d.ts +6 -0
- package/lib/components/bread-crumb/index.js +6 -0
- package/lib/components/bread-crumb/index.scss +4 -0
- package/lib/components/button/button.d.ts +14 -14
- package/lib/components/button/button.js +5 -3
- package/lib/components/button/index.d.ts +6 -6
- package/lib/components/button/index.js +2 -2
- package/lib/components/button/index.scss +16 -16
- package/lib/components/carousel/carousel.d.ts +14 -14
- package/lib/components/carousel/carousel.js +1 -2
- package/lib/components/carousel/carousel.scss +32 -32
- package/lib/components/collapse/collapse.d.ts +51 -0
- package/lib/components/collapse/collapse.js +63 -0
- package/lib/components/collapse/index.d.ts +6 -0
- package/lib/components/collapse/index.js +6 -0
- package/lib/components/collapse/index.scss +18 -0
- package/lib/components/collapse-selector/collapse-selector.d.ts +14 -0
- package/lib/components/collapse-selector/collapse-selector.js +99 -0
- package/lib/components/collapse-selector/index.d.ts +3 -0
- package/lib/components/collapse-selector/index.js +6 -0
- package/lib/components/collapse-selector/index.scss +98 -0
- package/lib/components/collapse-selector-item/collapse-selector-item.d.ts +8 -0
- package/lib/components/collapse-selector-item/collapse-selector-item.js +19 -0
- package/lib/components/collapse-selector-item/index.d.ts +3 -0
- package/lib/components/collapse-selector-item/index.js +6 -0
- package/lib/components/collapse-selector-item/index.scss +6 -0
- package/lib/components/colorful-button/colorful-button.d.ts +12 -12
- package/lib/components/colorful-button/colorful-button.js +1 -2
- package/lib/components/colorful-button/index.d.ts +3 -3
- package/lib/components/colorful-button/index.scss +5 -5
- package/lib/components/colorful-input/colorful-input.d.ts +8 -8
- package/lib/components/colorful-input/colorful-input.js +1 -2
- package/lib/components/colorful-input/index.d.ts +3 -3
- package/lib/components/colorful-input/index.scss +5 -5
- package/lib/components/custom-form/custom-form.d.ts +37 -0
- package/lib/components/custom-form/custom-form.js +164 -0
- package/lib/components/custom-form/index.d.ts +6 -0
- package/lib/components/custom-form/index.js +6 -0
- package/lib/components/custom-form/index.scss +25 -0
- package/lib/components/custom-select/index.d.ts +6 -0
- package/lib/components/custom-select/index.js +6 -0
- package/lib/components/custom-select/index.scss +152 -0
- package/lib/components/custom-select/select.d.ts +45 -0
- package/lib/components/custom-select/select.js +152 -0
- package/lib/components/dc-slider/index.d.ts +3 -3
- package/lib/components/dc-slider/index.scss +6 -6
- package/lib/components/dc-slider/slider-img.d.ts +32 -32
- package/lib/components/dc-slider/slider-img.js +1 -2
- package/lib/components/drawer/drawer.d.ts +44 -0
- package/lib/components/drawer/drawer.js +49 -0
- package/lib/components/drawer/index.d.ts +6 -0
- package/lib/components/drawer/index.js +6 -0
- package/lib/components/drawer/index.scss +16 -0
- package/lib/components/form/form-item.d.ts +42 -42
- package/lib/components/form/form-item.js +1 -2
- package/lib/components/form/form-item.scss +20 -20
- package/lib/components/form/form.d.ts +21 -20
- package/lib/components/form/form.js +253 -1464
- package/lib/components/form/index.d.ts +6 -6
- package/lib/components/form/index.scss +21 -21
- package/lib/components/goods-card-list/goods-card-list-common.d.ts +5 -5
- package/lib/components/goods-card-list/goods-card-list-common.scss +118 -118
- package/lib/components/goods-card-list/goods-card-list.d.ts +5 -5
- package/lib/components/goods-card-list/goods-card-list.js +1 -2
- package/lib/components/goods-card-list/goods-card-list.scss +112 -112
- package/lib/components/goods-card-list/index.d.ts +4 -4
- package/lib/components/goods-card-list/types.d.ts +45 -45
- package/lib/components/grid-nav/grid-nav.d.ts +13 -13
- package/lib/components/grid-nav/grid-nav.js +1 -2
- package/lib/components/grid-nav/index.d.ts +3 -3
- package/lib/components/grid-nav/index.scss +50 -50
- package/lib/components/image/image.d.ts +17 -0
- package/lib/components/image/image.js +27 -0
- package/lib/components/image/index.d.ts +3 -0
- package/lib/components/image/index.js +7 -0
- package/lib/components/image/index.scss +3 -0
- package/lib/components/input/index.d.ts +6 -0
- package/lib/components/input/index.js +6 -0
- package/lib/components/input/index.scss +3 -0
- package/lib/components/input/input.d.ts +42 -0
- package/lib/components/input/input.js +101 -0
- package/lib/components/integral-task/index.d.ts +6 -6
- package/lib/components/integral-task/index.js +2 -2
- package/lib/components/integral-task/index.scss +35 -35
- package/lib/components/integral-task/integral-task.d.ts +40 -40
- package/lib/components/integral-task/integral-task.js +1 -2
- package/lib/components/member-card/index.d.ts +6 -6
- package/lib/components/member-card/index.scss +86 -86
- package/lib/components/member-card/member-card.d.ts +5 -5
- package/lib/components/member-card/member-card.js +1 -2
- package/lib/components/member-card/type.d.ts +11 -11
- package/lib/components/menu-list/index.d.ts +6 -6
- package/lib/components/menu-list/index.js +2 -2
- package/lib/components/menu-list/index.scss +16 -16
- package/lib/components/menu-list/menu-list-item.d.ts +5 -5
- package/lib/components/menu-list/menu-list-item.scss +49 -49
- package/lib/components/menu-list/menu-list.d.ts +5 -5
- package/lib/components/menu-list/types.d.ts +23 -23
- package/lib/components/message-list/index.d.ts +6 -6
- package/lib/components/message-list/index.js +2 -2
- package/lib/components/message-list/index.scss +22 -22
- package/lib/components/message-list/message-list-item.d.ts +33 -33
- package/lib/components/message-list/message-list-item.js +2 -2
- package/lib/components/message-list/message-list-item.scss +62 -62
- package/lib/components/message-list/message-list.d.ts +28 -28
- package/lib/components/message-list/message-list.js +1 -2
- package/lib/components/notice-bar/index.d.ts +3 -3
- package/lib/components/notice-bar/index.scss +84 -84
- package/lib/components/notice-bar/notice-bar-item.d.ts +18 -18
- package/lib/components/notice-bar/notice-bar-item.scss +26 -26
- package/lib/components/notice-bar/notice-bar.d.ts +46 -46
- package/lib/components/position/entity.d.ts +5 -5
- package/lib/components/position/index.d.ts +3 -3
- package/lib/components/position/index.scss +124 -124
- package/lib/components/position/position-left.d.ts +9 -9
- package/lib/components/position/position-left.js +1 -2
- package/lib/components/position/position-list.d.ts +12 -12
- package/lib/components/position/position-list.js +5 -6
- package/lib/components/position/position.d.ts +8 -8
- package/lib/components/position/position.js +1 -2
- package/lib/components/profile/index.d.ts +6 -0
- package/lib/components/profile/index.js +6 -0
- package/lib/components/profile/index.scss +37 -0
- package/lib/components/profile/profile.d.ts +35 -0
- package/lib/components/profile/profile.js +45 -0
- package/lib/components/radio-group/index.d.ts +8 -8
- package/lib/components/radio-group/index.scss +40 -40
- package/lib/components/radio-group/radio-group-item.d.ts +48 -48
- package/lib/components/radio-group/radio-group.d.ts +52 -52
- package/lib/components/radio-group/radio-group.js +1 -2
- package/lib/components/rating/index.d.ts +6 -0
- package/lib/components/rating/index.js +6 -0
- package/lib/components/rating/index.scss +3 -0
- package/lib/components/rating/rating.d.ts +39 -0
- package/lib/components/rating/rating.js +36 -0
- package/lib/components/review-list/index.d.ts +3 -0
- package/lib/components/review-list/index.js +6 -0
- package/lib/components/review-list/index.scss +89 -0
- package/lib/components/review-list/review-list.d.ts +44 -0
- package/lib/components/review-list/review-list.js +75 -0
- package/lib/components/rich-text/index.d.ts +6 -6
- package/lib/components/rich-text/index.scss +19 -19
- package/lib/components/rich-text/rich-text.d.ts +13 -14
- package/lib/components/search-bar/index.d.ts +3 -3
- package/lib/components/search-bar/index.scss +44 -39
- package/lib/components/search-bar/search-bar.d.ts +12 -10
- package/lib/components/search-bar/search-bar.js +12 -7
- package/lib/components/search-history-list/index.d.ts +3 -0
- package/lib/components/search-history-list/index.js +6 -0
- package/lib/components/search-history-list/index.scss +29 -0
- package/lib/components/search-history-list/search-history-list.d.ts +29 -0
- package/lib/components/search-history-list/search-history-list.js +51 -0
- package/lib/components/shopping-cart/components/good-item.d.ts +15 -0
- package/lib/components/shopping-cart/components/good-item.js +132 -0
- package/lib/components/shopping-cart/components/good-item.scss +161 -0
- package/lib/components/shopping-cart/index.d.ts +6 -0
- package/lib/components/shopping-cart/index.js +6 -0
- package/lib/components/shopping-cart/index.scss +140 -0
- package/lib/components/shopping-cart/shopping-cart.d.ts +5 -0
- package/lib/components/shopping-cart/shopping-cart.js +244 -0
- package/lib/components/shopping-cart/type.d.ts +51 -0
- package/lib/components/shopping-cart/type.js +3 -0
- package/lib/components/stream-list/index.d.ts +6 -6
- package/lib/components/stream-list/index.scss +26 -26
- package/lib/components/stream-list/stream-list.d.ts +54 -54
- package/lib/components/stream-list/stream-list.js +5 -6
- package/lib/components/swiper/index.d.ts +3 -3
- package/lib/components/swiper/index.scss +20 -20
- package/lib/components/swiper/swiper.d.ts +30 -30
- package/lib/components/swiper/swiper.js +1 -2
- package/lib/components/switch/index.d.ts +6 -0
- package/lib/components/switch/index.js +6 -0
- package/lib/components/switch/index.scss +4 -0
- package/lib/components/switch/switch.d.ts +14 -0
- package/lib/components/switch/switch.js +26 -0
- package/lib/components/tab/index.d.ts +6 -6
- package/lib/components/tab/index.js +2 -2
- package/lib/components/tab/index.scss +44 -44
- package/lib/components/tab/tab.d.ts +27 -27
- package/lib/components/tab/tab.js +1 -2
- package/lib/components/tab-container/index.d.ts +3 -3
- package/lib/components/tab-container/index.scss +47 -47
- package/lib/components/tab-container/tab-container.d.ts +10 -10
- package/lib/components/tab-container-item/index.d.ts +3 -3
- package/lib/components/tab-container-item/tab-container-item.d.ts +11 -11
- package/lib/components/tag/index.d.ts +6 -6
- package/lib/components/tag/index.js +2 -2
- package/lib/components/tag/index.scss +24 -24
- package/lib/components/tag/tag.d.ts +14 -14
- package/lib/components/tag/tag.js +1 -2
- package/lib/components/teletext-list/index.d.ts +6 -6
- package/lib/components/teletext-list/index.scss +53 -40
- package/lib/components/teletext-list/teletext-list-item.d.ts +102 -33
- package/lib/components/teletext-list/teletext-list-item.js +195 -28
- package/lib/components/teletext-list/teletext-list-item.scss +203 -57
- package/lib/components/teletext-list/teletext-list.d.ts +147 -61
- package/lib/components/teletext-list/teletext-list.js +91 -9
- package/lib/components/text-description-detail-list/index.d.ts +6 -0
- package/lib/components/text-description-detail-list/index.js +6 -0
- package/lib/components/text-description-detail-list/index.scss +12 -0
- package/lib/components/text-description-detail-list/text-description-detail-list-item.d.ts +29 -0
- package/lib/components/text-description-detail-list/text-description-detail-list-item.js +28 -0
- package/lib/components/text-description-detail-list/text-description-detail-list-item.scss +45 -0
- package/lib/components/text-description-detail-list/text-description-detail-list.d.ts +27 -0
- package/lib/components/text-description-detail-list/text-description-detail-list.js +49 -0
- package/lib/components/title/index.d.ts +8 -8
- package/lib/components/title/title-1.d.ts +10 -10
- package/lib/components/title/title-1.scss +25 -25
- package/lib/components/title/title-2.d.ts +18 -18
- package/lib/components/title/title-2.scss +22 -22
- package/lib/components/user-card/index.d.ts +6 -6
- package/lib/components/user-card/index.scss +68 -68
- package/lib/components/user-card/type.d.ts +8 -8
- package/lib/components/user-card/user-card.d.ts +5 -5
- package/lib/components//346/250/241/346/235/277/index.d.ts +6 -0
- package/lib/components//346/250/241/346/235/277/index.js +6 -0
- package/lib/components//346/250/241/346/235/277/index.scss +0 -0
- package/lib/components//346/250/241/346/235/277/member-card.d.ts +5 -0
- package/lib/components//346/250/241/346/235/277/member-card.js +26 -0
- package/lib/components//346/250/241/346/235/277/type.d.ts +11 -0
- package/lib/components//346/250/241/346/235/277/type.js +3 -0
- package/lib/entity/dynamic-column-data-type.d.ts +316 -316
- package/lib/entity/dynamic-column-data-type.js +4 -4
- package/lib/index.d.ts +85 -52
- package/lib/index.js +126 -3
- package/lib/index.scss +6 -6
- package/lib/style.js +14 -0
- package/lib/utils/children-node-handle.d.ts +9 -9
- package/lib/utils/children-node-handle.js +12 -7
- package/lib/utils/component-wrapper.d.ts +9 -9
- package/lib/utils/component-wrapper.js +1 -2
- package/lib/utils/debounce.d.ts +1 -1
- package/lib/utils/textUtil.d.ts +10 -10
- package/lib/utils/textUtil.js +9 -9
- package/lib/utils/time-util.d.ts +5 -5
- package/lib/utils/time-util.js +3 -3
- package/lib/variables.d.ts +2 -2
- package/lib/variables.scss +3 -3
- package/lowcode/accordion-selector/meta.ts +125 -124
- package/lowcode/accordion-selector/props.ts +106 -106
- package/lowcode/address-list/meta.ts +102 -101
- package/lowcode/bread-crumb/meta.ts +119 -118
- package/lowcode/button2/meta.ts +86 -84
- package/lowcode/collapse/meta.ts +140 -138
- package/lowcode/collapse-selector/meta.ts +67 -67
- package/lowcode/collapse-selector/props.ts +114 -114
- package/lowcode/collapse-selector-item/meta.ts +80 -78
- package/lowcode/custom-drawer/meta.ts +223 -221
- package/lowcode/custom-form/meta.ts +307 -0
- package/lowcode/custom-radio-group/meta.ts +313 -312
- package/lowcode/custom-radio-group-item/meta.ts +231 -230
- package/lowcode/{select → custom-select}/meta.ts +203 -189
- package/lowcode/d-c-slider/meta.design.ts +174 -174
- package/lowcode/d-c-slider/meta.ts +186 -186
- package/lowcode/d-c-slider/snippets.ts +69 -69
- package/lowcode/drawer/meta.ts +319 -318
- package/lowcode/form/meta.ts +69 -68
- package/lowcode/goods-card-list/meta.ts +271 -270
- package/lowcode/goods-card-list-common/meta.ts +271 -270
- package/lowcode/grid-nav/meta.ts +237 -236
- package/lowcode/image/meta.ts +62 -61
- package/lowcode/input/meta.ts +629 -240
- package/lowcode/integral-task/meta.ts +214 -212
- package/lowcode/item/meta.ts +310 -308
- package/lowcode/member-card/meta.ts +189 -187
- package/lowcode/menu-list/meta.ts +155 -154
- package/lowcode/message-list/meta.ts +227 -225
- package/lowcode/navigation/meta.ts +178 -177
- package/lowcode/notice-bar/meta.ts +252 -251
- package/lowcode/position/meta.ts +163 -162
- package/lowcode/profile/meta.ts +126 -125
- package/lowcode/rating/meta.ts +103 -102
- package/lowcode/review-list/meta.ts +148 -147
- package/lowcode/rich-text/meta.ts +73 -72
- package/lowcode/search-bar/meta.ts +106 -105
- package/lowcode/search-history-list/meta.ts +104 -103
- package/lowcode/shopping-cart/meta.ts +496 -494
- package/lowcode/stream-list/meta.ts +211 -209
- package/lowcode/swiper/meta.ts +237 -237
- package/lowcode/switch/meta.ts +70 -69
- package/lowcode/tab-container/meta.ts +71 -71
- package/lowcode/tab-container/props.ts +194 -194
- package/lowcode/tab-container-item/meta.ts +197 -195
- package/lowcode/tab-message/meta.ts +107 -105
- package/lowcode/tag-c/meta.ts +78 -76
- package/lowcode/teletext-list/meta.ts +846 -845
- package/lowcode/text-description-detail-list/meta.ts +113 -112
- package/lowcode/title1/meta.ts +61 -60
- package/lowcode/title2/meta.ts +95 -94
- package/lowcode/user-card/meta.ts +131 -130
- package/lowcode_es/accordion-selector/meta.d.ts +3 -3
- package/lowcode_es/accordion-selector/meta.js +1 -0
- package/lowcode_es/accordion-selector/props.d.ts +51 -51
- package/lowcode_es/address-list/meta.d.ts +22 -2
- package/lowcode_es/address-list/meta.js +1 -0
- package/lowcode_es/bread-crumb/meta.d.ts +22 -2
- package/lowcode_es/bread-crumb/meta.js +1 -0
- package/lowcode_es/button2/meta.d.ts +22 -2
- package/lowcode_es/button2/meta.js +2 -0
- package/lowcode_es/collapse/meta.d.ts +22 -2
- package/lowcode_es/collapse/meta.js +2 -0
- package/lowcode_es/collapse-selector/meta.d.ts +22 -2
- package/lowcode_es/collapse-selector/props.d.ts +49 -49
- package/lowcode_es/collapse-selector-item/meta.d.ts +22 -2
- package/lowcode_es/collapse-selector-item/meta.js +2 -0
- package/lowcode_es/custom-drawer/meta.d.ts +22 -2
- package/lowcode_es/custom-drawer/meta.js +2 -0
- package/lowcode_es/custom-form/meta.d.ts +22 -0
- package/lowcode_es/custom-form/meta.js +302 -0
- package/lowcode_es/custom-radio-group/meta.d.ts +22 -2
- package/lowcode_es/custom-radio-group/meta.js +1 -0
- package/lowcode_es/custom-radio-group-item/meta.d.ts +23 -2
- package/lowcode_es/custom-radio-group-item/meta.js +1 -0
- package/lowcode_es/custom-select/meta.d.ts +22 -0
- package/lowcode_es/{select → custom-select}/meta.js +21 -10
- package/lowcode_es/d-c-slider/meta.d.ts +151 -151
- package/lowcode_es/d-c-slider/meta.design.d.ts +102 -102
- package/lowcode_es/d-c-slider/snippets.d.ts +37 -37
- package/lowcode_es/drawer/meta.d.ts +22 -2
- package/lowcode_es/drawer/meta.js +1 -0
- package/lowcode_es/form/meta.d.ts +22 -2
- package/lowcode_es/form/meta.js +1 -0
- package/lowcode_es/goods-card-list/meta.d.ts +22 -2
- package/lowcode_es/goods-card-list/meta.js +1 -0
- package/lowcode_es/goods-card-list-common/meta.d.ts +22 -2
- package/lowcode_es/goods-card-list-common/meta.js +1 -0
- package/lowcode_es/grid-nav/meta.d.ts +22 -2
- package/lowcode_es/grid-nav/meta.js +1 -0
- package/lowcode_es/image/meta.d.ts +22 -2
- package/lowcode_es/image/meta.js +1 -0
- package/lowcode_es/input/meta.d.ts +22 -2
- package/lowcode_es/input/meta.js +424 -77
- package/lowcode_es/integral-task/meta.d.ts +22 -2
- package/lowcode_es/integral-task/meta.js +2 -0
- package/lowcode_es/item/meta.d.ts +22 -2
- package/lowcode_es/item/meta.js +2 -0
- package/lowcode_es/member-card/meta.d.ts +22 -2
- package/lowcode_es/member-card/meta.js +2 -0
- package/lowcode_es/menu-list/meta.d.ts +22 -2
- package/lowcode_es/menu-list/meta.js +1 -0
- package/lowcode_es/message-list/meta.d.ts +22 -2
- package/lowcode_es/message-list/meta.js +2 -0
- package/lowcode_es/meta.js +49 -48
- package/lowcode_es/navigation/meta.d.ts +22 -2
- package/lowcode_es/navigation/meta.js +1 -0
- package/lowcode_es/notice-bar/meta.d.ts +22 -2
- package/lowcode_es/notice-bar/meta.js +1 -0
- package/lowcode_es/position/meta.d.ts +22 -2
- package/lowcode_es/position/meta.js +1 -0
- package/lowcode_es/profile/meta.d.ts +22 -2
- package/lowcode_es/profile/meta.js +1 -0
- package/lowcode_es/rating/meta.d.ts +22 -2
- package/lowcode_es/rating/meta.js +1 -0
- package/lowcode_es/review-list/meta.d.ts +22 -2
- package/lowcode_es/review-list/meta.js +1 -0
- package/lowcode_es/rich-text/meta.d.ts +22 -2
- package/lowcode_es/rich-text/meta.js +1 -0
- package/lowcode_es/search-bar/meta.d.ts +22 -2
- package/lowcode_es/search-bar/meta.js +1 -0
- package/lowcode_es/search-history-list/meta.d.ts +22 -2
- package/lowcode_es/search-history-list/meta.js +1 -0
- package/lowcode_es/shopping-cart/meta.d.ts +22 -2
- package/lowcode_es/shopping-cart/meta.js +2 -0
- package/lowcode_es/stream-list/meta.d.ts +22 -2
- package/lowcode_es/stream-list/meta.js +2 -0
- package/lowcode_es/swiper/meta.d.ts +22 -2
- package/lowcode_es/switch/meta.d.ts +22 -2
- package/lowcode_es/switch/meta.js +1 -0
- package/lowcode_es/tab-container/meta.d.ts +22 -2
- package/lowcode_es/tab-container/props.d.ts +90 -90
- package/lowcode_es/tab-container-item/meta.d.ts +22 -2
- package/lowcode_es/tab-container-item/meta.js +2 -0
- package/lowcode_es/tab-message/meta.d.ts +22 -2
- package/lowcode_es/tab-message/meta.js +2 -0
- package/lowcode_es/tag-c/meta.d.ts +22 -2
- package/lowcode_es/tag-c/meta.js +2 -0
- package/lowcode_es/teletext-list/meta.d.ts +22 -2
- package/lowcode_es/teletext-list/meta.js +1 -0
- package/lowcode_es/text-description-detail-list/meta.d.ts +22 -2
- package/lowcode_es/text-description-detail-list/meta.js +1 -0
- package/lowcode_es/title1/meta.d.ts +22 -2
- package/lowcode_es/title1/meta.js +1 -0
- package/lowcode_es/title2/meta.d.ts +22 -2
- package/lowcode_es/title2/meta.js +1 -0
- package/lowcode_es/user-card/meta.d.ts +22 -2
- package/lowcode_es/user-card/meta.js +2 -1
- package/lowcode_es/view.js +3 -3
- package/lowcode_lib/accordion-selector/meta.d.ts +3 -3
- package/lowcode_lib/accordion-selector/meta.js +1 -0
- package/lowcode_lib/accordion-selector/props.d.ts +51 -51
- package/lowcode_lib/address-list/meta.d.ts +22 -2
- package/lowcode_lib/address-list/meta.js +1 -0
- package/lowcode_lib/bread-crumb/meta.d.ts +22 -2
- package/lowcode_lib/bread-crumb/meta.js +1 -0
- package/lowcode_lib/button2/meta.d.ts +22 -2
- package/lowcode_lib/button2/meta.js +2 -0
- package/lowcode_lib/collapse/meta.d.ts +22 -2
- package/lowcode_lib/collapse/meta.js +2 -0
- package/lowcode_lib/collapse-selector/meta.d.ts +22 -2
- package/lowcode_lib/collapse-selector/props.d.ts +49 -49
- package/lowcode_lib/collapse-selector-item/meta.d.ts +22 -2
- package/lowcode_lib/collapse-selector-item/meta.js +2 -0
- package/lowcode_lib/custom-drawer/meta.d.ts +22 -2
- package/lowcode_lib/custom-drawer/meta.js +2 -0
- package/lowcode_lib/custom-form/meta.d.ts +22 -0
- package/lowcode_lib/custom-form/meta.js +307 -0
- package/lowcode_lib/custom-radio-group/meta.d.ts +22 -2
- package/lowcode_lib/custom-radio-group/meta.js +1 -0
- package/lowcode_lib/custom-radio-group-item/meta.d.ts +23 -2
- package/lowcode_lib/custom-radio-group-item/meta.js +1 -0
- package/lowcode_lib/custom-select/meta.d.ts +22 -0
- package/lowcode_lib/{select → custom-select}/meta.js +21 -10
- package/lowcode_lib/d-c-slider/meta.d.ts +151 -151
- package/lowcode_lib/d-c-slider/meta.design.d.ts +102 -102
- package/lowcode_lib/d-c-slider/snippets.d.ts +37 -37
- package/lowcode_lib/drawer/meta.d.ts +22 -2
- package/lowcode_lib/drawer/meta.js +1 -0
- package/lowcode_lib/form/meta.d.ts +22 -2
- package/lowcode_lib/form/meta.js +1 -0
- package/lowcode_lib/goods-card-list/meta.d.ts +22 -2
- package/lowcode_lib/goods-card-list/meta.js +1 -0
- package/lowcode_lib/goods-card-list-common/meta.d.ts +22 -2
- package/lowcode_lib/goods-card-list-common/meta.js +1 -0
- package/lowcode_lib/grid-nav/meta.d.ts +22 -2
- package/lowcode_lib/grid-nav/meta.js +1 -0
- package/lowcode_lib/image/meta.d.ts +22 -2
- package/lowcode_lib/image/meta.js +1 -0
- package/lowcode_lib/input/meta.d.ts +22 -2
- package/lowcode_lib/input/meta.js +424 -77
- package/lowcode_lib/integral-task/meta.d.ts +22 -2
- package/lowcode_lib/integral-task/meta.js +2 -0
- package/lowcode_lib/item/meta.d.ts +22 -2
- package/lowcode_lib/item/meta.js +2 -0
- package/lowcode_lib/member-card/meta.d.ts +22 -2
- package/lowcode_lib/member-card/meta.js +2 -0
- package/lowcode_lib/menu-list/meta.d.ts +22 -2
- package/lowcode_lib/menu-list/meta.js +1 -0
- package/lowcode_lib/message-list/meta.d.ts +22 -2
- package/lowcode_lib/message-list/meta.js +2 -0
- package/lowcode_lib/meta.js +49 -48
- package/lowcode_lib/navigation/meta.d.ts +22 -2
- package/lowcode_lib/navigation/meta.js +1 -0
- package/lowcode_lib/notice-bar/meta.d.ts +22 -2
- package/lowcode_lib/notice-bar/meta.js +1 -0
- package/lowcode_lib/position/meta.d.ts +22 -2
- package/lowcode_lib/position/meta.js +1 -0
- package/lowcode_lib/profile/meta.d.ts +22 -2
- package/lowcode_lib/profile/meta.js +1 -0
- package/lowcode_lib/rating/meta.d.ts +22 -2
- package/lowcode_lib/rating/meta.js +1 -0
- package/lowcode_lib/review-list/meta.d.ts +22 -2
- package/lowcode_lib/review-list/meta.js +1 -0
- package/lowcode_lib/rich-text/meta.d.ts +22 -2
- package/lowcode_lib/rich-text/meta.js +1 -0
- package/lowcode_lib/search-bar/meta.d.ts +22 -2
- package/lowcode_lib/search-bar/meta.js +1 -0
- package/lowcode_lib/search-history-list/meta.d.ts +22 -2
- package/lowcode_lib/search-history-list/meta.js +1 -0
- package/lowcode_lib/shopping-cart/meta.d.ts +22 -2
- package/lowcode_lib/shopping-cart/meta.js +2 -0
- package/lowcode_lib/stream-list/meta.d.ts +22 -2
- package/lowcode_lib/stream-list/meta.js +2 -0
- package/lowcode_lib/swiper/meta.d.ts +22 -2
- package/lowcode_lib/switch/meta.d.ts +22 -2
- package/lowcode_lib/switch/meta.js +1 -0
- package/lowcode_lib/tab-container/meta.d.ts +22 -2
- package/lowcode_lib/tab-container/props.d.ts +90 -90
- package/lowcode_lib/tab-container-item/meta.d.ts +22 -2
- package/lowcode_lib/tab-container-item/meta.js +2 -0
- package/lowcode_lib/tab-message/meta.d.ts +22 -2
- package/lowcode_lib/tab-message/meta.js +2 -0
- package/lowcode_lib/tag-c/meta.d.ts +22 -2
- package/lowcode_lib/tag-c/meta.js +2 -0
- package/lowcode_lib/teletext-list/meta.d.ts +22 -2
- package/lowcode_lib/teletext-list/meta.js +1 -0
- package/lowcode_lib/text-description-detail-list/meta.d.ts +22 -2
- package/lowcode_lib/text-description-detail-list/meta.js +1 -0
- package/lowcode_lib/title1/meta.d.ts +22 -2
- package/lowcode_lib/title1/meta.js +1 -0
- package/lowcode_lib/title2/meta.d.ts +22 -2
- package/lowcode_lib/title2/meta.js +1 -0
- package/lowcode_lib/user-card/meta.d.ts +22 -2
- package/lowcode_lib/user-card/meta.js +2 -1
- package/lowcode_lib/view.js +2 -2
- package/package.json +19 -11
- package/lowcode_es/select/meta.d.ts +0 -2
- package/lowcode_lib/select/meta.d.ts +0 -2
|
@@ -1,845 +1,846 @@
|
|
|
1
|
-
import {
|
|
2
|
-
IPublicTypeComponentMetadata,
|
|
3
|
-
IPublicTypeSnippet,
|
|
4
|
-
IPublicTypeConfigure,
|
|
5
|
-
} from '@alilc/lowcode-types'
|
|
6
|
-
|
|
7
|
-
const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
8
|
-
group: '低代码组件',
|
|
9
|
-
componentName: 'TeletextList',
|
|
10
|
-
title: '图文列表',
|
|
11
|
-
docUrl: '',
|
|
12
|
-
screenshot: '',
|
|
13
|
-
devMode: 'proCode',
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
'
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
'
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
{ label: '
|
|
170
|
-
{ label: '
|
|
171
|
-
{ label: '
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
'
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
const
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
node?.children
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
child.
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
{ label: '
|
|
271
|
-
{ label: '
|
|
272
|
-
{ label: '
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
...
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
target.
|
|
298
|
-
target.parent
|
|
299
|
-
target.parent.
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
target.getProps().getPropValue('imagePlacement') === '
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
target.getProps().getPropValue('imagePlacement') === '
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
'
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
'
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
'
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
'
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
//
|
|
742
|
-
//
|
|
743
|
-
//
|
|
744
|
-
//
|
|
745
|
-
//
|
|
746
|
-
//
|
|
747
|
-
//
|
|
748
|
-
//
|
|
749
|
-
//
|
|
750
|
-
//
|
|
751
|
-
//
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
?.
|
|
844
|
-
|
|
845
|
-
|
|
1
|
+
import {
|
|
2
|
+
IPublicTypeComponentMetadata,
|
|
3
|
+
IPublicTypeSnippet,
|
|
4
|
+
IPublicTypeConfigure,
|
|
5
|
+
} from '@alilc/lowcode-types'
|
|
6
|
+
|
|
7
|
+
const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
8
|
+
group: '低代码组件',
|
|
9
|
+
componentName: 'TeletextList',
|
|
10
|
+
title: '图文列表',
|
|
11
|
+
docUrl: '',
|
|
12
|
+
screenshot: '',
|
|
13
|
+
devMode: 'proCode',
|
|
14
|
+
category: '信息展示',
|
|
15
|
+
npm: {
|
|
16
|
+
package: '@dckj-npm/dc-material',
|
|
17
|
+
version: '0.1.8',
|
|
18
|
+
exportName: 'TeletextList',
|
|
19
|
+
main: 'src/index.tsx',
|
|
20
|
+
destructuring: true,
|
|
21
|
+
subName: '',
|
|
22
|
+
},
|
|
23
|
+
configure: {
|
|
24
|
+
props: [
|
|
25
|
+
{
|
|
26
|
+
title: {
|
|
27
|
+
label: {
|
|
28
|
+
type: 'i18n',
|
|
29
|
+
'en-US': 'type',
|
|
30
|
+
'zh-CN': '类型',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
name: 'type',
|
|
34
|
+
description: '类型',
|
|
35
|
+
setter: {
|
|
36
|
+
componentName: 'RadioGroupSetter',
|
|
37
|
+
props: {
|
|
38
|
+
dataSource: [
|
|
39
|
+
{
|
|
40
|
+
label: '图文',
|
|
41
|
+
value: 'textAndImg',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
label: '仅有图片',
|
|
45
|
+
value: 'imgOnly',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
label: '仅有文字',
|
|
49
|
+
value: 'textOnly',
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
options: [
|
|
53
|
+
{
|
|
54
|
+
label: '图文',
|
|
55
|
+
value: 'textAndImg',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
label: '仅有图片',
|
|
59
|
+
value: 'imgOnly',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
label: '仅有文字',
|
|
63
|
+
value: 'textOnly',
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
},
|
|
67
|
+
initialValue: 'textAndImg',
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
title: {
|
|
72
|
+
label: {
|
|
73
|
+
type: 'i18n',
|
|
74
|
+
'en-US': 'imagePlacement',
|
|
75
|
+
'zh-CN': '图片位置',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
name: 'imagePlacement',
|
|
79
|
+
description: '图片位置',
|
|
80
|
+
setter: {
|
|
81
|
+
componentName: 'RadioGroupSetter',
|
|
82
|
+
props: {
|
|
83
|
+
dataSource: [
|
|
84
|
+
{
|
|
85
|
+
label: '左',
|
|
86
|
+
value: 'left',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
label: '右',
|
|
90
|
+
value: 'right',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
label: '上',
|
|
94
|
+
value: 'top',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
label: '下',
|
|
98
|
+
value: 'bottom',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
label: '无',
|
|
102
|
+
value: 'none',
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
options: [
|
|
106
|
+
{
|
|
107
|
+
label: '左',
|
|
108
|
+
value: 'left',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
label: '右',
|
|
112
|
+
value: 'right',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
label: '上',
|
|
116
|
+
value: 'top',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
label: '下',
|
|
120
|
+
value: 'bottom',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
label: '无',
|
|
124
|
+
value: 'none',
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
initialValue: 'left',
|
|
129
|
+
},
|
|
130
|
+
extraProps: {
|
|
131
|
+
setValue: (target, value) => {
|
|
132
|
+
target.getProps().setPropValue('imagePlacement', value)
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
title: '图片宽度',
|
|
138
|
+
name: 'imgWidth',
|
|
139
|
+
description: '图片宽度',
|
|
140
|
+
setter: {
|
|
141
|
+
componentName: 'NumberSetter',
|
|
142
|
+
isRequired: false,
|
|
143
|
+
initialValue: 100,
|
|
144
|
+
defaultValue: 100,
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
title: '图片高度',
|
|
149
|
+
name: 'imgHeight',
|
|
150
|
+
description: '图片高度',
|
|
151
|
+
setter: {
|
|
152
|
+
componentName: 'NumberSetter',
|
|
153
|
+
isRequired: false,
|
|
154
|
+
initialValue: 100,
|
|
155
|
+
defaultValue: 100,
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
title: '数据源绑定',
|
|
160
|
+
name: 'dataListBind',
|
|
161
|
+
setter: {
|
|
162
|
+
componentName: 'SetterFormVariable',
|
|
163
|
+
props: {
|
|
164
|
+
attributes: [
|
|
165
|
+
{
|
|
166
|
+
label: '图文数据',
|
|
167
|
+
value: 'dataList',
|
|
168
|
+
children: [
|
|
169
|
+
{ label: '图片链接', value: 'image' },
|
|
170
|
+
{ label: '类型', value: 'itemType' },
|
|
171
|
+
{ label: '标题', value: 'title' },
|
|
172
|
+
{ label: '说明', value: 'description' },
|
|
173
|
+
],
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
extraProps: {
|
|
179
|
+
setValue: (target, value) => {
|
|
180
|
+
console.log('dataList setValue', target, value)
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
title: '标题',
|
|
186
|
+
name: 'title',
|
|
187
|
+
description: '标题',
|
|
188
|
+
setter: {
|
|
189
|
+
componentName: 'StringSetter',
|
|
190
|
+
isRequired: false,
|
|
191
|
+
initialValue: '',
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
title: {
|
|
196
|
+
label: {
|
|
197
|
+
type: 'i18n',
|
|
198
|
+
'en-US': 'moreText',
|
|
199
|
+
'zh-CN': '更多文字',
|
|
200
|
+
},
|
|
201
|
+
tip: 'moreText | 更多文字',
|
|
202
|
+
},
|
|
203
|
+
name: 'moreText',
|
|
204
|
+
description: '更多文字',
|
|
205
|
+
setter: {
|
|
206
|
+
componentName: 'StringSetter',
|
|
207
|
+
isRequired: false,
|
|
208
|
+
initialValue: '',
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
title: '文字行数',
|
|
213
|
+
name: 'textLines',
|
|
214
|
+
description: '文字行数',
|
|
215
|
+
setter: {
|
|
216
|
+
componentName: 'NumberSetter',
|
|
217
|
+
isRequired: false,
|
|
218
|
+
initialValue: 2,
|
|
219
|
+
defaultValue: 2,
|
|
220
|
+
props: {
|
|
221
|
+
min: 2,
|
|
222
|
+
max: 4,
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
extraProps: {
|
|
226
|
+
setValue(target, value) {
|
|
227
|
+
target.getProps().setPropValue('textLines', value)
|
|
228
|
+
const schema = target?.node?.schema
|
|
229
|
+
const node = target?.node
|
|
230
|
+
|
|
231
|
+
// 获取当前文本组件数量
|
|
232
|
+
const currentLength =
|
|
233
|
+
schema?.children?.filter(
|
|
234
|
+
(child) =>
|
|
235
|
+
child.componentName === 'NextText' && child.props.key?.startsWith('text-'),
|
|
236
|
+
)?.length || 0
|
|
237
|
+
|
|
238
|
+
if (value > currentLength) {
|
|
239
|
+
// 需要添加新的文本组件
|
|
240
|
+
for (let i = currentLength + 1; i <= value; i++) {
|
|
241
|
+
const newChild = {
|
|
242
|
+
componentName: 'NextText',
|
|
243
|
+
props: {
|
|
244
|
+
type: 'inherit',
|
|
245
|
+
children: '基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台',
|
|
246
|
+
key: `text-${i}`,
|
|
247
|
+
},
|
|
248
|
+
}
|
|
249
|
+
console.log('node', node, 'node-children', node?.children)
|
|
250
|
+
node?.children?.push(newChild)
|
|
251
|
+
}
|
|
252
|
+
} else if (value < currentLength) {
|
|
253
|
+
// 需要移除多余的文本组件
|
|
254
|
+
node?.children?.filter(
|
|
255
|
+
(child) =>
|
|
256
|
+
!(
|
|
257
|
+
child.componentName === 'NextText' &&
|
|
258
|
+
child.props?.key?.startsWith('text-') &&
|
|
259
|
+
parseInt(child?.props?.key.split('-')[1]) > value
|
|
260
|
+
),
|
|
261
|
+
)
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// 更新数据源绑定的配置
|
|
265
|
+
const dataListBindProp = target.parent.items.find(
|
|
266
|
+
(item) => item.name === 'dataListBind',
|
|
267
|
+
)
|
|
268
|
+
if (dataListBindProp && dataListBindProp.setter) {
|
|
269
|
+
const baseChildren = [
|
|
270
|
+
{ label: '图片链接', value: 'image' },
|
|
271
|
+
{ label: '类型', value: 'itemType' },
|
|
272
|
+
{ label: '标题', value: 'title' },
|
|
273
|
+
{ label: '说明', value: 'description' },
|
|
274
|
+
]
|
|
275
|
+
|
|
276
|
+
// 只有当value大于2时才添加额外的文本字段
|
|
277
|
+
const textChildren =
|
|
278
|
+
value > 2
|
|
279
|
+
? Array.from({ length: value - 2 }).map((_, index) => ({
|
|
280
|
+
label: `文本${index + 3}`,
|
|
281
|
+
value: `text${index + 3}`,
|
|
282
|
+
}))
|
|
283
|
+
: []
|
|
284
|
+
|
|
285
|
+
// 更新setter的attributes
|
|
286
|
+
dataListBindProp.setter.props.attributes[0].children = [
|
|
287
|
+
...baseChildren,
|
|
288
|
+
...textChildren,
|
|
289
|
+
]
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
console.log(
|
|
293
|
+
'文字行数',
|
|
294
|
+
target,
|
|
295
|
+
value,
|
|
296
|
+
schema,
|
|
297
|
+
target.node,
|
|
298
|
+
target.parent,
|
|
299
|
+
target.parent.getPropValue('dataListBind'),
|
|
300
|
+
target.parent.node?.getProp('dataListBind'),
|
|
301
|
+
)
|
|
302
|
+
},
|
|
303
|
+
},
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
title: '子项列数',
|
|
307
|
+
name: 'itemColumns',
|
|
308
|
+
description: '子项列数',
|
|
309
|
+
setter: {
|
|
310
|
+
componentName: 'NumberSetter',
|
|
311
|
+
isRequired: false,
|
|
312
|
+
initialValue: (target) => {
|
|
313
|
+
const isTwoColumns =
|
|
314
|
+
target.getProps().getPropValue('imagePlacement') === 'top' ||
|
|
315
|
+
target.getProps().getPropValue('imagePlacement') === 'bottom'
|
|
316
|
+
return isTwoColumns ? 2 : 1
|
|
317
|
+
},
|
|
318
|
+
defaultValue: (target) => {
|
|
319
|
+
const isTwoColumns =
|
|
320
|
+
target.getProps().getPropValue('imagePlacement') === 'top' ||
|
|
321
|
+
target.getProps().getPropValue('imagePlacement') === 'bottom'
|
|
322
|
+
return isTwoColumns ? 2 : 1
|
|
323
|
+
},
|
|
324
|
+
props: {
|
|
325
|
+
min: 1,
|
|
326
|
+
max: 2,
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
title: '子项间距',
|
|
332
|
+
name: 'itemGap',
|
|
333
|
+
description: '子项间距',
|
|
334
|
+
setter: {
|
|
335
|
+
componentName: 'NumberSetter',
|
|
336
|
+
isRequired: false,
|
|
337
|
+
initialValue: 10,
|
|
338
|
+
defaultValue: 10,
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
title: '子项内边距',
|
|
343
|
+
name: 'itemPadding',
|
|
344
|
+
description: '子项内边距',
|
|
345
|
+
setter: {
|
|
346
|
+
componentName: 'NumberSetter',
|
|
347
|
+
isRequired: false,
|
|
348
|
+
initialValue: 0,
|
|
349
|
+
defaultValue: 0,
|
|
350
|
+
},
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
title: '子项背景颜色',
|
|
354
|
+
name: 'itemBgColor',
|
|
355
|
+
description: '子项背景颜色',
|
|
356
|
+
setter: {
|
|
357
|
+
componentName: 'ColorSetter',
|
|
358
|
+
isRequired: false,
|
|
359
|
+
initialValue: '#fff',
|
|
360
|
+
defaultValue: '#fff',
|
|
361
|
+
},
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
title: '子项分布',
|
|
365
|
+
name: 'itemRowAlign',
|
|
366
|
+
description: '子项分布',
|
|
367
|
+
setter: {
|
|
368
|
+
componentName: 'SelectSetter',
|
|
369
|
+
props: {
|
|
370
|
+
options: [
|
|
371
|
+
{
|
|
372
|
+
label: '列分布',
|
|
373
|
+
value: 'column',
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
label: '一行显示',
|
|
377
|
+
value: 'row',
|
|
378
|
+
},
|
|
379
|
+
],
|
|
380
|
+
},
|
|
381
|
+
initialValue: 'column',
|
|
382
|
+
},
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
title: '图文对齐方式',
|
|
386
|
+
name: 'textAlign',
|
|
387
|
+
description: '图文对齐方式',
|
|
388
|
+
setter: {
|
|
389
|
+
componentName: 'SelectSetter',
|
|
390
|
+
props: {
|
|
391
|
+
options: [
|
|
392
|
+
{
|
|
393
|
+
label: '左对齐',
|
|
394
|
+
value: 'flex-start',
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
label: '右对齐',
|
|
398
|
+
value: 'flex-end',
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
label: '居中对齐',
|
|
402
|
+
value: 'center',
|
|
403
|
+
},
|
|
404
|
+
],
|
|
405
|
+
},
|
|
406
|
+
initialValue: 'flex-start',
|
|
407
|
+
},
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
title: '图文间距',
|
|
411
|
+
name: 'textImgGap',
|
|
412
|
+
description: '图文间距',
|
|
413
|
+
setter: {
|
|
414
|
+
componentName: 'NumberSetter',
|
|
415
|
+
isRequired: false,
|
|
416
|
+
initialValue: 0,
|
|
417
|
+
defaultValue: 0,
|
|
418
|
+
},
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
title: '图标配置',
|
|
422
|
+
name: 'iconList',
|
|
423
|
+
extraProps: {
|
|
424
|
+
display: 'accordion',
|
|
425
|
+
defaultCollapsed: false,
|
|
426
|
+
},
|
|
427
|
+
setter: {
|
|
428
|
+
componentName: 'ArraySetter',
|
|
429
|
+
props: {
|
|
430
|
+
itemSetter: {
|
|
431
|
+
componentName: 'ObjectSetter',
|
|
432
|
+
props: {
|
|
433
|
+
config: {
|
|
434
|
+
items: [
|
|
435
|
+
{
|
|
436
|
+
name: 'icon',
|
|
437
|
+
title: '图标',
|
|
438
|
+
setter: 'IconSetter',
|
|
439
|
+
isRequired: true,
|
|
440
|
+
props: {
|
|
441
|
+
hasClear: false,
|
|
442
|
+
},
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
name: 'size',
|
|
446
|
+
title: '图标尺寸',
|
|
447
|
+
setter: {
|
|
448
|
+
componentName: 'SelectSetter',
|
|
449
|
+
props: {
|
|
450
|
+
options: [
|
|
451
|
+
{
|
|
452
|
+
label: 'xxs',
|
|
453
|
+
value: 'xxs',
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
label: 'xs',
|
|
457
|
+
value: 'xs',
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
label: 'small',
|
|
461
|
+
value: 'small',
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
label: 'medium',
|
|
465
|
+
value: 'medium',
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
label: 'large',
|
|
469
|
+
value: 'large',
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
label: 'xl',
|
|
473
|
+
value: 'xl',
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
label: 'xxl',
|
|
477
|
+
value: 'xxl',
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
label: 'xxxl',
|
|
481
|
+
value: 'xxxl',
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
label: 'inherit',
|
|
485
|
+
value: 'inherit',
|
|
486
|
+
},
|
|
487
|
+
],
|
|
488
|
+
},
|
|
489
|
+
},
|
|
490
|
+
defaultValue: 'medium',
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
name: 'position',
|
|
494
|
+
title: '图标位置',
|
|
495
|
+
defaultValue: 'rightTop',
|
|
496
|
+
isRequired: true,
|
|
497
|
+
setter: {
|
|
498
|
+
componentName: 'SelectSetter',
|
|
499
|
+
props: {
|
|
500
|
+
options: [
|
|
501
|
+
{
|
|
502
|
+
label: '左上角',
|
|
503
|
+
value: 'leftTop',
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
label: '左下角',
|
|
507
|
+
value: 'leftBottom',
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
label: '右上角',
|
|
511
|
+
value: 'rightTop',
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
label: '右下角',
|
|
515
|
+
value: 'rightBottom',
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
label: '自定义',
|
|
519
|
+
value: 'customize',
|
|
520
|
+
},
|
|
521
|
+
],
|
|
522
|
+
},
|
|
523
|
+
},
|
|
524
|
+
extraProps: {
|
|
525
|
+
setValue: (target, value) => {
|
|
526
|
+
target.getProps().setPropValue('position', value)
|
|
527
|
+
},
|
|
528
|
+
},
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
name: 'rightOffset',
|
|
532
|
+
title: '右偏移',
|
|
533
|
+
setter: 'NumberSetter',
|
|
534
|
+
defaultValue: 0,
|
|
535
|
+
condition: (target) => {
|
|
536
|
+
return target.getProps().getPropValue('position') === 'customize'
|
|
537
|
+
},
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
name: 'topOffset',
|
|
541
|
+
title: '上偏移',
|
|
542
|
+
setter: 'NumberSetter',
|
|
543
|
+
defaultValue: 0,
|
|
544
|
+
condition: (target) => {
|
|
545
|
+
return target.getProps().getPropValue('position') === 'customize'
|
|
546
|
+
},
|
|
547
|
+
},
|
|
548
|
+
],
|
|
549
|
+
},
|
|
550
|
+
},
|
|
551
|
+
initialValue: {
|
|
552
|
+
size: 'medium',
|
|
553
|
+
position: 'rightTop',
|
|
554
|
+
rightOffset: 0,
|
|
555
|
+
topOffset: 0,
|
|
556
|
+
},
|
|
557
|
+
},
|
|
558
|
+
},
|
|
559
|
+
},
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
title: '是否为购物车列表',
|
|
563
|
+
name: 'isShoppingCart',
|
|
564
|
+
description: '是否为购物车列表',
|
|
565
|
+
setter: {
|
|
566
|
+
componentName: 'BoolSetter',
|
|
567
|
+
isRequired: true,
|
|
568
|
+
initialValue: false,
|
|
569
|
+
},
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
title: '是否为愿望单列表',
|
|
573
|
+
name: 'isWishList',
|
|
574
|
+
description: '是否为愿望单列表',
|
|
575
|
+
setter: {
|
|
576
|
+
componentName: 'BoolSetter',
|
|
577
|
+
isRequired: true,
|
|
578
|
+
initialValue: false,
|
|
579
|
+
},
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
title: '是否为用户菜单列表',
|
|
583
|
+
name: 'isUserMenu',
|
|
584
|
+
description: '是否为用户菜单列表',
|
|
585
|
+
setter: {
|
|
586
|
+
componentName: 'BoolSetter',
|
|
587
|
+
isRequired: true,
|
|
588
|
+
initialValue: false,
|
|
589
|
+
},
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
title: {
|
|
593
|
+
label: {
|
|
594
|
+
type: 'i18n',
|
|
595
|
+
'en-US': 'dataList',
|
|
596
|
+
'zh-CN': '数据',
|
|
597
|
+
},
|
|
598
|
+
tip: 'dataList | 数据',
|
|
599
|
+
},
|
|
600
|
+
name: 'dataList',
|
|
601
|
+
description: '数据',
|
|
602
|
+
setter: {
|
|
603
|
+
componentName: 'ArraySetter',
|
|
604
|
+
props: {
|
|
605
|
+
itemSetter: {
|
|
606
|
+
componentName: 'ObjectSetter',
|
|
607
|
+
props: {
|
|
608
|
+
config: {
|
|
609
|
+
items: [
|
|
610
|
+
{
|
|
611
|
+
title: {
|
|
612
|
+
label: {
|
|
613
|
+
type: 'i18n',
|
|
614
|
+
'en-US': 'title',
|
|
615
|
+
'zh-CN': '标题',
|
|
616
|
+
},
|
|
617
|
+
},
|
|
618
|
+
name: 'title',
|
|
619
|
+
description: '标题',
|
|
620
|
+
setter: {
|
|
621
|
+
componentName: 'StringSetter',
|
|
622
|
+
isRequired: false,
|
|
623
|
+
initialValue: '',
|
|
624
|
+
},
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
title: {
|
|
628
|
+
label: {
|
|
629
|
+
type: 'i18n',
|
|
630
|
+
'en-US': 'image',
|
|
631
|
+
'zh-CN': '图片地址',
|
|
632
|
+
},
|
|
633
|
+
},
|
|
634
|
+
name: 'image',
|
|
635
|
+
description: '图片地址',
|
|
636
|
+
setter: {
|
|
637
|
+
componentName: 'CustomImageSetter',
|
|
638
|
+
isRequired: false,
|
|
639
|
+
initialValue: '',
|
|
640
|
+
},
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
title: {
|
|
644
|
+
label: {
|
|
645
|
+
type: 'i18n',
|
|
646
|
+
'en-US': 'description',
|
|
647
|
+
'zh-CN': '描述',
|
|
648
|
+
},
|
|
649
|
+
},
|
|
650
|
+
name: 'description',
|
|
651
|
+
description: '描述',
|
|
652
|
+
setter: {
|
|
653
|
+
componentName: 'StringSetter',
|
|
654
|
+
isRequired: false,
|
|
655
|
+
initialValue: '',
|
|
656
|
+
},
|
|
657
|
+
},
|
|
658
|
+
],
|
|
659
|
+
extraSetter: {
|
|
660
|
+
componentName: 'MixedSetter',
|
|
661
|
+
isRequired: false,
|
|
662
|
+
props: {},
|
|
663
|
+
},
|
|
664
|
+
},
|
|
665
|
+
},
|
|
666
|
+
},
|
|
667
|
+
},
|
|
668
|
+
initialValue: [
|
|
669
|
+
{
|
|
670
|
+
image: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
671
|
+
title: '标题名称',
|
|
672
|
+
description:
|
|
673
|
+
'说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
image: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
677
|
+
title: '标题名称',
|
|
678
|
+
description:
|
|
679
|
+
'说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
|
|
680
|
+
tags: [
|
|
681
|
+
{
|
|
682
|
+
name: '报名火热',
|
|
683
|
+
color: 'orange',
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
name: '人数众多',
|
|
687
|
+
color: 'blue',
|
|
688
|
+
},
|
|
689
|
+
],
|
|
690
|
+
},
|
|
691
|
+
],
|
|
692
|
+
},
|
|
693
|
+
},
|
|
694
|
+
],
|
|
695
|
+
supports: {
|
|
696
|
+
style: true,
|
|
697
|
+
events: [
|
|
698
|
+
{
|
|
699
|
+
name: 'onClick',
|
|
700
|
+
template: "onClick(key,${extParams}){\n// 点击项目的事件\nconsole.log('onClick', key);}",
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
name: 'handleMoreClick',
|
|
704
|
+
template: "handleMoreClick(){\n// 查看更多\nconsole.log('handleMoreClick');}",
|
|
705
|
+
},
|
|
706
|
+
],
|
|
707
|
+
},
|
|
708
|
+
component: {
|
|
709
|
+
disableBehaviors: ['copy'],
|
|
710
|
+
},
|
|
711
|
+
},
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
const getSnippets = (textLines = 2): IPublicTypeSnippet[] => [
|
|
715
|
+
{
|
|
716
|
+
title: '图文列表',
|
|
717
|
+
screenshot: '',
|
|
718
|
+
schema: {
|
|
719
|
+
componentName: 'TeletextList',
|
|
720
|
+
props: {},
|
|
721
|
+
children: [
|
|
722
|
+
{
|
|
723
|
+
componentName: 'NextText',
|
|
724
|
+
props: {
|
|
725
|
+
type: 'h5',
|
|
726
|
+
children: '列表标题',
|
|
727
|
+
key: 'box-title',
|
|
728
|
+
style: {
|
|
729
|
+
fontSize: '16px',
|
|
730
|
+
fontWeight: 'bold',
|
|
731
|
+
},
|
|
732
|
+
},
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
componentName: 'Image',
|
|
736
|
+
props: {
|
|
737
|
+
imgSrc: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
738
|
+
key: 'image',
|
|
739
|
+
},
|
|
740
|
+
},
|
|
741
|
+
// 动态生成文本组件
|
|
742
|
+
// ...Array.from({ length: textLines }).map((_, index) => ({
|
|
743
|
+
// componentName: 'NextText',
|
|
744
|
+
// props: {
|
|
745
|
+
// type: index === 0 ? 'h5' : 'inherit',
|
|
746
|
+
// children:
|
|
747
|
+
// index === 0
|
|
748
|
+
// ? '标题标题'
|
|
749
|
+
// : '基于1 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
|
|
750
|
+
// key: `text-${index + 1}`,
|
|
751
|
+
// },
|
|
752
|
+
// })),
|
|
753
|
+
{
|
|
754
|
+
componentName: 'NextText',
|
|
755
|
+
props: {
|
|
756
|
+
type: 'h5',
|
|
757
|
+
children: '标题标题',
|
|
758
|
+
key: `text-1`,
|
|
759
|
+
},
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
componentName: 'NextText',
|
|
763
|
+
props: {
|
|
764
|
+
type: 'inherit',
|
|
765
|
+
children:
|
|
766
|
+
'基于1 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
|
|
767
|
+
key: `text-2`,
|
|
768
|
+
},
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
componentName: 'NextText',
|
|
772
|
+
props: {
|
|
773
|
+
type: 'inherit',
|
|
774
|
+
children:
|
|
775
|
+
'基于1 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
|
|
776
|
+
key: `text-3`,
|
|
777
|
+
},
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
componentName: 'NextText',
|
|
781
|
+
props: {
|
|
782
|
+
type: 'inherit',
|
|
783
|
+
children:
|
|
784
|
+
'基于1 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
|
|
785
|
+
key: `text-4`,
|
|
786
|
+
},
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
componentName: 'Select',
|
|
790
|
+
props: {
|
|
791
|
+
popType: 'dialog',
|
|
792
|
+
selectType: 'number',
|
|
793
|
+
value: 1,
|
|
794
|
+
prefix: '数量: ',
|
|
795
|
+
dialogTitle: '选择数量',
|
|
796
|
+
btnText: '确定',
|
|
797
|
+
key: 'select-box-1',
|
|
798
|
+
},
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
componentName: 'Select',
|
|
802
|
+
props: {
|
|
803
|
+
popType: 'dialog',
|
|
804
|
+
selectType: 'string',
|
|
805
|
+
dataList: [
|
|
806
|
+
{
|
|
807
|
+
label: 'M',
|
|
808
|
+
value: 'M',
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
label: 'X',
|
|
812
|
+
value: 'X',
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
label: 'XL',
|
|
816
|
+
value: 'XL',
|
|
817
|
+
},
|
|
818
|
+
],
|
|
819
|
+
value: 'X',
|
|
820
|
+
prefix: '尺码: ',
|
|
821
|
+
dialogTitle: '选择尺码',
|
|
822
|
+
btnText: '确定',
|
|
823
|
+
key: 'select-box-2',
|
|
824
|
+
},
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
componentName: 'Switch',
|
|
828
|
+
props: {
|
|
829
|
+
size: 'small',
|
|
830
|
+
disabled: false,
|
|
831
|
+
key: 'switch-1',
|
|
832
|
+
},
|
|
833
|
+
},
|
|
834
|
+
],
|
|
835
|
+
},
|
|
836
|
+
},
|
|
837
|
+
]
|
|
838
|
+
|
|
839
|
+
export default {
|
|
840
|
+
...TeletextListMeta,
|
|
841
|
+
snippets: getSnippets(
|
|
842
|
+
(TeletextListMeta.configure as IPublicTypeConfigure).props
|
|
843
|
+
?.find((prop) => prop.name === 'textLines')
|
|
844
|
+
?.setter?.getValue?.() || 2,
|
|
845
|
+
),
|
|
846
|
+
}
|