@pisell/private-materials 3.3.65 → 3.3.67
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 +1 -1
- package/build/lowcode/preview.js +13 -13
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +3 -3
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +7 -7
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Voucher/index.less +0 -2
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.js +30 -15
- package/es/components/booking/components/voucher/index.d.ts +0 -1
- package/es/components/booking/components/voucher/index.less +0 -1
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/info/service/addService/index.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/index.d.ts +0 -1
- package/es/components/booking/info2/service/editService/index.js +13 -9
- package/es/components/booking/info2/utilsByBooking.js +17 -10
- package/es/components/booking/utils.js +10 -4
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/es/components/eftposPay/component/fail/index.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/index.d.ts +0 -1
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/store/index.d.ts +3 -3
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
- package/es/components/eventBooking/components/timeResourceSelector/index.less +0 -1
- package/es/components/ruleSetting/index.d.ts +0 -1
- package/es/components/schedules/calendar/index.less +158 -152
- package/es/components/schedules/utils.d.ts +1 -1
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +12 -10
- package/es/components/ticketBooking/components/ticketBooking/index.js +15 -8
- package/es/components/ticketBooking/serve.d.ts +5 -0
- package/es/components/ticketBooking/serve.js +27 -0
- package/es/components/wallet/DiscountCard/index.less +0 -1
- package/es/components/wallet/PointCard/index.less +0 -1
- package/es/components/wallet/RechargeableCard/index.less +5 -9
- package/es/components/wallet/Voucher/index.less +0 -1
- package/es/components/wallet/index.less +0 -4
- package/es/components/walletList/index.less +17 -15
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/utils/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Voucher/index.less +0 -2
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.js +14 -2
- package/lib/components/booking/components/voucher/index.d.ts +0 -1
- package/lib/components/booking/components/voucher/index.less +0 -1
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/info/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info2/service/editService/index.js +7 -3
- package/lib/components/booking/info2/utilsByBooking.js +7 -9
- package/lib/components/booking/utils.js +7 -3
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/index.d.ts +0 -1
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/store/index.d.ts +3 -3
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
- package/lib/components/eventBooking/components/timeResourceSelector/index.less +0 -1
- package/lib/components/ruleSetting/index.d.ts +0 -1
- package/lib/components/schedules/calendar/index.less +158 -152
- package/lib/components/schedules/utils.d.ts +1 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +5 -3
- package/lib/components/ticketBooking/components/ticketBooking/index.js +14 -7
- package/lib/components/ticketBooking/serve.d.ts +5 -0
- package/lib/components/ticketBooking/serve.js +8 -2
- package/lib/components/wallet/DiscountCard/index.less +0 -1
- package/lib/components/wallet/PointCard/index.less +0 -1
- package/lib/components/wallet/RechargeableCard/index.less +5 -9
- package/lib/components/wallet/Voucher/index.less +0 -1
- package/lib/components/wallet/index.less +0 -4
- package/lib/components/walletList/index.less +17 -15
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/utils/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,167 +1,173 @@
|
|
|
1
1
|
.calender-box {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
2
|
+
padding: 0 10px;
|
|
3
|
+
|
|
4
|
+
.calender-year-wrap {
|
|
5
|
+
position: relative;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.calender-year {
|
|
9
|
+
padding: 20px 0;
|
|
10
|
+
color: #000;
|
|
11
|
+
font-size: 36px;
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-weight: 500;
|
|
14
|
+
line-height: 44px;
|
|
15
|
+
letter-spacing: -0.72px;
|
|
16
|
+
background-color: #fff;
|
|
17
|
+
position: sticky;
|
|
18
|
+
top: 0;
|
|
19
|
+
z-index: 1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.caleddar-month {
|
|
23
|
+
color: #344054;
|
|
24
|
+
font-size: 16px;
|
|
25
|
+
font-style: normal;
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
line-height: 24px;
|
|
28
|
+
margin-bottom: 4px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// antd calendar样式修改
|
|
32
|
+
.ant-picker-panel {
|
|
33
|
+
border-top: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.pisell-lowcode-picker-cell {
|
|
37
|
+
padding: 0;
|
|
38
|
+
border-top: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.cell-size {
|
|
42
|
+
width: 40px;
|
|
43
|
+
height: 40px;
|
|
44
|
+
padding: 4px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.date-cell {
|
|
48
|
+
.cell-size ();
|
|
49
|
+
text-align: center;
|
|
50
|
+
line-height: 50px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ant-picker-content th {
|
|
54
|
+
.date-cell();
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.caleddar-date-cell {
|
|
58
|
+
.cell-size ();
|
|
59
|
+
position: relative;
|
|
60
|
+
border-radius: 50%;
|
|
61
|
+
|
|
62
|
+
&.select {
|
|
63
|
+
background-color: #fedf89;
|
|
64
|
+
padding: 4px;
|
|
32
65
|
}
|
|
33
66
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
67
|
+
&.excluded {
|
|
68
|
+
&::after {
|
|
69
|
+
content: '';
|
|
70
|
+
position: absolute;
|
|
71
|
+
top: 0%;
|
|
72
|
+
left: 0%;
|
|
73
|
+
width: 100%;
|
|
74
|
+
height: 100%;
|
|
75
|
+
background: linear-gradient(
|
|
76
|
+
-45deg,
|
|
77
|
+
#ffffff 25%,
|
|
78
|
+
transparent 25%,
|
|
79
|
+
transparent 50%,
|
|
80
|
+
#ffffff 50%,
|
|
81
|
+
#ffffff 75%,
|
|
82
|
+
transparent 75%,
|
|
83
|
+
transparent
|
|
84
|
+
);
|
|
85
|
+
background-size: 10px 10px;
|
|
86
|
+
}
|
|
37
87
|
}
|
|
38
88
|
|
|
39
|
-
.
|
|
40
|
-
|
|
41
|
-
|
|
89
|
+
.caleddar-date {
|
|
90
|
+
color: #101828;
|
|
91
|
+
border-radius: 50%;
|
|
92
|
+
width: 100%;
|
|
93
|
+
height: 100%;
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
justify-content: center;
|
|
97
|
+
|
|
98
|
+
&.has-status {
|
|
99
|
+
color: #ffffff;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&.disabled-date {
|
|
103
|
+
color: #7d89b0;
|
|
104
|
+
}
|
|
42
105
|
}
|
|
106
|
+
}
|
|
43
107
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.date-cell {
|
|
51
|
-
.cell-size ();
|
|
52
|
-
text-align: center;
|
|
53
|
-
line-height: 50px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.ant-picker-content th {
|
|
57
|
-
.date-cell()
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.caleddar-date-cell {
|
|
61
|
-
.cell-size ();
|
|
62
|
-
position: relative;
|
|
63
|
-
border-radius: 50%;
|
|
64
|
-
|
|
65
|
-
&.select {
|
|
66
|
-
background-color: #FEDF89;
|
|
67
|
-
padding: 4px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&.excluded {
|
|
71
|
-
&::after {
|
|
72
|
-
content: '';
|
|
73
|
-
position: absolute;
|
|
74
|
-
top: 0%;
|
|
75
|
-
left: 0%;
|
|
76
|
-
width: 100%;
|
|
77
|
-
height: 100%;
|
|
78
|
-
background: linear-gradient(-45deg, #ffffff 25%, transparent 25%, transparent 50%, #ffffff 50%, #ffffff 75%, transparent 75%, transparent);
|
|
79
|
-
background-size: 10px 10px;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.caleddar-date {
|
|
84
|
-
color: #101828;
|
|
85
|
-
border-radius: 50%;
|
|
86
|
-
width: 100%;
|
|
87
|
-
height: 100%;
|
|
88
|
-
display: flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
justify-content: center;
|
|
91
|
-
|
|
92
|
-
&.has-status {
|
|
93
|
-
color: #ffffff;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&.disabled-date {
|
|
97
|
-
color: #7D89B0;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.ant-picker-cell {
|
|
103
|
-
padding: 0;
|
|
104
|
-
.cell-size ();
|
|
105
|
-
}
|
|
108
|
+
.ant-picker-cell {
|
|
109
|
+
padding: 0;
|
|
110
|
+
.cell-size ();
|
|
111
|
+
}
|
|
106
112
|
}
|
|
107
113
|
|
|
108
114
|
// 布局
|
|
109
115
|
.month-list {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
.month-item-box {
|
|
115
|
-
display: flex;
|
|
116
|
-
// &.month-item-1 {
|
|
117
|
-
// justify-content: center;
|
|
118
|
-
// }
|
|
119
|
-
|
|
120
|
-
// &.month-item-2 {
|
|
121
|
-
// justify-content: center;
|
|
122
|
-
// }
|
|
123
|
-
|
|
124
|
-
// &.month-item-3 {
|
|
125
|
-
// &:nth-child(1n) {
|
|
126
|
-
// justify-content: flex-start;
|
|
127
|
-
// }
|
|
128
|
-
|
|
129
|
-
// &:nth-child(2n) {
|
|
130
|
-
// justify-content: center;
|
|
131
|
-
// }
|
|
132
|
-
|
|
133
|
-
// &:nth-child(3n) {
|
|
134
|
-
// justify-content: flex-end;
|
|
135
|
-
// }
|
|
136
|
-
// }
|
|
137
|
-
|
|
138
|
-
// &.month-item-4 {
|
|
139
|
-
// &:nth-child(1n) {
|
|
140
|
-
// justify-content: flex-start;
|
|
141
|
-
// }
|
|
142
|
-
|
|
143
|
-
// &:nth-child(2n) {
|
|
144
|
-
// justify-content: center;
|
|
145
|
-
// }
|
|
146
|
-
|
|
147
|
-
// &:nth-child(3n) {
|
|
148
|
-
// justify-content: center;
|
|
149
|
-
// }
|
|
150
|
-
|
|
151
|
-
// &:nth-child(4n) {
|
|
152
|
-
// justify-content: flex-end;
|
|
153
|
-
// }
|
|
154
|
-
// }
|
|
155
|
-
}
|
|
116
|
+
display: flex;
|
|
117
|
+
flex-wrap: wrap;
|
|
118
|
+
justify-content: space-around;
|
|
156
119
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
120
|
+
.month-item-box {
|
|
121
|
+
display: flex;
|
|
122
|
+
// &.month-item-1 {
|
|
123
|
+
// justify-content: center;
|
|
124
|
+
// }
|
|
125
|
+
|
|
126
|
+
// &.month-item-2 {
|
|
127
|
+
// justify-content: center;
|
|
128
|
+
// }
|
|
129
|
+
|
|
130
|
+
// &.month-item-3 {
|
|
131
|
+
// &:nth-child(1n) {
|
|
132
|
+
// justify-content: flex-start;
|
|
133
|
+
// }
|
|
134
|
+
|
|
135
|
+
// &:nth-child(2n) {
|
|
136
|
+
// justify-content: center;
|
|
137
|
+
// }
|
|
138
|
+
|
|
139
|
+
// &:nth-child(3n) {
|
|
140
|
+
// justify-content: flex-end;
|
|
141
|
+
// }
|
|
142
|
+
// }
|
|
143
|
+
|
|
144
|
+
// &.month-item-4 {
|
|
145
|
+
// &:nth-child(1n) {
|
|
146
|
+
// justify-content: flex-start;
|
|
147
|
+
// }
|
|
148
|
+
|
|
149
|
+
// &:nth-child(2n) {
|
|
150
|
+
// justify-content: center;
|
|
151
|
+
// }
|
|
152
|
+
|
|
153
|
+
// &:nth-child(3n) {
|
|
154
|
+
// justify-content: center;
|
|
155
|
+
// }
|
|
156
|
+
|
|
157
|
+
// &:nth-child(4n) {
|
|
158
|
+
// justify-content: flex-end;
|
|
159
|
+
// }
|
|
160
|
+
// }
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.month-item {
|
|
164
|
+
width: 280px;
|
|
165
|
+
margin: 10px;
|
|
166
|
+
}
|
|
161
167
|
}
|
|
162
168
|
|
|
163
169
|
.pisell-lowcode-picker-cell-disabled {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}
|
|
170
|
+
&::before {
|
|
171
|
+
display: none;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -17,6 +17,6 @@ declare let modal: Omit<ModalStaticFunctions, "warn">;
|
|
|
17
17
|
export declare const setModal: (m: Omit<ModalStaticFunctions, "warn">) => void;
|
|
18
18
|
export declare const saveConfirm: () => Promise<{
|
|
19
19
|
destroy: () => void;
|
|
20
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
20
|
+
update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
|
|
21
21
|
}>;
|
|
22
22
|
export { modal };
|
|
@@ -67,6 +67,8 @@ var AddSerivce = (props) => {
|
|
|
67
67
|
state == null ? void 0 : state.renderType
|
|
68
68
|
);
|
|
69
69
|
const [currentProduct, setCurrentProduct] = (0, import_react.useState)(null);
|
|
70
|
+
const stateRef = (0, import_react.useRef)(state);
|
|
71
|
+
stateRef.current = state;
|
|
70
72
|
const menuList = (0, import_react.useMemo)(() => {
|
|
71
73
|
var _a2, _b2, _c2;
|
|
72
74
|
return ((_c2 = (_b2 = (_a2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a2.config) == null ? void 0 : _b2.menu_list_tab) == null ? void 0 : _c2.menu_list) || [];
|
|
@@ -124,13 +126,13 @@ var AddSerivce = (props) => {
|
|
|
124
126
|
});
|
|
125
127
|
};
|
|
126
128
|
const removeNotAvailableService = (list) => {
|
|
127
|
-
var _a2, _b2, _c2;
|
|
128
|
-
if (!((_b2 = (_a2 =
|
|
129
|
+
var _a2, _b2, _c2, _d2, _e2;
|
|
130
|
+
if (!((_c2 = (_b2 = (_a2 = stateRef.current) == null ? void 0 : _a2.service) == null ? void 0 : _b2.value) == null ? void 0 : _c2.length)) return;
|
|
129
131
|
const listMap = list.reduce((acc, cur) => {
|
|
130
132
|
acc[cur.id] = cur;
|
|
131
133
|
return acc;
|
|
132
134
|
}, {});
|
|
133
|
-
const newValue = (((
|
|
135
|
+
const newValue = (((_e2 = (_d2 = stateRef.current) == null ? void 0 : _d2.service) == null ? void 0 : _e2.value) || []).filter(
|
|
134
136
|
(item) => listMap[item.product_id]
|
|
135
137
|
);
|
|
136
138
|
dispatch({
|
|
@@ -57,7 +57,7 @@ var TicketBooking = () => {
|
|
|
57
57
|
const _timerRef = (0, import_react.useRef)();
|
|
58
58
|
const _callbackFnRef = (0, import_react.useRef)();
|
|
59
59
|
(0, import_react.useEffect)(() => {
|
|
60
|
-
var _a2, _b, _c, _d, _e;
|
|
60
|
+
var _a2, _b, _c, _d, _e, _f;
|
|
61
61
|
_persistentRef.current = storage.get(`drawer-booking`) === "true" ? true : isTerminal();
|
|
62
62
|
if (lowcodeRef) {
|
|
63
63
|
lowcodeRef.onReady(void 0);
|
|
@@ -95,10 +95,15 @@ var TicketBooking = () => {
|
|
|
95
95
|
"booking",
|
|
96
96
|
"refreshBookingDetail",
|
|
97
97
|
(type, orderId) => {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
98
|
+
_initFn(() => {
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
);
|
|
102
|
+
(_f = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _f.mountFunction(
|
|
103
|
+
"booking",
|
|
104
|
+
"voidBooking",
|
|
105
|
+
(orderId) => {
|
|
106
|
+
(0, import_serve.voidAppointment)(orderId);
|
|
102
107
|
}
|
|
103
108
|
);
|
|
104
109
|
return () => {
|
|
@@ -645,8 +650,10 @@ var TicketBooking = () => {
|
|
|
645
650
|
}
|
|
646
651
|
);
|
|
647
652
|
};
|
|
648
|
-
const _callback = (data) => {
|
|
649
|
-
|
|
653
|
+
const _callback = (data, type) => {
|
|
654
|
+
if (isTerminal() && type === "checkout") {
|
|
655
|
+
return;
|
|
656
|
+
}
|
|
650
657
|
setState({
|
|
651
658
|
createCount: state.createCount + 1
|
|
652
659
|
});
|
|
@@ -280,3 +280,8 @@ export declare const getOrderInfoByCode: (params: any) => Promise<any>;
|
|
|
280
280
|
* @Date: 2025-04-24 16:28
|
|
281
281
|
*/
|
|
282
282
|
export declare const getClientsEs: (params: any) => Promise<any>;
|
|
283
|
+
/**
|
|
284
|
+
* 作废2.0预约订单
|
|
285
|
+
* @param order_id
|
|
286
|
+
*/
|
|
287
|
+
export declare const voidAppointment: (order_id: number) => Promise<any>;
|
|
@@ -48,7 +48,8 @@ __export(serve_exports, {
|
|
|
48
48
|
getServices: () => getServices,
|
|
49
49
|
removeNoteByOrder: () => removeNoteByOrder,
|
|
50
50
|
saveAddonsByOrderId: () => saveAddonsByOrderId,
|
|
51
|
-
saveBookingFormData: () => saveBookingFormData
|
|
51
|
+
saveBookingFormData: () => saveBookingFormData,
|
|
52
|
+
voidAppointment: () => voidAppointment
|
|
52
53
|
});
|
|
53
54
|
module.exports = __toCommonJS(serve_exports);
|
|
54
55
|
var import_utils = require("./../../utils");
|
|
@@ -183,6 +184,10 @@ var getClientsEs = async (params) => {
|
|
|
183
184
|
let { data } = await import_utils.request.getRequest().get(prefix + "/customer/es/data", params);
|
|
184
185
|
return data;
|
|
185
186
|
};
|
|
187
|
+
var voidAppointment = async (order_id) => {
|
|
188
|
+
let { data } = await import_utils.request.getRequest().put(prefix + `/order/void/appointment/${order_id}`, {});
|
|
189
|
+
return data;
|
|
190
|
+
};
|
|
186
191
|
// Annotate the CommonJS export names for ESM import in node:
|
|
187
192
|
0 && (module.exports = {
|
|
188
193
|
addNotesByOrder,
|
|
@@ -214,5 +219,6 @@ var getClientsEs = async (params) => {
|
|
|
214
219
|
getServices,
|
|
215
220
|
removeNoteByOrder,
|
|
216
221
|
saveAddonsByOrderId,
|
|
217
|
-
saveBookingFormData
|
|
222
|
+
saveBookingFormData,
|
|
223
|
+
voidAppointment
|
|
218
224
|
});
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
color: var(--Gray-900, #101828);
|
|
21
21
|
|
|
22
22
|
/* Paragraph/Semi Bold */
|
|
23
|
-
font-family: Inter;
|
|
24
23
|
font-size: 14px;
|
|
25
24
|
font-style: normal;
|
|
26
25
|
font-weight: 600;
|
|
@@ -36,7 +35,6 @@
|
|
|
36
35
|
text-overflow: ellipsis;
|
|
37
36
|
|
|
38
37
|
/* Small/Regular */
|
|
39
|
-
font-family: Inter;
|
|
40
38
|
font-size: 12px;
|
|
41
39
|
font-style: normal;
|
|
42
40
|
font-weight: 400;
|
|
@@ -55,7 +53,6 @@
|
|
|
55
53
|
text-overflow: ellipsis;
|
|
56
54
|
|
|
57
55
|
/* Text md/Semibold */
|
|
58
|
-
font-family: Inter;
|
|
59
56
|
font-size: 16px;
|
|
60
57
|
font-style: normal;
|
|
61
58
|
font-weight: 600;
|
|
@@ -66,8 +63,8 @@
|
|
|
66
63
|
}
|
|
67
64
|
|
|
68
65
|
.pisell-card-selected {
|
|
69
|
-
border: 1px solid var(--theme-color, #
|
|
70
|
-
background: var(--Primary-50, #
|
|
66
|
+
border: 1px solid var(--theme-color, #7f56d9);
|
|
67
|
+
background: var(--Primary-50, #f9f5ff);
|
|
71
68
|
}
|
|
72
69
|
|
|
73
70
|
.pisell-card-item:last-child {
|
|
@@ -78,7 +75,6 @@
|
|
|
78
75
|
// 充值卡标题
|
|
79
76
|
&-title {
|
|
80
77
|
color: var(--Gray-900, #101828);
|
|
81
|
-
font-family: Inter;
|
|
82
78
|
font-size: 20px;
|
|
83
79
|
font-style: normal;
|
|
84
80
|
font-weight: 600;
|
|
@@ -104,9 +100,9 @@
|
|
|
104
100
|
margin-bottom: 16px;
|
|
105
101
|
cursor: pointer;
|
|
106
102
|
}
|
|
107
|
-
|
|
103
|
+
|
|
108
104
|
.pisell-card-selected {
|
|
109
|
-
border: 1px solid var(--theme-color, #
|
|
110
|
-
background: var(--Primary-50, #
|
|
105
|
+
border: 1px solid var(--theme-color, #7f56d9);
|
|
106
|
+
background: var(--Primary-50, #f9f5ff);
|
|
111
107
|
}
|
|
112
108
|
}
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
color: var(--Gray-900, #101828);
|
|
19
19
|
|
|
20
20
|
/* Display sm/Semibold */
|
|
21
|
-
font-family: Inter;
|
|
22
21
|
font-size: 30px;
|
|
23
22
|
font-style: normal;
|
|
24
23
|
font-weight: 600;
|
|
@@ -53,7 +52,6 @@
|
|
|
53
52
|
text-align: center;
|
|
54
53
|
|
|
55
54
|
/* Text sm/Semibold */
|
|
56
|
-
font-family: Inter;
|
|
57
55
|
font-size: 14px;
|
|
58
56
|
font-style: normal;
|
|
59
57
|
font-weight: 600;
|
|
@@ -89,7 +87,6 @@
|
|
|
89
87
|
}
|
|
90
88
|
.pisell-lowcode-wallet-title {
|
|
91
89
|
color: var(--Gray-900, #101828);
|
|
92
|
-
font-family: Inter;
|
|
93
90
|
font-size: 30px;
|
|
94
91
|
font-style: normal;
|
|
95
92
|
font-weight: 600;
|
|
@@ -117,7 +114,6 @@
|
|
|
117
114
|
color: var(--Gray-900, #101828);
|
|
118
115
|
|
|
119
116
|
/* Text md/Medium */
|
|
120
|
-
font-family: Inter;
|
|
121
117
|
font-size: 16px;
|
|
122
118
|
font-style: normal;
|
|
123
119
|
font-weight: 500;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
opacity: 1;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
>div {
|
|
34
|
+
> div {
|
|
35
35
|
height: 100%;
|
|
36
36
|
margin: 0;
|
|
37
37
|
padding: 0;
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
cursor: pointer;
|
|
216
216
|
width: 44px;
|
|
217
217
|
height: 44px;
|
|
218
|
-
background-color: #
|
|
218
|
+
background-color: #ffffff;
|
|
219
219
|
border-radius: 50%;
|
|
220
220
|
display: flex;
|
|
221
221
|
padding: 10px;
|
|
@@ -224,9 +224,10 @@
|
|
|
224
224
|
justify-content: center;
|
|
225
225
|
cursor: pointer;
|
|
226
226
|
border-radius: 22px;
|
|
227
|
-
background: rgba(255, 255, 255, 0.
|
|
227
|
+
background: rgba(255, 255, 255, 0.9);
|
|
228
228
|
backdrop-filter: blur(4px);
|
|
229
|
-
box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
|
|
229
|
+
box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
|
|
230
|
+
0px 1px 3px rgba(16, 24, 40, 0.1);
|
|
230
231
|
z-index: 10;
|
|
231
232
|
position: relative;
|
|
232
233
|
/* 确保相对定位 */
|
|
@@ -244,8 +245,9 @@
|
|
|
244
245
|
}
|
|
245
246
|
|
|
246
247
|
&:hover {
|
|
247
|
-
background-color: #
|
|
248
|
-
box-shadow: 0px 3px 6px rgba(16, 24, 40, 0.15),
|
|
248
|
+
background-color: #ffffff;
|
|
249
|
+
box-shadow: 0px 3px 6px rgba(16, 24, 40, 0.15),
|
|
250
|
+
0px 2px 4px rgba(16, 24, 40, 0.1);
|
|
249
251
|
}
|
|
250
252
|
|
|
251
253
|
&.disabled {
|
|
@@ -253,7 +255,8 @@
|
|
|
253
255
|
opacity: 0.7;
|
|
254
256
|
|
|
255
257
|
&:hover {
|
|
256
|
-
box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
|
|
258
|
+
box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
|
|
259
|
+
0px 1px 3px rgba(16, 24, 40, 0.1);
|
|
257
260
|
}
|
|
258
261
|
}
|
|
259
262
|
|
|
@@ -269,17 +272,18 @@
|
|
|
269
272
|
justify-content: center;
|
|
270
273
|
padding: 12px;
|
|
271
274
|
border-radius: 17px;
|
|
272
|
-
background: rgba(255, 255, 255, 0.
|
|
275
|
+
background: rgba(255, 255, 255, 0.9);
|
|
273
276
|
backdrop-filter: blur(4px);
|
|
274
277
|
height: 34px;
|
|
275
278
|
z-index: 100;
|
|
276
|
-
box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
|
|
279
|
+
box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
|
|
280
|
+
0px 1px 3px rgba(16, 24, 40, 0.1);
|
|
277
281
|
|
|
278
282
|
.wallet-dot {
|
|
279
283
|
width: 10px;
|
|
280
284
|
height: 10px;
|
|
281
285
|
border-radius: 50%;
|
|
282
|
-
background-color: #
|
|
286
|
+
background-color: #f2f4f7;
|
|
283
287
|
margin: 0 8px;
|
|
284
288
|
transition: all 0.3s ease;
|
|
285
289
|
|
|
@@ -287,7 +291,7 @@
|
|
|
287
291
|
width: 8px;
|
|
288
292
|
height: 8px;
|
|
289
293
|
border-radius: 4px;
|
|
290
|
-
background-color: #
|
|
294
|
+
background-color: #6941c6;
|
|
291
295
|
}
|
|
292
296
|
}
|
|
293
297
|
}
|
|
@@ -297,14 +301,13 @@
|
|
|
297
301
|
display: flex;
|
|
298
302
|
align-items: center;
|
|
299
303
|
justify-content: center;
|
|
300
|
-
color: #
|
|
304
|
+
color: #ffffff;
|
|
301
305
|
min-width: 70px;
|
|
302
306
|
text-align: center;
|
|
303
307
|
|
|
304
308
|
color: var(--Gray-500, #667085);
|
|
305
309
|
|
|
306
310
|
/* Text xl/Semibold */
|
|
307
|
-
font-family: Inter;
|
|
308
311
|
font-size: 20px;
|
|
309
312
|
font-style: normal;
|
|
310
313
|
font-weight: 600;
|
|
@@ -345,7 +348,6 @@
|
|
|
345
348
|
}
|
|
346
349
|
}
|
|
347
350
|
|
|
348
|
-
|
|
349
351
|
.pisell-lowcode__error {
|
|
350
352
|
text-align: center;
|
|
351
353
|
padding: 20px;
|
|
@@ -364,4 +366,4 @@
|
|
|
364
366
|
.pisell-wallet-skeleton {
|
|
365
367
|
padding: 16px;
|
|
366
368
|
}
|
|
367
|
-
}
|
|
369
|
+
}
|
package/lib/utils/index.d.ts
CHANGED
|
@@ -18,6 +18,6 @@ declare let modal: Omit<ModalStaticFunctions, 'warn'>;
|
|
|
18
18
|
export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
|
|
19
19
|
export declare const saveConfirm: () => Promise<{
|
|
20
20
|
destroy: () => void;
|
|
21
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
21
|
+
update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
|
|
22
22
|
}>;
|
|
23
23
|
export { modal };
|