@pisell/private-materials 6.3.104 → 6.3.105
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 +152 -152
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +18 -10
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +18 -10
- package/es/components/appointmentBooking/components/Date/state.js +3 -1
- package/es/components/appointmentBooking/locales.d.ts +240 -0
- package/es/components/appointmentBooking/locales.js +276 -0
- 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/footer/index.js +26 -20
- 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/info/clientVariant/hooks/useIsLowSpeedNetwork.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/info2/service/addService/mock.d.ts +2 -0
- package/es/components/booking/info2/service/addService/mock.js +4 -0
- package/es/components/booking/locales.d.ts +628 -0
- package/es/components/booking/locales.js +722 -0
- package/es/components/booking/notes/NoteBlock/index.js +3 -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 +20 -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 +7 -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 -5
- package/es/components/eftpos/hooks.d.ts +1 -13
- package/es/components/eftpos/hooks.js +0 -35
- package/es/components/eftpos/index.js +25 -178
- package/es/components/eftpos/index.less +1 -26
- package/es/components/eftpos/locales.d.ts +64 -27
- package/es/components/eftpos/locales.js +85 -92
- package/es/components/eftposPay/app.d.ts +1 -1
- package/es/components/eftposPay/const.d.ts +2 -9
- package/es/components/eftposPay/const.js +0 -3
- package/es/components/eftposPay/device.js +208 -36
- package/es/components/eftposPay/hooks.d.ts +1 -2
- package/es/components/eftposPay/hooks.js +0 -12
- package/es/components/eftposPay/linkly/index.js +0 -1
- package/es/components/eftposPay/locales.d.ts +242 -0
- package/es/components/eftposPay/locales.js +326 -0
- package/es/components/eftposPay/manufacturer.d.ts +0 -1
- package/es/components/eftposPay/manufacturer.js +0 -4
- package/es/components/eftposPay/pay.js +2 -7
- package/es/components/eftposPay/store/index.d.ts +2 -2
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/windcave/windcave.js +9 -9
- 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/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/eventBooking/locales.d.ts +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/locales.d.ts +14 -0
- package/es/components/login/locales.js +14 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +32 -16
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +17 -11
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- 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 +3 -4
- package/es/components/pay/toC/locales.d.ts +204 -0
- package/es/components/pay/toC/locales.js +244 -0
- package/es/components/pay/toC/serve.d.ts +2 -0
- 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/locales.d.ts +52 -0
- package/es/components/pisellSelectCustomerModal/locales.js +52 -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/schedules/locales.d.ts +56 -0
- package/es/components/schedules/locales.js +56 -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 +59 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +390 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +367 -0
- package/es/components/systemSettings/registry/components/ItemModal.js +169 -35
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +163 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.js +127 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
- package/es/components/systemSettings/registry/index.js +20 -16
- package/es/components/systemSettings/registry/index.less +6 -7
- package/es/components/systemSettings/registry/locales.d.ts +253 -0
- package/es/components/systemSettings/registry/locales.js +262 -3
- package/es/components/systemSettings/registry/services.d.ts +20 -0
- package/es/components/systemSettings/registry/types.d.ts +15 -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/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/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 +155 -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 +15 -0
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.js +211 -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 +186 -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/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/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/locales.d.ts +14 -0
- package/es/plus/selectHolder/locales.js +18 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.js +6 -5
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.js +3 -2
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.less +2 -0
- package/es/plus/skuOptionsSelection/index.js +2 -2
- package/es/plus/skuOptionsSelection/locales.d.ts +20 -0
- package/es/plus/skuOptionsSelection/locales.js +20 -0
- package/es/plus/skuOptionsSelection/store/store.js +2 -1
- package/es/plus/skuOptionsSelection/types.d.ts +14 -0
- package/es/plus/skuOptionsSelection/types.js +4 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +10 -1
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.js +10 -1
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +9 -2
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +8 -4
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +8 -2
- 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/timelineSection/index.d.ts +2 -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 +188 -0
- package/es/plus/walletPassGallery/locales.js +192 -0
- 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 +50 -20
- package/es/pro/Cards/components/SKUCard/index.less +23 -2
- 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/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.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/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/Date/state.js +3 -1
- package/lib/components/appointmentBooking/locales.d.ts +240 -0
- package/lib/components/appointmentBooking/locales.js +240 -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/footer/index.js +5 -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/info/clientVariant/hooks/useIsLowSpeedNetwork.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/info2/service/addService/mock.d.ts +2 -0
- package/lib/components/booking/info2/service/addService/mock.js +4 -0
- package/lib/components/booking/locales.d.ts +628 -0
- package/lib/components/booking/locales.js +680 -0
- package/lib/components/booking/notes/NoteBlock/index.js +2 -1
- 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 +20 -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/{eftposPay/mx51/Result.js → ecocup/components/MoreDropdown/index.js} +31 -43
- 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/{eftposPay/mx51/types.js → ecocup/components/SearchBar/const.js} +28 -18
- 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 +7 -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/ecocup/utils/index.js +42 -0
- 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 -3
- package/lib/components/eftpos/hooks.d.ts +1 -13
- package/lib/components/eftpos/hooks.js +0 -30
- package/lib/components/eftpos/index.js +8 -101
- package/lib/components/eftpos/index.less +1 -26
- package/lib/components/eftpos/locales.d.ts +64 -27
- package/lib/components/eftpos/locales.js +78 -89
- package/lib/components/eftposPay/app.d.ts +1 -1
- package/lib/components/eftposPay/const.d.ts +2 -9
- package/lib/components/eftposPay/const.js +0 -3
- package/lib/components/eftposPay/device.js +108 -23
- package/lib/components/eftposPay/hooks.d.ts +1 -2
- package/lib/components/eftposPay/hooks.js +0 -16
- package/lib/components/eftposPay/linkly/index.js +0 -1
- package/lib/components/eftposPay/locales.d.ts +242 -0
- package/lib/components/eftposPay/locales.js +250 -0
- package/lib/components/eftposPay/manufacturer.d.ts +0 -1
- package/lib/components/eftposPay/manufacturer.js +0 -6
- package/lib/components/eftposPay/pay.js +2 -4
- package/lib/components/eftposPay/store/index.d.ts +2 -2
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/windcave/windcave.js +9 -9
- 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/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/eventBooking/locales.d.ts +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/locales.d.ts +14 -0
- package/lib/components/login/locales.js +14 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +19 -11
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +22 -23
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- 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 +3 -4
- package/lib/components/pay/toC/locales.d.ts +204 -0
- package/lib/components/pay/toC/locales.js +204 -0
- package/lib/components/pay/toC/serve.d.ts +2 -0
- 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/locales.d.ts +52 -0
- package/lib/components/pisellSelectCustomerModal/locales.js +52 -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/schedules/locales.d.ts +56 -0
- package/lib/components/schedules/locales.js +56 -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 +59 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +228 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +195 -0
- package/lib/components/systemSettings/registry/components/ItemModal.js +294 -225
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +166 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.js +210 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
- package/lib/components/systemSettings/registry/index.js +20 -16
- package/lib/components/systemSettings/registry/index.less +6 -7
- package/lib/components/systemSettings/registry/locales.d.ts +253 -0
- package/lib/components/systemSettings/registry/locales.js +262 -3
- package/lib/components/systemSettings/registry/services.d.ts +20 -0
- package/lib/components/systemSettings/registry/types.d.ts +15 -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/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/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/eftposPay/aggregatePayment/index.js → plus/clinetSearch/serve.js} +11 -10
- 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 +155 -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 +15 -0
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.js +250 -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 +186 -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/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/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/locales.d.ts +14 -0
- package/lib/plus/selectHolder/locales.js +14 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.js +11 -10
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.js +3 -2
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.less +2 -0
- package/lib/plus/skuOptionsSelection/index.js +2 -2
- package/lib/plus/skuOptionsSelection/locales.d.ts +20 -0
- package/lib/plus/skuOptionsSelection/locales.js +20 -0
- package/lib/plus/skuOptionsSelection/store/store.js +2 -1
- package/lib/plus/skuOptionsSelection/types.d.ts +14 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +15 -9
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.js +9 -6
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +9 -2
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +7 -3
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +8 -7
- 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/timelineSection/index.d.ts +2 -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 +188 -0
- package/lib/plus/walletPassGallery/locales.js +192 -0
- 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 +59 -15
- package/lib/pro/Cards/components/SKUCard/index.less +23 -2
- 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/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.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/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 +63 -0
- package/lowcode/eco-customer-list/meta.ts +63 -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/assets/mx51SCI.svg +0 -15
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -6
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.js +0 -125
- package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/es/components/eftposPay/aggregatePayment/index.js +0 -3
- 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 -101
- 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 -1140
- package/es/components/eftposPay/mx51/Action.d.ts +0 -7
- package/es/components/eftposPay/mx51/Action.js +0 -139
- package/es/components/eftposPay/mx51/Result.d.ts +0 -5
- package/es/components/eftposPay/mx51/Result.js +0 -46
- 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 -401
- package/es/components/eftposPay/mx51/types.d.ts +0 -138
- package/es/components/eftposPay/mx51/types.js +0 -30
- 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/assets/mx51SCI.svg +0 -15
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -6
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.js +0 -152
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- 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 -101
- 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 -755
- package/lib/components/eftposPay/mx51/Action.d.ts +0 -7
- package/lib/components/eftposPay/mx51/Action.js +0 -152
- package/lib/components/eftposPay/mx51/Result.d.ts +0 -5
- 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 -355
- package/lib/components/eftposPay/mx51/types.d.ts +0 -138
- package/lib/components/eftposPay/mx51/utils.d.ts +0 -10
- package/lib/components/eftposPay/mx51/utils.js +0 -115
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
display: flex;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
+
|
|
91
92
|
.pisell-lowcode__pos_drawer {
|
|
92
93
|
transform: translateZ(0);
|
|
93
94
|
}
|
|
@@ -203,29 +204,3 @@
|
|
|
203
204
|
display: flex;
|
|
204
205
|
flex-direction: column;
|
|
205
206
|
}
|
|
206
|
-
.pisell-lowcode__pos-device-pair-text {
|
|
207
|
-
padding: 0 24px 0 34px;
|
|
208
|
-
color: #101828;
|
|
209
|
-
font-size: 14px;
|
|
210
|
-
font-weight: 400;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.pisell-lowcode__pos_message
|
|
214
|
-
.pisell-lowcode__pos_message-notice-content
|
|
215
|
-
.pisell-lowcode__pos_message-success {
|
|
216
|
-
display: flex;
|
|
217
|
-
align-items: center;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.pisell-lowcode__pos_message-custom-content_mx51 {
|
|
221
|
-
display: flex;
|
|
222
|
-
flex-direction: column;
|
|
223
|
-
align-items: flex-start;
|
|
224
|
-
justify-content: center;
|
|
225
|
-
|
|
226
|
-
> span:last-child {
|
|
227
|
-
display: flex;
|
|
228
|
-
gap: 10px;
|
|
229
|
-
flex-wrap: wrap;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
@@ -15,7 +15,6 @@ declare const _default: {
|
|
|
15
15
|
'page.eftpos.text.edit': string;
|
|
16
16
|
'page.eftpos.text.delete': string;
|
|
17
17
|
'page.eftpos.text.save': string;
|
|
18
|
-
'page.eftpos.text.pair': string;
|
|
19
18
|
'page.eftpos.text.confim.delete': string;
|
|
20
19
|
'page.eftpos.text.confirm_delete-message': (x: string) => string;
|
|
21
20
|
'page.eftpos.text.confim.cancel': string;
|
|
@@ -31,14 +30,6 @@ declare const _default: {
|
|
|
31
30
|
'page.eftpos.text.setting': string;
|
|
32
31
|
'page.eftpos.text.setting.tip': string;
|
|
33
32
|
'page.eftpos.text.setting.btn': string;
|
|
34
|
-
'page.eftpos.text.pair.modal.content.text-info': (status: string) => {
|
|
35
|
-
title: string;
|
|
36
|
-
description: string;
|
|
37
|
-
codeTitle: string;
|
|
38
|
-
cancenButtonText: string;
|
|
39
|
-
okButtonText: string;
|
|
40
|
-
} | undefined;
|
|
41
|
-
'page.eftpos.text.repair.message.warning': string;
|
|
42
33
|
};
|
|
43
34
|
'zh-CN': {
|
|
44
35
|
'page.eftpos.text.manufacturer': string;
|
|
@@ -56,7 +47,6 @@ declare const _default: {
|
|
|
56
47
|
'page.eftpos.text.edit': string;
|
|
57
48
|
'page.eftpos.text.delete': string;
|
|
58
49
|
'page.eftpos.text.save': string;
|
|
59
|
-
'page.eftpos.text.pair': string;
|
|
60
50
|
'page.eftpos.text.confim.delete': string;
|
|
61
51
|
'page.eftpos.text.confirm_delete-message': (x: string) => string;
|
|
62
52
|
'page.eftpos.text.confim.cancel': string;
|
|
@@ -72,14 +62,6 @@ declare const _default: {
|
|
|
72
62
|
'page.eftpos.text.setting': string;
|
|
73
63
|
'page.eftpos.text.setting.tip': string;
|
|
74
64
|
'page.eftpos.text.setting.btn': string;
|
|
75
|
-
'page.eftpos.text.pair.modal.content.text-info': (status: string) => {
|
|
76
|
-
title: string;
|
|
77
|
-
description: string;
|
|
78
|
-
codeTitle: string;
|
|
79
|
-
cancenButtonText: string;
|
|
80
|
-
okButtonText: string;
|
|
81
|
-
} | undefined;
|
|
82
|
-
'page.eftpos.text.repair.message.warning': string;
|
|
83
65
|
};
|
|
84
66
|
'zh-HK': {
|
|
85
67
|
'page.eftpos.text.manufacturer': string;
|
|
@@ -97,7 +79,6 @@ declare const _default: {
|
|
|
97
79
|
'page.eftpos.text.edit': string;
|
|
98
80
|
'page.eftpos.text.delete': string;
|
|
99
81
|
'page.eftpos.text.save': string;
|
|
100
|
-
'page.eftpos.text.pair': string;
|
|
101
82
|
'page.eftpos.text.confim.delete': string;
|
|
102
83
|
'page.eftpos.text.confirm_delete-message': (x: string) => string;
|
|
103
84
|
'page.eftpos.text.confim.cancel': string;
|
|
@@ -113,14 +94,70 @@ declare const _default: {
|
|
|
113
94
|
'page.eftpos.text.setting': string;
|
|
114
95
|
'page.eftpos.text.setting.tip': string;
|
|
115
96
|
'page.eftpos.text.setting.btn': string;
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
'page.eftpos.text.
|
|
97
|
+
};
|
|
98
|
+
ja: {
|
|
99
|
+
'page.eftpos.text.manufacturer': string;
|
|
100
|
+
'page.eftpos.text.description': string;
|
|
101
|
+
'page.eftpos.text.status': string;
|
|
102
|
+
'page.eftpos.text.operation': string;
|
|
103
|
+
'page.eftpos.text.device': string;
|
|
104
|
+
'page.eftpos.text.device.add': (status?: string, name?: string) => string;
|
|
105
|
+
'page.eftpos.text.device.list': string;
|
|
106
|
+
'page.eftpos.text.device.name': string;
|
|
107
|
+
'page.eftpos.text.sucahrge': string;
|
|
108
|
+
'page.eftpos.text.paired': string;
|
|
109
|
+
'page.eftpos.text.unpaired': string;
|
|
110
|
+
'page.eftpos.text.repair': string;
|
|
111
|
+
'page.eftpos.text.edit': string;
|
|
112
|
+
'page.eftpos.text.delete': string;
|
|
113
|
+
'page.eftpos.text.save': string;
|
|
114
|
+
'page.eftpos.text.confim.delete': string;
|
|
115
|
+
'page.eftpos.text.confirm_delete-message': (x: string) => string;
|
|
116
|
+
'page.eftpos.text.confim.cancel': string;
|
|
117
|
+
'page.eftpos.text.table.name': string;
|
|
118
|
+
'page.eftpos.text.table.status': string;
|
|
119
|
+
'page.eftpos.text.table.surcharge': string;
|
|
120
|
+
'page.eftpos.text.table.opeartion': string;
|
|
121
|
+
'page.eftpos.text.table.del.title': string;
|
|
122
|
+
'page.eftpos.text.table.del.text': string;
|
|
123
|
+
'page.eftpos.text.table.del.delete': string;
|
|
124
|
+
'page.eftpos.text.table.del.cancel': string;
|
|
125
|
+
'page.eftpos.text.log': string;
|
|
126
|
+
'page.eftpos.text.setting': string;
|
|
127
|
+
'page.eftpos.text.setting.tip': string;
|
|
128
|
+
'page.eftpos.text.setting.btn': string;
|
|
129
|
+
};
|
|
130
|
+
pt: {
|
|
131
|
+
'page.eftpos.text.manufacturer': string;
|
|
132
|
+
'page.eftpos.text.description': string;
|
|
133
|
+
'page.eftpos.text.status': string;
|
|
134
|
+
'page.eftpos.text.operation': string;
|
|
135
|
+
'page.eftpos.text.device': string;
|
|
136
|
+
'page.eftpos.text.device.add': (status?: string, name?: string) => string;
|
|
137
|
+
'page.eftpos.text.device.list': string;
|
|
138
|
+
'page.eftpos.text.device.name': string;
|
|
139
|
+
'page.eftpos.text.sucahrge': string;
|
|
140
|
+
'page.eftpos.text.paired': string;
|
|
141
|
+
'page.eftpos.text.unpaired': string;
|
|
142
|
+
'page.eftpos.text.repair': string;
|
|
143
|
+
'page.eftpos.text.edit': string;
|
|
144
|
+
'page.eftpos.text.delete': string;
|
|
145
|
+
'page.eftpos.text.save': string;
|
|
146
|
+
'page.eftpos.text.confim.delete': string;
|
|
147
|
+
'page.eftpos.text.confirm_delete-message': (x: string) => string;
|
|
148
|
+
'page.eftpos.text.confim.cancel': string;
|
|
149
|
+
'page.eftpos.text.table.name': string;
|
|
150
|
+
'page.eftpos.text.table.status': string;
|
|
151
|
+
'page.eftpos.text.table.surcharge': string;
|
|
152
|
+
'page.eftpos.text.table.opeartion': string;
|
|
153
|
+
'page.eftpos.text.table.del.title': string;
|
|
154
|
+
'page.eftpos.text.table.del.text': string;
|
|
155
|
+
'page.eftpos.text.table.del.delete': string;
|
|
156
|
+
'page.eftpos.text.table.del.cancel': string;
|
|
157
|
+
'page.eftpos.text.log': string;
|
|
158
|
+
'page.eftpos.text.setting': string;
|
|
159
|
+
'page.eftpos.text.setting.tip': string;
|
|
160
|
+
'page.eftpos.text.setting.btn': string;
|
|
124
161
|
};
|
|
125
162
|
};
|
|
126
163
|
export default _default;
|
|
@@ -23,7 +23,7 @@ __export(locales_exports, {
|
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(locales_exports);
|
|
25
25
|
var locales_default = {
|
|
26
|
-
en: {
|
|
26
|
+
"en": {
|
|
27
27
|
"page.eftpos.text.manufacturer": "Manufacturer",
|
|
28
28
|
"page.eftpos.text.description": "Description",
|
|
29
29
|
"page.eftpos.text.status": "status",
|
|
@@ -45,7 +45,6 @@ var locales_default = {
|
|
|
45
45
|
"page.eftpos.text.edit": "Edit",
|
|
46
46
|
"page.eftpos.text.delete": "Delete",
|
|
47
47
|
"page.eftpos.text.save": "Save",
|
|
48
|
-
"page.eftpos.text.pair": "Pair",
|
|
49
48
|
"page.eftpos.text.confim.delete": "Confirm delete",
|
|
50
49
|
"page.eftpos.text.confirm_delete-message": (x) => `Confirm delete ${x} Device`,
|
|
51
50
|
"page.eftpos.text.confim.cancel": "Cancel",
|
|
@@ -60,35 +59,7 @@ var locales_default = {
|
|
|
60
59
|
"page.eftpos.text.log": "Log",
|
|
61
60
|
"page.eftpos.text.setting": "Setting",
|
|
62
61
|
"page.eftpos.text.setting.tip": "You have not configured the necessary parameters, which may affect the normal use of your POS! ",
|
|
63
|
-
"page.eftpos.text.setting.btn": "Go to configure"
|
|
64
|
-
"page.eftpos.text.pair.modal.content.text-info": (status) => {
|
|
65
|
-
if (status === "pairing") {
|
|
66
|
-
return {
|
|
67
|
-
title: "Pairing",
|
|
68
|
-
description: "Confirm the code on the EFTPOS terminal to continue.",
|
|
69
|
-
codeTitle: "Code",
|
|
70
|
-
cancenButtonText: "Cancel",
|
|
71
|
-
okButtonText: "Check status"
|
|
72
|
-
};
|
|
73
|
-
} else if (status === "success") {
|
|
74
|
-
return {
|
|
75
|
-
title: "Pairing is active",
|
|
76
|
-
description: "You are ready to go!",
|
|
77
|
-
codeTitle: "",
|
|
78
|
-
cancenButtonText: "Unpair",
|
|
79
|
-
okButtonText: "Confirm"
|
|
80
|
-
};
|
|
81
|
-
} else if (status === "failed") {
|
|
82
|
-
return {
|
|
83
|
-
title: "Pairing not active",
|
|
84
|
-
description: "Check the terminal, confirm the pairing code, then try again.",
|
|
85
|
-
codeTitle: "Code",
|
|
86
|
-
cancenButtonText: "Cancel",
|
|
87
|
-
okButtonText: "Check status"
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"page.eftpos.text.repair.message.warning": "Device is already connected. No need to reconnect."
|
|
62
|
+
"page.eftpos.text.setting.btn": "Go to configure"
|
|
92
63
|
},
|
|
93
64
|
"zh-CN": {
|
|
94
65
|
"page.eftpos.text.manufacturer": "厂商",
|
|
@@ -112,7 +83,6 @@ var locales_default = {
|
|
|
112
83
|
"page.eftpos.text.edit": "编辑",
|
|
113
84
|
"page.eftpos.text.delete": "删除",
|
|
114
85
|
"page.eftpos.text.save": "保存",
|
|
115
|
-
"page.eftpos.text.pair": "配对",
|
|
116
86
|
"page.eftpos.text.confim.delete": "确认删除",
|
|
117
87
|
"page.eftpos.text.confirm_delete-message": (x) => `确认删除 ${x} 设备吗?`,
|
|
118
88
|
"page.eftpos.text.confim.cancel": "取消",
|
|
@@ -127,35 +97,7 @@ var locales_default = {
|
|
|
127
97
|
"page.eftpos.text.log": "日志",
|
|
128
98
|
"page.eftpos.text.setting": "设置",
|
|
129
99
|
"page.eftpos.text.setting.tip": "您尚未配置必要参数,这可能会影响您Pos的正常使用!",
|
|
130
|
-
"page.eftpos.text.setting.btn": "前往配置"
|
|
131
|
-
"page.eftpos.text.pair.modal.content.text-info": (status) => {
|
|
132
|
-
if (status === "pairing") {
|
|
133
|
-
return {
|
|
134
|
-
title: "正在配对",
|
|
135
|
-
description: "请在刷卡机上确认配对码以继续。",
|
|
136
|
-
codeTitle: "配对码",
|
|
137
|
-
cancenButtonText: "取消",
|
|
138
|
-
okButtonText: "检查状态"
|
|
139
|
-
};
|
|
140
|
-
} else if (status === "success") {
|
|
141
|
-
return {
|
|
142
|
-
title: "配对成功",
|
|
143
|
-
description: "设备已成功连接,可开始使用。",
|
|
144
|
-
codeTitle: "",
|
|
145
|
-
cancenButtonText: "解除配对",
|
|
146
|
-
okButtonText: "确认"
|
|
147
|
-
};
|
|
148
|
-
} else if (status === "failed") {
|
|
149
|
-
return {
|
|
150
|
-
title: "配对未生效",
|
|
151
|
-
description: "请检查刷卡机并确认配对码后重试。",
|
|
152
|
-
codeTitle: "配对码",
|
|
153
|
-
cancenButtonText: "取消",
|
|
154
|
-
okButtonText: "检查状态"
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
"page.eftpos.text.repair.message.warning": "设备已连接,无需重新连接。"
|
|
100
|
+
"page.eftpos.text.setting.btn": "前往配置"
|
|
159
101
|
},
|
|
160
102
|
"zh-HK": {
|
|
161
103
|
"page.eftpos.text.manufacturer": "廠商",
|
|
@@ -179,7 +121,6 @@ var locales_default = {
|
|
|
179
121
|
"page.eftpos.text.edit": "編輯",
|
|
180
122
|
"page.eftpos.text.delete": "删除",
|
|
181
123
|
"page.eftpos.text.save": "保存",
|
|
182
|
-
"page.eftpos.text.pair": "配對",
|
|
183
124
|
"page.eftpos.text.confim.delete": "確認刪除",
|
|
184
125
|
"page.eftpos.text.confirm_delete-message": (x) => `確認刪除 ${x} 設備嗎?`,
|
|
185
126
|
"page.eftpos.text.confim.cancel": "取消",
|
|
@@ -194,34 +135,82 @@ var locales_default = {
|
|
|
194
135
|
"page.eftpos.text.log": "日誌",
|
|
195
136
|
"page.eftpos.text.setting": "设置",
|
|
196
137
|
"page.eftpos.text.setting.tip": "您尚未配置必要參數,這可能會影響您Pos的正常使用!",
|
|
197
|
-
"page.eftpos.text.setting.btn": "前往配置"
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
138
|
+
"page.eftpos.text.setting.btn": "前往配置"
|
|
139
|
+
},
|
|
140
|
+
ja: {
|
|
141
|
+
"page.eftpos.text.manufacturer": "メーカー",
|
|
142
|
+
"page.eftpos.text.description": "説明",
|
|
143
|
+
"page.eftpos.text.status": "ステータス",
|
|
144
|
+
"page.eftpos.text.operation": "操作",
|
|
145
|
+
"page.eftpos.text.device": "デバイス",
|
|
146
|
+
"page.eftpos.text.device.add": (status, name) => {
|
|
147
|
+
if (!name) {
|
|
148
|
+
return `デバイスを追加`;
|
|
149
|
+
}
|
|
150
|
+
const action = status == "add" ? "追加" : status == "edit" ? "編集" : "再設定";
|
|
151
|
+
return `${action} ${name} デバイス`;
|
|
152
|
+
},
|
|
153
|
+
"page.eftpos.text.device.list": "デバイスリスト",
|
|
154
|
+
"page.eftpos.text.device.name": "デバイス名",
|
|
155
|
+
"page.eftpos.text.sucahrge": "支払い手数料",
|
|
156
|
+
"page.eftpos.text.paired": "ペアリング済み",
|
|
157
|
+
"page.eftpos.text.unpaired": "未ペアリング",
|
|
158
|
+
"page.eftpos.text.repair": "再設定",
|
|
159
|
+
"page.eftpos.text.edit": "編集",
|
|
160
|
+
"page.eftpos.text.delete": "削除",
|
|
161
|
+
"page.eftpos.text.save": "保存",
|
|
162
|
+
"page.eftpos.text.confim.delete": "削除を確認",
|
|
163
|
+
"page.eftpos.text.confirm_delete-message": (x) => `${x} デバイスを削除してもよろしいですか?`,
|
|
164
|
+
"page.eftpos.text.confim.cancel": "キャンセル",
|
|
165
|
+
"page.eftpos.text.table.name": "デバイス名",
|
|
166
|
+
"page.eftpos.text.table.status": "ステータス",
|
|
167
|
+
"page.eftpos.text.table.surcharge": "支払い手数料",
|
|
168
|
+
"page.eftpos.text.table.opeartion": "操作",
|
|
169
|
+
"page.eftpos.text.table.del.title": "デバイスを削除",
|
|
170
|
+
"page.eftpos.text.table.del.text": "デバイスを削除してもよろしいですか?",
|
|
171
|
+
"page.eftpos.text.table.del.delete": "削除",
|
|
172
|
+
"page.eftpos.text.table.del.cancel": "キャンセル",
|
|
173
|
+
"page.eftpos.text.log": "ログ",
|
|
174
|
+
"page.eftpos.text.setting": "設定",
|
|
175
|
+
"page.eftpos.text.setting.tip": "必要なパラメータが設定されていません。これによりPOSの正常な使用に影響する可能性があります!",
|
|
176
|
+
"page.eftpos.text.setting.btn": "設定に移動"
|
|
177
|
+
},
|
|
178
|
+
pt: {
|
|
179
|
+
"page.eftpos.text.manufacturer": "Fabricante",
|
|
180
|
+
"page.eftpos.text.description": "Descrição",
|
|
181
|
+
"page.eftpos.text.status": "status",
|
|
182
|
+
"page.eftpos.text.operation": "Operação",
|
|
183
|
+
"page.eftpos.text.device": "Dispositivo",
|
|
184
|
+
"page.eftpos.text.device.add": (status, name) => {
|
|
185
|
+
if (!name) {
|
|
186
|
+
return `Adicionar dispositivo`;
|
|
223
187
|
}
|
|
188
|
+
const action = status == "add" ? "Adicionar" : status == "edit" ? "Editar" : "Reparar";
|
|
189
|
+
return `${action} dispositivo ${name}`;
|
|
224
190
|
},
|
|
225
|
-
"page.eftpos.text.
|
|
191
|
+
"page.eftpos.text.device.list": "Lista de dispositivos",
|
|
192
|
+
"page.eftpos.text.device.name": "Nome do dispositivo",
|
|
193
|
+
"page.eftpos.text.sucahrge": "Taxa",
|
|
194
|
+
"page.eftpos.text.paired": "Emparelhado",
|
|
195
|
+
"page.eftpos.text.unpaired": "Não emparelhado",
|
|
196
|
+
"page.eftpos.text.repair": "Reparar",
|
|
197
|
+
"page.eftpos.text.edit": "Editar",
|
|
198
|
+
"page.eftpos.text.delete": "Excluir",
|
|
199
|
+
"page.eftpos.text.save": "Salvar",
|
|
200
|
+
"page.eftpos.text.confim.delete": "Confirmar exclusão",
|
|
201
|
+
"page.eftpos.text.confirm_delete-message": (x) => `Confirmar exclusão do dispositivo ${x}`,
|
|
202
|
+
"page.eftpos.text.confim.cancel": "Cancelar",
|
|
203
|
+
"page.eftpos.text.table.name": "Nome do dispositivo",
|
|
204
|
+
"page.eftpos.text.table.status": "Status",
|
|
205
|
+
"page.eftpos.text.table.surcharge": "Taxa",
|
|
206
|
+
"page.eftpos.text.table.opeartion": "Operação",
|
|
207
|
+
"page.eftpos.text.table.del.title": "Excluir dispositivo",
|
|
208
|
+
"page.eftpos.text.table.del.text": "Tem certeza de que deseja excluir o dispositivo?",
|
|
209
|
+
"page.eftpos.text.table.del.delete": "Excluir",
|
|
210
|
+
"page.eftpos.text.table.del.cancel": "Cancelar",
|
|
211
|
+
"page.eftpos.text.log": "Log",
|
|
212
|
+
"page.eftpos.text.setting": "Configurações",
|
|
213
|
+
"page.eftpos.text.setting.tip": "Você não configurou os parâmetros necessários, o que pode afetar o uso normal do seu POS!",
|
|
214
|
+
"page.eftpos.text.setting.btn": "Ir para configurar"
|
|
226
215
|
}
|
|
227
216
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PosProps, RouteType } from './const';
|
|
3
|
-
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "
|
|
3
|
+
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
|
|
4
4
|
action: RouteType;
|
|
5
5
|
device_number: string | number;
|
|
6
6
|
api: ReturnType<PosProps['getApi']>;
|
|
@@ -6,10 +6,7 @@ export declare enum EftposEnum {
|
|
|
6
6
|
/** 后端支付 - 支付 + 退款 */
|
|
7
7
|
Windcave = "windcave",
|
|
8
8
|
Stripe = "stripe",
|
|
9
|
-
|
|
10
|
-
Linkly = "linkly",
|
|
11
|
-
/** mx51支付 - 支付 + 退款 */
|
|
12
|
-
MX51 = "mx51"
|
|
9
|
+
Linkly = "linkly"
|
|
13
10
|
}
|
|
14
11
|
export declare enum StatusEnum {
|
|
15
12
|
Loading = "loading",
|
|
@@ -157,8 +154,6 @@ export declare enum PayStatus {
|
|
|
157
154
|
'Unknown' = "701000",
|
|
158
155
|
/** 交易请求超时 */
|
|
159
156
|
'Timeout' = "701001",
|
|
160
|
-
/** 支付失败 */
|
|
161
|
-
'PaymentFailed' = "701002",
|
|
162
157
|
/** 繁忙 EFTPOS终端暂时不可用,因为EFTPOS正在处理另一个请求。 */
|
|
163
158
|
'PayOtherEftposFailed' = "701003",
|
|
164
159
|
/** 购物者没有出示卡片/卡片金额不足/在线拒绝/卡已过期/卡被锁定 */
|
|
@@ -174,9 +169,7 @@ export declare enum PayStatus {
|
|
|
174
169
|
/** 签名拒绝 */
|
|
175
170
|
'SignatureDeclined' = "701009",
|
|
176
171
|
/** 配置参数错误 */
|
|
177
|
-
'UserConfigError' = "701010"
|
|
178
|
-
/** mx51未知状态 */
|
|
179
|
-
'UnknownMx51' = "702001"
|
|
172
|
+
'UserConfigError' = "701010"
|
|
180
173
|
}
|
|
181
174
|
export interface ActionProps {
|
|
182
175
|
onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page', params?: {
|
|
@@ -36,7 +36,6 @@ var EftposEnum = /* @__PURE__ */ ((EftposEnum2) => {
|
|
|
36
36
|
EftposEnum2["Windcave"] = "windcave";
|
|
37
37
|
EftposEnum2["Stripe"] = "stripe";
|
|
38
38
|
EftposEnum2["Linkly"] = "linkly";
|
|
39
|
-
EftposEnum2["MX51"] = "mx51";
|
|
40
39
|
return EftposEnum2;
|
|
41
40
|
})(EftposEnum || {});
|
|
42
41
|
var StatusEnum = /* @__PURE__ */ ((StatusEnum2) => {
|
|
@@ -93,7 +92,6 @@ var PayStatus = /* @__PURE__ */ ((PayStatus2) => {
|
|
|
93
92
|
PayStatus2["PairingFailure"] = "606020";
|
|
94
93
|
PayStatus2["Unknown"] = "701000";
|
|
95
94
|
PayStatus2["Timeout"] = "701001";
|
|
96
|
-
PayStatus2["PaymentFailed"] = "701002";
|
|
97
95
|
PayStatus2["PayOtherEftposFailed"] = "701003";
|
|
98
96
|
PayStatus2["PayCardErrorFailed"] = "701004";
|
|
99
97
|
PayStatus2["NoNetWork"] = "701005";
|
|
@@ -102,7 +100,6 @@ var PayStatus = /* @__PURE__ */ ((PayStatus2) => {
|
|
|
102
100
|
PayStatus2["PayBankRefuses"] = "701008";
|
|
103
101
|
PayStatus2["SignatureDeclined"] = "701009";
|
|
104
102
|
PayStatus2["UserConfigError"] = "701010";
|
|
105
|
-
PayStatus2["UnknownMx51"] = "702001";
|
|
106
103
|
return PayStatus2;
|
|
107
104
|
})(PayStatus || {});
|
|
108
105
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -43,6 +43,8 @@ var import_ChevronRight = __toESM(require("@pisell/icon/es/ChevronRight"));
|
|
|
43
43
|
var import_store = require("./store");
|
|
44
44
|
var import_manufacturer = require("./manufacturer");
|
|
45
45
|
var import_device = require("./device.less");
|
|
46
|
+
var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
|
|
47
|
+
var import_utils2 = require("@pisell/utils");
|
|
46
48
|
var device_default = ({
|
|
47
49
|
api,
|
|
48
50
|
onChange,
|
|
@@ -54,12 +56,15 @@ var device_default = ({
|
|
|
54
56
|
client,
|
|
55
57
|
formatAmount = (number, precision, symbol) => `${symbol}${number}`
|
|
56
58
|
}) => {
|
|
59
|
+
const context = (0, import_useEngineContext.default)();
|
|
60
|
+
const { isTerminal, interaction } = context.appHelper.utils || {};
|
|
57
61
|
const store = (0, import_store.useContextData)();
|
|
58
|
-
const { device, symbol, mode, eftpos } = store;
|
|
62
|
+
const { device, symbol, mode, eftpos, order_id } = store;
|
|
59
63
|
const [loading, setLoading] = (0, import_react.useState)(false);
|
|
60
64
|
const [dataStaus, setDataStaus] = (0, import_react.useState)(true);
|
|
61
65
|
const [list, setList] = (0, import_react.useState)([]);
|
|
62
66
|
const dispatch = (0, import_store.useDispatch)();
|
|
67
|
+
const timerRef = (0, import_react.useRef)();
|
|
63
68
|
const onClick = (event) => {
|
|
64
69
|
if (!net) {
|
|
65
70
|
import_antd.message.open({
|
|
@@ -72,10 +77,41 @@ var device_default = ({
|
|
|
72
77
|
const [index] = [Number(event.currentTarget.dataset.index)];
|
|
73
78
|
setDevice(list[index]);
|
|
74
79
|
};
|
|
80
|
+
const triggerCloseButton = (bool) => {
|
|
81
|
+
var _a, _b;
|
|
82
|
+
if (!(isTerminal == null ? void 0 : isTerminal())) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
(_b = (_a = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a.postMessageToApp) == null ? void 0 : _b.call(_a, {
|
|
86
|
+
module: "pos",
|
|
87
|
+
key: "other",
|
|
88
|
+
data: {
|
|
89
|
+
key: bool ? "show_close_button" : "hide_close_button"
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
const closeFirstWithDelayShow = () => {
|
|
94
|
+
timerRef.current && clearTimeout(timerRef.current);
|
|
95
|
+
if (!(isTerminal == null ? void 0 : isTerminal())) {
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
triggerCloseButton(false);
|
|
99
|
+
timerRef.current = setTimeout(() => {
|
|
100
|
+
triggerCloseButton(true);
|
|
101
|
+
}, 5e3);
|
|
102
|
+
};
|
|
103
|
+
const clearTimer = () => {
|
|
104
|
+
if (timerRef.current) {
|
|
105
|
+
clearTimeout(timerRef.current);
|
|
106
|
+
timerRef.current = void 0;
|
|
107
|
+
}
|
|
108
|
+
};
|
|
75
109
|
(0, import_ahooks.useMount)(() => {
|
|
76
110
|
setLoading(true);
|
|
111
|
+
closeFirstWithDelayShow();
|
|
77
112
|
api.getDeviceList({ type: eftpos, status: "paired" }).then(
|
|
78
113
|
(res) => {
|
|
114
|
+
clearTimer();
|
|
79
115
|
setLoading(false);
|
|
80
116
|
if (res && Array.isArray(res.list) && res.list.length > 0) {
|
|
81
117
|
if (device_number) {
|
|
@@ -100,24 +136,65 @@ var device_default = ({
|
|
|
100
136
|
setList(setDeviceList(res.list));
|
|
101
137
|
if (res.list.length === 1) {
|
|
102
138
|
setDevice(res.list[0]);
|
|
139
|
+
} else {
|
|
140
|
+
triggerCloseButton(true);
|
|
103
141
|
}
|
|
104
142
|
return;
|
|
105
143
|
}
|
|
144
|
+
triggerCloseButton(true);
|
|
106
145
|
setDataStaus(false);
|
|
107
146
|
},
|
|
108
147
|
() => {
|
|
148
|
+
clearTimer();
|
|
149
|
+
triggerCloseButton(true);
|
|
109
150
|
setDataStaus(false);
|
|
110
151
|
setLoading(false);
|
|
111
152
|
}
|
|
112
153
|
);
|
|
113
154
|
});
|
|
114
|
-
|
|
155
|
+
(0, import_ahooks.useUnmount)(() => {
|
|
156
|
+
timerRef.current && clearTimeout(timerRef.current);
|
|
157
|
+
});
|
|
158
|
+
const checkIsActiveWithDelay = async (time = 100) => {
|
|
159
|
+
var _a, _b, _c;
|
|
160
|
+
if (!(isTerminal == null ? void 0 : isTerminal())) {
|
|
161
|
+
return true;
|
|
162
|
+
}
|
|
163
|
+
await new Promise((resolve) => setTimeout(resolve, time));
|
|
164
|
+
if ((_a = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a.asyncDataManager) {
|
|
165
|
+
try {
|
|
166
|
+
const activeStatus = await ((_c = (_b = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _b.asyncDataManager) == null ? void 0 : _c.call(_b, {
|
|
167
|
+
module: "get",
|
|
168
|
+
key: "pay_webview_active"
|
|
169
|
+
}));
|
|
170
|
+
return activeStatus !== "unActive";
|
|
171
|
+
} catch (error) {
|
|
172
|
+
return true;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
return true;
|
|
176
|
+
};
|
|
177
|
+
const setDevice = async (device2) => {
|
|
115
178
|
dispatch((0, import_store.updateDevice)({ device: device2 }));
|
|
116
179
|
if (typeof api.selectDevice === "function") {
|
|
117
180
|
api.selectDevice(device2);
|
|
118
181
|
}
|
|
119
182
|
if (typeof onChange === "function") {
|
|
120
183
|
if (mode === import_const.ModeEnum.Pay) {
|
|
184
|
+
triggerCloseButton(false);
|
|
185
|
+
const isActive = await checkIsActiveWithDelay(100);
|
|
186
|
+
if (!isActive) {
|
|
187
|
+
(0, import_utils2.sendWarningLog)({
|
|
188
|
+
title: "支付-当前页面非活跃状态,无法进行支付",
|
|
189
|
+
content: [
|
|
190
|
+
{
|
|
191
|
+
key: "activeStatus",
|
|
192
|
+
value: JSON.stringify({ order_id, isActive })
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
});
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
121
198
|
if (device2.pay) {
|
|
122
199
|
dispatch(
|
|
123
200
|
(0, import_store.updateState)({
|
|
@@ -152,34 +229,42 @@ var device_default = ({
|
|
|
152
229
|
className: "pisell-lowcode__eft-pay-device-list",
|
|
153
230
|
style: isMobile ? { marginTop: "20px" } : {}
|
|
154
231
|
},
|
|
155
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
156
|
-
|
|
232
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
233
|
+
import_antd.Spin,
|
|
157
234
|
{
|
|
158
|
-
|
|
235
|
+
spinning: loading,
|
|
236
|
+
size: "large",
|
|
237
|
+
style: { flex: 1, overflow: "auto", minHeight: "200px" }
|
|
159
238
|
},
|
|
160
|
-
|
|
239
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
161
240
|
"div",
|
|
162
241
|
{
|
|
163
|
-
|
|
164
|
-
className: `pisell-lowcode__eft-pay-device ${id === (device == null ? void 0 : device.id) ? "active" : ""}`,
|
|
165
|
-
"data-index": index,
|
|
166
|
-
onClick,
|
|
167
|
-
role: "button",
|
|
168
|
-
tabIndex: index
|
|
242
|
+
style: { display: "flex", flexDirection: "column", gap: "10px" }
|
|
169
243
|
},
|
|
170
|
-
|
|
171
|
-
"
|
|
172
|
-
), ": ", formatAmount(`${pay.surcharge}`, 2, symbol), " (", import_utils.locales.getText(
|
|
173
|
-
"page.eftpos-pay.text.surcharge.edit.rate"
|
|
174
|
-
), ":", pay.surRate, "% +", " ", formatAmount(`${pay.surMoney}`, 2, symbol), ")"))),
|
|
175
|
-
/* @__PURE__ */ import_react.default.createElement("div", { style: { flexShrink: 0 } }, /* @__PURE__ */ import_react.default.createElement(
|
|
176
|
-
import_ChevronRight.default,
|
|
244
|
+
list.map(({ id, name, pay }, index) => /* @__PURE__ */ import_react.default.createElement(
|
|
245
|
+
"div",
|
|
177
246
|
{
|
|
178
|
-
|
|
179
|
-
|
|
247
|
+
key: id,
|
|
248
|
+
className: `pisell-lowcode__eft-pay-device ${id === (device == null ? void 0 : device.id) ? "active" : ""}`,
|
|
249
|
+
"data-index": index,
|
|
250
|
+
onClick,
|
|
251
|
+
role: "button",
|
|
252
|
+
tabIndex: index
|
|
253
|
+
},
|
|
254
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-device-content" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-device-name" }, name), mode === import_const.ModeEnum.Refund ? null : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-device-money" }, pay.totalUnit), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-device-sucharge" }, import_utils.locales.getText(
|
|
255
|
+
"page.eftpos-pay.text.surcharge.edit.inc.surcharge"
|
|
256
|
+
), ": ", formatAmount(`${pay.surcharge}`, 2, symbol), " (", import_utils.locales.getText(
|
|
257
|
+
"page.eftpos-pay.text.surcharge.edit.rate"
|
|
258
|
+
), ":", pay.surRate, "% +", " ", formatAmount(`${pay.surMoney}`, 2, symbol), ")"))),
|
|
259
|
+
/* @__PURE__ */ import_react.default.createElement("div", { style: { flexShrink: 0 } }, /* @__PURE__ */ import_react.default.createElement(
|
|
260
|
+
import_ChevronRight.default,
|
|
261
|
+
{
|
|
262
|
+
style: { fontWeight: "600", fontSize: "24px" }
|
|
263
|
+
}
|
|
264
|
+
))
|
|
180
265
|
))
|
|
181
|
-
)
|
|
182
|
-
)
|
|
266
|
+
)
|
|
267
|
+
)
|
|
183
268
|
) : /* @__PURE__ */ import_react.default.createElement(
|
|
184
269
|
"div",
|
|
185
270
|
{
|
|
@@ -19,7 +19,7 @@ export declare const useStoreRef: <T extends {
|
|
|
19
19
|
readonly netRef: React.MutableRefObject<boolean | undefined>;
|
|
20
20
|
readonly symbolRef: React.MutableRefObject<string>;
|
|
21
21
|
readonly amountRef: React.MutableRefObject<string | number>;
|
|
22
|
-
readonly eftposRef: React.MutableRefObject<"stripe" | "
|
|
22
|
+
readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave" | "linkly">;
|
|
23
23
|
readonly clientRef: React.MutableRefObject<ClientEnum>;
|
|
24
24
|
readonly dataRef: React.MutableRefObject<import("./store").State>;
|
|
25
25
|
};
|
|
@@ -32,5 +32,4 @@ export declare const useStoreRef: <T extends {
|
|
|
32
32
|
*/
|
|
33
33
|
export declare const useFail: (index: number) => (res: {
|
|
34
34
|
code?: `${PayStatus}`;
|
|
35
|
-
message?: string;
|
|
36
35
|
}, isMark?: boolean) => void;
|