@dckj-npm/dc-material 0.1.149 → 0.1.150
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.js +8 -8
- package/build/lowcode/assets-daily.json +13 -13
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +13 -13
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.design.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +10 -10
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +37 -37
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +37 -37
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +5 -5
- package/dist/BizComps.js.map +1 -1
- package/es/assets/icon/form/right.png +0 -0
- package/es/assets/icon/grid-nav/right.png +0 -0
- package/es/assets/icon/mine/default.png +0 -0
- package/es/assets/icon/mine/right.png +0 -0
- package/es/assets/icon/position/location.png +0 -0
- package/es/assets/icon/search/delete.png +0 -0
- package/es/assets/icon/teletext-list/arr.png +0 -0
- package/es/components/bottom-navigation/bottom-navigation.d.ts +15 -15
- package/es/components/bottom-navigation/bottom-navigation.js +9 -6
- package/es/components/bottom-navigation/index.d.ts +3 -3
- package/es/components/bottom-navigation/index.scss +28 -24
- package/es/components/button/button.d.ts +14 -14
- 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/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/dc-slider/index.d.ts +3 -0
- package/es/components/dc-slider/index.js +2 -0
- package/es/components/dc-slider/index.scss +6 -0
- package/es/components/dc-slider/slider-img.d.ts +32 -0
- package/es/components/dc-slider/slider-img.js +17 -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 +20 -57
- package/es/components/form/form.js +1559 -9
- package/es/components/form/index.d.ts +6 -6
- package/es/components/form/index.js +4 -4
- 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/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 -0
- package/es/components/member-card/index.js +6 -0
- package/es/components/member-card/index.scss +86 -0
- package/es/components/member-card/member-card.d.ts +5 -0
- package/es/components/member-card/member-card.js +68 -0
- package/es/components/member-card/type.d.ts +11 -0
- package/es/components/member-card/type.js +1 -0
- 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 -60
- package/es/components/message-list/message-list.d.ts +28 -28
- package/es/components/message-list/message-list.js +6 -9
- 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 -27
- package/es/components/position/position-left.d.ts +9 -9
- package/es/components/position/position-list.d.ts +12 -11
- package/es/components/position/position-list.js +111 -6
- package/es/components/position/position.d.ts +8 -8
- package/es/components/position/position.js +1 -2
- 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/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 +14 -14
- package/es/components/search-bar/index.d.ts +3 -3
- package/es/components/search-bar/index.scss +39 -39
- package/es/components/search-bar/search-bar.d.ts +10 -10
- package/es/components/search-bar/search-bar.js +2 -2
- 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 +2 -2
- package/es/components/swiper/index.d.ts +3 -3
- package/es/components/swiper/index.scss +20 -33
- package/es/components/swiper/swiper.d.ts +30 -26
- package/es/components/swiper/swiper.js +18 -16
- package/es/components/tab/index.d.ts +6 -6
- package/es/components/tab/index.js +2 -2
- package/es/components/tab/index.scss +44 -39
- package/es/components/tab/tab.d.ts +27 -27
- package/es/components/tab/tab.js +12 -10
- 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 +40 -40
- package/es/components/teletext-list/teletext-list-item.d.ts +33 -33
- package/es/components/teletext-list/teletext-list-item.js +2 -2
- package/es/components/teletext-list/teletext-list-item.scss +57 -57
- package/es/components/teletext-list/teletext-list.d.ts +61 -61
- package/es/components/teletext-list/teletext-list.js +2 -2
- 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 -0
- package/es/components/user-card/index.js +6 -0
- package/es/components/user-card/index.scss +68 -0
- package/es/components/user-card/type.d.ts +8 -0
- package/es/components/user-card/type.js +1 -0
- package/es/components/user-card/user-card.d.ts +5 -0
- package/es/components/user-card/user-card.js +61 -0
- package/es/entity/dynamic-column-data-type.d.ts +316 -47
- package/es/entity/dynamic-column-data-type.js +9 -1
- package/es/index.d.ts +52 -46
- package/es/index.js +13 -1
- package/es/index.scss +5 -5
- package/es/style.js +2 -0
- package/es/utils/children-node-handle.d.ts +9 -9
- package/es/utils/children-node-handle.js +7 -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/form/right.png +0 -0
- package/lib/assets/icon/grid-nav/right.png +0 -0
- package/lib/assets/icon/mine/default.png +0 -0
- package/lib/assets/icon/mine/right.png +0 -0
- package/lib/assets/icon/position/location.png +0 -0
- package/lib/assets/icon/search/delete.png +0 -0
- package/lib/assets/icon/teletext-list/arr.png +0 -0
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +15 -15
- package/lib/components/bottom-navigation/bottom-navigation.js +10 -7
- package/lib/components/bottom-navigation/index.d.ts +3 -3
- package/lib/components/bottom-navigation/index.scss +28 -24
- package/lib/components/button/button.d.ts +14 -14
- 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.scss +32 -32
- package/lib/components/colorful-button/colorful-button.d.ts +12 -12
- 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/index.d.ts +3 -3
- package/lib/components/colorful-input/index.scss +5 -5
- package/lib/components/dc-slider/index.d.ts +3 -0
- package/lib/components/dc-slider/index.js +7 -0
- package/lib/components/dc-slider/index.scss +6 -0
- package/lib/components/dc-slider/slider-img.d.ts +32 -0
- package/lib/components/dc-slider/slider-img.js +24 -0
- package/lib/components/form/form-item.d.ts +42 -42
- package/lib/components/form/form-item.scss +20 -20
- package/lib/components/form/form.d.ts +20 -57
- package/lib/components/form/form.js +1558 -9
- package/lib/components/form/index.d.ts +6 -6
- package/lib/components/form/index.js +1 -1
- 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.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/index.d.ts +3 -3
- package/lib/components/grid-nav/index.scss +50 -50
- 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/member-card/index.d.ts +6 -0
- package/lib/components/member-card/index.js +6 -0
- package/lib/components/member-card/index.scss +86 -0
- package/lib/components/member-card/member-card.d.ts +5 -0
- package/lib/components/member-card/member-card.js +75 -0
- package/lib/components/member-card/type.d.ts +11 -0
- package/lib/components/member-card/type.js +3 -0
- 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 -60
- package/lib/components/message-list/message-list.d.ts +28 -28
- package/lib/components/message-list/message-list.js +6 -9
- 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 -27
- package/lib/components/position/position-left.d.ts +9 -9
- package/lib/components/position/position-list.d.ts +12 -11
- package/lib/components/position/position-list.js +113 -7
- package/lib/components/position/position.d.ts +8 -8
- package/lib/components/position/position.js +1 -2
- 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/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 +14 -14
- package/lib/components/search-bar/index.d.ts +3 -3
- package/lib/components/search-bar/index.scss +39 -39
- package/lib/components/search-bar/search-bar.d.ts +10 -10
- package/lib/components/search-bar/search-bar.js +2 -2
- 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 +2 -2
- package/lib/components/swiper/index.d.ts +3 -3
- package/lib/components/swiper/index.scss +20 -33
- package/lib/components/swiper/swiper.d.ts +30 -26
- package/lib/components/swiper/swiper.js +18 -16
- package/lib/components/tab/index.d.ts +6 -6
- package/lib/components/tab/index.js +2 -2
- package/lib/components/tab/index.scss +44 -39
- package/lib/components/tab/tab.d.ts +27 -27
- package/lib/components/tab/tab.js +12 -10
- 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/teletext-list/index.d.ts +6 -6
- package/lib/components/teletext-list/index.scss +40 -40
- package/lib/components/teletext-list/teletext-list-item.d.ts +33 -33
- package/lib/components/teletext-list/teletext-list-item.js +2 -2
- package/lib/components/teletext-list/teletext-list-item.scss +57 -57
- package/lib/components/teletext-list/teletext-list.d.ts +61 -61
- package/lib/components/teletext-list/teletext-list.js +2 -2
- 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 -0
- package/lib/components/user-card/index.js +6 -0
- package/lib/components/user-card/index.scss +68 -0
- package/lib/components/user-card/type.d.ts +8 -0
- package/lib/components/user-card/type.js +3 -0
- package/lib/components/user-card/user-card.d.ts +5 -0
- package/lib/components/user-card/user-card.js +66 -0
- package/lib/entity/dynamic-column-data-type.d.ts +316 -47
- package/lib/entity/dynamic-column-data-type.js +9 -1
- package/lib/index.d.ts +52 -46
- package/lib/index.js +14 -2
- package/lib/index.scss +5 -5
- package/lib/style.js +2 -0
- package/lib/utils/children-node-handle.d.ts +9 -9
- package/lib/utils/children-node-handle.js +7 -7
- package/lib/utils/component-wrapper.d.ts +9 -9
- 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/button2/meta.ts +76 -76
- package/lowcode/custom-radio-group/meta.ts +312 -312
- package/lowcode/custom-radio-group-item/meta.ts +230 -230
- package/lowcode/d-c-slider/meta.design.ts +174 -174
- package/lowcode/d-c-slider/meta.ts +186 -343
- package/lowcode/d-c-slider/snippets.ts +69 -68
- package/lowcode/goods-card-list/meta.ts +270 -270
- package/lowcode/goods-card-list-common/meta.ts +270 -270
- package/lowcode/grid-nav/meta.ts +236 -236
- package/lowcode/integral-task/meta.ts +212 -212
- package/lowcode/member-card/meta.ts +187 -0
- package/lowcode/menu-list/meta.ts +154 -154
- package/lowcode/message-list/meta.ts +225 -209
- package/lowcode/navigation/meta.ts +177 -177
- package/lowcode/notice-bar/meta.ts +251 -251
- package/lowcode/position/meta.ts +162 -162
- package/lowcode/rich-text/meta.ts +72 -72
- package/lowcode/search-bar/meta.ts +61 -57
- package/lowcode/stream-list/meta.ts +209 -209
- package/lowcode/swiper/meta.ts +237 -236
- package/lowcode/tab-container/meta.ts +71 -71
- package/lowcode/tab-container/props.ts +194 -194
- package/lowcode/tab-container-item/meta.ts +195 -195
- package/lowcode/tab-message/meta.ts +105 -105
- package/lowcode/tag-c/meta.ts +76 -76
- package/lowcode/teletext-list/meta.ts +353 -353
- package/lowcode/title1/meta.ts +60 -60
- package/lowcode/title2/meta.ts +94 -94
- package/lowcode/user-card/meta.ts +130 -0
- package/lowcode_es/button2/meta.d.ts +22 -22
- package/lowcode_es/custom-radio-group/meta.d.ts +22 -22
- package/lowcode_es/custom-radio-group-item/meta.d.ts +23 -23
- package/lowcode_es/d-c-slider/meta.d.ts +151 -150
- package/lowcode_es/d-c-slider/meta.design.d.ts +102 -101
- package/lowcode_es/d-c-slider/meta.js +12 -152
- package/lowcode_es/d-c-slider/snippets.d.ts +37 -36
- package/lowcode_es/d-c-slider/snippets.js +2 -1
- package/lowcode_es/form/meta.d.ts +22 -22
- package/lowcode_es/goods-card-list/meta.d.ts +22 -22
- package/lowcode_es/goods-card-list-common/meta.d.ts +22 -22
- package/lowcode_es/grid-nav/meta.d.ts +22 -22
- package/lowcode_es/integral-task/meta.d.ts +22 -22
- package/lowcode_es/member-card/meta.d.ts +22 -0
- package/lowcode_es/member-card/meta.js +168 -0
- package/lowcode_es/menu-list/meta.d.ts +22 -22
- package/lowcode_es/message-list/meta.d.ts +22 -22
- package/lowcode_es/message-list/meta.js +15 -0
- package/lowcode_es/meta.js +29 -27
- package/lowcode_es/navigation/meta.d.ts +22 -22
- package/lowcode_es/notice-bar/meta.d.ts +22 -22
- package/lowcode_es/position/meta.d.ts +22 -22
- package/lowcode_es/rich-text/meta.d.ts +22 -22
- package/lowcode_es/search-bar/meta.d.ts +22 -22
- package/lowcode_es/search-bar/meta.js +3 -0
- package/lowcode_es/stream-list/meta.d.ts +22 -22
- package/lowcode_es/swiper/meta.d.ts +22 -22
- package/lowcode_es/swiper/meta.js +2 -1
- package/lowcode_es/tab-container/meta.d.ts +22 -22
- package/lowcode_es/tab-container/props.d.ts +90 -90
- package/lowcode_es/tab-container-item/meta.d.ts +22 -22
- package/lowcode_es/tab-message/meta.d.ts +22 -22
- package/lowcode_es/tag-c/meta.d.ts +22 -22
- package/lowcode_es/teletext-list/meta.d.ts +22 -22
- package/lowcode_es/title1/meta.d.ts +22 -22
- package/lowcode_es/title2/meta.d.ts +22 -22
- package/lowcode_es/user-card/meta.d.ts +22 -0
- package/lowcode_es/user-card/meta.js +117 -0
- package/lowcode_es/view.js +3 -3
- package/lowcode_lib/button2/meta.d.ts +22 -22
- package/lowcode_lib/custom-radio-group/meta.d.ts +22 -22
- package/lowcode_lib/custom-radio-group-item/meta.d.ts +23 -23
- package/lowcode_lib/d-c-slider/meta.d.ts +151 -150
- package/lowcode_lib/d-c-slider/meta.design.d.ts +102 -101
- package/lowcode_lib/d-c-slider/meta.js +12 -152
- package/lowcode_lib/d-c-slider/snippets.d.ts +37 -36
- package/lowcode_lib/d-c-slider/snippets.js +2 -1
- package/lowcode_lib/form/meta.d.ts +22 -22
- package/lowcode_lib/goods-card-list/meta.d.ts +22 -22
- package/lowcode_lib/goods-card-list-common/meta.d.ts +22 -22
- package/lowcode_lib/grid-nav/meta.d.ts +22 -22
- package/lowcode_lib/integral-task/meta.d.ts +22 -22
- package/lowcode_lib/member-card/meta.d.ts +22 -0
- package/lowcode_lib/member-card/meta.js +173 -0
- package/lowcode_lib/menu-list/meta.d.ts +22 -22
- package/lowcode_lib/message-list/meta.d.ts +22 -22
- package/lowcode_lib/message-list/meta.js +15 -0
- package/lowcode_lib/meta.js +29 -27
- package/lowcode_lib/navigation/meta.d.ts +22 -22
- package/lowcode_lib/notice-bar/meta.d.ts +22 -22
- package/lowcode_lib/position/meta.d.ts +22 -22
- package/lowcode_lib/rich-text/meta.d.ts +22 -22
- package/lowcode_lib/search-bar/meta.d.ts +22 -22
- package/lowcode_lib/search-bar/meta.js +3 -0
- package/lowcode_lib/stream-list/meta.d.ts +22 -22
- package/lowcode_lib/swiper/meta.d.ts +22 -22
- package/lowcode_lib/swiper/meta.js +2 -1
- package/lowcode_lib/tab-container/meta.d.ts +22 -22
- package/lowcode_lib/tab-container/props.d.ts +90 -90
- package/lowcode_lib/tab-container-item/meta.d.ts +22 -22
- package/lowcode_lib/tab-message/meta.d.ts +22 -22
- package/lowcode_lib/tag-c/meta.d.ts +22 -22
- package/lowcode_lib/teletext-list/meta.d.ts +22 -22
- package/lowcode_lib/title1/meta.d.ts +22 -22
- package/lowcode_lib/title2/meta.d.ts +22 -22
- package/lowcode_lib/user-card/meta.d.ts +22 -0
- package/lowcode_lib/user-card/meta.js +122 -0
- package/lowcode_lib/view.js +2 -2
- package/package.json +5 -4
- package/es/components/form/next-wrapper.d.ts +0 -54
- package/es/components/form/next-wrapper.js +0 -43
- package/lib/components/form/next-wrapper.d.ts +0 -54
- package/lib/components/form/next-wrapper.js +0 -49
|
@@ -1,26 +1,30 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
export interface ComponentProps {
|
|
4
|
-
/**
|
|
5
|
-
* 切换速度,单位ms
|
|
6
|
-
*/
|
|
7
|
-
speed?: number;
|
|
8
|
-
/**
|
|
9
|
-
* 高度
|
|
10
|
-
*/
|
|
11
|
-
height: number;
|
|
12
|
-
/**
|
|
13
|
-
* 自动播放
|
|
14
|
-
*/
|
|
15
|
-
autoplay: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* 循环播放
|
|
18
|
-
*/
|
|
19
|
-
loop: boolean;
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import './index.scss';
|
|
3
|
+
export interface ComponentProps {
|
|
4
|
+
/**
|
|
5
|
+
* 切换速度,单位ms
|
|
6
|
+
*/
|
|
7
|
+
speed?: number;
|
|
8
|
+
/**
|
|
9
|
+
* 高度
|
|
10
|
+
*/
|
|
11
|
+
height: number;
|
|
12
|
+
/**
|
|
13
|
+
* 自动播放
|
|
14
|
+
*/
|
|
15
|
+
autoplay: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* 循环播放
|
|
18
|
+
*/
|
|
19
|
+
loop: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* 切换间隔时间,单位ms
|
|
22
|
+
*/
|
|
23
|
+
delay?: number;
|
|
24
|
+
/**
|
|
25
|
+
* 图片路径
|
|
26
|
+
*/
|
|
27
|
+
picUrls: string[];
|
|
28
|
+
}
|
|
29
|
+
declare const DCSlider: React.FC<ComponentProps>;
|
|
30
|
+
export default DCSlider;
|
|
@@ -8,7 +8,7 @@ var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runt
|
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
9
|
var React = _react;
|
|
10
10
|
require("./index.scss");
|
|
11
|
-
var _excluded = ["speed", "autoplay", "loop", "picUrls", "height"];
|
|
11
|
+
var _excluded = ["speed", "autoplay", "loop", "picUrls", "height", "delay"];
|
|
12
12
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
13
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
14
14
|
var DCSlider = function DCSlider(_ref) {
|
|
@@ -19,23 +19,34 @@ var DCSlider = function DCSlider(_ref) {
|
|
|
19
19
|
_ref$picUrls = _ref.picUrls,
|
|
20
20
|
picUrls = _ref$picUrls === void 0 ? [] : _ref$picUrls,
|
|
21
21
|
height = _ref.height,
|
|
22
|
+
delay = _ref.delay,
|
|
22
23
|
otherProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
|
|
23
24
|
var _useState = (0, _react.useState)(0),
|
|
24
25
|
currentIndex = _useState[0],
|
|
25
26
|
setCurrentIndex = _useState[1];
|
|
26
27
|
var autoplayRef = (0, _react.useRef)(null);
|
|
28
|
+
|
|
29
|
+
// 切换到下一张
|
|
27
30
|
var nextSlide = function nextSlide() {
|
|
28
31
|
if (currentIndex < picUrls.length - 1) {
|
|
29
32
|
setCurrentIndex(currentIndex + 1);
|
|
30
33
|
} else if (loop) {
|
|
31
34
|
setCurrentIndex(0);
|
|
35
|
+
} else {
|
|
36
|
+
stopAutoplay();
|
|
32
37
|
}
|
|
33
38
|
};
|
|
39
|
+
|
|
40
|
+
// 启动自动播放
|
|
34
41
|
var startAutoplay = function startAutoplay() {
|
|
35
42
|
if (autoplay && !autoplayRef.current) {
|
|
36
|
-
autoplayRef.current = setInterval(
|
|
43
|
+
autoplayRef.current = setInterval(function () {
|
|
44
|
+
nextSlide();
|
|
45
|
+
}, delay);
|
|
37
46
|
}
|
|
38
47
|
};
|
|
48
|
+
|
|
49
|
+
// 停止自动播放
|
|
39
50
|
var stopAutoplay = function stopAutoplay() {
|
|
40
51
|
if (autoplayRef.current) {
|
|
41
52
|
clearInterval(autoplayRef.current);
|
|
@@ -43,19 +54,15 @@ var DCSlider = function DCSlider(_ref) {
|
|
|
43
54
|
}
|
|
44
55
|
};
|
|
45
56
|
(0, _react.useEffect)(function () {
|
|
46
|
-
|
|
47
|
-
startAutoplay();
|
|
48
|
-
}
|
|
57
|
+
startAutoplay();
|
|
49
58
|
return function () {
|
|
50
|
-
stopAutoplay();
|
|
59
|
+
return stopAutoplay();
|
|
51
60
|
};
|
|
52
|
-
}, [autoplay,
|
|
61
|
+
}, [autoplay, currentIndex]);
|
|
53
62
|
return /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({
|
|
54
63
|
className: "carousel",
|
|
55
|
-
onMouseEnter: stopAutoplay,
|
|
56
|
-
onMouseLeave: startAutoplay,
|
|
57
64
|
style: {
|
|
58
|
-
height: height ? height + "px" : '
|
|
65
|
+
height: height ? height + "px" : 'auto'
|
|
59
66
|
}
|
|
60
67
|
}, otherProps), /*#__PURE__*/React.createElement("div", {
|
|
61
68
|
className: "carousel__wrapper",
|
|
@@ -66,16 +73,11 @@ var DCSlider = function DCSlider(_ref) {
|
|
|
66
73
|
}, picUrls.map(function (url, index) {
|
|
67
74
|
return /*#__PURE__*/React.createElement("div", {
|
|
68
75
|
key: index,
|
|
69
|
-
className: "carousel__slide"
|
|
70
|
-
style: {
|
|
71
|
-
width: '100%',
|
|
72
|
-
height: height ? height + "px" : '100%'
|
|
73
|
-
}
|
|
76
|
+
className: "carousel__slide"
|
|
74
77
|
}, /*#__PURE__*/React.createElement("img", {
|
|
75
78
|
src: url,
|
|
76
79
|
alt: "Slide " + index,
|
|
77
80
|
style: {
|
|
78
|
-
width: '100%',
|
|
79
81
|
height: height ? height + "px" : '100%'
|
|
80
82
|
}
|
|
81
83
|
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 标签tag
|
|
3
|
-
*/
|
|
4
|
-
import Tab from './tab';
|
|
5
|
-
export type { TabProps } from './tab';
|
|
6
|
-
export default Tab;
|
|
1
|
+
/**
|
|
2
|
+
* 标签tag
|
|
3
|
+
*/
|
|
4
|
+
import Tab from './tab';
|
|
5
|
+
export type { TabProps } from './tab';
|
|
6
|
+
export default Tab;
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _tab = _interopRequireDefault(require("./tab"));
|
|
7
|
-
/**
|
|
8
|
-
* 标签tag
|
|
7
|
+
/**
|
|
8
|
+
* 标签tag
|
|
9
9
|
*/
|
|
10
10
|
var _default = exports["default"] = _tab["default"];
|
|
@@ -1,39 +1,44 @@
|
|
|
1
|
-
.
|
|
2
|
-
display:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
padding:
|
|
27
|
-
border-radius:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
.tab-message {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: center;
|
|
4
|
+
width: 100%;
|
|
5
|
+
}
|
|
6
|
+
.tabs__container {
|
|
7
|
+
display: inline-block;
|
|
8
|
+
padding: 5px 17px;
|
|
9
|
+
border-radius: 19px;
|
|
10
|
+
background-color: #FFFFFF;
|
|
11
|
+
color: #666666;
|
|
12
|
+
font-size: 15px;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
margin-right: 6px;
|
|
15
|
+
letter-spacing: 2px;
|
|
16
|
+
position: relative;
|
|
17
|
+
&--selected {
|
|
18
|
+
background-color: #ED794A;
|
|
19
|
+
color: #FFFFFF;
|
|
20
|
+
}
|
|
21
|
+
&--small {
|
|
22
|
+
padding: 5px 16px;
|
|
23
|
+
border-radius: 19px;
|
|
24
|
+
}
|
|
25
|
+
&--large {
|
|
26
|
+
padding: 14px 30px;
|
|
27
|
+
border-radius: 28px;
|
|
28
|
+
}
|
|
29
|
+
.badge {
|
|
30
|
+
display: flex;
|
|
31
|
+
padding: 2px 4px;
|
|
32
|
+
border-radius: 8px;
|
|
33
|
+
background-color: #F44341; // 红色背景
|
|
34
|
+
color: white; // 字体颜色
|
|
35
|
+
// text-align: center;
|
|
36
|
+
letter-spacing: 0;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
line-height: normal; // 垂直居中
|
|
39
|
+
font-size: 10px; // 根据需要调整字体大小
|
|
40
|
+
position: absolute; // 绝对定位
|
|
41
|
+
top: 0; // 根据需要调整位置
|
|
42
|
+
right: 3px; // 根据需要调整位置
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
export interface TabProps {
|
|
4
|
-
/**
|
|
5
|
-
* 选中背景颜色
|
|
6
|
-
*/
|
|
7
|
-
selectedBGColor: string;
|
|
8
|
-
/**
|
|
9
|
-
* 选中字体颜色
|
|
10
|
-
*/
|
|
11
|
-
selectedFontColor: string;
|
|
12
|
-
/**
|
|
13
|
-
* 尺寸 small | large
|
|
14
|
-
*/
|
|
15
|
-
size: string;
|
|
16
|
-
/**
|
|
17
|
-
* 点击事件
|
|
18
|
-
* @param e
|
|
19
|
-
*/
|
|
20
|
-
onClickHandle?: (e:
|
|
21
|
-
/**
|
|
22
|
-
* 未读消息数量
|
|
23
|
-
*/
|
|
24
|
-
unreadCount?: number;
|
|
25
|
-
}
|
|
26
|
-
declare const Tab: React.FC<TabProps>;
|
|
27
|
-
export default Tab;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import './index.scss';
|
|
3
|
+
export interface TabProps {
|
|
4
|
+
/**
|
|
5
|
+
* 选中背景颜色
|
|
6
|
+
*/
|
|
7
|
+
selectedBGColor: string;
|
|
8
|
+
/**
|
|
9
|
+
* 选中字体颜色
|
|
10
|
+
*/
|
|
11
|
+
selectedFontColor: string;
|
|
12
|
+
/**
|
|
13
|
+
* 尺寸 small | large
|
|
14
|
+
*/
|
|
15
|
+
size: string;
|
|
16
|
+
/**
|
|
17
|
+
* 点击事件
|
|
18
|
+
* @param e
|
|
19
|
+
*/
|
|
20
|
+
onClickHandle?: (e: number[]) => void;
|
|
21
|
+
/**
|
|
22
|
+
* 未读消息数量
|
|
23
|
+
*/
|
|
24
|
+
unreadCount?: number;
|
|
25
|
+
}
|
|
26
|
+
declare const Tab: React.FC<TabProps>;
|
|
27
|
+
export default Tab;
|
|
@@ -18,16 +18,16 @@ var Tab = function Tab(_ref) {
|
|
|
18
18
|
unreadCount = _ref.unreadCount,
|
|
19
19
|
otherProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
|
|
20
20
|
var tabList = [{
|
|
21
|
-
key:
|
|
21
|
+
key: [0, 1],
|
|
22
22
|
label: '全部'
|
|
23
23
|
}, {
|
|
24
|
-
key:
|
|
24
|
+
key: [1],
|
|
25
25
|
label: '已读'
|
|
26
26
|
}, {
|
|
27
|
-
key:
|
|
27
|
+
key: [0],
|
|
28
28
|
label: '未读'
|
|
29
29
|
}];
|
|
30
|
-
var _React$useState = React.useState(
|
|
30
|
+
var _React$useState = React.useState([0, 1]),
|
|
31
31
|
tab = _React$useState[0],
|
|
32
32
|
setTab = _React$useState[1];
|
|
33
33
|
var handleClick = function handleClick(key) {
|
|
@@ -37,21 +37,23 @@ var Tab = function Tab(_ref) {
|
|
|
37
37
|
// 触发父组件传递的点击处理函数
|
|
38
38
|
onClickHandle && onClickHandle(key);
|
|
39
39
|
};
|
|
40
|
-
return
|
|
40
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
41
|
+
className: "tab-message"
|
|
42
|
+
}, tabList.map(function (item) {
|
|
41
43
|
return /*#__PURE__*/React.createElement("span", (0, _extends2["default"])({
|
|
42
|
-
className: "tabs__container\n " + (tab === item.key ? 'tabs__container--selected' : '') + "\n " + (size == 'large' ? 'tabs__container--large' : 'tabs__container--small')
|
|
44
|
+
className: "tabs__container\n " + (tab.toString() === item.key.toString() ? 'tabs__container--selected' : '') + "\n " + (size == 'large' ? 'tabs__container--large' : 'tabs__container--small')
|
|
43
45
|
}, otherProps, {
|
|
44
46
|
onClick: function onClick() {
|
|
45
47
|
return handleClick(item.key);
|
|
46
48
|
},
|
|
47
49
|
style: {
|
|
48
|
-
backgroundColor: tab === item.key ? selectedBGColor : '',
|
|
49
|
-
color: tab === item.key ? selectedFontColor : ''
|
|
50
|
+
backgroundColor: tab.toString() === item.key.toString() ? selectedBGColor : '',
|
|
51
|
+
color: tab.toString() === item.key.toString() ? selectedFontColor : ''
|
|
50
52
|
}
|
|
51
|
-
}), item.label, item.key === '
|
|
53
|
+
}), item.label, item.key.toString() === '0' && unreadCount > 0 && /*#__PURE__*/React.createElement("span", {
|
|
52
54
|
className: "badge"
|
|
53
55
|
}, unreadCount) // 条件渲染badge
|
|
54
56
|
);
|
|
55
|
-
});
|
|
57
|
+
}));
|
|
56
58
|
};
|
|
57
59
|
var _default = exports["default"] = Tab;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TabContainer } from '../tab-container/tab-container';
|
|
2
|
-
export type { TabContainerProps } from '../tab-container/tab-container';
|
|
3
|
-
export default TabContainer;
|
|
1
|
+
import { TabContainer } from '../tab-container/tab-container';
|
|
2
|
+
export type { TabContainerProps } from '../tab-container/tab-container';
|
|
3
|
+
export default TabContainer;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
.fusion-ui-tab {
|
|
2
|
-
display: block;
|
|
3
|
-
background-color: #fff;
|
|
4
|
-
|
|
5
|
-
&.next-medium {
|
|
6
|
-
.next-tabs-content {
|
|
7
|
-
padding: 0;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
.next-tabs-bar {
|
|
12
|
-
border-bottom: none;
|
|
13
|
-
margin-bottom: 15px;
|
|
14
|
-
.next-tabs-nav-container {
|
|
15
|
-
.next-tabs-nav {
|
|
16
|
-
.next-tabs-tab {
|
|
17
|
-
font-size: 16px;
|
|
18
|
-
color: #666666;
|
|
19
|
-
margin-right: 13px;
|
|
20
|
-
&.active {
|
|
21
|
-
color: #333;
|
|
22
|
-
font-size: 17px;
|
|
23
|
-
}
|
|
24
|
-
&.active::before {
|
|
25
|
-
bottom: 2px;
|
|
26
|
-
border-bottom: 5px solid #E96D40;
|
|
27
|
-
z-index: 0;
|
|
28
|
-
border-radius: 2.5px;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.next-small {
|
|
36
|
-
.next-tabs-content {
|
|
37
|
-
padding: 12px;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.navigation {
|
|
42
|
-
z-index: 10;
|
|
43
|
-
position: relative;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
:global(.fd-layout-p-margin) {
|
|
47
|
-
margin-top: 0 !important;
|
|
1
|
+
.fusion-ui-tab {
|
|
2
|
+
display: block;
|
|
3
|
+
background-color: #fff;
|
|
4
|
+
|
|
5
|
+
&.next-medium {
|
|
6
|
+
.next-tabs-content {
|
|
7
|
+
padding: 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
}
|
|
11
|
+
.next-tabs-bar {
|
|
12
|
+
border-bottom: none;
|
|
13
|
+
margin-bottom: 15px;
|
|
14
|
+
.next-tabs-nav-container {
|
|
15
|
+
.next-tabs-nav {
|
|
16
|
+
.next-tabs-tab {
|
|
17
|
+
font-size: 16px;
|
|
18
|
+
color: #666666;
|
|
19
|
+
margin-right: 13px;
|
|
20
|
+
&.active {
|
|
21
|
+
color: #333;
|
|
22
|
+
font-size: 17px;
|
|
23
|
+
}
|
|
24
|
+
&.active::before {
|
|
25
|
+
bottom: 2px;
|
|
26
|
+
border-bottom: 5px solid #E96D40;
|
|
27
|
+
z-index: 0;
|
|
28
|
+
border-radius: 2.5px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.next-small {
|
|
36
|
+
.next-tabs-content {
|
|
37
|
+
padding: 12px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.navigation {
|
|
42
|
+
z-index: 10;
|
|
43
|
+
position: relative;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:global(.fd-layout-p-margin) {
|
|
47
|
+
margin-top: 0 !important;
|
|
48
48
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Tab } from '@alifd/next';
|
|
3
|
-
import './index.scss';
|
|
4
|
-
export interface TabContainerProps extends React.ComponentProps<typeof Tab> {
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const TabContainer: {
|
|
8
|
-
(props: TabContainerProps): JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Tab } from '@alifd/next';
|
|
3
|
+
import './index.scss';
|
|
4
|
+
export interface TabContainerProps extends React.ComponentProps<typeof Tab> {
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const TabContainer: {
|
|
8
|
+
(props: TabContainerProps): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TabContainerItem } from './tab-container-item';
|
|
2
|
-
export type { TabContainerItemProps } from './tab-container-item';
|
|
3
|
-
export default TabContainerItem;
|
|
1
|
+
import { TabContainerItem } from './tab-container-item';
|
|
2
|
+
export type { TabContainerItemProps } from './tab-container-item';
|
|
3
|
+
export default TabContainerItem;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Tab } from '@alifd/next';
|
|
3
|
-
export interface TabContainerItemProps extends React.ComponentProps<typeof Tab> {
|
|
4
|
-
className?: string;
|
|
5
|
-
tab: string;
|
|
6
|
-
key: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const TabContainerItem: {
|
|
9
|
-
(props: TabContainerItemProps): JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Tab } from '@alifd/next';
|
|
3
|
+
export interface TabContainerItemProps extends React.ComponentProps<typeof Tab> {
|
|
4
|
+
className?: string;
|
|
5
|
+
tab: string;
|
|
6
|
+
key: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const TabContainerItem: {
|
|
9
|
+
(props: TabContainerItemProps): JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 标签tag
|
|
3
|
-
*/
|
|
4
|
-
import Tag from './tag';
|
|
5
|
-
export type { TagProps } from './tag';
|
|
6
|
-
export default Tag;
|
|
1
|
+
/**
|
|
2
|
+
* 标签tag
|
|
3
|
+
*/
|
|
4
|
+
import Tag from './tag';
|
|
5
|
+
export type { TagProps } from './tag';
|
|
6
|
+
export default Tag;
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _tag = _interopRequireDefault(require("./tag"));
|
|
7
|
-
/**
|
|
8
|
-
* 标签tag
|
|
7
|
+
/**
|
|
8
|
+
* 标签tag
|
|
9
9
|
*/
|
|
10
10
|
var _default = exports["default"] = _tag["default"];
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
.tags__container {
|
|
2
|
-
padding: 2px 6px;
|
|
3
|
-
border-radius: 3px;
|
|
4
|
-
color: white;
|
|
5
|
-
font-size: 11px;
|
|
6
|
-
}
|
|
7
|
-
.orange {
|
|
8
|
-
color: #F1770E;
|
|
9
|
-
background: rgba(241, 119, 14, 0.1);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.blue {
|
|
13
|
-
color: #2972DD;
|
|
14
|
-
background-color: rgba(41, 114, 221, 0.1);
|
|
15
|
-
}
|
|
16
|
-
.green {
|
|
17
|
-
color: #52AD7C;
|
|
18
|
-
background: rgba(195, 254, 222, 0.4);
|
|
19
|
-
}
|
|
20
|
-
.green-n {
|
|
21
|
-
color: #52AD7C;
|
|
22
|
-
background: #FFFFFF;
|
|
23
|
-
box-shadow: 3.5px 5.5px 11px 0px rgba(203,203,203,0.34);
|
|
24
|
-
}
|
|
1
|
+
.tags__container {
|
|
2
|
+
padding: 2px 6px;
|
|
3
|
+
border-radius: 3px;
|
|
4
|
+
color: white;
|
|
5
|
+
font-size: 11px;
|
|
6
|
+
}
|
|
7
|
+
.orange {
|
|
8
|
+
color: #F1770E;
|
|
9
|
+
background: rgba(241, 119, 14, 0.1);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.blue {
|
|
13
|
+
color: #2972DD;
|
|
14
|
+
background-color: rgba(41, 114, 221, 0.1);
|
|
15
|
+
}
|
|
16
|
+
.green {
|
|
17
|
+
color: #52AD7C;
|
|
18
|
+
background: rgba(195, 254, 222, 0.4);
|
|
19
|
+
}
|
|
20
|
+
.green-n {
|
|
21
|
+
color: #52AD7C;
|
|
22
|
+
background: #FFFFFF;
|
|
23
|
+
box-shadow: 3.5px 5.5px 11px 0px rgba(203,203,203,0.34);
|
|
24
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
export interface TagProps {
|
|
4
|
-
/**
|
|
5
|
-
* 标签名称
|
|
6
|
-
*/
|
|
7
|
-
name: string;
|
|
8
|
-
/**
|
|
9
|
-
* 标签颜色
|
|
10
|
-
*/
|
|
11
|
-
color: string;
|
|
12
|
-
}
|
|
13
|
-
declare const Tag: React.FC<TagProps>;
|
|
14
|
-
export default Tag;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import './index.scss';
|
|
3
|
+
export interface TagProps {
|
|
4
|
+
/**
|
|
5
|
+
* 标签名称
|
|
6
|
+
*/
|
|
7
|
+
name: string;
|
|
8
|
+
/**
|
|
9
|
+
* 标签颜色
|
|
10
|
+
*/
|
|
11
|
+
color: string;
|
|
12
|
+
}
|
|
13
|
+
declare const Tag: React.FC<TagProps>;
|
|
14
|
+
export default Tag;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 图文列表
|
|
3
|
-
*/
|
|
4
|
-
import TeletextList from './teletext-list';
|
|
5
|
-
export type { TeletextListProps } from './teletext-list';
|
|
6
|
-
export { TeletextList, };
|
|
1
|
+
/**
|
|
2
|
+
* 图文列表
|
|
3
|
+
*/
|
|
4
|
+
import TeletextList from './teletext-list';
|
|
5
|
+
export type { TeletextListProps } from './teletext-list';
|
|
6
|
+
export { TeletextList, };
|