@pisell/materials 3.0.57 → 3.0.59
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +2 -2
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +30 -30
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +23 -23
- package/es/index.d.ts +2 -4
- package/es/index.js +2 -7
- package/lib/index.d.ts +2 -4
- package/lib/index.js +32 -38
- package/lowcode/collapse/meta.ts +1 -85
- package/lowcode/date-picker.range-picker/meta.ts +0 -20
- package/package.json +3 -3
- package/es/components/cardPro/index.d.ts +0 -4
- package/es/components/cardPro/index.js +0 -69
- package/es/components/cardPro/index.less +0 -55
- package/es/components/collapse/index.d.ts +0 -15
- package/es/components/collapse/index.js +0 -80
- package/es/components/collapse/index.less +0 -0
- package/es/components/productCard/components/Action/index.d.ts +0 -4
- package/es/components/productCard/components/Action/index.js +0 -21
- package/es/components/productCard/components/Action/index.less +0 -14
- package/es/components/productCard/components/AmountFooter/index.d.ts +0 -4
- package/es/components/productCard/components/AmountFooter/index.js +0 -38
- package/es/components/productCard/components/AmountFooter/index.less +0 -39
- package/es/components/productCard/components/Divider/index.d.ts +0 -4
- package/es/components/productCard/components/Divider/index.js +0 -11
- package/es/components/productCard/components/Divider/index.less +0 -13
- package/es/components/productCard/components/Header/index.d.ts +0 -4
- package/es/components/productCard/components/Header/index.js +0 -70
- package/es/components/productCard/components/Header/index.less +0 -63
- package/es/components/productCard/components/Note/index.d.ts +0 -4
- package/es/components/productCard/components/Note/index.js +0 -25
- package/es/components/productCard/components/Note/index.less +0 -20
- package/es/components/productCard/components/Packages/components/collapsibleList/index.d.ts +0 -10
- package/es/components/productCard/components/Packages/components/collapsibleList/index.js +0 -96
- package/es/components/productCard/components/Packages/components/collapsibleList/index.less +0 -53
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -2
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.js +0 -33
- package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -4
- package/es/components/productCard/components/Packages/components/options/index.js +0 -23
- package/es/components/productCard/components/Packages/components/options/index.less +0 -29
- package/es/components/productCard/components/Packages/index.d.ts +0 -4
- package/es/components/productCard/components/Packages/index.js +0 -32
- package/es/components/productCard/components/Packages/index.less +0 -17
- package/es/components/productCard/components/Packages/utils.d.ts +0 -20
- package/es/components/productCard/components/Packages/utils.js +0 -40
- package/es/components/productCard/components/Sales/index.d.ts +0 -4
- package/es/components/productCard/components/Sales/index.js +0 -39
- package/es/components/productCard/components/Sales/index.less +0 -18
- package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -9
- package/es/components/productCard/components/Time/components/Like/index.js +0 -26
- package/es/components/productCard/components/Time/components/Like/index.less +0 -6
- package/es/components/productCard/components/Time/components/Like/like-heart.png +0 -0
- package/es/components/productCard/components/Time/components/Like/like-hide-heart.png +0 -0
- package/es/components/productCard/components/Time/index.d.ts +0 -4
- package/es/components/productCard/components/Time/index.js +0 -44
- package/es/components/productCard/components/Time/index.less +0 -35
- package/es/components/productCard/hooks/useOpenNote.d.ts +0 -3
- package/es/components/productCard/hooks/useOpenNote.js +0 -66
- package/es/components/productCard/index.d.ts +0 -5
- package/es/components/productCard/index.js +0 -131
- package/es/components/productCard/index.less +0 -53
- package/es/components/productCard/locales.d.ts +0 -42
- package/es/components/productCard/locales.js +0 -47
- package/es/components/productCard/status.d.ts +0 -9
- package/es/components/productCard/status.js +0 -15
- package/es/components/productCard/types.d.ts +0 -17
- package/es/components/productCard/types.js +0 -1
- package/es/components/productCard/utils.d.ts +0 -165
- package/es/components/productCard/utils.js +0 -709
- package/lib/components/cardPro/index.d.ts +0 -4
- package/lib/components/cardPro/index.js +0 -101
- package/lib/components/cardPro/index.less +0 -55
- package/lib/components/collapse/index.d.ts +0 -15
- package/lib/components/collapse/index.js +0 -83
- package/lib/components/collapse/index.less +0 -0
- package/lib/components/productCard/components/Action/index.d.ts +0 -4
- package/lib/components/productCard/components/Action/index.js +0 -55
- package/lib/components/productCard/components/Action/index.less +0 -14
- package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -4
- package/lib/components/productCard/components/AmountFooter/index.js +0 -61
- package/lib/components/productCard/components/AmountFooter/index.less +0 -39
- package/lib/components/productCard/components/Divider/index.d.ts +0 -4
- package/lib/components/productCard/components/Divider/index.js +0 -50
- package/lib/components/productCard/components/Divider/index.less +0 -13
- package/lib/components/productCard/components/Header/index.d.ts +0 -4
- package/lib/components/productCard/components/Header/index.js +0 -82
- package/lib/components/productCard/components/Header/index.less +0 -63
- package/lib/components/productCard/components/Note/index.d.ts +0 -4
- package/lib/components/productCard/components/Note/index.js +0 -56
- package/lib/components/productCard/components/Note/index.less +0 -20
- package/lib/components/productCard/components/Packages/components/collapsibleList/index.d.ts +0 -10
- package/lib/components/productCard/components/Packages/components/collapsibleList/index.js +0 -93
- package/lib/components/productCard/components/Packages/components/collapsibleList/index.less +0 -53
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -2
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.js +0 -52
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -4
- package/lib/components/productCard/components/Packages/components/options/index.js +0 -73
- package/lib/components/productCard/components/Packages/components/options/index.less +0 -29
- package/lib/components/productCard/components/Packages/index.d.ts +0 -4
- package/lib/components/productCard/components/Packages/index.js +0 -56
- package/lib/components/productCard/components/Packages/index.less +0 -17
- package/lib/components/productCard/components/Packages/utils.d.ts +0 -20
- package/lib/components/productCard/components/Packages/utils.js +0 -44
- package/lib/components/productCard/components/Sales/index.d.ts +0 -4
- package/lib/components/productCard/components/Sales/index.js +0 -61
- package/lib/components/productCard/components/Sales/index.less +0 -18
- package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -9
- package/lib/components/productCard/components/Time/components/Like/index.js +0 -64
- package/lib/components/productCard/components/Time/components/Like/index.less +0 -6
- package/lib/components/productCard/components/Time/components/Like/like-heart.png +0 -0
- package/lib/components/productCard/components/Time/components/Like/like-hide-heart.png +0 -0
- package/lib/components/productCard/components/Time/index.d.ts +0 -4
- package/lib/components/productCard/components/Time/index.js +0 -64
- package/lib/components/productCard/components/Time/index.less +0 -35
- package/lib/components/productCard/hooks/useOpenNote.d.ts +0 -3
- package/lib/components/productCard/hooks/useOpenNote.js +0 -84
- package/lib/components/productCard/index.d.ts +0 -5
- package/lib/components/productCard/index.js +0 -160
- package/lib/components/productCard/index.less +0 -53
- package/lib/components/productCard/locales.d.ts +0 -42
- package/lib/components/productCard/locales.js +0 -65
- package/lib/components/productCard/status.d.ts +0 -9
- package/lib/components/productCard/status.js +0 -36
- package/lib/components/productCard/types.d.ts +0 -17
- package/lib/components/productCard/types.js +0 -17
- package/lib/components/productCard/utils.d.ts +0 -165
- package/lib/components/productCard/utils.js +0 -622
- package/lowcode/card-pro/meta.ts +0 -338
- package/lowcode/card-pro/snippe.ts +0 -39
- package/lowcode/product-card/meta.ts +0 -92
- package/lowcode/product-card/snippets.ts +0 -23
package/es/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { Avatar } from 'antd';
|
|
|
5
5
|
export { Badge } from 'antd';
|
|
6
6
|
export { Breadcrumb } from 'antd';
|
|
7
7
|
export { Card } from 'antd';
|
|
8
|
+
export { Collapse } from 'antd';
|
|
8
9
|
export { Carousel } from 'antd';
|
|
9
10
|
export { Col } from 'antd';
|
|
10
11
|
export { Descriptions } from 'antd';
|
|
@@ -69,7 +70,6 @@ export { default as QRCode } from './components/qrcode';
|
|
|
69
70
|
export { default as ClassicLayout } from './components/classicLayout';
|
|
70
71
|
export { default as List } from './components/list';
|
|
71
72
|
export { default as Sort } from './components/sort';
|
|
72
|
-
export { default as CardPro } from './components/cardPro';
|
|
73
73
|
export { default as InputNumberRange } from './components/input-number-range';
|
|
74
74
|
export { default as LowCodePage } from './components/lowCodePage';
|
|
75
75
|
export { default as Segmented } from './components/segmented';
|
|
@@ -101,12 +101,10 @@ export { default as PisellAlert } from './components/pisellAlert';
|
|
|
101
101
|
export { default as PisellCard } from './components/pisellCard';
|
|
102
102
|
export { default as PisellInformationEntry } from './components/pisellInformationEntry';
|
|
103
103
|
export { default as usePisellConfig } from './components/pisell-config-provider/hooks/usePisellConfig';
|
|
104
|
-
export { globalConfig, default as PisellContext
|
|
104
|
+
export { globalConfig, default as PisellContext } from './components/pisell-config-provider/context';
|
|
105
105
|
export { default as PisellPriceKeyboard } from './components/virtual-keyboard/Amount';
|
|
106
106
|
export { default as PisellNumberKeyboard } from './components/virtual-keyboard/Number';
|
|
107
107
|
export { default as PisellAdjustPrice } from './components/pisellAdjustPrice';
|
|
108
108
|
export { default as PisellAdjustPriceInputNumber } from './components/pisellAdjustPrice/PisellAdjustPriceInputNumber';
|
|
109
109
|
export { default as PisellStatisticList } from './components/pisellStatisticList';
|
|
110
110
|
export { default as PisellFloatingPanel } from './components/pisellFloatingPanel';
|
|
111
|
-
export { default as ProductCard } from './components/productCard';
|
|
112
|
-
export { default as Collapse } from './components/collapse';
|
package/es/index.js
CHANGED
|
@@ -5,9 +5,7 @@ export { Avatar } from 'antd';
|
|
|
5
5
|
export { Badge } from 'antd';
|
|
6
6
|
export { Breadcrumb } from 'antd';
|
|
7
7
|
export { Card } from 'antd';
|
|
8
|
-
|
|
9
|
-
// export { Collapse } from 'antd';
|
|
10
|
-
|
|
8
|
+
export { Collapse } from 'antd';
|
|
11
9
|
export { Carousel } from 'antd';
|
|
12
10
|
|
|
13
11
|
// export { Cascader } from 'antd';
|
|
@@ -92,7 +90,6 @@ export { default as QRCode } from "./components/qrcode";
|
|
|
92
90
|
export { default as ClassicLayout } from "./components/classicLayout";
|
|
93
91
|
export { default as List } from "./components/list";
|
|
94
92
|
export { default as Sort } from "./components/sort";
|
|
95
|
-
export { default as CardPro } from "./components/cardPro";
|
|
96
93
|
export { default as InputNumberRange } from "./components/input-number-range";
|
|
97
94
|
export { default as LowCodePage } from "./components/lowCodePage";
|
|
98
95
|
export { default as Segmented } from "./components/segmented";
|
|
@@ -132,6 +129,4 @@ export { default as PisellNumberKeyboard } from "./components/virtual-keyboard/N
|
|
|
132
129
|
export { default as PisellAdjustPrice } from "./components/pisellAdjustPrice";
|
|
133
130
|
export { default as PisellAdjustPriceInputNumber } from "./components/pisellAdjustPrice/PisellAdjustPriceInputNumber";
|
|
134
131
|
export { default as PisellStatisticList } from "./components/pisellStatisticList";
|
|
135
|
-
export { default as PisellFloatingPanel } from "./components/pisellFloatingPanel";
|
|
136
|
-
export { default as ProductCard } from "./components/productCard";
|
|
137
|
-
export { default as Collapse } from "./components/collapse";
|
|
132
|
+
export { default as PisellFloatingPanel } from "./components/pisellFloatingPanel";
|
package/lib/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { Avatar } from 'antd';
|
|
|
5
5
|
export { Badge } from 'antd';
|
|
6
6
|
export { Breadcrumb } from 'antd';
|
|
7
7
|
export { Card } from 'antd';
|
|
8
|
+
export { Collapse } from 'antd';
|
|
8
9
|
export { Carousel } from 'antd';
|
|
9
10
|
export { Col } from 'antd';
|
|
10
11
|
export { Descriptions } from 'antd';
|
|
@@ -69,7 +70,6 @@ export { default as QRCode } from './components/qrcode';
|
|
|
69
70
|
export { default as ClassicLayout } from './components/classicLayout';
|
|
70
71
|
export { default as List } from './components/list';
|
|
71
72
|
export { default as Sort } from './components/sort';
|
|
72
|
-
export { default as CardPro } from './components/cardPro';
|
|
73
73
|
export { default as InputNumberRange } from './components/input-number-range';
|
|
74
74
|
export { default as LowCodePage } from './components/lowCodePage';
|
|
75
75
|
export { default as Segmented } from './components/segmented';
|
|
@@ -101,12 +101,10 @@ export { default as PisellAlert } from './components/pisellAlert';
|
|
|
101
101
|
export { default as PisellCard } from './components/pisellCard';
|
|
102
102
|
export { default as PisellInformationEntry } from './components/pisellInformationEntry';
|
|
103
103
|
export { default as usePisellConfig } from './components/pisell-config-provider/hooks/usePisellConfig';
|
|
104
|
-
export { globalConfig, default as PisellContext
|
|
104
|
+
export { globalConfig, default as PisellContext } from './components/pisell-config-provider/context';
|
|
105
105
|
export { default as PisellPriceKeyboard } from './components/virtual-keyboard/Amount';
|
|
106
106
|
export { default as PisellNumberKeyboard } from './components/virtual-keyboard/Number';
|
|
107
107
|
export { default as PisellAdjustPrice } from './components/pisellAdjustPrice';
|
|
108
108
|
export { default as PisellAdjustPriceInputNumber } from './components/pisellAdjustPrice/PisellAdjustPriceInputNumber';
|
|
109
109
|
export { default as PisellStatisticList } from './components/pisellStatisticList';
|
|
110
110
|
export { default as PisellFloatingPanel } from './components/pisellFloatingPanel';
|
|
111
|
-
export { default as ProductCard } from './components/productCard';
|
|
112
|
-
export { default as Collapse } from './components/collapse';
|
package/lib/index.js
CHANGED
|
@@ -41,39 +41,38 @@ __export(src_exports, {
|
|
|
41
41
|
Button: () => import_button.default,
|
|
42
42
|
Calendar: () => import_calendar.default,
|
|
43
43
|
Card: () => import_antd7.Card,
|
|
44
|
-
|
|
45
|
-
Carousel: () => import_antd8.Carousel,
|
|
44
|
+
Carousel: () => import_antd9.Carousel,
|
|
46
45
|
Cascader: () => import_cascader.default,
|
|
47
46
|
Checkbox: () => import_checkbox.default,
|
|
48
47
|
ClassicLayout: () => import_classicLayout.default,
|
|
49
|
-
Col: () =>
|
|
50
|
-
Collapse: () =>
|
|
48
|
+
Col: () => import_antd10.Col,
|
|
49
|
+
Collapse: () => import_antd8.Collapse,
|
|
51
50
|
Component: () => import_component.default,
|
|
52
51
|
ConfigProvider: () => import_config_provider.default,
|
|
53
52
|
DatePicker: () => import_date_picker.default,
|
|
54
|
-
Descriptions: () =>
|
|
53
|
+
Descriptions: () => import_antd11.Descriptions,
|
|
55
54
|
Div: () => import_div.default,
|
|
56
|
-
Divider: () =>
|
|
55
|
+
Divider: () => import_antd12.Divider,
|
|
57
56
|
DragSortTree: () => import_drag_sort_tree.default,
|
|
58
57
|
Drawer: () => import_drawer.default,
|
|
59
58
|
Dropdown: () => import_dropdown.default,
|
|
60
|
-
Empty: () =>
|
|
59
|
+
Empty: () => import_antd13.Empty,
|
|
61
60
|
Filter: () => import_filter.default,
|
|
62
61
|
Form: () => import_form.default,
|
|
63
|
-
Grid: () =>
|
|
62
|
+
Grid: () => import_antd14.Grid,
|
|
64
63
|
Icon: () => import_icon.default,
|
|
65
64
|
Iconfont: () => import_iconfont.default,
|
|
66
|
-
Image: () =>
|
|
65
|
+
Image: () => import_antd15.Image,
|
|
67
66
|
Input: () => import_input.default,
|
|
68
|
-
InputNumber: () =>
|
|
67
|
+
InputNumber: () => import_antd16.InputNumber,
|
|
69
68
|
InputNumberRange: () => import_input_number_range.default,
|
|
70
69
|
List: () => import_list.default,
|
|
71
70
|
LowCodePage: () => import_lowCodePage.default,
|
|
72
|
-
Mentions: () =>
|
|
73
|
-
Menu: () =>
|
|
71
|
+
Mentions: () => import_antd19.Mentions,
|
|
72
|
+
Menu: () => import_antd18.Menu,
|
|
74
73
|
Modal: () => import_modal.default,
|
|
75
74
|
Page: () => import_page.default,
|
|
76
|
-
Pagination: () =>
|
|
75
|
+
Pagination: () => import_antd22.Pagination,
|
|
77
76
|
PisellAdjustPrice: () => import_pisellAdjustPrice.default,
|
|
78
77
|
PisellAdjustPriceInputNumber: () => import_PisellAdjustPriceInputNumber.default,
|
|
79
78
|
PisellAlert: () => import_pisellAlert.default,
|
|
@@ -100,16 +99,15 @@ __export(src_exports, {
|
|
|
100
99
|
PisellToast: () => import_pisellToast.default,
|
|
101
100
|
PisellTooltip: () => import_pisellTooltip.default,
|
|
102
101
|
PisellWalletPassCard: () => import_pisellWalletPassCard.default,
|
|
103
|
-
Popconfirm: () =>
|
|
104
|
-
Popover: () =>
|
|
105
|
-
|
|
106
|
-
Progress: () => import_antd24.Progress,
|
|
102
|
+
Popconfirm: () => import_antd23.Popconfirm,
|
|
103
|
+
Popover: () => import_antd24.Popover,
|
|
104
|
+
Progress: () => import_antd25.Progress,
|
|
107
105
|
QRCode: () => import_qrcode.default,
|
|
108
106
|
Radio: () => import_radio.default,
|
|
109
|
-
Rate: () =>
|
|
107
|
+
Rate: () => import_antd26.Rate,
|
|
110
108
|
RecordView: () => import_record_view.default,
|
|
111
|
-
Result: () =>
|
|
112
|
-
Row: () =>
|
|
109
|
+
Result: () => import_antd27.Result,
|
|
110
|
+
Row: () => import_antd28.Row,
|
|
113
111
|
Segmented: () => import_segmented.default,
|
|
114
112
|
Select: () => import_select.default,
|
|
115
113
|
SelectTime: () => import_select_time.default,
|
|
@@ -117,20 +115,20 @@ __export(src_exports, {
|
|
|
117
115
|
Slider: () => import_slider.default,
|
|
118
116
|
Sort: () => import_sort.default,
|
|
119
117
|
SortableList: () => import_sortableList.default,
|
|
120
|
-
Space: () =>
|
|
121
|
-
Spin: () =>
|
|
122
|
-
Statistic: () =>
|
|
123
|
-
Steps: () =>
|
|
124
|
-
Switch: () =>
|
|
118
|
+
Space: () => import_antd29.Space,
|
|
119
|
+
Spin: () => import_antd30.Spin,
|
|
120
|
+
Statistic: () => import_antd20.Statistic,
|
|
121
|
+
Steps: () => import_antd31.Steps,
|
|
122
|
+
Switch: () => import_antd32.Switch,
|
|
125
123
|
Table: () => import_table.default,
|
|
126
124
|
Tabs: () => import_tabs.default,
|
|
127
|
-
Tag: () =>
|
|
125
|
+
Tag: () => import_antd35.Tag,
|
|
128
126
|
TimePicker: () => import_time_picker.default,
|
|
129
|
-
Timeline: () =>
|
|
130
|
-
Tooltip: () =>
|
|
131
|
-
Transfer: () =>
|
|
127
|
+
Timeline: () => import_antd36.Timeline,
|
|
128
|
+
Tooltip: () => import_antd37.Tooltip,
|
|
129
|
+
Transfer: () => import_antd33.Transfer,
|
|
132
130
|
Translation: () => import_translation.default,
|
|
133
|
-
Tree: () =>
|
|
131
|
+
Tree: () => import_antd34.Tree,
|
|
134
132
|
TreeSelect: () => import_tree_select.default,
|
|
135
133
|
Typography: () => import_typography.default,
|
|
136
134
|
Upload: () => import_upload.default,
|
|
@@ -138,10 +136,10 @@ __export(src_exports, {
|
|
|
138
136
|
VirtualKeyboardTime: () => import_Time.default,
|
|
139
137
|
getBankCardTypeImg: () => import_utils.getBankCardTypeImg,
|
|
140
138
|
globalConfig: () => import_context.globalConfig,
|
|
141
|
-
message: () =>
|
|
142
|
-
notification: () =>
|
|
139
|
+
message: () => import_antd17.message,
|
|
140
|
+
notification: () => import_antd21.notification,
|
|
143
141
|
usePisellConfig: () => import_usePisellConfig.default,
|
|
144
|
-
version: () =>
|
|
142
|
+
version: () => import_antd38.version
|
|
145
143
|
});
|
|
146
144
|
module.exports = __toCommonJS(src_exports);
|
|
147
145
|
var import_antd = require("antd");
|
|
@@ -181,6 +179,7 @@ var import_antd34 = require("antd");
|
|
|
181
179
|
var import_antd35 = require("antd");
|
|
182
180
|
var import_antd36 = require("antd");
|
|
183
181
|
var import_antd37 = require("antd");
|
|
182
|
+
var import_antd38 = require("antd");
|
|
184
183
|
var import_typography = __toESM(require("./components/typography"));
|
|
185
184
|
var import_skeleton = __toESM(require("./components/skeleton"));
|
|
186
185
|
var import_checkbox = __toESM(require("./components/checkbox"));
|
|
@@ -215,7 +214,6 @@ var import_qrcode = __toESM(require("./components/qrcode"));
|
|
|
215
214
|
var import_classicLayout = __toESM(require("./components/classicLayout"));
|
|
216
215
|
var import_list = __toESM(require("./components/list"));
|
|
217
216
|
var import_sort = __toESM(require("./components/sort"));
|
|
218
|
-
var import_cardPro = __toESM(require("./components/cardPro"));
|
|
219
217
|
var import_input_number_range = __toESM(require("./components/input-number-range"));
|
|
220
218
|
var import_lowCodePage = __toESM(require("./components/lowCodePage"));
|
|
221
219
|
var import_segmented = __toESM(require("./components/segmented"));
|
|
@@ -254,8 +252,6 @@ var import_pisellAdjustPrice = __toESM(require("./components/pisellAdjustPrice")
|
|
|
254
252
|
var import_PisellAdjustPriceInputNumber = __toESM(require("./components/pisellAdjustPrice/PisellAdjustPriceInputNumber"));
|
|
255
253
|
var import_pisellStatisticList = __toESM(require("./components/pisellStatisticList"));
|
|
256
254
|
var import_pisellFloatingPanel = __toESM(require("./components/pisellFloatingPanel"));
|
|
257
|
-
var import_productCard = __toESM(require("./components/productCard"));
|
|
258
|
-
var import_collapse = __toESM(require("./components/collapse"));
|
|
259
255
|
// Annotate the CommonJS export names for ESM import in node:
|
|
260
256
|
0 && (module.exports = {
|
|
261
257
|
Affix,
|
|
@@ -270,7 +266,6 @@ var import_collapse = __toESM(require("./components/collapse"));
|
|
|
270
266
|
Button,
|
|
271
267
|
Calendar,
|
|
272
268
|
Card,
|
|
273
|
-
CardPro,
|
|
274
269
|
Carousel,
|
|
275
270
|
Cascader,
|
|
276
271
|
Checkbox,
|
|
@@ -331,7 +326,6 @@ var import_collapse = __toESM(require("./components/collapse"));
|
|
|
331
326
|
PisellWalletPassCard,
|
|
332
327
|
Popconfirm,
|
|
333
328
|
Popover,
|
|
334
|
-
ProductCard,
|
|
335
329
|
Progress,
|
|
336
330
|
QRCode,
|
|
337
331
|
Radio,
|
package/lowcode/collapse/meta.ts
CHANGED
|
@@ -63,52 +63,12 @@ export default {
|
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
name: 'ghost',
|
|
66
|
-
title: { label: '
|
|
66
|
+
title: { label: '透明无边框', tip: '使折叠面板透明且无边框' },
|
|
67
67
|
propType: 'bool',
|
|
68
68
|
defaultValue: false,
|
|
69
69
|
setter: 'BoolSetter',
|
|
70
70
|
supportVariable: true
|
|
71
71
|
},
|
|
72
|
-
{
|
|
73
|
-
title: "标题",
|
|
74
|
-
display: "block",
|
|
75
|
-
type: "group",
|
|
76
|
-
items: [
|
|
77
|
-
{
|
|
78
|
-
name: "showHeader",
|
|
79
|
-
title: { label: "标题显隐", tip: "header | 标题显示于隐藏" },
|
|
80
|
-
propType: "bool",
|
|
81
|
-
setter: "BoolSetter",
|
|
82
|
-
defaultValue: true,
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: "headerFontSize",
|
|
86
|
-
title: {
|
|
87
|
-
label: "字号",
|
|
88
|
-
tip: "headerFontSize | 标题字体大小",
|
|
89
|
-
},
|
|
90
|
-
propType: "string",
|
|
91
|
-
setter: "NumberSetter",
|
|
92
|
-
defaultValue: 14,
|
|
93
|
-
condition(target) {
|
|
94
|
-
return !!target.getProps().getPropValue("showHeader");
|
|
95
|
-
},
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
name: "headerColor",
|
|
99
|
-
title: {
|
|
100
|
-
label: "颜色",
|
|
101
|
-
tip: "headerColor | 标题字体颜色",
|
|
102
|
-
},
|
|
103
|
-
propType: "string",
|
|
104
|
-
setter: "ColorSetter",
|
|
105
|
-
defaultValue: "#101828",
|
|
106
|
-
condition(target) {
|
|
107
|
-
return !!target.getProps().getPropValue("showHeader");
|
|
108
|
-
},
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
},
|
|
112
72
|
{
|
|
113
73
|
name: 'collapses',
|
|
114
74
|
title: '折叠项',
|
|
@@ -243,50 +203,6 @@ export default {
|
|
|
243
203
|
],
|
|
244
204
|
},
|
|
245
205
|
},
|
|
246
|
-
{
|
|
247
|
-
title: "自定义面板",
|
|
248
|
-
display: "block",
|
|
249
|
-
type: "group",
|
|
250
|
-
items: [
|
|
251
|
-
{
|
|
252
|
-
name: "panelBackground",
|
|
253
|
-
title: {
|
|
254
|
-
label: "背景色",
|
|
255
|
-
tip: "panelBackground | 面板背景颜色",
|
|
256
|
-
},
|
|
257
|
-
propType: "string",
|
|
258
|
-
setter: 'ColorSetter',
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
name: "panelBorderRadius",
|
|
262
|
-
title: {
|
|
263
|
-
label: "圆角",
|
|
264
|
-
tip: "panelBorderRadius | 面板圆角大小",
|
|
265
|
-
},
|
|
266
|
-
propType: "string",
|
|
267
|
-
setter: "NumberSetter",
|
|
268
|
-
defaultValue: 0,
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
name: "panelMarginBottom",
|
|
272
|
-
title: {
|
|
273
|
-
label: "边距",
|
|
274
|
-
tip: "panelMarginBottom | 每个面板之间的间距",
|
|
275
|
-
},
|
|
276
|
-
propType: "string",
|
|
277
|
-
setter: "NumberSetter",
|
|
278
|
-
defaultValue: 0,
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
name: "expandIcon",
|
|
282
|
-
title: {
|
|
283
|
-
label: "图标",
|
|
284
|
-
tip: "expandIcon | 切换面板图标",
|
|
285
|
-
},
|
|
286
|
-
setter: ['SlotSetter'],
|
|
287
|
-
},
|
|
288
|
-
],
|
|
289
|
-
},
|
|
290
206
|
],
|
|
291
207
|
configure: {
|
|
292
208
|
supports: {
|
|
@@ -171,26 +171,6 @@ export default {
|
|
|
171
171
|
},
|
|
172
172
|
},
|
|
173
173
|
},
|
|
174
|
-
{
|
|
175
|
-
name: "isHideCustomSelect",
|
|
176
|
-
title: {
|
|
177
|
-
label: "是否隐藏自定义范围",
|
|
178
|
-
tip: "isHideCustomSelect | 是否隐藏自定义范围",
|
|
179
|
-
},
|
|
180
|
-
propType: "bool",
|
|
181
|
-
defaultValue: false,
|
|
182
|
-
setter: "BoolSetter",
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
name: "endDateDays",
|
|
186
|
-
title: {
|
|
187
|
-
label: "结束时间在开始时间的几天之后",
|
|
188
|
-
tip: "endDateDays | 结束时间在开始时间的几天之后",
|
|
189
|
-
},
|
|
190
|
-
defaultValue: 0,
|
|
191
|
-
propType: "number",
|
|
192
|
-
setter: "NumberSetter",
|
|
193
|
-
},
|
|
194
174
|
],
|
|
195
175
|
},
|
|
196
176
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.59",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"react-virtualized-auto-sizer": "^1.0.20",
|
|
64
64
|
"crypto-js": "^4.2.0",
|
|
65
65
|
"@zxing/library": "0.21.2",
|
|
66
|
+
"@pisell/utils": "1.0.42",
|
|
66
67
|
"@pisell/icon": "0.0.11",
|
|
67
|
-
"@pisell/date-picker": "1.0.
|
|
68
|
-
"@pisell/utils": "1.0.42"
|
|
68
|
+
"@pisell/date-picker": "1.0.100"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"react": "^18.0.0",
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import React, { useEffect } from 'react';
|
|
2
|
-
import { withWrap } from "../../utils/hoc";
|
|
3
|
-
import { Card, Flex } from 'antd';
|
|
4
|
-
import classNames from 'classnames';
|
|
5
|
-
import "./index.less";
|
|
6
|
-
var CardPro = function CardPro(props) {
|
|
7
|
-
var headTitle = props.headTitle,
|
|
8
|
-
headSubTitle = props.headSubTitle,
|
|
9
|
-
_props$isShowFooter = props.isShowFooter,
|
|
10
|
-
isShowFooter = _props$isShowFooter === void 0 ? true : _props$isShowFooter,
|
|
11
|
-
contentHeight = props.contentHeight,
|
|
12
|
-
children = props.children,
|
|
13
|
-
_props$actionButtons = props.actionButtons,
|
|
14
|
-
actionButtons = _props$actionButtons === void 0 ? [] : _props$actionButtons,
|
|
15
|
-
_props$buttonPosition = props.buttonPosition,
|
|
16
|
-
buttonPosition = _props$buttonPosition === void 0 ? 'center' : _props$buttonPosition,
|
|
17
|
-
cover = props.cover,
|
|
18
|
-
extra = props.extra,
|
|
19
|
-
isShowHead = props.isShowHead,
|
|
20
|
-
className = props.className,
|
|
21
|
-
coverHeight = props.coverHeight,
|
|
22
|
-
badge = props.badge;
|
|
23
|
-
useEffect(function () {
|
|
24
|
-
document.body.id = 'body';
|
|
25
|
-
}, []);
|
|
26
|
-
return /*#__PURE__*/React.createElement(Card, {
|
|
27
|
-
title: null,
|
|
28
|
-
style: {
|
|
29
|
-
padding: 0
|
|
30
|
-
},
|
|
31
|
-
className: classNames('pisell-cardPro-wrap', className, cover && 'pisell-cardPro-wrap-with-cover')
|
|
32
|
-
}, !!cover && /*#__PURE__*/React.createElement("div", {
|
|
33
|
-
className: classNames('pisell-cardPro-cover'),
|
|
34
|
-
style: {
|
|
35
|
-
height: coverHeight
|
|
36
|
-
}
|
|
37
|
-
}, cover, /*#__PURE__*/React.createElement("div", {
|
|
38
|
-
className: classNames('pisell-cardPro-badge')
|
|
39
|
-
}, badge)), isShowHead && /*#__PURE__*/React.createElement(Flex, {
|
|
40
|
-
className: classNames('pisell-cardPro-head'),
|
|
41
|
-
justify: "space-between"
|
|
42
|
-
}, /*#__PURE__*/React.createElement(Flex, {
|
|
43
|
-
style: {
|
|
44
|
-
flex: 1
|
|
45
|
-
},
|
|
46
|
-
vertical: true,
|
|
47
|
-
gap: "middle"
|
|
48
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
49
|
-
className: classNames('pisell-cardPro-head-title')
|
|
50
|
-
}, headTitle), /*#__PURE__*/React.createElement("div", {
|
|
51
|
-
className: classNames('pisell-cardPro-head-subTitle')
|
|
52
|
-
}, headSubTitle)), /*#__PURE__*/React.createElement("div", {
|
|
53
|
-
className: classNames('pisell-cardPro-head-extra')
|
|
54
|
-
}, extra)), /*#__PURE__*/React.createElement(Flex, {
|
|
55
|
-
style: {
|
|
56
|
-
height: contentHeight
|
|
57
|
-
},
|
|
58
|
-
className: classNames('pisell-cardPro-content')
|
|
59
|
-
}, children), isShowFooter && /*#__PURE__*/React.createElement(Flex, {
|
|
60
|
-
gap: 20,
|
|
61
|
-
justify: buttonPosition,
|
|
62
|
-
style: {
|
|
63
|
-
marginTop: 20
|
|
64
|
-
}
|
|
65
|
-
}, actionButtons.map(function (item, index) {
|
|
66
|
-
return item.button;
|
|
67
|
-
})));
|
|
68
|
-
};
|
|
69
|
-
export default withWrap(CardPro);
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
.pisell-cardPro-wrap {
|
|
2
|
-
border-radius: 12px;
|
|
3
|
-
|
|
4
|
-
&.pisell-cardPro-wrap-with-cover {
|
|
5
|
-
.pisell-lowcode-card-body {
|
|
6
|
-
padding-top: 0;
|
|
7
|
-
padding-left: 0;
|
|
8
|
-
padding-right: 0;
|
|
9
|
-
padding-bottom: 24px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.pisell-cardPro-head,
|
|
13
|
-
.pisell-cardPro-content {
|
|
14
|
-
padding: 0 24px;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.pisell-cardPro-cover {
|
|
19
|
-
position: relative;
|
|
20
|
-
|
|
21
|
-
.pisell-cardPro-badge {
|
|
22
|
-
position: absolute;
|
|
23
|
-
right: 0;
|
|
24
|
-
top: 0;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.pisell-cardPro-head {
|
|
29
|
-
padding: 0;
|
|
30
|
-
.pisell-cardPro-head-title {
|
|
31
|
-
font-size: 16px;
|
|
32
|
-
font-weight: 600;
|
|
33
|
-
color: #1a2029;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.pisell-cardPro-head-subtitle {
|
|
37
|
-
font-size: 12px;
|
|
38
|
-
color: #6e8098;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.pisell-cardPro-head-extra {
|
|
42
|
-
width: 150px;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.pisell-cardPro-content {
|
|
47
|
-
overflow-y: auto;
|
|
48
|
-
margin-top: 20px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.pisell-cardPro-content {
|
|
52
|
-
overflow-y: auto;
|
|
53
|
-
margin-top: 20px;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface CollapseProps {
|
|
4
|
-
panelBackground?: string;
|
|
5
|
-
panelMarginBottom?: string | 0;
|
|
6
|
-
panelBorderRadius?: string | 0;
|
|
7
|
-
items: any[];
|
|
8
|
-
showHeader?: boolean;
|
|
9
|
-
headerColor?: string | '#101828';
|
|
10
|
-
headerFontSize?: string | 14;
|
|
11
|
-
expandIcon?: any;
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}
|
|
14
|
-
declare const Collapse: React.FC<CollapseProps>;
|
|
15
|
-
export default Collapse;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
-
var _excluded = ["panelBackground", "panelMarginBottom", "panelBorderRadius", "items", "showHeader", "headerColor", "headerFontSize", "expandIcon"];
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
11
|
-
import React, { useMemo } from 'react';
|
|
12
|
-
import { Collapse as OriginalCollapse } from 'antd';
|
|
13
|
-
import "./index.less";
|
|
14
|
-
var Collapse = function Collapse(props) {
|
|
15
|
-
var panelBackground = props.panelBackground,
|
|
16
|
-
panelMarginBottom = props.panelMarginBottom,
|
|
17
|
-
panelBorderRadius = props.panelBorderRadius,
|
|
18
|
-
items = props.items,
|
|
19
|
-
showHeader = props.showHeader,
|
|
20
|
-
headerColor = props.headerColor,
|
|
21
|
-
headerFontSize = props.headerFontSize,
|
|
22
|
-
expandIcon = props.expandIcon,
|
|
23
|
-
rest = _objectWithoutProperties(props, _excluded);
|
|
24
|
-
|
|
25
|
-
// 自定义样式
|
|
26
|
-
// const CustomCollapse = styled(OriginalCollapse)`
|
|
27
|
-
// .pisell-lowcode-collapse-header {
|
|
28
|
-
// display: flex !important;
|
|
29
|
-
// align-items: center !important;
|
|
30
|
-
// }
|
|
31
|
-
|
|
32
|
-
// .pisell-lowcode-collapse-content {
|
|
33
|
-
// background-color: ${panelBackground ? 'transparent' : '#ffffff'};
|
|
34
|
-
// border-top: ${panelBackground ? '0' : '1px solid #D0D5DD'};
|
|
35
|
-
// }
|
|
36
|
-
// `;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* @title: 自定义面板样式
|
|
40
|
-
* @description:
|
|
41
|
-
* @return {*}
|
|
42
|
-
* @Author: WangHan
|
|
43
|
-
* @Date: 2024-11-25 20:23
|
|
44
|
-
*/
|
|
45
|
-
var panelStyle = {
|
|
46
|
-
marginBottom: panelMarginBottom,
|
|
47
|
-
background: panelBackground,
|
|
48
|
-
borderRadius: panelBorderRadius
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @title: 面板内容
|
|
53
|
-
* @description:
|
|
54
|
-
* @param {*} CollapseProps
|
|
55
|
-
* @return {*}
|
|
56
|
-
* @Author: WangHan
|
|
57
|
-
* @Date: 2024-11-25 20:28
|
|
58
|
-
*/
|
|
59
|
-
var itemsMap = useMemo(function () {
|
|
60
|
-
return items === null || items === void 0 ? void 0 : items.map(function (item) {
|
|
61
|
-
return _objectSpread(_objectSpread({}, item), {}, {
|
|
62
|
-
label: showHeader ? /*#__PURE__*/React.createElement("div", {
|
|
63
|
-
style: {
|
|
64
|
-
color: headerColor,
|
|
65
|
-
fontSize: headerFontSize
|
|
66
|
-
}
|
|
67
|
-
}, item === null || item === void 0 ? void 0 : item.label) : null,
|
|
68
|
-
style: panelStyle
|
|
69
|
-
});
|
|
70
|
-
});
|
|
71
|
-
}, [items, headerColor, showHeader, headerFontSize, panelStyle]);
|
|
72
|
-
return /*#__PURE__*/React.createElement(OriginalCollapse, _extends({}, rest, {
|
|
73
|
-
expandIcon: expandIcon ? function () {
|
|
74
|
-
return expandIcon;
|
|
75
|
-
} : undefined,
|
|
76
|
-
items: itemsMap
|
|
77
|
-
}));
|
|
78
|
-
};
|
|
79
|
-
Collapse.Panel = OriginalCollapse.Panel;
|
|
80
|
-
export default Collapse;
|
|
File without changes
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import classNames from 'classnames';
|
|
3
|
-
import { Button } from 'antd';
|
|
4
|
-
import "./index.less";
|
|
5
|
-
var prefix = 'pisell-lowcode-';
|
|
6
|
-
var Action = function Action(_ref) {
|
|
7
|
-
var item = _ref.item,
|
|
8
|
-
onAction = _ref.onAction;
|
|
9
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
10
|
-
className: classNames("".concat(prefix, "product-actions"))
|
|
11
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
12
|
-
className: classNames("".concat(prefix, "product-actions-item")),
|
|
13
|
-
size: "large",
|
|
14
|
-
onClick: function onClick(e) {
|
|
15
|
-
e.preventDefault();
|
|
16
|
-
e.stopPropagation();
|
|
17
|
-
onAction();
|
|
18
|
-
}
|
|
19
|
-
}, item._actionText));
|
|
20
|
-
};
|
|
21
|
-
export default Action;
|