@licklist/design 0.71.16 → 0.71.17

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 (26) hide show
  1. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts +1 -1
  2. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
  3. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -2
  4. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts +1 -2
  5. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts.map +1 -1
  6. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.js +2 -2
  7. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +1 -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/components/ProductsByMenuStep/ProductsByMenuStep.js +1 -2
  10. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.d.ts.map +1 -1
  11. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.js +12 -4
  12. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
  13. package/dist/iframe/order-process/components/BookingSummary/utils/index.js +2 -1
  14. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
  15. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
  16. package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
  17. package/dist/iframe/payment/payment-page/PaymentPage.js +3 -11
  18. package/package.json +1 -1
  19. package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +0 -2
  20. package/src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx +1 -6
  21. package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +0 -3
  22. package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.tsx +4 -0
  23. package/src/iframe/order-process/components/BookingSummary/utils/index.ts +4 -4
  24. package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +4 -7
  25. package/src/iframe/payment/payment-page/PaymentPage.tsx +7 -14
  26. package/yarn.lock +94 -60
@@ -1,6 +1,6 @@
1
1
  import { BookingSummaryProps } from './types';
2
2
  export declare const BookingSummary: {
3
- ({ date, time, menuSteps, formValues, shouldHidePeopleAmount, eventName, transactionFee, productsWithErrors, isLoading, hasPeopleInput, isPaymentLink, peopleAmount, footer, headerComponent, isPaymentPage, }: Omit<BookingSummaryProps, "totallWithDiscount">): import("react/jsx-runtime").JSX.Element;
3
+ ({ date, time, menuSteps, formValues, shouldHidePeopleAmount, eventName, transactionFee, productsWithErrors, isLoading, hasPeopleInput, peopleAmount, footer, headerComponent, isPaymentPage, }: Omit<BookingSummaryProps, "totallWithDiscount">): import("react/jsx-runtime").JSX.Element;
4
4
  SummaryTotal: ({ formValues, totalWithDiscount, transactionFee, isFreePayment, }: Pick<BookingSummaryProps, "formValues" | "totalWithDiscount" | "transactionFee" | "isFreePayment">) => import("react/jsx-runtime").JSX.Element;
5
5
  Accordion: ({ children, title, showTitleOnlyOnMobile, hasPeopleInput, isPaymentPage, headerComponent, }: import("./components/BookingSummaryAccordion").BookingSummaryAccordionProps) => import("react/jsx-runtime").JSX.Element;
6
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"BookingSummary.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/BookingSummary/BookingSummary.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAM7C,eAAO,MAAM,cAAc;oNAiBxB,IAAI,CAAC,mBAAmB,EAAE,oBAAoB,CAAC;;;CAiFjD,CAAA"}
1
+ {"version":3,"file":"BookingSummary.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/BookingSummary/BookingSummary.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAM7C,eAAO,MAAM,cAAc;qMAgBxB,IAAI,CAAC,mBAAmB,EAAE,oBAAoB,CAAC;;;CAgFjD,CAAA"}
@@ -12,7 +12,7 @@ import { ReactComponent as SvgCalendar } from '../../../../assets/iframe/calenda
12
12
  import { LoaderIndicator } from '../../../../static/loader/LoaderIndicator.js';
13
13
 
