@pisell/materials 6.11.83 → 6.11.85
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/index.js +1 -1
- package/build/lowcode/preview.js +149 -149
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +18 -18
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +18 -18
- package/es/components/buttonGroupPreview/index.d.ts +19 -0
- package/es/components/buttonGroupPreview/index.js +10 -3
- package/es/components/productCard/cartSkuCard/components/BookingItem/index.d.ts +10 -0
- package/es/components/productCard/cartSkuCard/components/BookingItem/index.js +58 -0
- package/es/components/productCard/cartSkuCard/components/BookingItem/index.less +32 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +12 -3
- package/es/components/productCard/cartSkuCard/components/timeRange/index.js +1 -6
- package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +3 -5
- package/es/components/productCard/cartSkuCard/components/weighing/index.js +7 -18
- package/es/components/productCard/cartSkuCard/index.d.ts +4 -1
- package/es/components/productCard/cartSkuCard/index.js +20 -8
- package/es/components/productCard/lineItem/BookingLineItem.js +7 -17
- package/es/components/productCard/lineItem/components/Resources/index.d.ts +6 -0
- package/es/components/productCard/lineItem/components/Resources/index.js +42 -0
- package/es/components/productCard/lineItem/components/TimeRange/index.d.ts +11 -0
- package/es/components/productCard/lineItem/components/TimeRange/index.js +66 -0
- package/es/components/productCard/lineItem/index.less +21 -10
- package/es/components/table/BasicTable/index.js +2 -2
- package/lib/components/buttonGroupPreview/index.d.ts +19 -0
- package/lib/components/buttonGroupPreview/index.js +24 -17
- package/lib/components/productCard/cartSkuCard/components/BookingItem/index.d.ts +10 -0
- package/lib/components/productCard/cartSkuCard/components/BookingItem/index.js +60 -0
- package/lib/components/productCard/cartSkuCard/components/BookingItem/index.less +32 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +9 -2
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +1 -2
- package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +3 -5
- package/lib/components/productCard/cartSkuCard/components/weighing/index.js +5 -13
- package/lib/components/productCard/cartSkuCard/index.d.ts +4 -1
- package/lib/components/productCard/cartSkuCard/index.js +15 -9
- package/lib/components/productCard/lineItem/BookingLineItem.js +3 -1
- package/lib/components/productCard/lineItem/components/Resources/index.d.ts +6 -0
- package/lib/components/productCard/lineItem/components/Resources/index.js +83 -0
- package/lib/components/productCard/lineItem/components/TimeRange/index.d.ts +11 -0
- package/lib/components/productCard/lineItem/components/TimeRange/index.js +103 -0
- package/lib/components/productCard/lineItem/index.less +21 -10
- package/lib/components/table/BasicTable/index.js +2 -3
- package/package.json +3 -3
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
&__delete-btn {
|
|
19
19
|
width: 34px;
|
|
20
20
|
height: 34px;
|
|
21
|
-
border: 1px solid
|
|
21
|
+
border: 1px solid var(--Gray-300, #d0d5dd);
|
|
22
22
|
border-radius: 8px;
|
|
23
|
-
background:
|
|
24
|
-
color: #
|
|
23
|
+
background: var(--Gray-100, #f2f4f7);
|
|
24
|
+
color: var(--Gray-500, #667085);
|
|
25
25
|
cursor: pointer;
|
|
26
26
|
padding: 0;
|
|
27
27
|
display: inline-flex;
|
|
@@ -87,10 +87,10 @@
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
&__status {
|
|
90
|
-
border: 1px solid
|
|
90
|
+
border: 1px solid rgba(16, 24, 40, 0.12);
|
|
91
91
|
border-radius: 8px;
|
|
92
|
-
background:
|
|
93
|
-
color: #
|
|
92
|
+
background: rgba(255, 255, 255, 0.72);
|
|
93
|
+
color: #101828;
|
|
94
94
|
display: inline-flex;
|
|
95
95
|
align-items: center;
|
|
96
96
|
justify-content: center;
|
|
@@ -103,13 +103,25 @@
|
|
|
103
103
|
line-height: 20px;
|
|
104
104
|
cursor: pointer;
|
|
105
105
|
flex-shrink: 0;
|
|
106
|
+
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
|
|
106
107
|
|
|
107
108
|
.pisell-lowcodeicon-down,
|
|
108
109
|
.anticon {
|
|
109
110
|
font-size: 12px;
|
|
110
111
|
}
|
|
111
112
|
|
|
113
|
+
&:hover,
|
|
114
|
+
&:focus,
|
|
115
|
+
&:active {
|
|
116
|
+
border-color: rgba(16, 24, 40, 0.18);
|
|
117
|
+
background: rgba(255, 255, 255, 0.86);
|
|
118
|
+
color: #101828;
|
|
119
|
+
}
|
|
120
|
+
|
|
112
121
|
&:disabled {
|
|
122
|
+
border-color: rgba(16, 24, 40, 0.12);
|
|
123
|
+
background: rgba(255, 255, 255, 0.72);
|
|
124
|
+
color: #101828;
|
|
113
125
|
cursor: default;
|
|
114
126
|
}
|
|
115
127
|
}
|
|
@@ -130,11 +142,10 @@
|
|
|
130
142
|
}
|
|
131
143
|
|
|
132
144
|
&__booking-detail {
|
|
133
|
-
display:
|
|
134
|
-
|
|
135
|
-
gap:
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: column;
|
|
147
|
+
gap: 4px;
|
|
136
148
|
padding: 8px;
|
|
137
|
-
background: #fff;
|
|
138
149
|
}
|
|
139
150
|
|
|
140
151
|
&__booking-field {
|
|
@@ -71,7 +71,7 @@ var BasicTable = (props) => {
|
|
|
71
71
|
let _page = formPagination.page;
|
|
72
72
|
let _size = formPagination.size || 10;
|
|
73
73
|
let list = [];
|
|
74
|
-
let _total =
|
|
74
|
+
let _total = total;
|
|
75
75
|
if (localPagination) {
|
|
76
76
|
list = (0, import_utils.calcFilterSort)({
|
|
77
77
|
dataSource,
|
|
@@ -95,8 +95,7 @@ var BasicTable = (props) => {
|
|
|
95
95
|
formPagination == null ? void 0 : formPagination.size,
|
|
96
96
|
filter,
|
|
97
97
|
sort,
|
|
98
|
-
other.columns
|
|
99
|
-
pagination == null ? void 0 : pagination.total
|
|
98
|
+
other.columns
|
|
100
99
|
]);
|
|
101
100
|
const total = (0, import_react.useMemo)(() => {
|
|
102
101
|
if (localPagination) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "6.11.
|
|
3
|
+
"version": "6.11.85",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
"antd-mobile": "^5.38.1",
|
|
100
100
|
"vod-js-sdk-v6": "^1.4.11",
|
|
101
101
|
"@pisell/date-picker": "3.0.8",
|
|
102
|
-
"@pisell/
|
|
103
|
-
"@pisell/
|
|
102
|
+
"@pisell/icon": "0.0.11",
|
|
103
|
+
"@pisell/utils": "3.0.2"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
106
|
"react": "^18.0.0",
|