@pisell/private-materials 6.0.20 → 6.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +149 -149
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +13 -14
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +15 -16
- package/es/components/booking/addons/index.js +14 -14
- package/es/components/booking/addons/model.js +5 -5
- package/es/components/booking/components/TabProduct/index.d.ts +2 -1
- package/es/components/booking/components/TabProduct/index.js +6 -6
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +2 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +2 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.js +4 -4
- package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
- package/es/components/booking/components/addButton/index.js +1 -1
- package/es/components/booking/components/authWrap/index.d.ts +1 -1
- package/es/components/booking/components/browserSelect/index.d.ts +1 -1
- package/es/components/booking/components/browserSelect/index.js +1 -1
- package/es/components/booking/components/collapsibleList/index.js +1 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +2 -1
- package/es/components/booking/components/customSelect/index.js +10 -10
- package/es/components/booking/components/drawer/index.d.ts +1 -1
- package/es/components/booking/components/drawer/index.js +1 -1
- package/es/components/booking/components/emptyBooking/index.d.ts +2 -1
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +2 -1
- package/es/components/booking/components/footer/amount.js +7 -7
- package/es/components/booking/components/footer/index.d.ts +2 -1
- package/es/components/booking/components/footer/index.js +54 -54
- package/es/components/booking/components/footer/serve.js +2 -2
- package/es/components/booking/components/footer/utils.js +20 -20
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +2 -1
- package/es/components/booking/components/menuButton/index.d.ts +1 -1
- package/es/components/booking/dashboard/index.d.ts +1 -1
- package/es/components/booking/dashboard/index.js +8 -8
- package/es/components/booking/dashboard/serve.js +2 -2
- package/es/components/booking/deposit/ClientItem/index.d.ts +1 -1
- package/es/components/booking/deposit/DepositItem/index.d.ts +1 -1
- package/es/components/booking/deposit/DepositItem/index.js +2 -2
- package/es/components/booking/deposit/EditDepositModal/index.js +3 -2
- package/es/components/booking/deposit/index.d.ts +2 -1
- package/es/components/booking/deposit/index.js +12 -12
- package/es/components/booking/deposit/serve.js +2 -2
- package/es/components/booking/forms/format.js +8 -8
- package/es/components/booking/forms/forms.js +7 -7
- package/es/components/booking/forms/index.js +25 -25
- package/es/components/booking/forms/model.js +5 -5
- package/es/components/booking/forms/serve.js +2 -2
- package/es/components/booking/forms/single/RenderValueById.js +6 -6
- package/es/components/booking/forms/single/index.d.ts +2 -1
- package/es/components/booking/forms/single/index.js +6 -6
- package/es/components/booking/forms/table/index.d.ts +2 -1
- package/es/components/booking/hooks/useClearCart.d.ts +2 -1
- package/es/components/booking/hooks/useClearCart.js +6 -6
- package/es/components/booking/index.js +5 -5
- package/es/components/booking/info/addServiceVariant/index.d.ts +2 -1
- package/es/components/booking/info/addServiceVariant/index.js +7 -7
- package/es/components/booking/info/client/index.d.ts +1 -1
- package/es/components/booking/info/client/index.js +14 -14
- package/es/components/booking/info/client/serve.js +2 -2
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +2 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.js +24 -23
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.js +14 -13
- package/es/components/booking/info/clientVariant/vertical/index.js +52 -51
- package/es/components/booking/info/date/index.d.ts +2 -1
- package/es/components/booking/info/date/index.js +7 -7
- package/es/components/booking/info/header/index.d.ts +2 -1
- package/es/components/booking/info/header/index.js +15 -15
- package/es/components/booking/info/index.d.ts +2 -1
- package/es/components/booking/info/index.js +2 -2
- package/es/components/booking/info/main.js +20 -20
- package/es/components/booking/info/model.js +5 -5
- package/es/components/booking/info/notes/index.d.ts +2 -1
- package/es/components/booking/info/notes/index.js +7 -7
- package/es/components/booking/info/pet/index.d.ts +1 -1
- package/es/components/booking/info/pet/index.js +56 -51
- package/es/components/booking/info/service/actions/index.d.ts +2 -1
- package/es/components/booking/info/service/actions/index.js +4 -4
- package/es/components/booking/info/service/addService/index.d.ts +2 -1
- package/es/components/booking/info/service/addService/index.js +23 -23
- package/es/components/booking/info/service/addService/utils.js +8 -8
- package/es/components/booking/info/service/addTimeModal/index.d.ts +2 -1
- package/es/components/booking/info/service/addTimeModal/index.js +28 -28
- package/es/components/booking/info/service/addTimeModal/serve.js +2 -2
- package/es/components/booking/info/service/addTimeModal/utils.js +5 -5
- package/es/components/booking/info/service/editService/index.js +33 -33
- package/es/components/booking/info/service/index.d.ts +1 -1
- package/es/components/booking/info/service/index.js +5 -5
- package/es/components/booking/info/service/like/index.d.ts +2 -1
- package/es/components/booking/info/service/like/index.js +1 -1
- package/es/components/booking/info/service/serve.js +2 -2
- package/es/components/booking/info/service/serviceItem/index.d.ts +2 -1
- package/es/components/booking/info/service/serviceItem/index.js +3 -3
- package/es/components/booking/info/service/serviceList/index.d.ts +2 -1
- package/es/components/booking/info/service/serviceList/index.js +8 -8
- package/es/components/booking/info2/index.js +24 -24
- package/es/components/booking/info2/serve.js +2 -2
- package/es/components/booking/info2/service/actions/index.d.ts +2 -1
- package/es/components/booking/info2/service/actions/index.js +9 -9
- package/es/components/booking/info2/service/addService/index.d.ts +2 -1
- package/es/components/booking/info2/service/addService/index.js +19 -19
- package/es/components/booking/info2/service/addService/utils.js +20 -19
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +2 -1
- package/es/components/booking/info2/service/addTimeModal/index.js +31 -31
- package/es/components/booking/info2/service/addTimeModal/serve.js +2 -2
- package/es/components/booking/info2/service/addTimeModal/utils.js +7 -7
- package/es/components/booking/info2/service/editService/Capacity/index.js +7 -7
- package/es/components/booking/info2/service/editService/Resources/index.js +19 -19
- package/es/components/booking/info2/service/editService/index.js +27 -26
- package/es/components/booking/info2/service/editService/utils.js +5 -5
- package/es/components/booking/info2/service/index.d.ts +1 -1
- package/es/components/booking/info2/service/index.js +5 -5
- package/es/components/booking/info2/service/serviceItem/index.d.ts +2 -1
- package/es/components/booking/info2/service/serviceItem/index.js +8 -7
- package/es/components/booking/info2/service/serviceList/index.d.ts +2 -1
- package/es/components/booking/info2/service/serviceList/index.js +6 -6
- package/es/components/booking/info2/utilsByBooking.js +12 -12
- package/es/components/booking/materiels/contacts/index.d.ts +2 -1
- package/es/components/booking/materiels/contacts/index.js +5 -5
- package/es/components/booking/materiels/duration/index.d.ts +2 -1
- package/es/components/booking/materiels/duration/index.js +2 -2
- package/es/components/booking/materiels/resources/index.js +8 -8
- package/es/components/booking/materiels/startTime/index.d.ts +2 -1
- package/es/components/booking/materiels/startTime/index.js +1 -1
- package/es/components/booking/mock.js +5 -5
- package/es/components/booking/model.js +5 -5
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +2 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/index.d.ts +2 -1
- package/es/components/booking/notes/NoteBlock/index.js +11 -11
- package/es/components/booking/notes/addNote/index.d.ts +2 -1
- package/es/components/booking/notes/addNote/index.js +1 -1
- package/es/components/booking/notes/index.js +17 -17
- package/es/components/booking/notes/model.js +5 -5
- package/es/components/booking/payments/index.js +7 -7
- package/es/components/booking/payments/model.js +5 -5
- package/es/components/booking/utils.js +6 -6
- package/es/components/eftpos/const.js +12 -15
- package/es/components/eftpos/device.d.ts +1 -1
- package/es/components/eftpos/deviceList/index.d.ts +2 -1
- package/es/components/eftpos/deviceList/index.js +7 -7
- package/es/components/eftpos/form/index.d.ts +2 -1
- package/es/components/eftpos/form/index.js +1 -1
- package/es/components/eftpos/group/index.d.ts +3 -2
- package/es/components/eftpos/group/index.js +1 -1
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/hooks.js +3 -3
- package/es/components/eftpos/icon/apiKey.d.ts +2 -1
- package/es/components/eftpos/icon/device.d.ts +2 -1
- package/es/components/eftpos/index.d.ts +2 -1
- package/es/components/eftpos/index.js +11 -11
- package/es/components/eftpos/log.d.ts +2 -2
- package/es/components/eftpos/log.js +1 -1
- package/es/components/eftpos/pos.d.ts +2 -1
- package/es/components/eftpos/receipt/index.d.ts +2 -1
- package/es/components/eftpos/receipt/index.js +6 -5
- package/es/components/eftpos/surcharge/index.d.ts +2 -1
- package/es/components/eftpos/surcharge/index.js +8 -7
- package/es/components/eftpos/table.js +8 -8
- package/es/components/eftposPay/amount.d.ts +2 -1
- package/es/components/eftposPay/amount.js +1 -1
- package/es/components/eftposPay/app.d.ts +2 -1
- package/es/components/eftposPay/app.js +6 -6
- package/es/components/eftposPay/component/alert/index.d.ts +1 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +2 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +2 -1
- package/es/components/eftposPay/component/fail/index.d.ts +2 -1
- package/es/components/eftposPay/component/fail/index.js +2 -2
- package/es/components/eftposPay/component/fail/network.d.ts +2 -1
- package/es/components/eftposPay/component/fail/network.js +1 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +2 -1
- package/es/components/eftposPay/component/header/index.d.ts +1 -1
- package/es/components/eftposPay/component/header/index.js +4 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +2 -1
- package/es/components/eftposPay/component/header/titlebar.js +3 -3
- package/es/components/eftposPay/component/manual/index.d.ts +2 -1
- package/es/components/eftposPay/component/manual/index.js +6 -6
- package/es/components/eftposPay/component/signature/index.d.ts +2 -1
- package/es/components/eftposPay/component/signature/index.js +1 -1
- package/es/components/eftposPay/component/step/index.d.ts +2 -1
- package/es/components/eftposPay/component/step/step.d.ts +2 -1
- package/es/components/eftposPay/const.js +32 -32
- package/es/components/eftposPay/device.d.ts +2 -1
- package/es/components/eftposPay/device.js +8 -8
- package/es/components/eftposPay/helper.js +10 -10
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/hooks.js +18 -5
- package/es/components/eftposPay/index.d.ts +2 -1
- package/es/components/eftposPay/index.js +11 -11
- package/es/components/eftposPay/pay.d.ts +2 -1
- package/es/components/eftposPay/payo/config.d.ts +3 -2
- package/es/components/eftposPay/payo/config.js +12 -12
- package/es/components/eftposPay/payo/const.js +5 -5
- package/es/components/eftposPay/payo/hooks.js +7 -7
- package/es/components/eftposPay/payo/index.d.ts +1 -1
- package/es/components/eftposPay/store/index.d.ts +2 -2
- package/es/components/eftposPay/store/index.js +10 -9
- package/es/components/eftposPay/store/useThunkReducer.js +1 -1
- package/es/components/eftposPay/tip.d.ts +2 -1
- package/es/components/eftposPay/tip.js +6 -6
- package/es/components/eftposPay/tyro/const.js +5 -5
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/tyro/hooks.js +1 -1
- package/es/components/eftposPay/tyro/index.d.ts +1 -1
- package/es/components/eftposPay/tyro/index.js +17 -15
- package/es/components/eftposPay/windcave/const.js +13 -13
- package/es/components/eftposPay/windcave/helper.js +16 -14
- package/es/components/eftposPay/windcave/receiptAction.d.ts +3 -2
- package/es/components/eftposPay/windcave/receiptAction.js +8 -6
- package/es/components/eftposPay/windcave/timer.js +7 -7
- package/es/components/eftposPay/windcave/windcave.d.ts +2 -1
- package/es/components/eftposPay/windcave/windcave.js +12 -12
- package/es/components/listComponent/index.js +5 -5
- package/es/components/login/index.d.ts +2 -1
- package/es/components/login/index.js +1 -1
- package/es/components/pay/toC/PaymentList/index.js +15 -19
- package/es/components/pay/toC/PaymentList/serve.js +6 -6
- package/es/components/pay/toC/PaymentList/status.js +6 -5
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.js +8 -8
- package/es/components/pay/toC/PaymentMethods/BankDeposit/index.js +4 -4
- package/es/components/pay/toC/PaymentMethods/CashManual/index.js +6 -6
- package/es/components/pay/toC/PaymentMethods/CashManual/serve.js +2 -2
- package/es/components/pay/toC/PaymentMethods/CustomPayment/index.js +6 -6
- package/es/components/pay/toC/PaymentMethods/CustomPayment/serve.js +2 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.js +4 -4
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.js +6 -6
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.js +4 -4
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.js +6 -6
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/index.js +2 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.js +2 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.js +4 -4
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.js +6 -6
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +8 -8
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +4 -6
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +5 -5
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/serve.js +2 -2
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +2 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +10 -13
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.js +9 -9
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +9 -9
- package/es/components/pay/toC/PaymentMethods/OfflinePayment/index.js +3 -3
- package/es/components/pay/toC/PaymentMethods/OfflinePayment/serve.js +2 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.js +2 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.js +2 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +2 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +2 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.js +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +2 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.js +3 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +2 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.js +4 -4
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/serve.js +2 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/index.js +4 -4
- package/es/components/pay/toC/PaymentMethods/StripePay/serve.js +2 -2
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +4 -4
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.js +6 -6
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +4 -4
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.js +6 -6
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +5 -5
- package/es/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +8 -8
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.js +2 -2
- package/es/components/pay/toC/PaymentMethods/index.js +10 -10
- package/es/components/pay/toC/WalletPassBlock/index.d.ts +1 -1
- package/es/components/pay/toC/WalletPassBlock/index.js +9 -9
- package/es/components/pay/toC/index.js +30 -30
- package/es/components/pay/toC/model.js +5 -5
- package/es/components/pay/toC/payGroup.js +5 -5
- package/es/components/pay/toC/serve.js +6 -6
- package/es/components/pay/toC/status.js +5 -5
- package/es/components/pay/toC/utils.js +2 -2
- package/es/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
- package/es/components/pisellSelectCustomerModal/CustomerCard/index.js +1 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +2 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.js +6 -6
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +2 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.js +5 -5
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/serve.js +2 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +2 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.js +6 -6
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +2 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +2 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.js +7 -7
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.js +2 -2
- package/es/components/pisellSelectCustomerModal/index.d.ts +2 -1
- package/es/components/pisellSelectCustomerModal/index.js +7 -7
- package/es/components/productExtension/card/index.js +3 -3
- package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +2 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +2 -1
- package/es/components/productExtension/fields/Forms/index.js +12 -12
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +2 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +2 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +2 -1
- package/es/components/productExtension/fields/SelectProducts/index.js +3 -3
- package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +2 -1
- package/es/components/productExtension/fields/SelectResourcesTable/index.js +9 -9
- package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
- package/es/components/productExtension/index.d.ts +2 -1
- package/es/components/productExtension/index.js +7 -7
- package/es/components/productExtension/server.js +2 -2
- package/es/components/ruleSetting/index.d.ts +2 -1
- package/es/components/ruleSetting/index.js +9 -9
- package/es/components/ruleSetting/ruleBorder/index.d.ts +2 -1
- package/es/components/ruleSetting/ruleBorder/index.js +1 -1
- package/es/components/ruleSetting/server.js +6 -6
- package/es/components/schedules/calendar/calendarItem.d.ts +2 -1
- package/es/components/schedules/calendar/index.d.ts +2 -1
- package/es/components/schedules/calendar/index.js +4 -4
- package/es/components/schedules/calendar/serve.js +2 -2
- package/es/components/schedules/components/Card/index.d.ts +1 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +2 -1
- package/es/components/schedules/components/CurrentDay/index.js +5 -5
- package/es/components/schedules/components/CurrentDay/serve.js +2 -2
- package/es/components/schedules/components/DropdownSort/index.js +1 -1
- package/es/components/schedules/components/ResourceList/index.d.ts +1 -1
- package/es/components/schedules/components/ResourceList/index.js +1 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +2 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +2 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.js +2 -2
- package/es/components/schedules/components/ScheduleList/index.d.ts +2 -1
- package/es/components/schedules/components/Search/index.d.ts +1 -1
- package/es/components/schedules/components/Search/index.js +5 -5
- package/es/components/schedules/hooks/useSchedulesDataSource.js +1 -1
- package/es/components/schedules/index.js +10 -10
- package/es/components/schedules/model.js +5 -5
- package/es/components/schedules/openHours/index.js +1 -1
- package/es/components/schedules/openHours/serve.js +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +2 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +2 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +2 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.js +14 -14
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +2 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +2 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +2 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +2 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
- package/es/components/schedules/products/index.d.ts +2 -1
- package/es/components/schedules/products/list/ProductItem/index.d.ts +2 -1
- package/es/components/schedules/products/list/index.d.ts +2 -1
- package/es/components/schedules/products/list/index.js +6 -6
- package/es/components/schedules/products/serve.js +2 -2
- package/es/components/schedules/products/utils.js +5 -5
- package/es/components/schedules/resources/add/index.js +3 -3
- package/es/components/schedules/resources/detail/detailContent.js +2 -2
- package/es/components/schedules/resources/detail/index.js +10 -10
- package/es/components/schedules/resources/edit/index.js +3 -3
- package/es/components/schedules/resources/index.d.ts +2 -1
- package/es/components/schedules/resources/index.js +13 -13
- package/es/components/schedules/resources/list/index.d.ts +2 -1
- package/es/components/schedules/resources/list/index.js +2 -2
- package/es/components/schedules/resources/relationProduct/index.d.ts +2 -1
- package/es/components/schedules/resources/relationProduct/index.js +1 -1
- package/es/components/schedules/resources/serve.js +2 -2
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +2 -1
- package/es/components/schedules/schedules/AllSchedules/index.js +1 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +2 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
- package/es/components/schedules/schedules/Schedules.d.ts +1 -1
- package/es/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
- package/es/components/schedules/schedules/index.d.ts +2 -1
- package/es/components/schedules/schedules/index.js +8 -8
- package/es/components/schedules/schedules/serve.js +2 -2
- package/es/components/schedules/schedules/utils.js +8 -8
- package/es/components/schedules/utils.js +4 -4
- package/es/components/selectModal/index.js +2 -2
- package/es/components/tabProduct/index.d.ts +1 -1
- package/es/components/tabProduct/index.js +6 -5
- package/es/components/tabProduct/tabs/index.js +1 -5
- package/es/components/taxSelect/index.d.ts +2 -1
- package/es/components/taxSelect/index.js +4 -4
- package/es/components/workSpaceList/components/AppearanceEdit/Color.js +4 -4
- package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.js +4 -4
- package/es/components/workSpaceList/components/AppearanceEdit/constants.js +5 -5
- package/es/components/workSpaceList/components/AppearanceEdit/index.js +2 -2
- package/es/components/workSpaceList/components/Card/index.js +9 -8
- package/es/components/workSpaceList/components/CardList/index.js +1 -1
- package/es/components/workSpaceList/components/CreateBaseModal/index.js +2 -2
- package/es/components/workSpaceList/components/EditableString/index.js +3 -3
- package/es/components/workSpaceList/components/Modal/antdConfirmPromise.js +6 -6
- package/es/components/workSpaceList/components/Modal/index.d.ts +2 -1
- package/es/components/workSpaceList/components/Modal/index.js +5 -5
- package/es/components/workSpaceList/components/SearchBar/index.js +9 -9
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +2 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.js +4 -4
- package/es/components/workSpaceList/components/Sort/index.js +3 -2
- package/es/components/workSpaceList/components/WorkspaceItem/index.js +7 -6
- package/es/components/workSpaceList/index.js +11 -11
- package/es/components/workSpaceList/server.js +2 -2
- package/es/components/workSpaceListDetail/index.js +11 -11
- package/es/components/workSpaceListDetail/server.js +6 -6
- package/es/hooks/useComponents.js +1 -1
- package/es/hooks/usePrefix.js +4 -4
- package/es/utils/index.js +6 -6
- package/lib/components/booking/components/TabProduct/index.d.ts +2 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +2 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +2 -1
- package/lib/components/booking/components/authWrap/index.d.ts +1 -1
- package/lib/components/booking/components/browserSelect/index.d.ts +1 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +2 -1
- package/lib/components/booking/components/drawer/index.d.ts +1 -1
- package/lib/components/booking/components/emptyBooking/index.d.ts +2 -1
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +2 -1
- package/lib/components/booking/components/footer/amount.js +8 -4
- package/lib/components/booking/components/footer/index.d.ts +2 -1
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +2 -1
- package/lib/components/booking/components/menuButton/index.d.ts +1 -1
- package/lib/components/booking/dashboard/index.d.ts +1 -1
- package/lib/components/booking/deposit/ClientItem/index.d.ts +1 -1
- package/lib/components/booking/deposit/DepositItem/index.d.ts +1 -1
- package/lib/components/booking/deposit/index.d.ts +2 -1
- package/lib/components/booking/deposit/index.js +10 -5
- package/lib/components/booking/forms/single/index.d.ts +2 -1
- package/lib/components/booking/forms/table/index.d.ts +2 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +2 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +2 -1
- package/lib/components/booking/info/client/index.d.ts +1 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +2 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/date/index.d.ts +2 -1
- package/lib/components/booking/info/header/index.d.ts +2 -1
- package/lib/components/booking/info/index.d.ts +2 -1
- package/lib/components/booking/info/notes/index.d.ts +2 -1
- package/lib/components/booking/info/pet/index.d.ts +1 -1
- package/lib/components/booking/info/pet/index.js +2 -1
- package/lib/components/booking/info/service/actions/index.d.ts +2 -1
- package/lib/components/booking/info/service/addService/index.d.ts +2 -1
- package/lib/components/booking/info/service/addService/index.js +2 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +2 -1
- package/lib/components/booking/info/service/index.d.ts +1 -1
- package/lib/components/booking/info/service/like/index.d.ts +2 -1
- package/lib/components/booking/info/service/serviceItem/index.d.ts +2 -1
- package/lib/components/booking/info/service/serviceList/index.d.ts +2 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +2 -1
- package/lib/components/booking/info2/service/addService/index.d.ts +2 -1
- package/lib/components/booking/info2/service/addService/index.js +2 -1
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +2 -1
- package/lib/components/booking/info2/service/index.d.ts +1 -1
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +2 -1
- package/lib/components/booking/info2/service/serviceList/index.d.ts +2 -1
- package/lib/components/booking/materiels/contacts/index.d.ts +2 -1
- package/lib/components/booking/materiels/duration/index.d.ts +2 -1
- package/lib/components/booking/materiels/startTime/index.d.ts +2 -1
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +2 -1
- package/lib/components/booking/notes/NoteBlock/index.d.ts +2 -1
- package/lib/components/booking/notes/addNote/index.d.ts +2 -1
- package/lib/components/booking/utils.js +1 -1
- package/lib/components/eftpos/device.d.ts +1 -1
- package/lib/components/eftpos/deviceList/index.d.ts +2 -1
- package/lib/components/eftpos/form/index.d.ts +2 -1
- package/lib/components/eftpos/group/index.d.ts +3 -2
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +2 -1
- package/lib/components/eftpos/icon/device.d.ts +2 -1
- package/lib/components/eftpos/index.d.ts +2 -1
- package/lib/components/eftpos/log.d.ts +2 -2
- package/lib/components/eftpos/pos.d.ts +2 -1
- package/lib/components/eftpos/receipt/index.d.ts +2 -1
- package/lib/components/eftpos/surcharge/index.d.ts +2 -1
- package/lib/components/eftposPay/amount.d.ts +2 -1
- package/lib/components/eftposPay/app.d.ts +2 -1
- package/lib/components/eftposPay/component/alert/index.d.ts +1 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +2 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +2 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +2 -1
- package/lib/components/eftposPay/component/fail/network.d.ts +2 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +2 -1
- package/lib/components/eftposPay/component/header/index.d.ts +1 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +2 -1
- package/lib/components/eftposPay/component/manual/index.d.ts +2 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +2 -1
- package/lib/components/eftposPay/component/step/index.d.ts +2 -1
- package/lib/components/eftposPay/component/step/step.d.ts +2 -1
- package/lib/components/eftposPay/device.d.ts +2 -1
- package/lib/components/eftposPay/helper.js +12 -6
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/index.d.ts +2 -1
- package/lib/components/eftposPay/pay.d.ts +2 -1
- package/lib/components/eftposPay/payo/config.d.ts +3 -2
- package/lib/components/eftposPay/payo/index.d.ts +1 -1
- package/lib/components/eftposPay/payo/index.js +2 -1
- package/lib/components/eftposPay/store/index.d.ts +2 -2
- package/lib/components/eftposPay/tip.d.ts +2 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/tyro/index.d.ts +1 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +3 -2
- package/lib/components/eftposPay/windcave/timer.js +3 -8
- package/lib/components/eftposPay/windcave/windcave.d.ts +2 -1
- package/lib/components/login/index.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +2 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +2 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +6 -3
- package/lib/components/pay/toC/WalletPassBlock/index.d.ts +1 -1
- package/lib/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
- package/lib/components/pisellSelectCustomerModal/CustomerCard/index.js +2 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +2 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +2 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +2 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +2 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +2 -1
- package/lib/components/pisellSelectCustomerModal/index.d.ts +2 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +2 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +2 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +2 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +2 -1
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +2 -1
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +2 -1
- package/lib/components/productExtension/index.d.ts +2 -1
- package/lib/components/ruleSetting/index.d.ts +2 -1
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +2 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +2 -1
- package/lib/components/schedules/calendar/index.d.ts +2 -1
- package/lib/components/schedules/components/Card/index.d.ts +1 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +2 -1
- package/lib/components/schedules/components/ResourceList/index.d.ts +1 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +2 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +2 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +2 -1
- package/lib/components/schedules/components/Search/index.d.ts +1 -1
- package/lib/components/schedules/index.js +2 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +2 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +2 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +2 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +2 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +2 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +2 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +2 -1
- package/lib/components/schedules/products/index.d.ts +2 -1
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +2 -1
- package/lib/components/schedules/products/list/index.d.ts +2 -1
- package/lib/components/schedules/resources/index.d.ts +2 -1
- package/lib/components/schedules/resources/list/index.d.ts +2 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +2 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +2 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +2 -1
- package/lib/components/schedules/schedules/Schedules.d.ts +1 -1
- package/lib/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
- package/lib/components/schedules/schedules/index.d.ts +2 -1
- package/lib/components/schedules/schedules/index.js +2 -1
- package/lib/components/schedules/schedules/utils.js +2 -1
- package/lib/components/schedules/utils.js +1 -1
- package/lib/components/tabProduct/index.d.ts +1 -1
- package/lib/components/taxSelect/index.d.ts +2 -1
- package/lib/components/workSpaceList/components/Card/index.js +2 -1
- package/lib/components/workSpaceList/components/EditableString/index.js +2 -1
- package/lib/components/workSpaceList/components/Modal/index.d.ts +2 -1
- package/lib/components/workSpaceList/components/SearchBar/index.js +6 -3
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +2 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.js +2 -1
- package/lib/components/workSpaceList/index.js +4 -2
- package/lib/components/workSpaceListDetail/index.js +4 -2
- package/lib/utils/index.js +1 -1
- package/package.json +2 -2
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
/**
|
2
3
|
* @title: 递归循环表单数据
|
3
4
|
* @Author: hongbing.wang
|
@@ -7,7 +8,7 @@ declare const CustomFormItem: ({ formItemList, level, onChange, }: {
|
|
7
8
|
formItemList: any[];
|
8
9
|
level?: number | undefined;
|
9
10
|
onChange?: ((...agrn: unknown[]) => unknown) | undefined;
|
10
|
-
}) => JSX.Element;
|
11
|
+
}) => React.JSX.Element;
|
11
12
|
export default CustomFormItem;
|
12
13
|
declare type helpMappingType = {
|
13
14
|
[key: string]: {
|
@@ -1,5 +1,6 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { RadioGroupProps } from 'antd';
|
2
|
-
export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
|
3
|
+
export declare const CheckboxGroup: ({ direction, options, ...props }: any) => React.JSX.Element;
|
3
4
|
export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
|
4
5
|
direction?: "vertical" | undefined;
|
5
|
-
}) => JSX.Element;
|
6
|
+
}) => React.JSX.Element;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { Eftpos, DeviceStatus } from './const';
|
2
3
|
import './index.less';
|
3
4
|
interface PosProps {
|
@@ -42,5 +43,5 @@ interface PosProps {
|
|
42
43
|
getPosComm: (...agrn: unknown[]) => any;
|
43
44
|
savePos: (...agrn: unknown[]) => any;
|
44
45
|
}
|
45
|
-
declare const _default: (props: PosProps) => JSX.Element;
|
46
|
+
declare const _default: (props: PosProps) => React.JSX.Element;
|
46
47
|
export default _default;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { Eftpos } from './const';
|
3
3
|
export default function Log({ device, type, tyroUrl, tyroVersion, }: {
|
4
4
|
device: any;
|
5
5
|
type: Eftpos;
|
6
6
|
tyroUrl: string;
|
7
7
|
tyroVersion: string;
|
8
|
-
}): JSX.Element;
|
8
|
+
}): React.JSX.Element;
|
@@ -1,8 +1,9 @@
|
|
1
|
+
import React from "react";
|
1
2
|
import { DeviceProp } from "./const";
|
2
3
|
interface PosProps {
|
3
4
|
eftposName: string;
|
4
5
|
formItemList: any[];
|
5
6
|
onSave: (device: DeviceProp) => void;
|
6
7
|
}
|
7
|
-
declare const PosForm: ({ onSave, formItemList }: PosProps) => JSX.Element;
|
8
|
+
declare const PosForm: ({ onSave, formItemList }: PosProps) => React.JSX.Element;
|
8
9
|
export default PosForm;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
/**
|
2
3
|
* @title: 自定义组件设置
|
3
4
|
* @description: 自定义组件设置
|
@@ -19,5 +20,5 @@ export declare const getCommName: (commConfig: any, name: string[]) => any;
|
|
19
20
|
export declare const getCommDefaultVal: (commConfig: any) => {
|
20
21
|
[x: number]: any;
|
21
22
|
};
|
22
|
-
declare const _default: (props: any) => JSX.Element;
|
23
|
+
declare const _default: (props: any) => React.JSX.Element;
|
23
24
|
export default _default;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import './index.css';
|
2
3
|
/**
|
3
4
|
* @title: 自定义组件设置
|
@@ -26,5 +27,5 @@ export declare const getCommDefaultVal: (commConfig: any) => {
|
|
26
27
|
* @Author: hongbing.wang
|
27
28
|
* @Date: 2024-08-20 13:22
|
28
29
|
*/
|
29
|
-
declare const _default: (props: any) => JSX.Element;
|
30
|
+
declare const _default: (props: any) => React.JSX.Element;
|
30
31
|
export default _default;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { PosProps } from './const';
|
2
3
|
/**
|
3
4
|
* @title: 支付金额信息配置页
|
@@ -16,5 +17,5 @@ declare const _default: ({ className, onChange, onClose, formatAmount, isMobile,
|
|
16
17
|
isMobile: boolean;
|
17
18
|
net: boolean;
|
18
19
|
client: string;
|
19
|
-
}) => JSX.Element;
|
20
|
+
}) => React.JSX.Element;
|
20
21
|
export default _default;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { PosProps, RouteType } from './const';
|
2
3
|
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
|
3
4
|
action: RouteType;
|
@@ -6,5 +7,5 @@ declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion
|
|
6
7
|
isMobile: boolean;
|
7
8
|
channel?: string | undefined;
|
8
9
|
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
9
|
-
}) => JSX.Element;
|
10
|
+
}) => React.JSX.Element;
|
10
11
|
export default App;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { ActionProps } from '../../const';
|
2
|
-
declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
|
3
|
+
declare const _default: ({ className, isMobile, onChange }: ActionProps) => React.JSX.Element;
|
3
4
|
export default _default;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { ActionProps } from '../../const';
|
2
|
-
declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
|
3
|
+
declare const _default: ({ onChange, className, isMobile }: ActionProps) => React.JSX.Element;
|
3
4
|
export default _default;
|
@@ -1,8 +1,9 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { ActionProps } from '../../const';
|
2
3
|
/**
|
3
4
|
* @title: 断网(客户端)提示页
|
4
5
|
* @Author: hongbing.wang
|
5
6
|
* @Date: 2024-08-20 11:40
|
6
7
|
*/
|
7
|
-
declare const _default: ({ className }: ActionProps) => JSX.Element;
|
8
|
+
declare const _default: ({ className }: ActionProps) => React.JSX.Element;
|
8
9
|
export default _default;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { ActionProps } from '../../const';
|
2
3
|
/**
|
3
4
|
* @title: 支付状态未知页面
|
@@ -5,5 +6,5 @@ import { ActionProps } from '../../const';
|
|
5
6
|
* @Author: hongbing.wang
|
6
7
|
* @Date: 2024-08-20 11:42
|
7
8
|
*/
|
8
|
-
declare const _default: ({ onChange, className }: ActionProps) => JSX.Element;
|
9
|
+
declare const _default: ({ onChange, className }: ActionProps) => React.JSX.Element;
|
9
10
|
export default _default;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import './titlebar.less';
|
2
3
|
declare enum EPopupTitleBarVariantType {
|
3
4
|
BackTitleClose = "back-title-cancel",
|
@@ -8,5 +9,5 @@ declare const _default: ({ type, children, onBack, onClose, }: {
|
|
8
9
|
children: string;
|
9
10
|
onBack?: (() => void) | undefined;
|
10
11
|
onClose?: (() => void) | undefined;
|
11
|
-
}) => JSX.Element;
|
12
|
+
}) => React.JSX.Element;
|
12
13
|
export default _default;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { ActionProps } from '../../const';
|
2
3
|
import './index.less';
|
3
4
|
/**
|
@@ -5,5 +6,5 @@ import './index.less';
|
|
5
6
|
* @Author: hongbing.wang
|
6
7
|
* @Date: 2024-08-20 11:46
|
7
8
|
*/
|
8
|
-
declare const _default: ({ onChange, className, formatAmount }: ActionProps) => JSX.Element;
|
9
|
+
declare const _default: ({ onChange, className, formatAmount }: ActionProps) => React.JSX.Element;
|
9
10
|
export default _default;
|
@@ -1,8 +1,9 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { ActionProps } from '../../const';
|
2
3
|
/**
|
3
4
|
* @title: 取消签名确认页
|
4
5
|
* @Author: hongbing.wang
|
5
6
|
* @Date: 2024-08-20 11:49
|
6
7
|
*/
|
7
|
-
declare const _default: ({ api, className }: ActionProps) => JSX.Element;
|
8
|
+
declare const _default: ({ api, className }: ActionProps) => React.JSX.Element;
|
8
9
|
export default _default;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { StatusType } from '../../const';
|
2
3
|
declare const _default: (props: {
|
3
4
|
status: StatusType;
|
@@ -7,5 +8,5 @@ declare const _default: (props: {
|
|
7
8
|
loading?: string | undefined;
|
8
9
|
success?: string | undefined;
|
9
10
|
fail?: string | undefined;
|
10
|
-
}) => JSX.Element;
|
11
|
+
}) => React.JSX.Element;
|
11
12
|
export default _default;
|
@@ -1,8 +1,9 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
declare const _default: (props: {
|
2
3
|
status: string;
|
3
4
|
pedding?: string | undefined;
|
4
5
|
resolve?: string | undefined;
|
5
6
|
reject?: string | undefined;
|
6
7
|
className?: string | undefined;
|
7
|
-
}) => JSX.Element;
|
8
|
+
}) => React.JSX.Element;
|
8
9
|
export default _default;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { PayProps, PosProps } from './const';
|
2
3
|
import './device.less';
|
3
4
|
/**
|
@@ -19,5 +20,5 @@ declare const _default: ({ api, onChange, onClose, className, device_number, isM
|
|
19
20
|
net: boolean;
|
20
21
|
client: string;
|
21
22
|
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
22
|
-
}) => JSX.Element;
|
23
|
+
}) => React.JSX.Element;
|
23
24
|
export default _default;
|
@@ -195,12 +195,18 @@ function getBrowserVersion() {
|
|
195
195
|
const ua = navigator.userAgent.toLowerCase();
|
196
196
|
let s;
|
197
197
|
(s = ua.match(/rv:([\d.]+)\) like gecko/)) ? Sys.ie = s[1] : (s = ua.match(/msie ([\d\.]+)/)) ? Sys.ie = s[1] : (s = ua.match(/edge\/([\d\.]+)/)) ? Sys.edge = s[1] : (s = ua.match(/firefox\/([\d\.]+)/)) ? Sys.firefox = s[1] : (s = ua.match(/(?:opera|opr).([\d\.]+)/)) ? Sys.opera = s[1] : (s = ua.match(/chrome\/([\d\.]+)/)) ? Sys.chrome = s[1] : (s = ua.match(/version\/([\d\.]+).*safari/)) ? Sys.safari = s[1] : 0;
|
198
|
-
if (Sys.ie)
|
199
|
-
|
200
|
-
if (Sys.
|
201
|
-
|
202
|
-
if (Sys.
|
203
|
-
|
198
|
+
if (Sys.ie)
|
199
|
+
return "IE: " + Sys.ie;
|
200
|
+
if (Sys.edge)
|
201
|
+
return "EDGE: " + Sys.edge;
|
202
|
+
if (Sys.firefox)
|
203
|
+
return "Firefox: " + Sys.firefox;
|
204
|
+
if (Sys.chrome)
|
205
|
+
return "Chrome: " + Sys.chrome;
|
206
|
+
if (Sys.opera)
|
207
|
+
return "Opera: " + Sys.opera;
|
208
|
+
if (Sys.safari)
|
209
|
+
return "Safari: " + Sys.safari;
|
204
210
|
return "Unkonwn";
|
205
211
|
}
|
206
212
|
// Annotate the CommonJS export names for ESM import in node:
|
@@ -19,7 +19,7 @@ export declare const useStoreRef: <T extends {
|
|
19
19
|
readonly netRef: React.MutableRefObject<boolean | undefined>;
|
20
20
|
readonly symbolRef: React.MutableRefObject<string>;
|
21
21
|
readonly amountRef: React.MutableRefObject<string | number>;
|
22
|
-
readonly eftposRef: React.MutableRefObject<"
|
22
|
+
readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe">;
|
23
23
|
readonly clientRef: React.MutableRefObject<ClientEnum>;
|
24
24
|
readonly dataRef: React.MutableRefObject<import("./store").State>;
|
25
25
|
};
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { PayProps } from './const';
|
2
3
|
import './index.less';
|
3
4
|
/**
|
@@ -16,5 +17,5 @@ declare const Pay: ({ api, onChange: onChangeStatus, className, terminal, net, i
|
|
16
17
|
tyroVersion?: string | undefined;
|
17
18
|
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
18
19
|
client: string;
|
19
|
-
}) => JSX.Element;
|
20
|
+
}) => React.JSX.Element;
|
20
21
|
export default Pay;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { StatusEnum } from '../const';
|
2
3
|
export declare const POS: ({ api, onChange, }: {
|
3
4
|
api: {
|
@@ -6,7 +7,7 @@ export declare const POS: ({ api, onChange, }: {
|
|
6
7
|
onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}`, params?: {
|
7
8
|
[keys: string]: unknown;
|
8
9
|
} | undefined) => void;
|
9
|
-
}) => JSX.Element;
|
10
|
+
}) => React.JSX.Element;
|
10
11
|
export declare const Action: ({ onChange }: {
|
11
12
|
onChange: any;
|
12
|
-
}) => JSX.Element;
|
13
|
+
}) => React.JSX.Element;
|
@@ -44,7 +44,8 @@ var payo_default = ({
|
|
44
44
|
const { step, steps, ...data } = (0, import_store.useContextData)();
|
45
45
|
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-body " }, steps.map((item, idx) => {
|
46
46
|
let Comm;
|
47
|
-
if (idx === 0)
|
47
|
+
if (idx === 0)
|
48
|
+
Comm = import_config.POS;
|
48
49
|
if (!Comm) {
|
49
50
|
throw new Error("no comm");
|
50
51
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
1
|
+
import React, { ReactNode } from 'react';
|
2
2
|
import { DeviceStatusType, StatusType, ModeType, RouteType, ClientEnum } from '../const';
|
3
3
|
import { ThunkDispatch } from './useThunkReducer';
|
4
4
|
export declare enum EActionTypes {
|
@@ -350,6 +350,6 @@ export declare function reducers(state: State, action: Action): State;
|
|
350
350
|
export declare const Provider: ({ children, state: providerState, }: {
|
351
351
|
children: ReactNode;
|
352
352
|
state?: State | undefined;
|
353
|
-
}) => JSX.Element;
|
353
|
+
}) => React.JSX.Element;
|
354
354
|
export declare function useContextData(): State;
|
355
355
|
export declare function useDispatch(): ThunkDispatch<State, Action>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import './tip.less';
|
2
3
|
/**
|
3
4
|
* @title: 支付状态未知页面
|
@@ -5,5 +6,5 @@ import './tip.less';
|
|
5
6
|
* @Author: hongbing.wang
|
6
7
|
* @Date: 2024-08-20 11:42
|
7
8
|
*/
|
8
|
-
declare const _default: ({ onChangeStatus, className, formatAmount, cardSurcharge, receipts, successTime, onChangeParams, }: any) => JSX.Element;
|
9
|
+
declare const _default: ({ onChangeStatus, className, formatAmount, cardSurcharge, receipts, successTime, onChangeParams, }: any) => React.JSX.Element;
|
9
10
|
export default _default;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
/**
|
2
3
|
* @title: 按钮操作区
|
3
4
|
* @description: 仅包含签名
|
@@ -7,7 +8,7 @@
|
|
7
8
|
export declare const ReceiptAction: ({ api, onChange, }: {
|
8
9
|
api: any;
|
9
10
|
onChange: (status: boolean) => void;
|
10
|
-
}) => JSX.Element;
|
11
|
+
}) => React.JSX.Element;
|
11
12
|
/**
|
12
13
|
* @title: 按钮操作区
|
13
14
|
* @description: 不包含签名
|
@@ -18,5 +19,5 @@ declare const Action: ({ index, onCancel, disabled, }: {
|
|
18
19
|
index: number;
|
19
20
|
onCancel: () => void;
|
20
21
|
disabled: boolean;
|
21
|
-
}) => JSX.Element | null;
|
22
|
+
}) => React.JSX.Element | null;
|
22
23
|
export default Action;
|
@@ -26,20 +26,15 @@ var import_const = require("../const");
|
|
26
26
|
var import_helper = require("../helper");
|
27
27
|
var MaxTime = 5e3;
|
28
28
|
var XhrTimer = class {
|
29
|
-
clearTimeout = 0;
|
30
|
-
isTimeoutClose = false;
|
31
|
-
timeout;
|
32
|
-
callback;
|
33
|
-
flag = true;
|
34
|
-
run;
|
35
|
-
abortController;
|
36
|
-
num;
|
37
29
|
constructor({
|
38
30
|
xhr,
|
39
31
|
timeout,
|
40
32
|
callback,
|
41
33
|
max = MaxTime
|
42
34
|
}) {
|
35
|
+
this.clearTimeout = 0;
|
36
|
+
this.isTimeoutClose = false;
|
37
|
+
this.flag = true;
|
43
38
|
this.timeout = timeout;
|
44
39
|
this.callback = callback;
|
45
40
|
this.num = (0, import_helper.getUuid)();
|
@@ -1,6 +1,7 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
declare const _default: ({ api, onChange, formatAmount, }: {
|
2
3
|
api: any;
|
3
4
|
onChange: any;
|
4
5
|
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
5
|
-
}) => JSX.Element;
|
6
|
+
}) => React.JSX.Element;
|
6
7
|
export default _default;
|
@@ -1,8 +1,9 @@
|
|
1
|
+
import React from "react";
|
1
2
|
import "./index.less";
|
2
3
|
export interface LoginProps {
|
3
4
|
title: string;
|
4
5
|
style: any;
|
5
6
|
onLogin: (values: any, callback: (status: any) => void) => void;
|
6
7
|
}
|
7
|
-
declare const Login: (props: LoginProps) => JSX.Element;
|
8
|
+
declare const Login: (props: LoginProps) => React.JSX.Element;
|
8
9
|
export default Login;
|
@@ -141,7 +141,8 @@ var AddMWCreditCard = (props, ref) => {
|
|
141
141
|
};
|
142
142
|
const onFinish = (values) => {
|
143
143
|
const _status = _checkValue(values);
|
144
|
-
if (!_status)
|
144
|
+
if (!_status)
|
145
|
+
return;
|
145
146
|
onCreate == null ? void 0 : onCreate(values);
|
146
147
|
};
|
147
148
|
const onSubmit = () => {
|
@@ -115,7 +115,8 @@ var startPayment = async ({ orderId, cardInfo, payData }, callback) => {
|
|
115
115
|
console.log("error", err);
|
116
116
|
callback({ key: "hideModal" });
|
117
117
|
closeIframe();
|
118
|
-
if (err === 0)
|
118
|
+
if (err === 0)
|
119
|
+
return;
|
119
120
|
paymentData.error = err;
|
120
121
|
paymentEnd(
|
121
122
|
{
|
@@ -1,7 +1,8 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
|
2
3
|
public_key: string;
|
3
4
|
client_secret?: string | undefined;
|
4
5
|
children: any;
|
5
6
|
lang?: string | undefined;
|
6
|
-
}) => JSX.Element;
|
7
|
+
}) => React.JSX.Element;
|
7
8
|
export default StripeSDK;
|
@@ -1,7 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
|
2
3
|
public_key: string;
|
3
4
|
client_secret?: string | undefined;
|
4
5
|
children: any;
|
5
6
|
lang?: string | undefined;
|
6
|
-
}) => JSX.Element;
|
7
|
+
}) => import("react").JSX.Element;
|
7
8
|
export default StripeSDK;
|
package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import './index.less';
|
2
|
-
declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
|
3
|
+
declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => React.JSX.Element;
|
3
4
|
export default SetupForm;
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
2
2
|
export interface MultiModeSearchProps {
|
3
3
|
onChange: (val: string) => void;
|
4
4
|
}
|
5
|
-
declare const _default: React.MemoExoticComponent<(props: MultiModeSearchProps) => JSX.Element>;
|
5
|
+
declare const _default: React.MemoExoticComponent<(props: MultiModeSearchProps) => React.JSX.Element>;
|
6
6
|
export default _default;
|
@@ -109,7 +109,8 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
|
|
109
109
|
}
|
110
110
|
}, [order == null ? void 0 : order.order_id, searchSelectData]);
|
111
111
|
const init = async (res) => {
|
112
|
-
if (!res)
|
112
|
+
if (!res)
|
113
|
+
return;
|
113
114
|
setOrder(res);
|
114
115
|
setOpen(true);
|
115
116
|
setCurrentWalletPass(walletPass);
|
@@ -119,7 +120,8 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
|
|
119
120
|
};
|
120
121
|
const searchList = async (val, isSelectChange) => {
|
121
122
|
var _a2;
|
122
|
-
if (!(order == null ? void 0 : order.order_id))
|
123
|
+
if (!(order == null ? void 0 : order.order_id))
|
124
|
+
return;
|
123
125
|
const result = await (0, import_serve.searchMachineCodeList)({
|
124
126
|
order_id: order.order_id,
|
125
127
|
code: val,
|
@@ -153,7 +155,8 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
|
|
153
155
|
}
|
154
156
|
};
|
155
157
|
const handleSearch = (0, import_ahooks.useMemoizedFn)((val) => {
|
156
|
-
if (!val || searchOpen)
|
158
|
+
if (!val || searchOpen)
|
159
|
+
return;
|
157
160
|
isAutoSelect.current = true;
|
158
161
|
searchList(val);
|
159
162
|
});
|
@@ -10,5 +10,5 @@ export interface WalletPassBlockProps extends React.HTMLAttributes<HTMLDivElemen
|
|
10
10
|
}) => void;
|
11
11
|
customer_id?: number;
|
12
12
|
}
|
13
|
-
declare const WalletPassBlock: (props: WalletPassBlockProps) => JSX.Element;
|
13
|
+
declare const WalletPassBlock: (props: WalletPassBlockProps) => React.JSX.Element;
|
14
14
|
export default WalletPassBlock;
|
@@ -8,5 +8,5 @@ export interface CustomerCardProps {
|
|
8
8
|
onRemove?: (value?: any) => void;
|
9
9
|
customIcon?: React.ReactNode;
|
10
10
|
}
|
11
|
-
declare const CustomerCard: ({ onClickItem, customer, showIcon, customIcon, onRemove, className, }: CustomerCardProps) => JSX.Element;
|
11
|
+
declare const CustomerCard: ({ onClickItem, customer, showIcon, customIcon, onRemove, className, }: CustomerCardProps) => React.JSX.Element;
|
12
12
|
export default CustomerCard;
|