14
14
  var BookingSummary = function(param) {
15
- var date = param.date, time = param.time, menuSteps = param.menuSteps, _param_formValues = param.formValues, formValues = _param_formValues === void 0 ? {} : _param_formValues, shouldHidePeopleAmount = param.shouldHidePeopleAmount, eventName = param.eventName, _param_transactionFee = param.transactionFee, transactionFee = _param_transactionFee === void 0 ? 0 : _param_transactionFee, _param_productsWithErrors = param.productsWithErrors, productsWithErrors = _param_productsWithErrors === void 0 ? [] : _param_productsWithErrors, isLoading = param.isLoading, hasPeopleInput = param.hasPeopleInput, isPaymentLink = param.isPaymentLink, peopleAmount = param.peopleAmount, footer = param.footer, headerComponent = param.headerComponent, // TODO Remove this, when all iframe pages will be ready
15
+ var date = param.date, time = param.time, menuSteps = param.menuSteps, _param_formValues = param.formValues, formValues = _param_formValues === void 0 ? {} : _param_formValues, shouldHidePeopleAmount = param.shouldHidePeopleAmount, eventName = param.eventName, _param_transactionFee = param.transactionFee, transactionFee = _param_transactionFee === void 0 ? 0 : _param_transactionFee, _param_productsWithErrors = param.productsWithErrors, productsWithErrors = _param_productsWithErrors === void 0 ? [] : _param_productsWithErrors, isLoading = param.isLoading, hasPeopleInput = param.hasPeopleInput, peopleAmount = param.peopleAmount, footer = param.footer, headerComponent = param.headerComponent, // TODO Remove this, when all iframe pages will be ready
16
16
  isPaymentPage = param.isPaymentPage;
17
17
  var _values;
18
18
  var t = useTranslation('Design').t;
@@ -51,7 +51,6 @@ var BookingSummary = function(param) {
51
51
  className: "products-by-menu-step",
52
52
  children: menuSteps.map(function(menuStep) {
53
53
  return /*#__PURE__*/ jsx(ProductsByMenuStep, {
54
- isPaymentLink: isPaymentLink,
55
54
  orderItems: formValues,
56
55
  step: menuStep,
57
56
  productsWithErrors: productsWithErrors
@@ -3,8 +3,7 @@ type ProductSummaryProps = {
3
3
  name?: string;
4
4
  productQuantityError?: string;
5
5
  orderProduct: OrderItem;
6
- isPaymentLink?: boolean;
7
6
  };
8
- export declare const ProductSummary: ({ name, productQuantityError, orderProduct, isPaymentLink, }: ProductSummaryProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const ProductSummary: ({ name, productQuantityError, orderProduct, }: ProductSummaryProps) => import("react/jsx-runtime").JSX.Element;
9
8
  export {};
10
9
  //# sourceMappingURL=ProductSummary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductSummary.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,wDAAwD,CAAA;AAElF,KAAK,mBAAmB,GAAG;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,YAAY,EAAE,SAAS,CAAA;IACvB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,cAAc,iEAKxB,mBAAmB,4CA8BrB,CAAA"}
1
+ {"version":3,"file":"ProductSummary.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,wDAAwD,CAAA;AAElF,KAAK,mBAAmB,GAAG;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,YAAY,EAAE,SAAS,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,cAAc,kDAIxB,mBAAmB,4CA2BrB,CAAA"}
@@ -4,10 +4,10 @@ import { useIntl } from 'react-intl';
4
4
  import * as Config from '@licklist/core/dist/Config';
5
5
 
6
6
  var ProductSummary = function(param) {
7
- var name = param.name, productQuantityError = param.productQuantityError, orderProduct = param.orderProduct, isPaymentLink = param.isPaymentLink;
7
+ var name = param.name, productQuantityError = param.productQuantityError, orderProduct = param.orderProduct;
8
8
  var t = useTranslation('Design').t;
9
9
  var formatNumber = useIntl().formatNumber;
10
- var priceForOneProduct = !isPaymentLink && (orderProduct === null || orderProduct === void 0 ? void 0 : orderProduct.hasDeposit) ? orderProduct === null || orderProduct === void 0 ? void 0 : orderProduct.deposit : orderProduct === null || orderProduct === void 0 ? void 0 : orderProduct.price;
10
+ var priceForOneProduct = orderProduct === null || orderProduct === void 0 ? void 0 : orderProduct.price;
11
11
  var fullPrice = formatNumber(priceForOneProduct * (orderProduct === null || orderProduct === void 0 ? void 0 : orderProduct.quantity), {
12
12
  style: 'currency',
13
13
  currency: Config.Currency.GBP
@@ -5,7 +5,6 @@ export type ProductsByMenuStepsProps = {
5
5
  orderItems: OrderItems;
6
6
  step: MenuStep;
7
7
  productsWithErrors?: QuantityCheckProductInfo[];
8
- isPaymentLink?: boolean;
9
8
  };
10
- export declare const ProductsByMenuStep: ({ orderItems, step, productsWithErrors, isPaymentLink, }: ProductsByMenuStepsProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const ProductsByMenuStep: ({ orderItems, step, productsWithErrors, }: ProductsByMenuStepsProps) => import("react/jsx-runtime").JSX.Element;
11
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":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAA;AACvF,OAAO,EAEL,UAAU,EACX,MAAM,wDAAwD,CAAA;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,qDAAqD,CAAA;AAqB9E,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,EAAE,UAAU,CAAA;IACtB,IAAI,EAAE,QAAQ,CAAA;IACd,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAA;IAC/C,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,kBAAkB,6DAK5B,wBAAwB,4CAwC1B,CAAA"}
1
+ {"version":3,"file":"ProductsByMenuStep.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAA;AACvF,OAAO,EAEL,UAAU,EACX,MAAM,wDAAwD,CAAA;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,qDAAqD,CAAA;AAqB9E,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,EAAE,UAAU,CAAA;IACtB,IAAI,EAAE,QAAQ,CAAA;IACd,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAA;CAChD,CAAA;AAED,eAAO,MAAM,kBAAkB,8CAI5B,wBAAwB,4CAuC1B,CAAA"}
@@ -18,7 +18,7 @@ var getOrderItemsForCategory = function(orderItems, categoryId) {
18
18
  });
19
19
  };
20
20
  var ProductsByMenuStep = function(param) {
21
- var orderItems = param.orderItems, step = param.step, _param_productsWithErrors = param.productsWithErrors, productsWithErrors = _param_productsWithErrors === void 0 ? [] : _param_productsWithErrors, isPaymentLink = param.isPaymentLink;
21
+ var orderItems = param.orderItems, step = param.step, _param_productsWithErrors = param.productsWithErrors, productsWithErrors = _param_productsWithErrors === void 0 ? [] : _param_productsWithErrors;
22
22
  var productCategories = step.productCategories;
23
23
  if (!doesStepHaveItems(orderItems, step)) return null;
24
24
  return /*#__PURE__*/ jsx("div", {
@@ -36,7 +36,6 @@ var ProductsByMenuStep = function(param) {
36
36
  categoryOrderItems.map(function(orderItem) {
37
37
  var productQuantityError = getProductError(productsWithErrors, orderItem.id);
38
38
  return /*#__PURE__*/ jsx(ProductSummary, {
39
- isPaymentLink: isPaymentLink,
40
39
  name: orderItem.name,
41
40
  productQuantityError: productQuantityError,
42
41
  orderProduct: orderItem
@@ -1 +1 @@
1
- {"version":3,"file":"SummaryTotal.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAIjD,eAAO,MAAM,YAAY,sEAKtB,IAAI,CACL,mBAAmB,EACnB,YAAY,GAAG,mBAAmB,GAAG,gBAAgB,GAAG,eAAe,CACxE,4CAyCA,CAAA"}
1
+ {"version":3,"file":"SummaryTotal.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAIjD,eAAO,MAAM,YAAY,sEAKtB,IAAI,CACL,mBAAmB,EACnB,YAAY,GAAG,mBAAmB,GAAG,gBAAgB,GAAG,eAAe,CACxE,4CA6CA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
1
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { useMemo } from 'react';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { cartSumByOrderProducts } from '../../utils/index.js';
@@ -37,9 +37,17 @@ var SummaryTotal = function(param) {
37
37
  label: t('totalWithDiscount'),
38
38
  amount: totalWithDiscount + transactionFee
39
39
  }),
40
- hasRemaingToPay && /*#__PURE__*/ jsx(SummaryTotalBlock, {
41
- label: t("remaining"),
42
- amount: totalSum - cartSum
40
+ hasRemaingToPay && /*#__PURE__*/ jsxs(Fragment, {
41
+ children: [
42
+ /*#__PURE__*/ jsx(SummaryTotalBlock, {
43
+ label: t("remaining"),
44
+ amount: totalSum - cartSum
45
+ }),
46
+ /*#__PURE__*/ jsx(SummaryTotalBlock, {
47
+ label: t("total"),
48
+ amount: totalSum
49
+ })
50
+ ]
43
51
  })
44
52
  ]
45
53
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/BookingSummary/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAA;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,wDAAwD,CAAA;AAElF,eAAO,MAAM,sBAAsB,mCAGhC;IACD,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,WAWA,CAAC;AAEF,eAAO,MAAM,eAAe,uBACN,wBAAwB,EAAE,aACnC,SAAS,CAAC,IAAI,CAAC,KACzB,MAAM,GAAG,SAGA,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/BookingSummary/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAA;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,wDAAwD,CAAA;AAElF,eAAO,MAAM,sBAAsB,mCAGhC;IACD,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,WAWA,CAAA;AAED,eAAO,MAAM,eAAe,uBACN,wBAAwB,EAAE,aACnC,SAAS,CAAC,IAAI,CAAC,KACzB,MAAM,GAAG,SAGA,CAAA"}
@@ -5,7 +5,8 @@ var cartSumByOrderProducts = function(param) {
5
5
  }
6
6
  return orderProducts.reduce(function(prevSumValue, product) {
7
7
  if (!product) return 0;
8
- var price = isTotalSum ? product === null || product === void 0 ? void 0 : product.price : (product === null || product === void 0 ? void 0 : product.deposit) || (product === null || product === void 0 ? void 0 : product.price);
8
+ var _product_deposit;
9
+ var price = isTotalSum ? product === null || product === void 0 ? void 0 : product.price : (_product_deposit = product === null || product === void 0 ? void 0 : product.deposit) !== null && _product_deposit !== void 0 ? _product_deposit : product === null || product === void 0 ? void 0 : product.price;
9
10
  return prevSumValue + price * product.quantity;
10
11
  }, 0);
11
12
  };
@@ -1 +1 @@
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,CAAA;AACvF,OAAO,EACL,OAAO,EACP,eAAe,EAChB,MAAM,qDAAqD,CAAA;AAI5D,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAA;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAA;IAC/C,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAA;CAC7C;AAED,eAAO,MAAM,eAAe,sFAMzB,oBAAoB,4CA6KtB,CAAA"}
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,CAAA;AACvF,OAAO,EACL,OAAO,EACP,eAAe,EAChB,MAAM,qDAAqD,CAAA;AAI5D,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAA;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAA;IAC/C,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAA;CAC7C;AAED,eAAO,MAAM,eAAe,sFAMzB,oBAAoB,4CA0KtB,CAAA"}
@@ -163,7 +163,7 @@ var CategoryProduct = function(param) {
163
163
  children: [
164
164
  /*#__PURE__*/ jsx("span", {
165
165
  className: "product-price",
166
- children: formatNumber(category.allowDeposits ? product === null || product === void 0 ? void 0 : product.deposit : product.price, {
166
+ children: formatNumber(product.price, {
167
167
  style: 'currency',
168
168
  currency: Config.Currency.GBP
169
169
  })
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentPage.d.ts","sourceRoot":"","sources":["../../../../src/iframe/payment/payment-page/PaymentPage.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAA;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAA;AAI9F,OAAO,EAEL,oBAAoB,EACrB,MAAM,4BAA4B,CAAA;AAOnC,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACb;AAED,UAAU,YAAa,SAAQ,oBAAoB;IACjD,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAA;IACjC,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAA;IAChC,IAAI,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAA;IACjC,SAAS,EAAE,OAAO,CAAA;IAClB,mBAAmB,EAAE,mBAAmB,CAAA;IACxC,eAAe,CAAC,EAAE,eAAe,CAAA;CAClC;AAED,eAAO,MAAM,WAAW,kIAQrB,YAAY,4CAwNd,CAAA"}
1
+ {"version":3,"file":"PaymentPage.d.ts","sourceRoot":"","sources":["../../../../src/iframe/payment/payment-page/PaymentPage.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAA;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAA;AAI9F,OAAO,EAEL,oBAAoB,EACrB,MAAM,4BAA4B,CAAA;AAOnC,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACb;AAED,UAAU,YAAa,SAAQ,oBAAoB;IACjD,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAA;IACjC,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAA;IAChC,IAAI,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAA;IACjC,SAAS,EAAE,OAAO,CAAA;IAClB,mBAAmB,EAAE,mBAAmB,CAAA;IACxC,eAAe,CAAC,EAAE,eAAe,CAAA;CAClC;AAED,eAAO,MAAM,WAAW,kIAQrB,YAAY,4CAiNd,CAAA"}
@@ -231,17 +231,9 @@ var PaymentPage = function(_param) {
231
231
  label: t(hasRemaingToPay ? 'payNow' : 'total'),
232
232
  amount: orderCartAmountByFormValues + ((bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.transactionFee) || 0)
233
233
  }),
234
- hasRemaingToPay && /*#__PURE__*/ jsxs(Fragment, {
235
- children: [
236
- /*#__PURE__*/ jsx(SummaryTotalBlock, {
237
- label: t('remaining'),
238
- amount: orderTotalAmountByFormValues - orderCartAmountByFormValues
239
- }),
240
- /*#__PURE__*/ jsx(SummaryTotalBlock, {
241
- label: t('total'),
242
- amount: orderTotalAmountByFormValues
243
- })
244
- ]
234
+ hasRemaingToPay && /*#__PURE__*/ jsx(SummaryTotalBlock, {
235
+ label: t('remaining'),
236
+ amount: orderTotalAmountByFormValues - orderCartAmountByFormValues
245
237
  }),
246
238
  isPaymentLinkWithRemainingToPay && /*#__PURE__*/ jsx(SummaryTotalBlock, {
247
239
  label: t('remaningToPay'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@licklist/design",
3
- "version": "0.71.16",
3
+ "version": "0.71.17",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/artelogicsoft/licklist_design.git"
@@ -21,7 +21,6 @@ export const BookingSummary = ({
21
21
  productsWithErrors = [],
22
22
  isLoading,
23
23
  hasPeopleInput,
24
- isPaymentLink,
25
24
  peopleAmount,
26
25
  footer,
27
26
  headerComponent,
@@ -62,7 +61,6 @@ export const BookingSummary = ({
62
61
  <div className='products-by-menu-step'>
63
62
  {menuSteps.map((menuStep) => (
64
63
  <ProductsByMenuStep
65
- isPaymentLink={isPaymentLink}
66
64
  key={menuStep.id}
67
65
  orderItems={formValues}
68
66
  step={menuStep}
@@ -7,22 +7,17 @@ type ProductSummaryProps = {
7
7
  name?: string
8
8
  productQuantityError?: string
9
9
  orderProduct: OrderItem
10
- isPaymentLink?: boolean
11
10
  }
12
11
 
13
12
  export const ProductSummary = ({
14
13
  name,
15
14
  productQuantityError,
16
15
  orderProduct,
17
- isPaymentLink,
18
16
  }: ProductSummaryProps) => {
19
17
  const { t } = useTranslation('Design')
20
18
  const { formatNumber } = useIntl()
21
19
 
22
- const priceForOneProduct =
23
- !isPaymentLink && orderProduct?.hasDeposit
24
- ? orderProduct?.deposit
25
- : orderProduct?.price
20
+ const priceForOneProduct = orderProduct?.price
26
21
 
27
22
  const fullPrice = formatNumber(priceForOneProduct * orderProduct?.quantity, {
28
23
  style: 'currency',
@@ -28,14 +28,12 @@ export type ProductsByMenuStepsProps = {
28
28
  orderItems: OrderItems
29
29
  step: MenuStep
30
30
  productsWithErrors?: QuantityCheckProductInfo[]
31
- isPaymentLink?: boolean
32
31
  }
33
32
 
34
33
  export const ProductsByMenuStep = ({
35
34
  orderItems,
36
35
  step,
37
36
  productsWithErrors = [],
38
- isPaymentLink,
39
37
  }: ProductsByMenuStepsProps) => {
40
38
  const { productCategories } = step
41
39
 
@@ -63,7 +61,6 @@ export const ProductsByMenuStep = ({
63
61
 
64
62
  return (
65
63
  <ProductSummary
66
- isPaymentLink={isPaymentLink}
67
64
  key={orderItem.id}
68
65
  name={orderItem.name}
69
66
  productQuantityError={productQuantityError}
@@ -49,7 +49,11 @@ export const SummaryTotal = ({
49
49
  />
50
50
  )}
51
51
  {hasRemaingToPay && (
52
+ <>
52
53
  <SummaryTotalBlock label={t("remaining")} amount={totalSum - cartSum} />
54
+
55
+ <SummaryTotalBlock label={t("total")} amount={totalSum} />
56
+ </>
53
57
  )}
54
58
  </div>
55
59
  )
@@ -15,10 +15,10 @@ export const cartSumByOrderProducts = ({
15
15
  if (!product) return 0;
16
16
  const price = isTotalSum
17
17
  ? product?.price
18
- : product?.deposit || product?.price;
19
- return prevSumValue + price * product.quantity;
20
- }, 0);
21
- };
18
+ : product?.deposit ?? product?.price
19
+ return prevSumValue + price * product.quantity
20
+ }, 0)
21
+ }
22
22
 
23
23
  export const getProductError = (
24
24
  productsWithErrors: QuantityCheckProductInfo[],
@@ -132,13 +132,10 @@ export const CategoryProduct = ({
132
132
  </div>
133
133
  <div className='iframe-event__product-price-wrapper'>
134
134
  <span className='product-price'>
135
- {formatNumber(
136
- category.allowDeposits ? product?.deposit : product.price,
137
- {
138
- style: 'currency',
139
- currency: Config.Currency.GBP,
140
- },
141
- )}
135
+ {formatNumber(product.price, {
136
+ style: 'currency',
137
+ currency: Config.Currency.GBP,
138
+ })}
142
139
  </span>
143
140
  <ProductQuantityInput
144
141
  onChange={onChange}
@@ -198,20 +198,13 @@ export const PaymentPage = ({
198
198
  )}
199
199
 
200
200
  {hasRemaingToPay && (
201
- <>
202
- <SummaryTotalBlock
203
- label={t('remaining')}
204
- amount={
205
- orderTotalAmountByFormValues -
206
- orderCartAmountByFormValues
207
- }
208
- />
209
-
210
- <SummaryTotalBlock
211
- label={t('total')}
212
- amount={orderTotalAmountByFormValues}
213
- />
214
- </>
201
+ <SummaryTotalBlock
202
+ label={t('remaining')}
203
+ amount={
204
+ orderTotalAmountByFormValues -
205
+ orderCartAmountByFormValues
206
+ }
207
+ />
215
208
  )}
216
209
 
217
210
  {isPaymentLinkWithRemainingToPay && (
package/yarn.lock CHANGED
@@ -5175,14 +5175,14 @@ __metadata:
5175
5175
  linkType: hard
5176
5176
 
5177
5177
  "@tiptap/extension-bubble-menu@npm:^2.0.0-beta.56":
5178
- version: 2.10.4
5179
- resolution: "@tiptap/extension-bubble-menu@npm:2.10.4"
5178
+ version: 2.11.0
5179
+ resolution: "@tiptap/extension-bubble-menu@npm:2.11.0"
5180
5180
  dependencies:
5181
5181
  tippy.js: "npm:^6.3.7"
5182
5182
  peerDependencies:
5183
5183
  "@tiptap/core": ^2.7.0
5184
5184
  "@tiptap/pm": ^2.7.0
5185
- checksum: 10c0/7f772c9852f6104529a0880c381784b342d8634d882a34f386bf7d9317c7de371396e5f5aa3e066703a9f4e540e2e940ea4f551dcf7b4d831ce3e1da7fbd3a5b
5185
+ checksum: 10c0/2766729accb284cbe1adfb224bdeb8597f6279a8197b5f7f74e5be4f2cac03732ac8422af90d81490eabd5b5cca13a3077817ca4acb229ea278785c21a595ee3
5186
5186
  languageName: node
5187
5187
  linkType: hard
5188
5188
 
@@ -5205,14 +5205,14 @@ __metadata:
5205
5205
  linkType: hard
5206
5206
 
5207
5207
  "@tiptap/extension-floating-menu@npm:^2.0.0-beta.51":
5208
- version: 2.10.4
5209
- resolution: "@tiptap/extension-floating-menu@npm:2.10.4"
5208
+ version: 2.11.0
5209
+ resolution: "@tiptap/extension-floating-menu@npm:2.11.0"
5210
5210
  dependencies:
5211
5211
  tippy.js: "npm:^6.3.7"
5212
5212
  peerDependencies:
5213
5213
  "@tiptap/core": ^2.7.0
5214
5214
  "@tiptap/pm": ^2.7.0
5215
- checksum: 10c0/3e6b1483d2d8d9aba8c7f931fdaaf36b2f61437ade7779ae1c51fa661d7bcc5dff70bb9050dabbc04d33ab3edcad4238e0f2a39bc3d4153361d20fc4e7298ad5
5215
+ checksum: 10c0/aae10844745b61624f48fefaf2b65546b15517bcbed40765d653cae190d325c87c890354c5ab869cecf1c8387646d96527040520f337f318dc22b674e5da4ec9
5216
5216
  languageName: node
5217
5217
  linkType: hard
5218
5218
 
@@ -5692,11 +5692,11 @@ __metadata:
5692
5692
  linkType: hard
5693
5693
 
5694
5694
  "@types/node@npm:*":
5695
- version: 22.10.2
5696
- resolution: "@types/node@npm:22.10.2"
5695
+ version: 22.10.3
5696
+ resolution: "@types/node@npm:22.10.3"
5697
5697
  dependencies:
5698
5698
  undici-types: "npm:~6.20.0"
5699
- checksum: 10c0/2c7b71a040f1ef5320938eca8ebc946e6905caa9bbf3d5665d9b3774a8d15ea9fab1582b849a6d28c7fc80756a62c5666bc66b69f42f4d5dafd1ccb193cdb4ac
5699
+ checksum: 10c0/0471a73c8672c803b1f2b912c2c466d00a217186933e8ff38ec7779b4a3f88a0eea3b513a59f2abf9de17cc8bbca688a3c6643c6513ac8dd1c3e45d25fab93b1
5700
5700
  languageName: node
5701
5701
  linkType: hard
5702
5702
 
@@ -9761,13 +9761,13 @@ __metadata:
9761
9761
  linkType: hard
9762
9762
 
9763
9763
  "domutils@npm:^3.0.1":
9764
- version: 3.1.0
9765
- resolution: "domutils@npm:3.1.0"
9764
+ version: 3.2.1
9765
+ resolution: "domutils@npm:3.2.1"
9766
9766
  dependencies:
9767
9767
  dom-serializer: "npm:^2.0.0"
9768
9768
  domelementtype: "npm:^2.3.0"
9769
9769
  domhandler: "npm:^5.0.3"
9770
- checksum: 10c0/342d64cf4d07b8a0573fb51e0a6312a88fb520c7fefd751870bf72fa5fc0f2e0cb9a3958a573610b1d608c6e2a69b8e9b4b40f0bfb8f87a71bce4f180cca1887
9770
+ checksum: 10c0/af2a8e28fe51137307d2400c4b6483a3294ac8f784b14fc74b67f3aca3aa53a63144bd9e2bb96f23174c0c1aa680544bf2d77b4cc94e6f90f33314ed65c12a4f
9771
9771
  languageName: node
9772
9772
  linkType: hard
9773
9773
 
@@ -9882,9 +9882,9 @@ __metadata:
9882
9882
  linkType: hard
9883
9883
 
9884
9884
  "electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.73":
9885
- version: 1.5.75
9886
- resolution: "electron-to-chromium@npm:1.5.75"
9887
- checksum: 10c0/df769b7a5e9895a8ba8eb7f31b9525a0e00b8aef6e3ecab3faebe90756fc9ac008dddb8d9a2a78d2079cbaebd27da6e1379f77e910163f405bb1a3d622ec4276
9885
+ version: 1.5.76
9886
+ resolution: "electron-to-chromium@npm:1.5.76"
9887
+ checksum: 10c0/5a977be9fd5810769a7b4eae0e4b41b6beca65f2b3f3b7442819f6c93366d767d183cfbf408714f944a9bf3aa304f8c9ab9d0cdfd8e878ab8f2cbb61f8b22acd
9888
9888
  languageName: node
9889
9889
  linkType: hard
9890
9890
 
@@ -10092,8 +10092,8 @@ __metadata:
10092
10092
  linkType: hard
10093
10093
 
10094
10094
  "es-abstract@npm:^1.17.5, es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3, es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.3, es-abstract@npm:^1.23.5, es-abstract@npm:^1.23.6":
10095
- version: 1.23.7
10096
- resolution: "es-abstract@npm:1.23.7"
10095
+ version: 1.23.8
10096
+ resolution: "es-abstract@npm:1.23.8"
10097
10097
  dependencies:
10098
10098
  array-buffer-byte-length: "npm:^1.0.2"
10099
10099
  arraybuffer.prototype.slice: "npm:^1.0.4"
@@ -10130,8 +10130,10 @@ __metadata:
10130
10130
  object-inspect: "npm:^1.13.3"
10131
10131
  object-keys: "npm:^1.1.1"
10132
10132
  object.assign: "npm:^4.1.7"
10133
+ own-keys: "npm:^1.0.0"
10133
10134
  regexp.prototype.flags: "npm:^1.5.3"
10134
10135
  safe-array-concat: "npm:^1.1.3"
10136
+ safe-push-apply: "npm:^1.0.0"
10135
10137
  safe-regex-test: "npm:^1.1.0"
10136
10138
  string.prototype.trim: "npm:^1.2.10"
10137
10139
  string.prototype.trimend: "npm:^1.0.9"
@@ -10142,7 +10144,7 @@ __metadata:
10142
10144
  typed-array-length: "npm:^1.0.7"
10143
10145
  unbox-primitive: "npm:^1.1.0"
10144
10146
  which-typed-array: "npm:^1.1.18"
10145
- checksum: 10c0/68d24e56f47d773639d49c561366c8d9e775187e0d64f011209261fcb3a63caf764f60c0e66940bbd8815a862f9ca8114f6a5dfdeb776da87436d46bcd82ae48
10147
+ checksum: 10c0/5e3afb94ff8ad70801625e3d262a0384cc75e42574b6c2e89b33d255c03e15e1af72ca9fd459511b717ec25b79812520481c3b4d1f9bea6038bae1421225907b
10146
10148
  languageName: node
10147
10149
  linkType: hard
10148
10150
 
@@ -10218,13 +10220,14 @@ __metadata:
10218
10220
  linkType: hard
10219
10221
 
10220
10222
  "es-set-tostringtag@npm:^2.0.3":
10221
- version: 2.0.3
10222
- resolution: "es-set-tostringtag@npm:2.0.3"
10223
+ version: 2.1.0
10224
+ resolution: "es-set-tostringtag@npm:2.1.0"
10223
10225
  dependencies:
10224
- get-intrinsic: "npm:^1.2.4"
10226
+ es-errors: "npm:^1.3.0"
10227
+ get-intrinsic: "npm:^1.2.6"
10225
10228
  has-tostringtag: "npm:^1.0.2"
10226
- hasown: "npm:^2.0.1"
10227
- checksum: 10c0/f22aff1585eb33569c326323f0b0d175844a1f11618b86e193b386f8be0ea9474cfbe46df39c45d959f7aa8f6c06985dc51dd6bce5401645ec5a74c4ceaa836a
10229
+ hasown: "npm:^2.0.2"
10230
+ checksum: 10c0/ef2ca9ce49afe3931cb32e35da4dcb6d86ab02592cfc2ce3e49ced199d9d0bb5085fc7e73e06312213765f5efa47cc1df553a6a5154584b21448e9fb8355b1af
10228
10231
  languageName: node
10229
10232
  linkType: hard
10230
10233
 
@@ -10991,11 +10994,11 @@ __metadata:
10991
10994
  linkType: hard
10992
10995
 
10993
10996
  "fastq@npm:^1.6.0":
10994
- version: 1.17.1
10995
- resolution: "fastq@npm:1.17.1"
10997
+ version: 1.18.0
10998
+ resolution: "fastq@npm:1.18.0"
10996
10999
  dependencies:
10997
11000
  reusify: "npm:^1.0.4"
10998
- checksum: 10c0/1095f16cea45fb3beff558bb3afa74ca7a9250f5a670b65db7ed585f92b4b48381445cd328b3d87323da81e43232b5d5978a8201bde84e0cd514310f1ea6da34
11001
+ checksum: 10c0/7be87ecc41762adbddf558d24182f50a4b1a3ef3ee807d33b7623da7aee5faecdcc94fce5aa13fe91df93e269f383232bbcdb2dc5338cd1826503d6063221f36
10999
11002
  languageName: node
11000
11003
  linkType: hard
11001
11004
 
@@ -11626,6 +11629,16 @@ __metadata:
11626
11629
  languageName: node
11627
11630
  linkType: hard
11628
11631
 
11632
+ "get-proto@npm:^1.0.0":
11633
+ version: 1.0.0
11634
+ resolution: "get-proto@npm:1.0.0"
11635
+ dependencies:
11636
+ dunder-proto: "npm:^1.0.1"
11637
+ es-object-atoms: "npm:^1.0.0"
11638
+ checksum: 10c0/460c917c73ae64233114349854657b755c7353d736b3d33a5cde59920cbfdca92d1812cf15423ae901fe77edd9709840782fa32766902367482ec14210b9897f
11639
+ languageName: node
11640
+ linkType: hard
11641
+
11629
11642
  "get-stream@npm:^4.0.0":
11630
11643
  version: 4.1.0
11631
11644
  resolution: "get-stream@npm:4.1.0"
@@ -12107,7 +12120,7 @@ __metadata:
12107
12120
  languageName: node
12108
12121
  linkType: hard
12109
12122
 
12110
- "hasown@npm:^2.0.0, hasown@npm:^2.0.1, hasown@npm:^2.0.2":
12123
+ "hasown@npm:^2.0.0, hasown@npm:^2.0.2":
12111
12124
  version: 2.0.2
12112
12125
  resolution: "hasown@npm:2.0.2"
12113
12126
  dependencies:
@@ -13374,16 +13387,16 @@ __metadata:
13374
13387
  linkType: hard
13375
13388
 
13376
13389
  "iterator.prototype@npm:^1.1.4":
13377
- version: 1.1.4
13378
- resolution: "iterator.prototype@npm:1.1.4"
13390
+ version: 1.1.5
13391
+ resolution: "iterator.prototype@npm:1.1.5"
13379
13392
  dependencies:
13380
13393
  define-data-property: "npm:^1.1.4"
13381
13394
  es-object-atoms: "npm:^1.0.0"
13382
13395
  get-intrinsic: "npm:^1.2.6"
13396
+ get-proto: "npm:^1.0.0"
13383
13397
  has-symbols: "npm:^1.1.0"
13384
- reflect.getprototypeof: "npm:^1.0.8"
13385
13398
  set-function-name: "npm:^2.0.2"
13386
- checksum: 10c0/e63fcb5c1094192f43795b836fae9149a7dc2d445425958045e8e193df428407f909efca21bfdf0d885668ae8204681984afac7dd75478118e62f3cd3959c538
13399
+ checksum: 10c0/f7a262808e1b41049ab55f1e9c29af7ec1025a000d243b83edf34ce2416eedd56079b117fa59376bb4a724110690f13aa8427f2ee29a09eec63a7e72367626d0
13387
13400
  languageName: node
13388
13401
  linkType: hard
13389
13402
 
@@ -14819,7 +14832,7 @@ __metadata:
14819
14832
  languageName: node
14820
14833
  linkType: hard
14821
14834
 
14822
- "mlly@npm:^1.7.2, mlly@npm:^1.7.3":
14835
+ "mlly@npm:^1.7.3":
14823
14836
  version: 1.7.3
14824
14837
  resolution: "mlly@npm:1.7.3"
14825
14838
  dependencies:
@@ -15439,6 +15452,17 @@ __metadata:
15439
15452
  languageName: node
15440
15453
  linkType: hard
15441
15454
 
15455
+ "own-keys@npm:^1.0.0":
15456
+ version: 1.0.1
15457
+ resolution: "own-keys@npm:1.0.1"
15458
+ dependencies:
15459
+ get-intrinsic: "npm:^1.2.6"
15460
+ object-keys: "npm:^1.1.1"
15461
+ safe-push-apply: "npm:^1.0.0"
15462
+ checksum: 10c0/6dfeb3455bff92ec3f16a982d4e3e65676345f6902d9f5ded1d8265a6318d0200ce461956d6d1c70053c7fe9f9fe65e552faac03f8140d37ef0fdd108e67013a
15463
+ languageName: node
15464
+ linkType: hard
15465
+
15442
15466
  "p-all@npm:^2.1.0":
15443
15467
  version: 2.1.0
15444
15468
  resolution: "p-all@npm:2.1.0"
@@ -15975,13 +15999,13 @@ __metadata:
15975
15999
  linkType: hard
15976
16000
 
15977
16001
  "pkg-types@npm:^1.2.1":
15978
- version: 1.2.1
15979
- resolution: "pkg-types@npm:1.2.1"
16002
+ version: 1.3.0
16003
+ resolution: "pkg-types@npm:1.3.0"
15980
16004
  dependencies:
15981
16005
  confbox: "npm:^0.1.8"
15982
- mlly: "npm:^1.7.2"
16006
+ mlly: "npm:^1.7.3"
15983
16007
  pathe: "npm:^1.1.2"
15984
- checksum: 10c0/4aef765c039e3ec3ca55171bb8ad776cf060d894c45ddf92b9d680b3fdb1817c8d1c428f74ea6aae144493fa1d6a97df6b8caec6dc31e418f1ce1f728d38014e
16008
+ checksum: 10c0/76c3a49f9106f648b7fad4b5aa18ce84e27c4eafc297e41cbd00e252a9ac1d2625907a05319b0fbcce3c43438d59a677f8306b88daa61c15c6d837a236ce7e2c
15985
16009
  languageName: node
15986
16010
  linkType: hard
15987
16011
 
@@ -16921,7 +16945,7 @@ __metadata:
16921
16945
  languageName: node
16922
16946
  linkType: hard
16923
16947
 
16924
- "prosemirror-keymap@npm:^1.0.0, prosemirror-keymap@npm:^1.1.2, prosemirror-keymap@npm:^1.1.5, prosemirror-keymap@npm:^1.2.0":
16948
+ "prosemirror-keymap@npm:^1.0.0, prosemirror-keymap@npm:^1.1.5, prosemirror-keymap@npm:^1.2.0, prosemirror-keymap@npm:^1.2.2":
16925
16949
  version: 1.2.2
16926
16950
  resolution: "prosemirror-keymap@npm:1.2.2"
16927
16951
  dependencies:
@@ -16954,7 +16978,7 @@ __metadata:
16954
16978
  languageName: node
16955
16979
  linkType: hard
16956
16980
 
16957
- "prosemirror-model@npm:^1.0.0, prosemirror-model@npm:^1.16.1, prosemirror-model@npm:^1.18.1, prosemirror-model@npm:^1.19.0, prosemirror-model@npm:^1.20.0, prosemirror-model@npm:^1.21.0, prosemirror-model@npm:^1.8.1":
16981
+ "prosemirror-model@npm:^1.0.0, prosemirror-model@npm:^1.16.1, prosemirror-model@npm:^1.18.1, prosemirror-model@npm:^1.19.0, prosemirror-model@npm:^1.20.0, prosemirror-model@npm:^1.21.0, prosemirror-model@npm:^1.24.1":
16958
16982
  version: 1.24.1
16959
16983
  resolution: "prosemirror-model@npm:1.24.1"
16960
16984
  dependencies:
@@ -16983,7 +17007,7 @@ __metadata:
16983
17007
  languageName: node
16984
17008
  linkType: hard
16985
17009
 
16986
- "prosemirror-state@npm:^1.0.0, prosemirror-state@npm:^1.2.2, prosemirror-state@npm:^1.3.1, prosemirror-state@npm:^1.3.4, prosemirror-state@npm:^1.4.0, prosemirror-state@npm:^1.4.1":
17010
+ "prosemirror-state@npm:^1.0.0, prosemirror-state@npm:^1.2.2, prosemirror-state@npm:^1.3.4, prosemirror-state@npm:^1.4.0, prosemirror-state@npm:^1.4.1, prosemirror-state@npm:^1.4.3":
16987
17011
  version: 1.4.3
16988
17012
  resolution: "prosemirror-state@npm:1.4.3"
16989
17013
  dependencies:
@@ -16995,15 +17019,15 @@ __metadata:
16995
17019
  linkType: hard
16996
17020
 
16997
17021
  "prosemirror-tables@npm:^1.3.0":
16998
- version: 1.6.1
16999
- resolution: "prosemirror-tables@npm:1.6.1"
17022
+ version: 1.6.2
17023
+ resolution: "prosemirror-tables@npm:1.6.2"
17000
17024
  dependencies:
17001
- prosemirror-keymap: "npm:^1.1.2"
17002
- prosemirror-model: "npm:^1.8.1"
17003
- prosemirror-state: "npm:^1.3.1"
17004
- prosemirror-transform: "npm:^1.2.1"
17005
- prosemirror-view: "npm:^1.13.3"
17006
- checksum: 10c0/a42e33a30f39fdaf546c078bdaa1dfe91d3d2a28d24caca381fb79b6fe4762347d913e2a1d042b9e125d89ce9cabdecf2399e7eb555a63743860f88c537cff22
17025
+ prosemirror-keymap: "npm:^1.2.2"
17026
+ prosemirror-model: "npm:^1.24.1"
17027
+ prosemirror-state: "npm:^1.4.3"
17028
+ prosemirror-transform: "npm:^1.10.2"
17029
+ prosemirror-view: "npm:^1.37.1"
17030
+ checksum: 10c0/cac5a8d88189d4801873f404c86fda3b161b30a637be1b08337e4ba521c668ec070543d09cef728a3f6990d8035146c3da73b9cee812833a424d8780cfef5a30
17007
17031
  languageName: node
17008
17032
  linkType: hard
17009
17033
 
@@ -17021,7 +17045,7 @@ __metadata:
17021
17045
  languageName: node
17022
17046
  linkType: hard
17023
17047
 
17024
- "prosemirror-transform@npm:^1.0.0, prosemirror-transform@npm:^1.1.0, prosemirror-transform@npm:^1.10.2, prosemirror-transform@npm:^1.2.1, prosemirror-transform@npm:^1.3.3, prosemirror-transform@npm:^1.7.0, prosemirror-transform@npm:^1.7.3":
17048
+ "prosemirror-transform@npm:^1.0.0, prosemirror-transform@npm:^1.1.0, prosemirror-transform@npm:^1.10.2, prosemirror-transform@npm:^1.3.3, prosemirror-transform@npm:^1.7.0, prosemirror-transform@npm:^1.7.3":
17025
17049
  version: 1.10.2
17026
17050
  resolution: "prosemirror-transform@npm:1.10.2"
17027
17051
  dependencies:
@@ -17030,7 +17054,7 @@ __metadata:
17030
17054
  languageName: node
17031
17055
  linkType: hard
17032
17056
 
17033
- "prosemirror-view@npm:^1.0.0, prosemirror-view@npm:^1.1.0, prosemirror-view@npm:^1.13.3, prosemirror-view@npm:^1.23.6, prosemirror-view@npm:^1.27.0, prosemirror-view@npm:^1.28.2, prosemirror-view@npm:^1.31.0":
17057
+ "prosemirror-view@npm:^1.0.0, prosemirror-view@npm:^1.1.0, prosemirror-view@npm:^1.23.6, prosemirror-view@npm:^1.27.0, prosemirror-view@npm:^1.28.2, prosemirror-view@npm:^1.31.0, prosemirror-view@npm:^1.37.1":
17034
17058
  version: 1.37.1
17035
17059
  resolution: "prosemirror-view@npm:1.37.1"
17036
17060
  dependencies:
@@ -17336,13 +17360,13 @@ __metadata:
17336
17360
  linkType: hard
17337
17361
 
17338
17362
  "react-confetti@npm:^6.1.0":
17339
- version: 6.1.0
17340
- resolution: "react-confetti@npm:6.1.0"
17363
+ version: 6.2.2
17364
+ resolution: "react-confetti@npm:6.2.2"
17341
17365
  dependencies:
17342
17366
  tween-functions: "npm:^1.2.0"
17343
17367
  peerDependencies:
17344
- react: ^16.3.0 || ^17.0.1 || ^18.0.0
17345
- checksum: 10c0/5b4eb23eef564695f6db1d25b294ed31d5fa21ff4092c6a38e641f85cd10e3e0b50014366e3ac0f7cf772e73faaecd14614e5b11a5531336fa769dda8068ab59
17368
+ react: ^16.3.0 || ^17.0.1 || ^18.0.0 || ^19.0.0
17369
+ checksum: 10c0/c25250acc18a7e66a2a41aa429fee70a1e56346a73dced7aa64d8c8e87b96b478eb90933b530d1857832785eeb4a5978c5cb30080d187d32bbc68c3c0ef7f0a9
17346
17370
  languageName: node
17347
17371
  linkType: hard
17348
17372
 
@@ -18318,7 +18342,7 @@ __metadata:
18318
18342
  languageName: node
18319
18343
  linkType: hard
18320
18344
 
18321
- "reflect.getprototypeof@npm:^1.0.6, reflect.getprototypeof@npm:^1.0.8, reflect.getprototypeof@npm:^1.0.9":
18345
+ "reflect.getprototypeof@npm:^1.0.6, reflect.getprototypeof@npm:^1.0.9":
18322
18346
  version: 1.0.9
18323
18347
  resolution: "reflect.getprototypeof@npm:1.0.9"
18324
18348
  dependencies:
@@ -19053,6 +19077,16 @@ __metadata:
19053
19077
  languageName: node
19054
19078
  linkType: hard
19055
19079
 
19080
+ "safe-push-apply@npm:^1.0.0":
19081
+ version: 1.0.0
19082
+ resolution: "safe-push-apply@npm:1.0.0"
19083
+ dependencies:
19084
+ es-errors: "npm:^1.3.0"
19085
+ isarray: "npm:^2.0.5"
19086
+ checksum: 10c0/831f1c9aae7436429e7862c7e46f847dfe490afac20d0ee61bae06108dbf5c745a0de3568ada30ccdd3eeb0864ca8331b2eef703abd69bfea0745b21fd320750
19087
+ languageName: node
19088
+ linkType: hard
19089
+
19056
19090
  "safe-regex-test@npm:^1.1.0":
19057
19091
  version: 1.1.0
19058
19092
  resolution: "safe-regex-test@npm:1.1.0"
@@ -19885,9 +19919,9 @@ __metadata:
19885
19919
  linkType: hard
19886
19920
 
19887
19921
  "store2@npm:^2.12.0":
19888
- version: 2.14.3
19889
- resolution: "store2@npm:2.14.3"
19890
- checksum: 10c0/22e1096e6d69590672ca0b7f891d82b060837ef4c3e5df0d4563e6cbed14c52ddf2589fa94b79f4311b6ec41d95d6142e5d01d194539e0175c3fb4090cca8244
19922
+ version: 2.14.4
19923
+ resolution: "store2@npm:2.14.4"
19924
+ checksum: 10c0/3453c9c8c153c760e6290395a7bc23669df5dc8a6e8a49f9b3187dbb9f86d14b58705aa4f17fad6b536d4b04fe3e66ea5bde12c1352abd52c6b303bbf5757ab6
19891
19925
  languageName: node
19892
19926
  linkType: hard
19893
19927
 
@@ -22143,11 +22177,11 @@ __metadata:
22143
22177
  linkType: hard
22144
22178
 
22145
22179
  "yaml@npm:^2.3.4":
22146
- version: 2.6.1
22147
- resolution: "yaml@npm:2.6.1"
22180
+ version: 2.7.0
22181
+ resolution: "yaml@npm:2.7.0"
22148
22182
  bin:
22149
22183
  yaml: bin.mjs
22150
- checksum: 10c0/aebf07f61c72b38c74d2b60c3a3ccf89ee4da45bcd94b2bfb7899ba07a5257625a7c9f717c65a6fc511563d48001e01deb1d9e55f0133f3e2edf86039c8c1be7
22184
+ checksum: 10c0/886a7d2abbd70704b79f1d2d05fe9fb0aa63aefb86e1cb9991837dced65193d300f5554747a872b4b10ae9a12bc5d5327e4d04205f70336e863e35e89d8f4ea9
22151
22185
  languageName: node
22152
22186
  linkType: hard
22153
22187