@pisell/private-materials 6.4.49 → 6.4.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +2 -2
- package/build/lowcode/preview.js +146 -146
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +3 -3
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +5 -5
- package/es/components/appointmentBooking/components/Services/index.js +36 -18
- package/es/components/appointmentBooking/hooks.js +6 -0
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.js +24 -5
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/editBookingModal/index.js +8 -2
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/single/index.d.ts +0 -1
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/date/index.d.ts +0 -1
- package/es/components/booking/info/header/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +0 -1
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/service/actions/index.d.ts +0 -1
- package/es/components/booking/info/service/addService/index.d.ts +0 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/info2/service/actions/index.d.ts +0 -1
- package/es/components/booking/info2/service/addService/index.d.ts +0 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/locales.d.ts +6 -0
- package/es/components/booking/locales.js +12 -0
- package/es/components/booking/materiels/contacts/index.d.ts +0 -1
- package/es/components/booking/materiels/duration/index.d.ts +0 -1
- package/es/components/booking/materiels/holder/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.d.ts +0 -1
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/PaymentModal.js +145 -101
- package/es/components/checkout/components/AmountSummary/index.js +41 -6
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +3 -1
- package/es/components/checkout/components/CashPaymentModule/index.js +14 -10
- package/es/components/checkout/components/PaymentDetailModal/index.js +72 -20
- package/es/components/checkout/components/PaymentDetailModal/index.less +23 -2
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/hooks/useWalletPass.js +1 -0
- package/es/components/checkout/locales.d.ts +3 -0
- package/es/components/checkout/locales.js +3 -0
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/index.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/fail/network.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/manual/index.d.ts +0 -1
- package/es/components/eftposPay/component/signature/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/linkly/hooks/normal.js +3 -3
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +25 -4
- package/es/components/eftposPay/payo/config.d.ts +0 -1
- package/es/components/eftposPay/serve.js +1 -1
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/tip.d.ts +0 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/es/components/index.d.ts +3 -1
- package/es/components/index.js +3 -1
- package/es/components/login/index.d.ts +0 -1
- package/es/components/pay/toB/components/Content/Header.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +6 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +112 -24
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +38 -2
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.js +78 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +9 -0
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/pay/toC/utils.js +1 -1
- package/es/components/pinModal/hooks.d.ts +7 -0
- package/es/components/pinModal/hooks.js +65 -0
- package/es/components/pinModal/index.d.ts +4 -0
- package/es/components/pinModal/index.js +98 -0
- package/es/components/pinModal/index.less +44 -0
- package/es/components/pinModal/locales.d.ts +27 -0
- package/es/components/pinModal/locales.js +26 -0
- package/es/components/pinModal/serve.d.ts +6 -0
- package/es/components/pinModal/serve.js +11 -0
- package/es/components/pinModal/types.d.ts +0 -0
- package/es/components/pinModal/types.js +0 -0
- package/es/components/pinVerifyModal/hooks.d.ts +7 -0
- package/es/components/pinVerifyModal/hooks.js +80 -0
- package/es/components/pinVerifyModal/index.d.ts +5 -0
- package/es/components/pinVerifyModal/index.js +218 -0
- package/es/components/pinVerifyModal/index.less +92 -0
- package/es/components/pinVerifyModal/locales.d.ts +24 -0
- package/es/components/pinVerifyModal/locales.js +23 -0
- package/es/components/pinVerifyModal/types.d.ts +33 -0
- package/es/components/pinVerifyModal/types.js +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/calendar/index.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/es/components/schedules/products/list/index.d.ts +0 -1
- package/es/components/schedules/resources/index.d.ts +0 -1
- package/es/components/schedules/resources/list/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/schedules/index.d.ts +0 -1
- package/es/components/taxSelect/index.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/es/components/ticketBooking/components/ticketBooking/index.js +56 -10
- package/es/components/ticketBooking/components/timeBar/index.js +2 -1
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/components/wallet/Detail/model.d.ts +1 -13
- package/es/components/wallet/DiscountCard/model.d.ts +1 -14
- package/es/components/wallet/PointCard/model.d.ts +1 -13
- package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/es/components/wallet/Voucher/model.d.ts +1 -13
- package/es/components/wallet/model.d.ts +1 -9
- package/es/components/walletList/index.js +20 -2
- package/es/hooks/usePaymentLogger.d.ts +0 -1
- package/es/index.d.ts +2 -0
- package/es/index.js +3 -1
- package/es/plus/clientName/index.d.ts +0 -1
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
- package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
- package/es/plus/saasCreateOrganization/index.d.ts +0 -1
- package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
- package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
- package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
- package/es/plus/saasRegister/components/Header.d.ts +0 -1
- package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Services/index.js +13 -3
- package/lib/components/appointmentBooking/hooks.js +6 -0
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.js +21 -3
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/editBookingModal/index.js +6 -1
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/single/index.d.ts +0 -1
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/date/index.d.ts +0 -1
- package/lib/components/booking/info/header/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +0 -1
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/locales.d.ts +6 -0
- package/lib/components/booking/locales.js +6 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
- package/lib/components/booking/materiels/duration/index.d.ts +0 -1
- package/lib/components/booking/materiels/holder/index.d.ts +0 -1
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/PaymentModal.js +38 -10
- package/lib/components/checkout/components/AmountSummary/index.js +33 -5
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +3 -1
- package/lib/components/checkout/components/CashPaymentModule/index.js +6 -3
- package/lib/components/checkout/components/PaymentDetailModal/index.js +49 -11
- package/lib/components/checkout/components/PaymentDetailModal/index.less +23 -2
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/hooks/useWalletPass.js +1 -0
- package/lib/components/checkout/locales.d.ts +3 -0
- package/lib/components/checkout/locales.js +3 -0
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/index.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/linkly/hooks/normal.js +3 -3
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +16 -4
- package/lib/components/eftposPay/payo/config.d.ts +0 -1
- package/lib/components/eftposPay/serve.js +1 -1
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/tip.d.ts +0 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/lib/components/index.d.ts +3 -1
- package/lib/components/index.js +6 -0
- package/lib/components/login/index.d.ts +0 -1
- package/lib/components/pay/toB/components/Content/Header.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +84 -36
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +38 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.js +18 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +7 -2
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/pay/toC/utils.js +1 -1
- package/lib/components/pinModal/hooks.d.ts +7 -0
- package/lib/components/pinModal/hooks.js +85 -0
- package/lib/components/pinModal/index.d.ts +4 -0
- package/lib/components/pinModal/index.js +88 -0
- package/lib/components/pinModal/index.less +44 -0
- package/lib/components/pinModal/locales.d.ts +27 -0
- package/lib/components/pinModal/locales.js +50 -0
- package/lib/components/pinModal/serve.d.ts +6 -0
- package/lib/components/pinModal/serve.js +37 -0
- package/lib/components/pinModal/types.d.ts +0 -0
- package/lib/components/pinModal/types.js +0 -0
- package/lib/components/pinVerifyModal/hooks.d.ts +7 -0
- package/lib/components/pinVerifyModal/hooks.js +93 -0
- package/lib/components/pinVerifyModal/index.d.ts +5 -0
- package/lib/components/pinVerifyModal/index.js +230 -0
- package/lib/components/pinVerifyModal/index.less +92 -0
- package/lib/components/pinVerifyModal/locales.d.ts +24 -0
- package/lib/components/pinVerifyModal/locales.js +47 -0
- package/lib/components/pinVerifyModal/types.d.ts +33 -0
- package/lib/components/pinVerifyModal/types.js +17 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/calendar/index.d.ts +0 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/lib/components/schedules/products/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/index.d.ts +0 -1
- package/lib/components/schedules/resources/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/schedules/index.d.ts +0 -1
- package/lib/components/taxSelect/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.js +52 -5
- package/lib/components/ticketBooking/components/timeBar/index.js +2 -1
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/wallet/Detail/model.d.ts +1 -13
- package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
- package/lib/components/wallet/PointCard/model.d.ts +1 -13
- package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/lib/components/wallet/Voucher/model.d.ts +1 -13
- package/lib/components/wallet/model.d.ts +1 -9
- package/lib/components/walletList/index.js +19 -2
- package/lib/hooks/usePaymentLogger.d.ts +0 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +6 -0
- package/lib/plus/clientName/index.d.ts +0 -1
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
- package/lib/plus/saasCreateOrganization/index.d.ts +0 -1
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
- package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
- package/lib/plus/saasRegister/components/Header.d.ts +0 -1
- package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
- package/lowcode/pin-modal/meta.ts +37 -0
- package/lowcode/pin-verify-modal/meta.ts +80 -0
- package/package.json +12 -12
@@ -0,0 +1,98 @@
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
3
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
4
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
5
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
6
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
7
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
8
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
9
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
10
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
11
|
+
import React, { forwardRef, useImperativeHandle, useRef, useState } from 'react';
|
12
|
+
import { PisellModal } from '@pisell/materials';
|
13
|
+
import { locales } from '@pisell/utils';
|
14
|
+
import useEngineContext from "../../hooks/useEngineContext";
|
15
|
+
import localeTexts from "./locales";
|
16
|
+
import { usePin } from "./hooks";
|
17
|
+
import { request } from "../../utils";
|
18
|
+
import "./index.less";
|
19
|
+
var PinModal = function PinModal(props, ref) {
|
20
|
+
var _context$engine, _context$appHelper;
|
21
|
+
var context = useEngineContext();
|
22
|
+
locales.init(localeTexts, (context === null || context === void 0 || (_context$engine = context.engine) === null || _context$engine === void 0 || (_context$engine = _context$engine.props) === null || _context$engine === void 0 ? void 0 : _context$engine.locale) || 'en');
|
23
|
+
request.setRequest(context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.request);
|
24
|
+
var _useState = useState(false),
|
25
|
+
_useState2 = _slicedToArray(_useState, 2),
|
26
|
+
visible = _useState2[0],
|
27
|
+
setVisible = _useState2[1];
|
28
|
+
var _usePin = usePin(),
|
29
|
+
pin = _usePin.pin,
|
30
|
+
lastUpdateTime = _usePin.lastUpdateTime,
|
31
|
+
getPin = _usePin.getPin,
|
32
|
+
resetPin = _usePin.resetPin,
|
33
|
+
resetPinLoading = _usePin.resetPinLoading;
|
34
|
+
var walletDetailIdRef = useRef();
|
35
|
+
var onOpen = function onOpen(wallet_detail_id) {
|
36
|
+
walletDetailIdRef.current = wallet_detail_id;
|
37
|
+
getPin(wallet_detail_id);
|
38
|
+
setVisible(true);
|
39
|
+
};
|
40
|
+
var onHide = function onHide() {
|
41
|
+
walletDetailIdRef.current = undefined;
|
42
|
+
setVisible(false);
|
43
|
+
};
|
44
|
+
var onResetPin = /*#__PURE__*/function () {
|
45
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
46
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
47
|
+
while (1) switch (_context.prev = _context.next) {
|
48
|
+
case 0:
|
49
|
+
if (!(!walletDetailIdRef.current || resetPinLoading)) {
|
50
|
+
_context.next = 2;
|
51
|
+
break;
|
52
|
+
}
|
53
|
+
return _context.abrupt("return");
|
54
|
+
case 2:
|
55
|
+
resetPin(walletDetailIdRef.current);
|
56
|
+
case 3:
|
57
|
+
case "end":
|
58
|
+
return _context.stop();
|
59
|
+
}
|
60
|
+
}, _callee);
|
61
|
+
}));
|
62
|
+
return function onResetPin() {
|
63
|
+
return _ref.apply(this, arguments);
|
64
|
+
};
|
65
|
+
}();
|
66
|
+
useImperativeHandle(ref, function () {
|
67
|
+
return {
|
68
|
+
open: onOpen,
|
69
|
+
hide: onHide
|
70
|
+
};
|
71
|
+
});
|
72
|
+
return /*#__PURE__*/React.createElement(PisellModal, {
|
73
|
+
title: locales.getText('pisell2.pin.modal.title'),
|
74
|
+
open: visible,
|
75
|
+
okText: locales.getText('pisell2.pin.modal.reset.pin'),
|
76
|
+
onOk: onResetPin,
|
77
|
+
cancelText: locales.getText('pisell2.pin.modal.cancel'),
|
78
|
+
onCancel: onHide,
|
79
|
+
okButtonProps: {
|
80
|
+
loading: resetPinLoading
|
81
|
+
},
|
82
|
+
destroyOnClose: true,
|
83
|
+
mobileModalHeight: "auto"
|
84
|
+
}, /*#__PURE__*/React.createElement("div", {
|
85
|
+
className: "pin-modal"
|
86
|
+
}, /*#__PURE__*/React.createElement("div", {
|
87
|
+
className: "pin-modal-content"
|
88
|
+
}, /*#__PURE__*/React.createElement("span", {
|
89
|
+
className: "pin-modal-content-label"
|
90
|
+
}, locales.getText('pisell2.pin.modal.label')), /*#__PURE__*/React.createElement("span", {
|
91
|
+
className: "pin-modal-content-code"
|
92
|
+
}, pin)), /*#__PURE__*/React.createElement("span", {
|
93
|
+
className: "pin-modal-content-desc"
|
94
|
+
}, locales.getText('pisell2.pin.modal.desc')), /*#__PURE__*/React.createElement("span", {
|
95
|
+
className: "pin-modal-content-time"
|
96
|
+
}, locales.getText('pisell2.pin.modal.time'), lastUpdateTime)));
|
97
|
+
};
|
98
|
+
export default /*#__PURE__*/forwardRef(PinModal);
|
@@ -0,0 +1,44 @@
|
|
1
|
+
.pin-modal {
|
2
|
+
width: 100%;
|
3
|
+
height: 100%;
|
4
|
+
padding: 16px 0;
|
5
|
+
display: flex;
|
6
|
+
flex-direction: column;
|
7
|
+
align-items: center;
|
8
|
+
gap: 16px;
|
9
|
+
|
10
|
+
&-content {
|
11
|
+
display: flex;
|
12
|
+
flex-direction: column;
|
13
|
+
align-items: center;
|
14
|
+
gap: 4px;
|
15
|
+
|
16
|
+
&-label {
|
17
|
+
color: #101828;
|
18
|
+
text-align: center;
|
19
|
+
font-size: 16px;
|
20
|
+
font-weight: 400;
|
21
|
+
}
|
22
|
+
|
23
|
+
&-code {
|
24
|
+
color: #101828;
|
25
|
+
text-align: center;
|
26
|
+
font-size: 24px;
|
27
|
+
font-weight: 600;
|
28
|
+
}
|
29
|
+
|
30
|
+
&-desc {
|
31
|
+
color: #101828;
|
32
|
+
text-align: center;
|
33
|
+
font-size: 16px;
|
34
|
+
font-weight: 500;
|
35
|
+
}
|
36
|
+
|
37
|
+
&-time {
|
38
|
+
color: #667085;
|
39
|
+
text-align: center;
|
40
|
+
font-size: 16px;
|
41
|
+
font-weight: 400;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
en: {
|
3
|
+
'pisell2.pin.modal.title': string;
|
4
|
+
'pisell2.pin.modal.label': string;
|
5
|
+
'pisell2.pin.modal.desc': string;
|
6
|
+
'pisell2.pin.modal.time': string;
|
7
|
+
'pisell2.pin.modal.reset.pin': string;
|
8
|
+
'pisell2.pin.modal.cancel': string;
|
9
|
+
};
|
10
|
+
'zh-CN': {
|
11
|
+
'pisell2.pin.modal.title': string;
|
12
|
+
'pisell2.pin.modal.label': string;
|
13
|
+
'pisell2.pin.modal.desc': string;
|
14
|
+
'pisell2.pin.modal.time': string;
|
15
|
+
'pisell2.pin.modal.reset.pin': string;
|
16
|
+
'pisell2.pin.modal.cancel': string;
|
17
|
+
};
|
18
|
+
'zh-HK': {
|
19
|
+
'pisell2.pin.modal.title': string;
|
20
|
+
'pisell2.pin.modal.label': string;
|
21
|
+
'pisell2.pin.modal.desc': string;
|
22
|
+
'pisell2.pin.modal.time': string;
|
23
|
+
'pisell2.pin.modal.reset.pin': string;
|
24
|
+
'pisell2.pin.modal.cancel': string;
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export default _default;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
export default {
|
2
|
+
en: {
|
3
|
+
'pisell2.pin.modal.title': 'View PIN',
|
4
|
+
'pisell2.pin.modal.label': 'Current PIN :',
|
5
|
+
'pisell2.pin.modal.desc': 'This PIN will expire in 72 hours. Do not share your PIN with others.',
|
6
|
+
'pisell2.pin.modal.time': 'Last Updated : ',
|
7
|
+
'pisell2.pin.modal.reset.pin': 'Regenerate PIN',
|
8
|
+
'pisell2.pin.modal.cancel': 'Cancel'
|
9
|
+
},
|
10
|
+
'zh-CN': {
|
11
|
+
'pisell2.pin.modal.title': '查看PIN',
|
12
|
+
'pisell2.pin.modal.label': '当前PIN码 :',
|
13
|
+
'pisell2.pin.modal.desc': '该PIN码将在72小时后失效,请勿向他人泄露您的PIN码。',
|
14
|
+
'pisell2.pin.modal.time': '最后更新时间 : ',
|
15
|
+
'pisell2.pin.modal.reset.pin': '重新生成PIN',
|
16
|
+
'pisell2.pin.modal.cancel': '取消'
|
17
|
+
},
|
18
|
+
'zh-HK': {
|
19
|
+
'pisell2.pin.modal.title': '查看PIN',
|
20
|
+
'pisell2.pin.modal.label': '當前PIN碼 :',
|
21
|
+
'pisell2.pin.modal.desc': '該PIN碼將在72小時後失效,請勿向他人洩露您的PIN碼。',
|
22
|
+
'pisell2.pin.modal.time': '最後更新時間 : ',
|
23
|
+
'pisell2.pin.modal.reset.pin': '重新生成PIN',
|
24
|
+
'pisell2.pin.modal.cancel': '取消'
|
25
|
+
}
|
26
|
+
};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { request } from "../../utils";
|
2
|
+
|
3
|
+
// 获取PIN码
|
4
|
+
export var getPinApi = function getPinApi(data) {
|
5
|
+
return request.getRequest().get('/h5/wallet/detail/pin', data);
|
6
|
+
};
|
7
|
+
|
8
|
+
// 重置PIN码
|
9
|
+
export var resetPinApi = function resetPinApi(data) {
|
10
|
+
return request.getRequest().post('/h5/wallet/detail/pin/refresh', data);
|
11
|
+
};
|
File without changes
|
File without changes
|
@@ -0,0 +1,80 @@
|
|
1
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
2
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
3
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
4
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
5
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
6
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
7
|
+
import { useRef, useState } from 'react';
|
8
|
+
import { useRequest } from 'ahooks';
|
9
|
+
import { PisellToast } from '@pisell/materials';
|
10
|
+
import useEngineContext from "../../hooks/useEngineContext";
|
11
|
+
import { request } from "../../utils";
|
12
|
+
export var usePinVerify = function usePinVerify() {
|
13
|
+
var _context$appHelper;
|
14
|
+
var context = useEngineContext();
|
15
|
+
var apiPrefix = context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.constants) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.apiPrefix;
|
16
|
+
var _useState = useState(null),
|
17
|
+
_useState2 = _slicedToArray(_useState, 2),
|
18
|
+
verifyInfo = _useState2[0],
|
19
|
+
setVerifyInfo = _useState2[1];
|
20
|
+
var verifySuccessRef = useRef(function () {});
|
21
|
+
|
22
|
+
/**
|
23
|
+
* @title: 设置验证信息
|
24
|
+
* @description 设置验证信息,如果check_max_count为0,则设置为null,剩余次数为check_max_count - failed_count
|
25
|
+
* @param data 验证信息
|
26
|
+
*/
|
27
|
+
var _setVerifyInfo = function _setVerifyInfo(data) {
|
28
|
+
var _ref = data || {},
|
29
|
+
failed_count = _ref.failed_count,
|
30
|
+
check_max_count = _ref.check_max_count;
|
31
|
+
if (!check_max_count) {
|
32
|
+
setVerifyInfo(null);
|
33
|
+
return;
|
34
|
+
}
|
35
|
+
setVerifyInfo({
|
36
|
+
check_max_count: check_max_count,
|
37
|
+
remaining_count: check_max_count - (failed_count || 0)
|
38
|
+
});
|
39
|
+
};
|
40
|
+
var verifyPinApi = function verifyPinApi(data) {
|
41
|
+
return request.getRequest().post("".concat(apiPrefix, "/wallet/detail/pin/validate"), data, {
|
42
|
+
fullResult: true
|
43
|
+
});
|
44
|
+
};
|
45
|
+
var _verifyPin = useRequest(verifyPinApi, {
|
46
|
+
manual: true,
|
47
|
+
onSuccess: function onSuccess(res) {
|
48
|
+
if ((res === null || res === void 0 ? void 0 : res.code) === 200) {
|
49
|
+
var _ref2 = (res === null || res === void 0 ? void 0 : res.data) || {},
|
50
|
+
status = _ref2.status,
|
51
|
+
msg = _ref2.msg,
|
52
|
+
failed_count = _ref2.failed_count,
|
53
|
+
check_max_count = _ref2.check_max_count;
|
54
|
+
_setVerifyInfo({
|
55
|
+
failed_count: failed_count,
|
56
|
+
check_max_count: check_max_count
|
57
|
+
});
|
58
|
+
// 状态 success:成功 locked:锁定 failed:失败
|
59
|
+
PisellToast({
|
60
|
+
content: msg,
|
61
|
+
duration: 2
|
62
|
+
});
|
63
|
+
if (status === 'success') {
|
64
|
+
var _verifySuccessRef$cur;
|
65
|
+
(_verifySuccessRef$cur = verifySuccessRef.current) === null || _verifySuccessRef$cur === void 0 || _verifySuccessRef$cur.call(verifySuccessRef, res === null || res === void 0 ? void 0 : res.data);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
});
|
70
|
+
var verifyPin = function verifyPin(data, onSuccess) {
|
71
|
+
verifySuccessRef.current = onSuccess;
|
72
|
+
_verifyPin.run(data);
|
73
|
+
};
|
74
|
+
return {
|
75
|
+
verifyPin: verifyPin,
|
76
|
+
loading: _verifyPin.loading,
|
77
|
+
verifyInfo: verifyInfo,
|
78
|
+
setVerifyInfo: _setVerifyInfo
|
79
|
+
};
|
80
|
+
};
|
@@ -0,0 +1,218 @@
|
|
1
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
2
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
3
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
4
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
5
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
6
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
7
|
+
import React, { useImperativeHandle, useState, forwardRef, useRef, useMemo } from 'react';
|
8
|
+
import Delete from '@pisell/icon/es/Delete';
|
9
|
+
import { PisellModal, VirtualKeyboard, PisellToast } from '@pisell/materials';
|
10
|
+
import { locales } from '@pisell/utils';
|
11
|
+
import useEngineContext from "../../hooks/useEngineContext";
|
12
|
+
import localeTexts from "./locales";
|
13
|
+
import { request } from "../../utils";
|
14
|
+
import "./index.less";
|
15
|
+
import { usePinVerify } from "./hooks";
|
16
|
+
var PinVerifyModal = function PinVerifyModal(props, ref) {
|
17
|
+
var _context$engine, _context$appHelper, _context$appHelper2, _context$appHelper2$i, _context$appHelper3, _modalParamsRef$curre2, _modalParamsRef$curre3, _modalParamsRef$curre4;
|
18
|
+
var context = useEngineContext();
|
19
|
+
locales.init(localeTexts, (context === null || context === void 0 || (_context$engine = context.engine) === null || _context$engine === void 0 || (_context$engine = _context$engine.props) === null || _context$engine === void 0 ? void 0 : _context$engine.locale) || 'en');
|
20
|
+
request.setRequest(context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.request);
|
21
|
+
|
22
|
+
// 判断是否是终端环境
|
23
|
+
var isTerminal = context === null || context === void 0 || (_context$appHelper2 = context.appHelper) === null || _context$appHelper2 === void 0 || (_context$appHelper2 = _context$appHelper2.utils) === null || _context$appHelper2 === void 0 || (_context$appHelper2$i = _context$appHelper2.isTerminal) === null || _context$appHelper2$i === void 0 ? void 0 : _context$appHelper2$i.call(_context$appHelper2);
|
24
|
+
var platform = context === null || context === void 0 || (_context$appHelper3 = context.appHelper) === null || _context$appHelper3 === void 0 || (_context$appHelper3 = _context$appHelper3.constants) === null || _context$appHelper3 === void 0 ? void 0 : _context$appHelper3.platform;
|
25
|
+
var _useState = useState(false),
|
26
|
+
_useState2 = _slicedToArray(_useState, 2),
|
27
|
+
visible = _useState2[0],
|
28
|
+
setVisible = _useState2[1];
|
29
|
+
var modalParamsRef = useRef({});
|
30
|
+
var _useState3 = useState(''),
|
31
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
32
|
+
pin = _useState4[0],
|
33
|
+
setPin = _useState4[1];
|
34
|
+
var _usePinVerify = usePinVerify(),
|
35
|
+
verifyPin = _usePinVerify.verifyPin,
|
36
|
+
loading = _usePinVerify.loading,
|
37
|
+
verifyInfo = _usePinVerify.verifyInfo,
|
38
|
+
setVerifyInfo = _usePinVerify.setVerifyInfo;
|
39
|
+
var KeyboardItems = useMemo(function () {
|
40
|
+
return [{
|
41
|
+
value: 1,
|
42
|
+
label: '1',
|
43
|
+
disabled: false,
|
44
|
+
type: 'text'
|
45
|
+
}, {
|
46
|
+
value: 2,
|
47
|
+
label: '2',
|
48
|
+
disabled: false,
|
49
|
+
type: 'text'
|
50
|
+
}, {
|
51
|
+
value: 3,
|
52
|
+
label: '3',
|
53
|
+
disabled: false,
|
54
|
+
type: 'text'
|
55
|
+
}, {
|
56
|
+
value: 4,
|
57
|
+
label: '4',
|
58
|
+
disabled: false,
|
59
|
+
type: 'text'
|
60
|
+
}, {
|
61
|
+
value: 5,
|
62
|
+
label: '5',
|
63
|
+
disabled: false,
|
64
|
+
type: 'text'
|
65
|
+
}, {
|
66
|
+
value: 6,
|
67
|
+
label: '6',
|
68
|
+
disabled: false,
|
69
|
+
type: 'text'
|
70
|
+
}, {
|
71
|
+
value: 7,
|
72
|
+
label: '7',
|
73
|
+
disabled: false,
|
74
|
+
type: 'text'
|
75
|
+
}, {
|
76
|
+
value: 8,
|
77
|
+
label: '8',
|
78
|
+
disabled: false,
|
79
|
+
type: 'text'
|
80
|
+
}, {
|
81
|
+
value: 9,
|
82
|
+
label: '9',
|
83
|
+
disabled: false,
|
84
|
+
type: 'text'
|
85
|
+
}, {
|
86
|
+
value: 'delete',
|
87
|
+
label: /*#__PURE__*/React.createElement(Delete, {
|
88
|
+
className: "virtual-keyboard-input-delete-icon"
|
89
|
+
}),
|
90
|
+
disabled: false,
|
91
|
+
type: 'text'
|
92
|
+
}, {
|
93
|
+
value: 0,
|
94
|
+
label: '0',
|
95
|
+
disabled: false,
|
96
|
+
type: 'text'
|
97
|
+
}, {
|
98
|
+
value: 'verify',
|
99
|
+
label: locales.getText('pisell2.pin.verify.modal.keyboard.verify'),
|
100
|
+
disabled: false,
|
101
|
+
type: 'primary'
|
102
|
+
}];
|
103
|
+
}, [locales]);
|
104
|
+
var onOpen = function onOpen(params) {
|
105
|
+
var _props$onOpen;
|
106
|
+
modalParamsRef.current = params;
|
107
|
+
setVerifyInfo({
|
108
|
+
failed_count: (params === null || params === void 0 ? void 0 : params.failed_count) || 0,
|
109
|
+
check_max_count: (params === null || params === void 0 ? void 0 : params.check_max_count) || 0
|
110
|
+
});
|
111
|
+
setVisible(true);
|
112
|
+
(_props$onOpen = props.onOpen) === null || _props$onOpen === void 0 || _props$onOpen.call(props);
|
113
|
+
};
|
114
|
+
var onClose = function onClose() {
|
115
|
+
var _props$onClose;
|
116
|
+
modalParamsRef.current = {};
|
117
|
+
setPin('');
|
118
|
+
setVerifyInfo(null);
|
119
|
+
setVisible(false);
|
120
|
+
(_props$onClose = props.onClose) === null || _props$onClose === void 0 || _props$onClose.call(props);
|
121
|
+
};
|
122
|
+
useImperativeHandle(ref, function () {
|
123
|
+
return {
|
124
|
+
open: onOpen,
|
125
|
+
close: onClose
|
126
|
+
};
|
127
|
+
});
|
128
|
+
var handleChange = function handleChange(e) {
|
129
|
+
if (e === 'delete') {
|
130
|
+
setPin(pin.slice(0, -1));
|
131
|
+
return;
|
132
|
+
} else if (e === 'verify') {
|
133
|
+
handleVerify();
|
134
|
+
return;
|
135
|
+
} else {
|
136
|
+
if (pin.length < 4) {
|
137
|
+
setPin(pin + e);
|
138
|
+
}
|
139
|
+
}
|
140
|
+
};
|
141
|
+
var handleVerify = function handleVerify() {
|
142
|
+
if (loading) {
|
143
|
+
return;
|
144
|
+
}
|
145
|
+
if (pin.length === 4) {
|
146
|
+
var _modalParamsRef$curre;
|
147
|
+
var wallet_detail_id = (_modalParamsRef$curre = modalParamsRef.current) === null || _modalParamsRef$curre === void 0 ? void 0 : _modalParamsRef$curre.wallet_detail_id;
|
148
|
+
verifyPin({
|
149
|
+
wallet_detail_id: wallet_detail_id,
|
150
|
+
pin: pin
|
151
|
+
}, function (params) {
|
152
|
+
var _props$onSuccess;
|
153
|
+
(_props$onSuccess = props.onSuccess) === null || _props$onSuccess === void 0 || _props$onSuccess.call(props, params);
|
154
|
+
onClose();
|
155
|
+
});
|
156
|
+
} else {
|
157
|
+
PisellToast({
|
158
|
+
content: locales.getText('pisell2.pin.verify.modal.keyboard.title'),
|
159
|
+
duration: 2
|
160
|
+
});
|
161
|
+
}
|
162
|
+
};
|
163
|
+
return /*#__PURE__*/React.createElement(PisellModal, {
|
164
|
+
platform: isTerminal ? 'h5' : undefined,
|
165
|
+
visible: visible,
|
166
|
+
title: locales.getText('pisell2.pin.verify.modal.title'),
|
167
|
+
headerDivider: false,
|
168
|
+
footer: null,
|
169
|
+
onClose: onClose,
|
170
|
+
maskClosable: false,
|
171
|
+
onCancel: onClose,
|
172
|
+
destroyOnClose: true,
|
173
|
+
mobileModalHeight: isTerminal ? undefined : 'auto'
|
174
|
+
}, /*#__PURE__*/React.createElement("div", {
|
175
|
+
className: "pin-verify-modal-content"
|
176
|
+
}, /*#__PURE__*/React.createElement("div", {
|
177
|
+
className: "pin-verify-modal-content-user"
|
178
|
+
}, /*#__PURE__*/React.createElement("div", {
|
179
|
+
className: "pin-verify-modal-content-user-avatar"
|
180
|
+
}, /*#__PURE__*/React.createElement("img", {
|
181
|
+
src: ((_modalParamsRef$curre2 = modalParamsRef.current.customer) === null || _modalParamsRef$curre2 === void 0 ? void 0 : _modalParamsRef$curre2.cover) || 'https://file.mypisell.com/static/default_product.png',
|
182
|
+
alt: "avatar",
|
183
|
+
className: "pin-verify-modal-content-user-avatar-img"
|
184
|
+
})), /*#__PURE__*/React.createElement("div", {
|
185
|
+
className: "pin-verify-modal-content-user-right"
|
186
|
+
}, /*#__PURE__*/React.createElement("div", {
|
187
|
+
className: "pin-verify-modal-content-user-right-name"
|
188
|
+
}, ((_modalParamsRef$curre3 = modalParamsRef.current.customer) === null || _modalParamsRef$curre3 === void 0 ? void 0 : _modalParamsRef$curre3.display_name) || ((_modalParamsRef$curre4 = modalParamsRef.current.customer) === null || _modalParamsRef$curre4 === void 0 ? void 0 : _modalParamsRef$curre4.nickname)), /*#__PURE__*/React.createElement("div", {
|
189
|
+
className: "pin-verify-modal-content-user-right-wallet"
|
190
|
+
}, locales.getText('pisell2.pin.verify.modal.wallet'), modalParamsRef.current.wallet_code))), /*#__PURE__*/React.createElement("div", {
|
191
|
+
className: "pin-verify-modal-content-keyboard"
|
192
|
+
}, /*#__PURE__*/React.createElement("div", {
|
193
|
+
className: "pin-verify-modal-content-keyboard-title"
|
194
|
+
}, locales.getText('pisell2.pin.verify.modal.keyboard.title')), /*#__PURE__*/React.createElement(VirtualKeyboard, {
|
195
|
+
style: {
|
196
|
+
width: '300px'
|
197
|
+
},
|
198
|
+
keyboardProps: {
|
199
|
+
keydown: false,
|
200
|
+
items: KeyboardItems,
|
201
|
+
onChange: handleChange
|
202
|
+
},
|
203
|
+
virtualKeyInputProps: {
|
204
|
+
value: pin,
|
205
|
+
onChange: function onChange(e) {
|
206
|
+
setPin(e.target.value);
|
207
|
+
},
|
208
|
+
placeholder: '0000',
|
209
|
+
style: {
|
210
|
+
height: '45px',
|
211
|
+
fontSize: '36px'
|
212
|
+
}
|
213
|
+
}
|
214
|
+
}), verifyInfo !== null && verifyInfo !== void 0 && verifyInfo.check_max_count ? /*#__PURE__*/React.createElement("div", {
|
215
|
+
className: "pin-verify-modal-content-keyboard-desc"
|
216
|
+
}, locales.getText('pisell2.pin.verify.modal.keyboard.desc'), verifyInfo === null || verifyInfo === void 0 ? void 0 : verifyInfo.remaining_count, "/", verifyInfo === null || verifyInfo === void 0 ? void 0 : verifyInfo.check_max_count) : null)));
|
217
|
+
};
|
218
|
+
export default /*#__PURE__*/forwardRef(PinVerifyModal);
|
@@ -0,0 +1,92 @@
|
|
1
|
+
.pin-verify-modal-content {
|
2
|
+
width: 100%;
|
3
|
+
height: 100%;
|
4
|
+
padding-bottom: 16px;
|
5
|
+
display: flex;
|
6
|
+
flex-direction: column;
|
7
|
+
align-items: center;
|
8
|
+
gap: 16px;
|
9
|
+
|
10
|
+
&-user {
|
11
|
+
min-width: 300px;
|
12
|
+
min-height: 60px;
|
13
|
+
padding: 8px;
|
14
|
+
display: flex;
|
15
|
+
align-items: center;
|
16
|
+
gap: 8px;
|
17
|
+
border-radius: 8px;
|
18
|
+
border: 1px solid #d0d5dd;
|
19
|
+
|
20
|
+
&-avatar {
|
21
|
+
width: 42px;
|
22
|
+
height: 42px;
|
23
|
+
display: flex;
|
24
|
+
align-items: center;
|
25
|
+
justify-content: center;
|
26
|
+
border-radius: 50%;
|
27
|
+
overflow: hidden;
|
28
|
+
|
29
|
+
&-img {
|
30
|
+
width: 100%;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
&-right {
|
35
|
+
display: flex;
|
36
|
+
flex-direction: column;
|
37
|
+
gap: 4px;
|
38
|
+
|
39
|
+
&-name {
|
40
|
+
font-size: 16px;
|
41
|
+
font-weight: 600;
|
42
|
+
color: #101828;
|
43
|
+
}
|
44
|
+
|
45
|
+
&-wallet {
|
46
|
+
color: #667085;
|
47
|
+
font-size: 14px;
|
48
|
+
font-weight: 400;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
&-keyboard {
|
54
|
+
display: flex;
|
55
|
+
flex-direction: column;
|
56
|
+
align-items: center;
|
57
|
+
gap: 8px;
|
58
|
+
|
59
|
+
&-title {
|
60
|
+
text-align: center;
|
61
|
+
color: #101828;
|
62
|
+
font-size: 16px;
|
63
|
+
font-weight: 500;
|
64
|
+
}
|
65
|
+
|
66
|
+
&-desc {
|
67
|
+
color: #667085;
|
68
|
+
font-size: 16px;
|
69
|
+
font-weight: 400;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
.virtual-keyboard-input-wrap {
|
74
|
+
height: 45px !important;
|
75
|
+
}
|
76
|
+
|
77
|
+
.virtual-keyboard-wrap .virtual-keyboard-content .virtual-keyboard-item {
|
78
|
+
padding-top: 50px !important;
|
79
|
+
}
|
80
|
+
|
81
|
+
.virtual-keyboard-wrap
|
82
|
+
.virtual-keyboard-content
|
83
|
+
.virtual-keyboard-item
|
84
|
+
.virtual-keyboard-item-button {
|
85
|
+
padding: 0 !important;
|
86
|
+
}
|
87
|
+
|
88
|
+
.virtual-keyboard-input-delete {
|
89
|
+
font-size: 30px;
|
90
|
+
color: #000;
|
91
|
+
}
|
92
|
+
}
|