@ancon/wildcat-utils 1.51.0-check-optimizations.4 → 1.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/check/getOrganizedCheckItemModifications.d.ts +2 -2
- package/check/getOrganizedCheckItemModifications.js +1 -1
- package/check/getOrganizedCheckItemModifications.mjs +68 -74
- package/check/getUniqueCheckItemModificationId.d.ts +2 -2
- package/check/getUniqueCheckItemModificationId.js +1 -1
- package/check/getUniqueCheckItemModificationId.mjs +5 -5
- package/index.d.ts +1 -0
- package/index.js +1 -1
- package/index.mjs +339 -331
- package/mpsGiftCard/decodeMPSGiftCardQr.d.ts +14 -0
- package/mpsGiftCard/decodeMPSGiftCardQr.js +1 -0
- package/mpsGiftCard/decodeMPSGiftCardQr.mjs +54 -0
- package/mpsGiftCard/index.d.ts +4 -0
- package/mpsGiftCard/index.js +1 -0
- package/mpsGiftCard/index.mjs +10 -0
- package/mpsGiftCard/resolveMPSGiftCardScanAction.d.ts +8 -0
- package/mpsGiftCard/resolveMPSGiftCardScanAction.js +1 -0
- package/mpsGiftCard/resolveMPSGiftCardScanAction.mjs +10 -0
- package/mpsGiftCard/types.d.ts +30 -0
- package/mpsGiftCard/types.js +1 -0
- package/mpsGiftCard/types.mjs +4 -0
- package/multilingual/createLocalizedCheckDetails.d.ts +2 -2
- package/multilingual/createLocalizedCheckDetails.js +1 -1
- package/multilingual/createLocalizedCheckDetails.mjs +27 -31
- package/package.json +21 -2
package/index.mjs
CHANGED
|
@@ -1,186 +1,189 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
1
|
+
import { default as z } from "./shared/isWithinFlag.mjs";
|
|
2
|
+
import { default as V } from "./shared/generateId.mjs";
|
|
3
|
+
import { default as w } from "./shared/wait.mjs";
|
|
4
4
|
import { default as J } from "./shared/kiloGramToGram.mjs";
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
5
|
+
import { default as Z } from "./shared/gramToKiloGram.mjs";
|
|
6
|
+
import { default as X } from "./shared/hooks/usePrevious.mjs";
|
|
7
|
+
import { default as _ } from "./shared/hooks/useMountedRef.mjs";
|
|
8
|
+
import { default as ee } from "./outlet/getListOutletOpeningHoursTable.mjs";
|
|
9
|
+
import { default as re } from "./outlet/getOutletTagInformation.mjs";
|
|
10
|
+
import { default as ae } from "./outlet/getOutletAvailabilityInfo.mjs";
|
|
11
|
+
import { default as se } from "./outlet/getOutletOfflineOrderFormats.mjs";
|
|
12
12
|
import { default as ue } from "./outlet/getOutletAvailableOrderFormats.mjs";
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
13
|
+
import { default as me } from "./outlet/getOutletFormattedDistance.mjs";
|
|
14
|
+
import { default as pe } from "./outlet/isOutletAcceptingPreOrders.mjs";
|
|
15
|
+
import { default as ne } from "./outlet/isOutletAcceptingPreOrdersWhenClosed.mjs";
|
|
16
|
+
import { default as ge } from "./outlet/getOutletDeliveryFee.mjs";
|
|
17
|
+
import { default as Te } from "./outlet/getOutletTodayOpeningTimes.mjs";
|
|
18
|
+
import { default as Ce } from "./outlet/getOutletOrderFormats.mjs";
|
|
19
|
+
import { default as Se } from "./outlet/serviceDateTimesFromOpeningHours.mjs";
|
|
20
|
+
import { default as Ae } from "./outlet/getPickerIntervalsForDay.mjs";
|
|
21
21
|
import { default as Ie } from "./outlet/getServiceIntervalRange.mjs";
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
22
|
+
import { default as Ee } from "./outlet/getServiceIntervalsForOrderFormat.mjs";
|
|
23
|
+
import { default as Me } from "./outlet/getOutletFormattedAddress.mjs";
|
|
24
|
+
import { default as be } from "./outlet/getPartitionedOutletsList.mjs";
|
|
25
|
+
import { default as Le } from "./outlet/getOutletPickerTimesForWeek.mjs";
|
|
26
|
+
import { default as Ge } from "./outlet/getOutletPickerTimesForDay.mjs";
|
|
27
|
+
import { default as We } from "./outlet/getOutletOrderPrepTime.mjs";
|
|
28
|
+
import { default as ze } from "./outlet/getStructuredOutletAddress.mjs";
|
|
29
|
+
import { default as Ve } from "./outlet/getOutletNextOpeningTimeText.mjs";
|
|
30
|
+
import { default as we } from "./outlet/getOutletCurrentClosingTimeText.mjs";
|
|
31
31
|
import { default as Je } from "./outlet/getOutletNextReadyToOrderTime.mjs";
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
32
|
+
import { default as Ze } from "./outlet/getOutletNextOpeningTagInformation.mjs";
|
|
33
|
+
import { default as Xe } from "./outlet/getOutletCurrentAvailabilityInfo.mjs";
|
|
34
|
+
import { default as _e } from "./outlet/getExpressAvailableOrderFormats.mjs";
|
|
35
|
+
import { default as et } from "./outlet/getExpressNextAvailabilityShiftTime.mjs";
|
|
36
|
+
import { default as rt } from "./outlet/getOrderFormatAOTipSettings.mjs";
|
|
37
|
+
import { default as at } from "./outlet/isAOTippingEnabledForOrderFormat.mjs";
|
|
38
|
+
import { default as st } from "./outlet/isMenuTreeHierarchyProductAvailable.mjs";
|
|
39
39
|
import { default as ut } from "./outlet/getOutletMenuProductsSortCriteria.mjs";
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
40
|
+
import { default as mt } from "./outlet/getOutletNextServiceTimeOffset.mjs";
|
|
41
|
+
import { default as pt } from "./versioning/isVersionALessThanB.mjs";
|
|
42
|
+
import { default as nt } from "./versioning/cleanVersionString.mjs";
|
|
43
|
+
import { default as gt } from "./api/getUrlAndParams.mjs";
|
|
44
|
+
import { default as Tt } from "./api/getEndpointWithVersion.mjs";
|
|
45
|
+
import { default as Ct } from "./api/generateBackoffWithEqualJitter.mjs";
|
|
46
|
+
import { default as St } from "./api/generateBackoffWithVariableJitter.mjs";
|
|
47
|
+
import { default as At } from "./api/isAcceptedResponse.mjs";
|
|
48
48
|
import { default as It } from "./api/isNoContentResponse.mjs";
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
49
|
+
import { default as Et } from "./api/APIFilterBuilder.mjs";
|
|
50
|
+
import { default as Mt } from "./api/getMediaImageClosestSize.mjs";
|
|
51
|
+
import { default as bt } from "./string/slugify.mjs";
|
|
52
|
+
import { default as Lt } from "./string/truncate.mjs";
|
|
53
|
+
import { default as Gt } from "./string/getRandomAlphaNumericCode.mjs";
|
|
54
|
+
import { default as Wt } from "./string/getParsedJSONFromString.mjs";
|
|
55
|
+
import { default as zt } from "./color/lighten.mjs";
|
|
56
|
+
import { default as Vt } from "./color/brighten.mjs";
|
|
57
|
+
import { default as wt } from "./color/darken.mjs";
|
|
58
58
|
import { default as Jt } from "./color/isDarkBackground.mjs";
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
59
|
+
import { default as Zt } from "./color/isColorsReadable.mjs";
|
|
60
|
+
import { default as Xt } from "./color/isColorsEqual.mjs";
|
|
61
|
+
import { default as _t } from "./color/getLuminance.mjs";
|
|
62
|
+
import { default as er } from "./color/toHsl.mjs";
|
|
63
|
+
import { default as rr } from "./color/hslToHex.mjs";
|
|
64
|
+
import { default as ar } from "./user/getFullName.mjs";
|
|
65
|
+
import { default as sr } from "./user/getFullAddressString.mjs";
|
|
66
66
|
import { default as ur } from "./user/getCustomerAddressFromGeocoderResult.mjs";
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { LogLevel as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
67
|
+
import { default as mr } from "./user/getFormattedPhoneNumber.mjs";
|
|
68
|
+
import { default as pr } from "./user/getStructuredCustomerAddress.mjs";
|
|
69
|
+
import { default as nr } from "./logger/Logger.mjs";
|
|
70
|
+
import { LogLevel as gr } from "./logger/types.mjs";
|
|
71
|
+
import { default as Tr } from "./logger/sanitizeAsStringDict.mjs";
|
|
72
|
+
import { default as Cr } from "./logger/pascalCaseFormatter.mjs";
|
|
73
|
+
import { default as Sr } from "./printing/getPrinterType.mjs";
|
|
74
|
+
import { default as Ar } from "./printing/isValidPrinter.mjs";
|
|
75
75
|
import { default as Ir } from "./printing/isValidNetworkPrinter.mjs";
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { TranslationKey as
|
|
76
|
+
import { default as Er } from "./printing/isValidStarCloudPrinter.mjs";
|
|
77
|
+
import { default as Mr } from "./printing/isTerminalPrinter.mjs";
|
|
78
|
+
import { default as br } from "./printing/isCloudPrintModeEnabled.mjs";
|
|
79
|
+
import { default as Lr } from "./printing/createStarCloudScanHook.mjs";
|
|
80
|
+
import { default as Gr } from "./number/randomIntFromInterval.mjs";
|
|
81
|
+
import { default as Wr } from "./tables/decodeTableQRPayload.mjs";
|
|
82
|
+
import { default as zr } from "./checkout/getCheckoutItemModifications.mjs";
|
|
83
|
+
import { default as Vr } from "./checkout/getCheckoutProductName.mjs";
|
|
84
|
+
import { TranslationKey as wr, default as Qr } from "./checkout/getCheckoutOrderStatusTexts.mjs";
|
|
85
85
|
import { default as Kr } from "./checkout/getCheckoutItemsMappedByTicketItemStatus.mjs";
|
|
86
|
-
import { default as
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { CheckoutPaymentErrorTranslationKey as
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
100
|
-
import { default as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
86
|
+
import { default as jr } from "./checkout/isCheckoutOrderSummary.mjs";
|
|
87
|
+
import { default as Yr } from "./checkout/buildCheckoutRequestItem.mjs";
|
|
88
|
+
import { default as $r } from "./checkout/getCheckoutGrandTotalAmount.mjs";
|
|
89
|
+
import { default as to } from "./checkout/getCheckoutRequestItemFromCheckoutItem.mjs";
|
|
90
|
+
import { default as oo } from "./checkout/isCheckoutItemsAreEqual.mjs";
|
|
91
|
+
import { default as fo } from "./checkout/checkoutHasWallet.mjs";
|
|
92
|
+
import { default as uo } from "./checkout/getWalletMetaFromCheckout.mjs";
|
|
93
|
+
import { default as mo } from "./checkout/isPreOrderServiceTime.mjs";
|
|
94
|
+
import { default as po } from "./checkout/isPreOrderCheckout.mjs";
|
|
95
|
+
import { default as no } from "./checkout/isUpdatingCheckoutAllowed.mjs";
|
|
96
|
+
import { default as go } from "./checkout/isCheckoutAlreadyPaidStatus.mjs";
|
|
97
|
+
import { CheckoutPaymentErrorTranslationKey as To, default as ko } from "./checkout/getCheckoutPaymentErrorTranslationTexts.mjs";
|
|
98
|
+
import { default as Po } from "./checkout/isDeletingCheckoutAllowed.mjs";
|
|
99
|
+
import { default as ho } from "./checkout/getTotalCheckoutItemsQuantity.mjs";
|
|
100
|
+
import { default as yo } from "./checkout/getCheckoutPenguinLockersMetaData.mjs";
|
|
101
|
+
import { default as Fo } from "./checkout/getUniqueCheckoutPenguinDeliveryCodes.mjs";
|
|
102
|
+
import { default as vo } from "./checkout/isWoltDeliveryInProgress.mjs";
|
|
103
103
|
import { default as Do } from "./checkout/isWalletTopUpCheckoutItem.mjs";
|
|
104
104
|
import { default as Ro } from "./checkout/isWalletTopUpCheckout.mjs";
|
|
105
|
-
import { default as
|
|
106
|
-
import { default as
|
|
107
|
-
import { default as
|
|
108
|
-
import { default as
|
|
109
|
-
import { default as
|
|
110
|
-
import { default as
|
|
105
|
+
import { default as No } from "./checkout/getCheckoutWalletTopUpMetaData.mjs";
|
|
106
|
+
import { default as Uo } from "./checkout/isGiftCardCheckout.mjs";
|
|
107
|
+
import { default as Ho } from "./checkout/isGiftCardCheckoutItem.mjs";
|
|
108
|
+
import { default as Bo } from "./checkout/getCheckoutGiftCardMetaData.mjs";
|
|
109
|
+
import { default as qo } from "./checkout/getCheckoutGuestGroupsMetaData.mjs";
|
|
110
|
+
import { default as Qo } from "./order/getCheckOrderItemsMappedByTicketItemStatus.mjs";
|
|
111
111
|
import { default as Ko } from "./order/getCheckOrderMinimumStatusTicketItem.mjs";
|
|
112
|
-
import { default as
|
|
113
|
-
import { default as
|
|
114
|
-
import { default as
|
|
115
|
-
import { default as
|
|
116
|
-
import { default as
|
|
117
|
-
import { default as
|
|
118
|
-
import { default as
|
|
119
|
-
import { default as
|
|
120
|
-
import { default as
|
|
121
|
-
import { default as
|
|
122
|
-
import { default as
|
|
123
|
-
import { default as
|
|
124
|
-
import { default as
|
|
125
|
-
import { default as
|
|
126
|
-
import { default as
|
|
127
|
-
import { default as
|
|
128
|
-
import { default as
|
|
129
|
-
import { default as
|
|
112
|
+
import { default as jo } from "./order/getMultiProductSubProductsTicketItems.mjs";
|
|
113
|
+
import { default as Yo } from "./currency/getFormattedCurrency.mjs";
|
|
114
|
+
import { default as $o } from "./currency/getFormattedCurrencyPostfix.mjs";
|
|
115
|
+
import { default as ta } from "./inventory/isDetailedProductOutOfStock.mjs";
|
|
116
|
+
import { default as oa } from "./inventory/isDetailedProductVariantOutOfStocks.mjs";
|
|
117
|
+
import { default as fa } from "./inventory/isMenuTreeProductOutOfStock.mjs";
|
|
118
|
+
import { default as da } from "./inventory/isDetailedProductUpSellsOutOfStock.mjs";
|
|
119
|
+
import { default as la } from "./inventory/isUpSellProductOutStock.mjs";
|
|
120
|
+
import { default as ia } from "./inventory/isDetailedProductOutletStockOutOfStock.mjs";
|
|
121
|
+
import { default as xa } from "./inventory/getDetailedProductVariantStock.mjs";
|
|
122
|
+
import { default as ca } from "./inventory/isAddonProductOutOfStock.mjs";
|
|
123
|
+
import { default as Oa } from "./signalr/createUseSignalRHook.mjs";
|
|
124
|
+
import { default as ka } from "./signalr/SignalR.mjs";
|
|
125
|
+
import { default as Pa } from "./error/createCodedError.mjs";
|
|
126
|
+
import { default as ha } from "./error/isCodedError.mjs";
|
|
127
|
+
import { default as ya } from "./error/isNetworkError.mjs";
|
|
128
|
+
import { default as Fa } from "./error/isLockedError.mjs";
|
|
129
|
+
import { default as va } from "./error/isNotFoundError.mjs";
|
|
130
130
|
import { default as Da } from "./error/isAPIError.mjs";
|
|
131
131
|
import { default as Ra } from "./error/isSerializedAPIError.mjs";
|
|
132
|
-
import { default as
|
|
133
|
-
import { default as
|
|
134
|
-
import { default as
|
|
135
|
-
import { default as
|
|
136
|
-
import { default as
|
|
137
|
-
import { default as
|
|
132
|
+
import { default as Na } from "./error/isSerializedCodedError.mjs";
|
|
133
|
+
import { default as Ua } from "./error/serializeError.mjs";
|
|
134
|
+
import { default as Ha } from "./error/getErrorCode.mjs";
|
|
135
|
+
import { default as Ba } from "./error/isErrorWithStatusCode.mjs";
|
|
136
|
+
import { default as qa } from "./error/isBadGatewayError.mjs";
|
|
137
|
+
import { default as Qa } from "./error/isServiceUnavailableError.mjs";
|
|
138
138
|
import { default as Ka } from "./error/isTooManyRequestsError.mjs";
|
|
139
|
-
import { default as
|
|
140
|
-
import { default as
|
|
141
|
-
import { default as
|
|
142
|
-
import { default as
|
|
143
|
-
import { default as
|
|
144
|
-
import { default as
|
|
145
|
-
import { default as
|
|
146
|
-
import { default as
|
|
147
|
-
import { default as
|
|
148
|
-
import { default as
|
|
149
|
-
import { default as
|
|
150
|
-
import { default as
|
|
151
|
-
import { default as
|
|
152
|
-
import { default as
|
|
153
|
-
import { default as
|
|
139
|
+
import { default as ja } from "./error/isUpgradeRequiredError.mjs";
|
|
140
|
+
import { default as Ya } from "./hangfire/isHangfireResponse.mjs";
|
|
141
|
+
import { default as $a } from "./hangfire/isHangfireWorkerExpiredOrInvalidError.mjs";
|
|
142
|
+
import { default as tf } from "./hangfire/createHangfirePoller.mjs";
|
|
143
|
+
import { default as of } from "./hangfire/createMakeHangfireRequest.mjs";
|
|
144
|
+
import { default as ff } from "./product/extractProductsFromMenuTree.mjs";
|
|
145
|
+
import { default as df } from "./product/calculateIngredientsCost.mjs";
|
|
146
|
+
import { default as lf } from "./product/calculateAddonGroupCost.mjs";
|
|
147
|
+
import { default as pf } from "./product/getAddonGroupInfoBySettings.mjs";
|
|
148
|
+
import { default as nf } from "./product/calculateWeightProductPrice.mjs";
|
|
149
|
+
import { default as gf } from "./product/calculateProductWeightByPrice.mjs";
|
|
150
|
+
import { default as Tf } from "./codec/base64URLEncode.mjs";
|
|
151
|
+
import { default as Cf } from "./codec/base64URLDecode.mjs";
|
|
152
|
+
import { default as Sf } from "./hashing/getSHA256Hash.mjs";
|
|
153
|
+
import { default as Af } from "./preOrder/isPreOrderSharable.mjs";
|
|
154
154
|
import { default as If } from "./preOrder/isPreOrderLink.mjs";
|
|
155
|
-
import { default as
|
|
156
|
-
import { default as
|
|
157
|
-
import { default as
|
|
158
|
-
import { default as
|
|
159
|
-
import { default as
|
|
160
|
-
import { default as
|
|
161
|
-
import { default as
|
|
162
|
-
import { default as
|
|
155
|
+
import { default as Ef } from "./preOrder/isGroupPreOrder.mjs";
|
|
156
|
+
import { default as Mf } from "./phoneNumber/isPhoneNumberValid.mjs";
|
|
157
|
+
import { default as bf } from "./phoneNumber/formatPhoneNumber.mjs";
|
|
158
|
+
import { default as Lf, isLicenseExpired as Nf, isLicenseExtended as Gf, isLicenseTerminated as Uf } from "./license/getLicenseUIState.mjs";
|
|
159
|
+
import { default as Hf } from "./googleMap/getComponentNameFromGeocoderResult.mjs";
|
|
160
|
+
import { default as Bf } from "./date/createLocalTimezoneDate.mjs";
|
|
161
|
+
import { default as qf } from "./date/createLocalTimezoneMoment.mjs";
|
|
162
|
+
import { default as Qf } from "./date/getFormattedUTCDateTime.mjs";
|
|
163
163
|
import { default as Kf } from "./date/convertToLocalTimezone.mjs";
|
|
164
|
-
import { default as
|
|
165
|
-
import { default as
|
|
166
|
-
import { default as
|
|
167
|
-
import { default as
|
|
168
|
-
import { default as
|
|
169
|
-
import { default as
|
|
170
|
-
import { default as
|
|
171
|
-
import { default as
|
|
172
|
-
import { default as
|
|
173
|
-
import { default as
|
|
174
|
-
import { default as
|
|
175
|
-
import { default as
|
|
176
|
-
import { default as
|
|
177
|
-
import { default as
|
|
178
|
-
import { default as
|
|
179
|
-
import { default as
|
|
180
|
-
import { default as
|
|
181
|
-
import { default as
|
|
164
|
+
import { default as jf } from "./date/convertToSpecificTimezone.mjs";
|
|
165
|
+
import { default as Yf } from "./date/getTimezoneUtcOffsetDifference.mjs";
|
|
166
|
+
import { default as $f } from "./date/isDSTShiftPresentInRange.mjs";
|
|
167
|
+
import { default as ts } from "./time/toMinutes.mjs";
|
|
168
|
+
import { default as os } from "./time/getNextTenthMinute.mjs";
|
|
169
|
+
import { default as fs } from "./time/getPrevNthMinute.mjs";
|
|
170
|
+
import { default as ds } from "./time/getTimeSpanParts.mjs";
|
|
171
|
+
import { default as ls } from "./time/getEndTimeSpanOfTimePeriod.mjs";
|
|
172
|
+
import { default as is } from "./time/createTimeSpan.mjs";
|
|
173
|
+
import { default as xs } from "./time/formatTimeSpan.mjs";
|
|
174
|
+
import { default as cs } from "./time/getDurationBetweenTimeSpans.mjs";
|
|
175
|
+
import { default as Os } from "./time/convertSecondsToTimeSpan.mjs";
|
|
176
|
+
import { default as ks } from "./time/convertTimeSpanToSeconds.mjs";
|
|
177
|
+
import { default as Ps } from "./ticketItem/isTicketItemReady.mjs";
|
|
178
|
+
import { default as hs } from "./ticketItem/isTicketItemClosed.mjs";
|
|
179
|
+
import { default as ys } from "./quantity/getFormattedQuantity.mjs";
|
|
180
|
+
import { default as Fs } from "./checkAuditLog/isPayAndGoCheckAuditLogAction.mjs";
|
|
181
|
+
import { default as vs } from "./checkAuditLog/getCheckAuditLogProductName.mjs";
|
|
182
182
|
import { default as Ds } from "./zReport/getZReportPaymentMethodDisplayName.mjs";
|
|
183
183
|
import { default as Rs } from "./multilingual/createLocalizedCheckDetails.mjs";
|
|
184
|
+
import { default as Ns, deobfuscateMPSQrPayload as Gs } from "./mpsGiftCard/decodeMPSGiftCardQr.mjs";
|
|
185
|
+
import { default as Ws } from "./mpsGiftCard/resolveMPSGiftCardScanAction.mjs";
|
|
186
|
+
import { MPSQrScanActionType as zs } from "./mpsGiftCard/types.mjs";
|
|
184
187
|
import "react";
|
|
185
188
|
import "moment";
|
|
186
189
|
import "@ancon/wildcat-types";
|
|
@@ -218,193 +221,198 @@ import "react-redux";
|
|
|
218
221
|
import "@microsoft/signalr";
|
|
219
222
|
import "google-libphonenumber";
|
|
220
223
|
import "./license/types.mjs";
|
|
224
|
+
import "bson";
|
|
221
225
|
export {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
226
|
+
Et as APIFilterBuilder,
|
|
227
|
+
To as CheckoutPaymentErrorTranslationKey,
|
|
228
|
+
gr as LogLevel,
|
|
229
|
+
nr as Logger,
|
|
230
|
+
zs as MPSQrScanActionType,
|
|
231
|
+
ka as SignalR,
|
|
232
|
+
wr as TranslationKey,
|
|
233
|
+
Cf as base64URLDecode,
|
|
234
|
+
Tf as base64URLEncode,
|
|
235
|
+
Vt as brighten,
|
|
236
|
+
Yr as buildCheckoutRequestItem,
|
|
237
|
+
lf as calculateAddonGroupsCost,
|
|
238
|
+
df as calculateIngredientsCost,
|
|
239
|
+
gf as calculateProductWeightByPrice,
|
|
240
|
+
nf as calculateWeightProductPrice,
|
|
241
|
+
fo as checkoutHasWallet,
|
|
242
|
+
nt as cleanVersionString,
|
|
243
|
+
Os as convertSecondsToTimeSpan,
|
|
244
|
+
ks as convertTimeSpanToSeconds,
|
|
240
245
|
Kf as convertToLocalTimezone,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
+
jf as convertToSpecificTimezone,
|
|
247
|
+
Pa as createCodedError,
|
|
248
|
+
tf as createHangfirePoller,
|
|
249
|
+
Bf as createLocalTimezoneDate,
|
|
250
|
+
qf as createLocalTimezoneMoment,
|
|
246
251
|
Rs as createLocalizedCheckDetails,
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
252
|
+
of as createMakeHangfireRequest,
|
|
253
|
+
is as createTimeSpan,
|
|
254
|
+
Oa as createUseSignalRHook,
|
|
255
|
+
Lr as createUseStarCloudScanHook,
|
|
256
|
+
wt as darken,
|
|
257
|
+
Ns as decodeMPSGiftCardQr,
|
|
258
|
+
Wr as decodeTableQRPayload,
|
|
259
|
+
Gs as deobfuscateMPSQrPayload,
|
|
260
|
+
ff as extractProductsFromMenuTree,
|
|
261
|
+
bf as formatPhoneNumber,
|
|
262
|
+
xs as formatTimeSpan,
|
|
263
|
+
Ct as generateBackoffWithEqualJitter,
|
|
264
|
+
St as generateBackoffWithVariableJitter,
|
|
265
|
+
V as generateId,
|
|
266
|
+
pf as getAddonGroupInfoBySettings,
|
|
267
|
+
vs as getCheckAuditLogProductName,
|
|
268
|
+
Qo as getCheckOrderItemsMappedByTicketItemStatus,
|
|
262
269
|
Ko as getCheckOrderMinimumStatusTicketItem,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
270
|
+
Bo as getCheckoutGiftCardMetaData,
|
|
271
|
+
$r as getCheckoutGrandTotalAmount,
|
|
272
|
+
zr as getCheckoutGroupedModifications,
|
|
273
|
+
qo as getCheckoutGuestGroupsMetaData,
|
|
267
274
|
Kr as getCheckoutItemsMappedByTicketItemStatus,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
+
Qr as getCheckoutOrderStatusTexts,
|
|
276
|
+
ko as getCheckoutPaymentErrorTranslationTexts,
|
|
277
|
+
yo as getCheckoutPenguinLockersMetaData,
|
|
278
|
+
Vr as getCheckoutProductName,
|
|
279
|
+
to as getCheckoutRequestItemFromCheckoutItem,
|
|
280
|
+
No as getCheckoutWalletTopUpMetaData,
|
|
281
|
+
Hf as getComponentNameFromGeocoderResult,
|
|
275
282
|
ur as getCustomerAddressFromGeocoderResult,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
283
|
+
xa as getDetailedProductVariantStock,
|
|
284
|
+
cs as getDurationBetweenTimeSpans,
|
|
285
|
+
ls as getEndTimeSpanOfTimePeriod,
|
|
286
|
+
Tt as getEndpointWithVersion,
|
|
287
|
+
Ha as getErrorCode,
|
|
288
|
+
_e as getExpressAvailableOrderFormats,
|
|
289
|
+
et as getExpressNextAvailabilityShiftTime,
|
|
290
|
+
Yo as getFormattedCurrency,
|
|
291
|
+
$o as getFormattedCurrencyPostfix,
|
|
292
|
+
mr as getFormattedPhoneNumber,
|
|
293
|
+
ys as getFormattedQuantity,
|
|
294
|
+
Qf as getFormattedUTCDateTime,
|
|
295
|
+
sr as getFullAddressString,
|
|
296
|
+
ar as getFullName,
|
|
297
|
+
Lf as getLicenseUIState,
|
|
298
|
+
ee as getListOutletOpeningHoursTable,
|
|
299
|
+
_t as getLuminance,
|
|
300
|
+
Mt as getMediaImageClosestSize,
|
|
301
|
+
jo as getMultiProductSubProductsTicketItems,
|
|
302
|
+
os as getNextTenthMinute,
|
|
303
|
+
rt as getOrderFormatAOTipSettings,
|
|
304
|
+
ae as getOutletAvailabilityInfo,
|
|
298
305
|
ue as getOutletAvailableOrderFormats,
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
306
|
+
Xe as getOutletCurrentAvailabilityInfo,
|
|
307
|
+
we as getOutletCurrentClosingTimeText,
|
|
308
|
+
ge as getOutletDeliveryFee,
|
|
309
|
+
Me as getOutletFormattedAddress,
|
|
310
|
+
me as getOutletFormattedDistance,
|
|
304
311
|
ut as getOutletMenuProductsSortCriteria,
|
|
305
|
-
|
|
306
|
-
|
|
312
|
+
Ze as getOutletNextOpeningTagInformation,
|
|
313
|
+
Ve as getOutletNextOpeningTimeText,
|
|
307
314
|
Je as getOutletNextReadyToOrderTime,
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
315
|
+
mt as getOutletNextServiceTimeOffset,
|
|
316
|
+
se as getOutletOfflineOrderFormats,
|
|
317
|
+
Ce as getOutletOrderFormats,
|
|
318
|
+
We as getOutletOrderPreparationTime,
|
|
319
|
+
Ge as getOutletPickerTimesForDay,
|
|
320
|
+
Le as getOutletPickerTimesForWeek,
|
|
321
|
+
re as getOutletTagInformation,
|
|
322
|
+
Te as getOutletTodayOpeningTimes,
|
|
323
|
+
Wt as getParsedJSONFromString,
|
|
324
|
+
be as getPartitionedOutletsList,
|
|
325
|
+
Ae as getPickerIntervalsForDay,
|
|
326
|
+
fs as getPrevNthMinute,
|
|
327
|
+
Sr as getPrinterType,
|
|
328
|
+
Gt as getRandomAlphaNumericCode,
|
|
329
|
+
Sf as getSHA256Hash,
|
|
323
330
|
Ie as getServiceIntervalRange,
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
331
|
+
Ee as getServiceIntervalsForOrderFormat,
|
|
332
|
+
pr as getStructuredCustomerAddress,
|
|
333
|
+
ze as getStructuredOutletAddress,
|
|
334
|
+
ds as getTimeSpanParts,
|
|
335
|
+
Yf as getTimezoneUtcOffsetDifference,
|
|
336
|
+
ho as getTotalCheckoutItemsQuantity,
|
|
337
|
+
Fo as getUniqueCheckoutPenguinDeliveryCodes,
|
|
338
|
+
gt as getUrlAndParams,
|
|
339
|
+
uo as getWalletMetaFromCheckout,
|
|
333
340
|
Ds as getZReportPaymentMethodDisplayName,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
341
|
+
Z as gramToKiloGram,
|
|
342
|
+
rr as hslToHex,
|
|
343
|
+
at as isAOTippingEnabledForOrderFormat,
|
|
337
344
|
Da as isAPIError,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
345
|
+
At as isAcceptedResponse,
|
|
346
|
+
ca as isAddonProductOutOfStock,
|
|
347
|
+
qa as isBadGatewayError,
|
|
348
|
+
go as isCheckoutAlreadyPaidStatus,
|
|
349
|
+
oo as isCheckoutItemsAreEqual,
|
|
350
|
+
jr as isCheckoutOrderSummary,
|
|
351
|
+
br as isCloudPrintModeEnabled,
|
|
352
|
+
ha as isCodedError,
|
|
353
|
+
Xt as isColorsEqual,
|
|
354
|
+
Zt as isColorsReadable,
|
|
355
|
+
$f as isDSTShiftPresentInRange,
|
|
349
356
|
Jt as isDarkBackground,
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
357
|
+
Po as isDeletingCheckoutAllowed,
|
|
358
|
+
ta as isDetailedProductOutOfStock,
|
|
359
|
+
ia as isDetailedProductOutletStockOutOfStock,
|
|
360
|
+
da as isDetailedProductUpSellsOutOfStock,
|
|
361
|
+
oa as isDetailedProductVariantOutOfStocks,
|
|
362
|
+
Ba as isErrorWithStatusCode,
|
|
363
|
+
Uo as isGiftCardCheckout,
|
|
364
|
+
Ho as isGiftCardCheckoutItem,
|
|
365
|
+
Ef as isGroupPreOrder,
|
|
366
|
+
Ya as isHangfireResponse,
|
|
367
|
+
$a as isHangfireWorkerExpiredOrInvalidError,
|
|
368
|
+
Nf as isLicenseExpired,
|
|
369
|
+
Gf as isLicenseExtended,
|
|
370
|
+
Uf as isLicenseTerminated,
|
|
371
|
+
Fa as isLockedError,
|
|
372
|
+
st as isMenuTreeHierarchyProductAvailable,
|
|
373
|
+
fa as isMenuTreeProductOutOfStock,
|
|
374
|
+
ya as isNetworkError,
|
|
368
375
|
It as isNoContentResponse,
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
376
|
+
va as isNotFoundError,
|
|
377
|
+
pe as isOutletAcceptingPreOrders,
|
|
378
|
+
ne as isOutletAcceptingPreOrdersWhenClosed,
|
|
379
|
+
Fs as isPayAndGoCheckAuditLogAction,
|
|
380
|
+
Mf as isPhoneNumberValid,
|
|
381
|
+
po as isPreOrderCheckout,
|
|
375
382
|
If as isPreOrderLink,
|
|
376
|
-
|
|
377
|
-
|
|
383
|
+
mo as isPreOrderServiceTime,
|
|
384
|
+
Af as isPreOrderSharable,
|
|
378
385
|
Ra as isSerializedAPIError,
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
386
|
+
Na as isSerializedCodedError,
|
|
387
|
+
Qa as isServiceUnavailableError,
|
|
388
|
+
Mr as isTerminalPrinter,
|
|
389
|
+
hs as isTicketItemClosed,
|
|
390
|
+
Ps as isTicketItemReady,
|
|
384
391
|
Ka as isTooManyRequestsError,
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
392
|
+
la as isUpSellProductOutOfStock,
|
|
393
|
+
no as isUpdatingCheckoutAllowed,
|
|
394
|
+
ja as isUpgradeRequiredError,
|
|
388
395
|
Ir as isValidNetworkPrinter,
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
396
|
+
Ar as isValidPrinter,
|
|
397
|
+
Er as isValidStarCloudPrinter,
|
|
398
|
+
pt as isVersionALessThanB,
|
|
392
399
|
Ro as isWalletTopUpCheckout,
|
|
393
400
|
Do as isWalletTopUpCheckoutItem,
|
|
394
|
-
|
|
395
|
-
|
|
401
|
+
z as isWithinFlag,
|
|
402
|
+
vo as isWoltDeliveryInProgress,
|
|
396
403
|
J as kiloGramToGram,
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
404
|
+
zt as lighten,
|
|
405
|
+
Cr as pascalCaseFormatter,
|
|
406
|
+
Gr as randomIntFromInterval,
|
|
407
|
+
Ws as resolveMPSGiftCardScanAction,
|
|
408
|
+
Tr as sanitizeAsStringDict,
|
|
409
|
+
Ua as serializeError,
|
|
410
|
+
Se as serviceDateTimesFromOpeningHours,
|
|
411
|
+
bt as slugify,
|
|
412
|
+
er as toHsl,
|
|
413
|
+
ts as toMinutes,
|
|
414
|
+
Lt as truncate,
|
|
415
|
+
_ as useMountedRef,
|
|
416
|
+
X as usePrevious,
|
|
417
|
+
w as wait
|
|
410
418
|
};
|