@pisell/private-materials 6.3.97 → 6.3.99
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 +10 -10
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +10 -10
- package/es/components/Sales/Summary/utils.d.ts +58 -0
- package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/es/components/appointmentBooking/components/Date/state.js +3 -1
- package/es/components/appointmentBooking/locales.d.ts +606 -0
- package/es/components/appointmentBooking/locales.js +276 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/es/components/authentication/admin/AuthMethods/locales.js +164 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +27 -9
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +17 -9
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +17 -9
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerAuth/locales.js +42 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/es/components/authentication/admin/DeviceAuth/locales.js +36 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/es/components/authentication/admin/OAuthConfig/locales.js +58 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/components/voucher/utils.d.ts +4 -0
- package/es/components/booking/editBookingModal/locales.d.ts +33 -0
- package/es/components/booking/editBookingModal/locales.js +12 -0
- package/es/components/booking/editBookingModal/mock.d.ts +991 -0
- package/es/components/booking/editBookingModal/mock.js +22 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/es/components/booking/info2/service/addService/mock.js +4 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/es/components/booking/locales.d.ts +628 -0
- package/es/components/booking/locales.js +722 -0
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/addNote/index.d.ts +4 -0
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +8 -0
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +5 -0
- package/es/components/ecocup/components/CustomerCard/index.d.ts +7 -0
- package/es/components/ecocup/cupList/const.d.ts +133 -0
- package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +32 -0
- package/es/components/ecocup/cupProject/const.d.ts +7 -0
- package/es/components/ecocup/hooks.d.ts +49 -0
- package/es/components/ecocup/locales.d.ts +563 -0
- package/es/components/ecocup/locales.js +228 -0
- package/es/components/eftpos/const.d.ts +64 -0
- package/es/components/eftpos/device.d.ts +9 -0
- package/es/components/eftpos/hooks.d.ts +33 -0
- package/es/components/eftpos/index.d.ts +47 -0
- package/es/components/eftpos/locales.d.ts +163 -0
- package/es/components/eftpos/locales.js +80 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +10 -0
- package/es/components/eftposPay/const.d.ts +184 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +35 -0
- package/es/components/eftposPay/linkly/const.d.ts +23 -0
- package/es/components/eftposPay/locales.d.ts +572 -0
- package/es/components/eftposPay/locales.js +326 -0
- package/es/components/eftposPay/payo/config.d.ts +13 -0
- package/es/components/eftposPay/payo/const.d.ts +26 -0
- package/es/components/eftposPay/store/index.d.ts +355 -0
- package/es/components/eftposPay/tyro/const.d.ts +17 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/windcave/const.d.ts +119 -0
- package/es/components/eftposPay/windcave/helper.d.ts +23 -0
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
- package/es/components/eventBooking/components/Voucher/components/locales.js +22 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/eventBooking/locales.d.ts +408 -0
- package/es/components/eventBooking/locales.js +186 -0
- package/es/components/kioskSkuDetail/index.js +39 -10
- package/es/components/kioskSkuDetail/locales.d.ts +21 -0
- package/es/components/kioskSkuDetail/locales.js +24 -3
- package/es/components/login/locales.d.ts +38 -0
- package/es/components/login/locales.js +14 -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 +3 -0
- package/es/components/pay/toC/locales.d.ts +511 -0
- package/es/components/pay/toC/locales.js +244 -0
- package/es/components/pay/toC/model.d.ts +40 -0
- package/es/components/pay/toC/serve.d.ts +2 -0
- package/es/components/pinModal/locales.d.ts +43 -0
- package/es/components/pinModal/locales.js +16 -0
- package/es/components/pinVerifyModal/locales.d.ts +38 -0
- package/es/components/pinVerifyModal/locales.js +14 -0
- package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/es/components/pisellSelectCustomerModal/locales.js +52 -0
- package/es/components/productExtension/locales.d.ts +78 -0
- package/es/components/productExtension/locales.js +30 -0
- package/es/components/productSelect/components/pisellPriceText/index.js +8 -4
- package/es/components/productSelect/locales.d.ts +38 -0
- package/es/components/productSelect/locales.js +23 -3
- package/es/components/ruleSetting/locales.d.ts +30 -0
- package/es/components/ruleSetting/locales.js +30 -0
- package/es/components/schedules/locales.d.ts +143 -0
- package/es/components/schedules/locales.js +56 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/shoppingCart/locales.d.ts +53 -0
- package/es/components/shoppingCart/locales.js +24 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/stepController/locales.d.ts +43 -0
- package/es/components/stepController/locales.js +20 -0
- package/es/components/subTotal/locales.d.ts +68 -0
- package/es/components/subTotal/locales.js +26 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +390 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +367 -0
- package/es/components/systemSettings/registry/components/ItemModal.js +169 -35
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +163 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.js +127 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
- package/es/components/systemSettings/registry/index.js +20 -16
- package/es/components/systemSettings/registry/index.less +6 -7
- package/es/components/systemSettings/registry/locales.d.ts +525 -0
- package/es/components/systemSettings/registry/locales.js +262 -3
- package/es/components/systemSettings/registry/services.d.ts +97 -0
- package/es/components/systemSettings/registry/types.d.ts +139 -0
- package/es/components/taxSelect/locales.d.ts +38 -0
- package/es/components/taxSelect/locales.js +14 -0
- package/es/components/ticketBooking/locales.d.ts +304 -0
- package/es/components/ticketBooking/locales.js +156 -0
- package/es/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/es/components/ticketBooking/utils/formatTime.js +8 -2
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/index.js +10 -0
- package/es/components/walletList/locales.d.ts +43 -0
- package/es/components/walletList/locales.js +16 -0
- package/es/components/walletList/types/index.d.ts +196 -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/hooks/useEngineContext.d.ts +11 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/clientCard/locales.d.ts +28 -0
- package/es/plus/clientCard/locales.js +10 -0
- package/es/plus/clinetSearch/locales.d.ts +178 -0
- package/es/plus/clinetSearch/locales.js +70 -0
- package/es/plus/contactInfo/locales.d.ts +23 -0
- package/es/plus/contactInfo/locales.js +8 -0
- package/es/plus/contactInfoModal/locales.d.ts +108 -0
- package/es/plus/contactInfoModal/locales.js +42 -0
- package/es/plus/orderList/locales.d.ts +246 -0
- package/es/plus/orderList/locales.js +274 -0
- package/es/plus/productSelect/components/pisellPriceText/index.js +8 -4
- package/es/plus/productSelect/locales.d.ts +38 -0
- package/es/plus/productSelect/locales.js +23 -3
- package/es/plus/saasAttendance/locales.d.ts +591 -0
- package/es/plus/saasAttendance/locales.js +234 -0
- package/es/plus/saasAttendance/settings/components/MapField.js +4 -2
- package/es/plus/saasAttendance/settings/types.d.ts +136 -0
- package/es/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/es/plus/saasCreateOrganization/locales.js +8 -0
- package/es/plus/saasLogin/locales.d.ts +83 -0
- package/es/plus/saasLogin/locales.js +32 -0
- package/es/plus/saasRegister/locales.d.ts +193 -0
- package/es/plus/saasRegister/locales.js +76 -0
- package/es/plus/saasRole/locales.d.ts +319 -0
- package/es/plus/saasRole/locales.js +126 -0
- package/es/plus/saasRole/types.d.ts +177 -0
- package/es/plus/saasTeamMembers/locales.d.ts +546 -0
- package/es/plus/saasTeamMembers/locales.js +216 -0
- package/es/plus/saasTeamMembers/type.d.ts +158 -0
- package/es/plus/selectHolder/locales.d.ts +35 -0
- package/es/plus/selectHolder/locales.js +17 -5
- package/es/plus/skuOptionsSelection/locales.d.ts +20 -0
- package/es/plus/skuOptionsSelection/locales.js +20 -0
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
- package/es/plus/walletEditor/locales.d.ts +223 -0
- package/es/plus/walletEditor/locales.js +100 -0
- package/es/plus/walletEditor/types.d.ts +54 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/es/plus/walletPassGallery/components/passDetail/index.js +2 -26
- package/es/plus/walletPassGallery/components/passList/index.js +8 -1
- package/es/plus/walletPassGallery/index.js +0 -31
- package/es/plus/walletPassGallery/locales.d.ts +473 -0
- package/es/plus/walletPassGallery/locales.js +192 -0
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/es/pro/Login2.0/locales.d.ts +903 -0
- package/es/pro/Login2.0/locales.js +360 -0
- package/es/pro/Login2.0/shared/types.d.ts +234 -0
- package/es/pro/Selector/Selector.d.ts +1 -1
- package/es/pro/Selector/locales.d.ts +22 -0
- package/es/pro/Selector/locales.js +58 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.js +8 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/es/pro/comprehensiveSearch/locales.js +8 -0
- package/es/pro/keyboards/locales.d.ts +14 -0
- package/es/pro/keyboards/locales.js +22 -0
- package/es/pro/numberKeyboard/locales.d.ts +18 -0
- package/es/pro/numberKeyboard/locales.js +6 -0
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/es/pro/pisellPhoneKeyboard/locales.js +6 -0
- package/es/test/setup.d.ts +1 -0
- package/lib/components/Sales/Summary/utils.d.ts +58 -0
- package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/lib/components/appointmentBooking/components/Date/state.js +3 -1
- package/lib/components/appointmentBooking/locales.d.ts +606 -0
- package/lib/components/appointmentBooking/locales.js +240 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/lib/components/authentication/admin/AuthMethods/locales.js +164 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +17 -9
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +14 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +14 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.js +42 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.js +36 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.js +58 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/components/voucher/utils.d.ts +4 -0
- package/lib/components/booking/editBookingModal/locales.d.ts +33 -0
- package/lib/components/booking/editBookingModal/locales.js +12 -0
- package/lib/components/booking/editBookingModal/mock.d.ts +991 -0
- package/lib/components/booking/editBookingModal/mock.js +22 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/lib/components/booking/info2/service/addService/mock.js +4 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/lib/components/booking/locales.d.ts +628 -0
- package/lib/components/booking/locales.js +680 -0
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/addNote/index.d.ts +4 -0
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +8 -0
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +5 -0
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +7 -0
- package/lib/components/ecocup/cupList/const.d.ts +133 -0
- package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +32 -0
- package/lib/components/ecocup/cupProject/const.d.ts +7 -0
- package/lib/components/ecocup/hooks.d.ts +49 -0
- package/lib/components/ecocup/locales.d.ts +563 -0
- package/lib/components/ecocup/locales.js +224 -0
- package/lib/components/eftpos/const.d.ts +64 -0
- package/lib/components/eftpos/device.d.ts +9 -0
- package/lib/components/eftpos/hooks.d.ts +33 -0
- package/lib/components/eftpos/index.d.ts +47 -0
- package/lib/components/eftpos/locales.d.ts +163 -0
- package/lib/components/eftpos/locales.js +76 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +10 -0
- package/lib/components/eftposPay/const.d.ts +184 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +35 -0
- package/lib/components/eftposPay/linkly/const.d.ts +23 -0
- package/lib/components/eftposPay/locales.d.ts +572 -0
- package/lib/components/eftposPay/locales.js +250 -0
- package/lib/components/eftposPay/payo/config.d.ts +13 -0
- package/lib/components/eftposPay/payo/const.d.ts +26 -0
- package/lib/components/eftposPay/store/index.d.ts +355 -0
- package/lib/components/eftposPay/tyro/const.d.ts +17 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/windcave/const.d.ts +119 -0
- package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.js +22 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/eventBooking/locales.d.ts +408 -0
- package/lib/components/eventBooking/locales.js +162 -0
- package/lib/components/kioskSkuDetail/index.js +27 -3
- package/lib/components/kioskSkuDetail/locales.d.ts +21 -0
- package/lib/components/kioskSkuDetail/locales.js +24 -3
- package/lib/components/login/locales.d.ts +38 -0
- package/lib/components/login/locales.js +14 -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 +3 -0
- package/lib/components/pay/toC/locales.d.ts +511 -0
- package/lib/components/pay/toC/locales.js +204 -0
- package/lib/components/pay/toC/model.d.ts +40 -0
- package/lib/components/pay/toC/serve.d.ts +2 -0
- package/lib/components/pinModal/locales.d.ts +43 -0
- package/lib/components/pinModal/locales.js +16 -0
- package/lib/components/pinVerifyModal/locales.d.ts +38 -0
- package/lib/components/pinVerifyModal/locales.js +14 -0
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/lib/components/pisellSelectCustomerModal/locales.js +52 -0
- package/lib/components/productExtension/locales.d.ts +78 -0
- package/lib/components/productExtension/locales.js +30 -0
- package/lib/components/productSelect/components/pisellPriceText/index.js +6 -4
- package/lib/components/productSelect/locales.d.ts +38 -0
- package/lib/components/productSelect/locales.js +23 -3
- package/lib/components/ruleSetting/locales.d.ts +30 -0
- package/lib/components/ruleSetting/locales.js +30 -0
- package/lib/components/schedules/locales.d.ts +143 -0
- package/lib/components/schedules/locales.js +56 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/shoppingCart/locales.d.ts +53 -0
- package/lib/components/shoppingCart/locales.js +20 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/stepController/locales.d.ts +43 -0
- package/lib/components/stepController/locales.js +16 -0
- package/lib/components/subTotal/locales.d.ts +68 -0
- package/lib/components/subTotal/locales.js +26 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +228 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +195 -0
- package/lib/components/systemSettings/registry/components/ItemModal.js +294 -225
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +166 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.js +210 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
- package/lib/components/systemSettings/registry/index.js +20 -16
- package/lib/components/systemSettings/registry/index.less +6 -7
- package/lib/components/systemSettings/registry/locales.d.ts +525 -0
- package/lib/components/systemSettings/registry/locales.js +262 -3
- package/lib/components/systemSettings/registry/services.d.ts +97 -0
- package/lib/components/systemSettings/registry/types.d.ts +139 -0
- package/lib/components/taxSelect/locales.d.ts +38 -0
- package/lib/components/taxSelect/locales.js +14 -0
- package/lib/components/ticketBooking/locales.d.ts +304 -0
- package/lib/components/ticketBooking/locales.js +136 -0
- package/lib/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/lib/components/ticketBooking/utils/formatTime.js +8 -2
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/index.js +10 -0
- package/lib/components/walletList/locales.d.ts +43 -0
- package/lib/components/walletList/locales.js +16 -0
- package/lib/components/walletList/types/index.d.ts +196 -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/hooks/useEngineContext.d.ts +11 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/clientCard/locales.d.ts +28 -0
- package/lib/plus/clientCard/locales.js +10 -0
- package/lib/plus/clinetSearch/locales.d.ts +178 -0
- package/lib/plus/clinetSearch/locales.js +70 -0
- package/lib/plus/contactInfo/locales.d.ts +23 -0
- package/lib/plus/contactInfo/locales.js +8 -0
- package/lib/plus/contactInfoModal/locales.d.ts +108 -0
- package/lib/plus/contactInfoModal/locales.js +42 -0
- package/lib/plus/orderList/locales.d.ts +246 -0
- package/lib/plus/orderList/locales.js +266 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -4
- package/lib/plus/productSelect/locales.d.ts +38 -0
- package/lib/plus/productSelect/locales.js +23 -3
- package/lib/plus/saasAttendance/locales.d.ts +591 -0
- package/lib/plus/saasAttendance/locales.js +210 -0
- package/lib/plus/saasAttendance/settings/components/MapField.js +2 -2
- package/lib/plus/saasAttendance/settings/types.d.ts +136 -0
- package/lib/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/lib/plus/saasCreateOrganization/locales.js +8 -0
- package/lib/plus/saasLogin/locales.d.ts +83 -0
- package/lib/plus/saasLogin/locales.js +32 -0
- package/lib/plus/saasRegister/locales.d.ts +193 -0
- package/lib/plus/saasRegister/locales.js +76 -0
- package/lib/plus/saasRole/locales.d.ts +319 -0
- package/lib/plus/saasRole/locales.js +126 -0
- package/lib/plus/saasRole/types.d.ts +177 -0
- package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
- package/lib/plus/saasTeamMembers/locales.js +216 -0
- package/lib/plus/saasTeamMembers/type.d.ts +158 -0
- package/lib/plus/selectHolder/locales.d.ts +35 -0
- package/lib/plus/selectHolder/locales.js +13 -5
- package/lib/plus/skuOptionsSelection/locales.d.ts +20 -0
- package/lib/plus/skuOptionsSelection/locales.js +20 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
- package/lib/plus/walletEditor/locales.d.ts +223 -0
- package/lib/plus/walletEditor/locales.js +100 -0
- package/lib/plus/walletEditor/types.d.ts +54 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/components/passDetail/index.js +1 -16
- package/lib/plus/walletPassGallery/components/passList/index.js +9 -3
- package/lib/plus/walletPassGallery/index.js +0 -29
- package/lib/plus/walletPassGallery/locales.d.ts +473 -0
- package/lib/plus/walletPassGallery/locales.js +192 -0
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/lib/pro/Login2.0/locales.d.ts +903 -0
- package/lib/pro/Login2.0/locales.js +360 -0
- package/lib/pro/Login2.0/shared/types.d.ts +234 -0
- package/lib/pro/Selector/Selector.d.ts +1 -1
- package/lib/pro/Selector/locales.d.ts +22 -0
- package/lib/pro/Selector/locales.js +50 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +8 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/lib/pro/comprehensiveSearch/locales.js +8 -0
- package/lib/pro/keyboards/locales.d.ts +14 -0
- package/lib/pro/keyboards/locales.js +14 -0
- package/lib/pro/numberKeyboard/locales.d.ts +18 -0
- package/lib/pro/numberKeyboard/locales.js +6 -0
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/lib/pro/pisellPhoneKeyboard/locales.js +6 -0
- package/lib/test/setup.d.ts +1 -0
- package/lowcode/eco-cup-list/meta.ts +1 -1
- package/lowcode/eco-customer-list/meta.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
walletName: string;
|
|
4
|
+
validityPeriod: string;
|
|
5
|
+
linkedPasses: string;
|
|
6
|
+
linkedPassesDesc: string;
|
|
7
|
+
sort: string;
|
|
8
|
+
status: string;
|
|
9
|
+
distributionConditions: string;
|
|
10
|
+
selectPasses: string;
|
|
11
|
+
backgroundImage: string;
|
|
12
|
+
advancedSettings: string;
|
|
13
|
+
sendConfig: string;
|
|
14
|
+
displaySettings: string;
|
|
15
|
+
viewPreview: string;
|
|
16
|
+
coverImage: string;
|
|
17
|
+
icon: string;
|
|
18
|
+
upload: string;
|
|
19
|
+
enable: string;
|
|
20
|
+
disable: string;
|
|
21
|
+
barCode: string;
|
|
22
|
+
qrCode: string;
|
|
23
|
+
day: string;
|
|
24
|
+
days: string;
|
|
25
|
+
month: string;
|
|
26
|
+
months: string;
|
|
27
|
+
year: string;
|
|
28
|
+
years: string;
|
|
29
|
+
forever: string;
|
|
30
|
+
custom: string;
|
|
31
|
+
balance: string;
|
|
32
|
+
point: string;
|
|
33
|
+
voucher: string;
|
|
34
|
+
discount: string;
|
|
35
|
+
rechargeable: string;
|
|
36
|
+
pleaseInputWalletName: string;
|
|
37
|
+
enterCoverImageURL: string;
|
|
38
|
+
enterJSONConfig: string;
|
|
39
|
+
selectValidityPeriod: string;
|
|
40
|
+
selectCustomDate: string;
|
|
41
|
+
registerToIssue: string;
|
|
42
|
+
'pisell2.wallet-editor.holder': string;
|
|
43
|
+
'pisell2.wallet-editor.holder.required': string;
|
|
44
|
+
'pisell2.wallet-editor.holder.invalid': string;
|
|
45
|
+
};
|
|
46
|
+
'zh-CN': {
|
|
47
|
+
walletName: string;
|
|
48
|
+
validityPeriod: string;
|
|
49
|
+
linkedPasses: string;
|
|
50
|
+
linkedPassesDesc: string;
|
|
51
|
+
sort: string;
|
|
52
|
+
status: string;
|
|
53
|
+
distributionConditions: string;
|
|
54
|
+
selectPasses: string;
|
|
55
|
+
backgroundImage: string;
|
|
56
|
+
advancedSettings: string;
|
|
57
|
+
sendConfig: string;
|
|
58
|
+
displaySettings: string;
|
|
59
|
+
viewPreview: string;
|
|
60
|
+
coverImage: string;
|
|
61
|
+
icon: string;
|
|
62
|
+
upload: string;
|
|
63
|
+
enable: string;
|
|
64
|
+
disable: string;
|
|
65
|
+
barCode: string;
|
|
66
|
+
qrCode: string;
|
|
67
|
+
day: string;
|
|
68
|
+
days: string;
|
|
69
|
+
month: string;
|
|
70
|
+
months: string;
|
|
71
|
+
year: string;
|
|
72
|
+
years: string;
|
|
73
|
+
forever: string;
|
|
74
|
+
custom: string;
|
|
75
|
+
balance: string;
|
|
76
|
+
point: string;
|
|
77
|
+
voucher: string;
|
|
78
|
+
discount: string;
|
|
79
|
+
rechargeable: string;
|
|
80
|
+
pleaseInputWalletName: string;
|
|
81
|
+
enterCoverImageURL: string;
|
|
82
|
+
enterJSONConfig: string;
|
|
83
|
+
selectValidityPeriod: string;
|
|
84
|
+
selectCustomDate: string;
|
|
85
|
+
registerToIssue: string;
|
|
86
|
+
'pisell2.wallet-editor.holder': string;
|
|
87
|
+
'pisell2.wallet-editor.holder.required': string;
|
|
88
|
+
'pisell2.wallet-editor.holder.invalid': string;
|
|
89
|
+
};
|
|
90
|
+
'zh-HK': {
|
|
91
|
+
walletName: string;
|
|
92
|
+
validityPeriod: string;
|
|
93
|
+
linkedPasses: string;
|
|
94
|
+
linkedPassesDesc: string;
|
|
95
|
+
sort: string;
|
|
96
|
+
status: string;
|
|
97
|
+
distributionConditions: string;
|
|
98
|
+
selectPasses: string;
|
|
99
|
+
backgroundImage: string;
|
|
100
|
+
advancedSettings: string;
|
|
101
|
+
sendConfig: string;
|
|
102
|
+
displaySettings: string;
|
|
103
|
+
viewPreview: string;
|
|
104
|
+
coverImage: string;
|
|
105
|
+
icon: string;
|
|
106
|
+
upload: string;
|
|
107
|
+
enable: string;
|
|
108
|
+
disable: string;
|
|
109
|
+
barCode: string;
|
|
110
|
+
qrCode: string;
|
|
111
|
+
day: string;
|
|
112
|
+
days: string;
|
|
113
|
+
month: string;
|
|
114
|
+
months: string;
|
|
115
|
+
year: string;
|
|
116
|
+
years: string;
|
|
117
|
+
forever: string;
|
|
118
|
+
custom: string;
|
|
119
|
+
balance: string;
|
|
120
|
+
point: string;
|
|
121
|
+
voucher: string;
|
|
122
|
+
discount: string;
|
|
123
|
+
rechargeable: string;
|
|
124
|
+
pleaseInputWalletName: string;
|
|
125
|
+
enterCoverImageURL: string;
|
|
126
|
+
enterJSONConfig: string;
|
|
127
|
+
selectValidityPeriod: string;
|
|
128
|
+
selectCustomDate: string;
|
|
129
|
+
registerToIssue: string;
|
|
130
|
+
'pisell2.wallet-editor.holder': string;
|
|
131
|
+
'pisell2.wallet-editor.holder.required': string;
|
|
132
|
+
'pisell2.wallet-editor.holder.invalid': string;
|
|
133
|
+
};
|
|
134
|
+
ja: {
|
|
135
|
+
walletName: string;
|
|
136
|
+
validityPeriod: string;
|
|
137
|
+
linkedPasses: string;
|
|
138
|
+
linkedPassesDesc: string;
|
|
139
|
+
sort: string;
|
|
140
|
+
status: string;
|
|
141
|
+
distributionConditions: string;
|
|
142
|
+
selectPasses: string;
|
|
143
|
+
backgroundImage: string;
|
|
144
|
+
advancedSettings: string;
|
|
145
|
+
sendConfig: string;
|
|
146
|
+
displaySettings: string;
|
|
147
|
+
viewPreview: string;
|
|
148
|
+
coverImage: string;
|
|
149
|
+
icon: string;
|
|
150
|
+
upload: string;
|
|
151
|
+
enable: string;
|
|
152
|
+
disable: string;
|
|
153
|
+
barCode: string;
|
|
154
|
+
qrCode: string;
|
|
155
|
+
day: string;
|
|
156
|
+
days: string;
|
|
157
|
+
month: string;
|
|
158
|
+
months: string;
|
|
159
|
+
year: string;
|
|
160
|
+
years: string;
|
|
161
|
+
forever: string;
|
|
162
|
+
custom: string;
|
|
163
|
+
balance: string;
|
|
164
|
+
point: string;
|
|
165
|
+
voucher: string;
|
|
166
|
+
discount: string;
|
|
167
|
+
rechargeable: string;
|
|
168
|
+
pleaseInputWalletName: string;
|
|
169
|
+
enterCoverImageURL: string;
|
|
170
|
+
enterJSONConfig: string;
|
|
171
|
+
selectValidityPeriod: string;
|
|
172
|
+
selectCustomDate: string;
|
|
173
|
+
registerToIssue: string;
|
|
174
|
+
'pisell2.wallet-editor.holder': string;
|
|
175
|
+
'pisell2.wallet-editor.holder.required': string;
|
|
176
|
+
'pisell2.wallet-editor.holder.invalid': string;
|
|
177
|
+
};
|
|
178
|
+
pt: {
|
|
179
|
+
walletName: string;
|
|
180
|
+
validityPeriod: string;
|
|
181
|
+
linkedPasses: string;
|
|
182
|
+
linkedPassesDesc: string;
|
|
183
|
+
sort: string;
|
|
184
|
+
status: string;
|
|
185
|
+
distributionConditions: string;
|
|
186
|
+
selectPasses: string;
|
|
187
|
+
backgroundImage: string;
|
|
188
|
+
advancedSettings: string;
|
|
189
|
+
sendConfig: string;
|
|
190
|
+
displaySettings: string;
|
|
191
|
+
viewPreview: string;
|
|
192
|
+
coverImage: string;
|
|
193
|
+
icon: string;
|
|
194
|
+
upload: string;
|
|
195
|
+
enable: string;
|
|
196
|
+
disable: string;
|
|
197
|
+
barCode: string;
|
|
198
|
+
qrCode: string;
|
|
199
|
+
day: string;
|
|
200
|
+
days: string;
|
|
201
|
+
month: string;
|
|
202
|
+
months: string;
|
|
203
|
+
year: string;
|
|
204
|
+
years: string;
|
|
205
|
+
forever: string;
|
|
206
|
+
custom: string;
|
|
207
|
+
balance: string;
|
|
208
|
+
point: string;
|
|
209
|
+
voucher: string;
|
|
210
|
+
discount: string;
|
|
211
|
+
rechargeable: string;
|
|
212
|
+
pleaseInputWalletName: string;
|
|
213
|
+
enterCoverImageURL: string;
|
|
214
|
+
enterJSONConfig: string;
|
|
215
|
+
selectValidityPeriod: string;
|
|
216
|
+
selectCustomDate: string;
|
|
217
|
+
registerToIssue: string;
|
|
218
|
+
'pisell2.wallet-editor.holder': string;
|
|
219
|
+
'pisell2.wallet-editor.holder.required': string;
|
|
220
|
+
'pisell2.wallet-editor.holder.invalid': string;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
export default _default;
|
|
@@ -148,5 +148,105 @@ export default {
|
|
|
148
148
|
'pisell2.wallet-editor.holder': '持有人',
|
|
149
149
|
'pisell2.wallet-editor.holder.required': '請選擇持有人',
|
|
150
150
|
'pisell2.wallet-editor.holder.invalid': '無效持有人,請重新選擇'
|
|
151
|
+
},
|
|
152
|
+
ja: {
|
|
153
|
+
// フォームラベル
|
|
154
|
+
walletName: 'ウォレット名',
|
|
155
|
+
validityPeriod: '有効期間',
|
|
156
|
+
linkedPasses: 'リンクされたパス',
|
|
157
|
+
linkedPassesDesc: 'このウォレットで利用可能なパスを選択します。',
|
|
158
|
+
sort: '並び替え',
|
|
159
|
+
status: 'ステータス',
|
|
160
|
+
distributionConditions: '発行条件',
|
|
161
|
+
selectPasses: 'パスを選択',
|
|
162
|
+
backgroundImage: '背景画像',
|
|
163
|
+
advancedSettings: '詳細設定',
|
|
164
|
+
sendConfig: '送信設定',
|
|
165
|
+
displaySettings: '表示設定',
|
|
166
|
+
viewPreview: 'プレビューを表示',
|
|
167
|
+
coverImage: 'カバー画像',
|
|
168
|
+
icon: 'アイコン',
|
|
169
|
+
upload: 'アップロード',
|
|
170
|
+
// ステータスオプション
|
|
171
|
+
enable: '有効',
|
|
172
|
+
disable: '無効',
|
|
173
|
+
// バーコードタイプ
|
|
174
|
+
barCode: 'バーコード',
|
|
175
|
+
qrCode: 'QRコード',
|
|
176
|
+
// 有効期間オプション
|
|
177
|
+
day: '日',
|
|
178
|
+
days: '日',
|
|
179
|
+
month: 'ヶ月',
|
|
180
|
+
months: 'ヶ月',
|
|
181
|
+
year: '年',
|
|
182
|
+
years: '年',
|
|
183
|
+
forever: '永続',
|
|
184
|
+
custom: 'カスタム',
|
|
185
|
+
// ウォレットパスタイプ
|
|
186
|
+
balance: '残高',
|
|
187
|
+
point: 'ポイント',
|
|
188
|
+
voucher: 'バウチャー',
|
|
189
|
+
discount: '割引',
|
|
190
|
+
rechargeable: 'チャージ可能',
|
|
191
|
+
// メッセージ
|
|
192
|
+
pleaseInputWalletName: 'ウォレット名を入力してください!',
|
|
193
|
+
enterCoverImageURL: 'カバー画像URLを入力',
|
|
194
|
+
enterJSONConfig: 'JSON設定を入力、例: {"type": "register"}',
|
|
195
|
+
selectValidityPeriod: '有効期間を選択',
|
|
196
|
+
selectCustomDate: 'カスタム日付を選択',
|
|
197
|
+
registerToIssue: '登録時に発行',
|
|
198
|
+
'pisell2.wallet-editor.holder': '所有者',
|
|
199
|
+
'pisell2.wallet-editor.holder.required': '所有者を選択してください',
|
|
200
|
+
'pisell2.wallet-editor.holder.invalid': '無効な所有者です。再度選択してください'
|
|
201
|
+
},
|
|
202
|
+
pt: {
|
|
203
|
+
// Form Labels
|
|
204
|
+
walletName: 'Nome da carteira',
|
|
205
|
+
validityPeriod: 'Período de Validade',
|
|
206
|
+
linkedPasses: 'Passes vinculados',
|
|
207
|
+
linkedPassesDesc: 'Selecione os passes que estarão disponíveis nesta Carteira.',
|
|
208
|
+
sort: 'Ordenar',
|
|
209
|
+
status: 'Status',
|
|
210
|
+
distributionConditions: 'Condições de emissão',
|
|
211
|
+
selectPasses: 'Selecionar passes',
|
|
212
|
+
backgroundImage: 'Imagem de fundo',
|
|
213
|
+
advancedSettings: 'Configurações Avançadas',
|
|
214
|
+
sendConfig: 'Configuração de Envio',
|
|
215
|
+
displaySettings: 'Configurações de exibição',
|
|
216
|
+
viewPreview: 'Ver Prévia',
|
|
217
|
+
coverImage: 'Imagem da Capa',
|
|
218
|
+
icon: 'Ícone',
|
|
219
|
+
upload: 'Fazer upload',
|
|
220
|
+
// Status Options
|
|
221
|
+
enable: 'Habilitar',
|
|
222
|
+
disable: 'Desabilitar',
|
|
223
|
+
// Barcode Types
|
|
224
|
+
barCode: 'Código de barras',
|
|
225
|
+
qrCode: 'Código QR',
|
|
226
|
+
// Validity Period Options
|
|
227
|
+
day: 'dia',
|
|
228
|
+
days: 'dias',
|
|
229
|
+
month: 'mês',
|
|
230
|
+
months: 'meses',
|
|
231
|
+
year: 'ano',
|
|
232
|
+
years: 'anos',
|
|
233
|
+
forever: 'Para sempre',
|
|
234
|
+
custom: 'Personalizado',
|
|
235
|
+
// Wallet Pass Types
|
|
236
|
+
balance: 'Saldo',
|
|
237
|
+
point: 'Pontos',
|
|
238
|
+
voucher: 'Vale',
|
|
239
|
+
discount: 'Desconto',
|
|
240
|
+
rechargeable: 'Recarregável',
|
|
241
|
+
// Messages
|
|
242
|
+
pleaseInputWalletName: 'Por favor, insira o nome da carteira!',
|
|
243
|
+
enterCoverImageURL: 'Insira a URL da imagem da capa',
|
|
244
|
+
enterJSONConfig: 'Insira a configuração JSON, por exemplo {"type": "register"}',
|
|
245
|
+
selectValidityPeriod: 'Selecione o período de validade',
|
|
246
|
+
selectCustomDate: 'Selecione a data personalizada',
|
|
247
|
+
registerToIssue: 'Registrar para emitir',
|
|
248
|
+
'pisell2.wallet-editor.holder': 'Titular',
|
|
249
|
+
'pisell2.wallet-editor.holder.required': 'Por favor, selecione um titular',
|
|
250
|
+
'pisell2.wallet-editor.holder.invalid': 'Titular inválido. Por favor, selecione novamente'
|
|
151
251
|
}
|
|
152
252
|
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormInstance } from 'antd';
|
|
3
|
+
export interface MultiLanguageTitle {
|
|
4
|
+
original?: string;
|
|
5
|
+
'zh-CN'?: string;
|
|
6
|
+
'zh-HK'?: string;
|
|
7
|
+
'ja'?: string;
|
|
8
|
+
'pt'?: string;
|
|
9
|
+
en?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ValidForConfig {
|
|
12
|
+
unit: string;
|
|
13
|
+
unit_type: 'day' | 'month' | 'year';
|
|
14
|
+
type: 'normal' | 'custom' | 'forever';
|
|
15
|
+
custom_date?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare type WalletPassType = 'balance' | 'point' | 'voucher' | 'discount' | 'rechargeable';
|
|
18
|
+
export interface ShowcaseWalletPassItem {
|
|
19
|
+
type: WalletPassType;
|
|
20
|
+
display: 0 | 1;
|
|
21
|
+
name?: MultiLanguageTitle;
|
|
22
|
+
custom_title?: MultiLanguageTitle;
|
|
23
|
+
}
|
|
24
|
+
export interface SendConfig {
|
|
25
|
+
type: string;
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}
|
|
28
|
+
export interface WalletMetadata {
|
|
29
|
+
showcaseWalletPass?: string[];
|
|
30
|
+
showcaseWalletPassNew?: ShowcaseWalletPassItem[];
|
|
31
|
+
welcomeText?: string;
|
|
32
|
+
customerName?: string;
|
|
33
|
+
coverImage?: string;
|
|
34
|
+
send_config?: SendConfig;
|
|
35
|
+
}
|
|
36
|
+
export interface WalletEditorValue {
|
|
37
|
+
name?: MultiLanguageTitle;
|
|
38
|
+
status: 'enable' | 'disable';
|
|
39
|
+
valid_for: ValidForConfig;
|
|
40
|
+
metadata: WalletMetadata;
|
|
41
|
+
}
|
|
42
|
+
export interface WalletEditorRef {
|
|
43
|
+
form: FormInstance;
|
|
44
|
+
setInitialValues: (values: WalletEditorValue) => void;
|
|
45
|
+
getValues: () => WalletEditorValue;
|
|
46
|
+
}
|
|
47
|
+
export interface WalletEditorProps {
|
|
48
|
+
value?: WalletEditorValue;
|
|
49
|
+
onChange?: (value: WalletEditorValue) => void;
|
|
50
|
+
onValuesChange?: (changedValue: any, values: WalletEditorValue) => void;
|
|
51
|
+
disabled?: boolean;
|
|
52
|
+
className?: string;
|
|
53
|
+
style?: React.CSSProperties;
|
|
54
|
+
}
|
|
@@ -5,7 +5,6 @@ interface PassDetailProps {
|
|
|
5
5
|
platform?: 'pc' | 'h5';
|
|
6
6
|
buttonGroupList?: any[][];
|
|
7
7
|
showTimeLine?: boolean;
|
|
8
|
-
onDetailRefresh?: (passId: number | string, patch: any) => void;
|
|
9
8
|
onListRefresh?: () => void;
|
|
10
9
|
}
|
|
11
10
|
declare const PassDetail: (props: PassDetailProps) => React.JSX.Element | null;
|
|
@@ -41,7 +41,6 @@ var PassDetail = function PassDetail(props) {
|
|
|
41
41
|
platform = _props$platform === void 0 ? 'pc' : _props$platform,
|
|
42
42
|
_props$showTimeLine = props.showTimeLine,
|
|
43
43
|
showTimeLine = _props$showTimeLine === void 0 ? true : _props$showTimeLine,
|
|
44
|
-
onDetailRefresh = props.onDetailRefresh,
|
|
45
44
|
onListRefresh = props.onListRefresh;
|
|
46
45
|
var _useState = useState('detail'),
|
|
47
46
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -111,38 +110,15 @@ var PassDetail = function PassDetail(props) {
|
|
|
111
110
|
var _interaction$utils, _interaction$utils$mo;
|
|
112
111
|
interaction === null || interaction === void 0 || (_interaction$utils = interaction.utils) === null || _interaction$utils === void 0 || (_interaction$utils$mo = _interaction$utils.mountFunction) === null || _interaction$utils$mo === void 0 || _interaction$utils$mo.call(_interaction$utils, 'customer', 'recharge', /*#__PURE__*/function () {
|
|
113
112
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(strVal) {
|
|
114
|
-
var _getDetail$refreshAsy, latest, patch;
|
|
115
113
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
116
114
|
while (1) switch (_context.prev = _context.next) {
|
|
117
115
|
case 0:
|
|
118
|
-
if (strVal) {
|
|
119
|
-
_context.next = 2;
|
|
120
|
-
break;
|
|
121
|
-
}
|
|
122
116
|
return _context.abrupt("return", onListRefresh === null || onListRefresh === void 0 ? void 0 : onListRefresh());
|
|
123
|
-
case
|
|
124
|
-
_context.prev = 2;
|
|
125
|
-
_context.next = 5;
|
|
126
|
-
return (_getDetail$refreshAsy = _getDetail.refreshAsync) === null || _getDetail$refreshAsy === void 0 ? void 0 : _getDetail$refreshAsy.call(_getDetail);
|
|
127
|
-
case 5:
|
|
128
|
-
latest = _context.sent;
|
|
129
|
-
patch = {
|
|
130
|
-
balance: (latest === null || latest === void 0 ? void 0 : latest.balance) !== undefined ? latest.balance : balance !== null && balance !== void 0 ? balance : undefined,
|
|
131
|
-
expire_date: (latest === null || latest === void 0 ? void 0 : latest.expire_date) !== undefined ? latest.expire_date : expire_date !== null && expire_date !== void 0 ? expire_date : undefined,
|
|
132
|
-
unified_available_status: latest === null || latest === void 0 ? void 0 : latest.unified_available_status
|
|
133
|
-
};
|
|
134
|
-
onDetailRefresh === null || onDetailRefresh === void 0 || onDetailRefresh(id, patch);
|
|
135
|
-
_context.next = 13;
|
|
136
|
-
break;
|
|
137
|
-
case 10:
|
|
138
|
-
_context.prev = 10;
|
|
139
|
-
_context.t0 = _context["catch"](2);
|
|
140
|
-
console.error(_context.t0);
|
|
141
|
-
case 13:
|
|
117
|
+
case 1:
|
|
142
118
|
case "end":
|
|
143
119
|
return _context.stop();
|
|
144
120
|
}
|
|
145
|
-
}, _callee
|
|
121
|
+
}, _callee);
|
|
146
122
|
}));
|
|
147
123
|
return function (_x) {
|
|
148
124
|
return _ref4.apply(this, arguments);
|
|
@@ -6,7 +6,9 @@ import React from 'react';
|
|
|
6
6
|
import { Button, List } from 'antd';
|
|
7
7
|
import { PisellWalletPassCard } from '@pisell/materials';
|
|
8
8
|
import { locales } from '@pisell/utils';
|
|
9
|
+
import useEngineContext from "../../../../hooks/useEngineContext";
|
|
9
10
|
var PassList = function PassList(props) {
|
|
11
|
+
var _context$appHelper;
|
|
10
12
|
var _props$dataSource = props.dataSource,
|
|
11
13
|
dataSource = _props$dataSource === void 0 ? [] : _props$dataSource,
|
|
12
14
|
value = props.value,
|
|
@@ -17,6 +19,11 @@ var PassList = function PassList(props) {
|
|
|
17
19
|
onLoadMore = props.onLoadMore,
|
|
18
20
|
loading = props.loading,
|
|
19
21
|
onEditHolder = props.onEditHolder;
|
|
22
|
+
var context = useEngineContext();
|
|
23
|
+
var utils = (context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {};
|
|
24
|
+
var isTerminal = utils.isTerminal,
|
|
25
|
+
isApp = utils.isApp;
|
|
26
|
+
var isTerminalEnv = (typeof isTerminal === 'function' ? isTerminal() : !!isTerminal) || (isApp === null || isApp === void 0 ? void 0 : isApp());
|
|
20
27
|
var _loadMore = /*#__PURE__*/React.createElement("div", {
|
|
21
28
|
style: {
|
|
22
29
|
textAlign: 'center',
|
|
@@ -112,7 +119,7 @@ var PassList = function PassList(props) {
|
|
|
112
119
|
code: encoded,
|
|
113
120
|
validDate: expire_date,
|
|
114
121
|
holder: holder,
|
|
115
|
-
onSetHolder: function
|
|
122
|
+
onSetHolder: isTerminalEnv ? undefined : function () {
|
|
116
123
|
var _holder$metadata;
|
|
117
124
|
onEditHolder === null || onEditHolder === void 0 || onEditHolder({
|
|
118
125
|
wallet_pass_detail_id: id,
|
|
@@ -498,34 +498,6 @@ var WalletPassGallery = function WalletPassGallery(props) {
|
|
|
498
498
|
console.log('pass not found', passId);
|
|
499
499
|
}
|
|
500
500
|
};
|
|
501
|
-
var _handleDetailRefresh = function _handleDetailRefresh(passId, patch) {
|
|
502
|
-
if (_avaliable.find(function (item) {
|
|
503
|
-
return item.id === passId;
|
|
504
|
-
})) {
|
|
505
|
-
_getAvailableList.mutate(function (data) {
|
|
506
|
-
var newList = data.list.map(function (item) {
|
|
507
|
-
return item.id === passId ? _objectSpread(_objectSpread({}, item), patch) : item;
|
|
508
|
-
});
|
|
509
|
-
return _objectSpread(_objectSpread({}, data), {}, {
|
|
510
|
-
list: newList
|
|
511
|
-
});
|
|
512
|
-
});
|
|
513
|
-
return;
|
|
514
|
-
}
|
|
515
|
-
if (_unavailable.find(function (item) {
|
|
516
|
-
return item.id === passId;
|
|
517
|
-
})) {
|
|
518
|
-
_getUnavailableList.mutate(function (data) {
|
|
519
|
-
var newList = data.list.map(function (item) {
|
|
520
|
-
return item.id === passId ? _objectSpread(_objectSpread({}, item), patch) : item;
|
|
521
|
-
});
|
|
522
|
-
return _objectSpread(_objectSpread({}, data), {}, {
|
|
523
|
-
list: newList
|
|
524
|
-
});
|
|
525
|
-
});
|
|
526
|
-
return;
|
|
527
|
-
}
|
|
528
|
-
};
|
|
529
501
|
var _handleBindHolder = /*#__PURE__*/function () {
|
|
530
502
|
var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(holderId) {
|
|
531
503
|
var passId, res;
|
|
@@ -618,7 +590,6 @@ var WalletPassGallery = function WalletPassGallery(props) {
|
|
|
618
590
|
}, /*#__PURE__*/React.createElement(PassDetail, {
|
|
619
591
|
dataSource: _currentItem,
|
|
620
592
|
platform: platform,
|
|
621
|
-
onDetailRefresh: _handleDetailRefresh,
|
|
622
593
|
onListRefresh: listReload
|
|
623
594
|
})));
|
|
624
595
|
};
|
|
@@ -656,7 +627,6 @@ var WalletPassGallery = function WalletPassGallery(props) {
|
|
|
656
627
|
}, /*#__PURE__*/React.createElement(PassDetail, {
|
|
657
628
|
dataSource: _currentItem,
|
|
658
629
|
platform: platform,
|
|
659
|
-
onDetailRefresh: _handleDetailRefresh,
|
|
660
630
|
onListRefresh: listReload
|
|
661
631
|
})));
|
|
662
632
|
};
|
|
@@ -815,7 +785,6 @@ var WalletPassGallery = function WalletPassGallery(props) {
|
|
|
815
785
|
}, /*#__PURE__*/React.createElement(PassDetail, {
|
|
816
786
|
dataSource: _currentItem,
|
|
817
787
|
platform: platform,
|
|
818
|
-
onDetailRefresh: _handleDetailRefresh,
|
|
819
788
|
onListRefresh: listReload
|
|
820
789
|
})));
|
|
821
790
|
};
|