@pisell/private-materials 6.3.30 → 6.3.31
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 +9 -1
- package/build/lowcode/preview.js +146 -146
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.js +3 -2
- package/es/components/appointmentBooking/components/ConfirmInformation/index.js +267 -76
- package/es/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
- package/es/components/appointmentBooking/hooks.js +30 -30
- package/es/components/appointmentBooking/locales.js +9 -6
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/footer/index.d.ts +1 -0
- package/es/components/booking/components/footer/index.js +4 -1
- package/es/components/booking/components/footer/utils.js +62 -46
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.js +2 -2
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/clientVariant/vertical/index.js +1 -1
- package/es/components/booking/info/main.js +3 -2
- package/es/components/booking/info/model.js +5 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/index.js +3 -2
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/contactInfoMode/index.js +93 -0
- package/es/components/booking/locales.js +9 -3
- package/es/components/booking/model.js +3 -0
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftpos/deviceList/index.d.ts +1 -0
- package/es/components/eftpos/form/index.d.ts +1 -0
- package/es/components/eftpos/group/index.d.ts +1 -0
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/icon/apiKey.d.ts +1 -0
- package/es/components/eftpos/icon/device.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/step/index.d.ts +1 -0
- package/es/components/eftposPay/component/step/step.d.ts +1 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/model.d.ts +9 -1
- 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/schedules/resources/relationProduct/index.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/wallet/Detail/model.d.ts +13 -1
- package/es/components/wallet/DiscountCard/model.d.ts +14 -1
- package/es/components/wallet/PointCard/model.d.ts +13 -1
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/es/components/wallet/Voucher/model.d.ts +13 -1
- package/es/components/wallet/model.d.ts +9 -1
- package/es/index.d.ts +3 -0
- package/es/index.js +4 -1
- package/es/plus/clientName/index.js +18 -0
- package/es/plus/clientName/index.less +10 -0
- package/es/plus/clientName/type.js +1 -0
- package/es/plus/clientName/utils.js +18 -0
- package/es/plus/contactInfo/components/Avatar/index.js +30 -0
- package/es/plus/contactInfo/components/SwipeAction/index.js +360 -0
- package/es/plus/contactInfo/components/SwipeAction/index.less +74 -0
- package/es/plus/contactInfo/index.js +198 -0
- package/es/plus/contactInfo/index.less +621 -0
- package/es/plus/contactInfo/locales.js +14 -0
- package/es/plus/contactInfo/types.js +1 -0
- package/es/plus/contactInfo/utils.js +50 -0
- package/es/plus/contactInfoModal/ContactInfoContent.js +74 -0
- package/es/plus/contactInfoModal/index.js +154 -0
- package/es/plus/contactInfoModal/index.less +19 -0
- package/es/plus/contactInfoModal/locales.js +65 -0
- package/es/pro/Login2.0/AuthModal.d.ts +143 -0
- package/es/pro/Login2.0/AuthModal.js +624 -0
- package/es/pro/Login2.0/Login2.d.ts +61 -0
- package/es/pro/Login2.0/Login2.js +2157 -0
- package/es/pro/Login2.0/Register2.d.ts +65 -0
- package/es/pro/Login2.0/Register2.js +1501 -0
- package/es/pro/Login2.0/components/ForgotPasswordFlow.js +330 -0
- package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/es/pro/Login2.0/components/LegalTerms.js +51 -0
- package/es/pro/Login2.0/components/LegalTerms.less +74 -0
- package/es/pro/Login2.0/components/LoginCodeInput.js +207 -0
- package/es/pro/Login2.0/components/OAuthButtonGroup.js +55 -0
- package/es/pro/Login2.0/components/PhoneInput.js +414 -0
- package/es/pro/Login2.0/components/PhoneInput.less +148 -0
- package/es/pro/Login2.0/components/phoneValidation.js +228 -0
- package/es/pro/Login2.0/hooks/index.d.ts +2 -0
- package/es/pro/Login2.0/hooks/index.js +1 -0
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.js +87 -0
- package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/es/pro/Login2.0/hooks/useRegisterFlow.js +158 -0
- package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/es/pro/Login2.0/hooks/useRegistrationMethods.js +31 -0
- package/es/pro/Login2.0/index.js +8 -0
- package/es/pro/Login2.0/index.less +993 -0
- package/es/pro/Login2.0/locales.js +622 -0
- package/es/pro/Login2.0/shared/Header.d.ts +11 -0
- package/es/pro/Login2.0/shared/Header.js +42 -0
- package/es/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
- package/es/pro/Login2.0/shared/OAuthButtons.js +59 -0
- package/es/pro/Login2.0/shared/registerFlow.js +171 -0
- package/es/pro/Login2.0/shared/types.d.ts +232 -0
- package/es/pro/Login2.0/shared/types.js +1 -0
- package/es/pro/Login2.0/steps/CodeInput.js +209 -0
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.js +35 -0
- package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +25 -0
- package/es/pro/Login2.0/steps/EmailLinkExpired.js +33 -0
- package/es/pro/Login2.0/steps/SetPassword.js +148 -0
- package/es/pro/Login2.0/steps/VerificationSuccess.js +35 -0
- package/es/pro/Login2.0/steps/VerifyingEmailLink.js +17 -0
- package/es/pro/Login2.0/steps/WaitEmailLink.js +54 -0
- package/es/pro/Login2.0/steps/index.js +11 -0
- package/es/pro/Login2.0/steps/steps.less +423 -0
- package/es/pro/Login2.0/types.js +1 -0
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.js +5 -3
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +151 -13
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
- package/lib/components/appointmentBooking/hooks.js +73 -35
- package/lib/components/appointmentBooking/locales.js +6 -3
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/footer/index.d.ts +1 -0
- package/lib/components/booking/components/footer/index.js +4 -1
- package/lib/components/booking/components/footer/utils.js +70 -38
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.js +1 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/vertical/index.js +34 -17
- package/lib/components/booking/info/main.js +5 -4
- package/lib/components/booking/info/model.js +5 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/index.js +5 -4
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/contactInfoMode/index.js +104 -0
- package/lib/components/booking/locales.js +9 -3
- package/lib/components/booking/model.js +3 -0
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftpos/deviceList/index.d.ts +1 -0
- package/lib/components/eftpos/form/index.d.ts +1 -0
- package/lib/components/eftpos/group/index.d.ts +1 -0
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
- package/lib/components/eftpos/icon/device.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/step/index.d.ts +1 -0
- package/lib/components/eftposPay/component/step/step.d.ts +1 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +9 -1
- 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/schedules/resources/relationProduct/index.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/wallet/Detail/model.d.ts +13 -1
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
- package/lib/components/wallet/PointCard/model.d.ts +13 -1
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/lib/components/wallet/Voucher/model.d.ts +13 -1
- package/lib/components/wallet/model.d.ts +9 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.js +13 -0
- package/lib/plus/clientName/index.js +53 -0
- package/lib/plus/clientName/index.less +10 -0
- package/lib/plus/clientName/type.js +17 -0
- package/lib/plus/clientName/utils.js +43 -0
- package/lib/plus/contactInfo/components/Avatar/index.js +56 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.js +373 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.less +74 -0
- package/lib/plus/contactInfo/index.js +226 -0
- package/lib/plus/contactInfo/index.less +621 -0
- package/lib/plus/contactInfo/locales.js +38 -0
- package/lib/plus/contactInfo/types.js +17 -0
- package/lib/plus/contactInfo/utils.js +64 -0
- package/lib/plus/contactInfoModal/ContactInfoContent.js +129 -0
- package/lib/plus/contactInfoModal/index.js +138 -0
- package/lib/plus/contactInfoModal/index.less +19 -0
- package/lib/plus/contactInfoModal/locales.js +89 -0
- package/lib/pro/Login2.0/AuthModal.d.ts +143 -0
- package/lib/pro/Login2.0/AuthModal.js +498 -0
- package/lib/pro/Login2.0/Login2.d.ts +61 -0
- package/lib/pro/Login2.0/Login2.js +1468 -0
- package/lib/pro/Login2.0/Register2.d.ts +65 -0
- package/lib/pro/Login2.0/Register2.js +1062 -0
- package/lib/pro/Login2.0/components/ForgotPasswordFlow.js +213 -0
- package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/lib/pro/Login2.0/components/LegalTerms.js +76 -0
- package/lib/pro/Login2.0/components/LegalTerms.less +74 -0
- package/lib/pro/Login2.0/components/LoginCodeInput.js +161 -0
- package/lib/pro/Login2.0/components/OAuthButtonGroup.js +87 -0
- package/lib/pro/Login2.0/components/PhoneInput.js +263 -0
- package/lib/pro/Login2.0/components/PhoneInput.less +148 -0
- package/lib/pro/Login2.0/components/phoneValidation.js +153 -0
- package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
- package/lib/pro/Login2.0/hooks/index.js +29 -0
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.js +140 -0
- package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/lib/pro/Login2.0/hooks/useRegisterFlow.js +149 -0
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.js +51 -0
- package/lib/pro/Login2.0/index.js +45 -0
- package/lib/pro/Login2.0/index.less +993 -0
- package/lib/pro/Login2.0/locales.js +646 -0
- package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
- package/lib/pro/Login2.0/shared/Header.js +81 -0
- package/lib/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
- package/lib/pro/Login2.0/shared/OAuthButtons.js +78 -0
- package/lib/pro/Login2.0/shared/registerFlow.js +235 -0
- package/lib/pro/Login2.0/shared/types.d.ts +232 -0
- package/lib/pro/Login2.0/shared/types.js +17 -0
- package/lib/pro/Login2.0/steps/CodeInput.js +160 -0
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.js +46 -0
- package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +51 -0
- package/lib/pro/Login2.0/steps/EmailLinkExpired.js +51 -0
- package/lib/pro/Login2.0/steps/SetPassword.js +131 -0
- package/lib/pro/Login2.0/steps/VerificationSuccess.js +49 -0
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.js +41 -0
- package/lib/pro/Login2.0/steps/WaitEmailLink.js +67 -0
- package/lib/pro/Login2.0/steps/index.js +60 -0
- package/lib/pro/Login2.0/steps/steps.less +423 -0
- package/lib/pro/Login2.0/types.js +17 -0
- package/lowcode/authmodal/meta.ts +395 -0
- package/lowcode/contact-info/fragments/cardStyle.ts +68 -0
- package/lowcode/contact-info/fragments/nameStyle.ts +33 -0
- package/lowcode/contact-info/fragments/pisellAvatar.ts +103 -0
- package/lowcode/contact-info/fragments/textStyle.ts +33 -0
- package/lowcode/contact-info/meta.ts +199 -0
- package/lowcode/contact-info-modal/meta.ts +98 -0
- package/lowcode/login2/CONFIG.md +447 -0
- package/lowcode/login2/TEST_CONFIG.md +324 -0
- package/lowcode/login2/VERIFICATION_METHODS.md +364 -0
- package/lowcode/login2/meta.ts +560 -0
- package/lowcode/login2/snippets.ts +124 -0
- package/lowcode/register2/meta.ts +562 -0
- package/lowcode/register2/snippets.ts +257 -0
- package/package.json +5 -3
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/hooks.d.ts +0 -106
- package/es/components/appointmentBooking/locales.d.ts +0 -360
- package/es/components/booking/components/footer/utils.d.ts +0 -41
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/main.d.ts +0 -12
- package/es/components/booking/info/model.d.ts +0 -5
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info2/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/index.d.ts +0 -11
- package/es/components/booking/locales.d.ts +0 -837
- package/es/components/booking/model.d.ts +0 -108
- package/es/components/eftposPay/component/fail/index.d.ts +0 -3
- package/es/components/index.d.ts +0 -22
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +0 -9
- package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/es/components/ruleSetting/locales.d.ts +0 -48
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/es/components/ticketBooking/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/es/plus/productSelect/index.d.ts +0 -32
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/hooks.d.ts +0 -106
- package/lib/components/appointmentBooking/locales.d.ts +0 -360
- package/lib/components/booking/components/footer/utils.d.ts +0 -41
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/main.d.ts +0 -12
- package/lib/components/booking/info/model.d.ts +0 -5
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info2/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
- package/lib/components/booking/locales.d.ts +0 -837
- package/lib/components/booking/model.d.ts +0 -108
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
- package/lib/components/index.d.ts +0 -22
- package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +0 -9
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/lib/components/ruleSetting/locales.d.ts +0 -48
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/lib/components/ticketBooking/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/lib/plus/productSelect/index.d.ts +0 -32
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
import { IPublicTypeComponentMetadata } from '@alilc/lowcode-types';
|
|
2
|
+
|
|
3
|
+
const AuthModalMeta: IPublicTypeComponentMetadata = {
|
|
4
|
+
componentName: 'AuthModal',
|
|
5
|
+
title: '认证弹窗',
|
|
6
|
+
docUrl: '',
|
|
7
|
+
screenshot: '',
|
|
8
|
+
category: '表单',
|
|
9
|
+
devMode: 'proCode',
|
|
10
|
+
npm: {
|
|
11
|
+
package: '@pisell/private-materials',
|
|
12
|
+
version: '1.0.0',
|
|
13
|
+
exportName: 'AuthModal',
|
|
14
|
+
main: 'src/index.tsx',
|
|
15
|
+
destructuring: true,
|
|
16
|
+
subName: '',
|
|
17
|
+
},
|
|
18
|
+
props: [],
|
|
19
|
+
configure: {
|
|
20
|
+
props: [
|
|
21
|
+
{
|
|
22
|
+
title: {
|
|
23
|
+
label: 'UI 配置',
|
|
24
|
+
},
|
|
25
|
+
type: 'group',
|
|
26
|
+
display: 'block',
|
|
27
|
+
items: [
|
|
28
|
+
{
|
|
29
|
+
name: 'config.page.login.ui.formLabels',
|
|
30
|
+
title: { label: '登录表单标签配置' },
|
|
31
|
+
propType: 'object',
|
|
32
|
+
setter: {
|
|
33
|
+
componentName: 'ObjectSetter',
|
|
34
|
+
props: {
|
|
35
|
+
config: {
|
|
36
|
+
items: [
|
|
37
|
+
{
|
|
38
|
+
name: 'email',
|
|
39
|
+
title: '邮箱标签',
|
|
40
|
+
setter: {
|
|
41
|
+
componentName: 'ObjectSetter',
|
|
42
|
+
props: {
|
|
43
|
+
config: {
|
|
44
|
+
items: [
|
|
45
|
+
{
|
|
46
|
+
name: 'show',
|
|
47
|
+
title: '显示标签',
|
|
48
|
+
setter: 'BoolSetter',
|
|
49
|
+
defaultValue: false,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'text',
|
|
53
|
+
title: '标签文案',
|
|
54
|
+
setter: 'PisellI18nSetter',
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'phone',
|
|
63
|
+
title: '手机标签',
|
|
64
|
+
setter: {
|
|
65
|
+
componentName: 'ObjectSetter',
|
|
66
|
+
props: {
|
|
67
|
+
config: {
|
|
68
|
+
items: [
|
|
69
|
+
{
|
|
70
|
+
name: 'show',
|
|
71
|
+
title: '显示标签',
|
|
72
|
+
setter: 'BoolSetter',
|
|
73
|
+
defaultValue: false,
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'text',
|
|
77
|
+
title: '标签文案',
|
|
78
|
+
setter: 'PisellI18nSetter',
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'password',
|
|
87
|
+
title: '密码标签',
|
|
88
|
+
setter: {
|
|
89
|
+
componentName: 'ObjectSetter',
|
|
90
|
+
props: {
|
|
91
|
+
config: {
|
|
92
|
+
items: [
|
|
93
|
+
{
|
|
94
|
+
name: 'show',
|
|
95
|
+
title: '显示标签',
|
|
96
|
+
setter: 'BoolSetter',
|
|
97
|
+
defaultValue: false,
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: 'text',
|
|
101
|
+
title: '标签文案',
|
|
102
|
+
setter: 'PisellI18nSetter',
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: 'verificationCode',
|
|
111
|
+
title: '验证码标签',
|
|
112
|
+
setter: {
|
|
113
|
+
componentName: 'ObjectSetter',
|
|
114
|
+
props: {
|
|
115
|
+
config: {
|
|
116
|
+
items: [
|
|
117
|
+
{
|
|
118
|
+
name: 'show',
|
|
119
|
+
title: '显示标签',
|
|
120
|
+
setter: 'BoolSetter',
|
|
121
|
+
defaultValue: false,
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: 'text',
|
|
125
|
+
title: '标签文案',
|
|
126
|
+
setter: 'PisellI18nSetter',
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: 'config.page.register.ui.formLabels',
|
|
140
|
+
title: { label: '注册表单标签配置' },
|
|
141
|
+
propType: 'object',
|
|
142
|
+
setter: {
|
|
143
|
+
componentName: 'ObjectSetter',
|
|
144
|
+
props: {
|
|
145
|
+
config: {
|
|
146
|
+
items: [
|
|
147
|
+
{
|
|
148
|
+
name: 'email',
|
|
149
|
+
title: '邮箱标签',
|
|
150
|
+
setter: {
|
|
151
|
+
componentName: 'ObjectSetter',
|
|
152
|
+
props: {
|
|
153
|
+
config: {
|
|
154
|
+
items: [
|
|
155
|
+
{
|
|
156
|
+
name: 'show',
|
|
157
|
+
title: '显示标签',
|
|
158
|
+
setter: 'BoolSetter',
|
|
159
|
+
defaultValue: false,
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: 'text',
|
|
163
|
+
title: '标签文案',
|
|
164
|
+
setter: 'PisellI18nSetter',
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: 'phone',
|
|
173
|
+
title: '手机标签',
|
|
174
|
+
setter: {
|
|
175
|
+
componentName: 'ObjectSetter',
|
|
176
|
+
props: {
|
|
177
|
+
config: {
|
|
178
|
+
items: [
|
|
179
|
+
{
|
|
180
|
+
name: 'show',
|
|
181
|
+
title: '显示标签',
|
|
182
|
+
setter: 'BoolSetter',
|
|
183
|
+
defaultValue: false,
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: 'text',
|
|
187
|
+
title: '标签文案',
|
|
188
|
+
setter: 'PisellI18nSetter',
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
name: 'password',
|
|
197
|
+
title: '密码标签',
|
|
198
|
+
setter: {
|
|
199
|
+
componentName: 'ObjectSetter',
|
|
200
|
+
props: {
|
|
201
|
+
config: {
|
|
202
|
+
items: [
|
|
203
|
+
{
|
|
204
|
+
name: 'show',
|
|
205
|
+
title: '显示标签',
|
|
206
|
+
setter: 'BoolSetter',
|
|
207
|
+
defaultValue: false,
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
name: 'text',
|
|
211
|
+
title: '标签文案',
|
|
212
|
+
setter: 'PisellI18nSetter',
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
},
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
name: 'verificationCode',
|
|
221
|
+
title: '验证码标签',
|
|
222
|
+
setter: {
|
|
223
|
+
componentName: 'ObjectSetter',
|
|
224
|
+
props: {
|
|
225
|
+
config: {
|
|
226
|
+
items: [
|
|
227
|
+
{
|
|
228
|
+
name: 'show',
|
|
229
|
+
title: '显示标签',
|
|
230
|
+
setter: 'BoolSetter',
|
|
231
|
+
defaultValue: false,
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
name: 'text',
|
|
235
|
+
title: '标签文案',
|
|
236
|
+
setter: 'PisellI18nSetter',
|
|
237
|
+
},
|
|
238
|
+
],
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
name: 'firstName',
|
|
245
|
+
title: '名字标签',
|
|
246
|
+
setter: {
|
|
247
|
+
componentName: 'ObjectSetter',
|
|
248
|
+
props: {
|
|
249
|
+
config: {
|
|
250
|
+
items: [
|
|
251
|
+
{
|
|
252
|
+
name: 'show',
|
|
253
|
+
title: '显示标签',
|
|
254
|
+
setter: 'BoolSetter',
|
|
255
|
+
defaultValue: false,
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
name: 'text',
|
|
259
|
+
title: '标签文案',
|
|
260
|
+
setter: 'PisellI18nSetter',
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
name: 'lastName',
|
|
269
|
+
title: '姓氏标签',
|
|
270
|
+
setter: {
|
|
271
|
+
componentName: 'ObjectSetter',
|
|
272
|
+
props: {
|
|
273
|
+
config: {
|
|
274
|
+
items: [
|
|
275
|
+
{
|
|
276
|
+
name: 'show',
|
|
277
|
+
title: '显示标签',
|
|
278
|
+
setter: 'BoolSetter',
|
|
279
|
+
defaultValue: false,
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
name: 'text',
|
|
283
|
+
title: '标签文案',
|
|
284
|
+
setter: 'PisellI18nSetter',
|
|
285
|
+
},
|
|
286
|
+
],
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
],
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
},
|
|
295
|
+
},
|
|
296
|
+
],
|
|
297
|
+
},
|
|
298
|
+
],
|
|
299
|
+
supports: {
|
|
300
|
+
style: true,
|
|
301
|
+
events: [
|
|
302
|
+
{
|
|
303
|
+
name: 'onLoginSuccess',
|
|
304
|
+
description: '登录成功回调,参数:(data: LoginFormData, method: AuthMethodType, channel?: string)',
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
name: 'onRegisterSuccess',
|
|
308
|
+
description: '注册成功回调,参数:(data: RegisterFormData, method: AuthMethodType, channel?: string)',
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
name: 'onOAuthLogin',
|
|
312
|
+
description: '三方登录回调,参数:(provider: "google" | "facebook" | "apple", channel?: string)',
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
name: 'onSendVerificationCode',
|
|
316
|
+
description: '发送验证码回调,参数:(account: string, type: "email" | "phone", channel?: string)',
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
name: 'onForgotPassword',
|
|
320
|
+
description: '忘记密码回调,参数:(account: string, channel?: string)',
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
name: 'onClose',
|
|
324
|
+
description: '关闭弹窗回调',
|
|
325
|
+
},
|
|
326
|
+
],
|
|
327
|
+
},
|
|
328
|
+
component: {
|
|
329
|
+
isContainer: false,
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
snippets: [
|
|
333
|
+
{
|
|
334
|
+
title: '认证弹窗',
|
|
335
|
+
screenshot: '',
|
|
336
|
+
schema: {
|
|
337
|
+
componentName: 'AuthModal',
|
|
338
|
+
props: {
|
|
339
|
+
visible: true,
|
|
340
|
+
config: {
|
|
341
|
+
auth: {
|
|
342
|
+
method: {
|
|
343
|
+
phone: { enabled: true, sort: 1 },
|
|
344
|
+
email: { enabled: true, sort: 2 },
|
|
345
|
+
facebook: { enabled: false, sort: 3 },
|
|
346
|
+
apple: { enabled: false, sort: 4 },
|
|
347
|
+
google: { enabled: false, sort: 5 },
|
|
348
|
+
guest: { enabled: true, sort: 6 },
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
page: {
|
|
352
|
+
login: {
|
|
353
|
+
ui: {
|
|
354
|
+
logo: { show: true, position: 'center' },
|
|
355
|
+
title: { show: true, text: '登录', align: 'center' },
|
|
356
|
+
subtitle: { show: false },
|
|
357
|
+
description: { show: false },
|
|
358
|
+
themeColor: '#7F56D9',
|
|
359
|
+
formLabels: {
|
|
360
|
+
email: { show: false },
|
|
361
|
+
phone: { show: false },
|
|
362
|
+
password: { show: false },
|
|
363
|
+
verificationCode: { show: false },
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
terms: { enabled: false, terms: [] },
|
|
367
|
+
},
|
|
368
|
+
register: {
|
|
369
|
+
ui: {
|
|
370
|
+
logo: { show: true, position: 'center' },
|
|
371
|
+
title: { show: true, text: '注册', align: 'center' },
|
|
372
|
+
subtitle: { show: false },
|
|
373
|
+
description: { show: false },
|
|
374
|
+
themeColor: '#7F56D9',
|
|
375
|
+
formLabels: {
|
|
376
|
+
email: { show: false },
|
|
377
|
+
phone: { show: false },
|
|
378
|
+
password: { show: false },
|
|
379
|
+
verificationCode: { show: false },
|
|
380
|
+
firstName: { show: false },
|
|
381
|
+
lastName: { show: false },
|
|
382
|
+
},
|
|
383
|
+
},
|
|
384
|
+
terms: { enabled: false, terms: [] },
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
},
|
|
388
|
+
displayMode: 'modal',
|
|
389
|
+
},
|
|
390
|
+
},
|
|
391
|
+
},
|
|
392
|
+
],
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
export default AuthModalMeta;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export default [
|
|
2
|
+
{
|
|
3
|
+
title: '宽度',
|
|
4
|
+
name: 'style.width',
|
|
5
|
+
setter: ['NumberSetter', 'StringSetter'],
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
title: '高度',
|
|
9
|
+
name: 'style.height',
|
|
10
|
+
setter: ['NumberSetter', 'StringSetter'],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
title: '显示边框',
|
|
14
|
+
name: 'style.borderStyle',
|
|
15
|
+
setter: {
|
|
16
|
+
componentName: 'RadioGroupSetter',
|
|
17
|
+
props: {
|
|
18
|
+
options: [
|
|
19
|
+
{
|
|
20
|
+
label: '显示边框',
|
|
21
|
+
value: 'solid',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: '无边框',
|
|
25
|
+
value: 'none',
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
},
|
|
29
|
+
initialValue: 'solid',
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
title: '边框粗细',
|
|
34
|
+
name: 'style.borderWidth',
|
|
35
|
+
setter: ['NumberSetter', 'StringSetter'],
|
|
36
|
+
defaultValue: 1,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
title: '边框颜色',
|
|
40
|
+
name: 'style.borderColor',
|
|
41
|
+
setter: ['ColorSetter'],
|
|
42
|
+
defaultValue: '#D0D5DD',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
title: '圆角',
|
|
46
|
+
name: 'style.borderRadius',
|
|
47
|
+
setter: ['NumberSetter', 'StringSetter'],
|
|
48
|
+
defaultValue: 8,
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
title: '内边距',
|
|
52
|
+
name: 'style.padding',
|
|
53
|
+
setter: ['NumberSetter', 'StringSetter'],
|
|
54
|
+
defaultValue: 8,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
title: { label: '左右间距', tip: '头像与内容之间间距' },
|
|
58
|
+
name: 'horizontalGap',
|
|
59
|
+
setter: ['NumberSetter', 'StringSetter'],
|
|
60
|
+
defaultValue: 8,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
title: { label: '字段', tip: '字段上下间距' },
|
|
64
|
+
name: 'verticalGap',
|
|
65
|
+
setter: ['NumberSetter', 'StringSetter'],
|
|
66
|
+
defaultValue: 4,
|
|
67
|
+
},
|
|
68
|
+
];
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export default [
|
|
2
|
+
{
|
|
3
|
+
type: 'group',
|
|
4
|
+
display: 'plain',
|
|
5
|
+
title: '姓名样式',
|
|
6
|
+
items: [
|
|
7
|
+
{
|
|
8
|
+
title: '文本大小',
|
|
9
|
+
name: 'nameStyle.fontSize',
|
|
10
|
+
setter: ['NumberSetter', 'StringSetter'],
|
|
11
|
+
defaultValue: 14,
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
title: '文本粗细',
|
|
15
|
+
name: 'nameStyle.fontWeight',
|
|
16
|
+
setter: ['NumberSetter', 'StringSetter'],
|
|
17
|
+
defaultValue: 600,
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
title: '文本颜色',
|
|
21
|
+
name: 'nameStyle.color',
|
|
22
|
+
setter: ['ColorSetter'],
|
|
23
|
+
defaultValue: '#101828',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
title: '文本下划线',
|
|
27
|
+
name: 'nameStyle.textDecoration',
|
|
28
|
+
setter: ['StringSetter'],
|
|
29
|
+
defaultvalu: 'unset',
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
];
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { AntdIconSetter } from '@pisell/materials/lowcode/_setters';
|
|
2
|
+
export default [
|
|
3
|
+
// {
|
|
4
|
+
// name: 'avatar.icon',
|
|
5
|
+
// title: { label: '头像图标', tip: 'icon | 设置头像的自定义图标' },
|
|
6
|
+
// setter: AntdIconSetter,
|
|
7
|
+
// },
|
|
8
|
+
{
|
|
9
|
+
name: 'avatar.shape',
|
|
10
|
+
title: { label: '头像形状', tip: 'shape | 指定头像的形状' },
|
|
11
|
+
setter: {
|
|
12
|
+
componentName: 'RadioGroupSetter',
|
|
13
|
+
props: {
|
|
14
|
+
options: ['circle', 'square'],
|
|
15
|
+
},
|
|
16
|
+
initialValue: 'circle',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'avatar.borderRadius',
|
|
21
|
+
title: { label: '圆角度数', tip: 'borderRadius | 方形头像的圆角大小' },
|
|
22
|
+
setter: ['NumberSetter', 'StringSetter'],
|
|
23
|
+
defaultValue: 4,
|
|
24
|
+
condition: (target: any) => {
|
|
25
|
+
const shape = target.getProps().getPropValue('avatar.shape');
|
|
26
|
+
return shape === 'square';
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: 'avatar.size',
|
|
31
|
+
title: { label: '尺寸', tip: 'size | 设置头像的大小' },
|
|
32
|
+
setter: [
|
|
33
|
+
{
|
|
34
|
+
componentName: 'SelectSetter',
|
|
35
|
+
props: {
|
|
36
|
+
options: [
|
|
37
|
+
{
|
|
38
|
+
label: 'xs',
|
|
39
|
+
value: 'xs',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
label: 'sm',
|
|
43
|
+
value: 'sm',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: 'md',
|
|
47
|
+
value: 'md',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
label: 'lg',
|
|
51
|
+
value: 'lg',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
label: 'xl',
|
|
55
|
+
value: 'xl',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
label: 'xxl',
|
|
59
|
+
value: 'xxl',
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
'NumberSetter',
|
|
65
|
+
'StringSetter',
|
|
66
|
+
],
|
|
67
|
+
defaultValue: 'md',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'avatar.useTextAvatar',
|
|
71
|
+
title: {
|
|
72
|
+
label: '使用文本头像',
|
|
73
|
+
tip: 'useTextAvatar | 是否使用文本作为头像',
|
|
74
|
+
},
|
|
75
|
+
setter: 'BoolSetter',
|
|
76
|
+
defaultValue: false,
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: 'avatar.children',
|
|
80
|
+
title: { label: '文本内容', tip: 'children | 文本头像的内容' },
|
|
81
|
+
setter: 'StringSetter',
|
|
82
|
+
condition: {
|
|
83
|
+
type: 'JSFunction',
|
|
84
|
+
value: "target => target.getProps().getPropValue('avatar.useTextAvatar')",
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
// {
|
|
88
|
+
// title: '头像状态',
|
|
89
|
+
// name: 'avatar.isShowStatus',
|
|
90
|
+
// condition: (target: any) => target.getProps().getPropValue('isShowAvatar'),
|
|
91
|
+
// setter: 'BoolSetter',
|
|
92
|
+
// defaultValue: false,
|
|
93
|
+
// },
|
|
94
|
+
// {
|
|
95
|
+
// title: '状态颜色',
|
|
96
|
+
// name: 'avatar.statusColor',
|
|
97
|
+
// condition: (target: any) =>
|
|
98
|
+
// target.getProps().getPropValue('isShowAvatar') &&
|
|
99
|
+
// target.getProps().getPropValue('avatar.isShowStatus'),
|
|
100
|
+
// setter: 'ColorSetter',
|
|
101
|
+
// defaultValue: '#17B26A',
|
|
102
|
+
// },
|
|
103
|
+
];
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export default [
|
|
2
|
+
{
|
|
3
|
+
type: 'group',
|
|
4
|
+
display: 'plain',
|
|
5
|
+
title: '文本样式',
|
|
6
|
+
items: [
|
|
7
|
+
{
|
|
8
|
+
title: '文本大小',
|
|
9
|
+
name: 'textStyle.fontSize',
|
|
10
|
+
setter: ['NumberSetter', 'StringSetter'],
|
|
11
|
+
defaultValue: 14,
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
title: '文本粗细',
|
|
15
|
+
name: 'textStyle.fontWeight',
|
|
16
|
+
setter: ['NumberSetter', 'StringSetter'],
|
|
17
|
+
defaultValue: 400,
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
title: '文本颜色',
|
|
21
|
+
name: 'textStyle.color',
|
|
22
|
+
setter: ['ColorSetter'],
|
|
23
|
+
defaultValue: '#667085',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
title: '文本下划线',
|
|
27
|
+
name: 'textStyle.textDecoration',
|
|
28
|
+
setter: ['StringSetter'],
|
|
29
|
+
defaultvalu: 'unset',
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
];
|