@ancon/wildcat-utils 1.51.0-check-optimizations.2 → 1.51.0-check-optimizations.3
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/api/getMediaImageClosestSize.d.ts +2 -0
- package/api/getMediaImageClosestSize.js +1 -0
- package/api/getMediaImageClosestSize.mjs +31 -0
- package/api/index.d.ts +2 -1
- package/api/index.js +1 -1
- package/api/index.mjs +8 -6
- package/hangfire/createHangfirePoller.d.ts +9 -1
- package/hangfire/createHangfirePoller.js +1 -1
- package/hangfire/createHangfirePoller.mjs +122 -82
- package/hangfire/createMakeHangfireRequest.d.ts +2 -0
- package/hangfire/createMakeHangfireRequest.js +1 -1
- package/hangfire/createMakeHangfireRequest.mjs +18 -17
- package/index.d.ts +1 -0
- package/index.js +1 -1
- package/index.mjs +289 -285
- package/multilingual/createLocalizedCheckDetails.d.ts +16 -0
- package/multilingual/createLocalizedCheckDetails.js +1 -0
- package/multilingual/createLocalizedCheckDetails.mjs +53 -0
- package/multilingual/index.d.ts +2 -0
- package/multilingual/index.js +1 -0
- package/multilingual/index.mjs +5 -0
- package/package.json +16 -1
- package/preOrder/isGroupPreOrder.d.ts +6 -4
- package/preOrder/isGroupPreOrder.js +1 -1
- package/preOrder/isGroupPreOrder.mjs +4 -4
- package/preOrder/isPreOrderLink.d.ts +6 -4
- package/preOrder/isPreOrderLink.js +1 -1
- package/preOrder/isPreOrderLink.mjs +4 -4
- package/preOrder/isPreOrderSharable.d.ts +6 -4
- package/preOrder/isPreOrderSharable.js +1 -1
- package/preOrder/isPreOrderSharable.mjs +1 -1
- package/signalr/SignalR.js +1 -1
- package/signalr/SignalR.mjs +62 -62
- package/signalr/types.d.ts +2 -0
package/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as H } from "./shared/isWithinFlag.mjs";
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
2
|
+
import { default as B } from "./shared/generateId.mjs";
|
|
3
|
+
import { default as q } from "./shared/wait.mjs";
|
|
4
4
|
import { default as J } from "./shared/kiloGramToGram.mjs";
|
|
5
5
|
import { default as Q } from "./shared/gramToKiloGram.mjs";
|
|
6
6
|
import { default as j } from "./shared/hooks/usePrevious.mjs";
|
|
@@ -18,16 +18,16 @@ import { default as Oe } from "./outlet/getOutletTodayOpeningTimes.mjs";
|
|
|
18
18
|
import { default as ke } from "./outlet/getOutletOrderFormats.mjs";
|
|
19
19
|
import { default as Pe } from "./outlet/serviceDateTimesFromOpeningHours.mjs";
|
|
20
20
|
import { default as he } from "./outlet/getPickerIntervalsForDay.mjs";
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
21
|
+
import { default as Ie } from "./outlet/getServiceIntervalRange.mjs";
|
|
22
|
+
import { default as Fe } from "./outlet/getServiceIntervalsForOrderFormat.mjs";
|
|
23
23
|
import { default as ve } from "./outlet/getOutletFormattedAddress.mjs";
|
|
24
24
|
import { default as Me } from "./outlet/getPartitionedOutletsList.mjs";
|
|
25
25
|
import { default as be } from "./outlet/getOutletPickerTimesForWeek.mjs";
|
|
26
26
|
import { default as Ne } from "./outlet/getOutletPickerTimesForDay.mjs";
|
|
27
27
|
import { default as Ue } from "./outlet/getOutletOrderPrepTime.mjs";
|
|
28
28
|
import { default as He } from "./outlet/getStructuredOutletAddress.mjs";
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
29
|
+
import { default as Be } from "./outlet/getOutletNextOpeningTimeText.mjs";
|
|
30
|
+
import { default as qe } from "./outlet/getOutletCurrentClosingTimeText.mjs";
|
|
31
31
|
import { default as Je } from "./outlet/getOutletNextReadyToOrderTime.mjs";
|
|
32
32
|
import { default as Qe } from "./outlet/getOutletNextOpeningTagInformation.mjs";
|
|
33
33
|
import { default as je } from "./outlet/getOutletCurrentAvailabilityInfo.mjs";
|
|
@@ -45,140 +45,142 @@ import { default as Ot } from "./api/getEndpointWithVersion.mjs";
|
|
|
45
45
|
import { default as kt } from "./api/generateBackoffWithEqualJitter.mjs";
|
|
46
46
|
import { default as Pt } from "./api/generateBackoffWithVariableJitter.mjs";
|
|
47
47
|
import { default as ht } from "./api/isAcceptedResponse.mjs";
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as vt } from "./
|
|
51
|
-
import { default as Mt } from "./string/
|
|
52
|
-
import { default as bt } from "./string/
|
|
53
|
-
import { default as Nt } from "./string/
|
|
54
|
-
import { default as Ut } from "./
|
|
55
|
-
import { default as Ht } from "./color/
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as Jt } from "./color/
|
|
59
|
-
import { default as Qt } from "./color/
|
|
60
|
-
import { default as jt } from "./color/
|
|
61
|
-
import { default as Yt } from "./color/
|
|
62
|
-
import { default as $t } from "./color/
|
|
63
|
-
import { default as tr } from "./
|
|
64
|
-
import { default as or } from "./user/
|
|
65
|
-
import { default as fr } from "./user/
|
|
66
|
-
import { default as ur } from "./user/
|
|
67
|
-
import { default as lr } from "./user/
|
|
68
|
-
import { default as ir } from "./
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import { default as Or } from "./logger/
|
|
72
|
-
import { default as kr } from "./
|
|
73
|
-
import { default as Pr } from "./printing/
|
|
74
|
-
import { default as hr } from "./printing/
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as vr } from "./printing/
|
|
78
|
-
import { default as Mr } from "./printing/
|
|
79
|
-
import { default as br } from "./
|
|
80
|
-
import { default as Nr } from "./
|
|
81
|
-
import { default as Ur } from "./
|
|
82
|
-
import { default as Hr } from "./checkout/
|
|
83
|
-
import {
|
|
84
|
-
import { default as wr } from "./checkout/
|
|
85
|
-
import { default as Kr } from "./checkout/
|
|
86
|
-
import { default as Zr } from "./checkout/
|
|
87
|
-
import { default as Xr } from "./checkout/
|
|
88
|
-
import { default as _r } from "./checkout/
|
|
89
|
-
import { default as eo } from "./checkout/
|
|
90
|
-
import { default as ro } from "./checkout/
|
|
91
|
-
import { default as ao } from "./checkout/
|
|
92
|
-
import { default as so } from "./checkout/
|
|
93
|
-
import { default as lo } from "./checkout/
|
|
94
|
-
import { default as io } from "./checkout/
|
|
95
|
-
import { default as xo } from "./checkout/
|
|
96
|
-
import {
|
|
97
|
-
import { default as To } from "./checkout/
|
|
98
|
-
import { default as Co } from "./checkout/
|
|
99
|
-
import { default as So } from "./checkout/
|
|
100
|
-
import { default as Ao } from "./checkout/
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as Eo } from "./checkout/
|
|
103
|
-
import { default as Do } from "./checkout/
|
|
104
|
-
import { default as Ro } from "./checkout/
|
|
105
|
-
import { default as Lo } from "./checkout/
|
|
106
|
-
import { default as Go } from "./checkout/
|
|
107
|
-
import { default as Wo } from "./checkout/
|
|
108
|
-
import { default as
|
|
109
|
-
import { default as
|
|
110
|
-
import { default as wo } from "./order/
|
|
111
|
-
import { default as Ko } from "./order/
|
|
112
|
-
import { default as Zo } from "./
|
|
113
|
-
import { default as Xo } from "./currency/
|
|
114
|
-
import { default as _o } from "./
|
|
115
|
-
import { default as ea } from "./inventory/
|
|
116
|
-
import { default as ra } from "./inventory/
|
|
117
|
-
import { default as aa } from "./inventory/
|
|
118
|
-
import { default as sa } from "./inventory/
|
|
119
|
-
import { default as da } from "./inventory/
|
|
120
|
-
import { default as ma } from "./inventory/
|
|
121
|
-
import { default as pa } from "./inventory/
|
|
122
|
-
import { default as na } from "./
|
|
123
|
-
import { default as ga } from "./signalr/
|
|
124
|
-
import { default as Ta } from "./
|
|
125
|
-
import { default as Ca } from "./error/
|
|
126
|
-
import { default as Sa } from "./error/
|
|
127
|
-
import { default as Aa } from "./error/
|
|
128
|
-
import { default as
|
|
129
|
-
import { default as Ea } from "./error/
|
|
130
|
-
import { default as Da } from "./error/
|
|
131
|
-
import { default as Ra } from "./error/
|
|
132
|
-
import { default as La } from "./error/
|
|
133
|
-
import { default as Ga } from "./error/
|
|
134
|
-
import { default as Wa } from "./error/
|
|
135
|
-
import { default as
|
|
136
|
-
import { default as
|
|
137
|
-
import { default as wa } from "./error/
|
|
138
|
-
import { default as Ka } from "./error/
|
|
139
|
-
import { default as Za } from "./
|
|
140
|
-
import { default as Xa } from "./hangfire/
|
|
141
|
-
import { default as _a } from "./hangfire/
|
|
142
|
-
import { default as ef } from "./hangfire/
|
|
143
|
-
import { default as rf } from "./
|
|
144
|
-
import { default as af } from "./product/
|
|
145
|
-
import { default as sf } from "./product/
|
|
146
|
-
import { default as df } from "./product/
|
|
147
|
-
import { default as mf } from "./product/
|
|
148
|
-
import { default as xf } from "./product/
|
|
149
|
-
import { default as cf } from "./
|
|
150
|
-
import { default as Of } from "./codec/
|
|
151
|
-
import { default as kf } from "./
|
|
152
|
-
import { default as Pf } from "./
|
|
153
|
-
import { default as hf } from "./preOrder/
|
|
154
|
-
import { default as
|
|
155
|
-
import { default as
|
|
156
|
-
import { default as vf } from "./phoneNumber/
|
|
157
|
-
import { default as Mf
|
|
158
|
-
import { default as Gf } from "./
|
|
159
|
-
import { default as Wf } from "./
|
|
160
|
-
import { default as
|
|
161
|
-
import { default as
|
|
162
|
-
import { default as wf } from "./date/
|
|
163
|
-
import { default as Kf } from "./date/
|
|
164
|
-
import { default as Zf } from "./date/
|
|
165
|
-
import { default as Xf } from "./date/
|
|
166
|
-
import { default as _f } from "./
|
|
167
|
-
import { default as es } from "./time/
|
|
168
|
-
import { default as rs } from "./time/
|
|
169
|
-
import { default as as } from "./time/
|
|
170
|
-
import { default as ss } from "./time/
|
|
171
|
-
import { default as ds } from "./time/
|
|
172
|
-
import { default as ms } from "./time/
|
|
173
|
-
import { default as ps } from "./time/
|
|
174
|
-
import { default as ns } from "./time/
|
|
175
|
-
import { default as gs } from "./time/
|
|
176
|
-
import { default as Ts } from "./
|
|
177
|
-
import { default as Cs } from "./ticketItem/
|
|
178
|
-
import { default as Ss } from "./
|
|
179
|
-
import { default as As } from "./
|
|
180
|
-
import { default as
|
|
181
|
-
import { default as Es } from "./
|
|
48
|
+
import { default as It } from "./api/isNoContentResponse.mjs";
|
|
49
|
+
import { default as Ft } from "./api/APIFilterBuilder.mjs";
|
|
50
|
+
import { default as vt } from "./api/getMediaImageClosestSize.mjs";
|
|
51
|
+
import { default as Mt } from "./string/slugify.mjs";
|
|
52
|
+
import { default as bt } from "./string/truncate.mjs";
|
|
53
|
+
import { default as Nt } from "./string/getRandomAlphaNumericCode.mjs";
|
|
54
|
+
import { default as Ut } from "./string/getParsedJSONFromString.mjs";
|
|
55
|
+
import { default as Ht } from "./color/lighten.mjs";
|
|
56
|
+
import { default as Bt } from "./color/brighten.mjs";
|
|
57
|
+
import { default as qt } from "./color/darken.mjs";
|
|
58
|
+
import { default as Jt } from "./color/isDarkBackground.mjs";
|
|
59
|
+
import { default as Qt } from "./color/isColorsReadable.mjs";
|
|
60
|
+
import { default as jt } from "./color/isColorsEqual.mjs";
|
|
61
|
+
import { default as Yt } from "./color/getLuminance.mjs";
|
|
62
|
+
import { default as $t } from "./color/toHsl.mjs";
|
|
63
|
+
import { default as tr } from "./color/hslToHex.mjs";
|
|
64
|
+
import { default as or } from "./user/getFullName.mjs";
|
|
65
|
+
import { default as fr } from "./user/getFullAddressString.mjs";
|
|
66
|
+
import { default as ur } from "./user/getCustomerAddressFromGeocoderResult.mjs";
|
|
67
|
+
import { default as lr } from "./user/getFormattedPhoneNumber.mjs";
|
|
68
|
+
import { default as ir } from "./user/getStructuredCustomerAddress.mjs";
|
|
69
|
+
import { default as xr } from "./logger/Logger.mjs";
|
|
70
|
+
import { LogLevel as cr } from "./logger/types.mjs";
|
|
71
|
+
import { default as Or } from "./logger/sanitizeAsStringDict.mjs";
|
|
72
|
+
import { default as kr } from "./logger/pascalCaseFormatter.mjs";
|
|
73
|
+
import { default as Pr } from "./printing/getPrinterType.mjs";
|
|
74
|
+
import { default as hr } from "./printing/isValidPrinter.mjs";
|
|
75
|
+
import { default as Ir } from "./printing/isValidNetworkPrinter.mjs";
|
|
76
|
+
import { default as Fr } from "./printing/isValidStarCloudPrinter.mjs";
|
|
77
|
+
import { default as vr } from "./printing/isTerminalPrinter.mjs";
|
|
78
|
+
import { default as Mr } from "./printing/isCloudPrintModeEnabled.mjs";
|
|
79
|
+
import { default as br } from "./printing/createStarCloudScanHook.mjs";
|
|
80
|
+
import { default as Nr } from "./number/randomIntFromInterval.mjs";
|
|
81
|
+
import { default as Ur } from "./tables/decodeTableQRPayload.mjs";
|
|
82
|
+
import { default as Hr } from "./checkout/getCheckoutItemModifications.mjs";
|
|
83
|
+
import { default as Br } from "./checkout/getCheckoutProductName.mjs";
|
|
84
|
+
import { TranslationKey as qr, default as wr } from "./checkout/getCheckoutOrderStatusTexts.mjs";
|
|
85
|
+
import { default as Kr } from "./checkout/getCheckoutItemsMappedByTicketItemStatus.mjs";
|
|
86
|
+
import { default as Zr } from "./checkout/isCheckoutOrderSummary.mjs";
|
|
87
|
+
import { default as Xr } from "./checkout/buildCheckoutRequestItem.mjs";
|
|
88
|
+
import { default as _r } from "./checkout/getCheckoutGrandTotalAmount.mjs";
|
|
89
|
+
import { default as eo } from "./checkout/getCheckoutRequestItemFromCheckoutItem.mjs";
|
|
90
|
+
import { default as ro } from "./checkout/isCheckoutItemsAreEqual.mjs";
|
|
91
|
+
import { default as ao } from "./checkout/checkoutHasWallet.mjs";
|
|
92
|
+
import { default as so } from "./checkout/getWalletMetaFromCheckout.mjs";
|
|
93
|
+
import { default as lo } from "./checkout/isPreOrderServiceTime.mjs";
|
|
94
|
+
import { default as io } from "./checkout/isPreOrderCheckout.mjs";
|
|
95
|
+
import { default as xo } from "./checkout/isUpdatingCheckoutAllowed.mjs";
|
|
96
|
+
import { default as co } from "./checkout/isCheckoutAlreadyPaidStatus.mjs";
|
|
97
|
+
import { CheckoutPaymentErrorTranslationKey as Oo, default as To } from "./checkout/getCheckoutPaymentErrorTranslationTexts.mjs";
|
|
98
|
+
import { default as Co } from "./checkout/isDeletingCheckoutAllowed.mjs";
|
|
99
|
+
import { default as So } from "./checkout/getTotalCheckoutItemsQuantity.mjs";
|
|
100
|
+
import { default as Ao } from "./checkout/getCheckoutPenguinLockersMetaData.mjs";
|
|
101
|
+
import { default as yo } from "./checkout/getUniqueCheckoutPenguinDeliveryCodes.mjs";
|
|
102
|
+
import { default as Eo } from "./checkout/isWoltDeliveryInProgress.mjs";
|
|
103
|
+
import { default as Do } from "./checkout/isWalletTopUpCheckoutItem.mjs";
|
|
104
|
+
import { default as Ro } from "./checkout/isWalletTopUpCheckout.mjs";
|
|
105
|
+
import { default as Lo } from "./checkout/getCheckoutWalletTopUpMetaData.mjs";
|
|
106
|
+
import { default as Go } from "./checkout/isGiftCardCheckout.mjs";
|
|
107
|
+
import { default as Wo } from "./checkout/isGiftCardCheckoutItem.mjs";
|
|
108
|
+
import { default as zo } from "./checkout/getCheckoutGiftCardMetaData.mjs";
|
|
109
|
+
import { default as Vo } from "./checkout/getCheckoutGuestGroupsMetaData.mjs";
|
|
110
|
+
import { default as wo } from "./order/getCheckOrderItemsMappedByTicketItemStatus.mjs";
|
|
111
|
+
import { default as Ko } from "./order/getCheckOrderMinimumStatusTicketItem.mjs";
|
|
112
|
+
import { default as Zo } from "./order/getMultiProductSubProductsTicketItems.mjs";
|
|
113
|
+
import { default as Xo } from "./currency/getFormattedCurrency.mjs";
|
|
114
|
+
import { default as _o } from "./currency/getFormattedCurrencyPostfix.mjs";
|
|
115
|
+
import { default as ea } from "./inventory/isDetailedProductOutOfStock.mjs";
|
|
116
|
+
import { default as ra } from "./inventory/isDetailedProductVariantOutOfStocks.mjs";
|
|
117
|
+
import { default as aa } from "./inventory/isMenuTreeProductOutOfStock.mjs";
|
|
118
|
+
import { default as sa } from "./inventory/isDetailedProductUpSellsOutOfStock.mjs";
|
|
119
|
+
import { default as da } from "./inventory/isUpSellProductOutStock.mjs";
|
|
120
|
+
import { default as ma } from "./inventory/isDetailedProductOutletStockOutOfStock.mjs";
|
|
121
|
+
import { default as pa } from "./inventory/getDetailedProductVariantStock.mjs";
|
|
122
|
+
import { default as na } from "./inventory/isAddonProductOutOfStock.mjs";
|
|
123
|
+
import { default as ga } from "./signalr/createUseSignalRHook.mjs";
|
|
124
|
+
import { default as Ta } from "./signalr/SignalR.mjs";
|
|
125
|
+
import { default as Ca } from "./error/createCodedError.mjs";
|
|
126
|
+
import { default as Sa } from "./error/isCodedError.mjs";
|
|
127
|
+
import { default as Aa } from "./error/isNetworkError.mjs";
|
|
128
|
+
import { default as ya } from "./error/isLockedError.mjs";
|
|
129
|
+
import { default as Ea } from "./error/isNotFoundError.mjs";
|
|
130
|
+
import { default as Da } from "./error/isAPIError.mjs";
|
|
131
|
+
import { default as Ra } from "./error/isSerializedAPIError.mjs";
|
|
132
|
+
import { default as La } from "./error/isSerializedCodedError.mjs";
|
|
133
|
+
import { default as Ga } from "./error/serializeError.mjs";
|
|
134
|
+
import { default as Wa } from "./error/getErrorCode.mjs";
|
|
135
|
+
import { default as za } from "./error/isErrorWithStatusCode.mjs";
|
|
136
|
+
import { default as Va } from "./error/isBadGatewayError.mjs";
|
|
137
|
+
import { default as wa } from "./error/isServiceUnavailableError.mjs";
|
|
138
|
+
import { default as Ka } from "./error/isTooManyRequestsError.mjs";
|
|
139
|
+
import { default as Za } from "./error/isUpgradeRequiredError.mjs";
|
|
140
|
+
import { default as Xa } from "./hangfire/isHangfireResponse.mjs";
|
|
141
|
+
import { default as _a } from "./hangfire/isHangfireWorkerExpiredOrInvalidError.mjs";
|
|
142
|
+
import { default as ef } from "./hangfire/createHangfirePoller.mjs";
|
|
143
|
+
import { default as rf } from "./hangfire/createMakeHangfireRequest.mjs";
|
|
144
|
+
import { default as af } from "./product/extractProductsFromMenuTree.mjs";
|
|
145
|
+
import { default as sf } from "./product/calculateIngredientsCost.mjs";
|
|
146
|
+
import { default as df } from "./product/calculateAddonGroupCost.mjs";
|
|
147
|
+
import { default as mf } from "./product/getAddonGroupInfoBySettings.mjs";
|
|
148
|
+
import { default as xf } from "./product/calculateWeightProductPrice.mjs";
|
|
149
|
+
import { default as cf } from "./product/calculateProductWeightByPrice.mjs";
|
|
150
|
+
import { default as Of } from "./codec/base64URLEncode.mjs";
|
|
151
|
+
import { default as kf } from "./codec/base64URLDecode.mjs";
|
|
152
|
+
import { default as Pf } from "./hashing/getSHA256Hash.mjs";
|
|
153
|
+
import { default as hf } from "./preOrder/isPreOrderSharable.mjs";
|
|
154
|
+
import { default as If } from "./preOrder/isPreOrderLink.mjs";
|
|
155
|
+
import { default as Ff } from "./preOrder/isGroupPreOrder.mjs";
|
|
156
|
+
import { default as vf } from "./phoneNumber/isPhoneNumberValid.mjs";
|
|
157
|
+
import { default as Mf } from "./phoneNumber/formatPhoneNumber.mjs";
|
|
158
|
+
import { default as bf, isLicenseExpired as Lf, isLicenseExtended as Nf, isLicenseTerminated as Gf } from "./license/getLicenseUIState.mjs";
|
|
159
|
+
import { default as Wf } from "./googleMap/getComponentNameFromGeocoderResult.mjs";
|
|
160
|
+
import { default as zf } from "./date/createLocalTimezoneDate.mjs";
|
|
161
|
+
import { default as Vf } from "./date/createLocalTimezoneMoment.mjs";
|
|
162
|
+
import { default as wf } from "./date/getFormattedUTCDateTime.mjs";
|
|
163
|
+
import { default as Kf } from "./date/convertToLocalTimezone.mjs";
|
|
164
|
+
import { default as Zf } from "./date/convertToSpecificTimezone.mjs";
|
|
165
|
+
import { default as Xf } from "./date/getTimezoneUtcOffsetDifference.mjs";
|
|
166
|
+
import { default as _f } from "./date/isDSTShiftPresentInRange.mjs";
|
|
167
|
+
import { default as es } from "./time/toMinutes.mjs";
|
|
168
|
+
import { default as rs } from "./time/getNextTenthMinute.mjs";
|
|
169
|
+
import { default as as } from "./time/getPrevNthMinute.mjs";
|
|
170
|
+
import { default as ss } from "./time/getTimeSpanParts.mjs";
|
|
171
|
+
import { default as ds } from "./time/getEndTimeSpanOfTimePeriod.mjs";
|
|
172
|
+
import { default as ms } from "./time/createTimeSpan.mjs";
|
|
173
|
+
import { default as ps } from "./time/formatTimeSpan.mjs";
|
|
174
|
+
import { default as ns } from "./time/getDurationBetweenTimeSpans.mjs";
|
|
175
|
+
import { default as gs } from "./time/convertSecondsToTimeSpan.mjs";
|
|
176
|
+
import { default as Ts } from "./time/convertTimeSpanToSeconds.mjs";
|
|
177
|
+
import { default as Cs } from "./ticketItem/isTicketItemReady.mjs";
|
|
178
|
+
import { default as Ss } from "./ticketItem/isTicketItemClosed.mjs";
|
|
179
|
+
import { default as As } from "./quantity/getFormattedQuantity.mjs";
|
|
180
|
+
import { default as ys } from "./checkAuditLog/isPayAndGoCheckAuditLogAction.mjs";
|
|
181
|
+
import { default as Es } from "./checkAuditLog/getCheckAuditLogProductName.mjs";
|
|
182
|
+
import { default as Ds } from "./zReport/getZReportPaymentMethodDisplayName.mjs";
|
|
183
|
+
import { default as Rs } from "./multilingual/createLocalizedCheckDetails.mjs";
|
|
182
184
|
import "react";
|
|
183
185
|
import "moment";
|
|
184
186
|
import "@ancon/wildcat-types";
|
|
@@ -217,89 +219,91 @@ import "@microsoft/signalr";
|
|
|
217
219
|
import "google-libphonenumber";
|
|
218
220
|
import "./license/types.mjs";
|
|
219
221
|
export {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
222
|
+
Ft as APIFilterBuilder,
|
|
223
|
+
Oo as CheckoutPaymentErrorTranslationKey,
|
|
224
|
+
cr as LogLevel,
|
|
225
|
+
xr as Logger,
|
|
226
|
+
Ta as SignalR,
|
|
227
|
+
qr as TranslationKey,
|
|
228
|
+
kf as base64URLDecode,
|
|
229
|
+
Of as base64URLEncode,
|
|
230
|
+
Bt as brighten,
|
|
231
|
+
Xr as buildCheckoutRequestItem,
|
|
232
|
+
df as calculateAddonGroupsCost,
|
|
233
|
+
sf as calculateIngredientsCost,
|
|
234
|
+
cf as calculateProductWeightByPrice,
|
|
235
|
+
xf as calculateWeightProductPrice,
|
|
236
|
+
ao as checkoutHasWallet,
|
|
235
237
|
xt as cleanVersionString,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
238
|
+
gs as convertSecondsToTimeSpan,
|
|
239
|
+
Ts as convertTimeSpanToSeconds,
|
|
240
|
+
Kf as convertToLocalTimezone,
|
|
241
|
+
Zf as convertToSpecificTimezone,
|
|
242
|
+
Ca as createCodedError,
|
|
243
|
+
ef as createHangfirePoller,
|
|
244
|
+
zf as createLocalTimezoneDate,
|
|
245
|
+
Vf as createLocalTimezoneMoment,
|
|
246
|
+
Rs as createLocalizedCheckDetails,
|
|
247
|
+
rf as createMakeHangfireRequest,
|
|
248
|
+
ms as createTimeSpan,
|
|
249
|
+
ga as createUseSignalRHook,
|
|
250
|
+
br as createUseStarCloudScanHook,
|
|
251
|
+
qt as darken,
|
|
252
|
+
Ur as decodeTableQRPayload,
|
|
253
|
+
af as extractProductsFromMenuTree,
|
|
254
|
+
Mf as formatPhoneNumber,
|
|
255
|
+
ps as formatTimeSpan,
|
|
253
256
|
kt as generateBackoffWithEqualJitter,
|
|
254
257
|
Pt as generateBackoffWithVariableJitter,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
258
|
+
B as generateId,
|
|
259
|
+
mf as getAddonGroupInfoBySettings,
|
|
260
|
+
Es as getCheckAuditLogProductName,
|
|
261
|
+
wo as getCheckOrderItemsMappedByTicketItemStatus,
|
|
262
|
+
Ko as getCheckOrderMinimumStatusTicketItem,
|
|
263
|
+
zo as getCheckoutGiftCardMetaData,
|
|
264
|
+
_r as getCheckoutGrandTotalAmount,
|
|
265
|
+
Hr as getCheckoutGroupedModifications,
|
|
266
|
+
Vo as getCheckoutGuestGroupsMetaData,
|
|
267
|
+
Kr as getCheckoutItemsMappedByTicketItemStatus,
|
|
268
|
+
wr as getCheckoutOrderStatusTexts,
|
|
269
|
+
To as getCheckoutPaymentErrorTranslationTexts,
|
|
270
|
+
Ao as getCheckoutPenguinLockersMetaData,
|
|
271
|
+
Br as getCheckoutProductName,
|
|
272
|
+
eo as getCheckoutRequestItemFromCheckoutItem,
|
|
273
|
+
Lo as getCheckoutWalletTopUpMetaData,
|
|
274
|
+
Wf as getComponentNameFromGeocoderResult,
|
|
275
|
+
ur as getCustomerAddressFromGeocoderResult,
|
|
276
|
+
pa as getDetailedProductVariantStock,
|
|
277
|
+
ns as getDurationBetweenTimeSpans,
|
|
278
|
+
ds as getEndTimeSpanOfTimePeriod,
|
|
276
279
|
Ot as getEndpointWithVersion,
|
|
277
|
-
|
|
280
|
+
Wa as getErrorCode,
|
|
278
281
|
Ye as getExpressAvailableOrderFormats,
|
|
279
282
|
$e as getExpressNextAvailabilityShiftTime,
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
283
|
+
Xo as getFormattedCurrency,
|
|
284
|
+
_o as getFormattedCurrencyPostfix,
|
|
285
|
+
lr as getFormattedPhoneNumber,
|
|
286
|
+
As as getFormattedQuantity,
|
|
287
|
+
wf as getFormattedUTCDateTime,
|
|
288
|
+
fr as getFullAddressString,
|
|
289
|
+
or as getFullName,
|
|
290
|
+
bf as getLicenseUIState,
|
|
288
291
|
$ as getListOutletOpeningHoursTable,
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
+
Yt as getLuminance,
|
|
293
|
+
vt as getMediaImageClosestSize,
|
|
294
|
+
Zo as getMultiProductSubProductsTicketItems,
|
|
295
|
+
rs as getNextTenthMinute,
|
|
292
296
|
tt as getOrderFormatAOTipSettings,
|
|
293
297
|
oe as getOutletAvailabilityInfo,
|
|
294
298
|
ue as getOutletAvailableOrderFormats,
|
|
295
299
|
je as getOutletCurrentAvailabilityInfo,
|
|
296
|
-
|
|
300
|
+
qe as getOutletCurrentClosingTimeText,
|
|
297
301
|
ce as getOutletDeliveryFee,
|
|
298
302
|
ve as getOutletFormattedAddress,
|
|
299
303
|
le as getOutletFormattedDistance,
|
|
300
304
|
ut as getOutletMenuProductsSortCriteria,
|
|
301
305
|
Qe as getOutletNextOpeningTagInformation,
|
|
302
|
-
|
|
306
|
+
Be as getOutletNextOpeningTimeText,
|
|
303
307
|
Je as getOutletNextReadyToOrderTime,
|
|
304
308
|
lt as getOutletNextServiceTimeOffset,
|
|
305
309
|
fe as getOutletOfflineOrderFormats,
|
|
@@ -309,98 +313,98 @@ export {
|
|
|
309
313
|
be as getOutletPickerTimesForWeek,
|
|
310
314
|
te as getOutletTagInformation,
|
|
311
315
|
Oe as getOutletTodayOpeningTimes,
|
|
312
|
-
|
|
316
|
+
Ut as getParsedJSONFromString,
|
|
313
317
|
Me as getPartitionedOutletsList,
|
|
314
318
|
he as getPickerIntervalsForDay,
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
319
|
+
as as getPrevNthMinute,
|
|
320
|
+
Pr as getPrinterType,
|
|
321
|
+
Nt as getRandomAlphaNumericCode,
|
|
322
|
+
Pf as getSHA256Hash,
|
|
323
|
+
Ie as getServiceIntervalRange,
|
|
324
|
+
Fe as getServiceIntervalsForOrderFormat,
|
|
325
|
+
ir as getStructuredCustomerAddress,
|
|
322
326
|
He as getStructuredOutletAddress,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
+
ss as getTimeSpanParts,
|
|
328
|
+
Xf as getTimezoneUtcOffsetDifference,
|
|
329
|
+
So as getTotalCheckoutItemsQuantity,
|
|
330
|
+
yo as getUniqueCheckoutPenguinDeliveryCodes,
|
|
327
331
|
ct as getUrlAndParams,
|
|
328
|
-
|
|
329
|
-
|
|
332
|
+
so as getWalletMetaFromCheckout,
|
|
333
|
+
Ds as getZReportPaymentMethodDisplayName,
|
|
330
334
|
Q as gramToKiloGram,
|
|
331
|
-
|
|
335
|
+
tr as hslToHex,
|
|
332
336
|
ot as isAOTippingEnabledForOrderFormat,
|
|
333
|
-
|
|
337
|
+
Da as isAPIError,
|
|
334
338
|
ht as isAcceptedResponse,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
339
|
+
na as isAddonProductOutOfStock,
|
|
340
|
+
Va as isBadGatewayError,
|
|
341
|
+
co as isCheckoutAlreadyPaidStatus,
|
|
342
|
+
ro as isCheckoutItemsAreEqual,
|
|
343
|
+
Zr as isCheckoutOrderSummary,
|
|
344
|
+
Mr as isCloudPrintModeEnabled,
|
|
345
|
+
Sa as isCodedError,
|
|
346
|
+
jt as isColorsEqual,
|
|
347
|
+
Qt as isColorsReadable,
|
|
348
|
+
_f as isDSTShiftPresentInRange,
|
|
349
|
+
Jt as isDarkBackground,
|
|
350
|
+
Co as isDeletingCheckoutAllowed,
|
|
351
|
+
ea as isDetailedProductOutOfStock,
|
|
352
|
+
ma as isDetailedProductOutletStockOutOfStock,
|
|
353
|
+
sa as isDetailedProductUpSellsOutOfStock,
|
|
354
|
+
ra as isDetailedProductVariantOutOfStocks,
|
|
355
|
+
za as isErrorWithStatusCode,
|
|
356
|
+
Go as isGiftCardCheckout,
|
|
357
|
+
Wo as isGiftCardCheckoutItem,
|
|
358
|
+
Ff as isGroupPreOrder,
|
|
359
|
+
Xa as isHangfireResponse,
|
|
360
|
+
_a as isHangfireWorkerExpiredOrInvalidError,
|
|
361
|
+
Lf as isLicenseExpired,
|
|
362
|
+
Nf as isLicenseExtended,
|
|
363
|
+
Gf as isLicenseTerminated,
|
|
364
|
+
ya as isLockedError,
|
|
361
365
|
ft as isMenuTreeHierarchyProductAvailable,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
+
aa as isMenuTreeProductOutOfStock,
|
|
367
|
+
Aa as isNetworkError,
|
|
368
|
+
It as isNoContentResponse,
|
|
369
|
+
Ea as isNotFoundError,
|
|
366
370
|
ie as isOutletAcceptingPreOrders,
|
|
367
371
|
xe as isOutletAcceptingPreOrdersWhenClosed,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
372
|
+
ys as isPayAndGoCheckAuditLogAction,
|
|
373
|
+
vf as isPhoneNumberValid,
|
|
374
|
+
io as isPreOrderCheckout,
|
|
375
|
+
If as isPreOrderLink,
|
|
376
|
+
lo as isPreOrderServiceTime,
|
|
377
|
+
hf as isPreOrderSharable,
|
|
378
|
+
Ra as isSerializedAPIError,
|
|
379
|
+
La as isSerializedCodedError,
|
|
380
|
+
wa as isServiceUnavailableError,
|
|
381
|
+
vr as isTerminalPrinter,
|
|
382
|
+
Ss as isTicketItemClosed,
|
|
383
|
+
Cs as isTicketItemReady,
|
|
384
|
+
Ka as isTooManyRequestsError,
|
|
385
|
+
da as isUpSellProductOutOfStock,
|
|
386
|
+
xo as isUpdatingCheckoutAllowed,
|
|
387
|
+
Za as isUpgradeRequiredError,
|
|
388
|
+
Ir as isValidNetworkPrinter,
|
|
389
|
+
hr as isValidPrinter,
|
|
390
|
+
Fr as isValidStarCloudPrinter,
|
|
387
391
|
it as isVersionALessThanB,
|
|
388
|
-
|
|
389
|
-
|
|
392
|
+
Ro as isWalletTopUpCheckout,
|
|
393
|
+
Do as isWalletTopUpCheckoutItem,
|
|
390
394
|
H as isWithinFlag,
|
|
391
|
-
|
|
395
|
+
Eo as isWoltDeliveryInProgress,
|
|
392
396
|
J as kiloGramToGram,
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
397
|
+
Ht as lighten,
|
|
398
|
+
kr as pascalCaseFormatter,
|
|
399
|
+
Nr as randomIntFromInterval,
|
|
400
|
+
Or as sanitizeAsStringDict,
|
|
401
|
+
Ga as serializeError,
|
|
398
402
|
Pe as serviceDateTimesFromOpeningHours,
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
+
Mt as slugify,
|
|
404
|
+
$t as toHsl,
|
|
405
|
+
es as toMinutes,
|
|
406
|
+
bt as truncate,
|
|
403
407
|
Y as useMountedRef,
|
|
404
408
|
j as usePrevious,
|
|
405
|
-
|
|
409
|
+
q as wait
|
|
406
410
|
};
|