@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,48 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.product-extension.please-select': string;
|
|
4
|
+
'pisell2.text.product-extension.cut-off-time': string;
|
|
5
|
+
'pisell2.text.product-extension.cut-off-time.desc': string;
|
|
6
|
+
'pisell2.text.product-extension.future-day': string;
|
|
7
|
+
'pisell2.text.product-extension.future-day.hint': string;
|
|
8
|
+
'pisell2.text.product-extension.days': string;
|
|
9
|
+
'pisell2.text.product-extension.hours': string;
|
|
10
|
+
'pisell2.text.product-extension.minutes': string;
|
|
11
|
+
'pisell2.text.product-extension.add-product': string;
|
|
12
|
+
'pisell2.text.product-extension.add-other-product': string;
|
|
13
|
+
'pisell2.text.product-extension.resource-type': string;
|
|
14
|
+
'pisell2.text.product-extension.open': string;
|
|
15
|
+
'pisell2.text.product-extension.options': string;
|
|
16
|
+
};
|
|
17
|
+
'zh-CN': {
|
|
18
|
+
'pisell2.text.product-extension.please-select': string;
|
|
19
|
+
'pisell2.text.product-extension.cut-off-time': string;
|
|
20
|
+
'pisell2.text.product-extension.cut-off-time.desc': string;
|
|
21
|
+
'pisell2.text.product-extension.future-day': string;
|
|
22
|
+
'pisell2.text.product-extension.future-day.hint': string;
|
|
23
|
+
'pisell2.text.product-extension.days': string;
|
|
24
|
+
'pisell2.text.product-extension.hours': string;
|
|
25
|
+
'pisell2.text.product-extension.minutes': string;
|
|
26
|
+
'pisell2.text.product-extension.add-product': string;
|
|
27
|
+
'pisell2.text.product-extension.add-other-product': string;
|
|
28
|
+
'pisell2.text.product-extension.resource-type': string;
|
|
29
|
+
'pisell2.text.product-extension.open': string;
|
|
30
|
+
'pisell2.text.product-extension.options': string;
|
|
31
|
+
};
|
|
32
|
+
'zh-HK': {
|
|
33
|
+
'pisell2.text.product-extension.please-select': string;
|
|
34
|
+
'pisell2.text.product-extension.cut-off-time': string;
|
|
35
|
+
'pisell2.text.product-extension.cut-off-time.desc': string;
|
|
36
|
+
'pisell2.text.product-extension.future-day': string;
|
|
37
|
+
'pisell2.text.product-extension.future-day.hint': string;
|
|
38
|
+
'pisell2.text.product-extension.days': string;
|
|
39
|
+
'pisell2.text.product-extension.hours': string;
|
|
40
|
+
'pisell2.text.product-extension.minutes': string;
|
|
41
|
+
'pisell2.text.product-extension.add-product': string;
|
|
42
|
+
'pisell2.text.product-extension.add-other-product': string;
|
|
43
|
+
'pisell2.text.product-extension.resource-type': string;
|
|
44
|
+
'pisell2.text.product-extension.open': string;
|
|
45
|
+
'pisell2.text.product-extension.options': string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export default _default;
|
|
@@ -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,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,134 @@
|
|
|
1
|
+
declare const products: {
|
|
2
|
+
id: number;
|
|
3
|
+
extension_id: number;
|
|
4
|
+
extension_type: string;
|
|
5
|
+
shop_id: number;
|
|
6
|
+
title: string;
|
|
7
|
+
slug: string;
|
|
8
|
+
status: string;
|
|
9
|
+
stock_quantity: number;
|
|
10
|
+
sales_quantity: number;
|
|
11
|
+
sum_stock: number;
|
|
12
|
+
price: string;
|
|
13
|
+
original_price: string;
|
|
14
|
+
cost_price: string;
|
|
15
|
+
cover: string;
|
|
16
|
+
channel_application: string[];
|
|
17
|
+
is_track: number;
|
|
18
|
+
over_sold: number;
|
|
19
|
+
is_gst: number;
|
|
20
|
+
code: string;
|
|
21
|
+
barcode: string;
|
|
22
|
+
is_delivery: number;
|
|
23
|
+
weight_unit: string;
|
|
24
|
+
weight_value: string;
|
|
25
|
+
type: string;
|
|
26
|
+
unit: string;
|
|
27
|
+
sort: number;
|
|
28
|
+
bundle_group_count: number;
|
|
29
|
+
option_group_count: number;
|
|
30
|
+
is_variant: number;
|
|
31
|
+
variant_count: number;
|
|
32
|
+
cut_off_time: {
|
|
33
|
+
unit: number;
|
|
34
|
+
unit_type: string;
|
|
35
|
+
future_day: number;
|
|
36
|
+
type: string;
|
|
37
|
+
ongoing: {
|
|
38
|
+
type: string;
|
|
39
|
+
unit: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
policy: number;
|
|
43
|
+
machine_code: {
|
|
44
|
+
make_over: number;
|
|
45
|
+
beforehand: number;
|
|
46
|
+
limit_count: number;
|
|
47
|
+
customer: number;
|
|
48
|
+
send_action: string;
|
|
49
|
+
hide_recharge: number;
|
|
50
|
+
distributor_automatic: number;
|
|
51
|
+
};
|
|
52
|
+
duration: {
|
|
53
|
+
type: string;
|
|
54
|
+
value: number;
|
|
55
|
+
};
|
|
56
|
+
product_resource: {
|
|
57
|
+
resources: ({
|
|
58
|
+
id: number;
|
|
59
|
+
title: string;
|
|
60
|
+
status: number;
|
|
61
|
+
code: string;
|
|
62
|
+
created_at: string;
|
|
63
|
+
updated_at: string;
|
|
64
|
+
type: string;
|
|
65
|
+
optional_resource: number[];
|
|
66
|
+
default_resource: never[];
|
|
67
|
+
select_type: {
|
|
68
|
+
type: string;
|
|
69
|
+
min: number;
|
|
70
|
+
max: number;
|
|
71
|
+
};
|
|
72
|
+
resource_type_id: number;
|
|
73
|
+
} | {
|
|
74
|
+
id: number;
|
|
75
|
+
title: string;
|
|
76
|
+
status: number;
|
|
77
|
+
code: string;
|
|
78
|
+
created_at: string;
|
|
79
|
+
updated_at: null;
|
|
80
|
+
type: string;
|
|
81
|
+
optional_resource: never[];
|
|
82
|
+
default_resource: never[];
|
|
83
|
+
select_type: {
|
|
84
|
+
type: string;
|
|
85
|
+
min: number;
|
|
86
|
+
max: number;
|
|
87
|
+
};
|
|
88
|
+
resource_type_id: number;
|
|
89
|
+
})[];
|
|
90
|
+
};
|
|
91
|
+
capacity: {
|
|
92
|
+
type: string;
|
|
93
|
+
custom: {
|
|
94
|
+
name: {
|
|
95
|
+
en: string;
|
|
96
|
+
"zh-CN": string;
|
|
97
|
+
"zh-HK": string;
|
|
98
|
+
original: string;
|
|
99
|
+
};
|
|
100
|
+
min: number;
|
|
101
|
+
max: number;
|
|
102
|
+
id: string;
|
|
103
|
+
}[];
|
|
104
|
+
package: never[];
|
|
105
|
+
};
|
|
106
|
+
product_display_setting: {
|
|
107
|
+
kiosk: {
|
|
108
|
+
use_display_mode: number;
|
|
109
|
+
product_option_mode: null;
|
|
110
|
+
product_option_mode_paging: null;
|
|
111
|
+
product_bundle_mode: null;
|
|
112
|
+
product_bundle_mode_paging: null;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
shelf_product_datas: never[];
|
|
116
|
+
step_value: number;
|
|
117
|
+
min_num_unit: number;
|
|
118
|
+
is_charge_tax: number;
|
|
119
|
+
base_price: string;
|
|
120
|
+
variant: never[];
|
|
121
|
+
category: {
|
|
122
|
+
id: number;
|
|
123
|
+
name: string;
|
|
124
|
+
icon: string;
|
|
125
|
+
slug: string;
|
|
126
|
+
sort: number;
|
|
127
|
+
}[];
|
|
128
|
+
collection: {
|
|
129
|
+
id: number;
|
|
130
|
+
title: string;
|
|
131
|
+
cover: string;
|
|
132
|
+
}[];
|
|
133
|
+
}[];
|
|
134
|
+
export default products;
|
|
@@ -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 @@
|
|
|
1
|
+
export declare const getTimeRange: (array: any) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import './index.less';
|
|
2
|
+
import { ScheduleItem } from '../../../type';
|
|
3
|
+
declare type Item = any;
|
|
4
|
+
interface RenderScheduleItemProps {
|
|
5
|
+
item?: Item;
|
|
6
|
+
onItemClick?: (item: ScheduleItem) => void;
|
|
7
|
+
onDelete?: (item: ScheduleItem) => void;
|
|
8
|
+
showDeleteIcon?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const RenderScheduleItem: ({ item, onItemClick, onDelete, showDeleteIcon, }: RenderScheduleItemProps) => JSX.Element;
|
|
11
|
+
export default RenderScheduleItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const scheduleApps: string[];
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.schedules.all-day': string;
|
|
4
|
+
'pisell2.text.schedules.save': string;
|
|
5
|
+
'pisell2.text.schedules.delete-schedules-text1': string;
|
|
6
|
+
'pisell2.text.schedules.delete-schedules-text2': string;
|
|
7
|
+
'pisell2.text.schedules.delete-schedules-text3': string;
|
|
8
|
+
'pisell2.text.schedules.add': string;
|
|
9
|
+
'pisell2.text.schedules.edit-schedule': string;
|
|
10
|
+
'pisell2.text.schedules.products-title': string;
|
|
11
|
+
'pisell2.text.schedules.schedules-title': string;
|
|
12
|
+
'pisell2.text.schedules.resources-title': string;
|
|
13
|
+
'pisell2.text.schedules.open-hours-title': string;
|
|
14
|
+
'pisell2.text.schedules.cancel': string;
|
|
15
|
+
'pisell2.text.products.no-current-schedule': string;
|
|
16
|
+
'pisell2.text.schedules.save-success': string;
|
|
17
|
+
'pisell2.text.schedules.no-schedules': string;
|
|
18
|
+
'pisell2.text.schedules.assign-schedule': string;
|
|
19
|
+
'pisell2.text.schedules.max-participants': string;
|
|
20
|
+
'pisell2.text.products.edit-resource-message': string;
|
|
21
|
+
'pisell2.text.products.no-products': string;
|
|
22
|
+
'pisell2.text.products.no-resources': string;
|
|
23
|
+
'pisell2.text.products.unsaved-title': string;
|
|
24
|
+
'pisell2.text.products.unsaved-content': string;
|
|
25
|
+
'pisell2.text.products.unsaved-back': string;
|
|
26
|
+
'pisell2.text.products.unsaved-yes': string;
|
|
27
|
+
'pisell2.text.products.max-participants-error': string;
|
|
28
|
+
'pisell2.text.schedules.create-new-schedule': string;
|
|
29
|
+
};
|
|
30
|
+
'zh-CN': {
|
|
31
|
+
'pisell2.text.schedules.all-day': string;
|
|
32
|
+
'pisell2.text.schedules.save': string;
|
|
33
|
+
'pisell2.text.schedules.delete-schedules-text1': string;
|
|
34
|
+
'pisell2.text.schedules.delete-schedules-text2': string;
|
|
35
|
+
'pisell2.text.schedules.delete-schedules-text3': string;
|
|
36
|
+
'pisell2.text.schedules.add': string;
|
|
37
|
+
'pisell2.text.schedules.edit-schedule': string;
|
|
38
|
+
'pisell2.text.schedules.products-title': string;
|
|
39
|
+
'pisell2.text.schedules.schedules-title': string;
|
|
40
|
+
'pisell2.text.schedules.resources-title': string;
|
|
41
|
+
'pisell2.text.schedules.open-hours-title': string;
|
|
42
|
+
'pisell2.text.schedules.cancel': string;
|
|
43
|
+
'pisell2.text.products.no-current-schedule': string;
|
|
44
|
+
'pisell2.text.schedules.save-success': string;
|
|
45
|
+
'pisell2.text.schedules.no-schedules': string;
|
|
46
|
+
'pisell2.text.schedules.assign-schedule': string;
|
|
47
|
+
'pisell2.text.schedules.max-participants': string;
|
|
48
|
+
'pisell2.text.products.edit-resource-message': string;
|
|
49
|
+
'pisell2.text.products.no-products': string;
|
|
50
|
+
'pisell2.text.products.no-resources': string;
|
|
51
|
+
'pisell2.text.products.unsaved-title': string;
|
|
52
|
+
'pisell2.text.products.unsaved-content': string;
|
|
53
|
+
'pisell2.text.products.unsaved-back': string;
|
|
54
|
+
'pisell2.text.products.unsaved-yes': string;
|
|
55
|
+
'pisell2.text.products.max-participants-error': string;
|
|
56
|
+
'pisell2.text.schedules.create-new-schedule': string;
|
|
57
|
+
};
|
|
58
|
+
'zh-HK': {
|
|
59
|
+
'pisell2.text.schedules.all-day': string;
|
|
60
|
+
'pisell2.text.schedules.save': string;
|
|
61
|
+
'pisell2.text.schedules.delete-schedules-text1': string;
|
|
62
|
+
'pisell2.text.schedules.delete-schedules-text2': string;
|
|
63
|
+
'pisell2.text.schedules.delete-schedules-text3': string;
|
|
64
|
+
'pisell2.text.schedules.add': string;
|
|
65
|
+
'pisell2.text.schedules.edit-schedule': string;
|
|
66
|
+
'pisell2.text.schedules.products-title': string;
|
|
67
|
+
'pisell2.text.schedules.schedules-title': string;
|
|
68
|
+
'pisell2.text.schedules.resources-title': string;
|
|
69
|
+
'pisell2.text.schedules.open-hours-title': string;
|
|
70
|
+
'pisell2.text.schedules.cancel': string;
|
|
71
|
+
'pisell2.text.products.no-current-schedule': string;
|
|
72
|
+
'pisell2.text.schedules.save-success': string;
|
|
73
|
+
'pisell2.text.schedules.no-schedules': string;
|
|
74
|
+
'pisell2.text.schedules.assign-schedule': string;
|
|
75
|
+
'pisell2.text.schedules.max-participants': string;
|
|
76
|
+
'pisell2.text.products.edit-resource-message': string;
|
|
77
|
+
'pisell2.text.products.no-products': string;
|
|
78
|
+
'pisell2.text.products.no-resources': string;
|
|
79
|
+
'pisell2.text.products.unsaved-title': string;
|
|
80
|
+
'pisell2.text.products.unsaved-content': string;
|
|
81
|
+
'pisell2.text.products.unsaved-back': string;
|
|
82
|
+
'pisell2.text.products.unsaved-yes': string;
|
|
83
|
+
'pisell2.text.products.max-participants-error': string;
|
|
84
|
+
'pisell2.text.schedules.create-new-schedule': string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
export default _default;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
export declare type ScheduleItem = {
|
|
2
|
+
/** 颜色 */
|
|
3
|
+
color: string;
|
|
4
|
+
/** 创建时间 */
|
|
5
|
+
created_at: string;
|
|
6
|
+
/** 更新时间 */
|
|
7
|
+
updated_at: string;
|
|
8
|
+
/** 开始时间 */
|
|
9
|
+
start_time: string;
|
|
10
|
+
/** 结束时间 */
|
|
11
|
+
end_time: string;
|
|
12
|
+
/** 日程名称 */
|
|
13
|
+
name: string;
|
|
14
|
+
/** 关联订单 */
|
|
15
|
+
order_count: number;
|
|
16
|
+
/** 关联项目数据*/
|
|
17
|
+
relation_count: number;
|
|
18
|
+
repeat_rule: {
|
|
19
|
+
end: {
|
|
20
|
+
/** 截止类型 */
|
|
21
|
+
type: "date" | "never";
|
|
22
|
+
/** 结束时间 */
|
|
23
|
+
end_date: string | null;
|
|
24
|
+
occurrence: any | null;
|
|
25
|
+
};
|
|
26
|
+
frequency: number;
|
|
27
|
+
excluded_date: ExcIncDate[];
|
|
28
|
+
included_date: ExcIncDate[];
|
|
29
|
+
frequency_date: number[];
|
|
30
|
+
};
|
|
31
|
+
repeat_type: "daily" | "none" | "weekly";
|
|
32
|
+
/** 日程类型
|
|
33
|
+
* standard: 标准日程
|
|
34
|
+
* time-slots: 时间段日程
|
|
35
|
+
* designation: 指定日期日程
|
|
36
|
+
* */
|
|
37
|
+
type: "standard" | "time-slots" | "designation";
|
|
38
|
+
conflict?: boolean;
|
|
39
|
+
time_slot: {
|
|
40
|
+
start_time: string;
|
|
41
|
+
end_time: string;
|
|
42
|
+
id: number;
|
|
43
|
+
}[];
|
|
44
|
+
id: number;
|
|
45
|
+
/** 指定的开始时间结束时间 */
|
|
46
|
+
designation: {
|
|
47
|
+
start_date: string;
|
|
48
|
+
end_date: string;
|
|
49
|
+
start_time: string;
|
|
50
|
+
end_time: string;
|
|
51
|
+
} | {
|
|
52
|
+
start_date: string;
|
|
53
|
+
end_date: string;
|
|
54
|
+
start_time: string;
|
|
55
|
+
end_time: string;
|
|
56
|
+
}[];
|
|
57
|
+
/** 是否全天 */
|
|
58
|
+
is_all: 1 | 0;
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
relation?: {
|
|
61
|
+
id: number;
|
|
62
|
+
item_id: number;
|
|
63
|
+
item_type: string;
|
|
64
|
+
relation_table_type: string;
|
|
65
|
+
schedule_id: number;
|
|
66
|
+
}[];
|
|
67
|
+
};
|
|
68
|
+
export declare type ScheduleFormOtherValue = {
|
|
69
|
+
/** 截止模式
|
|
70
|
+
* 1: 永不截止
|
|
71
|
+
* 2: 按日期截止
|
|
72
|
+
* */
|
|
73
|
+
endRadio: 1 | 2;
|
|
74
|
+
/** 是否为全天 */
|
|
75
|
+
isAllDay: boolean;
|
|
76
|
+
/** 是否开启排除日期 */
|
|
77
|
+
excludedStatus: boolean;
|
|
78
|
+
/** 是否包含排除日期 */
|
|
79
|
+
includeStatus: boolean;
|
|
80
|
+
type: "standard" | "time-slots" | "designation";
|
|
81
|
+
};
|
|
82
|
+
export declare type ExcIncDate = {
|
|
83
|
+
start: string;
|
|
84
|
+
end: string;
|
|
85
|
+
};
|
|
86
|
+
export declare type ScheduleFormData = {
|
|
87
|
+
/** 颜色 */
|
|
88
|
+
color: string;
|
|
89
|
+
/** 日程名称 */
|
|
90
|
+
name: {
|
|
91
|
+
en: string;
|
|
92
|
+
"zh-CN": string;
|
|
93
|
+
"zh-HK": string;
|
|
94
|
+
original: string;
|
|
95
|
+
} | string;
|
|
96
|
+
/** 重复模式
|
|
97
|
+
* 0:不重复
|
|
98
|
+
* 1:按天重复
|
|
99
|
+
* 2:按周重复 */
|
|
100
|
+
repeat_type: "0" | "1" | "2";
|
|
101
|
+
/** 备注 */
|
|
102
|
+
note: string;
|
|
103
|
+
/** 指定的开始时间结束时间 */
|
|
104
|
+
designation: {
|
|
105
|
+
start_date: string;
|
|
106
|
+
end_date: string;
|
|
107
|
+
start_time: string;
|
|
108
|
+
end_time: string;
|
|
109
|
+
} | {
|
|
110
|
+
start_date: string;
|
|
111
|
+
end_date: string;
|
|
112
|
+
start_time: string;
|
|
113
|
+
end_time: string;
|
|
114
|
+
}[];
|
|
115
|
+
time_slot: {
|
|
116
|
+
start_time: string;
|
|
117
|
+
end_time: string;
|
|
118
|
+
id: number;
|
|
119
|
+
}[];
|
|
120
|
+
/** 重复频率 */
|
|
121
|
+
frequency: number;
|
|
122
|
+
/** 按周重复时选择的周数据 */
|
|
123
|
+
frequency_date: number[];
|
|
124
|
+
/** 截止日期 */
|
|
125
|
+
end_date: string;
|
|
126
|
+
/** 排除的日期范围 */
|
|
127
|
+
excluded_date: ExcIncDate[];
|
|
128
|
+
/** 包含的日期范围 */
|
|
129
|
+
included_date: ExcIncDate[];
|
|
130
|
+
/** 多时间段的开始时间 */
|
|
131
|
+
start_time: any;
|
|
132
|
+
end_time: any;
|
|
133
|
+
};
|
|
134
|
+
export declare type CalendarDataItem = {
|
|
135
|
+
date: string;
|
|
136
|
+
color: string[];
|
|
137
|
+
isExcluded: boolean;
|
|
138
|
+
schedule_ids?: number[];
|
|
139
|
+
[key: string]: any;
|
|
140
|
+
};
|
|
141
|
+
export declare type RequestData<Data> = {
|
|
142
|
+
data: Data;
|
|
143
|
+
status: boolean;
|
|
144
|
+
message: string;
|
|
145
|
+
code: number;
|
|
146
|
+
};
|
|
147
|
+
export declare type ResponseListData<Data> = {
|
|
148
|
+
status: boolean;
|
|
149
|
+
message: string;
|
|
150
|
+
code: number;
|
|
151
|
+
data: {
|
|
152
|
+
list: Data;
|
|
153
|
+
count: number;
|
|
154
|
+
size: number;
|
|
155
|
+
skip: number;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const holder: {
|
|
2
|
+
key: number;
|
|
3
|
+
label: string;
|
|
4
|
+
tip: string;
|
|
5
|
+
img: string;
|
|
6
|
+
}[];
|
|
7
|
+
export declare const products: ({
|
|
8
|
+
id: number;
|
|
9
|
+
title: string;
|
|
10
|
+
from_id: number;
|
|
11
|
+
holder: string;
|
|
12
|
+
price: number;
|
|
13
|
+
total: number;
|
|
14
|
+
num: number;
|
|
15
|
+
origin_price: number;
|
|
16
|
+
symbol: string;
|
|
17
|
+
relation_form_name: string;
|
|
18
|
+
like_status: string;
|
|
19
|
+
_extend: {
|
|
20
|
+
start_time: string;
|
|
21
|
+
duration: number;
|
|
22
|
+
date: string;
|
|
23
|
+
like_status: string;
|
|
24
|
+
};
|
|
25
|
+
product_cover: string;
|
|
26
|
+
} | {
|
|
27
|
+
id: number;
|
|
28
|
+
title: string;
|
|
29
|
+
from_id: number;
|
|
30
|
+
holder: string;
|
|
31
|
+
price: number;
|
|
32
|
+
total: number;
|
|
33
|
+
num: number;
|
|
34
|
+
symbol: string;
|
|
35
|
+
origin_price?: undefined;
|
|
36
|
+
relation_form_name?: undefined;
|
|
37
|
+
like_status?: undefined;
|
|
38
|
+
_extend?: undefined;
|
|
39
|
+
product_cover?: undefined;
|
|
40
|
+
})[];
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 格式化购物车列表
|
|
3
|
+
* @description:
|
|
4
|
+
* @param {any} state
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: WangHan
|
|
7
|
+
* @Date: 2024-11-28 16:52
|
|
8
|
+
*/
|
|
9
|
+
export declare const formatCartList: (state: any) => any;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 是否是空页面
|
|
12
|
+
* @description:
|
|
13
|
+
* @param {any} state
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: WangHan
|
|
16
|
+
* @Date: 2024-11-28 16:47
|
|
17
|
+
*/
|
|
18
|
+
export declare const isEmptyStatus: (state: any) => boolean;
|
|
19
|
+
/**
|
|
20
|
+
* @title: 是否是商品列表页面
|
|
21
|
+
* @description:
|
|
22
|
+
* @param {any} state
|
|
23
|
+
* @return {*}
|
|
24
|
+
* @Author: WangHan
|
|
25
|
+
* @Date: 2024-11-28 17:23
|
|
26
|
+
*/
|
|
27
|
+
export declare const isProductList: (state: any) => boolean;
|
|
28
|
+
/**
|
|
29
|
+
* @title: 格式化数据最终结果
|
|
30
|
+
* @description:
|
|
31
|
+
* @param {any} state
|
|
32
|
+
* @return {*}
|
|
33
|
+
* @Author: WangHan
|
|
34
|
+
* @Date: 2024-11-28 18:35
|
|
35
|
+
*/
|
|
36
|
+
export declare const formatState: (state: any) => {
|
|
37
|
+
isEmpty: boolean;
|
|
38
|
+
isProductList: boolean;
|
|
39
|
+
carts: any;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* @title: 更新商品
|
|
43
|
+
* @description:
|
|
44
|
+
* @param {any} newState
|
|
45
|
+
* @param {any} state
|
|
46
|
+
* @return {*}
|
|
47
|
+
* @Author: WangHan
|
|
48
|
+
* @Date: 2024-11-28 22:30
|
|
49
|
+
*/
|
|
50
|
+
export declare const updateProduct: (state: any, newProducts: any[]) => {
|
|
51
|
+
products: any[];
|
|
52
|
+
carts: any;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* @title: 格式化服务
|
|
56
|
+
* @description:
|
|
57
|
+
* @param {any} service
|
|
58
|
+
* @param {number} id holder_id
|
|
59
|
+
* @return {*}
|
|
60
|
+
* @Author: WangHan
|
|
61
|
+
* @Date: 2024-12-09 22:47
|
|
62
|
+
*/
|
|
63
|
+
export declare const formatService: (service: any[], id: number) => any[];
|