@pisell/private-materials 6.2.30 → 6.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -9
- package/build/lowcode/preview.js +13 -13
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/components/Sales/Cart/index.js +0 -1
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/booking/addons/index.js +1 -4
- package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
- package/es/components/booking/components/browserSelect/index.js +1 -1
- package/es/components/booking/components/footer/amount.d.ts +0 -1
- package/es/components/booking/components/footer/amount.js +3 -15
- package/es/components/booking/components/footer/index.js +42 -113
- package/es/components/booking/components/footer/index.less +2 -3
- package/es/components/booking/components/footer/utils.js +23 -51
- package/es/components/booking/components/tabPane/index.js +5 -72
- package/es/components/booking/components/tabPane/index.less +1 -75
- package/es/components/booking/components/voucher/index.js +12 -26
- package/es/components/booking/components/voucher/index.less +1 -1
- package/es/components/booking/dashboard/index.d.ts +1 -1
- package/es/components/booking/dashboard/index.js +3 -10
- package/es/components/booking/forms/forms.js +1 -1
- package/es/components/booking/forms/model.js +5 -5
- package/es/components/booking/hooks/useQuotation.js +8 -18
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/hooks/useInfoHolder.js +12 -13
- package/es/components/booking/info/index.less +3 -19
- package/es/components/booking/info/main.js +15 -14
- package/es/components/booking/info/pet/index.less +1 -1
- package/es/components/booking/info/service/Lists.js +2 -5
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/index.less +1 -1
- package/es/components/booking/info/service/like/index.js +1 -1
- package/es/components/booking/info/service/serviceItem/index.js +2 -2
- package/es/components/booking/info/service2/utils.d.ts +0 -4
- package/es/components/booking/info/service2/utils.js +2 -21
- package/es/components/booking/info2/index.js +18 -40
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addTimeModal/index.js +1 -2
- package/es/components/booking/info2/service/editService/index.js +4 -4
- package/es/components/booking/info2/service/index.js +6 -11
- package/es/components/booking/info2/service/serviceItem/index.js +2 -2
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -1
- package/es/components/booking/info2/utilsByBooking.js +3 -27
- package/es/components/booking/locales.d.ts +0 -78
- package/es/components/booking/locales.js +4 -106
- package/es/components/booking/materiels/startTime/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/index.js +11 -11
- package/es/components/booking/notes/addNote/index.d.ts +1 -1
- package/es/components/booking/notes/addNote/index.js +32 -52
- package/es/components/booking/notes/addNote/index.less +0 -53
- package/es/components/booking/notes/model.js +5 -5
- package/es/components/booking/payments/model.js +5 -5
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/store/index.d.ts +6 -6
- package/es/components/listComponent/index.js +5 -5
- package/es/components/productExtension/card/index.js +3 -3
- package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
- package/es/components/productExtension/fields/Forms/index.js +12 -12
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
- package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
- package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
- package/es/components/productExtension/server.js +2 -2
- package/es/components/productSelect/components/productGroup/index.js +4 -20
- package/es/components/productSelect/components/productGroup/index.less +0 -17
- package/es/components/ruleSetting/ruleBorder/index.js +1 -1
- package/es/components/schedules/calendar/index.js +4 -4
- package/es/components/schedules/calendar/serve.js +2 -2
- package/es/components/schedules/components/CurrentDay/index.js +5 -5
- package/es/components/schedules/components/CurrentDay/serve.js +2 -2
- package/es/components/schedules/components/DropdownSort/index.js +1 -1
- package/es/components/schedules/components/ResourceList/index.js +1 -1
- package/es/components/schedules/components/Search/index.js +5 -5
- package/es/components/schedules/model.js +5 -5
- package/es/components/schedules/openHours/index.js +1 -1
- package/es/components/schedules/openHours/serve.js +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
- package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
- package/es/components/schedules/products/serve.js +2 -2
- package/es/components/schedules/products/utils.js +5 -5
- package/es/components/schedules/resources/detail/detailContent.js +2 -2
- package/es/components/schedules/resources/detail/index.js +10 -10
- package/es/components/schedules/resources/list/index.js +2 -2
- package/es/components/schedules/resources/relationProduct/index.js +1 -1
- package/es/components/schedules/resources/serve.js +2 -2
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
- package/es/components/schedules/utils.d.ts +1 -1
- package/es/components/schedules/utils.js +4 -4
- package/es/components/selectModal/index.js +2 -2
- package/es/components/shoppingCart/components/Cart/Product.js +7 -46
- package/es/components/shoppingCart/components/Cart/index.less +1 -15
- package/es/components/shoppingCart/type.d.ts +0 -1
- package/es/components/subTotal/index.less +1 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +291 -158
- package/es/components/ticketBooking/components/ticketBooking/index.js +34 -214
- package/es/components/ticketBooking/components/ticketBooking/index.less +1 -29
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/es/components/ticketBooking/components/timeBar/index.js +15 -19
- package/es/components/ticketBooking/index.js +3 -21
- package/es/components/ticketBooking/index.less +1 -1
- package/es/components/ticketBooking/locales.d.ts +3 -9
- package/es/components/ticketBooking/locales.js +3 -9
- package/es/components/ticketBooking/serve.js +11 -11
- package/es/components/ticketBooking/utils/index.d.ts +4 -39
- package/es/components/ticketBooking/utils/index.js +28 -109
- package/es/hooks/useComponents.js +1 -1
- package/es/index.d.ts +0 -4
- package/es/index.js +1 -5
- package/es/utils/index.d.ts +1 -1
- package/lib/components/Sales/Cart/index.js +0 -1
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/booking/addons/index.js +1 -4
- package/lib/components/booking/components/footer/amount.d.ts +0 -1
- package/lib/components/booking/components/footer/amount.js +3 -5
- package/lib/components/booking/components/footer/index.js +23 -96
- package/lib/components/booking/components/footer/index.less +2 -3
- package/lib/components/booking/components/footer/utils.js +12 -37
- package/lib/components/booking/components/tabPane/index.js +4 -57
- package/lib/components/booking/components/tabPane/index.less +1 -75
- package/lib/components/booking/components/voucher/index.js +11 -23
- package/lib/components/booking/components/voucher/index.less +1 -1
- package/lib/components/booking/dashboard/index.d.ts +1 -1
- package/lib/components/booking/dashboard/index.js +2 -7
- package/lib/components/booking/forms/forms.js +1 -1
- package/lib/components/booking/hooks/useQuotation.js +2 -4
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/hooks/useInfoHolder.js +6 -12
- package/lib/components/booking/info/index.less +3 -19
- package/lib/components/booking/info/main.js +5 -12
- package/lib/components/booking/info/pet/index.less +1 -1
- package/lib/components/booking/info/service/Lists.js +2 -6
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/index.less +1 -1
- package/lib/components/booking/info/service/serviceItem/index.js +2 -2
- package/lib/components/booking/info/service2/utils.d.ts +0 -4
- package/lib/components/booking/info/service2/utils.js +2 -23
- package/lib/components/booking/info2/index.js +9 -30
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addTimeModal/index.js +0 -1
- package/lib/components/booking/info2/service/editService/index.js +3 -3
- package/lib/components/booking/info2/service/index.js +6 -6
- package/lib/components/booking/info2/service/serviceItem/index.js +2 -2
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -1
- package/lib/components/booking/info2/utilsByBooking.js +4 -24
- package/lib/components/booking/locales.d.ts +0 -78
- package/lib/components/booking/locales.js +4 -100
- package/lib/components/booking/notes/addNote/index.d.ts +1 -1
- package/lib/components/booking/notes/addNote/index.js +23 -41
- package/lib/components/booking/notes/addNote/index.less +0 -53
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/store/index.d.ts +6 -6
- package/lib/components/productSelect/components/productGroup/index.js +3 -16
- package/lib/components/productSelect/components/productGroup/index.less +0 -17
- package/lib/components/schedules/utils.d.ts +1 -1
- package/lib/components/schedules/utils.js +1 -1
- package/lib/components/shoppingCart/components/Cart/Product.js +9 -45
- package/lib/components/shoppingCart/components/Cart/index.less +1 -15
- package/lib/components/shoppingCart/type.d.ts +0 -1
- package/lib/components/subTotal/index.less +1 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +185 -45
- package/lib/components/ticketBooking/components/ticketBooking/index.js +81 -233
- package/lib/components/ticketBooking/components/ticketBooking/index.less +1 -29
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/timeBar/index.js +8 -15
- package/lib/components/ticketBooking/index.js +4 -31
- package/lib/components/ticketBooking/index.less +1 -1
- package/lib/components/ticketBooking/locales.d.ts +3 -9
- package/lib/components/ticketBooking/locales.js +3 -9
- package/lib/components/ticketBooking/serve.js +11 -11
- package/lib/components/ticketBooking/utils/index.d.ts +4 -39
- package/lib/components/ticketBooking/utils/index.js +30 -69
- package/lib/index.d.ts +0 -4
- package/lib/index.js +0 -12
- package/lib/utils/index.d.ts +1 -1
- package/package.json +25 -25
- package/es/components/booking/components/actionButtons/index.d.ts +0 -31
- package/es/components/booking/components/actionButtons/index.js +0 -486
- package/es/components/booking/components/actionButtons/index.less +0 -215
- package/es/components/booking/components/clearCartModal/index.d.ts +0 -10
- package/es/components/booking/components/clearCartModal/index.js +0 -50
- package/es/components/booking/components/clearCartModal/index.less +0 -109
- package/es/components/booking/components/customiseItemModal/index.d.ts +0 -28
- package/es/components/booking/components/customiseItemModal/index.js +0 -298
- package/es/components/booking/components/customiseItemModal/index.less +0 -606
- package/es/components/booking/components/voucherModal/index.d.ts +0 -19
- package/es/components/booking/components/voucherModal/index.js +0 -47
- package/es/components/booking/components/voucherModal/index.less +0 -23
- package/es/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/es/components/booking/info2/cartClientCard/index.js +0 -343
- package/es/components/booking/info2/cartClientCard/index.less +0 -6
- package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -21
- package/es/components/booking/info2/cartClientCard/locales.js +0 -26
- package/es/components/booking/info2/cartClientCard/types.d.ts +0 -13
- package/es/components/booking/info2/cartClientCard/types.js +0 -1
- package/es/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/es/components/booking/info2/cartClientCard/utils.js +0 -7
- package/es/components/booking/info2/service/editNormalService/index.d.ts +0 -3
- package/es/components/booking/info2/service/editNormalService/index.js +0 -67
- package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
- package/es/components/ticketBooking/components/addServiceVariant/utils.js +0 -191
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.js +0 -33
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.less +0 -5
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.js +0 -213
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.less +0 -69
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.js +0 -79
- package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/es/components/ticketBooking/components/bookingDataPanel/constants.js +0 -25
- package/es/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
- package/es/components/ticketBooking/components/bookingDataPanel/index.js +0 -74
- package/es/components/ticketBooking/components/bookingDataPanel/index.less +0 -61
- package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
- package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.js +0 -71
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/components/bookingDataPanel/serve.js +0 -0
- package/es/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
- package/es/components/ticketBooking/components/floatButtons/index.js +0 -19
- package/es/components/ticketBooking/components/floatButtons/index.less +0 -17
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +0 -5
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
- package/es/components/ticketBooking/hooks/pisellos/index.js +0 -3
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +0 -247
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
- package/es/components/ticketBooking/hooks/pisellos/useProducts.js +0 -52
- package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
- package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +0 -30
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +0 -29
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +0 -49
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.js +0 -20
- package/es/hooks/useToast.d.ts +0 -2
- package/es/hooks/useToast.js +0 -9
- 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 -452
- package/es/plus/clientCard/index.less +0 -536
- 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 -18
- package/es/plus/clientCard/locales.js +0 -17
- package/es/plus/clientCard/types.d.ts +0 -126
- 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/clientName/index.d.ts +0 -4
- package/es/plus/clientName/index.js +0 -18
- package/es/plus/clientName/index.less +0 -10
- package/es/plus/clientName/type.d.ts +0 -13
- package/es/plus/clientName/type.js +0 -1
- package/es/plus/clientName/utils.d.ts +0 -2
- package/es/plus/clientName/utils.js +0 -18
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
- package/es/plus/clinetSearch/Add/BirthdayField/index.js +0 -277
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
- package/es/plus/clinetSearch/Add/GenderField/index.js +0 -18
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
- 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 -212
- 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 -214
- package/es/plus/clinetSearch/index.less +0 -91
- package/es/plus/clinetSearch/locales.d.ts +0 -102
- package/es/plus/clinetSearch/locales.js +0 -101
- 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 -49
- package/es/plus/clinetSearch/types.js +0 -1
- package/es/plus/noteModal/AddTempModal.d.ts +0 -7
- package/es/plus/noteModal/AddTempModal.js +0 -64
- package/es/plus/noteModal/index.d.ts +0 -4
- package/es/plus/noteModal/index.js +0 -199
- package/es/plus/noteModal/index.less +0 -168
- package/es/plus/noteModal/locales.d.ts +0 -33
- package/es/plus/noteModal/locales.js +0 -32
- package/es/plus/noteModal/types.d.ts +0 -17
- package/es/plus/noteModal/types.js +0 -1
- package/es/pro/comprehensiveSearch/camera.svg +0 -4
- 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 -9
- package/es/pro/comprehensiveSearch/index.js +0 -342
- package/es/pro/comprehensiveSearch/index.less +0 -323
- package/es/pro/comprehensiveSearch/locales.d.ts +0 -18
- package/es/pro/comprehensiveSearch/locales.js +0 -17
- package/es/pro/comprehensiveSearch/types.d.ts +0 -31
- package/es/pro/comprehensiveSearch/types.js +0 -1
- package/es/pro/numberKeyboard/index.d.ts +0 -28
- package/es/pro/numberKeyboard/index.js +0 -155
- package/es/pro/numberKeyboard/index.less +0 -25
- package/es/pro/numberKeyboard/locales.d.ts +0 -12
- package/es/pro/numberKeyboard/locales.js +0 -11
- package/es/pro/pisellNumberSelector/example.d.ts +0 -3
- package/es/pro/pisellNumberSelector/example.js +0 -68
- package/es/pro/pisellNumberSelector/index.d.ts +0 -26
- package/es/pro/pisellNumberSelector/index.js +0 -250
- package/es/pro/pisellNumberSelector/index.less +0 -193
- package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -12
- package/es/pro/pisellPhoneKeyboard/index.js +0 -211
- package/es/pro/pisellPhoneKeyboard/index.less +0 -157
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
- package/es/pro/pisellPhoneKeyboard/locales.js +0 -11
- package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
- package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.js +0 -158
- package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.less +0 -13
- package/es/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/es/pro/pisellPriceKeyboardModal/index.js +0 -1
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/es/pro/pisellPriceKeyboardModal/types.js +0 -1
- package/es/pro/pisellPriceRadio/index.d.ts +0 -26
- package/es/pro/pisellPriceRadio/index.js +0 -113
- package/es/pro/pisellPriceRadio/index.less +0 -158
- package/es/pro/skuDetailModal/index.d.ts +0 -5
- package/es/pro/skuDetailModal/index.js +0 -352
- package/es/pro/skuDetailModal/index.less +0 -236
- package/es/pro/skuDetailModal/locales.d.ts +0 -48
- package/es/pro/skuDetailModal/locales.js +0 -47
- package/es/pro/skuDetailModal/types.d.ts +0 -347
- package/es/pro/skuDetailModal/types.js +0 -1
- package/lib/components/booking/components/actionButtons/index.d.ts +0 -31
- package/lib/components/booking/components/actionButtons/index.js +0 -386
- package/lib/components/booking/components/actionButtons/index.less +0 -215
- package/lib/components/booking/components/clearCartModal/index.d.ts +0 -10
- package/lib/components/booking/components/clearCartModal/index.js +0 -80
- package/lib/components/booking/components/clearCartModal/index.less +0 -109
- package/lib/components/booking/components/customiseItemModal/index.d.ts +0 -28
- package/lib/components/booking/components/customiseItemModal/index.js +0 -285
- package/lib/components/booking/components/customiseItemModal/index.less +0 -606
- package/lib/components/booking/components/voucherModal/index.d.ts +0 -19
- package/lib/components/booking/components/voucherModal/index.js +0 -83
- package/lib/components/booking/components/voucherModal/index.less +0 -23
- package/lib/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/lib/components/booking/info2/cartClientCard/index.js +0 -298
- package/lib/components/booking/info2/cartClientCard/index.less +0 -6
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -21
- package/lib/components/booking/info2/cartClientCard/locales.js +0 -50
- package/lib/components/booking/info2/cartClientCard/types.d.ts +0 -13
- package/lib/components/booking/info2/cartClientCard/types.js +0 -17
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/lib/components/booking/info2/cartClientCard/utils.js +0 -37
- package/lib/components/booking/info2/service/editNormalService/index.d.ts +0 -3
- package/lib/components/booking/info2/service/editNormalService/index.js +0 -100
- package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
- package/lib/components/ticketBooking/components/addServiceVariant/utils.js +0 -174
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.js +0 -75
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.less +0 -5
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.js +0 -210
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.less +0 -69
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.js +0 -105
- package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/lib/components/ticketBooking/components/bookingDataPanel/constants.js +0 -57
- package/lib/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
- package/lib/components/ticketBooking/components/bookingDataPanel/index.js +0 -113
- package/lib/components/ticketBooking/components/bookingDataPanel/index.less +0 -61
- package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
- package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.js +0 -84
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.js +0 -0
- package/lib/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
- package/lib/components/ticketBooking/components/floatButtons/index.js +0 -52
- package/lib/components/ticketBooking/components/floatButtons/index.less +0 -17
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +0 -33
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
- package/lib/components/ticketBooking/hooks/pisellos/index.js +0 -27
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +0 -147
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +0 -47
- package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
- package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +0 -64
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +0 -65
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +0 -83
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.js +0 -44
- package/lib/hooks/useToast.d.ts +0 -2
- package/lib/hooks/useToast.js +0 -42
- 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 -442
- package/lib/plus/clientCard/index.less +0 -536
- 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 -18
- package/lib/plus/clientCard/locales.js +0 -41
- package/lib/plus/clientCard/types.d.ts +0 -126
- 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/clientName/index.d.ts +0 -4
- package/lib/plus/clientName/index.js +0 -53
- package/lib/plus/clientName/index.less +0 -10
- package/lib/plus/clientName/type.d.ts +0 -13
- package/lib/plus/clientName/type.js +0 -17
- package/lib/plus/clientName/utils.d.ts +0 -2
- package/lib/plus/clientName/utils.js +0 -43
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/BirthdayField/index.js +0 -256
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/GenderField/index.js +0 -52
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
- 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 -243
- 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 -205
- package/lib/plus/clinetSearch/index.less +0 -91
- package/lib/plus/clinetSearch/locales.d.ts +0 -102
- package/lib/plus/clinetSearch/locales.js +0 -125
- package/lib/plus/clinetSearch/serve.d.ts +0 -1
- package/lib/plus/clinetSearch/serve.js +0 -33
- package/lib/plus/clinetSearch/types.d.ts +0 -49
- package/lib/plus/clinetSearch/types.js +0 -17
- package/lib/plus/noteModal/AddTempModal.d.ts +0 -7
- package/lib/plus/noteModal/AddTempModal.js +0 -95
- package/lib/plus/noteModal/index.d.ts +0 -4
- package/lib/plus/noteModal/index.js +0 -199
- package/lib/plus/noteModal/index.less +0 -168
- package/lib/plus/noteModal/locales.d.ts +0 -33
- package/lib/plus/noteModal/locales.js +0 -56
- package/lib/plus/noteModal/types.d.ts +0 -17
- package/lib/plus/noteModal/types.js +0 -17
- package/lib/pro/comprehensiveSearch/camera.svg +0 -4
- 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 -9
- package/lib/pro/comprehensiveSearch/index.js +0 -259
- package/lib/pro/comprehensiveSearch/index.less +0 -323
- package/lib/pro/comprehensiveSearch/locales.d.ts +0 -18
- package/lib/pro/comprehensiveSearch/locales.js +0 -41
- package/lib/pro/comprehensiveSearch/types.d.ts +0 -31
- package/lib/pro/comprehensiveSearch/types.js +0 -17
- package/lib/pro/numberKeyboard/index.d.ts +0 -28
- package/lib/pro/numberKeyboard/index.js +0 -182
- package/lib/pro/numberKeyboard/index.less +0 -25
- package/lib/pro/numberKeyboard/locales.d.ts +0 -12
- package/lib/pro/numberKeyboard/locales.js +0 -35
- package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
- package/lib/pro/pisellNumberSelector/example.js +0 -93
- package/lib/pro/pisellNumberSelector/index.d.ts +0 -26
- package/lib/pro/pisellNumberSelector/index.js +0 -270
- package/lib/pro/pisellNumberSelector/index.less +0 -193
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -12
- package/lib/pro/pisellPhoneKeyboard/index.js +0 -220
- package/lib/pro/pisellPhoneKeyboard/index.less +0 -157
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
- package/lib/pro/pisellPhoneKeyboard/locales.js +0 -35
- package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
- package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.js +0 -158
- package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.less +0 -13
- package/lib/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/lib/pro/pisellPriceKeyboardModal/index.js +0 -35
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/lib/pro/pisellPriceKeyboardModal/types.js +0 -17
- package/lib/pro/pisellPriceRadio/index.d.ts +0 -26
- package/lib/pro/pisellPriceRadio/index.js +0 -130
- package/lib/pro/pisellPriceRadio/index.less +0 -158
- package/lib/pro/skuDetailModal/index.d.ts +0 -5
- package/lib/pro/skuDetailModal/index.js +0 -311
- package/lib/pro/skuDetailModal/index.less +0 -236
- package/lib/pro/skuDetailModal/locales.d.ts +0 -48
- package/lib/pro/skuDetailModal/locales.js +0 -71
- package/lib/pro/skuDetailModal/types.d.ts +0 -347
- package/lib/pro/skuDetailModal/types.js +0 -17
- 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 -337
- package/lowcode/comprehensive-search/meta.ts +0 -261
@@ -2,7 +2,6 @@ declare const _default: {
|
|
2
2
|
en: {
|
3
3
|
'pisell2.ticket-booking.info': string;
|
4
4
|
'pisell2.ticket-booking.notes': string;
|
5
|
-
'pisell2.ticket-booking.note': string;
|
6
5
|
'pisell2.ticket-booking.forms': string;
|
7
6
|
'pisell2.ticket-booking.sales': string;
|
8
7
|
'pisell2.ticket-booking.payment': string;
|
@@ -55,13 +54,11 @@ declare const _default: {
|
|
55
54
|
'pisell2.product.card.day': (val: number) => string;
|
56
55
|
'pisell2.product.card.day.event': (val: number) => string;
|
57
56
|
'pisell2.product.card.minute': (val: number) => string;
|
58
|
-
|
59
|
-
'pisell2.text.scan-global-failed': string;
|
57
|
+
"pisell2.ticket-booking.reload": string;
|
60
58
|
};
|
61
59
|
'zh-CN': {
|
62
60
|
'pisell2.ticket-booking.info': string;
|
63
61
|
'pisell2.ticket-booking.notes': string;
|
64
|
-
'pisell2.ticket-booking.note': string;
|
65
62
|
'pisell2.ticket-booking.forms': string;
|
66
63
|
'pisell2.ticket-booking.sales': string;
|
67
64
|
'pisell2.ticket-booking.payment': string;
|
@@ -114,13 +111,11 @@ declare const _default: {
|
|
114
111
|
'pisell2.product.card.day': (val: number) => string;
|
115
112
|
'pisell2.product.card.day.event': (val: number) => string;
|
116
113
|
'pisell2.product.card.minute': (val: number) => string;
|
117
|
-
|
118
|
-
'pisell2.text.scan-global-failed': string;
|
114
|
+
"pisell2.ticket-booking.reload": string;
|
119
115
|
};
|
120
116
|
'zh-HK': {
|
121
117
|
'pisell2.ticket-booking.info': string;
|
122
118
|
'pisell2.ticket-booking.notes': string;
|
123
|
-
'pisell2.ticket-booking.note': string;
|
124
119
|
'pisell2.ticket-booking.forms': string;
|
125
120
|
'pisell2.ticket-booking.sales': string;
|
126
121
|
'pisell2.ticket-booking.payment': string;
|
@@ -173,8 +168,7 @@ declare const _default: {
|
|
173
168
|
'pisell2.product.card.day': (val: number) => string;
|
174
169
|
'pisell2.product.card.day.event': (val: number) => string;
|
175
170
|
'pisell2.product.card.minute': (val: number) => string;
|
176
|
-
|
177
|
-
'pisell2.text.scan-global-failed': string;
|
171
|
+
"pisell2.ticket-booking.reload": string;
|
178
172
|
};
|
179
173
|
};
|
180
174
|
export default _default;
|
@@ -26,7 +26,6 @@ var locales_default = {
|
|
26
26
|
en: {
|
27
27
|
"pisell2.ticket-booking.info": "Info",
|
28
28
|
"pisell2.ticket-booking.notes": "Notes",
|
29
|
-
"pisell2.ticket-booking.note": "Note",
|
30
29
|
"pisell2.ticket-booking.forms": "Forms",
|
31
30
|
"pisell2.ticket-booking.sales": "Sales",
|
32
31
|
"pisell2.ticket-booking.payment": "Payment",
|
@@ -79,13 +78,11 @@ var locales_default = {
|
|
79
78
|
"pisell2.product.card.day": (val) => `${val > 1 ? " days" : " day"}`,
|
80
79
|
"pisell2.product.card.day.event": (val) => `${val > 1 ? " events" : " event"}`,
|
81
80
|
"pisell2.product.card.minute": (val) => `${val > 1 ? " minutes" : " minute"}`,
|
82
|
-
"pisell2.ticket-booking.reload": "Reload"
|
83
|
-
"pisell2.text.scan-global-failed": "No matching results"
|
81
|
+
"pisell2.ticket-booking.reload": "Reload"
|
84
82
|
},
|
85
83
|
"zh-CN": {
|
86
84
|
"pisell2.ticket-booking.info": "信息",
|
87
85
|
"pisell2.ticket-booking.notes": "备注",
|
88
|
-
"pisell2.ticket-booking.note": "备注",
|
89
86
|
"pisell2.ticket-booking.forms": "表单",
|
90
87
|
"pisell2.ticket-booking.sales": "销售",
|
91
88
|
"pisell2.ticket-booking.payment": "付款",
|
@@ -138,13 +135,11 @@ var locales_default = {
|
|
138
135
|
"pisell2.product.card.day": (val) => "天",
|
139
136
|
"pisell2.product.card.day.event": (val) => "个活动",
|
140
137
|
"pisell2.product.card.minute": (val) => "分钟",
|
141
|
-
"pisell2.ticket-booking.reload": "重新加载"
|
142
|
-
"pisell2.text.scan-global-failed": "无搜索结果"
|
138
|
+
"pisell2.ticket-booking.reload": "重新加载"
|
143
139
|
},
|
144
140
|
"zh-HK": {
|
145
141
|
"pisell2.ticket-booking.info": "資訊",
|
146
142
|
"pisell2.ticket-booking.notes": "備註",
|
147
|
-
"pisell2.ticket-booking.note": "備註",
|
148
143
|
"pisell2.ticket-booking.forms": "表单",
|
149
144
|
"pisell2.ticket-booking.sales": "銷售",
|
150
145
|
"pisell2.ticket-booking.payment": "付款",
|
@@ -197,7 +192,6 @@ var locales_default = {
|
|
197
192
|
"pisell2.product.card.day": (val) => "天",
|
198
193
|
"pisell2.product.card.day.event": (val) => "个活動",
|
199
194
|
"pisell2.product.card.minute": (val) => "分鐘",
|
200
|
-
"pisell2.ticket-booking.reload": "重新載入"
|
201
|
-
"pisell2.text.scan-global-failed": "無搜索結果"
|
195
|
+
"pisell2.ticket-booking.reload": "重新載入"
|
202
196
|
}
|
203
197
|
};
|
@@ -98,23 +98,23 @@ var createBooking = async (params) => {
|
|
98
98
|
return data;
|
99
99
|
};
|
100
100
|
var getAddonsByOrderId = async (bookingId, params) => {
|
101
|
-
let { data } = await import_utils.request.getRequest().get(
|
101
|
+
let { data } = await import_utils.request.getRequest().get(`/order/appointment/addons/${bookingId}`, params);
|
102
102
|
return data;
|
103
103
|
};
|
104
104
|
var saveAddonsByOrderId = async (bookingId, params) => {
|
105
|
-
let { data } = await import_utils.request.getRequest().put(
|
105
|
+
let { data } = await import_utils.request.getRequest().put(`/order/appointment/addons/${bookingId}`, params);
|
106
106
|
return data;
|
107
107
|
};
|
108
108
|
var getBookingDetail = async (bookingId, params) => {
|
109
|
-
let { data } = await import_utils.request.getRequest().get(
|
109
|
+
let { data } = await import_utils.request.getRequest().get(`/order/appointment/${bookingId}`, params);
|
110
110
|
return data;
|
111
111
|
};
|
112
112
|
var editBookingStatus = async (bookingId, params) => {
|
113
|
-
let { data } = await import_utils.request.getRequest().put(
|
113
|
+
let { data } = await import_utils.request.getRequest().put(`/schedule/booking/appointment-status/${bookingId}`, params);
|
114
114
|
return data;
|
115
115
|
};
|
116
116
|
var editBooking = async (bookingId, params) => {
|
117
|
-
let { data } = await import_utils.request.getRequest().put(
|
117
|
+
let { data } = await import_utils.request.getRequest().put(`/order/appointment/${bookingId}`, params);
|
118
118
|
return data;
|
119
119
|
};
|
120
120
|
var getNotesByOrder = async (params) => {
|
@@ -126,11 +126,11 @@ var addNotesByOrder = async (params) => {
|
|
126
126
|
return data;
|
127
127
|
};
|
128
128
|
var editNoteByOrder = async (bookingId, params) => {
|
129
|
-
let { data } = await import_utils.request.getRequest().put(
|
129
|
+
let { data } = await import_utils.request.getRequest().put(`/schedule/event-note/${bookingId}`, params);
|
130
130
|
return data;
|
131
131
|
};
|
132
132
|
var removeNoteByOrder = async (bookingId, params) => {
|
133
|
-
let { data } = await import_utils.request.getRequest().remove(
|
133
|
+
let { data } = await import_utils.request.getRequest().remove(`/schedule/event-note/${bookingId}`, params);
|
134
134
|
return data;
|
135
135
|
};
|
136
136
|
var saveBookingFormData = async (params) => {
|
@@ -142,11 +142,11 @@ var getPaymentList = async (params) => {
|
|
142
142
|
return data;
|
143
143
|
};
|
144
144
|
var editOrderNote = async (bookingId, params) => {
|
145
|
-
let { data } = await import_utils.request.getRequest().put(
|
145
|
+
let { data } = await import_utils.request.getRequest().put(`/order/order/${bookingId}/note`, params);
|
146
146
|
return data;
|
147
147
|
};
|
148
148
|
var getRefundInfo = async (bookingId, params) => {
|
149
|
-
let { data } = await import_utils.request.getRequest().get(
|
149
|
+
let { data } = await import_utils.request.getRequest().get(`/order/refund-info/${bookingId}`, params);
|
150
150
|
return data;
|
151
151
|
};
|
152
152
|
var createEventBooking = async (params) => {
|
@@ -154,11 +154,11 @@ var createEventBooking = async (params) => {
|
|
154
154
|
return data;
|
155
155
|
};
|
156
156
|
var getEventBookingDetail = async (bookingId, params) => {
|
157
|
-
let { data } = await import_utils.request.getRequest().get(
|
157
|
+
let { data } = await import_utils.request.getRequest().get(`/eventbookingv2/order/${bookingId}`, params);
|
158
158
|
return data;
|
159
159
|
};
|
160
160
|
var editEventBooking = async (bookingId, params) => {
|
161
|
-
let { data } = await import_utils.request.getRequest().put(
|
161
|
+
let { data } = await import_utils.request.getRequest().put(`/eventbookingv2/order/${bookingId}`, params);
|
162
162
|
return data;
|
163
163
|
};
|
164
164
|
var getDepositShow = async (params) => {
|
@@ -5,15 +5,14 @@ export declare const getDefaultStartParam: () => string | string[];
|
|
5
5
|
export declare const formatBookingList: (bookingList: any[]) => any[];
|
6
6
|
export declare const getNextTimeSlice: (sliceMinutes: number) => Dayjs;
|
7
7
|
export declare const getDisabledEdit: ({ shop_discount, bookings, payment_status }: any) => boolean;
|
8
|
-
export declare const formatOptions: (detail: any) => any;
|
9
|
-
export declare const formatHolder: (detail: any) => any;
|
10
8
|
export declare const restoreProductOtherData: (data: any) => {
|
11
9
|
product_id: any;
|
12
|
-
option:
|
10
|
+
option: never[];
|
13
11
|
bundle: any;
|
14
|
-
product_variant_id:
|
12
|
+
product_variant_id: number;
|
15
13
|
quantity: number;
|
16
14
|
} | undefined;
|
15
|
+
export declare const isSameProduct: (a: any, b: any) => boolean;
|
17
16
|
export declare const addService: (list: any[], addItem: any, state: any) => {
|
18
17
|
list: any[];
|
19
18
|
quantity: any;
|
@@ -23,38 +22,4 @@ export declare const getCartProductOverlay: (state: any) => any;
|
|
23
22
|
export declare const getIsOverlayProduct: (item: any, state: any) => any;
|
24
23
|
export declare const getIsShowNumber: (item: any, state: any) => any;
|
25
24
|
export declare const genServiceKey: (item: any) => string;
|
26
|
-
export declare const
|
27
|
-
declare type ScanData = {
|
28
|
-
type: string;
|
29
|
-
status: 'success' | 'failed';
|
30
|
-
scanType: 'nfc' | 'scanner';
|
31
|
-
scanCode: string;
|
32
|
-
result: {
|
33
|
-
searchType: 'customer' | 'wallet' | 'walletPass' | 'product' | 'local_product';
|
34
|
-
response: {
|
35
|
-
status: boolean;
|
36
|
-
code: number;
|
37
|
-
message: string;
|
38
|
-
data: any;
|
39
|
-
};
|
40
|
-
};
|
41
|
-
};
|
42
|
-
export declare const formatScanCustomer: (data: ScanData) => {
|
43
|
-
searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
|
44
|
-
data: any;
|
45
|
-
scanCode: string;
|
46
|
-
} | null;
|
47
|
-
export declare const formatScanGlobal: (data: ScanData) => {
|
48
|
-
searchType: "wallet";
|
49
|
-
data: any;
|
50
|
-
scanCode: string;
|
51
|
-
} | {
|
52
|
-
searchType: "walletPass";
|
53
|
-
data: any;
|
54
|
-
scanCode: string;
|
55
|
-
} | {
|
56
|
-
searchType: "product" | "local_product";
|
57
|
-
data: any;
|
58
|
-
scanCode: string;
|
59
|
-
} | null | undefined;
|
60
|
-
export {};
|
25
|
+
export declare const createSimpleCacheItem: (item: any, e: any, state: any) => any;
|
@@ -31,20 +31,17 @@ var utils_exports = {};
|
|
31
31
|
__export(utils_exports, {
|
32
32
|
addService: () => addService,
|
33
33
|
addServiceScroll: () => addServiceScroll,
|
34
|
+
createSimpleCacheItem: () => createSimpleCacheItem,
|
34
35
|
formatBookingList: () => formatBookingList,
|
35
36
|
formatDateToStr: () => formatDateToStr,
|
36
|
-
formatHolder: () => formatHolder,
|
37
|
-
formatOptions: () => formatOptions,
|
38
|
-
formatScanCustomer: () => formatScanCustomer,
|
39
|
-
formatScanGlobal: () => formatScanGlobal,
|
40
37
|
genServiceKey: () => genServiceKey,
|
41
38
|
getCartProductOverlay: () => getCartProductOverlay,
|
42
39
|
getDefaultStartParam: () => getDefaultStartParam,
|
43
40
|
getDisabledEdit: () => getDisabledEdit,
|
44
41
|
getIsOverlayProduct: () => getIsOverlayProduct,
|
45
|
-
getIsParallelResourcesBooking: () => getIsParallelResourcesBooking,
|
46
42
|
getIsShowNumber: () => getIsShowNumber,
|
47
43
|
getNextTimeSlice: () => getNextTimeSlice,
|
44
|
+
isSameProduct: () => isSameProduct,
|
48
45
|
restoreProductOtherData: () => restoreProductOtherData
|
49
46
|
});
|
50
47
|
module.exports = __toCommonJS(utils_exports);
|
@@ -87,6 +84,9 @@ var getDisabledEdit = ({ shop_discount, bookings, payment_status }) => {
|
|
87
84
|
if (bookings.list.some((d) => !d.detail)) {
|
88
85
|
return true;
|
89
86
|
}
|
87
|
+
if (shop_discount && Number(shop_discount)) {
|
88
|
+
return true;
|
89
|
+
}
|
90
90
|
let list = [
|
91
91
|
"unfulfilled",
|
92
92
|
"paid",
|
@@ -99,19 +99,6 @@ var getDisabledEdit = ({ shop_discount, bookings, payment_status }) => {
|
|
99
99
|
}
|
100
100
|
return false;
|
101
101
|
};
|
102
|
-
var formatOptions = (detail) => {
|
103
|
-
var _a;
|
104
|
-
return (((_a = detail == null ? void 0 : detail.product_sku) == null ? void 0 : _a.option) || []).map((item) => {
|
105
|
-
return {
|
106
|
-
...item,
|
107
|
-
price: item.price || item.add_price
|
108
|
-
};
|
109
|
-
});
|
110
|
-
};
|
111
|
-
var formatHolder = (detail) => {
|
112
|
-
var _a, _b;
|
113
|
-
return (_b = (_a = detail == null ? void 0 : detail.holder) == null ? void 0 : _a.form_record) == null ? void 0 : _b[0];
|
114
|
-
};
|
115
102
|
var restoreProductOtherData = (data) => {
|
116
103
|
let { detail, ...resetD } = data;
|
117
104
|
if (!detail) {
|
@@ -119,7 +106,7 @@ var restoreProductOtherData = (data) => {
|
|
119
106
|
}
|
120
107
|
return {
|
121
108
|
product_id: detail.product_id,
|
122
|
-
option:
|
109
|
+
option: [],
|
123
110
|
bundle: (detail.product_bundle || []).map((bundleItem) => {
|
124
111
|
return {
|
125
112
|
...bundleItem,
|
@@ -127,7 +114,6 @@ var restoreProductOtherData = (data) => {
|
|
127
114
|
group_id: bundleItem.bundle_group_id,
|
128
115
|
id: bundleItem.bundle_id,
|
129
116
|
product_id: bundleItem.bundle_product_id,
|
130
|
-
_bundle_product_id: bundleItem.bundle_product_id,
|
131
117
|
bundle_variant_id: bundleItem.bundle_variant_id,
|
132
118
|
quantity: bundleItem.num,
|
133
119
|
option: bundleItem.option.map((optionItem) => {
|
@@ -141,7 +127,7 @@ var restoreProductOtherData = (data) => {
|
|
141
127
|
price: (bundleItem == null ? void 0 : bundleItem.bundle_sum_type) === "markdown" ? `-${Number(bundleItem.bundle_sum_price)}` : Number(bundleItem.bundle_sum_price)
|
142
128
|
};
|
143
129
|
}),
|
144
|
-
product_variant_id:
|
130
|
+
product_variant_id: 0,
|
145
131
|
quantity: Number(detail.product_quantity)
|
146
132
|
};
|
147
133
|
};
|
@@ -156,7 +142,7 @@ var addService = (list, addItem, state) => {
|
|
156
142
|
let value = list;
|
157
143
|
let count;
|
158
144
|
if (!(0, import_utils.isNormalProductByDurationSchedule)(addItem) && !getIsOverlayProduct(addItem, state)) {
|
159
|
-
value.
|
145
|
+
value.push(addItem);
|
160
146
|
count = addItem._extend.quantity;
|
161
147
|
} else {
|
162
148
|
let isNotSame = true;
|
@@ -183,13 +169,8 @@ var addService = (list, addItem, state) => {
|
|
183
169
|
}
|
184
170
|
return item;
|
185
171
|
});
|
186
|
-
const _idx = value.findIndex((item) => item.id === addItem.id);
|
187
|
-
if (_idx !== -1) {
|
188
|
-
const [removed] = value.splice(_idx, 1);
|
189
|
-
value.unshift(removed);
|
190
|
-
}
|
191
172
|
if (isNotSame) {
|
192
|
-
value.
|
173
|
+
value.push(addItem);
|
193
174
|
count = addItem._extend.quantity;
|
194
175
|
}
|
195
176
|
}
|
@@ -205,10 +186,10 @@ var addServiceScroll = (rowKey, cacheItem) => {
|
|
205
186
|
});
|
206
187
|
} else {
|
207
188
|
setTimeout(() => {
|
208
|
-
const bookingWrap = document.querySelectorAll(`.
|
189
|
+
const bookingWrap = document.querySelectorAll(`.booking-info-warp`);
|
209
190
|
if (bookingWrap.length) {
|
210
191
|
bookingWrap[0].scrollTo({
|
211
|
-
top:
|
192
|
+
top: 99999,
|
212
193
|
behavior: "smooth"
|
213
194
|
});
|
214
195
|
}
|
@@ -238,64 +219,44 @@ var genServiceKey = (item) => {
|
|
238
219
|
const start_time = (_b = item._extend) == null ? void 0 : _b.start_time;
|
239
220
|
const total = (_c = item._extend) == null ? void 0 : _c.total;
|
240
221
|
let resourceKey = "";
|
241
|
-
Object.values(item._extend.resource
|
222
|
+
Object.values(item._extend.resource).forEach((resources) => {
|
242
223
|
resources.forEach((resource) => {
|
243
224
|
resourceKey += `${resource.relation_id}`;
|
244
225
|
});
|
245
226
|
});
|
246
227
|
return `${product_id}-${durationKey}-${resourceKey}-${start_time}-${total}`;
|
247
228
|
};
|
248
|
-
var
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
var formatScanGlobal = (data) => {
|
265
|
-
var _a;
|
266
|
-
const { result, scanCode } = data;
|
267
|
-
const { response, searchType } = result || {};
|
268
|
-
const { data: resultData, code } = response || {};
|
269
|
-
if (code !== 200 && searchType !== "local_product") {
|
270
|
-
return null;
|
271
|
-
}
|
272
|
-
if (searchType === "wallet") {
|
273
|
-
return { searchType, data: resultData.customer, scanCode };
|
274
|
-
}
|
275
|
-
if (searchType === "walletPass") {
|
276
|
-
return { searchType, data: (_a = resultData == null ? void 0 : resultData[0]) == null ? void 0 : _a.customer, scanCode };
|
277
|
-
}
|
278
|
-
if (searchType === "product" || searchType === "local_product") {
|
279
|
-
return { searchType, data: resultData, scanCode };
|
280
|
-
}
|
229
|
+
var createSimpleCacheItem = (item, e, state) => {
|
230
|
+
let cacheItem = {
|
231
|
+
...item,
|
232
|
+
product_id: item.id,
|
233
|
+
_id: (0, import_utils2.getUniqueId)(),
|
234
|
+
_key: e.key,
|
235
|
+
_extend: {
|
236
|
+
start_date: state.date.value,
|
237
|
+
quantity: (e == null ? void 0 : e.quantity) || 1,
|
238
|
+
price: item.price,
|
239
|
+
product_name: item.title,
|
240
|
+
other: e
|
241
|
+
},
|
242
|
+
new: 1
|
243
|
+
};
|
244
|
+
return cacheItem;
|
281
245
|
};
|
282
246
|
// Annotate the CommonJS export names for ESM import in node:
|
283
247
|
0 && (module.exports = {
|
284
248
|
addService,
|
285
249
|
addServiceScroll,
|
250
|
+
createSimpleCacheItem,
|
286
251
|
formatBookingList,
|
287
252
|
formatDateToStr,
|
288
|
-
formatHolder,
|
289
|
-
formatOptions,
|
290
|
-
formatScanCustomer,
|
291
|
-
formatScanGlobal,
|
292
253
|
genServiceKey,
|
293
254
|
getCartProductOverlay,
|
294
255
|
getDefaultStartParam,
|
295
256
|
getDisabledEdit,
|
296
257
|
getIsOverlayProduct,
|
297
|
-
getIsParallelResourcesBooking,
|
298
258
|
getIsShowNumber,
|
299
259
|
getNextTimeSlice,
|
260
|
+
isSameProduct,
|
300
261
|
restoreProductOtherData
|
301
262
|
});
|
package/lib/index.d.ts
CHANGED
@@ -45,7 +45,3 @@ export { default as TicketBooking } from './components/ticketBooking';
|
|
45
45
|
export { default as SubTotal } from './components/subTotal';
|
46
46
|
export { default as EditBookingModal } from './components/booking/editBookingModal';
|
47
47
|
export { default as StepController } from './components/stepController';
|
48
|
-
export { default as ClientCard } from './plus/clientCard';
|
49
|
-
export { default as ClientSearch } from './plus/clinetSearch';
|
50
|
-
export { default as ComprehensiveSearch } from './pro/comprehensiveSearch';
|
51
|
-
export { default as NoteModal } from './plus/noteModal';
|
package/lib/index.js
CHANGED
@@ -43,9 +43,6 @@ __export(src_exports, {
|
|
43
43
|
BookingPayment: () => import_payments.default,
|
44
44
|
BookingResources: () => import_resources.default,
|
45
45
|
BookingStartTime: () => import_startTime.default,
|
46
|
-
ClientCard: () => import_clientCard.default,
|
47
|
-
ClientSearch: () => import_clinetSearch.default,
|
48
|
-
ComprehensiveSearch: () => import_comprehensiveSearch.default,
|
49
46
|
EditBookingModal: () => import_editBookingModal.default,
|
50
47
|
Eftpos: () => import_eftpos.default,
|
51
48
|
EftposPay: () => import_eftposPay.default,
|
@@ -62,7 +59,6 @@ __export(src_exports, {
|
|
62
59
|
EventSelectHolder: () => import_selectHolder.default,
|
63
60
|
EventTimeResourceSelector: () => import_timeResourceSelector.default,
|
64
61
|
Login: () => import_login.default,
|
65
|
-
NoteModal: () => import_noteModal.default,
|
66
62
|
PisellSelectCustomerModal: () => import_pisellSelectCustomerModal.default,
|
67
63
|
ProductExtension: () => import_productExtension.default,
|
68
64
|
RuleSetting: () => import_ruleSetting.default,
|
@@ -130,10 +126,6 @@ var import_ticketBooking = __toESM(require("./components/ticketBooking"));
|
|
130
126
|
var import_subTotal = __toESM(require("./components/subTotal"));
|
131
127
|
var import_editBookingModal = __toESM(require("./components/booking/editBookingModal"));
|
132
128
|
var import_stepController = __toESM(require("./components/stepController"));
|
133
|
-
var import_clientCard = __toESM(require("./plus/clientCard"));
|
134
|
-
var import_clinetSearch = __toESM(require("./plus/clinetSearch"));
|
135
|
-
var import_comprehensiveSearch = __toESM(require("./pro/comprehensiveSearch"));
|
136
|
-
var import_noteModal = __toESM(require("./plus/noteModal"));
|
137
129
|
import_dayjs.default.extend(import_weekday.default);
|
138
130
|
import_dayjs.default.extend(import_localeData.default);
|
139
131
|
// Annotate the CommonJS export names for ESM import in node:
|
@@ -152,9 +144,6 @@ import_dayjs.default.extend(import_localeData.default);
|
|
152
144
|
BookingPayment,
|
153
145
|
BookingResources,
|
154
146
|
BookingStartTime,
|
155
|
-
ClientCard,
|
156
|
-
ClientSearch,
|
157
|
-
ComprehensiveSearch,
|
158
147
|
EditBookingModal,
|
159
148
|
Eftpos,
|
160
149
|
EftposPay,
|
@@ -171,7 +160,6 @@ import_dayjs.default.extend(import_localeData.default);
|
|
171
160
|
EventSelectHolder,
|
172
161
|
EventTimeResourceSelector,
|
173
162
|
Login,
|
174
|
-
NoteModal,
|
175
163
|
PisellSelectCustomerModal,
|
176
164
|
ProductExtension,
|
177
165
|
RuleSetting,
|
package/lib/utils/index.d.ts
CHANGED
@@ -18,6 +18,6 @@ declare let modal: Omit<ModalStaticFunctions, 'warn'>;
|
|
18
18
|
export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
|
19
19
|
export declare const saveConfirm: () => Promise<{
|
20
20
|
destroy: () => void;
|
21
|
-
update: (configUpdate: import("antd
|
21
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
22
22
|
}>;
|
23
23
|
export { modal };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pisell/private-materials",
|
3
|
-
"version": "6.
|
3
|
+
"version": "6.3.1",
|
4
4
|
"main": "./lib/index.js",
|
5
5
|
"module": "./es/index.js",
|
6
6
|
"types": "./lib/index.d.ts",
|
@@ -9,28 +9,28 @@
|
|
9
9
|
"*.less"
|
10
10
|
],
|
11
11
|
"devDependencies": {
|
12
|
-
"@alib/build-scripts": "^0.1.32",
|
13
|
-
"@alilc/build-plugin-alt": "^1.3.3",
|
14
|
-
"@alilc/lowcode-react-renderer": "^1.1.7",
|
15
|
-
"@alilc/lowcode-types": "1.1.7",
|
16
|
-
"@alilc/lowcode-utils": "1.1.6",
|
17
|
-
"@pisell/build-plugin-lowcode": "^1.0.12",
|
18
|
-
"@svgr/webpack": "^5.5.0",
|
19
|
-
"@types/react": "^18.0.38",
|
20
|
-
"@types/react-dom": "^18.0.0",
|
21
|
-
"build-plugin-component": "^1.6.5",
|
22
|
-
"build-scripts": "1.0.1",
|
23
12
|
"father": "^4.1.6",
|
24
|
-
"inquirer": "^6.5.1",
|
25
13
|
"lodash": "^4.17.21",
|
26
|
-
"postcss-loader": "^4.3.0",
|
27
14
|
"react": "^18.0.0",
|
28
15
|
"react-dom": "^18.0.0",
|
29
|
-
"
|
16
|
+
"build-scripts": "1.0.1",
|
17
|
+
"inquirer": "^6.5.1",
|
18
|
+
"@pisell/build-plugin-lowcode": "^1.0.12",
|
19
|
+
"@alib/build-scripts": "^0.1.32",
|
20
|
+
"@types/react": "^18.0.38",
|
21
|
+
"@types/react-dom": "^18.0.0",
|
22
|
+
"@alilc/lowcode-utils": "1.1.6",
|
30
23
|
"style-loader": "2.0.0",
|
24
|
+
"sass-loader": "7.3.1",
|
25
|
+
"@alilc/lowcode-react-renderer": "^1.1.7",
|
26
|
+
"@alilc/lowcode-types": "1.1.7",
|
27
|
+
"@svgr/webpack": "^5.5.0",
|
31
28
|
"url-loader": "^4.1.1",
|
29
|
+
"@alilc/build-plugin-alt": "^1.3.3",
|
32
30
|
"webpack": "^4.27.1",
|
33
|
-
"webpack-dev-server": "^4.0.0"
|
31
|
+
"webpack-dev-server": "^4.0.0",
|
32
|
+
"build-plugin-component": "^1.6.5",
|
33
|
+
"postcss-loader": "^4.3.0"
|
34
34
|
},
|
35
35
|
"publishConfig": {
|
36
36
|
"access": "public"
|
@@ -45,23 +45,23 @@
|
|
45
45
|
"dist"
|
46
46
|
],
|
47
47
|
"dependencies": {
|
48
|
+
"antd": "^5.6.3",
|
48
49
|
"@ant-design/icons": "^5.6.1",
|
50
|
+
"dayjs": "^1.11.9",
|
51
|
+
"classnames": "^2.3.2",
|
52
|
+
"react-resizable": "^3.0.5",
|
53
|
+
"styled-components": "^6.0.0-rc.3",
|
49
54
|
"@dnd-kit/core": "^6.0.8",
|
50
55
|
"@dnd-kit/modifiers": "^6.0.1",
|
51
56
|
"@dnd-kit/sortable": "^7.0.2",
|
52
57
|
"@dnd-kit/utilities": "^3.2.1",
|
53
58
|
"ahooks": "^3.7.6",
|
54
|
-
"antd": "^5.6.3",
|
55
|
-
"classnames": "^2.3.2",
|
56
|
-
"dayjs": "^1.11.9",
|
57
|
-
"decimal.js": "^10.4.3",
|
58
|
-
"rc-virtual-list": "^3.11.3",
|
59
59
|
"react-infinite-scroll-component": "^6.1.0",
|
60
|
-
"
|
61
|
-
"
|
62
|
-
"@pisell/materials": "6.2.29",
|
63
|
-
"@pisell/icon": "0.0.11",
|
60
|
+
"rc-virtual-list": "^3.11.3",
|
61
|
+
"decimal.js": "^10.4.3",
|
64
62
|
"@pisell/date-picker": "3.0.4",
|
63
|
+
"@pisell/materials": "6.3.1",
|
64
|
+
"@pisell/icon": "0.0.11",
|
65
65
|
"@pisell/utils": "3.0.0"
|
66
66
|
},
|
67
67
|
"peerDependencies": {
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
interface ActionButtonsProps {
|
4
|
-
/** booking 状态对象,包含 service、addons 等数据 */
|
5
|
-
state: {
|
6
|
-
service?: {
|
7
|
-
value?: any[];
|
8
|
-
};
|
9
|
-
addons?: {
|
10
|
-
value?: any[];
|
11
|
-
};
|
12
|
-
disabledEdit?: boolean;
|
13
|
-
channelDisabledEdit?: boolean;
|
14
|
-
shop_discount?: string;
|
15
|
-
bookingDetail?: {
|
16
|
-
[key: string]: any;
|
17
|
-
};
|
18
|
-
[key: string]: any;
|
19
|
-
};
|
20
|
-
/** dispatch 函数,用于触发状态更新 */
|
21
|
-
dispatch: (action: {
|
22
|
-
type: string;
|
23
|
-
payload?: any;
|
24
|
-
}) => void;
|
25
|
-
/** 是否禁用所有按钮 */
|
26
|
-
disabled?: boolean;
|
27
|
-
/** 数据源,传递给 VoucherCard */
|
28
|
-
source?: any;
|
29
|
-
}
|
30
|
-
declare const ActionButtons: React.FC<ActionButtonsProps>;
|
31
|
-
export default ActionButtons;
|