@pisell/private-materials 6.12.300 → 6.12.301
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/preview.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +2 -2
- package/es/components/HDLKiosk/locales.js +5 -5
- package/es/components/bigSale/templates/Kiosk/index.less +2 -16
- package/es/plus/saasDevice/devicePasscodes/model.js +4 -4
- package/es/plus/walletPassGallery/components/timelineSection/index.js +4 -4
- package/lib/components/HDLKiosk/locales.js +5 -5
- package/lib/components/bigSale/templates/Kiosk/index.less +2 -16
- package/package.json +2 -2
|
@@ -16,7 +16,7 @@ const localeTexts = {
|
|
|
16
16
|
"pisell2.hdl-kiosk.entry-hint-both": "You can also scan a product barcode or place your bowl on the scale.",
|
|
17
17
|
"pisell2.hdl-kiosk.entry-hint-barcode": "You can also scan a product barcode.",
|
|
18
18
|
"pisell2.hdl-kiosk.entry-hint-scale": "You can also place your bowl on the scale.",
|
|
19
|
-
"pisell2.hdl-kiosk.too-light-title": "
|
|
19
|
+
"pisell2.hdl-kiosk.too-light-title": "Minimum order quantity not reached",
|
|
20
20
|
"pisell2.hdl-kiosk.too-light-description": "Would you like to skip malatang?",
|
|
21
21
|
"pisell2.hdl-kiosk.too-light-skip": "Skip malatang",
|
|
22
22
|
"pisell2.hdl-kiosk.too-light-retry": "Go back and retry",
|
|
@@ -260,7 +260,7 @@ const localeTexts = {
|
|
|
260
260
|
"pisell2.hdl-kiosk.entry-hint-both": "也可直接扫描商品条码,或将餐碗放到秤上",
|
|
261
261
|
"pisell2.hdl-kiosk.entry-hint-barcode": "也可直接扫描商品条码",
|
|
262
262
|
"pisell2.hdl-kiosk.entry-hint-scale": "也可直接将餐碗放到秤上",
|
|
263
|
-
"pisell2.hdl-kiosk.too-light-title": "
|
|
263
|
+
"pisell2.hdl-kiosk.too-light-title": "未到最少起购量",
|
|
264
264
|
"pisell2.hdl-kiosk.too-light-description": "是否跳过麻辣烫选择?",
|
|
265
265
|
"pisell2.hdl-kiosk.too-light-skip": "跳过,我不需要麻辣烫",
|
|
266
266
|
"pisell2.hdl-kiosk.too-light-retry": "返回重试",
|
|
@@ -504,7 +504,7 @@ const localeTexts = {
|
|
|
504
504
|
"pisell2.hdl-kiosk.entry-hint-both": "亦可直接掃描商品條碼,或將餐碗放到磅秤上",
|
|
505
505
|
"pisell2.hdl-kiosk.entry-hint-barcode": "亦可直接掃描商品條碼",
|
|
506
506
|
"pisell2.hdl-kiosk.entry-hint-scale": "亦可直接將餐碗放到磅秤上",
|
|
507
|
-
"pisell2.hdl-kiosk.too-light-title": "
|
|
507
|
+
"pisell2.hdl-kiosk.too-light-title": "未達最低起購量",
|
|
508
508
|
"pisell2.hdl-kiosk.too-light-description": "是否跳過麻辣燙選擇?",
|
|
509
509
|
"pisell2.hdl-kiosk.too-light-skip": "跳過,我不需要麻辣燙",
|
|
510
510
|
"pisell2.hdl-kiosk.too-light-retry": "返回重試",
|
|
@@ -748,7 +748,7 @@ const localeTexts = {
|
|
|
748
748
|
"pisell2.hdl-kiosk.entry-hint-both": "商品バーコードをスキャンするか、器をはかりに置いても開始できます。",
|
|
749
749
|
"pisell2.hdl-kiosk.entry-hint-barcode": "商品バーコードをスキャンしても開始できます。",
|
|
750
750
|
"pisell2.hdl-kiosk.entry-hint-scale": "器をはかりに置いても開始できます。",
|
|
751
|
-
"pisell2.hdl-kiosk.too-light-title": "
|
|
751
|
+
"pisell2.hdl-kiosk.too-light-title": "最低注文量に達していません",
|
|
752
752
|
"pisell2.hdl-kiosk.too-light-description": "麻辣湯の選択をスキップしますか?",
|
|
753
753
|
"pisell2.hdl-kiosk.too-light-skip": "麻辣湯をスキップ",
|
|
754
754
|
"pisell2.hdl-kiosk.too-light-retry": "戻ってやり直す",
|
|
@@ -992,7 +992,7 @@ const localeTexts = {
|
|
|
992
992
|
"pisell2.hdl-kiosk.entry-hint-both": "Também pode ler o código de barras de um produto ou colocar a tigela na balança.",
|
|
993
993
|
"pisell2.hdl-kiosk.entry-hint-barcode": "Também pode ler o código de barras de um produto.",
|
|
994
994
|
"pisell2.hdl-kiosk.entry-hint-scale": "Também pode colocar a tigela na balança.",
|
|
995
|
-
"pisell2.hdl-kiosk.too-light-title": "
|
|
995
|
+
"pisell2.hdl-kiosk.too-light-title": "Quantidade mínima de compra não atingida",
|
|
996
996
|
"pisell2.hdl-kiosk.too-light-description": "Deseja saltar a seleção de malatang?",
|
|
997
997
|
"pisell2.hdl-kiosk.too-light-skip": "Saltar malatang",
|
|
998
998
|
"pisell2.hdl-kiosk.too-light-retry": "Voltar e tentar novamente",
|
|
@@ -376,14 +376,7 @@
|
|
|
376
376
|
width: var(--pisell-kiosk-cart-capsule-width);
|
|
377
377
|
box-sizing: border-box;
|
|
378
378
|
margin: 0;
|
|
379
|
-
|
|
380
|
-
visibility: visible;
|
|
381
|
-
transform: translate(-50%, 0) scale(1);
|
|
382
|
-
transform-origin: bottom center;
|
|
383
|
-
transition:
|
|
384
|
-
opacity 180ms ease,
|
|
385
|
-
transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
|
|
386
|
-
visibility 0s linear;
|
|
379
|
+
transform: translateX(-50%);
|
|
387
380
|
|
|
388
381
|
.pisell-sale-detail,
|
|
389
382
|
.pisell-sale-detail-tmpl-a,
|
|
@@ -410,14 +403,7 @@
|
|
|
410
403
|
|
|
411
404
|
.pisell-kiosk-sale[data-catalog-promotion='hidden']
|
|
412
405
|
.pisell-kiosk-sale__catalog-promotions {
|
|
413
|
-
|
|
414
|
-
visibility: hidden;
|
|
415
|
-
pointer-events: none;
|
|
416
|
-
transform: translate(-50%, 10px) scale(0.98);
|
|
417
|
-
transition:
|
|
418
|
-
opacity 160ms ease,
|
|
419
|
-
transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
|
|
420
|
-
visibility 0s linear 260ms;
|
|
406
|
+
display: none;
|
|
421
407
|
}
|
|
422
408
|
|
|
423
409
|
.pisell-kiosk-sale[data-view='catalog'] .pisell-kiosk-sale__catalog {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
|
|
2
2
|
import dayjs from "dayjs";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import timezonePlugin from "dayjs/plugin/timezone";
|
|
4
|
+
import utcPlugin from "dayjs/plugin/utc";
|
|
5
5
|
//#region src/plus/saasDevice/devicePasscodes/model.ts
|
|
6
|
-
dayjs.extend(
|
|
7
|
-
dayjs.extend(
|
|
6
|
+
dayjs.extend(utcPlugin);
|
|
7
|
+
dayjs.extend(timezonePlugin);
|
|
8
8
|
const INITIAL_DEVICE_PASSCODE_STATE = {
|
|
9
9
|
deviceIds: [],
|
|
10
10
|
devicesById: {}
|
|
@@ -6,12 +6,12 @@ import React, { useCallback, useEffect, useMemo, useRef } from "react";
|
|
|
6
6
|
import { locales } from "@pisell/utils";
|
|
7
7
|
import { Button, PisellEmpty, PisellModal, PisellStatisticList, Skeleton, Timeline, usePisellConfig } from "@pisell/materials";
|
|
8
8
|
import { useRequest } from "ahooks";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import timezonePlugin from "dayjs/plugin/timezone";
|
|
10
|
+
import utcPlugin from "dayjs/plugin/utc";
|
|
11
11
|
import "./index.less";
|
|
12
12
|
//#region src/plus/walletPassGallery/components/timelineSection/index.tsx
|
|
13
|
-
dayjs.extend(
|
|
14
|
-
dayjs.extend(
|
|
13
|
+
dayjs.extend(timezonePlugin);
|
|
14
|
+
dayjs.extend(utcPlugin);
|
|
15
15
|
const stateTimeUnix = 1723255863;
|
|
16
16
|
const POLL_INTERVAL = 2e3;
|
|
17
17
|
const POLL_MAX_TIMES = 5;
|
|
@@ -16,7 +16,7 @@ const localeTexts = {
|
|
|
16
16
|
"pisell2.hdl-kiosk.entry-hint-both": "You can also scan a product barcode or place your bowl on the scale.",
|
|
17
17
|
"pisell2.hdl-kiosk.entry-hint-barcode": "You can also scan a product barcode.",
|
|
18
18
|
"pisell2.hdl-kiosk.entry-hint-scale": "You can also place your bowl on the scale.",
|
|
19
|
-
"pisell2.hdl-kiosk.too-light-title": "
|
|
19
|
+
"pisell2.hdl-kiosk.too-light-title": "Minimum order quantity not reached",
|
|
20
20
|
"pisell2.hdl-kiosk.too-light-description": "Would you like to skip malatang?",
|
|
21
21
|
"pisell2.hdl-kiosk.too-light-skip": "Skip malatang",
|
|
22
22
|
"pisell2.hdl-kiosk.too-light-retry": "Go back and retry",
|
|
@@ -260,7 +260,7 @@ const localeTexts = {
|
|
|
260
260
|
"pisell2.hdl-kiosk.entry-hint-both": "也可直接扫描商品条码,或将餐碗放到秤上",
|
|
261
261
|
"pisell2.hdl-kiosk.entry-hint-barcode": "也可直接扫描商品条码",
|
|
262
262
|
"pisell2.hdl-kiosk.entry-hint-scale": "也可直接将餐碗放到秤上",
|
|
263
|
-
"pisell2.hdl-kiosk.too-light-title": "
|
|
263
|
+
"pisell2.hdl-kiosk.too-light-title": "未到最少起购量",
|
|
264
264
|
"pisell2.hdl-kiosk.too-light-description": "是否跳过麻辣烫选择?",
|
|
265
265
|
"pisell2.hdl-kiosk.too-light-skip": "跳过,我不需要麻辣烫",
|
|
266
266
|
"pisell2.hdl-kiosk.too-light-retry": "返回重试",
|
|
@@ -504,7 +504,7 @@ const localeTexts = {
|
|
|
504
504
|
"pisell2.hdl-kiosk.entry-hint-both": "亦可直接掃描商品條碼,或將餐碗放到磅秤上",
|
|
505
505
|
"pisell2.hdl-kiosk.entry-hint-barcode": "亦可直接掃描商品條碼",
|
|
506
506
|
"pisell2.hdl-kiosk.entry-hint-scale": "亦可直接將餐碗放到磅秤上",
|
|
507
|
-
"pisell2.hdl-kiosk.too-light-title": "
|
|
507
|
+
"pisell2.hdl-kiosk.too-light-title": "未達最低起購量",
|
|
508
508
|
"pisell2.hdl-kiosk.too-light-description": "是否跳過麻辣燙選擇?",
|
|
509
509
|
"pisell2.hdl-kiosk.too-light-skip": "跳過,我不需要麻辣燙",
|
|
510
510
|
"pisell2.hdl-kiosk.too-light-retry": "返回重試",
|
|
@@ -748,7 +748,7 @@ const localeTexts = {
|
|
|
748
748
|
"pisell2.hdl-kiosk.entry-hint-both": "商品バーコードをスキャンするか、器をはかりに置いても開始できます。",
|
|
749
749
|
"pisell2.hdl-kiosk.entry-hint-barcode": "商品バーコードをスキャンしても開始できます。",
|
|
750
750
|
"pisell2.hdl-kiosk.entry-hint-scale": "器をはかりに置いても開始できます。",
|
|
751
|
-
"pisell2.hdl-kiosk.too-light-title": "
|
|
751
|
+
"pisell2.hdl-kiosk.too-light-title": "最低注文量に達していません",
|
|
752
752
|
"pisell2.hdl-kiosk.too-light-description": "麻辣湯の選択をスキップしますか?",
|
|
753
753
|
"pisell2.hdl-kiosk.too-light-skip": "麻辣湯をスキップ",
|
|
754
754
|
"pisell2.hdl-kiosk.too-light-retry": "戻ってやり直す",
|
|
@@ -992,7 +992,7 @@ const localeTexts = {
|
|
|
992
992
|
"pisell2.hdl-kiosk.entry-hint-both": "Também pode ler o código de barras de um produto ou colocar a tigela na balança.",
|
|
993
993
|
"pisell2.hdl-kiosk.entry-hint-barcode": "Também pode ler o código de barras de um produto.",
|
|
994
994
|
"pisell2.hdl-kiosk.entry-hint-scale": "Também pode colocar a tigela na balança.",
|
|
995
|
-
"pisell2.hdl-kiosk.too-light-title": "
|
|
995
|
+
"pisell2.hdl-kiosk.too-light-title": "Quantidade mínima de compra não atingida",
|
|
996
996
|
"pisell2.hdl-kiosk.too-light-description": "Deseja saltar a seleção de malatang?",
|
|
997
997
|
"pisell2.hdl-kiosk.too-light-skip": "Saltar malatang",
|
|
998
998
|
"pisell2.hdl-kiosk.too-light-retry": "Voltar e tentar novamente",
|
|
@@ -376,14 +376,7 @@
|
|
|
376
376
|
width: var(--pisell-kiosk-cart-capsule-width);
|
|
377
377
|
box-sizing: border-box;
|
|
378
378
|
margin: 0;
|
|
379
|
-
|
|
380
|
-
visibility: visible;
|
|
381
|
-
transform: translate(-50%, 0) scale(1);
|
|
382
|
-
transform-origin: bottom center;
|
|
383
|
-
transition:
|
|
384
|
-
opacity 180ms ease,
|
|
385
|
-
transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
|
|
386
|
-
visibility 0s linear;
|
|
379
|
+
transform: translateX(-50%);
|
|
387
380
|
|
|
388
381
|
.pisell-sale-detail,
|
|
389
382
|
.pisell-sale-detail-tmpl-a,
|
|
@@ -410,14 +403,7 @@
|
|
|
410
403
|
|
|
411
404
|
.pisell-kiosk-sale[data-catalog-promotion='hidden']
|
|
412
405
|
.pisell-kiosk-sale__catalog-promotions {
|
|
413
|
-
|
|
414
|
-
visibility: hidden;
|
|
415
|
-
pointer-events: none;
|
|
416
|
-
transform: translate(-50%, 10px) scale(0.98);
|
|
417
|
-
transition:
|
|
418
|
-
opacity 160ms ease,
|
|
419
|
-
transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
|
|
420
|
-
visibility 0s linear 260ms;
|
|
406
|
+
display: none;
|
|
421
407
|
}
|
|
422
408
|
|
|
423
409
|
.pisell-kiosk-sale[data-view='catalog'] .pisell-kiosk-sale__catalog {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.12.
|
|
3
|
+
"version": "6.12.301",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"styled-components": "^6.0.0-rc.3",
|
|
73
73
|
"use-sync-external-store": "^1.6.0",
|
|
74
74
|
"@pisell/pi-payment-sdk": "0.0.3",
|
|
75
|
+
"@pisell/materials": "6.12.78",
|
|
75
76
|
"@pisell/utils": "3.0.7",
|
|
76
|
-
"@pisell/materials": "6.12.77",
|
|
77
77
|
"@pisell/date-picker": "3.0.12",
|
|
78
78
|
"@pisell/icon": "0.0.11"
|
|
79
79
|
},
|