@pisell/private-materials 6.3.87 → 6.3.89
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 +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +10 -10
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.d.ts +0 -1
- 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/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +9 -0
- package/es/components/ecocup/components/AddCustomerModal/index.js +216 -0
- package/es/components/ecocup/components/AddCustomerModal/index.less +9 -0
- package/es/components/ecocup/components/CupActionList/index.d.ts +13 -0
- package/es/components/ecocup/components/CupActionList/index.js +91 -0
- package/es/components/ecocup/components/CupActionList/index.less +102 -0
- package/es/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
- package/es/components/ecocup/components/CupActionModal/hooks.js +68 -0
- package/es/components/ecocup/components/CupActionModal/index.d.ts +14 -0
- package/es/components/ecocup/components/CupActionModal/index.js +92 -0
- package/es/components/ecocup/components/CupActionModal/index.less +38 -0
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +7 -0
- package/es/components/ecocup/components/CupInfoCard/index.js +12 -0
- package/es/components/ecocup/components/CupInfoCard/index.less +11 -0
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +5 -0
- package/es/components/ecocup/components/CupStatusModal/hooks.js +68 -0
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +13 -0
- package/es/components/ecocup/components/CupStatusModal/index.js +147 -0
- package/es/components/ecocup/components/CupStatusModal/index.less +35 -0
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.js +133 -0
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +16 -0
- package/es/components/ecocup/components/CustomerAndCupModal/index.js +227 -0
- package/es/components/ecocup/components/CustomerAndCupModal/index.less +68 -0
- package/es/components/ecocup/components/CustomerCard/index.d.ts +6 -0
- package/es/components/ecocup/components/CustomerCard/index.js +34 -0
- package/es/components/ecocup/components/CustomerCard/index.less +50 -0
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +8 -0
- package/es/components/ecocup/components/MoreDropdown/index.js +33 -0
- package/es/components/ecocup/components/PageHeader/index.d.ts +6 -0
- package/es/components/ecocup/components/PageHeader/index.js +37 -0
- package/es/components/ecocup/components/PageHeader/index.less +19 -0
- package/es/components/ecocup/components/SearchBar/const.d.ts +4 -0
- package/es/components/ecocup/components/SearchBar/const.js +16 -0
- package/es/components/ecocup/components/SearchBar/hooks.d.ts +44 -0
- package/es/components/ecocup/components/SearchBar/hooks.js +184 -0
- package/es/components/ecocup/components/SearchBar/index.d.ts +12 -0
- package/es/components/ecocup/components/SearchBar/index.js +218 -0
- package/es/components/ecocup/components/SearchBar/index.less +88 -0
- package/es/components/ecocup/cupList/const.d.ts +133 -0
- package/es/components/ecocup/cupList/const.js +306 -0
- package/es/components/ecocup/cupList/hooks/index.d.ts +4 -0
- package/es/components/ecocup/cupList/hooks/index.js +4 -0
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +43 -0
- package/es/components/ecocup/cupList/hooks/useColumns.js +168 -0
- package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +32 -0
- package/es/components/ecocup/cupList/hooks/useCupApi.js +172 -0
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +2 -0
- package/es/components/ecocup/cupList/hooks/useSummary.js +40 -0
- package/es/components/ecocup/cupList/index.d.ts +6 -0
- package/es/components/ecocup/cupList/index.js +220 -0
- package/es/components/ecocup/cupList/index.less +113 -0
- package/es/components/ecocup/cupProject/const.d.ts +7 -0
- package/es/components/ecocup/cupProject/const.js +27 -0
- package/es/components/ecocup/cupProject/index.d.ts +3 -0
- package/es/components/ecocup/cupProject/index.js +103 -0
- package/es/components/ecocup/cupProject/index.less +41 -0
- package/es/components/ecocup/customerList/const.d.ts +44 -0
- package/es/components/ecocup/customerList/const.js +67 -0
- package/es/components/ecocup/customerList/hooks/index.d.ts +3 -0
- package/es/components/ecocup/customerList/hooks/index.js +3 -0
- package/es/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
- package/es/components/ecocup/customerList/hooks/useColumns.js +44 -0
- package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
- package/es/components/ecocup/customerList/hooks/useCustomerApi.js +70 -0
- package/es/components/ecocup/customerList/index.d.ts +7 -0
- package/es/components/ecocup/customerList/index.js +127 -0
- package/es/components/ecocup/customerList/index.less +15 -0
- package/es/components/ecocup/hooks.d.ts +49 -0
- package/es/components/ecocup/hooks.js +151 -0
- package/es/components/ecocup/locales.d.ts +339 -0
- package/es/components/ecocup/locales.js +372 -0
- package/es/components/ecocup/types.d.ts +103 -0
- package/es/components/ecocup/types.js +36 -0
- package/es/components/ecocup/utils/scanListener.d.ts +20 -0
- package/es/components/ecocup/utils/scanListener.js +107 -0
- package/es/components/eftpos/const.d.ts +1 -3
- package/es/components/eftpos/const.js +0 -2
- package/es/components/eftpos/device.d.ts +1 -3
- package/es/components/eftpos/device.js +3 -5
- 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/index.js +11 -34
- package/es/components/eftpos/index.less +1 -26
- package/es/components/eftpos/locales.d.ts +0 -3
- package/es/components/eftpos/locales.js +0 -3
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +1 -0
- package/es/components/eftposPay/app.d.ts +1 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/step/index.d.ts +1 -0
- package/es/components/eftposPay/component/step/step.d.ts +1 -0
- package/es/components/eftposPay/const.d.ts +1 -6
- package/es/components/eftposPay/const.js +0 -2
- package/es/components/eftposPay/device.js +208 -36
- package/es/components/eftposPay/hooks.d.ts +1 -2
- package/es/components/eftposPay/hooks.js +0 -12
- package/es/components/eftposPay/linkly/index.js +0 -1
- package/es/components/eftposPay/manufacturer.d.ts +0 -1
- package/es/components/eftposPay/manufacturer.js +0 -4
- package/es/components/eftposPay/pay.js +2 -7
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/windcave/windcave.js +9 -9
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.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/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/hooks/useEngineContext.d.ts +1 -0
- package/es/hooks/useEngineContext.js +7 -0
- package/es/index.d.ts +5 -1
- package/es/index.js +5 -1
- package/es/plus/clientName/index.d.ts +1 -0
- package/es/plus/orderList/components/BatchActionBar.d.ts +9 -0
- package/es/plus/orderList/components/BatchActionBar.js +835 -0
- package/es/plus/orderList/components/FilterList.d.ts +8 -0
- package/es/plus/orderList/components/FilterList.js +78 -0
- package/es/plus/orderList/components/HandleActions.d.ts +4 -0
- package/es/plus/orderList/components/HandleActions.js +24 -0
- package/es/plus/orderList/components/QuickFilter.d.ts +4 -0
- package/es/plus/orderList/components/QuickFilter.js +14 -0
- package/es/plus/orderList/components/Reset.d.ts +6 -0
- package/es/plus/orderList/components/Reset.js +23 -0
- package/es/plus/orderList/components/Toolbar.d.ts +5 -0
- package/es/plus/orderList/components/Toolbar.js +57 -0
- package/es/plus/orderList/config.d.ts +154 -0
- package/es/plus/orderList/config.js +786 -0
- package/es/plus/orderList/index.d.ts +9 -0
- package/es/plus/orderList/index.js +128 -0
- package/es/plus/orderList/index.less +125 -0
- package/es/plus/orderList/locales.d.ts +372 -0
- package/es/plus/orderList/locales.js +459 -0
- package/es/plus/orderList/serve.d.ts +42 -0
- package/es/plus/orderList/serve.js +351 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.less +2 -0
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/index.js +2 -2
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +9 -2
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +8 -4
- package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -1
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
- package/es/pro/NumericStepper/index.d.ts +28 -3
- package/es/pro/NumericStepper/index.js +175 -107
- package/es/pro/NumericStepper/index.less +295 -143
- package/es/pro/Selector/Selector.js +33 -26
- package/es/pro/Selector/components/Card/index.js +2 -3
- package/es/pro/Selector/components/Card/index.less +11 -4
- package/es/pro/Selector/components/Indicator/index.d.ts +1 -0
- package/es/pro/Selector/components/Indicator/index.js +2 -1
- package/es/pro/Selector/components/Indicator/index.less +4 -1
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +5 -3
- package/es/pro/Selector/components/LayoutContainer/index.js +226 -9
- package/es/pro/Selector/components/LayoutContainer/index.less +19 -0
- package/es/pro/Selector/demo.js +1 -1
- package/es/pro/Selector/hooks/usePresetItemProps.js +2 -0
- package/es/pro/Selector/hooks/usePresetProps.js +60 -6
- package/es/pro/Selector/selector.less +0 -64
- package/es/pro/Selector/types.d.ts +40 -0
- package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +11 -0
- package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.js +54 -0
- package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.less +28 -0
- package/es/pro/comprehensiveSearch/components/index.d.ts +2 -0
- package/es/pro/comprehensiveSearch/components/index.js +2 -0
- package/es/pro/comprehensiveSearch/components/searchSection/index.d.ts +24 -0
- package/es/pro/comprehensiveSearch/components/searchSection/index.js +140 -0
- package/es/pro/comprehensiveSearch/components/searchSection/index.less +100 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.js +14 -0
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.js +24 -0
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +44 -0
- package/es/pro/comprehensiveSearch/index.d.ts +7 -0
- package/es/pro/comprehensiveSearch/index.js +207 -0
- package/es/pro/comprehensiveSearch/index.less +196 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/es/pro/comprehensiveSearch/locales.js +14 -0
- package/es/pro/comprehensiveSearch/types.d.ts +32 -0
- package/es/pro/comprehensiveSearch/types.js +1 -0
- package/es/pro/keyboards/index.d.ts +2 -0
- package/es/pro/keyboards/index.js +1 -0
- package/es/pro/keyboards/locales.d.ts +24 -0
- package/es/pro/keyboards/locales.js +35 -0
- package/es/pro/keyboards/numberKeyboard/index.d.ts +16 -0
- package/es/pro/keyboards/numberKeyboard/index.js +523 -0
- package/es/pro/keyboards/numberKeyboard/index.less +59 -0
- package/es/pro/keyboards/numberKeyboard/types.d.ts +63 -0
- package/es/pro/keyboards/numberKeyboard/types.js +1 -0
- package/es/pro/pisellPaymentList/example.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
- 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/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +9 -0
- package/lib/components/ecocup/components/AddCustomerModal/index.js +212 -0
- package/lib/components/ecocup/components/AddCustomerModal/index.less +9 -0
- package/lib/components/ecocup/components/CupActionList/index.d.ts +13 -0
- package/lib/components/ecocup/components/CupActionList/index.js +116 -0
- package/lib/components/ecocup/components/CupActionList/index.less +102 -0
- package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
- package/lib/components/ecocup/components/CupActionModal/hooks.js +55 -0
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +14 -0
- package/lib/components/ecocup/components/CupActionModal/index.js +125 -0
- package/lib/components/ecocup/components/CupActionModal/index.less +38 -0
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +7 -0
- package/lib/components/ecocup/components/CupInfoCard/index.js +43 -0
- package/lib/components/ecocup/components/CupInfoCard/index.less +11 -0
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +5 -0
- package/lib/components/ecocup/components/CupStatusModal/hooks.js +55 -0
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +13 -0
- package/lib/components/ecocup/components/CupStatusModal/index.js +140 -0
- package/lib/components/ecocup/components/CupStatusModal/index.less +35 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.js +89 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +16 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/index.js +178 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/index.less +68 -0
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +6 -0
- package/lib/components/ecocup/components/CustomerCard/index.js +48 -0
- package/lib/components/ecocup/components/CustomerCard/index.less +50 -0
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +8 -0
- package/lib/components/ecocup/components/MoreDropdown/index.js +68 -0
- package/lib/components/ecocup/components/PageHeader/index.d.ts +6 -0
- package/lib/components/ecocup/components/PageHeader/index.js +59 -0
- package/lib/components/ecocup/components/PageHeader/index.less +19 -0
- package/lib/components/ecocup/components/SearchBar/const.d.ts +4 -0
- package/lib/components/{eftposPay/mx51/types.js → ecocup/components/SearchBar/const.js} +28 -17
- package/lib/components/ecocup/components/SearchBar/hooks.d.ts +44 -0
- package/lib/components/ecocup/components/SearchBar/hooks.js +135 -0
- package/lib/components/ecocup/components/SearchBar/index.d.ts +12 -0
- package/lib/components/ecocup/components/SearchBar/index.js +213 -0
- package/lib/components/ecocup/components/SearchBar/index.less +88 -0
- package/lib/components/ecocup/cupList/const.d.ts +133 -0
- package/lib/components/ecocup/cupList/const.js +326 -0
- package/lib/components/ecocup/cupList/hooks/index.d.ts +4 -0
- package/lib/components/ecocup/cupList/hooks/index.js +39 -0
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +43 -0
- package/lib/components/ecocup/cupList/hooks/useColumns.js +202 -0
- package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +32 -0
- package/lib/components/ecocup/cupList/hooks/useCupApi.js +112 -0
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +2 -0
- package/lib/components/ecocup/cupList/hooks/useSummary.js +75 -0
- package/lib/components/ecocup/cupList/index.d.ts +6 -0
- package/lib/components/ecocup/cupList/index.js +208 -0
- package/lib/components/ecocup/cupList/index.less +113 -0
- package/lib/components/ecocup/cupProject/const.d.ts +7 -0
- package/lib/components/ecocup/cupProject/const.js +58 -0
- package/lib/components/ecocup/cupProject/index.d.ts +3 -0
- package/lib/components/ecocup/cupProject/index.js +126 -0
- package/lib/components/ecocup/cupProject/index.less +41 -0
- package/lib/components/ecocup/customerList/const.d.ts +44 -0
- package/lib/components/ecocup/customerList/const.js +93 -0
- package/lib/components/ecocup/customerList/hooks/index.d.ts +3 -0
- package/lib/components/{eftposPay/aggregatePayment → ecocup/customerList/hooks}/index.js +10 -10
- package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
- package/lib/components/ecocup/customerList/hooks/useColumns.js +89 -0
- package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
- package/lib/components/ecocup/customerList/hooks/useCustomerApi.js +56 -0
- package/lib/components/ecocup/customerList/index.d.ts +7 -0
- package/lib/components/ecocup/customerList/index.js +138 -0
- package/lib/components/ecocup/customerList/index.less +15 -0
- package/lib/components/ecocup/hooks.d.ts +49 -0
- package/lib/components/ecocup/hooks.js +155 -0
- package/lib/components/ecocup/locales.d.ts +339 -0
- package/lib/components/ecocup/locales.js +389 -0
- package/lib/components/ecocup/types.d.ts +103 -0
- package/lib/components/ecocup/types.js +57 -0
- package/lib/components/ecocup/utils/scanListener.d.ts +20 -0
- package/lib/components/ecocup/utils/scanListener.js +90 -0
- package/lib/components/eftpos/const.d.ts +1 -3
- package/lib/components/eftpos/const.js +0 -2
- package/lib/components/eftpos/device.d.ts +1 -3
- package/lib/components/eftpos/device.js +3 -3
- 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/index.js +5 -20
- package/lib/components/eftpos/index.less +1 -26
- package/lib/components/eftpos/locales.d.ts +0 -3
- package/lib/components/eftpos/locales.js +0 -3
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +1 -0
- package/lib/components/eftposPay/app.d.ts +1 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/step/index.d.ts +1 -0
- package/lib/components/eftposPay/component/step/step.d.ts +1 -0
- package/lib/components/eftposPay/const.d.ts +1 -6
- package/lib/components/eftposPay/const.js +0 -2
- package/lib/components/eftposPay/device.js +108 -23
- package/lib/components/eftposPay/hooks.d.ts +1 -2
- package/lib/components/eftposPay/hooks.js +0 -16
- package/lib/components/eftposPay/linkly/index.js +0 -1
- package/lib/components/eftposPay/manufacturer.d.ts +0 -1
- package/lib/components/eftposPay/manufacturer.js +0 -6
- package/lib/components/eftposPay/pay.js +2 -4
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/windcave/windcave.js +9 -9
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.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/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/hooks/useEngineContext.d.ts +1 -0
- package/lib/hooks/useEngineContext.js +10 -2
- package/lib/index.d.ts +5 -1
- package/lib/index.js +13 -1
- package/lib/plus/clientName/index.d.ts +1 -0
- package/lib/plus/orderList/components/BatchActionBar.d.ts +9 -0
- package/lib/plus/orderList/components/BatchActionBar.js +567 -0
- package/lib/plus/orderList/components/FilterList.d.ts +8 -0
- package/lib/plus/orderList/components/FilterList.js +121 -0
- package/lib/plus/orderList/components/HandleActions.d.ts +4 -0
- package/lib/plus/orderList/components/HandleActions.js +52 -0
- package/lib/plus/orderList/components/QuickFilter.d.ts +4 -0
- package/lib/plus/orderList/components/QuickFilter.js +43 -0
- package/lib/plus/orderList/components/Reset.d.ts +6 -0
- package/lib/plus/orderList/components/Reset.js +58 -0
- package/lib/plus/orderList/components/Toolbar.d.ts +5 -0
- package/lib/plus/orderList/components/Toolbar.js +68 -0
- package/lib/plus/orderList/config.d.ts +154 -0
- package/lib/plus/orderList/config.js +764 -0
- package/lib/plus/orderList/index.d.ts +9 -0
- package/lib/plus/orderList/index.js +132 -0
- package/lib/plus/orderList/index.less +125 -0
- package/lib/plus/orderList/locales.d.ts +372 -0
- package/lib/plus/orderList/locales.js +471 -0
- package/lib/plus/orderList/serve.d.ts +42 -0
- package/lib/plus/orderList/serve.js +177 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.less +2 -0
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/index.js +2 -2
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +9 -2
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +7 -3
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
- package/lib/pro/NumericStepper/index.d.ts +28 -3
- package/lib/pro/NumericStepper/index.js +176 -88
- package/lib/pro/NumericStepper/index.less +295 -143
- package/lib/pro/Selector/Selector.js +27 -16
- package/lib/pro/Selector/components/Card/index.js +9 -1
- package/lib/pro/Selector/components/Card/index.less +11 -4
- package/lib/pro/Selector/components/Indicator/index.d.ts +1 -0
- package/lib/pro/Selector/components/Indicator/index.js +1 -1
- package/lib/pro/Selector/components/Indicator/index.less +4 -1
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +5 -3
- package/lib/pro/Selector/components/LayoutContainer/index.js +130 -2
- package/lib/pro/Selector/components/LayoutContainer/index.less +19 -0
- package/lib/pro/Selector/demo.js +1 -1
- package/lib/pro/Selector/hooks/usePresetItemProps.js +2 -0
- package/lib/pro/Selector/hooks/usePresetProps.js +28 -6
- package/lib/pro/Selector/selector.less +0 -64
- package/lib/pro/Selector/types.d.ts +40 -0
- package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +11 -0
- package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.js +64 -0
- package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.less +28 -0
- package/lib/pro/comprehensiveSearch/components/index.d.ts +2 -0
- package/lib/pro/comprehensiveSearch/components/index.js +42 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/index.d.ts +24 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/index.js +153 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/index.less +100 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +38 -0
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.js +56 -0
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +70 -0
- package/lib/pro/comprehensiveSearch/index.d.ts +7 -0
- package/lib/pro/comprehensiveSearch/index.js +190 -0
- package/lib/pro/comprehensiveSearch/index.less +196 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/lib/pro/comprehensiveSearch/locales.js +38 -0
- package/lib/pro/comprehensiveSearch/types.d.ts +32 -0
- package/lib/pro/comprehensiveSearch/types.js +17 -0
- package/lib/pro/keyboards/index.d.ts +2 -0
- package/lib/pro/keyboards/index.js +39 -0
- package/lib/pro/keyboards/locales.d.ts +24 -0
- package/lib/pro/keyboards/locales.js +47 -0
- package/lib/pro/keyboards/numberKeyboard/index.d.ts +16 -0
- package/lib/pro/keyboards/numberKeyboard/index.js +400 -0
- package/lib/pro/keyboards/numberKeyboard/index.less +59 -0
- package/lib/pro/keyboards/numberKeyboard/types.d.ts +63 -0
- package/lib/pro/keyboards/numberKeyboard/types.js +17 -0
- package/lib/pro/pisellPaymentList/example.d.ts +1 -0
- package/lowcode/eco-cup-list/meta.ts +63 -0
- package/lowcode/eco-customer-list/meta.ts +63 -0
- package/lowcode/ecocup-cup-list/meta.ts +38 -0
- package/lowcode/ecocup-cup-project/meta.ts +35 -0
- package/lowcode/ecocup-customer-list/meta.ts +38 -0
- package/lowcode/order-list/meta.ts +87 -0
- package/package.json +4 -4
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -6
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.js +0 -125
- package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/es/components/eftposPay/aggregatePayment/index.js +0 -3
- package/es/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
- package/es/components/eftposPay/aggregatePayment/mock.js +0 -567
- package/es/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/es/components/eftposPay/aggregatePayment/service.js +0 -70
- package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -96
- package/es/components/eftposPay/aggregatePayment/types.js +0 -61
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/es/components/eftposPay/aggregatePayment/utils/logs.js +0 -385
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
- package/es/components/eftposPay/aggregatePayment/utils/payment.js +0 -1127
- package/es/components/eftposPay/mx51/Action.d.ts +0 -6
- package/es/components/eftposPay/mx51/Action.js +0 -91
- package/es/components/eftposPay/mx51/const.d.ts +0 -5
- package/es/components/eftposPay/mx51/const.js +0 -69
- package/es/components/eftposPay/mx51/index.d.ts +0 -6
- package/es/components/eftposPay/mx51/index.js +0 -362
- package/es/components/eftposPay/mx51/types.d.ts +0 -136
- package/es/components/eftposPay/mx51/types.js +0 -29
- package/es/components/eftposPay/mx51/utils.d.ts +0 -10
- package/es/components/eftposPay/mx51/utils.js +0 -120
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -6
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.js +0 -152
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/lib/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
- package/lib/components/eftposPay/aggregatePayment/mock.js +0 -679
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/lib/components/eftposPay/aggregatePayment/service.js +0 -81
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -96
- package/lib/components/eftposPay/aggregatePayment/types.js +0 -74
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/lib/components/eftposPay/aggregatePayment/utils/logs.js +0 -302
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
- package/lib/components/eftposPay/aggregatePayment/utils/payment.js +0 -746
- package/lib/components/eftposPay/mx51/Action.d.ts +0 -6
- package/lib/components/eftposPay/mx51/Action.js +0 -127
- package/lib/components/eftposPay/mx51/const.d.ts +0 -5
- package/lib/components/eftposPay/mx51/const.js +0 -85
- package/lib/components/eftposPay/mx51/index.d.ts +0 -6
- package/lib/components/eftposPay/mx51/index.js +0 -330
- package/lib/components/eftposPay/mx51/types.d.ts +0 -136
- package/lib/components/eftposPay/mx51/utils.d.ts +0 -10
- package/lib/components/eftposPay/mx51/utils.js +0 -114
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
.pisell-pro-indicator {
|
|
2
|
+
vertical-align: middle;
|
|
2
3
|
display: inline-flex;
|
|
3
4
|
align-items: center;
|
|
4
|
-
|
|
5
|
+
justify-content: center;
|
|
5
6
|
cursor: pointer;
|
|
6
7
|
user-select: none;
|
|
7
8
|
font-size: 14px;
|
|
8
9
|
line-height: 1.5;
|
|
9
10
|
position: relative;
|
|
11
|
+
height: 100%;
|
|
12
|
+
width: 100%;
|
|
10
13
|
|
|
11
14
|
&-input {
|
|
12
15
|
position: absolute;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { LayoutConfig } from '../../types';
|
|
3
|
+
import './index.less';
|
|
3
4
|
interface LayoutContainerProps {
|
|
4
5
|
className: string;
|
|
5
6
|
config: LayoutConfig | null;
|
|
@@ -8,9 +9,10 @@ interface LayoutContainerProps {
|
|
|
8
9
|
/**
|
|
9
10
|
* 统一的布局容器组件
|
|
10
11
|
*
|
|
11
|
-
*
|
|
12
|
-
* 1.
|
|
13
|
-
* 2.
|
|
12
|
+
* 支持三种布局模式:
|
|
13
|
+
* 1. 响应式布局(推荐):通过 responsive 配置,使用 ResizeObserver 实现容器级响应式
|
|
14
|
+
* 2. Custom 布局:通过 className 使用预设样式
|
|
15
|
+
* 3. Ant Design Grid 布局:基础的栅格布局,用于简单场景
|
|
14
16
|
*/
|
|
15
17
|
declare function LayoutContainer({ className: containerClassName, config, children, }: LayoutContainerProps): React.ReactElement | null;
|
|
16
18
|
export default LayoutContainer;
|
|
@@ -35,19 +35,147 @@ module.exports = __toCommonJS(LayoutContainer_exports);
|
|
|
35
35
|
var import_react = __toESM(require("react"));
|
|
36
36
|
var import_antd = require("antd");
|
|
37
37
|
var import_classnames = __toESM(require("classnames"));
|
|
38
|
+
var import_index = require("./index.less");
|
|
38
39
|
var ARow = import_antd.Row;
|
|
39
40
|
var ACol = import_antd.Col;
|
|
41
|
+
function normalizeBreakpoints(breakpoints, defaultGap) {
|
|
42
|
+
const normalized = {};
|
|
43
|
+
for (const [width, config] of Object.entries(breakpoints)) {
|
|
44
|
+
const widthNum = Number(width);
|
|
45
|
+
if (typeof config === "number") {
|
|
46
|
+
normalized[widthNum] = { columns: config, gap: defaultGap };
|
|
47
|
+
} else {
|
|
48
|
+
normalized[widthNum] = { ...config, gap: config.gap ?? defaultGap };
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return normalized;
|
|
52
|
+
}
|
|
53
|
+
function generateBreakpoints(minWidth, maxColumns, gap = 16) {
|
|
54
|
+
const gapNum = typeof gap === "number" ? gap : parseInt(gap, 10) || 16;
|
|
55
|
+
const breakpoints = {
|
|
56
|
+
0: { columns: 1, gap }
|
|
57
|
+
};
|
|
58
|
+
for (let cols = 2; cols <= maxColumns; cols++) {
|
|
59
|
+
const breakpoint = cols * minWidth + (cols - 1) * gapNum;
|
|
60
|
+
breakpoints[breakpoint] = { columns: cols, gap };
|
|
61
|
+
}
|
|
62
|
+
return breakpoints;
|
|
63
|
+
}
|
|
64
|
+
function getActiveBreakpoint(width, breakpoints, defaultColumns = 1, defaultGap = 16) {
|
|
65
|
+
const sortedBreakpoints = Object.keys(breakpoints).map(Number).sort((a, b) => b - a);
|
|
66
|
+
for (const breakpoint of sortedBreakpoints) {
|
|
67
|
+
if (width >= breakpoint) {
|
|
68
|
+
return breakpoints[breakpoint];
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return { columns: defaultColumns, gap: defaultGap };
|
|
72
|
+
}
|
|
73
|
+
function parseResponsiveConfig(responsive) {
|
|
74
|
+
const { minWidth, maxColumns, breakpoints, gap = 16 } = responsive;
|
|
75
|
+
let finalBreakpoints = {};
|
|
76
|
+
if (minWidth && maxColumns) {
|
|
77
|
+
finalBreakpoints = generateBreakpoints(minWidth, maxColumns, gap);
|
|
78
|
+
}
|
|
79
|
+
if (breakpoints) {
|
|
80
|
+
const normalizedBreakpoints = normalizeBreakpoints(breakpoints, gap);
|
|
81
|
+
finalBreakpoints = { ...finalBreakpoints, ...normalizedBreakpoints };
|
|
82
|
+
}
|
|
83
|
+
if (Object.keys(finalBreakpoints).length === 0) {
|
|
84
|
+
finalBreakpoints = { 0: { columns: responsive.defaultColumns ?? 1, gap } };
|
|
85
|
+
}
|
|
86
|
+
return finalBreakpoints;
|
|
87
|
+
}
|
|
88
|
+
function useContainerWidth(ref, debounceMs = 0) {
|
|
89
|
+
const [width, setWidth] = (0, import_react.useState)(0);
|
|
90
|
+
const timeoutRef = (0, import_react.useRef)(null);
|
|
91
|
+
(0, import_react.useEffect)(() => {
|
|
92
|
+
const element = ref.current;
|
|
93
|
+
if (!element) return;
|
|
94
|
+
const updateWidth = (newWidth) => {
|
|
95
|
+
if (debounceMs > 0) {
|
|
96
|
+
if (timeoutRef.current) {
|
|
97
|
+
clearTimeout(timeoutRef.current);
|
|
98
|
+
}
|
|
99
|
+
timeoutRef.current = setTimeout(() => {
|
|
100
|
+
setWidth(newWidth);
|
|
101
|
+
}, debounceMs);
|
|
102
|
+
} else {
|
|
103
|
+
setWidth(newWidth);
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
const observer = new ResizeObserver((entries) => {
|
|
107
|
+
const entry = entries[0];
|
|
108
|
+
if (entry) {
|
|
109
|
+
updateWidth(entry.contentRect.width);
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
observer.observe(element);
|
|
113
|
+
setWidth(element.getBoundingClientRect().width);
|
|
114
|
+
return () => {
|
|
115
|
+
observer.disconnect();
|
|
116
|
+
if (timeoutRef.current) {
|
|
117
|
+
clearTimeout(timeoutRef.current);
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
}, [ref, debounceMs]);
|
|
121
|
+
return width;
|
|
122
|
+
}
|
|
123
|
+
var baseClassName = "pisell-pro-selector_layout";
|
|
40
124
|
function LayoutContainer({
|
|
41
125
|
className: containerClassName,
|
|
42
126
|
config,
|
|
43
127
|
children
|
|
44
128
|
}) {
|
|
129
|
+
const containerRef = (0, import_react.useRef)(null);
|
|
130
|
+
const responsiveConfig = config == null ? void 0 : config.responsive;
|
|
131
|
+
const hasResponsive = !!responsiveConfig;
|
|
132
|
+
const breakpoints = (0, import_react.useMemo)(() => {
|
|
133
|
+
if (!responsiveConfig) return null;
|
|
134
|
+
return parseResponsiveConfig(responsiveConfig);
|
|
135
|
+
}, [responsiveConfig]);
|
|
136
|
+
const containerWidth = useContainerWidth(
|
|
137
|
+
containerRef,
|
|
138
|
+
(responsiveConfig == null ? void 0 : responsiveConfig.debounce) ?? 0
|
|
139
|
+
);
|
|
140
|
+
const activeConfig = (0, import_react.useMemo)(() => {
|
|
141
|
+
if (!breakpoints) return null;
|
|
142
|
+
return getActiveBreakpoint(
|
|
143
|
+
containerWidth,
|
|
144
|
+
breakpoints,
|
|
145
|
+
responsiveConfig == null ? void 0 : responsiveConfig.defaultColumns,
|
|
146
|
+
responsiveConfig == null ? void 0 : responsiveConfig.gap
|
|
147
|
+
);
|
|
148
|
+
}, [containerWidth, breakpoints, responsiveConfig]);
|
|
45
149
|
if (!config) {
|
|
46
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: containerClassName }, children);
|
|
150
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)(baseClassName, containerClassName) }, children);
|
|
47
151
|
}
|
|
48
152
|
const { type, className, containerStyle = {} } = config;
|
|
153
|
+
if (hasResponsive) {
|
|
154
|
+
const cssVariables = {
|
|
155
|
+
"--layout-columns": (activeConfig == null ? void 0 : activeConfig.columns) ?? 1,
|
|
156
|
+
"--layout-gap": typeof (activeConfig == null ? void 0 : activeConfig.gap) === "number" ? `${activeConfig.gap}px` : (activeConfig == null ? void 0 : activeConfig.gap) ?? "16px"
|
|
157
|
+
};
|
|
158
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
159
|
+
"div",
|
|
160
|
+
{
|
|
161
|
+
ref: containerRef,
|
|
162
|
+
className: (0, import_classnames.default)(
|
|
163
|
+
baseClassName,
|
|
164
|
+
`${baseClassName}-responsive`,
|
|
165
|
+
containerClassName,
|
|
166
|
+
className
|
|
167
|
+
),
|
|
168
|
+
style: { ...cssVariables, ...containerStyle, ...activeConfig == null ? void 0 : activeConfig.style }
|
|
169
|
+
},
|
|
170
|
+
children
|
|
171
|
+
);
|
|
172
|
+
}
|
|
49
173
|
if (type !== "antdGrid") {
|
|
50
|
-
const layoutClassName = (0, import_classnames.default)(
|
|
174
|
+
const layoutClassName = (0, import_classnames.default)(
|
|
175
|
+
baseClassName,
|
|
176
|
+
containerClassName,
|
|
177
|
+
className
|
|
178
|
+
);
|
|
51
179
|
return /* @__PURE__ */ import_react.default.createElement("div", { className: layoutClassName, style: containerStyle }, children);
|
|
52
180
|
}
|
|
53
181
|
const { columns = 1, align, justify, gutter, wrap, colConfig = {} } = config;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.pisell-pro-selector_layout {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 16px;
|
|
5
|
+
// 响应式布局容器
|
|
6
|
+
&-responsive {
|
|
7
|
+
display: grid;
|
|
8
|
+
gap: var(--layout-gap, 16px);
|
|
9
|
+
grid-template-columns: repeat(var(--layout-columns, 1), 1fr);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// 自动宽度布局 - 内容自适应
|
|
13
|
+
&-auto-flex {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
flex-wrap: wrap;
|
|
17
|
+
gap: 16px;
|
|
18
|
+
}
|
|
19
|
+
}
|
package/lib/pro/Selector/demo.js
CHANGED
|
@@ -57,7 +57,7 @@ var SelectorDemo = () => {
|
|
|
57
57
|
});
|
|
58
58
|
const [paymentMethod, setPaymentMethod] = (0, import_react.useState)("alipay");
|
|
59
59
|
const [serviceOptions, setServiceOptions] = (0, import_react.useState)([1, 2]);
|
|
60
|
-
const [width, setWidth] = (0, import_react.useState)("
|
|
60
|
+
const [width, setWidth] = (0, import_react.useState)("100%");
|
|
61
61
|
const simpleDataSource = [
|
|
62
62
|
{ id: 1, title: "选项A" },
|
|
63
63
|
{ id: 2, title: "选项B" },
|
|
@@ -111,6 +111,7 @@ var usePresetItemProps = (params) => {
|
|
|
111
111
|
content: {}
|
|
112
112
|
};
|
|
113
113
|
if (presetVariant === "1") {
|
|
114
|
+
defaultStyles.container.padding = "12px 16px";
|
|
114
115
|
defaultStyles.content.textAlign = "center";
|
|
115
116
|
baseProps = {
|
|
116
117
|
selectedType: "outlined-bold"
|
|
@@ -120,6 +121,7 @@ var usePresetItemProps = (params) => {
|
|
|
120
121
|
}
|
|
121
122
|
indicator = null;
|
|
122
123
|
} else if (presetVariant === "2") {
|
|
124
|
+
defaultStyles.container.padding = "12px 16px";
|
|
123
125
|
baseProps = {
|
|
124
126
|
selectedType: "filled"
|
|
125
127
|
};
|
|
@@ -30,18 +30,39 @@ var VARIANT_MAP = {
|
|
|
30
30
|
["media"]: ["1", "2"]
|
|
31
31
|
};
|
|
32
32
|
var EMPTY_CONFIG = {};
|
|
33
|
+
var RESPONSIVE_PRESETS = {
|
|
34
|
+
/** 响应式布局 - 最小宽度 210px,最多 5 列 */
|
|
35
|
+
responsive210: {
|
|
36
|
+
breakpoints: {
|
|
37
|
+
0: { columns: 1, gap: 16 },
|
|
38
|
+
420: { columns: 2, gap: 16 },
|
|
39
|
+
630: { columns: 3, gap: 16 },
|
|
40
|
+
841: { columns: 4, gap: 16 },
|
|
41
|
+
1367: { columns: 5, gap: 16 }
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
/** 响应式布局 - 最小宽度 330px,最多 4 列 */
|
|
45
|
+
responsive330: {
|
|
46
|
+
breakpoints: {
|
|
47
|
+
0: { columns: 1, gap: 16 },
|
|
48
|
+
660: { columns: 2, gap: 16 },
|
|
49
|
+
995: { columns: 3, gap: 16 },
|
|
50
|
+
1367: { columns: 4, gap: 16 }
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
};
|
|
33
54
|
var PRESET_LAYOUTS = {
|
|
34
55
|
/** 自动宽度布局 - 内容自适应 */
|
|
35
56
|
autoFlex: {
|
|
36
57
|
className: "pisell-pro-selector_layout-auto-flex"
|
|
37
58
|
},
|
|
38
|
-
/** 响应式布局 - 最小宽度 210px */
|
|
59
|
+
/** 响应式布局 - 最小宽度 210px,最多 5 列 */
|
|
39
60
|
responsive210: {
|
|
40
|
-
|
|
61
|
+
responsive: RESPONSIVE_PRESETS.responsive210
|
|
41
62
|
},
|
|
42
|
-
/** 响应式布局 - 最小宽度 330px */
|
|
63
|
+
/** 响应式布局 - 最小宽度 330px,最多 4 列 */
|
|
43
64
|
responsive330: {
|
|
44
|
-
|
|
65
|
+
responsive: RESPONSIVE_PRESETS.responsive330
|
|
45
66
|
}
|
|
46
67
|
};
|
|
47
68
|
var VARIANT_PRESET_MAP = {
|
|
@@ -74,7 +95,7 @@ var usePresetProps = ({
|
|
|
74
95
|
return (0, import_react.useMemo)(() => {
|
|
75
96
|
let layoutConfig = null;
|
|
76
97
|
if (variant === "select" || !(preset == null ? void 0 : preset.variant)) {
|
|
77
|
-
layoutConfig = null;
|
|
98
|
+
layoutConfig = layout || null;
|
|
78
99
|
} else {
|
|
79
100
|
let baseLayoutConfig = null;
|
|
80
101
|
let validVariants = VARIANT_MAP[variant] || [];
|
|
@@ -108,7 +129,8 @@ var usePresetProps = ({
|
|
|
108
129
|
const shouldUseFilled = variant === "media" || variant === "card" && (preset == null ? void 0 : preset.variant) === "2";
|
|
109
130
|
if (shouldUseFilled) {
|
|
110
131
|
computedIndicatorProps = {
|
|
111
|
-
variant: "filled"
|
|
132
|
+
variant: "filled",
|
|
133
|
+
size: "small"
|
|
112
134
|
};
|
|
113
135
|
}
|
|
114
136
|
if (indicatorProps) {
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 12px;
|
|
5
|
-
container-type: inline-size; // 启用容器查询
|
|
6
5
|
|
|
7
6
|
&_header {
|
|
8
7
|
display: flex;
|
|
@@ -43,67 +42,4 @@
|
|
|
43
42
|
line-height: 34px;
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
|
-
|
|
47
|
-
&_options-container {
|
|
48
|
-
display: flex;
|
|
49
|
-
flex-direction: column;
|
|
50
|
-
gap: 16px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// 自动宽度布局 - 内容自适应
|
|
54
|
-
&_layout-auto-flex {
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: row;
|
|
57
|
-
flex-wrap: wrap;
|
|
58
|
-
gap: 16px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// 响应式布局 - 最小宽度 210px
|
|
62
|
-
&_layout-responsive-210 {
|
|
63
|
-
display: grid;
|
|
64
|
-
gap: 16px;
|
|
65
|
-
grid-template-columns: 1fr; // 默认一列
|
|
66
|
-
|
|
67
|
-
// 容器宽度 >= 420px 且 < 630px: 两列
|
|
68
|
-
@container (min-width: 420px) {
|
|
69
|
-
grid-template-columns: repeat(2, 1fr);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// 容器宽度 >= 630px 且 <= 840px: 三列
|
|
73
|
-
@container (min-width: 630px) {
|
|
74
|
-
grid-template-columns: repeat(3, 1fr);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// 容器宽度 >= 841px 且 <= 1366px: 四列
|
|
78
|
-
@container (min-width: 841px) {
|
|
79
|
-
grid-template-columns: repeat(4, 1fr);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// 容器宽度 > 1366px: 五列
|
|
83
|
-
@container (min-width: 1367px) {
|
|
84
|
-
grid-template-columns: repeat(5, 1fr);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// 响应式布局 - 最小宽度 330px
|
|
89
|
-
&_layout-responsive-330 {
|
|
90
|
-
display: grid;
|
|
91
|
-
gap: 16px;
|
|
92
|
-
grid-template-columns: 1fr; // 默认一列
|
|
93
|
-
|
|
94
|
-
// 容器宽度 >= 660px 且 < 995px: 两列
|
|
95
|
-
@container (min-width: 660px) {
|
|
96
|
-
grid-template-columns: repeat(2, 1fr);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// 容器宽度 >= 995px 且 <= 1366px: 三列
|
|
100
|
-
@container (min-width: 995px) {
|
|
101
|
-
grid-template-columns: repeat(3, 1fr);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// 容器宽度 > 1366px: 四列
|
|
105
|
-
@container (min-width: 1367px) {
|
|
106
|
-
grid-template-columns: repeat(4, 1fr);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
45
|
}
|
|
@@ -77,10 +77,48 @@ export declare type ItemProps = {
|
|
|
77
77
|
[key: string]: any;
|
|
78
78
|
};
|
|
79
79
|
export declare type LayoutType = 'antdGrid' | 'custom';
|
|
80
|
+
/** 单个断点的完整配置 */
|
|
81
|
+
export declare type BreakpointConfig = {
|
|
82
|
+
columns: number;
|
|
83
|
+
gap?: number | string;
|
|
84
|
+
style?: React.CSSProperties;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* 断点映射
|
|
88
|
+
* key: 最小宽度(px)
|
|
89
|
+
* value: 列数(简写)或完整配置
|
|
90
|
+
* @example { 0: 1, 420: 2, 630: 3 } // 简写
|
|
91
|
+
* @example { 0: { columns: 1, gap: 12 }, 420: { columns: 2, gap: 16 } } // 完整
|
|
92
|
+
*/
|
|
93
|
+
export declare type BreakpointMap = Record<number, number | BreakpointConfig>;
|
|
94
|
+
/** 响应式布局配置 */
|
|
95
|
+
export declare type ResponsiveConfig = {
|
|
96
|
+
/** 每项最小宽度,系统自动计算断点 */
|
|
97
|
+
minWidth?: number;
|
|
98
|
+
/** 最大列数限制 */
|
|
99
|
+
maxColumns?: number;
|
|
100
|
+
/**
|
|
101
|
+
* 显式断点映射,key 为容器最小宽度(px)
|
|
102
|
+
* @example { 0: 1, 420: 2, 630: 3, 841: 4, 1367: 5 }
|
|
103
|
+
* @example { 0: { columns: 1, gap: 12 }, 420: { columns: 2, gap: 16 } }
|
|
104
|
+
*/
|
|
105
|
+
breakpoints?: BreakpointMap;
|
|
106
|
+
/** 默认列数(容器宽度小于所有断点时),默认为 1 */
|
|
107
|
+
defaultColumns?: number;
|
|
108
|
+
/** 间距,默认为 16 */
|
|
109
|
+
gap?: number | string;
|
|
110
|
+
/** ResizeObserver 防抖延迟(ms),默认为 0 */
|
|
111
|
+
debounce?: number;
|
|
112
|
+
};
|
|
80
113
|
export declare type LayoutConfig = {
|
|
81
114
|
type?: LayoutType;
|
|
82
115
|
className?: string;
|
|
83
116
|
containerStyle?: React.CSSProperties;
|
|
117
|
+
/**
|
|
118
|
+
* 响应式布局配置
|
|
119
|
+
* 存在此配置时自动启用 ResizeObserver 响应式布局
|
|
120
|
+
*/
|
|
121
|
+
responsive?: ResponsiveConfig;
|
|
84
122
|
columns?: number;
|
|
85
123
|
gutter?: number | object | Array<number>;
|
|
86
124
|
align?: 'top' | 'middle' | 'bottom' | 'stretch';
|
|
@@ -146,6 +184,7 @@ export interface SelectorProps<T = OptionKey> extends GroupItem {
|
|
|
146
184
|
stepperProps?: {
|
|
147
185
|
size?: 'small' | 'middle' | 'large';
|
|
148
186
|
shape?: 'round' | 'square';
|
|
187
|
+
horizontalPadding?: number | string;
|
|
149
188
|
};
|
|
150
189
|
style?: React.CSSProperties;
|
|
151
190
|
/**
|
|
@@ -153,6 +192,7 @@ export interface SelectorProps<T = OptionKey> extends GroupItem {
|
|
|
153
192
|
*/
|
|
154
193
|
titleProps?: HeaderProps;
|
|
155
194
|
headerProps?: HeaderProps;
|
|
195
|
+
selectProps?: any;
|
|
156
196
|
}
|
|
157
197
|
export interface SelectorGroupProps {
|
|
158
198
|
allowedValuesPolicy?: 'relaxed' | 'strict';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface DeviceIconGroupProps {
|
|
4
|
+
isShowScanner?: boolean;
|
|
5
|
+
isShowCamera?: boolean;
|
|
6
|
+
isShowNFC?: boolean;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const DeviceIconGroup: React.FC<DeviceIconGroupProps>;
|
|
11
|
+
export default DeviceIconGroup;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/pro/comprehensiveSearch/components/deviceIconGroup/index.tsx
|
|
30
|
+
var deviceIconGroup_exports = {};
|
|
31
|
+
__export(deviceIconGroup_exports, {
|
|
32
|
+
default: () => deviceIconGroup_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(deviceIconGroup_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_materials = require("@pisell/materials");
|
|
37
|
+
var import_useTerminalPeripherals = __toESM(require("../../hooks/useTerminalPeripherals"));
|
|
38
|
+
var import_useNativeScanner = __toESM(require("../../hooks/useNativeScanner"));
|
|
39
|
+
var import_index = require("./index.less");
|
|
40
|
+
var DeviceIconGroup = ({
|
|
41
|
+
isShowScanner = true,
|
|
42
|
+
isShowCamera = true,
|
|
43
|
+
isShowNFC = true,
|
|
44
|
+
style,
|
|
45
|
+
className
|
|
46
|
+
}) => {
|
|
47
|
+
const { peripheralsStatus } = (0, import_useTerminalPeripherals.default)();
|
|
48
|
+
const { isTerminal } = (0, import_useNativeScanner.default)();
|
|
49
|
+
const statusIndicator = (status) => {
|
|
50
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
51
|
+
import_materials.Iconfont,
|
|
52
|
+
{
|
|
53
|
+
style: {
|
|
54
|
+
borderRadius: "50%",
|
|
55
|
+
background: status ? "#17B26A" : "#F04438",
|
|
56
|
+
color: "#fff"
|
|
57
|
+
},
|
|
58
|
+
type: status ? "pisell2-check" : "pisell2-x-close"
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
};
|
|
62
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: `device-icon-group ${className || ""}`, style }, isShowScanner && /* @__PURE__ */ import_react.default.createElement("span", { className: "device-icon-group__icon-item" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-Scanner" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "status-indicator" }, statusIndicator((peripheralsStatus == null ? void 0 : peripheralsStatus.scanner) === "connected"))), isShowNFC && /* @__PURE__ */ import_react.default.createElement("span", { className: "device-icon-group__icon-item" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-NFC" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "status-indicator" }, statusIndicator((peripheralsStatus == null ? void 0 : peripheralsStatus.nfc) === "connected"))), isShowCamera && /* @__PURE__ */ import_react.default.createElement("span", { className: "device-icon-group__icon-item" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-camera" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "status-indicator" }, statusIndicator(isTerminal))));
|
|
63
|
+
};
|
|
64
|
+
var deviceIconGroup_default = DeviceIconGroup;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.device-icon-group {
|
|
2
|
+
display: flex;
|
|
3
|
+
gap: 16px;
|
|
4
|
+
align-items: center;
|
|
5
|
+
|
|
6
|
+
&__icon-item {
|
|
7
|
+
display: inline-block;
|
|
8
|
+
width: 40px;
|
|
9
|
+
height: 40px;
|
|
10
|
+
position: relative;
|
|
11
|
+
|
|
12
|
+
.status-indicator {
|
|
13
|
+
position: absolute;
|
|
14
|
+
left: 0;
|
|
15
|
+
bottom: 0;
|
|
16
|
+
font-size: 14px;
|
|
17
|
+
line-height: 14px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
> span {
|
|
21
|
+
font-size: 40px;
|
|
22
|
+
}
|
|
23
|
+
> img {
|
|
24
|
+
width: 40px;
|
|
25
|
+
height: 40px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/pro/comprehensiveSearch/components/index.tsx
|
|
30
|
+
var components_exports = {};
|
|
31
|
+
__export(components_exports, {
|
|
32
|
+
DeviceIconGroup: () => import_deviceIconGroup.default,
|
|
33
|
+
SearchSection: () => import_searchSection.default
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(components_exports);
|
|
36
|
+
var import_deviceIconGroup = __toESM(require("./deviceIconGroup"));
|
|
37
|
+
var import_searchSection = __toESM(require("./searchSection"));
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
DeviceIconGroup,
|
|
41
|
+
SearchSection
|
|
42
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface SearchSectionProps {
|
|
4
|
+
isShowSearchCamera?: boolean;
|
|
5
|
+
searchIcon?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
isShowSearchButton?: boolean;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
defaultValue?: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
onChange?: (value: string) => void;
|
|
12
|
+
onSearch?: (value: string) => void | Promise<any>;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
className?: string;
|
|
15
|
+
searchButtonProps?: {
|
|
16
|
+
placement?: 'inside' | 'outside';
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
};
|
|
19
|
+
cameraButtonProps?: {
|
|
20
|
+
icon?: string[];
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
declare const SearchSection: React.FC<SearchSectionProps>;
|
|
24
|
+
export default SearchSection;
|