@pisell/private-materials 6.3.113 → 6.3.114
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 +152 -152
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +10 -18
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +10 -18
- package/es/components/appointmentBooking/components/Date/state.js +1 -3
- package/es/components/appointmentBooking/locales.d.ts +0 -240
- package/es/components/appointmentBooking/locales.js +0 -276
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -164
- package/es/components/authentication/admin/AuthMethods/locales.js +0 -164
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +9 -27
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -54
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +0 -54
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -2
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +0 -2
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -46
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +0 -46
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -2
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +9 -17
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -16
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +0 -16
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +2 -10
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -42
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +0 -42
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -2
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +9 -17
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -24
- package/es/components/authentication/admin/ChannelAuthSetting/locales.js +0 -24
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -42
- package/es/components/authentication/admin/CustomerAuth/locales.js +0 -42
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -70
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +0 -70
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -36
- package/es/components/authentication/admin/DeviceAuth/locales.js +0 -36
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -58
- package/es/components/authentication/admin/OAuthConfig/locales.js +0 -58
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -34
- package/es/components/authentication/admin/OrgAdminAuth/locales.js +0 -34
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -30
- package/es/components/authentication/admin/POSOperatorAuth/locales.js +0 -30
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -34
- package/es/components/authentication/admin/SaaSAdminAuth/locales.js +0 -34
- package/es/components/booking/components/footer/index.js +20 -26
- package/es/components/booking/components/footer/utils.js +4 -4
- package/es/components/booking/editBookingModal/locales.d.ts +0 -12
- package/es/components/booking/editBookingModal/locales.js +0 -12
- package/es/components/booking/editBookingModal/mock.d.ts +2 -186
- package/es/components/booking/editBookingModal/mock.js +0 -22
- package/es/components/booking/hooks/useClearCart.d.ts +1 -1
- package/es/components/booking/hooks/useClearCart.js +9 -39
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/header/index.js +7 -7
- package/es/components/booking/info/header/index.less +5 -5
- package/es/components/booking/info/service/index.less +2 -4
- package/es/components/booking/info2/service/addService/mock.d.ts +0 -2
- package/es/components/booking/info2/service/addService/mock.js +0 -4
- package/es/components/booking/info2/service/editService/index.js +6 -36
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -15
- package/es/components/booking/info2/service/editService/utils.js +0 -76
- package/es/components/booking/locales.d.ts +0 -648
- package/es/components/booking/locales.js +0 -742
- package/es/components/booking/notes/NoteBlock/index.js +2 -3
- package/es/components/eftpos/PairModal/hooks.d.ts +27 -0
- package/es/components/eftpos/PairModal/hooks.js +67 -0
- package/es/components/eftpos/PairModal/index.d.ts +11 -0
- package/es/components/{ecocup/components/AddCustomerModal → eftpos/PairModal}/index.js +189 -159
- package/es/components/eftpos/PairModal/index.less +70 -0
- package/es/components/eftpos/SettlementModal/Action.d.ts +8 -0
- package/es/components/eftpos/SettlementModal/Action.js +141 -0
- package/es/components/eftpos/SettlementModal/index.d.ts +8 -0
- package/es/components/eftpos/SettlementModal/index.js +135 -0
- package/es/components/eftpos/SettlementModal/index.less +33 -0
- package/es/components/eftpos/SettlementModal/serve.d.ts +8 -0
- package/es/components/eftpos/SettlementModal/serve.js +171 -0
- package/es/components/eftpos/SettlementModal/types.d.ts +138 -0
- package/es/components/eftpos/SettlementModal/types.js +35 -0
- package/es/components/eftpos/SettlementModal/utils.d.ts +18 -0
- package/es/components/eftpos/SettlementModal/utils.js +351 -0
- package/es/components/eftpos/assets/mx51SCI.svg +15 -0
- package/es/components/eftpos/const.d.ts +3 -1
- package/es/components/eftpos/const.js +2 -0
- package/es/components/eftpos/device.d.ts +3 -1
- package/es/components/eftpos/device.js +5 -3
- package/es/components/eftpos/hooks.d.ts +13 -0
- package/es/components/eftpos/hooks.js +35 -0
- package/es/components/eftpos/index.js +184 -25
- package/es/components/eftpos/index.less +26 -1
- package/es/components/eftpos/locales.d.ts +39 -64
- package/es/components/eftpos/locales.js +104 -85
- package/es/components/eftpos/table.js +47 -3
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +6 -0
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.js +125 -0
- package/es/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/es/components/eftposPay/aggregatePayment/index.js +3 -0
- package/es/components/eftposPay/aggregatePayment/mock.d.ts +495 -0
- package/es/components/eftposPay/aggregatePayment/mock.js +567 -0
- package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/es/components/eftposPay/aggregatePayment/service.js +70 -0
- package/es/components/eftposPay/aggregatePayment/types.d.ts +101 -0
- package/es/components/eftposPay/aggregatePayment/types.js +61 -0
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/es/components/eftposPay/aggregatePayment/utils/logs.js +385 -0
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +132 -0
- package/es/components/eftposPay/aggregatePayment/utils/payment.js +1140 -0
- package/es/components/eftposPay/app.d.ts +1 -1
- package/es/components/eftposPay/component/fail/failCustom.js +12 -17
- package/es/components/eftposPay/component/fail/index.js +4 -5
- package/es/components/eftposPay/const.d.ts +7 -2
- package/es/components/eftposPay/const.js +2 -0
- package/es/components/eftposPay/device.js +36 -208
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/index.js +1 -5
- package/es/components/eftposPay/linkly/const.js +1 -1
- package/es/components/eftposPay/linkly/index.js +1 -0
- package/es/components/eftposPay/locales.d.ts +3 -242
- package/es/components/eftposPay/locales.js +5 -328
- package/es/components/eftposPay/manufacturer.d.ts +1 -0
- package/es/components/eftposPay/manufacturer.js +4 -0
- package/es/components/eftposPay/mx51/Action.d.ts +7 -0
- package/es/components/eftposPay/mx51/Action.js +139 -0
- package/es/components/eftposPay/mx51/Result.d.ts +5 -0
- package/es/components/eftposPay/mx51/Result.js +46 -0
- package/es/components/eftposPay/mx51/const.d.ts +5 -0
- package/es/components/eftposPay/mx51/const.js +69 -0
- package/es/components/eftposPay/mx51/index.d.ts +6 -0
- package/es/components/eftposPay/mx51/index.js +401 -0
- package/es/components/eftposPay/mx51/types.d.ts +138 -0
- package/es/components/eftposPay/mx51/types.js +30 -0
- package/es/components/eftposPay/mx51/utils.d.ts +10 -0
- package/es/components/eftposPay/mx51/utils.js +121 -0
- package/es/components/eftposPay/pay.js +7 -2
- package/es/components/eftposPay/payo/config.js +0 -1
- package/es/components/eftposPay/payo/const.js +1 -1
- package/es/components/eftposPay/store/index.d.ts +2 -5
- package/es/components/eftposPay/tyro/const.js +1 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/windcave/const.js +1 -1
- package/es/components/eftposPay/windcave/windcave.js +9 -9
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +0 -22
- package/es/components/eventBooking/components/Voucher/components/locales.js +0 -22
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/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/locales.d.ts +0 -162
- package/es/components/eventBooking/locales.js +0 -186
- package/es/components/kioskSkuDetail/index.js +10 -39
- package/es/components/kioskSkuDetail/locales.d.ts +0 -21
- package/es/components/kioskSkuDetail/locales.js +3 -24
- package/es/components/login/locales.d.ts +0 -14
- package/es/components/login/locales.js +0 -14
- package/es/components/pay/toC/PaymentList/serve.js +2 -2
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +0 -6
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +21 -65
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +9 -110
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +18 -46
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -20
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +1 -14
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +0 -20
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +1 -7
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +56 -167
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +0 -47
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +1 -9
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.js +33 -260
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +3 -23
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +126 -309
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +7 -18
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -5
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +145 -167
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +3 -3
- package/es/components/pay/toC/PaymentMethods/index.js +2 -12
- package/es/components/pay/toC/WalletPassBlock/index.js +1 -3
- package/es/components/pay/toC/index.js +48 -117
- package/es/components/pay/toC/locales.d.ts +0 -319
- package/es/components/pay/toC/locales.js +12 -381
- package/es/components/pay/toC/model.d.ts +0 -1
- package/es/components/pay/toC/serve.d.ts +0 -30
- package/es/components/pay/toC/serve.js +3 -69
- package/es/components/pay/toC/utils.d.ts +2 -7
- package/es/components/pay/toC/utils.js +0 -14
- package/es/components/pinModal/locales.d.ts +0 -16
- package/es/components/pinModal/locales.js +0 -16
- package/es/components/pinVerifyModal/locales.d.ts +0 -14
- package/es/components/pinVerifyModal/locales.js +0 -14
- package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -52
- package/es/components/pisellSelectCustomerModal/locales.js +0 -52
- package/es/components/productExtension/locales.d.ts +0 -30
- package/es/components/productExtension/locales.js +0 -30
- package/es/components/productSelect/components/pisellPriceText/index.js +4 -8
- package/es/components/productSelect/locales.d.ts +0 -20
- package/es/components/productSelect/locales.js +3 -23
- package/es/components/ruleSetting/locales.d.ts +0 -30
- package/es/components/ruleSetting/locales.js +0 -30
- package/es/components/schedules/locales.d.ts +0 -56
- package/es/components/schedules/locales.js +0 -56
- package/es/components/shoppingCart/components/Cart/index.less +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
- package/es/components/shoppingCart/hooks/useClearCart.js +11 -41
- package/es/components/shoppingCart/locales.d.ts +0 -20
- package/es/components/shoppingCart/locales.js +0 -24
- package/es/components/stepController/locales.d.ts +0 -16
- package/es/components/stepController/locales.js +0 -20
- package/es/components/subTotal/locales.d.ts +0 -26
- package/es/components/subTotal/locales.js +0 -26
- package/es/components/systemSettings/registry/components/ItemModal.js +47 -251
- package/es/components/systemSettings/registry/index.js +16 -20
- package/es/components/systemSettings/registry/index.less +7 -6
- package/es/components/systemSettings/registry/locales.d.ts +0 -262
- package/es/components/systemSettings/registry/locales.js +3 -274
- package/es/components/systemSettings/registry/services.d.ts +0 -20
- package/es/components/systemSettings/registry/types.d.ts +2 -16
- package/es/components/taxSelect/locales.d.ts +0 -14
- package/es/components/taxSelect/locales.js +0 -14
- package/es/components/ticketBooking/locales.d.ts +0 -130
- package/es/components/ticketBooking/locales.js +0 -156
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -2
- package/es/components/ticketBooking/utils/formatTime.js +2 -8
- package/es/components/wallet/utils.d.ts +1 -1
- package/es/components/walletList/index.js +0 -10
- package/es/components/walletList/locales.d.ts +0 -16
- package/es/components/walletList/locales.js +0 -16
- package/es/components/walletList/types/index.d.ts +0 -2
- package/es/hooks/useEngineContext.d.ts +0 -1
- package/es/hooks/useEngineContext.js +0 -7
- package/es/hooks/useLocale.js +1 -8
- package/es/index.d.ts +3 -16
- package/es/index.js +1 -13
- package/es/plus/contactInfo/components/SwipeAction/index.js +1 -1
- package/es/plus/contactInfo/locales.d.ts +0 -8
- package/es/plus/contactInfo/locales.js +0 -8
- package/es/plus/contactInfoModal/locales.d.ts +0 -42
- package/es/plus/contactInfoModal/locales.js +0 -42
- package/es/plus/productSelect/components/pisellPriceText/index.js +4 -8
- package/es/plus/productSelect/locales.d.ts +0 -20
- package/es/plus/productSelect/locales.js +3 -23
- package/es/plus/saasCreateOrganization/locales.d.ts +0 -8
- package/es/plus/saasCreateOrganization/locales.js +0 -8
- package/es/plus/saasLogin/locales.d.ts +0 -32
- package/es/plus/saasLogin/locales.js +0 -32
- package/es/plus/saasRegister/locales.d.ts +0 -76
- package/es/plus/saasRegister/locales.js +0 -76
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/plus/selectHolder/locales.d.ts +0 -14
- package/es/plus/selectHolder/locales.js +0 -18
- package/es/plus/skuOptionsSelection/components/NormalCard/index.js +5 -6
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.js +2 -3
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.less +0 -2
- package/es/plus/skuOptionsSelection/index.js +2 -2
- package/es/plus/skuOptionsSelection/locales.d.ts +0 -20
- package/es/plus/skuOptionsSelection/locales.js +0 -20
- package/es/plus/skuOptionsSelection/store/store.js +1 -2
- package/es/plus/skuOptionsSelection/types.d.ts +0 -14
- package/es/plus/skuOptionsSelection/types.js +0 -4
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +1 -10
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.js +1 -10
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +2 -9
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +4 -8
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +2 -8
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -2
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +4 -12
- package/es/plus/walletEditor/locales.d.ts +0 -88
- package/es/plus/walletEditor/locales.js +0 -100
- package/es/plus/walletEditor/types.d.ts +0 -2
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/es/plus/walletPassGallery/components/passDetail/index.js +39 -80
- package/es/plus/walletPassGallery/components/passList/index.js +4 -12
- package/es/plus/walletPassGallery/components/recharge/index.js +5 -13
- package/es/plus/walletPassGallery/components/recharge/index.less +1 -70
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -2
- package/es/plus/walletPassGallery/components/timelineSection/index.js +2 -19
- package/es/plus/walletPassGallery/index.d.ts +0 -4
- package/es/plus/walletPassGallery/index.js +46 -95
- package/es/plus/walletPassGallery/locales.d.ts +0 -198
- package/es/plus/walletPassGallery/locales.js +3 -216
- package/es/plus/walletPassGallery/serve.d.ts +1 -3
- package/es/plus/walletPassGallery/serve.js +13 -13
- package/es/plus/walletPassGallery/utils.d.ts +1 -1
- package/es/pro/Cards/components/SKUCard/index.d.ts +56 -1
- package/es/pro/Cards/components/SKUCard/index.js +20 -50
- package/es/pro/Cards/components/SKUCard/index.less +2 -23
- package/es/pro/Login2.0/Login2.js +8 -8
- package/es/pro/Login2.0/locales.d.ts +0 -365
- package/es/pro/Login2.0/locales.js +0 -365
- package/es/pro/Login2.0/shared/types.d.ts +0 -2
- package/es/pro/NumericStepper/index.d.ts +3 -33
- package/es/pro/NumericStepper/index.js +107 -181
- package/es/pro/NumericStepper/index.less +143 -287
- package/es/pro/Selector/BatchSelectorDemo.js +12 -2
- package/es/pro/Selector/Selector.js +30 -39
- package/es/pro/Selector/SelectorGroup.d.ts +1 -1
- package/es/pro/Selector/SelectorGroup.js +1 -5
- package/es/pro/Selector/components/Card/index.js +10 -11
- package/es/pro/Selector/components/Card/index.less +14 -30
- package/es/pro/Selector/components/Indicator/index.d.ts +0 -1
- package/es/pro/Selector/components/Indicator/index.js +2 -3
- package/es/pro/Selector/components/Indicator/index.less +13 -16
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +3 -5
- package/es/pro/Selector/components/LayoutContainer/index.js +9 -226
- package/es/pro/Selector/components/Media/index.d.ts +1 -1
- package/es/pro/Selector/components/Media/index.less +1 -1
- package/es/pro/Selector/demo.js +1 -1
- package/es/pro/Selector/hooks/usePresetItemProps.js +0 -2
- package/es/pro/Selector/hooks/usePresetProps.js +6 -60
- package/es/pro/Selector/locales.d.ts +0 -22
- package/es/pro/Selector/locales.js +0 -58
- package/es/pro/Selector/selector.less +64 -0
- package/es/pro/Selector/selectorGroup.less +1 -9
- package/es/pro/Selector/types.d.ts +0 -50
- package/es/pro/numberKeyboard/locales.d.ts +0 -6
- package/es/pro/numberKeyboard/locales.js +0 -6
- package/lib/components/appointmentBooking/components/Date/state.js +1 -3
- package/lib/components/appointmentBooking/locales.d.ts +0 -240
- package/lib/components/appointmentBooking/locales.js +0 -240
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -164
- package/lib/components/authentication/admin/AuthMethods/locales.js +0 -164
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +9 -17
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -54
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +0 -54
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -2
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +0 -2
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -46
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +0 -46
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -2
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +6 -14
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -16
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +0 -16
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +2 -10
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -42
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +0 -42
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -2
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +6 -14
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -24
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +0 -24
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -42
- package/lib/components/authentication/admin/CustomerAuth/locales.js +0 -42
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -70
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +0 -70
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -36
- package/lib/components/authentication/admin/DeviceAuth/locales.js +0 -36
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -58
- package/lib/components/authentication/admin/OAuthConfig/locales.js +0 -58
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -34
- package/lib/components/authentication/admin/OrgAdminAuth/locales.js +0 -34
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -30
- package/lib/components/authentication/admin/POSOperatorAuth/locales.js +0 -30
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -34
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +0 -34
- package/lib/components/booking/components/footer/index.js +0 -5
- package/lib/components/booking/components/footer/utils.js +2 -2
- package/lib/components/booking/editBookingModal/locales.d.ts +0 -12
- package/lib/components/booking/editBookingModal/locales.js +0 -12
- package/lib/components/booking/editBookingModal/mock.d.ts +2 -186
- package/lib/components/booking/editBookingModal/mock.js +0 -22
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -1
- package/lib/components/booking/hooks/useClearCart.js +6 -28
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/header/index.js +7 -7
- package/lib/components/booking/info/header/index.less +5 -5
- package/lib/components/booking/info/service/index.less +2 -4
- package/lib/components/booking/info2/service/addService/mock.d.ts +0 -2
- package/lib/components/booking/info2/service/addService/mock.js +0 -4
- package/lib/components/booking/info2/service/editService/index.js +1 -24
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -15
- package/lib/components/booking/info2/service/editService/utils.js +2 -38
- package/lib/components/booking/locales.d.ts +0 -648
- package/lib/components/booking/locales.js +0 -700
- package/lib/components/booking/notes/NoteBlock/index.js +1 -2
- package/lib/components/eftpos/PairModal/hooks.d.ts +27 -0
- package/lib/components/eftpos/PairModal/hooks.js +70 -0
- package/lib/components/eftpos/PairModal/index.d.ts +11 -0
- package/lib/components/eftpos/PairModal/index.js +197 -0
- package/lib/components/eftpos/PairModal/index.less +70 -0
- package/lib/components/eftpos/SettlementModal/Action.d.ts +8 -0
- package/lib/components/eftpos/SettlementModal/Action.js +153 -0
- package/lib/components/eftpos/SettlementModal/index.d.ts +8 -0
- package/lib/components/eftpos/SettlementModal/index.js +170 -0
- package/lib/components/eftpos/SettlementModal/index.less +33 -0
- package/lib/components/eftpos/SettlementModal/serve.d.ts +8 -0
- package/lib/{plus/saasAttendance/settings → components/eftpos/SettlementModal}/serve.js +16 -25
- package/lib/components/eftpos/SettlementModal/types.d.ts +138 -0
- package/lib/components/eftpos/SettlementModal/types.js +43 -0
- package/lib/components/eftpos/SettlementModal/utils.d.ts +18 -0
- package/lib/components/eftpos/SettlementModal/utils.js +248 -0
- package/lib/components/eftpos/assets/mx51SCI.svg +15 -0
- package/lib/components/eftpos/const.d.ts +3 -1
- package/lib/components/eftpos/const.js +2 -0
- package/lib/components/eftpos/device.d.ts +3 -1
- package/lib/components/eftpos/device.js +3 -3
- package/lib/components/eftpos/hooks.d.ts +13 -0
- package/lib/components/eftpos/hooks.js +30 -0
- package/lib/components/eftpos/index.js +106 -8
- package/lib/components/eftpos/index.less +26 -1
- package/lib/components/eftpos/locales.d.ts +39 -64
- package/lib/components/eftpos/locales.js +101 -78
- package/lib/components/eftpos/table.js +30 -2
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +6 -0
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.js +152 -0
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/lib/{plus/clinetSearch/serve.js → components/eftposPay/aggregatePayment/index.js} +10 -11
- package/lib/components/eftposPay/aggregatePayment/mock.d.ts +495 -0
- package/lib/components/eftposPay/aggregatePayment/mock.js +679 -0
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/lib/components/eftposPay/aggregatePayment/service.js +81 -0
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +101 -0
- package/lib/components/eftposPay/aggregatePayment/types.js +74 -0
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/lib/components/eftposPay/aggregatePayment/utils/logs.js +302 -0
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +132 -0
- package/lib/components/eftposPay/aggregatePayment/utils/payment.js +755 -0
- package/lib/components/eftposPay/app.d.ts +1 -1
- package/lib/components/eftposPay/component/fail/failCustom.js +9 -15
- package/lib/components/eftposPay/component/fail/index.js +1 -4
- package/lib/components/eftposPay/const.d.ts +7 -2
- package/lib/components/eftposPay/const.js +2 -0
- package/lib/components/eftposPay/device.js +23 -108
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/index.js +1 -5
- package/lib/components/eftposPay/linkly/const.js +1 -1
- package/lib/components/eftposPay/linkly/index.js +1 -0
- package/lib/components/eftposPay/locales.d.ts +3 -242
- package/lib/components/eftposPay/locales.js +5 -252
- package/lib/components/eftposPay/manufacturer.d.ts +1 -0
- package/lib/components/eftposPay/manufacturer.js +6 -0
- package/lib/components/eftposPay/mx51/Action.d.ts +7 -0
- package/lib/components/eftposPay/mx51/Action.js +152 -0
- package/lib/components/eftposPay/mx51/Result.d.ts +5 -0
- package/lib/components/{ecocup/components/MoreDropdown/index.js → eftposPay/mx51/Result.js} +43 -31
- package/lib/components/eftposPay/mx51/const.d.ts +5 -0
- package/lib/components/eftposPay/mx51/const.js +85 -0
- package/lib/components/eftposPay/mx51/index.d.ts +6 -0
- package/lib/components/eftposPay/mx51/index.js +360 -0
- package/lib/components/eftposPay/mx51/types.d.ts +138 -0
- package/lib/components/{ecocup/customerList/hooks/index.js → eftposPay/mx51/types.js} +18 -10
- package/lib/components/eftposPay/mx51/utils.d.ts +10 -0
- package/lib/components/eftposPay/mx51/utils.js +115 -0
- package/lib/components/eftposPay/pay.js +4 -2
- package/lib/components/eftposPay/payo/config.js +0 -1
- package/lib/components/eftposPay/payo/const.js +1 -1
- package/lib/components/eftposPay/store/index.d.ts +2 -5
- package/lib/components/eftposPay/tyro/const.js +1 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/windcave/const.js +1 -1
- package/lib/components/eftposPay/windcave/windcave.js +9 -9
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +0 -22
- package/lib/components/eventBooking/components/Voucher/components/locales.js +0 -22
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/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/locales.d.ts +0 -162
- package/lib/components/eventBooking/locales.js +0 -162
- package/lib/components/kioskSkuDetail/index.js +3 -27
- package/lib/components/kioskSkuDetail/locales.d.ts +0 -21
- package/lib/components/kioskSkuDetail/locales.js +3 -24
- package/lib/components/login/locales.d.ts +0 -14
- package/lib/components/login/locales.js +0 -14
- package/lib/components/pay/toC/PaymentList/serve.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +0 -6
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +17 -40
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +9 -110
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +12 -32
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -20
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +2 -8
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +0 -20
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +1 -7
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +24 -98
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +0 -47
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +1 -9
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.js +5 -149
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +3 -23
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +39 -121
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +1 -7
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -5
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +103 -92
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -2
- package/lib/components/pay/toC/PaymentMethods/index.js +12 -17
- package/lib/components/pay/toC/WalletPassBlock/index.js +1 -3
- package/lib/components/pay/toC/index.js +22 -86
- package/lib/components/pay/toC/locales.d.ts +0 -319
- package/lib/components/pay/toC/locales.js +12 -331
- package/lib/components/pay/toC/model.d.ts +0 -1
- package/lib/components/pay/toC/serve.d.ts +0 -30
- package/lib/components/pay/toC/serve.js +1 -17
- package/lib/components/pay/toC/utils.d.ts +2 -7
- package/lib/components/pay/toC/utils.js +0 -21
- package/lib/components/pinModal/locales.d.ts +0 -16
- package/lib/components/pinModal/locales.js +0 -16
- package/lib/components/pinVerifyModal/locales.d.ts +0 -14
- package/lib/components/pinVerifyModal/locales.js +0 -14
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -52
- package/lib/components/pisellSelectCustomerModal/locales.js +0 -52
- package/lib/components/productExtension/locales.d.ts +0 -30
- package/lib/components/productExtension/locales.js +0 -30
- package/lib/components/productSelect/components/pisellPriceText/index.js +4 -6
- package/lib/components/productSelect/locales.d.ts +0 -20
- package/lib/components/productSelect/locales.js +3 -23
- package/lib/components/ruleSetting/locales.d.ts +0 -30
- package/lib/components/ruleSetting/locales.js +0 -30
- package/lib/components/schedules/locales.d.ts +0 -56
- package/lib/components/schedules/locales.js +0 -56
- package/lib/components/shoppingCart/components/Cart/index.less +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
- package/lib/components/shoppingCart/hooks/useClearCart.js +11 -42
- package/lib/components/shoppingCart/locales.d.ts +0 -20
- package/lib/components/shoppingCart/locales.js +0 -20
- package/lib/components/stepController/locales.d.ts +0 -16
- package/lib/components/stepController/locales.js +0 -16
- package/lib/components/subTotal/locales.d.ts +0 -26
- package/lib/components/subTotal/locales.js +0 -26
- package/lib/components/systemSettings/registry/components/ItemModal.js +224 -347
- package/lib/components/systemSettings/registry/index.js +16 -20
- package/lib/components/systemSettings/registry/index.less +7 -6
- package/lib/components/systemSettings/registry/locales.d.ts +0 -262
- package/lib/components/systemSettings/registry/locales.js +3 -274
- package/lib/components/systemSettings/registry/services.d.ts +0 -20
- package/lib/components/systemSettings/registry/types.d.ts +2 -16
- package/lib/components/taxSelect/locales.d.ts +0 -14
- package/lib/components/taxSelect/locales.js +0 -14
- package/lib/components/ticketBooking/locales.d.ts +0 -130
- package/lib/components/ticketBooking/locales.js +0 -136
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -2
- package/lib/components/ticketBooking/utils/formatTime.js +2 -8
- package/lib/components/wallet/utils.d.ts +1 -1
- package/lib/components/walletList/index.js +0 -10
- package/lib/components/walletList/locales.d.ts +0 -16
- package/lib/components/walletList/locales.js +0 -16
- package/lib/components/walletList/types/index.d.ts +0 -2
- package/lib/hooks/useEngineContext.d.ts +0 -1
- package/lib/hooks/useEngineContext.js +2 -10
- package/lib/hooks/useLocale.js +2 -7
- package/lib/index.d.ts +3 -16
- package/lib/index.js +3 -39
- package/lib/plus/contactInfo/components/SwipeAction/index.js +23 -23
- package/lib/plus/contactInfo/locales.d.ts +0 -8
- package/lib/plus/contactInfo/locales.js +0 -8
- package/lib/plus/contactInfoModal/locales.d.ts +0 -42
- package/lib/plus/contactInfoModal/locales.js +0 -42
- package/lib/plus/productSelect/components/pisellPriceText/index.js +4 -6
- package/lib/plus/productSelect/locales.d.ts +0 -20
- package/lib/plus/productSelect/locales.js +3 -23
- package/lib/plus/saasCreateOrganization/locales.d.ts +0 -8
- package/lib/plus/saasCreateOrganization/locales.js +0 -8
- package/lib/plus/saasLogin/locales.d.ts +0 -32
- package/lib/plus/saasLogin/locales.js +0 -32
- package/lib/plus/saasRegister/locales.d.ts +0 -76
- package/lib/plus/saasRegister/locales.js +0 -76
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/plus/selectHolder/locales.d.ts +0 -14
- package/lib/plus/selectHolder/locales.js +0 -14
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.js +10 -11
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.js +2 -3
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.less +0 -2
- package/lib/plus/skuOptionsSelection/index.js +2 -2
- package/lib/plus/skuOptionsSelection/locales.d.ts +0 -20
- package/lib/plus/skuOptionsSelection/locales.js +0 -20
- package/lib/plus/skuOptionsSelection/store/store.js +1 -2
- package/lib/plus/skuOptionsSelection/types.d.ts +0 -14
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +9 -15
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.js +6 -9
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +2 -9
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +3 -7
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +7 -8
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -2
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +4 -12
- package/lib/plus/walletEditor/locales.d.ts +0 -88
- package/lib/plus/walletEditor/locales.js +0 -100
- package/lib/plus/walletEditor/types.d.ts +0 -2
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/components/passDetail/index.js +5 -42
- package/lib/plus/walletPassGallery/components/passList/index.js +5 -12
- package/lib/plus/walletPassGallery/components/recharge/index.js +5 -7
- package/lib/plus/walletPassGallery/components/recharge/index.less +1 -70
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -2
- package/lib/plus/walletPassGallery/components/timelineSection/index.js +2 -17
- package/lib/plus/walletPassGallery/index.d.ts +0 -4
- package/lib/plus/walletPassGallery/index.js +45 -116
- package/lib/plus/walletPassGallery/locales.d.ts +0 -198
- package/lib/plus/walletPassGallery/locales.js +3 -210
- package/lib/plus/walletPassGallery/serve.d.ts +1 -3
- package/lib/plus/walletPassGallery/serve.js +2 -2
- package/lib/plus/walletPassGallery/utils.d.ts +1 -1
- package/lib/pro/Cards/components/SKUCard/index.d.ts +56 -1
- package/lib/pro/Cards/components/SKUCard/index.js +15 -59
- package/lib/pro/Cards/components/SKUCard/index.less +2 -23
- package/lib/pro/Login2.0/Login2.js +8 -8
- package/lib/pro/Login2.0/locales.d.ts +0 -365
- package/lib/pro/Login2.0/locales.js +0 -365
- package/lib/pro/Login2.0/shared/types.d.ts +0 -2
- package/lib/pro/NumericStepper/index.d.ts +3 -33
- package/lib/pro/NumericStepper/index.js +88 -184
- package/lib/pro/NumericStepper/index.less +143 -287
- package/lib/pro/Selector/BatchSelectorDemo.js +19 -13
- package/lib/pro/Selector/Selector.js +17 -34
- package/lib/pro/Selector/SelectorGroup.d.ts +1 -1
- package/lib/pro/Selector/SelectorGroup.js +1 -7
- package/lib/pro/Selector/components/Card/index.js +8 -19
- package/lib/pro/Selector/components/Card/index.less +14 -30
- package/lib/pro/Selector/components/Indicator/index.d.ts +0 -1
- package/lib/pro/Selector/components/Indicator/index.js +2 -2
- package/lib/pro/Selector/components/Indicator/index.less +13 -16
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +3 -5
- package/lib/pro/Selector/components/LayoutContainer/index.js +2 -130
- package/lib/pro/Selector/components/Media/index.d.ts +1 -1
- package/lib/pro/Selector/components/Media/index.js +4 -7
- package/lib/pro/Selector/components/Media/index.less +1 -1
- package/lib/pro/Selector/demo.js +1 -1
- package/lib/pro/Selector/hooks/usePresetItemProps.js +0 -2
- package/lib/pro/Selector/hooks/usePresetProps.js +6 -28
- package/lib/pro/Selector/locales.d.ts +0 -22
- package/lib/pro/Selector/locales.js +0 -50
- package/lib/pro/Selector/selector.less +64 -0
- package/lib/pro/Selector/selectorGroup.less +1 -9
- package/lib/pro/Selector/types.d.ts +0 -50
- package/lib/pro/numberKeyboard/locales.d.ts +0 -6
- package/lib/pro/numberKeyboard/locales.js +0 -6
- package/lowcode/selector/meta.ts +2 -15
- package/lowcode/selector.group/meta.ts +2 -15
- package/lowcode/sku-options-selection/meta.ts +2 -106
- package/lowcode/wallet-pass-gallery/meta.ts +1 -66
- package/package.json +6 -6
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +0 -10
- package/es/components/ecocup/components/AddCustomerModal/index.less +0 -9
- package/es/components/ecocup/components/CupActionList/index.d.ts +0 -14
- package/es/components/ecocup/components/CupActionList/index.js +0 -91
- package/es/components/ecocup/components/CupActionList/index.less +0 -102
- package/es/components/ecocup/components/CupActionModal/hooks.d.ts +0 -5
- package/es/components/ecocup/components/CupActionModal/hooks.js +0 -68
- package/es/components/ecocup/components/CupActionModal/index.d.ts +0 -15
- package/es/components/ecocup/components/CupActionModal/index.js +0 -92
- package/es/components/ecocup/components/CupActionModal/index.less +0 -38
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -10
- package/es/components/ecocup/components/CupInfoCard/index.js +0 -14
- package/es/components/ecocup/components/CupInfoCard/index.less +0 -11
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +0 -36
- package/es/components/ecocup/components/CupStatusModal/hooks.js +0 -176
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +0 -14
- package/es/components/ecocup/components/CupStatusModal/index.js +0 -281
- package/es/components/ecocup/components/CupStatusModal/index.less +0 -73
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +0 -14
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.js +0 -133
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -20
- package/es/components/ecocup/components/CustomerAndCupModal/index.js +0 -227
- package/es/components/ecocup/components/CustomerAndCupModal/index.less +0 -68
- package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -9
- package/es/components/ecocup/components/CustomerCard/index.js +0 -37
- package/es/components/ecocup/components/CustomerCard/index.less +0 -50
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -9
- package/es/components/ecocup/components/MoreDropdown/index.js +0 -33
- package/es/components/ecocup/components/PageHeader/index.d.ts +0 -9
- package/es/components/ecocup/components/PageHeader/index.js +0 -47
- package/es/components/ecocup/components/PageHeader/index.less +0 -31
- package/es/components/ecocup/components/SearchBar/const.d.ts +0 -4
- package/es/components/ecocup/components/SearchBar/const.js +0 -16
- package/es/components/ecocup/components/SearchBar/hooks.d.ts +0 -44
- package/es/components/ecocup/components/SearchBar/hooks.js +0 -184
- package/es/components/ecocup/components/SearchBar/index.d.ts +0 -14
- package/es/components/ecocup/components/SearchBar/index.js +0 -248
- package/es/components/ecocup/components/SearchBar/index.less +0 -88
- package/es/components/ecocup/components/SettingModal/const.d.ts +0 -6
- package/es/components/ecocup/components/SettingModal/const.js +0 -17
- package/es/components/ecocup/components/SettingModal/index.d.ts +0 -9
- package/es/components/ecocup/components/SettingModal/index.js +0 -253
- package/es/components/ecocup/components/SettingModal/index.less +0 -9
- package/es/components/ecocup/cupList/const.d.ts +0 -140
- package/es/components/ecocup/cupList/const.js +0 -319
- package/es/components/ecocup/cupList/hooks/index.d.ts +0 -4
- package/es/components/ecocup/cupList/hooks/index.js +0 -4
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +0 -45
- package/es/components/ecocup/cupList/hooks/useColumns.js +0 -166
- package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +0 -41
- package/es/components/ecocup/cupList/hooks/useCupApi.js +0 -312
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -3
- package/es/components/ecocup/cupList/hooks/useSummary.js +0 -42
- package/es/components/ecocup/cupList/index.d.ts +0 -7
- package/es/components/ecocup/cupList/index.js +0 -268
- package/es/components/ecocup/cupList/index.less +0 -159
- package/es/components/ecocup/cupProject/const.d.ts +0 -7
- package/es/components/ecocup/cupProject/const.js +0 -33
- package/es/components/ecocup/cupProject/index.d.ts +0 -3
- package/es/components/ecocup/cupProject/index.js +0 -112
- package/es/components/ecocup/cupProject/index.less +0 -41
- package/es/components/ecocup/customerList/const.d.ts +0 -44
- package/es/components/ecocup/customerList/const.js +0 -67
- package/es/components/ecocup/customerList/hooks/index.d.ts +0 -3
- package/es/components/ecocup/customerList/hooks/index.js +0 -3
- package/es/components/ecocup/customerList/hooks/useColumns.d.ts +0 -15
- package/es/components/ecocup/customerList/hooks/useColumns.js +0 -44
- package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +0 -15
- package/es/components/ecocup/customerList/hooks/useCustomerApi.js +0 -70
- package/es/components/ecocup/customerList/index.d.ts +0 -7
- package/es/components/ecocup/customerList/index.js +0 -127
- package/es/components/ecocup/customerList/index.less +0 -15
- package/es/components/ecocup/hooks.d.ts +0 -57
- package/es/components/ecocup/hooks.js +0 -168
- package/es/components/ecocup/locales.d.ts +0 -653
- package/es/components/ecocup/locales.js +0 -699
- package/es/components/ecocup/types.d.ts +0 -103
- package/es/components/ecocup/types.js +0 -36
- package/es/components/ecocup/utils/download.d.ts +0 -7
- package/es/components/ecocup/utils/download.js +0 -34
- package/es/components/ecocup/utils/index.d.ts +0 -2
- package/es/components/ecocup/utils/index.js +0 -2
- package/es/components/ecocup/utils/scanListener.d.ts +0 -20
- package/es/components/ecocup/utils/scanListener.js +0 -107
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.d.ts +0 -34
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.js +0 -83
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.less +0 -52
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +0 -59
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +0 -390
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +0 -70
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +0 -367
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +0 -8
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +0 -163
- package/es/components/systemSettings/registry/components/OptionDataSource/index.d.ts +0 -10
- package/es/components/systemSettings/registry/components/OptionDataSource/index.js +0 -127
- package/es/components/systemSettings/registry/components/OptionDataSource/index.less +0 -37
- package/es/hooks/useThemeTokens.d.ts +0 -7
- package/es/hooks/useThemeTokens.js +0 -20
- package/es/hooks/useTranslationOriginal.d.ts +0 -1
- package/es/hooks/useTranslationOriginal.js +0 -10
- package/es/plus/clientCard/index.d.ts +0 -7
- package/es/plus/clientCard/index.js +0 -462
- package/es/plus/clientCard/index.less +0 -515
- package/es/plus/clientCard/line/index.d.ts +0 -9
- package/es/plus/clientCard/line/index.js +0 -157
- package/es/plus/clientCard/line/index.less +0 -142
- package/es/plus/clientCard/locales.d.ts +0 -28
- package/es/plus/clientCard/locales.js +0 -27
- package/es/plus/clientCard/types.d.ts +0 -135
- package/es/plus/clientCard/types.js +0 -1
- package/es/plus/clientCard/utils.d.ts +0 -8
- package/es/plus/clientCard/utils.js +0 -59
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -3
- package/es/plus/clinetSearch/Add/BirthdayField/index.js +0 -277
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -3
- package/es/plus/clinetSearch/Add/GenderField/index.js +0 -18
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -3
- package/es/plus/clinetSearch/Add/PhoneField/index.js +0 -52
- package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
- package/es/plus/clinetSearch/Add/PhoneField/serve.js +0 -166
- package/es/plus/clinetSearch/Add/index.d.ts +0 -18
- package/es/plus/clinetSearch/Add/index.js +0 -213
- package/es/plus/clinetSearch/Add/index.less +0 -30
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +0 -265
- package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/es/plus/clinetSearch/InfiniteScroll/index.js +0 -1
- package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/es/plus/clinetSearch/InfiniteScroll/types.js +0 -1
- package/es/plus/clinetSearch/index.d.ts +0 -18
- package/es/plus/clinetSearch/index.js +0 -234
- package/es/plus/clinetSearch/index.less +0 -95
- package/es/plus/clinetSearch/locales.d.ts +0 -178
- package/es/plus/clinetSearch/locales.js +0 -177
- package/es/plus/clinetSearch/serve.d.ts +0 -1
- package/es/plus/clinetSearch/serve.js +0 -31
- package/es/plus/clinetSearch/types.d.ts +0 -70
- package/es/plus/clinetSearch/types.js +0 -1
- package/es/plus/orderList/components/BatchActionBar.d.ts +0 -9
- package/es/plus/orderList/components/BatchActionBar.js +0 -835
- package/es/plus/orderList/components/FilterList.d.ts +0 -8
- package/es/plus/orderList/components/FilterList.js +0 -78
- package/es/plus/orderList/components/HandleActions.d.ts +0 -6
- package/es/plus/orderList/components/HandleActions.js +0 -27
- package/es/plus/orderList/components/QuickFilter.d.ts +0 -5
- package/es/plus/orderList/components/QuickFilter.js +0 -14
- package/es/plus/orderList/components/Reset.d.ts +0 -7
- package/es/plus/orderList/components/Reset.js +0 -23
- package/es/plus/orderList/components/Toolbar.d.ts +0 -7
- package/es/plus/orderList/components/Toolbar.js +0 -59
- package/es/plus/orderList/config.d.ts +0 -155
- package/es/plus/orderList/config.js +0 -786
- package/es/plus/orderList/index.d.ts +0 -10
- package/es/plus/orderList/index.js +0 -133
- package/es/plus/orderList/index.less +0 -125
- package/es/plus/orderList/locales.d.ts +0 -618
- package/es/plus/orderList/locales.js +0 -733
- package/es/plus/orderList/serve.d.ts +0 -42
- package/es/plus/orderList/serve.js +0 -351
- package/es/plus/pisellSalesGrid/PisellSalesGrid.d.ts +0 -5
- package/es/plus/pisellSalesGrid/PisellSalesGrid.js +0 -363
- package/es/plus/pisellSalesGrid/PisellSalesGrid.less +0 -16
- package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +0 -14
- package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.js +0 -559
- package/es/plus/pisellSalesGrid/hooks/useActions.d.ts +0 -19
- package/es/plus/pisellSalesGrid/hooks/useActions.js +0 -723
- package/es/plus/pisellSalesGrid/index.d.ts +0 -4
- package/es/plus/pisellSalesGrid/index.js +0 -3
- package/es/plus/pisellSalesGrid/locales.d.ts +0 -9
- package/es/plus/pisellSalesGrid/locales.js +0 -8
- package/es/plus/pisellSalesGrid/serve.d.ts +0 -19
- package/es/plus/pisellSalesGrid/serve.js +0 -151
- package/es/plus/pisellSalesGrid/types.d.ts +0 -170
- package/es/plus/pisellSalesGrid/types.js +0 -1
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +0 -15
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.js +0 -221
- package/es/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +0 -19
- package/es/plus/pisellSalesManagement/components/BookingNotesPreview.js +0 -167
- package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +0 -9
- package/es/plus/pisellSalesManagement/components/ResourceSelector.js +0 -102
- package/es/plus/pisellSalesManagement/config/booking.d.ts +0 -185
- package/es/plus/pisellSalesManagement/config/booking.js +0 -380
- package/es/plus/pisellSalesManagement/config/index.d.ts +0 -2
- package/es/plus/pisellSalesManagement/config/index.js +0 -11
- package/es/plus/pisellSalesManagement/config/order.d.ts +0 -172
- package/es/plus/pisellSalesManagement/config/order.js +0 -460
- package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +0 -15
- package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.js +0 -66
- package/es/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +0 -2
- package/es/plus/pisellSalesManagement/hooks/useBookingPerspective.js +0 -651
- package/es/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +0 -2
- package/es/plus/pisellSalesManagement/hooks/useOrderPerspective.js +0 -656
- package/es/plus/pisellSalesManagement/hooks/usePerspectives.d.ts +0 -5
- package/es/plus/pisellSalesManagement/hooks/usePerspectives.js +0 -12
- package/es/plus/pisellSalesManagement/index.d.ts +0 -10
- package/es/plus/pisellSalesManagement/index.js +0 -84
- package/es/plus/pisellSalesManagement/locales.d.ts +0 -303
- package/es/plus/pisellSalesManagement/locales.js +0 -302
- package/es/plus/pisellSalesManagement/serve.d.ts +0 -26
- package/es/plus/pisellSalesManagement/serve.js +0 -222
- package/es/plus/saasAttendance/index.d.ts +0 -6
- package/es/plus/saasAttendance/index.js +0 -5
- package/es/plus/saasAttendance/locales.d.ts +0 -591
- package/es/plus/saasAttendance/locales.js +0 -657
- package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +0 -5
- package/es/plus/saasAttendance/settings/BasicInfoTab.js +0 -96
- package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +0 -8
- package/es/plus/saasAttendance/settings/ClockInMethodTab.js +0 -81
- package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +0 -8
- package/es/plus/saasAttendance/settings/CorrectionPolicyTab.js +0 -293
- package/es/plus/saasAttendance/settings/PermissonTab.d.ts +0 -5
- package/es/plus/saasAttendance/settings/PermissonTab.js +0 -79
- package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +0 -5
- package/es/plus/saasAttendance/settings/ShiftScheduleTab.js +0 -115
- package/es/plus/saasAttendance/settings/components/MapField.d.ts +0 -78
- package/es/plus/saasAttendance/settings/components/MapField.js +0 -848
- package/es/plus/saasAttendance/settings/components/index.d.ts +0 -3
- package/es/plus/saasAttendance/settings/components/index.js +0 -2
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -8
- package/es/plus/saasAttendance/settings/components/membersField/index.js +0 -216
- package/es/plus/saasAttendance/settings/components/membersField/index.less +0 -70
- package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +0 -7
- package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +0 -149
- package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +0 -119
- package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +0 -18
- package/es/plus/saasAttendance/settings/components/shiftModal/index.js +0 -438
- package/es/plus/saasAttendance/settings/index.d.ts +0 -18
- package/es/plus/saasAttendance/settings/index.js +0 -262
- package/es/plus/saasAttendance/settings/index.less +0 -510
- package/es/plus/saasAttendance/settings/serve.d.ts +0 -27
- package/es/plus/saasAttendance/settings/serve.js +0 -83
- package/es/plus/saasAttendance/settings/types.d.ts +0 -136
- package/es/plus/saasAttendance/settings/types.js +0 -1
- package/es/plus/saasRole/components/PermissionManager/index.d.ts +0 -19
- package/es/plus/saasRole/components/PermissionManager/index.js +0 -211
- package/es/plus/saasRole/components/PermissionManager/index.less +0 -71
- package/es/plus/saasRole/index.d.ts +0 -14
- package/es/plus/saasRole/index.js +0 -1036
- package/es/plus/saasRole/index.less +0 -196
- package/es/plus/saasRole/locales.d.ts +0 -319
- package/es/plus/saasRole/locales.js +0 -319
- package/es/plus/saasRole/serve.d.ts +0 -72
- package/es/plus/saasRole/serve.js +0 -304
- package/es/plus/saasRole/types.d.ts +0 -177
- package/es/plus/saasRole/types.js +0 -1
- package/es/plus/saasRole/utils.d.ts +0 -0
- package/es/plus/saasRole/utils.js +0 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +0 -31
- package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.js +0 -503
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +0 -23
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.js +0 -634
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.less +0 -178
- package/es/plus/saasTeamMembers/index.d.ts +0 -5
- package/es/plus/saasTeamMembers/index.js +0 -529
- package/es/plus/saasTeamMembers/index.less +0 -87
- package/es/plus/saasTeamMembers/locales.d.ts +0 -546
- package/es/plus/saasTeamMembers/locales.js +0 -591
- package/es/plus/saasTeamMembers/serve.d.ts +0 -95
- package/es/plus/saasTeamMembers/serve.js +0 -374
- package/es/plus/saasTeamMembers/type.d.ts +0 -158
- package/es/plus/saasTeamMembers/type.js +0 -1
- package/es/pro/Cards/components/SKUCard/locales.d.ts +0 -12
- package/es/pro/Cards/components/SKUCard/locales.js +0 -11
- package/es/pro/Cards/components/SKUCard/types.d.ts +0 -73
- package/es/pro/Cards/components/SKUCard/types.js +0 -1
- package/es/pro/Selector/components/LayoutContainer/index.less +0 -19
- package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +0 -11
- package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.js +0 -54
- package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.less +0 -28
- package/es/pro/comprehensiveSearch/components/index.d.ts +0 -2
- package/es/pro/comprehensiveSearch/components/index.js +0 -2
- package/es/pro/comprehensiveSearch/components/searchSection/index.d.ts +0 -24
- package/es/pro/comprehensiveSearch/components/searchSection/index.js +0 -141
- package/es/pro/comprehensiveSearch/components/searchSection/index.less +0 -100
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -23
- package/es/pro/comprehensiveSearch/components/searchSection/locales.js +0 -22
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.js +0 -24
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +0 -44
- package/es/pro/comprehensiveSearch/index.d.ts +0 -7
- package/es/pro/comprehensiveSearch/index.js +0 -207
- package/es/pro/comprehensiveSearch/index.less +0 -196
- package/es/pro/comprehensiveSearch/locales.d.ts +0 -23
- package/es/pro/comprehensiveSearch/locales.js +0 -22
- package/es/pro/comprehensiveSearch/types.d.ts +0 -32
- package/es/pro/comprehensiveSearch/types.js +0 -1
- package/es/pro/keyboards/index.d.ts +0 -2
- package/es/pro/keyboards/index.js +0 -1
- package/es/pro/keyboards/locales.d.ts +0 -38
- package/es/pro/keyboards/locales.js +0 -57
- package/es/pro/keyboards/numberKeyboard/index.d.ts +0 -16
- package/es/pro/keyboards/numberKeyboard/index.js +0 -523
- package/es/pro/keyboards/numberKeyboard/index.less +0 -59
- package/es/pro/keyboards/numberKeyboard/types.d.ts +0 -63
- package/es/pro/keyboards/numberKeyboard/types.js +0 -1
- package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -13
- package/es/pro/pisellPhoneKeyboard/index.js +0 -210
- package/es/pro/pisellPhoneKeyboard/index.less +0 -157
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -18
- package/es/pro/pisellPhoneKeyboard/locales.js +0 -17
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +0 -10
- package/lib/components/ecocup/components/AddCustomerModal/index.js +0 -212
- package/lib/components/ecocup/components/AddCustomerModal/index.less +0 -9
- package/lib/components/ecocup/components/CupActionList/index.d.ts +0 -14
- package/lib/components/ecocup/components/CupActionList/index.js +0 -116
- package/lib/components/ecocup/components/CupActionList/index.less +0 -102
- package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +0 -5
- package/lib/components/ecocup/components/CupActionModal/hooks.js +0 -55
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +0 -15
- package/lib/components/ecocup/components/CupActionModal/index.js +0 -125
- package/lib/components/ecocup/components/CupActionModal/index.less +0 -38
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -10
- package/lib/components/ecocup/components/CupInfoCard/index.js +0 -43
- package/lib/components/ecocup/components/CupInfoCard/index.less +0 -11
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +0 -36
- package/lib/components/ecocup/components/CupStatusModal/hooks.js +0 -115
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +0 -14
- package/lib/components/ecocup/components/CupStatusModal/index.js +0 -221
- package/lib/components/ecocup/components/CupStatusModal/index.less +0 -73
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +0 -14
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.js +0 -89
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -20
- package/lib/components/ecocup/components/CustomerAndCupModal/index.js +0 -178
- package/lib/components/ecocup/components/CustomerAndCupModal/index.less +0 -68
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -9
- package/lib/components/ecocup/components/CustomerCard/index.js +0 -58
- package/lib/components/ecocup/components/CustomerCard/index.less +0 -50
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -9
- package/lib/components/ecocup/components/PageHeader/index.d.ts +0 -9
- package/lib/components/ecocup/components/PageHeader/index.js +0 -66
- package/lib/components/ecocup/components/PageHeader/index.less +0 -31
- package/lib/components/ecocup/components/SearchBar/const.d.ts +0 -4
- package/lib/components/ecocup/components/SearchBar/const.js +0 -50
- package/lib/components/ecocup/components/SearchBar/hooks.d.ts +0 -44
- package/lib/components/ecocup/components/SearchBar/hooks.js +0 -135
- package/lib/components/ecocup/components/SearchBar/index.d.ts +0 -14
- package/lib/components/ecocup/components/SearchBar/index.js +0 -226
- package/lib/components/ecocup/components/SearchBar/index.less +0 -88
- package/lib/components/ecocup/components/SettingModal/const.d.ts +0 -6
- package/lib/components/ecocup/components/SettingModal/const.js +0 -48
- package/lib/components/ecocup/components/SettingModal/index.d.ts +0 -9
- package/lib/components/ecocup/components/SettingModal/index.js +0 -199
- package/lib/components/ecocup/components/SettingModal/index.less +0 -9
- package/lib/components/ecocup/cupList/const.d.ts +0 -140
- package/lib/components/ecocup/cupList/const.js +0 -344
- package/lib/components/ecocup/cupList/hooks/index.d.ts +0 -4
- package/lib/components/ecocup/cupList/hooks/index.js +0 -43
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +0 -45
- package/lib/components/ecocup/cupList/hooks/useColumns.js +0 -200
- package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +0 -41
- package/lib/components/ecocup/cupList/hooks/useCupApi.js +0 -227
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -3
- package/lib/components/ecocup/cupList/hooks/useSummary.js +0 -83
- package/lib/components/ecocup/cupList/index.d.ts +0 -7
- package/lib/components/ecocup/cupList/index.js +0 -262
- package/lib/components/ecocup/cupList/index.less +0 -159
- package/lib/components/ecocup/cupProject/const.d.ts +0 -7
- package/lib/components/ecocup/cupProject/const.js +0 -65
- package/lib/components/ecocup/cupProject/index.d.ts +0 -3
- package/lib/components/ecocup/cupProject/index.js +0 -135
- package/lib/components/ecocup/cupProject/index.less +0 -41
- package/lib/components/ecocup/customerList/const.d.ts +0 -44
- package/lib/components/ecocup/customerList/const.js +0 -93
- package/lib/components/ecocup/customerList/hooks/index.d.ts +0 -3
- package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +0 -15
- package/lib/components/ecocup/customerList/hooks/useColumns.js +0 -89
- package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +0 -15
- package/lib/components/ecocup/customerList/hooks/useCustomerApi.js +0 -56
- package/lib/components/ecocup/customerList/index.d.ts +0 -7
- package/lib/components/ecocup/customerList/index.js +0 -138
- package/lib/components/ecocup/customerList/index.less +0 -15
- package/lib/components/ecocup/hooks.d.ts +0 -57
- package/lib/components/ecocup/hooks.js +0 -169
- package/lib/components/ecocup/locales.d.ts +0 -653
- package/lib/components/ecocup/locales.js +0 -706
- package/lib/components/ecocup/types.d.ts +0 -103
- package/lib/components/ecocup/types.js +0 -57
- package/lib/components/ecocup/utils/download.d.ts +0 -7
- package/lib/components/ecocup/utils/download.js +0 -47
- package/lib/components/ecocup/utils/index.d.ts +0 -2
- package/lib/components/ecocup/utils/index.js +0 -42
- package/lib/components/ecocup/utils/scanListener.d.ts +0 -20
- package/lib/components/ecocup/utils/scanListener.js +0 -90
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.d.ts +0 -34
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.js +0 -107
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.less +0 -52
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +0 -59
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +0 -228
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +0 -70
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +0 -195
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +0 -8
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +0 -166
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.d.ts +0 -10
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.js +0 -210
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.less +0 -37
- package/lib/hooks/useThemeTokens.d.ts +0 -7
- package/lib/hooks/useThemeTokens.js +0 -40
- package/lib/hooks/useTranslationOriginal.d.ts +0 -1
- package/lib/hooks/useTranslationOriginal.js +0 -42
- package/lib/plus/clientCard/index.d.ts +0 -7
- package/lib/plus/clientCard/index.js +0 -457
- package/lib/plus/clientCard/index.less +0 -515
- package/lib/plus/clientCard/line/index.d.ts +0 -9
- package/lib/plus/clientCard/line/index.js +0 -153
- package/lib/plus/clientCard/line/index.less +0 -142
- package/lib/plus/clientCard/locales.d.ts +0 -28
- package/lib/plus/clientCard/locales.js +0 -51
- package/lib/plus/clientCard/types.d.ts +0 -135
- package/lib/plus/clientCard/types.js +0 -17
- package/lib/plus/clientCard/utils.d.ts +0 -8
- package/lib/plus/clientCard/utils.js +0 -75
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -3
- package/lib/plus/clinetSearch/Add/BirthdayField/index.js +0 -256
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -3
- package/lib/plus/clinetSearch/Add/GenderField/index.js +0 -52
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -3
- package/lib/plus/clinetSearch/Add/PhoneField/index.js +0 -78
- package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/PhoneField/serve.js +0 -193
- package/lib/plus/clinetSearch/Add/index.d.ts +0 -18
- package/lib/plus/clinetSearch/Add/index.js +0 -244
- package/lib/plus/clinetSearch/Add/index.less +0 -30
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +0 -235
- package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/lib/plus/clinetSearch/InfiniteScroll/index.js +0 -35
- package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/lib/plus/clinetSearch/InfiniteScroll/types.js +0 -17
- package/lib/plus/clinetSearch/index.d.ts +0 -18
- package/lib/plus/clinetSearch/index.js +0 -237
- package/lib/plus/clinetSearch/index.less +0 -95
- package/lib/plus/clinetSearch/locales.d.ts +0 -178
- package/lib/plus/clinetSearch/locales.js +0 -201
- package/lib/plus/clinetSearch/serve.d.ts +0 -1
- package/lib/plus/clinetSearch/types.d.ts +0 -70
- package/lib/plus/clinetSearch/types.js +0 -17
- package/lib/plus/orderList/components/BatchActionBar.d.ts +0 -9
- package/lib/plus/orderList/components/BatchActionBar.js +0 -567
- package/lib/plus/orderList/components/FilterList.d.ts +0 -8
- package/lib/plus/orderList/components/FilterList.js +0 -121
- package/lib/plus/orderList/components/HandleActions.d.ts +0 -6
- package/lib/plus/orderList/components/HandleActions.js +0 -52
- package/lib/plus/orderList/components/QuickFilter.d.ts +0 -5
- package/lib/plus/orderList/components/QuickFilter.js +0 -43
- package/lib/plus/orderList/components/Reset.d.ts +0 -7
- package/lib/plus/orderList/components/Reset.js +0 -58
- package/lib/plus/orderList/components/Toolbar.d.ts +0 -7
- package/lib/plus/orderList/components/Toolbar.js +0 -68
- package/lib/plus/orderList/config.d.ts +0 -155
- package/lib/plus/orderList/config.js +0 -764
- package/lib/plus/orderList/index.d.ts +0 -10
- package/lib/plus/orderList/index.js +0 -132
- package/lib/plus/orderList/index.less +0 -125
- package/lib/plus/orderList/locales.d.ts +0 -618
- package/lib/plus/orderList/locales.js +0 -737
- package/lib/plus/orderList/serve.d.ts +0 -42
- package/lib/plus/orderList/serve.js +0 -177
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.d.ts +0 -5
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.js +0 -339
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.less +0 -16
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +0 -14
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.js +0 -455
- package/lib/plus/pisellSalesGrid/hooks/useActions.d.ts +0 -19
- package/lib/plus/pisellSalesGrid/hooks/useActions.js +0 -545
- package/lib/plus/pisellSalesGrid/index.d.ts +0 -4
- package/lib/plus/pisellSalesGrid/index.js +0 -42
- package/lib/plus/pisellSalesGrid/locales.d.ts +0 -9
- package/lib/plus/pisellSalesGrid/locales.js +0 -29
- package/lib/plus/pisellSalesGrid/serve.d.ts +0 -19
- package/lib/plus/pisellSalesGrid/serve.js +0 -142
- package/lib/plus/pisellSalesGrid/types.d.ts +0 -170
- package/lib/plus/pisellSalesGrid/types.js +0 -17
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +0 -15
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.js +0 -253
- package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +0 -19
- package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.js +0 -193
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +0 -9
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.js +0 -106
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +0 -185
- package/lib/plus/pisellSalesManagement/config/booking.js +0 -500
- package/lib/plus/pisellSalesManagement/config/index.d.ts +0 -2
- package/lib/plus/pisellSalesManagement/config/index.js +0 -43
- package/lib/plus/pisellSalesManagement/config/order.d.ts +0 -172
- package/lib/plus/pisellSalesManagement/config/order.js +0 -492
- package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +0 -15
- package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.js +0 -113
- package/lib/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +0 -2
- package/lib/plus/pisellSalesManagement/hooks/useBookingPerspective.js +0 -699
- package/lib/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +0 -2
- package/lib/plus/pisellSalesManagement/hooks/useOrderPerspective.js +0 -700
- package/lib/plus/pisellSalesManagement/hooks/usePerspectives.d.ts +0 -5
- package/lib/plus/pisellSalesManagement/hooks/usePerspectives.js +0 -42
- package/lib/plus/pisellSalesManagement/index.d.ts +0 -10
- package/lib/plus/pisellSalesManagement/index.js +0 -113
- package/lib/plus/pisellSalesManagement/locales.d.ts +0 -303
- package/lib/plus/pisellSalesManagement/locales.js +0 -326
- package/lib/plus/pisellSalesManagement/serve.d.ts +0 -26
- package/lib/plus/pisellSalesManagement/serve.js +0 -120
- package/lib/plus/saasAttendance/index.d.ts +0 -6
- package/lib/plus/saasAttendance/index.js +0 -39
- package/lib/plus/saasAttendance/locales.d.ts +0 -591
- package/lib/plus/saasAttendance/locales.js +0 -615
- package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +0 -5
- package/lib/plus/saasAttendance/settings/BasicInfoTab.js +0 -152
- package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/ClockInMethodTab.js +0 -88
- package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.js +0 -369
- package/lib/plus/saasAttendance/settings/PermissonTab.d.ts +0 -5
- package/lib/plus/saasAttendance/settings/PermissonTab.js +0 -128
- package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +0 -5
- package/lib/plus/saasAttendance/settings/ShiftScheduleTab.js +0 -107
- package/lib/plus/saasAttendance/settings/components/MapField.d.ts +0 -78
- package/lib/plus/saasAttendance/settings/components/MapField.js +0 -670
- package/lib/plus/saasAttendance/settings/components/index.d.ts +0 -3
- package/lib/plus/saasAttendance/settings/components/index.js +0 -42
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/components/membersField/index.js +0 -247
- package/lib/plus/saasAttendance/settings/components/membersField/index.less +0 -70
- package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +0 -7
- package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +0 -150
- package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +0 -119
- package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +0 -18
- package/lib/plus/saasAttendance/settings/components/shiftModal/index.js +0 -447
- package/lib/plus/saasAttendance/settings/index.d.ts +0 -18
- package/lib/plus/saasAttendance/settings/index.js +0 -295
- package/lib/plus/saasAttendance/settings/index.less +0 -510
- package/lib/plus/saasAttendance/settings/serve.d.ts +0 -27
- package/lib/plus/saasAttendance/settings/types.d.ts +0 -136
- package/lib/plus/saasAttendance/settings/types.js +0 -17
- package/lib/plus/saasRole/components/PermissionManager/index.d.ts +0 -19
- package/lib/plus/saasRole/components/PermissionManager/index.js +0 -159
- package/lib/plus/saasRole/components/PermissionManager/index.less +0 -71
- package/lib/plus/saasRole/index.d.ts +0 -14
- package/lib/plus/saasRole/index.js +0 -780
- package/lib/plus/saasRole/index.less +0 -196
- package/lib/plus/saasRole/locales.d.ts +0 -319
- package/lib/plus/saasRole/locales.js +0 -345
- package/lib/plus/saasRole/serve.d.ts +0 -72
- package/lib/plus/saasRole/serve.js +0 -100
- package/lib/plus/saasRole/types.d.ts +0 -177
- package/lib/plus/saasRole/types.js +0 -17
- package/lib/plus/saasRole/utils.d.ts +0 -0
- package/lib/plus/saasRole/utils.js +0 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +0 -31
- package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.js +0 -393
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +0 -23
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.js +0 -672
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.less +0 -178
- package/lib/plus/saasTeamMembers/index.d.ts +0 -5
- package/lib/plus/saasTeamMembers/index.js +0 -448
- package/lib/plus/saasTeamMembers/index.less +0 -87
- package/lib/plus/saasTeamMembers/locales.d.ts +0 -546
- package/lib/plus/saasTeamMembers/locales.js +0 -617
- package/lib/plus/saasTeamMembers/serve.d.ts +0 -95
- package/lib/plus/saasTeamMembers/serve.js +0 -132
- package/lib/plus/saasTeamMembers/type.d.ts +0 -158
- package/lib/plus/saasTeamMembers/type.js +0 -17
- package/lib/pro/Cards/components/SKUCard/locales.d.ts +0 -12
- package/lib/pro/Cards/components/SKUCard/locales.js +0 -35
- package/lib/pro/Cards/components/SKUCard/types.d.ts +0 -73
- package/lib/pro/Cards/components/SKUCard/types.js +0 -17
- package/lib/pro/Selector/components/LayoutContainer/index.less +0 -19
- package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +0 -11
- package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.js +0 -64
- package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.less +0 -28
- package/lib/pro/comprehensiveSearch/components/index.d.ts +0 -2
- package/lib/pro/comprehensiveSearch/components/index.js +0 -42
- package/lib/pro/comprehensiveSearch/components/searchSection/index.d.ts +0 -24
- package/lib/pro/comprehensiveSearch/components/searchSection/index.js +0 -154
- package/lib/pro/comprehensiveSearch/components/searchSection/index.less +0 -100
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -23
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +0 -46
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.js +0 -56
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +0 -70
- package/lib/pro/comprehensiveSearch/index.d.ts +0 -7
- package/lib/pro/comprehensiveSearch/index.js +0 -190
- package/lib/pro/comprehensiveSearch/index.less +0 -196
- package/lib/pro/comprehensiveSearch/locales.d.ts +0 -23
- package/lib/pro/comprehensiveSearch/locales.js +0 -46
- package/lib/pro/comprehensiveSearch/types.d.ts +0 -32
- package/lib/pro/comprehensiveSearch/types.js +0 -17
- package/lib/pro/keyboards/index.d.ts +0 -2
- package/lib/pro/keyboards/index.js +0 -39
- package/lib/pro/keyboards/locales.d.ts +0 -38
- package/lib/pro/keyboards/locales.js +0 -61
- package/lib/pro/keyboards/numberKeyboard/index.d.ts +0 -16
- package/lib/pro/keyboards/numberKeyboard/index.js +0 -400
- package/lib/pro/keyboards/numberKeyboard/index.less +0 -59
- package/lib/pro/keyboards/numberKeyboard/types.d.ts +0 -63
- package/lib/pro/keyboards/numberKeyboard/types.js +0 -17
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -13
- package/lib/pro/pisellPhoneKeyboard/index.js +0 -219
- package/lib/pro/pisellPhoneKeyboard/index.less +0 -157
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -18
- package/lib/pro/pisellPhoneKeyboard/locales.js +0 -41
- package/lowcode/client-card/fragments/cardStyle.ts +0 -63
- package/lowcode/client-card/fragments/nameStyle.ts +0 -34
- package/lowcode/client-card/fragments/pisellAvatar.ts +0 -87
- package/lowcode/client-card/fragments/tagConfig.ts +0 -88
- package/lowcode/client-card/meta.ts +0 -343
- package/lowcode/client-search/meta.ts +0 -316
- package/lowcode/eco-cup-list/meta.ts +0 -27
- package/lowcode/eco-customer-list/meta.ts +0 -27
- package/lowcode/ecocup-cup-list/meta.ts +0 -38
- package/lowcode/ecocup-cup-project/meta.ts +0 -35
- package/lowcode/ecocup-customer-list/meta.ts +0 -38
- package/lowcode/order-list/meta.ts +0 -87
- package/lowcode/pisell-sales-management/meta.ts +0 -88
- package/lowcode/saas-attendance-settings/meta.ts +0 -56
- package/lowcode/saas-role/meta.ts +0 -35
- package/lowcode/saas-team-members/meta.ts +0 -35
|
@@ -1,142 +0,0 @@
|
|
|
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/plus/pisellSalesGrid/serve.ts
|
|
30
|
-
var serve_exports = {};
|
|
31
|
-
__export(serve_exports, {
|
|
32
|
-
getBookingList: () => getBookingList,
|
|
33
|
-
getOrderList: () => getOrderList
|
|
34
|
-
});
|
|
35
|
-
module.exports = __toCommonJS(serve_exports);
|
|
36
|
-
var import_utils = require("../../utils");
|
|
37
|
-
var import_dayjs = __toESM(require("dayjs"));
|
|
38
|
-
var formatParams = (params) => {
|
|
39
|
-
const { orderDate, total_amount, sort: sort_key, ...rest } = params;
|
|
40
|
-
let order_by, sort;
|
|
41
|
-
if (sort_key) {
|
|
42
|
-
const [orderByValue, sortValue] = sort_key.split(":");
|
|
43
|
-
order_by = orderByValue;
|
|
44
|
-
sort = sortValue;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
...rest,
|
|
48
|
-
...(orderDate == null ? void 0 : orderDate[0]) && {
|
|
49
|
-
start_time: (0, import_dayjs.default)(orderDate[0]).format("YYYY-MM-DD")
|
|
50
|
-
},
|
|
51
|
-
...(orderDate == null ? void 0 : orderDate[1]) && {
|
|
52
|
-
end_time: (0, import_dayjs.default)(orderDate[1]).format("YYYY-MM-DD")
|
|
53
|
-
},
|
|
54
|
-
...(total_amount == null ? void 0 : total_amount.min) !== void 0 && {
|
|
55
|
-
min_total_amount: total_amount.min
|
|
56
|
-
},
|
|
57
|
-
...(total_amount == null ? void 0 : total_amount.max) !== void 0 && {
|
|
58
|
-
max_total_amount: total_amount.max
|
|
59
|
-
},
|
|
60
|
-
...order_by && { order_by },
|
|
61
|
-
...sort && { sort },
|
|
62
|
-
with: [
|
|
63
|
-
"customer",
|
|
64
|
-
"contactsInfo",
|
|
65
|
-
"tag",
|
|
66
|
-
"createAccount",
|
|
67
|
-
"paidPayment",
|
|
68
|
-
"lastEditAccount"
|
|
69
|
-
]
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
var getOrderList = async (params) => {
|
|
73
|
-
const res = await import_utils.request.getRequest().post(`/shop/order/v2/list`, formatParams(params), {
|
|
74
|
-
abort: true,
|
|
75
|
-
fullResult: true,
|
|
76
|
-
isShopApi: true
|
|
77
|
-
});
|
|
78
|
-
return res == null ? void 0 : res.data;
|
|
79
|
-
};
|
|
80
|
-
var formatBookingParams = (params) => {
|
|
81
|
-
const {
|
|
82
|
-
booking_time_start_between,
|
|
83
|
-
created_at_between,
|
|
84
|
-
updated_at_between,
|
|
85
|
-
number_between,
|
|
86
|
-
total_amount_between,
|
|
87
|
-
sort,
|
|
88
|
-
...rest
|
|
89
|
-
} = params;
|
|
90
|
-
const bookingTimeRange = Array.isArray(booking_time_start_between) ? booking_time_start_between.map(
|
|
91
|
-
(value) => value ? (0, import_dayjs.default)(value).format("YYYY-MM-DD HH:mm:ss") : void 0
|
|
92
|
-
).filter((value) => value) : void 0;
|
|
93
|
-
const createdRange = Array.isArray(created_at_between) ? created_at_between.map(
|
|
94
|
-
(value) => value ? (0, import_dayjs.default)(value).format("YYYY-MM-DD HH:mm:ss") : void 0
|
|
95
|
-
).filter((value) => value) : void 0;
|
|
96
|
-
const updatedRange = Array.isArray(updated_at_between) ? updated_at_between.map(
|
|
97
|
-
(value) => value ? (0, import_dayjs.default)(value).format("YYYY-MM-DD HH:mm:ss") : void 0
|
|
98
|
-
).filter((value) => value) : void 0;
|
|
99
|
-
const numberRange = Array.isArray(number_between) ? number_between : (number_between == null ? void 0 : number_between.min) != null || (number_between == null ? void 0 : number_between.max) != null ? [number_between == null ? void 0 : number_between.min, number_between == null ? void 0 : number_between.max] : void 0;
|
|
100
|
-
const amountRange = Array.isArray(total_amount_between) ? total_amount_between : (total_amount_between == null ? void 0 : total_amount_between.min) != null || (total_amount_between == null ? void 0 : total_amount_between.max) != null ? [total_amount_between == null ? void 0 : total_amount_between.min, total_amount_between == null ? void 0 : total_amount_between.max] : void 0;
|
|
101
|
-
let ext = sort === "after_execution_time:asc" ? {
|
|
102
|
-
after_execution_time: (0, import_dayjs.default)().format("YYYY-MM-DD HH:mm:ss")
|
|
103
|
-
} : { order_by: sort };
|
|
104
|
-
return {
|
|
105
|
-
...rest,
|
|
106
|
-
...ext,
|
|
107
|
-
...(bookingTimeRange == null ? void 0 : bookingTimeRange.length) && {
|
|
108
|
-
booking_time_start_between: bookingTimeRange
|
|
109
|
-
},
|
|
110
|
-
...(createdRange == null ? void 0 : createdRange.length) && { created_at_between: createdRange },
|
|
111
|
-
...(updatedRange == null ? void 0 : updatedRange.length) && { updated_at_between: updatedRange },
|
|
112
|
-
...numberRange && { number_between: numberRange },
|
|
113
|
-
...amountRange && { total_amount_between: amountRange },
|
|
114
|
-
with: [
|
|
115
|
-
"order.contactsInfo",
|
|
116
|
-
"order.customer",
|
|
117
|
-
"order.payment",
|
|
118
|
-
"appointmentForm.formRecord",
|
|
119
|
-
// 'children',
|
|
120
|
-
"form",
|
|
121
|
-
"contacts",
|
|
122
|
-
"eventResources.relationForm",
|
|
123
|
-
"notes"
|
|
124
|
-
],
|
|
125
|
-
holder_data: 1,
|
|
126
|
-
child_booking: 1
|
|
127
|
-
// 仅展示子预约
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
var getBookingList = async (params) => {
|
|
131
|
-
const { data } = await import_utils.request.getRequest().get(`/shop/schedule/booking`, formatBookingParams(params), {
|
|
132
|
-
abort: true,
|
|
133
|
-
fullResult: true,
|
|
134
|
-
isShopApi: true
|
|
135
|
-
});
|
|
136
|
-
return data;
|
|
137
|
-
};
|
|
138
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
139
|
-
0 && (module.exports = {
|
|
140
|
-
getBookingList,
|
|
141
|
-
getOrderList
|
|
142
|
-
});
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
/** 排序子项(如 从低到高 / 从高到低),用于 getSortItems 返回值 */
|
|
3
|
-
export interface SortOptionItemCompat {
|
|
4
|
-
key: string;
|
|
5
|
-
label: string;
|
|
6
|
-
}
|
|
7
|
-
/** 排序列表项:type 由 Sort 内置生成子项;getSortItems 则完全自定义子项,与 RecordBoard Sort 约定一致 */
|
|
8
|
-
export interface SortListItemCompat {
|
|
9
|
-
name?: string | string[];
|
|
10
|
-
label?: string;
|
|
11
|
-
/** 排序类型,有 getSortItems 时可省略 */
|
|
12
|
-
type?: 'date' | 'string' | 'number' | 'option';
|
|
13
|
-
isCustom?: boolean;
|
|
14
|
-
columnKey?: string;
|
|
15
|
-
localFilter?: boolean;
|
|
16
|
-
isHidden?: boolean;
|
|
17
|
-
/** 自定义排序子项,优先于 type */
|
|
18
|
-
getSortItems?: (fieldKey: string) => SortOptionItemCompat[];
|
|
19
|
-
}
|
|
20
|
-
/** 筛选列表项:与 RecordBoard / PisellFilter 使用的 FilterItemProps 形状兼容 */
|
|
21
|
-
export interface FilterItemPropsCompat {
|
|
22
|
-
type: 'single' | 'input' | 'datePicker' | 'rangePicker' | 'rangePickerNew' | 'search' | 'custom';
|
|
23
|
-
key: string;
|
|
24
|
-
name?: string | string[];
|
|
25
|
-
label?: string;
|
|
26
|
-
props?: Record<string, any>;
|
|
27
|
-
other?: Record<string, any>;
|
|
28
|
-
isCustom?: boolean;
|
|
29
|
-
columnKey?: string;
|
|
30
|
-
isHidden?: boolean;
|
|
31
|
-
}
|
|
32
|
-
/** 筛选默认值:quickFilter / otherFilter 为筛项列表,values 为表单值 */
|
|
33
|
-
export interface FilterDefaultValueCompat {
|
|
34
|
-
quickFilter?: FilterItemPropsCompat[];
|
|
35
|
-
otherFilter?: FilterItemPropsCompat[];
|
|
36
|
-
values?: Record<string, any>;
|
|
37
|
-
}
|
|
38
|
-
/** ToolBar 内筛选配置:defaultFilterValue 提供筛项与初始值 */
|
|
39
|
-
export interface RecordBoardToolBarFilterCompat {
|
|
40
|
-
hiddenQuickFilter?: boolean;
|
|
41
|
-
hiddenOtherFilter?: boolean;
|
|
42
|
-
defaultFilterValue?: FilterDefaultValueCompat;
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
}
|
|
45
|
-
/** ToolBar 内排序配置:list 为排序项数组 */
|
|
46
|
-
export interface RecordBoardToolBarSortCompat {
|
|
47
|
-
list?: SortListItemCompat[];
|
|
48
|
-
placement?: 'bottom' | 'bottomLeft' | 'bottomRight' | 'top' | 'topLeft' | 'topRight';
|
|
49
|
-
[key: string]: any;
|
|
50
|
-
}
|
|
51
|
-
/** ToolBar 内快速筛选配置:filterList 覆盖列派生的快筛列表 */
|
|
52
|
-
export interface RecordBoardToolBarQuickFilterCompat {
|
|
53
|
-
filterList?: FilterItemPropsCompat[];
|
|
54
|
-
formFiltersPrefix?: string;
|
|
55
|
-
size?: 'small' | 'middle' | 'large';
|
|
56
|
-
[key: string]: any;
|
|
57
|
-
}
|
|
58
|
-
/** ToolBar 透传配置:与 RecordBoardToolBarProps 对齐,供 perspective.childComponentProps.toolBar 使用 */
|
|
59
|
-
export interface RecordBoardToolBarPropsCompat {
|
|
60
|
-
className?: string;
|
|
61
|
-
style?: CSSProperties;
|
|
62
|
-
tabs?: ReactNode;
|
|
63
|
-
topLeft?: ReactNode;
|
|
64
|
-
topRight?: ReactNode;
|
|
65
|
-
bottomLeft?: ReactNode;
|
|
66
|
-
bottomRight?: ReactNode;
|
|
67
|
-
/** 搜索:true 默认 PisellFind;对象透传 props;false 不渲染 */
|
|
68
|
-
search?: boolean | Record<string, any>;
|
|
69
|
-
/** 筛选:true 默认 PisellFilter;对象可传 defaultFilterValue 等;false 不渲染 */
|
|
70
|
-
filter?: boolean | RecordBoardToolBarFilterCompat;
|
|
71
|
-
/** 排序:true 默认由列派生;对象可传 list、placement;false 不渲染 */
|
|
72
|
-
sort?: boolean | RecordBoardToolBarSortCompat;
|
|
73
|
-
/** 快速筛选:true 用列派生;对象可传 filterList 等 */
|
|
74
|
-
quickFilter?: boolean | RecordBoardToolBarQuickFilterCompat;
|
|
75
|
-
/** 列设置入口;默认 true */
|
|
76
|
-
columnSetting?: boolean;
|
|
77
|
-
}
|
|
78
|
-
/** Grid 透传配置:与 RecordBoardGridProps 对齐,多选由 SalesGrid 合并后传入 */
|
|
79
|
-
export interface RecordBoardGridPropsCompat {
|
|
80
|
-
/** 列配置;列上可设 hidden: true 表示默认隐藏,与 defaultHiddenColumnKeys 合并由 RecordBoard 初始化列显隐 */
|
|
81
|
-
columns?: any[];
|
|
82
|
-
/** 默认隐藏的列 key 列表(对应 columns 的 key 或 dataIndex),与列上 hidden: true 合并后由 RecordBoard 初始化列显隐 */
|
|
83
|
-
defaultHiddenColumnKeys?: string[];
|
|
84
|
-
/** 当前页某列全同值/全空时隐藏该列并在表格上方展示总结区;默认 true,传 false 可关闭 */
|
|
85
|
-
collapseUniformColumns?: boolean;
|
|
86
|
-
/** 表格滚动,与 RecordBoard grid.scroll 对齐(含 autoCalc、scrollToFirstRowOnChange) */
|
|
87
|
-
scroll?: {
|
|
88
|
-
x?: number | string;
|
|
89
|
-
y?: number | string;
|
|
90
|
-
autoCalc?: boolean;
|
|
91
|
-
scrollToFirstRowOnChange?: boolean;
|
|
92
|
-
};
|
|
93
|
-
/** 表格尺寸 */
|
|
94
|
-
size?: 'small' | 'middle' | 'default';
|
|
95
|
-
/** 其余为 antd Table 透传(onRow、onHeaderRow、expandable、rowClassName、summary 等) */
|
|
96
|
-
[key: string]: any;
|
|
97
|
-
}
|
|
98
|
-
/** 与 RecordBoard 打散子组件配置兼容;grid 会与多选(selectedKeys/selectedRows/onSelectionChange)合并后传给 RecordBoard */
|
|
99
|
-
export interface RecordBoardChildComponentPropsCompat {
|
|
100
|
-
/** 搜索配置,透传 PisellFind */
|
|
101
|
-
search?: Record<string, any>;
|
|
102
|
-
/** 工具栏配置:sort / filter / quickFilter 等 */
|
|
103
|
-
toolBar?: RecordBoardToolBarPropsCompat;
|
|
104
|
-
/** 分页组件透传配置 */
|
|
105
|
-
pagination?: Record<string, any>;
|
|
106
|
-
/** Grid 配置:columns、defaultHiddenColumnKeys、scroll、及 Table 透传 */
|
|
107
|
-
grid?: RecordBoardGridPropsCompat;
|
|
108
|
-
/** 卡片列表配置(card 布局时) */
|
|
109
|
-
cardList?: Record<string, any>;
|
|
110
|
-
/** 批量操作栏配置 */
|
|
111
|
-
batchActionBar?: Record<string, any>;
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* 列渲染覆盖项:当视角的 grid.columns 中某列的 type 与此 type 一致时,使用此 render 替代该列默认渲染再传给 RecordBoard。
|
|
115
|
-
*/
|
|
116
|
-
export interface SalesGridColumnRenderer {
|
|
117
|
-
/** 与列配置的 type 匹配(如 'currency'、'singleSelect') */
|
|
118
|
-
type: string;
|
|
119
|
-
/** 自定义列单元格渲染 */
|
|
120
|
-
render: (value: any, record: any, index: number) => ReactNode;
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Perspective 运行时上下文:由 PisellSalesGrid 在运行时构建,
|
|
124
|
-
* 传入 perspective 的 getChildComponentProps 工厂函数,
|
|
125
|
-
* 使 columns / onRow / toolBar 等配置可访问刷新列表等运行时能力。
|
|
126
|
-
*/
|
|
127
|
-
export interface SalesGridRuntimeContext {
|
|
128
|
-
/** 重新请求当前列表数据(同步触发) */
|
|
129
|
-
refresh: () => void;
|
|
130
|
-
/** 重新请求当前列表数据(返回 Promise) */
|
|
131
|
-
refreshAsync: () => Promise<any>;
|
|
132
|
-
/** 当前激活的 perspective key */
|
|
133
|
-
currentPerspective: string;
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* 单个 Perspective 配置:对应一组 RecordBoard 的展示配置(列、工具栏等)。
|
|
137
|
-
* 多个 Perspective 可对应同一数据源的不同展示方式。仅支持表格(Grid)布局。
|
|
138
|
-
*
|
|
139
|
-
* 支持两种配置方式(二选一):
|
|
140
|
-
* 1. **静态配置** — 直接提供 childComponentProps,适用于不依赖运行时 API 的场景。
|
|
141
|
-
* 2. **工厂配置** — 提供 getChildComponentProps(ctx),接收运行时上下文后返回配置,
|
|
142
|
-
* 适用于 columns / onRow 等需要调用 refresh / refreshAsync 的场景。
|
|
143
|
-
* 当 getChildComponentProps 存在时,其返回值将作为最终配置(忽略 childComponentProps)。
|
|
144
|
-
*/
|
|
145
|
-
export interface SalesGridPerspectiveConfig {
|
|
146
|
-
/** Perspective 唯一标识,与 currentPerspective 对应 */
|
|
147
|
-
key: string;
|
|
148
|
-
/** Perspective 展示名称(可选,供外部展示用) */
|
|
149
|
-
label?: string;
|
|
150
|
-
/** 该 Perspective 下 RecordBoard 子组件透传配置(grid.columns、toolBar、pagination 等) */
|
|
151
|
-
childComponentProps?: RecordBoardChildComponentPropsCompat;
|
|
152
|
-
/**
|
|
153
|
-
* 工厂函数:接收运行时上下文,返回最终的子组件透传配置。
|
|
154
|
-
* 当此字段存在时,PisellSalesGrid 会调用此函数获取配置,childComponentProps 将被忽略。
|
|
155
|
-
*/
|
|
156
|
-
getChildComponentProps?: (ctx: SalesGridRuntimeContext) => RecordBoardChildComponentPropsCompat;
|
|
157
|
-
}
|
|
158
|
-
export interface PisellSalesGridProps {
|
|
159
|
-
/** Perspective 数据:一组 RecordBoard 配置,支持配置多个 Perspective */
|
|
160
|
-
perspectives: SalesGridPerspectiveConfig[];
|
|
161
|
-
/** 当前 Perspective:对应 perspectives[].key,决定使用哪个 Perspective 的配置渲染 RecordBoard */
|
|
162
|
-
currentPerspective: string;
|
|
163
|
-
/** 自定义类名 */
|
|
164
|
-
className?: string;
|
|
165
|
-
/** 自定义样式 */
|
|
166
|
-
style?: CSSProperties;
|
|
167
|
-
extParams?: Record<string, any>;
|
|
168
|
-
/** 实例 id,透传 RecordBoard 用于列显隐持久化(localStorage,与 @pisell/utils getComponentStorageKey 规则一致) */
|
|
169
|
-
__id?: string;
|
|
170
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __copyProps = (to, from, except, desc) => {
|
|
6
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
-
for (let key of __getOwnPropNames(from))
|
|
8
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
-
}
|
|
11
|
-
return to;
|
|
12
|
-
};
|
|
13
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
-
|
|
15
|
-
// src/plus/pisellSalesGrid/types.ts
|
|
16
|
-
var types_exports = {};
|
|
17
|
-
module.exports = __toCommonJS(types_exports);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare type BookingFormsPreviewProps = {
|
|
3
|
-
value?: any;
|
|
4
|
-
uniqueTables?: any[];
|
|
5
|
-
bookingLabels?: {
|
|
6
|
-
more?: string;
|
|
7
|
-
forms?: string;
|
|
8
|
-
};
|
|
9
|
-
textStyles?: any;
|
|
10
|
-
relationId: number;
|
|
11
|
-
relationType?: string;
|
|
12
|
-
customer?: any;
|
|
13
|
-
};
|
|
14
|
-
declare const BookingFormsPreview: (props: BookingFormsPreviewProps) => React.JSX.Element;
|
|
15
|
-
export default BookingFormsPreview;
|
|
@@ -1,253 +0,0 @@
|
|
|
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/plus/pisellSalesManagement/components/BookingFormsPreview.tsx
|
|
30
|
-
var BookingFormsPreview_exports = {};
|
|
31
|
-
__export(BookingFormsPreview_exports, {
|
|
32
|
-
default: () => BookingFormsPreview_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(BookingFormsPreview_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_antd = require("antd");
|
|
37
|
-
var import_ahooks = require("ahooks");
|
|
38
|
-
var import_utils = require("@pisell/utils");
|
|
39
|
-
var import_materials = require("@pisell/materials");
|
|
40
|
-
var import_forms = __toESM(require("../../../components/booking/forms/forms"));
|
|
41
|
-
var import_useEngineContext = __toESM(require("../../../hooks/useEngineContext"));
|
|
42
|
-
var import_serve = require("../serve");
|
|
43
|
-
var BookingFormsPreview = (props) => {
|
|
44
|
-
var _a;
|
|
45
|
-
const context = (0, import_useEngineContext.default)();
|
|
46
|
-
const utils = ((_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) || {};
|
|
47
|
-
const {
|
|
48
|
-
value,
|
|
49
|
-
uniqueTables,
|
|
50
|
-
bookingLabels,
|
|
51
|
-
textStyles,
|
|
52
|
-
relationId,
|
|
53
|
-
relationType,
|
|
54
|
-
customer
|
|
55
|
-
} = props;
|
|
56
|
-
const appointmentForms = Array.isArray(value) ? value : [];
|
|
57
|
-
const [modalOpen, setModalOpen] = (0, import_react.useState)(false);
|
|
58
|
-
const [activeTable, setActiveTable] = (0, import_react.useState)(null);
|
|
59
|
-
const _getRelationRecords = (0, import_ahooks.useRequest)(import_serve.getRelationRecords, {
|
|
60
|
-
manual: true
|
|
61
|
-
});
|
|
62
|
-
const [hasRequested, setHasRequested] = (0, import_react.useState)(false);
|
|
63
|
-
const [tooltipOpen, setTooltipOpen] = (0, import_react.useState)(false);
|
|
64
|
-
const countsByFormId = (0, import_react.useMemo)(() => {
|
|
65
|
-
return appointmentForms.reduce(
|
|
66
|
-
(result, item) => {
|
|
67
|
-
const formId = item == null ? void 0 : item.form_id;
|
|
68
|
-
if (formId != null) {
|
|
69
|
-
const key = String(formId);
|
|
70
|
-
result[key] = (result[key] || 0) + 1;
|
|
71
|
-
}
|
|
72
|
-
return result;
|
|
73
|
-
},
|
|
74
|
-
{}
|
|
75
|
-
);
|
|
76
|
-
}, [appointmentForms]);
|
|
77
|
-
const tableItems = (0, import_react.useMemo)(() => {
|
|
78
|
-
return (uniqueTables || []).map((t) => {
|
|
79
|
-
var _a2, _b, _c, _d;
|
|
80
|
-
const baseTitle = ((_c = (_b = (_a2 = t == null ? void 0 : t.form) == null ? void 0 : _a2.setting) == null ? void 0 : _b.title) == null ? void 0 : _c.original) || ((_d = t == null ? void 0 : t.form) == null ? void 0 : _d.title) || "";
|
|
81
|
-
if (!baseTitle) return null;
|
|
82
|
-
const formId = t == null ? void 0 : t.form_id;
|
|
83
|
-
const count = formId != null ? countsByFormId[String(formId)] || 0 : 0;
|
|
84
|
-
const title = `${baseTitle} (${count})`;
|
|
85
|
-
return {
|
|
86
|
-
title,
|
|
87
|
-
baseTitle,
|
|
88
|
-
formId,
|
|
89
|
-
count,
|
|
90
|
-
table: t
|
|
91
|
-
};
|
|
92
|
-
}).filter((t) => t);
|
|
93
|
-
}, [uniqueTables, countsByFormId]);
|
|
94
|
-
const showAll = tableItems.length <= 3;
|
|
95
|
-
const displayItems = showAll ? tableItems : tableItems.slice(0, 3);
|
|
96
|
-
const moreCount = tableItems.length - displayItems.length;
|
|
97
|
-
const handleOpenModal = (0, import_react.useCallback)(
|
|
98
|
-
(item, event) => {
|
|
99
|
-
event.stopPropagation();
|
|
100
|
-
setActiveTable(item);
|
|
101
|
-
setModalOpen(true);
|
|
102
|
-
setTooltipOpen(false);
|
|
103
|
-
if (!_getRelationRecords.loading && !hasRequested) {
|
|
104
|
-
setHasRequested(true);
|
|
105
|
-
_getRelationRecords.run({
|
|
106
|
-
relation_type: relationType || "appointment_booking",
|
|
107
|
-
relation_id: relationId
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
[_getRelationRecords, relationId, hasRequested, relationType]
|
|
112
|
-
);
|
|
113
|
-
const relationRecords = (0, import_react.useMemo)(() => {
|
|
114
|
-
return Array.isArray(_getRelationRecords.data) ? _getRelationRecords.data : [];
|
|
115
|
-
}, [_getRelationRecords.data]);
|
|
116
|
-
const selectedForm = (0, import_react.useMemo)(() => {
|
|
117
|
-
if (!(activeTable == null ? void 0 : activeTable.formId)) return null;
|
|
118
|
-
const matchedRecord = relationRecords.find(
|
|
119
|
-
(item) => String(item == null ? void 0 : item.form_id) === String(activeTable == null ? void 0 : activeTable.formId)
|
|
120
|
-
);
|
|
121
|
-
return matchedRecord;
|
|
122
|
-
}, [activeTable, relationRecords]);
|
|
123
|
-
if (tableItems.length === 0) {
|
|
124
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { style: { minWidth: 88, textAlign: "center" } }, "-");
|
|
125
|
-
}
|
|
126
|
-
const tooltipContent = /* @__PURE__ */ import_react.default.createElement(
|
|
127
|
-
"div",
|
|
128
|
-
{
|
|
129
|
-
style: {
|
|
130
|
-
display: "flex",
|
|
131
|
-
flexDirection: "column",
|
|
132
|
-
gap: 10
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
tableItems.map((item, idx) => {
|
|
136
|
-
const clickable = item.count > 0;
|
|
137
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
138
|
-
"div",
|
|
139
|
-
{
|
|
140
|
-
key: `${item.title}-${idx}`,
|
|
141
|
-
style: {
|
|
142
|
-
fontSize: 12,
|
|
143
|
-
color: clickable ? "#7f56d9" : "#98A2B3",
|
|
144
|
-
textDecoration: clickable ? "underline" : "none",
|
|
145
|
-
whiteSpace: "nowrap",
|
|
146
|
-
lineHeight: "18px",
|
|
147
|
-
cursor: clickable ? "pointer" : "default"
|
|
148
|
-
},
|
|
149
|
-
onClick: (event) => {
|
|
150
|
-
if (!clickable) return;
|
|
151
|
-
handleOpenModal(item, event);
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
item.title
|
|
155
|
-
);
|
|
156
|
-
})
|
|
157
|
-
);
|
|
158
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
159
|
-
"div",
|
|
160
|
-
{
|
|
161
|
-
onClick: (event) => event.stopPropagation(),
|
|
162
|
-
style: { minWidth: 88 }
|
|
163
|
-
},
|
|
164
|
-
showAll ? /* @__PURE__ */ import_react.default.createElement("div", { style: { display: "flex", flexDirection: "column" } }, displayItems.map((item, idx) => /* @__PURE__ */ import_react.default.createElement(
|
|
165
|
-
"div",
|
|
166
|
-
{
|
|
167
|
-
key: `${item.title}-${idx}`,
|
|
168
|
-
style: {
|
|
169
|
-
...(textStyles == null ? void 0 : textStyles.text) || {},
|
|
170
|
-
color: "#7f56d9",
|
|
171
|
-
textDecoration: "underline",
|
|
172
|
-
cursor: "pointer",
|
|
173
|
-
textAlign: "left"
|
|
174
|
-
},
|
|
175
|
-
onClick: (event) => handleOpenModal(item, event)
|
|
176
|
-
},
|
|
177
|
-
item.title
|
|
178
|
-
))) : /* @__PURE__ */ import_react.default.createElement("div", { style: { display: "flex", flexDirection: "column" } }, displayItems.map((item, idx) => /* @__PURE__ */ import_react.default.createElement(
|
|
179
|
-
"div",
|
|
180
|
-
{
|
|
181
|
-
key: `${item.title}-${idx}`,
|
|
182
|
-
style: {
|
|
183
|
-
...(textStyles == null ? void 0 : textStyles.text) || {},
|
|
184
|
-
color: "#475467",
|
|
185
|
-
textDecoration: "none",
|
|
186
|
-
cursor: "default",
|
|
187
|
-
textAlign: "left"
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
item.title
|
|
191
|
-
)), moreCount > 0 ? /* @__PURE__ */ import_react.default.createElement(
|
|
192
|
-
import_antd.Tooltip,
|
|
193
|
-
{
|
|
194
|
-
title: tooltipContent,
|
|
195
|
-
open: modalOpen ? false : tooltipOpen,
|
|
196
|
-
onOpenChange: (nextOpen) => {
|
|
197
|
-
if (!modalOpen) {
|
|
198
|
-
setTooltipOpen(nextOpen);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
203
|
-
"div",
|
|
204
|
-
{
|
|
205
|
-
style: {
|
|
206
|
-
...(textStyles == null ? void 0 : textStyles.text) || {},
|
|
207
|
-
color: "#7f56d9",
|
|
208
|
-
textDecoration: "underline",
|
|
209
|
-
cursor: "default",
|
|
210
|
-
alignSelf: "flex-start"
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
`+${moreCount} ${import_utils.locales.getText("pisell2.salesManagement.booking.common.more")}`
|
|
214
|
-
)
|
|
215
|
-
) : null),
|
|
216
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
217
|
-
import_materials.PisellModal,
|
|
218
|
-
{
|
|
219
|
-
open: modalOpen,
|
|
220
|
-
title: bookingLabels == null ? void 0 : bookingLabels.forms,
|
|
221
|
-
width: 600,
|
|
222
|
-
footer: null,
|
|
223
|
-
destroyOnClose: true,
|
|
224
|
-
onCancel: () => setModalOpen(false)
|
|
225
|
-
},
|
|
226
|
-
_getRelationRecords.loading || !hasRequested ? /* @__PURE__ */ import_react.default.createElement(
|
|
227
|
-
"div",
|
|
228
|
-
{
|
|
229
|
-
style: {
|
|
230
|
-
display: "flex",
|
|
231
|
-
justifyContent: "center",
|
|
232
|
-
alignItems: "center",
|
|
233
|
-
padding: "48px 0"
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
/* @__PURE__ */ import_react.default.createElement(import_antd.Spin, null)
|
|
237
|
-
) : selectedForm ? /* @__PURE__ */ import_react.default.createElement(
|
|
238
|
-
import_forms.default,
|
|
239
|
-
{
|
|
240
|
-
forms: [selectedForm],
|
|
241
|
-
value: { [selectedForm.form_id]: selectedForm.form_record || [] },
|
|
242
|
-
onChange: () => {
|
|
243
|
-
},
|
|
244
|
-
addCallback: () => {
|
|
245
|
-
},
|
|
246
|
-
client: customer,
|
|
247
|
-
action: utils.action
|
|
248
|
-
}
|
|
249
|
-
) : null
|
|
250
|
-
)
|
|
251
|
-
);
|
|
252
|
-
};
|
|
253
|
-
var BookingFormsPreview_default = BookingFormsPreview;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare type NotesDataSource = {
|
|
3
|
-
note?: string;
|
|
4
|
-
internalNotes?: Array<Record<string, any>> | string;
|
|
5
|
-
onChange?: (value: any, type: 'edit' | 'add' | 'remove', noteType: string) => void;
|
|
6
|
-
apis?: any;
|
|
7
|
-
bookingId?: any;
|
|
8
|
-
};
|
|
9
|
-
declare type BookingNotesPreviewProps = {
|
|
10
|
-
dataSource?: NotesDataSource;
|
|
11
|
-
labels?: {
|
|
12
|
-
orderNote?: string;
|
|
13
|
-
internalNote?: string;
|
|
14
|
-
more?: string;
|
|
15
|
-
};
|
|
16
|
-
style?: React.CSSProperties;
|
|
17
|
-
};
|
|
18
|
-
declare const BookingNotesPreview: (props: BookingNotesPreviewProps) => React.JSX.Element | null;
|
|
19
|
-
export default BookingNotesPreview;
|