@pisell/private-materials 6.6.45 → 6.6.46
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/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/appointmentBooking/components/Voucher/index.js +22 -7
- package/es/components/booking/addons/index.js +3 -2
- package/es/components/booking/components/footer/amount.js +4 -5
- package/es/components/booking/components/footer/index.js +7 -0
- package/es/components/booking/components/footer/utils.d.ts +1 -1
- package/es/components/booking/components/footer/utils.js +10 -15
- package/es/components/booking/components/voucher/index.js +7 -1
- package/es/components/booking/components/voucher/index.less +4 -1
- package/es/components/booking/components/voucherModal/index.less +1 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editService/index.js +10 -8
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -1
- package/es/components/booking/info2/service/editService/utils.js +0 -16
- package/es/components/booking/payments/index.js +1 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/components/WalletPassModule/index.js +1 -0
- package/es/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
- package/es/components/checkout/components/WalletPassModule/utils.js +17 -3
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/hooks/useWalletPass.js +316 -192
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +166 -145
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +3 -3
- package/es/components/pay/toC/WalletPassBlock/index.js +3 -1
- package/es/components/pay/toC/index.js +66 -27
- package/es/components/pay/toC/model.d.ts +1 -0
- package/es/components/pay/toC/serve.d.ts +18 -0
- package/es/components/pay/toC/serve.js +29 -1
- package/es/components/pay/toC/utils.d.ts +2 -2
- package/es/components/pay/toC/utils.js +4 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +7 -4
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Voucher/index.js +10 -2
- package/lib/components/booking/addons/index.js +3 -2
- package/lib/components/booking/components/footer/amount.js +4 -4
- package/lib/components/booking/components/footer/index.js +9 -0
- package/lib/components/booking/components/footer/utils.d.ts +1 -1
- package/lib/components/booking/components/footer/utils.js +10 -15
- package/lib/components/booking/components/voucher/index.js +7 -1
- package/lib/components/booking/components/voucher/index.less +4 -1
- package/lib/components/booking/components/voucherModal/index.less +1 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editService/index.js +24 -21
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -1
- package/lib/components/booking/info2/service/editService/utils.js +0 -16
- package/lib/components/booking/payments/index.js +1 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/components/WalletPassModule/index.js +1 -0
- package/lib/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
- package/lib/components/checkout/components/WalletPassModule/utils.js +18 -2
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/hooks/useWalletPass.js +157 -108
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +90 -103
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -2
- package/lib/components/pay/toC/WalletPassBlock/index.js +3 -1
- package/lib/components/pay/toC/index.js +52 -11
- package/lib/components/pay/toC/model.d.ts +1 -0
- package/lib/components/pay/toC/serve.d.ts +18 -0
- package/lib/components/pay/toC/serve.js +6 -0
- package/lib/components/pay/toC/utils.d.ts +2 -2
- package/lib/components/pay/toC/utils.js +4 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +11 -7
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/package.json +4 -4
- package/es/components/appointmentBooking/components/Date/state.d.ts +0 -63
- package/es/components/appointmentBooking/locales.d.ts +0 -603
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -413
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -138
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -43
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -118
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -35
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -43
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -108
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -28
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -63
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -108
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -178
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -93
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -148
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -88
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -78
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -88
- package/es/components/booking/components/actionButtons/index.d.ts +0 -31
- package/es/components/booking/components/voucher/utils.d.ts +0 -5
- package/es/components/booking/editBookingModal/locales.d.ts +0 -33
- package/es/components/booking/editBookingModal/mock.d.ts +0 -991
- package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -33
- package/es/components/booking/info2/service/addService/mock.d.ts +0 -216
- package/es/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +0 -25
- package/es/components/booking/locales.d.ts +0 -1619
- package/es/components/checkout/PaymentModal.d.ts +0 -31
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- package/es/components/checkout/locales.d.ts +0 -853
- package/es/components/eftpos/locales.d.ts +0 -163
- package/es/components/eftposPay/locales.d.ts +0 -608
- package/es/components/eventBooking/locales.d.ts +0 -408
- package/es/components/list/locales.d.ts +0 -108
- package/es/components/list/utils/getText.d.ts +0 -53
- package/es/components/login/locales.d.ts +0 -38
- package/es/components/pay/toB/locales.d.ts +0 -88
- package/es/components/pay/toC/locales.d.ts +0 -511
- package/es/components/pinModal/locales.d.ts +0 -43
- package/es/components/pinVerifyModal/locales.d.ts +0 -38
- package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- package/es/components/productExtension/locales.d.ts +0 -78
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/es/components/productSelect/locales.d.ts +0 -38
- package/es/components/ruleSetting/locales.d.ts +0 -78
- package/es/components/schedules/locales.d.ts +0 -143
- package/es/components/shoppingCart/locales.d.ts +0 -58
- package/es/components/stepController/locales.d.ts +0 -43
- package/es/components/subTotal/locales.d.ts +0 -68
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/es/components/systemSettings/registry/locales.d.ts +0 -456
- package/es/components/systemSettings/registry/types.d.ts +0 -128
- package/es/components/taxSelect/locales.d.ts +0 -38
- package/es/components/ticketBooking/locales.d.ts +0 -328
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -33
- package/es/components/wallet/utils.d.ts +0 -48
- package/es/components/walletList/index.d.ts +0 -4
- package/es/components/walletList/locales.d.ts +0 -43
- package/es/components/walletList/types/index.d.ts +0 -196
- package/es/plus/clientCard/index.d.ts +0 -7
- package/es/plus/clientCard/locales.d.ts +0 -28
- package/es/plus/clientCard/types.d.ts +0 -135
- package/es/plus/clinetSearch/locales.d.ts +0 -178
- package/es/plus/contactInfo/locales.d.ts +0 -23
- package/es/plus/contactInfoModal/locales.d.ts +0 -108
- package/es/plus/noteModal/locales.d.ts +0 -53
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -164
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
- package/es/plus/productSelect/locales.d.ts +0 -38
- package/es/plus/saasAttendance/index.d.ts +0 -6
- package/es/plus/saasAttendance/locales.d.ts +0 -528
- package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +0 -5
- package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +0 -8
- package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +0 -8
- package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +0 -5
- package/es/plus/saasAttendance/settings/components/MapField.d.ts +0 -78
- package/es/plus/saasAttendance/settings/components/index.d.ts +0 -3
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -8
- package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +0 -18
- package/es/plus/saasAttendance/settings/index.d.ts +0 -18
- package/es/plus/saasAttendance/settings/serve.d.ts +0 -27
- package/es/plus/saasAttendance/settings/types.d.ts +0 -130
- package/es/plus/saasCreateOrganization/locales.d.ts +0 -23
- package/es/plus/saasLogin/locales.d.ts +0 -83
- package/es/plus/saasRegister/locales.d.ts +0 -193
- package/es/plus/saasRole/components/PermissionManager/index.d.ts +0 -19
- package/es/plus/saasRole/index.d.ts +0 -14
- package/es/plus/saasRole/locales.d.ts +0 -319
- package/es/plus/saasRole/serve.d.ts +0 -72
- package/es/plus/saasRole/types.d.ts +0 -177
- package/es/plus/saasRole/utils.d.ts +0 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +0 -31
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +0 -23
- package/es/plus/saasTeamMembers/index.d.ts +0 -5
- package/es/plus/saasTeamMembers/locales.d.ts +0 -546
- package/es/plus/saasTeamMembers/serve.d.ts +0 -95
- package/es/plus/saasTeamMembers/type.d.ts +0 -158
- package/es/plus/selectHolder/locales.d.ts +0 -38
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -39
- package/es/plus/walletEditor/locales.d.ts +0 -223
- package/es/plus/walletEditor/types.d.ts +0 -54
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -11
- package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -13
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -12
- package/es/plus/walletPassGallery/index.d.ts +0 -11
- package/es/plus/walletPassGallery/locales.d.ts +0 -473
- package/es/plus/walletPassGallery/serve.d.ts +0 -245
- package/es/plus/walletPassGallery/utils.d.ts +0 -48
- package/es/pro/Login2.0/locales.d.ts +0 -903
- package/es/pro/Login2.0/shared/types.d.ts +0 -234
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -23
- package/es/pro/comprehensiveSearch/locales.d.ts +0 -23
- package/es/pro/numberKeyboard/locales.d.ts +0 -18
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -18
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
- package/es/pro/skuDetailModal/locales.d.ts +0 -78
- package/es/pro/skuDetailModal/types.d.ts +0 -352
- package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -63
- package/lib/components/appointmentBooking/locales.d.ts +0 -603
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -413
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -138
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -43
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -118
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -35
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -43
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -108
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -28
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -63
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -108
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -178
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -93
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -148
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -88
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -78
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -88
- package/lib/components/booking/components/actionButtons/index.d.ts +0 -31
- package/lib/components/booking/components/voucher/utils.d.ts +0 -5
- package/lib/components/booking/editBookingModal/locales.d.ts +0 -33
- package/lib/components/booking/editBookingModal/mock.d.ts +0 -991
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -33
- package/lib/components/booking/info2/service/addService/mock.d.ts +0 -216
- package/lib/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +0 -25
- package/lib/components/booking/locales.d.ts +0 -1619
- package/lib/components/checkout/PaymentModal.d.ts +0 -31
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- package/lib/components/checkout/locales.d.ts +0 -853
- package/lib/components/eftpos/locales.d.ts +0 -163
- package/lib/components/eftposPay/locales.d.ts +0 -608
- package/lib/components/eventBooking/locales.d.ts +0 -408
- package/lib/components/list/locales.d.ts +0 -108
- package/lib/components/list/utils/getText.d.ts +0 -53
- package/lib/components/login/locales.d.ts +0 -38
- package/lib/components/pay/toB/locales.d.ts +0 -88
- package/lib/components/pay/toC/locales.d.ts +0 -511
- package/lib/components/pinModal/locales.d.ts +0 -43
- package/lib/components/pinVerifyModal/locales.d.ts +0 -38
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- package/lib/components/productExtension/locales.d.ts +0 -78
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/lib/components/productSelect/locales.d.ts +0 -38
- package/lib/components/ruleSetting/locales.d.ts +0 -78
- package/lib/components/schedules/locales.d.ts +0 -143
- package/lib/components/shoppingCart/locales.d.ts +0 -58
- package/lib/components/stepController/locales.d.ts +0 -43
- package/lib/components/subTotal/locales.d.ts +0 -68
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/locales.d.ts +0 -456
- package/lib/components/systemSettings/registry/types.d.ts +0 -128
- package/lib/components/taxSelect/locales.d.ts +0 -38
- package/lib/components/ticketBooking/locales.d.ts +0 -328
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -33
- package/lib/components/wallet/utils.d.ts +0 -48
- package/lib/components/walletList/index.d.ts +0 -4
- package/lib/components/walletList/locales.d.ts +0 -43
- package/lib/components/walletList/types/index.d.ts +0 -196
- package/lib/plus/clientCard/index.d.ts +0 -7
- package/lib/plus/clientCard/locales.d.ts +0 -28
- package/lib/plus/clientCard/types.d.ts +0 -135
- package/lib/plus/clinetSearch/locales.d.ts +0 -178
- package/lib/plus/contactInfo/locales.d.ts +0 -23
- package/lib/plus/contactInfoModal/locales.d.ts +0 -108
- package/lib/plus/noteModal/locales.d.ts +0 -53
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -164
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
- package/lib/plus/productSelect/locales.d.ts +0 -38
- package/lib/plus/saasAttendance/index.d.ts +0 -6
- package/lib/plus/saasAttendance/locales.d.ts +0 -528
- package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +0 -5
- package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +0 -5
- package/lib/plus/saasAttendance/settings/components/MapField.d.ts +0 -78
- package/lib/plus/saasAttendance/settings/components/index.d.ts +0 -3
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +0 -18
- package/lib/plus/saasAttendance/settings/index.d.ts +0 -18
- package/lib/plus/saasAttendance/settings/serve.d.ts +0 -27
- package/lib/plus/saasAttendance/settings/types.d.ts +0 -130
- package/lib/plus/saasCreateOrganization/locales.d.ts +0 -23
- package/lib/plus/saasLogin/locales.d.ts +0 -83
- package/lib/plus/saasRegister/locales.d.ts +0 -193
- package/lib/plus/saasRole/components/PermissionManager/index.d.ts +0 -19
- package/lib/plus/saasRole/index.d.ts +0 -14
- package/lib/plus/saasRole/locales.d.ts +0 -319
- package/lib/plus/saasRole/serve.d.ts +0 -72
- package/lib/plus/saasRole/types.d.ts +0 -177
- package/lib/plus/saasRole/utils.d.ts +0 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +0 -31
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +0 -23
- package/lib/plus/saasTeamMembers/index.d.ts +0 -5
- package/lib/plus/saasTeamMembers/locales.d.ts +0 -546
- package/lib/plus/saasTeamMembers/serve.d.ts +0 -95
- package/lib/plus/saasTeamMembers/type.d.ts +0 -158
- package/lib/plus/selectHolder/locales.d.ts +0 -38
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -39
- package/lib/plus/walletEditor/locales.d.ts +0 -223
- package/lib/plus/walletEditor/types.d.ts +0 -54
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -11
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -13
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -12
- package/lib/plus/walletPassGallery/index.d.ts +0 -11
- package/lib/plus/walletPassGallery/locales.d.ts +0 -473
- package/lib/plus/walletPassGallery/serve.d.ts +0 -245
- package/lib/plus/walletPassGallery/utils.d.ts +0 -48
- package/lib/pro/Login2.0/locales.d.ts +0 -903
- package/lib/pro/Login2.0/shared/types.d.ts +0 -234
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -23
- package/lib/pro/comprehensiveSearch/locales.d.ts +0 -23
- package/lib/pro/numberKeyboard/locales.d.ts +0 -18
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -18
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
- package/lib/pro/skuDetailModal/locales.d.ts +0 -78
- package/lib/pro/skuDetailModal/types.d.ts +0 -352
|
@@ -1,352 +0,0 @@
|
|
|
1
|
-
export declare type ChannelApplication = 'online-store' | 'pos' | 'wholesalebusiness' | 'kiosk';
|
|
2
|
-
export declare type ProductType = 'physical' | 'virtual';
|
|
3
|
-
export declare type WeightUnit = 'KILOGRAMS' | 'GRAMS' | 'POUNDS' | 'OUNCES';
|
|
4
|
-
export declare type DurationType = 'minutes' | 'hours' | 'days';
|
|
5
|
-
export declare type ResourceType = 'single' | 'multiple';
|
|
6
|
-
export declare type RelationType = 'form';
|
|
7
|
-
export declare type EventType = 'schedule_event';
|
|
8
|
-
export declare type MaxParticipantsType = 'custom-limit' | 'unlimited';
|
|
9
|
-
export interface TimeSlice {
|
|
10
|
-
label: string;
|
|
11
|
-
value: string;
|
|
12
|
-
}
|
|
13
|
-
export interface DurationSlice {
|
|
14
|
-
label: string;
|
|
15
|
-
value: number;
|
|
16
|
-
}
|
|
17
|
-
export interface MultiLanguageName {
|
|
18
|
-
en?: string;
|
|
19
|
-
'zh-CN'?: string;
|
|
20
|
-
'zh-HK'?: string;
|
|
21
|
-
original?: string;
|
|
22
|
-
'ja'?: string;
|
|
23
|
-
'pt'?: string;
|
|
24
|
-
auto?: string;
|
|
25
|
-
}
|
|
26
|
-
export interface MultiLanguageTitle {
|
|
27
|
-
label: {
|
|
28
|
-
type: 'i18n';
|
|
29
|
-
'en-US': string;
|
|
30
|
-
'zh-CN': string;
|
|
31
|
-
'ja'?: string;
|
|
32
|
-
'pt'?: string;
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export interface SelectType {
|
|
36
|
-
type: 'single' | 'multiple';
|
|
37
|
-
min: number;
|
|
38
|
-
max: number;
|
|
39
|
-
}
|
|
40
|
-
export interface Duration {
|
|
41
|
-
type: DurationType;
|
|
42
|
-
value: number;
|
|
43
|
-
}
|
|
44
|
-
export interface CutOffTime {
|
|
45
|
-
unit: number;
|
|
46
|
-
unit_type: DurationType;
|
|
47
|
-
future_day: number;
|
|
48
|
-
type: 'advance';
|
|
49
|
-
ongoing: {
|
|
50
|
-
type: 'before_end';
|
|
51
|
-
unit: number;
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
export interface MachineCode {
|
|
55
|
-
make_over: number;
|
|
56
|
-
beforehand: number;
|
|
57
|
-
limit_count: number;
|
|
58
|
-
customer: number;
|
|
59
|
-
send_action: string;
|
|
60
|
-
hide_recharge: number;
|
|
61
|
-
distributor_automatic: number;
|
|
62
|
-
}
|
|
63
|
-
export interface Form {
|
|
64
|
-
id: number;
|
|
65
|
-
shop_id: number;
|
|
66
|
-
title: string;
|
|
67
|
-
navigation_display: number;
|
|
68
|
-
button: string;
|
|
69
|
-
describe: string;
|
|
70
|
-
status: 'published' | 'draft';
|
|
71
|
-
resource_sort: number;
|
|
72
|
-
code: string;
|
|
73
|
-
type: 'manual' | 'auto';
|
|
74
|
-
version: number;
|
|
75
|
-
setting: any;
|
|
76
|
-
created_at: string;
|
|
77
|
-
updated_at: string;
|
|
78
|
-
}
|
|
79
|
-
export interface PartyroomPackage {
|
|
80
|
-
type: 'product_all' | 'product_part';
|
|
81
|
-
}
|
|
82
|
-
export interface EventListItem {
|
|
83
|
-
id: number;
|
|
84
|
-
start_date?: string;
|
|
85
|
-
start_time?: string;
|
|
86
|
-
end_date?: string;
|
|
87
|
-
end_time?: string;
|
|
88
|
-
relation_id: number;
|
|
89
|
-
number?: number;
|
|
90
|
-
start_at?: string;
|
|
91
|
-
end_at?: string;
|
|
92
|
-
keys?: string;
|
|
93
|
-
pax: number;
|
|
94
|
-
type: EventType;
|
|
95
|
-
pax_list: Record<string, number>;
|
|
96
|
-
}
|
|
97
|
-
export interface TimeConfig {
|
|
98
|
-
keys: string;
|
|
99
|
-
schedule_id: number;
|
|
100
|
-
item_type: string;
|
|
101
|
-
item_id: number;
|
|
102
|
-
start_date: string;
|
|
103
|
-
end_date: string;
|
|
104
|
-
start_time: string;
|
|
105
|
-
end_time: string;
|
|
106
|
-
is_all: number;
|
|
107
|
-
relation_type: RelationType;
|
|
108
|
-
start_at: string;
|
|
109
|
-
end_at: string;
|
|
110
|
-
event_list: EventListItem[];
|
|
111
|
-
max_participants_type?: MaxParticipantsType;
|
|
112
|
-
max_participants_limit?: number;
|
|
113
|
-
is_blocked?: number;
|
|
114
|
-
blocked_times?: any[];
|
|
115
|
-
order_event_count?: number;
|
|
116
|
-
unique?: string;
|
|
117
|
-
_extend?: {
|
|
118
|
-
isMaxLimitRange: boolean;
|
|
119
|
-
isDateRange: boolean;
|
|
120
|
-
isCountRange: boolean;
|
|
121
|
-
isUsable: boolean;
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
export interface ResourceMetadata {
|
|
125
|
-
combined_resource: any;
|
|
126
|
-
}
|
|
127
|
-
export interface ResourceItem {
|
|
128
|
-
id: number;
|
|
129
|
-
main_field: string;
|
|
130
|
-
sort: number;
|
|
131
|
-
form_id: number;
|
|
132
|
-
times: TimeConfig[];
|
|
133
|
-
capacity: number;
|
|
134
|
-
combined_resource: any;
|
|
135
|
-
resource_form_id: string | number;
|
|
136
|
-
form_code: string;
|
|
137
|
-
resourceType: ResourceType;
|
|
138
|
-
children: any[];
|
|
139
|
-
metadata: ResourceMetadata;
|
|
140
|
-
form_tag?: any;
|
|
141
|
-
policy?: number;
|
|
142
|
-
partyroom_package?: PartyroomPackage;
|
|
143
|
-
status?: string;
|
|
144
|
-
description?: string;
|
|
145
|
-
media?: string;
|
|
146
|
-
subtitle?: string;
|
|
147
|
-
room_name?: string;
|
|
148
|
-
labelText?: string;
|
|
149
|
-
form_record_id?: number;
|
|
150
|
-
item_type?: string;
|
|
151
|
-
form_resource_sort?: number;
|
|
152
|
-
form_title?: string;
|
|
153
|
-
form?: Form;
|
|
154
|
-
_extend?: {
|
|
155
|
-
usableTime?: TimeConfig;
|
|
156
|
-
};
|
|
157
|
-
usable?: boolean;
|
|
158
|
-
label?: any;
|
|
159
|
-
}
|
|
160
|
-
export interface ResourceTypeInfo {
|
|
161
|
-
id: number;
|
|
162
|
-
title: string;
|
|
163
|
-
status: number;
|
|
164
|
-
code: string;
|
|
165
|
-
created_at: string;
|
|
166
|
-
updated_at: string | null;
|
|
167
|
-
type: ResourceType;
|
|
168
|
-
optional_resource: number[];
|
|
169
|
-
default_resource: any[];
|
|
170
|
-
select_type: SelectType;
|
|
171
|
-
resource_type_id: number;
|
|
172
|
-
renderList?: ResourceItem[];
|
|
173
|
-
form_id?: number;
|
|
174
|
-
renderListMaps?: Record<string, ResourceItem>;
|
|
175
|
-
}
|
|
176
|
-
export interface ProductResource {
|
|
177
|
-
resources: ResourceTypeInfo[];
|
|
178
|
-
}
|
|
179
|
-
export interface CapacityCustom {
|
|
180
|
-
name: MultiLanguageName;
|
|
181
|
-
min: number;
|
|
182
|
-
max: number;
|
|
183
|
-
id: string;
|
|
184
|
-
}
|
|
185
|
-
export interface CapacityPackage {
|
|
186
|
-
}
|
|
187
|
-
export interface Capacity {
|
|
188
|
-
type: 'product' | 'package';
|
|
189
|
-
custom: CapacityCustom[];
|
|
190
|
-
package: CapacityPackage[];
|
|
191
|
-
}
|
|
192
|
-
export interface ProductDisplaySetting {
|
|
193
|
-
kiosk: {
|
|
194
|
-
use_display_mode: number;
|
|
195
|
-
product_option_mode: any;
|
|
196
|
-
product_option_mode_paging: any;
|
|
197
|
-
product_bundle_mode: any;
|
|
198
|
-
product_bundle_mode_paging: any;
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
export interface ShelfProductData {
|
|
202
|
-
}
|
|
203
|
-
export interface Category {
|
|
204
|
-
id: number;
|
|
205
|
-
name: string;
|
|
206
|
-
icon: string;
|
|
207
|
-
slug: string;
|
|
208
|
-
sort: number;
|
|
209
|
-
}
|
|
210
|
-
export interface Collection {
|
|
211
|
-
id: number;
|
|
212
|
-
title: string;
|
|
213
|
-
cover: string;
|
|
214
|
-
}
|
|
215
|
-
export interface ExtendData {
|
|
216
|
-
duration: number;
|
|
217
|
-
start_time: string;
|
|
218
|
-
start_date: string;
|
|
219
|
-
quantity: number;
|
|
220
|
-
price: string;
|
|
221
|
-
product_name: string;
|
|
222
|
-
other: {
|
|
223
|
-
bundle: any[];
|
|
224
|
-
key: number;
|
|
225
|
-
option: any[];
|
|
226
|
-
product_id: number;
|
|
227
|
-
product_variant_id: number;
|
|
228
|
-
quantity: number;
|
|
229
|
-
rowKey: number;
|
|
230
|
-
session: any;
|
|
231
|
-
unique: string;
|
|
232
|
-
};
|
|
233
|
-
total: number;
|
|
234
|
-
origin_total: number;
|
|
235
|
-
startDate: string;
|
|
236
|
-
endDate: string;
|
|
237
|
-
capacity: Array<{
|
|
238
|
-
id: number;
|
|
239
|
-
value: number;
|
|
240
|
-
name: string;
|
|
241
|
-
}>;
|
|
242
|
-
resource: Record<string, Array<{
|
|
243
|
-
children: any[];
|
|
244
|
-
form_id: number;
|
|
245
|
-
relation_id: number;
|
|
246
|
-
like_status: string;
|
|
247
|
-
errors: any[];
|
|
248
|
-
metadata: {
|
|
249
|
-
form_name: string;
|
|
250
|
-
resource_name: string;
|
|
251
|
-
};
|
|
252
|
-
}>>;
|
|
253
|
-
note?: string;
|
|
254
|
-
}
|
|
255
|
-
export interface TimeObj {
|
|
256
|
-
timeSlices: TimeSlice[];
|
|
257
|
-
durationSlicesBasedOnTime: DurationSlice[];
|
|
258
|
-
}
|
|
259
|
-
export interface DataObj {
|
|
260
|
-
timeObj: TimeObj;
|
|
261
|
-
capacitys: Capacity;
|
|
262
|
-
resourcesOrigin: ResourceTypeInfo[];
|
|
263
|
-
resources: ResourceTypeInfo[];
|
|
264
|
-
resourceMaps: Record<string, ResourceTypeInfo>;
|
|
265
|
-
}
|
|
266
|
-
export interface DiscountItem {
|
|
267
|
-
amount: number;
|
|
268
|
-
type: 'discount_card' | 'discount_code' | 'discount_package';
|
|
269
|
-
discount: {
|
|
270
|
-
resource_id: number;
|
|
271
|
-
title: MultiLanguageTitle;
|
|
272
|
-
original_amount: number;
|
|
273
|
-
product_id: number;
|
|
274
|
-
percent: string;
|
|
275
|
-
};
|
|
276
|
-
num: number;
|
|
277
|
-
}
|
|
278
|
-
export interface ProductData {
|
|
279
|
-
id: number;
|
|
280
|
-
extension_id: number;
|
|
281
|
-
extension_type: string;
|
|
282
|
-
shop_id: number;
|
|
283
|
-
title: string;
|
|
284
|
-
slug: string;
|
|
285
|
-
status: 'published' | 'draft' | 'archived';
|
|
286
|
-
stock_quantity: number;
|
|
287
|
-
sales_quantity: number;
|
|
288
|
-
sum_stock: number;
|
|
289
|
-
price: string;
|
|
290
|
-
original_price: string;
|
|
291
|
-
cost_price: string;
|
|
292
|
-
cover: string;
|
|
293
|
-
channel_application: ChannelApplication[];
|
|
294
|
-
is_track: number;
|
|
295
|
-
over_sold: number;
|
|
296
|
-
is_gst: number;
|
|
297
|
-
code: string;
|
|
298
|
-
barcode: string;
|
|
299
|
-
is_delivery: number;
|
|
300
|
-
weight_unit: WeightUnit;
|
|
301
|
-
weight_value: string;
|
|
302
|
-
type: ProductType;
|
|
303
|
-
unit: string;
|
|
304
|
-
sort: number;
|
|
305
|
-
subtitle: string;
|
|
306
|
-
minimum_markup_price: string;
|
|
307
|
-
is_bundle: number;
|
|
308
|
-
bundle_group_count: number;
|
|
309
|
-
option_group_count: number;
|
|
310
|
-
is_variant: number;
|
|
311
|
-
variant_count: number;
|
|
312
|
-
cut_off_time: CutOffTime;
|
|
313
|
-
policy: number;
|
|
314
|
-
machine_code: MachineCode;
|
|
315
|
-
duration: Duration;
|
|
316
|
-
product_resource: ProductResource;
|
|
317
|
-
capacity: Capacity;
|
|
318
|
-
product_display_setting: ProductDisplaySetting;
|
|
319
|
-
shelf_product_datas: ShelfProductData[];
|
|
320
|
-
step_value: number;
|
|
321
|
-
min_num_unit: number;
|
|
322
|
-
schedules: any[];
|
|
323
|
-
is_charge_tax: number;
|
|
324
|
-
base_price: string;
|
|
325
|
-
variant: any[];
|
|
326
|
-
category: Category[];
|
|
327
|
-
collection: Collection[];
|
|
328
|
-
product_id: number;
|
|
329
|
-
_id: string;
|
|
330
|
-
_key: number;
|
|
331
|
-
_extend: ExtendData;
|
|
332
|
-
new: number;
|
|
333
|
-
currentDefaultTime: string;
|
|
334
|
-
_data: DataObj;
|
|
335
|
-
autoClose: boolean;
|
|
336
|
-
_serviceKey: string;
|
|
337
|
-
_holderKey: string;
|
|
338
|
-
discount_list: DiscountItem[];
|
|
339
|
-
}
|
|
340
|
-
export declare type SkuDetailModalData = ProductData;
|
|
341
|
-
export interface SkuDetailModalProps {
|
|
342
|
-
/** 确认回调 */
|
|
343
|
-
onConfirm?: (data: ProductData) => void;
|
|
344
|
-
/** 删除回调 */
|
|
345
|
-
onRemove?: (productData: ProductData) => void;
|
|
346
|
-
/** 关闭回调 */
|
|
347
|
-
onClose?: () => void;
|
|
348
|
-
}
|
|
349
|
-
export interface SkuDetailModalRef {
|
|
350
|
-
/** 打开弹窗 */
|
|
351
|
-
open: (data: ProductData) => void;
|
|
352
|
-
}
|