@dckj-npm/dc-material 0.1.127 → 0.1.129
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 +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +5 -5
- package/dist/BizComps.js.map +1 -1
- package/es/components/bottom-navigation/index.scss +24 -24
- package/es/components/button/index.js +2 -2
- package/es/components/button/index.scss +16 -16
- package/es/components/carousel/carousel.scss +32 -32
- package/es/components/colorful-button/index.scss +5 -5
- package/es/components/colorful-input/index.scss +5 -5
- package/es/components/goods-card-list/goods-card-list-common.scss +118 -118
- package/es/components/goods-card-list/goods-card-list.scss +112 -112
- package/es/components/grid-nav/index.scss +41 -41
- package/es/components/integral-task/index.js +2 -2
- package/es/components/integral-task/index.scss +35 -35
- 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.scss +49 -49
- 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.js +2 -2
- package/es/components/message-list/message-list-item.scss +60 -60
- package/es/components/notice-bar/components/ScrollSwitcher.js +45 -0
- package/es/components/notice-bar/components/ScrollSwitcher.scss +17 -0
- package/es/components/notice-bar/index.scss +42 -59
- package/es/components/notice-bar/notice-bar-item.js +2 -5
- package/es/components/notice-bar/notice-bar-item.scss +26 -26
- package/es/components/notice-bar/notice-bar.js +51 -15
- package/es/components/position/index.scss +27 -27
- package/es/components/position/position-list.js +3 -2
- package/es/components/radio-group/index.js +2 -2
- package/es/components/radio-group/index.scss +40 -40
- package/es/components/rich-text/index.js +2 -2
- package/es/components/rich-text/index.scss +19 -19
- package/es/components/search-bar/index.scss +13 -14
- package/es/components/swiper/index.scss +12 -33
- package/es/components/swiper/swiper.js +16 -59
- package/es/components/tab/index.js +2 -2
- package/es/components/tab/index.scss +39 -39
- package/es/components/tab-container/index.scss +47 -47
- package/es/components/tag/index.js +2 -2
- package/es/components/tag/index.scss +24 -24
- package/es/components/teletext-list/index.js +2 -2
- package/es/components/teletext-list/index.scss +19 -19
- package/es/components/teletext-list/teletext-list-item.js +2 -2
- package/es/components/teletext-list/teletext-list-item.scss +55 -57
- package/es/components/teletext-list/teletext-list.js +2 -2
- package/es/components/title/index.js +2 -2
- package/es/components/title/title-1.scss +25 -25
- package/es/components/title/title-2.scss +22 -22
- package/es/index.js +0 -4
- package/es/index.scss +5 -5
- package/es/utils/children-node-handle.js +7 -7
- package/es/utils/time-util.js +3 -3
- package/es/variables.scss +3 -3
- package/lib/components/bottom-navigation/index.scss +24 -24
- package/lib/components/button/index.js +2 -2
- package/lib/components/button/index.scss +16 -16
- package/lib/components/carousel/carousel.scss +32 -32
- package/lib/components/colorful-button/index.scss +5 -5
- package/lib/components/colorful-input/index.scss +5 -5
- package/lib/components/goods-card-list/goods-card-list-common.scss +118 -118
- package/lib/components/goods-card-list/goods-card-list.scss +112 -112
- package/lib/components/grid-nav/index.scss +41 -41
- package/lib/components/integral-task/index.js +2 -2
- package/lib/components/integral-task/index.scss +35 -35
- 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.scss +49 -49
- 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.js +2 -2
- package/lib/components/message-list/message-list-item.scss +60 -60
- package/lib/components/notice-bar/components/ScrollSwitcher.js +52 -0
- package/lib/components/notice-bar/components/ScrollSwitcher.scss +17 -0
- package/lib/components/notice-bar/index.scss +42 -59
- package/lib/components/notice-bar/notice-bar-item.js +2 -5
- package/lib/components/notice-bar/notice-bar-item.scss +26 -26
- package/lib/components/notice-bar/notice-bar.js +53 -15
- package/lib/components/position/index.scss +27 -27
- package/lib/components/position/position-list.js +3 -2
- package/lib/components/radio-group/index.scss +40 -40
- package/lib/components/rich-text/index.scss +19 -19
- package/lib/components/search-bar/index.scss +13 -14
- package/lib/components/swiper/index.scss +12 -33
- package/lib/components/swiper/swiper.js +19 -60
- package/lib/components/tab/index.js +2 -2
- package/lib/components/tab/index.scss +39 -39
- package/lib/components/tab-container/index.scss +47 -47
- package/lib/components/tag/index.js +2 -2
- package/lib/components/tag/index.scss +24 -24
- package/lib/components/teletext-list/index.scss +19 -19
- package/lib/components/teletext-list/teletext-list-item.js +2 -2
- package/lib/components/teletext-list/teletext-list-item.scss +55 -57
- package/lib/components/teletext-list/teletext-list.js +2 -2
- package/lib/components/title/title-1.scss +25 -25
- package/lib/components/title/title-2.scss +22 -22
- package/lib/index.js +1 -5
- package/lib/index.scss +5 -5
- package/lib/utils/children-node-handle.js +7 -7
- package/lib/utils/time-util.js +3 -3
- 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-form/meta.ts +62 -0
- package/lowcode/d-c-slider/meta.design.ts +174 -174
- package/lowcode/d-c-slider/meta.ts +343 -343
- package/lowcode/d-c-slider/snippets.ts +68 -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 +227 -227
- package/lowcode/integral-task/meta.ts +212 -212
- package/lowcode/menu-list/meta.ts +154 -154
- package/lowcode/message-list/meta.ts +209 -209
- package/lowcode/navigation/meta.ts +177 -177
- package/lowcode/notice-bar/meta.ts +230 -230
- package/lowcode/position/meta.ts +162 -162
- package/lowcode/rich-text/meta.ts +72 -72
- package/lowcode/search-bar/meta.ts +57 -57
- package/lowcode/stream-list/meta.ts +209 -156
- package/lowcode/swiper/meta.ts +236 -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 +332 -332
- package/lowcode/title1/meta.ts +60 -60
- package/lowcode/title2/meta.ts +94 -94
- 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-form/meta.d.ts +22 -0
- package/lowcode_es/d-c-form/meta.js +64 -0
- package/lowcode_es/d-c-slider/meta.d.ts +150 -150
- package/lowcode_es/d-c-slider/meta.design.d.ts +101 -101
- package/lowcode_es/d-c-slider/snippets.d.ts +36 -36
- 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/menu-list/meta.d.ts +22 -22
- package/lowcode_es/message-list/meta.d.ts +22 -22
- package/lowcode_es/meta.js +27 -26
- 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/stream-list/meta.d.ts +22 -22
- package/lowcode_es/stream-list/meta.js +54 -3
- package/lowcode_es/swiper/meta.d.ts +22 -22
- 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/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-form/meta.d.ts +22 -0
- package/lowcode_lib/d-c-form/meta.js +69 -0
- package/lowcode_lib/d-c-slider/meta.d.ts +150 -150
- package/lowcode_lib/d-c-slider/meta.design.d.ts +101 -101
- package/lowcode_lib/d-c-slider/snippets.d.ts +36 -36
- 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/menu-list/meta.d.ts +22 -22
- package/lowcode_lib/message-list/meta.d.ts +22 -22
- package/lowcode_lib/meta.js +27 -26
- 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/stream-list/meta.d.ts +22 -22
- package/lowcode_lib/stream-list/meta.js +54 -3
- package/lowcode_lib/swiper/meta.d.ts +22 -22
- 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/view.js +2 -2
- package/package.json +3 -3
- package/es/components/bottom-navigation/bottom-navigation.d.ts +0 -15
- package/es/components/bottom-navigation/index.d.ts +0 -3
- package/es/components/button/button.d.ts +0 -14
- package/es/components/button/index.d.ts +0 -6
- package/es/components/carousel/carousel.d.ts +0 -14
- package/es/components/colorful-button/colorful-button.d.ts +0 -12
- package/es/components/colorful-button/index.d.ts +0 -3
- package/es/components/colorful-input/colorful-input.d.ts +0 -8
- package/es/components/colorful-input/index.d.ts +0 -3
- package/es/components/goods-card-list/goods-card-list-common.d.ts +0 -5
- package/es/components/goods-card-list/goods-card-list.d.ts +0 -5
- package/es/components/goods-card-list/index.d.ts +0 -4
- package/es/components/goods-card-list/types.d.ts +0 -45
- package/es/components/grid-nav/grid-nav.d.ts +0 -13
- package/es/components/grid-nav/index.d.ts +0 -3
- package/es/components/integral-task/index.d.ts +0 -6
- package/es/components/integral-task/integral-task.d.ts +0 -40
- package/es/components/menu-list/index.d.ts +0 -6
- package/es/components/menu-list/menu-list-item.d.ts +0 -5
- package/es/components/menu-list/menu-list.d.ts +0 -5
- package/es/components/menu-list/types.d.ts +0 -23
- package/es/components/message-list/index.d.ts +0 -6
- package/es/components/message-list/message-list-item.d.ts +0 -33
- package/es/components/message-list/message-list.d.ts +0 -28
- package/es/components/notice-bar/index.d.ts +0 -3
- package/es/components/notice-bar/notice-bar-item.d.ts +0 -18
- package/es/components/notice-bar/notice-bar.d.ts +0 -37
- package/es/components/position/entity.d.ts +0 -5
- package/es/components/position/index.d.ts +0 -3
- package/es/components/position/position-left.d.ts +0 -9
- package/es/components/position/position-list.d.ts +0 -11
- package/es/components/position/position.d.ts +0 -8
- package/es/components/radio-group/index.d.ts +0 -8
- package/es/components/radio-group/radio-group-item.d.ts +0 -48
- package/es/components/radio-group/radio-group.d.ts +0 -52
- package/es/components/rich-text/index.d.ts +0 -6
- package/es/components/rich-text/rich-text.d.ts +0 -14
- package/es/components/search-bar/index.d.ts +0 -3
- package/es/components/search-bar/search-bar.d.ts +0 -7
- package/es/components/stream-list/index.d.ts +0 -6
- package/es/components/stream-list/index.js +0 -6
- package/es/components/stream-list/index.scss +0 -26
- package/es/components/stream-list/stream-list.d.ts +0 -46
- package/es/components/stream-list/stream-list.js +0 -167
- package/es/components/swiper/index.d.ts +0 -3
- package/es/components/swiper/swiper.d.ts +0 -26
- package/es/components/tab/index.d.ts +0 -6
- package/es/components/tab/tab.d.ts +0 -27
- package/es/components/tab-container/index.d.ts +0 -3
- package/es/components/tab-container/tab-container.d.ts +0 -10
- package/es/components/tab-container-item/index.d.ts +0 -3
- package/es/components/tab-container-item/tab-container-item.d.ts +0 -11
- package/es/components/tag/index.d.ts +0 -6
- package/es/components/tag/tag.d.ts +0 -14
- package/es/components/teletext-list/index.d.ts +0 -6
- package/es/components/teletext-list/teletext-list-item.d.ts +0 -33
- package/es/components/teletext-list/teletext-list.d.ts +0 -52
- package/es/components/title/index.d.ts +0 -8
- package/es/components/title/title-1.d.ts +0 -10
- package/es/components/title/title-2.d.ts +0 -18
- package/es/index.d.ts +0 -44
- package/es/utils/children-node-handle.d.ts +0 -9
- package/es/utils/component-wrapper.d.ts +0 -9
- package/es/utils/debounce.d.ts +0 -1
- package/es/utils/time-util.d.ts +0 -5
- package/es/variables.d.ts +0 -2
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +0 -15
- package/lib/components/bottom-navigation/index.d.ts +0 -3
- package/lib/components/button/button.d.ts +0 -14
- package/lib/components/button/index.d.ts +0 -6
- package/lib/components/carousel/carousel.d.ts +0 -14
- package/lib/components/colorful-button/colorful-button.d.ts +0 -12
- package/lib/components/colorful-button/index.d.ts +0 -3
- package/lib/components/colorful-input/colorful-input.d.ts +0 -8
- package/lib/components/colorful-input/index.d.ts +0 -3
- package/lib/components/goods-card-list/goods-card-list-common.d.ts +0 -5
- package/lib/components/goods-card-list/goods-card-list.d.ts +0 -5
- package/lib/components/goods-card-list/index.d.ts +0 -4
- package/lib/components/goods-card-list/types.d.ts +0 -45
- package/lib/components/grid-nav/grid-nav.d.ts +0 -13
- package/lib/components/grid-nav/index.d.ts +0 -3
- package/lib/components/integral-task/index.d.ts +0 -6
- package/lib/components/integral-task/integral-task.d.ts +0 -40
- package/lib/components/menu-list/index.d.ts +0 -6
- package/lib/components/menu-list/menu-list-item.d.ts +0 -5
- package/lib/components/menu-list/menu-list.d.ts +0 -5
- package/lib/components/menu-list/types.d.ts +0 -23
- package/lib/components/message-list/index.d.ts +0 -6
- package/lib/components/message-list/message-list-item.d.ts +0 -33
- package/lib/components/message-list/message-list.d.ts +0 -28
- package/lib/components/notice-bar/index.d.ts +0 -3
- package/lib/components/notice-bar/notice-bar-item.d.ts +0 -18
- package/lib/components/notice-bar/notice-bar.d.ts +0 -37
- package/lib/components/position/entity.d.ts +0 -5
- package/lib/components/position/index.d.ts +0 -3
- package/lib/components/position/position-left.d.ts +0 -9
- package/lib/components/position/position-list.d.ts +0 -11
- package/lib/components/position/position.d.ts +0 -8
- package/lib/components/radio-group/index.d.ts +0 -8
- package/lib/components/radio-group/radio-group-item.d.ts +0 -48
- package/lib/components/radio-group/radio-group.d.ts +0 -52
- package/lib/components/rich-text/index.d.ts +0 -6
- package/lib/components/rich-text/rich-text.d.ts +0 -14
- package/lib/components/search-bar/index.d.ts +0 -3
- package/lib/components/search-bar/search-bar.d.ts +0 -7
- package/lib/components/stream-list/index.d.ts +0 -6
- package/lib/components/stream-list/index.js +0 -6
- package/lib/components/stream-list/index.scss +0 -26
- package/lib/components/stream-list/stream-list.d.ts +0 -46
- package/lib/components/stream-list/stream-list.js +0 -174
- package/lib/components/swiper/index.d.ts +0 -3
- package/lib/components/swiper/swiper.d.ts +0 -26
- package/lib/components/tab/index.d.ts +0 -6
- package/lib/components/tab/tab.d.ts +0 -27
- package/lib/components/tab-container/index.d.ts +0 -3
- package/lib/components/tab-container/tab-container.d.ts +0 -10
- package/lib/components/tab-container-item/index.d.ts +0 -3
- package/lib/components/tab-container-item/tab-container-item.d.ts +0 -11
- package/lib/components/tag/index.d.ts +0 -6
- package/lib/components/tag/tag.d.ts +0 -14
- package/lib/components/teletext-list/index.d.ts +0 -6
- package/lib/components/teletext-list/teletext-list-item.d.ts +0 -33
- package/lib/components/teletext-list/teletext-list.d.ts +0 -52
- package/lib/components/title/index.d.ts +0 -8
- package/lib/components/title/title-1.d.ts +0 -10
- package/lib/components/title/title-2.d.ts +0 -18
- package/lib/index.d.ts +0 -44
- package/lib/utils/children-node-handle.d.ts +0 -9
- package/lib/utils/component-wrapper.d.ts +0 -9
- package/lib/utils/debounce.d.ts +0 -1
- package/lib/utils/time-util.d.ts +0 -5
- package/lib/variables.d.ts +0 -2
|
@@ -1,57 +1,55 @@
|
|
|
1
|
-
@import '../../variables.scss';
|
|
2
|
-
|
|
3
|
-
.teletext-list__panel__item {
|
|
4
|
-
width: 100%;
|
|
5
|
-
display: flex;
|
|
6
|
-
gap: 5px;
|
|
7
|
-
padding-bottom: 10px;
|
|
8
|
-
justify-content: flex-start;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
57
|
-
}
|
|
1
|
+
@import '../../variables.scss';
|
|
2
|
+
|
|
3
|
+
.teletext-list__panel__item {
|
|
4
|
+
width: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
gap: 5px;
|
|
7
|
+
padding-bottom: 10px;
|
|
8
|
+
justify-content: flex-start;
|
|
9
|
+
|
|
10
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
11
|
+
|
|
12
|
+
.teletext-list__panel__item_image {
|
|
13
|
+
width: 90px;
|
|
14
|
+
height: 71px;
|
|
15
|
+
border-radius: 5px;
|
|
16
|
+
flex: 0 0 auto;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
|
|
19
|
+
& > img {
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
object-fit: cover;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.teletext-list__panel__item__text {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
gap: 3px;
|
|
31
|
+
|
|
32
|
+
.teletext-list__panel__item__text__title {
|
|
33
|
+
font-size: 15px;
|
|
34
|
+
font-weight: 500;
|
|
35
|
+
color: #000000;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.teletext-list__panel__item__text__description {
|
|
39
|
+
-webkit-line-clamp: 1;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
color: #686868;
|
|
42
|
+
-webkit-box-orient: vertical;
|
|
43
|
+
display: -webkit-box;
|
|
44
|
+
font-size: 12px;
|
|
45
|
+
text-overflow: ellipsis;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.teletext-list__panel__item__text__tags {
|
|
49
|
+
display: flex;
|
|
50
|
+
gap: 6px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
}
|
|
@@ -10,8 +10,8 @@ require("./index.scss");
|
|
|
10
10
|
var _teletextListItem = _interopRequireDefault(require("./teletext-list-item"));
|
|
11
11
|
var _childrenNodeHandle = require("../../utils/children-node-handle");
|
|
12
12
|
var _excluded = ["title", "dataList", "onClick", "children", "imagePlacement"];
|
|
13
|
-
/**
|
|
14
|
-
* 数据
|
|
13
|
+
/**
|
|
14
|
+
* 数据
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
var TeletextList = function TeletextList(_ref) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
@import '../../variables.scss';
|
|
2
|
-
|
|
3
|
-
.custom-title-1 {
|
|
4
|
-
font-size: 17px;
|
|
5
|
-
font-weight: 500;
|
|
6
|
-
color: #000000;
|
|
7
|
-
z-index: 1;
|
|
8
|
-
& > span {
|
|
9
|
-
position: relative;
|
|
10
|
-
|
|
11
|
-
&::after {
|
|
12
|
-
content: '';
|
|
13
|
-
position: absolute;
|
|
14
|
-
bottom: -2px;
|
|
15
|
-
left: 0;
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 5px;
|
|
18
|
-
background: linear-gradient(0deg, #E96D40, #F9A068);
|
|
19
|
-
border-radius: 5px;
|
|
20
|
-
opacity: 0.9;
|
|
21
|
-
z-index: 0;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
}
|
|
1
|
+
@import '../../variables.scss';
|
|
2
|
+
|
|
3
|
+
.custom-title-1 {
|
|
4
|
+
font-size: 17px;
|
|
5
|
+
font-weight: 500;
|
|
6
|
+
color: #000000;
|
|
7
|
+
z-index: 1;
|
|
8
|
+
& > span {
|
|
9
|
+
position: relative;
|
|
10
|
+
|
|
11
|
+
&::after {
|
|
12
|
+
content: '';
|
|
13
|
+
position: absolute;
|
|
14
|
+
bottom: -2px;
|
|
15
|
+
left: 0;
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 5px;
|
|
18
|
+
background: linear-gradient(0deg, #E96D40, #F9A068);
|
|
19
|
+
border-radius: 5px;
|
|
20
|
+
opacity: 0.9;
|
|
21
|
+
z-index: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@import '../../variables.scss';
|
|
2
|
-
|
|
3
|
-
.custom-title-2 {
|
|
4
|
-
|
|
5
|
-
& > div {
|
|
6
|
-
font-size: 16px;
|
|
7
|
-
font-weight: 500;
|
|
8
|
-
color: #144477;
|
|
9
|
-
display: flex;
|
|
10
|
-
gap: 3.5px;
|
|
11
|
-
align-items: center;
|
|
12
|
-
|
|
13
|
-
& > div.tips {
|
|
14
|
-
content: '';
|
|
15
|
-
display: inline-block;
|
|
16
|
-
width: 3.5px;
|
|
17
|
-
height: 14.5px;
|
|
18
|
-
background-color: #388AF7;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
}
|
|
1
|
+
@import '../../variables.scss';
|
|
2
|
+
|
|
3
|
+
.custom-title-2 {
|
|
4
|
+
|
|
5
|
+
& > div {
|
|
6
|
+
font-size: 16px;
|
|
7
|
+
font-weight: 500;
|
|
8
|
+
color: #144477;
|
|
9
|
+
display: flex;
|
|
10
|
+
gap: 3.5px;
|
|
11
|
+
align-items: center;
|
|
12
|
+
|
|
13
|
+
& > div.tips {
|
|
14
|
+
content: '';
|
|
15
|
+
display: inline-block;
|
|
16
|
+
width: 3.5px;
|
|
17
|
+
height: 14.5px;
|
|
18
|
+
background-color: #388AF7;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
}
|
package/lib/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
|
-
exports.bizCssPrefix = exports.Title2 = exports.Title1 = exports.TeletextList = exports.TagC = exports.TabMessage = exports.TabContainerItem = exports.TabContainer = exports.Swiper = exports.
|
|
5
|
+
exports.bizCssPrefix = exports.Title2 = exports.Title1 = exports.TeletextList = exports.TagC = exports.TabMessage = exports.TabContainerItem = exports.TabContainer = exports.Swiper = exports.SearchBar = exports.RichText = exports.Position = exports.NoticeBar = exports.Navigation = exports.MessageList = exports.MenuList = exports.IntegralTask = exports.GridNav = exports.GoodsCardListCommon = exports.GoodsCardList = exports.CustomRadioGroupItem = exports.CustomRadioGroup = exports.Button2 = void 0;
|
|
6
6
|
var _swiper = _interopRequireDefault(require("./components/swiper"));
|
|
7
7
|
exports.Swiper = _swiper["default"];
|
|
8
8
|
var _bottomNavigation = _interopRequireDefault(require("./components/bottom-navigation"));
|
|
@@ -44,8 +44,6 @@ exports.GoodsCardList = _goodsCardList.GoodsCardList;
|
|
|
44
44
|
exports.GoodsCardListCommon = _goodsCardList.GoodsCardListCommon;
|
|
45
45
|
var _richText = require("./components/rich-text");
|
|
46
46
|
exports.RichText = _richText.RichText;
|
|
47
|
-
var _streamList = require("./components/stream-list");
|
|
48
|
-
exports.StreamList = _streamList.StreamList;
|
|
49
47
|
// 轮播图
|
|
50
48
|
|
|
51
49
|
// 底部导航
|
|
@@ -86,6 +84,4 @@ exports.StreamList = _streamList.StreamList;
|
|
|
86
84
|
|
|
87
85
|
// 富文本
|
|
88
86
|
|
|
89
|
-
// 富文本
|
|
90
|
-
|
|
91
87
|
var bizCssPrefix = exports.bizCssPrefix = 'bizpack';
|
package/lib/index.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import './components/colorful-button/index.scss';
|
|
2
|
-
@import './components/colorful-input/index.scss';
|
|
3
|
-
@import './components/teletext-list/index.scss';
|
|
4
|
-
@import './components/grid-nav/index.scss';
|
|
5
|
-
@import './components/search-bar/index.scss';
|
|
1
|
+
@import './components/colorful-button/index.scss';
|
|
2
|
+
@import './components/colorful-input/index.scss';
|
|
3
|
+
@import './components/teletext-list/index.scss';
|
|
4
|
+
@import './components/grid-nav/index.scss';
|
|
5
|
+
@import './components/search-bar/index.scss';
|
|
6
6
|
@import './components/notice-bar/index.scss';
|
|
@@ -5,13 +5,13 @@ exports.__esModule = true;
|
|
|
5
5
|
exports.convertChildren = convertChildren;
|
|
6
6
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
/**
|
|
9
|
-
* 从children数组中获取指定组件
|
|
10
|
-
* @author ZhuGangMin
|
|
11
|
-
* @date 2024-09-21 14:07:02
|
|
12
|
-
* @param children 父组件传递过来children
|
|
13
|
-
* @param key 组件的key
|
|
14
|
-
* @param props 要覆盖的属性
|
|
8
|
+
/**
|
|
9
|
+
* 从children数组中获取指定组件
|
|
10
|
+
* @author ZhuGangMin
|
|
11
|
+
* @date 2024-09-21 14:07:02
|
|
12
|
+
* @param children 父组件传递过来children
|
|
13
|
+
* @param key 组件的key
|
|
14
|
+
* @param props 要覆盖的属性
|
|
15
15
|
*/
|
|
16
16
|
function convertChildren(children, key, props) {
|
|
17
17
|
var node;
|
package/lib/utils/time-util.js
CHANGED
package/lib/variables.scss
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@import '~@alifd/next/variables.scss';
|
|
2
|
-
|
|
3
|
-
$biz-css-prefix: '.bizpack';
|
|
1
|
+
@import '~@alifd/next/variables.scss';
|
|
2
|
+
|
|
3
|
+
$biz-css-prefix: '.bizpack';
|
package/lowcode/button2/meta.ts
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
2
|
-
|
|
3
|
-
const Button2Meta: IPublicTypeComponentMetadata = {
|
|
4
|
-
componentName: 'Button2',
|
|
5
|
-
title: '按钮',
|
|
6
|
-
docUrl: '',
|
|
7
|
-
screenshot: '',
|
|
8
|
-
devMode: 'proCode',
|
|
9
|
-
npm: {
|
|
10
|
-
package: '@dckj-npm/dc-material',
|
|
11
|
-
version: '0.1.13',
|
|
12
|
-
exportName: 'Button2',
|
|
13
|
-
main: 'src\\index.tsx',
|
|
14
|
-
destructuring: true,
|
|
15
|
-
subName: '',
|
|
16
|
-
},
|
|
17
|
-
configure: {
|
|
18
|
-
props: [
|
|
19
|
-
{
|
|
20
|
-
title: {
|
|
21
|
-
label: {
|
|
22
|
-
type: 'i18n',
|
|
23
|
-
'en-US': 'name',
|
|
24
|
-
'zh-CN': '标签名称',
|
|
25
|
-
},
|
|
26
|
-
tip: 'name | 标签名称',
|
|
27
|
-
},
|
|
28
|
-
name: 'name',
|
|
29
|
-
description: '标签名称',
|
|
30
|
-
setter: {
|
|
31
|
-
componentName: 'StringSetter',
|
|
32
|
-
isRequired: true,
|
|
33
|
-
initialValue: '',
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
title: {
|
|
38
|
-
label: {
|
|
39
|
-
type: 'i18n',
|
|
40
|
-
'en-US': 'color',
|
|
41
|
-
'zh-CN': '标签颜色',
|
|
42
|
-
},
|
|
43
|
-
tip: 'color | 标签颜色',
|
|
44
|
-
},
|
|
45
|
-
name: 'color',
|
|
46
|
-
description: '标签颜色',
|
|
47
|
-
setter: {
|
|
48
|
-
componentName: 'StringSetter',
|
|
49
|
-
isRequired: true,
|
|
50
|
-
initialValue: '',
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
|
-
supports: {
|
|
55
|
-
style: true,
|
|
56
|
-
},
|
|
57
|
-
component: {
|
|
58
|
-
disableBehaviors: ['copy'],
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
}
|
|
62
|
-
const snippets: IPublicTypeSnippet[] = [
|
|
63
|
-
{
|
|
64
|
-
title: '按钮',
|
|
65
|
-
screenshot: '',
|
|
66
|
-
schema: {
|
|
67
|
-
componentName: 'Button2',
|
|
68
|
-
props: {},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
]
|
|
72
|
-
|
|
73
|
-
export default {
|
|
74
|
-
...Button2Meta,
|
|
75
|
-
snippets,
|
|
76
|
-
}
|
|
1
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
2
|
+
|
|
3
|
+
const Button2Meta: IPublicTypeComponentMetadata = {
|
|
4
|
+
componentName: 'Button2',
|
|
5
|
+
title: '按钮',
|
|
6
|
+
docUrl: '',
|
|
7
|
+
screenshot: '',
|
|
8
|
+
devMode: 'proCode',
|
|
9
|
+
npm: {
|
|
10
|
+
package: '@dckj-npm/dc-material',
|
|
11
|
+
version: '0.1.13',
|
|
12
|
+
exportName: 'Button2',
|
|
13
|
+
main: 'src\\index.tsx',
|
|
14
|
+
destructuring: true,
|
|
15
|
+
subName: '',
|
|
16
|
+
},
|
|
17
|
+
configure: {
|
|
18
|
+
props: [
|
|
19
|
+
{
|
|
20
|
+
title: {
|
|
21
|
+
label: {
|
|
22
|
+
type: 'i18n',
|
|
23
|
+
'en-US': 'name',
|
|
24
|
+
'zh-CN': '标签名称',
|
|
25
|
+
},
|
|
26
|
+
tip: 'name | 标签名称',
|
|
27
|
+
},
|
|
28
|
+
name: 'name',
|
|
29
|
+
description: '标签名称',
|
|
30
|
+
setter: {
|
|
31
|
+
componentName: 'StringSetter',
|
|
32
|
+
isRequired: true,
|
|
33
|
+
initialValue: '',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
title: {
|
|
38
|
+
label: {
|
|
39
|
+
type: 'i18n',
|
|
40
|
+
'en-US': 'color',
|
|
41
|
+
'zh-CN': '标签颜色',
|
|
42
|
+
},
|
|
43
|
+
tip: 'color | 标签颜色',
|
|
44
|
+
},
|
|
45
|
+
name: 'color',
|
|
46
|
+
description: '标签颜色',
|
|
47
|
+
setter: {
|
|
48
|
+
componentName: 'StringSetter',
|
|
49
|
+
isRequired: true,
|
|
50
|
+
initialValue: '',
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
supports: {
|
|
55
|
+
style: true,
|
|
56
|
+
},
|
|
57
|
+
component: {
|
|
58
|
+
disableBehaviors: ['copy'],
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
}
|
|
62
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
63
|
+
{
|
|
64
|
+
title: '按钮',
|
|
65
|
+
screenshot: '',
|
|
66
|
+
schema: {
|
|
67
|
+
componentName: 'Button2',
|
|
68
|
+
props: {},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
]
|
|
72
|
+
|
|
73
|
+
export default {
|
|
74
|
+
...Button2Meta,
|
|
75
|
+
snippets,
|
|
76
|
+
}
|