@pisell/private-materials 6.6.46 → 6.6.48
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.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/es/components/appointmentBooking/locales.d.ts +603 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/actionButtons/index.d.ts +31 -0
- package/es/components/booking/components/footer/amount.js +5 -0
- package/es/components/booking/components/voucher/utils.d.ts +5 -0
- package/es/components/booking/editBookingModal/locales.d.ts +33 -0
- package/es/components/booking/editBookingModal/mock.d.ts +991 -0
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/hooks/useQuotation.js +2 -2
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/es/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
- package/es/components/booking/locales.d.ts +1619 -0
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/PaymentModal.d.ts +31 -0
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/es/components/checkout/locales.d.ts +853 -0
- package/es/components/eftpos/locales.d.ts +163 -0
- package/es/components/eftposPay/locales.d.ts +608 -0
- package/es/components/eventBooking/locales.d.ts +408 -0
- package/es/components/list/locales.d.ts +108 -0
- package/es/components/list/utils/getText.d.ts +53 -0
- package/es/components/login/locales.d.ts +38 -0
- package/es/components/pay/toB/locales.d.ts +88 -0
- package/es/components/pay/toC/locales.d.ts +511 -0
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/pinModal/locales.d.ts +43 -0
- package/es/components/pinVerifyModal/locales.d.ts +38 -0
- package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/es/components/productExtension/locales.d.ts +78 -0
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/es/components/productSelect/locales.d.ts +38 -0
- package/es/components/ruleSetting/locales.d.ts +78 -0
- package/es/components/schedules/locales.d.ts +143 -0
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/shoppingCart/locales.d.ts +58 -0
- package/es/components/stepController/locales.d.ts +43 -0
- package/es/components/subTotal/locales.d.ts +68 -0
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/es/components/systemSettings/registry/locales.d.ts +456 -0
- package/es/components/systemSettings/registry/types.d.ts +128 -0
- package/es/components/taxSelect/locales.d.ts +38 -0
- package/es/components/ticketBooking/locales.d.ts +328 -0
- package/es/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/index.d.ts +4 -0
- package/es/components/walletList/locales.d.ts +43 -0
- package/es/components/walletList/types/index.d.ts +196 -0
- package/es/plus/clientCard/index.d.ts +7 -0
- package/es/plus/clientCard/locales.d.ts +28 -0
- package/es/plus/clientCard/types.d.ts +135 -0
- package/es/plus/clinetSearch/locales.d.ts +178 -0
- package/es/plus/contactInfo/locales.d.ts +23 -0
- package/es/plus/contactInfoModal/locales.d.ts +108 -0
- package/es/plus/noteModal/locales.d.ts +53 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
- package/es/plus/productSelect/locales.d.ts +38 -0
- package/es/plus/saasAttendance/index.d.ts +6 -0
- package/es/plus/saasAttendance/locales.d.ts +528 -0
- package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
- package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
- package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
- package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
- package/es/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
- package/es/plus/saasAttendance/settings/components/index.d.ts +3 -0
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
- package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
- package/es/plus/saasAttendance/settings/index.d.ts +18 -0
- package/es/plus/saasAttendance/settings/serve.d.ts +27 -0
- package/es/plus/saasAttendance/settings/types.d.ts +130 -0
- package/es/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/es/plus/saasLogin/locales.d.ts +83 -0
- package/es/plus/saasRegister/locales.d.ts +193 -0
- package/es/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
- package/es/plus/saasRole/index.d.ts +14 -0
- package/es/plus/saasRole/locales.d.ts +319 -0
- package/es/plus/saasRole/serve.d.ts +72 -0
- package/es/plus/saasRole/types.d.ts +177 -0
- package/es/plus/saasRole/utils.d.ts +0 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
- package/es/plus/saasTeamMembers/index.d.ts +5 -0
- package/es/plus/saasTeamMembers/locales.d.ts +546 -0
- package/es/plus/saasTeamMembers/serve.d.ts +95 -0
- package/es/plus/saasTeamMembers/type.d.ts +158 -0
- package/es/plus/selectHolder/locales.d.ts +38 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
- package/es/plus/walletEditor/locales.d.ts +223 -0
- package/es/plus/walletEditor/types.d.ts +54 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
- package/es/plus/walletPassGallery/components/passList/index.d.ts +13 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
- package/es/plus/walletPassGallery/index.d.ts +11 -0
- package/es/plus/walletPassGallery/locales.d.ts +473 -0
- package/es/plus/walletPassGallery/serve.d.ts +245 -0
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Login2.0/locales.d.ts +903 -0
- package/es/pro/Login2.0/shared/types.d.ts +234 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/es/pro/numberKeyboard/locales.d.ts +18 -0
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
- package/es/pro/skuDetailModal/locales.d.ts +78 -0
- package/es/pro/skuDetailModal/types.d.ts +352 -0
- package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/lib/components/appointmentBooking/locales.d.ts +603 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/actionButtons/index.d.ts +31 -0
- package/lib/components/booking/components/footer/amount.js +5 -0
- package/lib/components/booking/components/voucher/utils.d.ts +5 -0
- package/lib/components/booking/editBookingModal/locales.d.ts +33 -0
- package/lib/components/booking/editBookingModal/mock.d.ts +991 -0
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/hooks/useQuotation.js +2 -2
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/lib/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
- package/lib/components/booking/locales.d.ts +1619 -0
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/PaymentModal.d.ts +31 -0
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/lib/components/checkout/locales.d.ts +853 -0
- package/lib/components/eftpos/locales.d.ts +163 -0
- package/lib/components/eftposPay/locales.d.ts +608 -0
- package/lib/components/eventBooking/locales.d.ts +408 -0
- package/lib/components/list/locales.d.ts +108 -0
- package/lib/components/list/utils/getText.d.ts +53 -0
- package/lib/components/login/locales.d.ts +38 -0
- package/lib/components/pay/toB/locales.d.ts +88 -0
- package/lib/components/pay/toC/locales.d.ts +511 -0
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/pinModal/locales.d.ts +43 -0
- package/lib/components/pinVerifyModal/locales.d.ts +38 -0
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/lib/components/productExtension/locales.d.ts +78 -0
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/lib/components/productSelect/locales.d.ts +38 -0
- package/lib/components/ruleSetting/locales.d.ts +78 -0
- package/lib/components/schedules/locales.d.ts +143 -0
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/shoppingCart/locales.d.ts +58 -0
- package/lib/components/stepController/locales.d.ts +43 -0
- package/lib/components/subTotal/locales.d.ts +68 -0
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/locales.d.ts +456 -0
- package/lib/components/systemSettings/registry/types.d.ts +128 -0
- package/lib/components/taxSelect/locales.d.ts +38 -0
- package/lib/components/ticketBooking/locales.d.ts +328 -0
- package/lib/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/index.d.ts +4 -0
- package/lib/components/walletList/locales.d.ts +43 -0
- package/lib/components/walletList/types/index.d.ts +196 -0
- package/lib/plus/clientCard/index.d.ts +7 -0
- package/lib/plus/clientCard/locales.d.ts +28 -0
- package/lib/plus/clientCard/types.d.ts +135 -0
- package/lib/plus/clinetSearch/locales.d.ts +178 -0
- package/lib/plus/contactInfo/locales.d.ts +23 -0
- package/lib/plus/contactInfoModal/locales.d.ts +108 -0
- package/lib/plus/noteModal/locales.d.ts +53 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
- package/lib/plus/productSelect/locales.d.ts +38 -0
- package/lib/plus/saasAttendance/index.d.ts +6 -0
- package/lib/plus/saasAttendance/locales.d.ts +528 -0
- package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
- package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
- package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
- package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
- package/lib/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
- package/lib/plus/saasAttendance/settings/components/index.d.ts +3 -0
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
- package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
- package/lib/plus/saasAttendance/settings/index.d.ts +18 -0
- package/lib/plus/saasAttendance/settings/serve.d.ts +27 -0
- package/lib/plus/saasAttendance/settings/types.d.ts +130 -0
- package/lib/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/lib/plus/saasLogin/locales.d.ts +83 -0
- package/lib/plus/saasRegister/locales.d.ts +193 -0
- package/lib/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
- package/lib/plus/saasRole/index.d.ts +14 -0
- package/lib/plus/saasRole/locales.d.ts +319 -0
- package/lib/plus/saasRole/serve.d.ts +72 -0
- package/lib/plus/saasRole/types.d.ts +177 -0
- package/lib/plus/saasRole/utils.d.ts +0 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
- package/lib/plus/saasTeamMembers/index.d.ts +5 -0
- package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
- package/lib/plus/saasTeamMembers/serve.d.ts +95 -0
- package/lib/plus/saasTeamMembers/type.d.ts +158 -0
- package/lib/plus/selectHolder/locales.d.ts +38 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
- package/lib/plus/walletEditor/locales.d.ts +223 -0
- package/lib/plus/walletEditor/types.d.ts +54 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +13 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
- package/lib/plus/walletPassGallery/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/locales.d.ts +473 -0
- package/lib/plus/walletPassGallery/serve.d.ts +245 -0
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Login2.0/locales.d.ts +903 -0
- package/lib/pro/Login2.0/shared/types.d.ts +234 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/lib/pro/numberKeyboard/locales.d.ts +18 -0
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
- package/lib/pro/skuDetailModal/locales.d.ts +78 -0
- package/lib/pro/skuDetailModal/types.d.ts +352 -0
- package/package.json +4 -4
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
-
state: FormState;
|
|
5
|
-
} & {
|
|
6
|
-
dispatch: (params: {
|
|
7
|
-
type: string;
|
|
8
|
-
payload: any;
|
|
9
|
-
}) => void;
|
|
10
|
-
}>;
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -4,6 +4,6 @@ declare const useSendModal: (bookingId?: number) => {
|
|
|
4
4
|
setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
5
5
|
handleOpen: () => void;
|
|
6
6
|
handleValuesChange: (val: any) => void;
|
|
7
|
-
handleOk: (values: SendModalValues) => Promise<
|
|
7
|
+
handleOk: (values: SendModalValues) => Promise<boolean | undefined>;
|
|
8
8
|
};
|
|
9
9
|
export default useSendModal;
|
|
@@ -31,7 +31,7 @@ var formatBundleItemMap = function formatBundleItemMap(product) {
|
|
|
31
31
|
}, {});
|
|
32
32
|
};
|
|
33
33
|
var formatVariantItemMap = function formatVariantItemMap(product) {
|
|
34
|
-
return ((product === null || product === void 0 ? void 0 : product.variants) || []).reduce(function (pre, cur) {
|
|
34
|
+
return ((product === null || product === void 0 ? void 0 : product.variant) || (product === null || product === void 0 ? void 0 : product.variants) || []).reduce(function (pre, cur) {
|
|
35
35
|
pre[cur.id] = cur;
|
|
36
36
|
return pre;
|
|
37
37
|
}, {});
|
|
@@ -165,7 +165,7 @@ var setNewCartValue = function setNewCartValue(cartValue, newProducts) {
|
|
|
165
165
|
price: price,
|
|
166
166
|
base_price: newProduct.base_price,
|
|
167
167
|
_extend: _objectSpread(_objectSpread({}, item._extend), {}, {
|
|
168
|
-
price:
|
|
168
|
+
price: price,
|
|
169
169
|
// total: newProduct.total,
|
|
170
170
|
bundle_edit: isBundleChange ? 1 : item._extend.bundle_edit,
|
|
171
171
|
other: _objectSpread(_objectSpread({}, item._extend.other), {}, {
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FormState } from '../model';
|
|
3
1
|
export declare const walkInData: {
|
|
4
2
|
id: number;
|
|
5
3
|
nickname: string;
|
|
6
4
|
};
|
|
7
|
-
export declare const Provider:
|
|
8
|
-
state: FormState;
|
|
9
|
-
} & {
|
|
10
|
-
dispatch: (params: {
|
|
11
|
-
type: string;
|
|
12
|
-
payload: any;
|
|
13
|
-
}) => void;
|
|
14
|
-
}>;
|
|
5
|
+
export declare const Provider: any, Context: any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.switch-account': string;
|
|
4
|
+
'pisell2.text.cancel': string;
|
|
5
|
+
'pisell2.text.cart-client-card': (name: string) => string;
|
|
6
|
+
'pisell2.text.add-client-success': string;
|
|
7
|
+
};
|
|
8
|
+
'zh-CN': {
|
|
9
|
+
'pisell2.text.switch-account': string;
|
|
10
|
+
'pisell2.text.cancel': string;
|
|
11
|
+
'pisell2.text.cart-client-card': (name: string) => string;
|
|
12
|
+
'pisell2.text.add-client-success': string;
|
|
13
|
+
};
|
|
14
|
+
'zh-HK': {
|
|
15
|
+
'pisell2.text.switch-account': string;
|
|
16
|
+
'pisell2.text.cancel': string;
|
|
17
|
+
'pisell2.text.cart-client-card': (name: string) => string;
|
|
18
|
+
'pisell2.text.add-client-success': string;
|
|
19
|
+
};
|
|
20
|
+
ja: {
|
|
21
|
+
'pisell2.text.switch-account': string;
|
|
22
|
+
'pisell2.text.cancel': string;
|
|
23
|
+
'pisell2.text.cart-client-card': (name: string) => string;
|
|
24
|
+
'pisell2.text.add-client-success': string;
|
|
25
|
+
};
|
|
26
|
+
pt: {
|
|
27
|
+
'pisell2.text.switch-account': string;
|
|
28
|
+
'pisell2.text.cancel': string;
|
|
29
|
+
'pisell2.text.cart-client-card': (name: string) => string;
|
|
30
|
+
'pisell2.text.add-client-success': string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
id: number;
|
|
3
|
+
shop_id: number;
|
|
4
|
+
source_shop_id: number;
|
|
5
|
+
extension_id: number;
|
|
6
|
+
extension_type: string;
|
|
7
|
+
title: string;
|
|
8
|
+
slug: string;
|
|
9
|
+
title_letter: string;
|
|
10
|
+
category_letter: string;
|
|
11
|
+
vendor_letter: string;
|
|
12
|
+
tag_letter: string;
|
|
13
|
+
subtitle: string;
|
|
14
|
+
description: string;
|
|
15
|
+
cover: string;
|
|
16
|
+
price: string;
|
|
17
|
+
original_price: string;
|
|
18
|
+
cost_price: string;
|
|
19
|
+
sort_price: string;
|
|
20
|
+
is_gst: number;
|
|
21
|
+
is_delivery: number;
|
|
22
|
+
weight_unit: string;
|
|
23
|
+
weight_value: string;
|
|
24
|
+
code: string;
|
|
25
|
+
barcode: string;
|
|
26
|
+
unit: string;
|
|
27
|
+
is_track: number;
|
|
28
|
+
stock_quantity: number;
|
|
29
|
+
sum_stock: number;
|
|
30
|
+
sales_quantity: number;
|
|
31
|
+
order_sales_quantity: number;
|
|
32
|
+
over_sold: number;
|
|
33
|
+
status: string;
|
|
34
|
+
sell_status: number;
|
|
35
|
+
published_time: string;
|
|
36
|
+
shop_update_time: string;
|
|
37
|
+
audit_time: null;
|
|
38
|
+
is_recommend: number;
|
|
39
|
+
audit_status: string;
|
|
40
|
+
shop_status: string;
|
|
41
|
+
weight: number;
|
|
42
|
+
sort: number;
|
|
43
|
+
type: string;
|
|
44
|
+
channel_application: string[];
|
|
45
|
+
channel_id: number;
|
|
46
|
+
rebate_type: string;
|
|
47
|
+
rebate_value: string;
|
|
48
|
+
create_account_id: number;
|
|
49
|
+
update_account_id: number;
|
|
50
|
+
source_product_id: number;
|
|
51
|
+
start_at: null;
|
|
52
|
+
created_at: string;
|
|
53
|
+
updated_at: string;
|
|
54
|
+
deleted_at: null;
|
|
55
|
+
seo: {
|
|
56
|
+
title: string;
|
|
57
|
+
is_set_title: number;
|
|
58
|
+
description: string;
|
|
59
|
+
is_set_desc: number;
|
|
60
|
+
keywords: string;
|
|
61
|
+
is_set_keywords: number;
|
|
62
|
+
};
|
|
63
|
+
service_times: number;
|
|
64
|
+
product_resource: {
|
|
65
|
+
resources: ({
|
|
66
|
+
id: number;
|
|
67
|
+
title: string;
|
|
68
|
+
status: number;
|
|
69
|
+
code: string;
|
|
70
|
+
created_at: string;
|
|
71
|
+
updated_at: string;
|
|
72
|
+
type: string;
|
|
73
|
+
optional_resource: number[];
|
|
74
|
+
default_resource: number[];
|
|
75
|
+
select_type: {
|
|
76
|
+
type: string;
|
|
77
|
+
min: number;
|
|
78
|
+
max: number;
|
|
79
|
+
};
|
|
80
|
+
resource_type_id: number;
|
|
81
|
+
} | {
|
|
82
|
+
id: number;
|
|
83
|
+
title: string;
|
|
84
|
+
status: number;
|
|
85
|
+
code: string;
|
|
86
|
+
created_at: string;
|
|
87
|
+
updated_at: null;
|
|
88
|
+
type: string;
|
|
89
|
+
optional_resource: never[];
|
|
90
|
+
default_resource: never[];
|
|
91
|
+
select_type: {
|
|
92
|
+
type: string;
|
|
93
|
+
min: number;
|
|
94
|
+
max: number;
|
|
95
|
+
};
|
|
96
|
+
resource_type_id: number;
|
|
97
|
+
})[];
|
|
98
|
+
};
|
|
99
|
+
capacity: {
|
|
100
|
+
type: string;
|
|
101
|
+
custom: {
|
|
102
|
+
name: {
|
|
103
|
+
en: string;
|
|
104
|
+
"zh-CN": string;
|
|
105
|
+
"zh-HK": string;
|
|
106
|
+
ja: string;
|
|
107
|
+
pt: string;
|
|
108
|
+
original: string;
|
|
109
|
+
};
|
|
110
|
+
id: number;
|
|
111
|
+
min: number;
|
|
112
|
+
max: number;
|
|
113
|
+
}[];
|
|
114
|
+
package: {
|
|
115
|
+
product_ids: never[];
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
is_grey: number;
|
|
119
|
+
is_eject: number;
|
|
120
|
+
share_url: string;
|
|
121
|
+
token_check_msg: string;
|
|
122
|
+
is_charge_tax: number;
|
|
123
|
+
media: never[];
|
|
124
|
+
tag: never[];
|
|
125
|
+
vendor: never[];
|
|
126
|
+
category: {
|
|
127
|
+
id: number;
|
|
128
|
+
shop_id: number;
|
|
129
|
+
parent_id: number;
|
|
130
|
+
name: string;
|
|
131
|
+
slug: string;
|
|
132
|
+
icon: string;
|
|
133
|
+
status: string;
|
|
134
|
+
last_applicable_time: number;
|
|
135
|
+
sort: number;
|
|
136
|
+
create_account_id: number;
|
|
137
|
+
update_account_id: number;
|
|
138
|
+
created_at: string;
|
|
139
|
+
updated_at: string;
|
|
140
|
+
}[];
|
|
141
|
+
collection: ({
|
|
142
|
+
id: number;
|
|
143
|
+
shop_id: number;
|
|
144
|
+
title: string;
|
|
145
|
+
title_letter: string;
|
|
146
|
+
description: null;
|
|
147
|
+
cover: string;
|
|
148
|
+
rule_type: string;
|
|
149
|
+
rule: {
|
|
150
|
+
class: string;
|
|
151
|
+
value: number;
|
|
152
|
+
operator: string;
|
|
153
|
+
}[];
|
|
154
|
+
product_quantity: number;
|
|
155
|
+
type: string;
|
|
156
|
+
order_type: string;
|
|
157
|
+
disabled: number;
|
|
158
|
+
create_account_id: number;
|
|
159
|
+
update_account_id: number;
|
|
160
|
+
created_at: string;
|
|
161
|
+
updated_at: string;
|
|
162
|
+
} | {
|
|
163
|
+
id: number;
|
|
164
|
+
shop_id: number;
|
|
165
|
+
title: string;
|
|
166
|
+
title_letter: string;
|
|
167
|
+
description: string;
|
|
168
|
+
cover: string;
|
|
169
|
+
rule_type: string;
|
|
170
|
+
rule: {
|
|
171
|
+
class: string;
|
|
172
|
+
value: string;
|
|
173
|
+
operator: string;
|
|
174
|
+
}[];
|
|
175
|
+
product_quantity: number;
|
|
176
|
+
type: string;
|
|
177
|
+
order_type: string;
|
|
178
|
+
disabled: number;
|
|
179
|
+
create_account_id: number;
|
|
180
|
+
update_account_id: number;
|
|
181
|
+
created_at: string;
|
|
182
|
+
updated_at: string;
|
|
183
|
+
} | {
|
|
184
|
+
id: number;
|
|
185
|
+
shop_id: number;
|
|
186
|
+
title: string;
|
|
187
|
+
title_letter: string;
|
|
188
|
+
description: null;
|
|
189
|
+
cover: string;
|
|
190
|
+
rule_type: string;
|
|
191
|
+
rule: {
|
|
192
|
+
class: string;
|
|
193
|
+
value: string;
|
|
194
|
+
operator: string;
|
|
195
|
+
}[];
|
|
196
|
+
product_quantity: number;
|
|
197
|
+
type: string;
|
|
198
|
+
order_type: string;
|
|
199
|
+
disabled: number;
|
|
200
|
+
create_account_id: number;
|
|
201
|
+
update_account_id: number;
|
|
202
|
+
created_at: string;
|
|
203
|
+
updated_at: string;
|
|
204
|
+
})[];
|
|
205
|
+
variant_group: never[];
|
|
206
|
+
option_group: never[];
|
|
207
|
+
variant: never[];
|
|
208
|
+
shop: {
|
|
209
|
+
id: number;
|
|
210
|
+
name: string;
|
|
211
|
+
default_domain: string;
|
|
212
|
+
default_url: string;
|
|
213
|
+
};
|
|
214
|
+
bundle_group: never[];
|
|
215
|
+
};
|
|
216
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
/**
|
|
4
|
+
* 折扣变更弹窗 Props
|
|
5
|
+
*/
|
|
6
|
+
export interface DiscountChangeModalProps {
|
|
7
|
+
/** 弹窗是否可见 */
|
|
8
|
+
open: boolean;
|
|
9
|
+
/** 保留原折扣回调 */
|
|
10
|
+
onKeepOriginal?: () => void;
|
|
11
|
+
/** 延续折扣回调 */
|
|
12
|
+
onContinue?: () => void;
|
|
13
|
+
/** 移除折扣回调 */
|
|
14
|
+
onRemove?: () => void;
|
|
15
|
+
/** 取消回调 */
|
|
16
|
+
onCancel?: () => void;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* 折扣变更弹窗组件
|
|
20
|
+
*
|
|
21
|
+
* @description 当订单中使用的商品折扣已失效时,弹出此弹窗让用户选择处理方式
|
|
22
|
+
* @author Pisell Team
|
|
23
|
+
*/
|
|
24
|
+
declare const DiscountChangeModal: React.FC<DiscountChangeModalProps>;
|
|
25
|
+
export default DiscountChangeModal;
|