@pisell/private-materials 6.12.224 → 6.12.225
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 +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/bigSale/templates/Kiosk/index.less +0 -4
- package/es/components/kioskSale/resolveKioskPresentation.js +1 -1
- package/es/plus/saasDevice/devicePasscodes/model.js +4 -4
- package/es/plus/salesSdk/allergy/AllergySelectionModal.less +1 -1
- package/es/plus/walletPassGallery/components/timelineSection/index.js +4 -4
- package/lib/components/bigSale/templates/Kiosk/index.less +0 -4
- package/lib/components/kioskSale/resolveKioskPresentation.js +1 -1
- package/lib/plus/salesSdk/allergy/AllergySelectionModal.less +1 -1
- package/package.json +2 -2
|
@@ -18,7 +18,7 @@ function resolveKioskPresentation(platform, requestedVariant) {
|
|
|
18
18
|
case "pc": return {
|
|
19
19
|
platform: "pc",
|
|
20
20
|
variant: "phone",
|
|
21
|
-
productDetailVariant: "
|
|
21
|
+
productDetailVariant: "desktop",
|
|
22
22
|
kioskShellLayout: "pc-wide-sidebar",
|
|
23
23
|
productDetailPresentationPlatform: "default",
|
|
24
24
|
mergeBookingLinesForDisplay: true,
|
|
@@ -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 timezone from "dayjs/plugin/timezone";
|
|
4
|
+
import utc from "dayjs/plugin/utc";
|
|
5
5
|
//#region src/plus/saasDevice/devicePasscodes/model.ts
|
|
6
|
-
dayjs.extend(
|
|
7
|
-
dayjs.extend(
|
|
6
|
+
dayjs.extend(utc);
|
|
7
|
+
dayjs.extend(timezone);
|
|
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 timezone from "dayjs/plugin/timezone";
|
|
10
|
+
import utc 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(timezone);
|
|
14
|
+
dayjs.extend(utc);
|
|
15
15
|
const stateTimeUnix = 1723255863;
|
|
16
16
|
const POLL_INTERVAL = 2e3;
|
|
17
17
|
const POLL_MAX_TIMES = 5;
|
|
@@ -18,7 +18,7 @@ function resolveKioskPresentation(platform, requestedVariant) {
|
|
|
18
18
|
case "pc": return {
|
|
19
19
|
platform: "pc",
|
|
20
20
|
variant: "phone",
|
|
21
|
-
productDetailVariant: "
|
|
21
|
+
productDetailVariant: "desktop",
|
|
22
22
|
kioskShellLayout: "pc-wide-sidebar",
|
|
23
23
|
productDetailPresentationPlatform: "default",
|
|
24
24
|
mergeBookingLinesForDisplay: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.12.
|
|
3
|
+
"version": "6.12.225",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"react-zoom-pan-pinch": "^3.7.0",
|
|
70
70
|
"styled-components": "^6.0.0-rc.3",
|
|
71
71
|
"use-sync-external-store": "^1.6.0",
|
|
72
|
+
"@pisell/pi-payment-sdk": "0.0.3",
|
|
72
73
|
"@pisell/utils": "3.0.4",
|
|
73
74
|
"@pisell/date-picker": "3.0.10",
|
|
74
|
-
"@pisell/pi-payment-sdk": "0.0.3",
|
|
75
75
|
"@pisell/materials": "6.12.61",
|
|
76
76
|
"@pisell/icon": "0.0.11"
|
|
77
77
|
},
|