@pisell/private-materials 6.8.13 → 6.8.15
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 +150 -164
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +11 -11
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +11 -11
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
- package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
- package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
- package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
- package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/index.d.ts +0 -0
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/actionButtons/index.js +2 -2
- package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/booking/components/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/clientVariant/utils.d.ts +3 -0
- package/es/components/booking/info/header/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +0 -1
- package/es/components/booking/info/service/Lists.d.ts +0 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info2/cartClientCard/locales.d.ts +21 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editNormalService/index.js +2 -1
- package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/es/components/booking/info2/service/openNormalService.d.ts +32 -0
- package/es/components/booking/model.d.ts +112 -0
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +36 -0
- package/es/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
- package/es/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
- package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
- package/es/components/checkout/components/ScrollableList/types.d.ts +53 -0
- package/es/components/checkout/constants.d.ts +2 -0
- package/es/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/locales.d.ts +513 -0
- package/es/components/checkout/styles.d.ts +67 -0
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/index.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/store/index.d.ts +6 -6
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eftposPay/utils/log/index.d.ts +110 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/es/components/list/List.js +1 -3
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/es/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
- package/es/components/list/components/ScrollLoader/index.d.ts +2 -0
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
- package/es/components/list/components/TabSkeleton/index.d.ts +2 -0
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
- package/es/components/list/components/WaterfallList/index.d.ts +2 -0
- package/es/components/list/hooks/useDevice.d.ts +24 -0
- package/es/components/list/hooks/useListState.js +7 -2
- package/es/components/list/hooks/useWaterfall.d.ts +34 -0
- package/es/components/list/locales.d.ts +66 -0
- package/es/components/list/types.d.ts +178 -0
- package/es/components/list/utils/getText.d.ts +53 -0
- package/es/components/list/utils/index.d.ts +19 -0
- package/es/components/login/index.d.ts +0 -1
- package/es/components/pay/toB/components/Content/Header.d.ts +4 -0
- package/es/components/pay/toB/hooks.d.ts +12 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/es/components/pay/toC/locales.d.ts +301 -0
- package/es/components/pay/toC/status.d.ts +13 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/es/components/productExtension/index.d.ts +0 -1
- package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/calendar/index.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/es/components/schedules/products/list/index.d.ts +0 -1
- package/es/components/schedules/resources/index.d.ts +0 -1
- package/es/components/schedules/resources/list/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/schedules/index.d.ts +0 -1
- package/es/components/shoppingCart/locales.d.ts +36 -0
- package/es/components/shoppingCart/type.d.ts +50 -0
- package/es/components/subTotal/locales.d.ts +42 -0
- package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/es/components/systemSettings/registry/locales.d.ts +272 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/types.d.ts +126 -0
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/es/components/taxSelect/index.d.ts +0 -1
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +1 -1
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.less +3 -2
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.js +1 -1
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +83 -0
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
- package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +22 -0
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
- package/es/components/ticketBooking/context/index.d.ts +2 -0
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/es/components/ticketBooking/locales.d.ts +201 -0
- package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/locales.d.ts +27 -0
- package/es/components/walletList/types/index.d.ts +194 -0
- package/es/hooks/printer.d.ts +4 -0
- package/es/hooks/useEngineContext.d.ts +4 -0
- package/es/hooks/useLogger.d.ts +2 -0
- package/es/hooks/usePaymentLogger.d.ts +0 -1
- package/es/hooks/useToast.d.ts +2 -0
- package/es/hooks/useTranslationOriginal.d.ts +1 -0
- package/es/plus/clientCard/locales.d.ts +18 -0
- package/es/plus/clientCard/types.d.ts +134 -0
- package/es/plus/clientCard/utils.d.ts +8 -0
- package/es/plus/clientName/index.d.ts +4 -0
- package/es/plus/clientName/type.d.ts +13 -0
- package/es/plus/clientName/utils.d.ts +2 -0
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +2 -0
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +2 -0
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
- package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
- package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/es/plus/contactInfo/locales.d.ts +15 -0
- package/es/plus/contactInfo/types.d.ts +91 -0
- package/es/plus/contactInfo/utils.d.ts +7 -0
- package/es/plus/contactInfoModal/locales.d.ts +66 -0
- package/es/plus/noteModal/locales.d.ts +33 -0
- package/es/plus/noteModal/types.d.ts +19 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/productSelect/utils.d.ts +39 -0
- package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
- package/es/plus/saasCreateOrganization/index.d.ts +0 -1
- package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
- package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
- package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
- package/es/plus/saasRegister/components/Header.d.ts +0 -1
- package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
- package/es/plus/selectHolder/locales.d.ts +24 -0
- package/es/plus/selectHolder/types.d.ts +104 -0
- package/es/plus/selectHolder/utils.d.ts +9 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
- package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
- package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
- package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +30 -0
- package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
- package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
- package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
- package/es/plus/skuOptionsSelection/types.d.ts +426 -0
- package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +3 -1
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/es/plus/walletEditor/locales.d.ts +135 -0
- package/es/plus/walletEditor/types.d.ts +52 -0
- package/es/plus/walletPassGallery/locales.d.ts +285 -0
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/es/pro/Login2.0/locales.d.ts +543 -0
- package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
- package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/es/pro/Login2.0/types.d.ts +167 -0
- package/es/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/es/pro/NumericStepper/index.d.ts +43 -0
- package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/es/pro/Selector/Item.d.ts +14 -0
- package/es/pro/Selector/Selector.d.ts +14 -0
- package/es/pro/Selector/Selector.stories.d.ts +78 -0
- package/es/pro/Selector/SelectorGroup.d.ts +11 -0
- package/es/pro/Selector/components/Card/index.d.ts +57 -0
- package/es/pro/Selector/components/Card/types.d.ts +1 -0
- package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
- package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
- package/es/pro/Selector/components/Media/index.d.ts +6 -0
- package/es/pro/Selector/components/Media/types.d.ts +47 -0
- package/es/pro/Selector/components/index.d.ts +4 -0
- package/es/pro/Selector/demo.d.ts +2 -0
- package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/es/pro/Selector/hooks/useSelectionController.d.ts +49 -0
- package/es/pro/Selector/index.d.ts +11 -0
- package/es/pro/Selector/locales.d.ts +36 -0
- package/es/pro/Selector/types.d.ts +173 -0
- package/es/pro/Selector/utils/index.d.ts +49 -0
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/es/pro/comprehensiveSearch/types.d.ts +32 -0
- package/es/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/es/pro/numberKeyboard/locales.d.ts +12 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +12 -0
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
- package/es/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
- package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/es/pro/priceKeyboard/hooks/keyActions.d.ts +28 -0
- package/es/pro/priceKeyboard/utils.d.ts +31 -0
- package/es/pro/skuDetailModal/locales.d.ts +103 -0
- package/es/pro/skuDetailModal/types.d.ts +353 -0
- package/es/pro/skuDetailModal/utils.d.ts +4 -0
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
- package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
- package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
- package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
- package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/index.d.ts +0 -0
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/actionButtons/index.js +3 -2
- package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/booking/components/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/utils.d.ts +3 -0
- package/lib/components/booking/info/header/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +0 -1
- package/lib/components/booking/info/service/Lists.d.ts +0 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +21 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editNormalService/index.js +2 -1
- package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/lib/components/booking/info2/service/openNormalService.d.ts +32 -0
- package/lib/components/booking/model.d.ts +112 -0
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +36 -0
- package/lib/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
- package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
- package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
- package/lib/components/checkout/components/ScrollableList/types.d.ts +53 -0
- package/lib/components/checkout/constants.d.ts +2 -0
- package/lib/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/locales.d.ts +513 -0
- package/lib/components/checkout/styles.d.ts +67 -0
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/index.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/store/index.d.ts +6 -6
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/lib/components/list/List.js +0 -1
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
- package/lib/components/list/components/ScrollLoader/index.d.ts +2 -0
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
- package/lib/components/list/components/TabSkeleton/index.d.ts +2 -0
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
- package/lib/components/list/components/WaterfallList/index.d.ts +2 -0
- package/lib/components/list/hooks/useDevice.d.ts +24 -0
- package/lib/components/list/hooks/useListState.js +5 -2
- package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
- package/lib/components/list/locales.d.ts +66 -0
- package/lib/components/list/types.d.ts +178 -0
- package/lib/components/list/utils/getText.d.ts +53 -0
- package/lib/components/list/utils/index.d.ts +19 -0
- package/lib/components/login/index.d.ts +0 -1
- package/lib/components/pay/toB/components/Content/Header.d.ts +4 -0
- package/lib/components/pay/toB/hooks.d.ts +12 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/lib/components/pay/toC/locales.d.ts +301 -0
- package/lib/components/pay/toC/status.d.ts +13 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/lib/components/productExtension/index.d.ts +0 -1
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/calendar/index.d.ts +0 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/lib/components/schedules/products/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/index.d.ts +0 -1
- package/lib/components/schedules/resources/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/schedules/index.d.ts +0 -1
- package/lib/components/shoppingCart/locales.d.ts +36 -0
- package/lib/components/shoppingCart/type.d.ts +50 -0
- package/lib/components/subTotal/locales.d.ts +42 -0
- package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/lib/components/systemSettings/registry/locales.d.ts +272 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/types.d.ts +126 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/lib/components/taxSelect/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +1 -1
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.less +3 -2
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.js +1 -1
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +83 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +22 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/index.d.ts +2 -0
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/lib/components/ticketBooking/locales.d.ts +201 -0
- package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/locales.d.ts +27 -0
- package/lib/components/walletList/types/index.d.ts +194 -0
- package/lib/hooks/printer.d.ts +4 -0
- package/lib/hooks/useEngineContext.d.ts +4 -0
- package/lib/hooks/useLogger.d.ts +2 -0
- package/lib/hooks/usePaymentLogger.d.ts +0 -1
- package/lib/hooks/useToast.d.ts +2 -0
- package/lib/hooks/useTranslationOriginal.d.ts +1 -0
- package/lib/plus/clientCard/locales.d.ts +18 -0
- package/lib/plus/clientCard/types.d.ts +134 -0
- package/lib/plus/clientCard/utils.d.ts +8 -0
- package/lib/plus/clientName/index.d.ts +4 -0
- package/lib/plus/clientName/type.d.ts +13 -0
- package/lib/plus/clientName/utils.d.ts +2 -0
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +2 -0
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +2 -0
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
- package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
- package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/lib/plus/contactInfo/locales.d.ts +15 -0
- package/lib/plus/contactInfo/types.d.ts +91 -0
- package/lib/plus/contactInfo/utils.d.ts +7 -0
- package/lib/plus/contactInfoModal/locales.d.ts +66 -0
- package/lib/plus/noteModal/locales.d.ts +33 -0
- package/lib/plus/noteModal/types.d.ts +19 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/productSelect/utils.d.ts +39 -0
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
- package/lib/plus/saasCreateOrganization/index.d.ts +0 -1
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
- package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
- package/lib/plus/saasRegister/components/Header.d.ts +0 -1
- package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
- package/lib/plus/selectHolder/locales.d.ts +24 -0
- package/lib/plus/selectHolder/types.d.ts +104 -0
- package/lib/plus/selectHolder/utils.d.ts +9 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +30 -0
- package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
- package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/types.d.ts +426 -0
- package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +1 -1
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/lib/plus/walletEditor/locales.d.ts +135 -0
- package/lib/plus/walletEditor/types.d.ts +52 -0
- package/lib/plus/walletPassGallery/locales.d.ts +285 -0
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/lib/pro/Login2.0/locales.d.ts +543 -0
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
- package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/lib/pro/Login2.0/types.d.ts +167 -0
- package/lib/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/lib/pro/NumericStepper/index.d.ts +43 -0
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/lib/pro/Selector/Item.d.ts +14 -0
- package/lib/pro/Selector/Selector.d.ts +14 -0
- package/lib/pro/Selector/Selector.stories.d.ts +78 -0
- package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
- package/lib/pro/Selector/components/Card/index.d.ts +57 -0
- package/lib/pro/Selector/components/Card/types.d.ts +1 -0
- package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
- package/lib/pro/Selector/components/Media/index.d.ts +6 -0
- package/lib/pro/Selector/components/Media/types.d.ts +47 -0
- package/lib/pro/Selector/components/index.d.ts +4 -0
- package/lib/pro/Selector/demo.d.ts +2 -0
- package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/lib/pro/Selector/hooks/useSelectionController.d.ts +49 -0
- package/lib/pro/Selector/index.d.ts +11 -0
- package/lib/pro/Selector/locales.d.ts +36 -0
- package/lib/pro/Selector/types.d.ts +173 -0
- package/lib/pro/Selector/utils/index.d.ts +49 -0
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/lib/pro/comprehensiveSearch/types.d.ts +32 -0
- package/lib/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/lib/pro/numberKeyboard/locales.d.ts +12 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +12 -0
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
- package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
- package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/lib/pro/priceKeyboard/hooks/keyActions.d.ts +28 -0
- package/lib/pro/priceKeyboard/utils.d.ts +31 -0
- package/lib/pro/skuDetailModal/locales.d.ts +103 -0
- package/lib/pro/skuDetailModal/types.d.ts +353 -0
- package/lib/pro/skuDetailModal/utils.d.ts +4 -0
- package/package.json +4 -4
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface MultiLanguageName {
|
|
3
|
+
original: string;
|
|
4
|
+
'zh-CN': string;
|
|
5
|
+
'zh-HK': string;
|
|
6
|
+
en: string;
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
}
|
|
9
|
+
declare type WalletPassType = 'rechargeable' | 'point' | 'voucher' | 'discount';
|
|
10
|
+
export interface WalletMetadata {
|
|
11
|
+
name: MultiLanguageName;
|
|
12
|
+
welcomeText?: string | MultiLanguageName;
|
|
13
|
+
customerName?: string;
|
|
14
|
+
coverImage?: string;
|
|
15
|
+
icon?: string;
|
|
16
|
+
showcaseWalletPassNew?: Array<{
|
|
17
|
+
type: WalletPassType;
|
|
18
|
+
custom_title?: string | MultiLanguageName;
|
|
19
|
+
display?: 0 | 1;
|
|
20
|
+
}>;
|
|
21
|
+
}
|
|
22
|
+
export interface Shop {
|
|
23
|
+
id: number;
|
|
24
|
+
name: string;
|
|
25
|
+
default_url: string;
|
|
26
|
+
}
|
|
27
|
+
export interface Wallet {
|
|
28
|
+
id: string | null;
|
|
29
|
+
shop_id: string | null;
|
|
30
|
+
shop?: Shop;
|
|
31
|
+
status: string | null;
|
|
32
|
+
name: MultiLanguageName;
|
|
33
|
+
valid_for: {
|
|
34
|
+
type: string;
|
|
35
|
+
unit?: string;
|
|
36
|
+
unit_type?: string;
|
|
37
|
+
custom_date?: string;
|
|
38
|
+
};
|
|
39
|
+
metadata: WalletMetadata;
|
|
40
|
+
created_at: string | null;
|
|
41
|
+
}
|
|
42
|
+
export interface WalletPass {
|
|
43
|
+
id: string | null;
|
|
44
|
+
shop_id: string | null;
|
|
45
|
+
code: string;
|
|
46
|
+
status: string | null;
|
|
47
|
+
wallet_id: string | null;
|
|
48
|
+
customer_id: string | null;
|
|
49
|
+
expired_at: string | null;
|
|
50
|
+
created_at: string;
|
|
51
|
+
shop: Shop;
|
|
52
|
+
wallet: Wallet;
|
|
53
|
+
icon?: string;
|
|
54
|
+
isLogin?: boolean;
|
|
55
|
+
showIcon?: boolean;
|
|
56
|
+
}
|
|
57
|
+
export interface WalletBalance {
|
|
58
|
+
gift_card_balance: number;
|
|
59
|
+
point_card_balance: number;
|
|
60
|
+
voucher_count: number;
|
|
61
|
+
discount_card_count: number;
|
|
62
|
+
}
|
|
63
|
+
export interface WalletCardItem {
|
|
64
|
+
type: WalletPassType;
|
|
65
|
+
custom_title?: string | MultiLanguageName;
|
|
66
|
+
display: 0 | 1;
|
|
67
|
+
value?: number;
|
|
68
|
+
}
|
|
69
|
+
export interface State {
|
|
70
|
+
list: WalletPass[];
|
|
71
|
+
balance: WalletBalance | null;
|
|
72
|
+
loading: boolean;
|
|
73
|
+
error: Error | null;
|
|
74
|
+
authError?: boolean;
|
|
75
|
+
hasAttempted: boolean;
|
|
76
|
+
isLoggedIn?: boolean;
|
|
77
|
+
}
|
|
78
|
+
export interface Action {
|
|
79
|
+
type: string;
|
|
80
|
+
payload: Partial<State>;
|
|
81
|
+
}
|
|
82
|
+
export interface Balance {
|
|
83
|
+
gift_card_balance: number;
|
|
84
|
+
point_card_balance: number;
|
|
85
|
+
voucher_count: number;
|
|
86
|
+
discount_card_count: number;
|
|
87
|
+
}
|
|
88
|
+
export interface IWallList {
|
|
89
|
+
tag?: string;
|
|
90
|
+
sales_status?: string;
|
|
91
|
+
machine_search?: string;
|
|
92
|
+
createdDate?: string;
|
|
93
|
+
limit_status?: string;
|
|
94
|
+
relation_id?: string;
|
|
95
|
+
relation_type?: string;
|
|
96
|
+
customer_id?: string;
|
|
97
|
+
sort?: string;
|
|
98
|
+
order_by?: string;
|
|
99
|
+
used_status?: string;
|
|
100
|
+
num?: number;
|
|
101
|
+
skip?: number;
|
|
102
|
+
}
|
|
103
|
+
export interface WalletListProps {
|
|
104
|
+
globalState?: {
|
|
105
|
+
platform?: 'pc' | 'h5' | 'ipad';
|
|
106
|
+
mode?: 'dark' | 'light';
|
|
107
|
+
cardStyle?: 'normal' | 'full';
|
|
108
|
+
codeType?: 'barCode' | 'qrCode';
|
|
109
|
+
codeDirection?: 'bottom' | 'top';
|
|
110
|
+
shopName?: boolean;
|
|
111
|
+
showWalletName?: boolean;
|
|
112
|
+
showShopName?: boolean;
|
|
113
|
+
cardNo?: string;
|
|
114
|
+
showCardNo?: boolean;
|
|
115
|
+
showCode?: boolean;
|
|
116
|
+
points?: boolean;
|
|
117
|
+
balance?: boolean;
|
|
118
|
+
coupon?: boolean;
|
|
119
|
+
pointsValue?: number;
|
|
120
|
+
balanceValue?: number;
|
|
121
|
+
couponValue?: number;
|
|
122
|
+
symbol?: string;
|
|
123
|
+
showIcon?: boolean;
|
|
124
|
+
iconImg?: string;
|
|
125
|
+
customBackgroundImage?: string;
|
|
126
|
+
walletName?: string;
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
export interface WalletCardProps {
|
|
130
|
+
platform?: 'pc' | 'h5' | 'ipad';
|
|
131
|
+
mode?: 'dark' | 'light';
|
|
132
|
+
cardStyle?: 'normal' | 'full';
|
|
133
|
+
codeType?: 'barCode' | 'qrCode';
|
|
134
|
+
codeDirection?: 'bottom' | 'top';
|
|
135
|
+
shopName?: boolean;
|
|
136
|
+
showIcon?: boolean;
|
|
137
|
+
iconImg?: string;
|
|
138
|
+
showWalletName?: boolean;
|
|
139
|
+
showShopName?: boolean;
|
|
140
|
+
cardNo?: string;
|
|
141
|
+
showCardNo?: boolean;
|
|
142
|
+
showCode?: boolean;
|
|
143
|
+
points?: boolean;
|
|
144
|
+
balance?: boolean;
|
|
145
|
+
coupon?: boolean;
|
|
146
|
+
pointsValue?: number;
|
|
147
|
+
balanceValue?: number;
|
|
148
|
+
couponValue?: number;
|
|
149
|
+
isLogin?: boolean;
|
|
150
|
+
items: WalletCardItem[];
|
|
151
|
+
}
|
|
152
|
+
export interface DivProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
153
|
+
children?: React.ReactNode;
|
|
154
|
+
}
|
|
155
|
+
export interface WalletListContextType {
|
|
156
|
+
state: State;
|
|
157
|
+
dispatch: React.Dispatch<Action>;
|
|
158
|
+
}
|
|
159
|
+
export declare const DEFAULT_CARD_CONFIG: {
|
|
160
|
+
readonly mode: "light";
|
|
161
|
+
readonly cardStyle: "normal";
|
|
162
|
+
readonly codeDirection: "bottom";
|
|
163
|
+
readonly showShopName: true;
|
|
164
|
+
readonly showWalletName: true;
|
|
165
|
+
readonly showIcon: true;
|
|
166
|
+
readonly iconImg: "";
|
|
167
|
+
readonly showCardNo: true;
|
|
168
|
+
readonly showCode: true;
|
|
169
|
+
readonly points: true;
|
|
170
|
+
readonly balance: true;
|
|
171
|
+
readonly coupon: true;
|
|
172
|
+
};
|
|
173
|
+
export interface CarouselSettings {
|
|
174
|
+
className: string;
|
|
175
|
+
arrows: boolean;
|
|
176
|
+
infinite: boolean;
|
|
177
|
+
slidesToShow: number;
|
|
178
|
+
slidesToScroll: number;
|
|
179
|
+
centerMode: boolean;
|
|
180
|
+
centerPadding: string;
|
|
181
|
+
autoplay: boolean;
|
|
182
|
+
autoplaySpeed: number;
|
|
183
|
+
dots: boolean;
|
|
184
|
+
appendDots?: (dots: React.ReactNode) => React.ReactNode;
|
|
185
|
+
responsive?: Array<{
|
|
186
|
+
breakpoint: number;
|
|
187
|
+
settings: {
|
|
188
|
+
slidesToShow: number;
|
|
189
|
+
slidesToScroll: number;
|
|
190
|
+
centerPadding: string;
|
|
191
|
+
};
|
|
192
|
+
}>;
|
|
193
|
+
}
|
|
194
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useTranslationOriginal(): any;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.add-client': string;
|
|
4
|
+
'pisell2.text.change-client': string;
|
|
5
|
+
'pisell2.text.remove-client': string;
|
|
6
|
+
};
|
|
7
|
+
'zh-CN': {
|
|
8
|
+
'pisell2.text.add-client': string;
|
|
9
|
+
'pisell2.text.change-client': string;
|
|
10
|
+
'pisell2.text.remove-client': string;
|
|
11
|
+
};
|
|
12
|
+
'zh-HK': {
|
|
13
|
+
'pisell2.text.add-client': string;
|
|
14
|
+
'pisell2.text.change-client': string;
|
|
15
|
+
'pisell2.text.remove-client': string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
|
+
export interface ClientData {
|
|
3
|
+
id: number;
|
|
4
|
+
shop_id: number;
|
|
5
|
+
display_name?: string;
|
|
6
|
+
nickname?: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
phone?: string;
|
|
9
|
+
country_calling_code?: string;
|
|
10
|
+
channel?: string;
|
|
11
|
+
created_at: string;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
waiver_form?: any;
|
|
14
|
+
avatar?: string;
|
|
15
|
+
birthday?: string;
|
|
16
|
+
address?: string;
|
|
17
|
+
tags?: string[];
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}
|
|
20
|
+
export declare type CardType = 'b1' | 'b2' | 'b5' | 'b9';
|
|
21
|
+
export declare type Direction = 'horizontal' | 'vertical';
|
|
22
|
+
export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | number | string;
|
|
23
|
+
export declare type AvatarShape = 'circle' | 'square';
|
|
24
|
+
export interface AvatarConfig {
|
|
25
|
+
icon?: string;
|
|
26
|
+
shape?: AvatarShape;
|
|
27
|
+
borderRadius?: number | string;
|
|
28
|
+
size?: AvatarSize;
|
|
29
|
+
useTextAvatar?: boolean;
|
|
30
|
+
children?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface StatusConfig {
|
|
33
|
+
color?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface NameStyle {
|
|
36
|
+
fontSize?: number | string;
|
|
37
|
+
fontWeight?: number | string;
|
|
38
|
+
color?: string;
|
|
39
|
+
textDecoration?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface TagItem {
|
|
42
|
+
children: string;
|
|
43
|
+
color: string;
|
|
44
|
+
}
|
|
45
|
+
export interface TagConfig {
|
|
46
|
+
placement?: 'separate' | 'inline';
|
|
47
|
+
flexWrap?: 'nowrap' | 'wrap';
|
|
48
|
+
gap?: number | string;
|
|
49
|
+
}
|
|
50
|
+
export interface ExtraField {
|
|
51
|
+
label?: string;
|
|
52
|
+
value?: string;
|
|
53
|
+
isShowLabel?: boolean;
|
|
54
|
+
isShowValue?: boolean;
|
|
55
|
+
icon?: string;
|
|
56
|
+
iconSize?: number;
|
|
57
|
+
iconColor?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface Slots {
|
|
60
|
+
top?: React.ReactNode;
|
|
61
|
+
bottom?: React.ReactNode;
|
|
62
|
+
left?: React.ReactNode;
|
|
63
|
+
right?: React.ReactNode;
|
|
64
|
+
}
|
|
65
|
+
export interface StyleConfig {
|
|
66
|
+
width?: number | string;
|
|
67
|
+
border?: 'solid' | 'unset';
|
|
68
|
+
borderWidth?: number | string;
|
|
69
|
+
borderColor?: string;
|
|
70
|
+
borderRadius?: number | string;
|
|
71
|
+
padding?: number | string;
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
}
|
|
74
|
+
export interface FieldNames {
|
|
75
|
+
id?: string | ((data: any) => any);
|
|
76
|
+
name?: string | ((data: any) => any);
|
|
77
|
+
cover?: string | ((data: any) => any);
|
|
78
|
+
phone?: string | ((data: any) => any);
|
|
79
|
+
email?: string | ((data: any) => any);
|
|
80
|
+
birthday?: string | ((data: any) => any);
|
|
81
|
+
address?: string | ((data: any) => any);
|
|
82
|
+
tags?: string | ((data: any) => any);
|
|
83
|
+
[key: string]: string | ((data: any) => any) | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface DisplayConfig {
|
|
86
|
+
isShowAvatar?: boolean;
|
|
87
|
+
isShowName?: boolean;
|
|
88
|
+
isShowPhone?: boolean;
|
|
89
|
+
isShowEmail?: boolean;
|
|
90
|
+
isShowBirthday?: boolean;
|
|
91
|
+
isShowAddress?: boolean;
|
|
92
|
+
isShowTag?: boolean;
|
|
93
|
+
isShowStatus?: boolean;
|
|
94
|
+
}
|
|
95
|
+
export interface ClientCardProps extends DisplayConfig {
|
|
96
|
+
type?: CardType;
|
|
97
|
+
direction?: Direction;
|
|
98
|
+
dataSource?: ClientData | any;
|
|
99
|
+
fieldNames?: FieldNames;
|
|
100
|
+
style?: StyleConfig;
|
|
101
|
+
horizontalGap?: number | string;
|
|
102
|
+
verticalGap?: number | string;
|
|
103
|
+
avatar?: AvatarConfig;
|
|
104
|
+
status?: StatusConfig;
|
|
105
|
+
dropdown?: {
|
|
106
|
+
open?: boolean;
|
|
107
|
+
buttonProps?: {
|
|
108
|
+
icon?: ReactElement;
|
|
109
|
+
onClick?: (e: Event) => void;
|
|
110
|
+
style?: React.CSSProperties;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
defaultName?: string;
|
|
114
|
+
nameStyle?: NameStyle;
|
|
115
|
+
tags?: Array<TagItem | string>;
|
|
116
|
+
tag?: TagConfig;
|
|
117
|
+
extraFields?: ExtraField[];
|
|
118
|
+
slots?: Slots;
|
|
119
|
+
onAddClient?: () => void;
|
|
120
|
+
onChangeClient?: (data: ClientData) => void;
|
|
121
|
+
onRemoveClient?: (data: ClientData) => void;
|
|
122
|
+
onViewClient?: (data: ClientData) => void;
|
|
123
|
+
}
|
|
124
|
+
export interface ProcessedClientData {
|
|
125
|
+
id: any;
|
|
126
|
+
name: string;
|
|
127
|
+
cover?: string;
|
|
128
|
+
phone?: string;
|
|
129
|
+
email?: string;
|
|
130
|
+
birthday?: string;
|
|
131
|
+
address?: string;
|
|
132
|
+
tags?: string[];
|
|
133
|
+
[key: string]: any;
|
|
134
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface FieldMapping<T = any, R = any> {
|
|
2
|
+
[key: string]: string | ((data: T) => R) | undefined;
|
|
3
|
+
}
|
|
4
|
+
export declare function getFieldValue<T, R = any>(data: T, fieldKey: string): R | undefined;
|
|
5
|
+
export declare function getFieldValue<T, R = any>(data: T, fieldKey: string, mapping: FieldMapping<T, R>): R | undefined;
|
|
6
|
+
export declare const getAvatarText: (name: string) => string;
|
|
7
|
+
export declare const isWalkIn: (customer_id?: number | string) => boolean;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type ClientData = {
|
|
3
|
+
display_name?: string;
|
|
4
|
+
nickname?: string;
|
|
5
|
+
first_name?: string;
|
|
6
|
+
last_name?: string;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
9
|
+
export interface IClientNameProps {
|
|
10
|
+
dataSource?: string | ClientData | null;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 无限滚动组件的属性接口
|
|
4
|
+
*/
|
|
5
|
+
export interface InfiniteScrollProps {
|
|
6
|
+
/** 数据长度,用于判断是否需要加载更多 */
|
|
7
|
+
dataLength: number;
|
|
8
|
+
/** 加载更多数据的函数 */
|
|
9
|
+
next: () => void;
|
|
10
|
+
/** 是否还有更多数据 */
|
|
11
|
+
hasMore: boolean;
|
|
12
|
+
/** 加载中显示的组件 */
|
|
13
|
+
loader?: ReactNode;
|
|
14
|
+
/** 没有更多数据时显示的组件 */
|
|
15
|
+
endMessage?: ReactNode;
|
|
16
|
+
/** 滚动容器的高度 */
|
|
17
|
+
height?: number | string;
|
|
18
|
+
/** 滚动阈值,0-1之间的数值或像素值 */
|
|
19
|
+
scrollThreshold?: number | string;
|
|
20
|
+
/** 滚动事件回调 */
|
|
21
|
+
onScroll?: (event: Event) => void;
|
|
22
|
+
/** 自定义样式 */
|
|
23
|
+
style?: CSSProperties;
|
|
24
|
+
/** 自定义类名 */
|
|
25
|
+
className?: string;
|
|
26
|
+
/** 指定滚动容器的目标元素ID */
|
|
27
|
+
scrollableTarget?: string;
|
|
28
|
+
/** 子元素 */
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
/** 是否反向滚动 */
|
|
31
|
+
inverse?: boolean;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* 滚动位置信息
|
|
35
|
+
*/
|
|
36
|
+
export interface ScrollPosition {
|
|
37
|
+
scrollTop: number;
|
|
38
|
+
scrollHeight: number;
|
|
39
|
+
clientHeight: number;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* 组件内部状态
|
|
43
|
+
*/
|
|
44
|
+
export interface InfiniteScrollState {
|
|
45
|
+
isLoading: boolean;
|
|
46
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare type NativeProps<S extends string = never> = {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties & Partial<Record<S, string>>;
|
|
6
|
+
};
|
|
7
|
+
declare type PropagationEvent = 'click';
|
|
8
|
+
import './index.less';
|
|
9
|
+
declare type SideType = 'left' | 'right';
|
|
10
|
+
export declare type SwipeActionRef = {
|
|
11
|
+
close: () => void;
|
|
12
|
+
show: (side?: SideType) => void;
|
|
13
|
+
};
|
|
14
|
+
declare type ActionColor = 'light' | 'weak' | 'primary' | 'success' | 'warning' | 'danger';
|
|
15
|
+
export declare type Action = {
|
|
16
|
+
key: string | number;
|
|
17
|
+
text: ReactNode;
|
|
18
|
+
color?: ActionColor | string;
|
|
19
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
};
|
|
22
|
+
export declare type SwipeActionProps = {
|
|
23
|
+
rightActions?: Action[];
|
|
24
|
+
leftActions?: Action[];
|
|
25
|
+
onAction?: (action: Action, e: React.MouseEvent) => void;
|
|
26
|
+
closeOnTouchOutside?: boolean;
|
|
27
|
+
closeOnAction?: boolean;
|
|
28
|
+
children: ReactNode;
|
|
29
|
+
stopPropagation?: PropagationEvent[];
|
|
30
|
+
onActionsReveal?: (side: SideType) => void;
|
|
31
|
+
onClose?: () => void;
|
|
32
|
+
escapeDom?: string;
|
|
33
|
+
} & NativeProps<'--background'>;
|
|
34
|
+
export declare const SwipeAction: React.ForwardRefExoticComponent<{
|
|
35
|
+
rightActions?: Action[] | undefined;
|
|
36
|
+
leftActions?: Action[] | undefined;
|
|
37
|
+
onAction?: ((action: Action, e: React.MouseEvent) => void) | undefined;
|
|
38
|
+
closeOnTouchOutside?: boolean | undefined;
|
|
39
|
+
closeOnAction?: boolean | undefined;
|
|
40
|
+
children: ReactNode;
|
|
41
|
+
stopPropagation?: "click"[] | undefined;
|
|
42
|
+
onActionsReveal?: ((side: SideType) => void) | undefined;
|
|
43
|
+
onClose?: (() => void) | undefined;
|
|
44
|
+
escapeDom?: string | undefined;
|
|
45
|
+
} & NativeProps<"--background"> & React.RefAttributes<SwipeActionRef>>;
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.contact-info.placeholder': string;
|
|
4
|
+
'pisell2.text.contact-info.actions.delete': string;
|
|
5
|
+
};
|
|
6
|
+
'zh-CN': {
|
|
7
|
+
'pisell2.text.contact-info.placeholder': string;
|
|
8
|
+
'pisell2.text.contact-info.actions.delete': string;
|
|
9
|
+
};
|
|
10
|
+
'zh-HK': {
|
|
11
|
+
'pisell2.text.contact-info.placeholder': string;
|
|
12
|
+
'pisell2.text.contact-info.actions.delete': string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 联系信息数据
|
|
4
|
+
*/
|
|
5
|
+
export interface ContactInfoData {
|
|
6
|
+
first_name?: string;
|
|
7
|
+
last_name?: string;
|
|
8
|
+
phone?: {
|
|
9
|
+
phone: string;
|
|
10
|
+
country_calling_code: string;
|
|
11
|
+
country_code?: string;
|
|
12
|
+
};
|
|
13
|
+
email?: string;
|
|
14
|
+
avatar?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 卡片布局类型
|
|
18
|
+
*/
|
|
19
|
+
export declare type Direction = 'horizontal' | 'vertical';
|
|
20
|
+
/**
|
|
21
|
+
* 头像尺寸类型
|
|
22
|
+
*/
|
|
23
|
+
export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
24
|
+
/**
|
|
25
|
+
* 头像形状类型
|
|
26
|
+
*/
|
|
27
|
+
export declare type AvatarShape = 'circle' | 'square';
|
|
28
|
+
/**
|
|
29
|
+
* 头像配置
|
|
30
|
+
*/
|
|
31
|
+
export interface AvatarConfig {
|
|
32
|
+
shape?: AvatarShape;
|
|
33
|
+
borderRadius?: number;
|
|
34
|
+
size?: AvatarSize;
|
|
35
|
+
useTextAvatar?: boolean;
|
|
36
|
+
children?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* 姓名样式配置
|
|
40
|
+
*/
|
|
41
|
+
export interface NameStyle {
|
|
42
|
+
fontSize?: number | string;
|
|
43
|
+
fontWeight?: number | string;
|
|
44
|
+
color?: string;
|
|
45
|
+
textDecoration?: string;
|
|
46
|
+
}
|
|
47
|
+
export interface StyleConfig {
|
|
48
|
+
width?: number | string;
|
|
49
|
+
border?: 'solid' | 'unset';
|
|
50
|
+
borderWidth?: number | string;
|
|
51
|
+
borderColor?: string;
|
|
52
|
+
borderRadius?: number | string;
|
|
53
|
+
padding?: number | string;
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* 文本样式配置
|
|
58
|
+
*/
|
|
59
|
+
export interface TextStyle {
|
|
60
|
+
fontSize?: number | string;
|
|
61
|
+
fontWeight?: number | string;
|
|
62
|
+
color?: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* ContactInfo 组件属性接口
|
|
66
|
+
*/
|
|
67
|
+
export interface ContactInfoProps {
|
|
68
|
+
dataSource?: ContactInfoData;
|
|
69
|
+
defaultName?: string;
|
|
70
|
+
placeholder?: string | React.ReactNode;
|
|
71
|
+
isShowDelete?: boolean;
|
|
72
|
+
children?: React.ReactNode;
|
|
73
|
+
direction?: Direction;
|
|
74
|
+
horizontalGap?: number | string;
|
|
75
|
+
verticalGap?: number | string;
|
|
76
|
+
isShowAvatar?: boolean;
|
|
77
|
+
isShowPhone?: boolean;
|
|
78
|
+
isShowEmail?: boolean;
|
|
79
|
+
avatar?: AvatarConfig;
|
|
80
|
+
style?: StyleConfig;
|
|
81
|
+
nameStyle?: NameStyle;
|
|
82
|
+
textStyle?: TextStyle;
|
|
83
|
+
placeholderStyle?: CSSProperties;
|
|
84
|
+
button?: {
|
|
85
|
+
addButtonIcon?: string;
|
|
86
|
+
editButtonIcon?: string;
|
|
87
|
+
};
|
|
88
|
+
onSave?: (value: any) => void;
|
|
89
|
+
onDelete?: () => void;
|
|
90
|
+
onCancel?: () => void;
|
|
91
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface FieldMapping<T = any, R = any> {
|
|
2
|
+
[key: string]: string | ((data: T) => R) | undefined;
|
|
3
|
+
}
|
|
4
|
+
export declare function getFieldValue<T, R = any>(data: T, fieldKey: string): R | undefined;
|
|
5
|
+
export declare function getFieldValue<T, R = any>(data: T, fieldKey: string, mapping: FieldMapping<T, R>): R | undefined;
|
|
6
|
+
export declare const getAvatarText: (name: string) => string;
|
|
7
|
+
export {};
|