@pisell/private-materials 6.8.28 → 6.8.29
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/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +8 -8
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +8 -8
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/appointmentBooking/locales.d.ts +363 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +0 -1
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/footer/amount.d.ts +37 -0
- package/es/components/booking/components/footer/index.js +43 -44
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/forms/single/index.d.ts +1 -0
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.js +0 -1
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
- package/es/components/booking/info/service/serve.d.ts +34 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/es/components/booking/info/service2/Lists.d.ts +1 -0
- package/es/components/booking/info/service2/utils.d.ts +219 -0
- package/es/components/booking/info2/cartClientCard/types.d.ts +18 -0
- package/es/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +106 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/es/components/booking/info2/service/editNormalService/index.js +4 -4
- package/es/components/booking/info2/service/editService/index.js +3 -3
- package/es/components/booking/info2/service/editService/utils.js +6 -1
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
- package/es/components/booking/locales.d.ts +951 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/addNote/index.d.ts +1 -0
- package/es/components/booking/utils/confirmHolderModal.js +3 -4
- package/es/components/booking/utils.d.ts +182 -0
- package/es/components/booking/utils.js +7 -1
- package/es/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
- package/es/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/es/components/checkout/types.d.ts +130 -0
- package/es/components/checkout/utils.d.ts +3 -0
- package/es/components/eftposPay/app.d.ts +10 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
- package/es/components/eftposPay/component/fail/index.d.ts +3 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/es/components/eftposPay/const.d.ts +190 -0
- package/es/components/eftposPay/device.d.ts +25 -0
- package/es/components/eftposPay/hooks.d.ts +35 -0
- package/es/components/eftposPay/index.d.ts +4 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/locales.d.ts +330 -0
- package/es/components/eftposPay/manufacturer.d.ts +7 -0
- package/es/components/eftposPay/pay.d.ts +20 -0
- package/es/components/eftposPay/payo/config.d.ts +12 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/windcave/helper.d.ts +23 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/list/hooks/index.d.ts +5 -0
- package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/es/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/es/components/pay/toB/locales.d.ts +54 -0
- package/es/components/pay/toB/store/context.d.ts +3 -0
- package/es/components/pay/toB/store/hooks.d.ts +15 -0
- package/es/components/pay/toB/store/index.d.ts +3 -0
- package/es/components/pay/toB/store/provider.d.ts +4 -0
- package/es/components/pay/toB/store/utils.d.ts +13 -0
- package/es/components/pay/toB/types/index.d.ts +72 -0
- package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/model.d.ts +32 -0
- package/es/components/pay/toC/utils.d.ts +57 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +1 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/es/components/ruleSetting/locales.d.ts +48 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/es/components/shoppingCart/index.d.ts +1 -0
- package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +7 -2
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +6 -0
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- package/es/components/ticketBooking/utils/index.d.ts +101 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/es/plus/clinetSearch/locales.d.ts +105 -0
- package/es/plus/clinetSearch/types.d.ts +61 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/index.d.ts +5 -0
- package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/es/plus/webPosLogin/locales.d.ts +49 -0
- package/es/plus/webPosLogin/types.d.ts +286 -0
- package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/es/pro/Login2.0/hooks/index.d.ts +2 -0
- package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/es/pro/Login2.0/shared/Header.d.ts +11 -0
- package/es/pro/Login2.0/shared/types.d.ts +232 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/pisellPaymentList/example.d.ts +19 -0
- package/es/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
- package/es/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/es/pro/skuDetailModal/index.js +17 -2
- package/es/pro/skuDetailModal/index.less +1 -1
- package/es/test/setup.d.ts +1 -0
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/appointmentBooking/locales.d.ts +363 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +0 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/footer/amount.d.ts +37 -0
- package/lib/components/booking/components/footer/index.js +9 -12
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/forms/single/index.d.ts +1 -0
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.js +0 -1
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
- package/lib/components/booking/info/service/serve.d.ts +34 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/lib/components/booking/info/service2/Lists.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.d.ts +219 -0
- package/lib/components/booking/info2/cartClientCard/types.d.ts +18 -0
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +106 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/lib/components/booking/info2/service/editNormalService/index.js +4 -4
- package/lib/components/booking/info2/service/editService/index.js +4 -4
- package/lib/components/booking/info2/service/editService/utils.js +4 -1
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
- package/lib/components/booking/locales.d.ts +951 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/booking/notes/addNote/index.d.ts +1 -0
- package/lib/components/booking/utils/confirmHolderModal.js +0 -1
- package/lib/components/booking/utils.d.ts +182 -0
- package/lib/components/booking/utils.js +5 -1
- package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
- package/lib/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/lib/components/checkout/types.d.ts +130 -0
- package/lib/components/checkout/utils.d.ts +3 -0
- package/lib/components/eftposPay/app.d.ts +10 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/lib/components/eftposPay/const.d.ts +190 -0
- package/lib/components/eftposPay/device.d.ts +25 -0
- package/lib/components/eftposPay/hooks.d.ts +35 -0
- package/lib/components/eftposPay/index.d.ts +4 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/locales.d.ts +330 -0
- package/lib/components/eftposPay/manufacturer.d.ts +7 -0
- package/lib/components/eftposPay/pay.d.ts +20 -0
- package/lib/components/eftposPay/payo/config.d.ts +12 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/list/hooks/index.d.ts +5 -0
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/lib/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/lib/components/pay/toB/locales.d.ts +54 -0
- package/lib/components/pay/toB/store/context.d.ts +3 -0
- package/lib/components/pay/toB/store/hooks.d.ts +15 -0
- package/lib/components/pay/toB/store/index.d.ts +3 -0
- package/lib/components/pay/toB/store/provider.d.ts +4 -0
- package/lib/components/pay/toB/store/utils.d.ts +13 -0
- package/lib/components/pay/toB/types/index.d.ts +72 -0
- package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/model.d.ts +32 -0
- package/lib/components/pay/toC/utils.d.ts +57 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +1 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/lib/components/ruleSetting/locales.d.ts +48 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/lib/components/shoppingCart/index.d.ts +1 -0
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +7 -3
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +6 -0
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- package/lib/components/ticketBooking/utils/index.d.ts +101 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/locales.d.ts +105 -0
- package/lib/plus/clinetSearch/types.d.ts +61 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/lib/plus/webPosLogin/locales.d.ts +49 -0
- package/lib/plus/webPosLogin/types.d.ts +286 -0
- package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
- package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
- package/lib/pro/Login2.0/shared/types.d.ts +232 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/pisellPaymentList/example.d.ts +19 -0
- package/lib/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
- package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/lib/pro/skuDetailModal/index.js +13 -2
- package/lib/pro/skuDetailModal/index.less +1 -1
- package/lib/test/setup.d.ts +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.satisfy_any_condition': string;
|
|
4
|
+
'pisell2.text.add': string;
|
|
5
|
+
'pisell2.text.and': string;
|
|
6
|
+
'pisell2.text.or': string;
|
|
7
|
+
'pisell2.text.all': string;
|
|
8
|
+
'pisell2.text.rule-setting.Contain': string;
|
|
9
|
+
'pisell2.text.rule-setting.Exclude': string;
|
|
10
|
+
'pisell2.text.rule-setting.order_type': string;
|
|
11
|
+
'pisell2.text.rule-setting.sales_channel': string;
|
|
12
|
+
'pisell2.text.rule-setting.staff': string;
|
|
13
|
+
'pisell2.text.rule-setting.payment_method': string;
|
|
14
|
+
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
15
|
+
'pisell2.text.rule-setting.current_device': string;
|
|
16
|
+
};
|
|
17
|
+
'zh-CN': {
|
|
18
|
+
'pisell2.text.satisfy_any_condition': string;
|
|
19
|
+
'pisell2.text.and': string;
|
|
20
|
+
'pisell2.text.or': string;
|
|
21
|
+
'pisell2.text.all': string;
|
|
22
|
+
'pisell2.text.add': string;
|
|
23
|
+
'pisell2.text.rule-setting.Contain': string;
|
|
24
|
+
'pisell2.text.rule-setting.Exclude': string;
|
|
25
|
+
'pisell2.text.rule-setting.order_type': string;
|
|
26
|
+
'pisell2.text.rule-setting.sales_channel': string;
|
|
27
|
+
'pisell2.text.rule-setting.staff': string;
|
|
28
|
+
'pisell2.text.rule-setting.payment_method': string;
|
|
29
|
+
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
30
|
+
'pisell2.text.rule-setting.current_device': string;
|
|
31
|
+
};
|
|
32
|
+
'zh-HK': {
|
|
33
|
+
'pisell2.text.satisfy_any_condition': string;
|
|
34
|
+
'pisell2.text.and': string;
|
|
35
|
+
'pisell2.text.or': string;
|
|
36
|
+
'pisell2.text.all': string;
|
|
37
|
+
'pisell2.text.add': string;
|
|
38
|
+
'pisell2.text.rule-setting.Contain': string;
|
|
39
|
+
'pisell2.text.rule-setting.Exclude': string;
|
|
40
|
+
'pisell2.text.rule-setting.order_type': string;
|
|
41
|
+
'pisell2.text.rule-setting.sales_channel': string;
|
|
42
|
+
'pisell2.text.rule-setting.staff': string;
|
|
43
|
+
'pisell2.text.rule-setting.payment_method': string;
|
|
44
|
+
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
45
|
+
'pisell2.text.rule-setting.current_device': string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ProductDisplayAdapter 产品展示适配器
|
|
3
|
+
* 支持通过配置化方式在 ProductSelect 和 SkuList 两种展示模式之间切换
|
|
4
|
+
*/
|
|
5
|
+
export { default } from './ProductDisplayAdapter';
|
|
6
|
+
export type { ProductDisplayConfig, ProductDisplayPresetKey, ProductSelectConfig, ProductSelectLayout, ProductListSetting, SkuListConfig, SkuCardDisplayMode, ListConfig, ListLayoutType, DisplayMode, } from './types';
|
|
7
|
+
export { ProductDisplayPresets, LegacyProductDisplayPresets, resolveProductDisplayConfig, } from './types';
|
|
@@ -257,7 +257,7 @@ var AddSerivce = (props) => {
|
|
|
257
257
|
return true;
|
|
258
258
|
});
|
|
259
259
|
const createCacheItemFromParams = (0, import_ahooks.useMemoizedFn)((item, params, detail) => {
|
|
260
|
-
var _a2, _b2, _c2, _d2, _e2, _f2;
|
|
260
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2;
|
|
261
261
|
const _detail = detail || item;
|
|
262
262
|
const other = JSON.parse(JSON.stringify(params));
|
|
263
263
|
other.session = params.session;
|
|
@@ -275,16 +275,20 @@ var AddSerivce = (props) => {
|
|
|
275
275
|
// end_date: endDate, 这个参数合并过来的没有入参
|
|
276
276
|
isFormSubject: ((_d2 = (_c2 = (_b2 = (_a2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a2.config) == null ? void 0 : _b2.basic) == null ? void 0 : _c2.appointment_subject) == null ? void 0 : _d2.type) === "form",
|
|
277
277
|
isNormalProduct: (0, import_utils4.isNormalProductByDurationSchedule)(item),
|
|
278
|
-
note: (_e2 = _detail == null ? void 0 : _detail._extend) == null ? void 0 : _e2.note
|
|
278
|
+
note: (_e2 = _detail == null ? void 0 : _detail._extend) == null ? void 0 : _e2.note,
|
|
279
|
+
priceOverride: (_f2 = _detail == null ? void 0 : _detail._extend) == null ? void 0 : _f2.priceOverride
|
|
279
280
|
},
|
|
280
281
|
new: 1
|
|
281
282
|
};
|
|
283
|
+
if (((_g2 = cacheItem._extend) == null ? void 0 : _g2.priceOverride) || ((_h2 = cacheItem._extend) == null ? void 0 : _h2.priceOverride) === 0) {
|
|
284
|
+
cacheItem._extend.price = (_i2 = cacheItem._extend) == null ? void 0 : _i2.priceOverride;
|
|
285
|
+
}
|
|
282
286
|
let _total = (0, import_utils2.getProductTotalPrice)(cacheItem);
|
|
283
287
|
cacheItem._extend.total = _total;
|
|
284
288
|
cacheItem._extend.origin_total = _total;
|
|
285
289
|
const _isEdit = !!state.service.cacheItem;
|
|
286
290
|
if (_isEdit) {
|
|
287
|
-
cacheItem._id = (
|
|
291
|
+
cacheItem._id = (_j2 = state.service.cacheItem) == null ? void 0 : _j2._id;
|
|
288
292
|
cacheItem.new = 0;
|
|
289
293
|
}
|
|
290
294
|
if (renderMode === "current") {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ClientData } from '../../../booking/info2/cartClientCard/types';
|
|
2
|
+
export declare const useCustomer: (props: {
|
|
3
|
+
changeCustomerToGlobalState?: ((value: ClientData) => void) | undefined;
|
|
4
|
+
}) => {
|
|
5
|
+
customers: never[];
|
|
6
|
+
selectedCustomer: ClientData | null;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
error: null;
|
|
9
|
+
pagination: {
|
|
10
|
+
page: number;
|
|
11
|
+
pageSize: number;
|
|
12
|
+
total: number;
|
|
13
|
+
};
|
|
14
|
+
loadCustomers: (params?: {
|
|
15
|
+
skip?: number;
|
|
16
|
+
num?: number;
|
|
17
|
+
search?: string;
|
|
18
|
+
}) => Promise<void>;
|
|
19
|
+
changePage: (page: number, pageSize: number) => Promise<void>;
|
|
20
|
+
selectCustomer: (customer: ClientData | null) => void;
|
|
21
|
+
addCustomerToFirst: (customer: ClientData) => void;
|
|
22
|
+
initLoad: (this: any, keyword?: any) => Promise<void>;
|
|
23
|
+
hasMore: boolean;
|
|
24
|
+
loadMore: () => Promise<void>;
|
|
25
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface IGetProductsParams {
|
|
2
|
+
schedule_date?: string;
|
|
3
|
+
customer_id?: number;
|
|
4
|
+
menu_list_ids?: number[];
|
|
5
|
+
schedule_datetime?: string;
|
|
6
|
+
}
|
|
7
|
+
interface IGetScheduleTimePointsParams {
|
|
8
|
+
menu_list_ids?: number[];
|
|
9
|
+
}
|
|
10
|
+
export declare const useProducts: (notAvailableRef: any) => {
|
|
11
|
+
getScheduleTimePoints: (params?: IGetScheduleTimePointsParams) => Promise<void>;
|
|
12
|
+
getProducts: (params?: IGetProductsParams) => Promise<void>;
|
|
13
|
+
products: any[];
|
|
14
|
+
loading: boolean;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { Dayjs } from 'dayjs';
|
|
2
|
+
/** dayjs对象格式化为字符串时间 */
|
|
3
|
+
export declare const formatDateToStr: (date: Dayjs[]) => string | string[];
|
|
4
|
+
export declare const getDefaultStartParam: () => string | string[];
|
|
5
|
+
export declare const formatBookingList: (bookingList: any[]) => any[];
|
|
6
|
+
export declare const getNextTimeSlice: (sliceMinutes: number) => Dayjs;
|
|
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
|
+
export declare const restoreProductOtherData: (data: any) => {
|
|
11
|
+
product_id: any;
|
|
12
|
+
option: any;
|
|
13
|
+
bundle: any;
|
|
14
|
+
product_variant_id: any;
|
|
15
|
+
quantity: number;
|
|
16
|
+
} | undefined;
|
|
17
|
+
export declare const isSameProduct: (a: any, b: any) => boolean;
|
|
18
|
+
export declare const addService: (list: any[], addItem: any, state: any, isMultiDay?: boolean) => {
|
|
19
|
+
list: any[];
|
|
20
|
+
count: number;
|
|
21
|
+
quantity?: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
list: any[];
|
|
24
|
+
quantity: any;
|
|
25
|
+
count?: undefined;
|
|
26
|
+
};
|
|
27
|
+
export declare const addServiceScroll: (rowKey: string, cacheItem: any) => void;
|
|
28
|
+
export declare const getCartProductOverlay: (state: any) => any;
|
|
29
|
+
export declare const getIsOverlayProduct: (item: any, state: any) => any;
|
|
30
|
+
export declare const getIsShowNumber: (item: any, state: any) => any;
|
|
31
|
+
export declare const genServiceKey: (item: any) => string;
|
|
32
|
+
export declare const genHolderKey: (item: any) => string;
|
|
33
|
+
export declare const getIsParallelResourcesBooking: (record: any) => boolean;
|
|
34
|
+
declare type ScanData = {
|
|
35
|
+
type: string;
|
|
36
|
+
status: 'success' | 'failed';
|
|
37
|
+
scanType: 'nfc' | 'scanner';
|
|
38
|
+
scanCode: string;
|
|
39
|
+
result: {
|
|
40
|
+
searchType: 'customer' | 'wallet' | 'walletPass' | 'product' | 'local_product';
|
|
41
|
+
response: {
|
|
42
|
+
status: boolean;
|
|
43
|
+
code: number;
|
|
44
|
+
message: string;
|
|
45
|
+
data: any;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export declare const formatScanCustomer: (data: ScanData) => {
|
|
50
|
+
searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
|
|
51
|
+
data: any;
|
|
52
|
+
scanCode: string;
|
|
53
|
+
} | null;
|
|
54
|
+
export declare const formatScanGlobal: (data: ScanData) => {
|
|
55
|
+
searchType: "wallet";
|
|
56
|
+
data: any;
|
|
57
|
+
scanCode: string;
|
|
58
|
+
} | {
|
|
59
|
+
searchType: "walletPass";
|
|
60
|
+
data: any;
|
|
61
|
+
scanCode: string;
|
|
62
|
+
} | {
|
|
63
|
+
searchType: "product" | "local_product";
|
|
64
|
+
data: any;
|
|
65
|
+
scanCode: string;
|
|
66
|
+
} | null | undefined;
|
|
67
|
+
export declare const createSimpleCacheItem: (item: any, e: any, state: any) => any;
|
|
68
|
+
export declare const getBookingTicketKey: (osKey: string) => string;
|
|
69
|
+
export declare const getShopDiscountKey: (osKey: string) => string;
|
|
70
|
+
export declare const rulesHooks: {
|
|
71
|
+
getProduct(product: Record<string, any>): {
|
|
72
|
+
booking_id: any;
|
|
73
|
+
id: any;
|
|
74
|
+
_id: any;
|
|
75
|
+
price: any;
|
|
76
|
+
total: any;
|
|
77
|
+
discount_list: any;
|
|
78
|
+
origin_total: any;
|
|
79
|
+
num: any;
|
|
80
|
+
quantity: any;
|
|
81
|
+
vouchersApplicable: any;
|
|
82
|
+
holder_id: any;
|
|
83
|
+
isNormalProduct: any;
|
|
84
|
+
startDate: any;
|
|
85
|
+
bundle: any;
|
|
86
|
+
options: any;
|
|
87
|
+
};
|
|
88
|
+
setProduct(product: Record<string, any>, values: {
|
|
89
|
+
total: number;
|
|
90
|
+
discount_list: any[];
|
|
91
|
+
price: number;
|
|
92
|
+
quantity: number;
|
|
93
|
+
_id?: string;
|
|
94
|
+
}): {
|
|
95
|
+
_id: any;
|
|
96
|
+
discount_list: any[];
|
|
97
|
+
_extend: any;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export { getCache, setCache, clearCache, clearAllCache, clearAllCacheByOsKey, getProductCache, setProductCache, clearProductCache, clearAllProductCache, getBoardConfigCache, setBoardConfigCache, clearBoardConfigCache, } from './productCache';
|
|
101
|
+
export type { CacheType } from './productCache';
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
4
|
+
'pisell2.text.date-year-text': string;
|
|
5
|
+
'pisell2.text.date-month-text': string;
|
|
6
|
+
'pisell2.text.date-day-text': string;
|
|
7
|
+
'pisell2.text.gender': string;
|
|
8
|
+
'pisell2.text.gender.male': string;
|
|
9
|
+
'pisell2.text.gender.female': string;
|
|
10
|
+
'pisell2.text.birthday': string;
|
|
11
|
+
'pisell2.text.phone': string;
|
|
12
|
+
'pisell2.text.email': string;
|
|
13
|
+
'pisell2.text.lastname': string;
|
|
14
|
+
'pisell2.text.firstname': string;
|
|
15
|
+
'pisell2.text.email-error-message': string;
|
|
16
|
+
'pisell2.text.notes': string;
|
|
17
|
+
'pisell2.text.save': string;
|
|
18
|
+
'pisell2.text.save-and-select': string;
|
|
19
|
+
'pisell2.text.no-results-found': string;
|
|
20
|
+
'pisell2.text.create-new-client': string;
|
|
21
|
+
'pisell2.text.result-found': string;
|
|
22
|
+
'pisell2.text.personnel-list': string;
|
|
23
|
+
'pisell2.text.load-more': string;
|
|
24
|
+
'pisell2.text.add-client.confirm': string;
|
|
25
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
26
|
+
'pisell2.text.create': string;
|
|
27
|
+
'pisell2.text.loading': string;
|
|
28
|
+
'pisell2.text.no-more-data': string;
|
|
29
|
+
'pisell2.text.client-search.name': string;
|
|
30
|
+
'pisell2.text.client-search.register-time': string;
|
|
31
|
+
'pisell2.text.client-search.phone': string;
|
|
32
|
+
'pisell2.text.client-search.email': string;
|
|
33
|
+
'pisell2.text.client-search.membership': string;
|
|
34
|
+
'pisell2.text.client-search.contact-info': string;
|
|
35
|
+
};
|
|
36
|
+
'zh-CN': {
|
|
37
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
38
|
+
'pisell2.text.date-year-text': string;
|
|
39
|
+
'pisell2.text.date-month-text': string;
|
|
40
|
+
'pisell2.text.date-day-text': string;
|
|
41
|
+
'pisell2.text.gender': string;
|
|
42
|
+
'pisell2.text.gender.male': string;
|
|
43
|
+
'pisell2.text.gender.female': string;
|
|
44
|
+
'pisell2.text.birthday': string;
|
|
45
|
+
'pisell2.text.phone': string;
|
|
46
|
+
'pisell2.text.email': string;
|
|
47
|
+
'pisell2.text.lastname': string;
|
|
48
|
+
'pisell2.text.firstname': string;
|
|
49
|
+
'pisell2.text.email-error-message': string;
|
|
50
|
+
'pisell2.text.notes': string;
|
|
51
|
+
'pisell2.text.save': string;
|
|
52
|
+
'pisell2.text.save-and-select': string;
|
|
53
|
+
'pisell2.text.no-results-found': string;
|
|
54
|
+
'pisell2.text.create-new-client': string;
|
|
55
|
+
'pisell2.text.result-found': string;
|
|
56
|
+
'pisell2.text.personnel-list': string;
|
|
57
|
+
'pisell2.text.add-client.confirm': string;
|
|
58
|
+
'pisell2.text.load-more': string;
|
|
59
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
60
|
+
'pisell2.text.create': string;
|
|
61
|
+
'pisell2.text.loading': string;
|
|
62
|
+
'pisell2.text.no-more-data': string;
|
|
63
|
+
'pisell2.text.client-search.name': string;
|
|
64
|
+
'pisell2.text.client-search.register-time': string;
|
|
65
|
+
'pisell2.text.client-search.phone': string;
|
|
66
|
+
'pisell2.text.client-search.email': string;
|
|
67
|
+
'pisell2.text.client-search.membership': string;
|
|
68
|
+
'pisell2.text.client-search.contact-info': string;
|
|
69
|
+
};
|
|
70
|
+
'zh-HK': {
|
|
71
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
72
|
+
'pisell2.text.date-year-text': string;
|
|
73
|
+
'pisell2.text.date-month-text': string;
|
|
74
|
+
'pisell2.text.date-day-text': string;
|
|
75
|
+
'pisell2.text.gender': string;
|
|
76
|
+
'pisell2.text.gender.male': string;
|
|
77
|
+
'pisell2.text.gender.female': string;
|
|
78
|
+
'pisell2.text.birthday': string;
|
|
79
|
+
'pisell2.text.phone': string;
|
|
80
|
+
'pisell2.text.email': string;
|
|
81
|
+
'pisell2.text.lastname': string;
|
|
82
|
+
'pisell2.text.firstname': string;
|
|
83
|
+
'pisell2.text.email-error-message': string;
|
|
84
|
+
'pisell2.text.notes': string;
|
|
85
|
+
'pisell2.text.save': string;
|
|
86
|
+
'pisell2.text.save-and-select': string;
|
|
87
|
+
'pisell2.text.no-results-found': string;
|
|
88
|
+
'pisell2.text.create-new-client': string;
|
|
89
|
+
'pisell2.text.result-found': string;
|
|
90
|
+
'pisell2.text.personnel-list': string;
|
|
91
|
+
'pisell2.text.add-client.confirm': string;
|
|
92
|
+
'pisell2.text.load-more': string;
|
|
93
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
94
|
+
'pisell2.text.create': string;
|
|
95
|
+
'pisell2.text.loading': string;
|
|
96
|
+
'pisell2.text.no-more-data': string;
|
|
97
|
+
'pisell2.text.client-search.name': string;
|
|
98
|
+
'pisell2.text.client-search.register-time': string;
|
|
99
|
+
'pisell2.text.client-search.phone': string;
|
|
100
|
+
'pisell2.text.client-search.email': string;
|
|
101
|
+
'pisell2.text.client-search.membership': string;
|
|
102
|
+
'pisell2.text.client-search.contact-info': string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
export default _default;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface ClientData {
|
|
3
|
+
id: number;
|
|
4
|
+
display_name: string;
|
|
5
|
+
created_at: string;
|
|
6
|
+
phone: string;
|
|
7
|
+
email: string;
|
|
8
|
+
channel: string;
|
|
9
|
+
country_calling_code: string;
|
|
10
|
+
nickname: string;
|
|
11
|
+
shop_id: number;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
contacts_info: {
|
|
14
|
+
value: {
|
|
15
|
+
first_name?: string;
|
|
16
|
+
last_name?: string;
|
|
17
|
+
phone?: {
|
|
18
|
+
phone?: string;
|
|
19
|
+
country_calling_code?: string;
|
|
20
|
+
country_code?: string;
|
|
21
|
+
};
|
|
22
|
+
email?: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface ClientSearchProps {
|
|
27
|
+
dataSource?: any;
|
|
28
|
+
isShowScanner?: boolean;
|
|
29
|
+
isShowCamera?: boolean;
|
|
30
|
+
isShowNFC?: boolean;
|
|
31
|
+
isShowNewButton?: boolean;
|
|
32
|
+
newButtonAlign?: 'left' | 'center' | 'right';
|
|
33
|
+
newButtonText?: string;
|
|
34
|
+
renderType?: 'modal' | 'drawer' | 'portal' | '';
|
|
35
|
+
containerProps?: Record<string, any>;
|
|
36
|
+
isShowSearch?: boolean;
|
|
37
|
+
isShowSearchCamera?: boolean;
|
|
38
|
+
searchIcon?: string;
|
|
39
|
+
placeholder?: string;
|
|
40
|
+
isShowSearchButton?: boolean;
|
|
41
|
+
resultSort?: 'asc' | 'desc' | 'custom';
|
|
42
|
+
sortBy?: string;
|
|
43
|
+
style?: React.CSSProperties;
|
|
44
|
+
onChange?: (value: string) => void;
|
|
45
|
+
onSearch?: (value: string) => void;
|
|
46
|
+
onAdd?: () => void;
|
|
47
|
+
onDataChange?: (data: any) => void;
|
|
48
|
+
onRowClick?: (record: ClientData, index: number) => void;
|
|
49
|
+
}
|
|
50
|
+
export interface ClientFormData {
|
|
51
|
+
display_name: string;
|
|
52
|
+
phone?: string;
|
|
53
|
+
email?: string;
|
|
54
|
+
nickname?: string;
|
|
55
|
+
}
|
|
56
|
+
export interface ClientSearchState {
|
|
57
|
+
modalVisible: boolean;
|
|
58
|
+
loading: boolean;
|
|
59
|
+
searchResults: ClientData[];
|
|
60
|
+
searchValue: string;
|
|
61
|
+
}
|
|
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
|
|
|
3
3
|
import './index.less';
|
|
4
4
|
declare const MemberPrice: ({ props }: {
|
|
5
5
|
props: ProductCardConfig;
|
|
6
|
-
}) => string | number | true |
|
|
6
|
+
}) => string | number | true | JSX.Element | React.ReactFragment | null;
|
|
7
7
|
export default MemberPrice;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* 媒体轮播项
|
|
4
|
+
* @description 媒体展示区的轮播内容配置
|
|
5
|
+
*/
|
|
6
|
+
export interface CarouselItem {
|
|
7
|
+
/** 内容类型:图片或视频 */
|
|
8
|
+
type: 'image' | 'video' | 'logo';
|
|
9
|
+
/** 资源URL */
|
|
10
|
+
url: string;
|
|
11
|
+
/** 背景颜色 */
|
|
12
|
+
backgroundColor?: string;
|
|
13
|
+
/** logo样式 */
|
|
14
|
+
logoStyle?: React.CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 媒体配置
|
|
18
|
+
* @description 媒体展示区域的配置
|
|
19
|
+
*/
|
|
20
|
+
export interface MediaConfig {
|
|
21
|
+
/** 轮播内容列表(图片/视频) */
|
|
22
|
+
carouselItems?: CarouselItem[];
|
|
23
|
+
/** 默认Logo(当无轮播时显示) */
|
|
24
|
+
logo?: string;
|
|
25
|
+
/** 品牌标语 */
|
|
26
|
+
slogan?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* 视频播放状态
|
|
30
|
+
*/
|
|
31
|
+
export declare type VideoPlayState = 'idle' | 'playing' | 'paused' | 'ended' | 'error';
|
|
32
|
+
/**
|
|
33
|
+
* MediaDisplay 媒体展示组件 Props
|
|
34
|
+
*/
|
|
35
|
+
export interface MediaDisplayProps {
|
|
36
|
+
/** 品牌配置 */
|
|
37
|
+
config?: MediaConfig;
|
|
38
|
+
/** 自定义类名 */
|
|
39
|
+
className?: string;
|
|
40
|
+
/** 是否全屏模式 */
|
|
41
|
+
fullscreen?: boolean;
|
|
42
|
+
/** 视频是否静音,默认 true */
|
|
43
|
+
muted?: boolean;
|
|
44
|
+
/** 视频是否循环播放,默认 false */
|
|
45
|
+
loop?: boolean;
|
|
46
|
+
/** 视频播放结束回调 */
|
|
47
|
+
onVideoEnded?: () => void;
|
|
48
|
+
/** 视频播放状态变化回调 */
|
|
49
|
+
onVideoStateChange?: (state: VideoPlayState) => void;
|
|
50
|
+
/** 是否可以关闭(用于控制视频结束后是否允许关闭) */
|
|
51
|
+
canClose?: boolean;
|
|
52
|
+
/** 关闭回调(视频结束且 canClose 为 true 时触发) */
|
|
53
|
+
onClose?: () => void;
|
|
54
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WebPosLogin 组件国际化文本
|
|
3
|
+
* @description 支持 en、zh-CN、zh-HK 三种语言
|
|
4
|
+
*/
|
|
5
|
+
declare const _default: {
|
|
6
|
+
en: {
|
|
7
|
+
'webpos-login-search': string;
|
|
8
|
+
'webpos-login-back': string;
|
|
9
|
+
'webpos-login-last-used': string;
|
|
10
|
+
'webpos-login-select-store-title': string;
|
|
11
|
+
'webpos-login-select-store-empty': string;
|
|
12
|
+
'webpos-login-change-account': string;
|
|
13
|
+
'webpos-login-store-data-missing': string;
|
|
14
|
+
'webpos-login-select-device-title': string;
|
|
15
|
+
'webpos-login-select-device-empty': string;
|
|
16
|
+
'webpos-login-change-store': string;
|
|
17
|
+
'webpos-login-device-not-in-use': string;
|
|
18
|
+
'webpos-login-device-currently-used-by': string;
|
|
19
|
+
};
|
|
20
|
+
'zh-CN': {
|
|
21
|
+
'webpos-login-search': string;
|
|
22
|
+
'webpos-login-back': string;
|
|
23
|
+
'webpos-login-last-used': string;
|
|
24
|
+
'webpos-login-select-store-title': string;
|
|
25
|
+
'webpos-login-select-store-empty': string;
|
|
26
|
+
'webpos-login-change-account': string;
|
|
27
|
+
'webpos-login-store-data-missing': string;
|
|
28
|
+
'webpos-login-select-device-title': string;
|
|
29
|
+
'webpos-login-select-device-empty': string;
|
|
30
|
+
'webpos-login-change-store': string;
|
|
31
|
+
'webpos-login-device-not-in-use': string;
|
|
32
|
+
'webpos-login-device-currently-used-by': string;
|
|
33
|
+
};
|
|
34
|
+
'zh-HK': {
|
|
35
|
+
'webpos-login-search': string;
|
|
36
|
+
'webpos-login-back': string;
|
|
37
|
+
'webpos-login-last-used': string;
|
|
38
|
+
'webpos-login-select-store-title': string;
|
|
39
|
+
'webpos-login-select-store-empty': string;
|
|
40
|
+
'webpos-login-change-account': string;
|
|
41
|
+
'webpos-login-store-data-missing': string;
|
|
42
|
+
'webpos-login-select-device-title': string;
|
|
43
|
+
'webpos-login-select-device-empty': string;
|
|
44
|
+
'webpos-login-change-store': string;
|
|
45
|
+
'webpos-login-device-not-in-use': string;
|
|
46
|
+
'webpos-login-device-currently-used-by': string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export default _default;
|