@pisell/private-materials 6.3.71 → 6.3.72
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/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +6 -6
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +8 -8
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/Sales/Cart/index.js +20 -3
- package/es/components/Sales/Cart/utils.d.ts +68 -0
- package/es/components/Sales/Cart/utils.js +16 -0
- package/es/components/Sales/Summary/utils.d.ts +51 -0
- package/es/components/Sales/Summary/utils.js +5 -4
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/locales.d.ts +363 -0
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/dashboard/serve.d.ts +1 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/serve.d.ts +18 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/es/components/booking/info/client/serve.d.ts +2 -0
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +0 -1
- package/es/components/booking/info/pet/serve.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/serve.d.ts +20 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/serve.d.ts +6 -0
- package/es/components/booking/locales.d.ts +843 -0
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftposPay/const.d.ts +184 -0
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/locales.d.ts +330 -0
- package/es/components/eftposPay/manufacturer.d.ts +7 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/index.js +2 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Voucher/components/Voucher.d.ts +20 -0
- package/es/components/eventBooking/components/Voucher/components/Voucher.js +99 -0
- package/es/components/eventBooking/components/Voucher/components/index.less +124 -0
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
- package/es/components/eventBooking/components/Voucher/components/locales.js +38 -0
- package/es/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
- package/es/components/eventBooking/components/Voucher/hooks.js +212 -0
- package/es/components/eventBooking/components/Voucher/index.d.ts +2 -0
- package/es/components/eventBooking/components/Voucher/index.js +266 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/pay/toC/PaymentList/utils.d.ts +36 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pay/toC/locales.d.ts +307 -0
- package/es/components/pay/toC/status.d.ts +13 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/ruleSetting/locales.d.ts +48 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/es/components/shoppingCart/locales.d.ts +33 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/subTotal/locales.d.ts +42 -0
- package/es/components/systemSettings/registry/locales.d.ts +272 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/types.d.ts +126 -0
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/es/components/ticketBooking/locales.d.ts +174 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/locales.d.ts +27 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/hooks/useEngineContext.d.ts +10 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/es/plus/selectHolder/locales.d.ts +21 -0
- package/es/plus/selectHolder/types.d.ts +104 -0
- package/es/plus/selectHolder/utils.d.ts +9 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletEditor/locales.d.ts +135 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +6 -5
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.js +9 -3
- package/es/plus/walletPassGallery/locales.d.ts +285 -0
- package/es/plus/walletPassGallery/serve.d.ts +8 -0
- package/es/plus/walletPassGallery/serve.js +78 -52
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Login2.0/shared/types.d.ts +232 -0
- package/es/pro/NumericStepper/index.d.ts +43 -0
- package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/es/pro/Selector/Item.d.ts +14 -0
- package/es/pro/Selector/Selector.d.ts +1 -1
- package/es/pro/Selector/Selector.stories.d.ts +78 -0
- package/es/pro/Selector/components/Card/index.d.ts +57 -0
- package/es/pro/Selector/components/Card/types.d.ts +1 -0
- package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
- package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
- package/es/pro/Selector/components/Media/index.d.ts +6 -0
- package/es/pro/Selector/components/Media/types.d.ts +47 -0
- package/es/pro/Selector/components/index.d.ts +4 -0
- package/es/pro/Selector/demo.d.ts +2 -0
- package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/es/pro/Selector/index.d.ts +11 -0
- package/es/pro/Selector/locales.d.ts +36 -0
- package/es/pro/Selector/types.d.ts +173 -0
- package/es/pro/Selector/utils/index.d.ts +49 -0
- package/es/test/setup.d.ts +1 -0
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/Sales/Cart/index.js +25 -7
- package/lib/components/Sales/Cart/utils.d.ts +68 -0
- package/lib/components/Sales/Cart/utils.js +13 -1
- package/lib/components/Sales/Summary/utils.d.ts +51 -0
- package/lib/components/Sales/Summary/utils.js +2 -4
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/locales.d.ts +363 -0
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/dashboard/serve.d.ts +1 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/serve.d.ts +18 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/lib/components/booking/info/client/serve.d.ts +2 -0
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +0 -1
- package/lib/components/booking/info/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/serve.d.ts +20 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/serve.d.ts +6 -0
- package/lib/components/booking/locales.d.ts +843 -0
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftposPay/const.d.ts +184 -0
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/locales.d.ts +330 -0
- package/lib/components/eftposPay/manufacturer.d.ts +7 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +2 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Voucher/components/Voucher.d.ts +20 -0
- package/lib/components/eventBooking/components/Voucher/components/Voucher.js +116 -0
- package/lib/components/eventBooking/components/Voucher/components/index.less +124 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.js +59 -0
- package/lib/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
- package/lib/components/eventBooking/components/Voucher/hooks.js +176 -0
- package/lib/components/eventBooking/components/Voucher/index.d.ts +2 -0
- package/lib/components/eventBooking/components/Voucher/index.js +197 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pay/toC/locales.d.ts +307 -0
- package/lib/components/pay/toC/status.d.ts +13 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/ruleSetting/locales.d.ts +48 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/lib/components/shoppingCart/locales.d.ts +33 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/subTotal/locales.d.ts +42 -0
- package/lib/components/systemSettings/registry/locales.d.ts +272 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/types.d.ts +126 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/lib/components/ticketBooking/locales.d.ts +174 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/locales.d.ts +27 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/hooks/useEngineContext.d.ts +10 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/lib/plus/selectHolder/locales.d.ts +21 -0
- package/lib/plus/selectHolder/types.d.ts +104 -0
- package/lib/plus/selectHolder/utils.d.ts +9 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletEditor/locales.d.ts +135 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.js +24 -6
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.js +17 -10
- package/lib/plus/walletPassGallery/locales.d.ts +285 -0
- package/lib/plus/walletPassGallery/serve.d.ts +8 -0
- package/lib/plus/walletPassGallery/serve.js +23 -10
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Login2.0/shared/types.d.ts +232 -0
- package/lib/pro/NumericStepper/index.d.ts +43 -0
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/lib/pro/Selector/Item.d.ts +14 -0
- package/lib/pro/Selector/Selector.d.ts +1 -1
- package/lib/pro/Selector/Selector.stories.d.ts +78 -0
- package/lib/pro/Selector/components/Card/index.d.ts +57 -0
- package/lib/pro/Selector/components/Card/types.d.ts +1 -0
- package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
- package/lib/pro/Selector/components/Media/index.d.ts +6 -0
- package/lib/pro/Selector/components/Media/types.d.ts +47 -0
- package/lib/pro/Selector/components/index.d.ts +4 -0
- package/lib/pro/Selector/demo.d.ts +2 -0
- package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/lib/pro/Selector/index.d.ts +11 -0
- package/lib/pro/Selector/locales.d.ts +36 -0
- package/lib/pro/Selector/types.d.ts +173 -0
- package/lib/pro/Selector/utils/index.d.ts +49 -0
- package/lib/test/setup.d.ts +1 -0
- package/package.json +4 -4
|
@@ -56,7 +56,7 @@ var PassDetail = function PassDetail(props) {
|
|
|
56
56
|
},
|
|
57
57
|
store = _ref.store;
|
|
58
58
|
var _ref2 = ((_context$appHelper2 = context.appHelper) === null || _context$appHelper2 === void 0 ? void 0 : _context$appHelper2.constants) || {
|
|
59
|
-
apiPrefix:
|
|
59
|
+
apiPrefix: '/h5'
|
|
60
60
|
},
|
|
61
61
|
apiPrefix = _ref2.apiPrefix;
|
|
62
62
|
var timezone = (store === null || store === void 0 || (_store$getState = store.getState) === null || _store$getState === void 0 || (_store$getState = _store$getState.call(store)) === null || _store$getState === void 0 || (_store$getState = _store$getState.global) === null || _store$getState === void 0 || (_store$getState = _store$getState.symbol) === null || _store$getState === void 0 || (_store$getState = _store$getState.shop) === null || _store$getState === void 0 ? void 0 : _store$getState.timezone) || 'Asia/Shanghai';
|
|
@@ -142,9 +142,9 @@ var PassDetail = function PassDetail(props) {
|
|
|
142
142
|
var expireText = expire_date ? expire_date : locales.getText('wallet-pass-gallery.expireDate');
|
|
143
143
|
if (scheduleList.length > 0) {
|
|
144
144
|
// 换行展示
|
|
145
|
-
var validityTexts =
|
|
146
|
-
var excludedText =
|
|
147
|
-
var includedText =
|
|
145
|
+
var validityTexts = '';
|
|
146
|
+
var excludedText = '';
|
|
147
|
+
var includedText = '';
|
|
148
148
|
detail.forEach(function (item) {
|
|
149
149
|
if (item.validityTexts.length > 0) {
|
|
150
150
|
validityTexts = "".concat(validityTexts).concat(item.validityTexts.join('\n'), "\n");
|
|
@@ -246,7 +246,8 @@ var PassDetail = function PassDetail(props) {
|
|
|
246
246
|
return /*#__PURE__*/React.createElement(TimelineSection, {
|
|
247
247
|
code: code,
|
|
248
248
|
tag: tag,
|
|
249
|
-
timezone: timezone
|
|
249
|
+
timezone: timezone,
|
|
250
|
+
apiPrefix: apiPrefix
|
|
250
251
|
});
|
|
251
252
|
};
|
|
252
253
|
if (!props.dataSource) return null;
|
|
@@ -11,7 +11,7 @@ import timezonePlugin from 'dayjs/plugin/timezone';
|
|
|
11
11
|
import utcPlugin from 'dayjs/plugin/utc';
|
|
12
12
|
import { locales } from '@pisell/utils';
|
|
13
13
|
import { Timeline, Skeleton, PisellEmpty, usePisellConfig, PisellModal, PisellStatisticList, Button } from '@pisell/materials';
|
|
14
|
-
import { getAssetList } from "../../serve";
|
|
14
|
+
import { getAssetList, getActiveLogs } from "../../serve";
|
|
15
15
|
import "./index.less";
|
|
16
16
|
dayjs.extend(timezonePlugin);
|
|
17
17
|
dayjs.extend(utcPlugin);
|
|
@@ -19,7 +19,8 @@ var stateTimeUnix = 1723255863; // 2024.8.10 时间戳
|
|
|
19
19
|
var TimelineSection = function TimelineSection(props) {
|
|
20
20
|
var code = props.code,
|
|
21
21
|
tag = props.tag,
|
|
22
|
-
timezone = props.timezone
|
|
22
|
+
timezone = props.timezone,
|
|
23
|
+
apiPrefix = props.apiPrefix;
|
|
23
24
|
var _usePisellConfig = usePisellConfig(),
|
|
24
25
|
_usePisellConfig$symb = _usePisellConfig.symbol,
|
|
25
26
|
symbol = _usePisellConfig$symb === void 0 ? '$' : _usePisellConfig$symb;
|
|
@@ -87,6 +88,11 @@ var TimelineSection = function TimelineSection(props) {
|
|
|
87
88
|
}, amount && currency_symbol ? formatCurrencyAmount(amount, action === 'order_expend') : ''));
|
|
88
89
|
}, [assetActionEnum, formatCurrencyAmount]);
|
|
89
90
|
var assetListReq = useRequest(function () {
|
|
91
|
+
if (apiPrefix === '/shop') {
|
|
92
|
+
return getActiveLogs({
|
|
93
|
+
filter_card_id: code
|
|
94
|
+
});
|
|
95
|
+
}
|
|
90
96
|
return getAssetList({
|
|
91
97
|
num: '99',
|
|
92
98
|
skip: '1',
|
|
@@ -165,7 +171,7 @@ var TimelineSection = function TimelineSection(props) {
|
|
|
165
171
|
label: locales.getText('wallet-pass-gallery.viewOrder'),
|
|
166
172
|
value: timeLineDetail && timeLineDetail !== null && timeLineDetail !== void 0 && timeLineDetail.resource_code ? "#".concat(timeLineDetail === null || timeLineDetail === void 0 ? void 0 : timeLineDetail.resource_code) : timeLineDetail !== null && timeLineDetail !== void 0 && timeLineDetail.transaction_id ? "#".concat(timeLineDetail === null || timeLineDetail === void 0 ? void 0 : timeLineDetail.transaction_id) : '',
|
|
167
173
|
isLink: !!(timeLineDetail && timeLineDetail !== null && timeLineDetail !== void 0 && timeLineDetail.resource_id),
|
|
168
|
-
link: timeLineDetail && timeLineDetail !== null && timeLineDetail !== void 0 && timeLineDetail.resource_id ? "/order/details?id=".concat(timeLineDetail === null || timeLineDetail === void 0 ? void 0 : timeLineDetail.resource_id) : undefined
|
|
174
|
+
link: timeLineDetail && timeLineDetail !== null && timeLineDetail !== void 0 && timeLineDetail.resource_id ? apiPrefix === '/shop' ? "/admin/order/orders/detail?id=".concat(timeLineDetail === null || timeLineDetail === void 0 ? void 0 : timeLineDetail.resource_id) : "/order/details?id=".concat(timeLineDetail === null || timeLineDetail === void 0 ? void 0 : timeLineDetail.resource_id) : undefined
|
|
169
175
|
}],
|
|
170
176
|
labelColor: "#101828",
|
|
171
177
|
valueColor: "#101828",
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'wallet-pass-gallery.rechargeableCard': string;
|
|
4
|
+
'wallet-pass-gallery.voucher': string;
|
|
5
|
+
'wallet-pass-gallery.pointCard': string;
|
|
6
|
+
'wallet-pass-gallery.discountCard': string;
|
|
7
|
+
'wallet-pass-gallery.unavailable': string;
|
|
8
|
+
'wallet-pass-gallery.available': string;
|
|
9
|
+
'wallet-pass-gallery.confirm': string;
|
|
10
|
+
'wallet-pass-gallery.addModalTitle': string;
|
|
11
|
+
'wallet-pass-gallery.searchDescribe': string;
|
|
12
|
+
'wallet-pass-gallery.scanBarQrCode': string;
|
|
13
|
+
'wallet-pass-gallery.enterCodes': string;
|
|
14
|
+
'wallet-pass-gallery.add': string;
|
|
15
|
+
'wallet-pass-gallery.rechargeOptions': string;
|
|
16
|
+
'wallet-pass-gallery.recharge': string;
|
|
17
|
+
'wallet-pass-gallery.wallet': string;
|
|
18
|
+
'wallet-pass-gallery.details': string;
|
|
19
|
+
'wallet-pass-gallery.goodPass.usedCredit': (credit: number) => string;
|
|
20
|
+
'wallet-pass-gallery.cardBalance': string;
|
|
21
|
+
'wallet-pass-gallery.voucherBalance': string;
|
|
22
|
+
'wallet-pass-gallery.points': string;
|
|
23
|
+
'wallet-pass-gallery.goodPass': string;
|
|
24
|
+
'wallet-pass-gallery.cardName': string;
|
|
25
|
+
'wallet-pass-gallery.carNumber': string;
|
|
26
|
+
'wallet-pass-gallery.balance': string;
|
|
27
|
+
'wallet-pass-gallery.discount': string;
|
|
28
|
+
'wallet-pass-gallery.validDate': string;
|
|
29
|
+
'wallet-pass-gallery.addSuccess': string;
|
|
30
|
+
'wallet-pass-gallery.addError': string;
|
|
31
|
+
'wallet-pass-gallery.searchNoFound': string;
|
|
32
|
+
'wallet-pass-gallery.log.updateCurrentDetail': string;
|
|
33
|
+
'wallet-pass-gallery.log.getDetailFailed': string;
|
|
34
|
+
'wallet-pass-gallery.log.rechargeOrderFailed': string;
|
|
35
|
+
'wallet-pass-gallery.log.getWalletListFailed': string;
|
|
36
|
+
'wallet-pass-gallery.log.bindCustomerFailed': string;
|
|
37
|
+
'wallet-pass-gallery.log.getUnbindListFailed': string;
|
|
38
|
+
'wallet-pass-gallery.log.orderFailed': string;
|
|
39
|
+
'wallet-pass-gallery.log.unexpectedResponseFormat': string;
|
|
40
|
+
'wallet-pass-gallery.button.add': string;
|
|
41
|
+
'wallet-pass-gallery.button.addToAppleWallet': string;
|
|
42
|
+
'wallet-pass-gallery.button.addToGoogleWallet': string;
|
|
43
|
+
'wallet-pass-gallery.button.recharge': string;
|
|
44
|
+
'wallet-pass-gallery.error.addFailed': string;
|
|
45
|
+
'wallet-pass-gallery.copyTitle': string;
|
|
46
|
+
'wallet-pass-gallery.copyButton': string;
|
|
47
|
+
'wallet-pass-gallery.copySuccess': string;
|
|
48
|
+
'wallet-pass-gallery.detail': string;
|
|
49
|
+
'wallet-pass-gallery.activelog': string;
|
|
50
|
+
'wallet-pass-gallery.copyText': string;
|
|
51
|
+
'wallet-pass-gallery.spendingDetails': string;
|
|
52
|
+
'wallet-pass-gallery.rechargeDetails': string;
|
|
53
|
+
'wallet-pass-gallery.date': string;
|
|
54
|
+
'wallet-pass-gallery.spending': string;
|
|
55
|
+
'wallet-pass-gallery.pointsEarned': string;
|
|
56
|
+
'wallet-pass-gallery.pointsRedeemed': string;
|
|
57
|
+
'wallet-pass-gallery.refund': string;
|
|
58
|
+
'wallet-pass-gallery.expire': string;
|
|
59
|
+
'wallet-pass-gallery.viewOrder': string;
|
|
60
|
+
'wallet-pass-gallery.done': string;
|
|
61
|
+
'wallet-pass-gallery.addIos': string;
|
|
62
|
+
'wallet-pass-gallery.addGoogle': string;
|
|
63
|
+
'wallet-pass-gallery.viewDetails': string;
|
|
64
|
+
'wallet-pass-gallery.expireDate': string;
|
|
65
|
+
'wallet-pass-gallery.urlEmpty': string;
|
|
66
|
+
'wallet-pass-gallery.notIOS': string;
|
|
67
|
+
'wallet-pass-gallery.useAppleInstead': string;
|
|
68
|
+
'wallet-pass-gallery.openedInBrowser': string;
|
|
69
|
+
'wallet-pass-gallery.openFailed': string;
|
|
70
|
+
'wallet-pass-gallery.loading': string;
|
|
71
|
+
'wallet-pass-gallery.usageRules': string;
|
|
72
|
+
'wallet-pass-gallery.usageRulesSubtitle': string;
|
|
73
|
+
'wallet-pass-gallery.timeUsageLimits': string;
|
|
74
|
+
'wallet-pass-gallery.totalQuantityControl': string;
|
|
75
|
+
'wallet-pass-gallery.dailyLimit': string;
|
|
76
|
+
'wallet-pass-gallery.weeklyLimit': string;
|
|
77
|
+
'wallet-pass-gallery.monthlyLimit': string;
|
|
78
|
+
'wallet-pass-gallery.personalLimit': string;
|
|
79
|
+
'wallet-pass-gallery.dailyLimitDesc': string;
|
|
80
|
+
'wallet-pass-gallery.weeklyLimitDesc': string;
|
|
81
|
+
'wallet-pass-gallery.monthlyLimitDesc': string;
|
|
82
|
+
'wallet-pass-gallery.monthlyLimitUnlimited': string;
|
|
83
|
+
'wallet-pass-gallery.personalLimitDesc': string;
|
|
84
|
+
'wallet-pass-gallery.dailyReset': string;
|
|
85
|
+
'wallet-pass-gallery.weeklyReset': string;
|
|
86
|
+
'wallet-pass-gallery.monthlyReset': string;
|
|
87
|
+
'wallet-pass-gallery.voucherExpireNote': string;
|
|
88
|
+
'wallet-pass-gallery.viewMore': string;
|
|
89
|
+
'wallet-pass-gallery.allLoaded': string;
|
|
90
|
+
'page.wallet.tempHolderSelector.title': string;
|
|
91
|
+
'page.wallet.tempHolderSelector.create': string;
|
|
92
|
+
'page.wallet.tempHolderSelector.confirm': string;
|
|
93
|
+
'page.wallet.notValidDate': string;
|
|
94
|
+
'page.wallet.includedDate': string;
|
|
95
|
+
};
|
|
96
|
+
'zh-CN': {
|
|
97
|
+
'wallet-pass-gallery.rechargeableCard': string;
|
|
98
|
+
'wallet-pass-gallery.voucher': string;
|
|
99
|
+
'wallet-pass-gallery.pointCard': string;
|
|
100
|
+
'wallet-pass-gallery.discountCard': string;
|
|
101
|
+
'wallet-pass-gallery.unavailable': string;
|
|
102
|
+
'wallet-pass-gallery.available': string;
|
|
103
|
+
'wallet-pass-gallery.confirm': string;
|
|
104
|
+
'wallet-pass-gallery.addModalTitle': string;
|
|
105
|
+
'wallet-pass-gallery.searchDescribe': string;
|
|
106
|
+
'wallet-pass-gallery.scanBarQrCode': string;
|
|
107
|
+
'wallet-pass-gallery.enterCodes': string;
|
|
108
|
+
'wallet-pass-gallery.add': string;
|
|
109
|
+
'wallet-pass-gallery.rechargeOptions': string;
|
|
110
|
+
'wallet-pass-gallery.recharge': string;
|
|
111
|
+
'wallet-pass-gallery.wallet': string;
|
|
112
|
+
'wallet-pass-gallery.details': string;
|
|
113
|
+
'wallet-pass-gallery.goodPass.usedCredit': (credit: number) => string;
|
|
114
|
+
'wallet-pass-gallery.cardBalance': string;
|
|
115
|
+
'wallet-pass-gallery.voucherBalance': string;
|
|
116
|
+
'wallet-pass-gallery.points': string;
|
|
117
|
+
'wallet-pass-gallery.goodPass': string;
|
|
118
|
+
'wallet-pass-gallery.cardName': string;
|
|
119
|
+
'wallet-pass-gallery.carNumber': string;
|
|
120
|
+
'wallet-pass-gallery.balance': string;
|
|
121
|
+
'wallet-pass-gallery.discount': string;
|
|
122
|
+
'wallet-pass-gallery.validDate': string;
|
|
123
|
+
'wallet-pass-gallery.addSuccess': string;
|
|
124
|
+
'wallet-pass-gallery.addError': string;
|
|
125
|
+
'wallet-pass-gallery.searchNoFound': string;
|
|
126
|
+
'wallet-pass-gallery.log.updateCurrentDetail': string;
|
|
127
|
+
'wallet-pass-gallery.log.getDetailFailed': string;
|
|
128
|
+
'wallet-pass-gallery.log.rechargeOrderFailed': string;
|
|
129
|
+
'wallet-pass-gallery.log.getWalletListFailed': string;
|
|
130
|
+
'wallet-pass-gallery.log.bindCustomerFailed': string;
|
|
131
|
+
'wallet-pass-gallery.log.getUnbindListFailed': string;
|
|
132
|
+
'wallet-pass-gallery.log.orderFailed': string;
|
|
133
|
+
'wallet-pass-gallery.log.unexpectedResponseFormat': string;
|
|
134
|
+
'wallet-pass-gallery.button.add': string;
|
|
135
|
+
'wallet-pass-gallery.button.addToAppleWallet': string;
|
|
136
|
+
'wallet-pass-gallery.button.addToGoogleWallet': string;
|
|
137
|
+
'wallet-pass-gallery.button.recharge': string;
|
|
138
|
+
'wallet-pass-gallery.error.addFailed': string;
|
|
139
|
+
'wallet-pass-gallery.copyTitle': string;
|
|
140
|
+
'wallet-pass-gallery.copyButton': string;
|
|
141
|
+
'wallet-pass-gallery.copySuccess': string;
|
|
142
|
+
'wallet-pass-gallery.detail': string;
|
|
143
|
+
'wallet-pass-gallery.activelog': string;
|
|
144
|
+
'wallet-pass-gallery.copyText': string;
|
|
145
|
+
'wallet-pass-gallery.spendingDetails': string;
|
|
146
|
+
'wallet-pass-gallery.rechargeDetails': string;
|
|
147
|
+
'wallet-pass-gallery.date': string;
|
|
148
|
+
'wallet-pass-gallery.spending': string;
|
|
149
|
+
'wallet-pass-gallery.pointsEarned': string;
|
|
150
|
+
'wallet-pass-gallery.pointsRedeemed': string;
|
|
151
|
+
'wallet-pass-gallery.refund': string;
|
|
152
|
+
'wallet-pass-gallery.expire': string;
|
|
153
|
+
'wallet-pass-gallery.viewOrder': string;
|
|
154
|
+
'wallet-pass-gallery.done': string;
|
|
155
|
+
'wallet-pass-gallery.addIos': string;
|
|
156
|
+
'wallet-pass-gallery.addGoogle': string;
|
|
157
|
+
'wallet-pass-gallery.viewDetails': string;
|
|
158
|
+
'wallet-pass-gallery.expireDate': string;
|
|
159
|
+
'wallet-pass-gallery.urlEmpty': string;
|
|
160
|
+
'wallet-pass-gallery.notIOS': string;
|
|
161
|
+
'wallet-pass-gallery.useAppleInstead': string;
|
|
162
|
+
'wallet-pass-gallery.openedInBrowser': string;
|
|
163
|
+
'wallet-pass-gallery.openFailed': string;
|
|
164
|
+
'wallet-pass-gallery.loading': string;
|
|
165
|
+
'wallet-pass-gallery.usageRules': string;
|
|
166
|
+
'wallet-pass-gallery.usageRulesSubtitle': string;
|
|
167
|
+
'wallet-pass-gallery.timeUsageLimits': string;
|
|
168
|
+
'wallet-pass-gallery.totalQuantityControl': string;
|
|
169
|
+
'wallet-pass-gallery.dailyLimit': string;
|
|
170
|
+
'wallet-pass-gallery.weeklyLimit': string;
|
|
171
|
+
'wallet-pass-gallery.monthlyLimit': string;
|
|
172
|
+
'wallet-pass-gallery.personalLimit': string;
|
|
173
|
+
'wallet-pass-gallery.dailyLimitDesc': string;
|
|
174
|
+
'wallet-pass-gallery.weeklyLimitDesc': string;
|
|
175
|
+
'wallet-pass-gallery.monthlyLimitDesc': string;
|
|
176
|
+
'wallet-pass-gallery.monthlyLimitUnlimited': string;
|
|
177
|
+
'wallet-pass-gallery.personalLimitDesc': string;
|
|
178
|
+
'wallet-pass-gallery.dailyReset': string;
|
|
179
|
+
'wallet-pass-gallery.weeklyReset': string;
|
|
180
|
+
'wallet-pass-gallery.monthlyReset': string;
|
|
181
|
+
'wallet-pass-gallery.voucherExpireNote': string;
|
|
182
|
+
'wallet-pass-gallery.viewMore': string;
|
|
183
|
+
'wallet-pass-gallery.allLoaded': string;
|
|
184
|
+
'page.wallet.tempHolderSelector.title': string;
|
|
185
|
+
'page.wallet.tempHolderSelector.create': string;
|
|
186
|
+
'page.wallet.tempHolderSelector.confirm': string;
|
|
187
|
+
'page.wallet.notValidDate': string;
|
|
188
|
+
'page.wallet.includedDate': string;
|
|
189
|
+
};
|
|
190
|
+
'zh-HK': {
|
|
191
|
+
'wallet-pass-gallery.rechargeableCard': string;
|
|
192
|
+
'wallet-pass-gallery.voucher': string;
|
|
193
|
+
'wallet-pass-gallery.pointCard': string;
|
|
194
|
+
'wallet-pass-gallery.discountCard': string;
|
|
195
|
+
'wallet-pass-gallery.unavailable': string;
|
|
196
|
+
'wallet-pass-gallery.available': string;
|
|
197
|
+
'wallet-pass-gallery.confirm': string;
|
|
198
|
+
'wallet-pass-gallery.addModalTitle': string;
|
|
199
|
+
'wallet-pass-gallery.searchDescribe': string;
|
|
200
|
+
'wallet-pass-gallery.scanBarQrCode': string;
|
|
201
|
+
'wallet-pass-gallery.enterCodes': string;
|
|
202
|
+
'wallet-pass-gallery.add': string;
|
|
203
|
+
'wallet-pass-gallery.rechargeOptions': string;
|
|
204
|
+
'wallet-pass-gallery.recharge': string;
|
|
205
|
+
'wallet-pass-gallery.wallet': string;
|
|
206
|
+
'wallet-pass-gallery.details': string;
|
|
207
|
+
'wallet-pass-gallery.goodPass.usedCredit': (credit: number) => string;
|
|
208
|
+
'wallet-pass-gallery.cardBalance': string;
|
|
209
|
+
'wallet-pass-gallery.voucherBalance': string;
|
|
210
|
+
'wallet-pass-gallery.points': string;
|
|
211
|
+
'wallet-pass-gallery.goodPass': string;
|
|
212
|
+
'wallet-pass-gallery.cardName': string;
|
|
213
|
+
'wallet-pass-gallery.carNumber': string;
|
|
214
|
+
'wallet-pass-gallery.balance': string;
|
|
215
|
+
'wallet-pass-gallery.discount': string;
|
|
216
|
+
'wallet-pass-gallery.validDate': string;
|
|
217
|
+
'wallet-pass-gallery.addSuccess': string;
|
|
218
|
+
'wallet-pass-gallery.addError': string;
|
|
219
|
+
'wallet-pass-gallery.searchNoFound': string;
|
|
220
|
+
'wallet-pass-gallery.log.updateCurrentDetail': string;
|
|
221
|
+
'wallet-pass-gallery.log.getDetailFailed': string;
|
|
222
|
+
'wallet-pass-gallery.log.rechargeOrderFailed': string;
|
|
223
|
+
'wallet-pass-gallery.log.getWalletListFailed': string;
|
|
224
|
+
'wallet-pass-gallery.log.bindCustomerFailed': string;
|
|
225
|
+
'wallet-pass-gallery.log.getUnbindListFailed': string;
|
|
226
|
+
'wallet-pass-gallery.log.orderFailed': string;
|
|
227
|
+
'wallet-pass-gallery.log.unexpectedResponseFormat': string;
|
|
228
|
+
'wallet-pass-gallery.button.add': string;
|
|
229
|
+
'wallet-pass-gallery.button.addToAppleWallet': string;
|
|
230
|
+
'wallet-pass-gallery.button.addToGoogleWallet': string;
|
|
231
|
+
'wallet-pass-gallery.button.recharge': string;
|
|
232
|
+
'wallet-pass-gallery.error.addFailed': string;
|
|
233
|
+
'wallet-pass-gallery.copyTitle': string;
|
|
234
|
+
'wallet-pass-gallery.copyButton': string;
|
|
235
|
+
'wallet-pass-gallery.copySuccess': string;
|
|
236
|
+
'wallet-pass-gallery.detail': string;
|
|
237
|
+
'wallet-pass-gallery.activelog': string;
|
|
238
|
+
'wallet-pass-gallery.copyText': string;
|
|
239
|
+
'wallet-pass-gallery.spendingDetails': string;
|
|
240
|
+
'wallet-pass-gallery.rechargeDetails': string;
|
|
241
|
+
'wallet-pass-gallery.date': string;
|
|
242
|
+
'wallet-pass-gallery.spending': string;
|
|
243
|
+
'wallet-pass-gallery.pointsEarned': string;
|
|
244
|
+
'wallet-pass-gallery.pointsRedeemed': string;
|
|
245
|
+
'wallet-pass-gallery.refund': string;
|
|
246
|
+
'wallet-pass-gallery.expire': string;
|
|
247
|
+
'wallet-pass-gallery.viewOrder': string;
|
|
248
|
+
'wallet-pass-gallery.done': string;
|
|
249
|
+
'wallet-pass-gallery.addIos': string;
|
|
250
|
+
'wallet-pass-gallery.addGoogle': string;
|
|
251
|
+
'wallet-pass-gallery.viewDetails': string;
|
|
252
|
+
'wallet-pass-gallery.expireDate': string;
|
|
253
|
+
'wallet-pass-gallery.urlEmpty': string;
|
|
254
|
+
'wallet-pass-gallery.notIOS': string;
|
|
255
|
+
'wallet-pass-gallery.useAppleInstead': string;
|
|
256
|
+
'wallet-pass-gallery.openedInBrowser': string;
|
|
257
|
+
'wallet-pass-gallery.openFailed': string;
|
|
258
|
+
'wallet-pass-gallery.loading': string;
|
|
259
|
+
'wallet-pass-gallery.usageRules': string;
|
|
260
|
+
'wallet-pass-gallery.usageRulesSubtitle': string;
|
|
261
|
+
'wallet-pass-gallery.timeUsageLimits': string;
|
|
262
|
+
'wallet-pass-gallery.totalQuantityControl': string;
|
|
263
|
+
'wallet-pass-gallery.dailyLimit': string;
|
|
264
|
+
'wallet-pass-gallery.weeklyLimit': string;
|
|
265
|
+
'wallet-pass-gallery.monthlyLimit': string;
|
|
266
|
+
'wallet-pass-gallery.personalLimit': string;
|
|
267
|
+
'wallet-pass-gallery.dailyLimitDesc': string;
|
|
268
|
+
'wallet-pass-gallery.weeklyLimitDesc': string;
|
|
269
|
+
'wallet-pass-gallery.monthlyLimitDesc': string;
|
|
270
|
+
'wallet-pass-gallery.monthlyLimitUnlimited': string;
|
|
271
|
+
'wallet-pass-gallery.personalLimitDesc': string;
|
|
272
|
+
'wallet-pass-gallery.dailyReset': string;
|
|
273
|
+
'wallet-pass-gallery.weeklyReset': string;
|
|
274
|
+
'wallet-pass-gallery.monthlyReset': string;
|
|
275
|
+
'wallet-pass-gallery.voucherExpireNote': string;
|
|
276
|
+
'wallet-pass-gallery.viewMore': string;
|
|
277
|
+
'wallet-pass-gallery.allLoaded': string;
|
|
278
|
+
'page.wallet.tempHolderSelector.title': string;
|
|
279
|
+
'page.wallet.tempHolderSelector.create': string;
|
|
280
|
+
'page.wallet.tempHolderSelector.confirm': string;
|
|
281
|
+
'page.wallet.notValidDate': string;
|
|
282
|
+
'page.wallet.includedDate': string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
export default _default;
|
|
@@ -166,6 +166,14 @@ export interface IAssetItem {
|
|
|
166
166
|
export declare const getAssetList: (params: IAssetListProps) => Promise<{
|
|
167
167
|
list: IAssetItem[];
|
|
168
168
|
}>;
|
|
169
|
+
/**
|
|
170
|
+
* 资产明细(admin)
|
|
171
|
+
*/
|
|
172
|
+
export declare const getActiveLogs: (params: {
|
|
173
|
+
filter_card_id: string;
|
|
174
|
+
}) => Promise<{
|
|
175
|
+
list: IAssetItem[];
|
|
176
|
+
}>;
|
|
169
177
|
/**
|
|
170
178
|
* 获取资产详情
|
|
171
179
|
* @param params 接口请求参数
|
|
@@ -203,26 +203,16 @@ export var getAssetList = /*#__PURE__*/function () {
|
|
|
203
203
|
}();
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
|
-
*
|
|
207
|
-
* @param params 接口请求参数
|
|
208
|
-
* @returns 资产详情
|
|
206
|
+
* 资产明细(admin)
|
|
209
207
|
*/
|
|
210
|
-
export var
|
|
208
|
+
export var getActiveLogs = /*#__PURE__*/function () {
|
|
211
209
|
var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(params) {
|
|
212
210
|
var _yield$request$getReq6, data;
|
|
213
211
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
214
212
|
while (1) switch (_context6.prev = _context6.next) {
|
|
215
213
|
case 0:
|
|
216
214
|
_context6.next = 2;
|
|
217
|
-
return request.getRequest().get(""
|
|
218
|
-
order_behavior_count: 1,
|
|
219
|
-
// 订单行为次数
|
|
220
|
-
order_behavior_count_customer: 1,
|
|
221
|
-
// 客户订单行为次数
|
|
222
|
-
order_behavior_count_customer_id: params.apiPrefix === '/shop' ? params.order_behavior_count_customer_id : undefined
|
|
223
|
-
}, {
|
|
224
|
-
isOriginHost: true
|
|
225
|
-
});
|
|
215
|
+
return request.getRequest().get("/shop/asset", params);
|
|
226
216
|
case 2:
|
|
227
217
|
_yield$request$getReq6 = _context6.sent;
|
|
228
218
|
data = _yield$request$getReq6.data;
|
|
@@ -233,28 +223,32 @@ export var getDetailApi = /*#__PURE__*/function () {
|
|
|
233
223
|
}
|
|
234
224
|
}, _callee6);
|
|
235
225
|
}));
|
|
236
|
-
return function
|
|
226
|
+
return function getActiveLogs(_x6) {
|
|
237
227
|
return _ref6.apply(this, arguments);
|
|
238
228
|
};
|
|
239
229
|
}();
|
|
240
230
|
|
|
241
231
|
/**
|
|
242
|
-
*
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* 下单接口
|
|
247
|
-
* @param params - 订单参数
|
|
248
|
-
* @returns 订单响应数据
|
|
232
|
+
* 获取资产详情
|
|
233
|
+
* @param params 接口请求参数
|
|
234
|
+
* @returns 资产详情
|
|
249
235
|
*/
|
|
250
|
-
export var
|
|
236
|
+
export var getDetailApi = /*#__PURE__*/function () {
|
|
251
237
|
var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(params) {
|
|
252
238
|
var _yield$request$getReq7, data;
|
|
253
239
|
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
254
240
|
while (1) switch (_context7.prev = _context7.next) {
|
|
255
241
|
case 0:
|
|
256
242
|
_context7.next = 2;
|
|
257
|
-
return request.getRequest().
|
|
243
|
+
return request.getRequest().get("".concat(params.apiPrefix || '/h5', "/machinecode/lowcode/detail/").concat(params.id), {
|
|
244
|
+
order_behavior_count: 1,
|
|
245
|
+
// 订单行为次数
|
|
246
|
+
order_behavior_count_customer: 1,
|
|
247
|
+
// 客户订单行为次数
|
|
248
|
+
order_behavior_count_customer_id: params.apiPrefix === '/shop' ? params.order_behavior_count_customer_id : undefined
|
|
249
|
+
}, {
|
|
250
|
+
isOriginHost: true
|
|
251
|
+
});
|
|
258
252
|
case 2:
|
|
259
253
|
_yield$request$getReq7 = _context7.sent;
|
|
260
254
|
data = _yield$request$getReq7.data;
|
|
@@ -265,75 +259,79 @@ export var orderRechargeProduct = /*#__PURE__*/function () {
|
|
|
265
259
|
}
|
|
266
260
|
}, _callee7);
|
|
267
261
|
}));
|
|
268
|
-
return function
|
|
262
|
+
return function getDetailApi(_x7) {
|
|
269
263
|
return _ref7.apply(this, arguments);
|
|
270
264
|
};
|
|
271
265
|
}();
|
|
272
266
|
|
|
273
267
|
/**
|
|
274
|
-
*
|
|
275
|
-
* @author: Arthur
|
|
276
|
-
* @date: 2025-11-03 15:30
|
|
268
|
+
* 详情响应数据结构,供组件消费
|
|
277
269
|
*/
|
|
278
|
-
|
|
279
|
-
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* 下单接口
|
|
273
|
+
* @param params - 订单参数
|
|
274
|
+
* @returns 订单响应数据
|
|
275
|
+
*/
|
|
276
|
+
export var orderRechargeProduct = /*#__PURE__*/function () {
|
|
277
|
+
var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(params) {
|
|
278
|
+
var _yield$request$getReq8, data;
|
|
280
279
|
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
281
280
|
while (1) switch (_context8.prev = _context8.next) {
|
|
282
281
|
case 0:
|
|
283
|
-
|
|
284
|
-
|
|
282
|
+
_context8.next = 2;
|
|
283
|
+
return request.getRequest().post("/h5/order/order", params);
|
|
284
|
+
case 2:
|
|
285
|
+
_yield$request$getReq8 = _context8.sent;
|
|
286
|
+
data = _yield$request$getReq8.data;
|
|
287
|
+
return _context8.abrupt("return", data);
|
|
288
|
+
case 5:
|
|
285
289
|
case "end":
|
|
286
290
|
return _context8.stop();
|
|
287
291
|
}
|
|
288
292
|
}, _callee8);
|
|
289
293
|
}));
|
|
290
|
-
return function
|
|
294
|
+
return function orderRechargeProduct(_x8) {
|
|
291
295
|
return _ref8.apply(this, arguments);
|
|
292
296
|
};
|
|
293
297
|
}();
|
|
294
298
|
|
|
295
299
|
/**
|
|
296
|
-
*
|
|
297
|
-
* @
|
|
298
|
-
* @
|
|
299
|
-
* @returns 更新结果
|
|
300
|
+
* @desc: 获取钱包信息
|
|
301
|
+
* @author: Arthur
|
|
302
|
+
* @date: 2025-11-03 15:30
|
|
300
303
|
*/
|
|
301
|
-
export var
|
|
302
|
-
var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(id
|
|
303
|
-
var _yield$request$getReq8, data;
|
|
304
|
+
export var getWalletDetail = /*#__PURE__*/function () {
|
|
305
|
+
var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(id) {
|
|
304
306
|
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
305
307
|
while (1) switch (_context9.prev = _context9.next) {
|
|
306
308
|
case 0:
|
|
307
|
-
_context9.
|
|
308
|
-
|
|
309
|
-
case 2:
|
|
310
|
-
_yield$request$getReq8 = _context9.sent;
|
|
311
|
-
data = _yield$request$getReq8.data;
|
|
312
|
-
return _context9.abrupt("return", data);
|
|
313
|
-
case 5:
|
|
309
|
+
return _context9.abrupt("return", request.getRequest().get("/h5/wallet/".concat(id), {}));
|
|
310
|
+
case 1:
|
|
314
311
|
case "end":
|
|
315
312
|
return _context9.stop();
|
|
316
313
|
}
|
|
317
314
|
}, _callee9);
|
|
318
315
|
}));
|
|
319
|
-
return function
|
|
316
|
+
return function getWalletDetail(_x9) {
|
|
320
317
|
return _ref9.apply(this, arguments);
|
|
321
318
|
};
|
|
322
319
|
}();
|
|
323
320
|
|
|
324
321
|
/**
|
|
325
|
-
*
|
|
322
|
+
* 更新卡券持有人
|
|
326
323
|
* @param id 卡券ID
|
|
327
|
-
* @
|
|
324
|
+
* @param params 更新参数
|
|
325
|
+
* @returns 更新结果
|
|
328
326
|
*/
|
|
329
|
-
export var
|
|
327
|
+
export var updateWalletPassHolder = /*#__PURE__*/function () {
|
|
330
328
|
var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(id, params) {
|
|
331
329
|
var _yield$request$getReq9, data;
|
|
332
330
|
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
333
331
|
while (1) switch (_context10.prev = _context10.next) {
|
|
334
332
|
case 0:
|
|
335
333
|
_context10.next = 2;
|
|
336
|
-
return request.getRequest().
|
|
334
|
+
return request.getRequest().post("/h5/machinecode/".concat(id, "/bind-holder"), params);
|
|
337
335
|
case 2:
|
|
338
336
|
_yield$request$getReq9 = _context10.sent;
|
|
339
337
|
data = _yield$request$getReq9.data;
|
|
@@ -344,7 +342,35 @@ export var getWalletPassDetail = /*#__PURE__*/function () {
|
|
|
344
342
|
}
|
|
345
343
|
}, _callee10);
|
|
346
344
|
}));
|
|
347
|
-
return function
|
|
345
|
+
return function updateWalletPassHolder(_x10, _x11) {
|
|
348
346
|
return _ref10.apply(this, arguments);
|
|
349
347
|
};
|
|
348
|
+
}();
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* 获取卡券详情
|
|
352
|
+
* @param id 卡券ID
|
|
353
|
+
* @returns 卡券详情
|
|
354
|
+
*/
|
|
355
|
+
export var getWalletPassDetail = /*#__PURE__*/function () {
|
|
356
|
+
var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(id, params) {
|
|
357
|
+
var _yield$request$getReq10, data;
|
|
358
|
+
return _regeneratorRuntime().wrap(function _callee11$(_context11) {
|
|
359
|
+
while (1) switch (_context11.prev = _context11.next) {
|
|
360
|
+
case 0:
|
|
361
|
+
_context11.next = 2;
|
|
362
|
+
return request.getRequest().get("/h5/machinecode/lowcode/detail/".concat(id), params);
|
|
363
|
+
case 2:
|
|
364
|
+
_yield$request$getReq10 = _context11.sent;
|
|
365
|
+
data = _yield$request$getReq10.data;
|
|
366
|
+
return _context11.abrupt("return", data);
|
|
367
|
+
case 5:
|
|
368
|
+
case "end":
|
|
369
|
+
return _context11.stop();
|
|
370
|
+
}
|
|
371
|
+
}, _callee11);
|
|
372
|
+
}));
|
|
373
|
+
return function getWalletPassDetail(_x12, _x13) {
|
|
374
|
+
return _ref11.apply(this, arguments);
|
|
375
|
+
};
|
|
350
376
|
}();
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
interface ScheduleTextResult {
|
|
2
|
+
validityTexts: string[];
|
|
3
|
+
excluded_date: string[];
|
|
4
|
+
included_date: string[];
|
|
5
|
+
}
|
|
6
|
+
declare type Locale = 'en' | 'zh-CN' | 'zh-HK';
|
|
7
|
+
interface ScheduleItem {
|
|
8
|
+
id: number;
|
|
9
|
+
name: string | {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
type: 'standard' | 'time-slots' | 'designation';
|
|
13
|
+
start_time: string | null;
|
|
14
|
+
end_time: string | null;
|
|
15
|
+
repeat_type: 'none' | 'daily' | 'weekly';
|
|
16
|
+
repeat_rule: {
|
|
17
|
+
end: {
|
|
18
|
+
type: 'never' | 'date' | 'occurrence';
|
|
19
|
+
end_date: string | null;
|
|
20
|
+
occurrence: number | null;
|
|
21
|
+
};
|
|
22
|
+
frequency: number;
|
|
23
|
+
excluded_date: Array<{
|
|
24
|
+
start: string;
|
|
25
|
+
end: string;
|
|
26
|
+
}>;
|
|
27
|
+
included_date: any[];
|
|
28
|
+
frequency_date: number[];
|
|
29
|
+
} | null;
|
|
30
|
+
designation: Array<{
|
|
31
|
+
start_date: string;
|
|
32
|
+
start_time: string;
|
|
33
|
+
end_date: string;
|
|
34
|
+
end_time: string;
|
|
35
|
+
}> | null;
|
|
36
|
+
is_all: number;
|
|
37
|
+
time_slot: Array<{
|
|
38
|
+
start_time: string;
|
|
39
|
+
end_time: string;
|
|
40
|
+
}>;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 根据scheduleList格式化文案展示
|
|
44
|
+
* @param scheduleList 日程列表
|
|
45
|
+
* @returns 格式化后的文案结果数组,每个日程对应一个结果
|
|
46
|
+
*/
|
|
47
|
+
export declare function formatScheduleText(scheduleList: ScheduleItem[], locale?: Locale): ScheduleTextResult[];
|
|
48
|
+
export {};
|