@pisell/private-materials 6.3.126 → 6.3.127
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 +2 -2
- package/build/lowcode/preview.js +151 -151
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +19 -11
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +19 -11
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Date/state.js +3 -1
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Form/index.js +53 -4
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/hooks.d.ts +1 -1
- package/es/components/appointmentBooking/hooks.js +96 -23
- package/es/components/appointmentBooking/locales.d.ts +240 -0
- package/es/components/appointmentBooking/locales.js +276 -0
- package/es/components/appointmentBooking/utils.d.ts +1 -0
- package/es/components/appointmentBooking/utils.js +25 -1
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +164 -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 +54 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +2 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +46 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +2 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +17 -9
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +16 -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 +42 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +2 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +17 -9
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +24 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +42 -0
- package/es/components/authentication/admin/CustomerAuth/locales.js +42 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +70 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +36 -0
- package/es/components/authentication/admin/DeviceAuth/locales.js +36 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +58 -0
- package/es/components/authentication/admin/OAuthConfig/locales.js +58 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +34 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +30 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +34 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/es/components/booking/components/footer/index.js +26 -20
- package/es/components/booking/components/footer/utils.js +24 -11
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/es/components/booking/editBookingModal/locales.d.ts +12 -0
- package/es/components/booking/editBookingModal/locales.js +12 -0
- package/es/components/booking/editBookingModal/mock.d.ts +186 -2
- package/es/components/booking/editBookingModal/mock.js +22 -0
- package/es/components/booking/forms/footer.d.ts +1 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/forms/single/index.d.ts +1 -0
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/hooks/useClearCart.d.ts +1 -1
- package/es/components/booking/hooks/useClearCart.js +39 -9
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/header/index.js +7 -7
- package/es/components/booking/info/header/index.less +5 -5
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- package/es/components/booking/info/service/index.less +4 -2
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info/service2/utils.js +43 -39
- package/es/components/booking/info2/service/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/mock.d.ts +2 -0
- package/es/components/booking/info2/service/addService/mock.js +4 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/es/components/booking/info2/service/editService/index.js +36 -6
- package/es/components/booking/info2/service/editService/utils.d.ts +15 -0
- package/es/components/booking/info2/service/editService/utils.js +76 -0
- package/es/components/booking/locales.d.ts +648 -0
- package/es/components/booking/locales.js +742 -0
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/materiels/holder/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.js +3 -2
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +10 -0
- package/es/components/{eftpos/PairModal → ecocup/components/AddCustomerModal}/index.js +159 -189
- package/es/components/ecocup/components/AddCustomerModal/index.less +9 -0
- package/es/components/ecocup/components/CupActionList/index.d.ts +14 -0
- package/es/components/ecocup/components/CupActionList/index.js +91 -0
- package/es/components/ecocup/components/CupActionList/index.less +102 -0
- package/es/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
- package/es/components/ecocup/components/CupActionModal/hooks.js +68 -0
- package/es/components/ecocup/components/CupActionModal/index.d.ts +15 -0
- package/es/components/ecocup/components/CupActionModal/index.js +92 -0
- package/es/components/ecocup/components/CupActionModal/index.less +38 -0
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +10 -0
- package/es/components/ecocup/components/CupInfoCard/index.js +14 -0
- package/es/components/ecocup/components/CupInfoCard/index.less +11 -0
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
- package/es/components/ecocup/components/CupStatusModal/hooks.js +176 -0
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +14 -0
- package/es/components/ecocup/components/CupStatusModal/index.js +281 -0
- package/es/components/ecocup/components/CupStatusModal/index.less +73 -0
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.js +133 -0
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +17 -0
- package/es/components/ecocup/components/CustomerAndCupModal/index.js +227 -0
- package/es/components/ecocup/components/CustomerAndCupModal/index.less +68 -0
- package/es/components/ecocup/components/CustomerCard/index.d.ts +9 -0
- package/es/components/ecocup/components/CustomerCard/index.js +37 -0
- package/es/components/ecocup/components/CustomerCard/index.less +50 -0
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +9 -0
- package/es/components/ecocup/components/MoreDropdown/index.js +33 -0
- package/es/components/ecocup/components/PageHeader/index.d.ts +9 -0
- package/es/components/ecocup/components/PageHeader/index.js +47 -0
- package/es/components/ecocup/components/PageHeader/index.less +31 -0
- package/es/components/ecocup/components/SearchBar/const.d.ts +4 -0
- package/es/components/ecocup/components/SearchBar/const.js +16 -0
- package/es/components/ecocup/components/SearchBar/hooks.d.ts +44 -0
- package/es/components/ecocup/components/SearchBar/hooks.js +184 -0
- package/es/components/ecocup/components/SearchBar/index.d.ts +14 -0
- package/es/components/ecocup/components/SearchBar/index.js +248 -0
- package/es/components/ecocup/components/SearchBar/index.less +88 -0
- package/es/components/ecocup/components/SettingModal/const.d.ts +6 -0
- package/es/components/ecocup/components/SettingModal/const.js +17 -0
- package/es/components/ecocup/components/SettingModal/index.d.ts +9 -0
- package/es/components/ecocup/components/SettingModal/index.js +253 -0
- package/es/components/ecocup/components/SettingModal/index.less +9 -0
- package/es/components/ecocup/cupList/const.d.ts +140 -0
- package/es/components/ecocup/cupList/const.js +319 -0
- package/es/components/ecocup/cupList/hooks/index.d.ts +4 -0
- package/es/components/ecocup/cupList/hooks/index.js +4 -0
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +45 -0
- package/es/components/ecocup/cupList/hooks/useColumns.js +166 -0
- package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +41 -0
- package/es/components/ecocup/cupList/hooks/useCupApi.js +312 -0
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +3 -0
- package/es/components/ecocup/cupList/hooks/useSummary.js +42 -0
- package/es/components/ecocup/cupList/index.d.ts +6 -0
- package/es/components/ecocup/cupList/index.js +268 -0
- package/es/components/ecocup/cupList/index.less +159 -0
- package/es/components/ecocup/cupProject/const.d.ts +7 -0
- package/es/components/ecocup/cupProject/const.js +33 -0
- package/es/components/ecocup/cupProject/index.d.ts +3 -0
- package/es/components/ecocup/cupProject/index.js +112 -0
- package/es/components/ecocup/cupProject/index.less +41 -0
- package/es/components/ecocup/customerList/const.d.ts +44 -0
- package/es/components/ecocup/customerList/const.js +67 -0
- package/es/components/ecocup/customerList/hooks/index.d.ts +3 -0
- package/es/components/ecocup/customerList/hooks/index.js +3 -0
- package/es/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
- package/es/components/ecocup/customerList/hooks/useColumns.js +44 -0
- package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
- package/es/components/ecocup/customerList/hooks/useCustomerApi.js +70 -0
- package/es/components/ecocup/customerList/index.d.ts +7 -0
- package/es/components/ecocup/customerList/index.js +127 -0
- package/es/components/ecocup/customerList/index.less +15 -0
- package/es/components/ecocup/hooks.d.ts +57 -0
- package/es/components/ecocup/hooks.js +168 -0
- package/es/components/ecocup/locales.d.ts +653 -0
- package/es/components/ecocup/locales.js +699 -0
- package/es/components/ecocup/types.d.ts +103 -0
- package/es/components/ecocup/types.js +36 -0
- package/es/components/ecocup/utils/download.d.ts +7 -0
- package/es/components/ecocup/utils/download.js +34 -0
- package/es/components/ecocup/utils/index.d.ts +2 -0
- package/es/components/ecocup/utils/index.js +2 -0
- package/es/components/ecocup/utils/scanListener.d.ts +20 -0
- package/es/components/ecocup/utils/scanListener.js +107 -0
- package/es/components/eftpos/const.d.ts +1 -3
- package/es/components/eftpos/const.js +0 -2
- package/es/components/eftpos/device.d.ts +1 -3
- package/es/components/eftpos/device.js +3 -9
- package/es/components/eftpos/deviceList/index.d.ts +1 -0
- package/es/components/eftpos/form/index.d.ts +1 -0
- package/es/components/eftpos/group/index.d.ts +1 -0
- package/es/components/eftpos/hooks.d.ts +1 -13
- package/es/components/eftpos/hooks.js +0 -35
- package/es/components/eftpos/icon/apiKey.d.ts +1 -0
- package/es/components/eftpos/icon/device.d.ts +1 -0
- package/es/components/eftpos/index.d.ts +1 -0
- package/es/components/eftpos/index.js +25 -184
- package/es/components/eftpos/index.less +1 -26
- package/es/components/eftpos/locales.d.ts +64 -39
- package/es/components/eftpos/locales.js +85 -104
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftpos/table.js +3 -47
- package/es/components/eftposPay/amount.js +15 -1
- package/es/components/eftposPay/app.js +2 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/fail/failCustom.js +28 -15
- package/es/components/eftposPay/component/fail/index.js +18 -9
- package/es/components/eftposPay/component/fail/network.js +3 -0
- package/es/components/eftposPay/component/fail/unknow.js +8 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/manual/index.js +15 -12
- package/es/components/eftposPay/component/signature/index.js +3 -0
- package/es/components/eftposPay/component/step/index.d.ts +1 -0
- package/es/components/eftposPay/component/step/step.d.ts +1 -0
- package/es/components/eftposPay/const.d.ts +2 -7
- package/es/components/eftposPay/const.js +0 -2
- package/es/components/eftposPay/device.js +221 -42
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/index.js +53 -12
- package/es/components/eftposPay/linkly/const.js +1 -1
- package/es/components/eftposPay/linkly/hooks/normal.js +21 -68
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +20 -81
- package/es/components/eftposPay/linkly/index.js +10 -24
- package/es/components/eftposPay/locales.d.ts +242 -9
- package/es/components/eftposPay/locales.js +328 -11
- package/es/components/eftposPay/manufacturer.d.ts +0 -1
- package/es/components/eftposPay/manufacturer.js +0 -4
- package/es/components/eftposPay/pay.js +16 -14
- package/es/components/eftposPay/payo/config.js +39 -5
- package/es/components/eftposPay/payo/const.js +1 -1
- package/es/components/eftposPay/payo/hooks.js +3 -12
- package/es/components/eftposPay/payo/payment.js +69 -136
- package/es/components/eftposPay/store/index.d.ts +8 -5
- package/es/components/eftposPay/tip.js +5 -0
- package/es/components/eftposPay/tyro/const.js +1 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/tyro/index.js +44 -11
- package/es/components/eftposPay/utils/payLog.d.ts +81 -0
- package/es/components/eftposPay/utils/payLog.js +430 -0
- package/es/components/eftposPay/windcave/const.js +1 -1
- package/es/components/eftposPay/windcave/receiptAction.js +5 -0
- package/es/components/eftposPay/windcave/windcave.js +37 -38
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -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/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- 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/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/es/components/eventBooking/locales.d.ts +162 -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/index.d.ts +1 -0
- package/es/components/login/locales.d.ts +14 -0
- package/es/components/login/locales.js +14 -0
- package/es/components/pay/toC/PaymentList/payment/google_pay.svg +26 -8
- package/es/components/pay/toC/PaymentList/payment/google_pay2.svg +9 -0
- package/es/components/pay/toC/PaymentList/serve.js +2 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.js +52 -44
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.js +51 -43
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.js +51 -43
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +65 -21
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +110 -9
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +46 -18
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +21 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +14 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +20 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +7 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +181 -61
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +47 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.d.ts +34 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.js +83 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.less +52 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +9 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.js +260 -33
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +25 -3
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +319 -131
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +17 -16
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +47 -42
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +18 -7
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +5 -6
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +7 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +18 -1
- package/es/components/pay/toC/PaymentMethods/index.js +128 -92
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pay/toC/index.js +57 -19
- package/es/components/pay/toC/locales.d.ts +324 -0
- package/es/components/pay/toC/locales.js +386 -12
- package/es/components/pay/toC/payGroup.d.ts +14 -3
- package/es/components/pay/toC/payGroup.js +174 -15
- package/es/components/pay/toC/serve.d.ts +25 -0
- package/es/components/pay/toC/serve.js +72 -3
- package/es/components/pay/toC/utils.d.ts +8 -0
- package/es/components/pay/toC/utils.js +15 -1
- package/es/components/pinModal/locales.d.ts +16 -0
- package/es/components/pinModal/locales.js +16 -0
- package/es/components/pinVerifyModal/locales.d.ts +14 -0
- package/es/components/pinVerifyModal/locales.js +14 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/locales.d.ts +52 -0
- package/es/components/pisellSelectCustomerModal/locales.js +52 -0
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/productExtension/locales.d.ts +30 -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 +20 -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/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/calendar/index.d.ts +1 -0
- package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/locales.d.ts +56 -0
- package/es/components/schedules/locales.js +56 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/es/components/schedules/products/list/index.d.ts +1 -0
- package/es/components/schedules/resources/index.d.ts +1 -0
- package/es/components/schedules/resources/list/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/schedules/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/index.less +1 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
- package/es/components/shoppingCart/hooks/useClearCart.js +41 -11
- package/es/components/shoppingCart/index.d.ts +1 -0
- package/es/components/shoppingCart/locales.d.ts +20 -0
- package/es/components/shoppingCart/locales.js +24 -0
- package/es/components/stepController/locales.d.ts +16 -0
- package/es/components/stepController/locales.js +20 -0
- package/es/components/subTotal/locales.d.ts +26 -0
- package/es/components/subTotal/locales.js +26 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +58 -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 +251 -47
- 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 +262 -0
- package/es/components/systemSettings/registry/locales.js +274 -3
- package/es/components/systemSettings/registry/services.d.ts +20 -0
- package/es/components/systemSettings/registry/types.d.ts +16 -2
- package/es/components/taxSelect/locales.d.ts +14 -0
- package/es/components/taxSelect/locales.js +14 -0
- package/es/components/ticketBooking/locales.d.ts +130 -0
- package/es/components/ticketBooking/locales.js +156 -0
- package/es/components/ticketBooking/utils/formatTime.d.ts +2 -0
- package/es/components/ticketBooking/utils/formatTime.js +8 -2
- package/es/components/wallet/utils.d.ts +1 -1
- package/es/components/walletList/index.js +10 -0
- package/es/components/walletList/locales.d.ts +16 -0
- package/es/components/walletList/locales.js +16 -0
- package/es/components/walletList/types/index.d.ts +2 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/hooks/useEngineContext.d.ts +1 -0
- package/es/hooks/useEngineContext.js +7 -0
- package/es/hooks/useLocale.js +8 -1
- package/es/hooks/usePaymentLogger.d.ts +1 -0
- package/es/hooks/useThemeTokens.d.ts +7 -0
- package/es/hooks/useThemeTokens.js +20 -0
- package/es/hooks/useTranslationOriginal.d.ts +1 -0
- package/es/hooks/useTranslationOriginal.js +10 -0
- package/es/index.d.ts +16 -3
- package/es/index.js +13 -1
- package/es/plus/clientCard/index.d.ts +7 -0
- package/es/plus/clientCard/index.js +462 -0
- package/es/plus/clientCard/index.less +515 -0
- package/es/plus/clientCard/line/index.d.ts +9 -0
- package/es/plus/clientCard/line/index.js +157 -0
- package/es/plus/clientCard/line/index.less +142 -0
- package/es/plus/clientCard/locales.d.ts +28 -0
- package/es/plus/clientCard/locales.js +27 -0
- package/es/plus/clientCard/types.d.ts +135 -0
- package/es/plus/clientCard/types.js +1 -0
- package/es/plus/clientCard/utils.d.ts +8 -0
- package/es/plus/clientCard/utils.js +59 -0
- package/es/plus/clientName/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +3 -0
- package/es/plus/clinetSearch/Add/BirthdayField/index.js +277 -0
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +3 -0
- package/es/plus/clinetSearch/Add/GenderField/index.js +18 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +3 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.js +52 -0
- package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
- package/es/plus/clinetSearch/Add/PhoneField/serve.js +166 -0
- package/es/plus/clinetSearch/Add/index.d.ts +18 -0
- package/es/plus/clinetSearch/Add/index.js +213 -0
- package/es/plus/clinetSearch/Add/index.less +30 -0
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +265 -0
- package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
- package/es/plus/clinetSearch/InfiniteScroll/index.js +1 -0
- package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
- package/es/plus/clinetSearch/InfiniteScroll/types.js +1 -0
- package/es/plus/clinetSearch/index.d.ts +18 -0
- package/es/plus/clinetSearch/index.js +234 -0
- package/es/plus/clinetSearch/index.less +95 -0
- package/es/plus/clinetSearch/locales.d.ts +178 -0
- package/es/plus/clinetSearch/locales.js +177 -0
- package/es/plus/clinetSearch/serve.d.ts +1 -0
- package/es/plus/clinetSearch/serve.js +31 -0
- package/es/plus/clinetSearch/types.d.ts +70 -0
- package/es/plus/clinetSearch/types.js +1 -0
- package/es/plus/contactInfo/components/SwipeAction/index.js +1 -1
- package/es/plus/contactInfo/locales.d.ts +8 -0
- package/es/plus/contactInfo/locales.js +8 -0
- package/es/plus/contactInfoModal/locales.d.ts +42 -0
- package/es/plus/contactInfoModal/locales.js +42 -0
- package/es/plus/orderList/components/BatchActionBar.d.ts +9 -0
- package/es/plus/orderList/components/BatchActionBar.js +835 -0
- package/es/plus/orderList/components/FilterList.d.ts +8 -0
- package/es/plus/orderList/components/FilterList.js +78 -0
- package/es/plus/orderList/components/HandleActions.d.ts +6 -0
- package/es/plus/orderList/components/HandleActions.js +27 -0
- package/es/plus/orderList/components/QuickFilter.d.ts +5 -0
- package/es/plus/orderList/components/QuickFilter.js +14 -0
- package/es/plus/orderList/components/Reset.d.ts +7 -0
- package/es/plus/orderList/components/Reset.js +23 -0
- package/es/plus/orderList/components/Toolbar.d.ts +7 -0
- package/es/plus/orderList/components/Toolbar.js +59 -0
- package/es/plus/orderList/config.d.ts +154 -0
- package/es/plus/orderList/config.js +786 -0
- package/es/plus/orderList/index.d.ts +10 -0
- package/es/plus/orderList/index.js +133 -0
- package/es/plus/orderList/index.less +125 -0
- package/es/plus/orderList/locales.d.ts +618 -0
- package/es/plus/orderList/locales.js +733 -0
- package/es/plus/orderList/serve.d.ts +42 -0
- package/es/plus/orderList/serve.js +351 -0
- package/es/plus/pisellSalesGrid/PisellSalesGrid.d.ts +5 -0
- package/es/plus/pisellSalesGrid/PisellSalesGrid.js +363 -0
- package/es/plus/pisellSalesGrid/PisellSalesGrid.less +16 -0
- package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
- package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.js +559 -0
- package/es/plus/pisellSalesGrid/hooks/useActions.d.ts +19 -0
- package/es/plus/pisellSalesGrid/hooks/useActions.js +723 -0
- package/es/plus/pisellSalesGrid/index.d.ts +4 -0
- package/es/plus/pisellSalesGrid/index.js +3 -0
- package/es/plus/pisellSalesGrid/locales.d.ts +9 -0
- package/es/plus/pisellSalesGrid/locales.js +8 -0
- package/es/plus/pisellSalesGrid/serve.d.ts +19 -0
- package/es/plus/pisellSalesGrid/serve.js +151 -0
- package/es/plus/pisellSalesGrid/types.d.ts +170 -0
- package/es/plus/pisellSalesGrid/types.js +1 -0
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +14 -0
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.js +221 -0
- package/es/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +19 -0
- package/es/plus/pisellSalesManagement/components/BookingNotesPreview.js +167 -0
- package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
- package/es/plus/pisellSalesManagement/components/ResourceSelector.js +102 -0
- package/es/plus/pisellSalesManagement/config/booking.d.ts +185 -0
- package/es/plus/pisellSalesManagement/config/booking.js +380 -0
- package/es/plus/pisellSalesManagement/config/index.d.ts +2 -0
- package/es/plus/pisellSalesManagement/config/index.js +11 -0
- package/es/plus/pisellSalesManagement/config/order.d.ts +172 -0
- package/es/plus/pisellSalesManagement/config/order.js +460 -0
- package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
- package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.js +66 -0
- package/es/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +2 -0
- package/es/plus/pisellSalesManagement/hooks/useBookingPerspective.js +651 -0
- package/es/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +2 -0
- package/es/plus/pisellSalesManagement/hooks/useOrderPerspective.js +656 -0
- package/es/plus/pisellSalesManagement/hooks/usePerspectives.d.ts +5 -0
- package/es/plus/pisellSalesManagement/hooks/usePerspectives.js +12 -0
- package/es/plus/pisellSalesManagement/index.d.ts +10 -0
- package/es/plus/pisellSalesManagement/index.js +84 -0
- package/es/plus/pisellSalesManagement/locales.d.ts +303 -0
- package/es/plus/pisellSalesManagement/locales.js +302 -0
- package/es/plus/pisellSalesManagement/serve.d.ts +26 -0
- package/es/plus/pisellSalesManagement/serve.js +222 -0
- package/es/plus/productSelect/components/pisellPriceText/index.js +8 -4
- package/es/plus/productSelect/locales.d.ts +20 -0
- package/es/plus/productSelect/locales.js +23 -3
- package/es/plus/saasAttendance/index.d.ts +6 -0
- package/es/plus/saasAttendance/index.js +5 -0
- package/es/plus/saasAttendance/locales.d.ts +591 -0
- package/es/plus/saasAttendance/locales.js +657 -0
- package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
- package/es/plus/saasAttendance/settings/BasicInfoTab.js +96 -0
- package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
- package/es/plus/saasAttendance/settings/ClockInMethodTab.js +81 -0
- package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
- package/es/plus/saasAttendance/settings/CorrectionPolicyTab.js +293 -0
- package/es/plus/saasAttendance/settings/PermissonTab.d.ts +5 -0
- package/es/plus/saasAttendance/settings/PermissonTab.js +79 -0
- package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
- package/es/plus/saasAttendance/settings/ShiftScheduleTab.js +115 -0
- package/es/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
- package/es/plus/saasAttendance/settings/components/MapField.js +848 -0
- package/es/plus/saasAttendance/settings/components/index.d.ts +3 -0
- package/es/plus/saasAttendance/settings/components/index.js +2 -0
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
- package/es/plus/saasAttendance/settings/components/membersField/index.js +216 -0
- package/es/plus/saasAttendance/settings/components/membersField/index.less +70 -0
- package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +7 -0
- package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +149 -0
- package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +119 -0
- package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
- package/es/plus/saasAttendance/settings/components/shiftModal/index.js +438 -0
- package/es/plus/saasAttendance/settings/index.d.ts +18 -0
- package/es/plus/saasAttendance/settings/index.js +262 -0
- package/es/plus/saasAttendance/settings/index.less +510 -0
- package/es/plus/saasAttendance/settings/serve.d.ts +27 -0
- package/es/plus/saasAttendance/settings/serve.js +83 -0
- package/es/plus/saasAttendance/settings/types.d.ts +136 -0
- package/es/plus/saasAttendance/settings/types.js +1 -0
- package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/es/plus/saasCreateOrganization/locales.d.ts +8 -0
- package/es/plus/saasCreateOrganization/locales.js +8 -0
- package/es/plus/saasLogin/locales.d.ts +32 -0
- package/es/plus/saasLogin/locales.js +32 -0
- package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/es/plus/saasRegister/components/Header.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/es/plus/saasRegister/locales.d.ts +76 -0
- package/es/plus/saasRegister/locales.js +76 -0
- package/es/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
- package/es/plus/saasRole/components/PermissionManager/index.js +211 -0
- package/es/plus/saasRole/components/PermissionManager/index.less +71 -0
- package/es/plus/saasRole/index.d.ts +14 -0
- package/es/plus/saasRole/index.js +1036 -0
- package/es/plus/saasRole/index.less +196 -0
- package/es/plus/saasRole/locales.d.ts +319 -0
- package/es/plus/saasRole/locales.js +319 -0
- package/es/plus/saasRole/serve.d.ts +72 -0
- package/es/plus/saasRole/serve.js +304 -0
- package/es/plus/saasRole/types.d.ts +177 -0
- package/es/plus/saasRole/types.js +1 -0
- package/es/plus/saasRole/utils.d.ts +0 -0
- package/es/plus/saasRole/utils.js +0 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.js +503 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.js +634 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.less +178 -0
- package/es/plus/saasTeamMembers/index.d.ts +5 -0
- package/es/plus/saasTeamMembers/index.js +529 -0
- package/es/plus/saasTeamMembers/index.less +87 -0
- package/es/plus/saasTeamMembers/locales.d.ts +546 -0
- package/es/plus/saasTeamMembers/locales.js +591 -0
- package/es/plus/saasTeamMembers/serve.d.ts +95 -0
- package/es/plus/saasTeamMembers/serve.js +374 -0
- package/es/plus/saasTeamMembers/type.d.ts +158 -0
- package/es/plus/saasTeamMembers/type.js +1 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/plus/selectHolder/locales.d.ts +14 -0
- package/es/plus/selectHolder/locales.js +18 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.js +16 -8
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.js +6 -2
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.js +3 -2
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.less +22 -7
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.js +7 -10
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/index.js +4 -3
- package/es/plus/skuOptionsSelection/locales.d.ts +25 -0
- package/es/plus/skuOptionsSelection/locales.js +28 -3
- package/es/plus/skuOptionsSelection/store/store.js +2 -1
- package/es/plus/skuOptionsSelection/types.d.ts +29 -0
- package/es/plus/skuOptionsSelection/types.js +4 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +11 -2
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.js +11 -2
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +28 -8
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +49 -58
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +9 -3
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- 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 +88 -0
- package/es/plus/walletEditor/locales.js +100 -0
- package/es/plus/walletEditor/types.d.ts +2 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +80 -39
- package/es/plus/walletPassGallery/components/passList/index.js +12 -4
- package/es/plus/walletPassGallery/components/recharge/index.js +13 -5
- package/es/plus/walletPassGallery/components/recharge/index.less +70 -1
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +3 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.js +19 -2
- package/es/plus/walletPassGallery/index.d.ts +4 -0
- package/es/plus/walletPassGallery/index.js +95 -46
- package/es/plus/walletPassGallery/locales.d.ts +198 -0
- package/es/plus/walletPassGallery/locales.js +216 -3
- package/es/plus/walletPassGallery/serve.d.ts +3 -1
- package/es/plus/walletPassGallery/serve.js +13 -13
- package/es/plus/walletPassGallery/utils.d.ts +1 -1
- package/es/pro/Cards/components/SKUCard/index.d.ts +1 -56
- package/es/pro/Cards/components/SKUCard/index.js +53 -20
- package/es/pro/Cards/components/SKUCard/index.less +41 -5
- package/es/pro/Cards/components/SKUCard/locales.d.ts +12 -0
- package/es/pro/Cards/components/SKUCard/locales.js +11 -0
- package/es/pro/Cards/components/SKUCard/types.d.ts +73 -0
- package/es/pro/Cards/components/SKUCard/types.js +1 -0
- package/es/pro/Login2.0/Login2.js +8 -8
- package/es/pro/Login2.0/components/phoneValidation.js +65 -58
- package/es/pro/Login2.0/locales.d.ts +365 -0
- package/es/pro/Login2.0/locales.js +365 -0
- package/es/pro/Login2.0/shared/types.d.ts +2 -0
- package/es/pro/NumericStepper/index.d.ts +33 -3
- package/es/pro/NumericStepper/index.js +181 -107
- package/es/pro/NumericStepper/index.less +287 -143
- package/es/pro/Selector/BatchSelectorDemo.js +2 -12
- package/es/pro/Selector/Selector.js +39 -30
- package/es/pro/Selector/SelectorGroup.d.ts +1 -1
- package/es/pro/Selector/SelectorGroup.js +5 -1
- package/es/pro/Selector/components/Card/index.js +11 -10
- package/es/pro/Selector/components/Card/index.less +30 -14
- package/es/pro/Selector/components/Indicator/index.d.ts +1 -0
- package/es/pro/Selector/components/Indicator/index.js +3 -2
- package/es/pro/Selector/components/Indicator/index.less +16 -13
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +5 -3
- package/es/pro/Selector/components/LayoutContainer/index.js +226 -9
- package/es/pro/Selector/components/LayoutContainer/index.less +19 -0
- package/es/pro/Selector/components/Media/index.d.ts +1 -1
- package/es/pro/Selector/components/Media/index.less +1 -1
- package/es/pro/Selector/demo.d.ts +1 -0
- package/es/pro/Selector/demo.js +1 -1
- package/es/pro/Selector/hooks/usePresetItemProps.js +2 -0
- package/es/pro/Selector/hooks/usePresetProps.js +60 -6
- package/es/pro/Selector/locales.d.ts +22 -0
- package/es/pro/Selector/locales.js +58 -0
- package/es/pro/Selector/selector.less +0 -64
- package/es/pro/Selector/selectorGroup.less +9 -1
- package/es/pro/Selector/types.d.ts +50 -0
- package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +11 -0
- package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.js +54 -0
- package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.less +28 -0
- package/es/pro/comprehensiveSearch/components/index.d.ts +2 -0
- package/es/pro/comprehensiveSearch/components/index.js +2 -0
- package/es/pro/comprehensiveSearch/components/searchSection/index.d.ts +24 -0
- package/es/pro/comprehensiveSearch/components/searchSection/index.js +141 -0
- package/es/pro/comprehensiveSearch/components/searchSection/index.less +100 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.js +22 -0
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.js +24 -0
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +44 -0
- package/es/pro/comprehensiveSearch/index.d.ts +7 -0
- package/es/pro/comprehensiveSearch/index.js +207 -0
- package/es/pro/comprehensiveSearch/index.less +196 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/es/pro/comprehensiveSearch/locales.js +22 -0
- package/es/pro/comprehensiveSearch/types.d.ts +32 -0
- package/es/pro/comprehensiveSearch/types.js +1 -0
- package/es/pro/keyboards/index.d.ts +2 -0
- package/es/pro/keyboards/index.js +1 -0
- package/es/pro/keyboards/locales.d.ts +38 -0
- package/es/pro/keyboards/locales.js +57 -0
- package/es/pro/keyboards/numberKeyboard/index.d.ts +16 -0
- package/es/pro/keyboards/numberKeyboard/index.js +523 -0
- package/es/pro/keyboards/numberKeyboard/index.less +59 -0
- package/es/pro/keyboards/numberKeyboard/types.d.ts +63 -0
- package/es/pro/keyboards/numberKeyboard/types.js +1 -0
- package/es/pro/numberKeyboard/locales.d.ts +6 -0
- package/es/pro/numberKeyboard/locales.js +6 -0
- package/es/pro/pisellPaymentList/example.d.ts +1 -0
- package/es/pro/pisellPhoneKeyboard/index.d.ts +13 -0
- package/es/pro/pisellPhoneKeyboard/index.js +210 -0
- package/es/pro/pisellPhoneKeyboard/index.less +157 -0
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/es/pro/pisellPhoneKeyboard/locales.js +17 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Date/state.js +3 -1
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Form/index.js +25 -2
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/hooks.d.ts +1 -1
- package/lib/components/appointmentBooking/hooks.js +92 -44
- package/lib/components/appointmentBooking/locales.d.ts +240 -0
- package/lib/components/appointmentBooking/locales.js +240 -0
- package/lib/components/appointmentBooking/utils.d.ts +1 -0
- package/lib/components/appointmentBooking/utils.js +31 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +164 -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 +54 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +2 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +46 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +2 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +14 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +16 -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 +42 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +2 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +14 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +24 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +42 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.js +42 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +70 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +36 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.js +36 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +58 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.js +58 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +34 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +30 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +34 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/lib/components/booking/components/footer/index.js +5 -0
- package/lib/components/booking/components/footer/utils.js +15 -3
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/lib/components/booking/editBookingModal/locales.d.ts +12 -0
- package/lib/components/booking/editBookingModal/locales.js +12 -0
- package/lib/components/booking/editBookingModal/mock.d.ts +186 -2
- package/lib/components/booking/editBookingModal/mock.js +22 -0
- package/lib/components/booking/forms/footer.d.ts +1 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/forms/single/index.d.ts +1 -0
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -1
- package/lib/components/booking/hooks/useClearCart.js +28 -6
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/header/index.js +7 -7
- package/lib/components/booking/info/header/index.less +5 -5
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info/service/index.less +4 -2
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info/service2/utils.js +15 -13
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/mock.d.ts +2 -0
- package/lib/components/booking/info2/service/addService/mock.js +4 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/lib/components/booking/info2/service/editService/index.js +24 -1
- package/lib/components/booking/info2/service/editService/utils.d.ts +15 -0
- package/lib/components/booking/info2/service/editService/utils.js +38 -2
- package/lib/components/booking/locales.d.ts +648 -0
- package/lib/components/booking/locales.js +700 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/materiels/holder/index.d.ts +1 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.js +2 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +10 -0
- package/lib/components/ecocup/components/AddCustomerModal/index.js +212 -0
- package/lib/components/ecocup/components/AddCustomerModal/index.less +9 -0
- package/lib/components/ecocup/components/CupActionList/index.d.ts +14 -0
- package/lib/components/ecocup/components/CupActionList/index.js +116 -0
- package/lib/components/ecocup/components/CupActionList/index.less +102 -0
- package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
- package/lib/components/ecocup/components/CupActionModal/hooks.js +55 -0
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +15 -0
- package/lib/components/ecocup/components/CupActionModal/index.js +125 -0
- package/lib/components/ecocup/components/CupActionModal/index.less +38 -0
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +10 -0
- package/lib/components/ecocup/components/CupInfoCard/index.js +43 -0
- package/lib/components/ecocup/components/CupInfoCard/index.less +11 -0
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
- package/lib/components/ecocup/components/CupStatusModal/hooks.js +115 -0
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +14 -0
- package/lib/components/ecocup/components/CupStatusModal/index.js +221 -0
- package/lib/components/ecocup/components/CupStatusModal/index.less +73 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.js +89 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +17 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/index.js +178 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/index.less +68 -0
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +9 -0
- package/lib/components/ecocup/components/CustomerCard/index.js +58 -0
- package/lib/components/ecocup/components/CustomerCard/index.less +50 -0
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +9 -0
- package/lib/components/ecocup/components/MoreDropdown/index.js +68 -0
- package/lib/components/ecocup/components/PageHeader/index.d.ts +9 -0
- package/lib/components/ecocup/components/PageHeader/index.js +66 -0
- package/lib/components/ecocup/components/PageHeader/index.less +31 -0
- package/lib/components/ecocup/components/SearchBar/const.d.ts +4 -0
- package/lib/components/ecocup/components/SearchBar/const.js +50 -0
- package/lib/components/ecocup/components/SearchBar/hooks.d.ts +44 -0
- package/lib/components/ecocup/components/SearchBar/hooks.js +135 -0
- package/lib/components/ecocup/components/SearchBar/index.d.ts +14 -0
- package/lib/components/ecocup/components/SearchBar/index.js +226 -0
- package/lib/components/ecocup/components/SearchBar/index.less +88 -0
- package/lib/components/ecocup/components/SettingModal/const.d.ts +6 -0
- package/lib/components/ecocup/components/SettingModal/const.js +48 -0
- package/lib/components/ecocup/components/SettingModal/index.d.ts +9 -0
- package/lib/components/ecocup/components/SettingModal/index.js +199 -0
- package/lib/components/ecocup/components/SettingModal/index.less +9 -0
- package/lib/components/ecocup/cupList/const.d.ts +140 -0
- package/lib/components/ecocup/cupList/const.js +344 -0
- package/lib/components/ecocup/cupList/hooks/index.d.ts +4 -0
- package/lib/components/ecocup/cupList/hooks/index.js +43 -0
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +45 -0
- package/lib/components/ecocup/cupList/hooks/useColumns.js +200 -0
- package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +41 -0
- package/lib/components/ecocup/cupList/hooks/useCupApi.js +227 -0
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +3 -0
- package/lib/components/ecocup/cupList/hooks/useSummary.js +83 -0
- package/lib/components/ecocup/cupList/index.d.ts +6 -0
- package/lib/components/ecocup/cupList/index.js +262 -0
- package/lib/components/ecocup/cupList/index.less +159 -0
- package/lib/components/ecocup/cupProject/const.d.ts +7 -0
- package/lib/components/ecocup/cupProject/const.js +65 -0
- package/lib/components/ecocup/cupProject/index.d.ts +3 -0
- package/lib/components/ecocup/cupProject/index.js +135 -0
- package/lib/components/ecocup/cupProject/index.less +41 -0
- package/lib/components/ecocup/customerList/const.d.ts +44 -0
- package/lib/components/ecocup/customerList/const.js +93 -0
- package/lib/components/ecocup/customerList/hooks/index.d.ts +3 -0
- package/lib/components/ecocup/customerList/hooks/index.js +32 -0
- package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
- package/lib/components/ecocup/customerList/hooks/useColumns.js +89 -0
- package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
- package/lib/components/ecocup/customerList/hooks/useCustomerApi.js +56 -0
- package/lib/components/ecocup/customerList/index.d.ts +7 -0
- package/lib/components/ecocup/customerList/index.js +138 -0
- package/lib/components/ecocup/customerList/index.less +15 -0
- package/lib/components/ecocup/hooks.d.ts +57 -0
- package/lib/components/ecocup/hooks.js +169 -0
- package/lib/components/ecocup/locales.d.ts +653 -0
- package/lib/components/ecocup/locales.js +706 -0
- package/lib/components/ecocup/types.d.ts +103 -0
- package/lib/components/ecocup/types.js +57 -0
- package/lib/components/ecocup/utils/download.d.ts +7 -0
- package/lib/components/ecocup/utils/download.js +47 -0
- package/lib/components/ecocup/utils/index.d.ts +2 -0
- package/lib/components/{eftposPay/aggregatePayment → ecocup/utils}/index.js +10 -13
- package/lib/components/ecocup/utils/scanListener.d.ts +20 -0
- package/lib/components/ecocup/utils/scanListener.js +90 -0
- package/lib/components/eftpos/const.d.ts +1 -3
- package/lib/components/eftpos/const.js +0 -2
- package/lib/components/eftpos/device.d.ts +1 -3
- package/lib/components/eftpos/device.js +3 -14
- package/lib/components/eftpos/deviceList/index.d.ts +1 -0
- package/lib/components/eftpos/form/index.d.ts +1 -0
- package/lib/components/eftpos/group/index.d.ts +1 -0
- package/lib/components/eftpos/hooks.d.ts +1 -13
- package/lib/components/eftpos/hooks.js +0 -30
- package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
- package/lib/components/eftpos/icon/device.d.ts +1 -0
- package/lib/components/eftpos/index.d.ts +1 -0
- package/lib/components/eftpos/index.js +8 -106
- package/lib/components/eftpos/index.less +1 -26
- package/lib/components/eftpos/locales.d.ts +64 -39
- package/lib/components/eftpos/locales.js +78 -101
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftpos/table.js +2 -30
- package/lib/components/eftposPay/amount.js +13 -1
- package/lib/components/eftposPay/app.js +2 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/failCustom.js +24 -10
- package/lib/components/eftposPay/component/fail/index.js +14 -3
- package/lib/components/eftposPay/component/fail/network.js +3 -0
- package/lib/components/eftposPay/component/fail/unknow.js +8 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/manual/index.js +12 -9
- package/lib/components/eftposPay/component/signature/index.js +3 -0
- package/lib/components/eftposPay/component/step/index.d.ts +1 -0
- package/lib/components/eftposPay/component/step/step.d.ts +1 -0
- package/lib/components/eftposPay/const.d.ts +2 -7
- package/lib/components/eftposPay/const.js +0 -2
- package/lib/components/eftposPay/device.js +95 -12
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/index.js +41 -12
- package/lib/components/eftposPay/linkly/const.js +1 -1
- package/lib/components/eftposPay/linkly/hooks/normal.js +22 -43
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +13 -65
- package/lib/components/eftposPay/linkly/index.js +7 -11
- package/lib/components/eftposPay/locales.d.ts +242 -9
- package/lib/components/eftposPay/locales.js +252 -11
- package/lib/components/eftposPay/manufacturer.d.ts +0 -1
- package/lib/components/eftposPay/manufacturer.js +0 -6
- package/lib/components/eftposPay/pay.js +11 -5
- package/lib/components/eftposPay/payo/config.js +16 -8
- package/lib/components/eftposPay/payo/const.js +1 -1
- package/lib/components/eftposPay/payo/hooks.js +12 -10
- package/lib/components/eftposPay/payo/payment.js +31 -65
- package/lib/components/eftposPay/store/index.d.ts +8 -5
- package/lib/components/eftposPay/tip.js +5 -0
- package/lib/components/eftposPay/tyro/const.js +1 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/tyro/index.js +21 -17
- package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
- package/lib/components/eftposPay/utils/payLog.js +320 -0
- package/lib/components/eftposPay/windcave/const.js +1 -1
- package/lib/components/eftposPay/windcave/receiptAction.js +5 -0
- package/lib/components/eftposPay/windcave/windcave.js +27 -29
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -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/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- 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/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/lib/components/eventBooking/locales.d.ts +162 -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/index.d.ts +1 -0
- package/lib/components/login/locales.d.ts +14 -0
- package/lib/components/login/locales.js +14 -0
- package/lib/components/pay/toC/PaymentList/payment/google_pay.svg +26 -8
- package/lib/components/pay/toC/PaymentList/payment/google_pay2.svg +9 -0
- package/lib/components/pay/toC/PaymentList/serve.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.js +7 -3
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.js +7 -3
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.js +7 -3
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +40 -17
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +110 -9
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +32 -12
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +21 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +8 -2
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +20 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +7 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +115 -29
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +47 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.d.ts +34 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.js +107 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.less +52 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +9 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.js +155 -5
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +25 -3
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +126 -40
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +3 -3
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +3 -3
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +7 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +4 -5
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +7 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +16 -0
- package/lib/components/pay/toC/PaymentMethods/index.js +29 -19
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pay/toC/index.js +39 -4
- package/lib/components/pay/toC/locales.d.ts +324 -0
- package/lib/components/pay/toC/locales.js +336 -12
- package/lib/components/pay/toC/payGroup.d.ts +14 -3
- package/lib/components/pay/toC/payGroup.js +60 -4
- package/lib/components/pay/toC/serve.d.ts +25 -0
- package/lib/components/pay/toC/serve.js +23 -3
- package/lib/components/pay/toC/utils.d.ts +8 -0
- package/lib/components/pay/toC/utils.js +22 -1
- package/lib/components/pinModal/locales.d.ts +16 -0
- package/lib/components/pinModal/locales.js +16 -0
- package/lib/components/pinVerifyModal/locales.d.ts +14 -0
- package/lib/components/pinVerifyModal/locales.js +14 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +52 -0
- package/lib/components/pisellSelectCustomerModal/locales.js +52 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/productExtension/locales.d.ts +30 -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 +20 -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/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/calendar/index.d.ts +1 -0
- package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/locales.d.ts +56 -0
- package/lib/components/schedules/locales.js +56 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/lib/components/schedules/products/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/index.d.ts +1 -0
- package/lib/components/schedules/resources/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/schedules/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/index.less +1 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
- package/lib/components/shoppingCart/hooks/useClearCart.js +42 -11
- package/lib/components/shoppingCart/index.d.ts +1 -0
- package/lib/components/shoppingCart/locales.d.ts +20 -0
- package/lib/components/shoppingCart/locales.js +20 -0
- package/lib/components/stepController/locales.d.ts +16 -0
- package/lib/components/stepController/locales.js +16 -0
- package/lib/components/subTotal/locales.d.ts +26 -0
- package/lib/components/subTotal/locales.js +26 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +58 -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 +347 -224
- 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 +262 -0
- package/lib/components/systemSettings/registry/locales.js +274 -3
- package/lib/components/systemSettings/registry/services.d.ts +20 -0
- package/lib/components/systemSettings/registry/types.d.ts +16 -2
- package/lib/components/taxSelect/locales.d.ts +14 -0
- package/lib/components/taxSelect/locales.js +14 -0
- package/lib/components/ticketBooking/locales.d.ts +130 -0
- package/lib/components/ticketBooking/locales.js +136 -0
- package/lib/components/ticketBooking/utils/formatTime.d.ts +2 -0
- package/lib/components/ticketBooking/utils/formatTime.js +8 -2
- package/lib/components/wallet/utils.d.ts +1 -1
- package/lib/components/walletList/index.js +10 -0
- package/lib/components/walletList/locales.d.ts +16 -0
- package/lib/components/walletList/locales.js +16 -0
- package/lib/components/walletList/types/index.d.ts +2 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/hooks/useEngineContext.d.ts +1 -0
- package/lib/hooks/useEngineContext.js +10 -2
- package/lib/hooks/useLocale.js +7 -2
- package/lib/hooks/usePaymentLogger.d.ts +1 -0
- package/lib/hooks/useThemeTokens.d.ts +7 -0
- package/lib/hooks/useThemeTokens.js +40 -0
- package/lib/hooks/useTranslationOriginal.d.ts +1 -0
- package/lib/hooks/useTranslationOriginal.js +42 -0
- package/lib/index.d.ts +16 -3
- package/lib/index.js +39 -3
- package/lib/plus/clientCard/index.d.ts +7 -0
- package/lib/plus/clientCard/index.js +457 -0
- package/lib/plus/clientCard/index.less +515 -0
- package/lib/plus/clientCard/line/index.d.ts +9 -0
- package/lib/plus/clientCard/line/index.js +153 -0
- package/lib/plus/clientCard/line/index.less +142 -0
- package/lib/plus/clientCard/locales.d.ts +28 -0
- package/lib/plus/clientCard/locales.js +51 -0
- package/lib/plus/clientCard/types.d.ts +135 -0
- package/lib/plus/clientCard/types.js +17 -0
- package/lib/plus/clientCard/utils.d.ts +8 -0
- package/lib/plus/clientCard/utils.js +75 -0
- package/lib/plus/clientName/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +3 -0
- package/lib/plus/clinetSearch/Add/BirthdayField/index.js +256 -0
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +3 -0
- package/lib/plus/clinetSearch/Add/GenderField/index.js +52 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +3 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.js +78 -0
- package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
- package/lib/plus/clinetSearch/Add/PhoneField/serve.js +193 -0
- package/lib/plus/clinetSearch/Add/index.d.ts +18 -0
- package/lib/plus/clinetSearch/Add/index.js +244 -0
- package/lib/plus/clinetSearch/Add/index.less +30 -0
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +235 -0
- package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
- package/lib/plus/clinetSearch/InfiniteScroll/index.js +35 -0
- package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
- package/lib/plus/clinetSearch/InfiniteScroll/types.js +17 -0
- package/lib/plus/clinetSearch/index.d.ts +18 -0
- package/lib/plus/clinetSearch/index.js +237 -0
- package/lib/plus/clinetSearch/index.less +95 -0
- package/lib/plus/clinetSearch/locales.d.ts +178 -0
- package/lib/plus/clinetSearch/locales.js +201 -0
- package/lib/plus/clinetSearch/serve.d.ts +1 -0
- package/lib/{components/eftpos/SettlementModal → plus/clinetSearch}/serve.js +7 -19
- package/lib/plus/clinetSearch/types.d.ts +70 -0
- package/lib/plus/clinetSearch/types.js +17 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.js +23 -23
- package/lib/plus/contactInfo/locales.d.ts +8 -0
- package/lib/plus/contactInfo/locales.js +8 -0
- package/lib/plus/contactInfoModal/locales.d.ts +42 -0
- package/lib/plus/contactInfoModal/locales.js +42 -0
- package/lib/plus/orderList/components/BatchActionBar.d.ts +9 -0
- package/lib/plus/orderList/components/BatchActionBar.js +567 -0
- package/lib/plus/orderList/components/FilterList.d.ts +8 -0
- package/lib/plus/orderList/components/FilterList.js +121 -0
- package/lib/plus/orderList/components/HandleActions.d.ts +6 -0
- package/lib/plus/orderList/components/HandleActions.js +52 -0
- package/lib/plus/orderList/components/QuickFilter.d.ts +5 -0
- package/lib/plus/orderList/components/QuickFilter.js +43 -0
- package/lib/plus/orderList/components/Reset.d.ts +7 -0
- package/lib/plus/orderList/components/Reset.js +58 -0
- package/lib/plus/orderList/components/Toolbar.d.ts +7 -0
- package/lib/plus/orderList/components/Toolbar.js +68 -0
- package/lib/plus/orderList/config.d.ts +154 -0
- package/lib/plus/orderList/config.js +764 -0
- package/lib/plus/orderList/index.d.ts +10 -0
- package/lib/plus/orderList/index.js +132 -0
- package/lib/plus/orderList/index.less +125 -0
- package/lib/plus/orderList/locales.d.ts +618 -0
- package/lib/plus/orderList/locales.js +737 -0
- package/lib/plus/orderList/serve.d.ts +42 -0
- package/lib/plus/orderList/serve.js +177 -0
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.d.ts +5 -0
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.js +339 -0
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.less +16 -0
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.js +455 -0
- package/lib/plus/pisellSalesGrid/hooks/useActions.d.ts +19 -0
- package/lib/plus/pisellSalesGrid/hooks/useActions.js +545 -0
- package/lib/plus/pisellSalesGrid/index.d.ts +4 -0
- package/lib/plus/pisellSalesGrid/index.js +42 -0
- package/lib/plus/pisellSalesGrid/locales.d.ts +9 -0
- package/lib/plus/pisellSalesGrid/locales.js +29 -0
- package/lib/plus/pisellSalesGrid/serve.d.ts +19 -0
- package/lib/plus/pisellSalesGrid/serve.js +142 -0
- package/lib/plus/pisellSalesGrid/types.d.ts +170 -0
- package/lib/plus/pisellSalesGrid/types.js +17 -0
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +14 -0
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.js +253 -0
- package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +19 -0
- package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.js +193 -0
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.js +106 -0
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +185 -0
- package/lib/plus/pisellSalesManagement/config/booking.js +500 -0
- package/lib/plus/pisellSalesManagement/config/index.d.ts +2 -0
- package/lib/plus/pisellSalesManagement/config/index.js +43 -0
- package/lib/plus/pisellSalesManagement/config/order.d.ts +172 -0
- package/lib/plus/pisellSalesManagement/config/order.js +492 -0
- package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
- package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.js +113 -0
- package/lib/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +2 -0
- package/lib/plus/pisellSalesManagement/hooks/useBookingPerspective.js +699 -0
- package/lib/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +2 -0
- package/lib/plus/pisellSalesManagement/hooks/useOrderPerspective.js +700 -0
- package/lib/plus/pisellSalesManagement/hooks/usePerspectives.d.ts +5 -0
- package/lib/plus/pisellSalesManagement/hooks/usePerspectives.js +42 -0
- package/lib/plus/pisellSalesManagement/index.d.ts +10 -0
- package/lib/plus/pisellSalesManagement/index.js +113 -0
- package/lib/plus/pisellSalesManagement/locales.d.ts +303 -0
- package/lib/plus/pisellSalesManagement/locales.js +326 -0
- package/lib/plus/pisellSalesManagement/serve.d.ts +26 -0
- package/lib/plus/pisellSalesManagement/serve.js +120 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -4
- package/lib/plus/productSelect/locales.d.ts +20 -0
- package/lib/plus/productSelect/locales.js +23 -3
- package/lib/plus/saasAttendance/index.d.ts +6 -0
- package/lib/plus/saasAttendance/index.js +39 -0
- package/lib/plus/saasAttendance/locales.d.ts +591 -0
- package/lib/plus/saasAttendance/locales.js +615 -0
- package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
- package/lib/plus/saasAttendance/settings/BasicInfoTab.js +152 -0
- package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
- package/lib/plus/saasAttendance/settings/ClockInMethodTab.js +88 -0
- package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
- package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.js +369 -0
- package/lib/plus/saasAttendance/settings/PermissonTab.d.ts +5 -0
- package/lib/plus/saasAttendance/settings/PermissonTab.js +128 -0
- package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
- package/lib/plus/saasAttendance/settings/ShiftScheduleTab.js +107 -0
- package/lib/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
- package/lib/plus/saasAttendance/settings/components/MapField.js +670 -0
- package/lib/plus/saasAttendance/settings/components/index.d.ts +3 -0
- package/lib/plus/saasAttendance/settings/components/index.js +42 -0
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
- package/lib/plus/saasAttendance/settings/components/membersField/index.js +247 -0
- package/lib/plus/saasAttendance/settings/components/membersField/index.less +70 -0
- package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +7 -0
- package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +150 -0
- package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +119 -0
- package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
- package/lib/plus/saasAttendance/settings/components/shiftModal/index.js +447 -0
- package/lib/plus/saasAttendance/settings/index.d.ts +18 -0
- package/lib/plus/saasAttendance/settings/index.js +295 -0
- package/lib/plus/saasAttendance/settings/index.less +510 -0
- package/lib/plus/saasAttendance/settings/serve.d.ts +27 -0
- package/lib/plus/saasAttendance/settings/serve.js +54 -0
- package/lib/plus/saasAttendance/settings/types.d.ts +136 -0
- package/lib/plus/saasAttendance/settings/types.js +17 -0
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/lib/plus/saasCreateOrganization/locales.d.ts +8 -0
- package/lib/plus/saasCreateOrganization/locales.js +8 -0
- package/lib/plus/saasLogin/locales.d.ts +32 -0
- package/lib/plus/saasLogin/locales.js +32 -0
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/lib/plus/saasRegister/components/Header.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/lib/plus/saasRegister/locales.d.ts +76 -0
- package/lib/plus/saasRegister/locales.js +76 -0
- package/lib/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
- package/lib/plus/saasRole/components/PermissionManager/index.js +159 -0
- package/lib/plus/saasRole/components/PermissionManager/index.less +71 -0
- package/lib/plus/saasRole/index.d.ts +14 -0
- package/lib/plus/saasRole/index.js +780 -0
- package/lib/plus/saasRole/index.less +196 -0
- package/lib/plus/saasRole/locales.d.ts +319 -0
- package/lib/plus/saasRole/locales.js +345 -0
- package/lib/plus/saasRole/serve.d.ts +72 -0
- package/lib/plus/saasRole/serve.js +100 -0
- package/lib/plus/saasRole/types.d.ts +177 -0
- package/lib/plus/saasRole/types.js +17 -0
- package/lib/plus/saasRole/utils.d.ts +0 -0
- package/lib/plus/saasRole/utils.js +0 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.js +393 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.js +672 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.less +178 -0
- package/lib/plus/saasTeamMembers/index.d.ts +5 -0
- package/lib/plus/saasTeamMembers/index.js +448 -0
- package/lib/plus/saasTeamMembers/index.less +87 -0
- package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
- package/lib/plus/saasTeamMembers/locales.js +617 -0
- package/lib/plus/saasTeamMembers/serve.d.ts +95 -0
- package/lib/plus/saasTeamMembers/serve.js +132 -0
- package/lib/plus/saasTeamMembers/type.d.ts +158 -0
- package/lib/plus/saasTeamMembers/type.js +17 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/plus/selectHolder/locales.d.ts +14 -0
- package/lib/plus/selectHolder/locales.js +14 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.js +26 -19
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.js +3 -3
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.js +3 -2
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.less +22 -7
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.js +7 -7
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/index.js +4 -3
- package/lib/plus/skuOptionsSelection/locales.d.ts +25 -0
- package/lib/plus/skuOptionsSelection/locales.js +28 -3
- package/lib/plus/skuOptionsSelection/store/store.js +2 -1
- package/lib/plus/skuOptionsSelection/types.d.ts +29 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +16 -10
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.js +10 -7
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +24 -6
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +44 -55
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +9 -8
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- 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 +88 -0
- package/lib/plus/walletEditor/locales.js +100 -0
- package/lib/plus/walletEditor/types.d.ts +2 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.js +42 -5
- package/lib/plus/walletPassGallery/components/passList/index.js +12 -5
- package/lib/plus/walletPassGallery/components/recharge/index.js +7 -5
- package/lib/plus/walletPassGallery/components/recharge/index.less +70 -1
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +3 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.js +17 -2
- package/lib/plus/walletPassGallery/index.d.ts +4 -0
- package/lib/plus/walletPassGallery/index.js +116 -45
- package/lib/plus/walletPassGallery/locales.d.ts +198 -0
- package/lib/plus/walletPassGallery/locales.js +210 -3
- package/lib/plus/walletPassGallery/serve.d.ts +3 -1
- package/lib/plus/walletPassGallery/serve.js +2 -2
- package/lib/plus/walletPassGallery/utils.d.ts +1 -1
- package/lib/pro/Cards/components/SKUCard/index.d.ts +1 -56
- package/lib/pro/Cards/components/SKUCard/index.js +60 -19
- package/lib/pro/Cards/components/SKUCard/index.less +41 -5
- package/lib/pro/Cards/components/SKUCard/locales.d.ts +12 -0
- package/lib/pro/Cards/components/SKUCard/locales.js +35 -0
- package/lib/pro/Cards/components/SKUCard/types.d.ts +73 -0
- package/lib/pro/Cards/components/SKUCard/types.js +17 -0
- package/lib/pro/Login2.0/Login2.js +8 -8
- package/lib/pro/Login2.0/components/phoneValidation.js +4 -2
- package/lib/pro/Login2.0/locales.d.ts +365 -0
- package/lib/pro/Login2.0/locales.js +365 -0
- package/lib/pro/Login2.0/shared/types.d.ts +2 -0
- package/lib/pro/NumericStepper/index.d.ts +33 -3
- package/lib/pro/NumericStepper/index.js +184 -88
- package/lib/pro/NumericStepper/index.less +287 -143
- package/lib/pro/Selector/BatchSelectorDemo.js +13 -19
- package/lib/pro/Selector/Selector.js +34 -17
- package/lib/pro/Selector/SelectorGroup.d.ts +1 -1
- package/lib/pro/Selector/SelectorGroup.js +7 -1
- package/lib/pro/Selector/components/Card/index.js +19 -8
- package/lib/pro/Selector/components/Card/index.less +30 -14
- package/lib/pro/Selector/components/Indicator/index.d.ts +1 -0
- package/lib/pro/Selector/components/Indicator/index.js +2 -2
- package/lib/pro/Selector/components/Indicator/index.less +16 -13
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +5 -3
- package/lib/pro/Selector/components/LayoutContainer/index.js +130 -2
- package/lib/pro/Selector/components/LayoutContainer/index.less +19 -0
- package/lib/pro/Selector/components/Media/index.d.ts +1 -1
- package/lib/pro/Selector/components/Media/index.js +7 -4
- package/lib/pro/Selector/components/Media/index.less +1 -1
- package/lib/pro/Selector/demo.d.ts +1 -0
- package/lib/pro/Selector/demo.js +1 -1
- package/lib/pro/Selector/hooks/usePresetItemProps.js +2 -0
- package/lib/pro/Selector/hooks/usePresetProps.js +28 -6
- package/lib/pro/Selector/locales.d.ts +22 -0
- package/lib/pro/Selector/locales.js +50 -0
- package/lib/pro/Selector/selector.less +0 -64
- package/lib/pro/Selector/selectorGroup.less +9 -1
- package/lib/pro/Selector/types.d.ts +50 -0
- package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +11 -0
- package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.js +64 -0
- package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.less +28 -0
- package/lib/pro/comprehensiveSearch/components/index.d.ts +2 -0
- package/lib/pro/comprehensiveSearch/components/index.js +42 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/index.d.ts +24 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/index.js +154 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/index.less +100 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +46 -0
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.js +56 -0
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +70 -0
- package/lib/pro/comprehensiveSearch/index.d.ts +7 -0
- package/lib/pro/comprehensiveSearch/index.js +190 -0
- package/lib/pro/comprehensiveSearch/index.less +196 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/lib/pro/comprehensiveSearch/locales.js +46 -0
- package/lib/pro/comprehensiveSearch/types.d.ts +32 -0
- package/lib/pro/comprehensiveSearch/types.js +17 -0
- package/lib/pro/keyboards/index.d.ts +2 -0
- package/lib/pro/keyboards/index.js +39 -0
- package/lib/pro/keyboards/locales.d.ts +38 -0
- package/lib/pro/keyboards/locales.js +61 -0
- package/lib/pro/keyboards/numberKeyboard/index.d.ts +16 -0
- package/lib/pro/keyboards/numberKeyboard/index.js +400 -0
- package/lib/pro/keyboards/numberKeyboard/index.less +59 -0
- package/lib/pro/keyboards/numberKeyboard/types.d.ts +63 -0
- package/lib/pro/keyboards/numberKeyboard/types.js +17 -0
- package/lib/pro/numberKeyboard/locales.d.ts +6 -0
- package/lib/pro/numberKeyboard/locales.js +6 -0
- package/lib/pro/pisellPaymentList/example.d.ts +1 -0
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +13 -0
- package/lib/pro/pisellPhoneKeyboard/index.js +219 -0
- package/lib/pro/pisellPhoneKeyboard/index.less +157 -0
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/lib/pro/pisellPhoneKeyboard/locales.js +41 -0
- package/lowcode/client-card/fragments/cardStyle.ts +63 -0
- package/lowcode/client-card/fragments/nameStyle.ts +34 -0
- package/lowcode/client-card/fragments/pisellAvatar.ts +87 -0
- package/lowcode/client-card/fragments/tagConfig.ts +88 -0
- package/lowcode/client-card/meta.ts +343 -0
- package/lowcode/client-search/meta.ts +316 -0
- package/lowcode/eco-cup-list/meta.ts +27 -0
- package/lowcode/eco-customer-list/meta.ts +27 -0
- package/lowcode/ecocup-cup-list/meta.ts +38 -0
- package/lowcode/ecocup-cup-project/meta.ts +35 -0
- package/lowcode/ecocup-customer-list/meta.ts +38 -0
- package/lowcode/order-list/meta.ts +87 -0
- package/lowcode/pisell-sales-management/meta.ts +88 -0
- package/lowcode/saas-attendance-settings/meta.ts +56 -0
- package/lowcode/saas-role/meta.ts +35 -0
- package/lowcode/saas-team-members/meta.ts +35 -0
- package/lowcode/selector/meta.ts +15 -2
- package/lowcode/selector.group/meta.ts +15 -2
- package/lowcode/sku-options-selection/meta.ts +106 -2
- package/lowcode/wallet-pass-gallery/meta.ts +66 -1
- package/package.json +6 -6
- package/es/components/eftpos/PairModal/hooks.d.ts +0 -27
- package/es/components/eftpos/PairModal/hooks.js +0 -67
- package/es/components/eftpos/PairModal/index.d.ts +0 -11
- package/es/components/eftpos/PairModal/index.less +0 -70
- package/es/components/eftpos/SettlementModal/Action.d.ts +0 -7
- package/es/components/eftpos/SettlementModal/Action.js +0 -141
- package/es/components/eftpos/SettlementModal/index.d.ts +0 -7
- package/es/components/eftpos/SettlementModal/index.js +0 -135
- package/es/components/eftpos/SettlementModal/index.less +0 -33
- package/es/components/eftpos/SettlementModal/serve.d.ts +0 -8
- package/es/components/eftpos/SettlementModal/serve.js +0 -171
- package/es/components/eftpos/SettlementModal/types.d.ts +0 -138
- package/es/components/eftpos/SettlementModal/types.js +0 -35
- package/es/components/eftpos/SettlementModal/utils.d.ts +0 -18
- package/es/components/eftpos/SettlementModal/utils.js +0 -351
- package/es/components/eftpos/assets/mx51SCI.svg +0 -15
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -8
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.js +0 -129
- package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -4
- package/es/components/eftposPay/aggregatePayment/index.js +0 -4
- package/es/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
- package/es/components/eftposPay/aggregatePayment/mock.js +0 -567
- package/es/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/es/components/eftposPay/aggregatePayment/service.js +0 -70
- package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -105
- package/es/components/eftposPay/aggregatePayment/types.js +0 -61
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/es/components/eftposPay/aggregatePayment/utils/logs.js +0 -385
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
- package/es/components/eftposPay/aggregatePayment/utils/payment.js +0 -1149
- package/es/components/eftposPay/mx51/Action.d.ts +0 -6
- package/es/components/eftposPay/mx51/Action.js +0 -144
- package/es/components/eftposPay/mx51/const.d.ts +0 -5
- package/es/components/eftposPay/mx51/const.js +0 -69
- package/es/components/eftposPay/mx51/index.d.ts +0 -6
- package/es/components/eftposPay/mx51/index.js +0 -428
- package/es/components/eftposPay/mx51/types.d.ts +0 -142
- package/es/components/eftposPay/mx51/types.js +0 -35
- package/es/components/eftposPay/mx51/utils.d.ts +0 -10
- package/es/components/eftposPay/mx51/utils.js +0 -121
- package/lib/components/eftpos/PairModal/hooks.d.ts +0 -27
- package/lib/components/eftpos/PairModal/hooks.js +0 -70
- package/lib/components/eftpos/PairModal/index.d.ts +0 -11
- package/lib/components/eftpos/PairModal/index.js +0 -197
- package/lib/components/eftpos/PairModal/index.less +0 -70
- package/lib/components/eftpos/SettlementModal/Action.d.ts +0 -7
- package/lib/components/eftpos/SettlementModal/Action.js +0 -153
- package/lib/components/eftpos/SettlementModal/index.d.ts +0 -7
- package/lib/components/eftpos/SettlementModal/index.js +0 -170
- package/lib/components/eftpos/SettlementModal/index.less +0 -33
- package/lib/components/eftpos/SettlementModal/serve.d.ts +0 -8
- package/lib/components/eftpos/SettlementModal/types.d.ts +0 -138
- package/lib/components/eftpos/SettlementModal/types.js +0 -43
- package/lib/components/eftpos/SettlementModal/utils.d.ts +0 -18
- package/lib/components/eftpos/SettlementModal/utils.js +0 -248
- package/lib/components/eftpos/assets/mx51SCI.svg +0 -15
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -8
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.js +0 -155
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -4
- package/lib/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
- package/lib/components/eftposPay/aggregatePayment/mock.js +0 -679
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/lib/components/eftposPay/aggregatePayment/service.js +0 -81
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -105
- package/lib/components/eftposPay/aggregatePayment/types.js +0 -74
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/lib/components/eftposPay/aggregatePayment/utils/logs.js +0 -302
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
- package/lib/components/eftposPay/aggregatePayment/utils/payment.js +0 -762
- package/lib/components/eftposPay/mx51/Action.d.ts +0 -6
- package/lib/components/eftposPay/mx51/Action.js +0 -154
- package/lib/components/eftposPay/mx51/const.d.ts +0 -5
- package/lib/components/eftposPay/mx51/const.js +0 -85
- package/lib/components/eftposPay/mx51/index.d.ts +0 -6
- package/lib/components/eftposPay/mx51/index.js +0 -371
- package/lib/components/eftposPay/mx51/types.d.ts +0 -142
- package/lib/components/eftposPay/mx51/types.js +0 -43
- package/lib/components/eftposPay/mx51/utils.d.ts +0 -10
- package/lib/components/eftposPay/mx51/utils.js +0 -115
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
en: {
|
|
2
|
+
"en": {
|
|
3
3
|
'page.eftpos.text.manufacturer': 'Manufacturer',
|
|
4
4
|
'page.eftpos.text.description': 'Description',
|
|
5
5
|
'page.eftpos.text.status': 'status',
|
|
@@ -9,7 +9,7 @@ export default {
|
|
|
9
9
|
if (!name) {
|
|
10
10
|
return "Add device";
|
|
11
11
|
}
|
|
12
|
-
var action = status ==
|
|
12
|
+
var action = status == "add" ? 'Add' : status == "edit" ? "Edit" : "Repair";
|
|
13
13
|
return "".concat(action, " ").concat(name, " device");
|
|
14
14
|
},
|
|
15
15
|
'page.eftpos.text.device.list': 'Device list',
|
|
@@ -21,7 +21,6 @@ export default {
|
|
|
21
21
|
'page.eftpos.text.edit': 'Edit',
|
|
22
22
|
'page.eftpos.text.delete': 'Delete',
|
|
23
23
|
'page.eftpos.text.save': 'Save',
|
|
24
|
-
'page.eftpos.text.pair': 'Pair',
|
|
25
24
|
'page.eftpos.text.confim.delete': 'Confirm delete',
|
|
26
25
|
'page.eftpos.text.confirm_delete-message': function pageEftposTextConfirm_deleteMessage(x) {
|
|
27
26
|
return "Confirm delete ".concat(x, " Device");
|
|
@@ -36,41 +35,9 @@ export default {
|
|
|
36
35
|
'page.eftpos.text.table.del.delete': 'Delete',
|
|
37
36
|
'page.eftpos.text.table.del.cancel': 'Cancel',
|
|
38
37
|
'page.eftpos.text.log': 'Log',
|
|
39
|
-
'page.eftpos.text.settlement': 'Settlement',
|
|
40
|
-
'page.eftpos.text.settlement_enquiry': 'Settlement enquiry',
|
|
41
38
|
'page.eftpos.text.setting': 'Setting',
|
|
42
39
|
'page.eftpos.text.setting.tip': 'You have not configured the necessary parameters, which may affect the normal use of your POS! ',
|
|
43
|
-
'page.eftpos.text.setting.btn': 'Go to configure'
|
|
44
|
-
'page.eftpos.text.pair.modal.content.text-info': function pageEftposTextPairModalContentTextInfo(status) {
|
|
45
|
-
if (status === 'pairing') {
|
|
46
|
-
return {
|
|
47
|
-
title: 'Pairing',
|
|
48
|
-
description: 'Confirm the code on the EFTPOS terminal to continue.',
|
|
49
|
-
codeTitle: 'Code',
|
|
50
|
-
cancenButtonText: 'Cancel',
|
|
51
|
-
okButtonText: 'Check status'
|
|
52
|
-
};
|
|
53
|
-
} else if (status === 'success') {
|
|
54
|
-
return {
|
|
55
|
-
title: 'Pairing is active',
|
|
56
|
-
description: 'You are ready to go!',
|
|
57
|
-
codeTitle: '',
|
|
58
|
-
cancenButtonText: 'Unpair',
|
|
59
|
-
okButtonText: 'Confirm'
|
|
60
|
-
};
|
|
61
|
-
} else if (status === 'failed') {
|
|
62
|
-
return {
|
|
63
|
-
title: 'Pairing not active',
|
|
64
|
-
description: 'Check the terminal, confirm the pairing code, then try again.',
|
|
65
|
-
codeTitle: 'Code',
|
|
66
|
-
cancenButtonText: 'Cancel',
|
|
67
|
-
okButtonText: 'Check status'
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
'page.eftpos.text.repair.message.warning': 'Device is already connected. No need to reconnect.',
|
|
72
|
-
'page.eftpos.text.settlement.failed': 'Please check network and terminal connections and try again',
|
|
73
|
-
'page.eftpos.text.settlement.button.done': 'Done'
|
|
40
|
+
'page.eftpos.text.setting.btn': 'Go to configure'
|
|
74
41
|
},
|
|
75
42
|
'zh-CN': {
|
|
76
43
|
'page.eftpos.text.manufacturer': '厂商',
|
|
@@ -82,7 +49,7 @@ export default {
|
|
|
82
49
|
if (!name) {
|
|
83
50
|
return "\u6DFB\u52A0\u8BBE\u5907";
|
|
84
51
|
}
|
|
85
|
-
var action = status ==
|
|
52
|
+
var action = status == "add" ? '添加' : status == "edit" ? "编辑" : "重新配置";
|
|
86
53
|
return "".concat(action, " ").concat(name, " \u8BBE\u5907");
|
|
87
54
|
},
|
|
88
55
|
'page.eftpos.text.device.list': '设备列表',
|
|
@@ -94,7 +61,6 @@ export default {
|
|
|
94
61
|
'page.eftpos.text.edit': '编辑',
|
|
95
62
|
'page.eftpos.text.delete': '删除',
|
|
96
63
|
'page.eftpos.text.save': '保存',
|
|
97
|
-
'page.eftpos.text.pair': '配对',
|
|
98
64
|
'page.eftpos.text.confim.delete': '确认删除',
|
|
99
65
|
'page.eftpos.text.confirm_delete-message': function pageEftposTextConfirm_deleteMessage(x) {
|
|
100
66
|
return "\u786E\u8BA4\u5220\u9664 ".concat(x, " \u8BBE\u5907\u5417\uFF1F");
|
|
@@ -109,41 +75,9 @@ export default {
|
|
|
109
75
|
'page.eftpos.text.table.del.delete': '删除',
|
|
110
76
|
'page.eftpos.text.table.del.cancel': '取消',
|
|
111
77
|
'page.eftpos.text.log': '日志',
|
|
112
|
-
'page.eftpos.text.settlement': '结算',
|
|
113
|
-
'page.eftpos.text.settlement_enquiry': '结算查询',
|
|
114
78
|
'page.eftpos.text.setting': '设置',
|
|
115
79
|
'page.eftpos.text.setting.tip': '您尚未配置必要参数,这可能会影响您Pos的正常使用!',
|
|
116
|
-
'page.eftpos.text.setting.btn': '前往配置'
|
|
117
|
-
'page.eftpos.text.pair.modal.content.text-info': function pageEftposTextPairModalContentTextInfo(status) {
|
|
118
|
-
if (status === 'pairing') {
|
|
119
|
-
return {
|
|
120
|
-
title: '正在配对',
|
|
121
|
-
description: '请在刷卡机上确认配对码以继续。',
|
|
122
|
-
codeTitle: '配对码',
|
|
123
|
-
cancenButtonText: '取消',
|
|
124
|
-
okButtonText: '检查状态'
|
|
125
|
-
};
|
|
126
|
-
} else if (status === 'success') {
|
|
127
|
-
return {
|
|
128
|
-
title: '配对成功',
|
|
129
|
-
description: '设备已成功连接,可开始使用。',
|
|
130
|
-
codeTitle: '',
|
|
131
|
-
cancenButtonText: '解除配对',
|
|
132
|
-
okButtonText: '确认'
|
|
133
|
-
};
|
|
134
|
-
} else if (status === 'failed') {
|
|
135
|
-
return {
|
|
136
|
-
title: '配对未生效',
|
|
137
|
-
description: '请检查刷卡机并确认配对码后重试。',
|
|
138
|
-
codeTitle: '配对码',
|
|
139
|
-
cancenButtonText: '取消',
|
|
140
|
-
okButtonText: '检查状态'
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
'page.eftpos.text.repair.message.warning': '设备已连接,无需重新连接。',
|
|
145
|
-
'page.eftpos.text.settlement.failed': '请检查网络和终端连接并重试',
|
|
146
|
-
'page.eftpos.text.settlement.button.done': '完成'
|
|
80
|
+
'page.eftpos.text.setting.btn': '前往配置'
|
|
147
81
|
},
|
|
148
82
|
'zh-HK': {
|
|
149
83
|
'page.eftpos.text.manufacturer': '廠商',
|
|
@@ -155,7 +89,7 @@ export default {
|
|
|
155
89
|
if (!name) {
|
|
156
90
|
return "\u6DFB\u52A0\u8A2D\u5099";
|
|
157
91
|
}
|
|
158
|
-
var action = status ==
|
|
92
|
+
var action = status == "add" ? '添加' : status == "edit" ? "編輯" : "重新配置";
|
|
159
93
|
return "".concat(action, " ").concat(name, " \u8A2D\u5099");
|
|
160
94
|
},
|
|
161
95
|
'page.eftpos.text.device.list': '設備列表',
|
|
@@ -167,7 +101,6 @@ export default {
|
|
|
167
101
|
'page.eftpos.text.edit': '編輯',
|
|
168
102
|
'page.eftpos.text.delete': '删除',
|
|
169
103
|
'page.eftpos.text.save': '保存',
|
|
170
|
-
'page.eftpos.text.pair': '配對',
|
|
171
104
|
'page.eftpos.text.confim.delete': '確認刪除',
|
|
172
105
|
'page.eftpos.text.confirm_delete-message': function pageEftposTextConfirm_deleteMessage(x) {
|
|
173
106
|
return "\u78BA\u8A8D\u522A\u9664 ".concat(x, " \u8A2D\u5099\u55CE\uFF1F");
|
|
@@ -182,40 +115,88 @@ export default {
|
|
|
182
115
|
'page.eftpos.text.table.del.delete': '刪除',
|
|
183
116
|
'page.eftpos.text.table.del.cancel': '取消',
|
|
184
117
|
'page.eftpos.text.log': '日誌',
|
|
185
|
-
'page.eftpos.text.settlement': '結算',
|
|
186
|
-
'page.eftpos.text.settlement_enquiry': '結算查詢',
|
|
187
118
|
'page.eftpos.text.setting': '设置',
|
|
188
119
|
'page.eftpos.text.setting.tip': '您尚未配置必要參數,這可能會影響您Pos的正常使用!',
|
|
189
|
-
'page.eftpos.text.setting.btn': '前往配置'
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
120
|
+
'page.eftpos.text.setting.btn': '前往配置'
|
|
121
|
+
},
|
|
122
|
+
ja: {
|
|
123
|
+
'page.eftpos.text.manufacturer': 'メーカー',
|
|
124
|
+
'page.eftpos.text.description': '説明',
|
|
125
|
+
'page.eftpos.text.status': 'ステータス',
|
|
126
|
+
'page.eftpos.text.operation': '操作',
|
|
127
|
+
'page.eftpos.text.device': 'デバイス',
|
|
128
|
+
'page.eftpos.text.device.add': function pageEftposTextDeviceAdd(status, name) {
|
|
129
|
+
if (!name) {
|
|
130
|
+
return "\u30C7\u30D0\u30A4\u30B9\u3092\u8FFD\u52A0";
|
|
131
|
+
}
|
|
132
|
+
var action = status == "add" ? '追加' : status == "edit" ? "編集" : "再設定";
|
|
133
|
+
return "".concat(action, " ").concat(name, " \u30C7\u30D0\u30A4\u30B9");
|
|
134
|
+
},
|
|
135
|
+
'page.eftpos.text.device.list': 'デバイスリスト',
|
|
136
|
+
'page.eftpos.text.device.name': 'デバイス名',
|
|
137
|
+
'page.eftpos.text.sucahrge': '支払い手数料',
|
|
138
|
+
'page.eftpos.text.paired': 'ペアリング済み',
|
|
139
|
+
'page.eftpos.text.unpaired': '未ペアリング',
|
|
140
|
+
'page.eftpos.text.repair': '再設定',
|
|
141
|
+
'page.eftpos.text.edit': '編集',
|
|
142
|
+
'page.eftpos.text.delete': '削除',
|
|
143
|
+
'page.eftpos.text.save': '保存',
|
|
144
|
+
'page.eftpos.text.confim.delete': '削除を確認',
|
|
145
|
+
'page.eftpos.text.confirm_delete-message': function pageEftposTextConfirm_deleteMessage(x) {
|
|
146
|
+
return "".concat(x, " \u30C7\u30D0\u30A4\u30B9\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F");
|
|
147
|
+
},
|
|
148
|
+
'page.eftpos.text.confim.cancel': 'キャンセル',
|
|
149
|
+
'page.eftpos.text.table.name': 'デバイス名',
|
|
150
|
+
'page.eftpos.text.table.status': 'ステータス',
|
|
151
|
+
'page.eftpos.text.table.surcharge': '支払い手数料',
|
|
152
|
+
'page.eftpos.text.table.opeartion': '操作',
|
|
153
|
+
'page.eftpos.text.table.del.title': 'デバイスを削除',
|
|
154
|
+
'page.eftpos.text.table.del.text': 'デバイスを削除してもよろしいですか?',
|
|
155
|
+
'page.eftpos.text.table.del.delete': '削除',
|
|
156
|
+
'page.eftpos.text.table.del.cancel': 'キャンセル',
|
|
157
|
+
'page.eftpos.text.log': 'ログ',
|
|
158
|
+
'page.eftpos.text.setting': '設定',
|
|
159
|
+
'page.eftpos.text.setting.tip': '必要なパラメータが設定されていません。これによりPOSの正常な使用に影響する可能性があります!',
|
|
160
|
+
'page.eftpos.text.setting.btn': '設定に移動'
|
|
161
|
+
},
|
|
162
|
+
pt: {
|
|
163
|
+
'page.eftpos.text.manufacturer': 'Fabricante',
|
|
164
|
+
'page.eftpos.text.description': 'Descrição',
|
|
165
|
+
'page.eftpos.text.status': 'status',
|
|
166
|
+
'page.eftpos.text.operation': 'Operação',
|
|
167
|
+
'page.eftpos.text.device': 'Dispositivo',
|
|
168
|
+
'page.eftpos.text.device.add': function pageEftposTextDeviceAdd(status, name) {
|
|
169
|
+
if (!name) {
|
|
170
|
+
return "Adicionar dispositivo";
|
|
215
171
|
}
|
|
172
|
+
var action = status == "add" ? 'Adicionar' : status == "edit" ? "Editar" : "Reparar";
|
|
173
|
+
return "".concat(action, " dispositivo ").concat(name);
|
|
174
|
+
},
|
|
175
|
+
'page.eftpos.text.device.list': 'Lista de dispositivos',
|
|
176
|
+
'page.eftpos.text.device.name': 'Nome do dispositivo',
|
|
177
|
+
'page.eftpos.text.sucahrge': 'Taxa',
|
|
178
|
+
'page.eftpos.text.paired': 'Emparelhado',
|
|
179
|
+
'page.eftpos.text.unpaired': 'Não emparelhado',
|
|
180
|
+
'page.eftpos.text.repair': 'Reparar',
|
|
181
|
+
'page.eftpos.text.edit': 'Editar',
|
|
182
|
+
'page.eftpos.text.delete': 'Excluir',
|
|
183
|
+
'page.eftpos.text.save': 'Salvar',
|
|
184
|
+
'page.eftpos.text.confim.delete': 'Confirmar exclusão',
|
|
185
|
+
'page.eftpos.text.confirm_delete-message': function pageEftposTextConfirm_deleteMessage(x) {
|
|
186
|
+
return "Confirmar exclus\xE3o do dispositivo ".concat(x);
|
|
216
187
|
},
|
|
217
|
-
'page.eftpos.text.
|
|
218
|
-
'page.eftpos.text.
|
|
219
|
-
'page.eftpos.text.
|
|
188
|
+
'page.eftpos.text.confim.cancel': 'Cancelar',
|
|
189
|
+
'page.eftpos.text.table.name': 'Nome do dispositivo',
|
|
190
|
+
'page.eftpos.text.table.status': 'Status',
|
|
191
|
+
'page.eftpos.text.table.surcharge': 'Taxa',
|
|
192
|
+
'page.eftpos.text.table.opeartion': 'Operação',
|
|
193
|
+
'page.eftpos.text.table.del.title': 'Excluir dispositivo',
|
|
194
|
+
'page.eftpos.text.table.del.text': 'Tem certeza de que deseja excluir o dispositivo?',
|
|
195
|
+
'page.eftpos.text.table.del.delete': 'Excluir',
|
|
196
|
+
'page.eftpos.text.table.del.cancel': 'Cancelar',
|
|
197
|
+
'page.eftpos.text.log': 'Log',
|
|
198
|
+
'page.eftpos.text.setting': 'Configurações',
|
|
199
|
+
'page.eftpos.text.setting.tip': 'Você não configurou os parâmetros necessários, o que pode afetar o uso normal do seu POS!',
|
|
200
|
+
'page.eftpos.text.setting.btn': 'Ir para configurar'
|
|
220
201
|
}
|
|
221
202
|
};
|
|
@@ -22,8 +22,6 @@ import React, { useEffect, useImperativeHandle, useMemo, useRef, useState } from
|
|
|
22
22
|
import { Space, Typography, Table, Modal, Button, Pagination, Alert } from 'antd';
|
|
23
23
|
import XClose from '@pisell/icon/es/XClose';
|
|
24
24
|
import { locales } from '@pisell/utils';
|
|
25
|
-
import { Eftpos } from "./const";
|
|
26
|
-
import SettlementModal from "./SettlementModal";
|
|
27
25
|
var Column = Table.Column;
|
|
28
26
|
var Title = Typography.Title,
|
|
29
27
|
Text = Typography.Text;
|
|
@@ -78,16 +76,6 @@ var App = function App(_ref, ref) {
|
|
|
78
76
|
data = _useState8[0],
|
|
79
77
|
setData = _useState8[1];
|
|
80
78
|
|
|
81
|
-
// 结算弹窗
|
|
82
|
-
var _useState9 = useState(false),
|
|
83
|
-
_useState10 = _slicedToArray(_useState9, 2),
|
|
84
|
-
settlementModalOpen = _useState10[0],
|
|
85
|
-
setSettlementModalOpen = _useState10[1];
|
|
86
|
-
var _useState11 = useState(null),
|
|
87
|
-
_useState12 = _slicedToArray(_useState11, 2),
|
|
88
|
-
settlementModalData = _useState12[0],
|
|
89
|
-
setSettlementModalData = _useState12[1];
|
|
90
|
-
|
|
91
79
|
/**
|
|
92
80
|
* @title: 加载列表数据
|
|
93
81
|
* @param {number} current 加载页数
|
|
@@ -229,22 +217,6 @@ var App = function App(_ref, ref) {
|
|
|
229
217
|
loadData: loadData
|
|
230
218
|
};
|
|
231
219
|
});
|
|
232
|
-
var onSettlement = function onSettlement(device) {
|
|
233
|
-
console.log('onSettlement', device);
|
|
234
|
-
setSettlementModalOpen(true);
|
|
235
|
-
setSettlementModalData({
|
|
236
|
-
type: 'SETTLEMENT',
|
|
237
|
-
card_reader_id: device.id
|
|
238
|
-
});
|
|
239
|
-
};
|
|
240
|
-
var onSettlementEnquiry = function onSettlementEnquiry(device) {
|
|
241
|
-
console.log('onSettlementEnquiry', device);
|
|
242
|
-
setSettlementModalOpen(true);
|
|
243
|
-
setSettlementModalData({
|
|
244
|
-
type: 'ENQUIRY',
|
|
245
|
-
card_reader_id: device.id
|
|
246
|
-
});
|
|
247
|
-
};
|
|
248
220
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
249
221
|
className: "pisell-lowcode__pos-table",
|
|
250
222
|
style: _objectSpread({}, style || {})
|
|
@@ -317,7 +289,7 @@ var App = function App(_ref, ref) {
|
|
|
317
289
|
className: "pisell-lowcode__pos-table-col"
|
|
318
290
|
}), /*#__PURE__*/React.createElement(Column, {
|
|
319
291
|
title: locales.getText('page.eftpos.text.table.opeartion'),
|
|
320
|
-
width:
|
|
292
|
+
width: size[3],
|
|
321
293
|
key: "opeartion",
|
|
322
294
|
className: "pisell-lowcode__pos-table-col",
|
|
323
295
|
render: function render(record) {
|
|
@@ -343,17 +315,7 @@ var App = function App(_ref, ref) {
|
|
|
343
315
|
onClick: function onClick() {
|
|
344
316
|
return onDelDevice(record);
|
|
345
317
|
}
|
|
346
|
-
}, locales.getText('page.eftpos.text.delete'))
|
|
347
|
-
type: "link",
|
|
348
|
-
onClick: function onClick() {
|
|
349
|
-
return onSettlement(record);
|
|
350
|
-
}
|
|
351
|
-
}, locales.getText('page.eftpos.text.settlement')), /*#__PURE__*/React.createElement(Button, {
|
|
352
|
-
type: "link",
|
|
353
|
-
onClick: function onClick() {
|
|
354
|
-
return onSettlementEnquiry(record);
|
|
355
|
-
}
|
|
356
|
-
}, locales.getText('page.eftpos.text.settlement_enquiry'))) : null);
|
|
318
|
+
}, locales.getText('page.eftpos.text.delete')));
|
|
357
319
|
}
|
|
358
320
|
})), /*#__PURE__*/React.createElement(Pagination, {
|
|
359
321
|
style: {
|
|
@@ -410,12 +372,6 @@ var App = function App(_ref, ref) {
|
|
|
410
372
|
className: "pisell-lowcode__pos-table-del-title"
|
|
411
373
|
}, locales.getText('page.eftpos.text.table.del.title')), /*#__PURE__*/React.createElement("div", {
|
|
412
374
|
className: "pisell-lowcode__pos-table-del-text"
|
|
413
|
-
}, locales.getText('page.eftpos.text.table.del.text')))
|
|
414
|
-
open: settlementModalOpen,
|
|
415
|
-
onClose: function onClose() {
|
|
416
|
-
return setSettlementModalOpen(false);
|
|
417
|
-
},
|
|
418
|
-
data: settlementModalData
|
|
419
|
-
}));
|
|
375
|
+
}, locales.getText('page.eftpos.text.table.del.text'))));
|
|
420
376
|
};
|
|
421
377
|
export default /*#__PURE__*/React.forwardRef(App);
|
|
@@ -12,11 +12,13 @@ import { locales } from '@pisell/utils';
|
|
|
12
12
|
import { InputNumber, Button, message } from 'antd';
|
|
13
13
|
import { Decimal } from 'decimal.js';
|
|
14
14
|
import React, { useMemo, useState } from 'react';
|
|
15
|
+
import { useMount } from 'ahooks';
|
|
15
16
|
import Alert from "./component/alert";
|
|
16
17
|
import Titlebar from "./component/header/titlebar";
|
|
17
18
|
import { getAmonunt } from "./manufacturer";
|
|
18
19
|
import { limitDecimals } from "./helper";
|
|
19
20
|
import { useDispatch, useContextData, updateComponent, updateState } from "./store";
|
|
21
|
+
import payLog from "./utils/payLog";
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
24
|
* @title: 支付金额信息配置页
|
|
@@ -108,6 +110,14 @@ export default (function (_ref) {
|
|
|
108
110
|
var currentMoneyDeci = new Decimal(currentMoney);
|
|
109
111
|
return moneyDeci.sub(currentMoneyDeci).toFixed(2, Decimal.ROUND_HALF_UP);
|
|
110
112
|
}, [currentMoney, money]);
|
|
113
|
+
useMount(function () {
|
|
114
|
+
payLog.log('金额页面展示', {
|
|
115
|
+
amount: currentMoney,
|
|
116
|
+
surcharge: totalSurMoney,
|
|
117
|
+
total: total,
|
|
118
|
+
surRate: curSurRate
|
|
119
|
+
});
|
|
120
|
+
});
|
|
111
121
|
|
|
112
122
|
/**
|
|
113
123
|
* @title:提交
|
|
@@ -143,7 +153,9 @@ export default (function (_ref) {
|
|
|
143
153
|
surRateMoney: "".concat(surRateMoney),
|
|
144
154
|
totalUnit: formatAmount(total, 2, symbol)
|
|
145
155
|
};
|
|
146
|
-
|
|
156
|
+
payLog.log('金额页-确认提交', {
|
|
157
|
+
pay: pay
|
|
158
|
+
});
|
|
147
159
|
dispatch(updateState({
|
|
148
160
|
pay: pay
|
|
149
161
|
}));
|
|
@@ -162,6 +174,7 @@ export default (function (_ref) {
|
|
|
162
174
|
setStatus(true);
|
|
163
175
|
return;
|
|
164
176
|
}
|
|
177
|
+
payLog.log('金额页-点击取消');
|
|
165
178
|
onClose();
|
|
166
179
|
};
|
|
167
180
|
|
|
@@ -172,6 +185,7 @@ export default (function (_ref) {
|
|
|
172
185
|
* @Date: 2024-08-19 09:53
|
|
173
186
|
*/
|
|
174
187
|
var onEdit = function onEdit() {
|
|
188
|
+
payLog.log('金额页-点击编辑');
|
|
175
189
|
setStatus(false);
|
|
176
190
|
setTempSurRate(curSurRate);
|
|
177
191
|
setTempSurMoney(curSurMoney);
|
|
@@ -21,6 +21,7 @@ import { RouteEnum, ClientEnum, RestoreEumn } from "./const";
|
|
|
21
21
|
import Device from "./device";
|
|
22
22
|
import Pay from "./pay";
|
|
23
23
|
import { useContextData, useDispatch, updateState, updateClient } from "./store";
|
|
24
|
+
import payLog from "./utils/payLog";
|
|
24
25
|
var App = function App(_ref) {
|
|
25
26
|
var action = _ref.action,
|
|
26
27
|
api = _ref.api,
|
|
@@ -116,7 +117,6 @@ var App = function App(_ref) {
|
|
|
116
117
|
}));
|
|
117
118
|
}
|
|
118
119
|
}
|
|
119
|
-
console.log('状态切换 = ', status, params, other);
|
|
120
120
|
props.onChangeStatus(status, params, other);
|
|
121
121
|
}, []);
|
|
122
122
|
|
|
@@ -126,6 +126,7 @@ var App = function App(_ref) {
|
|
|
126
126
|
* @Date: 2024-08-20 13:09
|
|
127
127
|
*/
|
|
128
128
|
var onClose = function onClose() {
|
|
129
|
+
payLog.log('关闭支付');
|
|
129
130
|
onChange('fail', {
|
|
130
131
|
number: data.number,
|
|
131
132
|
uniquePaymentNumber: data.number,
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1
7
|
/* eslint-disable no-nested-ternary */
|
|
2
8
|
import { locales } from '@pisell/utils';
|
|
3
9
|
import { useMount } from 'ahooks';
|
|
@@ -8,6 +14,7 @@ import { getInitState } from "../../manufacturer";
|
|
|
8
14
|
import XClose from '@pisell/icon/es/XClose';
|
|
9
15
|
import { useDispatch, useContextData, updateState, updateComponent } from "../../store";
|
|
10
16
|
import Header from "../header";
|
|
17
|
+
import payLog from "../../utils/payLog";
|
|
11
18
|
export default (function (_ref) {
|
|
12
19
|
var _ref$className = _ref.className,
|
|
13
20
|
className = _ref$className === void 0 ? '' : _ref$className,
|
|
@@ -23,7 +30,8 @@ export default (function (_ref) {
|
|
|
23
30
|
order_id = _useContextData.order_id,
|
|
24
31
|
number = _useContextData.number,
|
|
25
32
|
device = _useContextData.device,
|
|
26
|
-
client = _useContextData.client
|
|
33
|
+
client = _useContextData.client,
|
|
34
|
+
originalParams = _useContextData.originalParams;
|
|
27
35
|
var failCustom = custom === null || custom === void 0 ? void 0 : custom.failCustom;
|
|
28
36
|
var dispatch = useDispatch();
|
|
29
37
|
|
|
@@ -33,21 +41,21 @@ export default (function (_ref) {
|
|
|
33
41
|
* @Date: 2024-08-20 11:30
|
|
34
42
|
*/
|
|
35
43
|
var onRetry = function onRetry() {
|
|
44
|
+
payLog.log('自定义失败页:重试');
|
|
36
45
|
onChange('page', 'pay');
|
|
37
|
-
|
|
38
|
-
mode: mode,
|
|
39
|
-
name: name,
|
|
40
|
-
symbol: symbol,
|
|
41
|
-
amount: amount,
|
|
42
|
-
order_id: order_id
|
|
43
|
-
} : {
|
|
46
|
+
var params = _objectSpread(_objectSpread({}, originalParams || {}), {}, {
|
|
44
47
|
mode: mode,
|
|
45
48
|
name: name,
|
|
46
49
|
symbol: symbol,
|
|
47
50
|
amount: amount,
|
|
48
51
|
order_id: order_id,
|
|
49
|
-
|
|
50
|
-
})
|
|
52
|
+
client: client
|
|
53
|
+
});
|
|
54
|
+
// 非查询模式,清空支付流水号
|
|
55
|
+
if (mode !== ModeEnum.Query) {
|
|
56
|
+
params.number = '';
|
|
57
|
+
}
|
|
58
|
+
dispatch(updateState(getInitState(eftpos, params)));
|
|
51
59
|
};
|
|
52
60
|
|
|
53
61
|
/**
|
|
@@ -56,14 +64,15 @@ export default (function (_ref) {
|
|
|
56
64
|
* @Date: 2024-08-20 11:30
|
|
57
65
|
*/
|
|
58
66
|
var onModify = function onModify() {
|
|
59
|
-
dispatch(updateState(getInitState(eftpos, {
|
|
67
|
+
dispatch(updateState(getInitState(eftpos, _objectSpread(_objectSpread({}, originalParams || {}), {}, {
|
|
60
68
|
mode: mode,
|
|
61
69
|
name: name,
|
|
62
70
|
symbol: symbol,
|
|
63
71
|
amount: amount,
|
|
64
72
|
order_id: order_id,
|
|
65
|
-
number: ''
|
|
66
|
-
|
|
73
|
+
number: '',
|
|
74
|
+
client: client
|
|
75
|
+
}))));
|
|
67
76
|
onChange('page', 'amount');
|
|
68
77
|
};
|
|
69
78
|
|
|
@@ -75,6 +84,7 @@ export default (function (_ref) {
|
|
|
75
84
|
* @Date: 2024-08-20 11:31
|
|
76
85
|
*/
|
|
77
86
|
var onManually = function onManually() {
|
|
87
|
+
payLog.log('自定义失败页:点击手动标记');
|
|
78
88
|
dispatch(updateState({
|
|
79
89
|
manual: {
|
|
80
90
|
title: locales.getText('page.eftpos-pay.text.request.unknown.title')(mode),
|
|
@@ -84,6 +94,7 @@ export default (function (_ref) {
|
|
|
84
94
|
dispatch(updateComponent('Manual'));
|
|
85
95
|
};
|
|
86
96
|
var onNotin = function onNotin() {
|
|
97
|
+
payLog.log('自定义失败页:点击打印小票');
|
|
87
98
|
onChange('print', [], 'print_on_timeout');
|
|
88
99
|
};
|
|
89
100
|
|
|
@@ -94,6 +105,7 @@ export default (function (_ref) {
|
|
|
94
105
|
* @Date: 2024-08-20 11:32
|
|
95
106
|
*/
|
|
96
107
|
var onClose = function onClose() {
|
|
108
|
+
payLog.log('自定义失败页:关闭');
|
|
97
109
|
onChange('fail', {
|
|
98
110
|
number: number,
|
|
99
111
|
uniquePaymentNumber: number,
|
|
@@ -101,9 +113,10 @@ export default (function (_ref) {
|
|
|
101
113
|
order_id: order_id
|
|
102
114
|
});
|
|
103
115
|
};
|
|
104
|
-
|
|
105
|
-
// 错误页 通知外界 开发关闭按钮
|
|
106
116
|
useMount(function () {
|
|
117
|
+
payLog.log('自定义失败页展示', {
|
|
118
|
+
status: failCustom === null || failCustom === void 0 ? void 0 : failCustom.status
|
|
119
|
+
});
|
|
107
120
|
if ((failCustom === null || failCustom === void 0 ? void 0 : failCustom.status) === 'fail') {
|
|
108
121
|
onChange('page', 'fail');
|
|
109
122
|
}
|
|
@@ -14,6 +14,7 @@ import { ClientEnum } from "../../const";
|
|
|
14
14
|
import { getInitState } from "../../manufacturer";
|
|
15
15
|
import { useDispatch, useContextData, updateState, updateComponent } from "../../store";
|
|
16
16
|
import Header from "../header";
|
|
17
|
+
import payLog from "../../utils/payLog";
|
|
17
18
|
export default (function (_ref) {
|
|
18
19
|
var _steps$step;
|
|
19
20
|
var onChange = _ref.onChange,
|
|
@@ -32,7 +33,8 @@ export default (function (_ref) {
|
|
|
32
33
|
number = _useContextData.number,
|
|
33
34
|
device = _useContextData.device,
|
|
34
35
|
client = _useContextData.client,
|
|
35
|
-
custom = _useContextData.custom
|
|
36
|
+
custom = _useContextData.custom,
|
|
37
|
+
originalParams = _useContextData.originalParams;
|
|
36
38
|
var isPosNetworkError = ((_steps$step = steps[step]) === null || _steps$step === void 0 || (_steps$step = _steps$step.custom) === null || _steps$step === void 0 ? void 0 : _steps$step.isPosNetworkError) || false;
|
|
37
39
|
var dispatch = useDispatch();
|
|
38
40
|
|
|
@@ -42,8 +44,9 @@ export default (function (_ref) {
|
|
|
42
44
|
* @Date: 2024-08-20 11:30
|
|
43
45
|
*/
|
|
44
46
|
var onRetry = function onRetry() {
|
|
47
|
+
payLog.log('失败页:点击重试');
|
|
45
48
|
onChange('page', 'pay');
|
|
46
|
-
dispatch(updateState(getInitState(eftpos, _objectSpread({
|
|
49
|
+
dispatch(updateState(getInitState(eftpos, _objectSpread(_objectSpread(_objectSpread({}, originalParams || {}), {}, {
|
|
47
50
|
mode: mode,
|
|
48
51
|
name: name,
|
|
49
52
|
symbol: symbol,
|
|
@@ -55,7 +58,9 @@ export default (function (_ref) {
|
|
|
55
58
|
"operator_type": custom.operator_type,
|
|
56
59
|
"platform": custom.platform,
|
|
57
60
|
"custom_payment_id": custom.custom_payment_id
|
|
58
|
-
} : {})
|
|
61
|
+
} : {}), {}, {
|
|
62
|
+
client: client
|
|
63
|
+
}))));
|
|
59
64
|
};
|
|
60
65
|
|
|
61
66
|
/**
|
|
@@ -64,14 +69,15 @@ export default (function (_ref) {
|
|
|
64
69
|
* @Date: 2024-08-20 11:30
|
|
65
70
|
*/
|
|
66
71
|
var onModify = function onModify() {
|
|
67
|
-
dispatch(updateState(getInitState(eftpos, {
|
|
72
|
+
dispatch(updateState(getInitState(eftpos, _objectSpread(_objectSpread({}, originalParams || {}), {}, {
|
|
68
73
|
mode: mode,
|
|
69
74
|
name: name,
|
|
70
75
|
symbol: symbol,
|
|
71
76
|
amount: amount,
|
|
72
77
|
order_id: order_id,
|
|
73
|
-
number: ''
|
|
74
|
-
|
|
78
|
+
number: '',
|
|
79
|
+
client: client
|
|
80
|
+
}))));
|
|
75
81
|
onChange('page', 'amount');
|
|
76
82
|
};
|
|
77
83
|
|
|
@@ -83,6 +89,7 @@ export default (function (_ref) {
|
|
|
83
89
|
* @Date: 2024-08-20 11:31
|
|
84
90
|
*/
|
|
85
91
|
var onManually = function onManually() {
|
|
92
|
+
payLog.log('失败页:点击手动标记');
|
|
86
93
|
dispatch(updateState({
|
|
87
94
|
manual: {
|
|
88
95
|
title: locales.getText('page.eftpos-pay.text.request.unknown.title')(mode),
|
|
@@ -92,6 +99,7 @@ export default (function (_ref) {
|
|
|
92
99
|
dispatch(updateComponent('Manual'));
|
|
93
100
|
};
|
|
94
101
|
var onNotin = function onNotin() {
|
|
102
|
+
payLog.log('失败页:点击打印小票');
|
|
95
103
|
onChange('print', [], 'print_on_timeout');
|
|
96
104
|
};
|
|
97
105
|
|
|
@@ -102,7 +110,7 @@ export default (function (_ref) {
|
|
|
102
110
|
* @Date: 2024-08-20 11:32
|
|
103
111
|
*/
|
|
104
112
|
var onClose = function onClose() {
|
|
105
|
-
|
|
113
|
+
payLog.log('失败页:点击关闭');
|
|
106
114
|
onChange('fail', {
|
|
107
115
|
number: number,
|
|
108
116
|
uniquePaymentNumber: number,
|
|
@@ -110,9 +118,10 @@ export default (function (_ref) {
|
|
|
110
118
|
order_id: order_id
|
|
111
119
|
});
|
|
112
120
|
};
|
|
113
|
-
|
|
114
|
-
// 错误页 通知外界 开发关闭按钮
|
|
115
121
|
useMount(function () {
|
|
122
|
+
payLog.log('失败页展示', {
|
|
123
|
+
status: steps[step].status
|
|
124
|
+
});
|
|
116
125
|
if (steps[step].status === 'fail') {
|
|
117
126
|
onChange('page', 'fail');
|
|
118
127
|
}
|