@pisell/private-materials 3.4.113 → 3.4.114
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 +6 -6
- package/es/components/eftposPay/app.d.ts +1 -1
- package/es/plus/pisellReservation/floorMap/floorPlanApi.d.ts +2 -2
- package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
- package/es/plus/pisellTopology/floorPlan/topologyFloorPlanApi.d.ts +1 -1
- package/lib/components/eftposPay/app.d.ts +1 -1
- package/lib/plus/pisellReservation/floorMap/floorPlanApi.d.ts +2 -2
- package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
- package/lib/plus/pisellTopology/floorPlan/topologyFloorPlanApi.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PosProps, RouteType } from './const';
|
|
2
|
-
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "
|
|
2
|
+
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
|
|
3
3
|
action: RouteType;
|
|
4
4
|
device_number: string | number;
|
|
5
5
|
api: ReturnType<PosProps['getApi']>;
|
|
@@ -6,8 +6,8 @@ export declare const RESERVATION_DEFAULT_FLOOR_PLAN_ID = 1;
|
|
|
6
6
|
export type { PostShopFloorPlanBody, PutShopFloorPlanBody, ShopFloorPlanByCodeRequestOptions, ShopFloorPlanDetail, ShopFloorPlanLayoutItem, };
|
|
7
7
|
export { buildFloorPlanPutBody, floorMapSavedConfigToRemotePatch, inferCanvasSizeFromScene, mergeFloorPlanViewRemote, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, sceneElementsToShopLayout, viewConfigToLayoutPayload, isShopFloorPlanNotFoundResponse, isHttpNotFoundError, } from '@pisell/materials';
|
|
8
8
|
export declare function isFloorPlanDuplicateCodeError(err: unknown): boolean;
|
|
9
|
-
export declare const getShopFloorPlanByCode: (code: string, subscribe?:
|
|
10
|
-
export declare const postShopFloorPlan: (body: PostShopFloorPlanBody) => Promise<
|
|
9
|
+
export declare const getShopFloorPlanByCode: (code: string, subscribe?: ShopFloorPlanByCodeRequestOptions | undefined) => Promise<ShopFloorPlanDetail | null>;
|
|
10
|
+
export declare const postShopFloorPlan: (body: PostShopFloorPlanBody) => Promise<ShopFloorPlanDetail | null>;
|
|
11
11
|
export declare const putShopFloorPlan: (id: number, body: PutShopFloorPlanBody) => Promise<unknown>;
|
|
12
12
|
export declare const unsubscribeShopFloorPlanCodeQuery: (subscriberId: string) => Promise<void>;
|
|
13
13
|
/**
|
|
@@ -7,10 +7,10 @@ export declare function useReservationScheduleDebounced(options: {
|
|
|
7
7
|
scheduleValueProp: ReservationScheduleBandValue | undefined;
|
|
8
8
|
}): {
|
|
9
9
|
internalSchedule: ReservationScheduleBandValue;
|
|
10
|
-
setInternalSchedule: import("react").Dispatch<
|
|
11
|
-
schedule:
|
|
10
|
+
setInternalSchedule: import("react").Dispatch<import("react").SetStateAction<ReservationScheduleBandValue>>;
|
|
11
|
+
schedule: ReservationScheduleBandValue;
|
|
12
12
|
debouncedSchedule: ReservationScheduleBandValue;
|
|
13
|
-
scheduleRef: import("react").MutableRefObject<
|
|
13
|
+
scheduleRef: import("react").MutableRefObject<ReservationScheduleBandValue>;
|
|
14
14
|
flushCommittedSchedule: (next: ReservationScheduleBandValue) => void;
|
|
15
15
|
queueCommittedSchedule: (next: ReservationScheduleBandValue) => void;
|
|
16
16
|
};
|
|
@@ -2,7 +2,7 @@ import { type PostShopFloorPlanBody, type PutShopFloorPlanBody, type ShopFloorPl
|
|
|
2
2
|
export type { PostShopFloorPlanBody, PutShopFloorPlanBody, ShopFloorPlanByCodeRequestOptions, ShopFloorPlanDetail, };
|
|
3
3
|
export { buildFloorPlanPutBody, floorMapSavedConfigToRemotePatch, mergeFloorPlanViewRemote, parseLayoutFieldToViewConfigPatch, } from '@pisell/materials';
|
|
4
4
|
export declare function isFloorPlanDuplicateCodeError(err: unknown): boolean;
|
|
5
|
-
export declare const getShopFloorPlanByCode: (code: string, subscribe?:
|
|
5
|
+
export declare const getShopFloorPlanByCode: (code: string, subscribe?: ShopFloorPlanByCodeRequestOptions | undefined) => Promise<ShopFloorPlanDetail | null>;
|
|
6
6
|
export declare const putShopFloorPlan: (id: number, body: PutShopFloorPlanBody) => Promise<unknown>;
|
|
7
7
|
export declare const unsubscribeShopFloorPlanCodeQuery: (subscriberId: string) => Promise<void>;
|
|
8
8
|
export declare function buildDefaultTopologyFloorPlanPostBody(code: string): PostShopFloorPlanBody;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PosProps, RouteType } from './const';
|
|
2
|
-
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "
|
|
2
|
+
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
|
|
3
3
|
action: RouteType;
|
|
4
4
|
device_number: string | number;
|
|
5
5
|
api: ReturnType<PosProps['getApi']>;
|
|
@@ -6,8 +6,8 @@ export declare const RESERVATION_DEFAULT_FLOOR_PLAN_ID = 1;
|
|
|
6
6
|
export type { PostShopFloorPlanBody, PutShopFloorPlanBody, ShopFloorPlanByCodeRequestOptions, ShopFloorPlanDetail, ShopFloorPlanLayoutItem, };
|
|
7
7
|
export { buildFloorPlanPutBody, floorMapSavedConfigToRemotePatch, inferCanvasSizeFromScene, mergeFloorPlanViewRemote, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, sceneElementsToShopLayout, viewConfigToLayoutPayload, isShopFloorPlanNotFoundResponse, isHttpNotFoundError, } from '@pisell/materials';
|
|
8
8
|
export declare function isFloorPlanDuplicateCodeError(err: unknown): boolean;
|
|
9
|
-
export declare const getShopFloorPlanByCode: (code: string, subscribe?:
|
|
10
|
-
export declare const postShopFloorPlan: (body: PostShopFloorPlanBody) => Promise<
|
|
9
|
+
export declare const getShopFloorPlanByCode: (code: string, subscribe?: ShopFloorPlanByCodeRequestOptions | undefined) => Promise<ShopFloorPlanDetail | null>;
|
|
10
|
+
export declare const postShopFloorPlan: (body: PostShopFloorPlanBody) => Promise<ShopFloorPlanDetail | null>;
|
|
11
11
|
export declare const putShopFloorPlan: (id: number, body: PutShopFloorPlanBody) => Promise<unknown>;
|
|
12
12
|
export declare const unsubscribeShopFloorPlanCodeQuery: (subscriberId: string) => Promise<void>;
|
|
13
13
|
/**
|
|
@@ -7,10 +7,10 @@ export declare function useReservationScheduleDebounced(options: {
|
|
|
7
7
|
scheduleValueProp: ReservationScheduleBandValue | undefined;
|
|
8
8
|
}): {
|
|
9
9
|
internalSchedule: ReservationScheduleBandValue;
|
|
10
|
-
setInternalSchedule: import("react").Dispatch<
|
|
11
|
-
schedule:
|
|
10
|
+
setInternalSchedule: import("react").Dispatch<import("react").SetStateAction<ReservationScheduleBandValue>>;
|
|
11
|
+
schedule: ReservationScheduleBandValue;
|
|
12
12
|
debouncedSchedule: ReservationScheduleBandValue;
|
|
13
|
-
scheduleRef: import("react").MutableRefObject<
|
|
13
|
+
scheduleRef: import("react").MutableRefObject<ReservationScheduleBandValue>;
|
|
14
14
|
flushCommittedSchedule: (next: ReservationScheduleBandValue) => void;
|
|
15
15
|
queueCommittedSchedule: (next: ReservationScheduleBandValue) => void;
|
|
16
16
|
};
|
|
@@ -2,7 +2,7 @@ import { type PostShopFloorPlanBody, type PutShopFloorPlanBody, type ShopFloorPl
|
|
|
2
2
|
export type { PostShopFloorPlanBody, PutShopFloorPlanBody, ShopFloorPlanByCodeRequestOptions, ShopFloorPlanDetail, };
|
|
3
3
|
export { buildFloorPlanPutBody, floorMapSavedConfigToRemotePatch, mergeFloorPlanViewRemote, parseLayoutFieldToViewConfigPatch, } from '@pisell/materials';
|
|
4
4
|
export declare function isFloorPlanDuplicateCodeError(err: unknown): boolean;
|
|
5
|
-
export declare const getShopFloorPlanByCode: (code: string, subscribe?:
|
|
5
|
+
export declare const getShopFloorPlanByCode: (code: string, subscribe?: ShopFloorPlanByCodeRequestOptions | undefined) => Promise<ShopFloorPlanDetail | null>;
|
|
6
6
|
export declare const putShopFloorPlan: (id: number, body: PutShopFloorPlanBody) => Promise<unknown>;
|
|
7
7
|
export declare const unsubscribeShopFloorPlanCodeQuery: (subscriberId: string) => Promise<void>;
|
|
8
8
|
export declare function buildDefaultTopologyFloorPlanPostBody(code: string): PostShopFloorPlanBody;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.114",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -77,10 +77,10 @@
|
|
|
77
77
|
"react-resizable": "^3.0.5",
|
|
78
78
|
"react-zoom-pan-pinch": "^3.7.0",
|
|
79
79
|
"styled-components": "^6.0.0-rc.3",
|
|
80
|
+
"@pisell/icon": "0.0.11",
|
|
80
81
|
"@pisell/utils": "3.0.2",
|
|
81
|
-
"@pisell/
|
|
82
|
-
"@pisell/
|
|
83
|
-
"@pisell/icon": "0.0.11"
|
|
82
|
+
"@pisell/materials": "3.3.101",
|
|
83
|
+
"@pisell/date-picker": "3.0.4"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"react": "^18.0.0",
|