@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,105 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type ScrollLocation = 'start' | 'end';
|
|
3
|
+
export interface TabContextValue {
|
|
4
|
+
selectedTab?: string;
|
|
5
|
+
onTabChange?: (tabId: string) => void;
|
|
6
|
+
registerTab?: (tabId: string, element: HTMLElement) => void;
|
|
7
|
+
unregisterTab?: (tabId: string) => void;
|
|
8
|
+
railRef?: React.RefObject<HTMLDivElement>;
|
|
9
|
+
}
|
|
10
|
+
export interface TabsStructureProps {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
/** 当前选中的tab */
|
|
14
|
+
selectedTab?: string;
|
|
15
|
+
/** tab变更回调 */
|
|
16
|
+
onTabChange?: (tabId: string) => void;
|
|
17
|
+
/** 是否启用自动滚动到选中tab */
|
|
18
|
+
autoScrollToSelected?: boolean;
|
|
19
|
+
/** Rail组件的ref,用于手动控制滚动等操作 */
|
|
20
|
+
railRef?: React.RefObject<HTMLDivElement>;
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
}
|
|
23
|
+
export interface TabListContainerProps {
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
className?: string;
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}
|
|
28
|
+
export interface TabItemProps {
|
|
29
|
+
children?: React.ReactNode;
|
|
30
|
+
isSelected?: boolean;
|
|
31
|
+
isDisabled?: boolean;
|
|
32
|
+
className?: string;
|
|
33
|
+
onClick?: (key?: string) => void;
|
|
34
|
+
/** Tab的唯一标识符 */
|
|
35
|
+
tabId?: string;
|
|
36
|
+
/** 是否自动注册到上下文 */
|
|
37
|
+
autoRegister?: boolean;
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}
|
|
40
|
+
export interface RailProps {
|
|
41
|
+
children?: React.ReactNode;
|
|
42
|
+
className?: string;
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}
|
|
45
|
+
export interface SelectionIndicatorProps {
|
|
46
|
+
focusRingClasses?: string;
|
|
47
|
+
isFocusVisible?: boolean;
|
|
48
|
+
style?: React.CSSProperties;
|
|
49
|
+
className?: string;
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
}
|
|
52
|
+
export interface ScrollShadowProps {
|
|
53
|
+
location: ScrollLocation;
|
|
54
|
+
visible: boolean;
|
|
55
|
+
className?: string;
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
}
|
|
58
|
+
export interface ChevronButtonProps {
|
|
59
|
+
direction: 'prev' | 'next';
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
onClick?: () => void;
|
|
62
|
+
className?: string;
|
|
63
|
+
'aria-label'?: string;
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
}
|
|
66
|
+
export interface ChevronControlsProps {
|
|
67
|
+
isPrevDisabled?: boolean;
|
|
68
|
+
isNextDisabled?: boolean;
|
|
69
|
+
onPrevClick?: () => void;
|
|
70
|
+
onNextClick?: () => void;
|
|
71
|
+
className?: string;
|
|
72
|
+
prevAction?: () => void;
|
|
73
|
+
nextAction?: () => void;
|
|
74
|
+
[key: string]: any;
|
|
75
|
+
}
|
|
76
|
+
export interface TabWrapperClasses {
|
|
77
|
+
wrapper: string;
|
|
78
|
+
}
|
|
79
|
+
export interface TabListClasses {
|
|
80
|
+
list: string;
|
|
81
|
+
}
|
|
82
|
+
export interface TabItemClasses {
|
|
83
|
+
item: string;
|
|
84
|
+
selected: string;
|
|
85
|
+
disabled: string;
|
|
86
|
+
}
|
|
87
|
+
export interface RailClasses {
|
|
88
|
+
rail: string;
|
|
89
|
+
}
|
|
90
|
+
export interface SelectionClasses {
|
|
91
|
+
selection: string;
|
|
92
|
+
position: string;
|
|
93
|
+
focused: string;
|
|
94
|
+
}
|
|
95
|
+
export interface ShadowClasses {
|
|
96
|
+
shadow: string;
|
|
97
|
+
isVisible: string;
|
|
98
|
+
locationStart: string;
|
|
99
|
+
locationEnd: string;
|
|
100
|
+
}
|
|
101
|
+
export interface ChevronClasses {
|
|
102
|
+
controls: string;
|
|
103
|
+
button: string;
|
|
104
|
+
disabled: string;
|
|
105
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function debounce<T extends (...args: any[]) => any>(func: T, wait: number): (...args: Parameters<T>) => void;
|
|
3
|
+
export declare function mergeRefs<T>(...refs: (React.Ref<T> | undefined)[]): React.RefCallback<T>;
|
|
4
|
+
/**
|
|
5
|
+
* 安全的滚动函数,包含错误处理和边界检查
|
|
6
|
+
* @param element - 要滚动的元素
|
|
7
|
+
* @param options - 滚动选项
|
|
8
|
+
*/
|
|
9
|
+
export declare function safeScrollTo(element: HTMLElement | null, options: {
|
|
10
|
+
left?: number;
|
|
11
|
+
behavior?: ScrollBehavior;
|
|
12
|
+
}): boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ProductSelectToken } from '../theme/token';
|
|
2
|
+
export declare function useToken(customToken?: Partial<ProductSelectToken>): {
|
|
3
|
+
colorPrimary: string;
|
|
4
|
+
colorText: string;
|
|
5
|
+
colorTextSecondary: string;
|
|
6
|
+
searchInputColor: string;
|
|
7
|
+
containerBg: string;
|
|
8
|
+
tabItemBg: string;
|
|
9
|
+
tabItemHoverBg: string;
|
|
10
|
+
tabItemActiveBg: string;
|
|
11
|
+
categoryTextColor: string;
|
|
12
|
+
cardBg: string;
|
|
13
|
+
cardHoverBg: string;
|
|
14
|
+
cardSelectedBg: string;
|
|
15
|
+
cardSelectedTextColor: string;
|
|
16
|
+
cardSelectedSecondaryTextColor: string;
|
|
17
|
+
};
|
|
18
|
+
export declare function genCSSVars(token: ProductSelectToken): Record<string, string>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.product-select.search': string;
|
|
4
|
+
'pisell2.product-select.stock': string;
|
|
5
|
+
'pisell2.product-select.empty': string;
|
|
6
|
+
};
|
|
7
|
+
'zh-CN': {
|
|
8
|
+
'pisell2.product-select.search': string;
|
|
9
|
+
'pisell2.product-select.stock': string;
|
|
10
|
+
'pisell2.product-select.empty': string;
|
|
11
|
+
};
|
|
12
|
+
'zh-HK': {
|
|
13
|
+
'pisell2.product-select.search': string;
|
|
14
|
+
'pisell2.product-select.stock': string;
|
|
15
|
+
'pisell2.product-select.empty': string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ProductSelectToken {
|
|
2
|
+
colorPrimary: string;
|
|
3
|
+
colorText: string;
|
|
4
|
+
colorTextSecondary: string;
|
|
5
|
+
searchInputColor: string;
|
|
6
|
+
containerBg: string;
|
|
7
|
+
tabItemBg: string;
|
|
8
|
+
tabItemHoverBg: string;
|
|
9
|
+
tabItemActiveBg: string;
|
|
10
|
+
categoryTextColor: string;
|
|
11
|
+
cardBg: string;
|
|
12
|
+
cardHoverBg: string;
|
|
13
|
+
cardSelectedBg: string;
|
|
14
|
+
cardSelectedTextColor: string;
|
|
15
|
+
cardSelectedSecondaryTextColor: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const defaultToken: ProductSelectToken;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell-saas-create-org-welcome-message': string;
|
|
4
|
+
'pisell-saas-create-org-title': string;
|
|
5
|
+
};
|
|
6
|
+
'zh-CN': {
|
|
7
|
+
'pisell-saas-create-org-welcome-message': string;
|
|
8
|
+
'pisell-saas-create-org-title': string;
|
|
9
|
+
};
|
|
10
|
+
'zh-TW': {
|
|
11
|
+
'pisell-saas-create-org-welcome-message': string;
|
|
12
|
+
'pisell-saas-create-org-title': string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface SCOProps {
|
|
3
|
+
/** 是否显示Logo */
|
|
4
|
+
showLogo?: boolean;
|
|
5
|
+
/** Logo图片地址 */
|
|
6
|
+
logo?: string;
|
|
7
|
+
/** Logo位置 */
|
|
8
|
+
logoPosition?: 'left' | 'center' | 'right';
|
|
9
|
+
/** Logo尺寸 */
|
|
10
|
+
logoSize?: {
|
|
11
|
+
width?: number;
|
|
12
|
+
height?: number;
|
|
13
|
+
};
|
|
14
|
+
/** 是否显示欢迎语 */
|
|
15
|
+
showWelcomeMessage?: boolean;
|
|
16
|
+
/** 欢迎语 */
|
|
17
|
+
welcomeMessage?: string;
|
|
18
|
+
/** 欢迎语对齐方式 */
|
|
19
|
+
welcomeMessageAlign?: 'left' | 'center' | 'right';
|
|
20
|
+
/** 是否显示标题 */
|
|
21
|
+
showTitle?: boolean;
|
|
22
|
+
/** 标题 */
|
|
23
|
+
title?: string;
|
|
24
|
+
/** 标题对齐方式 */
|
|
25
|
+
titleAlign?: 'left' | 'center' | 'right';
|
|
26
|
+
/** 副标题 */
|
|
27
|
+
subtitle?: string;
|
|
28
|
+
/** 是否显示副标题 */
|
|
29
|
+
showSubtitle?: boolean;
|
|
30
|
+
/** 副标题对齐方式 */
|
|
31
|
+
subtitleAlign?: 'left' | 'center' | 'right';
|
|
32
|
+
/** 是否显示公司名称输入框 */
|
|
33
|
+
showCompanyName?: boolean;
|
|
34
|
+
/** 公司名称输入框标题 */
|
|
35
|
+
companyNameLabel?: string;
|
|
36
|
+
/** 公司名称输入框占位符 */
|
|
37
|
+
companyNamePlaceholder?: string;
|
|
38
|
+
/** 公司名称输入框必填 */
|
|
39
|
+
companyNameRequired?: boolean;
|
|
40
|
+
/** 是否显示域名输入框 */
|
|
41
|
+
showDomain?: boolean;
|
|
42
|
+
/** 域名输入框标题 */
|
|
43
|
+
domainLabel?: string;
|
|
44
|
+
/** 域名输入框占位符 */
|
|
45
|
+
domainPlaceholder?: string;
|
|
46
|
+
/** 域名输入框必填 */
|
|
47
|
+
domainRequired?: boolean;
|
|
48
|
+
/** 是否显示分割线 */
|
|
49
|
+
showDivider?: boolean;
|
|
50
|
+
/** 分割线文案 */
|
|
51
|
+
dividerText?: string;
|
|
52
|
+
/** 是否显示时区选择 */
|
|
53
|
+
showTimezoneSelect?: boolean;
|
|
54
|
+
/** 时区选择标题 */
|
|
55
|
+
timezoneSelectLabel?: string;
|
|
56
|
+
/** 时区选择必填 */
|
|
57
|
+
timezoneSelectRequired?: boolean;
|
|
58
|
+
/** 是否显示语言选择 */
|
|
59
|
+
showLanguageSelect?: boolean;
|
|
60
|
+
/** 语言选择标题 */
|
|
61
|
+
languageSelectLabel?: string;
|
|
62
|
+
/** 语言选择必填 */
|
|
63
|
+
languageSelectRequired?: boolean;
|
|
64
|
+
/** 按钮文本 */
|
|
65
|
+
buttonText?: string;
|
|
66
|
+
/** 创建企业回调 */
|
|
67
|
+
onCreateOrganization?: (info: any) => Promise<void>;
|
|
68
|
+
children?: React.ReactNode;
|
|
69
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell-saas-login-welcome-message': string;
|
|
4
|
+
'pisell-saas-login-title': string;
|
|
5
|
+
'pisell-saas-login-subtitle': string;
|
|
6
|
+
'pisell-saas-login-email-label': string;
|
|
7
|
+
'pisell-saas-login-email-placeholder': string;
|
|
8
|
+
'pisell-saas-login-password-label': string;
|
|
9
|
+
'pisell-saas-login-password-placeholder': string;
|
|
10
|
+
'pisell-saas-login-email-error': string;
|
|
11
|
+
'pisell-saas-login-email-error-valid': string;
|
|
12
|
+
'pisell-saas-login-password-required': string;
|
|
13
|
+
'pisell-saas-login-password-error': string;
|
|
14
|
+
'pisell-saas-login-button': string;
|
|
15
|
+
'pisell-saas-login-register-text': string;
|
|
16
|
+
'pisell-saas-login-register-link': string;
|
|
17
|
+
};
|
|
18
|
+
'zh-CN': {
|
|
19
|
+
'pisell-saas-login-welcome-message': string;
|
|
20
|
+
'pisell-saas-login-title': string;
|
|
21
|
+
'pisell-saas-login-subtitle': string;
|
|
22
|
+
'pisell-saas-login-email-label': string;
|
|
23
|
+
'pisell-saas-login-email-placeholder': string;
|
|
24
|
+
'pisell-saas-login-password-label': string;
|
|
25
|
+
'pisell-saas-login-password-placeholder': string;
|
|
26
|
+
'pisell-saas-login-email-error': string;
|
|
27
|
+
'pisell-saas-login-email-error-valid': string;
|
|
28
|
+
'pisell-saas-login-password-required': string;
|
|
29
|
+
'pisell-saas-login-password-error': string;
|
|
30
|
+
'pisell-saas-login-button': string;
|
|
31
|
+
'pisell-saas-login-register-text': string;
|
|
32
|
+
'pisell-saas-login-register-link': string;
|
|
33
|
+
};
|
|
34
|
+
'zh-HK': {
|
|
35
|
+
'pisell-saas-login-welcome-message': string;
|
|
36
|
+
'pisell-saas-login-title': string;
|
|
37
|
+
'pisell-saas-login-subtitle': string;
|
|
38
|
+
'pisell-saas-login-email-label': string;
|
|
39
|
+
'pisell-saas-login-email-placeholder': string;
|
|
40
|
+
'pisell-saas-login-password-label': string;
|
|
41
|
+
'pisell-saas-login-password-placeholder': string;
|
|
42
|
+
'pisell-saas-login-email-error': string;
|
|
43
|
+
'pisell-saas-login-email-error-valid': string;
|
|
44
|
+
'pisell-saas-login-password-required': string;
|
|
45
|
+
'pisell-saas-login-password-error': string;
|
|
46
|
+
'pisell-saas-login-button': string;
|
|
47
|
+
'pisell-saas-login-register-text': string;
|
|
48
|
+
'pisell-saas-login-register-link': string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export interface SaasLoginProps {
|
|
2
|
+
/** 是否显示Logo */
|
|
3
|
+
showLogo?: boolean;
|
|
4
|
+
/** Logo图片地址 */
|
|
5
|
+
logo?: string;
|
|
6
|
+
/** Logo位置 */
|
|
7
|
+
logoPosition?: 'left' | 'center' | 'right';
|
|
8
|
+
/** Logo尺寸 */
|
|
9
|
+
logoSize?: {
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
};
|
|
13
|
+
/** 是否显示欢迎语 */
|
|
14
|
+
showWelcomeMessage?: boolean;
|
|
15
|
+
/** 欢迎语 */
|
|
16
|
+
welcomeMessage?: string;
|
|
17
|
+
/** 欢迎语对齐方式 */
|
|
18
|
+
welcomeMessageAlign?: 'left' | 'center' | 'right';
|
|
19
|
+
/** 是否显示标题 */
|
|
20
|
+
showTitle?: boolean;
|
|
21
|
+
/** 标题 */
|
|
22
|
+
title?: string;
|
|
23
|
+
/** 标题对齐方式 */
|
|
24
|
+
titleAlign?: 'left' | 'center' | 'right';
|
|
25
|
+
/** 副标题 */
|
|
26
|
+
subtitle?: string;
|
|
27
|
+
/** 是否显示副标题 */
|
|
28
|
+
showSubtitle?: boolean;
|
|
29
|
+
/** 副标题对齐方式 */
|
|
30
|
+
subtitleAlign?: 'left' | 'center' | 'right';
|
|
31
|
+
/** 邮箱输入框标题 */
|
|
32
|
+
emailLabel?: string;
|
|
33
|
+
/** 邮箱输入框占位符 */
|
|
34
|
+
emailPlaceholder?: string;
|
|
35
|
+
/** 密码输入框标题 */
|
|
36
|
+
passwordLabel?: string;
|
|
37
|
+
/** 密码输入框占位符 */
|
|
38
|
+
passwordPlaceholder?: string;
|
|
39
|
+
/** 登录按钮文本 */
|
|
40
|
+
buttonText?: string;
|
|
41
|
+
/** 是否显示注册入口 */
|
|
42
|
+
showRegister?: boolean;
|
|
43
|
+
/** 是否显示注册标题 */
|
|
44
|
+
showRegisterText?: boolean;
|
|
45
|
+
/** 注册提示文本 */
|
|
46
|
+
registerText?: string;
|
|
47
|
+
/** 是否显示注册链接文本 */
|
|
48
|
+
showRegisterLinkText?: boolean;
|
|
49
|
+
/** 注册链接文本 */
|
|
50
|
+
registerLinkText?: string;
|
|
51
|
+
/** 注册对齐方式 */
|
|
52
|
+
registerAlign?: 'left' | 'center' | 'right';
|
|
53
|
+
/** 事件回调 */
|
|
54
|
+
onLogin?: (values: {
|
|
55
|
+
email: string;
|
|
56
|
+
loginMethod: string;
|
|
57
|
+
}) => void;
|
|
58
|
+
/** 去注册入口点击回调 */
|
|
59
|
+
onGoRegister?: () => void;
|
|
60
|
+
}
|
|
61
|
+
export interface SaasLoginData extends Required<Omit<SaasLoginProps, 'onLogin' | 'onRegister'>> {
|
|
62
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SaasLoginProps } from './types';
|
|
2
|
+
export declare const mergeData: (locales: any, props: SaasLoginProps) => {
|
|
3
|
+
logo: string;
|
|
4
|
+
logoSize: {
|
|
5
|
+
width?: number | undefined;
|
|
6
|
+
height?: number | undefined;
|
|
7
|
+
};
|
|
8
|
+
logoPosition: "center" | "left" | "right";
|
|
9
|
+
welcomeMessage: any;
|
|
10
|
+
welcomeMessageAlign: "center" | "left" | "right";
|
|
11
|
+
title: any;
|
|
12
|
+
titleAlign: "center" | "left" | "right";
|
|
13
|
+
subtitle: any;
|
|
14
|
+
subtitleAlign: "center" | "left" | "right";
|
|
15
|
+
emailLabel: any;
|
|
16
|
+
emailPlaceholder: any;
|
|
17
|
+
passwordLabel: any;
|
|
18
|
+
passwordPlaceholder: any;
|
|
19
|
+
buttonText: any;
|
|
20
|
+
registerText: any;
|
|
21
|
+
registerLinkText: any;
|
|
22
|
+
registerAlign: "center" | "left" | "right";
|
|
23
|
+
showLogo?: boolean | undefined;
|
|
24
|
+
showWelcomeMessage?: boolean | undefined;
|
|
25
|
+
showTitle?: boolean | undefined;
|
|
26
|
+
showSubtitle?: boolean | undefined;
|
|
27
|
+
showRegister?: boolean | undefined;
|
|
28
|
+
showRegisterText?: boolean | undefined;
|
|
29
|
+
showRegisterLinkText?: boolean | undefined;
|
|
30
|
+
onLogin?: ((values: {
|
|
31
|
+
email: string;
|
|
32
|
+
loginMethod: string;
|
|
33
|
+
}) => void) | undefined;
|
|
34
|
+
onGoRegister?: (() => void) | undefined;
|
|
35
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell-saas-register-welcome-message': string;
|
|
4
|
+
'pisell-saas-register-title': string;
|
|
5
|
+
'pisell-saas-register-subtitle': string;
|
|
6
|
+
'pisell-saas-register-email-label': string;
|
|
7
|
+
'pisell-saas-register-email-placeholder': string;
|
|
8
|
+
'pisell-saas-register-email-error': string;
|
|
9
|
+
'pisell-saas-register-email-error-valid': string;
|
|
10
|
+
'pisell-saas-register-button': string;
|
|
11
|
+
'pisell-saas-register-login-text': string;
|
|
12
|
+
'pisell-saas-register-login-link-text': string;
|
|
13
|
+
'pisell-saas-register-failed-button-text': string;
|
|
14
|
+
'pisell-saas-register-failed-email-registered-title': string;
|
|
15
|
+
'pisell-saas-register-verify-email-title': string;
|
|
16
|
+
'pisell-saas-register-verify-email-subtitle': string;
|
|
17
|
+
'pisell-saas-register-resend-text': string;
|
|
18
|
+
'pisell-saas-register-resend-button-text': string;
|
|
19
|
+
'pisell-saas-register-verifying-email-title': string;
|
|
20
|
+
'pisell-saas-register-failed-link-expired-title': string;
|
|
21
|
+
'pisell-saas-register-failed-link-expired-subtitle': string;
|
|
22
|
+
'pisell-saas-register-failed-link-invalid-title': string;
|
|
23
|
+
'pisell-saas-register-failed-link-invalid-subtitle': string;
|
|
24
|
+
'pisell-saas-register-failed-link-email-registered-title': string;
|
|
25
|
+
'pisell-saas-register-failed-link-email-registered-subtitle': string;
|
|
26
|
+
'pisell-saas-register-failed-link-email-registered-button-text': string;
|
|
27
|
+
'pisell-saas-register-password-label': string;
|
|
28
|
+
'pisell-saas-register-password-placeholder': string;
|
|
29
|
+
'pisell-saas-register-password-required': string;
|
|
30
|
+
'pisell-saas-register-divider-text': string;
|
|
31
|
+
'pisell-saas-register-first-name-label': string;
|
|
32
|
+
'pisell-saas-register-first-name-placeholder': string;
|
|
33
|
+
'pisell-saas-register-last-name-label': string;
|
|
34
|
+
'pisell-saas-register-last-name-placeholder': string;
|
|
35
|
+
'pisell-saas-register-entry-info-title': string;
|
|
36
|
+
'pisell-saas-register-entry-info-subtitle': string;
|
|
37
|
+
'pisell-saas-register-entry-info-document-title': string;
|
|
38
|
+
'pisell-saas-register-entry-info-document-description': string;
|
|
39
|
+
};
|
|
40
|
+
'zh-CN': {
|
|
41
|
+
'pisell-saas-register-welcome-message': string;
|
|
42
|
+
'pisell-saas-register-title': string;
|
|
43
|
+
'pisell-saas-register-subtitle': string;
|
|
44
|
+
'pisell-saas-register-email-label': string;
|
|
45
|
+
'pisell-saas-register-email-placeholder': string;
|
|
46
|
+
'pisell-saas-register-email-error': string;
|
|
47
|
+
'pisell-saas-register-email-error-valid': string;
|
|
48
|
+
'pisell-saas-register-button': string;
|
|
49
|
+
'pisell-saas-register-login-text': string;
|
|
50
|
+
'pisell-saas-register-login-link-text': string;
|
|
51
|
+
'pisell-saas-register-failed-button-text': string;
|
|
52
|
+
'pisell-saas-register-failed-email-registered-title': string;
|
|
53
|
+
'pisell-saas-register-verify-email-title': string;
|
|
54
|
+
'pisell-saas-register-verify-email-subtitle': string;
|
|
55
|
+
'pisell-saas-register-resend-text': string;
|
|
56
|
+
'pisell-saas-register-resend-button-text': string;
|
|
57
|
+
'pisell-saas-register-verifying-email-title': string;
|
|
58
|
+
'pisell-saas-register-failed-link-expired-title': string;
|
|
59
|
+
'pisell-saas-register-failed-link-expired-subtitle': string;
|
|
60
|
+
'pisell-saas-register-failed-link-invalid-title': string;
|
|
61
|
+
'pisell-saas-register-failed-link-invalid-subtitle': string;
|
|
62
|
+
'pisell-saas-register-failed-link-email-registered-title': string;
|
|
63
|
+
'pisell-saas-register-failed-link-email-registered-subtitle': string;
|
|
64
|
+
'pisell-saas-register-failed-link-email-registered-button-text': string;
|
|
65
|
+
'pisell-saas-register-password-label': string;
|
|
66
|
+
'pisell-saas-register-password-placeholder': string;
|
|
67
|
+
'pisell-saas-register-password-required': string;
|
|
68
|
+
'pisell-saas-register-divider-text': string;
|
|
69
|
+
'pisell-saas-register-first-name-label': string;
|
|
70
|
+
'pisell-saas-register-first-name-placeholder': string;
|
|
71
|
+
'pisell-saas-register-last-name-label': string;
|
|
72
|
+
'pisell-saas-register-last-name-placeholder': string;
|
|
73
|
+
'pisell-saas-register-entry-info-title': string;
|
|
74
|
+
'pisell-saas-register-entry-info-subtitle': string;
|
|
75
|
+
'pisell-saas-register-entry-info-document-title': string;
|
|
76
|
+
'pisell-saas-register-entry-info-document-description': string;
|
|
77
|
+
};
|
|
78
|
+
'zh-HK': {
|
|
79
|
+
'pisell-saas-register-welcome-message': string;
|
|
80
|
+
'pisell-saas-register-title': string;
|
|
81
|
+
'pisell-saas-register-subtitle': string;
|
|
82
|
+
'pisell-saas-register-email-label': string;
|
|
83
|
+
'pisell-saas-register-email-placeholder': string;
|
|
84
|
+
'pisell-saas-register-email-error': string;
|
|
85
|
+
'pisell-saas-register-email-error-valid': string;
|
|
86
|
+
'pisell-saas-register-button': string;
|
|
87
|
+
'pisell-saas-register-login-text': string;
|
|
88
|
+
'pisell-saas-register-login-link-text': string;
|
|
89
|
+
'pisell-saas-register-failed-button-text': string;
|
|
90
|
+
'pisell-saas-register-failed-email-registered-title': string;
|
|
91
|
+
'pisell-saas-register-verify-email-title': string;
|
|
92
|
+
'pisell-saas-register-verify-email-subtitle': string;
|
|
93
|
+
'pisell-saas-register-resend-text': string;
|
|
94
|
+
'pisell-saas-register-resend-button-text': string;
|
|
95
|
+
'pisell-saas-register-verifying-email-title': string;
|
|
96
|
+
'pisell-saas-register-failed-link-expired-title': string;
|
|
97
|
+
'pisell-saas-register-failed-link-expired-subtitle': string;
|
|
98
|
+
'pisell-saas-register-failed-link-invalid-title': string;
|
|
99
|
+
'pisell-saas-register-failed-link-invalid-subtitle': string;
|
|
100
|
+
'pisell-saas-register-failed-link-email-registered-title': string;
|
|
101
|
+
'pisell-saas-register-failed-link-email-registered-subtitle': string;
|
|
102
|
+
'pisell-saas-register-failed-link-email-registered-button-text': string;
|
|
103
|
+
'pisell-saas-register-password-label': string;
|
|
104
|
+
'pisell-saas-register-password-placeholder': string;
|
|
105
|
+
'pisell-saas-register-password-required': string;
|
|
106
|
+
'pisell-saas-register-divider-text': string;
|
|
107
|
+
'pisell-saas-register-first-name-label': string;
|
|
108
|
+
'pisell-saas-register-first-name-placeholder': string;
|
|
109
|
+
'pisell-saas-register-last-name-label': string;
|
|
110
|
+
'pisell-saas-register-last-name-placeholder': string;
|
|
111
|
+
'pisell-saas-register-entry-info-title': string;
|
|
112
|
+
'pisell-saas-register-entry-info-subtitle': string;
|
|
113
|
+
'pisell-saas-register-entry-info-document-title': string;
|
|
114
|
+
'pisell-saas-register-entry-info-document-description': string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
export default _default;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
export declare enum SRStepStatus {
|
|
2
|
+
/** 邮箱已被注册 */
|
|
3
|
+
FAILED_EMAIL_REGISTERED = "failed_email_registered",
|
|
4
|
+
/** 链接过期 */
|
|
5
|
+
FAILED_LINK_EXPIRED = "failed_link_expired",
|
|
6
|
+
/** 链接无效 */
|
|
7
|
+
FAILED_LINK_INVALID = "failed_link_invalid",
|
|
8
|
+
/** 链接中邮箱已被注册 */
|
|
9
|
+
FAILED_LINK_EMAIL_REGISTERED = "failed_link_email_registered"
|
|
10
|
+
}
|
|
11
|
+
export declare enum SRStepKey {
|
|
12
|
+
/** 输入邮箱 */
|
|
13
|
+
ENTRY_EMAIL = "entry_email",
|
|
14
|
+
/** 邮箱等待验证 */
|
|
15
|
+
WAIT_VERIFY_EMAIL = "wait_verify_email",
|
|
16
|
+
/** 邮箱验证中 */
|
|
17
|
+
VERIFYING_EMAIL = "verifying_email",
|
|
18
|
+
/** 录入信息 */
|
|
19
|
+
ENTRY_INFO = "entry_info",
|
|
20
|
+
/** 验证失败 */
|
|
21
|
+
VERIFY_FAILED = "verify_failed"
|
|
22
|
+
}
|
|
23
|
+
export declare enum SRVerifyCode {
|
|
24
|
+
/** 成功 */
|
|
25
|
+
SUCCESS = 200,
|
|
26
|
+
/** 链接已过期 */
|
|
27
|
+
LINK_EXPIRED = 601000,
|
|
28
|
+
/** 邮箱已被注册 */
|
|
29
|
+
EMAIL_REGISTERED = 601001,
|
|
30
|
+
/** 链接无效 */
|
|
31
|
+
LINK_INVALID = 601002
|
|
32
|
+
}
|
|
33
|
+
export interface SRStep {
|
|
34
|
+
key: SRStepKey;
|
|
35
|
+
status?: SRStepStatus;
|
|
36
|
+
params?: {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export interface SRProps {
|
|
41
|
+
/** 是否显示Logo */
|
|
42
|
+
showLogo?: boolean;
|
|
43
|
+
/** Logo图片地址 */
|
|
44
|
+
logo?: string;
|
|
45
|
+
/** Logo位置 */
|
|
46
|
+
logoPosition?: 'left' | 'center' | 'right';
|
|
47
|
+
/** Logo尺寸 */
|
|
48
|
+
logoSize?: {
|
|
49
|
+
width?: number;
|
|
50
|
+
height?: number;
|
|
51
|
+
};
|
|
52
|
+
/** 是否显示欢迎语 */
|
|
53
|
+
showWelcomeMessage?: boolean;
|
|
54
|
+
/** 欢迎语 */
|
|
55
|
+
welcomeMessage?: string;
|
|
56
|
+
/** 欢迎语对齐方式 */
|
|
57
|
+
welcomeMessageAlign?: 'left' | 'center' | 'right';
|
|
58
|
+
/** 是否显示标题 */
|
|
59
|
+
showTitle?: boolean;
|
|
60
|
+
/** 标题 */
|
|
61
|
+
title?: string;
|
|
62
|
+
/** 标题对齐方式 */
|
|
63
|
+
titleAlign?: 'left' | 'center' | 'right';
|
|
64
|
+
/** 副标题 */
|
|
65
|
+
subtitle?: string;
|
|
66
|
+
/** 是否显示副标题 */
|
|
67
|
+
showSubtitle?: boolean;
|
|
68
|
+
/** 副标题对齐方式 */
|
|
69
|
+
subtitleAlign?: 'left' | 'center' | 'right';
|
|
70
|
+
/** 邮箱输入框标题 */
|
|
71
|
+
emailLabel?: string;
|
|
72
|
+
/** 邮箱输入框占位符 */
|
|
73
|
+
emailPlaceholder?: string;
|
|
74
|
+
/** 按钮文本 */
|
|
75
|
+
buttonText?: string;
|
|
76
|
+
/** 密码输入框标题 */
|
|
77
|
+
passwordLabel?: string;
|
|
78
|
+
/** 密码输入框占位符 */
|
|
79
|
+
passwordPlaceholder?: string;
|
|
80
|
+
/** 是否显示分割线 */
|
|
81
|
+
showDivider?: boolean;
|
|
82
|
+
/** 分割线文案 */
|
|
83
|
+
dividerText?: string;
|
|
84
|
+
/** 是否显示名字 */
|
|
85
|
+
showFirstName?: boolean;
|
|
86
|
+
/** 是否显示姓氏 */
|
|
87
|
+
showLastName?: boolean;
|
|
88
|
+
/** 是否显示去登录入口 */
|
|
89
|
+
showLogin?: boolean;
|
|
90
|
+
/** 去登录入口对齐方式 */
|
|
91
|
+
loginAlign?: 'left' | 'center' | 'right';
|
|
92
|
+
/** 是否显示去登录入口文本 */
|
|
93
|
+
showLoginText?: boolean;
|
|
94
|
+
/** 去登录入口文本 */
|
|
95
|
+
loginText?: string;
|
|
96
|
+
/** 是否显示去登录入口链接文本 */
|
|
97
|
+
showLoginLinkText?: boolean;
|
|
98
|
+
/** 去登录入口链接文本 */
|
|
99
|
+
loginLinkText?: string;
|
|
100
|
+
/** 邮箱验证回调 */
|
|
101
|
+
onVerifyEmail?: (email: string) => Promise<boolean>;
|
|
102
|
+
/** 重新发送验证码回调 */
|
|
103
|
+
onSendEmail?: (email: string) => Promise<void>;
|
|
104
|
+
/** 去登录入口点击回调 */
|
|
105
|
+
onGoLogin?: () => void;
|
|
106
|
+
/** 验证链接回调 */
|
|
107
|
+
onVerifyLink?: (emailToken: string) => Promise<{
|
|
108
|
+
code: number;
|
|
109
|
+
}>;
|
|
110
|
+
/** 信息录入回调 */
|
|
111
|
+
onEntryInfo?: (info: any) => Promise<void>;
|
|
112
|
+
/** step 变化回调 */
|
|
113
|
+
onStepChange?: (step: SRStep) => void;
|
|
114
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './transformBundleGroup';
|
|
2
|
+
export * from './transformOptionGroup';
|
|
3
|
+
export * from './transformVariantGroup';
|
|
4
|
+
export * from './calculateOption';
|
|
5
|
+
export * from './checkSkuStatus';
|
|
6
|
+
export * from './transformValueToSelectorValue';
|
|
7
|
+
export * from './transformSelectorValueToValue';
|
|
@@ -24,7 +24,9 @@ export var transformBundleGroup = function transformBundleGroup(bundleGroup) {
|
|
|
24
24
|
hasStock = _checkSkuStockCanSell.hasStock;
|
|
25
25
|
var disabled = checkSkuDisabled(bundleItem, canSell);
|
|
26
26
|
return {
|
|
27
|
-
_original: _objectSpread({}, bundleItem || {}),
|
|
27
|
+
_original: _objectSpread(_objectSpread({}, bundleItem || {}), {}, {
|
|
28
|
+
_bundle_product_id: bundleItem === null || bundleItem === void 0 ? void 0 : bundleItem.bundle_product_id
|
|
29
|
+
}),
|
|
28
30
|
// 渲染需要的数据源
|
|
29
31
|
id: bundleItem === null || bundleItem === void 0 ? void 0 : bundleItem.id,
|
|
30
32
|
title: (bundleItem === null || bundleItem === void 0 ? void 0 : bundleItem.title) || '',
|