@licklist/design 0.44.485-dev.71 → 0.44.485-dev.72

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.
Files changed (39) hide show
  1. package/dist/events/event-venue-map/EventVenueMap.d.ts +3 -3
  2. package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
  3. package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +2 -2
  4. package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +1 -1
  5. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts +1 -4
  6. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
  7. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +2 -2
  8. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
  9. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +2 -2
  10. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
  11. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts +2 -2
  12. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
  13. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +2 -2
  14. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
  15. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +2 -2
  16. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
  17. package/dist/iframe/order-process/components/Category/Category.d.ts +3 -3
  18. package/dist/iframe/order-process/components/Category/Category.d.ts.map +1 -1
  19. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +3 -3
  20. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
  21. package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts +2 -2
  22. package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts.map +1 -1
  23. package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts +2 -2
  24. package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts.map +1 -1
  25. package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts +2 -2
  26. package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts.map +1 -1
  27. package/package.json +1 -1
  28. package/src/events/event-venue-map/EventVenueMap.tsx +2 -2
  29. package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +2 -2
  30. package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +2 -2
  31. package/src/iframe/order-process/components/BookingSummary/types/index.ts +2 -2
  32. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +2 -2
  33. package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +2 -2
  34. package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +2 -2
  35. package/src/iframe/order-process/components/Category/Category.tsx +3 -3
  36. package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +3 -3
  37. package/src/sales/manual-booking/category-product/CategoryProduct.tsx +2 -2
  38. package/src/sales/manual-booking/category-products/CategoryProducts.tsx +2 -2
  39. package/src/sales/manual-booking/controll/ManualBookingStepsControll.tsx +2 -2
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { Point } from "@licklist/plugins/dist/types/context/event/point";
3
3
  import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
4
4
  import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
5
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
5
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
6
6
  import { VenueMapRef } from "./components/VenueMap";
