@pisell/private-materials 6.5.6 → 6.5.7
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +8 -5
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +8 -5
- package/package.json +1 -1
@@ -165,10 +165,10 @@ export declare const getProductTotalPrice: (item: any) => number;
|
|
165
165
|
export declare const getDuration: (duration: number | {
|
166
166
|
type: string;
|
167
167
|
value: number;
|
168
|
-
}) => number | {
|
168
|
+
}) => number | "flexible" | {
|
169
169
|
type: string;
|
170
170
|
value: number;
|
171
|
-
}
|
171
|
+
};
|
172
172
|
export declare const isWalkIn: (customer_id?: number | string) => boolean;
|
173
173
|
export declare const getIsEdit: (state: any) => boolean;
|
174
174
|
export {};
|
@@ -41,7 +41,7 @@ declare type ScanData = {
|
|
41
41
|
};
|
42
42
|
};
|
43
43
|
export declare const formatScanCustomer: (data: ScanData) => {
|
44
|
-
searchType: "product" | "customer" | "
|
44
|
+
searchType: "product" | "customer" | "walletPass" | "wallet" | "local_product";
|
45
45
|
data: any;
|
46
46
|
scanCode: string;
|
47
47
|
} | null;
|
@@ -236,9 +236,10 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
|
|
236
236
|
minFontSizePx: 10,
|
237
237
|
maxFontSizePx: 14,
|
238
238
|
fontSizePrecisionPx: 0.5
|
239
|
-
}, formatAmountWithOptions(originalValue || '',
|
239
|
+
}, formatAmountWithOptions(originalValue || '', amountSymbol, {
|
240
240
|
precision: 2,
|
241
|
-
hideDecimalForWholeNumbers: false
|
241
|
+
hideDecimalForWholeNumbers: false,
|
242
|
+
showCurrencySymbol: true
|
242
243
|
})))), ((_mergedDisplayField$c = mergedDisplayField.cashReceived) === null || _mergedDisplayField$c === void 0 ? void 0 : _mergedDisplayField$c.visible) && /*#__PURE__*/React.createElement("div", {
|
243
244
|
style: _objectSpread(_objectSpread({}, getGridStyle(1)), {}, {
|
244
245
|
padding: '6px 16px',
|
@@ -268,10 +269,11 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
|
|
268
269
|
minFontSizePx: 10,
|
269
270
|
maxFontSizePx: 14,
|
270
271
|
fontSizePrecisionPx: 0.5
|
271
|
-
}, formatAmountWithOptions(internalValue || '',
|
272
|
+
}, formatAmountWithOptions(internalValue || '', amountSymbol, {
|
272
273
|
value: internalValue,
|
273
274
|
hideDecimalForWholeNumbers: false,
|
274
|
-
precision: 2
|
275
|
+
precision: 2,
|
276
|
+
showCurrencySymbol: true
|
275
277
|
})) : '',
|
276
278
|
height: 30,
|
277
279
|
fontSize: 20,
|
@@ -296,8 +298,9 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
|
|
296
298
|
minFontSizePx: 10,
|
297
299
|
maxFontSizePx: 14,
|
298
300
|
fontSizePrecisionPx: 0.5
|
299
|
-
}, formatAmountWithOptions(hiddenChangeDue ? 0 : changeDue,
|
301
|
+
}, formatAmountWithOptions(hiddenChangeDue ? 0 : changeDue, amountSymbol, {
|
300
302
|
value: hiddenChangeDue ? 0 : changeDue,
|
303
|
+
showCurrencySymbol: true,
|
301
304
|
hideDecimalForWholeNumbers: false,
|
302
305
|
precision: 2
|
303
306
|
}))))), /*#__PURE__*/React.createElement(Shortcuts, {
|
@@ -165,10 +165,10 @@ export declare const getProductTotalPrice: (item: any) => number;
|
|
165
165
|
export declare const getDuration: (duration: number | {
|
166
166
|
type: string;
|
167
167
|
value: number;
|
168
|
-
}) => number | {
|
168
|
+
}) => number | "flexible" | {
|
169
169
|
type: string;
|
170
170
|
value: number;
|
171
|
-
}
|
171
|
+
};
|
172
172
|
export declare const isWalkIn: (customer_id?: number | string) => boolean;
|
173
173
|
export declare const getIsEdit: (state: any) => boolean;
|
174
174
|
export {};
|
@@ -41,7 +41,7 @@ declare type ScanData = {
|
|
41
41
|
};
|
42
42
|
};
|
43
43
|
export declare const formatScanCustomer: (data: ScanData) => {
|
44
|
-
searchType: "product" | "customer" | "
|
44
|
+
searchType: "product" | "customer" | "walletPass" | "wallet" | "local_product";
|
45
45
|
data: any;
|
46
46
|
scanCode: string;
|
47
47
|
} | null;
|
@@ -240,9 +240,10 @@ var CashKeyboardIntact = (props) => {
|
|
240
240
|
maxFontSizePx: 14,
|
241
241
|
fontSizePrecisionPx: 0.5
|
242
242
|
},
|
243
|
-
(0, import_utils3.formatAmountWithOptions)(originalValue || "",
|
243
|
+
(0, import_utils3.formatAmountWithOptions)(originalValue || "", amountSymbol, {
|
244
244
|
precision: 2,
|
245
|
-
hideDecimalForWholeNumbers: false
|
245
|
+
hideDecimalForWholeNumbers: false,
|
246
|
+
showCurrencySymbol: true
|
246
247
|
})
|
247
248
|
))
|
248
249
|
), ((_b = mergedDisplayField.cashReceived) == null ? void 0 : _b.visible) && /* @__PURE__ */ import_react.default.createElement(
|
@@ -287,10 +288,11 @@ var CashKeyboardIntact = (props) => {
|
|
287
288
|
maxFontSizePx: 14,
|
288
289
|
fontSizePrecisionPx: 0.5
|
289
290
|
},
|
290
|
-
(0, import_utils3.formatAmountWithOptions)(internalValue || "",
|
291
|
+
(0, import_utils3.formatAmountWithOptions)(internalValue || "", amountSymbol, {
|
291
292
|
value: internalValue,
|
292
293
|
hideDecimalForWholeNumbers: false,
|
293
|
-
precision: 2
|
294
|
+
precision: 2,
|
295
|
+
showCurrencySymbol: true
|
294
296
|
})
|
295
297
|
) : "",
|
296
298
|
height: 30,
|
@@ -319,8 +321,9 @@ var CashKeyboardIntact = (props) => {
|
|
319
321
|
maxFontSizePx: 14,
|
320
322
|
fontSizePrecisionPx: 0.5
|
321
323
|
},
|
322
|
-
(0, import_utils3.formatAmountWithOptions)(hiddenChangeDue ? 0 : changeDue,
|
324
|
+
(0, import_utils3.formatAmountWithOptions)(hiddenChangeDue ? 0 : changeDue, amountSymbol, {
|
323
325
|
value: hiddenChangeDue ? 0 : changeDue,
|
326
|
+
showCurrencySymbol: true,
|
324
327
|
hideDecimalForWholeNumbers: false,
|
325
328
|
precision: 2
|
326
329
|
})
|