@pisell/private-materials 6.3.115 → 6.3.117
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/Sales/Cart/index.d.ts +53 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/es/components/appointmentBooking/components/Date/state.js +3 -1
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +5 -0
- package/es/components/appointmentBooking/locales.js +276 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/es/components/authentication/admin/AuthMethods/locales.js +164 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +27 -9
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +17 -9
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +17 -9
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerAuth/locales.js +42 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/es/components/authentication/admin/DeviceAuth/locales.js +36 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/es/components/authentication/admin/OAuthConfig/locales.js +58 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
- package/es/components/booking/addons/index.d.ts +17 -0
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/footer/amount.d.ts +25 -0
- package/es/components/booking/components/footer/index.d.ts +12 -0
- package/es/components/booking/components/footer/index.js +26 -20
- package/es/components/booking/components/footer/utils.d.ts +47 -0
- package/es/components/booking/components/footer/utils.js +24 -11
- package/es/components/booking/components/voucher/index.d.ts +4 -0
- package/es/components/booking/dashboard/index.d.ts +20 -0
- package/es/components/booking/dashboard/serve.d.ts +1 -0
- package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +3 -0
- package/es/components/booking/editBookingModal/locales.d.ts +33 -0
- package/es/components/booking/editBookingModal/locales.js +12 -0
- package/es/components/booking/editBookingModal/mock.d.ts +991 -0
- package/es/components/booking/editBookingModal/mock.js +22 -0
- package/es/components/booking/forms/forms.d.ts +30 -0
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/serve.d.ts +18 -0
- package/es/components/booking/hooks/useClearCart.d.ts +1 -1
- package/es/components/booking/hooks/useClearCart.js +39 -9
- package/es/components/booking/hooks/useQuotation.d.ts +6 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/client/serve.d.ts +2 -0
- package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/date/index.d.ts +5 -0
- package/es/components/booking/info/header/index.d.ts +4 -0
- package/es/components/booking/info/header/index.js +7 -7
- package/es/components/booking/info/header/index.less +5 -5
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/es/components/booking/info/main.d.ts +12 -0
- package/es/components/booking/info/model.d.ts +5 -0
- package/es/components/booking/info/pet/index.d.ts +14 -0
- package/es/components/booking/info/pet/serve.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +3 -0
- package/es/components/booking/info/service/addService/index.d.ts +12 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +5 -0
- package/es/components/booking/info/service/editService/index.d.ts +7 -0
- package/es/components/booking/info/service/index.less +4 -2
- package/es/components/booking/info/service/serve.d.ts +20 -0
- package/es/components/booking/info/service/serviceItem/index.d.ts +4 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/es/components/booking/info/service2/Lists.d.ts +3 -0
- package/es/components/booking/info/service2/utils.d.ts +248 -0
- package/es/components/booking/info/utils.d.ts +50 -0
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/serve.d.ts +6 -0
- package/es/components/booking/info2/service/addService/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/es/components/booking/info2/service/addService/mock.js +4 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/es/components/booking/info2/service/editService/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/index.js +36 -6
- package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/es/components/booking/info2/service/editService/utils.js +76 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/service/serviceItem/index.d.ts +4 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/es/components/booking/locales.d.ts +1494 -0
- package/es/components/booking/locales.js +742 -0
- package/es/components/booking/model.d.ts +112 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +17 -0
- package/es/components/booking/notes/NoteBlock/index.js +3 -2
- package/es/components/booking/notes/addNote/index.d.ts +4 -0
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.d.ts +175 -0
- 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.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.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.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.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.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.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.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.js +67 -0
- package/es/components/ecocup/customerList/hooks/index.js +3 -0
- package/es/components/ecocup/customerList/hooks/useColumns.js +44 -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.js +168 -0
- package/es/components/ecocup/locales.js +699 -0
- package/es/components/ecocup/types.js +36 -0
- package/es/components/ecocup/utils/download.js +34 -0
- package/es/components/ecocup/utils/index.js +2 -0
- package/es/components/ecocup/utils/scanListener.js +107 -0
- package/es/components/eftpos/const.js +0 -2
- package/es/components/eftpos/device.d.ts +9 -0
- package/es/components/eftpos/device.js +3 -5
- package/es/components/eftpos/hooks.js +0 -35
- package/es/components/eftpos/index.d.ts +47 -0
- package/es/components/eftpos/index.js +25 -184
- package/es/components/eftpos/index.less +1 -26
- package/es/components/eftpos/locales.js +85 -104
- package/es/components/eftpos/table.d.ts +21 -0
- package/es/components/eftpos/table.js +3 -47
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/app.d.ts +11 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/es/components/eftposPay/component/fail/failCustom.js +17 -12
- package/es/components/eftposPay/component/fail/index.d.ts +4 -0
- package/es/components/eftposPay/component/fail/index.js +5 -4
- package/es/components/eftposPay/const.js +0 -2
- package/es/components/eftposPay/device.d.ts +24 -0
- package/es/components/eftposPay/device.js +208 -36
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/index.d.ts +5 -0
- package/es/components/eftposPay/index.js +5 -1
- package/es/components/eftposPay/linkly/const.d.ts +23 -0
- package/es/components/eftposPay/linkly/const.js +1 -1
- package/es/components/eftposPay/linkly/index.d.ts +3 -0
- package/es/components/eftposPay/linkly/index.js +0 -1
- package/es/components/eftposPay/locales.js +328 -5
- package/es/components/eftposPay/manufacturer.js +0 -4
- package/es/components/eftposPay/pay.d.ts +21 -0
- package/es/components/eftposPay/pay.js +2 -7
- package/es/components/eftposPay/payo/config.d.ts +13 -0
- package/es/components/eftposPay/payo/config.js +1 -0
- package/es/components/eftposPay/payo/const.d.ts +26 -0
- package/es/components/eftposPay/payo/const.js +1 -1
- package/es/components/eftposPay/tyro/const.d.ts +17 -0
- package/es/components/eftposPay/tyro/const.js +1 -1
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/windcave/const.d.ts +119 -0
- package/es/components/eftposPay/windcave/const.js +1 -1
- package/es/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/es/components/eftposPay/windcave/windcave.js +9 -9
- package/es/components/eventBooking/components/Voucher/components/locales.js +22 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/eventBooking/locales.d.ts +408 -0
- package/es/components/eventBooking/locales.js +186 -0
- package/es/components/kioskSkuDetail/index.js +39 -10
- package/es/components/kioskSkuDetail/locales.d.ts +48 -0
- package/es/components/kioskSkuDetail/locales.js +24 -3
- package/es/components/login/locales.d.ts +38 -0
- package/es/components/login/locales.js +14 -0
- package/es/components/pay/toC/PaymentList/payment/google_pay.svg +26 -8
- package/es/components/pay/toC/PaymentList/payment/google_pay2.svg +9 -0
- package/es/components/pay/toC/PaymentList/serve.js +2 -2
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +65 -21
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +110 -9
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +13 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +46 -18
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +20 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +14 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +20 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +7 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +167 -56
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +47 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.d.ts +34 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.js +83 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.less +52 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +9 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.js +260 -33
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +81 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +309 -126
- 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.d.ts +25 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +3 -4
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +9 -0
- package/es/components/pay/toC/PaymentMethods/index.js +12 -2
- package/es/components/pay/toC/WalletPassBlock/index.d.ts +21 -0
- package/es/components/pay/toC/index.d.ts +3 -0
- package/es/components/pay/toC/index.js +53 -18
- package/es/components/pay/toC/locales.js +381 -12
- package/es/components/pay/toC/model.d.ts +32 -0
- package/es/components/pay/toC/serve.d.ts +74 -0
- package/es/components/pay/toC/serve.js +42 -3
- package/es/components/pay/toC/utils.d.ts +62 -0
- package/es/components/pay/toC/utils.js +10 -0
- package/es/components/pinModal/locales.d.ts +43 -0
- package/es/components/pinModal/locales.js +16 -0
- package/es/components/pinVerifyModal/locales.d.ts +38 -0
- package/es/components/pinVerifyModal/locales.js +14 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/locales.js +52 -0
- package/es/components/productExtension/locales.d.ts +78 -0
- package/es/components/productExtension/locales.js +30 -0
- package/es/components/productSelect/components/TabProduct/index.d.ts +3 -0
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/es/components/productSelect/components/pisellPriceText/index.js +8 -4
- package/es/components/productSelect/components/productGroup/index.d.ts +39 -0
- package/es/components/productSelect/locales.d.ts +38 -0
- package/es/components/productSelect/locales.js +23 -3
- package/es/components/ruleSetting/locales.d.ts +78 -0
- package/es/components/ruleSetting/locales.js +30 -0
- package/es/components/schedules/locales.js +56 -0
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/shoppingCart/Provider.d.ts +3 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +4 -0
- package/es/components/shoppingCart/components/Cart/index.d.ts +4 -0
- package/es/components/shoppingCart/components/Cart/index.less +1 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
- package/es/components/shoppingCart/hooks/useClearCart.js +41 -11
- package/es/components/shoppingCart/locales.js +24 -0
- package/es/components/shoppingCart/mock.d.ts +40 -0
- package/es/components/shoppingCart/utils.d.ts +63 -0
- package/es/components/stepController/locales.d.ts +43 -0
- package/es/components/stepController/locales.js +20 -0
- package/es/components/subTotal/index.d.ts +24 -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.d.ts +4 -0
- package/es/components/systemSettings/registry/components/ItemModal.js +251 -47
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +163 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.js +127 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
- package/es/components/systemSettings/registry/index.d.ts +5 -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.js +274 -3
- package/es/components/taxSelect/locales.js +14 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +10 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +4 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +13 -0
- package/es/components/ticketBooking/index.d.ts +8 -0
- package/es/components/ticketBooking/locales.js +156 -0
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/es/components/ticketBooking/utils/formatTime.js +8 -2
- package/es/components/ticketBooking/utils/index.d.ts +25 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/index.d.ts +4 -0
- package/es/components/walletList/index.js +10 -0
- package/es/components/walletList/locales.d.ts +43 -0
- package/es/components/walletList/locales.js +16 -0
- package/es/components/walletList/types/index.d.ts +196 -0
- package/es/hooks/useEngineContext.js +7 -0
- package/es/hooks/useLocale.js +8 -1
- 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 +79 -0
- 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 +23 -0
- package/es/plus/contactInfo/locales.js +8 -0
- package/es/plus/contactInfoModal/locales.d.ts +108 -0
- package/es/plus/contactInfoModal/locales.js +42 -0
- package/es/plus/orderList/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.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.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.js +1 -0
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +15 -0
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.js +221 -0
- package/es/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +19 -0
- package/es/plus/pisellSalesManagement/components/BookingNotesPreview.js +167 -0
- package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
- package/es/plus/pisellSalesManagement/components/ResourceSelector.js +102 -0
- package/es/plus/pisellSalesManagement/config/booking.d.ts +185 -0
- package/es/plus/pisellSalesManagement/config/booking.js +380 -0
- package/es/plus/pisellSalesManagement/config/index.d.ts +2 -0
- package/es/plus/pisellSalesManagement/config/index.js +11 -0
- package/es/plus/pisellSalesManagement/config/order.d.ts +172 -0
- package/es/plus/pisellSalesManagement/config/order.js +460 -0
- package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.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.js +302 -0
- package/es/plus/pisellSalesManagement/serve.d.ts +26 -0
- package/es/plus/pisellSalesManagement/serve.js +222 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +12 -0
- package/es/plus/productSelect/components/pisellPriceText/index.js +8 -4
- package/es/plus/productSelect/index.d.ts +32 -0
- package/es/plus/productSelect/locales.d.ts +38 -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.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.js +1 -0
- package/es/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/es/plus/saasCreateOrganization/locales.js +8 -0
- package/es/plus/saasLogin/locales.d.ts +83 -0
- package/es/plus/saasLogin/locales.js +32 -0
- package/es/plus/saasRegister/locales.d.ts +193 -0
- package/es/plus/saasRegister/locales.js +76 -0
- package/es/plus/saasRole/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.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/index.d.ts +7 -0
- package/es/plus/selectHolder/locales.js +18 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.js +6 -5
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +4 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +11 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.js +3 -2
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.less +2 -0
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +16 -0
- package/es/plus/skuOptionsSelection/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/index.js +2 -2
- package/es/plus/skuOptionsSelection/locales.js +20 -0
- package/es/plus/skuOptionsSelection/store/store.js +2 -1
- package/es/plus/skuOptionsSelection/types.js +4 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -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.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +9 -2
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- 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 +39 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
- package/es/plus/walletEditor/locales.d.ts +223 -0
- package/es/plus/walletEditor/locales.js +100 -0
- package/es/plus/walletEditor/types.d.ts +54 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +80 -39
- package/es/plus/walletPassGallery/components/passList/index.d.ts +13 -0
- package/es/plus/walletPassGallery/components/passList/index.js +12 -4
- package/es/plus/walletPassGallery/components/recharge/index.js +13 -5
- package/es/plus/walletPassGallery/components/recharge/index.less +70 -1
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.js +19 -2
- package/es/plus/walletPassGallery/index.d.ts +11 -0
- package/es/plus/walletPassGallery/index.js +95 -46
- package/es/plus/walletPassGallery/locales.js +216 -3
- package/es/plus/walletPassGallery/serve.d.ts +245 -0
- package/es/plus/walletPassGallery/serve.js +13 -13
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Cards/components/SKUCard/index.d.ts +5 -0
- 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.js +11 -0
- package/es/pro/Cards/components/SKUCard/types.js +1 -0
- package/es/pro/Login2.0/Login2.d.ts +61 -0
- package/es/pro/Login2.0/Login2.js +8 -8
- package/es/pro/Login2.0/locales.js +365 -0
- package/es/pro/NumericStepper/index.d.ts +73 -0
- 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.d.ts +14 -0
- package/es/pro/Selector/Selector.js +39 -30
- package/es/pro/Selector/SelectorGroup.d.ts +11 -0
- 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.js +3 -2
- package/es/pro/Selector/components/Indicator/index.less +16 -13
- 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.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.js +58 -0
- package/es/pro/Selector/selector.less +0 -64
- package/es/pro/Selector/selectorGroup.less +9 -1
- 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.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.js +1 -0
- package/es/pro/numberKeyboard/locales.d.ts +18 -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/es/pro/skuDetailModal/index.d.ts +4 -0
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/lib/components/appointmentBooking/components/Date/state.js +3 -1
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +5 -0
- package/lib/components/appointmentBooking/locales.js +240 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/lib/components/authentication/admin/AuthMethods/locales.js +164 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +17 -9
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +14 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +14 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.js +42 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.js +36 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.js +58 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
- package/lib/components/booking/addons/index.d.ts +17 -0
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/footer/amount.d.ts +25 -0
- package/lib/components/booking/components/footer/index.d.ts +12 -0
- package/lib/components/booking/components/footer/index.js +5 -0
- package/lib/components/booking/components/footer/utils.d.ts +47 -0
- package/lib/components/booking/components/footer/utils.js +15 -3
- package/lib/components/booking/components/voucher/index.d.ts +4 -0
- package/lib/components/booking/dashboard/index.d.ts +20 -0
- package/lib/components/booking/dashboard/serve.d.ts +1 -0
- package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +3 -0
- package/lib/components/booking/editBookingModal/locales.d.ts +33 -0
- package/lib/components/booking/editBookingModal/locales.js +12 -0
- package/lib/components/booking/editBookingModal/mock.d.ts +991 -0
- package/lib/components/booking/editBookingModal/mock.js +22 -0
- package/lib/components/booking/forms/forms.d.ts +30 -0
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/serve.d.ts +18 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -1
- package/lib/components/booking/hooks/useClearCart.js +28 -6
- package/lib/components/booking/hooks/useQuotation.d.ts +6 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/client/serve.d.ts +2 -0
- package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/date/index.d.ts +5 -0
- package/lib/components/booking/info/header/index.d.ts +4 -0
- package/lib/components/booking/info/header/index.js +7 -7
- package/lib/components/booking/info/header/index.less +5 -5
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/lib/components/booking/info/main.d.ts +12 -0
- package/lib/components/booking/info/model.d.ts +5 -0
- package/lib/components/booking/info/pet/index.d.ts +14 -0
- package/lib/components/booking/info/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +3 -0
- package/lib/components/booking/info/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +5 -0
- package/lib/components/booking/info/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info/service/index.less +4 -2
- package/lib/components/booking/info/service/serve.d.ts +20 -0
- package/lib/components/booking/info/service/serviceItem/index.d.ts +4 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/lib/components/booking/info/service2/Lists.d.ts +3 -0
- package/lib/components/booking/info/service2/utils.d.ts +248 -0
- package/lib/components/booking/info/utils.d.ts +50 -0
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/serve.d.ts +6 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/lib/components/booking/info2/service/addService/mock.js +4 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/index.js +24 -1
- package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/lib/components/booking/info2/service/editService/utils.js +38 -2
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +4 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/lib/components/booking/locales.d.ts +1494 -0
- package/lib/components/booking/locales.js +700 -0
- package/lib/components/booking/model.d.ts +112 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +17 -0
- package/lib/components/booking/notes/NoteBlock/index.js +2 -1
- package/lib/components/booking/notes/addNote/index.d.ts +4 -0
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +175 -0
- 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.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.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.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/{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.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.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.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.js +93 -0
- package/lib/components/ecocup/customerList/hooks/index.js +32 -0
- package/lib/components/ecocup/customerList/hooks/useColumns.js +89 -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.js +169 -0
- package/lib/components/ecocup/locales.js +706 -0
- package/lib/components/ecocup/types.js +57 -0
- package/lib/components/ecocup/utils/download.js +47 -0
- package/lib/components/ecocup/utils/index.js +42 -0
- package/lib/components/ecocup/utils/scanListener.js +90 -0
- package/lib/components/eftpos/const.js +0 -2
- package/lib/components/eftpos/device.d.ts +9 -0
- package/lib/components/eftpos/device.js +3 -3
- package/lib/components/eftpos/hooks.js +0 -30
- package/lib/components/eftpos/index.d.ts +47 -0
- package/lib/components/eftpos/index.js +8 -106
- package/lib/components/eftpos/index.less +1 -26
- package/lib/components/eftpos/locales.js +78 -101
- package/lib/components/eftpos/table.d.ts +21 -0
- package/lib/components/eftpos/table.js +2 -30
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/app.d.ts +11 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/lib/components/eftposPay/component/fail/failCustom.js +15 -9
- package/lib/components/eftposPay/component/fail/index.d.ts +4 -0
- package/lib/components/eftposPay/component/fail/index.js +4 -1
- package/lib/components/eftposPay/const.js +0 -2
- package/lib/components/eftposPay/device.d.ts +24 -0
- package/lib/components/eftposPay/device.js +108 -23
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/index.d.ts +5 -0
- package/lib/components/eftposPay/index.js +5 -1
- package/lib/components/eftposPay/linkly/const.d.ts +23 -0
- package/lib/components/eftposPay/linkly/const.js +1 -1
- package/lib/components/eftposPay/linkly/index.d.ts +3 -0
- package/lib/components/eftposPay/linkly/index.js +0 -1
- package/lib/components/eftposPay/locales.js +252 -5
- package/lib/components/eftposPay/manufacturer.js +0 -6
- package/lib/components/eftposPay/pay.d.ts +21 -0
- package/lib/components/eftposPay/pay.js +2 -4
- package/lib/components/eftposPay/payo/config.d.ts +13 -0
- package/lib/components/eftposPay/payo/config.js +1 -0
- package/lib/components/eftposPay/payo/const.d.ts +26 -0
- package/lib/components/eftposPay/payo/const.js +1 -1
- package/lib/components/eftposPay/tyro/const.d.ts +17 -0
- package/lib/components/eftposPay/tyro/const.js +1 -1
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/windcave/const.d.ts +119 -0
- package/lib/components/eftposPay/windcave/const.js +1 -1
- package/lib/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/lib/components/eftposPay/windcave/windcave.js +9 -9
- package/lib/components/eventBooking/components/Voucher/components/locales.js +22 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/eventBooking/locales.d.ts +408 -0
- package/lib/components/eventBooking/locales.js +162 -0
- package/lib/components/kioskSkuDetail/index.js +27 -3
- package/lib/components/kioskSkuDetail/locales.d.ts +48 -0
- package/lib/components/kioskSkuDetail/locales.js +24 -3
- package/lib/components/login/locales.d.ts +38 -0
- package/lib/components/login/locales.js +14 -0
- package/lib/components/pay/toC/PaymentList/payment/google_pay.svg +26 -8
- package/lib/components/pay/toC/PaymentList/payment/google_pay2.svg +9 -0
- package/lib/components/pay/toC/PaymentList/serve.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +40 -17
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +110 -9
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +13 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +32 -12
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +20 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +8 -2
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +20 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +7 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +98 -24
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +47 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.d.ts +34 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.js +107 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.less +52 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +9 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.js +149 -5
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +81 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +121 -39
- 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.d.ts +25 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +3 -4
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +9 -0
- package/lib/components/pay/toC/PaymentMethods/index.js +17 -12
- package/lib/components/pay/toC/WalletPassBlock/index.d.ts +21 -0
- package/lib/components/pay/toC/index.d.ts +3 -0
- package/lib/components/pay/toC/index.js +34 -3
- package/lib/components/pay/toC/locales.js +331 -12
- package/lib/components/pay/toC/model.d.ts +32 -0
- package/lib/components/pay/toC/serve.d.ts +74 -0
- package/lib/components/pay/toC/serve.js +11 -1
- package/lib/components/pay/toC/utils.d.ts +62 -0
- package/lib/components/pay/toC/utils.js +17 -0
- package/lib/components/pinModal/locales.d.ts +43 -0
- package/lib/components/pinModal/locales.js +16 -0
- package/lib/components/pinVerifyModal/locales.d.ts +38 -0
- package/lib/components/pinVerifyModal/locales.js +14 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/locales.js +52 -0
- package/lib/components/productExtension/locales.d.ts +78 -0
- package/lib/components/productExtension/locales.js +30 -0
- package/lib/components/productSelect/components/TabProduct/index.d.ts +3 -0
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/lib/components/productSelect/components/pisellPriceText/index.js +6 -4
- package/lib/components/productSelect/components/productGroup/index.d.ts +39 -0
- package/lib/components/productSelect/locales.d.ts +38 -0
- package/lib/components/productSelect/locales.js +23 -3
- package/lib/components/ruleSetting/locales.d.ts +78 -0
- package/lib/components/ruleSetting/locales.js +30 -0
- package/lib/components/schedules/locales.js +56 -0
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/shoppingCart/Provider.d.ts +3 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +4 -0
- package/lib/components/shoppingCart/components/Cart/index.d.ts +4 -0
- package/lib/components/shoppingCart/components/Cart/index.less +1 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
- package/lib/components/shoppingCart/hooks/useClearCart.js +42 -11
- package/lib/components/shoppingCart/locales.js +20 -0
- package/lib/components/shoppingCart/mock.d.ts +40 -0
- package/lib/components/shoppingCart/utils.d.ts +63 -0
- package/lib/components/stepController/locales.d.ts +43 -0
- package/lib/components/stepController/locales.js +16 -0
- package/lib/components/subTotal/index.d.ts +24 -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.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/ItemModal.js +347 -224
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +166 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.js +210 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
- package/lib/components/systemSettings/registry/index.d.ts +5 -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.js +274 -3
- package/lib/components/taxSelect/locales.js +14 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +10 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +13 -0
- package/lib/components/ticketBooking/index.d.ts +8 -0
- package/lib/components/ticketBooking/locales.js +136 -0
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/lib/components/ticketBooking/utils/formatTime.js +8 -2
- package/lib/components/ticketBooking/utils/index.d.ts +25 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/index.d.ts +4 -0
- package/lib/components/walletList/index.js +10 -0
- package/lib/components/walletList/locales.d.ts +43 -0
- package/lib/components/walletList/locales.js +16 -0
- package/lib/components/walletList/types/index.d.ts +196 -0
- package/lib/hooks/useEngineContext.js +10 -2
- package/lib/hooks/useLocale.js +7 -2
- 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 +79 -0
- 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 +23 -0
- package/lib/plus/contactInfo/locales.js +8 -0
- package/lib/plus/contactInfoModal/locales.d.ts +108 -0
- package/lib/plus/contactInfoModal/locales.js +42 -0
- package/lib/plus/orderList/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.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.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.js +17 -0
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +15 -0
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.js +253 -0
- package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +19 -0
- package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.js +193 -0
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.js +106 -0
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +185 -0
- package/lib/plus/pisellSalesManagement/config/booking.js +500 -0
- package/lib/plus/pisellSalesManagement/config/index.d.ts +2 -0
- package/lib/plus/pisellSalesManagement/config/index.js +43 -0
- package/lib/plus/pisellSalesManagement/config/order.d.ts +172 -0
- package/lib/plus/pisellSalesManagement/config/order.js +492 -0
- package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.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.js +326 -0
- package/lib/plus/pisellSalesManagement/serve.d.ts +26 -0
- package/lib/plus/pisellSalesManagement/serve.js +120 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +12 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -4
- package/lib/plus/productSelect/index.d.ts +32 -0
- package/lib/plus/productSelect/locales.d.ts +38 -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.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/{components/eftpos/SettlementModal → plus/saasAttendance/settings}/serve.js +25 -16
- package/lib/plus/saasAttendance/settings/types.js +17 -0
- package/lib/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/lib/plus/saasCreateOrganization/locales.js +8 -0
- package/lib/plus/saasLogin/locales.d.ts +83 -0
- package/lib/plus/saasLogin/locales.js +32 -0
- package/lib/plus/saasRegister/locales.d.ts +193 -0
- package/lib/plus/saasRegister/locales.js +76 -0
- package/lib/plus/saasRole/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.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/index.d.ts +7 -0
- package/lib/plus/selectHolder/locales.js +14 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.js +11 -10
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +11 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.js +3 -2
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.less +2 -0
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +16 -0
- package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/index.js +2 -2
- package/lib/plus/skuOptionsSelection/locales.js +20 -0
- package/lib/plus/skuOptionsSelection/store/store.js +2 -1
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -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.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +9 -2
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- 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 +39 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
- package/lib/plus/walletEditor/locales.d.ts +223 -0
- package/lib/plus/walletEditor/locales.js +100 -0
- package/lib/plus/walletEditor/types.d.ts +54 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.js +42 -5
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +13 -0
- package/lib/plus/walletPassGallery/components/passList/index.js +12 -5
- package/lib/plus/walletPassGallery/components/recharge/index.js +7 -5
- package/lib/plus/walletPassGallery/components/recharge/index.less +70 -1
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.js +17 -2
- package/lib/plus/walletPassGallery/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/index.js +116 -45
- package/lib/plus/walletPassGallery/locales.js +210 -3
- package/lib/plus/walletPassGallery/serve.d.ts +245 -0
- package/lib/plus/walletPassGallery/serve.js +2 -2
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Cards/components/SKUCard/index.d.ts +5 -0
- 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.js +35 -0
- package/lib/pro/Cards/components/SKUCard/types.js +17 -0
- package/lib/pro/Login2.0/Login2.d.ts +61 -0
- package/lib/pro/Login2.0/Login2.js +8 -8
- package/lib/pro/Login2.0/locales.js +365 -0
- package/lib/pro/NumericStepper/index.d.ts +73 -0
- 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.d.ts +14 -0
- package/lib/pro/Selector/Selector.js +34 -17
- package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
- 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.js +2 -2
- package/lib/pro/Selector/components/Indicator/index.less +16 -13
- 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.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.js +50 -0
- package/lib/pro/Selector/selector.less +0 -64
- package/lib/pro/Selector/selectorGroup.less +9 -1
- 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.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.js +17 -0
- package/lib/pro/numberKeyboard/locales.d.ts +18 -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/lib/pro/skuDetailModal/index.d.ts +4 -0
- package/lowcode/client-card/fragments/cardStyle.ts +63 -0
- package/lowcode/client-card/fragments/nameStyle.ts +34 -0
- package/lowcode/client-card/fragments/pisellAvatar.ts +87 -0
- package/lowcode/client-card/fragments/tagConfig.ts +88 -0
- package/lowcode/client-card/meta.ts +343 -0
- package/lowcode/client-search/meta.ts +316 -0
- package/lowcode/eco-cup-list/meta.ts +27 -0
- package/lowcode/eco-customer-list/meta.ts +27 -0
- package/lowcode/ecocup-cup-list/meta.ts +38 -0
- package/lowcode/ecocup-cup-project/meta.ts +35 -0
- package/lowcode/ecocup-customer-list/meta.ts +38 -0
- package/lowcode/order-list/meta.ts +87 -0
- package/lowcode/pisell-sales-management/meta.ts +88 -0
- package/lowcode/saas-attendance-settings/meta.ts +56 -0
- package/lowcode/saas-role/meta.ts +35 -0
- package/lowcode/saas-team-members/meta.ts +35 -0
- package/lowcode/selector/meta.ts +15 -2
- package/lowcode/selector.group/meta.ts +15 -2
- package/lowcode/sku-options-selection/meta.ts +106 -2
- package/lowcode/wallet-pass-gallery/meta.ts +66 -1
- package/package.json +5 -5
- package/es/components/Sales/Cart/utils.d.ts +0 -68
- package/es/components/Sales/Checkout/utils.d.ts +0 -41
- package/es/components/Sales/Summary/utils.d.ts +0 -58
- package/es/components/booking/components/voucher/utils.d.ts +0 -4
- package/es/components/booking/editBookingModal/utils.d.ts +0 -12
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/es/components/eftpos/PairModal/hooks.js +0 -67
- package/es/components/eftpos/PairModal/index.less +0 -70
- package/es/components/eftpos/SettlementModal/Action.js +0 -141
- package/es/components/eftpos/SettlementModal/index.js +0 -135
- package/es/components/eftpos/SettlementModal/index.less +0 -33
- package/es/components/eftpos/SettlementModal/serve.js +0 -171
- package/es/components/eftpos/SettlementModal/types.js +0 -35
- package/es/components/eftpos/SettlementModal/utils.js +0 -351
- package/es/components/eftpos/assets/mx51SCI.svg +0 -15
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.js +0 -125
- package/es/components/eftposPay/aggregatePayment/index.js +0 -3
- package/es/components/eftposPay/aggregatePayment/mock.js +0 -567
- package/es/components/eftposPay/aggregatePayment/service.js +0 -70
- package/es/components/eftposPay/aggregatePayment/types.js +0 -61
- package/es/components/eftposPay/aggregatePayment/utils/logs.js +0 -385
- package/es/components/eftposPay/aggregatePayment/utils/payment.js +0 -1140
- package/es/components/eftposPay/mx51/Action.js +0 -139
- package/es/components/eftposPay/mx51/Result.js +0 -46
- package/es/components/eftposPay/mx51/const.js +0 -69
- package/es/components/eftposPay/mx51/index.js +0 -401
- package/es/components/eftposPay/mx51/types.js +0 -30
- package/es/components/eftposPay/mx51/utils.js +0 -121
- package/es/components/pay/toC/PaymentList/utils.d.ts +0 -36
- package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +0 -10
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/es/plus/skuOptionsSelection/hooks/index.d.ts +0 -3
- package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
- package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +0 -2
- package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
- package/es/plus/skuOptionsSelection/store/actions.d.ts +0 -22
- package/es/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
- package/es/plus/skuOptionsSelection/store/index.d.ts +0 -2
- package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
- package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +0 -37
- package/es/pro/Selector/Selector.stories.d.ts +0 -78
- package/es/pro/Selector/components/Card/types.d.ts +0 -1
- package/es/pro/Selector/components/IntersectionObserver.d.ts +0 -105
- package/es/pro/Selector/components/Media/types.d.ts +0 -47
- package/es/pro/Selector/components/index.d.ts +0 -4
- package/es/pro/Selector/index.d.ts +0 -11
- package/es/test/setup.d.ts +0 -1
- package/lib/components/Sales/Cart/utils.d.ts +0 -68
- package/lib/components/Sales/Checkout/utils.d.ts +0 -41
- package/lib/components/Sales/Summary/utils.d.ts +0 -58
- package/lib/components/booking/components/voucher/utils.d.ts +0 -4
- package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/lib/components/eftpos/PairModal/hooks.js +0 -70
- package/lib/components/eftpos/PairModal/index.js +0 -197
- package/lib/components/eftpos/PairModal/index.less +0 -70
- package/lib/components/eftpos/SettlementModal/Action.js +0 -153
- package/lib/components/eftpos/SettlementModal/index.js +0 -170
- package/lib/components/eftpos/SettlementModal/index.less +0 -33
- package/lib/components/eftpos/SettlementModal/types.js +0 -43
- package/lib/components/eftpos/SettlementModal/utils.js +0 -248
- package/lib/components/eftpos/assets/mx51SCI.svg +0 -15
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.js +0 -152
- package/lib/components/eftposPay/aggregatePayment/mock.js +0 -679
- package/lib/components/eftposPay/aggregatePayment/service.js +0 -81
- package/lib/components/eftposPay/aggregatePayment/types.js +0 -74
- package/lib/components/eftposPay/aggregatePayment/utils/logs.js +0 -302
- package/lib/components/eftposPay/aggregatePayment/utils/payment.js +0 -755
- package/lib/components/eftposPay/mx51/Action.js +0 -152
- package/lib/components/eftposPay/mx51/const.js +0 -85
- package/lib/components/eftposPay/mx51/index.js +0 -360
- package/lib/components/eftposPay/mx51/utils.js +0 -115
- package/lib/components/pay/toC/PaymentList/utils.d.ts +0 -36
- package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +0 -10
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/lib/plus/skuOptionsSelection/hooks/index.d.ts +0 -3
- package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/store/actions.d.ts +0 -22
- package/lib/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
- package/lib/plus/skuOptionsSelection/store/index.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
- package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +0 -37
- package/lib/pro/Selector/Selector.stories.d.ts +0 -78
- package/lib/pro/Selector/components/Card/types.d.ts +0 -1
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +0 -105
- package/lib/pro/Selector/components/Media/types.d.ts +0 -47
- package/lib/pro/Selector/components/index.d.ts +0 -4
- package/lib/pro/Selector/index.d.ts +0 -11
- package/lib/test/setup.d.ts +0 -1
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
8
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
10
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
11
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
|
+
import React, { useState, useEffect, useCallback, useRef, useMemo } from 'react';
|
|
14
|
+
import { useDebounceFn, useMemoizedFn } from 'ahooks';
|
|
15
|
+
import dayjs from 'dayjs';
|
|
16
|
+
import { Table, DatePicker, Page, Button, Icon } from '@pisell/materials';
|
|
17
|
+
import { locales } from '@pisell/utils';
|
|
18
|
+
import { CalendarOutlined } from '@ant-design/icons';
|
|
19
|
+
import { useColumns, useSummary, useCupListsApi, useStatisticsApi, useEcoShopListsApi, useExportApi, useShareApi } from "./hooks";
|
|
20
|
+
import { SORT_SETTINGS, COLUMN_SETTING, FILTER, HEADER_RIGHT_OPTIONS } from "./const";
|
|
21
|
+
import PageHeader from "../components/PageHeader";
|
|
22
|
+
import CupActionModal from "../components/CupActionModal";
|
|
23
|
+
import SearchBar from "../components/SearchBar";
|
|
24
|
+
import { useLanguage, useModal, useGetGoalShopInfo, useIsApp, useGetShopId } from "../hooks";
|
|
25
|
+
import localeTexts from "../locales";
|
|
26
|
+
import { useGetShare } from "../hooks";
|
|
27
|
+
import "./index.less";
|
|
28
|
+
var prefixCls = 'ecocup-cup-list';
|
|
29
|
+
var SCAN_LISTENER_KEY = 'eco-cup-list-scan-listener';
|
|
30
|
+
var PAGE_SIZE = 10;
|
|
31
|
+
var FORMAT = 'YYYY-MM-DD HH:mm:ss';
|
|
32
|
+
var CupList = function CupList(props) {
|
|
33
|
+
var _useState = useState([dayjs().startOf('day'), dayjs().endOf('day')]),
|
|
34
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
35
|
+
date = _useState2[0],
|
|
36
|
+
setDate = _useState2[1];
|
|
37
|
+
var cupActionModal = useModal('ecocup-list-action-modal');
|
|
38
|
+
var _useGetGoalShopInfo = useGetGoalShopInfo(),
|
|
39
|
+
isNormalShop = _useGetGoalShopInfo.isNormalShop;
|
|
40
|
+
var shopId = useGetShopId();
|
|
41
|
+
var isApp = useIsApp();
|
|
42
|
+
var language = useLanguage();
|
|
43
|
+
var _useGetShare = useGetShare(),
|
|
44
|
+
isEcoShare = _useGetShare.isEcoShare;
|
|
45
|
+
locales.init(localeTexts, language);
|
|
46
|
+
var _useState3 = useState({
|
|
47
|
+
skip: 1,
|
|
48
|
+
num: PAGE_SIZE
|
|
49
|
+
}),
|
|
50
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
51
|
+
listParams = _useState4[0],
|
|
52
|
+
setListParams = _useState4[1];
|
|
53
|
+
// 使用 ref 保存最新的 listParams,用于在回调中获取最新值
|
|
54
|
+
var listParamsRef = useRef(listParams);
|
|
55
|
+
var _useCupListsApi = useCupListsApi({
|
|
56
|
+
isEcoShare: isEcoShare
|
|
57
|
+
}),
|
|
58
|
+
loading = _useCupListsApi.loading,
|
|
59
|
+
data = _useCupListsApi.data,
|
|
60
|
+
run = _useCupListsApi.run;
|
|
61
|
+
var _useStatisticsApi = useStatisticsApi({
|
|
62
|
+
isEcoShare: isEcoShare
|
|
63
|
+
}),
|
|
64
|
+
staticsData = _useStatisticsApi.data,
|
|
65
|
+
getStatics = _useStatisticsApi.getStatics;
|
|
66
|
+
var _useEcoShopListsApi = useEcoShopListsApi({
|
|
67
|
+
isEcoShare: isEcoShare
|
|
68
|
+
}),
|
|
69
|
+
ecoShopLists = _useEcoShopListsApi.data,
|
|
70
|
+
getEcoShopLists = _useEcoShopListsApi.getEcoShopLists;
|
|
71
|
+
var _useExportApi = useExportApi(),
|
|
72
|
+
postExportApi = _useExportApi.postExportApi;
|
|
73
|
+
var _useShareApi = useShareApi(),
|
|
74
|
+
postShareApi = _useShareApi.postShareApi;
|
|
75
|
+
var isPartner = useMemo(function () {
|
|
76
|
+
return !!(isNormalShop || listParams !== null && listParams !== void 0 && listParams.partner_shop_id);
|
|
77
|
+
}, [isNormalShop, listParams === null || listParams === void 0 ? void 0 : listParams.partner_shop_id]);
|
|
78
|
+
useEffect(function () {
|
|
79
|
+
listParamsRef.current = listParams;
|
|
80
|
+
}, [listParams]);
|
|
81
|
+
var getLists = useCallback(function (params) {
|
|
82
|
+
run(_objectSpread(_objectSpread({}, (listParamsRef === null || listParamsRef === void 0 ? void 0 : listParamsRef.current) || {}), params));
|
|
83
|
+
}, [listParams]);
|
|
84
|
+
useEffect(function () {
|
|
85
|
+
var _date$, _date$2;
|
|
86
|
+
if (isApp) return;
|
|
87
|
+
getStatics({
|
|
88
|
+
started_at: date === null || date === void 0 || (_date$ = date[0]) === null || _date$ === void 0 ? void 0 : _date$.format(FORMAT),
|
|
89
|
+
ended_at: date === null || date === void 0 || (_date$2 = date[1]) === null || _date$2 === void 0 ? void 0 : _date$2.format(FORMAT),
|
|
90
|
+
partner_shop_id: listParams === null || listParams === void 0 ? void 0 : listParams.partner_shop_id
|
|
91
|
+
});
|
|
92
|
+
}, [date, isApp, listParams === null || listParams === void 0 ? void 0 : listParams.partner_shop_id]);
|
|
93
|
+
useEffect(function () {
|
|
94
|
+
if (isNormalShop || isApp) return;
|
|
95
|
+
getEcoShopLists({});
|
|
96
|
+
}, [isNormalShop, isApp]);
|
|
97
|
+
useEffect(function () {
|
|
98
|
+
getLists();
|
|
99
|
+
}, [getLists]);
|
|
100
|
+
var handleClickAction = useCallback(function (type, record) {
|
|
101
|
+
cupActionModal.open({
|
|
102
|
+
data: {
|
|
103
|
+
type: type,
|
|
104
|
+
cupData: record,
|
|
105
|
+
customerData: (record === null || record === void 0 ? void 0 : record.customer) || {}
|
|
106
|
+
},
|
|
107
|
+
onCancel: cupActionModal.close,
|
|
108
|
+
onOk: function onOk(values) {
|
|
109
|
+
cupActionModal.close();
|
|
110
|
+
getLists();
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
}, [cupActionModal]);
|
|
114
|
+
var columns = useColumns({
|
|
115
|
+
onClickAction: handleClickAction,
|
|
116
|
+
locales: locales,
|
|
117
|
+
isEcoShare: isEcoShare
|
|
118
|
+
});
|
|
119
|
+
var summary = useSummary(locales, staticsData, isPartner);
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @description: 值变化回调处理函数
|
|
123
|
+
* @param {any} changedValues
|
|
124
|
+
* @param {any} values
|
|
125
|
+
* @return {*}
|
|
126
|
+
*/
|
|
127
|
+
var handleValuesChange = function handleValuesChange(changedValues, values) {
|
|
128
|
+
var _values$order_by, _values$pagination, _values$pagination2;
|
|
129
|
+
// 分割排序字段
|
|
130
|
+
var orderByTypes = values === null || values === void 0 || (_values$order_by = values.order_by) === null || _values$order_by === void 0 ? void 0 : _values$order_by.split(':');
|
|
131
|
+
var params = _objectSpread(_objectSpread({}, (values === null || values === void 0 ? void 0 : values.filters) || {}), {}, {
|
|
132
|
+
order_by: orderByTypes === null || orderByTypes === void 0 ? void 0 : orderByTypes[0],
|
|
133
|
+
sort: orderByTypes === null || orderByTypes === void 0 ? void 0 : orderByTypes[1],
|
|
134
|
+
skip: (values === null || values === void 0 || (_values$pagination = values.pagination) === null || _values$pagination === void 0 ? void 0 : _values$pagination.page) || 1,
|
|
135
|
+
num: (values === null || values === void 0 || (_values$pagination2 = values.pagination) === null || _values$pagination2 === void 0 ? void 0 : _values$pagination2.size) || PAGE_SIZE,
|
|
136
|
+
partner_shop_id: (values === null || values === void 0 ? void 0 : values.partner_shop_id) || undefined,
|
|
137
|
+
status: (values === null || values === void 0 ? void 0 : values.status) || undefined
|
|
138
|
+
});
|
|
139
|
+
setListParams(function (prev) {
|
|
140
|
+
return _objectSpread(_objectSpread({}, prev), params);
|
|
141
|
+
});
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @description: 值变化回调防抖处理函数
|
|
146
|
+
* @return {*}
|
|
147
|
+
*/
|
|
148
|
+
var _useDebounceFn = useDebounceFn(handleValuesChange, {
|
|
149
|
+
wait: 200
|
|
150
|
+
}),
|
|
151
|
+
handleValuesChangeDebounce = _useDebounceFn.run;
|
|
152
|
+
var handleChange = function handleChange(value, type) {
|
|
153
|
+
// 搜索code
|
|
154
|
+
if (type === 'search') {
|
|
155
|
+
setListParams(function (prev) {
|
|
156
|
+
return _objectSpread(_objectSpread({}, prev), {}, {
|
|
157
|
+
search: value,
|
|
158
|
+
skip: 1
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
} else {
|
|
162
|
+
// 搜索日期
|
|
163
|
+
setDate(value);
|
|
164
|
+
setListParams(function (prev) {
|
|
165
|
+
var _value$, _value$2;
|
|
166
|
+
return _objectSpread(_objectSpread({}, prev), {}, {
|
|
167
|
+
skip: 1,
|
|
168
|
+
operated_at_start: value === null || value === void 0 || (_value$ = value[0]) === null || _value$ === void 0 ? void 0 : _value$.format(FORMAT),
|
|
169
|
+
operated_at_end: value === null || value === void 0 || (_value$2 = value[1]) === null || _value$2 === void 0 ? void 0 : _value$2.format(FORMAT)
|
|
170
|
+
});
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
var pagination = useMemo(function () {
|
|
175
|
+
return {
|
|
176
|
+
pageSize: PAGE_SIZE,
|
|
177
|
+
total: (data === null || data === void 0 ? void 0 : data.count) || 0,
|
|
178
|
+
size: 'large',
|
|
179
|
+
current: (listParams === null || listParams === void 0 ? void 0 : listParams.skip) || 1,
|
|
180
|
+
localPagination: false
|
|
181
|
+
};
|
|
182
|
+
}, [data === null || data === void 0 ? void 0 : data.count, listParams === null || listParams === void 0 ? void 0 : listParams.skip]);
|
|
183
|
+
var onClickButton = useMemoizedFn(function (key) {
|
|
184
|
+
if (key === 'export') {
|
|
185
|
+
postExportApi({
|
|
186
|
+
isPartner: isPartner,
|
|
187
|
+
listParams: listParams
|
|
188
|
+
});
|
|
189
|
+
} else if (key === 'share') {
|
|
190
|
+
postShareApi();
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
var headerRightContent = useMemo(function () {
|
|
194
|
+
// 只有总店有导出和分享功能
|
|
195
|
+
if (isNormalShop || isEcoShare) {
|
|
196
|
+
return null;
|
|
197
|
+
}
|
|
198
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
199
|
+
className: "".concat(prefixCls, "-header-right-content")
|
|
200
|
+
}, HEADER_RIGHT_OPTIONS.map(function (button) {
|
|
201
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
202
|
+
key: button.key,
|
|
203
|
+
type: button.type,
|
|
204
|
+
size: "large",
|
|
205
|
+
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
206
|
+
type: button.icon,
|
|
207
|
+
size: 22
|
|
208
|
+
}),
|
|
209
|
+
onClick: function onClick() {
|
|
210
|
+
return onClickButton(button.key);
|
|
211
|
+
},
|
|
212
|
+
className: "".concat(prefixCls, "-header-right-content-button")
|
|
213
|
+
}, locales.getText(button.languageKey));
|
|
214
|
+
}));
|
|
215
|
+
}, [isNormalShop, onClickButton, isEcoShare]);
|
|
216
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
217
|
+
className: "".concat(prefixCls, "-container")
|
|
218
|
+
}, /*#__PURE__*/React.createElement(Page, {
|
|
219
|
+
style: {
|
|
220
|
+
height: '100%'
|
|
221
|
+
}
|
|
222
|
+
}, /*#__PURE__*/React.createElement(Table, {
|
|
223
|
+
dataSource: (data === null || data === void 0 ? void 0 : data.list) || [],
|
|
224
|
+
columns: columns,
|
|
225
|
+
title: !isApp ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(PageHeader, {
|
|
226
|
+
title: locales.getText('pisell2.text.ecocup.title'),
|
|
227
|
+
rightContent: headerRightContent,
|
|
228
|
+
isReturn: !isEcoShare
|
|
229
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
230
|
+
className: "".concat(prefixCls, "-header")
|
|
231
|
+
}, /*#__PURE__*/React.createElement(DatePicker.RangePicker, {
|
|
232
|
+
inputReadOnly: true,
|
|
233
|
+
bordered: false,
|
|
234
|
+
allowClear: false,
|
|
235
|
+
size: "large",
|
|
236
|
+
suffixIcon: /*#__PURE__*/React.createElement(CalendarOutlined, null),
|
|
237
|
+
value: date,
|
|
238
|
+
onChange: handleChange,
|
|
239
|
+
format: "DD/MM/YYYY",
|
|
240
|
+
className: "".concat(prefixCls, "-date-picker")
|
|
241
|
+
}), /*#__PURE__*/React.createElement(SearchBar, {
|
|
242
|
+
scanListenerKey: SCAN_LISTENER_KEY,
|
|
243
|
+
size: "small",
|
|
244
|
+
placeholder: locales.getText('pisell2.text.ecocup.scan-or-search'),
|
|
245
|
+
onSearch: function onSearch(value) {
|
|
246
|
+
return handleChange(value, 'search');
|
|
247
|
+
}
|
|
248
|
+
}))) : null,
|
|
249
|
+
align: "center",
|
|
250
|
+
pagination: pagination,
|
|
251
|
+
columnSetting: !isApp ? COLUMN_SETTING : null,
|
|
252
|
+
sort: !isApp ? SORT_SETTINGS : null,
|
|
253
|
+
filter: !isApp ? FILTER(locales, isNormalShop, ecoShopLists, isPartner, listParams === null || listParams === void 0 ? void 0 : listParams.skip) : null,
|
|
254
|
+
summary: !isApp ? summary : null,
|
|
255
|
+
className: "".concat(prefixCls, "-table"),
|
|
256
|
+
rowClassName: "".concat(prefixCls, "-table-row"),
|
|
257
|
+
loading: loading,
|
|
258
|
+
onValuesChange: handleValuesChangeDebounce,
|
|
259
|
+
rowKey: "id",
|
|
260
|
+
virtual: false,
|
|
261
|
+
tableLayout: "",
|
|
262
|
+
scroll: {
|
|
263
|
+
scrollToFirstRowOnChange: true,
|
|
264
|
+
autoCalc: true
|
|
265
|
+
}
|
|
266
|
+
})), cupActionModal.visible && /*#__PURE__*/React.createElement(CupActionModal, cupActionModal.modalProps));
|
|
267
|
+
};
|
|
268
|
+
export default CupList;
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
@prefixCls: ecocup-cup-list;
|
|
2
|
+
|
|
3
|
+
.@{prefixCls} {
|
|
4
|
+
&-container {
|
|
5
|
+
height: 100%;
|
|
6
|
+
background-color: #2A1C48;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
padding: 38px 12px 12px;
|
|
10
|
+
|
|
11
|
+
.pisell-lowcode-page-header-left {
|
|
12
|
+
flex: 1;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.pisell-lowcode-action-btn-icon {
|
|
16
|
+
color: #fff !important;
|
|
17
|
+
|
|
18
|
+
&:hover {
|
|
19
|
+
color: #101828 !important;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.materials-grid-table-wrap {
|
|
24
|
+
.grid-view-table-wrap {
|
|
25
|
+
border-radius: 0 0 10px 10px;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&-header {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
gap: 8px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&-date-picker {
|
|
39
|
+
width: 240px !important;
|
|
40
|
+
background: #916ce0;
|
|
41
|
+
border-radius: 8px;
|
|
42
|
+
|
|
43
|
+
>div>div {
|
|
44
|
+
font-size: 14px;
|
|
45
|
+
color: #fff;
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
line-height: 20px;
|
|
48
|
+
|
|
49
|
+
input {
|
|
50
|
+
height: 38px !important;
|
|
51
|
+
line-height: 38px !important;
|
|
52
|
+
padding: 0 0 0 14px !important;
|
|
53
|
+
|
|
54
|
+
&::selection {
|
|
55
|
+
background: transparent;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&-summary {
|
|
62
|
+
&-card {
|
|
63
|
+
min-height: 80px;
|
|
64
|
+
border: none;
|
|
65
|
+
|
|
66
|
+
.pisell-lowcode-card-body {
|
|
67
|
+
padding: 0;
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
height: 100%;
|
|
72
|
+
min-height: 80px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&-statistic {
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
text-align: center;
|
|
79
|
+
gap: 8px;
|
|
80
|
+
font-weight: 600;
|
|
81
|
+
|
|
82
|
+
.pisell-lowcode-statistic-title,
|
|
83
|
+
.pisell-lowcode-statistic-content-value {
|
|
84
|
+
line-height: 24px;
|
|
85
|
+
margin: 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.pisell-lowcode-statistic-content-value {
|
|
89
|
+
font-size: 28px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.pisell-lowcode-statistic-content {
|
|
93
|
+
line-height: 28px;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&-primary {
|
|
99
|
+
background: #916ce0;
|
|
100
|
+
|
|
101
|
+
.pisell-lowcode-statistic-title,
|
|
102
|
+
.pisell-lowcode-statistic-content-value {
|
|
103
|
+
color: #ffffff !important;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&-table {
|
|
109
|
+
td {
|
|
110
|
+
text-align: center;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&-table-row {
|
|
114
|
+
&:hover {
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&-table-status {
|
|
121
|
+
padding: 4px 8px;
|
|
122
|
+
border-radius: 16px;
|
|
123
|
+
font-size: 12px;
|
|
124
|
+
font-weight: 600;
|
|
125
|
+
line-height: 16px;
|
|
126
|
+
width: max-content;
|
|
127
|
+
margin: 0 auto;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&-table-actions {
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
gap: 10px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&-header-right-content {
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
gap: 16px;
|
|
141
|
+
|
|
142
|
+
&-button {
|
|
143
|
+
width: 100px;
|
|
144
|
+
height: 40px;
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
justify-content: center;
|
|
148
|
+
font-size: 14px;
|
|
149
|
+
box-shadow: none;
|
|
150
|
+
border: 1px solid #7f56d9;
|
|
151
|
+
color: #7f56d9;
|
|
152
|
+
font-weight: bold;
|
|
153
|
+
&:hover {
|
|
154
|
+
background: #7f56d9;
|
|
155
|
+
color: #fff;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export var CUP_PROJECT_FOOTER_BUTTONS = [{
|
|
2
|
+
key: 'add-new-customer',
|
|
3
|
+
icon: 'pisell2-plus-circle',
|
|
4
|
+
type: 'primary',
|
|
5
|
+
size: 'large',
|
|
6
|
+
languageKey: 'pisell2.text.cup-project.footer.button.new-customer'
|
|
7
|
+
}, {
|
|
8
|
+
key: 'customer-list',
|
|
9
|
+
icon: 'pisell2-file-check-02',
|
|
10
|
+
type: 'primary',
|
|
11
|
+
size: 'large',
|
|
12
|
+
languageKey: 'pisell2.text.cup-project.footer.button.customer-list'
|
|
13
|
+
}, {
|
|
14
|
+
key: 'cup-list',
|
|
15
|
+
icon: 'pisell2-file-check-02',
|
|
16
|
+
type: 'primary',
|
|
17
|
+
size: 'large',
|
|
18
|
+
languageKey: 'pisell2.text.cup-project.footer.button.cup-list'
|
|
19
|
+
},
|
|
20
|
+
// {
|
|
21
|
+
// key: 'register-cups',
|
|
22
|
+
// icon: 'RestOutlined',
|
|
23
|
+
// type: 'primary',
|
|
24
|
+
// size: 'large',
|
|
25
|
+
// languageKey: 'pisell2.text.cup-project.footer.button.register-cups',
|
|
26
|
+
// },
|
|
27
|
+
{
|
|
28
|
+
key: 'setting',
|
|
29
|
+
icon: 'pisell2-settings-02',
|
|
30
|
+
type: 'primary',
|
|
31
|
+
size: 'large',
|
|
32
|
+
languageKey: 'pisell2.text.cup-project.footer.button.setting'
|
|
33
|
+
}];
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { locales } from '@pisell/utils';
|
|
3
|
+
import { Button, Icon } from '@pisell/materials';
|
|
4
|
+
import "./index.less";
|
|
5
|
+
import { useGetApp, useGetGoalShopInfo, useLanguage, useModal } from "../hooks";
|
|
6
|
+
import localeTexts from "../locales";
|
|
7
|
+
import { CUP_PROJECT_FOOTER_BUTTONS } from "./const";
|
|
8
|
+
import SearchBar from "../components/SearchBar";
|
|
9
|
+
import AddCustomerModal from "../components/AddCustomerModal";
|
|
10
|
+
import CustomerAndCupModal from "../components/CustomerAndCupModal";
|
|
11
|
+
import SettingModal from "../components/SettingModal";
|
|
12
|
+
var SCAN_LISTENER_KEY = 'eco-cup-project-scan-listener';
|
|
13
|
+
export default function EcoCupProject() {
|
|
14
|
+
var language = useLanguage();
|
|
15
|
+
locales.init(localeTexts, language);
|
|
16
|
+
var getApp = useGetApp();
|
|
17
|
+
var addCustomerModal = useModal('ecocup-add-customer-modal');
|
|
18
|
+
var settingModal = useModal('ecocup-setting-modal');
|
|
19
|
+
var customerAndCupModal = useModal('ecocup-customer-and-cup-modal');
|
|
20
|
+
var _useGetGoalShopInfo = useGetGoalShopInfo(),
|
|
21
|
+
goalShopId = _useGetGoalShopInfo.goalShopId;
|
|
22
|
+
var onSearchResult = function onSearchResult(result) {
|
|
23
|
+
console.log('onSearchResult', result);
|
|
24
|
+
if ((result === null || result === void 0 ? void 0 : result.type) === 'customer') {
|
|
25
|
+
customerAndCupModal.open({
|
|
26
|
+
data: {
|
|
27
|
+
firstType: result === null || result === void 0 ? void 0 : result.type,
|
|
28
|
+
customerData: result === null || result === void 0 ? void 0 : result.data
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
} else if ((result === null || result === void 0 ? void 0 : result.type) === 'cup') {
|
|
32
|
+
customerAndCupModal.open({
|
|
33
|
+
data: {
|
|
34
|
+
firstType: result === null || result === void 0 ? void 0 : result.type,
|
|
35
|
+
cupData: result === null || result === void 0 ? void 0 : result.data
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
var onClickNewCustomer = function onClickNewCustomer() {
|
|
41
|
+
console.log('onClickNewCustomer');
|
|
42
|
+
addCustomerModal.open();
|
|
43
|
+
};
|
|
44
|
+
var onClickSetting = function onClickSetting() {
|
|
45
|
+
console.log('onClickSetting');
|
|
46
|
+
settingModal.open();
|
|
47
|
+
};
|
|
48
|
+
var onClickCustomerList = function onClickCustomerList() {
|
|
49
|
+
console.log('onClickCustomerList');
|
|
50
|
+
var app = getApp === null || getApp === void 0 ? void 0 : getApp();
|
|
51
|
+
if (goalShopId) {
|
|
52
|
+
var _app$history;
|
|
53
|
+
app === null || app === void 0 || (_app$history = app.history) === null || _app$history === void 0 || _app$history.push("/ecocup/customer-list?goal_shop_id=".concat(goalShopId));
|
|
54
|
+
} else {
|
|
55
|
+
var _app$history2;
|
|
56
|
+
app === null || app === void 0 || (_app$history2 = app.history) === null || _app$history2 === void 0 || _app$history2.push('/ecocup/customer-list');
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
var onClickCupList = function onClickCupList() {
|
|
60
|
+
console.log('onClickCupList');
|
|
61
|
+
var app = getApp === null || getApp === void 0 ? void 0 : getApp();
|
|
62
|
+
if (goalShopId) {
|
|
63
|
+
var _app$history3;
|
|
64
|
+
app === null || app === void 0 || (_app$history3 = app.history) === null || _app$history3 === void 0 || _app$history3.push("/ecocup/cup-list?goal_shop_id=".concat(goalShopId));
|
|
65
|
+
} else {
|
|
66
|
+
var _app$history4;
|
|
67
|
+
app === null || app === void 0 || (_app$history4 = app.history) === null || _app$history4 === void 0 || _app$history4.push('/ecocup/cup-list');
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
var onClickButton = function onClickButton(key) {
|
|
71
|
+
switch (key) {
|
|
72
|
+
case 'add-new-customer':
|
|
73
|
+
onClickNewCustomer();
|
|
74
|
+
break;
|
|
75
|
+
case 'customer-list':
|
|
76
|
+
onClickCustomerList();
|
|
77
|
+
break;
|
|
78
|
+
case 'cup-list':
|
|
79
|
+
onClickCupList();
|
|
80
|
+
break;
|
|
81
|
+
case 'setting':
|
|
82
|
+
onClickSetting();
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
87
|
+
className: "ecocup-cup-project"
|
|
88
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
89
|
+
className: "ecocup-cup-project-title"
|
|
90
|
+
}, locales.getText('pisell2.text.cup-project.title')), /*#__PURE__*/React.createElement("div", {
|
|
91
|
+
className: "ecocup-cup-project-search-bar"
|
|
92
|
+
}, /*#__PURE__*/React.createElement(SearchBar, {
|
|
93
|
+
scanListenerKey: SCAN_LISTENER_KEY,
|
|
94
|
+
onSearchResult: onSearchResult
|
|
95
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
96
|
+
className: "ecocup-cup-project-actions"
|
|
97
|
+
}, CUP_PROJECT_FOOTER_BUTTONS.map(function (button) {
|
|
98
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
99
|
+
key: button.key,
|
|
100
|
+
type: button.type,
|
|
101
|
+
size: "large",
|
|
102
|
+
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
103
|
+
type: button.icon,
|
|
104
|
+
size: 32
|
|
105
|
+
}),
|
|
106
|
+
onClick: function onClick() {
|
|
107
|
+
return onClickButton(button.key);
|
|
108
|
+
},
|
|
109
|
+
className: "ecocup-cup-project-actions-button"
|
|
110
|
+
}, locales.getText(button.languageKey));
|
|
111
|
+
})), addCustomerModal.visible && /*#__PURE__*/React.createElement(AddCustomerModal, addCustomerModal.modalProps), customerAndCupModal.visible && /*#__PURE__*/React.createElement(CustomerAndCupModal, customerAndCupModal.modalProps), settingModal.visible && /*#__PURE__*/React.createElement(SettingModal, settingModal.modalProps));
|
|
112
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.ecocup-cup-project {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
background-color: #292929;
|
|
9
|
+
|
|
10
|
+
&-title {
|
|
11
|
+
color: #ffffff;
|
|
12
|
+
text-align: center;
|
|
13
|
+
font-size: 40px;
|
|
14
|
+
font-weight: 300;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&-search-bar {
|
|
18
|
+
margin-top: 16px;
|
|
19
|
+
height: 60px;
|
|
20
|
+
width: 100%;
|
|
21
|
+
width: 818px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-actions {
|
|
25
|
+
margin-top: 132px;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
gap: 16px;
|
|
30
|
+
|
|
31
|
+
&-button {
|
|
32
|
+
width: 220px;
|
|
33
|
+
height: 48px;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
font-size: 12px;
|
|
38
|
+
font-weight: 300;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description: 排序设置
|
|
3
|
+
* @return {*}
|
|
4
|
+
*/
|
|
5
|
+
var SORT_SETTINGS = {
|
|
6
|
+
show: true,
|
|
7
|
+
list: [{
|
|
8
|
+
columnKey: 'display_name',
|
|
9
|
+
key: 'display_name',
|
|
10
|
+
type: 'string',
|
|
11
|
+
localFilter: false
|
|
12
|
+
}, {
|
|
13
|
+
columnKey: 'create_time',
|
|
14
|
+
key: 'create_time',
|
|
15
|
+
type: 'date',
|
|
16
|
+
localFilter: false
|
|
17
|
+
}
|
|
18
|
+
// {
|
|
19
|
+
// columnKey: 'total_rent_count',
|
|
20
|
+
// key: 'total_rent_count',
|
|
21
|
+
// type: 'number',
|
|
22
|
+
// localFilter: false,
|
|
23
|
+
// },
|
|
24
|
+
// {
|
|
25
|
+
// columnKey: 'total_return_count',
|
|
26
|
+
// key: 'total_return_count',
|
|
27
|
+
// type: 'number',
|
|
28
|
+
// localFilter: false,
|
|
29
|
+
// },
|
|
30
|
+
]
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @description: 列配置
|
|
35
|
+
* @return {*}
|
|
36
|
+
*/
|
|
37
|
+
var COLUMN_SETTING = {
|
|
38
|
+
show: true,
|
|
39
|
+
storageMode: 'localStorage'
|
|
40
|
+
};
|
|
41
|
+
var FILTER = function FILTER(locales) {
|
|
42
|
+
return {
|
|
43
|
+
show: true,
|
|
44
|
+
quickFilterMaxLength: 3,
|
|
45
|
+
// sortButtonShow: true,
|
|
46
|
+
// storageMode: 'localStorage',
|
|
47
|
+
list: [{
|
|
48
|
+
key: 'search',
|
|
49
|
+
type: 'search',
|
|
50
|
+
columnKey: '',
|
|
51
|
+
sort: true,
|
|
52
|
+
localFilter: false,
|
|
53
|
+
isCustom: true,
|
|
54
|
+
name: 'search',
|
|
55
|
+
other: {
|
|
56
|
+
size: 'large',
|
|
57
|
+
allowClear: true,
|
|
58
|
+
placeholder: locales.getText('pisell2.text.ecocup.customer.list.search.placeholder'),
|
|
59
|
+
trigger: ['onChange', 'onPressEnter'],
|
|
60
|
+
style: {
|
|
61
|
+
width: 240
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}]
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export { SORT_SETTINGS, COLUMN_SETTING, FILTER };
|