@pisell/private-materials 6.3.69 → 6.3.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +2 -2
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +3 -3
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +3 -3
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/voucher/index.js +8 -7
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/hooks/useQuotation.js +2 -2
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/es/components/kioskSkuDetail/index.d.ts +39 -0
- package/es/components/kioskSkuDetail/index.js +531 -0
- package/es/components/kioskSkuDetail/index.less +196 -0
- package/es/components/kioskSkuDetail/locales.d.ts +27 -0
- package/es/components/kioskSkuDetail/locales.js +26 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +5 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/es/components/walletList/index.js +7 -2
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/es/index.d.ts +3 -1
- package/es/index.js +3 -1
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.js +30 -1
- package/es/plus/skuOptionsSelection/components/VariantCard/index.less +10 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +3 -0
- package/es/plus/skuOptionsSelection/locales.js +3 -0
- package/es/plus/skuOptionsSelection/store/actions.js +17 -2
- package/es/plus/skuOptionsSelection/types.d.ts +5 -0
- package/es/plus/skuOptionsSelection/types.js +2 -1
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +70 -3
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletPassGallery/index.js +2 -2
- package/es/pro/numberKeyboard/index.d.ts +28 -0
- package/es/pro/numberKeyboard/index.js +155 -0
- package/es/pro/numberKeyboard/index.less +25 -0
- package/es/pro/numberKeyboard/locales.d.ts +12 -0
- package/es/pro/numberKeyboard/locales.js +11 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/pisellNumberSelector/example.js +68 -0
- package/es/pro/pisellNumberSelector/index.d.ts +29 -0
- package/es/pro/pisellNumberSelector/index.js +257 -0
- package/es/pro/pisellNumberSelector/index.less +235 -0
- package/es/pro/skuDetailModal/index.d.ts +4 -0
- package/es/pro/skuDetailModal/index.js +1031 -0
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/voucher/index.js +0 -1
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/hooks/useQuotation.js +3 -3
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/lib/components/kioskSkuDetail/index.d.ts +39 -0
- package/lib/components/kioskSkuDetail/index.js +393 -0
- package/lib/components/kioskSkuDetail/index.less +196 -0
- package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
- package/lib/components/kioskSkuDetail/locales.js +50 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +5 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/lib/components/walletList/index.js +5 -1
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/lib/index.d.ts +3 -1
- package/lib/index.js +7 -1
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.js +32 -3
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.less +10 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/locales.js +3 -0
- package/lib/plus/skuOptionsSelection/store/actions.js +25 -1
- package/lib/plus/skuOptionsSelection/types.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/types.js +2 -1
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +51 -5
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletPassGallery/index.js +2 -2
- package/lib/pro/numberKeyboard/index.d.ts +28 -0
- package/lib/pro/numberKeyboard/index.js +182 -0
- package/lib/pro/numberKeyboard/index.less +25 -0
- package/lib/pro/numberKeyboard/locales.d.ts +12 -0
- package/lib/pro/numberKeyboard/locales.js +35 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/pisellNumberSelector/example.js +93 -0
- package/lib/pro/pisellNumberSelector/index.d.ts +29 -0
- package/lib/pro/pisellNumberSelector/index.js +275 -0
- package/lib/pro/pisellNumberSelector/index.less +235 -0
- package/lib/pro/skuDetailModal/index.d.ts +4 -0
- package/lib/pro/skuDetailModal/index.js +736 -0
- package/lowcode/kiosk-sku-detail/meta.ts +264 -0
- package/package.json +4 -4
- package/es/components/Sales/Cart/utils.d.ts +0 -63
- package/es/components/Sales/Summary/utils.d.ts +0 -51
- package/es/components/appointmentBooking/locales.d.ts +0 -363
- package/es/components/booking/components/tabPane/index.d.ts +0 -4
- package/es/components/booking/dashboard/serve.d.ts +0 -1
- package/es/components/booking/editBookingModal/utils.d.ts +0 -12
- package/es/components/booking/forms/serve.d.ts +0 -18
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/info/client/serve.d.ts +0 -2
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/es/components/booking/info/pet/serve.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/serve.d.ts +0 -20
- package/es/components/booking/info2/serve.d.ts +0 -6
- package/es/components/booking/locales.d.ts +0 -843
- package/es/components/eftposPay/const.d.ts +0 -184
- package/es/components/eftposPay/locales.d.ts +0 -330
- package/es/components/eftposPay/manufacturer.d.ts +0 -7
- package/es/components/eftposPay/payo/payment.d.ts +0 -66
- package/es/components/pay/toC/PaymentList/utils.d.ts +0 -36
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
- package/es/components/pay/toC/locales.d.ts +0 -307
- package/es/components/pay/toC/status.d.ts +0 -13
- package/es/components/ruleSetting/locales.d.ts +0 -48
- package/es/components/shoppingCart/locales.d.ts +0 -33
- package/es/components/shoppingCart/type.d.ts +0 -48
- package/es/components/subTotal/locales.d.ts +0 -42
- package/es/components/systemSettings/registry/locales.d.ts +0 -272
- package/es/components/systemSettings/registry/services.d.ts +0 -77
- package/es/components/systemSettings/registry/types.d.ts +0 -126
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
- package/es/components/systemSettings/registry/utils/validators.d.ts +0 -8
- package/es/components/ticketBooking/locales.d.ts +0 -174
- package/es/components/wallet/utils.d.ts +0 -48
- package/es/components/walletList/locales.d.ts +0 -27
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/es/hooks/useEngineContext.d.ts +0 -10
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/es/plus/selectHolder/locales.d.ts +0 -21
- package/es/plus/selectHolder/types.d.ts +0 -104
- package/es/plus/selectHolder/utils.d.ts +0 -9
- package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
- package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
- package/es/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
- package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/es/plus/walletEditor/locales.d.ts +0 -135
- package/es/plus/walletPassGallery/locales.d.ts +0 -285
- package/es/plus/walletPassGallery/utils.d.ts +0 -48
- package/es/pro/Login2.0/shared/types.d.ts +0 -232
- package/es/pro/NumericStepper/index.d.ts +0 -43
- package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/es/pro/Selector/Item.d.ts +0 -14
- package/es/pro/Selector/Selector.stories.d.ts +0 -78
- package/es/pro/Selector/components/Card/index.d.ts +0 -57
- package/es/pro/Selector/components/Card/types.d.ts +0 -1
- package/es/pro/Selector/components/Indicator/index.d.ts +0 -19
- package/es/pro/Selector/components/IntersectionObserver.d.ts +0 -105
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
- package/es/pro/Selector/components/Media/index.d.ts +0 -6
- package/es/pro/Selector/components/Media/types.d.ts +0 -47
- package/es/pro/Selector/components/index.d.ts +0 -4
- package/es/pro/Selector/demo.d.ts +0 -2
- package/es/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
- package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/es/pro/Selector/index.d.ts +0 -11
- package/es/pro/Selector/locales.d.ts +0 -36
- package/es/pro/Selector/types.d.ts +0 -173
- package/es/pro/Selector/utils/index.d.ts +0 -49
- package/es/test/setup.d.ts +0 -1
- package/lib/components/Sales/Cart/utils.d.ts +0 -63
- package/lib/components/Sales/Summary/utils.d.ts +0 -51
- package/lib/components/appointmentBooking/locales.d.ts +0 -363
- package/lib/components/booking/components/tabPane/index.d.ts +0 -4
- package/lib/components/booking/dashboard/serve.d.ts +0 -1
- package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
- package/lib/components/booking/forms/serve.d.ts +0 -18
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/info/client/serve.d.ts +0 -2
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/lib/components/booking/info/pet/serve.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/serve.d.ts +0 -20
- package/lib/components/booking/info2/serve.d.ts +0 -6
- package/lib/components/booking/locales.d.ts +0 -843
- package/lib/components/eftposPay/const.d.ts +0 -184
- package/lib/components/eftposPay/locales.d.ts +0 -330
- package/lib/components/eftposPay/manufacturer.d.ts +0 -7
- package/lib/components/eftposPay/payo/payment.d.ts +0 -66
- package/lib/components/pay/toC/PaymentList/utils.d.ts +0 -36
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
- package/lib/components/pay/toC/locales.d.ts +0 -307
- package/lib/components/pay/toC/status.d.ts +0 -13
- package/lib/components/ruleSetting/locales.d.ts +0 -48
- package/lib/components/shoppingCart/locales.d.ts +0 -33
- package/lib/components/shoppingCart/type.d.ts +0 -48
- package/lib/components/subTotal/locales.d.ts +0 -42
- package/lib/components/systemSettings/registry/locales.d.ts +0 -272
- package/lib/components/systemSettings/registry/services.d.ts +0 -77
- package/lib/components/systemSettings/registry/types.d.ts +0 -126
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
- package/lib/components/systemSettings/registry/utils/validators.d.ts +0 -8
- package/lib/components/ticketBooking/locales.d.ts +0 -174
- package/lib/components/wallet/utils.d.ts +0 -48
- package/lib/components/walletList/locales.d.ts +0 -27
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/lib/hooks/useEngineContext.d.ts +0 -10
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/lib/plus/selectHolder/locales.d.ts +0 -21
- package/lib/plus/selectHolder/types.d.ts +0 -104
- package/lib/plus/selectHolder/utils.d.ts +0 -9
- package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
- package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/lib/plus/walletEditor/locales.d.ts +0 -135
- package/lib/plus/walletPassGallery/locales.d.ts +0 -285
- package/lib/plus/walletPassGallery/utils.d.ts +0 -48
- package/lib/pro/Login2.0/shared/types.d.ts +0 -232
- package/lib/pro/NumericStepper/index.d.ts +0 -43
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/lib/pro/Selector/Item.d.ts +0 -14
- package/lib/pro/Selector/Selector.stories.d.ts +0 -78
- package/lib/pro/Selector/components/Card/index.d.ts +0 -57
- package/lib/pro/Selector/components/Card/types.d.ts +0 -1
- package/lib/pro/Selector/components/Indicator/index.d.ts +0 -19
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +0 -105
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
- package/lib/pro/Selector/components/Media/index.d.ts +0 -6
- package/lib/pro/Selector/components/Media/types.d.ts +0 -47
- package/lib/pro/Selector/components/index.d.ts +0 -4
- package/lib/pro/Selector/demo.d.ts +0 -2
- package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/lib/pro/Selector/index.d.ts +0 -11
- package/lib/pro/Selector/locales.d.ts +0 -36
- package/lib/pro/Selector/types.d.ts +0 -173
- package/lib/pro/Selector/utils/index.d.ts +0 -49
- package/lib/test/setup.d.ts +0 -1
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
interface ScheduleTextResult {
|
|
2
|
-
validityTexts: string[];
|
|
3
|
-
excluded_date: string[];
|
|
4
|
-
included_date: string[];
|
|
5
|
-
}
|
|
6
|
-
declare type Locale = 'en' | 'zh-CN' | 'zh-HK';
|
|
7
|
-
interface ScheduleItem {
|
|
8
|
-
id: number;
|
|
9
|
-
name: string | {
|
|
10
|
-
[key: string]: string;
|
|
11
|
-
};
|
|
12
|
-
type: 'standard' | 'time-slots' | 'designation';
|
|
13
|
-
start_time: string | null;
|
|
14
|
-
end_time: string | null;
|
|
15
|
-
repeat_type: 'none' | 'daily' | 'weekly';
|
|
16
|
-
repeat_rule: {
|
|
17
|
-
end: {
|
|
18
|
-
type: 'never' | 'date' | 'occurrence';
|
|
19
|
-
end_date: string | null;
|
|
20
|
-
occurrence: number | null;
|
|
21
|
-
};
|
|
22
|
-
frequency: number;
|
|
23
|
-
excluded_date: Array<{
|
|
24
|
-
start: string;
|
|
25
|
-
end: string;
|
|
26
|
-
}>;
|
|
27
|
-
included_date: any[];
|
|
28
|
-
frequency_date: number[];
|
|
29
|
-
} | null;
|
|
30
|
-
designation: Array<{
|
|
31
|
-
start_date: string;
|
|
32
|
-
start_time: string;
|
|
33
|
-
end_date: string;
|
|
34
|
-
end_time: string;
|
|
35
|
-
}> | null;
|
|
36
|
-
is_all: number;
|
|
37
|
-
time_slot: Array<{
|
|
38
|
-
start_time: string;
|
|
39
|
-
end_time: string;
|
|
40
|
-
}>;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* 根据scheduleList格式化文案展示
|
|
44
|
-
* @param scheduleList 日程列表
|
|
45
|
-
* @returns 格式化后的文案结果数组,每个日程对应一个结果
|
|
46
|
-
*/
|
|
47
|
-
export declare function formatScheduleText(scheduleList: ScheduleItem[], locale?: Locale): ScheduleTextResult[];
|
|
48
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'page.wallet.guide.title': string;
|
|
4
|
-
'page.wallet.guide.subtitle': string;
|
|
5
|
-
'page.wallet.guide.button': string;
|
|
6
|
-
'page.wallet.tempHolderSelector.title': string;
|
|
7
|
-
'page.wallet.tempHolderSelector.create': string;
|
|
8
|
-
'page.wallet.tempHolderSelector.confirm': string;
|
|
9
|
-
};
|
|
10
|
-
'zh-CN': {
|
|
11
|
-
'page.wallet.guide.title': string;
|
|
12
|
-
'page.wallet.guide.subtitle': string;
|
|
13
|
-
'page.wallet.guide.button': string;
|
|
14
|
-
'page.wallet.tempHolderSelector.title': string;
|
|
15
|
-
'page.wallet.tempHolderSelector.create': string;
|
|
16
|
-
'page.wallet.tempHolderSelector.confirm': string;
|
|
17
|
-
};
|
|
18
|
-
'zh-HK': {
|
|
19
|
-
'page.wallet.guide.title': string;
|
|
20
|
-
'page.wallet.guide.subtitle': string;
|
|
21
|
-
'page.wallet.guide.button': string;
|
|
22
|
-
'page.wallet.tempHolderSelector.title': string;
|
|
23
|
-
'page.wallet.tempHolderSelector.create': string;
|
|
24
|
-
'page.wallet.tempHolderSelector.confirm': string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare type IEngineContext = {
|
|
2
|
-
appHelper: any;
|
|
3
|
-
engine: any;
|
|
4
|
-
blockContext: any;
|
|
5
|
-
components: any;
|
|
6
|
-
pageContext: any;
|
|
7
|
-
};
|
|
8
|
-
declare const useEngineContext: () => IEngineContext;
|
|
9
|
-
export declare const usePisellOS: () => any;
|
|
10
|
-
export default useEngineContext;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { TabsStructureProps, TabListContainerProps, TabItemProps, RailProps, SelectionIndicatorProps, ScrollShadowProps, ChevronControlsProps, ChevronButtonProps } from './types';
|
|
3
|
-
declare global {
|
|
4
|
-
interface WeakRef<T extends object> {
|
|
5
|
-
deref(): T | undefined;
|
|
6
|
-
}
|
|
7
|
-
interface WeakRefConstructor {
|
|
8
|
-
new <T extends object>(target: T): WeakRef<T>;
|
|
9
|
-
}
|
|
10
|
-
const WeakRef: WeakRefConstructor | undefined;
|
|
11
|
-
}
|
|
12
|
-
declare const TabListContainer: React.ForwardRefExoticComponent<Omit<TabListContainerProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
13
|
-
declare const TabItem: React.ForwardRefExoticComponent<Omit<TabItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
-
declare const Rail: React.ForwardRefExoticComponent<Omit<RailProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
declare const SelectionIndicator: React.ForwardRefExoticComponent<Omit<SelectionIndicatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
declare const ScrollShadow: React.ForwardRefExoticComponent<Omit<ScrollShadowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
-
declare const ChevronButton: React.ForwardRefExoticComponent<Omit<ChevronButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
18
|
-
declare const ChevronControls: React.FC<ChevronControlsProps>;
|
|
19
|
-
declare type TabsStructureComponent = React.FC<TabsStructureProps> & {
|
|
20
|
-
Rail: typeof Rail;
|
|
21
|
-
ListContainer: typeof TabListContainer;
|
|
22
|
-
Item: typeof TabItem;
|
|
23
|
-
SelectionIndicator: typeof SelectionIndicator;
|
|
24
|
-
ScrollShadow: typeof ScrollShadow;
|
|
25
|
-
ChevronControls: typeof ChevronControls;
|
|
26
|
-
ChevronButton: typeof ChevronButton;
|
|
27
|
-
};
|
|
28
|
-
declare const TabsStructureWithSubComponents: TabsStructureComponent;
|
|
29
|
-
export default TabsStructureWithSubComponents;
|
|
30
|
-
export { TabListContainer, TabItem, Rail, SelectionIndicator, ScrollShadow, ChevronControls, ChevronButton, };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell-select-holder-create': string;
|
|
4
|
-
'pisell-select-holder-please-select': string;
|
|
5
|
-
'pisell-select-holder-selected': string;
|
|
6
|
-
'pisell-select-holder-skip': string;
|
|
7
|
-
};
|
|
8
|
-
'zh-CN': {
|
|
9
|
-
'pisell-select-holder-create': string;
|
|
10
|
-
'pisell-select-holder-please-select': string;
|
|
11
|
-
'pisell-select-holder-selected': string;
|
|
12
|
-
'pisell-select-holder-skip': string;
|
|
13
|
-
};
|
|
14
|
-
'zh-TW': {
|
|
15
|
-
'pisell-select-holder-create': string;
|
|
16
|
-
'pisell-select-holder-please-select': string;
|
|
17
|
-
'pisell-select-holder-selected': string;
|
|
18
|
-
'pisell-select-holder-skip': string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export default _default;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* @title: 选项数据类型
|
|
4
|
-
* @description:
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: WangHan
|
|
7
|
-
* @Date: 2025-10-11 14:18
|
|
8
|
-
*/
|
|
9
|
-
export interface HolderOption {
|
|
10
|
-
/** 显示的标签文本 */
|
|
11
|
-
label: string;
|
|
12
|
-
/** 选项的值(唯一标识) */
|
|
13
|
-
value: any;
|
|
14
|
-
/** 头像地址 */
|
|
15
|
-
avatar?: string;
|
|
16
|
-
/** 副标题/描述 */
|
|
17
|
-
subtitle?: string;
|
|
18
|
-
/** 其他字段 */
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @title: 模态框配置
|
|
23
|
-
* @description:
|
|
24
|
-
* @return {*}
|
|
25
|
-
* @Author: WangHan
|
|
26
|
-
* @Date: 2025-10-10 14:32
|
|
27
|
-
*/
|
|
28
|
-
export interface HolderModalProps {
|
|
29
|
-
title?: string;
|
|
30
|
-
confirmText?: string;
|
|
31
|
-
showClose?: boolean;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* @title: 字段展示配置
|
|
35
|
-
* @description:
|
|
36
|
-
* @return {*}
|
|
37
|
-
* @Author: WangHan
|
|
38
|
-
* @Date: 2025-10-10 14:32
|
|
39
|
-
*/
|
|
40
|
-
export interface HolderDisplayProps {
|
|
41
|
-
showAvatar?: boolean;
|
|
42
|
-
showTitle?: boolean;
|
|
43
|
-
showSubtitle?: boolean;
|
|
44
|
-
isSkipable?: boolean;
|
|
45
|
-
direction?: 'horizontal' | 'vertical';
|
|
46
|
-
selectType?: 'single' | 'multiple';
|
|
47
|
-
showExtraFields?: boolean;
|
|
48
|
-
extraFields?: any[];
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* @title: SelectHolder 组件属性
|
|
52
|
-
* @description:
|
|
53
|
-
* @return {*}
|
|
54
|
-
* @Author: WangHan
|
|
55
|
-
* @Date: 2025-10-11 14:18
|
|
56
|
-
*/
|
|
57
|
-
export interface PisellSelectHolderProps {
|
|
58
|
-
/** 选项列表 */
|
|
59
|
-
dataSource?: HolderOption[];
|
|
60
|
-
/** 是否打开模态框 */
|
|
61
|
-
open?: boolean;
|
|
62
|
-
/** 关闭事件(右上角 X 按钮) */
|
|
63
|
-
onClose?: () => void;
|
|
64
|
-
/** 确认事件,返回选中的值 */
|
|
65
|
-
onConfirm?: (selected: any) => void;
|
|
66
|
-
/** 跳过事件(底部跳过按钮) */
|
|
67
|
-
onSkip?: () => void;
|
|
68
|
-
/** 点击添加按钮事件 */
|
|
69
|
-
onAdd?: () => void;
|
|
70
|
-
/** 当前选中的值(单选) 或 选中的值数组(多选) */
|
|
71
|
-
value?: any;
|
|
72
|
-
modalConfig?: HolderModalProps;
|
|
73
|
-
displayConfig?: HolderDisplayProps;
|
|
74
|
-
/** 是否禁用确认按钮 */
|
|
75
|
-
disabled?: boolean;
|
|
76
|
-
/** 错误提示文案 */
|
|
77
|
-
errorTipText?: string;
|
|
78
|
-
/** 是否显示添加按钮 */
|
|
79
|
-
allowAdd?: boolean;
|
|
80
|
-
/** 添加按钮文案 */
|
|
81
|
-
addText?: string;
|
|
82
|
-
/** 每行显示的列数 */
|
|
83
|
-
columns?: number;
|
|
84
|
-
/** 水平间距 */
|
|
85
|
-
horizontalGap?: number;
|
|
86
|
-
/** 垂直间距 */
|
|
87
|
-
verticalGap?: number;
|
|
88
|
-
/** 最大可选数量 */
|
|
89
|
-
maxSelectedCount?: number;
|
|
90
|
-
/** 是否内联模式(不显示弹窗,直接渲染内容,用于页面级别) */
|
|
91
|
-
isInline?: boolean;
|
|
92
|
-
/** 内联模式的容器样式类名 */
|
|
93
|
-
className?: string;
|
|
94
|
-
/** 内联模式的容器样式 */
|
|
95
|
-
style?: React.CSSProperties;
|
|
96
|
-
}
|
|
97
|
-
export interface HolderItemProps {
|
|
98
|
-
item: HolderOption;
|
|
99
|
-
displayDirection?: 'horizontal' | 'vertical';
|
|
100
|
-
displayConfig?: HolderDisplayProps;
|
|
101
|
-
onClick?: (value?: any) => void;
|
|
102
|
-
value?: any;
|
|
103
|
-
isAddItem?: boolean;
|
|
104
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface StoreApi<T> {
|
|
2
|
-
setState: (partial: Partial<T> | ((prev: T) => Partial<T>)) => void;
|
|
3
|
-
getState: () => T;
|
|
4
|
-
subscribe: (listener: () => void) => () => void;
|
|
5
|
-
}
|
|
6
|
-
export interface UseStore<T> extends StoreApi<T> {
|
|
7
|
-
<S>(selector?: (state: T) => S): S;
|
|
8
|
-
<S = T>(): S;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* 创建一个跨 React 版本兼容的 Store
|
|
12
|
-
* 支持自动浅合并 (Auto Shallow Merge)
|
|
13
|
-
* @param initialState 初始状态
|
|
14
|
-
*/
|
|
15
|
-
export default function createStore<T extends object>(initialState: T): UseStore<T>;
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
walletName: string;
|
|
4
|
-
validityPeriod: string;
|
|
5
|
-
linkedPasses: string;
|
|
6
|
-
linkedPassesDesc: string;
|
|
7
|
-
sort: string;
|
|
8
|
-
status: string;
|
|
9
|
-
distributionConditions: string;
|
|
10
|
-
selectPasses: string;
|
|
11
|
-
backgroundImage: string;
|
|
12
|
-
advancedSettings: string;
|
|
13
|
-
sendConfig: string;
|
|
14
|
-
displaySettings: string;
|
|
15
|
-
viewPreview: string;
|
|
16
|
-
coverImage: string;
|
|
17
|
-
icon: string;
|
|
18
|
-
upload: string;
|
|
19
|
-
enable: string;
|
|
20
|
-
disable: string;
|
|
21
|
-
barCode: string;
|
|
22
|
-
qrCode: string;
|
|
23
|
-
day: string;
|
|
24
|
-
days: string;
|
|
25
|
-
month: string;
|
|
26
|
-
months: string;
|
|
27
|
-
year: string;
|
|
28
|
-
years: string;
|
|
29
|
-
forever: string;
|
|
30
|
-
custom: string;
|
|
31
|
-
balance: string;
|
|
32
|
-
point: string;
|
|
33
|
-
voucher: string;
|
|
34
|
-
discount: string;
|
|
35
|
-
rechargeable: string;
|
|
36
|
-
pleaseInputWalletName: string;
|
|
37
|
-
enterCoverImageURL: string;
|
|
38
|
-
enterJSONConfig: string;
|
|
39
|
-
selectValidityPeriod: string;
|
|
40
|
-
selectCustomDate: string;
|
|
41
|
-
registerToIssue: string;
|
|
42
|
-
'pisell2.wallet-editor.holder': string;
|
|
43
|
-
'pisell2.wallet-editor.holder.required': string;
|
|
44
|
-
'pisell2.wallet-editor.holder.invalid': string;
|
|
45
|
-
};
|
|
46
|
-
'zh-CN': {
|
|
47
|
-
walletName: string;
|
|
48
|
-
validityPeriod: string;
|
|
49
|
-
linkedPasses: string;
|
|
50
|
-
linkedPassesDesc: string;
|
|
51
|
-
sort: string;
|
|
52
|
-
status: string;
|
|
53
|
-
distributionConditions: string;
|
|
54
|
-
selectPasses: string;
|
|
55
|
-
backgroundImage: string;
|
|
56
|
-
advancedSettings: string;
|
|
57
|
-
sendConfig: string;
|
|
58
|
-
displaySettings: string;
|
|
59
|
-
viewPreview: string;
|
|
60
|
-
coverImage: string;
|
|
61
|
-
icon: string;
|
|
62
|
-
upload: string;
|
|
63
|
-
enable: string;
|
|
64
|
-
disable: string;
|
|
65
|
-
barCode: string;
|
|
66
|
-
qrCode: string;
|
|
67
|
-
day: string;
|
|
68
|
-
days: string;
|
|
69
|
-
month: string;
|
|
70
|
-
months: string;
|
|
71
|
-
year: string;
|
|
72
|
-
years: string;
|
|
73
|
-
forever: string;
|
|
74
|
-
custom: string;
|
|
75
|
-
balance: string;
|
|
76
|
-
point: string;
|
|
77
|
-
voucher: string;
|
|
78
|
-
discount: string;
|
|
79
|
-
rechargeable: string;
|
|
80
|
-
pleaseInputWalletName: string;
|
|
81
|
-
enterCoverImageURL: string;
|
|
82
|
-
enterJSONConfig: string;
|
|
83
|
-
selectValidityPeriod: string;
|
|
84
|
-
selectCustomDate: string;
|
|
85
|
-
registerToIssue: string;
|
|
86
|
-
'pisell2.wallet-editor.holder': string;
|
|
87
|
-
'pisell2.wallet-editor.holder.required': string;
|
|
88
|
-
'pisell2.wallet-editor.holder.invalid': string;
|
|
89
|
-
};
|
|
90
|
-
'zh-HK': {
|
|
91
|
-
walletName: string;
|
|
92
|
-
validityPeriod: string;
|
|
93
|
-
linkedPasses: string;
|
|
94
|
-
linkedPassesDesc: string;
|
|
95
|
-
sort: string;
|
|
96
|
-
status: string;
|
|
97
|
-
distributionConditions: string;
|
|
98
|
-
selectPasses: string;
|
|
99
|
-
backgroundImage: string;
|
|
100
|
-
advancedSettings: string;
|
|
101
|
-
sendConfig: string;
|
|
102
|
-
displaySettings: string;
|
|
103
|
-
viewPreview: string;
|
|
104
|
-
coverImage: string;
|
|
105
|
-
icon: string;
|
|
106
|
-
upload: string;
|
|
107
|
-
enable: string;
|
|
108
|
-
disable: string;
|
|
109
|
-
barCode: string;
|
|
110
|
-
qrCode: string;
|
|
111
|
-
day: string;
|
|
112
|
-
days: string;
|
|
113
|
-
month: string;
|
|
114
|
-
months: string;
|
|
115
|
-
year: string;
|
|
116
|
-
years: string;
|
|
117
|
-
forever: string;
|
|
118
|
-
custom: string;
|
|
119
|
-
balance: string;
|
|
120
|
-
point: string;
|
|
121
|
-
voucher: string;
|
|
122
|
-
discount: string;
|
|
123
|
-
rechargeable: string;
|
|
124
|
-
pleaseInputWalletName: string;
|
|
125
|
-
enterCoverImageURL: string;
|
|
126
|
-
enterJSONConfig: string;
|
|
127
|
-
selectValidityPeriod: string;
|
|
128
|
-
selectCustomDate: string;
|
|
129
|
-
registerToIssue: string;
|
|
130
|
-
'pisell2.wallet-editor.holder': string;
|
|
131
|
-
'pisell2.wallet-editor.holder.required': string;
|
|
132
|
-
'pisell2.wallet-editor.holder.invalid': string;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
export default _default;
|