@pisell/private-materials 6.5.13 → 6.5.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 +2 -2
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +7 -7
- package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/es/components/appointmentBooking/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/es/components/booking/components/actionButtons/index.js +15 -9
- package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/es/components/booking/components/footer/amount.js +7 -2
- package/es/components/booking/components/footer/index.js +2 -2
- package/es/components/booking/components/footer/utils.js +8 -1
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/es/components/booking/components/voucher/index.js +23 -19
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/footer.js +4 -13
- package/es/components/booking/forms/single/index.d.ts +1 -0
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/date/index.d.ts +1 -0
- package/es/components/booking/info/header/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/cartClientCard/index.js +7 -3
- package/es/components/booking/info2/service/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/index.d.ts +1 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/materiels/holder/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/addNote/index.d.ts +1 -0
- package/es/components/booking/utils.js +1 -1
- package/es/components/checkout/PaymentModal.js +42 -30
- package/es/components/checkout/PaymentPlugin.d.ts +1 -0
- package/es/components/checkout/components/CashPaymentModule/index.js +9 -9
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/hooks/useWalletPass.js +40 -22
- 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/index.d.ts +1 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftpos/surcharge/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +2 -1
- package/es/components/eftposPay/app.d.ts +1 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/es/components/eftposPay/component/fail/index.d.ts +1 -0
- package/es/components/eftposPay/component/fail/network.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/manual/index.d.ts +1 -0
- package/es/components/eftposPay/component/signature/index.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/index.d.ts +1 -0
- package/es/components/eftposPay/pay.d.ts +1 -0
- package/es/components/eftposPay/payo/config.d.ts +1 -0
- package/es/components/eftposPay/store/index.d.ts +5 -5
- package/es/components/eftposPay/tip.d.ts +1 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/es/components/eftposPay/windcave/windcave.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/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/list/List.d.ts +5 -0
- package/es/components/list/List.js +957 -0
- package/es/components/list/List.less +2 -0
- package/es/components/list/ResponsiveWrapper.d.ts +16 -0
- package/es/components/list/ResponsiveWrapper.js +130 -0
- package/es/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/es/components/list/TestResponsiveWrapper.js +816 -0
- package/es/components/list/TestResponsiveWrapper.less +968 -0
- package/es/components/list/components/EmptyState/EmptyState.d.ts +20 -0
- package/es/components/list/components/EmptyState/EmptyState.js +75 -0
- package/es/components/list/components/EmptyState/EmptyState.less +121 -0
- package/es/components/list/components/EmptyState/index.d.ts +2 -0
- package/es/components/list/components/EmptyState/index.js +1 -0
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.js +39 -0
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.less +29 -0
- package/es/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/es/components/list/components/ListItemSkeleton/index.js +2 -0
- package/es/components/list/components/Pagination/Pagination.d.ts +30 -0
- package/es/components/list/components/Pagination/Pagination.js +240 -0
- package/es/components/list/components/Pagination/Pagination.less +439 -0
- package/es/components/list/components/Pagination/index.d.ts +1 -0
- package/es/components/list/components/Pagination/index.js +1 -0
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
- package/es/components/list/components/ScrollLoader/ScrollLoader.js +18 -0
- package/es/components/list/components/ScrollLoader/ScrollLoader.less +3 -0
- package/es/components/list/components/ScrollLoader/index.d.ts +2 -0
- package/es/components/list/components/ScrollLoader/index.js +1 -0
- package/es/components/list/components/Tab/Tab.d.ts +5 -0
- package/es/components/list/components/Tab/Tab.js +43 -0
- package/es/components/list/components/Tab/Tab.less +139 -0
- package/es/components/list/components/Tab/index.d.ts +2 -0
- package/es/components/list/components/Tab/index.js +1 -0
- package/es/components/list/components/Tab/types.d.ts +14 -0
- package/es/components/list/components/Tab/types.js +1 -0
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
- package/es/components/list/components/TabSkeleton/TabSkeleton.js +28 -0
- package/es/components/list/components/TabSkeleton/TabSkeleton.less +38 -0
- package/es/components/list/components/TabSkeleton/index.d.ts +2 -0
- package/es/components/list/components/TabSkeleton/index.js +2 -0
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
- package/es/components/list/components/WaterfallList/WaterfallList.js +191 -0
- package/es/components/list/components/WaterfallList/WaterfallList.less +201 -0
- package/es/components/list/components/WaterfallList/index.d.ts +2 -0
- package/es/components/list/components/WaterfallList/index.js +1 -0
- package/es/components/list/examples/GroupedListExample.d.ts +3 -0
- package/es/components/list/examples/GroupedListExample.js +207 -0
- package/es/components/list/hooks/index.d.ts +5 -0
- package/es/components/list/hooks/index.js +3 -0
- package/es/components/list/hooks/useDevice.d.ts +24 -0
- package/es/components/list/hooks/useDevice.js +102 -0
- package/es/components/list/hooks/useListState.d.ts +43 -0
- package/es/components/list/hooks/useListState.js +176 -0
- package/es/components/list/hooks/useWaterfall.d.ts +34 -0
- package/es/components/list/hooks/useWaterfall.js +161 -0
- package/es/components/list/index.d.ts +10 -0
- package/es/components/list/index.js +7 -0
- package/es/components/list/locales.d.ts +66 -0
- package/es/components/list/locales.js +107 -0
- package/es/components/list/styles/base.less +39 -0
- package/es/components/list/styles/content.less +416 -0
- package/es/components/list/styles/floatButton.less +107 -0
- package/es/components/list/styles/footer.less +49 -0
- package/es/components/list/styles/header.less +69 -0
- package/es/components/list/styles/responsive.less +166 -0
- package/es/components/list/types.d.ts +177 -0
- package/es/components/list/types.js +1 -0
- package/es/components/list/utils/getText.d.ts +53 -0
- package/es/components/list/utils/getText.js +150 -0
- package/es/components/list/utils/index.d.ts +4 -0
- package/es/components/list/utils/index.js +5 -0
- package/es/components/login/index.d.ts +1 -0
- package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/es/components/pay/toB/components/Content/Header.d.ts +1 -0
- package/es/components/pay/toB/store/hooks.js +19 -5
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.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/components/PageLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/calendar/index.d.ts +1 -0
- package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- 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/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/es/components/schedules/products/list/index.d.ts +1 -0
- package/es/components/schedules/resources/index.d.ts +1 -0
- package/es/components/schedules/resources/list/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/schedules/index.d.ts +1 -0
- package/es/components/taxSelect/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +143 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.js +7 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.less +41 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.js +273 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +50 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +130 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +21 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +665 -217
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +3 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.js +6 -2
- package/es/components/ticketBooking/components/menuBar/index.d.ts +5 -1
- package/es/components/ticketBooking/components/menuBar/index.js +40 -17
- package/es/components/ticketBooking/components/menuBar/index.less +27 -1
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/es/components/ticketBooking/components/ticketBooking/index.js +105 -32
- package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/es/components/ticketBooking/components/timeBar/index.js +4 -1
- package/es/components/ticketBooking/components/timeBar/index.less +1 -0
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/es/components/ticketBooking/context/IsActiveContext.js +37 -0
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
- package/es/components/ticketBooking/context/OsKeyContext.js +37 -0
- package/es/components/ticketBooking/context/index.d.ts +2 -0
- package/es/components/ticketBooking/context/index.js +2 -0
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +5 -0
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +13 -1
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +1 -0
- package/es/components/ticketBooking/hooks/pisellos/index.js +2 -1
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.js +50 -0
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +12 -4
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +4 -0
- package/es/components/ticketBooking/hooks/pisellos/useProducts.js +141 -4
- package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +5 -2
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +7 -2
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +17 -0
- package/es/components/ticketBooking/index.d.ts +6 -0
- package/es/components/ticketBooking/index.js +86 -12
- package/es/components/ticketBooking/utils/index.d.ts +30 -2
- package/es/components/ticketBooking/utils/index.js +73 -8
- package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/es/components/ticketBooking/utils/productCache.js +184 -0
- package/es/hooks/usePaymentLogger.d.ts +1 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +3 -1
- package/es/plus/clientName/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +8 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +17 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +17 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +17 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +2 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +100 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +8 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +32 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +8 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +239 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +44 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +34 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +14 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +33 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +30 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +75 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +46 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +39 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +9 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +53 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +31 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +31 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +58 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +85 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +24 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +121 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +57 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +95 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +18 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +31 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +47 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +34 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +13 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +95 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +18 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +31 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +34 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +13 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +39 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +22 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +20 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +20 -0
- package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +55 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +9 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.js +38 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.js +41 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.js +481 -0
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/es/plus/productSelect/ProductCard/SkuCard/type.js +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/es/plus/productSelect/ProductCard/SkuCard/utils.js +21 -0
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +2 -0
- package/es/plus/productSelect/components/pisellPriceText/index.js +7 -5
- package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/es/plus/saasCreateOrganization/index.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/es/plus/saasRegister/components/Header.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +20 -10
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/index.less +1 -2
- package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/lib/components/appointmentBooking/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/lib/components/booking/components/actionButtons/index.js +22 -17
- package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/lib/components/booking/components/footer/amount.js +5 -2
- package/lib/components/booking/components/footer/index.js +2 -2
- package/lib/components/booking/components/footer/utils.js +8 -1
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/lib/components/booking/components/voucher/index.js +33 -40
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/footer.js +7 -13
- package/lib/components/booking/forms/single/index.d.ts +1 -0
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/date/index.d.ts +1 -0
- package/lib/components/booking/info/header/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/cartClientCard/index.js +7 -3
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/materiels/holder/index.d.ts +1 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/booking/notes/addNote/index.d.ts +1 -0
- package/lib/components/booking/utils.js +1 -1
- package/lib/components/checkout/PaymentModal.js +26 -19
- package/lib/components/checkout/PaymentPlugin.d.ts +1 -0
- package/lib/components/checkout/components/CashPaymentModule/index.js +0 -1
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/hooks/useWalletPass.js +61 -46
- 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/index.d.ts +1 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftpos/surcharge/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +2 -1
- package/lib/components/eftposPay/app.d.ts +1 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
- package/lib/components/eftposPay/component/signature/index.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/index.d.ts +1 -0
- package/lib/components/eftposPay/pay.d.ts +1 -0
- package/lib/components/eftposPay/payo/config.d.ts +1 -0
- package/lib/components/eftposPay/store/index.d.ts +5 -5
- package/lib/components/eftposPay/tip.d.ts +1 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/lib/components/eftposPay/windcave/windcave.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/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/list/List.d.ts +5 -0
- package/lib/components/list/List.js +771 -0
- package/lib/components/list/List.less +2 -0
- package/lib/components/list/ResponsiveWrapper.d.ts +16 -0
- package/lib/components/list/ResponsiveWrapper.js +145 -0
- package/lib/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/lib/components/list/TestResponsiveWrapper.js +493 -0
- package/lib/components/list/TestResponsiveWrapper.less +968 -0
- package/lib/components/list/components/EmptyState/EmptyState.d.ts +20 -0
- package/lib/components/list/components/EmptyState/EmptyState.js +75 -0
- package/lib/components/list/components/EmptyState/EmptyState.less +121 -0
- package/lib/components/list/components/EmptyState/index.d.ts +2 -0
- package/lib/components/list/components/EmptyState/index.js +35 -0
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.js +75 -0
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.less +29 -0
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/lib/components/list/components/ListItemSkeleton/index.js +41 -0
- package/lib/components/list/components/Pagination/Pagination.d.ts +30 -0
- package/lib/components/list/components/Pagination/Pagination.js +205 -0
- package/lib/components/list/components/Pagination/Pagination.less +439 -0
- package/lib/components/list/components/Pagination/index.d.ts +1 -0
- package/lib/components/list/components/Pagination/index.js +35 -0
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
- package/lib/components/list/components/ScrollLoader/ScrollLoader.js +37 -0
- package/lib/components/list/components/ScrollLoader/ScrollLoader.less +3 -0
- package/lib/components/list/components/ScrollLoader/index.d.ts +2 -0
- package/lib/components/list/components/ScrollLoader/index.js +35 -0
- package/lib/components/list/components/Tab/Tab.d.ts +5 -0
- package/lib/components/list/components/Tab/Tab.js +72 -0
- package/lib/components/list/components/Tab/Tab.less +139 -0
- package/lib/components/list/components/Tab/index.d.ts +2 -0
- package/lib/components/list/components/Tab/index.js +35 -0
- package/lib/components/list/components/Tab/types.d.ts +14 -0
- package/lib/components/list/components/Tab/types.js +17 -0
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
- package/lib/components/list/components/TabSkeleton/TabSkeleton.js +61 -0
- package/lib/components/list/components/TabSkeleton/TabSkeleton.less +38 -0
- package/lib/components/list/components/TabSkeleton/index.d.ts +2 -0
- package/lib/components/list/components/TabSkeleton/index.js +41 -0
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
- package/lib/components/list/components/WaterfallList/WaterfallList.js +178 -0
- package/lib/components/list/components/WaterfallList/WaterfallList.less +201 -0
- package/lib/components/list/components/WaterfallList/index.d.ts +2 -0
- package/lib/components/list/components/WaterfallList/index.js +35 -0
- package/lib/components/list/examples/GroupedListExample.d.ts +3 -0
- package/lib/components/list/examples/GroupedListExample.js +210 -0
- package/lib/components/list/hooks/index.d.ts +5 -0
- package/lib/components/list/hooks/index.js +47 -0
- package/lib/components/list/hooks/useDevice.d.ts +24 -0
- package/lib/components/list/hooks/useDevice.js +96 -0
- package/lib/components/list/hooks/useListState.d.ts +43 -0
- package/lib/components/list/hooks/useListState.js +149 -0
- package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
- package/lib/components/list/hooks/useWaterfall.js +124 -0
- package/lib/components/list/index.d.ts +10 -0
- package/lib/components/list/index.js +60 -0
- package/lib/components/list/locales.d.ts +66 -0
- package/lib/components/list/locales.js +113 -0
- package/lib/components/list/styles/base.less +39 -0
- package/lib/components/list/styles/content.less +416 -0
- package/lib/components/list/styles/floatButton.less +107 -0
- package/lib/components/list/styles/footer.less +49 -0
- package/lib/components/list/styles/header.less +69 -0
- package/lib/components/list/styles/responsive.less +166 -0
- package/lib/components/list/types.d.ts +177 -0
- package/lib/components/list/types.js +17 -0
- package/lib/components/list/utils/getText.d.ts +53 -0
- package/lib/components/list/utils/getText.js +95 -0
- package/lib/components/list/utils/index.d.ts +4 -0
- package/lib/components/list/utils/index.js +43 -0
- package/lib/components/login/index.d.ts +1 -0
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/lib/components/pay/toB/components/Content/Header.d.ts +1 -0
- package/lib/components/pay/toB/store/hooks.js +16 -8
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.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/components/PageLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/calendar/index.d.ts +1 -0
- package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- 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/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/lib/components/schedules/products/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/index.d.ts +1 -0
- package/lib/components/schedules/resources/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/schedules/index.d.ts +1 -0
- package/lib/components/taxSelect/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +165 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.js +45 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.less +41 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.js +247 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +50 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +100 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +21 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +322 -223
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +3 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.js +4 -2
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +5 -1
- package/lib/components/ticketBooking/components/menuBar/index.js +24 -18
- package/lib/components/ticketBooking/components/menuBar/index.less +27 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +71 -17
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/timeBar/index.js +3 -1
- package/lib/components/ticketBooking/components/timeBar/index.less +1 -0
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/IsActiveContext.js +56 -0
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/OsKeyContext.js +56 -0
- package/lib/components/ticketBooking/context/index.d.ts +2 -0
- package/lib/components/ticketBooking/context/index.js +44 -0
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +5 -0
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +5 -1
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +1 -0
- package/lib/components/ticketBooking/hooks/pisellos/index.js +3 -1
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.js +47 -0
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +17 -10
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +4 -0
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +83 -0
- package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +4 -2
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +6 -2
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +37 -0
- package/lib/components/ticketBooking/index.d.ts +6 -0
- package/lib/components/ticketBooking/index.js +69 -7
- package/lib/components/ticketBooking/utils/index.d.ts +30 -2
- package/lib/components/ticketBooking/utils/index.js +91 -6
- package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/lib/components/ticketBooking/utils/productCache.js +144 -0
- package/lib/hooks/usePaymentLogger.d.ts +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +6 -0
- package/lib/plus/clientName/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +8 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +17 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +17 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +17 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +2 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +129 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +8 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +52 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +8 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +178 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +44 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +52 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +14 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +63 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +30 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +131 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +46 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +62 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +9 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +78 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +31 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +51 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +94 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +11 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +115 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +24 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +139 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +57 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +97 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +18 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +51 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +58 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +56 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +13 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +97 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +18 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +51 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +56 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +13 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +58 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +22 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +49 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +20 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +83 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +9 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.js +68 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.js +65 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.js +501 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/type.js +17 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.js +37 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +2 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -5
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/lib/plus/saasRegister/components/Header.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +61 -27
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.less +1 -2
- package/lowcode/sku-card/meta.ts +1812 -0
- package/lowcode/sku-card/snippets.ts +372 -0
- package/lowcode/sku-list/meta.ts +410 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1812 @@
|
|
|
1
|
+
import { ComponentMetadata } from '@alilc/lowcode-types';
|
|
2
|
+
import snippets from './snippets';
|
|
3
|
+
|
|
4
|
+
const SkuCardMeta: ComponentMetadata = {
|
|
5
|
+
componentName: 'SkuCard',
|
|
6
|
+
title: 'SkuCard',
|
|
7
|
+
docUrl: '',
|
|
8
|
+
screenshot: '',
|
|
9
|
+
category: '数据展示',
|
|
10
|
+
devMode: 'proCode',
|
|
11
|
+
npm: {
|
|
12
|
+
package: '@pisell/private-materials',
|
|
13
|
+
version: '1.0.0',
|
|
14
|
+
exportName: 'SkuCard',
|
|
15
|
+
main: 'src/index.tsx',
|
|
16
|
+
destructuring: true,
|
|
17
|
+
subName: '',
|
|
18
|
+
},
|
|
19
|
+
props: [
|
|
20
|
+
{
|
|
21
|
+
title: "数据",
|
|
22
|
+
display: "block",
|
|
23
|
+
type: "group",
|
|
24
|
+
items: [
|
|
25
|
+
{
|
|
26
|
+
name: "dataSource",
|
|
27
|
+
title: { label: "数据源" },
|
|
28
|
+
propType: "object",
|
|
29
|
+
setter: "JsonSetter",
|
|
30
|
+
supportVariable: true,
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'skuCardConfig.displayMode',
|
|
36
|
+
title: { label: '展示信息' },
|
|
37
|
+
setter: {
|
|
38
|
+
componentName: 'RadioGroupSetter',
|
|
39
|
+
props: {
|
|
40
|
+
options: [
|
|
41
|
+
{ label: 'A1', value: 'display_a1' },
|
|
42
|
+
{ label: 'A2', value: 'display_a2' },
|
|
43
|
+
{ label: 'A5', value: 'display_a5' },
|
|
44
|
+
{ label: 'A9', value: 'display_a9' },
|
|
45
|
+
{ label: '自定义', value: 'display_custom' },
|
|
46
|
+
],
|
|
47
|
+
},
|
|
48
|
+
initialValue: 'display_a1',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'skuCardConfig.layoutDirection',
|
|
53
|
+
title: { label: '展示样式' },
|
|
54
|
+
setter: {
|
|
55
|
+
componentName: 'RadioGroupSetter',
|
|
56
|
+
props: {
|
|
57
|
+
options: [
|
|
58
|
+
{ label: '横向', value: 'row' },
|
|
59
|
+
{ label: '纵向', value: 'column' },
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
initialValue: 'row',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'skuCardConfig.background',
|
|
67
|
+
title: { label: '背景色' },
|
|
68
|
+
setter: 'ColorSetter',
|
|
69
|
+
defaultValue: '#ffffff',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'skuCardConfig.paddingY',
|
|
73
|
+
title: { label: '上下padding' },
|
|
74
|
+
setter: 'NumberSetter',
|
|
75
|
+
defaultValue: 8,
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'skuCardConfig.paddingX',
|
|
79
|
+
title: { label: '左右padding' },
|
|
80
|
+
setter: 'NumberSetter',
|
|
81
|
+
defaultValue: 8,
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: 'skuCardConfig.marginY',
|
|
85
|
+
title: { label: '上下间距' },
|
|
86
|
+
setter: 'NumberSetter',
|
|
87
|
+
defaultValue: 0,
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: 'skuCardConfig.marginX',
|
|
91
|
+
title: { label: '左右间距' },
|
|
92
|
+
setter: 'NumberSetter',
|
|
93
|
+
defaultValue: 0,
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: 'skuCardConfig.radius',
|
|
97
|
+
title: { label: '圆角' },
|
|
98
|
+
setter: 'NumberSetter',
|
|
99
|
+
defaultValue: 12,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: 'skuCardConfig.isBorderVisible',
|
|
103
|
+
title: { label: '显示边框' },
|
|
104
|
+
propType: 'bool',
|
|
105
|
+
defaultValue: false,
|
|
106
|
+
setter: 'BoolSetter',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'skuCardConfig.borderWidth',
|
|
110
|
+
title: { label: '边框粗细' },
|
|
111
|
+
setter: 'NumberSetter',
|
|
112
|
+
defaultValue: 1,
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: 'skuCardConfig.borderColor',
|
|
116
|
+
title: { label: '边框颜色' },
|
|
117
|
+
setter: 'ColorSetter',
|
|
118
|
+
defaultValue: '#ffffff',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
name: 'skuCardConfig.isFoldable',
|
|
122
|
+
title: { label: '展开收起' },
|
|
123
|
+
defaultValue: true,
|
|
124
|
+
setter: 'BoolSetter',
|
|
125
|
+
condition(target) {
|
|
126
|
+
return target.getProps().getPropValue('skuCardConfig.displayMode') === 'display_a9'
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: 'skuCardConfig.slot',
|
|
131
|
+
title: { label: '开启插槽' },
|
|
132
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
133
|
+
setter: 'SlotSetter',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
title: '图片区域',
|
|
137
|
+
type: 'group',
|
|
138
|
+
display: 'entry',
|
|
139
|
+
name: 'skuImageConfig',
|
|
140
|
+
items: [
|
|
141
|
+
{
|
|
142
|
+
name: 'skuImageConfig.isCover',
|
|
143
|
+
title: { label: '商品图片' },
|
|
144
|
+
propType: 'bool',
|
|
145
|
+
defaultValue: true,
|
|
146
|
+
setter: 'BoolSetter',
|
|
147
|
+
},
|
|
148
|
+
// {
|
|
149
|
+
// name: 'skuImageConfig.isVideo',
|
|
150
|
+
// title: { label: '商品视频' },
|
|
151
|
+
// propType: 'bool',
|
|
152
|
+
// defaultValue: true,
|
|
153
|
+
// setter: 'BoolSetter',
|
|
154
|
+
// },
|
|
155
|
+
// {
|
|
156
|
+
// name: 'skuImageConfig.isMultiMode',
|
|
157
|
+
// title: { label: '多图模式' },
|
|
158
|
+
// propType: 'bool',
|
|
159
|
+
// defaultValue: true,
|
|
160
|
+
// setter: 'BoolSetter',
|
|
161
|
+
// },
|
|
162
|
+
{
|
|
163
|
+
name: 'skuImageConfig.width',
|
|
164
|
+
title: { label: '商品图片宽度' },
|
|
165
|
+
setter: 'StringSetter',
|
|
166
|
+
defaultValue: '180px',
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
name: 'skuImageConfig.height',
|
|
170
|
+
title: { label: '商品图片高度' },
|
|
171
|
+
setter: 'StringSetter',
|
|
172
|
+
defaultValue: '126px',
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
name: 'skuImageConfig.isTextFallback',
|
|
176
|
+
title: { label: '无图使用文本图片' },
|
|
177
|
+
propType: 'bool',
|
|
178
|
+
defaultValue: true,
|
|
179
|
+
setter: 'BoolSetter',
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: 'skuImageConfig.background',
|
|
183
|
+
title: { label: '背景色' },
|
|
184
|
+
setter: 'ColorSetter',
|
|
185
|
+
defaultValue: '#ffffff',
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
name: 'skuImageConfig.radius',
|
|
189
|
+
title: { label: '圆角' },
|
|
190
|
+
setter: 'NumberSetter',
|
|
191
|
+
defaultValue: 12,
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: 'skuImageConfig.slot',
|
|
195
|
+
title: { label: '开启插槽' },
|
|
196
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
197
|
+
setter: 'SlotSetter',
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
name: 'skuImageConfig.slotPosition',
|
|
201
|
+
title: { label: '插槽位置' },
|
|
202
|
+
setter: {
|
|
203
|
+
componentName: 'RadioGroupSetter',
|
|
204
|
+
props: {
|
|
205
|
+
options: [
|
|
206
|
+
{ label: '左上', value: 'left_top' },
|
|
207
|
+
{ label: '左下', value: 'left_bottom' },
|
|
208
|
+
{ label: '右上', value: 'right_top' },
|
|
209
|
+
{ label: '右下', value: 'right_bottom' },
|
|
210
|
+
],
|
|
211
|
+
},
|
|
212
|
+
initialValue: 'left_top',
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
name: 'skuTextConfig',
|
|
219
|
+
title: '文本区域',
|
|
220
|
+
type: 'group',
|
|
221
|
+
display: 'entry',
|
|
222
|
+
items: [
|
|
223
|
+
{
|
|
224
|
+
title: '商品名称',
|
|
225
|
+
type: 'group',
|
|
226
|
+
display: 'entry',
|
|
227
|
+
name: 'skuNameConfig',
|
|
228
|
+
items: [
|
|
229
|
+
{
|
|
230
|
+
name: 'skuTextConfig.skuNameConfig.isOpen',
|
|
231
|
+
title: { label: '开启商品名称' },
|
|
232
|
+
propType: 'bool',
|
|
233
|
+
defaultValue: true,
|
|
234
|
+
setter: 'BoolSetter',
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
name: 'skuTextConfig.skuNameConfig.value',
|
|
238
|
+
title: { label: 'Title' },
|
|
239
|
+
propType: "string",
|
|
240
|
+
setter: "PisellI18nSetter",
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
name: 'skuTextConfig.skuNameConfig.fontSize',
|
|
244
|
+
title: { label: '标题文本大小' },
|
|
245
|
+
setter: 'NumberSetter',
|
|
246
|
+
defaultValue: 18,
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
name: 'skuTextConfig.skuNameConfig.fontWeight',
|
|
250
|
+
title: { label: '标题文本粗细' },
|
|
251
|
+
setter: 'NumberSetter',
|
|
252
|
+
defaultValue: 600,
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
name: 'skuTextConfig.skuNameConfig.color',
|
|
256
|
+
title: { label: '标题文本颜色' },
|
|
257
|
+
setter: 'ColorSetter',
|
|
258
|
+
defaultValue: '#101828',
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: 'skuTextConfig.skuNameConfig.ellipsisCount',
|
|
262
|
+
title: { label: '超出省略' },
|
|
263
|
+
setter: 'NumberSetter',
|
|
264
|
+
defaultValue: 1,
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
title: '副标题/简述',
|
|
270
|
+
type: 'group',
|
|
271
|
+
display: 'entry',
|
|
272
|
+
name: 'skuSubtitleConfig',
|
|
273
|
+
items: [
|
|
274
|
+
{
|
|
275
|
+
name: 'skuTextConfig.skuSubtitleConfig.isOpen',
|
|
276
|
+
title: { label: '开启副标题/简述' },
|
|
277
|
+
propType: 'bool',
|
|
278
|
+
defaultValue: true,
|
|
279
|
+
setter: 'BoolSetter',
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
name: 'skuTextConfig.skuSubtitleConfig.value',
|
|
283
|
+
title: { label: '副标题' },
|
|
284
|
+
propType: "string",
|
|
285
|
+
setter: "PisellI18nSetter",
|
|
286
|
+
initialValue: { 'zh-CN': '副标题', 'en': 'Subtitle' },
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
name: 'skuTextConfig.skuSubtitleConfig.fontSize',
|
|
290
|
+
title: { label: '副标题文本大小' },
|
|
291
|
+
setter: 'NumberSetter',
|
|
292
|
+
defaultValue: 14,
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: 'skuTextConfig.skuSubtitleConfig.fontWeight',
|
|
296
|
+
title: { label: '副标题文本粗细' },
|
|
297
|
+
setter: 'NumberSetter',
|
|
298
|
+
defaultValue: 400,
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
name: 'skuTextConfig.skuSubtitleConfig.color',
|
|
302
|
+
title: { label: '副标题文本颜色' },
|
|
303
|
+
setter: 'ColorSetter',
|
|
304
|
+
defaultValue: '#101828',
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
name: 'skuTextConfig.skuSubtitleConfig.ellipsisCount',
|
|
308
|
+
title: { label: '超出省略' },
|
|
309
|
+
setter: 'NumberSetter',
|
|
310
|
+
defaultValue: 1,
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
title: '价格',
|
|
316
|
+
type: 'group',
|
|
317
|
+
display: 'entry',
|
|
318
|
+
name: 'skuPriceConfig',
|
|
319
|
+
items: [
|
|
320
|
+
{
|
|
321
|
+
name: 'skuTextConfig.skuPriceConfig.isOpen',
|
|
322
|
+
title: { label: '开启价格' },
|
|
323
|
+
propType: 'bool',
|
|
324
|
+
defaultValue: true,
|
|
325
|
+
setter: 'BoolSetter',
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
name: 'skuTextConfig.skuPriceConfig.isPrice',
|
|
329
|
+
title: { label: '显示售价' },
|
|
330
|
+
propType: 'bool',
|
|
331
|
+
defaultValue: true,
|
|
332
|
+
setter: 'BoolSetter',
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
name: 'skuTextConfig.skuPriceConfig.priceFontSize',
|
|
336
|
+
title: { label: '售价文本大小' },
|
|
337
|
+
setter: 'NumberSetter',
|
|
338
|
+
defaultValue: 18,
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
name: 'skuTextConfig.skuPriceConfig.priceFontWeight',
|
|
342
|
+
title: { label: '售价文本粗细' },
|
|
343
|
+
setter: 'NumberSetter',
|
|
344
|
+
defaultValue: 600,
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
name: 'skuTextConfig.skuPriceConfig.priceColor',
|
|
348
|
+
title: { label: '售价文本颜色' },
|
|
349
|
+
setter: 'ColorSetter',
|
|
350
|
+
defaultValue: '#101828',
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
name: 'skuTextConfig.skuPriceConfig.isShowZeroPrice',
|
|
354
|
+
title: { label: '是否显示0元' },
|
|
355
|
+
propType: 'bool',
|
|
356
|
+
setter: 'BoolSetter',
|
|
357
|
+
defaultValue: true,
|
|
358
|
+
condition(target) {
|
|
359
|
+
return target.getProps().getPropValue('skuTextConfig.skuPriceConfig.isPrice') === true
|
|
360
|
+
},
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
name: 'skuTextConfig.skuPriceConfig.isShowFreePrice',
|
|
364
|
+
title: { label: '是否显示free' },
|
|
365
|
+
propType: 'bool',
|
|
366
|
+
setter: 'BoolSetter',
|
|
367
|
+
defaultValue: false,
|
|
368
|
+
condition(target) {
|
|
369
|
+
return target.getProps().getPropValue('skuTextConfig.skuPriceConfig.isShowZeroPrice') === true
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
name: 'skuTextConfig.skuPriceConfig.isOriginPrice',
|
|
374
|
+
title: { label: '显示原价' },
|
|
375
|
+
propType: 'bool',
|
|
376
|
+
defaultValue: true,
|
|
377
|
+
setter: 'BoolSetter',
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
name: 'skuTextConfig.skuPriceConfig.originPriceFontSize',
|
|
381
|
+
title: { label: '原价文本大小' },
|
|
382
|
+
setter: 'NumberSetter',
|
|
383
|
+
defaultValue: 16,
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
name: 'skuTextConfig.skuPriceConfig.originPriceFontWeight',
|
|
387
|
+
title: { label: '原价文本粗细' },
|
|
388
|
+
setter: 'NumberSetter',
|
|
389
|
+
defaultValue: 400,
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
name: 'skuTextConfig.skuPriceConfig.originPriceColor',
|
|
393
|
+
title: { label: '原价文本颜色' },
|
|
394
|
+
setter: 'ColorSetter',
|
|
395
|
+
defaultValue: '#667085',
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
name: 'skuTextConfig.skuPriceConfig.isTaxPrice',
|
|
399
|
+
title: { label: '显示税价' },
|
|
400
|
+
propType: 'bool',
|
|
401
|
+
defaultValue: true,
|
|
402
|
+
setter: 'BoolSetter',
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
name: 'skuTextConfig.skuPriceConfig.isCustomText',
|
|
406
|
+
title: { label: '自定义文本' },
|
|
407
|
+
propType: 'bool',
|
|
408
|
+
defaultValue: false,
|
|
409
|
+
setter: 'BoolSetter',
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
name: 'skuTextConfig.skuPriceConfig.customTextType',
|
|
413
|
+
title: { label: '自定义文本类型' },
|
|
414
|
+
setter: {
|
|
415
|
+
componentName: 'RadioGroupSetter',
|
|
416
|
+
props: {
|
|
417
|
+
options: [
|
|
418
|
+
{ label: '从起点', value: 'from' },
|
|
419
|
+
{ label: '终点', value: 'end' },
|
|
420
|
+
{ label: '区间', value: 'range' },
|
|
421
|
+
],
|
|
422
|
+
},
|
|
423
|
+
initialValue: 'from',
|
|
424
|
+
},
|
|
425
|
+
condition(target) {
|
|
426
|
+
return target.getProps().getPropValue('skuTextConfig.skuPriceConfig.isCustomText') === true
|
|
427
|
+
},
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
name: 'skuTextConfig.skuPriceConfig.customTextValue',
|
|
431
|
+
title: { label: '值' },
|
|
432
|
+
setter: 'NumberSetter',
|
|
433
|
+
defaultValue: 0,
|
|
434
|
+
condition(target) {
|
|
435
|
+
const customTextType = target.getProps().getPropValue('skuTextConfig.skuPriceConfig.customTextType')
|
|
436
|
+
return customTextType !== 'range' && target.getProps().getPropValue('skuTextConfig.skuPriceConfig.isCustomText') === true
|
|
437
|
+
},
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
name: 'skuTextConfig.skuPriceConfig.customTextMinValue',
|
|
441
|
+
title: { label: '最小值' },
|
|
442
|
+
setter: 'NumberSetter',
|
|
443
|
+
defaultValue: 0,
|
|
444
|
+
condition(target) {
|
|
445
|
+
const customTextType = target.getProps().getPropValue('skuTextConfig.skuPriceConfig.customTextType')
|
|
446
|
+
return customTextType === 'range' && target.getProps().getPropValue('skuTextConfig.skuPriceConfig.isCustomText') === true
|
|
447
|
+
},
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
name: 'skuTextConfig.skuPriceConfig.customTextMaxValue',
|
|
451
|
+
title: { label: '最大值' },
|
|
452
|
+
setter: 'NumberSetter',
|
|
453
|
+
defaultValue: 0,
|
|
454
|
+
condition(target) {
|
|
455
|
+
const customTextType = target.getProps().getPropValue('skuTextConfig.skuPriceConfig.customTextType')
|
|
456
|
+
return customTextType === 'range' && target.getProps().getPropValue('skuTextConfig.skuPriceConfig.isCustomText') === true
|
|
457
|
+
},
|
|
458
|
+
},
|
|
459
|
+
],
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
title: '库存',
|
|
463
|
+
type: 'group',
|
|
464
|
+
display: 'entry',
|
|
465
|
+
name: 'skuStockConfig',
|
|
466
|
+
items: [
|
|
467
|
+
{
|
|
468
|
+
name: 'skuTextConfig.skuStockConfig.isOpen',
|
|
469
|
+
title: { label: '开启库存' },
|
|
470
|
+
propType: 'bool',
|
|
471
|
+
defaultValue: true,
|
|
472
|
+
setter: 'BoolSetter',
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
name: 'skuTextConfig.skuStockConfig.fontSize',
|
|
476
|
+
title: { label: '文本大小' },
|
|
477
|
+
setter: 'NumberSetter',
|
|
478
|
+
defaultValue: 14,
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
name: 'skuTextConfig.skuStockConfig.fontWeight',
|
|
482
|
+
title: { label: '文本粗细' },
|
|
483
|
+
setter: 'NumberSetter',
|
|
484
|
+
defaultValue: 500,
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
name: 'skuTextConfig.skuStockConfig.color',
|
|
488
|
+
title: { label: '文本颜色' },
|
|
489
|
+
setter: 'ColorSetter',
|
|
490
|
+
defaultValue: '#667085',
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
name: 'skuTextConfig.skuStockConfig.customText',
|
|
494
|
+
title: { label: '自定义文本' },
|
|
495
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
496
|
+
setter: 'SlotSetter',
|
|
497
|
+
},
|
|
498
|
+
],
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
title: '容量',
|
|
502
|
+
type: 'group',
|
|
503
|
+
display: 'entry',
|
|
504
|
+
name: 'skuCapacityConfig',
|
|
505
|
+
items: [
|
|
506
|
+
{
|
|
507
|
+
name: 'skuTextConfig.skuCapacityConfig.isOpen',
|
|
508
|
+
title: { label: '开启容量' },
|
|
509
|
+
propType: 'bool',
|
|
510
|
+
defaultValue: true,
|
|
511
|
+
setter: 'BoolSetter',
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
name: 'skuTextConfig.skuCapacityConfig.fontSize',
|
|
515
|
+
title: { label: '文本大小' },
|
|
516
|
+
setter: 'NumberSetter',
|
|
517
|
+
defaultValue: 14,
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
name: 'skuTextConfig.skuCapacityConfig.fontWeight',
|
|
521
|
+
title: { label: '文本粗细' },
|
|
522
|
+
setter: 'NumberSetter',
|
|
523
|
+
defaultValue: 500,
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
name: 'skuTextConfig.skuCapacityConfig.color',
|
|
527
|
+
title: { label: '文本颜色' },
|
|
528
|
+
setter: 'ColorSetter',
|
|
529
|
+
defaultValue: '#667085',
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
name: 'skuTextConfig.skuCapacityConfig.customText',
|
|
533
|
+
title: { label: '自定义文本' },
|
|
534
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
535
|
+
setter: 'SlotSetter',
|
|
536
|
+
},
|
|
537
|
+
],
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
title: '倒计时',
|
|
541
|
+
type: 'group',
|
|
542
|
+
display: 'entry',
|
|
543
|
+
name: 'skuCountdownConfig',
|
|
544
|
+
items: [
|
|
545
|
+
{
|
|
546
|
+
name: 'skuTextConfig.skuCountdownConfig.isOpen',
|
|
547
|
+
title: { label: '开启倒计时' },
|
|
548
|
+
propType: 'bool',
|
|
549
|
+
defaultValue: true,
|
|
550
|
+
setter: 'BoolSetter',
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
name: 'skuTextConfig.skuCountdownConfig.fontSize',
|
|
554
|
+
title: { label: '文本大小' },
|
|
555
|
+
setter: 'NumberSetter',
|
|
556
|
+
defaultValue: 14,
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
name: 'skuTextConfig.skuCountdownConfig.fontWeight',
|
|
560
|
+
title: { label: '文本粗细' },
|
|
561
|
+
setter: 'NumberSetter',
|
|
562
|
+
defaultValue: 500,
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
name: 'skuTextConfig.skuCountdownConfig.color',
|
|
566
|
+
title: { label: '文本颜色' },
|
|
567
|
+
setter: 'ColorSetter',
|
|
568
|
+
defaultValue: '#D92D20',
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
name: 'skuTextConfig.skuCountdownConfig.customText',
|
|
572
|
+
title: { label: '自定义文本' },
|
|
573
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
574
|
+
setter: 'SlotSetter',
|
|
575
|
+
},
|
|
576
|
+
],
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
title: '会员价标识',
|
|
580
|
+
type: 'group',
|
|
581
|
+
display: 'entry',
|
|
582
|
+
name: 'skuMemberPriceConfig',
|
|
583
|
+
items: [
|
|
584
|
+
{
|
|
585
|
+
name: 'skuTextConfig.skuMemberPriceConfig.isOpen',
|
|
586
|
+
title: { label: '开启会员价标识' },
|
|
587
|
+
propType: 'bool',
|
|
588
|
+
defaultValue: true,
|
|
589
|
+
setter: 'BoolSetter',
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
name: 'skuTextConfig.skuMemberPriceConfig.isMemberPrice',
|
|
593
|
+
title: { label: '显示会员价' },
|
|
594
|
+
propType: 'bool',
|
|
595
|
+
defaultValue: true,
|
|
596
|
+
setter: 'BoolSetter',
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
name: 'skuTextConfig.skuMemberPriceConfig.fontSize',
|
|
600
|
+
title: { label: '会员价文本大小' },
|
|
601
|
+
setter: 'NumberSetter',
|
|
602
|
+
defaultValue: 18,
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
name: 'skuTextConfig.skuMemberPriceConfig.fontWeight',
|
|
606
|
+
title: { label: '会员价文本粗细' },
|
|
607
|
+
setter: 'NumberSetter',
|
|
608
|
+
defaultValue: 600,
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
name: 'skuTextConfig.skuMemberPriceConfig.color',
|
|
612
|
+
title: { label: '会员价文本颜色' },
|
|
613
|
+
setter: 'ColorSetter',
|
|
614
|
+
defaultValue: '#079455',
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
name: 'skuTextConfig.skuMemberPriceConfig.isIndicator',
|
|
618
|
+
title: { label: '显示标识' },
|
|
619
|
+
propType: 'bool',
|
|
620
|
+
defaultValue: true,
|
|
621
|
+
setter: 'BoolSetter',
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
name: 'skuTextConfig.skuMemberPriceConfig.indicatorBackground',
|
|
625
|
+
title: { label: '背景色' },
|
|
626
|
+
setter: 'ColorSetter',
|
|
627
|
+
defaultValue: '#079455',
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
name: 'skuTextConfig.skuMemberPriceConfig.indicatorPaddingY',
|
|
631
|
+
title: { label: '上下padding' },
|
|
632
|
+
setter: 'NumberSetter',
|
|
633
|
+
defaultValue: 4,
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
name: 'skuTextConfig.skuMemberPriceConfig.indicatorPaddingX',
|
|
637
|
+
title: { label: '左右padding' },
|
|
638
|
+
setter: 'NumberSetter',
|
|
639
|
+
defaultValue: 4,
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
name: 'skuTextConfig.skuMemberPriceConfig.indicatorMarginX',
|
|
643
|
+
title: { label: '左右间距' },
|
|
644
|
+
setter: 'NumberSetter',
|
|
645
|
+
defaultValue: 4,
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
name: 'skuTextConfig.skuMemberPriceConfig.indicatorRadius',
|
|
649
|
+
title: { label: '圆角' },
|
|
650
|
+
setter: 'NumberSetter',
|
|
651
|
+
defaultValue: 4,
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
name: 'skuTextConfig.skuMemberPriceConfig.isIndicatorBorder',
|
|
655
|
+
title: { label: '显示边框' },
|
|
656
|
+
propType: 'bool',
|
|
657
|
+
defaultValue: true,
|
|
658
|
+
setter: 'BoolSetter',
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
name: 'skuTextConfig.skuMemberPriceConfig.indicatorBorderWidth',
|
|
662
|
+
title: { label: '边框粗细' },
|
|
663
|
+
setter: 'NumberSetter',
|
|
664
|
+
defaultValue: 1,
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
name: 'skuTextConfig.skuMemberPriceConfig.indicatorBorderColor',
|
|
668
|
+
title: { label: '边框颜色' },
|
|
669
|
+
setter: 'ColorSetter',
|
|
670
|
+
defaultValue: '#079455',
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
name: 'skuTextConfig.skuMemberPriceConfig.indicatorFontSize',
|
|
674
|
+
title: { label: '标识文本大小' },
|
|
675
|
+
setter: 'NumberSetter',
|
|
676
|
+
defaultValue: 12,
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
name: 'skuTextConfig.skuMemberPriceConfig.indicatorFontWeight',
|
|
680
|
+
title: { label: '标识文本粗细' },
|
|
681
|
+
setter: 'NumberSetter',
|
|
682
|
+
defaultValue: 400,
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
name: 'skuTextConfig.skuMemberPriceConfig.indicatorColor',
|
|
686
|
+
title: { label: '标识文本颜色' },
|
|
687
|
+
setter: 'ColorSetter',
|
|
688
|
+
defaultValue: 'white',
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
name: "skuTextConfig.skuMemberPriceConfig.indicatorIcon",
|
|
692
|
+
title: { label: '标识icon' },
|
|
693
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
694
|
+
setter: [{
|
|
695
|
+
componentName: "SlotSetter",
|
|
696
|
+
initialValue: {
|
|
697
|
+
type: "JSSlot",
|
|
698
|
+
value: [
|
|
699
|
+
{
|
|
700
|
+
componentName: "Icon",
|
|
701
|
+
props: {
|
|
702
|
+
type: "pisell2-arrow-right",
|
|
703
|
+
size: 24,
|
|
704
|
+
rotate: 0,
|
|
705
|
+
spin: false,
|
|
706
|
+
color: '#ffffff',
|
|
707
|
+
},
|
|
708
|
+
},
|
|
709
|
+
],
|
|
710
|
+
},
|
|
711
|
+
}],
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
name: 'skuTextConfig.skuMemberPriceConfig.customText',
|
|
715
|
+
title: { label: '自定义文本' },
|
|
716
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
717
|
+
setter: 'SlotSetter',
|
|
718
|
+
},
|
|
719
|
+
],
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
title: '标签区',
|
|
723
|
+
type: 'group',
|
|
724
|
+
display: 'entry',
|
|
725
|
+
name: 'skuTagsConfig',
|
|
726
|
+
items: [
|
|
727
|
+
{
|
|
728
|
+
name: 'skuTextConfig.skuTagsConfig.isOpen',
|
|
729
|
+
title: { label: '开启标签区' },
|
|
730
|
+
propType: 'bool',
|
|
731
|
+
defaultValue: true,
|
|
732
|
+
setter: 'BoolSetter',
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
name: "skuTextConfig.skuTagsConfig.lists",
|
|
736
|
+
title: { label: "标签组" },
|
|
737
|
+
setter: {
|
|
738
|
+
componentName: "ArraySetter",
|
|
739
|
+
props: {
|
|
740
|
+
itemSetter: {
|
|
741
|
+
componentName: "ObjectSetter",
|
|
742
|
+
props: {
|
|
743
|
+
config: {
|
|
744
|
+
items: [
|
|
745
|
+
{
|
|
746
|
+
name: "title",
|
|
747
|
+
title: { label: "名称" },
|
|
748
|
+
propType: "string",
|
|
749
|
+
setter: "PisellI18nSetter",
|
|
750
|
+
isRequired: true,
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
name: "background",
|
|
754
|
+
title: { label: "背景色" },
|
|
755
|
+
setter: "ColorSetter",
|
|
756
|
+
defaultValue: '#FEF3F2',
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
name: 'paddingY',
|
|
760
|
+
title: { label: '上下padding' },
|
|
761
|
+
setter: 'NumberSetter',
|
|
762
|
+
defaultValue: 2,
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
name: 'paddingX',
|
|
766
|
+
title: { label: '左右padding' },
|
|
767
|
+
setter: 'NumberSetter',
|
|
768
|
+
defaultValue: 8,
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
name: 'radius',
|
|
772
|
+
title: { label: '圆角' },
|
|
773
|
+
setter: 'NumberSetter',
|
|
774
|
+
defaultValue: 4,
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
name: 'isBorder',
|
|
778
|
+
title: { label: '显示边框' },
|
|
779
|
+
propType: 'bool',
|
|
780
|
+
defaultValue: true,
|
|
781
|
+
setter: 'BoolSetter',
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
name: 'borderWidth',
|
|
785
|
+
title: { label: '边框粗细' },
|
|
786
|
+
setter: 'NumberSetter',
|
|
787
|
+
defaultValue: 1,
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
name: 'borderColor',
|
|
791
|
+
title: { label: '边框颜色' },
|
|
792
|
+
setter: 'ColorSetter',
|
|
793
|
+
defaultValue: '#FECDCA',
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
name: 'fontSize',
|
|
797
|
+
title: { label: '文本大小' },
|
|
798
|
+
setter: 'NumberSetter',
|
|
799
|
+
defaultValue: 12,
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
name: 'fontWeight',
|
|
803
|
+
title: { label: '文本粗细' },
|
|
804
|
+
setter: 'NumberSetter',
|
|
805
|
+
defaultValue: 500,
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
name: 'color',
|
|
809
|
+
title: { label: '文本颜色' },
|
|
810
|
+
setter: 'ColorSetter',
|
|
811
|
+
defaultValue: '#B42318',
|
|
812
|
+
},
|
|
813
|
+
],
|
|
814
|
+
},
|
|
815
|
+
},
|
|
816
|
+
initialValue: {
|
|
817
|
+
title: '标签1',
|
|
818
|
+
background: '#FEF3F2',
|
|
819
|
+
paddingY: 2,
|
|
820
|
+
paddingX: 8,
|
|
821
|
+
radius: 4,
|
|
822
|
+
isBorder: true,
|
|
823
|
+
borderWidth: 1,
|
|
824
|
+
borderColor: '#FECDCA',
|
|
825
|
+
fontSize: 12,
|
|
826
|
+
fontWeight: 500,
|
|
827
|
+
color: '#B42318',
|
|
828
|
+
},
|
|
829
|
+
},
|
|
830
|
+
},
|
|
831
|
+
},
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
name: 'skuTextConfig.skuTagsConfig.marginX',
|
|
835
|
+
title: { label: '左右间距' },
|
|
836
|
+
setter: 'NumberSetter',
|
|
837
|
+
defaultValue: 4,
|
|
838
|
+
},
|
|
839
|
+
// {
|
|
840
|
+
// name: 'skuTagsConfig.size',
|
|
841
|
+
// title: { label: '标签大小' },
|
|
842
|
+
// setter: {
|
|
843
|
+
// componentName: 'RadioGroupSetter',
|
|
844
|
+
// props: {
|
|
845
|
+
// options: [
|
|
846
|
+
// { label: '小', value: 'small' },
|
|
847
|
+
// { label: '中', value: 'medium' },
|
|
848
|
+
// { label: '大', value: 'large' },
|
|
849
|
+
// ],
|
|
850
|
+
// },
|
|
851
|
+
// initialValue: 'small',
|
|
852
|
+
// },
|
|
853
|
+
// },
|
|
854
|
+
{
|
|
855
|
+
name: 'skuTextConfig.skuTagsConfig.isShowAll',
|
|
856
|
+
title: { label: '显示全部' },
|
|
857
|
+
propType: 'bool',
|
|
858
|
+
defaultValue: true,
|
|
859
|
+
setter: 'BoolSetter',
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
name: 'skuTextConfig.skuTagsConfig.maxCount',
|
|
863
|
+
title: { label: '最多显示几个' },
|
|
864
|
+
setter: 'NumberSetter',
|
|
865
|
+
defaultValue: 4,
|
|
866
|
+
condition(target) {
|
|
867
|
+
return !target.getProps().getPropValue('skuTextConfig.skuTagsConfig.isShowAll');
|
|
868
|
+
},
|
|
869
|
+
},
|
|
870
|
+
],
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
title: '时长',
|
|
874
|
+
type: 'group',
|
|
875
|
+
display: 'entry',
|
|
876
|
+
name: 'skuDurationConfig',
|
|
877
|
+
items: [
|
|
878
|
+
{
|
|
879
|
+
name: 'skuTextConfig.skuDurationConfig.isOpen',
|
|
880
|
+
title: { label: '开启时长' },
|
|
881
|
+
propType: 'bool',
|
|
882
|
+
defaultValue: true,
|
|
883
|
+
setter: 'BoolSetter',
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
name: 'skuTextConfig.skuDurationConfig.fontSize',
|
|
887
|
+
title: { label: '文本大小' },
|
|
888
|
+
setter: 'NumberSetter',
|
|
889
|
+
defaultValue: 14,
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
name: 'skuTextConfig.skuDurationConfig.fontWeight',
|
|
893
|
+
title: { label: '文本粗细' },
|
|
894
|
+
setter: 'NumberSetter',
|
|
895
|
+
defaultValue: 500,
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
name: 'skuTextConfig.skuDurationConfig.color',
|
|
899
|
+
title: { label: '文本颜色' },
|
|
900
|
+
setter: 'ColorSetter',
|
|
901
|
+
defaultValue: '#667085',
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
name: 'skuTextConfig.skuDurationConfig.customText',
|
|
905
|
+
title: { label: '自定义文本' },
|
|
906
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
907
|
+
setter: 'SlotSetter',
|
|
908
|
+
},
|
|
909
|
+
],
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
title: '时间信息',
|
|
913
|
+
type: 'group',
|
|
914
|
+
display: 'entry',
|
|
915
|
+
name: 'skuTimeConfig',
|
|
916
|
+
items: [
|
|
917
|
+
{
|
|
918
|
+
name: 'skuTextConfig.skuTimeConfig.isOpen',
|
|
919
|
+
title: { label: '开启时间信息' },
|
|
920
|
+
propType: 'bool',
|
|
921
|
+
defaultValue: true,
|
|
922
|
+
setter: 'BoolSetter',
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
name: 'skuTextConfig.skuTimeConfig.fontSize',
|
|
926
|
+
title: { label: '文本大小' },
|
|
927
|
+
setter: 'NumberSetter',
|
|
928
|
+
defaultValue: 14,
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
name: 'skuTextConfig.skuTimeConfig.fontWeight',
|
|
932
|
+
title: { label: '文本粗细' },
|
|
933
|
+
setter: 'NumberSetter',
|
|
934
|
+
defaultValue: 500,
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
name: 'skuTextConfig.skuTimeConfig.color',
|
|
938
|
+
title: { label: '文本颜色' },
|
|
939
|
+
setter: 'ColorSetter',
|
|
940
|
+
defaultValue: '#667085',
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
name: 'skuTextConfig.skuTimeConfig.customText',
|
|
944
|
+
title: { label: '自定义文本' },
|
|
945
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
946
|
+
setter: 'SlotSetter',
|
|
947
|
+
},
|
|
948
|
+
],
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
title: '资源信息',
|
|
952
|
+
type: 'group',
|
|
953
|
+
display: 'entry',
|
|
954
|
+
name: 'skuResourceConfig',
|
|
955
|
+
items: [
|
|
956
|
+
{
|
|
957
|
+
name: 'skuTextConfig.skuResourceConfig.isOpen',
|
|
958
|
+
title: { label: '开启资源信息' },
|
|
959
|
+
propType: 'bool',
|
|
960
|
+
defaultValue: true,
|
|
961
|
+
setter: 'BoolSetter',
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
name: 'skuTextConfig.skuResourceConfig.fontSize',
|
|
965
|
+
title: { label: '文本大小' },
|
|
966
|
+
setter: 'NumberSetter',
|
|
967
|
+
defaultValue: 14,
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
name: 'skuTextConfig.skuResourceConfig.fontWeight',
|
|
971
|
+
title: { label: '文本粗细' },
|
|
972
|
+
setter: 'NumberSetter',
|
|
973
|
+
defaultValue: 500,
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
name: 'skuTextConfig.skuResourceConfig.color',
|
|
977
|
+
title: { label: '文本颜色' },
|
|
978
|
+
setter: 'ColorSetter',
|
|
979
|
+
defaultValue: '#667085',
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
name: 'skuTextConfig.skuResourceConfig.customText',
|
|
983
|
+
title: { label: '自定义文本' },
|
|
984
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
985
|
+
setter: 'SlotSetter',
|
|
986
|
+
},
|
|
987
|
+
],
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
title: '促销信息',
|
|
991
|
+
type: 'group',
|
|
992
|
+
display: 'entry',
|
|
993
|
+
name: 'skuPromotionsConfig',
|
|
994
|
+
items: [
|
|
995
|
+
{
|
|
996
|
+
name: 'skuTextConfig.skuPromotionsConfig.isOpen',
|
|
997
|
+
title: { label: '开启促销信息' },
|
|
998
|
+
propType: 'bool',
|
|
999
|
+
defaultValue: true,
|
|
1000
|
+
setter: 'BoolSetter',
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
name: "skuTextConfig.skuPromotionsConfig.lists",
|
|
1004
|
+
title: { label: "促销信息组" },
|
|
1005
|
+
setter: {
|
|
1006
|
+
componentName: "ArraySetter",
|
|
1007
|
+
props: {
|
|
1008
|
+
itemSetter: {
|
|
1009
|
+
componentName: "ObjectSetter",
|
|
1010
|
+
props: {
|
|
1011
|
+
config: {
|
|
1012
|
+
items: [
|
|
1013
|
+
{
|
|
1014
|
+
name: "title",
|
|
1015
|
+
title: { label: "名称" },
|
|
1016
|
+
propType: "string",
|
|
1017
|
+
setter: "PisellI18nSetter",
|
|
1018
|
+
isRequired: true,
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
name: "background",
|
|
1022
|
+
title: { label: "背景色" },
|
|
1023
|
+
setter: "ColorSetter",
|
|
1024
|
+
defaultValue: '#FEF3F2',
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
name: 'paddingY',
|
|
1028
|
+
title: { label: '上下padding' },
|
|
1029
|
+
setter: 'NumberSetter',
|
|
1030
|
+
defaultValue: 2,
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
name: 'paddingX',
|
|
1034
|
+
title: { label: '左右padding' },
|
|
1035
|
+
setter: 'NumberSetter',
|
|
1036
|
+
defaultValue: 8,
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
name: 'radius',
|
|
1040
|
+
title: { label: '圆角' },
|
|
1041
|
+
setter: 'NumberSetter',
|
|
1042
|
+
defaultValue: 16,
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
name: 'isBorder',
|
|
1046
|
+
title: { label: '显示边框' },
|
|
1047
|
+
propType: 'bool',
|
|
1048
|
+
defaultValue: true,
|
|
1049
|
+
setter: 'BoolSetter',
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
name: 'borderWidth',
|
|
1053
|
+
title: { label: '边框粗细' },
|
|
1054
|
+
setter: 'NumberSetter',
|
|
1055
|
+
defaultValue: 1,
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
name: 'borderColor',
|
|
1059
|
+
title: { label: '边框颜色' },
|
|
1060
|
+
setter: 'ColorSetter',
|
|
1061
|
+
defaultValue: '#FECDCA',
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
name: 'fontSize',
|
|
1065
|
+
title: { label: '文本大小' },
|
|
1066
|
+
setter: 'NumberSetter',
|
|
1067
|
+
defaultValue: 12,
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
name: 'fontWeight',
|
|
1071
|
+
title: { label: '文本粗细' },
|
|
1072
|
+
setter: 'NumberSetter',
|
|
1073
|
+
defaultValue: 500,
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
name: 'color',
|
|
1077
|
+
title: { label: '文本颜色' },
|
|
1078
|
+
setter: 'ColorSetter',
|
|
1079
|
+
defaultValue: '#B42318',
|
|
1080
|
+
},
|
|
1081
|
+
],
|
|
1082
|
+
},
|
|
1083
|
+
},
|
|
1084
|
+
initialValue: {
|
|
1085
|
+
title: '促销信息1',
|
|
1086
|
+
background: '#FEF3F2',
|
|
1087
|
+
paddingY: 2,
|
|
1088
|
+
paddingX: 8,
|
|
1089
|
+
radius: 16,
|
|
1090
|
+
isBorder: true,
|
|
1091
|
+
borderWidth: 1,
|
|
1092
|
+
borderColor: '#FECDCA',
|
|
1093
|
+
fontSize: 12,
|
|
1094
|
+
fontWeight: 500,
|
|
1095
|
+
color: '#B42318',
|
|
1096
|
+
},
|
|
1097
|
+
},
|
|
1098
|
+
},
|
|
1099
|
+
},
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
name: 'skuTextConfig.skuPromotionsConfig.marginX',
|
|
1103
|
+
title: { label: '左右间距' },
|
|
1104
|
+
setter: 'NumberSetter',
|
|
1105
|
+
defaultValue: 4,
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
name: 'skuTextConfig.skuPromotionsConfig.isShowAll',
|
|
1109
|
+
title: { label: '显示全部' },
|
|
1110
|
+
propType: 'bool',
|
|
1111
|
+
defaultValue: true,
|
|
1112
|
+
setter: 'BoolSetter',
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
name: 'skuTextConfig.skuPromotionsConfig.maxCount',
|
|
1116
|
+
title: { label: '最多显示几个' },
|
|
1117
|
+
setter: 'NumberSetter',
|
|
1118
|
+
defaultValue: 4,
|
|
1119
|
+
condition(target) {
|
|
1120
|
+
return !target.getProps().getPropValue('skuTextConfig.skuPromotionsConfig.isShowAll');
|
|
1121
|
+
},
|
|
1122
|
+
},
|
|
1123
|
+
],
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
name: 'skuTextConfig.infoConfig.paddingY',
|
|
1127
|
+
title: { label: '上下间距' },
|
|
1128
|
+
setter: 'NumberSetter',
|
|
1129
|
+
defaultValue: 0,
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
name: 'skuTextConfig.infoConfig.justifyContent',
|
|
1133
|
+
title: { label: '对齐方式 (横向)' },
|
|
1134
|
+
setter: {
|
|
1135
|
+
componentName: 'RadioGroupSetter',
|
|
1136
|
+
props: {
|
|
1137
|
+
options: [
|
|
1138
|
+
{ label: '居中对齐', value: 'center' },
|
|
1139
|
+
{ label: '下对齐', value: 'end' },
|
|
1140
|
+
{ label: '上对齐', value: 'start' },
|
|
1141
|
+
{ label: '两端对齐', value: 'space-between' },
|
|
1142
|
+
],
|
|
1143
|
+
},
|
|
1144
|
+
initialValue: 'center',
|
|
1145
|
+
},
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
name: 'skuTextConfig.infoConfig.alignItems',
|
|
1149
|
+
title: { label: '对齐方式 (竖向)' },
|
|
1150
|
+
setter: {
|
|
1151
|
+
componentName: 'RadioGroupSetter',
|
|
1152
|
+
props: {
|
|
1153
|
+
options: [
|
|
1154
|
+
{ label: '左对齐', value: 'start' },
|
|
1155
|
+
{ label: '右对齐', value: 'end' },
|
|
1156
|
+
{ label: '居中对齐', value: 'center' },
|
|
1157
|
+
],
|
|
1158
|
+
},
|
|
1159
|
+
initialValue: 'start',
|
|
1160
|
+
},
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
name: 'skuTextConfig.infoConfig.slot',
|
|
1164
|
+
title: { label: '插槽区域' },
|
|
1165
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
1166
|
+
setter: 'SlotSetter',
|
|
1167
|
+
},
|
|
1168
|
+
],
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
title: '操作区域',
|
|
1172
|
+
type: 'group',
|
|
1173
|
+
display: 'entry',
|
|
1174
|
+
name: 'skuActionConfig',
|
|
1175
|
+
items: [
|
|
1176
|
+
{
|
|
1177
|
+
name: 'skuActionConfig.isOpen',
|
|
1178
|
+
title: { label: '开启操作区域' },
|
|
1179
|
+
propType: 'bool',
|
|
1180
|
+
defaultValue: true,
|
|
1181
|
+
setter: 'BoolSetter',
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
name: 'skuActionConfig.method',
|
|
1185
|
+
title: { label: '操作方式' },
|
|
1186
|
+
setter: {
|
|
1187
|
+
componentName: 'RadioGroupSetter',
|
|
1188
|
+
props: {
|
|
1189
|
+
options: [
|
|
1190
|
+
{ label: 'icon', value: 'icon' },
|
|
1191
|
+
{ label: '单选', value: 'radio' },
|
|
1192
|
+
{ label: '多选', value: 'checkbox' },
|
|
1193
|
+
{ label: 'button', value: 'button' },
|
|
1194
|
+
],
|
|
1195
|
+
},
|
|
1196
|
+
initialValue: 'icon',
|
|
1197
|
+
},
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
name: 'skuActionConfig.iconMethod.icon',
|
|
1201
|
+
title: { label: 'icon选择' },
|
|
1202
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
1203
|
+
setter: [{
|
|
1204
|
+
componentName: "SlotSetter",
|
|
1205
|
+
initialValue: {
|
|
1206
|
+
type: "JSSlot",
|
|
1207
|
+
value: [
|
|
1208
|
+
{
|
|
1209
|
+
componentName: "Icon",
|
|
1210
|
+
props: {
|
|
1211
|
+
type: "pisell2-arrow-right",
|
|
1212
|
+
size: 24,
|
|
1213
|
+
rotate: 0,
|
|
1214
|
+
spin: false,
|
|
1215
|
+
color: '#ffffff',
|
|
1216
|
+
},
|
|
1217
|
+
},
|
|
1218
|
+
],
|
|
1219
|
+
},
|
|
1220
|
+
}],
|
|
1221
|
+
condition(target) {
|
|
1222
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'icon'
|
|
1223
|
+
},
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
name: 'skuActionConfig.iconMethod.background',
|
|
1227
|
+
title: { label: '背景色' },
|
|
1228
|
+
setter: 'ColorSetter',
|
|
1229
|
+
defaultValue: '#000000',
|
|
1230
|
+
condition(target) {
|
|
1231
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'icon'
|
|
1232
|
+
},
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
name: 'skuActionConfig.iconMethod.paddingY',
|
|
1236
|
+
title: { label: '上下padding' },
|
|
1237
|
+
setter: 'NumberSetter',
|
|
1238
|
+
defaultValue: 10,
|
|
1239
|
+
condition(target) {
|
|
1240
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'icon'
|
|
1241
|
+
},
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
name: 'skuActionConfig.iconMethod.paddingX',
|
|
1245
|
+
title: { label: '左右padding' },
|
|
1246
|
+
setter: 'NumberSetter',
|
|
1247
|
+
defaultValue: 10,
|
|
1248
|
+
condition(target) {
|
|
1249
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'icon'
|
|
1250
|
+
},
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
name: 'skuActionConfig.iconMethod.radius',
|
|
1254
|
+
title: { label: '圆角' },
|
|
1255
|
+
setter: 'NumberSetter',
|
|
1256
|
+
defaultValue: 8,
|
|
1257
|
+
condition(target) {
|
|
1258
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'icon'
|
|
1259
|
+
},
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
name: 'skuActionConfig.iconMethod.isBorder',
|
|
1263
|
+
title: { label: '显示边框' },
|
|
1264
|
+
propType: 'bool',
|
|
1265
|
+
defaultValue: false,
|
|
1266
|
+
setter: 'BoolSetter',
|
|
1267
|
+
condition(target) {
|
|
1268
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'icon'
|
|
1269
|
+
},
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
name: 'skuActionConfig.iconMethod.borderWidth',
|
|
1273
|
+
title: { label: '边框粗细' },
|
|
1274
|
+
setter: 'NumberSetter',
|
|
1275
|
+
defaultValue: 1,
|
|
1276
|
+
condition(target) {
|
|
1277
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'icon'
|
|
1278
|
+
},
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
name: 'skuActionConfig.iconMethod.borderColor',
|
|
1282
|
+
title: { label: '边框颜色' },
|
|
1283
|
+
setter: 'ColorSetter',
|
|
1284
|
+
defaultValue: '#000000',
|
|
1285
|
+
condition(target) {
|
|
1286
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'icon'
|
|
1287
|
+
},
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
name: 'skuActionConfig.radioMethod.icon',
|
|
1291
|
+
title: { label: 'icon选择' },
|
|
1292
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
1293
|
+
setter: [{
|
|
1294
|
+
componentName: "SlotSetter",
|
|
1295
|
+
initialValue: {
|
|
1296
|
+
type: "JSSlot",
|
|
1297
|
+
value: [
|
|
1298
|
+
{
|
|
1299
|
+
componentName: "Icon",
|
|
1300
|
+
props: {
|
|
1301
|
+
type: "pisell2-plus",
|
|
1302
|
+
size: 24,
|
|
1303
|
+
rotate: 0,
|
|
1304
|
+
spin: false,
|
|
1305
|
+
color: '#ffffff',
|
|
1306
|
+
},
|
|
1307
|
+
},
|
|
1308
|
+
],
|
|
1309
|
+
},
|
|
1310
|
+
}],
|
|
1311
|
+
condition(target) {
|
|
1312
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'radio'
|
|
1313
|
+
},
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
name: 'skuActionConfig.radioMethod.background',
|
|
1317
|
+
title: { label: '背景色' },
|
|
1318
|
+
setter: 'ColorSetter',
|
|
1319
|
+
defaultValue: '#DC6803',
|
|
1320
|
+
condition(target) {
|
|
1321
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'radio'
|
|
1322
|
+
},
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
name: 'skuActionConfig.radioMethod.paddingY',
|
|
1326
|
+
title: { label: '上下padding' },
|
|
1327
|
+
setter: 'NumberSetter',
|
|
1328
|
+
defaultValue: 10,
|
|
1329
|
+
condition(target) {
|
|
1330
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'radio'
|
|
1331
|
+
},
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
name: 'skuActionConfig.radioMethod.paddingX',
|
|
1335
|
+
title: { label: '左右padding' },
|
|
1336
|
+
setter: 'NumberSetter',
|
|
1337
|
+
defaultValue: 10,
|
|
1338
|
+
condition(target) {
|
|
1339
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'radio'
|
|
1340
|
+
},
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
name: 'skuActionConfig.radioMethod.radius',
|
|
1344
|
+
title: { label: '圆角' },
|
|
1345
|
+
setter: 'NumberSetter',
|
|
1346
|
+
defaultValue: 60,
|
|
1347
|
+
condition(target) {
|
|
1348
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'radio'
|
|
1349
|
+
},
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
name: 'skuActionConfig.radioMethod.isBorder',
|
|
1353
|
+
title: { label: '显示边框' },
|
|
1354
|
+
propType: 'bool',
|
|
1355
|
+
defaultValue: false,
|
|
1356
|
+
setter: 'BoolSetter',
|
|
1357
|
+
condition(target) {
|
|
1358
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'radio'
|
|
1359
|
+
},
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
name: 'skuActionConfig.radioMethod.borderWidth',
|
|
1363
|
+
title: { label: '边框粗细' },
|
|
1364
|
+
setter: 'NumberSetter',
|
|
1365
|
+
defaultValue: 1,
|
|
1366
|
+
condition(target) {
|
|
1367
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'radio'
|
|
1368
|
+
},
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
name: 'skuActionConfig.radioMethod.borderColor',
|
|
1372
|
+
title: { label: '边框颜色' },
|
|
1373
|
+
setter: 'ColorSetter',
|
|
1374
|
+
defaultValue: '#DC6803',
|
|
1375
|
+
condition(target) {
|
|
1376
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'radio'
|
|
1377
|
+
},
|
|
1378
|
+
},
|
|
1379
|
+
// checkbox类型
|
|
1380
|
+
{
|
|
1381
|
+
name: 'skuActionConfig.checkboxMethod.text',
|
|
1382
|
+
title: { label: '文案' },
|
|
1383
|
+
setter: 'StringSetter',
|
|
1384
|
+
defaultValue: 'Option',
|
|
1385
|
+
condition(target) {
|
|
1386
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'checkbox'
|
|
1387
|
+
},
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
name: 'skuActionConfig.checkboxMethod.fontSize',
|
|
1391
|
+
title: { label: '文本大小' },
|
|
1392
|
+
setter: 'NumberSetter',
|
|
1393
|
+
defaultValue: 16,
|
|
1394
|
+
condition(target) {
|
|
1395
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'checkbox'
|
|
1396
|
+
},
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
name: 'skuActionConfig.checkboxMethod.fontWeight',
|
|
1400
|
+
title: { label: '文本粗细' },
|
|
1401
|
+
setter: 'NumberSetter',
|
|
1402
|
+
defaultValue: 600,
|
|
1403
|
+
condition(target) {
|
|
1404
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'checkbox'
|
|
1405
|
+
},
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
name: 'skuActionConfig.checkboxMethod.color',
|
|
1409
|
+
title: { label: '文本颜色' },
|
|
1410
|
+
setter: 'ColorSetter',
|
|
1411
|
+
defaultValue: '#344054',
|
|
1412
|
+
condition(target) {
|
|
1413
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'checkbox'
|
|
1414
|
+
},
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
name: 'skuActionConfig.checkboxMethod.background',
|
|
1418
|
+
title: { label: '背景色' },
|
|
1419
|
+
setter: 'ColorSetter',
|
|
1420
|
+
defaultValue: '#ffffff',
|
|
1421
|
+
condition(target) {
|
|
1422
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'checkbox'
|
|
1423
|
+
},
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
name: 'skuActionConfig.checkboxMethod.paddingY',
|
|
1427
|
+
title: { label: '上下padding' },
|
|
1428
|
+
setter: 'NumberSetter',
|
|
1429
|
+
defaultValue: 10,
|
|
1430
|
+
condition(target) {
|
|
1431
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'checkbox'
|
|
1432
|
+
},
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
name: 'skuActionConfig.checkboxMethod.paddingX',
|
|
1436
|
+
title: { label: '左右padding' },
|
|
1437
|
+
setter: 'NumberSetter',
|
|
1438
|
+
defaultValue: 18,
|
|
1439
|
+
condition(target) {
|
|
1440
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'checkbox'
|
|
1441
|
+
},
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
name: 'skuActionConfig.checkboxMethod.radius',
|
|
1445
|
+
title: { label: '圆角' },
|
|
1446
|
+
setter: 'NumberSetter',
|
|
1447
|
+
defaultValue: 8,
|
|
1448
|
+
condition(target) {
|
|
1449
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'checkbox'
|
|
1450
|
+
},
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
name: 'skuActionConfig.checkboxMethod.isBorder',
|
|
1454
|
+
title: { label: '显示边框' },
|
|
1455
|
+
propType: 'bool',
|
|
1456
|
+
defaultValue: true,
|
|
1457
|
+
setter: 'BoolSetter',
|
|
1458
|
+
condition(target) {
|
|
1459
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'checkbox'
|
|
1460
|
+
},
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
name: 'skuActionConfig.checkboxMethod.borderWidth',
|
|
1464
|
+
title: { label: '边框粗细' },
|
|
1465
|
+
setter: 'NumberSetter',
|
|
1466
|
+
defaultValue: 1,
|
|
1467
|
+
condition(target) {
|
|
1468
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'checkbox'
|
|
1469
|
+
},
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
name: 'skuActionConfig.checkboxMethod.borderColor',
|
|
1473
|
+
title: { label: '边框颜色' },
|
|
1474
|
+
setter: 'ColorSetter',
|
|
1475
|
+
defaultValue: '#D0D5DD',
|
|
1476
|
+
condition(target) {
|
|
1477
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'checkbox'
|
|
1478
|
+
},
|
|
1479
|
+
},
|
|
1480
|
+
// button类型
|
|
1481
|
+
{
|
|
1482
|
+
name: 'skuActionConfig.buttonMethod.text',
|
|
1483
|
+
title: { label: '文案' },
|
|
1484
|
+
setter: 'StringSetter',
|
|
1485
|
+
defaultValue: 'Add',
|
|
1486
|
+
condition(target) {
|
|
1487
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'button'
|
|
1488
|
+
},
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
name: 'skuActionConfig.buttonMethod.fontSize',
|
|
1492
|
+
title: { label: '文本大小' },
|
|
1493
|
+
setter: 'NumberSetter',
|
|
1494
|
+
defaultValue: 16,
|
|
1495
|
+
condition(target) {
|
|
1496
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'button'
|
|
1497
|
+
},
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
name: 'skuActionConfig.buttonMethod.fontWeight',
|
|
1501
|
+
title: { label: '文本粗细' },
|
|
1502
|
+
setter: 'NumberSetter',
|
|
1503
|
+
defaultValue: 600,
|
|
1504
|
+
condition(target) {
|
|
1505
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'button'
|
|
1506
|
+
},
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
name: 'skuActionConfig.buttonMethod.color',
|
|
1510
|
+
title: { label: '文本颜色' },
|
|
1511
|
+
setter: 'ColorSetter',
|
|
1512
|
+
defaultValue: '#344054',
|
|
1513
|
+
condition(target) {
|
|
1514
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'button'
|
|
1515
|
+
},
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
name: 'skuActionConfig.buttonMethod.background',
|
|
1519
|
+
title: { label: '背景色' },
|
|
1520
|
+
setter: 'ColorSetter',
|
|
1521
|
+
defaultValue: '#ffffff',
|
|
1522
|
+
condition(target) {
|
|
1523
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'button'
|
|
1524
|
+
},
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
name: 'skuActionConfig.buttonMethod.paddingY',
|
|
1528
|
+
title: { label: '上下padding' },
|
|
1529
|
+
setter: 'NumberSetter',
|
|
1530
|
+
defaultValue: 10,
|
|
1531
|
+
condition(target) {
|
|
1532
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'button'
|
|
1533
|
+
},
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
name: 'skuActionConfig.buttonMethod.paddingX',
|
|
1537
|
+
title: { label: '左右padding' },
|
|
1538
|
+
setter: 'NumberSetter',
|
|
1539
|
+
defaultValue: 18,
|
|
1540
|
+
condition(target) {
|
|
1541
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'button'
|
|
1542
|
+
},
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
name: 'skuActionConfig.buttonMethod.radius',
|
|
1546
|
+
title: { label: '圆角' },
|
|
1547
|
+
setter: 'NumberSetter',
|
|
1548
|
+
defaultValue: 50,
|
|
1549
|
+
condition(target) {
|
|
1550
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'button'
|
|
1551
|
+
},
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
name: 'skuActionConfig.buttonMethod.isBorder',
|
|
1555
|
+
title: { label: '显示边框' },
|
|
1556
|
+
propType: 'bool',
|
|
1557
|
+
defaultValue: true,
|
|
1558
|
+
setter: 'BoolSetter',
|
|
1559
|
+
condition(target) {
|
|
1560
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'button'
|
|
1561
|
+
},
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
name: 'skuActionConfig.buttonMethod.borderWidth',
|
|
1565
|
+
title: { label: '边框粗细' },
|
|
1566
|
+
setter: 'NumberSetter',
|
|
1567
|
+
defaultValue: 1,
|
|
1568
|
+
condition(target) {
|
|
1569
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'button'
|
|
1570
|
+
},
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
name: 'skuActionConfig.buttonMethod.borderColor',
|
|
1574
|
+
title: { label: '边框颜色' },
|
|
1575
|
+
setter: 'ColorSetter',
|
|
1576
|
+
defaultValue: '#D0D5DD',
|
|
1577
|
+
condition(target) {
|
|
1578
|
+
return target.getProps().getPropValue('skuActionConfig.method') === 'button'
|
|
1579
|
+
},
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
name: 'skuActionConfig.slot',
|
|
1583
|
+
title: { label: '开启插槽' },
|
|
1584
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
1585
|
+
setter: 'SlotSetter',
|
|
1586
|
+
},
|
|
1587
|
+
],
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
title: '额外功能',
|
|
1591
|
+
type: 'group',
|
|
1592
|
+
display: 'entry',
|
|
1593
|
+
name: 'skuExtraConfig',
|
|
1594
|
+
items: [
|
|
1595
|
+
{
|
|
1596
|
+
name: 'skuExtraConfig.isOpen',
|
|
1597
|
+
title: { label: '开启额外功能' },
|
|
1598
|
+
propType: 'bool',
|
|
1599
|
+
defaultValue: true,
|
|
1600
|
+
setter: 'BoolSetter',
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
name: 'skuExtraConfig.isStepper',
|
|
1604
|
+
title: { label: '开启步进器' },
|
|
1605
|
+
propType: 'bool',
|
|
1606
|
+
defaultValue: true,
|
|
1607
|
+
setter: 'BoolSetter',
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
name: 'skuExtraConfig.stepperSize',
|
|
1611
|
+
title: { label: '步进器大小' },
|
|
1612
|
+
setter: {
|
|
1613
|
+
componentName: 'RadioGroupSetter',
|
|
1614
|
+
props: {
|
|
1615
|
+
options: [
|
|
1616
|
+
{ label: '大', value: 'large' },
|
|
1617
|
+
{ label: '小', value: 'small' },
|
|
1618
|
+
],
|
|
1619
|
+
},
|
|
1620
|
+
initialValue: 'small',
|
|
1621
|
+
},
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
name: 'skuExtraConfig.stepperColor',
|
|
1625
|
+
title: { label: '步进器颜色' },
|
|
1626
|
+
setter: 'ColorSetter',
|
|
1627
|
+
defaultValue: '#ffffff',
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
name: 'skuExtraConfig.isFavorite',
|
|
1631
|
+
title: { label: '开启收藏按钮' },
|
|
1632
|
+
propType: 'bool',
|
|
1633
|
+
defaultValue: true,
|
|
1634
|
+
setter: 'BoolSetter',
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
name: 'skuExtraConfig.favoritePosition',
|
|
1638
|
+
title: { label: '收藏按钮显示位置' },
|
|
1639
|
+
setter: {
|
|
1640
|
+
componentName: 'RadioGroupSetter',
|
|
1641
|
+
props: {
|
|
1642
|
+
options: [
|
|
1643
|
+
{ label: '左上', value: 'left_top' },
|
|
1644
|
+
{ label: '左下', value: 'left_bottom' },
|
|
1645
|
+
{ label: '右上', value: 'right_top' },
|
|
1646
|
+
{ label: '右下', value: 'right_bottom' },
|
|
1647
|
+
],
|
|
1648
|
+
},
|
|
1649
|
+
initialValue: 'left_top',
|
|
1650
|
+
},
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
name: 'skuExtraConfig.favoriteIcon',
|
|
1654
|
+
title: { label: '收藏icon' },
|
|
1655
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
1656
|
+
setter: [{
|
|
1657
|
+
componentName: "SlotSetter",
|
|
1658
|
+
initialValue: {
|
|
1659
|
+
type: "JSSlot",
|
|
1660
|
+
value: [
|
|
1661
|
+
{
|
|
1662
|
+
componentName: "Icon",
|
|
1663
|
+
props: {
|
|
1664
|
+
type: "HeartFilled",
|
|
1665
|
+
size: 20,
|
|
1666
|
+
rotate: 0,
|
|
1667
|
+
spin: false,
|
|
1668
|
+
color: '#DC6803',
|
|
1669
|
+
},
|
|
1670
|
+
},
|
|
1671
|
+
],
|
|
1672
|
+
},
|
|
1673
|
+
}],
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
name: 'skuExtraConfig.favoriteBackground',
|
|
1677
|
+
title: { label: '背景色' },
|
|
1678
|
+
setter: 'ColorSetter',
|
|
1679
|
+
defaultValue: '#ffffff',
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
name: 'skuExtraConfig.favoritePaddingY',
|
|
1683
|
+
title: { label: '上下padding' },
|
|
1684
|
+
setter: 'NumberSetter',
|
|
1685
|
+
defaultValue: 8,
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
name: 'skuExtraConfig.favoritePaddingX',
|
|
1689
|
+
title: { label: '左右padding' },
|
|
1690
|
+
setter: 'NumberSetter',
|
|
1691
|
+
defaultValue: 8,
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
name: 'skuExtraConfig.favoriteRadius',
|
|
1695
|
+
title: { label: '圆角' },
|
|
1696
|
+
setter: 'NumberSetter',
|
|
1697
|
+
defaultValue: 12,
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
name: 'skuExtraConfig.isFavoriteBorder',
|
|
1701
|
+
title: { label: '显示边框' },
|
|
1702
|
+
propType: 'bool',
|
|
1703
|
+
defaultValue: false,
|
|
1704
|
+
setter: 'BoolSetter',
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
name: 'skuExtraConfig.favoriteBorderWidth',
|
|
1708
|
+
title: { label: '边框粗细' },
|
|
1709
|
+
setter: 'NumberSetter',
|
|
1710
|
+
defaultValue: 1,
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
name: 'skuExtraConfig.favoriteBorderColor',
|
|
1714
|
+
title: { label: '边框颜色' },
|
|
1715
|
+
setter: 'ColorSetter',
|
|
1716
|
+
defaultValue: '#5d3f9f',
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
name: 'skuExtraConfig.isTooltipTag',
|
|
1720
|
+
title: { label: '开启悬浮标签' },
|
|
1721
|
+
propType: 'bool',
|
|
1722
|
+
defaultValue: true,
|
|
1723
|
+
setter: 'BoolSetter',
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
name: 'skuExtraConfig.isTooltipSlot',
|
|
1727
|
+
title: { label: '开启悬浮插槽' },
|
|
1728
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
1729
|
+
setter: 'SlotSetter',
|
|
1730
|
+
},
|
|
1731
|
+
],
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
title: '状态叠加',
|
|
1735
|
+
type: 'group',
|
|
1736
|
+
display: 'entry',
|
|
1737
|
+
name: 'skuStatusOverlayConfig',
|
|
1738
|
+
items: [
|
|
1739
|
+
{
|
|
1740
|
+
name: 'skuStatusOverlayConfig.isOpen',
|
|
1741
|
+
title: { label: '开启状态叠加' },
|
|
1742
|
+
propType: 'bool',
|
|
1743
|
+
defaultValue: false,
|
|
1744
|
+
setter: 'BoolSetter',
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
name: 'skuStatusOverlayConfig.background',
|
|
1748
|
+
title: { label: '叠加层背景颜色' },
|
|
1749
|
+
setter: 'ColorSetter',
|
|
1750
|
+
defaultValue: 'rgba(255, 255, 255, 0.70)',
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
name: 'skuStatusOverlayConfig.text',
|
|
1754
|
+
title: { label: '叠加文案' },
|
|
1755
|
+
setter: 'StringSetter',
|
|
1756
|
+
defaultValue: '活动已结束',
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
name: 'skuStatusOverlayConfig.fontSize',
|
|
1760
|
+
title: { label: '文本大小' },
|
|
1761
|
+
setter: 'NumberSetter',
|
|
1762
|
+
defaultValue: 18,
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
name: 'skuStatusOverlayConfig.fontWeight',
|
|
1766
|
+
title: { label: '文本粗细' },
|
|
1767
|
+
setter: 'NumberSetter',
|
|
1768
|
+
defaultValue: 600,
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
name: 'skuStatusOverlayConfig.color',
|
|
1772
|
+
title: { label: '文本颜色' },
|
|
1773
|
+
setter: 'ColorSetter',
|
|
1774
|
+
defaultValue: 'black',
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
name: 'skuStatusOverlayConfig.slot',
|
|
1778
|
+
title: { label: '开启插槽' },
|
|
1779
|
+
propType: { type: "oneOfType", value: ["node"] },
|
|
1780
|
+
setter: 'SlotSetter',
|
|
1781
|
+
},
|
|
1782
|
+
],
|
|
1783
|
+
},
|
|
1784
|
+
],
|
|
1785
|
+
configure: {
|
|
1786
|
+
supports: {
|
|
1787
|
+
style: true,
|
|
1788
|
+
events: [
|
|
1789
|
+
{
|
|
1790
|
+
name: "onCardClick",
|
|
1791
|
+
template:
|
|
1792
|
+
"onCardClick(item,${extParams}){\n// 卡片点击事件\nconsole.log('onCardClick', item);}",
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
name: "onFavorite",
|
|
1796
|
+
template:
|
|
1797
|
+
"onFavorite(item,${extParams}){\n// 收藏事件\nconsole.log('onFavorite', item);}",
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
name: "onAction",
|
|
1801
|
+
template:
|
|
1802
|
+
"onAction(item,${extParams}){\n// 行为事件\nconsole.log('onAction', item);}",
|
|
1803
|
+
},
|
|
1804
|
+
],
|
|
1805
|
+
},
|
|
1806
|
+
},
|
|
1807
|
+
};
|
|
1808
|
+
|
|
1809
|
+
export default {
|
|
1810
|
+
...SkuCardMeta,
|
|
1811
|
+
snippets,
|
|
1812
|
+
};
|