@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,27 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.step.controller.step': (step: number) => string;
|
|
4
|
+
'pisell2.step.controller.sendEmail': string;
|
|
5
|
+
'pisell2.step.controller.copy': string;
|
|
6
|
+
'pisell2.step.controller.download': string;
|
|
7
|
+
'pisell2.step.controller.preview': string;
|
|
8
|
+
'pisell2.step.controller.continue': string;
|
|
9
|
+
};
|
|
10
|
+
'zh-CN': {
|
|
11
|
+
'pisell2.step.controller.step': (step: number) => string;
|
|
12
|
+
'pisell2.step.controller.sendEmail': string;
|
|
13
|
+
'pisell2.step.controller.copy': string;
|
|
14
|
+
'pisell2.step.controller.download': string;
|
|
15
|
+
'pisell2.step.controller.preview': string;
|
|
16
|
+
'pisell2.step.controller.continue': string;
|
|
17
|
+
};
|
|
18
|
+
'zh-HK': {
|
|
19
|
+
'pisell2.step.controller.step': (step: number) => string;
|
|
20
|
+
'pisell2.step.controller.sendEmail': string;
|
|
21
|
+
'pisell2.step.controller.copy': string;
|
|
22
|
+
'pisell2.step.controller.download': string;
|
|
23
|
+
'pisell2.step.controller.preview': string;
|
|
24
|
+
'pisell2.step.controller.continue': string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface Step {
|
|
3
|
+
key: string;
|
|
4
|
+
description: string;
|
|
5
|
+
}
|
|
6
|
+
export interface StepControllerProps extends Step {
|
|
7
|
+
steps: Step[];
|
|
8
|
+
currentStep: string;
|
|
9
|
+
isLastStep?: boolean;
|
|
10
|
+
isMobile?: boolean;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
onBack?: (key: string) => void;
|
|
13
|
+
onClose?: () => void;
|
|
14
|
+
confirmCloseProps?: {
|
|
15
|
+
isConfirmClose?: boolean;
|
|
16
|
+
title?: string;
|
|
17
|
+
content?: string;
|
|
18
|
+
okText?: string;
|
|
19
|
+
cancelText?: string;
|
|
20
|
+
};
|
|
21
|
+
showFooter?: boolean;
|
|
22
|
+
footerContent?: React.ReactNode;
|
|
23
|
+
}
|
|
@@ -37,6 +37,7 @@ var import_antd = require("antd");
|
|
|
37
37
|
var import_icons = require("@ant-design/icons");
|
|
38
38
|
var import_icon = require("@pisell/icon");
|
|
39
39
|
var import_utils = require("@pisell/utils");
|
|
40
|
+
var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
|
|
40
41
|
var getLocalizedText = (text, locale = "zh-CN") => {
|
|
41
42
|
if (typeof text === "string") {
|
|
42
43
|
return text;
|
|
@@ -66,9 +67,11 @@ var SectionList = ({
|
|
|
66
67
|
hasMore = false,
|
|
67
68
|
onLoadMore
|
|
68
69
|
}) => {
|
|
70
|
+
var _a, _b;
|
|
69
71
|
const scrollContainerRef = (0, import_react.useRef)(null);
|
|
70
72
|
const loadingRef = (0, import_react.useRef)(null);
|
|
71
|
-
const
|
|
73
|
+
const context = (0, import_useEngineContext.default)();
|
|
74
|
+
const currentLocale = ((_b = (_a = context == null ? void 0 : context.engine) == null ? void 0 : _a.props) == null ? void 0 : _b.locale) || localStorage.getItem("umi_locale") || "en";
|
|
72
75
|
const handleScroll = (0, import_react.useCallback)(() => {
|
|
73
76
|
if (!scrollContainerRef.current || !hasMore || loading || !onLoadMore) {
|
|
74
77
|
return;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface CardProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
4
|
+
layout: number;
|
|
5
|
+
}
|
|
6
|
+
declare const Card: React.FC<Partial<CardProps>>;
|
|
7
|
+
export default Card;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface TabProductProps {
|
|
4
|
+
list?: any[];
|
|
5
|
+
scrollDom?: string;
|
|
6
|
+
renderItem?: (item: any) => React.ReactNode;
|
|
7
|
+
rowKey?: string;
|
|
8
|
+
tabsWrapClassName?: string;
|
|
9
|
+
categoryWrapClassName?: string;
|
|
10
|
+
listWrapClassName?: string;
|
|
11
|
+
warpClassName?: string;
|
|
12
|
+
stickyTop?: number;
|
|
13
|
+
name?: string | number;
|
|
14
|
+
}
|
|
15
|
+
declare const TabProduct: (props: TabProductProps) => JSX.Element;
|
|
16
|
+
export default TabProduct;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface Com<T> extends React.FC<T> {
|
|
4
|
+
}
|
|
5
|
+
export declare type RowKey = string | number;
|
|
6
|
+
export interface Option {
|
|
7
|
+
id: number | string;
|
|
8
|
+
name: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export interface TabsProps extends Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'onChange'> {
|
|
11
|
+
renderTab: (item: any) => React.ReactNode;
|
|
12
|
+
rowKey: RowKey;
|
|
13
|
+
name: RowKey;
|
|
14
|
+
onChange: (key: RowKey, _item: any) => void;
|
|
15
|
+
tab: RowKey;
|
|
16
|
+
className: string;
|
|
17
|
+
tabsRef: any;
|
|
18
|
+
options: Option[];
|
|
19
|
+
}
|
|
20
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Partial<TabsProps>, "ref"> & React.RefAttributes<unknown>>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.tax-free': string;
|
|
4
|
+
'pisell2.text.custom': string;
|
|
5
|
+
'pisell2.text.cancel': string;
|
|
6
|
+
'pisell2.text.confirm': string;
|
|
7
|
+
'pisell2.text.please-enter': string;
|
|
8
|
+
};
|
|
9
|
+
'zh-CN': {
|
|
10
|
+
'pisell2.text.tax-free': string;
|
|
11
|
+
'pisell2.text.custom': string;
|
|
12
|
+
'pisell2.text.cancel': string;
|
|
13
|
+
'pisell2.text.confirm': string;
|
|
14
|
+
'pisell2.text.please-enter': string;
|
|
15
|
+
};
|
|
16
|
+
'zh-HK': {
|
|
17
|
+
'pisell2.text.tax-free': string;
|
|
18
|
+
'pisell2.text.custom': string;
|
|
19
|
+
'pisell2.text.cancel': string;
|
|
20
|
+
'pisell2.text.confirm': string;
|
|
21
|
+
'pisell2.text.please-enter': string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare const mockProduct: {
|
|
2
|
+
order_id: number;
|
|
3
|
+
shop_id: number;
|
|
4
|
+
product_id: number;
|
|
5
|
+
product_variant_id: number;
|
|
6
|
+
product_unique_string: string;
|
|
7
|
+
product_title: string;
|
|
8
|
+
product_cover: string;
|
|
9
|
+
product_sku: {
|
|
10
|
+
code: string;
|
|
11
|
+
name: string;
|
|
12
|
+
barcode: string;
|
|
13
|
+
sku_ids: string;
|
|
14
|
+
variant: never[];
|
|
15
|
+
variant_id: string;
|
|
16
|
+
generate_voucher: never[];
|
|
17
|
+
};
|
|
18
|
+
product_bundle: never[];
|
|
19
|
+
gift_card: number;
|
|
20
|
+
selling_price: string;
|
|
21
|
+
original_price: string;
|
|
22
|
+
cost_price: string;
|
|
23
|
+
product_quantity: number;
|
|
24
|
+
payment_price: string;
|
|
25
|
+
deposit_price: string;
|
|
26
|
+
tax_fee: string;
|
|
27
|
+
is_charge_tax: number;
|
|
28
|
+
refund_quantity: number;
|
|
29
|
+
refund_status: string;
|
|
30
|
+
shipping_status: string;
|
|
31
|
+
payment_status: string;
|
|
32
|
+
commission: number;
|
|
33
|
+
commission_tax: number;
|
|
34
|
+
rebate_type: string;
|
|
35
|
+
rebate_value: string;
|
|
36
|
+
commission_percent: string;
|
|
37
|
+
channel: string;
|
|
38
|
+
channel_id: number;
|
|
39
|
+
item_relation_id: number;
|
|
40
|
+
schedule_event_id: number;
|
|
41
|
+
note: string;
|
|
42
|
+
extension_type: string;
|
|
43
|
+
before_product_quantity: number;
|
|
44
|
+
remove_product_quantity: number;
|
|
45
|
+
deleted_at: null;
|
|
46
|
+
created_at: string;
|
|
47
|
+
updated_at: string;
|
|
48
|
+
order_detail_id: number;
|
|
49
|
+
product_option_string: string;
|
|
50
|
+
product_subtitle: string;
|
|
51
|
+
source_product_price: string;
|
|
52
|
+
discount_amount: number;
|
|
53
|
+
product_discount_reason: string;
|
|
54
|
+
discount_type: string;
|
|
55
|
+
discountway: string;
|
|
56
|
+
discount_per: string;
|
|
57
|
+
single_discount: null;
|
|
58
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum NetworkStatus {
|
|
2
|
+
GOOD = "GOOD",
|
|
3
|
+
WEAK = "WEAK",
|
|
4
|
+
OFFLINE = "OFFLINE"
|
|
5
|
+
}
|
|
6
|
+
export declare const NetworkStatusColor: {
|
|
7
|
+
GOOD: string;
|
|
8
|
+
WEAK: string;
|
|
9
|
+
OFFLINE: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const useNetworkStatus: () => NetworkStatus;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare class Store<T extends object> {
|
|
3
|
+
private state;
|
|
4
|
+
private listeners;
|
|
5
|
+
constructor(initialState: T);
|
|
6
|
+
getState(): T;
|
|
7
|
+
setState(partialState: Partial<T> | ((prevState: T) => Partial<T>), callback?: (state: T) => void): void;
|
|
8
|
+
subscribe(listener: () => void): () => void;
|
|
9
|
+
private notify;
|
|
10
|
+
getLatestState(): T;
|
|
11
|
+
}
|
|
12
|
+
interface ProviderProps<T extends object> {
|
|
13
|
+
store: Store<T>;
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare function Provider<T extends object>({ store, children, }: ProviderProps<T>): JSX.Element;
|
|
17
|
+
export declare function createStore<T extends object>(initialState: T): Store<T>;
|
|
18
|
+
export declare function useStore<T extends object>(): [
|
|
19
|
+
T,
|
|
20
|
+
(update: Partial<T> | ((prevState: T) => Partial<T>), callback?: (state: T) => void) => void
|
|
21
|
+
];
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { State, WalletListContextType } from './types';
|
|
3
|
+
export declare const initialState: State;
|
|
4
|
+
export declare const Context: React.Context<WalletListContextType>;
|
|
5
|
+
export declare const Provider: (Component: React.ComponentType<any>) => (props: any) => JSX.Element;
|
|
6
|
+
export * from './types';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface AppearanceProps {
|
|
4
|
+
color: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
size?: number;
|
|
8
|
+
fontSize?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const AppearanceShow: React.FC<AppearanceProps>;
|
|
11
|
+
export default AppearanceShow;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare type WorkspaceType = {
|
|
2
|
+
/** Workspace id */
|
|
3
|
+
id: number;
|
|
4
|
+
/** 租户id */
|
|
5
|
+
tenant_id: number;
|
|
6
|
+
/** Workspace名称 */
|
|
7
|
+
name: string;
|
|
8
|
+
/** Workspace首字母 */
|
|
9
|
+
letter: string;
|
|
10
|
+
/** 图标 */
|
|
11
|
+
icon: string;
|
|
12
|
+
/** 描述 */
|
|
13
|
+
description: string;
|
|
14
|
+
/** 创建时间 */
|
|
15
|
+
created_at: string;
|
|
16
|
+
/** 更新时间 */
|
|
17
|
+
updated_at: string;
|
|
18
|
+
/** 当前workspace下的base */
|
|
19
|
+
base?: BaseType[];
|
|
20
|
+
/** base count数量 */
|
|
21
|
+
base_count: number;
|
|
22
|
+
};
|
|
23
|
+
export declare type BaseType = {
|
|
24
|
+
/** base id */
|
|
25
|
+
id: number;
|
|
26
|
+
/** 租户 id */
|
|
27
|
+
tenant_id: number;
|
|
28
|
+
/** workspace id */
|
|
29
|
+
workspace_id: number;
|
|
30
|
+
/** 名称 */
|
|
31
|
+
name: string;
|
|
32
|
+
/** 图标 */
|
|
33
|
+
icon: string;
|
|
34
|
+
/** 颜色 */
|
|
35
|
+
color: string;
|
|
36
|
+
/** 描述 */
|
|
37
|
+
description: string;
|
|
38
|
+
/** 创建时间 */
|
|
39
|
+
updated_at: string;
|
|
40
|
+
/** 更新时间 */
|
|
41
|
+
created_at: string;
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function usePrefix(): string;
|
package/lib/index.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export { Login2, Register2, AuthModal } from './pro/Login2.0';
|
|
|
57
57
|
export { default as WalletEditor } from './plus/walletEditor';
|
|
58
58
|
export { default as WalletPassGallery } from './plus/walletPassGallery';
|
|
59
59
|
export { default as WalletPassDetail } from './plus/walletPassGallery/components/passDetail';
|
|
60
|
+
export { default as SettingsRegistry } from './components/systemSettings/registry';
|
|
60
61
|
export { default as SelectHolder } from './plus/selectHolder';
|
|
61
62
|
export { default as HolderList } from './plus/selectHolder/components/HolderList';
|
|
62
63
|
export { default as Selector } from './pro/Selector';
|
package/lib/index.js
CHANGED
|
@@ -86,6 +86,7 @@ __export(src_exports, {
|
|
|
86
86
|
Schedules: () => import_schedules.default,
|
|
87
87
|
SelectHolder: () => import_selectHolder2.default,
|
|
88
88
|
Selector: () => import_Selector.default,
|
|
89
|
+
SettingsRegistry: () => import_registry.default,
|
|
89
90
|
ShoppingCart: () => import_shoppingCart.default,
|
|
90
91
|
StepController: () => import_stepController.default,
|
|
91
92
|
SubTotal: () => import_subTotal.default,
|
|
@@ -162,6 +163,7 @@ var import_Login2 = require("./pro/Login2.0");
|
|
|
162
163
|
var import_walletEditor = __toESM(require("./plus/walletEditor"));
|
|
163
164
|
var import_walletPassGallery = __toESM(require("./plus/walletPassGallery"));
|
|
164
165
|
var import_passDetail = __toESM(require("./plus/walletPassGallery/components/passDetail"));
|
|
166
|
+
var import_registry = __toESM(require("./components/systemSettings/registry"));
|
|
165
167
|
var import_selectHolder2 = __toESM(require("./plus/selectHolder"));
|
|
166
168
|
var import_HolderList = __toESM(require("./plus/selectHolder/components/HolderList"));
|
|
167
169
|
var import_Selector = __toESM(require("./pro/Selector"));
|
|
@@ -227,6 +229,7 @@ import_dayjs.default.extend(import_localeData.default);
|
|
|
227
229
|
Schedules,
|
|
228
230
|
SelectHolder,
|
|
229
231
|
Selector,
|
|
232
|
+
SettingsRegistry,
|
|
230
233
|
ShoppingCart,
|
|
231
234
|
StepController,
|
|
232
235
|
SubTotal,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './CategorySkeleton.less';
|
|
3
|
+
interface CategorySkeletonProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
tabCount?: number;
|
|
7
|
+
animated?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const CategorySkeleton: React.FC<CategorySkeletonProps>;
|
|
10
|
+
export default CategorySkeleton;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface GridConfig {
|
|
3
|
+
grid: boolean;
|
|
4
|
+
config: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const parseGridConfig: (config: string) => number[];
|
|
7
|
+
export declare const createGridComponents: (layout?: GridConfig | null) => {
|
|
8
|
+
List: React.MemoExoticComponent<({ children, ...props }: any) => JSX.Element>;
|
|
9
|
+
Item: React.MemoExoticComponent<({ children, index, item, ...props }: any) => JSX.Element>;
|
|
10
|
+
};
|
|
11
|
+
export declare const GRID_LAYOUTS: {
|
|
12
|
+
readonly SINGLE_COLUMN: {
|
|
13
|
+
readonly grid: false;
|
|
14
|
+
readonly config: "12";
|
|
15
|
+
};
|
|
16
|
+
readonly TWO_COLUMNS: {
|
|
17
|
+
readonly grid: true;
|
|
18
|
+
readonly config: "12:12";
|
|
19
|
+
};
|
|
20
|
+
readonly THREE_COLUMNS: {
|
|
21
|
+
readonly grid: true;
|
|
22
|
+
readonly config: "8:8:8";
|
|
23
|
+
};
|
|
24
|
+
readonly FOUR_COLUMNS: {
|
|
25
|
+
readonly grid: true;
|
|
26
|
+
readonly config: "6:6:6:6";
|
|
27
|
+
};
|
|
28
|
+
readonly UNEQUAL_TWO: {
|
|
29
|
+
readonly grid: true;
|
|
30
|
+
readonly config: "8:16";
|
|
31
|
+
};
|
|
32
|
+
readonly UNEQUAL_THREE: {
|
|
33
|
+
readonly grid: true;
|
|
34
|
+
readonly config: "6:12:6";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export declare const createTwoColumnGrid: () => {
|
|
38
|
+
List: React.MemoExoticComponent<({ children, ...props }: any) => JSX.Element>;
|
|
39
|
+
Item: React.MemoExoticComponent<({ children, index, item, ...props }: any) => JSX.Element>;
|
|
40
|
+
};
|
|
41
|
+
export declare const createCustomGrid: (config: string) => {
|
|
42
|
+
List: React.MemoExoticComponent<({ children, ...props }: any) => JSX.Element>;
|
|
43
|
+
Item: React.MemoExoticComponent<({ children, index, item, ...props }: any) => JSX.Element>;
|
|
44
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
data: any[];
|
|
6
|
+
context: {
|
|
7
|
+
onItemIntersectionIn: (item: any) => void;
|
|
8
|
+
onItemIntersectionOut: (item: any) => void;
|
|
9
|
+
};
|
|
10
|
+
customScrollParent?: Element | null;
|
|
11
|
+
components?: {
|
|
12
|
+
List?: React.ComponentType<any>;
|
|
13
|
+
Item?: React.ComponentType<any>;
|
|
14
|
+
[key: string]: React.ComponentType<any> | undefined;
|
|
15
|
+
};
|
|
16
|
+
itemContent?: (index: number, data: any, context: any) => React.ReactNode;
|
|
17
|
+
itemSkeleton?: React.ReactNode;
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}
|
|
20
|
+
declare const ProductList: React.ForwardRefExoticComponent<Omit<IProps, "ref"> & React.RefAttributes<any>>;
|
|
21
|
+
export default ProductList;
|
|
22
|
+
export { createGridComponents, createTwoColumnGrid, createCustomGrid, GRID_LAYOUTS, type GridConfig, } from './gridComponents';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ReactNode, CSSProperties } from 'react';
|
|
3
|
+
declare global {
|
|
4
|
+
interface Window {
|
|
5
|
+
IntersectionObserver: typeof IntersectionObserver;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface IntersectionObserverContextValue {
|
|
9
|
+
initialized: boolean;
|
|
10
|
+
register: (params: {
|
|
11
|
+
ref: React.RefObject<HTMLElement>;
|
|
12
|
+
callback: (entry: IntersectionObserverEntry) => void;
|
|
13
|
+
}) => void;
|
|
14
|
+
unregister: (params: {
|
|
15
|
+
ref: React.RefObject<HTMLElement>;
|
|
16
|
+
}) => void;
|
|
17
|
+
}
|
|
18
|
+
declare type PriorityMode = 'top' | 'bottom' | 'left' | 'right' | undefined;
|
|
19
|
+
interface IntersectionObserverProps {
|
|
20
|
+
children: ReactNode;
|
|
21
|
+
root?: Element | null;
|
|
22
|
+
rootMargin?: string;
|
|
23
|
+
threshold?: number | number[];
|
|
24
|
+
priorityMode?: PriorityMode;
|
|
25
|
+
}
|
|
26
|
+
interface IntersectionTriggerOptions {
|
|
27
|
+
once?: boolean;
|
|
28
|
+
onHide?: (cleanup: () => void) => void;
|
|
29
|
+
onShow?: (cleanup: () => void) => void;
|
|
30
|
+
}
|
|
31
|
+
interface IntersectionTriggerProps extends IntersectionTriggerOptions {
|
|
32
|
+
children?: ReactNode;
|
|
33
|
+
className?: string;
|
|
34
|
+
style?: CSSProperties;
|
|
35
|
+
}
|
|
36
|
+
declare const IntersectionObserverContext: React.Context<IntersectionObserverContextValue>;
|
|
37
|
+
declare const Consumer: React.Consumer<IntersectionObserverContextValue>;
|
|
38
|
+
export declare const IntersectionObserverProvider: React.FC<IntersectionObserverProps>;
|
|
39
|
+
export declare const IntersectionTrigger: React.FC<IntersectionTriggerProps>;
|
|
40
|
+
export type { IntersectionObserverProps, IntersectionTriggerProps, IntersectionTriggerOptions, IntersectionObserverContextValue, PriorityMode, };
|
|
41
|
+
export { IntersectionObserverContext, Consumer as IntersectionObserverConsumer, };
|
|
42
|
+
export default IntersectionObserverProvider;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface UseSelectionIndicatorReturn {
|
|
3
|
+
selectionIndicatorProps: {
|
|
4
|
+
focusRingClasses: string;
|
|
5
|
+
isFocusVisible: boolean;
|
|
6
|
+
style: React.CSSProperties;
|
|
7
|
+
};
|
|
8
|
+
listContainerProps: {
|
|
9
|
+
onFocus: (event: React.FocusEvent) => void;
|
|
10
|
+
onBlur: () => void;
|
|
11
|
+
onMouseDown: () => void;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Hook for managing selection indicator position with enhanced features
|
|
16
|
+
* @param containerRef - Ref to the tab container
|
|
17
|
+
* @param selectedTabId - ID of the currently selected tab (optional)
|
|
18
|
+
* @param transition - Custom transition string (optional)
|
|
19
|
+
* @returns Selection indicator props and list container props
|
|
20
|
+
*/
|
|
21
|
+
export declare function useSelectionIndicator(containerRef: React.RefObject<HTMLElement>, selectedTabId?: string, transition?: string): UseSelectionIndicatorReturn;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as TabsStructure, TabListContainer, TabItem, Rail, SelectionIndicator, ScrollShadow, ChevronControls, ChevronButton } from './TabsStructure';
|
|
2
|
+
export type { TabsStructureProps, TabListContainerProps, TabItemProps, RailProps, SelectionIndicatorProps, ScrollShadowProps, ChevronControlsProps, ChevronButtonProps, TabContextValue, ScrollLocation, TabWrapperClasses, TabListClasses, TabItemClasses, RailClasses, SelectionClasses, ShadowClasses, ChevronClasses, } from './types';
|
|
3
|
+
export { tabWrapperClasses, tabListClasses, tabItemClasses, railClasses, selectionClasses, shadowClasses, chevronClasses, chevronButtonClasses, tabWrapperClassNames, tabListClassNames, tabItemClassNames, railClassNames, selectionClassNames, shadowClassNames, chevronClassNames } from './styles';
|
|
4
|
+
export { debounce, mergeRefs } from './utils';
|
|
5
|
+
export { useSelectionIndicator, } from './hooks';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CSS Classes mapping for TabComponent
|
|
3
|
+
*/
|
|
4
|
+
import { TabWrapperClasses, TabListClasses, TabItemClasses, RailClasses, SelectionClasses, ShadowClasses, ChevronClasses } from './types';
|
|
5
|
+
export declare const tabWrapperClasses: TabWrapperClasses;
|
|
6
|
+
export declare const tabListClasses: TabListClasses;
|
|
7
|
+
export declare const tabItemClasses: TabItemClasses;
|
|
8
|
+
export declare const railClasses: RailClasses;
|
|
9
|
+
export declare const selectionClasses: SelectionClasses;
|
|
10
|
+
export declare const shadowClasses: ShadowClasses;
|
|
11
|
+
export declare const chevronClasses: ChevronClasses;
|
|
12
|
+
export declare const chevronButtonClasses: {
|
|
13
|
+
button: string;
|
|
14
|
+
disabled: string;
|
|
15
|
+
prev: string;
|
|
16
|
+
next: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const tabWrapperClassNames: {
|
|
19
|
+
wrapper: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const tabListClassNames: {
|
|
22
|
+
list: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const tabItemClassNames: {
|
|
25
|
+
item: string;
|
|
26
|
+
selected: string;
|
|
27
|
+
disabled: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const railClassNames: {
|
|
30
|
+
rail: string;
|
|
31
|
+
};
|
|
32
|
+
export declare const selectionClassNames: {
|
|
33
|
+
selection: string;
|
|
34
|
+
position: string;
|
|
35
|
+
focused: string;
|
|
36
|
+
};
|
|
37
|
+
export declare const shadowClassNames: {
|
|
38
|
+
shadow: string;
|
|
39
|
+
isVisible: string;
|
|
40
|
+
locationStart: string;
|
|
41
|
+
locationEnd: string;
|
|
42
|
+
};
|
|
43
|
+
export declare const chevronClassNames: {
|
|
44
|
+
controls: string;
|
|
45
|
+
button: string;
|
|
46
|
+
disabled: string;
|
|
47
|
+
};
|