7
7
  export type EventVenueMapIframeProps = {
8
8
  width?: number;
@@ -21,7 +21,7 @@ export type EventVenueMapProps = {
21
21
  products?: Partial<Product>[];
22
22
  pointProducts?: Partial<PointProduct>[];
23
23
  onPointProductsChange?: (values: Partial<PointProduct>[]) => void;
24
- soldOutProducts?: ProductQuantityCheckResponse["products"];
24
+ soldOutProducts?: QuantityCheckProductInfo[];
25
25
  } & EventVenueMapIframeProps;
26
26
  export declare const EventVenueMap: React.ForwardRefExoticComponent<{
27
27
  url: string;
@@ -32,6 +32,6 @@ export declare const EventVenueMap: React.ForwardRefExoticComponent<{
32
32
  products?: Partial<Product>[];
33
33
  pointProducts?: Partial<PointProduct>[];
34
34
  onPointProductsChange?: (values: Partial<PointProduct>[]) => void;
35
- soldOutProducts?: ProductQuantityCheckResponse["products"];
35
+ soldOutProducts?: QuantityCheckProductInfo[];
36
36
  } & EventVenueMapIframeProps & React.RefAttributes<VenueMapRef>>;
37
37
  //# sourceMappingURL=EventVenueMap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventVenueMap.d.ts","sourceRoot":"","sources":["../../../src/events/event-venue-map/EventVenueMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,KAAK,EAAE,MAAM,kDAAkD,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAE,MAAM,0DAA0D,CAAC;AACnF,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAY,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAG9D,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,0BAA0B,CAAC,EAAE,MAAM,EAAE,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;IACxC,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,KAAK,IAAI,CAAC;IAClE,eAAe,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;CAC5D,GAAG,wBAAwB,CAAC;AAE7B,eAAO,MAAM,aAAa;SAXnB,MAAM;aACF,QAAQ,KAAK,CAAC,EAAE;WAClB,MAAM;6BACY,QAAQ,KAAK,CAAC,EAAE,KAAK,IAAI;eACvC,OAAO;eACP,QAAQ,OAAO,CAAC,EAAE;oBACb,QAAQ,YAAY,CAAC,EAAE;qCACN,QAAQ,YAAY,CAAC,EAAE,KAAK,IAAI;sBAC/C,4BAA4B,CAAC,UAAU,CAAC;gEAiD3D,CAAC"}
1
+ {"version":3,"file":"EventVenueMap.d.ts","sourceRoot":"","sources":["../../../src/events/event-venue-map/EventVenueMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,KAAK,EAAE,MAAM,kDAAkD,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAE,MAAM,0DAA0D,CAAC;AACnF,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAY,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAG9D,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,0BAA0B,CAAC,EAAE,MAAM,EAAE,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;IACxC,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,KAAK,IAAI,CAAC;IAClE,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAC;CAC9C,GAAG,wBAAwB,CAAC;AAE7B,eAAO,MAAM,aAAa;SAXnB,MAAM;aACF,QAAQ,KAAK,CAAC,EAAE;WAClB,MAAM;6BACY,QAAQ,KAAK,CAAC,EAAE,KAAK,IAAI;eACvC,OAAO;eACP,QAAQ,OAAO,CAAC,EAAE;oBACb,QAAQ,YAAY,CAAC,EAAE;qCACN,QAAQ,YAAY,CAAC,EAAE,KAAK,IAAI;sBAC/C,wBAAwB,EAAE;gEAiD7C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { EventVenueMapContextProps } from "@licklist/plugins/dist/context/event/EventVenueMapContext";
3
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
3
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
4
4
  export type VenueMapRef = Pick<EventVenueMapContextProps, "activeElementKey" | "setActiveElementKey">;
5
5
  export type VenueMapProps = {
6
6
  url: string;
@@ -11,7 +11,7 @@ export type VenueMapProps = {
11
11
  usedInIframe?: boolean;
12
12
  choosedProductUuids?: string[];
13
13
  errorOnChoosedProductUuids?: string[];
14
- soldOutProducts?: ProductQuantityCheckResponse["products"];
14
+ soldOutProducts?: QuantityCheckProductInfo[];
15
15
  };
16
16
  export declare const VenueMap: React.ForwardRefExoticComponent<VenueMapProps & React.RefAttributes<VenueMapRef>>;
17
17
  //# sourceMappingURL=VenueMap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VenueMap.d.ts","sourceRoot":"","sources":["../../../../../src/events/event-venue-map/components/VenueMap/VenueMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAGf,OAAO,EAEL,yBAAyB,EAC1B,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAQ5F,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,yBAAyB,EACzB,kBAAkB,GAAG,qBAAqB,CAC3C,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,0BAA0B,CAAC,EAAE,MAAM,EAAE,CAAC;IACtC,eAAe,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;CAC5D,CAAC;AAEF,eAAO,MAAM,QAAQ,mFAiKpB,CAAC"}
1
+ {"version":3,"file":"VenueMap.d.ts","sourceRoot":"","sources":["../../../../../src/events/event-venue-map/components/VenueMap/VenueMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAGf,OAAO,EAEL,yBAAyB,EAC1B,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAQxF,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,yBAAyB,EACzB,kBAAkB,GAAG,qBAAqB,CAC3C,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,0BAA0B,CAAC,EAAE,MAAM,EAAE,CAAC;IACtC,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,QAAQ,mFAiKpB,CAAC"}
@@ -11,9 +11,6 @@ export declare const IframeEventVenueMap: React.ForwardRefExoticComponent<{
11
11
  products?: Partial<import("@licklist/core/dist/DataMapper/Product/ProductDataMapper").Product>[];
12
12
  pointProducts?: Partial<import("@licklist/core/dist/DataMapper/Product/PointProductDataMapper").PointProduct>[];
13
13
  onPointProductsChange?: (values: Partial<import("@licklist/core/dist/DataMapper/Product/PointProductDataMapper").PointProduct>[]) => void;
14
- soldOutProducts?: {
15
- product_id: number;
16
- message: string;
17
- }[];
14
+ soldOutProducts?: import("@licklist/plugins/dist/types/Api/verifyStock").QuantityCheckProductInfo[];
18
15
  } & import("../../../events/event-venue-map/EventVenueMap").EventVenueMapIframeProps & React.RefAttributes<VenueMapRef>>;
19
16
  //# sourceMappingURL=IframeEventVenueMap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IframeEventVenueMap.d.ts","sourceRoot":"","sources":["../../../../src/iframe/event/event-venue-map/IframeEventVenueMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAEtD,OAAO,EAEL,kBAAkB,EACnB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,CAAC;AAE1D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;wHAa9B,CAAC"}
1
+ {"version":3,"file":"IframeEventVenueMap.d.ts","sourceRoot":"","sources":["../../../../src/iframe/event/event-venue-map/IframeEventVenueMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAEtD,OAAO,EAEL,kBAAkB,EACnB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,CAAC;AAE1D,eAAO,MAAM,mBAAmB;;;;;;;;;;wHAa9B,CAAC"}
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
2
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
3
3
  import { Order, MenuStep } from "../../../../../../types";
4
4
  export type ProductsByMenuStepsProps = {
5
5
  orderProducts: Order[];
6
6
  step: MenuStep;
7
- productsWithErrors?: ProductQuantityCheckResponse["products"];
7
+ productsWithErrors?: QuantityCheckProductInfo[];
8
8
  };
9
9
  export declare const ProductsByMenuStep: ({ orderProducts, step, productsWithErrors, }: ProductsByMenuStepsProps) => JSX.Element;
10
10
  //# sourceMappingURL=ProductsByMenuStep.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductsByMenuStep.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,MAAM,wBAAwB,GAAG;IACrC,aAAa,EAAE,KAAK,EAAE,CAAC;IACvB,IAAI,EAAE,QAAQ,CAAC;IACf,kBAAkB,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;CAC/D,CAAC;AAKF,eAAO,MAAM,kBAAkB,iDAI5B,wBAAwB,gBA0E1B,CAAC"}
1
+ {"version":3,"file":"ProductsByMenuStep.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,MAAM,wBAAwB,GAAG;IACrC,aAAa,EAAE,KAAK,EAAE,CAAC;IACvB,IAAI,EAAE,QAAQ,CAAC;IACf,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAC;CACjD,CAAC;AAKF,eAAO,MAAM,kBAAkB,iDAI5B,wBAAwB,gBA0E1B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
1
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
2
2
  import { MenuStep, Order } from "../../../../../types";
3
3
  export declare const MOBILE_WIDTH = 576;
4
4
  export declare const ACCORDION_KEY = "booking-summary";
@@ -14,7 +14,7 @@ export type BookingSummaryProps = {
14
14
  hasPeopleInput?: boolean;
15
15
  transactionFee?: number;
16
16
  isFreePayment?: boolean;
17
- productsWithErrors?: ProductQuantityCheckResponse["products"];
17
+ productsWithErrors?: QuantityCheckProductInfo[];
18
18
  isLoading?: boolean;
19
19
  peopleAmount: number;
20
20
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/BookingSummary/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAEvD,eAAO,MAAM,YAAY,MAAM,CAAC;AAChC,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAE/C,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE;QACX,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC;KACtB,CAAC;IACF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kBAAkB,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;IAC9D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/BookingSummary/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAEvD,eAAO,MAAM,YAAY,MAAM,CAAC;AAChC,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAE/C,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE;QACX,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC;KACtB,CAAC;IACF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAC;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { Step } from "@licklist/core/dist/DataMapper/Product/StepDataMapper";
3
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
3
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
4
4
  import { MenuStep } from "../../../../types";
5
5
  export interface CalendarStepsFormProps {
6
6
  step: MenuStep;
@@ -14,7 +14,7 @@ export interface CalendarStepsFormProps {
14
14
  onActiveVenueMapChange?: (nextVenueMapId: string) => void;
15
15
  title: string;
16
16
  menuStepWithVenueMap: Step;
17
- soldOutProducts?: ProductQuantityCheckResponse["products"];
17
+ soldOutProducts?: QuantityCheckProductInfo[];
18
18
  }
19
19
  export type StepsFormRef = {
20
20
  getFormValues: () => Record<string, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarStepsForm.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAQN,MAAM,OAAO,CAAC;AAUf,OAAO,EAAE,IAAI,EAAE,MAAM,uDAAuD,CAAC;AAG7E,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAE5F,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAa7C,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,QAAQ,CAAC;IACf,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IAChD,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACrD,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACtD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,sBAAsB,CAAC,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB,EAAE,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;CAC5D;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,aAAa,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,iBAAiB,6FAqT7B,CAAC"}
1
+ {"version":3,"file":"CalendarStepsForm.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAQN,MAAM,OAAO,CAAC;AAUf,OAAO,EAAE,IAAI,EAAE,MAAM,uDAAuD,CAAC;AAG7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAExF,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAa7C,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,QAAQ,CAAC;IACf,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IAChD,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACrD,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACtD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,sBAAsB,CAAC,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB,EAAE,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAC;CAC9C;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,aAAa,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,iBAAiB,6FAqT7B,CAAC"}
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
3
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
3
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
4
4
  import { ProductCategory } from "../../../../../types";
5
5
  export type CategoryProps = {
6
6
  productCategories: ProductCategory[];
7
7
  activePointId?: number;
8
8
  pointProducts: PointProduct[];
9
9
  onCloseModal: () => void;
10
- soldOutProducts?: ProductQuantityCheckResponse["products"];
10
+ soldOutProducts?: QuantityCheckProductInfo[];
11
11
  };
12
12
  export declare const Category: ({ productCategories, activePointId, pointProducts, onCloseModal, soldOutProducts, }: CategoryProps) => JSX.Element;
13
13
  //# sourceMappingURL=Category.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAC7F,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGvD,MAAM,MAAM,aAAa,GAAG;IAC1B,iBAAiB,EAAE,eAAe,EAAE,CAAC;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,eAAe,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;CAC5D,CAAC;AAEF,eAAO,MAAM,QAAQ,wFAMlB,aAAa,gBAyBf,CAAC"}
1
+ {"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGvD,MAAM,MAAM,aAAa,GAAG;IAC1B,iBAAiB,EAAE,eAAe,EAAE,CAAC;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,QAAQ,wFAMlB,aAAa,gBAyBf,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
3
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
3
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
4
4
  import { ProductCategory, Product } from "../../../../../types";
5
5
  export type CategoryProductModalProps = {
6
6
  activePointId?: number;
@@ -8,7 +8,7 @@ export type CategoryProductModalProps = {
8
8
  category: ProductCategory;
9
9
  pointProducts: PointProduct[];
10
10
  onCloseModal: () => void;
11
- soldOutProducts?: ProductQuantityCheckResponse["products"];
11
+ soldOutProducts?: QuantityCheckProductInfo[];
12
12
  };
13
13
  export declare const CategoryProductModal: ({ activePointId, product, category, pointProducts, onCloseModal, soldOutProducts, }: CategoryProductModalProps) => JSX.Element;
14
14
  //# sourceMappingURL=CategoryProductModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CategoryProductModal.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAC7F,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAIhE,MAAM,MAAM,yBAAyB,GAAG;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,eAAe,CAAC;IAC1B,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,eAAe,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;CAC5D,CAAC;AAEF,eAAO,MAAM,oBAAoB,wFAO9B,yBAAyB,gBAmC3B,CAAC"}
1
+ {"version":3,"file":"CategoryProductModal.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAIhE,MAAM,MAAM,yBAAyB,GAAG;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,eAAe,CAAC;IAC1B,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,oBAAoB,wFAO9B,yBAAyB,gBAmC3B,CAAC"}
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { DeepMap, FieldError } from "react-hook-form";
3
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
3
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
4
4
  import { ProductCategory } from "../../../../types";
5
5
  interface CategoryProps {
6
6
  productCategories: ProductCategory[];
7
- productsWithErrors?: ProductQuantityCheckResponse["products"];
8
- soldOutProducts?: ProductQuantityCheckResponse["products"];
7
+ productsWithErrors?: QuantityCheckProductInfo[];
8
+ soldOutProducts?: QuantityCheckProductInfo[];
9
9
  errors?: DeepMap<Record<string, any>, FieldError>;
10
10
  }
11
11
  export declare function Category({ productCategories, productsWithErrors, errors, soldOutProducts, }: CategoryProps): JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/Category/Category.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,UAAU,aAAa;IACrB,iBAAiB,EAAE,eAAe,EAAE,CAAC;IACrC,kBAAkB,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;IAC9D,eAAe,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;IAC3D,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,UAAU,CAAC,CAAC;CACnD;AAED,wBAAgB,QAAQ,CAAC,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,MAAM,EACN,eAAe,GAChB,EAAE,aAAa,eA+Bf"}
1
+ {"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/Category/Category.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,UAAU,aAAa;IACrB,iBAAiB,EAAE,eAAe,EAAE,CAAC;IACrC,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAC;IAChD,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAC;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,UAAU,CAAC,CAAC;CACnD;AAED,wBAAgB,QAAQ,CAAC,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,MAAM,EACN,eAAe,GAChB,EAAE,aAAa,eA+Bf"}
@@ -1,12 +1,12 @@
1
1
  /// <reference types="react" />
2
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
2
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
3
3
  import { ProductCategory, Product } from "../../../../types";
4
4
  interface CategoryProductProps {
5
5
  product: Product;
6
6
  category: ProductCategory;
7
7
  canExpandDescription?: boolean;
8
- productsWithErrors?: ProductQuantityCheckResponse["products"];
9
- soldOutProducts?: ProductQuantityCheckResponse["products"];
8
+ productsWithErrors?: QuantityCheckProductInfo[];
9
+ soldOutProducts?: QuantityCheckProductInfo[];
10
10
  }
11
11
  export declare const CategoryProduct: ({ product, category, canExpandDescription, productsWithErrors, soldOutProducts, }: CategoryProductProps) => JSX.Element;
12
12
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"CategoryProduct.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAE5F,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG7D,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,eAAe,CAAC;IAC1B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,kBAAkB,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;IAC9D,eAAe,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;CAC5D;AAED,eAAO,MAAM,eAAe,sFAMzB,oBAAoB,gBAwMtB,CAAC"}
1
+ {"version":3,"file":"CategoryProduct.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAExF,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG7D,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,eAAe,CAAC;IAC1B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAC;IAChD,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAC;CAC9C;AAED,eAAO,MAAM,eAAe,sFAMzB,oBAAoB,gBAwMtB,CAAC"}
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
3
2
  import { OrderProduct } from "@licklist/core/dist/DataMapper/Order/OrderProductDataMapper";
3
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
4
4
  import { Product } from "../../../types";
5
5
  interface CategoryProductProps {
6
6
  product: Product;
7
7
  fieldIndex: `steps.${number}.productCategories.${number}.products.${number}`;
8
- productsWithErrors?: ProductQuantityCheckResponse["products"];
8
+ productsWithErrors?: QuantityCheckProductInfo[];
9
9
  isLoading?: boolean;
10
10
  isEditMode?: boolean;
11
11
  isProductSetAvailable?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"CategoryProduct.d.ts","sourceRoot":"","sources":["../../../../src/sales/manual-booking/category-product/CategoryProduct.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAE,YAAY,EAAE,MAAM,6DAA6D,CAAC;AAE3F,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzC,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,SAAS,MAAM,sBAAsB,MAAM,aAAa,MAAM,EAAE,CAAC;IAC7E,kBAAkB,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;IAC9D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC;AAED,eAAO,MAAM,eAAe,8GAQzB,oBAAoB,gBA6PtB,CAAC"}
1
+ {"version":3,"file":"CategoryProduct.d.ts","sourceRoot":"","sources":["../../../../src/sales/manual-booking/category-product/CategoryProduct.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,6DAA6D,CAAC;AAC3F,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAExF,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzC,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,SAAS,MAAM,sBAAsB,MAAM,aAAa,MAAM,EAAE,CAAC;IAC7E,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAC;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC;AAED,eAAO,MAAM,eAAe,8GAQzB,oBAAoB,gBA6PtB,CAAC"}
@@ -1,12 +1,12 @@
1
1
  /// <reference types="react" />
2
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
2
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
3
3
  import { OrderProduct } from "@licklist/core/dist/DataMapper/Order/OrderProductDataMapper";
4
4
  import { Product } from "../../../types";
5
5
  interface CategoryProductsProps {
6
6
  stepIndex: number;
7
7
  categoryIndex: number;
8
8
  products?: Product[];
9
- productsWithErrors?: ProductQuantityCheckResponse["products"];
9
+ productsWithErrors?: QuantityCheckProductInfo[];
10
10
  isLoading?: boolean;
11
11
  isEditMode?: boolean;
12
12
  isProductSetAvailable?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"CategoryProducts.d.ts","sourceRoot":"","sources":["../../../../src/sales/manual-booking/category-products/CategoryProducts.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAE,YAAY,EAAE,MAAM,6DAA6D,CAAC;AAE3F,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzC,UAAU,qBAAqB;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,kBAAkB,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;IAC9D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC;AAED,eAAO,MAAM,gBAAgB,6HAS1B,qBAAqB,gBAuCvB,CAAC"}
1
+ {"version":3,"file":"CategoryProducts.d.ts","sourceRoot":"","sources":["../../../../src/sales/manual-booking/category-products/CategoryProducts.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,YAAY,EAAE,MAAM,6DAA6D,CAAC;AAE3F,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzC,UAAU,qBAAqB;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAC;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC;AAED,eAAO,MAAM,gBAAgB,6HAS1B,qBAAqB,gBAuCvB,CAAC"}
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
2
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
3
3
  import { OrderProduct } from "@licklist/core/dist/DataMapper/Order/OrderProductDataMapper";
4
4
  import { MenuStep } from "../../../types";
5
5
  export interface ManualBookingStepsControllProps {
6
6
  step: MenuStep;
7
7
  stepIndex: number;
8
- productsWithErrors?: ProductQuantityCheckResponse["products"];
8
+ productsWithErrors?: QuantityCheckProductInfo[];
9
9
  isLoading?: boolean;
10
10
  isEditMode?: boolean;
11
11
  isProductSetAvailable?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ManualBookingStepsControll.d.ts","sourceRoot":"","sources":["../../../../src/sales/manual-booking/controll/ManualBookingStepsControll.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAE,YAAY,EAAE,MAAM,6DAA6D,CAAC;AAE3F,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAI1C,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;IAC9D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC;AAED,eAAO,MAAM,0BAA0B,0GAQpC,+BAA+B,gBA2FjC,CAAC"}
1
+ {"version":3,"file":"ManualBookingStepsControll.d.ts","sourceRoot":"","sources":["../../../../src/sales/manual-booking/controll/ManualBookingStepsControll.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,YAAY,EAAE,MAAM,6DAA6D,CAAC;AAE3F,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAI1C,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAC;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC;AAED,eAAO,MAAM,0BAA0B,0GAQpC,+BAA+B,gBA2FjC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@licklist/design",
3
- "version": "0.44.485-dev.71",
3
+ "version": "0.44.485-dev.72",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/artelogicsoft/licklist_design.git"
@@ -3,7 +3,7 @@ import { EventVenueMapProvider } from "@licklist/plugins/dist/context/event/Even
3
3
  import { Point } from "@licklist/plugins/dist/types/context/event/point";
4
4
  import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
5
5
  import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
6
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
6
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
7
7
  import { VenueMap, VenueMapRef } from "./components/VenueMap";
8
8
  import { useCanvasSize } from "./hooks/useCanvasSize";
9
9
 
@@ -25,7 +25,7 @@ export type EventVenueMapProps = {
25
25
  products?: Partial<Product>[];
26
26
  pointProducts?: Partial<PointProduct>[];
27
27
  onPointProductsChange?: (values: Partial<PointProduct>[]) => void;
28
- soldOutProducts?: ProductQuantityCheckResponse["products"];
28
+ soldOutProducts?: QuantityCheckProductInfo[];
29
29
  } & EventVenueMapIframeProps;
30
30
 
31
31
  export const EventVenueMap = forwardRef<VenueMapRef, EventVenueMapProps>(
@@ -11,7 +11,7 @@ import {
11
11
  EventVenueMapContext,
12
12
  EventVenueMapContextProps,
13
13
  } from "@licklist/plugins/dist/context/event/EventVenueMapContext";
14
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
14
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
15
15
  import { useImage } from "../../hooks/useImage";
16
16
  import { useStageActions } from "../../hooks/useStageActions";
17
17
  import { MapPoint } from "../MapPoint";
@@ -33,7 +33,7 @@ export type VenueMapProps = {
33
33
  usedInIframe?: boolean;
34
34
  choosedProductUuids?: string[];
35
35
  errorOnChoosedProductUuids?: string[];
36
- soldOutProducts?: ProductQuantityCheckResponse["products"];
36
+ soldOutProducts?: QuantityCheckProductInfo[];
37
37
  };
38
38
 
39
39
  export const VenueMap = forwardRef<VenueMapRef, VenueMapProps>(
@@ -2,13 +2,13 @@ import React, { useMemo } from "react";
2
2
  import { useTranslation } from "react-i18next";
3
3
  import { useIntl } from "react-intl";
4
4
  import * as Config from "@licklist/core/dist/Config";
5
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
5
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
6
6
  import { Order, MenuStep } from "../../../../../../types";
7
7
 
8
8
  export type ProductsByMenuStepsProps = {
9
9
  orderProducts: Order[];
10
10
  step: MenuStep;
11
- productsWithErrors?: ProductQuantityCheckResponse["products"];
11
+ productsWithErrors?: QuantityCheckProductInfo[];
12
12
  };
13
13
 
14
14
  const getIdFromEntity = (entities: { id: number }[]) =>
@@ -1,4 +1,4 @@
1
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
1
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
2
2
  import { MenuStep, Order } from "../../../../../types";
3
3
 
4
4
  export const MOBILE_WIDTH = 576;
@@ -16,7 +16,7 @@ export type BookingSummaryProps = {
16
16
  hasPeopleInput?: boolean;
17
17
  transactionFee?: number;
18
18
  isFreePayment?: boolean;
19
- productsWithErrors?: ProductQuantityCheckResponse["products"];
19
+ productsWithErrors?: QuantityCheckProductInfo[];
20
20
  isLoading?: boolean;
21
21
  peopleAmount: number;
22
22
  };
@@ -19,7 +19,7 @@ import {
19
19
  import { Step } from "@licklist/core/dist/DataMapper/Product/StepDataMapper";
20
20
  import { useTranslation } from "react-i18next";
21
21
  import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
22
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
22
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
23
23
  import { Category } from "./components/Category";
24
24
  import { MenuStep } from "../../../../types";
25
25
  import { STEP_FORM_ID } from "../../constants";
@@ -46,7 +46,7 @@ export interface CalendarStepsFormProps {
46
46
  onActiveVenueMapChange?: (nextVenueMapId: string) => void;
47
47
  title: string;
48
48
  menuStepWithVenueMap: Step;
49
- soldOutProducts?: ProductQuantityCheckResponse["products"];
49
+ soldOutProducts?: QuantityCheckProductInfo[];
50
50
  }
51
51
 
52
52
  export type StepsFormRef = {
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
3
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
3
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
4
4
  import { ProductCategory } from "../../../../../types";
5
5
  import { CategoryProductModal } from "./CategoryProductModal";
6
6
 
@@ -9,7 +9,7 @@ export type CategoryProps = {
9
9
  activePointId?: number;
10
10
  pointProducts: PointProduct[];
11
11
  onCloseModal: () => void;
12
- soldOutProducts?: ProductQuantityCheckResponse["products"];
12
+ soldOutProducts?: QuantityCheckProductInfo[];
13
13
  };
14
14
 
15
15
  export const Category = ({
@@ -2,7 +2,7 @@ import React, { useMemo } from "react";
2
2
  import clsx from "clsx";
3
3
  import { Button } from "react-bootstrap";
4
4
  import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
5
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
5
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
6
6
  import { ProductCategory, Product } from "../../../../../types";
7
7
  import { CategoryProduct } from "../../CategoryProduct";
8
8
  import Icon from "../../../../../static/Icon";
@@ -13,7 +13,7 @@ export type CategoryProductModalProps = {
13
13
  category: ProductCategory;
14
14
  pointProducts: PointProduct[];
15
15
  onCloseModal: () => void;
16
- soldOutProducts?: ProductQuantityCheckResponse["products"];
16
+ soldOutProducts?: QuantityCheckProductInfo[];
17
17
  };
18
18
 
19
19
  export const CategoryProductModal = ({
@@ -1,14 +1,14 @@
1
1
  import React from "react";
2
2
 
3
3
  import { DeepMap, FieldError } from "react-hook-form";
4
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
4
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
5
5
  import { ProductCategory } from "../../../../types";
6
6
  import { CategoryProduct } from "../CategoryProduct";
7
7
 
8
8
  interface CategoryProps {
9
9
  productCategories: ProductCategory[];
10
- productsWithErrors?: ProductQuantityCheckResponse["products"];
11
- soldOutProducts?: ProductQuantityCheckResponse["products"];
10
+ productsWithErrors?: QuantityCheckProductInfo[];
11
+ soldOutProducts?: QuantityCheckProductInfo[];
12
12
  errors?: DeepMap<Record<string, any>, FieldError>;
13
13
  }
14
14
 
@@ -5,7 +5,7 @@ import { useTranslation } from "react-i18next";
5
5
  import { useIntl } from "react-intl";
6
6
  import * as Config from "@licklist/core/dist/Config";
7
7
  import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
8
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
8
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
9
9
  import { TicketDescription } from "../../../event/ticket-description";
10
10
  import { ProductCategory, Product } from "../../../../types";
11
11
  import { ProductQuantityInput } from "./components/ProductQuantityInput";
@@ -14,8 +14,8 @@ interface CategoryProductProps {
14
14
  product: Product;
15
15
  category: ProductCategory;
16
16
  canExpandDescription?: boolean;
17
- productsWithErrors?: ProductQuantityCheckResponse["products"];
18
- soldOutProducts?: ProductQuantityCheckResponse["products"];
17
+ productsWithErrors?: QuantityCheckProductInfo[];
18
+ soldOutProducts?: QuantityCheckProductInfo[];
19
19
  }
20
20
 
21
21
  export const CategoryProduct = ({
@@ -5,8 +5,8 @@ import clsx from "clsx";
5
5
  import { useTranslation } from "react-i18next";
6
6
  import { OverlayTrigger, Tooltip } from "react-bootstrap";
7
7
  import MediaService from "@licklist/plugins/dist/services/Media/MediaService";
8
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
9
8
  import { OrderProduct } from "@licklist/core/dist/DataMapper/Order/OrderProductDataMapper";
9
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
10
10
  import { NumberInputHorizontal } from "../number-input-horizontal";
11
11
  import { Product } from "../../../types";
12
12
  import { TipTapEditor } from "../../../tiptap-editor";
@@ -14,7 +14,7 @@ import { TipTapEditor } from "../../../tiptap-editor";
14
14
  interface CategoryProductProps {
15
15
  product: Product;
16
16
  fieldIndex: `steps.${number}.productCategories.${number}.products.${number}`;
17
- productsWithErrors?: ProductQuantityCheckResponse["products"];
17
+ productsWithErrors?: QuantityCheckProductInfo[];
18
18
  isLoading?: boolean;
19
19
  isEditMode?: boolean;
20
20
  isProductSetAvailable?: boolean;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
 
3
3
  import { Accordion } from "react-bootstrap";
4
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
4
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
5
5
  import { OrderProduct } from "@licklist/core/dist/DataMapper/Order/OrderProductDataMapper";
6
6
  import { CollapsibleInputGroup } from "../../../collapsible-input-group";
7
7
  import { Product } from "../../../types";
@@ -11,7 +11,7 @@ interface CategoryProductsProps {
11
11
  stepIndex: number;
12
12
  categoryIndex: number;
13
13
  products?: Product[];
14
- productsWithErrors?: ProductQuantityCheckResponse["products"];
14
+ productsWithErrors?: QuantityCheckProductInfo[];
15
15
  isLoading?: boolean;
16
16
  isEditMode?: boolean;
17
17
  isProductSetAvailable?: boolean;
@@ -2,7 +2,7 @@ import React, { useEffect, useState } from "react";
2
2
  import { Accordion } from "react-bootstrap";
3
3
  import { useFormContext } from "react-hook-form";
4
4
  import { useTranslation } from "react-i18next";
5
- import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
5
+ import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
6
6
  import { OrderProduct } from "@licklist/core/dist/DataMapper/Order/OrderProductDataMapper";
7
7
  import { ErrorModal } from "../../../iframe/order-process/components/ErrorModal/ErrorModal";
8
8
  import { MenuStep } from "../../../types";
@@ -12,7 +12,7 @@ import { CategoryProducts } from "../category-products/CategoryProducts";
12
12
  export interface ManualBookingStepsControllProps {
13
13
  step: MenuStep;
14
14
  stepIndex: number;
15
- productsWithErrors?: ProductQuantityCheckResponse["products"];
15
+ productsWithErrors?: QuantityCheckProductInfo[];
16
16
  isLoading?: boolean;
17
17
  isEditMode?: boolean;
18
18
  isProductSetAvailable?: boolean;