@dckj-npm/dc-material 0.1.42 → 0.1.44
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 +9 -9
- 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/bottom-navigation.d.ts +15 -15
- package/es/components/bottom-navigation/index.d.ts +3 -3
- package/es/components/bottom-navigation/index.scss +24 -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/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 +3 -4
- package/es/components/goods-card-list/index.js +1 -2
- 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 +37 -41
- 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/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 +29 -29
- package/es/components/message-list/message-list-item.js +2 -2
- package/es/components/message-list/message-list-item.scss +50 -50
- package/es/components/message-list/message-list.d.ts +32 -32
- package/es/components/notice-bar/index.d.ts +3 -3
- package/es/components/notice-bar/index.scss +29 -29
- 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 +37 -37
- package/es/components/position/entity.d.ts +5 -5
- package/es/components/position/index.d.ts +3 -3
- package/es/components/position/index.scss +27 -27
- 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.d.ts +8 -8
- 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/search-bar/index.d.ts +3 -3
- package/es/components/search-bar/index.scss +13 -13
- package/es/components/search-bar/search-bar.d.ts +7 -7
- package/es/components/swiper/index.d.ts +3 -3
- package/es/components/swiper/index.scss +12 -12
- package/es/components/swiper/swiper.d.ts +47 -47
- package/es/components/tab/index.d.ts +6 -6
- package/es/components/tab/index.js +2 -2
- package/es/components/tab/index.scss +23 -23
- package/es/components/tab/tab.d.ts +23 -23
- 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 +9 -11
- package/es/components/tab-container-item/tab-container-item.js +2 -7
- 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 +19 -19
- package/es/components/teletext-list/teletext-list-item.d.ts +42 -42
- package/es/components/teletext-list/teletext-list-item.js +4 -8
- package/es/components/teletext-list/teletext-list-item.scss +55 -55
- 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/index.d.ts +40 -42
- package/es/index.js +1 -5
- package/es/index.scss +5 -5
- 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/variables.d.ts +2 -2
- package/es/variables.scss +3 -3
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +15 -15
- package/lib/components/bottom-navigation/index.d.ts +3 -3
- package/lib/components/bottom-navigation/index.scss +24 -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/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 +3 -4
- package/lib/components/goods-card-list/index.js +1 -3
- 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 +37 -41
- 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/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 +29 -29
- package/lib/components/message-list/message-list-item.js +2 -2
- package/lib/components/message-list/message-list-item.scss +50 -50
- package/lib/components/message-list/message-list.d.ts +32 -32
- package/lib/components/notice-bar/index.d.ts +3 -3
- package/lib/components/notice-bar/index.scss +29 -29
- 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 +37 -37
- package/lib/components/position/entity.d.ts +5 -5
- package/lib/components/position/index.d.ts +3 -3
- package/lib/components/position/index.scss +27 -27
- package/lib/components/position/position-left.d.ts +9 -9
- package/lib/components/position/position-list.d.ts +12 -12
- package/lib/components/position/position.d.ts +8 -8
- 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/search-bar/index.d.ts +3 -3
- package/lib/components/search-bar/index.scss +13 -13
- package/lib/components/search-bar/search-bar.d.ts +7 -7
- package/lib/components/swiper/index.d.ts +3 -3
- package/lib/components/swiper/index.scss +12 -12
- package/lib/components/swiper/swiper.d.ts +47 -47
- package/lib/components/tab/index.d.ts +6 -6
- package/lib/components/tab/index.js +2 -2
- package/lib/components/tab/index.scss +23 -23
- package/lib/components/tab/tab.d.ts +23 -23
- 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 +9 -11
- package/lib/components/tab-container-item/tab-container-item.js +2 -7
- 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 +19 -19
- package/lib/components/teletext-list/teletext-list-item.d.ts +42 -42
- package/lib/components/teletext-list/teletext-list-item.js +4 -8
- package/lib/components/teletext-list/teletext-list-item.scss +55 -55
- 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/index.d.ts +40 -42
- package/lib/index.js +1 -6
- package/lib/index.scss +5 -5
- 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/variables.d.ts +2 -2
- package/lib/variables.scss +3 -3
- package/lowcode/button2/meta.ts +75 -75
- package/lowcode/custom-radio-group/meta.ts +310 -310
- package/lowcode/custom-radio-group-item/meta.ts +229 -229
- package/lowcode/d-c-slider/meta.design.ts +173 -173
- package/lowcode/d-c-slider/meta.ts +342 -342
- package/lowcode/d-c-slider/snippets.ts +68 -68
- package/lowcode/goods-card-list/meta.ts +268 -268
- package/lowcode/goods-card-list-common/meta.ts +268 -268
- package/lowcode/grid-nav/meta.ts +212 -212
- package/lowcode/integral-task/meta.ts +211 -211
- package/lowcode/menu-list/meta.ts +147 -147
- package/lowcode/message-list/meta.ts +202 -202
- package/lowcode/navigation/meta.ts +165 -165
- package/lowcode/notice-bar/meta.ts +229 -229
- package/lowcode/position/meta.ts +161 -161
- package/lowcode/search-bar/meta.ts +54 -54
- package/lowcode/swiper/meta.ts +237 -237
- package/lowcode/tab-container/meta.ts +70 -70
- package/lowcode/tab-container/props.ts +194 -194
- package/lowcode/tab-container-item/meta.ts +195 -195
- package/lowcode/tab-message/meta.ts +101 -101
- package/lowcode/tag-c/meta.ts +75 -75
- package/lowcode/teletext-list/meta.ts +329 -329
- package/lowcode/title1/meta.ts +59 -59
- package/lowcode/title2/meta.ts +93 -93
- 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 +148 -148
- package/lowcode_es/d-c-slider/meta.design.d.ts +100 -100
- 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 +24 -24
- 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/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-slider/meta.d.ts +148 -148
- package/lowcode_lib/d-c-slider/meta.design.d.ts +100 -100
- 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 +24 -24
- 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/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/goods-card-list/goods-card-list-common.d.ts +0 -5
- package/es/components/goods-card-list/goods-card-list-common.js +0 -52
- package/es/components/goods-card-list/goods-card-list-common.scss +0 -119
- package/es/components/rich-text/index.d.ts +0 -6
- package/es/components/rich-text/index.js +0 -6
- package/es/components/rich-text/index.scss +0 -15
- package/es/components/rich-text/rich-text.d.ts +0 -14
- package/es/components/rich-text/rich-text.js +0 -28
- package/lib/components/goods-card-list/goods-card-list-common.d.ts +0 -5
- package/lib/components/goods-card-list/goods-card-list-common.js +0 -57
- package/lib/components/goods-card-list/goods-card-list-common.scss +0 -119
- package/lib/components/rich-text/index.d.ts +0 -6
- package/lib/components/rich-text/index.js +0 -6
- package/lib/components/rich-text/index.scss +0 -15
- package/lib/components/rich-text/rich-text.d.ts +0 -14
- package/lib/components/rich-text/rich-text.js +0 -33
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
declare const _default: ({
|
|
2
|
-
name: string;
|
|
3
|
-
title: string;
|
|
4
|
-
setter: {
|
|
5
|
-
componentName: string;
|
|
6
|
-
props: {
|
|
7
|
-
itemSetter: {
|
|
8
|
-
componentName: string;
|
|
9
|
-
props: {
|
|
10
|
-
config: {
|
|
11
|
-
items: ({
|
|
12
|
-
name: string;
|
|
13
|
-
title: string;
|
|
14
|
-
defaultValue: string;
|
|
15
|
-
important: boolean;
|
|
16
|
-
setter: string;
|
|
17
|
-
condition?: undefined;
|
|
18
|
-
initialValue?: undefined;
|
|
19
|
-
} | {
|
|
20
|
-
name: string;
|
|
21
|
-
title: string;
|
|
22
|
-
condition: () => boolean;
|
|
23
|
-
setter: string;
|
|
24
|
-
defaultValue?: undefined;
|
|
25
|
-
important?: undefined;
|
|
26
|
-
initialValue?: undefined;
|
|
27
|
-
} | {
|
|
28
|
-
name: string;
|
|
29
|
-
title: string;
|
|
30
|
-
initialValue: boolean;
|
|
31
|
-
setter: string;
|
|
32
|
-
defaultValue?: undefined;
|
|
33
|
-
important?: undefined;
|
|
34
|
-
condition?: undefined;
|
|
35
|
-
})[];
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
initialValue: () => {
|
|
39
|
-
key: string;
|
|
40
|
-
tab: string;
|
|
41
|
-
closeable: boolean;
|
|
42
|
-
disabled: boolean;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
options?: undefined;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
extraProps: {
|
|
49
|
-
getValue(target: any): any;
|
|
50
|
-
setValue(target: any, value: any): void;
|
|
51
|
-
};
|
|
52
|
-
defaultValue?: undefined;
|
|
53
|
-
condition?: undefined;
|
|
54
|
-
} | {
|
|
55
|
-
name: string;
|
|
56
|
-
title: string;
|
|
57
|
-
defaultValue: string;
|
|
58
|
-
setter: {
|
|
59
|
-
componentName: string;
|
|
60
|
-
props: {
|
|
61
|
-
options: {
|
|
62
|
-
title: string;
|
|
63
|
-
value: string;
|
|
64
|
-
}[];
|
|
65
|
-
itemSetter?: undefined;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
extraProps?: undefined;
|
|
69
|
-
condition?: undefined;
|
|
70
|
-
} | {
|
|
71
|
-
name: string;
|
|
72
|
-
title: {
|
|
73
|
-
label: string;
|
|
74
|
-
tip: string;
|
|
75
|
-
};
|
|
76
|
-
condition: (target: any) => boolean;
|
|
77
|
-
defaultValue: string;
|
|
78
|
-
setter: {
|
|
79
|
-
componentName: string;
|
|
80
|
-
props: {
|
|
81
|
-
options: {
|
|
82
|
-
title: string;
|
|
83
|
-
value: string;
|
|
84
|
-
}[];
|
|
85
|
-
itemSetter?: undefined;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
extraProps?: undefined;
|
|
89
|
-
})[];
|
|
90
|
-
export default _default;
|
|
1
|
+
declare const _default: ({
|
|
2
|
+
name: string;
|
|
3
|
+
title: string;
|
|
4
|
+
setter: {
|
|
5
|
+
componentName: string;
|
|
6
|
+
props: {
|
|
7
|
+
itemSetter: {
|
|
8
|
+
componentName: string;
|
|
9
|
+
props: {
|
|
10
|
+
config: {
|
|
11
|
+
items: ({
|
|
12
|
+
name: string;
|
|
13
|
+
title: string;
|
|
14
|
+
defaultValue: string;
|
|
15
|
+
important: boolean;
|
|
16
|
+
setter: string;
|
|
17
|
+
condition?: undefined;
|
|
18
|
+
initialValue?: undefined;
|
|
19
|
+
} | {
|
|
20
|
+
name: string;
|
|
21
|
+
title: string;
|
|
22
|
+
condition: () => boolean;
|
|
23
|
+
setter: string;
|
|
24
|
+
defaultValue?: undefined;
|
|
25
|
+
important?: undefined;
|
|
26
|
+
initialValue?: undefined;
|
|
27
|
+
} | {
|
|
28
|
+
name: string;
|
|
29
|
+
title: string;
|
|
30
|
+
initialValue: boolean;
|
|
31
|
+
setter: string;
|
|
32
|
+
defaultValue?: undefined;
|
|
33
|
+
important?: undefined;
|
|
34
|
+
condition?: undefined;
|
|
35
|
+
})[];
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
initialValue: () => {
|
|
39
|
+
key: string;
|
|
40
|
+
tab: string;
|
|
41
|
+
closeable: boolean;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
options?: undefined;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
extraProps: {
|
|
49
|
+
getValue(target: any): any;
|
|
50
|
+
setValue(target: any, value: any): void;
|
|
51
|
+
};
|
|
52
|
+
defaultValue?: undefined;
|
|
53
|
+
condition?: undefined;
|
|
54
|
+
} | {
|
|
55
|
+
name: string;
|
|
56
|
+
title: string;
|
|
57
|
+
defaultValue: string;
|
|
58
|
+
setter: {
|
|
59
|
+
componentName: string;
|
|
60
|
+
props: {
|
|
61
|
+
options: {
|
|
62
|
+
title: string;
|
|
63
|
+
value: string;
|
|
64
|
+
}[];
|
|
65
|
+
itemSetter?: undefined;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
extraProps?: undefined;
|
|
69
|
+
condition?: undefined;
|
|
70
|
+
} | {
|
|
71
|
+
name: string;
|
|
72
|
+
title: {
|
|
73
|
+
label: string;
|
|
74
|
+
tip: string;
|
|
75
|
+
};
|
|
76
|
+
condition: (target: any) => boolean;
|
|
77
|
+
defaultValue: string;
|
|
78
|
+
setter: {
|
|
79
|
+
componentName: string;
|
|
80
|
+
props: {
|
|
81
|
+
options: {
|
|
82
|
+
title: string;
|
|
83
|
+
value: string;
|
|
84
|
+
}[];
|
|
85
|
+
itemSetter?: undefined;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
extraProps?: undefined;
|
|
89
|
+
})[];
|
|
90
|
+
export default _default;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
snippets: IPublicTypeSnippet[];
|
|
4
|
-
componentName: string;
|
|
5
|
-
uri?: string;
|
|
6
|
-
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
-
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
description?: string;
|
|
10
|
-
docUrl?: string;
|
|
11
|
-
screenshot?: string;
|
|
12
|
-
devMode?: "proCode" | "lowCode";
|
|
13
|
-
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
-
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
-
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
-
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
-
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
-
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
-
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
-
priority?: number;
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
snippets: IPublicTypeSnippet[];
|
|
4
|
-
componentName: string;
|
|
5
|
-
uri?: string;
|
|
6
|
-
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
-
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
description?: string;
|
|
10
|
-
docUrl?: string;
|
|
11
|
-
screenshot?: string;
|
|
12
|
-
devMode?: "proCode" | "lowCode";
|
|
13
|
-
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
-
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
-
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
-
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
-
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
-
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
-
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
-
priority?: number;
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
snippets: IPublicTypeSnippet[];
|
|
4
|
-
componentName: string;
|
|
5
|
-
uri?: string;
|
|
6
|
-
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
-
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
description?: string;
|
|
10
|
-
docUrl?: string;
|
|
11
|
-
screenshot?: string;
|
|
12
|
-
devMode?: "proCode" | "lowCode";
|
|
13
|
-
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
-
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
-
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
-
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
-
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
-
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
-
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
-
priority?: number;
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
snippets: IPublicTypeSnippet[];
|
|
4
|
-
componentName: string;
|
|
5
|
-
uri?: string;
|
|
6
|
-
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
-
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
description?: string;
|
|
10
|
-
docUrl?: string;
|
|
11
|
-
screenshot?: string;
|
|
12
|
-
devMode?: "proCode" | "lowCode";
|
|
13
|
-
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
-
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
-
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
-
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
-
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
-
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
-
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
-
priority?: number;
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
snippets: IPublicTypeSnippet[];
|
|
4
|
-
componentName: string;
|
|
5
|
-
uri?: string;
|
|
6
|
-
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
-
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
description?: string;
|
|
10
|
-
docUrl?: string;
|
|
11
|
-
screenshot?: string;
|
|
12
|
-
devMode?: "proCode" | "lowCode";
|
|
13
|
-
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
-
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
-
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
-
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
-
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
-
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
-
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
-
priority?: number;
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
snippets: IPublicTypeSnippet[];
|
|
4
|
-
componentName: string;
|
|
5
|
-
uri?: string;
|
|
6
|
-
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
-
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
description?: string;
|
|
10
|
-
docUrl?: string;
|
|
11
|
-
screenshot?: string;
|
|
12
|
-
devMode?: "proCode" | "lowCode";
|
|
13
|
-
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
-
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
-
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
-
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
-
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
-
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
-
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
-
priority?: number;
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
package/lowcode_lib/view.js
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
var _exportNames = {};
|
|
5
5
|
exports["default"] = void 0;
|
|
6
|
-
var componentInstances = _interopRequireWildcard(require("
|
|
6
|
+
var componentInstances = _interopRequireWildcard(require("D:/project/company2/lowcode-material/src/index"));
|
|
7
7
|
Object.keys(componentInstances).forEach(function (key) {
|
|
8
8
|
if (key === "default" || key === "__esModule") return;
|
|
9
9
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
10
10
|
if (key in exports && exports[key] === componentInstances[key]) return;
|
|
11
11
|
exports[key] = componentInstances[key];
|
|
12
12
|
});
|
|
13
|
-
require("
|
|
13
|
+
require("D:/project/company2/lowcode-material/src/index.scss");
|
|
14
14
|
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); }
|
|
15
15
|
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; }
|
|
16
16
|
var entryDefault = exports["default"] = componentInstances["default"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dckj-npm/dc-material",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.44",
|
|
4
4
|
"description": "dc低代码物料",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
},
|
|
104
104
|
"componentConfig": {
|
|
105
105
|
"isComponentLibrary": true,
|
|
106
|
-
"materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.
|
|
106
|
+
"materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.44/build/lowcode/assets-prod.json"
|
|
107
107
|
},
|
|
108
108
|
"lcMeta": {
|
|
109
109
|
"type": "component"
|
|
110
110
|
},
|
|
111
|
-
"homepage": "https://unpkg.com/@dckj-npm/dc-material@0.1.
|
|
111
|
+
"homepage": "https://unpkg.com/@dckj-npm/dc-material@0.1.43/build/index.html"
|
|
112
112
|
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
-
var _excluded = ["dataList", "maxSales", "onClick"];
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import Carousel from "../carousel/carousel";
|
|
6
|
-
import "./goods-card-list-common.scss";
|
|
7
|
-
var GoodsCardListCommon = function GoodsCardListCommon(_ref) {
|
|
8
|
-
var _ref$dataList = _ref.dataList,
|
|
9
|
-
dataList = _ref$dataList === void 0 ? [] : _ref$dataList,
|
|
10
|
-
_ref$maxSales = _ref.maxSales,
|
|
11
|
-
maxSales = _ref$maxSales === void 0 ? 1000 : _ref$maxSales,
|
|
12
|
-
_ref$onClick = _ref.onClick,
|
|
13
|
-
_onClick = _ref$onClick === void 0 ? function () {} : _ref$onClick,
|
|
14
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
15
|
-
var _otherProps = otherProps || {};
|
|
16
|
-
return /*#__PURE__*/React.createElement("div", _extends({
|
|
17
|
-
className: "card-list-goods-common__container"
|
|
18
|
-
}, _otherProps), dataList.map(function (item) {
|
|
19
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
-
key: item.key,
|
|
21
|
-
className: "card-list-goods__item",
|
|
22
|
-
onClick: function onClick() {
|
|
23
|
-
return _onClick(item);
|
|
24
|
-
}
|
|
25
|
-
}, item.imageList && item.imageList.length > 0 && /*#__PURE__*/React.createElement("div", {
|
|
26
|
-
className: "card-list-goods__image"
|
|
27
|
-
}, /*#__PURE__*/React.createElement(Carousel, {
|
|
28
|
-
images: item.imageList,
|
|
29
|
-
interval: 3000
|
|
30
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
31
|
-
className: "card-list-goods__content"
|
|
32
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
33
|
-
className: "card-list-goods__title"
|
|
34
|
-
}, item.title), /*#__PURE__*/React.createElement("div", {
|
|
35
|
-
className: "card-list-goods__desc"
|
|
36
|
-
}, item.desc), /*#__PURE__*/React.createElement("div", {
|
|
37
|
-
className: "card-list-goods__bottom"
|
|
38
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
39
|
-
className: "card-list-goods__unit"
|
|
40
|
-
}, "\uFFE5"), /*#__PURE__*/React.createElement("div", {
|
|
41
|
-
className: "card-list-goods__price"
|
|
42
|
-
}, item.activePrice || item.price), item.activePrice && /*#__PURE__*/React.createElement("div", {
|
|
43
|
-
className: "card-list-goods__unit__delete"
|
|
44
|
-
}, "\uFFE5"), item.activePrice && /*#__PURE__*/React.createElement("div", {
|
|
45
|
-
className: "card-list-goods__price__delete"
|
|
46
|
-
}, item.price), /*#__PURE__*/React.createElement("div", {
|
|
47
|
-
className: "card-list-goods__sales"
|
|
48
|
-
}, "\u5DF2\u552E", item.sales > maxSales ? maxSales + "+" : item.sales))));
|
|
49
|
-
}));
|
|
50
|
-
};
|
|
51
|
-
GoodsCardListCommon.displayName = 'GoodsCardListCommon';
|
|
52
|
-
export default GoodsCardListCommon;
|