@licklist/design 0.71.6-dev.5 → 0.71.6-dev.6

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.
@@ -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":"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.6-dev.5",
3
+ "version": "0.71.6-dev.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/artelogicsoft/licklist_design.git"
@@ -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
  )
@@ -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
@@ -11641,13 +11641,13 @@ __metadata:
11641
11641
  linkType: hard
11642
11642
 
11643
11643
  "get-symbol-description@npm:^1.0.2":
11644
- version: 1.0.2
11645
- resolution: "get-symbol-description@npm:1.0.2"
11644
+ version: 1.1.0
11645
+ resolution: "get-symbol-description@npm:1.1.0"
11646
11646
  dependencies:
11647
- call-bind: "npm:^1.0.5"
11647
+ call-bound: "npm:^1.0.3"
11648
11648
  es-errors: "npm:^1.3.0"
11649
- get-intrinsic: "npm:^1.2.4"
11650
- checksum: 10c0/867be6d63f5e0eb026cb3b0ef695ec9ecf9310febb041072d2e142f260bd91ced9eeb426b3af98791d1064e324e653424afa6fd1af17dee373bea48ae03162bc
11649
+ get-intrinsic: "npm:^1.2.6"
11650
+ checksum: 10c0/d6a7d6afca375779a4b307738c9e80dbf7afc0bdbe5948768d54ab9653c865523d8920e670991a925936eb524b7cb6a6361d199a760b21d0ca7620194455aa4b
11651
11651
  languageName: node
11652
11652
  linkType: hard
11653
11653
 
@@ -12593,19 +12593,19 @@ __metadata:
12593
12593
  linkType: hard
12594
12594
 
12595
12595
  "input-format@npm:^0.3.5":
12596
- version: 0.3.11
12597
- resolution: "input-format@npm:0.3.11"
12596
+ version: 0.3.12
12597
+ resolution: "input-format@npm:0.3.12"
12598
12598
  dependencies:
12599
12599
  prop-types: "npm:^15.8.1"
12600
12600
  peerDependencies:
12601
- react: ^18.1.0
12602
- react-dom: ^18.1.0
12601
+ react: ">=18.1.0"
12602
+ react-dom: ">=18.1.0"
12603
12603
  peerDependenciesMeta:
12604
12604
  react:
12605
12605
  optional: true
12606
12606
  react-dom:
12607
12607
  optional: true
12608
- checksum: 10c0/6b285de008ff6b1cfe66d836a69ccd716bce2a942ea386307614a10a113e9eefe0970d1dc9a8f2a358d2cb75eb39b6b8b8cd2c007631adcd452e6d9305a04555
12608
+ checksum: 10c0/c05ab46e75ff628a3bb72e5e343a95d860f612c2b2301571c8d8af17831fbb5847aad0a33eb832038b29ccf7ebf30a0eab6c27241b6a8a0b762def75bfd4ccf3
12609
12609
  languageName: node
12610
12610
  linkType: hard
12611
12611
 
@@ -13176,12 +13176,12 @@ __metadata:
13176
13176
  languageName: node
13177
13177
  linkType: hard
13178
13178
 
13179
- "is-typed-array@npm:^1.1.13":
13180
- version: 1.1.13
13181
- resolution: "is-typed-array@npm:1.1.13"
13179
+ "is-typed-array@npm:^1.1.13, is-typed-array@npm:^1.1.14":
13180
+ version: 1.1.14
13181
+ resolution: "is-typed-array@npm:1.1.14"
13182
13182
  dependencies:
13183
- which-typed-array: "npm:^1.1.14"
13184
- checksum: 10c0/fa5cb97d4a80e52c2cc8ed3778e39f175a1a2ae4ddf3adae3187d69586a1fd57cfa0b095db31f66aa90331e9e3da79184cea9c6abdcd1abc722dc3c3edd51cca
13183
+ which-typed-array: "npm:^1.1.16"
13184
+ checksum: 10c0/1dc1aee98fcdc016b941491f32327b6f651580efe8e0e0fe9a659f7f8a901c0047f9929de4fad08eb4a7f2b9ae42551c08fa054bfb6bfa16109e80b9abab66b2
13185
13185
  languageName: node
