@pisell/private-materials 6.3.117 → 6.3.119
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 +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +4 -4
- package/es/components/Sales/Cart/utils.d.ts +68 -0
- package/es/components/Sales/Checkout/utils.d.ts +41 -0
- package/es/components/Sales/Summary/utils.d.ts +58 -0
- package/es/components/appointmentBooking/locales.d.ts +606 -0
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/components/voucher/utils.d.ts +4 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +4 -0
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
- package/es/components/ecocup/components/SearchBar/const.d.ts +4 -0
- package/es/components/ecocup/components/SettingModal/const.d.ts +6 -0
- package/es/components/ecocup/cupList/const.d.ts +140 -0
- package/es/components/ecocup/cupProject/const.d.ts +7 -0
- package/es/components/ecocup/customerList/const.d.ts +44 -0
- package/es/components/ecocup/customerList/hooks/index.d.ts +3 -0
- package/es/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
- package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
- package/es/components/ecocup/hooks.d.ts +57 -0
- package/es/components/ecocup/locales.d.ts +653 -0
- package/es/components/ecocup/types.d.ts +103 -0
- package/es/components/ecocup/utils/download.d.ts +7 -0
- package/es/components/ecocup/utils/index.d.ts +2 -0
- package/es/components/ecocup/utils/scanListener.d.ts +20 -0
- package/es/components/eftpos/const.d.ts +64 -0
- package/es/components/eftpos/hooks.d.ts +34 -0
- package/es/components/eftpos/locales.d.ts +163 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/const.d.ts +186 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/locales.d.ts +572 -0
- package/es/components/eftposPay/manufacturer.d.ts +7 -0
- package/es/components/eftposPay/store/index.d.ts +358 -0
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +61 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentList/utils.d.ts +36 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
- package/es/components/pay/toC/locales.d.ts +626 -0
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/es/components/schedules/locales.d.ts +143 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/shoppingCart/locales.d.ts +53 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/subTotal/locales.d.ts +68 -0
- package/es/components/systemSettings/registry/locales.d.ts +534 -0
- package/es/components/systemSettings/registry/services.d.ts +97 -0
- package/es/components/systemSettings/registry/types.d.ts +140 -0
- package/es/components/taxSelect/locales.d.ts +38 -0
- package/es/components/ticketBooking/locales.d.ts +304 -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/useEngineContext.d.ts +11 -0
- package/es/hooks/useLocale.d.ts +2 -0
- package/es/hooks/usePaymentLogger.d.ts +1 -0
- package/es/hooks/useThemeTokens.d.ts +7 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/es/plus/orderList/config.d.ts +2 -2
- package/es/plus/orderList/locales.d.ts +618 -0
- package/es/plus/pisellSalesGrid/locales.d.ts +9 -0
- package/es/plus/pisellSalesGrid/types.d.ts +170 -0
- package/es/plus/pisellSalesManagement/config/booking.d.ts +7 -6
- package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
- package/es/plus/pisellSalesManagement/locales.d.ts +303 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/saasAttendance/locales.d.ts +591 -0
- package/es/plus/saasAttendance/settings/types.d.ts +136 -0
- package/es/plus/saasTeamMembers/locales.d.ts +546 -0
- package/es/plus/selectHolder/locales.d.ts +35 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.js +10 -3
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.js +6 -2
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.less +20 -7
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.js +7 -10
- package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
- package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
- package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/es/plus/skuOptionsSelection/index.js +2 -1
- package/es/plus/skuOptionsSelection/locales.d.ts +58 -0
- package/es/plus/skuOptionsSelection/locales.js +10 -5
- package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
- package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
- package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
- package/es/plus/skuOptionsSelection/types.d.ts +458 -0
- package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +1 -1
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.js +1 -1
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +19 -6
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +45 -58
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +1 -1
- package/es/plus/walletPassGallery/locales.d.ts +483 -0
- package/es/pro/Cards/components/SKUCard/index.js +5 -2
- package/es/pro/Cards/components/SKUCard/index.less +18 -3
- package/es/pro/Cards/components/SKUCard/locales.d.ts +12 -0
- package/es/pro/Cards/components/SKUCard/types.d.ts +73 -0
- package/es/pro/Login2.0/locales.d.ts +908 -0
- package/es/pro/Login2.0/shared/types.d.ts +234 -0
- package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/es/pro/Selector/Item.d.ts +14 -0
- package/es/pro/Selector/Selector.stories.d.ts +78 -0
- package/es/pro/Selector/components/Card/index.d.ts +57 -0
- package/es/pro/Selector/components/Card/types.d.ts +1 -0
- package/es/pro/Selector/components/Indicator/index.d.ts +20 -0
- package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +18 -0
- package/es/pro/Selector/components/Media/index.d.ts +6 -0
- package/es/pro/Selector/components/Media/types.d.ts +47 -0
- package/es/pro/Selector/components/index.d.ts +4 -0
- package/es/pro/Selector/demo.d.ts +3 -0
- package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/es/pro/Selector/index.d.ts +11 -0
- package/es/pro/Selector/locales.d.ts +58 -0
- package/es/pro/Selector/types.d.ts +223 -0
- package/es/pro/Selector/utils/index.d.ts +49 -0
- package/es/pro/keyboards/locales.d.ts +38 -0
- package/es/pro/keyboards/numberKeyboard/types.d.ts +63 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/test/setup.d.ts +1 -0
- package/lib/components/Sales/Cart/utils.d.ts +68 -0
- package/lib/components/Sales/Checkout/utils.d.ts +41 -0
- package/lib/components/Sales/Summary/utils.d.ts +58 -0
- package/lib/components/appointmentBooking/locales.d.ts +606 -0
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/components/voucher/utils.d.ts +4 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +4 -0
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
- package/lib/components/ecocup/components/SearchBar/const.d.ts +4 -0
- package/lib/components/ecocup/components/SettingModal/const.d.ts +6 -0
- package/lib/components/ecocup/cupList/const.d.ts +140 -0
- package/lib/components/ecocup/cupProject/const.d.ts +7 -0
- package/lib/components/ecocup/customerList/const.d.ts +44 -0
- package/lib/components/ecocup/customerList/hooks/index.d.ts +3 -0
- package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
- package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
- package/lib/components/ecocup/hooks.d.ts +57 -0
- package/lib/components/ecocup/locales.d.ts +653 -0
- package/lib/components/ecocup/types.d.ts +103 -0
- package/lib/components/ecocup/utils/download.d.ts +7 -0
- package/lib/components/ecocup/utils/index.d.ts +2 -0
- package/lib/components/ecocup/utils/scanListener.d.ts +20 -0
- package/lib/components/eftpos/const.d.ts +64 -0
- package/lib/components/eftpos/hooks.d.ts +34 -0
- package/lib/components/eftpos/locales.d.ts +163 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/const.d.ts +186 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/locales.d.ts +572 -0
- package/lib/components/eftposPay/manufacturer.d.ts +7 -0
- package/lib/components/eftposPay/store/index.d.ts +358 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +61 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
- package/lib/components/pay/toC/locales.d.ts +626 -0
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/lib/components/schedules/locales.d.ts +143 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/shoppingCart/locales.d.ts +53 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/subTotal/locales.d.ts +68 -0
- package/lib/components/systemSettings/registry/locales.d.ts +534 -0
- package/lib/components/systemSettings/registry/services.d.ts +97 -0
- package/lib/components/systemSettings/registry/types.d.ts +140 -0
- package/lib/components/taxSelect/locales.d.ts +38 -0
- package/lib/components/ticketBooking/locales.d.ts +304 -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/useEngineContext.d.ts +11 -0
- package/lib/hooks/useLocale.d.ts +2 -0
- package/lib/hooks/usePaymentLogger.d.ts +1 -0
- package/lib/hooks/useThemeTokens.d.ts +7 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/lib/plus/orderList/config.d.ts +2 -2
- package/lib/plus/orderList/locales.d.ts +618 -0
- package/lib/plus/pisellSalesGrid/locales.d.ts +9 -0
- package/lib/plus/pisellSalesGrid/types.d.ts +170 -0
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +7 -6
- package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
- package/lib/plus/pisellSalesManagement/locales.d.ts +303 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/saasAttendance/locales.d.ts +591 -0
- package/lib/plus/saasAttendance/settings/types.d.ts +136 -0
- package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
- package/lib/plus/selectHolder/locales.d.ts +35 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.js +15 -9
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.js +3 -3
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.less +20 -7
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.js +7 -7
- package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/index.js +2 -1
- package/lib/plus/skuOptionsSelection/locales.d.ts +58 -0
- package/lib/plus/skuOptionsSelection/locales.js +10 -5
- package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
- package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/types.d.ts +458 -0
- package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +1 -1
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.js +1 -1
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +15 -4
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +39 -54
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +1 -1
- package/lib/plus/walletPassGallery/locales.d.ts +483 -0
- package/lib/pro/Cards/components/SKUCard/index.js +4 -7
- package/lib/pro/Cards/components/SKUCard/index.less +18 -3
- package/lib/pro/Cards/components/SKUCard/locales.d.ts +12 -0
- package/lib/pro/Cards/components/SKUCard/types.d.ts +73 -0
- package/lib/pro/Login2.0/locales.d.ts +908 -0
- package/lib/pro/Login2.0/shared/types.d.ts +234 -0
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/lib/pro/Selector/Item.d.ts +14 -0
- package/lib/pro/Selector/Selector.stories.d.ts +78 -0
- package/lib/pro/Selector/components/Card/index.d.ts +57 -0
- package/lib/pro/Selector/components/Card/types.d.ts +1 -0
- package/lib/pro/Selector/components/Indicator/index.d.ts +20 -0
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +18 -0
- package/lib/pro/Selector/components/Media/index.d.ts +6 -0
- package/lib/pro/Selector/components/Media/types.d.ts +47 -0
- package/lib/pro/Selector/components/index.d.ts +4 -0
- package/lib/pro/Selector/demo.d.ts +3 -0
- package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/lib/pro/Selector/index.d.ts +11 -0
- package/lib/pro/Selector/locales.d.ts +58 -0
- package/lib/pro/Selector/types.d.ts +223 -0
- package/lib/pro/Selector/utils/index.d.ts +49 -0
- package/lib/pro/keyboards/locales.d.ts +38 -0
- package/lib/pro/keyboards/numberKeyboard/types.d.ts +63 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/test/setup.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface MultiLanguageText {
|
|
3
|
+
en: string;
|
|
4
|
+
'zh-CN': string;
|
|
5
|
+
'zh-HK': string;
|
|
6
|
+
'ja': string;
|
|
7
|
+
'pt': string;
|
|
8
|
+
original: string;
|
|
9
|
+
}
|
|
10
|
+
export interface BaseItem {
|
|
11
|
+
id: number;
|
|
12
|
+
name: string | MultiLanguageText;
|
|
13
|
+
code: string;
|
|
14
|
+
order?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface SettingItem extends BaseItem {
|
|
17
|
+
key?: string;
|
|
18
|
+
scopes?: string[];
|
|
19
|
+
groupId?: number;
|
|
20
|
+
group_id?: number;
|
|
21
|
+
fieldType?: string;
|
|
22
|
+
type?: string;
|
|
23
|
+
interfaceType?: string;
|
|
24
|
+
interface?: string;
|
|
25
|
+
description?: string | MultiLanguageText;
|
|
26
|
+
systemDefaultValue?: string;
|
|
27
|
+
default?: string;
|
|
28
|
+
schema?: any;
|
|
29
|
+
title?: string | MultiLanguageText;
|
|
30
|
+
sort: number;
|
|
31
|
+
created_at?: string | null;
|
|
32
|
+
updated_at?: string | null;
|
|
33
|
+
deleted_at?: string | null;
|
|
34
|
+
}
|
|
35
|
+
export interface SettingGroup extends BaseItem {
|
|
36
|
+
items: SettingItem[];
|
|
37
|
+
expanded?: boolean;
|
|
38
|
+
sort: number;
|
|
39
|
+
}
|
|
40
|
+
export interface Section extends BaseItem {
|
|
41
|
+
icon?: string;
|
|
42
|
+
description?: string | MultiLanguageText;
|
|
43
|
+
groups: SettingGroup[];
|
|
44
|
+
created_at?: string | null;
|
|
45
|
+
updated_at?: string | null;
|
|
46
|
+
deleted_at?: string | null;
|
|
47
|
+
}
|
|
48
|
+
export interface TreeNode {
|
|
49
|
+
key: string;
|
|
50
|
+
type: 'group' | 'item';
|
|
51
|
+
data: SettingGroup | SettingItem;
|
|
52
|
+
children?: TreeNode[];
|
|
53
|
+
parentKey?: string;
|
|
54
|
+
}
|
|
55
|
+
export declare type OperationType = 'add' | 'edit' | 'delete';
|
|
56
|
+
export interface DragItem {
|
|
57
|
+
id: number;
|
|
58
|
+
type: 'group' | 'item';
|
|
59
|
+
groupId?: number;
|
|
60
|
+
}
|
|
61
|
+
export interface RegistryProps {
|
|
62
|
+
className?: string;
|
|
63
|
+
style?: CSSProperties;
|
|
64
|
+
sections?: Section[];
|
|
65
|
+
selectedSectionId?: number;
|
|
66
|
+
onSectionSelect?: (sectionId: number) => void;
|
|
67
|
+
onDataChange?: (sections: Section[]) => void;
|
|
68
|
+
}
|
|
69
|
+
export interface SectionListProps {
|
|
70
|
+
sections: Section[];
|
|
71
|
+
selectedSectionId?: number;
|
|
72
|
+
onSectionSelect: (sectionId: number) => void;
|
|
73
|
+
loading?: boolean;
|
|
74
|
+
hasMore?: boolean;
|
|
75
|
+
onLoadMore?: () => void;
|
|
76
|
+
}
|
|
77
|
+
export interface SettingsTableProps {
|
|
78
|
+
section?: Section;
|
|
79
|
+
groupList?: SettingGroup[];
|
|
80
|
+
groupLoading?: boolean;
|
|
81
|
+
onDataChange?: (section: Section) => void;
|
|
82
|
+
onEditGroup?: (group: SettingGroup) => void;
|
|
83
|
+
onDeleteGroup?: (groupId: number) => void;
|
|
84
|
+
onAddItem?: (groupId: number) => void;
|
|
85
|
+
onEditItem?: (item: SettingItem) => void;
|
|
86
|
+
onDeleteItem?: (itemId: number) => void;
|
|
87
|
+
onGroupReorder?: (groupIds: number[]) => void;
|
|
88
|
+
onItemMove?: (itemId: number, targetGroupId: number, newOrder: number) => void;
|
|
89
|
+
}
|
|
90
|
+
export interface GroupFormData {
|
|
91
|
+
title: MultiLanguageText;
|
|
92
|
+
code: string;
|
|
93
|
+
}
|
|
94
|
+
export interface ItemFormData {
|
|
95
|
+
name: MultiLanguageText;
|
|
96
|
+
key: string;
|
|
97
|
+
fieldType: string;
|
|
98
|
+
interfaceType?: string;
|
|
99
|
+
scopes: string[];
|
|
100
|
+
description?: MultiLanguageText;
|
|
101
|
+
default?: string | null;
|
|
102
|
+
schema?: Record<string, any>;
|
|
103
|
+
xDataSource?: {
|
|
104
|
+
type?: string;
|
|
105
|
+
options?: Array<{
|
|
106
|
+
id?: string;
|
|
107
|
+
label: string | MultiLanguageText;
|
|
108
|
+
value: string;
|
|
109
|
+
color?: string;
|
|
110
|
+
}>;
|
|
111
|
+
dataSource?: Record<string, any>;
|
|
112
|
+
extraParams?: string;
|
|
113
|
+
};
|
|
114
|
+
xCustomUiSchema?: string;
|
|
115
|
+
xRecordSchema?: string;
|
|
116
|
+
}
|
|
117
|
+
export interface GroupModalProps {
|
|
118
|
+
open: boolean;
|
|
119
|
+
type: OperationType;
|
|
120
|
+
data?: SettingGroup;
|
|
121
|
+
onOk: (data: GroupFormData) => void | Promise<void>;
|
|
122
|
+
onCancel: () => void;
|
|
123
|
+
}
|
|
124
|
+
export interface ItemModalProps {
|
|
125
|
+
open: boolean;
|
|
126
|
+
type: OperationType;
|
|
127
|
+
data?: SettingItem;
|
|
128
|
+
section?: Section;
|
|
129
|
+
onOk: (data: ItemFormData) => void | Promise<void>;
|
|
130
|
+
onCancel: () => void;
|
|
131
|
+
}
|
|
132
|
+
export interface ApiResponse<T> {
|
|
133
|
+
data: T[];
|
|
134
|
+
meta: {
|
|
135
|
+
count: number;
|
|
136
|
+
page: number;
|
|
137
|
+
pageSize: number;
|
|
138
|
+
totalPage: number;
|
|
139
|
+
};
|
|
140
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.tax-free': string;
|
|
4
|
+
'pisell2.text.custom': string;
|
|
5
|
+
'pisell2.text.cancel': string;
|
|
6
|
+
'pisell2.text.confirm': string;
|
|
7
|
+
'pisell2.text.please-enter': string;
|
|
8
|
+
};
|
|
9
|
+
'zh-CN': {
|
|
10
|
+
'pisell2.text.tax-free': string;
|
|
11
|
+
'pisell2.text.custom': string;
|
|
12
|
+
'pisell2.text.cancel': string;
|
|
13
|
+
'pisell2.text.confirm': string;
|
|
14
|
+
'pisell2.text.please-enter': string;
|
|
15
|
+
};
|
|
16
|
+
'zh-HK': {
|
|
17
|
+
'pisell2.text.tax-free': string;
|
|
18
|
+
'pisell2.text.custom': string;
|
|
19
|
+
'pisell2.text.cancel': string;
|
|
20
|
+
'pisell2.text.confirm': string;
|
|
21
|
+
'pisell2.text.please-enter': string;
|
|
22
|
+
};
|
|
23
|
+
ja: {
|
|
24
|
+
'pisell2.text.tax-free': string;
|
|
25
|
+
'pisell2.text.custom': string;
|
|
26
|
+
'pisell2.text.cancel': string;
|
|
27
|
+
'pisell2.text.confirm': string;
|
|
28
|
+
'pisell2.text.please-enter': string;
|
|
29
|
+
};
|
|
30
|
+
pt: {
|
|
31
|
+
'pisell2.text.tax-free': string;
|
|
32
|
+
'pisell2.text.custom': string;
|
|
33
|
+
'pisell2.text.cancel': string;
|
|
34
|
+
'pisell2.text.confirm': string;
|
|
35
|
+
'pisell2.text.please-enter': string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.ticket-booking.info': string;
|
|
4
|
+
'pisell2.ticket-booking.notes': string;
|
|
5
|
+
'pisell2.ticket-booking.forms': string;
|
|
6
|
+
'pisell2.ticket-booking.sales': string;
|
|
7
|
+
'pisell2.ticket-booking.payment': string;
|
|
8
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
9
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
10
|
+
'pisell2.ticket-booking.go-back': string;
|
|
11
|
+
'pisell2.ticket-booking.exit': string;
|
|
12
|
+
'pisell2.ticket-booking.deposit': string;
|
|
13
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
14
|
+
'pisell2.ticket-booking.no-data': string;
|
|
15
|
+
'pisell2.ticket-booking.authorized': string;
|
|
16
|
+
'pisell2.ticket-booking.paid': string;
|
|
17
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
18
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
19
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
20
|
+
'pisell2.ticket-booking.refunded': string;
|
|
21
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
22
|
+
'pisell2.ticket-booking.voided': string;
|
|
23
|
+
'pisell2.ticket-booking.pending': string;
|
|
24
|
+
'pisell2.ticket-booking.all': string;
|
|
25
|
+
'pisell2.ticket-booking.not-started': string;
|
|
26
|
+
'pisell2.ticket-booking.started': string;
|
|
27
|
+
'pisell2.ticket-booking.finished': string;
|
|
28
|
+
'pisell2.ticket-booking.canceled': string;
|
|
29
|
+
'pisell2.ticket-booking.inform': string;
|
|
30
|
+
'pisell2.ticket-booking.check-management': string;
|
|
31
|
+
'pisell2.ticket-booking.confirm': string;
|
|
32
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
33
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
34
|
+
'pisell2.ticket-booking.full-data': string;
|
|
35
|
+
'pisell2.ticket-booking.today': string;
|
|
36
|
+
'pisell2.ticket-booking.now': string;
|
|
37
|
+
'pisell2.ticket-booking.start-time': string;
|
|
38
|
+
'pisell2.ticket-booking.create-time': string;
|
|
39
|
+
'pisell2.ticket-booking.customer': string;
|
|
40
|
+
'pisell2.ticket-booking.total': string;
|
|
41
|
+
'pisell2.ticket-booking.search': string;
|
|
42
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
43
|
+
'pisell2.ticket-booking.loading': string;
|
|
44
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
45
|
+
'pisell2.ticket-booking.scan': string;
|
|
46
|
+
'pisell2.ticket-booking.create-new': string;
|
|
47
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
48
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
49
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
50
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
51
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
52
|
+
'pisell2.product.card.subtotal': string;
|
|
53
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
54
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
55
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
56
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
57
|
+
"pisell2.ticket-booking.reload": string;
|
|
58
|
+
};
|
|
59
|
+
'zh-CN': {
|
|
60
|
+
'pisell2.ticket-booking.info': string;
|
|
61
|
+
'pisell2.ticket-booking.notes': string;
|
|
62
|
+
'pisell2.ticket-booking.forms': string;
|
|
63
|
+
'pisell2.ticket-booking.sales': string;
|
|
64
|
+
'pisell2.ticket-booking.payment': string;
|
|
65
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
66
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
67
|
+
'pisell2.ticket-booking.go-back': string;
|
|
68
|
+
'pisell2.ticket-booking.exit': string;
|
|
69
|
+
'pisell2.ticket-booking.deposit': string;
|
|
70
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
71
|
+
'pisell2.ticket-booking.no-data': string;
|
|
72
|
+
'pisell2.ticket-booking.authorized': string;
|
|
73
|
+
'pisell2.ticket-booking.paid': string;
|
|
74
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
75
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
76
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
77
|
+
'pisell2.ticket-booking.refunded': string;
|
|
78
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
79
|
+
'pisell2.ticket-booking.voided': string;
|
|
80
|
+
'pisell2.ticket-booking.pending': string;
|
|
81
|
+
'pisell2.ticket-booking.all': string;
|
|
82
|
+
'pisell2.ticket-booking.not-started': string;
|
|
83
|
+
'pisell2.ticket-booking.started': string;
|
|
84
|
+
'pisell2.ticket-booking.finished': string;
|
|
85
|
+
'pisell2.ticket-booking.canceled': string;
|
|
86
|
+
'pisell2.ticket-booking.inform': string;
|
|
87
|
+
'pisell2.ticket-booking.check-management': string;
|
|
88
|
+
'pisell2.ticket-booking.confirm': string;
|
|
89
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
90
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
91
|
+
'pisell2.ticket-booking.full-data': string;
|
|
92
|
+
'pisell2.ticket-booking.today': string;
|
|
93
|
+
'pisell2.ticket-booking.now': string;
|
|
94
|
+
'pisell2.ticket-booking.start-time': string;
|
|
95
|
+
'pisell2.ticket-booking.create-time': string;
|
|
96
|
+
'pisell2.ticket-booking.customer': string;
|
|
97
|
+
'pisell2.ticket-booking.total': string;
|
|
98
|
+
'pisell2.ticket-booking.search': string;
|
|
99
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
100
|
+
'pisell2.ticket-booking.loading': string;
|
|
101
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
102
|
+
'pisell2.ticket-booking.scan': string;
|
|
103
|
+
'pisell2.ticket-booking.create-new': string;
|
|
104
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
105
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
106
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
107
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
108
|
+
'pisell2.product.card.subtotal': string;
|
|
109
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
110
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
111
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
112
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
113
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
114
|
+
"pisell2.ticket-booking.reload": string;
|
|
115
|
+
};
|
|
116
|
+
'zh-HK': {
|
|
117
|
+
'pisell2.ticket-booking.info': string;
|
|
118
|
+
'pisell2.ticket-booking.notes': string;
|
|
119
|
+
'pisell2.ticket-booking.forms': string;
|
|
120
|
+
'pisell2.ticket-booking.sales': string;
|
|
121
|
+
'pisell2.ticket-booking.payment': string;
|
|
122
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
123
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
124
|
+
'pisell2.ticket-booking.go-back': string;
|
|
125
|
+
'pisell2.ticket-booking.exit': string;
|
|
126
|
+
'pisell2.ticket-booking.deposit': string;
|
|
127
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
128
|
+
'pisell2.ticket-booking.no-data': string;
|
|
129
|
+
'pisell2.ticket-booking.authorized': string;
|
|
130
|
+
'pisell2.ticket-booking.paid': string;
|
|
131
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
132
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
133
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
134
|
+
'pisell2.ticket-booking.refunded': string;
|
|
135
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
136
|
+
'pisell2.ticket-booking.voided': string;
|
|
137
|
+
'pisell2.ticket-booking.pending': string;
|
|
138
|
+
'pisell2.ticket-booking.all': string;
|
|
139
|
+
'pisell2.ticket-booking.not-started': string;
|
|
140
|
+
'pisell2.ticket-booking.started': string;
|
|
141
|
+
'pisell2.ticket-booking.finished': string;
|
|
142
|
+
'pisell2.ticket-booking.canceled': string;
|
|
143
|
+
'pisell2.ticket-booking.inform': string;
|
|
144
|
+
'pisell2.ticket-booking.check-management': string;
|
|
145
|
+
'pisell2.ticket-booking.confirm': string;
|
|
146
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
147
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
148
|
+
'pisell2.ticket-booking.full-data': string;
|
|
149
|
+
'pisell2.ticket-booking.today': string;
|
|
150
|
+
'pisell2.ticket-booking.now': string;
|
|
151
|
+
'pisell2.ticket-booking.start-time': string;
|
|
152
|
+
'pisell2.ticket-booking.create-time': string;
|
|
153
|
+
'pisell2.ticket-booking.customer': string;
|
|
154
|
+
'pisell2.ticket-booking.total': string;
|
|
155
|
+
'pisell2.ticket-booking.search': string;
|
|
156
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
157
|
+
'pisell2.ticket-booking.loading': string;
|
|
158
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
159
|
+
'pisell2.ticket-booking.scan': string;
|
|
160
|
+
'pisell2.ticket-booking.create-new': string;
|
|
161
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
162
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
163
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
164
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
165
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
166
|
+
'pisell2.product.card.subtotal': string;
|
|
167
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
168
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
169
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
170
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
171
|
+
"pisell2.ticket-booking.reload": string;
|
|
172
|
+
};
|
|
173
|
+
ja: {
|
|
174
|
+
'pisell2.ticket-booking.info': string;
|
|
175
|
+
'pisell2.ticket-booking.notes': string;
|
|
176
|
+
'pisell2.ticket-booking.note': string;
|
|
177
|
+
'pisell2.ticket-booking.forms': string;
|
|
178
|
+
'pisell2.ticket-booking.sales': string;
|
|
179
|
+
'pisell2.ticket-booking.payment': string;
|
|
180
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
181
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
182
|
+
'pisell2.ticket-booking.go-back': string;
|
|
183
|
+
'pisell2.ticket-booking.exit': string;
|
|
184
|
+
'pisell2.ticket-booking.deposit': string;
|
|
185
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
186
|
+
'pisell2.ticket-booking.no-data': string;
|
|
187
|
+
'pisell2.ticket-booking.authorized': string;
|
|
188
|
+
'pisell2.ticket-booking.paid': string;
|
|
189
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
190
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
191
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
192
|
+
'pisell2.ticket-booking.refunded': string;
|
|
193
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
194
|
+
'pisell2.ticket-booking.voided': string;
|
|
195
|
+
'pisell2.ticket-booking.pending': string;
|
|
196
|
+
'pisell2.ticket-booking.all': string;
|
|
197
|
+
'pisell2.ticket-booking.not-started': string;
|
|
198
|
+
'pisell2.ticket-booking.started': string;
|
|
199
|
+
'pisell2.ticket-booking.finished': string;
|
|
200
|
+
'pisell2.ticket-booking.canceled': string;
|
|
201
|
+
'pisell2.ticket-booking.inform': string;
|
|
202
|
+
'pisell2.ticket-booking.check-management': string;
|
|
203
|
+
'pisell2.ticket-booking.confirm': string;
|
|
204
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
205
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
206
|
+
'pisell2.ticket-booking.full-data': string;
|
|
207
|
+
'pisell2.ticket-booking.today': string;
|
|
208
|
+
'pisell2.ticket-booking.now': string;
|
|
209
|
+
'pisell2.ticket-booking.start-time': string;
|
|
210
|
+
'pisell2.ticket-booking.create-time': string;
|
|
211
|
+
'pisell2.ticket-booking.customer': string;
|
|
212
|
+
'pisell2.ticket-booking.total': string;
|
|
213
|
+
'pisell2.ticket-booking.search': string;
|
|
214
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
215
|
+
'pisell2.ticket-booking.loading': string;
|
|
216
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
217
|
+
'pisell2.ticket-booking.scan': string;
|
|
218
|
+
'pisell2.ticket-booking.create-new': string;
|
|
219
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
220
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
221
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
222
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
223
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
224
|
+
'pisell2.product.card.subtotal': string;
|
|
225
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
226
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
227
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
228
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
229
|
+
'pisell2.ticket-booking.reload': string;
|
|
230
|
+
'pisell2.text.scan-global-failed': string;
|
|
231
|
+
'pisell2.ticket-booking.terminal-upgrade-title': string;
|
|
232
|
+
'pisell2.ticket-booking.terminal-upgrade-description': string;
|
|
233
|
+
'pisell2.ticket-booking.terminal-upgrade-ok': string;
|
|
234
|
+
'pisell2.ticket-booking.terminal-upgrade-cancel': string;
|
|
235
|
+
'pisell2.ticket-booking.collapse': string;
|
|
236
|
+
'pisell2.ticket-booking.expand': string;
|
|
237
|
+
};
|
|
238
|
+
pt: {
|
|
239
|
+
'pisell2.ticket-booking.info': string;
|
|
240
|
+
'pisell2.ticket-booking.notes': string;
|
|
241
|
+
'pisell2.ticket-booking.note': string;
|
|
242
|
+
'pisell2.ticket-booking.forms': string;
|
|
243
|
+
'pisell2.ticket-booking.sales': string;
|
|
244
|
+
'pisell2.ticket-booking.payment': string;
|
|
245
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
246
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
247
|
+
'pisell2.ticket-booking.go-back': string;
|
|
248
|
+
'pisell2.ticket-booking.exit': string;
|
|
249
|
+
'pisell2.ticket-booking.deposit': string;
|
|
250
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
251
|
+
'pisell2.ticket-booking.no-data': string;
|
|
252
|
+
'pisell2.ticket-booking.authorized': string;
|
|
253
|
+
'pisell2.ticket-booking.paid': string;
|
|
254
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
255
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
256
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
257
|
+
'pisell2.ticket-booking.refunded': string;
|
|
258
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
259
|
+
'pisell2.ticket-booking.voided': string;
|
|
260
|
+
'pisell2.ticket-booking.pending': string;
|
|
261
|
+
'pisell2.ticket-booking.all': string;
|
|
262
|
+
'pisell2.ticket-booking.not-started': string;
|
|
263
|
+
'pisell2.ticket-booking.started': string;
|
|
264
|
+
'pisell2.ticket-booking.finished': string;
|
|
265
|
+
'pisell2.ticket-booking.canceled': string;
|
|
266
|
+
'pisell2.ticket-booking.inform': string;
|
|
267
|
+
'pisell2.ticket-booking.check-management': string;
|
|
268
|
+
'pisell2.ticket-booking.confirm': string;
|
|
269
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
270
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
271
|
+
'pisell2.ticket-booking.full-data': string;
|
|
272
|
+
'pisell2.ticket-booking.today': string;
|
|
273
|
+
'pisell2.ticket-booking.now': string;
|
|
274
|
+
'pisell2.ticket-booking.start-time': string;
|
|
275
|
+
'pisell2.ticket-booking.create-time': string;
|
|
276
|
+
'pisell2.ticket-booking.customer': string;
|
|
277
|
+
'pisell2.ticket-booking.total': string;
|
|
278
|
+
'pisell2.ticket-booking.search': string;
|
|
279
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
280
|
+
'pisell2.ticket-booking.loading': string;
|
|
281
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
282
|
+
'pisell2.ticket-booking.scan': string;
|
|
283
|
+
'pisell2.ticket-booking.create-new': string;
|
|
284
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
285
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
286
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
287
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
288
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
289
|
+
'pisell2.product.card.subtotal': string;
|
|
290
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
291
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
292
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
293
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
294
|
+
'pisell2.ticket-booking.reload': string;
|
|
295
|
+
'pisell2.text.scan-global-failed': string;
|
|
296
|
+
'pisell2.ticket-booking.terminal-upgrade-title': string;
|
|
297
|
+
'pisell2.ticket-booking.terminal-upgrade-description': string;
|
|
298
|
+
'pisell2.ticket-booking.terminal-upgrade-ok': string;
|
|
299
|
+
'pisell2.ticket-booking.terminal-upgrade-cancel': string;
|
|
300
|
+
'pisell2.ticket-booking.collapse': string;
|
|
301
|
+
'pisell2.ticket-booking.expand': string;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare type IEngineContext = {
|
|
2
|
+
appHelper: any;
|
|
3
|
+
engine: any;
|
|
4
|
+
blockContext: any;
|
|
5
|
+
components: any;
|
|
6
|
+
pageContext: any;
|
|
7
|
+
};
|
|
8
|
+
declare const useEngineContext: () => IEngineContext;
|
|
9
|
+
export declare const usePisellOS: () => any;
|
|
10
|
+
export declare const usePlatform: () => any;
|
|
11
|
+
export default useEngineContext;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare type NativeProps<S extends string = never> = {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties & Partial<Record<S, string>>;
|
|
6
|
+
};
|
|
7
|
+
declare type PropagationEvent = 'click';
|
|
8
|
+
import './index.less';
|
|
9
|
+
declare type SideType = 'left' | 'right';
|
|
10
|
+
export declare type SwipeActionRef = {
|
|
11
|
+
close: () => void;
|
|
12
|
+
show: (side?: SideType) => void;
|
|
13
|
+
};
|
|
14
|
+
declare type ActionColor = 'light' | 'weak' | 'primary' | 'success' | 'warning' | 'danger';
|
|
15
|
+
export declare type Action = {
|
|
16
|
+
key: string | number;
|
|
17
|
+
text: ReactNode;
|
|
18
|
+
color?: ActionColor | string;
|
|
19
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
};
|
|
22
|
+
export declare type SwipeActionProps = {
|
|
23
|
+
rightActions?: Action[];
|
|
24
|
+
leftActions?: Action[];
|
|
25
|
+
onAction?: (action: Action, e: React.MouseEvent) => void;
|
|
26
|
+
closeOnTouchOutside?: boolean;
|
|
27
|
+
closeOnAction?: boolean;
|
|
28
|
+
children: ReactNode;
|
|
29
|
+
stopPropagation?: PropagationEvent[];
|
|
30
|
+
onActionsReveal?: (side: SideType) => void;
|
|
31
|
+
onClose?: () => void;
|
|
32
|
+
escapeDom?: string;
|
|
33
|
+
} & NativeProps<'--background'>;
|
|
34
|
+
export declare const SwipeAction: React.ForwardRefExoticComponent<{
|
|
35
|
+
rightActions?: Action[] | undefined;
|
|
36
|
+
leftActions?: Action[] | undefined;
|
|
37
|
+
onAction?: ((action: Action, e: React.MouseEvent) => void) | undefined;
|
|
38
|
+
closeOnTouchOutside?: boolean | undefined;
|
|
39
|
+
closeOnAction?: boolean | undefined;
|
|
40
|
+
children: ReactNode;
|
|
41
|
+
stopPropagation?: "click"[] | undefined;
|
|
42
|
+
onActionsReveal?: ((side: SideType) => void) | undefined;
|
|
43
|
+
onClose?: (() => void) | undefined;
|
|
44
|
+
escapeDom?: string | undefined;
|
|
45
|
+
} & NativeProps<"--background"> & React.RefAttributes<SwipeActionRef>>;
|
|
46
|
+
export {};
|
|
@@ -9,7 +9,7 @@ export declare const getTableColumns: (locales: any) => ({
|
|
|
9
9
|
dataIndex: string;
|
|
10
10
|
key: string;
|
|
11
11
|
width: number;
|
|
12
|
-
render: (value: any, record: any) =>
|
|
12
|
+
render: (value: any, record: any) => React.JSX.Element | "-";
|
|
13
13
|
isShow?: undefined;
|
|
14
14
|
} | {
|
|
15
15
|
title: any;
|
|
@@ -38,7 +38,7 @@ export declare const getTableColumns: (locales: any) => ({
|
|
|
38
38
|
key: string;
|
|
39
39
|
isShow: boolean;
|
|
40
40
|
width: number;
|
|
41
|
-
render: (value: any) =>
|
|
41
|
+
render: (value: any) => React.JSX.Element | "-";
|
|
42
42
|
})[];
|
|
43
43
|
export declare const getQuickFilterList: (locales: any) => ({
|
|
44
44
|
name: string;
|