@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,170 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
/** 排序子项(如 从低到高 / 从高到低),用于 getSortItems 返回值 */
|
|
3
|
+
export interface SortOptionItemCompat {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
/** 排序列表项:type 由 Sort 内置生成子项;getSortItems 则完全自定义子项,与 RecordBoard Sort 约定一致 */
|
|
8
|
+
export interface SortListItemCompat {
|
|
9
|
+
name?: string | string[];
|
|
10
|
+
label?: string;
|
|
11
|
+
/** 排序类型,有 getSortItems 时可省略 */
|
|
12
|
+
type?: 'date' | 'string' | 'number' | 'option';
|
|
13
|
+
isCustom?: boolean;
|
|
14
|
+
columnKey?: string;
|
|
15
|
+
localFilter?: boolean;
|
|
16
|
+
isHidden?: boolean;
|
|
17
|
+
/** 自定义排序子项,优先于 type */
|
|
18
|
+
getSortItems?: (fieldKey: string) => SortOptionItemCompat[];
|
|
19
|
+
}
|
|
20
|
+
/** 筛选列表项:与 RecordBoard / PisellFilter 使用的 FilterItemProps 形状兼容 */
|
|
21
|
+
export interface FilterItemPropsCompat {
|
|
22
|
+
type: 'single' | 'input' | 'datePicker' | 'rangePicker' | 'rangePickerNew' | 'search' | 'custom';
|
|
23
|
+
key: string;
|
|
24
|
+
name?: string | string[];
|
|
25
|
+
label?: string;
|
|
26
|
+
props?: Record<string, any>;
|
|
27
|
+
other?: Record<string, any>;
|
|
28
|
+
isCustom?: boolean;
|
|
29
|
+
columnKey?: string;
|
|
30
|
+
isHidden?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/** 筛选默认值:quickFilter / otherFilter 为筛项列表,values 为表单值 */
|
|
33
|
+
export interface FilterDefaultValueCompat {
|
|
34
|
+
quickFilter?: FilterItemPropsCompat[];
|
|
35
|
+
otherFilter?: FilterItemPropsCompat[];
|
|
36
|
+
values?: Record<string, any>;
|
|
37
|
+
}
|
|
38
|
+
/** ToolBar 内筛选配置:defaultFilterValue 提供筛项与初始值 */
|
|
39
|
+
export interface RecordBoardToolBarFilterCompat {
|
|
40
|
+
hiddenQuickFilter?: boolean;
|
|
41
|
+
hiddenOtherFilter?: boolean;
|
|
42
|
+
defaultFilterValue?: FilterDefaultValueCompat;
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}
|
|
45
|
+
/** ToolBar 内排序配置:list 为排序项数组 */
|
|
46
|
+
export interface RecordBoardToolBarSortCompat {
|
|
47
|
+
list?: SortListItemCompat[];
|
|
48
|
+
placement?: 'bottom' | 'bottomLeft' | 'bottomRight' | 'top' | 'topLeft' | 'topRight';
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
}
|
|
51
|
+
/** ToolBar 内快速筛选配置:filterList 覆盖列派生的快筛列表 */
|
|
52
|
+
export interface RecordBoardToolBarQuickFilterCompat {
|
|
53
|
+
filterList?: FilterItemPropsCompat[];
|
|
54
|
+
formFiltersPrefix?: string;
|
|
55
|
+
size?: 'small' | 'middle' | 'large';
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
}
|
|
58
|
+
/** ToolBar 透传配置:与 RecordBoardToolBarProps 对齐,供 perspective.childComponentProps.toolBar 使用 */
|
|
59
|
+
export interface RecordBoardToolBarPropsCompat {
|
|
60
|
+
className?: string;
|
|
61
|
+
style?: CSSProperties;
|
|
62
|
+
tabs?: ReactNode;
|
|
63
|
+
topLeft?: ReactNode;
|
|
64
|
+
topRight?: ReactNode;
|
|
65
|
+
bottomLeft?: ReactNode;
|
|
66
|
+
bottomRight?: ReactNode;
|
|
67
|
+
/** 搜索:true 默认 PisellFind;对象透传 props;false 不渲染 */
|
|
68
|
+
search?: boolean | Record<string, any>;
|
|
69
|
+
/** 筛选:true 默认 PisellFilter;对象可传 defaultFilterValue 等;false 不渲染 */
|
|
70
|
+
filter?: boolean | RecordBoardToolBarFilterCompat;
|
|
71
|
+
/** 排序:true 默认由列派生;对象可传 list、placement;false 不渲染 */
|
|
72
|
+
sort?: boolean | RecordBoardToolBarSortCompat;
|
|
73
|
+
/** 快速筛选:true 用列派生;对象可传 filterList 等 */
|
|
74
|
+
quickFilter?: boolean | RecordBoardToolBarQuickFilterCompat;
|
|
75
|
+
/** 列设置入口;默认 true */
|
|
76
|
+
columnSetting?: boolean;
|
|
77
|
+
}
|
|
78
|
+
/** Grid 透传配置:与 RecordBoardGridProps 对齐,多选由 SalesGrid 合并后传入 */
|
|
79
|
+
export interface RecordBoardGridPropsCompat {
|
|
80
|
+
/** 列配置;列上可设 hidden: true 表示默认隐藏,与 defaultHiddenColumnKeys 合并由 RecordBoard 初始化列显隐 */
|
|
81
|
+
columns?: any[];
|
|
82
|
+
/** 默认隐藏的列 key 列表(对应 columns 的 key 或 dataIndex),与列上 hidden: true 合并后由 RecordBoard 初始化列显隐 */
|
|
83
|
+
defaultHiddenColumnKeys?: string[];
|
|
84
|
+
/** 当前页某列全同值/全空时隐藏该列并在表格上方展示总结区;默认 true,传 false 可关闭 */
|
|
85
|
+
collapseUniformColumns?: boolean;
|
|
86
|
+
/** 表格滚动,与 RecordBoard grid.scroll 对齐(含 autoCalc、scrollToFirstRowOnChange) */
|
|
87
|
+
scroll?: {
|
|
88
|
+
x?: number | string;
|
|
89
|
+
y?: number | string;
|
|
90
|
+
autoCalc?: boolean;
|
|
91
|
+
scrollToFirstRowOnChange?: boolean;
|
|
92
|
+
};
|
|
93
|
+
/** 表格尺寸 */
|
|
94
|
+
size?: 'small' | 'middle' | 'default';
|
|
95
|
+
/** 其余为 antd Table 透传(onRow、onHeaderRow、expandable、rowClassName、summary 等) */
|
|
96
|
+
[key: string]: any;
|
|
97
|
+
}
|
|
98
|
+
/** 与 RecordBoard 打散子组件配置兼容;grid 会与多选(selectedKeys/selectedRows/onSelectionChange)合并后传给 RecordBoard */
|
|
99
|
+
export interface RecordBoardChildComponentPropsCompat {
|
|
100
|
+
/** 搜索配置,透传 PisellFind */
|
|
101
|
+
search?: Record<string, any>;
|
|
102
|
+
/** 工具栏配置:sort / filter / quickFilter 等 */
|
|
103
|
+
toolBar?: RecordBoardToolBarPropsCompat;
|
|
104
|
+
/** 分页组件透传配置 */
|
|
105
|
+
pagination?: Record<string, any>;
|
|
106
|
+
/** Grid 配置:columns、defaultHiddenColumnKeys、scroll、及 Table 透传 */
|
|
107
|
+
grid?: RecordBoardGridPropsCompat;
|
|
108
|
+
/** 卡片列表配置(card 布局时) */
|
|
109
|
+
cardList?: Record<string, any>;
|
|
110
|
+
/** 批量操作栏配置 */
|
|
111
|
+
batchActionBar?: Record<string, any>;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* 列渲染覆盖项:当视角的 grid.columns 中某列的 type 与此 type 一致时,使用此 render 替代该列默认渲染再传给 RecordBoard。
|
|
115
|
+
*/
|
|
116
|
+
export interface SalesGridColumnRenderer {
|
|
117
|
+
/** 与列配置的 type 匹配(如 'currency'、'singleSelect') */
|
|
118
|
+
type: string;
|
|
119
|
+
/** 自定义列单元格渲染 */
|
|
120
|
+
render: (value: any, record: any, index: number) => ReactNode;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Perspective 运行时上下文:由 PisellSalesGrid 在运行时构建,
|
|
124
|
+
* 传入 perspective 的 getChildComponentProps 工厂函数,
|
|
125
|
+
* 使 columns / onRow / toolBar 等配置可访问刷新列表等运行时能力。
|
|
126
|
+
*/
|
|
127
|
+
export interface SalesGridRuntimeContext {
|
|
128
|
+
/** 重新请求当前列表数据(同步触发) */
|
|
129
|
+
refresh: () => void;
|
|
130
|
+
/** 重新请求当前列表数据(返回 Promise) */
|
|
131
|
+
refreshAsync: () => Promise<any>;
|
|
132
|
+
/** 当前激活的 perspective key */
|
|
133
|
+
currentPerspective: string;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* 单个 Perspective 配置:对应一组 RecordBoard 的展示配置(列、工具栏等)。
|
|
137
|
+
* 多个 Perspective 可对应同一数据源的不同展示方式。仅支持表格(Grid)布局。
|
|
138
|
+
*
|
|
139
|
+
* 支持两种配置方式(二选一):
|
|
140
|
+
* 1. **静态配置** — 直接提供 childComponentProps,适用于不依赖运行时 API 的场景。
|
|
141
|
+
* 2. **工厂配置** — 提供 getChildComponentProps(ctx),接收运行时上下文后返回配置,
|
|
142
|
+
* 适用于 columns / onRow 等需要调用 refresh / refreshAsync 的场景。
|
|
143
|
+
* 当 getChildComponentProps 存在时,其返回值将作为最终配置(忽略 childComponentProps)。
|
|
144
|
+
*/
|
|
145
|
+
export interface SalesGridPerspectiveConfig {
|
|
146
|
+
/** Perspective 唯一标识,与 currentPerspective 对应 */
|
|
147
|
+
key: string;
|
|
148
|
+
/** Perspective 展示名称(可选,供外部展示用) */
|
|
149
|
+
label?: string;
|
|
150
|
+
/** 该 Perspective 下 RecordBoard 子组件透传配置(grid.columns、toolBar、pagination 等) */
|
|
151
|
+
childComponentProps?: RecordBoardChildComponentPropsCompat;
|
|
152
|
+
/**
|
|
153
|
+
* 工厂函数:接收运行时上下文,返回最终的子组件透传配置。
|
|
154
|
+
* 当此字段存在时,PisellSalesGrid 会调用此函数获取配置,childComponentProps 将被忽略。
|
|
155
|
+
*/
|
|
156
|
+
getChildComponentProps?: (ctx: SalesGridRuntimeContext) => RecordBoardChildComponentPropsCompat;
|
|
157
|
+
}
|
|
158
|
+
export interface PisellSalesGridProps {
|
|
159
|
+
/** Perspective 数据:一组 RecordBoard 配置,支持配置多个 Perspective */
|
|
160
|
+
perspectives: SalesGridPerspectiveConfig[];
|
|
161
|
+
/** 当前 Perspective:对应 perspectives[].key,决定使用哪个 Perspective 的配置渲染 RecordBoard */
|
|
162
|
+
currentPerspective: string;
|
|
163
|
+
/** 自定义类名 */
|
|
164
|
+
className?: string;
|
|
165
|
+
/** 自定义样式 */
|
|
166
|
+
style?: CSSProperties;
|
|
167
|
+
extParams?: Record<string, any>;
|
|
168
|
+
/** 实例 id,透传 RecordBoard 用于列显隐持久化(localStorage,与 @pisell/utils getComponentStorageKey 规则一致) */
|
|
169
|
+
__id?: string;
|
|
170
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const getBookingStatusMap: () => Record<string, string>;
|
|
2
3
|
export declare const BOOKING_STATUS_COLOR_MAP: Record<string, string>;
|
|
3
4
|
export declare const getBookingPlatformMap: () => Record<string, string>;
|
|
@@ -19,7 +20,7 @@ export declare const getFilterButtonList: () => ({
|
|
|
19
20
|
}[];
|
|
20
21
|
minInputNumberProps?: undefined;
|
|
21
22
|
maxInputNumberProps?: undefined;
|
|
22
|
-
|
|
23
|
+
component?: undefined;
|
|
23
24
|
isSearchServer?: undefined;
|
|
24
25
|
showSearch?: undefined;
|
|
25
26
|
showTime?: undefined;
|
|
@@ -45,7 +46,7 @@ export declare const getFilterButtonList: () => ({
|
|
|
45
46
|
mode?: undefined;
|
|
46
47
|
maxTagCount?: undefined;
|
|
47
48
|
options?: undefined;
|
|
48
|
-
|
|
49
|
+
component?: undefined;
|
|
49
50
|
isSearchServer?: undefined;
|
|
50
51
|
showSearch?: undefined;
|
|
51
52
|
showTime?: undefined;
|
|
@@ -90,7 +91,7 @@ export declare const getFilterButtonList: () => ({
|
|
|
90
91
|
options: () => Promise<any>;
|
|
91
92
|
minInputNumberProps?: undefined;
|
|
92
93
|
maxInputNumberProps?: undefined;
|
|
93
|
-
|
|
94
|
+
component?: undefined;
|
|
94
95
|
isSearchServer?: undefined;
|
|
95
96
|
showSearch?: undefined;
|
|
96
97
|
showTime?: undefined;
|
|
@@ -110,7 +111,7 @@ export declare const getFilterButtonList: () => ({
|
|
|
110
111
|
options?: undefined;
|
|
111
112
|
minInputNumberProps?: undefined;
|
|
112
113
|
maxInputNumberProps?: undefined;
|
|
113
|
-
|
|
114
|
+
component?: undefined;
|
|
114
115
|
isSearchServer?: undefined;
|
|
115
116
|
showSearch?: undefined;
|
|
116
117
|
showTime?: undefined;
|
|
@@ -132,7 +133,7 @@ export declare const getFilterButtonList: () => ({
|
|
|
132
133
|
maxTagCount?: undefined;
|
|
133
134
|
minInputNumberProps?: undefined;
|
|
134
135
|
maxInputNumberProps?: undefined;
|
|
135
|
-
|
|
136
|
+
component?: undefined;
|
|
136
137
|
showTime?: undefined;
|
|
137
138
|
};
|
|
138
139
|
sort?: undefined;
|
|
@@ -151,7 +152,7 @@ export declare const getFilterButtonList: () => ({
|
|
|
151
152
|
options?: undefined;
|
|
152
153
|
minInputNumberProps?: undefined;
|
|
153
154
|
maxInputNumberProps?: undefined;
|
|
154
|
-
|
|
155
|
+
component?: undefined;
|
|
155
156
|
isSearchServer?: undefined;
|
|
156
157
|
showSearch?: undefined;
|
|
157
158
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const Tag: any;
|
|
2
|
+
export declare const formatAmount: (value: any, currencySymbol?: string) => string;
|
|
3
|
+
export declare const getDisplayLines: (items: Array<string | undefined | null>) => (string | null | undefined)[];
|
|
4
|
+
export declare const textStyles: {
|
|
5
|
+
text: {
|
|
6
|
+
fontSize: number;
|
|
7
|
+
color: string;
|
|
8
|
+
lineHeight: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const formatDateTime: (value?: string) => string;
|
|
12
|
+
export declare const buildDateTime: (date?: string, time?: string) => string;
|
|
13
|
+
export declare const normalizeList: (value: any) => any[];
|
|
14
|
+
export declare const parseJson: (value: any) => any;
|
|
15
|
+
export declare const formatPhone: (value: any, countryCallingCode?: any) => string;
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.salesManagement.business.online_store': string;
|
|
4
|
+
'pisell2.salesManagement.business.ticket_order': string;
|
|
5
|
+
'pisell2.salesManagement.business.appointment_booking': string;
|
|
6
|
+
'pisell2.salesManagement.sort.balanceDue': string;
|
|
7
|
+
'pisell2.salesManagement.sort.oldestFirst': string;
|
|
8
|
+
'pisell2.salesManagement.sort.newestFirst': string;
|
|
9
|
+
'pisell2.salesManagement.sort.latestFirst': string;
|
|
10
|
+
'pisell2.salesManagement.booking.column.bookingBrief': string;
|
|
11
|
+
'pisell2.salesManagement.booking.column.serviceTime': string;
|
|
12
|
+
'pisell2.salesManagement.booking.column.customer': string;
|
|
13
|
+
'pisell2.salesManagement.booking.column.contact': string;
|
|
14
|
+
'pisell2.salesManagement.booking.column.holder': string;
|
|
15
|
+
'pisell2.salesManagement.booking.column.services': string;
|
|
16
|
+
'pisell2.salesManagement.booking.column.pax': string;
|
|
17
|
+
'pisell2.salesManagement.booking.column.resource': string;
|
|
18
|
+
'pisell2.salesManagement.booking.column.forms': string;
|
|
19
|
+
'pisell2.salesManagement.booking.column.orderInfo': string;
|
|
20
|
+
'pisell2.salesManagement.booking.column.bookingId': string;
|
|
21
|
+
'pisell2.salesManagement.booking.column.orderOrigin': string;
|
|
22
|
+
'pisell2.salesManagement.booking.column.updated': string;
|
|
23
|
+
'pisell2.salesManagement.booking.status.new': string;
|
|
24
|
+
'pisell2.salesManagement.booking.status.confirmed': string;
|
|
25
|
+
'pisell2.salesManagement.booking.status.arrived': string;
|
|
26
|
+
'pisell2.salesManagement.booking.status.started': string;
|
|
27
|
+
'pisell2.salesManagement.booking.status.cancelled': string;
|
|
28
|
+
'pisell2.salesManagement.booking.status.no_show': string;
|
|
29
|
+
'pisell2.salesManagement.booking.status.completed': string;
|
|
30
|
+
'pisell2.salesManagement.booking.platform.online_store': string;
|
|
31
|
+
'pisell2.salesManagement.booking.platform.wholesalebusiness': string;
|
|
32
|
+
'pisell2.salesManagement.booking.platform.table-order': string;
|
|
33
|
+
'pisell2.salesManagement.booking.platform.mobile_order': string;
|
|
34
|
+
'pisell2.salesManagement.booking.platform.kiosk': string;
|
|
35
|
+
'pisell2.salesManagement.booking.platform.pos': string;
|
|
36
|
+
'pisell2.salesManagement.booking.view-more': string;
|
|
37
|
+
'pisell2.salesManagement.booking.common.orderNote': string;
|
|
38
|
+
'pisell2.salesManagement.booking.common.internalNote': string;
|
|
39
|
+
'pisell2.salesManagement.booking.common.more': string;
|
|
40
|
+
'pisell2.salesManagement.booking.common.createdBy': string;
|
|
41
|
+
'pisell2.salesManagement.booking.notes.title': string;
|
|
42
|
+
'pisell2.salesManagement.booking.notes.orderNotes': string;
|
|
43
|
+
'pisell2.salesManagement.booking.notes.internalNotes': string;
|
|
44
|
+
'pisell2.salesManagement.booking.notes.addOrderNotes': string;
|
|
45
|
+
'pisell2.salesManagement.booking.notes.addInternalNotes': string;
|
|
46
|
+
'pisell2.salesManagement.booking.notes.internalVisibleOnlyTip': string;
|
|
47
|
+
'pisell2.salesManagement.booking.filter.bookingStatus.label': string;
|
|
48
|
+
'pisell2.salesManagement.booking.filter.bookingStatus.placeholder': string;
|
|
49
|
+
'pisell2.salesManagement.booking.filter.bookingDate.label': string;
|
|
50
|
+
'pisell2.salesManagement.booking.filter.bookingDate.placeholder': string;
|
|
51
|
+
'pisell2.salesManagement.booking.filter.holder.label': string;
|
|
52
|
+
'pisell2.salesManagement.booking.filter.holder.placeholder': string;
|
|
53
|
+
'pisell2.salesManagement.booking.filter.paxRange.label': string;
|
|
54
|
+
'pisell2.salesManagement.booking.filter.paxRange.placeholder': string;
|
|
55
|
+
'pisell2.salesManagement.booking.filter.resource.label': string;
|
|
56
|
+
'pisell2.salesManagement.booking.filter.resource.placeholder': string;
|
|
57
|
+
'pisell2.salesManagement.booking.filter.resource.none': string;
|
|
58
|
+
'pisell2.salesManagement.booking.filter.salesChannel.label': string;
|
|
59
|
+
'pisell2.salesManagement.booking.filter.salesChannel.placeholder': string;
|
|
60
|
+
'pisell2.salesManagement.booking.filter.orderAmount.label': string;
|
|
61
|
+
'pisell2.salesManagement.booking.filter.orderAmount.placeholder': string;
|
|
62
|
+
'pisell2.salesManagement.booking.filter.orderStatus.label': string;
|
|
63
|
+
'pisell2.salesManagement.booking.filter.orderStatus.placeholder': string;
|
|
64
|
+
'pisell2.salesManagement.booking.filter.paymentStatus.label': string;
|
|
65
|
+
'pisell2.salesManagement.booking.filter.paymentStatus.placeholder': string;
|
|
66
|
+
'pisell2.salesManagement.booking.filter.customer.label': string;
|
|
67
|
+
'pisell2.salesManagement.booking.filter.customer.placeholder': string;
|
|
68
|
+
'pisell2.salesManagement.booking.filter.includeItems.label': string;
|
|
69
|
+
'pisell2.salesManagement.booking.filter.includeItems.placeholder': string;
|
|
70
|
+
'pisell2.salesManagement.booking.filter.paymentMethod.label': string;
|
|
71
|
+
'pisell2.salesManagement.booking.filter.paymentMethod.placeholder': string;
|
|
72
|
+
'pisell2.salesManagement.booking.filter.orderDate.label': string;
|
|
73
|
+
'pisell2.salesManagement.booking.filter.orderDate.placeholder': string;
|
|
74
|
+
'pisell2.salesManagement.booking.filter.updatedDate.label': string;
|
|
75
|
+
'pisell2.salesManagement.booking.filter.updatedDate.placeholder': string;
|
|
76
|
+
'pisell2.salesManagement.booking.sort.afterExecutionTime': string;
|
|
77
|
+
'pisell2.salesManagement.booking.sort.startAt': string;
|
|
78
|
+
'pisell2.salesManagement.booking.sort.endAt': string;
|
|
79
|
+
'pisell2.salesManagement.booking.sort.createdAt': string;
|
|
80
|
+
'pisell2.salesManagement.booking.sort.updatedAt': string;
|
|
81
|
+
'pisell2.salesManagement.booking.sort.totalAmount': string;
|
|
82
|
+
'pisell2.salesManagement.booking.sort.refundedAmount': string;
|
|
83
|
+
'pisell2.salesManagement.booking.sort.customerName': string;
|
|
84
|
+
'pisell2.salesManagement.order.column.saleBrief': string;
|
|
85
|
+
'pisell2.salesManagement.order.column.customer': string;
|
|
86
|
+
'pisell2.salesManagement.order.column.contact': string;
|
|
87
|
+
'pisell2.salesManagement.order.column.paymentInfo': string;
|
|
88
|
+
'pisell2.salesManagement.order.column.items': string;
|
|
89
|
+
'pisell2.salesManagement.order.column.paymentStatus': string;
|
|
90
|
+
'pisell2.salesManagement.order.column.orderOrigin': string;
|
|
91
|
+
'pisell2.salesManagement.order.column.shippingMethod': string;
|
|
92
|
+
'pisell2.salesManagement.order.column.orderStatus': string;
|
|
93
|
+
'pisell2.salesManagement.order.column.fulfillmentStatus': string;
|
|
94
|
+
'pisell2.salesManagement.order.column.updated': string;
|
|
95
|
+
'pisell2.salesManagement.order.column.orderId': string;
|
|
96
|
+
'pisell2.salesManagement.order.common.orderNote': string;
|
|
97
|
+
'pisell2.salesManagement.order.common.internalNote': string;
|
|
98
|
+
'pisell2.salesManagement.order.common.createdBy': string;
|
|
99
|
+
'pisell2.salesManagement.order.common.guest': string;
|
|
100
|
+
'pisell2.salesManagement.order.common.walkIn': string;
|
|
101
|
+
};
|
|
102
|
+
'zh-CN': {
|
|
103
|
+
'pisell2.salesManagement.business.online_store': string;
|
|
104
|
+
'pisell2.salesManagement.business.ticket_order': string;
|
|
105
|
+
'pisell2.salesManagement.business.appointment_booking': string;
|
|
106
|
+
'pisell2.salesManagement.sort.balanceDue': string;
|
|
107
|
+
'pisell2.salesManagement.sort.oldestFirst': string;
|
|
108
|
+
'pisell2.salesManagement.sort.newestFirst': string;
|
|
109
|
+
'pisell2.salesManagement.sort.latestFirst': string;
|
|
110
|
+
'pisell2.salesManagement.booking.column.bookingBrief': string;
|
|
111
|
+
'pisell2.salesManagement.booking.column.serviceTime': string;
|
|
112
|
+
'pisell2.salesManagement.booking.column.customer': string;
|
|
113
|
+
'pisell2.salesManagement.booking.column.contact': string;
|
|
114
|
+
'pisell2.salesManagement.booking.column.holder': string;
|
|
115
|
+
'pisell2.salesManagement.booking.column.services': string;
|
|
116
|
+
'pisell2.salesManagement.booking.column.pax': string;
|
|
117
|
+
'pisell2.salesManagement.booking.column.resource': string;
|
|
118
|
+
'pisell2.salesManagement.booking.column.forms': string;
|
|
119
|
+
'pisell2.salesManagement.booking.column.orderInfo': string;
|
|
120
|
+
'pisell2.salesManagement.booking.column.bookingId': string;
|
|
121
|
+
'pisell2.salesManagement.booking.column.orderOrigin': string;
|
|
122
|
+
'pisell2.salesManagement.booking.column.updated': string;
|
|
123
|
+
'pisell2.salesManagement.booking.status.new': string;
|
|
124
|
+
'pisell2.salesManagement.booking.status.confirmed': string;
|
|
125
|
+
'pisell2.salesManagement.booking.status.arrived': string;
|
|
126
|
+
'pisell2.salesManagement.booking.status.started': string;
|
|
127
|
+
'pisell2.salesManagement.booking.status.cancelled': string;
|
|
128
|
+
'pisell2.salesManagement.booking.status.no_show': string;
|
|
129
|
+
'pisell2.salesManagement.booking.status.completed': string;
|
|
130
|
+
'pisell2.salesManagement.booking.platform.online_store': string;
|
|
131
|
+
'pisell2.salesManagement.booking.platform.wholesalebusiness': string;
|
|
132
|
+
'pisell2.salesManagement.booking.platform.table-order': string;
|
|
133
|
+
'pisell2.salesManagement.booking.platform.mobile_order': string;
|
|
134
|
+
'pisell2.salesManagement.booking.platform.kiosk': string;
|
|
135
|
+
'pisell2.salesManagement.booking.platform.pos': string;
|
|
136
|
+
'pisell2.salesManagement.booking.common.orderNote': string;
|
|
137
|
+
'pisell2.salesManagement.booking.common.internalNote': string;
|
|
138
|
+
'pisell2.salesManagement.booking.view-more': string;
|
|
139
|
+
'pisell2.salesManagement.booking.common.more': string;
|
|
140
|
+
'pisell2.salesManagement.booking.common.createdBy': string;
|
|
141
|
+
'pisell2.salesManagement.booking.notes.title': string;
|
|
142
|
+
'pisell2.salesManagement.booking.notes.orderNotes': string;
|
|
143
|
+
'pisell2.salesManagement.booking.notes.internalNotes': string;
|
|
144
|
+
'pisell2.salesManagement.booking.notes.addOrderNotes': string;
|
|
145
|
+
'pisell2.salesManagement.booking.notes.addInternalNotes': string;
|
|
146
|
+
'pisell2.salesManagement.booking.notes.internalVisibleOnlyTip': string;
|
|
147
|
+
'pisell2.salesManagement.booking.filter.bookingStatus.label': string;
|
|
148
|
+
'pisell2.salesManagement.booking.filter.bookingStatus.placeholder': string;
|
|
149
|
+
'pisell2.salesManagement.booking.filter.bookingDate.label': string;
|
|
150
|
+
'pisell2.salesManagement.booking.filter.bookingDate.placeholder': string;
|
|
151
|
+
'pisell2.salesManagement.booking.filter.holder.label': string;
|
|
152
|
+
'pisell2.salesManagement.booking.filter.holder.placeholder': string;
|
|
153
|
+
'pisell2.salesManagement.booking.filter.paxRange.label': string;
|
|
154
|
+
'pisell2.salesManagement.booking.filter.paxRange.placeholder': string;
|
|
155
|
+
'pisell2.salesManagement.booking.filter.resource.label': string;
|
|
156
|
+
'pisell2.salesManagement.booking.filter.resource.placeholder': string;
|
|
157
|
+
'pisell2.salesManagement.booking.filter.resource.none': string;
|
|
158
|
+
'pisell2.salesManagement.booking.filter.salesChannel.label': string;
|
|
159
|
+
'pisell2.salesManagement.booking.filter.salesChannel.placeholder': string;
|
|
160
|
+
'pisell2.salesManagement.booking.filter.orderAmount.label': string;
|
|
161
|
+
'pisell2.salesManagement.booking.filter.orderAmount.placeholder': string;
|
|
162
|
+
'pisell2.salesManagement.booking.filter.orderStatus.label': string;
|
|
163
|
+
'pisell2.salesManagement.booking.filter.orderStatus.placeholder': string;
|
|
164
|
+
'pisell2.salesManagement.booking.filter.paymentStatus.label': string;
|
|
165
|
+
'pisell2.salesManagement.booking.filter.paymentStatus.placeholder': string;
|
|
166
|
+
'pisell2.salesManagement.booking.filter.customer.label': string;
|
|
167
|
+
'pisell2.salesManagement.booking.filter.customer.placeholder': string;
|
|
168
|
+
'pisell2.salesManagement.booking.filter.includeItems.label': string;
|
|
169
|
+
'pisell2.salesManagement.booking.filter.includeItems.placeholder': string;
|
|
170
|
+
'pisell2.salesManagement.booking.filter.paymentMethod.label': string;
|
|
171
|
+
'pisell2.salesManagement.booking.filter.paymentMethod.placeholder': string;
|
|
172
|
+
'pisell2.salesManagement.booking.filter.orderDate.label': string;
|
|
173
|
+
'pisell2.salesManagement.booking.filter.orderDate.placeholder': string;
|
|
174
|
+
'pisell2.salesManagement.booking.filter.updatedDate.label': string;
|
|
175
|
+
'pisell2.salesManagement.booking.filter.updatedDate.placeholder': string;
|
|
176
|
+
'pisell2.salesManagement.booking.sort.afterExecutionTime': string;
|
|
177
|
+
'pisell2.salesManagement.booking.sort.startAt': string;
|
|
178
|
+
'pisell2.salesManagement.booking.sort.endAt': string;
|
|
179
|
+
'pisell2.salesManagement.booking.sort.createdAt': string;
|
|
180
|
+
'pisell2.salesManagement.booking.sort.updatedAt': string;
|
|
181
|
+
'pisell2.salesManagement.booking.sort.totalAmount': string;
|
|
182
|
+
'pisell2.salesManagement.booking.sort.refundedAmount': string;
|
|
183
|
+
'pisell2.salesManagement.booking.sort.customerName': string;
|
|
184
|
+
'pisell2.salesManagement.order.column.saleBrief': string;
|
|
185
|
+
'pisell2.salesManagement.order.column.customer': string;
|
|
186
|
+
'pisell2.salesManagement.order.column.contact': string;
|
|
187
|
+
'pisell2.salesManagement.order.column.paymentInfo': string;
|
|
188
|
+
'pisell2.salesManagement.order.column.items': string;
|
|
189
|
+
'pisell2.salesManagement.order.column.paymentStatus': string;
|
|
190
|
+
'pisell2.salesManagement.order.column.orderOrigin': string;
|
|
191
|
+
'pisell2.salesManagement.order.column.shippingMethod': string;
|
|
192
|
+
'pisell2.salesManagement.order.column.orderStatus': string;
|
|
193
|
+
'pisell2.salesManagement.order.column.fulfillmentStatus': string;
|
|
194
|
+
'pisell2.salesManagement.order.column.updated': string;
|
|
195
|
+
'pisell2.salesManagement.order.column.orderId': string;
|
|
196
|
+
'pisell2.salesManagement.order.common.orderNote': string;
|
|
197
|
+
'pisell2.salesManagement.order.common.internalNote': string;
|
|
198
|
+
'pisell2.salesManagement.order.common.createdBy': string;
|
|
199
|
+
'pisell2.salesManagement.order.common.guest': string;
|
|
200
|
+
'pisell2.salesManagement.order.common.walkIn': string;
|
|
201
|
+
};
|
|
202
|
+
'zh-HK': {
|
|
203
|
+
'pisell2.salesManagement.business.online_store': string;
|
|
204
|
+
'pisell2.salesManagement.business.ticket_order': string;
|
|
205
|
+
'pisell2.salesManagement.business.appointment_booking': string;
|
|
206
|
+
'pisell2.salesManagement.sort.balanceDue': string;
|
|
207
|
+
'pisell2.salesManagement.sort.oldestFirst': string;
|
|
208
|
+
'pisell2.salesManagement.sort.newestFirst': string;
|
|
209
|
+
'pisell2.salesManagement.sort.latestFirst': string;
|
|
210
|
+
'pisell2.salesManagement.booking.column.bookingBrief': string;
|
|
211
|
+
'pisell2.salesManagement.booking.column.serviceTime': string;
|
|
212
|
+
'pisell2.salesManagement.booking.column.customer': string;
|
|
213
|
+
'pisell2.salesManagement.booking.column.contact': string;
|
|
214
|
+
'pisell2.salesManagement.booking.column.holder': string;
|
|
215
|
+
'pisell2.salesManagement.booking.column.services': string;
|
|
216
|
+
'pisell2.salesManagement.booking.column.pax': string;
|
|
217
|
+
'pisell2.salesManagement.booking.column.resource': string;
|
|
218
|
+
'pisell2.salesManagement.booking.column.forms': string;
|
|
219
|
+
'pisell2.salesManagement.booking.column.orderInfo': string;
|
|
220
|
+
'pisell2.salesManagement.booking.column.bookingId': string;
|
|
221
|
+
'pisell2.salesManagement.booking.column.orderOrigin': string;
|
|
222
|
+
'pisell2.salesManagement.booking.column.updated': string;
|
|
223
|
+
'pisell2.salesManagement.booking.status.new': string;
|
|
224
|
+
'pisell2.salesManagement.booking.status.confirmed': string;
|
|
225
|
+
'pisell2.salesManagement.booking.status.arrived': string;
|
|
226
|
+
'pisell2.salesManagement.booking.status.started': string;
|
|
227
|
+
'pisell2.salesManagement.booking.status.cancelled': string;
|
|
228
|
+
'pisell2.salesManagement.booking.status.no_show': string;
|
|
229
|
+
'pisell2.salesManagement.booking.status.completed': string;
|
|
230
|
+
'pisell2.salesManagement.booking.platform.online_store': string;
|
|
231
|
+
'pisell2.salesManagement.booking.platform.wholesalebusiness': string;
|
|
232
|
+
'pisell2.salesManagement.booking.platform.table-order': string;
|
|
233
|
+
'pisell2.salesManagement.booking.platform.mobile_order': string;
|
|
234
|
+
'pisell2.salesManagement.booking.platform.kiosk': string;
|
|
235
|
+
'pisell2.salesManagement.booking.platform.pos': string;
|
|
236
|
+
'pisell2.salesManagement.booking.common.orderNote': string;
|
|
237
|
+
'pisell2.salesManagement.booking.common.internalNote': string;
|
|
238
|
+
'pisell2.salesManagement.booking.view-more': string;
|
|
239
|
+
'pisell2.salesManagement.booking.common.more': string;
|
|
240
|
+
'pisell2.salesManagement.booking.common.createdBy': string;
|
|
241
|
+
'pisell2.salesManagement.booking.notes.title': string;
|
|
242
|
+
'pisell2.salesManagement.booking.notes.orderNotes': string;
|
|
243
|
+
'pisell2.salesManagement.booking.notes.internalNotes': string;
|
|
244
|
+
'pisell2.salesManagement.booking.notes.addOrderNotes': string;
|
|
245
|
+
'pisell2.salesManagement.booking.notes.addInternalNotes': string;
|
|
246
|
+
'pisell2.salesManagement.booking.notes.internalVisibleOnlyTip': string;
|
|
247
|
+
'pisell2.salesManagement.booking.filter.bookingStatus.label': string;
|
|
248
|
+
'pisell2.salesManagement.booking.filter.bookingStatus.placeholder': string;
|
|
249
|
+
'pisell2.salesManagement.booking.filter.bookingDate.label': string;
|
|
250
|
+
'pisell2.salesManagement.booking.filter.bookingDate.placeholder': string;
|
|
251
|
+
'pisell2.salesManagement.booking.filter.holder.label': string;
|
|
252
|
+
'pisell2.salesManagement.booking.filter.holder.placeholder': string;
|
|
253
|
+
'pisell2.salesManagement.booking.filter.paxRange.label': string;
|
|
254
|
+
'pisell2.salesManagement.booking.filter.paxRange.placeholder': string;
|
|
255
|
+
'pisell2.salesManagement.booking.filter.resource.label': string;
|
|
256
|
+
'pisell2.salesManagement.booking.filter.resource.placeholder': string;
|
|
257
|
+
'pisell2.salesManagement.booking.filter.resource.none': string;
|
|
258
|
+
'pisell2.salesManagement.booking.filter.salesChannel.label': string;
|
|
259
|
+
'pisell2.salesManagement.booking.filter.salesChannel.placeholder': string;
|
|
260
|
+
'pisell2.salesManagement.booking.filter.orderAmount.label': string;
|
|
261
|
+
'pisell2.salesManagement.booking.filter.orderAmount.placeholder': string;
|
|
262
|
+
'pisell2.salesManagement.booking.filter.orderStatus.label': string;
|
|
263
|
+
'pisell2.salesManagement.booking.filter.orderStatus.placeholder': string;
|
|
264
|
+
'pisell2.salesManagement.booking.filter.paymentStatus.label': string;
|
|
265
|
+
'pisell2.salesManagement.booking.filter.paymentStatus.placeholder': string;
|
|
266
|
+
'pisell2.salesManagement.booking.filter.customer.label': string;
|
|
267
|
+
'pisell2.salesManagement.booking.filter.customer.placeholder': string;
|
|
268
|
+
'pisell2.salesManagement.booking.filter.includeItems.label': string;
|
|
269
|
+
'pisell2.salesManagement.booking.filter.includeItems.placeholder': string;
|
|
270
|
+
'pisell2.salesManagement.booking.filter.paymentMethod.label': string;
|
|
271
|
+
'pisell2.salesManagement.booking.filter.paymentMethod.placeholder': string;
|
|
272
|
+
'pisell2.salesManagement.booking.filter.orderDate.label': string;
|
|
273
|
+
'pisell2.salesManagement.booking.filter.orderDate.placeholder': string;
|
|
274
|
+
'pisell2.salesManagement.booking.filter.updatedDate.label': string;
|
|
275
|
+
'pisell2.salesManagement.booking.filter.updatedDate.placeholder': string;
|
|
276
|
+
'pisell2.salesManagement.booking.sort.afterExecutionTime': string;
|
|
277
|
+
'pisell2.salesManagement.booking.sort.startAt': string;
|
|
278
|
+
'pisell2.salesManagement.booking.sort.endAt': string;
|
|
279
|
+
'pisell2.salesManagement.booking.sort.createdAt': string;
|
|
280
|
+
'pisell2.salesManagement.booking.sort.updatedAt': string;
|
|
281
|
+
'pisell2.salesManagement.booking.sort.totalAmount': string;
|
|
282
|
+
'pisell2.salesManagement.booking.sort.refundedAmount': string;
|
|
283
|
+
'pisell2.salesManagement.booking.sort.customerName': string;
|
|
284
|
+
'pisell2.salesManagement.order.column.saleBrief': string;
|
|
285
|
+
'pisell2.salesManagement.order.column.customer': string;
|
|
286
|
+
'pisell2.salesManagement.order.column.contact': string;
|
|
287
|
+
'pisell2.salesManagement.order.column.paymentInfo': string;
|
|
288
|
+
'pisell2.salesManagement.order.column.items': string;
|
|
289
|
+
'pisell2.salesManagement.order.column.paymentStatus': string;
|
|
290
|
+
'pisell2.salesManagement.order.column.orderOrigin': string;
|
|
291
|
+
'pisell2.salesManagement.order.column.shippingMethod': string;
|
|
292
|
+
'pisell2.salesManagement.order.column.orderStatus': string;
|
|
293
|
+
'pisell2.salesManagement.order.column.fulfillmentStatus': string;
|
|
294
|
+
'pisell2.salesManagement.order.column.updated': string;
|
|
295
|
+
'pisell2.salesManagement.order.column.orderId': string;
|
|
296
|
+
'pisell2.salesManagement.order.common.orderNote': string;
|
|
297
|
+
'pisell2.salesManagement.order.common.internalNote': string;
|
|
298
|
+
'pisell2.salesManagement.order.common.createdBy': string;
|
|
299
|
+
'pisell2.salesManagement.order.common.guest': string;
|
|
300
|
+
'pisell2.salesManagement.order.common.walkIn': string;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TabsStructureProps, TabListContainerProps, TabItemProps, RailProps, SelectionIndicatorProps, ScrollShadowProps, ChevronControlsProps, ChevronButtonProps } from './types';
|
|
3
|
+
declare global {
|
|
4
|
+
interface WeakRef<T extends object> {
|
|
5
|
+
deref(): T | undefined;
|
|
6
|
+
}
|
|
7
|
+
interface WeakRefConstructor {
|
|
8
|
+
new <T extends object>(target: T): WeakRef<T>;
|
|
9
|
+
}
|
|
10
|
+
const WeakRef: WeakRefConstructor | undefined;
|
|
11
|
+
}
|
|
12
|
+
declare const TabListContainer: React.ForwardRefExoticComponent<Omit<TabListContainerProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
13
|
+
declare const TabItem: React.ForwardRefExoticComponent<Omit<TabItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
declare const Rail: React.ForwardRefExoticComponent<Omit<RailProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
declare const SelectionIndicator: React.ForwardRefExoticComponent<Omit<SelectionIndicatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
declare const ScrollShadow: React.ForwardRefExoticComponent<Omit<ScrollShadowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
declare const ChevronButton: React.ForwardRefExoticComponent<Omit<ChevronButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
18
|
+
declare const ChevronControls: React.FC<ChevronControlsProps>;
|
|
19
|
+
declare type TabsStructureComponent = React.FC<TabsStructureProps> & {
|
|
20
|
+
Rail: typeof Rail;
|
|
21
|
+
ListContainer: typeof TabListContainer;
|
|
22
|
+
Item: typeof TabItem;
|
|
23
|
+
SelectionIndicator: typeof SelectionIndicator;
|
|
24
|
+
ScrollShadow: typeof ScrollShadow;
|
|
25
|
+
ChevronControls: typeof ChevronControls;
|
|
26
|
+
ChevronButton: typeof ChevronButton;
|
|
27
|
+
};
|
|
28
|
+
declare const TabsStructureWithSubComponents: TabsStructureComponent;
|
|
29
|
+
export default TabsStructureWithSubComponents;
|
|
30
|
+
export { TabListContainer, TabItem, Rail, SelectionIndicator, ScrollShadow, ChevronControls, ChevronButton, };
|