13186
13186
  linkType: hard
13187
13187
 
@@ -13473,11 +13473,11 @@ __metadata:
13473
13473
  linkType: hard
13474
13474
 
13475
13475
  "jiti@npm:^1.21.0":
13476
- version: 1.21.6
13477
- resolution: "jiti@npm:1.21.6"
13476
+ version: 1.21.7
13477
+ resolution: "jiti@npm:1.21.7"
13478
13478
  bin:
13479
13479
  jiti: bin/jiti.js
13480
- checksum: 10c0/05b9ed58cd30d0c3ccd3c98209339e74f50abd9a17e716f65db46b6a35812103f6bde6e134be7124d01745586bca8cc5dae1d0d952267c3ebe55171949c32e56
13480
+ checksum: 10c0/77b61989c758ff32407cdae8ddc77f85e18e1a13fc4977110dbd2e05fc761842f5f71bce684d9a01316e1c4263971315a111385759951080bbfe17cbb5de8f7a
13481
13481
  languageName: node
13482
13482
  linkType: hard
13483
13483
 
@@ -13779,9 +13779,9 @@ __metadata:
13779
13779
  linkType: hard
13780
13780
 
13781
13781
  "libphonenumber-js@npm:^1.9.11":
13782
- version: 1.11.16
13783
- resolution: "libphonenumber-js@npm:1.11.16"
13784
- checksum: 10c0/0f09b07202c5feac169973b6c10cb2c0fbcf624a676879ecbcab6953f9df08eacb56f26f30ee63a2e6e1dc029f67898a54d5b4533621add3d75e8ab8baccd6d9
13782
+ version: 1.11.17
13783
+ resolution: "libphonenumber-js@npm:1.11.17"
13784
+ checksum: 10c0/102bc66f82b4fb86983f3c68d7b8eafd5e5f82be48bcd87c4c3a723b08e62d2deffa78a5d646698f2ba163f4e0d5722d99661ba9ec36f12b5a108fcdf8731059
13785
13785
  languageName: node
13786
13786
  linkType: hard
13787
13787
 
@@ -14248,11 +14248,11 @@ __metadata:
14248
14248
  linkType: hard
14249
14249
 
14250
14250
  "markdown-to-jsx@npm:^7.1.3":
14251
- version: 7.7.1
14252
- resolution: "markdown-to-jsx@npm:7.7.1"
14251
+ version: 7.7.2
14252
+ resolution: "markdown-to-jsx@npm:7.7.2"
14253
14253
  peerDependencies:
14254
14254
  react: ">= 0.14.0"
14255
- checksum: 10c0/00296e79fd0c60e81423d2ef98e33d1aaee4f62b352000323b0b09708686e5b2632c9aa25f01674a441cb4941bad63c9fa05b96e609f9ce4174381172950c6b7
14255
+ checksum: 10c0/97a7da24fef875d5ce4feda5da6a924514c3c27fd4c1cbabe5de77d698846d2604e82bace5036b6baf10a462b31a77de6992636f89e67ad30d4a66e1374e968d
14256
14256
  languageName: node
14257
14257
  linkType: hard
14258
14258
 
@@ -17860,13 +17860,13 @@ __metadata:
17860
17860
  linkType: hard
17861
17861
 
17862
17862
  "react-remove-scroll@npm:^2.5.5":
17863
- version: 2.6.1
17864
- resolution: "react-remove-scroll@npm:2.6.1"
17863
+ version: 2.6.2
17864
+ resolution: "react-remove-scroll@npm:2.6.2"
17865
17865
  dependencies:
17866
17866
  react-remove-scroll-bar: "npm:^2.3.7"
17867
17867
  react-style-singleton: "npm:^2.2.1"
17868
17868
  tslib: "npm:^2.1.0"
17869
- use-callback-ref: "npm:^1.3.0"
17869
+ use-callback-ref: "npm:^1.3.3"
17870
17870
  use-sidecar: "npm:^1.1.2"
17871
17871
  peerDependencies:
