@pisell/private-materials 3.4.151 → 3.4.153
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/meta.js +1 -1
- 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/es/components/scanOrder/components/Content/index.js +14 -2
- package/es/components/scanOrder/components/ExitConfirmModal/index.js +84 -0
- package/es/components/scanOrder/components/ExitConfirmModal/index.less +182 -0
- package/es/components/scanOrder/locales.js +20 -0
- package/es/index.js +1 -0
- package/es/plus/pisellReservation/data/bookingToReservationTables.js +1 -1
- package/es/plus/pisellReservation/floorMap/floorPlanApi.js +1 -1
- package/es/plus/pisellReservation/floorMap/reservationMock.js +1 -1
- package/es/plus/pisellReservation/index.js +17 -0
- package/es/plus/saasDevice/devicePasscodes/model.js +4 -4
- package/es/plus/walletPassGallery/components/timelineSection/index.js +4 -4
- package/es/pro/Login2.0/AuthModal.d.ts +1 -1
- package/es/pro/Login2.0/index.d.ts +2 -1
- package/es/pro/Login2.0/shared/types.d.ts +1 -1
- package/lib/components/scanOrder/components/Content/index.js +14 -2
- package/lib/components/scanOrder/components/ExitConfirmModal/index.js +86 -0
- package/lib/components/scanOrder/components/ExitConfirmModal/index.less +182 -0
- package/lib/components/scanOrder/locales.js +20 -0
- package/package.json +3 -3
- package/es/private-materials/lowcode/authmodal/meta.d.ts +0 -1
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
.pisell-scan-order-exit-root {
|
|
2
|
+
--exit-accent: var(--theme-color);
|
|
3
|
+
--exit-surface: #fff;
|
|
4
|
+
--exit-visual-surface: #f5f5f5;
|
|
5
|
+
--exit-illustration-surface: #fff;
|
|
6
|
+
--exit-heading: #101828;
|
|
7
|
+
--exit-description: #475467;
|
|
8
|
+
--exit-border: rgba(0, 0, 0, 0.12);
|
|
9
|
+
--exit-action-border: var(--exit-accent);
|
|
10
|
+
--exit-mask: rgba(0, 0, 0, 0.45);
|
|
11
|
+
--exit-shadow: rgba(0, 0, 0, 0.2);
|
|
12
|
+
|
|
13
|
+
.pisell-scan-order-exit-mask {
|
|
14
|
+
background: var(--exit-mask);
|
|
15
|
+
backdrop-filter: blur(4px);
|
|
16
|
+
-webkit-backdrop-filter: blur(4px);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.pisell-scan-order-exit-wrap {
|
|
20
|
+
padding: max(16px, env(safe-area-inset-top)) 0 max(16px, env(safe-area-inset-bottom));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.pisell-scan-order-exit {
|
|
24
|
+
max-width: calc(100vw - 32px);
|
|
25
|
+
padding-bottom: 0;
|
|
26
|
+
color: var(--exit-heading);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.pisell-scan-order-exit-content {
|
|
30
|
+
max-height: calc(100vh - 32px);
|
|
31
|
+
max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
|
|
32
|
+
overflow-y: auto;
|
|
33
|
+
overscroll-behavior: contain;
|
|
34
|
+
padding: 20px;
|
|
35
|
+
border: 1px solid var(--exit-border);
|
|
36
|
+
border-radius: 24px;
|
|
37
|
+
background: var(--exit-surface);
|
|
38
|
+
box-shadow: 0 24px 64px var(--exit-shadow);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.pisell-scan-order-exit-header {
|
|
42
|
+
margin: 0;
|
|
43
|
+
background: transparent;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.pisell-scan-order-exit-close {
|
|
47
|
+
top: 12px;
|
|
48
|
+
inset-inline-end: 12px;
|
|
49
|
+
width: 40px;
|
|
50
|
+
height: 40px;
|
|
51
|
+
color: var(--exit-heading);
|
|
52
|
+
border: 1px solid var(--exit-border);
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
background: var(--exit-illustration-surface);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.pisell-scan-order-exit-visual {
|
|
58
|
+
display: grid;
|
|
59
|
+
place-items: center;
|
|
60
|
+
min-height: 128px;
|
|
61
|
+
padding: 8px 32px;
|
|
62
|
+
border-radius: 16px;
|
|
63
|
+
background: var(--exit-visual-surface);
|
|
64
|
+
color: var(--exit-accent);
|
|
65
|
+
|
|
66
|
+
svg {
|
|
67
|
+
display: block;
|
|
68
|
+
width: 200px;
|
|
69
|
+
max-width: 100%;
|
|
70
|
+
height: 120px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.pisell-scan-order-exit-heading {
|
|
75
|
+
margin: 24px 0 12px;
|
|
76
|
+
color: var(--exit-heading);
|
|
77
|
+
font-size: 26px;
|
|
78
|
+
font-weight: 700;
|
|
79
|
+
line-height: 1.25;
|
|
80
|
+
text-align: center;
|
|
81
|
+
overflow-wrap: anywhere;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.pisell-scan-order-exit-description {
|
|
85
|
+
margin: 0 0 24px;
|
|
86
|
+
color: var(--exit-description);
|
|
87
|
+
font-size: 15px;
|
|
88
|
+
line-height: 1.7;
|
|
89
|
+
text-align: center;
|
|
90
|
+
overflow-wrap: anywhere;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.pisell-scan-order-exit-actions {
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
gap: 10px;
|
|
97
|
+
|
|
98
|
+
button {
|
|
99
|
+
width: 100%;
|
|
100
|
+
min-height: 48px;
|
|
101
|
+
padding: 12px 20px;
|
|
102
|
+
border: 1px solid transparent;
|
|
103
|
+
border-radius: 999px;
|
|
104
|
+
font: inherit;
|
|
105
|
+
font-size: 16px;
|
|
106
|
+
font-weight: 600;
|
|
107
|
+
line-height: 1.5;
|
|
108
|
+
white-space: normal;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
touch-action: manipulation;
|
|
111
|
+
-webkit-tap-highlight-color: transparent;
|
|
112
|
+
|
|
113
|
+
&:focus-visible {
|
|
114
|
+
outline: 3px solid var(--exit-accent);
|
|
115
|
+
outline-offset: 3px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:active {
|
|
119
|
+
opacity: 0.8;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.pisell-scan-order-exit-continue {
|
|
124
|
+
color: #fff;
|
|
125
|
+
background: var(--exit-accent);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.pisell-scan-order-exit-leave {
|
|
129
|
+
color: var(--exit-heading);
|
|
130
|
+
border-color: var(--exit-action-border);
|
|
131
|
+
background: transparent;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@media (max-width: 360px), (max-height: 700px) {
|
|
137
|
+
.pisell-scan-order-exit-root {
|
|
138
|
+
.pisell-scan-order-exit-content {
|
|
139
|
+
padding: 16px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.pisell-scan-order-exit-visual {
|
|
143
|
+
min-height: 96px;
|
|
144
|
+
|
|
145
|
+
svg {
|
|
146
|
+
height: 96px;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.pisell-scan-order-exit-heading {
|
|
151
|
+
margin-top: 18px;
|
|
152
|
+
font-size: 24px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.pisell-scan-order-exit-description {
|
|
156
|
+
margin-bottom: 20px;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@media (prefers-reduced-motion: reduce) {
|
|
162
|
+
.pisell-scan-order-exit-root {
|
|
163
|
+
.pisell-scan-order-exit,
|
|
164
|
+
.pisell-scan-order-exit-mask {
|
|
165
|
+
animation: none !important;
|
|
166
|
+
transition: none !important;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
@supports (color: color-mix(in srgb, black, white)) {
|
|
172
|
+
.pisell-scan-order-exit-root {
|
|
173
|
+
--exit-surface: color-mix(in srgb, var(--exit-accent) 10%, white);
|
|
174
|
+
--exit-visual-surface: color-mix(in srgb, var(--exit-accent) 7%, white);
|
|
175
|
+
--exit-illustration-surface: color-mix(in srgb, var(--exit-accent) 2%, white);
|
|
176
|
+
--exit-heading: color-mix(in srgb, var(--exit-accent) 35%, #101828);
|
|
177
|
+
--exit-description: color-mix(in srgb, var(--exit-accent) 15%, #475467);
|
|
178
|
+
--exit-border: color-mix(in srgb, var(--exit-accent) 16%, transparent);
|
|
179
|
+
--exit-action-border: color-mix(in srgb, var(--exit-accent) 40%, transparent);
|
|
180
|
+
--exit-shadow: color-mix(in srgb, var(--exit-accent) 24%, transparent);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
//#region src/components/scanOrder/locales.ts
|
|
2
2
|
var locales_default = {
|
|
3
3
|
en: {
|
|
4
|
+
"pisell2.scan.order.exit.title": "Leave ordering?",
|
|
5
|
+
"pisell2.scan.order.exit.description": "You will return to the store homepage. To continue ordering by QR code, scan the table QR code again.",
|
|
6
|
+
"pisell2.scan.order.exit.confirm": "Leave ordering",
|
|
7
|
+
"pisell2.scan.order.exit.continue": "Continue ordering",
|
|
4
8
|
"pisell2.scan.order.action.confirm.order": "Confirm order",
|
|
5
9
|
"pisell2.event.confirm": "Confirm",
|
|
6
10
|
"pisell2.event.cart": "Cart",
|
|
@@ -65,6 +69,10 @@ var locales_default = {
|
|
|
65
69
|
"pisell2.appointment.fill-form": "Enter your details"
|
|
66
70
|
},
|
|
67
71
|
"zh-CN": {
|
|
72
|
+
"pisell2.scan.order.exit.title": "确认退出点单?",
|
|
73
|
+
"pisell2.scan.order.exit.description": "退出后将返回商家首页。如需继续扫码点单,请重新扫描桌台二维码。",
|
|
74
|
+
"pisell2.scan.order.exit.confirm": "确认退出",
|
|
75
|
+
"pisell2.scan.order.exit.continue": "继续点单",
|
|
68
76
|
"pisell2.scan.order.action.confirm.order": "确认下单",
|
|
69
77
|
"pisell2.event.confirm": "确定",
|
|
70
78
|
"pisell2.event.cart": "购物车",
|
|
@@ -129,6 +137,10 @@ var locales_default = {
|
|
|
129
137
|
"pisell2.appointment.fill-form": "填写信息"
|
|
130
138
|
},
|
|
131
139
|
"zh-HK": {
|
|
140
|
+
"pisell2.scan.order.exit.title": "確認退出點單?",
|
|
141
|
+
"pisell2.scan.order.exit.description": "退出後將返回商家首頁。如需繼續掃碼點單,請重新掃描桌台二維碼。",
|
|
142
|
+
"pisell2.scan.order.exit.confirm": "確認退出",
|
|
143
|
+
"pisell2.scan.order.exit.continue": "繼續點單",
|
|
132
144
|
"pisell2.scan.order.action.confirm.order": "確認下單",
|
|
133
145
|
"pisell2.event.confirm": "確認",
|
|
134
146
|
"pisell2.event.cart": "購物車",
|
|
@@ -193,6 +205,10 @@ var locales_default = {
|
|
|
193
205
|
"pisell2.appointment.fill-form": "填寫資訊"
|
|
194
206
|
},
|
|
195
207
|
ja: {
|
|
208
|
+
"pisell2.scan.order.exit.title": "注文画面を終了しますか?",
|
|
209
|
+
"pisell2.scan.order.exit.description": "店舗のホームページに戻ります。QRコードでの注文を続けるには、テーブルのQRコードをもう一度読み取ってください。",
|
|
210
|
+
"pisell2.scan.order.exit.confirm": "終了する",
|
|
211
|
+
"pisell2.scan.order.exit.continue": "注文を続ける",
|
|
196
212
|
"pisell2.scan.order.action.confirm.order": "注文を確定",
|
|
197
213
|
"pisell2.event.confirm": "確認",
|
|
198
214
|
"pisell2.event.cart": "カート",
|
|
@@ -257,6 +273,10 @@ var locales_default = {
|
|
|
257
273
|
"pisell2.appointment.fill-form": "詳細を入力"
|
|
258
274
|
},
|
|
259
275
|
pt: {
|
|
276
|
+
"pisell2.scan.order.exit.title": "Sair do pedido?",
|
|
277
|
+
"pisell2.scan.order.exit.description": "Você voltará à página inicial da loja. Para continuar pedindo por QR code, escaneie novamente o QR code da mesa.",
|
|
278
|
+
"pisell2.scan.order.exit.confirm": "Confirmar saída",
|
|
279
|
+
"pisell2.scan.order.exit.continue": "Continuar pedido",
|
|
260
280
|
"pisell2.scan.order.action.confirm.order": "Confirmar pedido",
|
|
261
281
|
"pisell2.event.confirm": "Confirmar",
|
|
262
282
|
"pisell2.event.cart": "Carrinho",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.153",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"styled-components": "^6.0.0-rc.3",
|
|
82
82
|
"@pisell/utils": "3.0.2",
|
|
83
83
|
"@pisell/date-picker": "3.0.4",
|
|
84
|
-
"@pisell/
|
|
85
|
-
"@pisell/
|
|
84
|
+
"@pisell/materials": "3.3.113",
|
|
85
|
+
"@pisell/icon": "0.0.11"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
88
|
"react": "^18.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|