@pisell/private-materials 6.3.64 → 6.3.66
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 +145 -145
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +8 -8
- package/es/businessModel/SalesModel/Sales/index.d.ts +24 -0
- package/es/businessModel/SalesModel/hooks/index.d.ts +1 -0
- package/es/businessModel/index.d.ts +0 -0
- package/es/components/Sales/Cart/types.d.ts +31 -0
- package/es/components/Sales/Cart/utils.d.ts +63 -0
- package/es/components/Sales/Checkout/utils.d.ts +41 -0
- package/es/components/Sales/Customer/index.d.ts +25 -0
- package/es/components/Sales/hooks/index.d.ts +1 -0
- package/es/components/Sales/utils/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
- package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/es/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/es/components/appointmentBooking/type.d.ts +17 -0
- package/es/components/booking/components/TabProduct/tabs/index.d.ts +21 -0
- package/es/components/booking/components/drawer/index.d.ts +19 -0
- package/es/components/booking/components/footer/serve.d.ts +3 -0
- package/es/components/booking/components/footer/utils.d.ts +1 -0
- package/es/components/booking/components/footer/utils.js +42 -23
- package/es/components/booking/components/menuButton/index.d.ts +10 -0
- package/es/components/booking/components/voucher/index.js +7 -8
- package/es/components/booking/components/voucher/utils.d.ts +4 -0
- package/es/components/booking/deposit/serve.d.ts +8 -0
- package/es/components/booking/editBookingModal/locales.d.ts +21 -0
- package/es/components/booking/editBookingModal/mock.d.ts +807 -0
- package/es/components/booking/editBookingModal/type.d.ts +12 -0
- package/es/components/booking/forms/format.d.ts +11 -0
- package/es/components/booking/info/Provider.d.ts +0 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +2 -0
- package/es/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
- package/es/components/booking/info/service/serviceItem/Sales/index.d.ts +0 -0
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
- package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/es/components/booking/info2/service/addService/mock.d.ts +214 -0
- package/es/components/booking/info2/service/addTimeModal/serve.d.ts +9 -0
- package/es/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
- package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
- package/es/components/booking/materiels/startTime/index.d.ts +10 -0
- package/es/components/eftpos/const.d.ts +64 -0
- package/es/components/eftpos/deviceList/index.d.ts +2 -0
- package/es/components/eftpos/form/index.d.ts +20 -0
- package/es/components/eftpos/group/index.d.ts +5 -0
- package/es/components/eftpos/hooks.d.ts +33 -0
- package/es/components/eftpos/icon/apiKey.d.ts +4 -0
- package/es/components/eftpos/icon/device.d.ts +4 -0
- package/es/components/eftpos/locales.d.ts +99 -0
- package/es/components/eftpos/log.d.ts +8 -0
- package/es/components/eftpos/receipt/index.d.ts +23 -0
- package/es/components/eftpos/surcharge/index.d.ts +30 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/component/alert/index.d.ts +6 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +2 -0
- package/es/components/eftposPay/component/header/index.d.ts +10 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +12 -0
- package/es/components/eftposPay/component/step/index.d.ts +11 -0
- package/es/components/eftposPay/component/step/step.d.ts +8 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/helper.d.ts +83 -0
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/store/index.d.ts +355 -0
- package/es/components/eftposPay/store/useThunkReducer.d.ts +9 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +13 -0
- package/es/components/eftposPay/windcave/timer.d.ts +29 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +3 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
- package/es/components/eventBooking/locales.d.ts +246 -0
- package/es/components/eventBooking/type.d.ts +17 -0
- package/es/components/eventBooking/utils.d.ts +45 -0
- package/es/components/login/locales.d.ts +24 -0
- package/es/components/pay/toC/PaymentList/mock.d.ts +88 -0
- package/es/components/pay/toC/PaymentList/status.d.ts +4 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.d.ts +9 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +7 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +7 -0
- package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
- package/es/components/pinModal/locales.d.ts +27 -0
- package/es/components/pinModal/types.d.ts +0 -0
- package/es/components/pinVerifyModal/locales.d.ts +24 -0
- package/es/components/pinVerifyModal/types.d.ts +33 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/mock.d.ts +47 -0
- package/es/components/pisellSelectCustomerModal/locales.d.ts +81 -0
- package/es/components/productExtension/card/index.d.ts +10 -0
- package/es/components/productExtension/fields/Actor/Container/index.d.ts +12 -0
- package/es/components/productExtension/fields/Actor/CutOffTime/status.d.ts +0 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +10 -0
- package/es/components/productExtension/fields/SelectProducts/mock.d.ts +0 -0
- package/es/components/productExtension/fields/SelectResourcesTable/mock.d.ts +2681 -0
- package/es/components/productExtension/locales.d.ts +48 -0
- package/es/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
- package/es/components/productSelect/hooks/useToken.d.ts +18 -0
- package/es/components/productSelect/locales.d.ts +18 -0
- package/es/components/productSelect/mock.d.ts +134 -0
- package/es/components/productSelect/theme/token.d.ts +17 -0
- package/es/components/schedules/components/Card/index.d.ts +6 -0
- package/es/components/schedules/components/CurrentDay/utils.d.ts +1 -0
- package/es/components/schedules/components/DropdownSort/index.d.ts +3 -0
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +11 -0
- package/es/components/schedules/constants.d.ts +1 -0
- package/es/components/schedules/locales.d.ts +87 -0
- package/es/components/schedules/resources/add/index.d.ts +3 -0
- package/es/components/schedules/resources/relationProduct/index.d.ts +6 -0
- package/es/components/schedules/type.d.ts +157 -0
- package/es/components/shoppingCart/mock.d.ts +40 -0
- package/es/components/shoppingCart/utils.d.ts +63 -0
- package/es/components/stepController/components/Content/index.d.ts +7 -0
- package/es/components/stepController/components/Footer/index.d.ts +8 -0
- package/es/components/stepController/locales.d.ts +27 -0
- package/es/components/stepController/types.d.ts +23 -0
- package/es/components/systemSettings/registry/components/SectionList.js +5 -1
- package/es/components/tabProduct/card/index.d.ts +7 -0
- package/es/components/tabProduct/index.d.ts +16 -0
- package/es/components/tabProduct/tabs/index.d.ts +21 -0
- package/es/components/taxSelect/locales.d.ts +24 -0
- package/es/components/ticketBooking/data.d.ts +58 -0
- package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/es/components/ticketBooking/miniRedux.d.ts +22 -0
- package/es/components/walletList/model.d.ts +6 -0
- package/es/components/workSpaceList/components/AppearanceEdit/Color.d.ts +9 -0
- package/es/components/workSpaceList/components/AppearanceShow/index.d.ts +11 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/es/components/workSpaceList/data.d.ts +42 -0
- package/es/hooks/useComponents.d.ts +5 -0
- package/es/hooks/useLocale.d.ts +2 -0
- package/es/hooks/useLoginUser.d.ts +2 -0
- package/es/hooks/usePrefix.d.ts +1 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/es/plus/productSelect/ProductList/index.d.ts +22 -0
- package/es/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
- package/es/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
- package/es/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
- package/es/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
- package/es/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
- package/es/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
- package/es/plus/productSelect/hooks/useToken.d.ts +18 -0
- package/es/plus/productSelect/locales.d.ts +18 -0
- package/es/plus/productSelect/theme/token.d.ts +17 -0
- package/es/plus/saasCreateOrganization/locales.d.ts +15 -0
- package/es/plus/saasCreateOrganization/types.d.ts +69 -0
- package/es/plus/saasLogin/locales.d.ts +51 -0
- package/es/plus/saasLogin/types.d.ts +62 -0
- package/es/plus/saasLogin/utils.d.ts +35 -0
- package/es/plus/saasRegister/locales.d.ts +117 -0
- package/es/plus/saasRegister/types.d.ts +114 -0
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +3 -1
- package/es/pro/Login2.0/components/LoginCodeInput.js +36 -3
- package/es/utils/date.d.ts +11 -0
- package/es/utils/load.d.ts +11 -0
- package/es/utils/locales.d.ts +1 -0
- package/es/utils/tasks/type.d.ts +4 -0
- package/lib/businessModel/SalesModel/Sales/index.d.ts +24 -0
- package/lib/businessModel/SalesModel/hooks/index.d.ts +1 -0
- package/lib/businessModel/index.d.ts +0 -0
- package/lib/components/Sales/Cart/types.d.ts +31 -0
- package/lib/components/Sales/Cart/utils.d.ts +63 -0
- package/lib/components/Sales/Checkout/utils.d.ts +41 -0
- package/lib/components/Sales/Customer/index.d.ts +25 -0
- package/lib/components/Sales/hooks/index.d.ts +1 -0
- package/lib/components/Sales/utils/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
- package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/lib/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/lib/components/appointmentBooking/type.d.ts +17 -0
- package/lib/components/booking/components/TabProduct/tabs/index.d.ts +21 -0
- package/lib/components/booking/components/drawer/index.d.ts +19 -0
- package/lib/components/booking/components/footer/serve.d.ts +3 -0
- package/lib/components/booking/components/footer/utils.d.ts +1 -0
- package/lib/components/booking/components/footer/utils.js +20 -3
- package/lib/components/booking/components/menuButton/index.d.ts +10 -0
- package/lib/components/booking/components/voucher/index.js +1 -0
- package/lib/components/booking/components/voucher/utils.d.ts +4 -0
- package/lib/components/booking/deposit/serve.d.ts +8 -0
- package/lib/components/booking/editBookingModal/locales.d.ts +21 -0
- package/lib/components/booking/editBookingModal/mock.d.ts +807 -0
- package/lib/components/booking/editBookingModal/type.d.ts +12 -0
- package/lib/components/booking/forms/format.d.ts +11 -0
- package/lib/components/booking/info/Provider.d.ts +0 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +2 -0
- package/lib/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
- package/lib/components/booking/info/service/serviceItem/Sales/index.d.ts +0 -0
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
- package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/lib/components/booking/info2/service/addService/mock.d.ts +214 -0
- package/lib/components/booking/info2/service/addTimeModal/serve.d.ts +9 -0
- package/lib/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
- package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +10 -0
- package/lib/components/eftpos/const.d.ts +64 -0
- package/lib/components/eftpos/deviceList/index.d.ts +2 -0
- package/lib/components/eftpos/form/index.d.ts +20 -0
- package/lib/components/eftpos/group/index.d.ts +5 -0
- package/lib/components/eftpos/hooks.d.ts +33 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +4 -0
- package/lib/components/eftpos/icon/device.d.ts +4 -0
- package/lib/components/eftpos/locales.d.ts +99 -0
- package/lib/components/eftpos/log.d.ts +8 -0
- package/lib/components/eftpos/receipt/index.d.ts +23 -0
- package/lib/components/eftpos/surcharge/index.d.ts +30 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/component/alert/index.d.ts +6 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +2 -0
- package/lib/components/eftposPay/component/header/index.d.ts +10 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +12 -0
- package/lib/components/eftposPay/component/step/index.d.ts +11 -0
- package/lib/components/eftposPay/component/step/step.d.ts +8 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/helper.d.ts +83 -0
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/store/index.d.ts +355 -0
- package/lib/components/eftposPay/store/useThunkReducer.d.ts +9 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +13 -0
- package/lib/components/eftposPay/windcave/timer.d.ts +29 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +3 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
- package/lib/components/eventBooking/locales.d.ts +246 -0
- package/lib/components/eventBooking/type.d.ts +17 -0
- package/lib/components/eventBooking/utils.d.ts +45 -0
- package/lib/components/login/locales.d.ts +24 -0
- package/lib/components/pay/toC/PaymentList/mock.d.ts +88 -0
- package/lib/components/pay/toC/PaymentList/status.d.ts +4 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.d.ts +9 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +7 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +7 -0
- package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
- package/lib/components/pinModal/locales.d.ts +27 -0
- package/lib/components/pinModal/types.d.ts +0 -0
- package/lib/components/pinVerifyModal/locales.d.ts +24 -0
- package/lib/components/pinVerifyModal/types.d.ts +33 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/mock.d.ts +47 -0
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +81 -0
- package/lib/components/productExtension/card/index.d.ts +10 -0
- package/lib/components/productExtension/fields/Actor/Container/index.d.ts +12 -0
- package/lib/components/productExtension/fields/Actor/CutOffTime/status.d.ts +0 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +10 -0
- package/lib/components/productExtension/fields/SelectProducts/mock.d.ts +0 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/mock.d.ts +2681 -0
- package/lib/components/productExtension/locales.d.ts +48 -0
- package/lib/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
- package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
- package/lib/components/productSelect/locales.d.ts +18 -0
- package/lib/components/productSelect/mock.d.ts +134 -0
- package/lib/components/productSelect/theme/token.d.ts +17 -0
- package/lib/components/schedules/components/Card/index.d.ts +6 -0
- package/lib/components/schedules/components/CurrentDay/utils.d.ts +1 -0
- package/lib/components/schedules/components/DropdownSort/index.d.ts +3 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +11 -0
- package/lib/components/schedules/constants.d.ts +1 -0
- package/lib/components/schedules/locales.d.ts +87 -0
- package/lib/components/schedules/resources/add/index.d.ts +3 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +6 -0
- package/lib/components/schedules/type.d.ts +157 -0
- package/lib/components/shoppingCart/mock.d.ts +40 -0
- package/lib/components/shoppingCart/utils.d.ts +63 -0
- package/lib/components/stepController/components/Content/index.d.ts +7 -0
- package/lib/components/stepController/components/Footer/index.d.ts +8 -0
- package/lib/components/stepController/locales.d.ts +27 -0
- package/lib/components/stepController/types.d.ts +23 -0
- package/lib/components/systemSettings/registry/components/SectionList.js +4 -1
- package/lib/components/tabProduct/card/index.d.ts +7 -0
- package/lib/components/tabProduct/index.d.ts +16 -0
- package/lib/components/tabProduct/tabs/index.d.ts +21 -0
- package/lib/components/taxSelect/locales.d.ts +24 -0
- package/lib/components/ticketBooking/data.d.ts +58 -0
- package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
- package/lib/components/walletList/model.d.ts +6 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/Color.d.ts +9 -0
- package/lib/components/workSpaceList/components/AppearanceShow/index.d.ts +11 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/lib/components/workSpaceList/data.d.ts +42 -0
- package/lib/hooks/useComponents.d.ts +5 -0
- package/lib/hooks/useLocale.d.ts +2 -0
- package/lib/hooks/useLoginUser.d.ts +2 -0
- package/lib/hooks/usePrefix.d.ts +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
- package/lib/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
- package/lib/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
- package/lib/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
- package/lib/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
- package/lib/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
- package/lib/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
- package/lib/plus/productSelect/hooks/useToken.d.ts +18 -0
- package/lib/plus/productSelect/locales.d.ts +18 -0
- package/lib/plus/productSelect/theme/token.d.ts +17 -0
- package/lib/plus/saasCreateOrganization/locales.d.ts +15 -0
- package/lib/plus/saasCreateOrganization/types.d.ts +69 -0
- package/lib/plus/saasLogin/locales.d.ts +51 -0
- package/lib/plus/saasLogin/types.d.ts +62 -0
- package/lib/plus/saasLogin/utils.d.ts +35 -0
- package/lib/plus/saasRegister/locales.d.ts +117 -0
- package/lib/plus/saasRegister/types.d.ts +114 -0
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +1 -1
- package/lib/pro/Login2.0/components/LoginCodeInput.js +26 -4
- package/lib/utils/date.d.ts +11 -0
- package/lib/utils/load.d.ts +11 -0
- package/lib/utils/locales.d.ts +1 -0
- package/lib/utils/tasks/type.d.ts +4 -0
- package/package.json +4 -4
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface EditBookingModalParams {
|
|
2
|
+
toStartDate: string;
|
|
3
|
+
toEndDate: string;
|
|
4
|
+
event: any;
|
|
5
|
+
fromResourceId: string;
|
|
6
|
+
toResourceId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface EditBookingModalProps {
|
|
9
|
+
open: boolean;
|
|
10
|
+
onCancel: () => void;
|
|
11
|
+
onOk: () => void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const changeFormValues: ({ clientId, values, forms, }: {
|
|
2
|
+
clientId: number;
|
|
3
|
+
values: any;
|
|
4
|
+
forms: any[];
|
|
5
|
+
}) => any;
|
|
6
|
+
export declare const sortFormValues: (list: any[], clientId: number) => any[];
|
|
7
|
+
export declare const formatAddFormValues: ({ clientId, value, data_range }: {
|
|
8
|
+
clientId: number;
|
|
9
|
+
value: any[];
|
|
10
|
+
data_range: 'customer' | '';
|
|
11
|
+
}) => any[];
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface Product {
|
|
2
|
+
_id: string;
|
|
3
|
+
_extend: {
|
|
4
|
+
origin_total: number;
|
|
5
|
+
total: number;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function distributeDiscountOrIncrease(products: Product[], // 商品列表
|
|
9
|
+
totalAdjustment: number, // 总折扣或加价金额,可能为负数(折扣)或正数(加价)
|
|
10
|
+
totalPrice: number): Product[];
|
|
11
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
id: number;
|
|
3
|
+
shop_id: number;
|
|
4
|
+
source_shop_id: number;
|
|
5
|
+
extension_id: number;
|
|
6
|
+
extension_type: string;
|
|
7
|
+
title: string;
|
|
8
|
+
slug: string;
|
|
9
|
+
title_letter: string;
|
|
10
|
+
category_letter: string;
|
|
11
|
+
vendor_letter: string;
|
|
12
|
+
tag_letter: string;
|
|
13
|
+
subtitle: string;
|
|
14
|
+
description: string;
|
|
15
|
+
cover: string;
|
|
16
|
+
price: string;
|
|
17
|
+
original_price: string;
|
|
18
|
+
cost_price: string;
|
|
19
|
+
sort_price: string;
|
|
20
|
+
is_gst: number;
|
|
21
|
+
is_delivery: number;
|
|
22
|
+
weight_unit: string;
|
|
23
|
+
weight_value: string;
|
|
24
|
+
code: string;
|
|
25
|
+
barcode: string;
|
|
26
|
+
unit: string;
|
|
27
|
+
is_track: number;
|
|
28
|
+
stock_quantity: number;
|
|
29
|
+
sum_stock: number;
|
|
30
|
+
sales_quantity: number;
|
|
31
|
+
order_sales_quantity: number;
|
|
32
|
+
over_sold: number;
|
|
33
|
+
status: string;
|
|
34
|
+
sell_status: number;
|
|
35
|
+
published_time: string;
|
|
36
|
+
shop_update_time: string;
|
|
37
|
+
audit_time: null;
|
|
38
|
+
is_recommend: number;
|
|
39
|
+
audit_status: string;
|
|
40
|
+
shop_status: string;
|
|
41
|
+
weight: number;
|
|
42
|
+
sort: number;
|
|
43
|
+
type: string;
|
|
44
|
+
channel_application: string[];
|
|
45
|
+
channel_id: number;
|
|
46
|
+
rebate_type: string;
|
|
47
|
+
rebate_value: string;
|
|
48
|
+
create_account_id: number;
|
|
49
|
+
update_account_id: number;
|
|
50
|
+
source_product_id: number;
|
|
51
|
+
start_at: null;
|
|
52
|
+
created_at: string;
|
|
53
|
+
updated_at: string;
|
|
54
|
+
deleted_at: null;
|
|
55
|
+
seo: {
|
|
56
|
+
title: string;
|
|
57
|
+
is_set_title: number;
|
|
58
|
+
description: string;
|
|
59
|
+
is_set_desc: number;
|
|
60
|
+
keywords: string;
|
|
61
|
+
is_set_keywords: number;
|
|
62
|
+
};
|
|
63
|
+
service_times: number;
|
|
64
|
+
product_resource: {
|
|
65
|
+
resources: ({
|
|
66
|
+
id: number;
|
|
67
|
+
title: string;
|
|
68
|
+
status: number;
|
|
69
|
+
code: string;
|
|
70
|
+
created_at: string;
|
|
71
|
+
updated_at: string;
|
|
72
|
+
type: string;
|
|
73
|
+
optional_resource: number[];
|
|
74
|
+
default_resource: number[];
|
|
75
|
+
select_type: {
|
|
76
|
+
type: string;
|
|
77
|
+
min: number;
|
|
78
|
+
max: number;
|
|
79
|
+
};
|
|
80
|
+
resource_type_id: number;
|
|
81
|
+
} | {
|
|
82
|
+
id: number;
|
|
83
|
+
title: string;
|
|
84
|
+
status: number;
|
|
85
|
+
code: string;
|
|
86
|
+
created_at: string;
|
|
87
|
+
updated_at: null;
|
|
88
|
+
type: string;
|
|
89
|
+
optional_resource: never[];
|
|
90
|
+
default_resource: never[];
|
|
91
|
+
select_type: {
|
|
92
|
+
type: string;
|
|
93
|
+
min: number;
|
|
94
|
+
max: number;
|
|
95
|
+
};
|
|
96
|
+
resource_type_id: number;
|
|
97
|
+
})[];
|
|
98
|
+
};
|
|
99
|
+
capacity: {
|
|
100
|
+
type: string;
|
|
101
|
+
custom: {
|
|
102
|
+
name: {
|
|
103
|
+
en: string;
|
|
104
|
+
"zh-CN": string;
|
|
105
|
+
"zh-HK": string;
|
|
106
|
+
original: string;
|
|
107
|
+
};
|
|
108
|
+
id: number;
|
|
109
|
+
min: number;
|
|
110
|
+
max: number;
|
|
111
|
+
}[];
|
|
112
|
+
package: {
|
|
113
|
+
product_ids: never[];
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
is_grey: number;
|
|
117
|
+
is_eject: number;
|
|
118
|
+
share_url: string;
|
|
119
|
+
token_check_msg: string;
|
|
120
|
+
is_charge_tax: number;
|
|
121
|
+
media: never[];
|
|
122
|
+
tag: never[];
|
|
123
|
+
vendor: never[];
|
|
124
|
+
category: {
|
|
125
|
+
id: number;
|
|
126
|
+
shop_id: number;
|
|
127
|
+
parent_id: number;
|
|
128
|
+
name: string;
|
|
129
|
+
slug: string;
|
|
130
|
+
icon: string;
|
|
131
|
+
status: string;
|
|
132
|
+
last_applicable_time: number;
|
|
133
|
+
sort: number;
|
|
134
|
+
create_account_id: number;
|
|
135
|
+
update_account_id: number;
|
|
136
|
+
created_at: string;
|
|
137
|
+
updated_at: string;
|
|
138
|
+
}[];
|
|
139
|
+
collection: ({
|
|
140
|
+
id: number;
|
|
141
|
+
shop_id: number;
|
|
142
|
+
title: string;
|
|
143
|
+
title_letter: string;
|
|
144
|
+
description: null;
|
|
145
|
+
cover: string;
|
|
146
|
+
rule_type: string;
|
|
147
|
+
rule: {
|
|
148
|
+
class: string;
|
|
149
|
+
value: number;
|
|
150
|
+
operator: string;
|
|
151
|
+
}[];
|
|
152
|
+
product_quantity: number;
|
|
153
|
+
type: string;
|
|
154
|
+
order_type: string;
|
|
155
|
+
disabled: number;
|
|
156
|
+
create_account_id: number;
|
|
157
|
+
update_account_id: number;
|
|
158
|
+
created_at: string;
|
|
159
|
+
updated_at: string;
|
|
160
|
+
} | {
|
|
161
|
+
id: number;
|
|
162
|
+
shop_id: number;
|
|
163
|
+
title: string;
|
|
164
|
+
title_letter: string;
|
|
165
|
+
description: string;
|
|
166
|
+
cover: string;
|
|
167
|
+
rule_type: string;
|
|
168
|
+
rule: {
|
|
169
|
+
class: string;
|
|
170
|
+
value: string;
|
|
171
|
+
operator: string;
|
|
172
|
+
}[];
|
|
173
|
+
product_quantity: number;
|
|
174
|
+
type: string;
|
|
175
|
+
order_type: string;
|
|
176
|
+
disabled: number;
|
|
177
|
+
create_account_id: number;
|
|
178
|
+
update_account_id: number;
|
|
179
|
+
created_at: string;
|
|
180
|
+
updated_at: string;
|
|
181
|
+
} | {
|
|
182
|
+
id: number;
|
|
183
|
+
shop_id: number;
|
|
184
|
+
title: string;
|
|
185
|
+
title_letter: string;
|
|
186
|
+
description: null;
|
|
187
|
+
cover: string;
|
|
188
|
+
rule_type: string;
|
|
189
|
+
rule: {
|
|
190
|
+
class: string;
|
|
191
|
+
value: string;
|
|
192
|
+
operator: string;
|
|
193
|
+
}[];
|
|
194
|
+
product_quantity: number;
|
|
195
|
+
type: string;
|
|
196
|
+
order_type: string;
|
|
197
|
+
disabled: number;
|
|
198
|
+
create_account_id: number;
|
|
199
|
+
update_account_id: number;
|
|
200
|
+
created_at: string;
|
|
201
|
+
updated_at: string;
|
|
202
|
+
})[];
|
|
203
|
+
variant_group: never[];
|
|
204
|
+
option_group: never[];
|
|
205
|
+
variant: never[];
|
|
206
|
+
shop: {
|
|
207
|
+
id: number;
|
|
208
|
+
name: string;
|
|
209
|
+
default_domain: string;
|
|
210
|
+
default_url: string;
|
|
211
|
+
};
|
|
212
|
+
bundle_group: never[];
|
|
213
|
+
};
|
|
214
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const getAddTimeProducts: (params: any, config: any) => Promise<any>;
|
|
2
|
+
export declare const saveAddTimeProduct: ({ orderId, params }: {
|
|
3
|
+
orderId: number | string;
|
|
4
|
+
params: any;
|
|
5
|
+
}) => Promise<any>;
|
|
6
|
+
export declare const saveAddTimeProduct2: ({ orderId, params }: {
|
|
7
|
+
orderId: number | string;
|
|
8
|
+
params: any;
|
|
9
|
+
}) => Promise<any>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SelectProps } from 'antd';
|
|
3
|
+
interface MaxLengthSelectProps<T> extends SelectProps<T> {
|
|
4
|
+
maxLength: number;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("react").ForwardRefExoticComponent<Partial<MaxLengthSelectProps<any>> & import("react").RefAttributes<unknown>>;
|
|
7
|
+
export default _default;
|
package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SelectProps } from 'antd';
|
|
3
|
+
interface MaxLengthSelectProps<T> extends SelectProps<T> {
|
|
4
|
+
maxLength: number;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("react").ForwardRefExoticComponent<Partial<MaxLengthSelectProps<any>> & import("react").RefAttributes<unknown>>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SelectProps } from "antd";
|
|
3
|
+
interface StartTimeProps extends SelectProps {
|
|
4
|
+
locale?: string;
|
|
5
|
+
slice?: number;
|
|
6
|
+
selectProps?: SelectProps;
|
|
7
|
+
timeObjChange?: any;
|
|
8
|
+
}
|
|
9
|
+
declare const StartTime: (props: StartTimeProps) => JSX.Element;
|
|
10
|
+
export default StartTime;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare enum Eftpos {
|
|
2
|
+
Payo = "payo",
|
|
3
|
+
Tyro = "tyro",
|
|
4
|
+
Windcave = "windcave",
|
|
5
|
+
Stripe = "stripe"
|
|
6
|
+
}
|
|
7
|
+
export declare enum DeviceEnum {
|
|
8
|
+
/** 新增 */
|
|
9
|
+
Add = "add",
|
|
10
|
+
/** 编辑 */
|
|
11
|
+
Edit = "edit",
|
|
12
|
+
/** 重新链接 */
|
|
13
|
+
Repair = "repair"
|
|
14
|
+
}
|
|
15
|
+
export declare type DeviceStatus = `${DeviceEnum}`;
|
|
16
|
+
/** 设备配置信息 */
|
|
17
|
+
export interface DeviceProp {
|
|
18
|
+
/** 设备id */
|
|
19
|
+
id?: string | number;
|
|
20
|
+
/** 设备名称 */
|
|
21
|
+
name: string;
|
|
22
|
+
/** 设备类型(厂商) */
|
|
23
|
+
type: Eftpos.Tyro;
|
|
24
|
+
/** 设备状态 */
|
|
25
|
+
status: "unpaired" | "paired";
|
|
26
|
+
/** 设备设置(商户配置) */
|
|
27
|
+
setting: {
|
|
28
|
+
[key: string]: unknown;
|
|
29
|
+
} | null;
|
|
30
|
+
/** 设备设置(第三方配置) */
|
|
31
|
+
connection: {
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
} | null;
|
|
34
|
+
[key: string]: unknown;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @title: 获取表单结果数据
|
|
38
|
+
* @description: 获取表单结果数据
|
|
39
|
+
* @param {any} list 表单配置信息
|
|
40
|
+
* @return {*} 表单结果信息
|
|
41
|
+
* @Author: hongbing.wang
|
|
42
|
+
* @Date: 2024-08-19 11:10
|
|
43
|
+
*/
|
|
44
|
+
export declare const getDefaultValue: (list: any) => any;
|
|
45
|
+
/**
|
|
46
|
+
* @title: 构建通用表单配置信息,构建动态表单
|
|
47
|
+
* @description:
|
|
48
|
+
* @param {any} field : array 字段信息 value 结果信息,name 上级字段信息用于嵌套, getComm : 获取字段组件配置信息
|
|
49
|
+
* @return form 表单配置信息
|
|
50
|
+
* @Author: hongbing.wang
|
|
51
|
+
* @Date: 2024-08-19 11:11
|
|
52
|
+
*/
|
|
53
|
+
export declare function getCommByFields({ field, value, name, getComm, }: {
|
|
54
|
+
field: (string | {
|
|
55
|
+
name: string;
|
|
56
|
+
children: string[];
|
|
57
|
+
})[];
|
|
58
|
+
value?: any;
|
|
59
|
+
name?: string[];
|
|
60
|
+
getComm: (params: {
|
|
61
|
+
field: string;
|
|
62
|
+
value?: unknown;
|
|
63
|
+
}, record?: any) => any;
|
|
64
|
+
}): Promise<any>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 递归循环表单数据
|
|
3
|
+
* @Author: hongbing.wang
|
|
4
|
+
* @Date: 2024-08-20 13:21
|
|
5
|
+
*/
|
|
6
|
+
declare const CustomFormItem: ({ formItemList, level, onChange, }: {
|
|
7
|
+
formItemList: any[];
|
|
8
|
+
level?: number | undefined;
|
|
9
|
+
onChange?: ((...agrn: unknown[]) => unknown) | undefined;
|
|
10
|
+
}) => JSX.Element;
|
|
11
|
+
export default CustomFormItem;
|
|
12
|
+
declare type helpMappingType = {
|
|
13
|
+
[key: string]: {
|
|
14
|
+
getCommName<T = any>(commConfig: T, name: string[]): T;
|
|
15
|
+
getCommDefaultVal: (commConfig: any) => {
|
|
16
|
+
[key: string]: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare const helpMapping: helpMappingType;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { RadioGroupProps } from 'antd';
|
|
2
|
+
export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
|
|
3
|
+
export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
|
|
4
|
+
direction?: "vertical" | undefined;
|
|
5
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Eftpos } from './const';
|
|
2
|
+
/**
|
|
3
|
+
* @title: tyro 设备连接
|
|
4
|
+
* @Author: hongbing.wang
|
|
5
|
+
* @Date: 2024-08-20 13:23
|
|
6
|
+
*/
|
|
7
|
+
export declare const usePairTerminalo: (type: Eftpos, params: {
|
|
8
|
+
url?: string;
|
|
9
|
+
version?: string;
|
|
10
|
+
}) => ({ mid, tid, apiKey, posProductData, }: {
|
|
11
|
+
mid: string;
|
|
12
|
+
tid: string;
|
|
13
|
+
apiKey: string;
|
|
14
|
+
posProductData: {
|
|
15
|
+
posProductVendor: string;
|
|
16
|
+
posProductName: string;
|
|
17
|
+
posProductVersion: string;
|
|
18
|
+
siteReference: string;
|
|
19
|
+
};
|
|
20
|
+
}, cb: (...agrn: unknown[]) => void) => Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* @title: 获取 Tyro 资源
|
|
23
|
+
* @description:
|
|
24
|
+
* @param {Eftpos} type 类型
|
|
25
|
+
* @param {string} url 链接
|
|
26
|
+
* @return {*}
|
|
27
|
+
* @Author: hongbing.wang
|
|
28
|
+
* @Date: 2024-08-19 18:36
|
|
29
|
+
*/
|
|
30
|
+
export declare const useTyro: (params: {
|
|
31
|
+
url?: string;
|
|
32
|
+
version?: string;
|
|
33
|
+
}) => readonly [import("react").MutableRefObject<any>, boolean];
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'page.eftpos.text.manufacturer': string;
|
|
4
|
+
'page.eftpos.text.description': string;
|
|
5
|
+
'page.eftpos.text.status': string;
|
|
6
|
+
'page.eftpos.text.operation': string;
|
|
7
|
+
'page.eftpos.text.device': string;
|
|
8
|
+
'page.eftpos.text.device.add': (status?: string, name?: string) => string;
|
|
9
|
+
'page.eftpos.text.device.list': string;
|
|
10
|
+
'page.eftpos.text.device.name': string;
|
|
11
|
+
'page.eftpos.text.sucahrge': string;
|
|
12
|
+
'page.eftpos.text.paired': string;
|
|
13
|
+
'page.eftpos.text.unpaired': string;
|
|
14
|
+
'page.eftpos.text.repair': string;
|
|
15
|
+
'page.eftpos.text.edit': string;
|
|
16
|
+
'page.eftpos.text.delete': string;
|
|
17
|
+
'page.eftpos.text.save': string;
|
|
18
|
+
'page.eftpos.text.confim.delete': string;
|
|
19
|
+
'page.eftpos.text.confirm_delete-message': (x: string) => string;
|
|
20
|
+
'page.eftpos.text.confim.cancel': string;
|
|
21
|
+
'page.eftpos.text.table.name': string;
|
|
22
|
+
'page.eftpos.text.table.status': string;
|
|
23
|
+
'page.eftpos.text.table.surcharge': string;
|
|
24
|
+
'page.eftpos.text.table.opeartion': string;
|
|
25
|
+
'page.eftpos.text.table.del.title': string;
|
|
26
|
+
'page.eftpos.text.table.del.text': string;
|
|
27
|
+
'page.eftpos.text.table.del.delete': string;
|
|
28
|
+
'page.eftpos.text.table.del.cancel': string;
|
|
29
|
+
'page.eftpos.text.log': string;
|
|
30
|
+
'page.eftpos.text.setting': string;
|
|
31
|
+
'page.eftpos.text.setting.tip': string;
|
|
32
|
+
'page.eftpos.text.setting.btn': string;
|
|
33
|
+
};
|
|
34
|
+
'zh-CN': {
|
|
35
|
+
'page.eftpos.text.manufacturer': string;
|
|
36
|
+
'page.eftpos.text.description': string;
|
|
37
|
+
'page.eftpos.text.status': string;
|
|
38
|
+
'page.eftpos.text.operation': string;
|
|
39
|
+
'page.eftpos.text.device': string;
|
|
40
|
+
'page.eftpos.text.device.add': (status?: string, name?: string) => string;
|
|
41
|
+
'page.eftpos.text.device.list': string;
|
|
42
|
+
'page.eftpos.text.device.name': string;
|
|
43
|
+
'page.eftpos.text.sucahrge': string;
|
|
44
|
+
'page.eftpos.text.paired': string;
|
|
45
|
+
'page.eftpos.text.unpaired': string;
|
|
46
|
+
'page.eftpos.text.repair': string;
|
|
47
|
+
'page.eftpos.text.edit': string;
|
|
48
|
+
'page.eftpos.text.delete': string;
|
|
49
|
+
'page.eftpos.text.save': string;
|
|
50
|
+
'page.eftpos.text.confim.delete': string;
|
|
51
|
+
'page.eftpos.text.confirm_delete-message': (x: string) => string;
|
|
52
|
+
'page.eftpos.text.confim.cancel': string;
|
|
53
|
+
'page.eftpos.text.table.name': string;
|
|
54
|
+
'page.eftpos.text.table.status': string;
|
|
55
|
+
'page.eftpos.text.table.surcharge': string;
|
|
56
|
+
'page.eftpos.text.table.opeartion': string;
|
|
57
|
+
'page.eftpos.text.table.del.title': string;
|
|
58
|
+
'page.eftpos.text.table.del.text': string;
|
|
59
|
+
'page.eftpos.text.table.del.delete': string;
|
|
60
|
+
'page.eftpos.text.table.del.cancel': string;
|
|
61
|
+
'page.eftpos.text.log': string;
|
|
62
|
+
'page.eftpos.text.setting': string;
|
|
63
|
+
'page.eftpos.text.setting.tip': string;
|
|
64
|
+
'page.eftpos.text.setting.btn': string;
|
|
65
|
+
};
|
|
66
|
+
'zh-HK': {
|
|
67
|
+
'page.eftpos.text.manufacturer': string;
|
|
68
|
+
'page.eftpos.text.description': string;
|
|
69
|
+
'page.eftpos.text.status': string;
|
|
70
|
+
'page.eftpos.text.operation': string;
|
|
71
|
+
'page.eftpos.text.device': string;
|
|
72
|
+
'page.eftpos.text.device.add': (status?: string, name?: string) => string;
|
|
73
|
+
'page.eftpos.text.device.list': string;
|
|
74
|
+
'page.eftpos.text.device.name': string;
|
|
75
|
+
'page.eftpos.text.sucahrge': string;
|
|
76
|
+
'page.eftpos.text.paired': string;
|
|
77
|
+
'page.eftpos.text.unpaired': string;
|
|
78
|
+
'page.eftpos.text.repair': string;
|
|
79
|
+
'page.eftpos.text.edit': string;
|
|
80
|
+
'page.eftpos.text.delete': string;
|
|
81
|
+
'page.eftpos.text.save': string;
|
|
82
|
+
'page.eftpos.text.confim.delete': string;
|
|
83
|
+
'page.eftpos.text.confirm_delete-message': (x: string) => string;
|
|
84
|
+
'page.eftpos.text.confim.cancel': string;
|
|
85
|
+
'page.eftpos.text.table.name': string;
|
|
86
|
+
'page.eftpos.text.table.status': string;
|
|
87
|
+
'page.eftpos.text.table.surcharge': string;
|
|
88
|
+
'page.eftpos.text.table.opeartion': string;
|
|
89
|
+
'page.eftpos.text.table.del.title': string;
|
|
90
|
+
'page.eftpos.text.table.del.text': string;
|
|
91
|
+
'page.eftpos.text.table.del.delete': string;
|
|
92
|
+
'page.eftpos.text.table.del.cancel': string;
|
|
93
|
+
'page.eftpos.text.log': string;
|
|
94
|
+
'page.eftpos.text.setting': string;
|
|
95
|
+
'page.eftpos.text.setting.tip': string;
|
|
96
|
+
'page.eftpos.text.setting.btn': string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 自定义组件设置
|
|
3
|
+
* @description: 自定义组件设置
|
|
4
|
+
* @param {any} commConfig 当前组件配置
|
|
5
|
+
* @param {string} name 上游name(用于嵌套 xxx:{yyy:''})
|
|
6
|
+
* @return {*}
|
|
7
|
+
* @Author: hongbing.wang
|
|
8
|
+
* @Date: 2024-08-20 11:10
|
|
9
|
+
*/
|
|
10
|
+
export declare const getCommName: (commConfig: any, name: string[]) => any;
|
|
11
|
+
/**
|
|
12
|
+
* @title: 自定义组件结果设置
|
|
13
|
+
* @description: 自定义组件结果设置
|
|
14
|
+
* @param {any} commConfig 当前组件配置
|
|
15
|
+
* @return {*}
|
|
16
|
+
* @Author: hongbing.wang
|
|
17
|
+
* @Date: 2024-08-20 11:11
|
|
18
|
+
*/
|
|
19
|
+
export declare const getCommDefaultVal: (commConfig: any) => {
|
|
20
|
+
[x: number]: any;
|
|
21
|
+
};
|
|
22
|
+
declare const _default: (props: any) => JSX.Element;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import './index.css';
|
|
2
|
+
/**
|
|
3
|
+
* @title: 自定义组件设置
|
|
4
|
+
* @description: 自定义组件设置
|
|
5
|
+
* @param {any} commConfig 当前组件配置
|
|
6
|
+
* @param {string} name 上游name(用于嵌套 xxx:{yyy:''})
|
|
7
|
+
* @return {*}
|
|
8
|
+
* @Author: hongbing.wang
|
|
9
|
+
* @Date: 2024-08-20 11:10
|
|
10
|
+
*/
|
|
11
|
+
export declare const getCommName: (commConfig: any, name: string[]) => any;
|
|
12
|
+
/**
|
|
13
|
+
* @title: 自定义组件结果设置
|
|
14
|
+
* @description: 自定义组件结果设置
|
|
15
|
+
* @param {any} commConfig 当前组件配置
|
|
16
|
+
* @return {*}
|
|
17
|
+
* @Author: hongbing.wang
|
|
18
|
+
* @Date: 2024-08-20 11:11
|
|
19
|
+
*/
|
|
20
|
+
export declare const getCommDefaultVal: (commConfig: any) => {
|
|
21
|
+
[x: number]: any;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @title: 自定义表单
|
|
25
|
+
* @description: 若干 antd 组件不能满足需求 则可以创建自定义组件
|
|
26
|
+
* @Author: hongbing.wang
|
|
27
|
+
* @Date: 2024-08-20 13:22
|
|
28
|
+
*/
|
|
29
|
+
declare const _default: (props: any) => JSX.Element;
|
|
30
|
+
export default _default;
|
|
@@ -8,7 +8,7 @@ import { PosProps } from './const';
|
|
|
8
8
|
*/
|
|
9
9
|
declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
|
|
10
10
|
className?: string | undefined;
|
|
11
|
-
onChange?: ((status: "success" | "page" | "
|
|
11
|
+
onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
|
|
12
12
|
[keys: string]: unknown;
|
|
13
13
|
} | undefined, other?: any) => void) | undefined;
|
|
14
14
|
onClose: () => void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StatusType } from '../../const';
|
|
3
|
+
import './index.less';
|
|
4
|
+
declare const _default: ({ status, title, subTitle, children }: {
|
|
5
|
+
status: StatusType;
|
|
6
|
+
title?: string | undefined;
|
|
7
|
+
subTitle?: string | undefined;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}) => JSX.Element;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import './titlebar.less';
|
|
2
|
+
declare enum EPopupTitleBarVariantType {
|
|
3
|
+
BackTitleClose = "back-title-cancel",
|
|
4
|
+
LeftTitleClose = "left-title-close"
|
|
5
|
+
}
|
|
6
|
+
declare const _default: ({ type, children, onBack, onClose, }: {
|
|
7
|
+
type?: "back-title-cancel" | "left-title-close" | undefined;
|
|
8
|
+
children: string;
|
|
9
|
+
onBack?: (() => void) | undefined;
|
|
10
|
+
onClose?: (() => void) | undefined;
|
|
11
|
+
}) => JSX.Element;
|
|
12
|
+
export default _default;
|