17872
17872
  "@types/react": "*"
@@ -17874,7 +17874,7 @@ __metadata:
17874
17874
  peerDependenciesMeta:
17875
17875
  "@types/react":
17876
17876
  optional: true
17877
- checksum: 10c0/148abfdeec064bde4ae19c66742464b4a2075e96962c9d0a9170d6719b3fcf272951ce84fc84b356e9300bef985ba5c9d48f74d09f3097328e325de435b35972
17877
+ checksum: 10c0/8273e3f67a460af84b3387c93459b33920d48be15091c5ea10e8c1c4f514ad41f71dad028ee13df25370e5de16cadf02697fe28adaacbdacdf8b57bbf03ee559
17878
17878
  languageName: node
17879
17879
  linkType: hard
17880
17880
 
@@ -20893,15 +20893,15 @@ __metadata:
20893
20893
  linkType: hard
20894
20894
 
20895
20895
  "typed-array-byte-length@npm:^1.0.1":
20896
- version: 1.0.1
20897
- resolution: "typed-array-byte-length@npm:1.0.1"
20896
+ version: 1.0.3
20897
+ resolution: "typed-array-byte-length@npm:1.0.3"
20898
20898
  dependencies:
20899
- call-bind: "npm:^1.0.7"
20899
+ call-bind: "npm:^1.0.8"
20900
20900
  for-each: "npm:^0.3.3"
20901
- gopd: "npm:^1.0.1"
20902
- has-proto: "npm:^1.0.3"
20903
- is-typed-array: "npm:^1.1.13"
20904
- checksum: 10c0/fcebeffb2436c9f355e91bd19e2368273b88c11d1acc0948a2a306792f1ab672bce4cfe524ab9f51a0505c9d7cd1c98eff4235c4f6bfef6a198f6cfc4ff3d4f3
20901
+ gopd: "npm:^1.2.0"
20902
+ has-proto: "npm:^1.2.0"
20903
+ is-typed-array: "npm:^1.1.14"
20904
+ checksum: 10c0/6ae083c6f0354f1fce18b90b243343b9982affd8d839c57bbd2c174a5d5dc71be9eb7019ffd12628a96a4815e7afa85d718d6f1e758615151d5f35df841ffb3e
20905
20905
  languageName: node
20906
20906
  linkType: hard
20907
20907
 
@@ -21361,18 +21361,18 @@ __metadata:
21361
21361
  languageName: node
21362
21362
  linkType: hard
21363
21363
 
21364
- "use-callback-ref@npm:^1.3.0":
21365
- version: 1.3.2
21366
- resolution: "use-callback-ref@npm:1.3.2"
21364
+ "use-callback-ref@npm:^1.3.3":
21365
+ version: 1.3.3
21366
+ resolution: "use-callback-ref@npm:1.3.3"
21367
21367
  dependencies:
21368
21368
  tslib: "npm:^2.0.0"
21369
21369
  peerDependencies:
21370
- "@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0
21371
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
21370
+ "@types/react": "*"
21371
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc
21372
21372
  peerDependenciesMeta:
21373
21373
  "@types/react":
21374
21374
  optional: true
21375
- checksum: 10c0/d232c37160fe3970c99255da19b5fb5299fb5926a5d6141d928a87feb47732c323d29be2f8137d3b1e5499c70d284cd1d9cfad703cc58179db8be24d7dd8f1f2
21375
+ checksum: 10c0/f887488c6e6075cdad4962979da1714b217bcb1ee009a9e57ce9a844bcfc4c3a99e93983dfc2e5af9e0913824d24e730090ff255e902c516dcb58d2d3837e01c
21376
21376
  languageName: node
21377
21377
  linkType: hard
21378
21378
 
@@ -21950,7 +21950,7 @@ __metadata:
21950
21950
  languageName: node
21951
21951
  linkType: hard
21952
21952
 
21953
- "which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.16":
21953
+ "which-typed-array@npm:^1.1.16":
21954
21954
  version: 1.1.16
21955
21955
  resolution: "which-typed-array@npm:1.1.16"
21956
21956
  dependencies: