@pisell/private-materials 6.0.22 → 6.0.23
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 +12 -20
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +12 -20
- 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 -2
- package/es/components/booking/components/TabProduct/index.js +6 -6
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +2 -2
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +2 -2
- package/es/components/booking/components/TabProduct/selectProductItem/index.js +4 -4
- package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
- 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 -2
- 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 -2
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +2 -2
- package/es/components/booking/components/footer/amount.js +7 -7
- package/es/components/booking/components/footer/index.d.ts +2 -2
- 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 +54 -21
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +2 -2
- 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 +10 -9
- 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 +2 -3
- package/es/components/booking/deposit/index.d.ts +2 -2
- 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 -2
- package/es/components/booking/forms/single/index.js +6 -6
- package/es/components/booking/forms/table/index.d.ts +2 -2
- package/es/components/booking/hooks/useClearCart.d.ts +1 -2
- 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 -2
- 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 -2
- package/es/components/booking/info/clientVariant/hooks/useClientFn.js +23 -24
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.js +13 -14
- package/es/components/booking/info/clientVariant/vertical/index.js +51 -52
- package/es/components/booking/info/date/index.d.ts +2 -2
- package/es/components/booking/info/date/index.js +7 -7
- package/es/components/booking/info/header/index.d.ts +2 -2
- package/es/components/booking/info/header/index.js +15 -15
- package/es/components/booking/info/index.d.ts +2 -2
- package/es/components/booking/info/index.js +2 -2
- package/es/components/booking/info/main.js +22 -21
- package/es/components/booking/info/model.js +5 -5
- package/es/components/booking/info/notes/index.d.ts +2 -2
- 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 +51 -56
- package/es/components/booking/info/service/actions/index.d.ts +2 -2
- package/es/components/booking/info/service/actions/index.js +4 -4
- package/es/components/booking/info/service/addService/index.d.ts +2 -2
- 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 -2
- 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 -2
- 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 +1 -2
- package/es/components/booking/info/service/serviceItem/index.js +3 -3
- package/es/components/booking/info/service/serviceList/index.d.ts +2 -2
- package/es/components/booking/info/service/serviceList/index.js +8 -8
- package/es/components/booking/info/utils.js +1 -1
- package/es/components/booking/info2/index.js +26 -25
- package/es/components/booking/info2/serve.js +2 -2
- package/es/components/booking/info2/service/actions/index.d.ts +2 -2
- package/es/components/booking/info2/service/actions/index.js +9 -9
- package/es/components/booking/info2/service/addService/index.d.ts +2 -2
- package/es/components/booking/info2/service/addService/index.js +19 -19
- package/es/components/booking/info2/service/addService/utils.js +19 -20
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +2 -2
- 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 +26 -27
- 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 +1 -2
- package/es/components/booking/info2/service/serviceItem/index.js +7 -8
- package/es/components/booking/info2/service/serviceList/index.d.ts +2 -2
- 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 +1 -2
- package/es/components/booking/materiels/contacts/index.js +7 -6
- package/es/components/booking/materiels/duration/index.d.ts +2 -2
- 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 -2
- 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 -2
- package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/index.d.ts +2 -2
- package/es/components/booking/notes/NoteBlock/index.js +11 -11
- package/es/components/booking/notes/addNote/index.d.ts +2 -2
- 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 +15 -12
- package/es/components/eftpos/device.d.ts +1 -1
- package/es/components/eftpos/deviceList/index.d.ts +2 -2
- package/es/components/eftpos/deviceList/index.js +7 -7
- package/es/components/eftpos/form/index.d.ts +2 -2
- package/es/components/eftpos/form/index.js +1 -1
- package/es/components/eftpos/group/index.d.ts +3 -3
- package/es/components/eftpos/group/index.js +1 -1
- package/es/components/eftpos/hooks.js +3 -3
- package/es/components/eftpos/icon/apiKey.d.ts +2 -2
- package/es/components/eftpos/icon/device.d.ts +2 -2
- package/es/components/eftpos/index.d.ts +1 -2
- package/es/components/eftpos/index.js +13 -12
- 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 -2
- package/es/components/eftpos/receipt/index.d.ts +2 -2
- package/es/components/eftpos/receipt/index.js +5 -6
- package/es/components/eftpos/surcharge/index.d.ts +2 -2
- package/es/components/eftpos/surcharge/index.js +7 -8
- package/es/components/eftpos/table.js +8 -8
- package/es/components/eftposPay/amount.d.ts +3 -3
- package/es/components/eftposPay/amount.js +1 -1
- package/es/components/eftposPay/app.d.ts +2 -2
- 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 -2
- package/es/components/eftposPay/component/fail/failCustom.d.ts +2 -2
- package/es/components/eftposPay/component/fail/index.d.ts +2 -2
- package/es/components/eftposPay/component/fail/index.js +2 -2
- package/es/components/eftposPay/component/fail/network.d.ts +2 -2
- package/es/components/eftposPay/component/fail/network.js +1 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +2 -2
- package/es/components/eftposPay/component/header/index.d.ts +1 -1
- package/es/components/eftposPay/component/header/index.js +0 -4
- package/es/components/eftposPay/component/header/titlebar.d.ts +2 -2
- package/es/components/eftposPay/component/header/titlebar.js +3 -3
- package/es/components/eftposPay/component/manual/index.d.ts +2 -2
- package/es/components/eftposPay/component/manual/index.js +6 -6
- package/es/components/eftposPay/component/signature/index.d.ts +2 -2
- package/es/components/eftposPay/component/signature/index.js +1 -1
- package/es/components/eftposPay/component/step/index.d.ts +2 -2
- package/es/components/eftposPay/component/step/step.d.ts +2 -2
- package/es/components/eftposPay/const.js +32 -32
- package/es/components/eftposPay/device.d.ts +3 -3
- package/es/components/eftposPay/device.js +8 -8
- package/es/components/eftposPay/helper.js +10 -10
- package/es/components/eftposPay/hooks.js +5 -18
- package/es/components/eftposPay/index.d.ts +1 -2
- package/es/components/eftposPay/index.js +13 -12
- package/es/components/eftposPay/pay.d.ts +2 -2
- package/es/components/eftposPay/payo/config.d.ts +2 -3
- 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 +3 -3
- package/es/components/eftposPay/store/index.js +9 -10
- package/es/components/eftposPay/store/useThunkReducer.js +1 -1
- package/es/components/eftposPay/tip.d.ts +2 -2
- package/es/components/eftposPay/tip.js +6 -6
- package/es/components/eftposPay/tyro/const.js +5 -5
- 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 +15 -17
- package/es/components/eftposPay/windcave/const.js +13 -13
- package/es/components/eftposPay/windcave/helper.js +14 -16
- package/es/components/eftposPay/windcave/receiptAction.d.ts +3 -3
- package/es/components/eftposPay/windcave/receiptAction.js +6 -8
- package/es/components/eftposPay/windcave/timer.js +7 -7
- package/es/components/eftposPay/windcave/windcave.d.ts +2 -2
- package/es/components/eftposPay/windcave/windcave.js +72 -39
- package/es/components/index.d.ts +4 -2
- package/es/components/index.js +4 -2
- package/es/components/listComponent/index.js +5 -5
- package/es/components/login/index.d.ts +1 -2
- package/es/components/login/index.js +16 -9
- package/es/components/login/locales.d.ts +24 -0
- package/es/components/login/locales.js +23 -0
- package/es/components/pay/toC/PaymentList/index.js +19 -15
- package/es/components/pay/toC/PaymentList/serve.js +6 -6
- package/es/components/pay/toC/PaymentList/status.js +5 -6
- 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 +6 -4
- 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 -2
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +13 -10
- 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 +1 -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 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -2
- 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 +1 -2
- 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 -2
- 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 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.js +6 -6
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +2 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -2
- 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 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.js +6 -6
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +2 -2
- 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 +1 -2
- package/es/components/pisellSelectCustomerModal/index.js +9 -8
- 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 -2
- package/es/components/productExtension/fields/Forms/index.d.ts +2 -2
- package/es/components/productExtension/fields/Forms/index.js +12 -12
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +2 -2
- 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 -2
- 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 +1 -2
- package/es/components/productExtension/index.js +9 -8
- package/es/components/productExtension/server.js +2 -2
- package/es/components/ruleSetting/index.d.ts +1 -2
- package/es/components/ruleSetting/index.js +11 -10
- package/es/components/ruleSetting/ruleBorder/index.d.ts +2 -2
- 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 -2
- package/es/components/schedules/calendar/index.d.ts +2 -2
- 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 -2
- 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 -2
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +2 -2
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.js +2 -2
- package/es/components/schedules/components/ScheduleList/index.d.ts +2 -2
- 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 +12 -11
- 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 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +2 -2
- 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 -2
- 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 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
- package/es/components/schedules/products/index.d.ts +2 -2
- package/es/components/schedules/products/list/ProductItem/index.d.ts +2 -2
- package/es/components/schedules/products/list/index.d.ts +2 -2
- 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 -2
- package/es/components/schedules/resources/index.js +13 -13
- package/es/components/schedules/resources/list/index.d.ts +2 -2
- package/es/components/schedules/resources/list/index.js +2 -2
- package/es/components/schedules/resources/relationProduct/index.d.ts +2 -2
- 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 -2
- package/es/components/schedules/schedules/AllSchedules/index.js +1 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +2 -2
- 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 -2
- 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 +5 -6
- package/es/components/tabProduct/tabs/index.js +5 -1
- package/es/components/taxSelect/index.d.ts +1 -2
- package/es/components/taxSelect/index.js +6 -5
- package/es/components/wallet/Detail/index.d.ts +42 -0
- package/es/components/wallet/Detail/index.js +956 -0
- package/es/components/wallet/Detail/index.less +375 -0
- package/es/components/wallet/Detail/locales.d.ts +96 -0
- package/es/components/wallet/Detail/locales.js +104 -0
- package/es/components/wallet/Detail/model.d.ts +13 -0
- package/es/components/wallet/Detail/model.js +22 -0
- package/es/components/wallet/Detail/serve.d.ts +39 -0
- package/es/components/wallet/Detail/serve.js +60 -0
- package/es/components/wallet/DetailContext.d.ts +25 -0
- package/es/components/wallet/DetailContext.js +162 -0
- package/es/components/wallet/DiscountCard/index.d.ts +3 -0
- package/es/components/wallet/DiscountCard/index.js +218 -0
- package/es/components/wallet/DiscountCard/index.less +10 -0
- package/es/components/wallet/DiscountCard/model.d.ts +14 -0
- package/es/components/wallet/DiscountCard/model.js +22 -0
- package/es/components/wallet/PointCard/index.d.ts +3 -0
- package/es/components/wallet/PointCard/index.js +169 -0
- package/es/components/wallet/PointCard/index.less +10 -0
- package/es/components/wallet/PointCard/model.d.ts +13 -0
- package/es/components/wallet/PointCard/model.js +22 -0
- package/es/components/wallet/RechargeableCard/index.d.ts +13 -0
- package/es/components/wallet/RechargeableCard/index.js +463 -5
- package/es/components/wallet/RechargeableCard/index.less +112 -0
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -0
- package/es/components/wallet/RechargeableCard/model.js +28 -0
- package/es/components/wallet/RechargeableCard/serve.d.ts +23 -0
- package/es/components/wallet/RechargeableCard/serve.js +32 -0
- package/es/components/wallet/Voucher/index.d.ts +12 -0
- package/es/components/wallet/Voucher/index.js +129 -0
- package/es/components/wallet/Voucher/index.less +10 -0
- package/es/components/wallet/Voucher/locales.d.ts +21 -0
- package/es/components/wallet/Voucher/locales.js +20 -0
- package/es/components/wallet/Voucher/model.d.ts +13 -0
- package/es/components/wallet/Voucher/model.js +22 -0
- package/es/components/wallet/carouselArrow.png +0 -0
- package/es/components/wallet/components/FooterButtons/index.d.ts +18 -0
- package/es/components/wallet/components/FooterButtons/index.js +81 -0
- package/es/components/wallet/components/FooterButtons/index.less +91 -0
- package/es/components/wallet/components/WalletBar/index.d.ts +8 -0
- package/es/components/wallet/components/WalletBar/index.js +19 -0
- package/es/components/wallet/components/WalletBar/index.less +36 -0
- package/es/components/wallet/components/WalletCard.d.ts +11 -0
- package/es/components/wallet/components/WalletCard.js +81 -0
- package/es/components/wallet/components/index.d.ts +2 -0
- package/es/components/wallet/components/index.js +3 -0
- package/es/components/wallet/hooks/useWalletCard.d.ts +33 -0
- package/es/components/wallet/hooks/useWalletCard.js +147 -0
- package/es/components/wallet/index.d.ts +10 -0
- package/es/components/wallet/index.js +745 -0
- package/es/components/wallet/index.less +155 -0
- package/es/components/wallet/locales.d.ts +129 -0
- package/es/components/wallet/locales.js +136 -0
- package/es/components/wallet/model.d.ts +37 -0
- package/es/components/wallet/model.js +86 -0
- package/es/components/wallet/serve.d.ts +143 -0
- package/es/components/wallet/serve.js +205 -0
- package/es/components/wallet/utils/formatUtils.d.ts +36 -0
- package/es/components/wallet/utils/formatUtils.js +73 -0
- package/es/components/walletList/index.d.ts +28 -0
- package/es/components/walletList/index.js +770 -0
- package/es/components/walletList/index.less +367 -0
- package/es/components/walletList/model.d.ts +6 -0
- package/es/components/walletList/model.js +59 -0
- package/es/components/walletList/serve.d.ts +12 -0
- package/es/components/walletList/serve.js +69 -0
- package/es/components/walletList/types/index.d.ts +194 -0
- package/es/components/walletList/types/index.js +49 -0
- 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 +8 -9
- 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 +1 -2
- 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 +1 -2
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.js +4 -4
- package/es/components/workSpaceList/components/Sort/index.js +2 -3
- package/es/components/workSpaceList/components/WorkspaceItem/index.js +6 -8
- 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/index.d.ts +3 -1
- package/es/index.js +3 -1
- package/es/utils/index.js +6 -6
- package/es/utils/locales.d.ts +1 -0
- package/es/utils/locales.js +3 -0
- package/lib/components/booking/components/TabProduct/index.d.ts +2 -2
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +2 -2
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +2 -2
- 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 -2
- package/lib/components/booking/components/drawer/index.d.ts +1 -1
- package/lib/components/booking/components/emptyBooking/index.d.ts +2 -2
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +2 -2
- package/lib/components/booking/components/footer/amount.js +4 -8
- package/lib/components/booking/components/footer/index.d.ts +2 -2
- package/lib/components/booking/components/footer/utils.js +29 -1
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +2 -2
- 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/dashboard/index.js +2 -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 -2
- package/lib/components/booking/deposit/index.js +5 -10
- package/lib/components/booking/forms/single/index.d.ts +2 -2
- package/lib/components/booking/forms/table/index.d.ts +2 -2
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -2
- package/lib/components/booking/info/addServiceVariant/index.d.ts +2 -2
- package/lib/components/booking/info/client/index.d.ts +1 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +2 -2
- package/lib/components/booking/info/date/index.d.ts +2 -2
- package/lib/components/booking/info/header/index.d.ts +2 -2
- package/lib/components/booking/info/index.d.ts +2 -2
- package/lib/components/booking/info/main.js +2 -1
- package/lib/components/booking/info/notes/index.d.ts +2 -2
- package/lib/components/booking/info/pet/index.d.ts +1 -1
- package/lib/components/booking/info/pet/index.js +1 -2
- package/lib/components/booking/info/service/actions/index.d.ts +2 -2
- package/lib/components/booking/info/service/addService/index.d.ts +2 -2
- package/lib/components/booking/info/service/addService/index.js +1 -2
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +2 -2
- package/lib/components/booking/info/service/index.d.ts +1 -1
- package/lib/components/booking/info/service/like/index.d.ts +2 -2
- package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -2
- package/lib/components/booking/info/service/serviceList/index.d.ts +2 -2
- package/lib/components/booking/info/utils.js +1 -1
- package/lib/components/booking/info2/index.js +2 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +2 -2
- package/lib/components/booking/info2/service/addService/index.d.ts +2 -2
- package/lib/components/booking/info2/service/addService/index.js +1 -2
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +2 -2
- package/lib/components/booking/info2/service/index.d.ts +1 -1
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -2
- package/lib/components/booking/info2/service/serviceList/index.d.ts +2 -2
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -2
- package/lib/components/booking/materiels/contacts/index.js +2 -1
- package/lib/components/booking/materiels/duration/index.d.ts +2 -2
- package/lib/components/booking/materiels/startTime/index.d.ts +2 -2
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +2 -2
- package/lib/components/booking/notes/NoteBlock/index.d.ts +2 -2
- package/lib/components/booking/notes/addNote/index.d.ts +2 -2
- 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 -2
- package/lib/components/eftpos/form/index.d.ts +2 -2
- package/lib/components/eftpos/group/index.d.ts +3 -3
- package/lib/components/eftpos/icon/apiKey.d.ts +2 -2
- package/lib/components/eftpos/icon/device.d.ts +2 -2
- package/lib/components/eftpos/index.d.ts +1 -2
- package/lib/components/eftpos/index.js +2 -1
- package/lib/components/eftpos/log.d.ts +2 -2
- package/lib/components/eftpos/pos.d.ts +2 -2
- package/lib/components/eftpos/receipt/index.d.ts +2 -2
- package/lib/components/eftpos/surcharge/index.d.ts +2 -2
- package/lib/components/eftposPay/amount.d.ts +3 -3
- package/lib/components/eftposPay/app.d.ts +2 -2
- package/lib/components/eftposPay/component/alert/index.d.ts +1 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +2 -2
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +2 -2
- package/lib/components/eftposPay/component/fail/index.d.ts +2 -2
- package/lib/components/eftposPay/component/fail/network.d.ts +2 -2
- package/lib/components/eftposPay/component/fail/unknow.d.ts +2 -2
- package/lib/components/eftposPay/component/header/index.d.ts +1 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +2 -2
- package/lib/components/eftposPay/component/manual/index.d.ts +2 -2
- package/lib/components/eftposPay/component/signature/index.d.ts +2 -2
- package/lib/components/eftposPay/component/step/index.d.ts +2 -2
- package/lib/components/eftposPay/component/step/step.d.ts +2 -2
- package/lib/components/eftposPay/device.d.ts +3 -3
- package/lib/components/eftposPay/helper.js +6 -12
- package/lib/components/eftposPay/index.d.ts +1 -2
- package/lib/components/eftposPay/index.js +2 -1
- package/lib/components/eftposPay/pay.d.ts +2 -2
- package/lib/components/eftposPay/payo/config.d.ts +2 -3
- package/lib/components/eftposPay/payo/index.d.ts +1 -1
- package/lib/components/eftposPay/payo/index.js +1 -2
- package/lib/components/eftposPay/store/index.d.ts +3 -3
- package/lib/components/eftposPay/tip.d.ts +2 -2
- package/lib/components/eftposPay/tyro/index.d.ts +1 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +3 -3
- package/lib/components/eftposPay/windcave/timer.js +8 -3
- package/lib/components/eftposPay/windcave/windcave.d.ts +2 -2
- package/lib/components/eftposPay/windcave/windcave.js +28 -11
- package/lib/components/index.d.ts +4 -2
- package/lib/components/index.js +8 -2
- package/lib/components/login/index.d.ts +1 -2
- package/lib/components/login/index.js +14 -7
- package/lib/components/login/locales.d.ts +24 -0
- package/lib/components/login/locales.js +47 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +1 -2
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +2 -2
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +2 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +2 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +3 -6
- 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 +1 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -2
- package/lib/components/pisellSelectCustomerModal/index.js +2 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +2 -2
- package/lib/components/productExtension/fields/Forms/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +2 -2
- package/lib/components/productExtension/index.d.ts +1 -2
- package/lib/components/productExtension/index.js +2 -1
- package/lib/components/ruleSetting/index.d.ts +1 -2
- package/lib/components/ruleSetting/index.js +2 -1
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +2 -2
- package/lib/components/schedules/calendar/calendarItem.d.ts +2 -2
- package/lib/components/schedules/calendar/index.d.ts +2 -2
- package/lib/components/schedules/components/Card/index.d.ts +1 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +2 -2
- package/lib/components/schedules/components/ResourceList/index.d.ts +1 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +2 -2
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +2 -2
- package/lib/components/schedules/components/ScheduleList/index.d.ts +2 -2
- package/lib/components/schedules/components/Search/index.d.ts +1 -1
- package/lib/components/schedules/index.js +3 -3
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +2 -2
- package/lib/components/schedules/products/index.d.ts +2 -2
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +2 -2
- package/lib/components/schedules/products/list/index.d.ts +2 -2
- package/lib/components/schedules/resources/index.d.ts +2 -2
- package/lib/components/schedules/resources/list/index.d.ts +2 -2
- package/lib/components/schedules/resources/relationProduct/index.d.ts +2 -2
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +2 -2
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +2 -2
- 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 -2
- package/lib/components/schedules/schedules/index.js +1 -2
- package/lib/components/schedules/schedules/utils.js +1 -2
- package/lib/components/schedules/utils.js +1 -1
- package/lib/components/tabProduct/index.d.ts +1 -1
- package/lib/components/taxSelect/index.d.ts +1 -2
- package/lib/components/taxSelect/index.js +2 -1
- package/lib/components/wallet/Detail/index.d.ts +42 -0
- package/lib/components/wallet/Detail/index.js +709 -0
- package/lib/components/wallet/Detail/index.less +375 -0
- package/lib/components/wallet/Detail/locales.d.ts +96 -0
- package/lib/components/wallet/Detail/locales.js +128 -0
- package/lib/components/wallet/Detail/model.d.ts +13 -0
- package/lib/components/wallet/Detail/model.js +43 -0
- package/lib/components/wallet/Detail/serve.d.ts +39 -0
- package/lib/components/wallet/Detail/serve.js +39 -0
- package/lib/components/wallet/DetailContext.d.ts +25 -0
- package/lib/components/wallet/DetailContext.js +118 -0
- package/lib/components/wallet/DiscountCard/index.d.ts +3 -0
- package/lib/components/wallet/DiscountCard/index.js +209 -0
- package/lib/components/wallet/DiscountCard/index.less +10 -0
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -0
- package/lib/components/wallet/DiscountCard/model.js +43 -0
- package/lib/components/wallet/PointCard/index.d.ts +3 -0
- package/lib/components/wallet/PointCard/index.js +190 -0
- package/lib/components/wallet/PointCard/index.less +10 -0
- package/lib/components/wallet/PointCard/model.d.ts +13 -0
- package/lib/components/wallet/PointCard/model.js +43 -0
- package/lib/components/wallet/RechargeableCard/index.d.ts +13 -0
- package/lib/components/wallet/RechargeableCard/index.js +378 -4
- package/lib/components/wallet/RechargeableCard/index.less +112 -0
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -0
- package/lib/components/wallet/RechargeableCard/model.js +49 -0
- package/lib/components/wallet/RechargeableCard/serve.d.ts +23 -0
- package/lib/components/wallet/RechargeableCard/serve.js +33 -0
- package/lib/components/wallet/Voucher/index.d.ts +12 -0
- package/lib/components/wallet/Voucher/index.js +145 -0
- package/lib/components/wallet/Voucher/index.less +10 -0
- package/lib/components/wallet/Voucher/locales.d.ts +21 -0
- package/lib/components/wallet/Voucher/locales.js +44 -0
- package/lib/components/wallet/Voucher/model.d.ts +13 -0
- package/lib/components/wallet/Voucher/model.js +43 -0
- package/lib/components/wallet/carouselArrow.png +0 -0
- package/lib/components/wallet/components/FooterButtons/index.d.ts +18 -0
- package/lib/components/wallet/components/FooterButtons/index.js +109 -0
- package/lib/components/wallet/components/FooterButtons/index.less +91 -0
- package/lib/components/wallet/components/WalletBar/index.d.ts +8 -0
- package/lib/components/wallet/components/WalletBar/index.js +49 -0
- package/lib/components/wallet/components/WalletBar/index.less +36 -0
- package/lib/components/wallet/components/WalletCard.d.ts +11 -0
- package/lib/components/wallet/components/WalletCard.js +91 -0
- package/lib/components/wallet/components/index.d.ts +2 -0
- package/lib/components/wallet/components/index.js +42 -0
- package/lib/components/wallet/hooks/useWalletCard.d.ts +33 -0
- package/lib/components/wallet/hooks/useWalletCard.js +111 -0
- package/lib/components/wallet/index.d.ts +10 -0
- package/lib/components/wallet/index.js +541 -0
- package/lib/components/wallet/index.less +155 -0
- package/lib/components/wallet/locales.d.ts +129 -0
- package/lib/components/wallet/locales.js +160 -0
- package/lib/components/wallet/model.d.ts +37 -0
- package/lib/components/wallet/model.js +91 -0
- package/lib/components/wallet/serve.d.ts +143 -0
- package/lib/components/wallet/serve.js +85 -0
- package/lib/components/wallet/utils/formatUtils.d.ts +36 -0
- package/lib/components/wallet/utils/formatUtils.js +73 -0
- package/lib/components/walletList/index.d.ts +28 -0
- package/lib/components/walletList/index.js +520 -0
- package/lib/components/walletList/index.less +367 -0
- package/lib/components/walletList/model.d.ts +6 -0
- package/lib/components/walletList/model.js +72 -0
- package/lib/components/walletList/serve.d.ts +12 -0
- package/lib/components/walletList/serve.js +47 -0
- package/lib/components/walletList/types/index.d.ts +194 -0
- package/lib/components/walletList/types/index.js +42 -0
- package/lib/components/workSpaceList/components/Card/index.js +1 -2
- package/lib/components/workSpaceList/components/EditableString/index.js +1 -2
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -2
- package/lib/components/workSpaceList/components/SearchBar/index.js +3 -6
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -2
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.js +1 -2
- package/lib/components/workSpaceList/components/WorkspaceItem/index.js +0 -5
- package/lib/components/workSpaceList/index.js +2 -4
- package/lib/components/workSpaceListDetail/index.js +2 -4
- package/lib/index.d.ts +3 -1
- package/lib/index.js +7 -1
- package/lib/utils/index.js +1 -1
- package/lib/utils/locales.d.ts +1 -0
- package/lib/utils/locales.js +31 -0
- package/lowcode/wallet/meta.ts +79 -0
- package/lowcode/wallet-list/meta.ts +79 -0
- package/package.json +2 -2
@@ -34,10 +34,10 @@ __export(windcave_exports, {
|
|
34
34
|
module.exports = __toCommonJS(windcave_exports);
|
35
35
|
var import_utils = require("@pisell/utils");
|
36
36
|
var import_react = __toESM(require("react"));
|
37
|
-
var import_hooks = require("../hooks");
|
38
37
|
var import_step = __toESM(require("../component/step/step"));
|
39
38
|
var import_const = require("../const");
|
40
39
|
var import_helper = require("../helper");
|
40
|
+
var import_hooks = require("../hooks");
|
41
41
|
var import_store = require("../store");
|
42
42
|
var import_const2 = require("./const");
|
43
43
|
var import_helper2 = require("./helper");
|
@@ -162,8 +162,10 @@ var windcave_default = ({
|
|
162
162
|
number: numRef.current
|
163
163
|
})
|
164
164
|
);
|
165
|
-
const
|
166
|
-
|
165
|
+
const isPay = modeRef.current === import_const.ModeEnum.Pay || modeRef.current === import_const.ModeEnum.FullPay;
|
166
|
+
let _params = {};
|
167
|
+
if (isPay) {
|
168
|
+
_params = {
|
167
169
|
order_id: orderIdRef.current,
|
168
170
|
amount: payRef.current.total,
|
169
171
|
card_reader_type: eftposRef.current,
|
@@ -179,10 +181,9 @@ var windcave_default = ({
|
|
179
181
|
)
|
180
182
|
)
|
181
183
|
)
|
182
|
-
}
|
183
|
-
|
184
|
-
|
185
|
-
{
|
184
|
+
};
|
185
|
+
} else {
|
186
|
+
_params = {
|
186
187
|
order_id: orderIdRef.current,
|
187
188
|
amount: amountRef.current,
|
188
189
|
card_reader_type: eftposRef.current,
|
@@ -198,9 +199,9 @@ var windcave_default = ({
|
|
198
199
|
)
|
199
200
|
)
|
200
201
|
)
|
201
|
-
}
|
202
|
-
|
203
|
-
);
|
202
|
+
};
|
203
|
+
}
|
204
|
+
const resultPromise = isPay ? api.pay(_params, { signal: controllerRef.current.signal }) : api.refund(_params, { signal: controllerRef.current.signal });
|
204
205
|
resultPromise.then((res) => {
|
205
206
|
var _a2, _b2;
|
206
207
|
if (unloadRef.current || !netRef.current) {
|
@@ -210,6 +211,13 @@ var windcave_default = ({
|
|
210
211
|
(_a2 = validateRef.current) == null ? void 0 : _a2.call(validateRef, res, true);
|
211
212
|
return;
|
212
213
|
}
|
214
|
+
(0, import_utils.sendWarningLog)({
|
215
|
+
title: "windcave支付失败",
|
216
|
+
content: [
|
217
|
+
{ key: "res", value: JSON.stringify(res) },
|
218
|
+
{ key: "params", value: JSON.stringify(_params) }
|
219
|
+
]
|
220
|
+
});
|
213
221
|
(_b2 = failRef.current) == null ? void 0 : _b2.call(
|
214
222
|
failRef,
|
215
223
|
res,
|
@@ -217,7 +225,16 @@ var windcave_default = ({
|
|
217
225
|
);
|
218
226
|
}).catch((res) => {
|
219
227
|
var _a2;
|
220
|
-
|
228
|
+
let isNoNet = unloadRef.current || !netRef.current;
|
229
|
+
(0, import_utils.sendWarningLog)({
|
230
|
+
title: "windcave支付失败",
|
231
|
+
content: [
|
232
|
+
{ key: "error", value: JSON.stringify(res) },
|
233
|
+
{ key: "params", value: JSON.stringify(_params) },
|
234
|
+
{ key: "isNoNet", value: isNoNet ? "1" : "0" }
|
235
|
+
]
|
236
|
+
});
|
237
|
+
if (isNoNet) {
|
221
238
|
return;
|
222
239
|
}
|
223
240
|
(_a2 = failRef.current) == null ? void 0 : _a2.call(
|
@@ -9,7 +9,9 @@ import ProductExtension from './productExtension';
|
|
9
9
|
import RuleSetting from './ruleSetting';
|
10
10
|
import TaxSelect from './taxSelect';
|
11
11
|
import ToCPay from './pay/toC';
|
12
|
+
import Wallet from './wallet';
|
13
|
+
import WalletList from './walletList';
|
12
14
|
import WorkspaceListDetail from './workSpaceListDetail/';
|
13
15
|
import WorkspaceList from './workSpaceList';
|
14
|
-
import PisellSelectCustomerModal from './
|
15
|
-
export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, WorkspaceList, WorkspaceListDetail, };
|
16
|
+
import PisellSelectCustomerModal from './pisellSelectCustomerModal';
|
17
|
+
export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, };
|
package/lib/components/index.js
CHANGED
@@ -35,12 +35,14 @@ __export(components_exports, {
|
|
35
35
|
BookingInfo: () => import_info.default,
|
36
36
|
BookingNotes: () => import_notes.default,
|
37
37
|
Login: () => import_login.default,
|
38
|
-
PisellSelectCustomerModal: () =>
|
38
|
+
PisellSelectCustomerModal: () => import_pisellSelectCustomerModal.default,
|
39
39
|
ProductExtension: () => import_productExtension.default,
|
40
40
|
RuleSetting: () => import_ruleSetting.default,
|
41
41
|
Schedules: () => import_schedules.default,
|
42
42
|
TaxSelect: () => import_taxSelect.default,
|
43
43
|
ToCPay: () => import_toC.default,
|
44
|
+
Wallet: () => import_wallet.default,
|
45
|
+
WalletList: () => import_walletList.default,
|
44
46
|
WorkspaceList: () => import_workSpaceList.default,
|
45
47
|
WorkspaceListDetail: () => import_workSpaceListDetail.default
|
46
48
|
});
|
@@ -56,9 +58,11 @@ var import_productExtension = __toESM(require("./productExtension"));
|
|
56
58
|
var import_ruleSetting = __toESM(require("./ruleSetting"));
|
57
59
|
var import_taxSelect = __toESM(require("./taxSelect"));
|
58
60
|
var import_toC = __toESM(require("./pay/toC"));
|
61
|
+
var import_wallet = __toESM(require("./wallet"));
|
62
|
+
var import_walletList = __toESM(require("./walletList"));
|
59
63
|
var import_workSpaceListDetail = __toESM(require("./workSpaceListDetail/"));
|
60
64
|
var import_workSpaceList = __toESM(require("./workSpaceList"));
|
61
|
-
var
|
65
|
+
var import_pisellSelectCustomerModal = __toESM(require("./pisellSelectCustomerModal"));
|
62
66
|
// Annotate the CommonJS export names for ESM import in node:
|
63
67
|
0 && (module.exports = {
|
64
68
|
Booking,
|
@@ -73,6 +77,8 @@ var import_workSpaceListDetail2 = __toESM(require("./workSpaceListDetail"));
|
|
73
77
|
Schedules,
|
74
78
|
TaxSelect,
|
75
79
|
ToCPay,
|
80
|
+
Wallet,
|
81
|
+
WalletList,
|
76
82
|
WorkspaceList,
|
77
83
|
WorkspaceListDetail
|
78
84
|
});
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import React from "react";
|
2
1
|
import "./index.less";
|
3
2
|
export interface LoginProps {
|
4
3
|
title: string;
|
5
4
|
style: any;
|
6
5
|
onLogin: (values: any, callback: (status: any) => void) => void;
|
7
6
|
}
|
8
|
-
declare const Login: (props: LoginProps) =>
|
7
|
+
declare const Login: (props: LoginProps) => JSX.Element;
|
9
8
|
export default Login;
|
@@ -35,6 +35,9 @@ module.exports = __toCommonJS(login_exports);
|
|
35
35
|
var import_react = __toESM(require("react"));
|
36
36
|
var import_antd = require("antd");
|
37
37
|
var import_index = require("./index.less");
|
38
|
+
var import_utils = require("@pisell/utils");
|
39
|
+
var import_locales = require("../../utils/locales");
|
40
|
+
var import_locales2 = __toESM(require("./locales"));
|
38
41
|
var Login = (props) => {
|
39
42
|
const { title, style, onLogin } = props;
|
40
43
|
const [loading, setLoading] = (0, import_react.useState)(false);
|
@@ -44,6 +47,10 @@ var Login = (props) => {
|
|
44
47
|
setLoading(false);
|
45
48
|
});
|
46
49
|
};
|
50
|
+
(0, import_react.useMemo)(() => {
|
51
|
+
console.log((0, import_locales.getLocale)(), "getLocale()");
|
52
|
+
import_utils.locales.init(import_locales2.default, (0, import_locales.getLocale)());
|
53
|
+
}, []);
|
47
54
|
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__login-wrap", style }, /* @__PURE__ */ import_react.default.createElement("div", { style: { width: "100%" } }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__login-title" }, title || "Login"), /* @__PURE__ */ import_react.default.createElement(import_antd.Form, { onFinish }, /* @__PURE__ */ import_react.default.createElement(
|
48
55
|
import_antd.Form.Item,
|
49
56
|
{
|
@@ -51,18 +58,18 @@ var Login = (props) => {
|
|
51
58
|
rules: [
|
52
59
|
{
|
53
60
|
required: true,
|
54
|
-
message: "
|
61
|
+
message: import_utils.locales.getText("pisell2.text.email-placeholder")
|
55
62
|
},
|
56
63
|
{
|
57
64
|
pattern: /^\w+((.\w+)|(-\w+))@[A-Za-z0-9]+((.|-)[A-Za-z0-9]+).[A-Za-z0-9]+$/,
|
58
|
-
message: "
|
65
|
+
message: import_utils.locales.getText("pisell2.text.email-error")
|
59
66
|
}
|
60
67
|
]
|
61
68
|
},
|
62
69
|
/* @__PURE__ */ import_react.default.createElement(
|
63
70
|
import_antd.Input,
|
64
71
|
{
|
65
|
-
placeholder: "
|
72
|
+
placeholder: import_utils.locales.getText("pisell2.text.email-placeholder"),
|
66
73
|
className: "pisell-lowcode__login-input pisell-lowcode__field-style"
|
67
74
|
}
|
68
75
|
)
|
@@ -73,11 +80,11 @@ var Login = (props) => {
|
|
73
80
|
rules: [
|
74
81
|
{
|
75
82
|
required: true,
|
76
|
-
message: "
|
83
|
+
message: import_utils.locales.getText("pisell2.text.password-placeholder")
|
77
84
|
},
|
78
85
|
{
|
79
86
|
pattern: new RegExp(/^[^\s]*$/, "g"),
|
80
|
-
message: "
|
87
|
+
message: import_utils.locales.getText("pisell2.text.password-error")
|
81
88
|
}
|
82
89
|
]
|
83
90
|
},
|
@@ -85,7 +92,7 @@ var Login = (props) => {
|
|
85
92
|
import_antd.Input,
|
86
93
|
{
|
87
94
|
className: "pisell-lowcode__login-input pisell-lowcode__field-style",
|
88
|
-
placeholder: "
|
95
|
+
placeholder: import_utils.locales.getText("pisell2.text.password-placeholder"),
|
89
96
|
type: "Password",
|
90
97
|
autoComplete: "new-password"
|
91
98
|
}
|
@@ -99,7 +106,7 @@ var Login = (props) => {
|
|
99
106
|
size: "large",
|
100
107
|
loading
|
101
108
|
},
|
102
|
-
"
|
109
|
+
import_utils.locales.getText("pisell2.text.login")
|
103
110
|
)))));
|
104
111
|
};
|
105
112
|
var login_default = Login;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
en: {
|
3
|
+
'pisell2.text.login': string;
|
4
|
+
"pisell2.text.email-placeholder": string;
|
5
|
+
"pisell2.text.password-placeholder": string;
|
6
|
+
"pisell2.text.password-error": string;
|
7
|
+
"pisell2.text.email-error": string;
|
8
|
+
};
|
9
|
+
'zh-CN': {
|
10
|
+
'pisell2.text.login': string;
|
11
|
+
"pisell2.text.email-placeholder": string;
|
12
|
+
"pisell2.text.password-placeholder": string;
|
13
|
+
"pisell2.text.password-error": string;
|
14
|
+
"pisell2.text.email-error": string;
|
15
|
+
};
|
16
|
+
'zh-HK': {
|
17
|
+
'pisell2.text.login': string;
|
18
|
+
"pisell2.text.email-placeholder": string;
|
19
|
+
"pisell2.text.password-placeholder": string;
|
20
|
+
"pisell2.text.password-error": string;
|
21
|
+
"pisell2.text.email-error": string;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
export default _default;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __export = (target, all) => {
|
6
|
+
for (var name in all)
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
8
|
+
};
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
11
|
+
for (let key of __getOwnPropNames(from))
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
14
|
+
}
|
15
|
+
return to;
|
16
|
+
};
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
|
+
|
19
|
+
// src/components/login/locales.ts
|
20
|
+
var locales_exports = {};
|
21
|
+
__export(locales_exports, {
|
22
|
+
default: () => locales_default
|
23
|
+
});
|
24
|
+
module.exports = __toCommonJS(locales_exports);
|
25
|
+
var locales_default = {
|
26
|
+
"en": {
|
27
|
+
"pisell2.text.login": "Login",
|
28
|
+
"pisell2.text.email-placeholder": "Please enter email",
|
29
|
+
"pisell2.text.password-placeholder": "Please enter password",
|
30
|
+
"pisell2.text.password-error": "Please enter the correct password",
|
31
|
+
"pisell2.text.email-error": "Please enter the correct email"
|
32
|
+
},
|
33
|
+
"zh-CN": {
|
34
|
+
"pisell2.text.login": "登录",
|
35
|
+
"pisell2.text.email-placeholder": "请输入邮箱",
|
36
|
+
"pisell2.text.password-placeholder": "请输入密码",
|
37
|
+
"pisell2.text.password-error": "请输入正确的密码",
|
38
|
+
"pisell2.text.email-error": "请输入正确的邮箱"
|
39
|
+
},
|
40
|
+
"zh-HK": {
|
41
|
+
"pisell2.text.login": "登录",
|
42
|
+
"pisell2.text.email-placeholder": "請輸入電子郵件",
|
43
|
+
"pisell2.text.password-placeholder": "請輸入密碼",
|
44
|
+
"pisell2.text.password-error": "請輸入正確的密碼",
|
45
|
+
"pisell2.text.email-error": "請輸入正確的電子郵件"
|
46
|
+
}
|
47
|
+
};
|
@@ -141,8 +141,7 @@ var AddMWCreditCard = (props, ref) => {
|
|
141
141
|
};
|
142
142
|
const onFinish = (values) => {
|
143
143
|
const _status = _checkValue(values);
|
144
|
-
if (!_status)
|
145
|
-
return;
|
144
|
+
if (!_status) return;
|
146
145
|
onCreate == null ? void 0 : onCreate(values);
|
147
146
|
};
|
148
147
|
const onSubmit = () => {
|
@@ -115,8 +115,7 @@ 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)
|
119
|
-
return;
|
118
|
+
if (err === 0) return;
|
120
119
|
paymentData.error = err;
|
121
120
|
paymentEnd(
|
122
121
|
{
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
2
|
declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
|
3
3
|
public_key: string;
|
4
4
|
client_secret?: string | undefined;
|
5
5
|
children: any;
|
6
6
|
lang?: string | undefined;
|
7
|
-
}) =>
|
7
|
+
}) => JSX.Element;
|
8
8
|
export default StripeSDK;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const PaymentRequestForm: () =>
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const PaymentRequestForm: () => JSX.Element | null;
|
3
3
|
export default PaymentRequestForm;
|
package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
import React from 'react';
|
2
1
|
import './index.less';
|
3
|
-
declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) =>
|
2
|
+
declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
|
4
3
|
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) =>
|
5
|
+
declare const _default: React.MemoExoticComponent<(props: MultiModeSearchProps) => JSX.Element>;
|
6
6
|
export default _default;
|
@@ -109,8 +109,7 @@ 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)
|
113
|
-
return;
|
112
|
+
if (!res) return;
|
114
113
|
setOrder(res);
|
115
114
|
setOpen(true);
|
116
115
|
setCurrentWalletPass(walletPass);
|
@@ -120,8 +119,7 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
|
|
120
119
|
};
|
121
120
|
const searchList = async (val, isSelectChange) => {
|
122
121
|
var _a2;
|
123
|
-
if (!(order == null ? void 0 : order.order_id))
|
124
|
-
return;
|
122
|
+
if (!(order == null ? void 0 : order.order_id)) return;
|
125
123
|
const result = await (0, import_serve.searchMachineCodeList)({
|
126
124
|
order_id: order.order_id,
|
127
125
|
code: val,
|
@@ -155,8 +153,7 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
|
|
155
153
|
}
|
156
154
|
};
|
157
155
|
const handleSearch = (0, import_ahooks.useMemoizedFn)((val) => {
|
158
|
-
if (!val || searchOpen)
|
159
|
-
return;
|
156
|
+
if (!val || searchOpen) return;
|
160
157
|
isAutoSelect.current = true;
|
161
158
|
searchList(val);
|
162
159
|
});
|
@@ -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) =>
|
13
|
+
declare const WalletPassBlock: (props: WalletPassBlockProps) => 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) =>
|
11
|
+
declare const CustomerCard: ({ onClickItem, customer, showIcon, customIcon, onRemove, className, }: CustomerCardProps) => JSX.Element;
|
12
12
|
export default CustomerCard;
|
@@ -55,8 +55,7 @@ var CustomerCard = ({
|
|
55
55
|
return customer.name || (customer.display_name || "").trim() || (customer.nickname || "").trim() || firstLastName.trim() || "";
|
56
56
|
}, [customer]);
|
57
57
|
const getAvatarName = (0, import_react.useMemo)(() => {
|
58
|
-
if (!username)
|
59
|
-
return "";
|
58
|
+
if (!username) return "";
|
60
59
|
const parts = username.trim().split(/\s+/);
|
61
60
|
if (parts.length === 1) {
|
62
61
|
return parts[0].charAt(0);
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) =>
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
|
3
3
|
export default DateSectionCom;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const GenderField: (props: any) =>
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const GenderField: (props: any) => JSX.Element;
|
3
3
|
export default GenderField;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const PhoneField: ({ value, onChange }: any) =>
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
|
3
3
|
export default PhoneField;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
2
|
import './index.less';
|
3
3
|
interface AddClientProps {
|
4
4
|
onChange: (value: any) => void;
|
5
5
|
phone: string;
|
6
6
|
}
|
7
|
-
declare const AddClient: (props: AddClientProps) =>
|
7
|
+
declare const AddClient: (props: AddClientProps) => JSX.Element;
|
8
8
|
export default AddClient;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import React from 'react';
|
2
1
|
import './index.less';
|
3
2
|
interface CustomerListProps {
|
4
3
|
value: any;
|
@@ -9,5 +8,5 @@ interface CustomerListProps {
|
|
9
8
|
onLoadMore: () => void;
|
10
9
|
setPage: (page: 'create') => void;
|
11
10
|
}
|
12
|
-
declare const CustomerList: (props: CustomerListProps) =>
|
11
|
+
declare const CustomerList: (props: CustomerListProps) => JSX.Element;
|
13
12
|
export default CustomerList;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
2
|
import './index.less';
|
3
3
|
interface RightPanelProps {
|
4
4
|
value: any;
|
@@ -11,5 +11,5 @@ export interface QueryParams {
|
|
11
11
|
skip: number;
|
12
12
|
num: number;
|
13
13
|
}
|
14
|
-
declare const RightPanel: (props: RightPanelProps) =>
|
14
|
+
declare const RightPanel: (props: RightPanelProps) => JSX.Element;
|
15
15
|
export default RightPanel;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import React from 'react';
|
2
1
|
import { PopoverProps } from 'antd';
|
3
2
|
import { CustomerCardProps } from './CustomerCard';
|
4
3
|
import './index.less';
|
@@ -12,5 +11,5 @@ interface PisellSelectCustomerModalProps {
|
|
12
11
|
keyboardProps?: any;
|
13
12
|
virtualKeyInputProps?: any;
|
14
13
|
}
|
15
|
-
declare const PisellSelectCustomerModal: (props: PisellSelectCustomerModalProps) =>
|
14
|
+
declare const PisellSelectCustomerModal: (props: PisellSelectCustomerModalProps) => JSX.Element;
|
16
15
|
export default PisellSelectCustomerModal;
|
@@ -41,6 +41,7 @@ var import_index = require("./index.less");
|
|
41
41
|
var import_utils = require("@pisell/utils");
|
42
42
|
var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
|
43
43
|
var import_locales = __toESM(require("./locales"));
|
44
|
+
var import_locales2 = require("../../utils/locales");
|
44
45
|
var items = [
|
45
46
|
{
|
46
47
|
value: 1,
|
@@ -129,7 +130,7 @@ var PisellSelectCustomerModal = (props) => {
|
|
129
130
|
const [_value, set_value] = (0, import_react.useState)();
|
130
131
|
const [phone, setPhone] = (0, import_react.useState)("");
|
131
132
|
const context = (0, import_useEngineContext.default)();
|
132
|
-
import_utils.locales.init(import_locales.default,
|
133
|
+
import_utils.locales.init(import_locales.default, (0, import_locales2.getLocale)());
|
133
134
|
(0, import_react.useEffect)(() => {
|
134
135
|
set_value(value);
|
135
136
|
}, [value]);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
2
|
export interface InfoProps {
|
3
3
|
relation_id: any;
|
4
4
|
action: any;
|
@@ -6,5 +6,5 @@ export interface InfoProps {
|
|
6
6
|
onChange: any;
|
7
7
|
apis: any;
|
8
8
|
}
|
9
|
-
declare const Forms: (props: InfoProps) =>
|
9
|
+
declare const Forms: (props: InfoProps) => JSX.Element;
|
10
10
|
export default Forms;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
2
|
import "./index.less";
|
3
|
-
declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) =>
|
3
|
+
declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
|
4
4
|
export default ProductItem;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
2
|
import "./index.less";
|
3
|
-
declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) =>
|
3
|
+
declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
|
4
4
|
export default ProductItemPreview;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
2
|
import './index.less';
|
3
3
|
interface valueType {
|
4
4
|
}
|
@@ -6,5 +6,5 @@ interface SelectProductsProps {
|
|
6
6
|
value?: valueType[];
|
7
7
|
onChange?: (value: valueType[]) => void;
|
8
8
|
}
|
9
|
-
declare const SelectProducts: ({ value, onChange }: SelectProductsProps) =>
|
9
|
+
declare const SelectProducts: ({ value, onChange }: SelectProductsProps) => JSX.Element;
|
10
10
|
export default SelectProducts;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
2
|
import './index.less';
|
3
|
-
declare const SelectResourcesTable: ({ value, onChange }: any) =>
|
3
|
+
declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
|
4
4
|
export default SelectResourcesTable;
|
@@ -1,8 +1,7 @@
|
|
1
|
-
import React from "react";
|
2
1
|
import "./index.less";
|
3
2
|
interface ProductExtensionProps {
|
4
3
|
onDataChange: any;
|
5
4
|
type: "all" | "once" | "batch";
|
6
5
|
}
|
7
|
-
declare const ProductExtension: ({ onDataChange, type }: ProductExtensionProps) =>
|
6
|
+
declare const ProductExtension: ({ onDataChange, type }: ProductExtensionProps) => JSX.Element;
|
8
7
|
export default ProductExtension;
|
@@ -43,7 +43,8 @@ var import_card = __toESM(require("./card"));
|
|
43
43
|
var import_index = require("./index.less");
|
44
44
|
var import_utils2 = require("@pisell/utils");
|
45
45
|
var import_locales = __toESM(require("./locales"));
|
46
|
-
|
46
|
+
var import_locales2 = require("../../utils/locales");
|
47
|
+
import_utils2.locales.init(import_locales.default, (0, import_locales2.getLocale)());
|
47
48
|
var ProductExtension = ({ onDataChange, type }) => {
|
48
49
|
var _a;
|
49
50
|
const context = (0, import_useEngineContext.default)();
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import React from "react";
|
2
1
|
import "./index.less";
|
3
2
|
interface RuleSettingProps {
|
4
3
|
value: any;
|
@@ -6,5 +5,5 @@ interface RuleSettingProps {
|
|
6
5
|
className: string;
|
7
6
|
style: any;
|
8
7
|
}
|
9
|
-
declare const RuleSetting: (props: RuleSettingProps) =>
|
8
|
+
declare const RuleSetting: (props: RuleSettingProps) => JSX.Element;
|
10
9
|
export default RuleSetting;
|