@pisell/private-materials 6.3.100 → 6.3.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +8 -8
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/header/index.js +7 -7
- package/es/components/booking/info/header/index.less +5 -5
- package/es/components/ecocup/components/AddCustomerModal/index.js +3 -3
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +3 -1
- package/es/components/ecocup/components/CupInfoCard/index.js +4 -2
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +32 -1
- package/es/components/ecocup/components/CupStatusModal/hooks.js +109 -1
- package/es/components/ecocup/components/CupStatusModal/index.js +164 -30
- package/es/components/ecocup/components/CupStatusModal/index.less +48 -10
- package/es/components/ecocup/components/CustomerAndCupModal/index.js +1 -1
- package/es/components/ecocup/components/CustomerCard/index.d.ts +3 -1
- package/es/components/ecocup/components/CustomerCard/index.js +9 -6
- package/es/components/ecocup/components/PageHeader/index.d.ts +2 -0
- package/es/components/ecocup/components/PageHeader/index.js +15 -5
- package/es/components/ecocup/components/PageHeader/index.less +16 -4
- package/es/components/ecocup/components/SearchBar/index.d.ts +1 -0
- package/es/components/ecocup/components/SearchBar/index.js +33 -3
- package/es/components/ecocup/components/SettingModal/const.d.ts +6 -0
- package/es/components/ecocup/components/SettingModal/const.js +17 -0
- package/es/components/ecocup/components/SettingModal/index.d.ts +9 -0
- package/es/components/ecocup/components/SettingModal/index.js +253 -0
- package/es/components/ecocup/components/SettingModal/index.less +9 -0
- package/es/components/ecocup/cupList/const.d.ts +8 -1
- package/es/components/ecocup/cupList/const.js +14 -1
- package/es/components/ecocup/cupList/hooks/index.d.ts +2 -2
- package/es/components/ecocup/cupList/hooks/index.js +2 -2
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +2 -1
- package/es/components/ecocup/cupList/hooks/useColumns.js +4 -6
- package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +12 -3
- package/es/components/ecocup/cupList/hooks/useCupApi.js +148 -8
- package/es/components/ecocup/cupList/hooks/useSummary.js +9 -7
- package/es/components/ecocup/cupList/index.js +60 -12
- package/es/components/ecocup/cupList/index.less +62 -16
- package/es/components/ecocup/cupProject/const.js +8 -2
- package/es/components/ecocup/cupProject/index.js +10 -1
- package/es/components/ecocup/hooks.d.ts +8 -0
- package/es/components/ecocup/hooks.js +29 -12
- package/es/components/ecocup/locales.d.ts +93 -3
- package/es/components/ecocup/locales.js +124 -25
- package/es/components/ecocup/utils/download.d.ts +7 -0
- package/es/components/ecocup/utils/download.js +34 -0
- package/es/components/ecocup/utils/index.d.ts +2 -0
- package/es/components/ecocup/utils/index.js +2 -0
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/hooks/useLocale.js +8 -1
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/pro/comprehensiveSearch/components/searchSection/index.js +3 -2
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/header/index.js +7 -7
- package/lib/components/booking/info/header/index.less +5 -5
- package/lib/components/ecocup/components/AddCustomerModal/index.js +2 -2
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +3 -1
- package/lib/components/ecocup/components/CupInfoCard/index.js +2 -2
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +32 -1
- package/lib/components/ecocup/components/CupStatusModal/hooks.js +62 -2
- package/lib/components/ecocup/components/CupStatusModal/index.js +103 -22
- package/lib/components/ecocup/components/CupStatusModal/index.less +48 -10
- package/lib/components/ecocup/components/CustomerAndCupModal/index.js +1 -1
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +3 -1
- package/lib/components/ecocup/components/CustomerCard/index.js +13 -3
- package/lib/components/ecocup/components/PageHeader/index.d.ts +2 -0
- package/lib/components/ecocup/components/PageHeader/index.js +10 -3
- package/lib/components/ecocup/components/PageHeader/index.less +16 -4
- package/lib/components/ecocup/components/SearchBar/index.d.ts +1 -0
- package/lib/components/ecocup/components/SearchBar/index.js +15 -2
- package/lib/components/ecocup/components/SettingModal/const.d.ts +6 -0
- package/lib/components/ecocup/components/SettingModal/const.js +48 -0
- package/lib/components/ecocup/components/SettingModal/index.d.ts +9 -0
- package/lib/components/ecocup/components/SettingModal/index.js +199 -0
- package/lib/components/ecocup/components/SettingModal/index.less +9 -0
- package/lib/components/ecocup/cupList/const.d.ts +8 -1
- package/lib/components/ecocup/cupList/const.js +18 -0
- package/lib/components/ecocup/cupList/hooks/index.d.ts +2 -2
- package/lib/components/ecocup/cupList/hooks/index.js +4 -0
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +2 -1
- package/lib/components/ecocup/cupList/hooks/useColumns.js +2 -4
- package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +12 -3
- package/lib/components/ecocup/cupList/hooks/useCupApi.js +123 -8
- package/lib/components/ecocup/cupList/hooks/useSummary.js +22 -14
- package/lib/components/ecocup/cupList/index.js +70 -16
- package/lib/components/ecocup/cupList/index.less +62 -16
- package/lib/components/ecocup/cupProject/const.js +8 -1
- package/lib/components/ecocup/cupProject/index.js +10 -1
- package/lib/components/ecocup/hooks.d.ts +8 -0
- package/lib/components/ecocup/hooks.js +18 -4
- package/lib/components/ecocup/locales.d.ts +93 -3
- package/lib/components/ecocup/locales.js +118 -25
- package/lib/components/ecocup/utils/download.d.ts +7 -0
- package/lib/components/ecocup/utils/download.js +47 -0
- package/lib/components/ecocup/utils/index.d.ts +2 -0
- package/lib/components/ecocup/utils/index.js +42 -0
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/hooks/useLocale.js +7 -2
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/index.js +3 -2
- package/lowcode/eco-cup-list/meta.ts +1 -1
- package/lowcode/eco-customer-list/meta.ts +1 -1
- package/package.json +1 -1
|
@@ -8,12 +8,14 @@ import { CUP_PROJECT_FOOTER_BUTTONS } from "./const";
|
|
|
8
8
|
import SearchBar from "../components/SearchBar";
|
|
9
9
|
import AddCustomerModal from "../components/AddCustomerModal";
|
|
10
10
|
import CustomerAndCupModal from "../components/CustomerAndCupModal";
|
|
11
|
+
import SettingModal from "../components/SettingModal";
|
|
11
12
|
var SCAN_LISTENER_KEY = 'eco-cup-project-scan-listener';
|
|
12
13
|
export default function EcoCupProject() {
|
|
13
14
|
var language = useLanguage();
|
|
14
15
|
locales.init(localeTexts, language);
|
|
15
16
|
var getApp = useGetApp();
|
|
16
17
|
var addCustomerModal = useModal('ecocup-add-customer-modal');
|
|
18
|
+
var settingModal = useModal('ecocup-setting-modal');
|
|
17
19
|
var customerAndCupModal = useModal('ecocup-customer-and-cup-modal');
|
|
18
20
|
var _useGetGoalShopInfo = useGetGoalShopInfo(),
|
|
19
21
|
goalShopId = _useGetGoalShopInfo.goalShopId;
|
|
@@ -39,6 +41,10 @@ export default function EcoCupProject() {
|
|
|
39
41
|
console.log('onClickNewCustomer');
|
|
40
42
|
addCustomerModal.open();
|
|
41
43
|
};
|
|
44
|
+
var onClickSetting = function onClickSetting() {
|
|
45
|
+
console.log('onClickSetting');
|
|
46
|
+
settingModal.open();
|
|
47
|
+
};
|
|
42
48
|
var onClickCustomerList = function onClickCustomerList() {
|
|
43
49
|
console.log('onClickCustomerList');
|
|
44
50
|
var app = getApp === null || getApp === void 0 ? void 0 : getApp();
|
|
@@ -72,6 +78,9 @@ export default function EcoCupProject() {
|
|
|
72
78
|
case 'cup-list':
|
|
73
79
|
onClickCupList();
|
|
74
80
|
break;
|
|
81
|
+
case 'setting':
|
|
82
|
+
onClickSetting();
|
|
83
|
+
break;
|
|
75
84
|
}
|
|
76
85
|
};
|
|
77
86
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -99,5 +108,5 @@ export default function EcoCupProject() {
|
|
|
99
108
|
},
|
|
100
109
|
className: "ecocup-cup-project-actions-button"
|
|
101
110
|
}, locales.getText(button.languageKey));
|
|
102
|
-
})), addCustomerModal.visible && /*#__PURE__*/React.createElement(AddCustomerModal, addCustomerModal.modalProps), customerAndCupModal.visible && /*#__PURE__*/React.createElement(CustomerAndCupModal, customerAndCupModal.modalProps));
|
|
111
|
+
})), addCustomerModal.visible && /*#__PURE__*/React.createElement(AddCustomerModal, addCustomerModal.modalProps), customerAndCupModal.visible && /*#__PURE__*/React.createElement(CustomerAndCupModal, customerAndCupModal.modalProps), settingModal.visible && /*#__PURE__*/React.createElement(SettingModal, settingModal.modalProps));
|
|
103
112
|
}
|
|
@@ -47,3 +47,11 @@ export declare const useGetShopId: () => any;
|
|
|
47
47
|
* @return {*}
|
|
48
48
|
*/
|
|
49
49
|
export declare const useIsApp: () => boolean;
|
|
50
|
+
/**
|
|
51
|
+
* @description: 获取分享场景
|
|
52
|
+
* @return {*}
|
|
53
|
+
*/
|
|
54
|
+
export declare const useGetShare: () => {
|
|
55
|
+
source: string | null;
|
|
56
|
+
isEcoShare: boolean;
|
|
57
|
+
};
|
|
@@ -12,24 +12,24 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
import { useState } from 'react';
|
|
14
14
|
import useEngineContext, { usePlatform } from "../../hooks/useEngineContext";
|
|
15
|
+
import useLocale from "../../hooks/useLocale";
|
|
15
16
|
import scanListener from "./utils/scanListener";
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* 获取当前语言
|
|
19
20
|
*/
|
|
20
21
|
export var useLanguage = function useLanguage() {
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
return (context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.storage) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.get('umi_locale')) || 'en';
|
|
22
|
+
var locale = useLocale();
|
|
23
|
+
return locale || 'en';
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* 扫码监听
|
|
28
28
|
*/
|
|
29
29
|
export var useScanListener = function useScanListener() {
|
|
30
|
-
var _context$
|
|
30
|
+
var _context$appHelper;
|
|
31
31
|
var context = useEngineContext();
|
|
32
|
-
var _ref = ((_context$
|
|
32
|
+
var _ref = ((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {},
|
|
33
33
|
interaction = _ref.interaction;
|
|
34
34
|
var addListener = function addListener(key, callback) {
|
|
35
35
|
scanListener.addListener(interaction, key, callback);
|
|
@@ -37,10 +37,13 @@ export var useScanListener = function useScanListener() {
|
|
|
37
37
|
var removeListener = function removeListener(key) {
|
|
38
38
|
scanListener.removeListener(key);
|
|
39
39
|
};
|
|
40
|
+
var setActiveListener = function setActiveListener(key) {
|
|
41
|
+
scanListener.setActiveListener(key);
|
|
42
|
+
};
|
|
40
43
|
return {
|
|
41
44
|
addListener: addListener,
|
|
42
45
|
removeListener: removeListener,
|
|
43
|
-
setActiveListener:
|
|
46
|
+
setActiveListener: setActiveListener
|
|
44
47
|
};
|
|
45
48
|
};
|
|
46
49
|
|
|
@@ -48,9 +51,9 @@ export var useScanListener = function useScanListener() {
|
|
|
48
51
|
* 获取app
|
|
49
52
|
*/
|
|
50
53
|
export var useGetApp = function useGetApp() {
|
|
51
|
-
var _context$
|
|
54
|
+
var _context$appHelper2;
|
|
52
55
|
var context = useEngineContext();
|
|
53
|
-
return (_context$
|
|
56
|
+
return (_context$appHelper2 = context.appHelper) === null || _context$appHelper2 === void 0 || (_context$appHelper2 = _context$appHelper2.utils) === null || _context$appHelper2 === void 0 ? void 0 : _context$appHelper2.getApp;
|
|
54
57
|
};
|
|
55
58
|
|
|
56
59
|
/**
|
|
@@ -92,9 +95,9 @@ export var useModal = function useModal(key) {
|
|
|
92
95
|
};
|
|
93
96
|
};
|
|
94
97
|
export var useRequest = function useRequest() {
|
|
95
|
-
var _context$
|
|
98
|
+
var _context$appHelper3;
|
|
96
99
|
var context = useEngineContext();
|
|
97
|
-
var request = (context === null || context === void 0 || (_context$
|
|
100
|
+
var request = (context === null || context === void 0 || (_context$appHelper3 = context.appHelper) === null || _context$appHelper3 === void 0 || (_context$appHelper3 = _context$appHelper3.utils) === null || _context$appHelper3 === void 0 ? void 0 : _context$appHelper3.request) || {};
|
|
98
101
|
var get = function get(url, data, config) {
|
|
99
102
|
return request === null || request === void 0 ? void 0 : request.get(url, data, config);
|
|
100
103
|
};
|
|
@@ -134,9 +137,9 @@ export var useGetGoalShopInfo = function useGetGoalShopInfo() {
|
|
|
134
137
|
* 获取当前店铺id
|
|
135
138
|
*/
|
|
136
139
|
export var useGetShopId = function useGetShopId() {
|
|
137
|
-
var _context$
|
|
140
|
+
var _context$appHelper4, _utils$getStore, _utils$getStore$getSt, _utils$getData, _utils$store, _utils$store$getState;
|
|
138
141
|
var context = useEngineContext();
|
|
139
|
-
var utils = (context === null || context === void 0 || (_context$
|
|
142
|
+
var utils = (context === null || context === void 0 || (_context$appHelper4 = context.appHelper) === null || _context$appHelper4 === void 0 ? void 0 : _context$appHelper4.utils) || {};
|
|
140
143
|
var shopId = (utils === null || utils === void 0 || (_utils$getStore = utils.getStore) === null || _utils$getStore === void 0 || (_utils$getStore = _utils$getStore.call(utils)) === null || _utils$getStore === void 0 || (_utils$getStore$getSt = _utils$getStore.getState) === null || _utils$getStore$getSt === void 0 || (_utils$getStore$getSt = _utils$getStore$getSt.call(_utils$getStore)) === null || _utils$getStore$getSt === void 0 || (_utils$getStore$getSt = _utils$getStore$getSt.global) === null || _utils$getStore$getSt === void 0 || (_utils$getStore$getSt = _utils$getStore$getSt.shop) === null || _utils$getStore$getSt === void 0 ? void 0 : _utils$getStore$getSt.id) || (utils === null || utils === void 0 || (_utils$getData = utils.getData) === null || _utils$getData === void 0 ? void 0 : _utils$getData.call(utils, 'shop_id')) || ((_utils$store = utils.store) === null || _utils$store === void 0 || (_utils$store$getState = _utils$store.getState) === null || _utils$store$getState === void 0 || (_utils$store$getState = _utils$store$getState.call(_utils$store)) === null || _utils$store$getState === void 0 || (_utils$store$getState = _utils$store$getState.global) === null || _utils$store$getState === void 0 || (_utils$store$getState = _utils$store$getState.globalConfig) === null || _utils$store$getState === void 0 ? void 0 : _utils$store$getState.id) || undefined;
|
|
141
144
|
return shopId;
|
|
142
145
|
};
|
|
@@ -148,4 +151,18 @@ export var useGetShopId = function useGetShopId() {
|
|
|
148
151
|
export var useIsApp = function useIsApp() {
|
|
149
152
|
var platform = usePlatform();
|
|
150
153
|
return platform === 'h5' || platform === 'pc';
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @description: 获取分享场景
|
|
158
|
+
* @return {*}
|
|
159
|
+
*/
|
|
160
|
+
export var useGetShare = function useGetShare() {
|
|
161
|
+
var _window2;
|
|
162
|
+
var search = ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.location) === null || _window2 === void 0 ? void 0 : _window2.search) || {};
|
|
163
|
+
var source = new URLSearchParams(search).get('source');
|
|
164
|
+
return {
|
|
165
|
+
source: source,
|
|
166
|
+
isEcoShare: source ? source === 'ecoShare' : false
|
|
167
|
+
};
|
|
151
168
|
};
|
|
@@ -24,6 +24,7 @@ declare const _default: {
|
|
|
24
24
|
'pisell2.text.cup-project.footer.button.new-customer': string;
|
|
25
25
|
'pisell2.text.cup-project.footer.button.customer-list': string;
|
|
26
26
|
'pisell2.text.cup-project.footer.button.cup-list': string;
|
|
27
|
+
'pisell2.text.cup-project.footer.button.setting': string;
|
|
27
28
|
'pisell2.text.cup-project.footer.button.register-cups': string;
|
|
28
29
|
'pisell2.text.cup-project.search-bar.result.header.name': string;
|
|
29
30
|
'pisell2.text.cup-project.search-bar.result.header.registrationTime': string;
|
|
@@ -64,6 +65,8 @@ declare const _default: {
|
|
|
64
65
|
'pisell2.text.ecocup.action.more.broken': string;
|
|
65
66
|
'pisell2.text.ecocup.table.time-of-rent.relative': (num: number) => string;
|
|
66
67
|
'pisell2.text.ecocup.table.time-of-return.today': string;
|
|
68
|
+
'pisell2.text.ecocup.share.title': string;
|
|
69
|
+
'pisell2.text.ecocup.export.title': string;
|
|
67
70
|
'pisell2.text.ecocup.customer.list.title': string;
|
|
68
71
|
'pisell2.text.ecocup.customer.list.customer': string;
|
|
69
72
|
'pisell2.text.ecocup.customer.list.registed': string;
|
|
@@ -97,6 +100,10 @@ declare const _default: {
|
|
|
97
100
|
'pisell2.text.ecocup.cup-info-card.title.rentInfo': string;
|
|
98
101
|
'pisell2.text.ecocup.cup-info-card.title.markInfo': string;
|
|
99
102
|
'pisell2.text.ecocup.cup-info-card.title.belongInfo': string;
|
|
103
|
+
'pisell2.text.ecocup.cup-info-card.title.otherBelongInfo': string;
|
|
104
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-shop': string;
|
|
105
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-time': string;
|
|
106
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-customer': string;
|
|
100
107
|
'pisell2.text.ecocup.customer-first-modal.title': string;
|
|
101
108
|
'pisell2.text.ecocup.customer-first-modal.search-tip': string;
|
|
102
109
|
'pisell2.text.ecocup.customer-first-modal.search-bar.placeholder': string;
|
|
@@ -104,12 +111,35 @@ declare const _default: {
|
|
|
104
111
|
'pisell2.text.ecocup.customer-first-modal.over-max': string;
|
|
105
112
|
'pisell2.text.ecocup.customer-first-modal.no-customer': string;
|
|
106
113
|
'pisell2.text.ecocup.search-bar.search-tip': string;
|
|
107
|
-
'pisell2.text.ecocup.cup-status-modal.title-other_rent': string;
|
|
114
|
+
'pisell2.text.ecocup.cup-status-modal.title-other_rent': (num: number) => string;
|
|
108
115
|
'pisell2.text.ecocup.cup-status-modal.title-other_in_stock': string;
|
|
109
116
|
'pisell2.text.ecocup.cup-status-modal.title-missing': string;
|
|
110
117
|
'pisell2.text.ecocup.cup-status-modal.title-broken': string;
|
|
111
118
|
'pisell2.text.ecocup.cup-status-modal.title-not_found': string;
|
|
112
119
|
'pisell2.text.ecocup.cup-status-modal.tip': string;
|
|
120
|
+
'pisell2.text.ecocup.cup-status-modal.tip-in-stock': string;
|
|
121
|
+
'pisell2.text.ecocup.setting.expire-time': string;
|
|
122
|
+
'pisell2.text.ecocup.setting.expire-time-placeholder': string;
|
|
123
|
+
'pisell2.text.ecocup.setting.expire-time-required': string;
|
|
124
|
+
'pisell2.text.ecocup.setting.expire-time-max': string;
|
|
125
|
+
'pisell2.text.ecocup.setting.expire-time-min': string;
|
|
126
|
+
'pisell2.text.ecocup.setting.max-rent-count-max': string;
|
|
127
|
+
'pisell2.text.ecocup.setting.max-rent-count-min': string;
|
|
128
|
+
'pisell2.text.ecocup.setting.days': string;
|
|
129
|
+
'pisell2.text.ecocup.setting.regular': string;
|
|
130
|
+
'pisell2.text.ecocup.setting.regular-placeholder': string;
|
|
131
|
+
'pisell2.text.ecocup.setting.regular-required': string;
|
|
132
|
+
'pisell2.text.ecocup.setting.business': string;
|
|
133
|
+
'pisell2.text.ecocup.setting.business-placeholder': string;
|
|
134
|
+
'pisell2.text.ecocup.setting.business-required': string;
|
|
135
|
+
'pisell2.text.ecocup.setting.admin': string;
|
|
136
|
+
'pisell2.text.ecocup.setting.admin-placeholder': string;
|
|
137
|
+
'pisell2.text.ecocup.setting.admin-required': string;
|
|
138
|
+
'pisell2.text.ecocup.setting.success': string;
|
|
139
|
+
'pisell2.text.ecocup.export.fail': string;
|
|
140
|
+
'pisell2.text.ecocup.export.success': string;
|
|
141
|
+
'pisell2.text.ecocup.cup-status-modal.search-bar.title': string;
|
|
142
|
+
'pisell2.text.ecocup.toast.success-copy-link': string;
|
|
113
143
|
};
|
|
114
144
|
'zh-CN': {
|
|
115
145
|
'pisell2.text.ecocup.cup-id': string;
|
|
@@ -136,6 +166,7 @@ declare const _default: {
|
|
|
136
166
|
'pisell2.text.cup-project.footer.button.new-customer': string;
|
|
137
167
|
'pisell2.text.cup-project.footer.button.customer-list': string;
|
|
138
168
|
'pisell2.text.cup-project.footer.button.cup-list': string;
|
|
169
|
+
'pisell2.text.cup-project.footer.button.setting': string;
|
|
139
170
|
'pisell2.text.cup-project.footer.button.register-cups': string;
|
|
140
171
|
'pisell2.text.cup-project.search-bar.result.header.name': string;
|
|
141
172
|
'pisell2.text.cup-project.search-bar.result.header.registrationTime': string;
|
|
@@ -176,6 +207,8 @@ declare const _default: {
|
|
|
176
207
|
'pisell2.text.ecocup.action.more.broken': string;
|
|
177
208
|
'pisell2.text.ecocup.table.time-of-rent.relative': (num: number) => string;
|
|
178
209
|
'pisell2.text.ecocup.table.time-of-return.today': string;
|
|
210
|
+
'pisell2.text.ecocup.share.title': string;
|
|
211
|
+
'pisell2.text.ecocup.export.title': string;
|
|
179
212
|
'pisell2.text.ecocup.customer.list.title': string;
|
|
180
213
|
'pisell2.text.ecocup.customer.list.customer': string;
|
|
181
214
|
'pisell2.text.ecocup.customer.list.registed': string;
|
|
@@ -209,6 +242,10 @@ declare const _default: {
|
|
|
209
242
|
'pisell2.text.ecocup.cup-info-card.title.rentInfo': string;
|
|
210
243
|
'pisell2.text.ecocup.cup-info-card.title.markInfo': string;
|
|
211
244
|
'pisell2.text.ecocup.cup-info-card.title.belongInfo': string;
|
|
245
|
+
'pisell2.text.ecocup.cup-info-card.title.otherBelongInfo': string;
|
|
246
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-shop': string;
|
|
247
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-time': string;
|
|
248
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-customer': string;
|
|
212
249
|
'pisell2.text.ecocup.customer-first-modal.title': string;
|
|
213
250
|
'pisell2.text.ecocup.customer-first-modal.search-tip': string;
|
|
214
251
|
'pisell2.text.ecocup.customer-first-modal.search-bar.placeholder': string;
|
|
@@ -216,12 +253,35 @@ declare const _default: {
|
|
|
216
253
|
'pisell2.text.ecocup.customer-first-modal.over-max': string;
|
|
217
254
|
'pisell2.text.ecocup.customer-first-modal.no-customer': string;
|
|
218
255
|
'pisell2.text.ecocup.search-bar.search-tip': string;
|
|
219
|
-
'pisell2.text.ecocup.cup-status-modal.title-other_rent': string;
|
|
256
|
+
'pisell2.text.ecocup.cup-status-modal.title-other_rent': (num: number) => string;
|
|
220
257
|
'pisell2.text.ecocup.cup-status-modal.title-other_in_stock': string;
|
|
221
258
|
'pisell2.text.ecocup.cup-status-modal.title-missing': string;
|
|
222
259
|
'pisell2.text.ecocup.cup-status-modal.title-broken': string;
|
|
223
260
|
'pisell2.text.ecocup.cup-status-modal.title-not_found': string;
|
|
224
261
|
'pisell2.text.ecocup.cup-status-modal.tip': string;
|
|
262
|
+
'pisell2.text.ecocup.cup-status-modal.tip-in-stock': string;
|
|
263
|
+
'pisell2.text.ecocup.setting.expire-time': string;
|
|
264
|
+
'pisell2.text.ecocup.setting.expire-time-placeholder': string;
|
|
265
|
+
'pisell2.text.ecocup.setting.expire-time-required': string;
|
|
266
|
+
'pisell2.text.ecocup.setting.expire-time-max': string;
|
|
267
|
+
'pisell2.text.ecocup.setting.expire-time-min': string;
|
|
268
|
+
'pisell2.text.ecocup.setting.max-rent-count-max': string;
|
|
269
|
+
'pisell2.text.ecocup.setting.max-rent-count-min': string;
|
|
270
|
+
'pisell2.text.ecocup.setting.days': string;
|
|
271
|
+
'pisell2.text.ecocup.setting.regular': string;
|
|
272
|
+
'pisell2.text.ecocup.setting.regular-placeholder': string;
|
|
273
|
+
'pisell2.text.ecocup.setting.regular-required': string;
|
|
274
|
+
'pisell2.text.ecocup.setting.business': string;
|
|
275
|
+
'pisell2.text.ecocup.setting.business-placeholder': string;
|
|
276
|
+
'pisell2.text.ecocup.setting.business-required': string;
|
|
277
|
+
'pisell2.text.ecocup.setting.admin': string;
|
|
278
|
+
'pisell2.text.ecocup.setting.admin-placeholder': string;
|
|
279
|
+
'pisell2.text.ecocup.setting.admin-required': string;
|
|
280
|
+
'pisell2.text.ecocup.setting.success': string;
|
|
281
|
+
'pisell2.text.ecocup.export.fail': string;
|
|
282
|
+
'pisell2.text.ecocup.export.success': string;
|
|
283
|
+
'pisell2.text.ecocup.cup-status-modal.search-bar.title': string;
|
|
284
|
+
'pisell2.text.ecocup.toast.success-copy-link': string;
|
|
225
285
|
};
|
|
226
286
|
'zh-HK': {
|
|
227
287
|
'pisell2.text.ecocup.cup-id': string;
|
|
@@ -248,6 +308,7 @@ declare const _default: {
|
|
|
248
308
|
'pisell2.text.cup-project.footer.button.new-customer': string;
|
|
249
309
|
'pisell2.text.cup-project.footer.button.customer-list': string;
|
|
250
310
|
'pisell2.text.cup-project.footer.button.cup-list': string;
|
|
311
|
+
'pisell2.text.cup-project.footer.button.setting': string;
|
|
251
312
|
'pisell2.text.cup-project.footer.button.register-cups': string;
|
|
252
313
|
'pisell2.text.cup-project.search-bar.result.header.name': string;
|
|
253
314
|
'pisell2.text.cup-project.search-bar.result.header.registrationTime': string;
|
|
@@ -288,6 +349,8 @@ declare const _default: {
|
|
|
288
349
|
'pisell2.text.ecocup.action.more.broken': string;
|
|
289
350
|
'pisell2.text.ecocup.table.time-of-rent.relative': (num: number) => string;
|
|
290
351
|
'pisell2.text.ecocup.table.time-of-return.today': string;
|
|
352
|
+
'pisell2.text.ecocup.share.title': string;
|
|
353
|
+
'pisell2.text.ecocup.export.title': string;
|
|
291
354
|
'pisell2.text.ecocup.customer.list.title': string;
|
|
292
355
|
'pisell2.text.ecocup.customer.list.customer': string;
|
|
293
356
|
'pisell2.text.ecocup.customer.list.registed': string;
|
|
@@ -321,6 +384,10 @@ declare const _default: {
|
|
|
321
384
|
'pisell2.text.ecocup.cup-info-card.title.rentInfo': string;
|
|
322
385
|
'pisell2.text.ecocup.cup-info-card.title.markInfo': string;
|
|
323
386
|
'pisell2.text.ecocup.cup-info-card.title.belongInfo': string;
|
|
387
|
+
'pisell2.text.ecocup.cup-info-card.title.otherBelongInfo': string;
|
|
388
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-shop': string;
|
|
389
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-time': string;
|
|
390
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-customer': string;
|
|
324
391
|
'pisell2.text.ecocup.customer-first-modal.title': string;
|
|
325
392
|
'pisell2.text.ecocup.customer-first-modal.search-tip': string;
|
|
326
393
|
'pisell2.text.ecocup.customer-first-modal.search-bar.placeholder': string;
|
|
@@ -328,12 +395,35 @@ declare const _default: {
|
|
|
328
395
|
'pisell2.text.ecocup.customer-first-modal.over-max': string;
|
|
329
396
|
'pisell2.text.ecocup.customer-first-modal.no-customer': string;
|
|
330
397
|
'pisell2.text.ecocup.search-bar.search-tip': string;
|
|
331
|
-
'pisell2.text.ecocup.cup-status-modal.title-other_rent': string;
|
|
398
|
+
'pisell2.text.ecocup.cup-status-modal.title-other_rent': (num: number) => string;
|
|
332
399
|
'pisell2.text.ecocup.cup-status-modal.title-other_in_stock': string;
|
|
333
400
|
'pisell2.text.ecocup.cup-status-modal.title-missing': string;
|
|
334
401
|
'pisell2.text.ecocup.cup-status-modal.title-broken': string;
|
|
335
402
|
'pisell2.text.ecocup.cup-status-modal.title-not_found': string;
|
|
336
403
|
'pisell2.text.ecocup.cup-status-modal.tip': string;
|
|
404
|
+
'pisell2.text.ecocup.cup-status-modal.tip-in-stock': string;
|
|
405
|
+
'pisell2.text.ecocup.setting.expire-time': string;
|
|
406
|
+
'pisell2.text.ecocup.setting.expire-time-placeholder': string;
|
|
407
|
+
'pisell2.text.ecocup.setting.expire-time-required': string;
|
|
408
|
+
'pisell2.text.ecocup.setting.expire-time-max': string;
|
|
409
|
+
'pisell2.text.ecocup.setting.expire-time-min': string;
|
|
410
|
+
'pisell2.text.ecocup.setting.max-rent-count-max': string;
|
|
411
|
+
'pisell2.text.ecocup.setting.max-rent-count-min': string;
|
|
412
|
+
'pisell2.text.ecocup.setting.days': string;
|
|
413
|
+
'pisell2.text.ecocup.setting.regular': string;
|
|
414
|
+
'pisell2.text.ecocup.setting.regular-placeholder': string;
|
|
415
|
+
'pisell2.text.ecocup.setting.regular-required': string;
|
|
416
|
+
'pisell2.text.ecocup.setting.business': string;
|
|
417
|
+
'pisell2.text.ecocup.setting.business-placeholder': string;
|
|
418
|
+
'pisell2.text.ecocup.setting.business-required': string;
|
|
419
|
+
'pisell2.text.ecocup.setting.admin': string;
|
|
420
|
+
'pisell2.text.ecocup.setting.admin-placeholder': string;
|
|
421
|
+
'pisell2.text.ecocup.setting.admin-required': string;
|
|
422
|
+
'pisell2.text.ecocup.setting.success': string;
|
|
423
|
+
'pisell2.text.ecocup.export.fail': string;
|
|
424
|
+
'pisell2.text.ecocup.export.success': string;
|
|
425
|
+
'pisell2.text.ecocup.cup-status-modal.search-bar.title': string;
|
|
426
|
+
'pisell2.text.ecocup.toast.success-copy-link': string;
|
|
337
427
|
};
|
|
338
428
|
ja: {
|
|
339
429
|
'pisell2.text.ecocup.cup-id': string;
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
'pisell2.text.ecocup.button.missing': 'Missing',
|
|
8
8
|
'pisell2.text.ecocup.button.broken': 'Broken',
|
|
9
9
|
'pisell2.text.ecocup.button.clear-all': 'Clear All',
|
|
10
|
-
'pisell2.text.ecocup.button.mark-as-return': '
|
|
10
|
+
'pisell2.text.ecocup.button.mark-as-return': 'Return',
|
|
11
11
|
'pisell2.text.ecocup.button.mark-as-missing': 'Mark as Missing',
|
|
12
12
|
'pisell2.text.ecocup.button.mark-as-broken': 'Mark as Broken',
|
|
13
13
|
'pisell2.text.ecocup.button.cancel': 'Cancel',
|
|
@@ -26,6 +26,7 @@ export default {
|
|
|
26
26
|
'pisell2.text.cup-project.footer.button.new-customer': 'New Customer',
|
|
27
27
|
'pisell2.text.cup-project.footer.button.customer-list': 'Customer list',
|
|
28
28
|
'pisell2.text.cup-project.footer.button.cup-list': 'Cup list',
|
|
29
|
+
'pisell2.text.cup-project.footer.button.setting': 'Setting',
|
|
29
30
|
'pisell2.text.cup-project.footer.button.register-cups': 'Register Cups to Inventory',
|
|
30
31
|
'pisell2.text.cup-project.search-bar.result.header.name': 'Name',
|
|
31
32
|
'pisell2.text.cup-project.search-bar.result.header.registrationTime': 'Registration Time',
|
|
@@ -37,13 +38,13 @@ export default {
|
|
|
37
38
|
'pisell2.text.ecocup.status.placeholder': 'Select Status',
|
|
38
39
|
'pisell2.text.ecocup.status.shop.placeholder': 'Select Shop',
|
|
39
40
|
'pisell2.text.ecocup.scan-or-search': 'mobile number or cup code',
|
|
40
|
-
'pisell2.text.ecocup.available-to-rent': 'Available to
|
|
41
|
+
'pisell2.text.ecocup.available-to-rent': 'Stock Available to Rent Now',
|
|
41
42
|
'pisell2.text.ecocup.rent': 'Rent',
|
|
42
43
|
'pisell2.text.ecocup.broken': 'Broken',
|
|
43
|
-
'pisell2.text.ecocup.cup-rent': 'Cup Rent',
|
|
44
|
-
'pisell2.text.ecocup.cup-returned': 'Cup Returned',
|
|
45
|
-
'pisell2.text.ecocup.eco.cup-rent': 'Cup Rent
|
|
46
|
-
'pisell2.text.ecocup.eco.cup-returned': 'Cup Returned
|
|
44
|
+
'pisell2.text.ecocup.cup-rent': 'Cup Rent (During Selected Period)',
|
|
45
|
+
'pisell2.text.ecocup.cup-returned': 'Cup Returned (During Selected Period)',
|
|
46
|
+
'pisell2.text.ecocup.eco.cup-rent': 'Cup Rent (all shops during selected period)',
|
|
47
|
+
'pisell2.text.ecocup.eco.cup-returned': 'Cup Returned (all shops during selected period)',
|
|
47
48
|
'pisell2.text.ecocup.table.cup-code': 'Cup Code',
|
|
48
49
|
'pisell2.text.ecocup.table.customer': 'Customer',
|
|
49
50
|
'pisell2.text.ecocup.table.status': 'Status',
|
|
@@ -69,6 +70,8 @@ export default {
|
|
|
69
70
|
return "".concat(num, " ").concat(num === 1 ? 'day' : 'days', " ago");
|
|
70
71
|
},
|
|
71
72
|
'pisell2.text.ecocup.table.time-of-return.today': 'Today',
|
|
73
|
+
'pisell2.text.ecocup.share.title': 'Share',
|
|
74
|
+
'pisell2.text.ecocup.export.title': 'Export',
|
|
72
75
|
// Customer List
|
|
73
76
|
'pisell2.text.ecocup.customer.list.title': 'Customer List',
|
|
74
77
|
'pisell2.text.ecocup.customer.list.customer': 'Cutomer',
|
|
@@ -106,6 +109,10 @@ export default {
|
|
|
106
109
|
'pisell2.text.ecocup.cup-info-card.title.rentInfo': 'Rent at',
|
|
107
110
|
'pisell2.text.ecocup.cup-info-card.title.markInfo': 'Marked by',
|
|
108
111
|
'pisell2.text.ecocup.cup-info-card.title.belongInfo': 'Belongs to',
|
|
112
|
+
'pisell2.text.ecocup.cup-info-card.title.otherBelongInfo': 'This cup belongs to',
|
|
113
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-shop': 'multiple shop detected',
|
|
114
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-time': 'multiple time detected',
|
|
115
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-customer': 'Multiple customers',
|
|
109
116
|
// Customer First Modal
|
|
110
117
|
'pisell2.text.ecocup.customer-first-modal.title': 'Rent/Return Cup(s)',
|
|
111
118
|
'pisell2.text.ecocup.customer-first-modal.search-tip': 'Please scan/input the correct ECO Cup code.',
|
|
@@ -116,12 +123,38 @@ export default {
|
|
|
116
123
|
// Search Bar
|
|
117
124
|
'pisell2.text.ecocup.search-bar.search-tip': 'Please scan/input the correct ECO Cup code.',
|
|
118
125
|
// Cup Status Modal
|
|
119
|
-
'pisell2.text.ecocup.cup-status-modal.title-other_rent':
|
|
120
|
-
|
|
126
|
+
'pisell2.text.ecocup.cup-status-modal.title-other_rent': function pisell2TextEcocupCupStatusModalTitleOther_rent(num) {
|
|
127
|
+
return "Cup Return ".concat(num > 1 ? "(".concat(num, " cups)") : '');
|
|
128
|
+
},
|
|
129
|
+
'pisell2.text.ecocup.cup-status-modal.title-other_in_stock': 'Cup not in your inventory',
|
|
121
130
|
'pisell2.text.ecocup.cup-status-modal.title-missing': 'Cup Marked as Missing',
|
|
122
131
|
'pisell2.text.ecocup.cup-status-modal.title-broken': 'Cup Marked as Broken',
|
|
123
132
|
'pisell2.text.ecocup.cup-status-modal.title-not_found': 'Cup not in your inventory',
|
|
124
|
-
'pisell2.text.ecocup.cup-status-modal.tip': 'Please add to inventory first before renting'
|
|
133
|
+
'pisell2.text.ecocup.cup-status-modal.tip': 'Please add to inventory first before renting',
|
|
134
|
+
'pisell2.text.ecocup.cup-status-modal.tip-in-stock': 'Please report to Eco-cup admin for further actions',
|
|
135
|
+
// Setting
|
|
136
|
+
'pisell2.text.ecocup.setting.expire-time': 'Expire Time',
|
|
137
|
+
'pisell2.text.ecocup.setting.expire-time-placeholder': 'Expire Time',
|
|
138
|
+
'pisell2.text.ecocup.setting.expire-time-required': 'Expire Time is required',
|
|
139
|
+
'pisell2.text.ecocup.setting.expire-time-max': 'Expire Time must be less than 365 days',
|
|
140
|
+
'pisell2.text.ecocup.setting.expire-time-min': 'Expire Time must be greater than 0',
|
|
141
|
+
'pisell2.text.ecocup.setting.max-rent-count-max': 'Max Rent Count must be less than 9999',
|
|
142
|
+
'pisell2.text.ecocup.setting.max-rent-count-min': 'Max Rent Count must be greater than 0',
|
|
143
|
+
'pisell2.text.ecocup.setting.days': 'Days',
|
|
144
|
+
'pisell2.text.ecocup.setting.regular': 'Regular',
|
|
145
|
+
'pisell2.text.ecocup.setting.regular-placeholder': 'Regular',
|
|
146
|
+
'pisell2.text.ecocup.setting.regular-required': 'Regular is required',
|
|
147
|
+
'pisell2.text.ecocup.setting.business': 'Business',
|
|
148
|
+
'pisell2.text.ecocup.setting.business-placeholder': 'Business',
|
|
149
|
+
'pisell2.text.ecocup.setting.business-required': 'Business is required',
|
|
150
|
+
'pisell2.text.ecocup.setting.admin': 'Admin',
|
|
151
|
+
'pisell2.text.ecocup.setting.admin-placeholder': 'Admin',
|
|
152
|
+
'pisell2.text.ecocup.setting.admin-required': 'Admin is required',
|
|
153
|
+
'pisell2.text.ecocup.setting.success': 'Settings saved successfully',
|
|
154
|
+
'pisell2.text.ecocup.export.fail': 'Export failed',
|
|
155
|
+
'pisell2.text.ecocup.export.success': 'Export success',
|
|
156
|
+
'pisell2.text.ecocup.cup-status-modal.search-bar.title': 'Scan multiple cups and return together',
|
|
157
|
+
'pisell2.text.ecocup.toast.success-copy-link': 'Link copied to clipboard'
|
|
125
158
|
},
|
|
126
159
|
'zh-CN': {
|
|
127
160
|
'pisell2.text.ecocup.cup-id': 'Cup ID',
|
|
@@ -130,7 +163,7 @@ export default {
|
|
|
130
163
|
'pisell2.text.ecocup.button.missing': 'Missing',
|
|
131
164
|
'pisell2.text.ecocup.button.broken': 'Broken',
|
|
132
165
|
'pisell2.text.ecocup.button.clear-all': 'Clear All',
|
|
133
|
-
'pisell2.text.ecocup.button.mark-as-return': '
|
|
166
|
+
'pisell2.text.ecocup.button.mark-as-return': 'Return',
|
|
134
167
|
'pisell2.text.ecocup.button.mark-as-missing': 'Mark as Missing',
|
|
135
168
|
'pisell2.text.ecocup.button.mark-as-broken': 'Mark as Broken',
|
|
136
169
|
'pisell2.text.ecocup.button.cancel': 'Cancel',
|
|
@@ -149,6 +182,7 @@ export default {
|
|
|
149
182
|
'pisell2.text.cup-project.footer.button.new-customer': 'New Customer',
|
|
150
183
|
'pisell2.text.cup-project.footer.button.customer-list': 'Customer list',
|
|
151
184
|
'pisell2.text.cup-project.footer.button.cup-list': 'Cup list',
|
|
185
|
+
'pisell2.text.cup-project.footer.button.setting': 'Setting',
|
|
152
186
|
'pisell2.text.cup-project.footer.button.register-cups': 'Register Cups to Inventory',
|
|
153
187
|
'pisell2.text.cup-project.search-bar.result.header.name': 'Name',
|
|
154
188
|
'pisell2.text.cup-project.search-bar.result.header.registrationTime': 'Registration Time',
|
|
@@ -163,10 +197,10 @@ export default {
|
|
|
163
197
|
'pisell2.text.ecocup.available-to-rent': 'Available to rent now',
|
|
164
198
|
'pisell2.text.ecocup.rent': 'Rent',
|
|
165
199
|
'pisell2.text.ecocup.broken': 'Broken',
|
|
166
|
-
'pisell2.text.ecocup.cup-rent': 'Cup Rent',
|
|
167
|
-
'pisell2.text.ecocup.cup-returned': 'Cup Returned',
|
|
168
|
-
'pisell2.text.ecocup.eco.cup-rent': 'Cup Rent
|
|
169
|
-
'pisell2.text.ecocup.eco.cup-returned': 'Cup Returned
|
|
200
|
+
'pisell2.text.ecocup.cup-rent': 'Cup Rent (During Selected Period)',
|
|
201
|
+
'pisell2.text.ecocup.cup-returned': 'Cup Returned (During Selected Period)',
|
|
202
|
+
'pisell2.text.ecocup.eco.cup-rent': 'Cup Rent (all shops during selected period)',
|
|
203
|
+
'pisell2.text.ecocup.eco.cup-returned': 'Cup Returned (all shops during selected period)',
|
|
170
204
|
'pisell2.text.ecocup.table.cup-code': 'Cup Code',
|
|
171
205
|
'pisell2.text.ecocup.table.customer': 'Customer',
|
|
172
206
|
'pisell2.text.ecocup.table.status': 'Status',
|
|
@@ -192,6 +226,8 @@ export default {
|
|
|
192
226
|
return "".concat(num, " ").concat(num > 1 ? 'days' : 'day', " ago");
|
|
193
227
|
},
|
|
194
228
|
'pisell2.text.ecocup.table.time-of-return.today': 'Today',
|
|
229
|
+
'pisell2.text.ecocup.share.title': 'Share',
|
|
230
|
+
'pisell2.text.ecocup.export.title': 'Export',
|
|
195
231
|
// Customer List
|
|
196
232
|
'pisell2.text.ecocup.customer.list.title': 'Customer List',
|
|
197
233
|
'pisell2.text.ecocup.customer.list.customer': 'Cutomer',
|
|
@@ -229,6 +265,10 @@ export default {
|
|
|
229
265
|
'pisell2.text.ecocup.cup-info-card.title.rentInfo': 'Rent at',
|
|
230
266
|
'pisell2.text.ecocup.cup-info-card.title.markInfo': 'Marked by',
|
|
231
267
|
'pisell2.text.ecocup.cup-info-card.title.belongInfo': 'Belongs to',
|
|
268
|
+
'pisell2.text.ecocup.cup-info-card.title.otherBelongInfo': 'This cup belongs to',
|
|
269
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-shop': 'multiple shop detected',
|
|
270
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-time': 'multiple time detected',
|
|
271
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-customer': 'Multiple customers',
|
|
232
272
|
// Customer First Modal
|
|
233
273
|
'pisell2.text.ecocup.customer-first-modal.title': 'Rent/Return Cup(s)',
|
|
234
274
|
'pisell2.text.ecocup.customer-first-modal.search-tip': 'Please scan/input the correct ECO Cup code.',
|
|
@@ -239,12 +279,38 @@ export default {
|
|
|
239
279
|
// Search Bar
|
|
240
280
|
'pisell2.text.ecocup.search-bar.search-tip': 'Please scan/input the correct ECO Cup code.',
|
|
241
281
|
// Cup Status Modal
|
|
242
|
-
'pisell2.text.ecocup.cup-status-modal.title-other_rent':
|
|
243
|
-
|
|
282
|
+
'pisell2.text.ecocup.cup-status-modal.title-other_rent': function pisell2TextEcocupCupStatusModalTitleOther_rent(num) {
|
|
283
|
+
return "Cup Return ".concat(num > 1 ? "(".concat(num, " cups)") : '');
|
|
284
|
+
},
|
|
285
|
+
'pisell2.text.ecocup.cup-status-modal.title-other_in_stock': 'Cup not in your inventory',
|
|
244
286
|
'pisell2.text.ecocup.cup-status-modal.title-missing': 'Cup Marked as Missing',
|
|
245
287
|
'pisell2.text.ecocup.cup-status-modal.title-broken': 'Cup Marked as Broken',
|
|
246
288
|
'pisell2.text.ecocup.cup-status-modal.title-not_found': 'Cup not in your inventory',
|
|
247
|
-
'pisell2.text.ecocup.cup-status-modal.tip': 'Please add to inventory first before renting'
|
|
289
|
+
'pisell2.text.ecocup.cup-status-modal.tip': 'Please add to inventory first before renting',
|
|
290
|
+
'pisell2.text.ecocup.cup-status-modal.tip-in-stock': 'Please report to Eco-cup admin for further actions',
|
|
291
|
+
// Setting
|
|
292
|
+
'pisell2.text.ecocup.setting.expire-time': 'Expire Time',
|
|
293
|
+
'pisell2.text.ecocup.setting.expire-time-placeholder': 'Expire Time',
|
|
294
|
+
'pisell2.text.ecocup.setting.expire-time-required': 'Expire Time is required',
|
|
295
|
+
'pisell2.text.ecocup.setting.expire-time-max': 'Expire Time must be less than 365 days',
|
|
296
|
+
'pisell2.text.ecocup.setting.expire-time-min': 'Expire Time must be greater than 0',
|
|
297
|
+
'pisell2.text.ecocup.setting.max-rent-count-max': 'Max Rent Count must be less than 9999',
|
|
298
|
+
'pisell2.text.ecocup.setting.max-rent-count-min': 'Max Rent Count must be greater than 0',
|
|
299
|
+
'pisell2.text.ecocup.setting.days': 'Days',
|
|
300
|
+
'pisell2.text.ecocup.setting.regular': 'Regular',
|
|
301
|
+
'pisell2.text.ecocup.setting.regular-placeholder': 'Regular',
|
|
302
|
+
'pisell2.text.ecocup.setting.regular-required': 'Regular is required',
|
|
303
|
+
'pisell2.text.ecocup.setting.business': 'Business',
|
|
304
|
+
'pisell2.text.ecocup.setting.business-placeholder': 'Business',
|
|
305
|
+
'pisell2.text.ecocup.setting.business-required': 'Business is required',
|
|
306
|
+
'pisell2.text.ecocup.setting.admin': 'Admin',
|
|
307
|
+
'pisell2.text.ecocup.setting.admin-placeholder': 'Admin',
|
|
308
|
+
'pisell2.text.ecocup.setting.admin-required': 'Admin is required',
|
|
309
|
+
'pisell2.text.ecocup.setting.success': 'Settings saved successfully',
|
|
310
|
+
'pisell2.text.ecocup.export.fail': 'Export failed',
|
|
311
|
+
'pisell2.text.ecocup.export.success': 'Export success',
|
|
312
|
+
'pisell2.text.ecocup.cup-status-modal.search-bar.title': 'Scan multiple cups and return together',
|
|
313
|
+
'pisell2.text.ecocup.toast.success-copy-link': 'Link copied to clipboard'
|
|
248
314
|
},
|
|
249
315
|
'zh-HK': {
|
|
250
316
|
'pisell2.text.ecocup.cup-id': 'Cup ID',
|
|
@@ -253,7 +319,7 @@ export default {
|
|
|
253
319
|
'pisell2.text.ecocup.button.missing': 'Missing',
|
|
254
320
|
'pisell2.text.ecocup.button.broken': 'Broken',
|
|
255
321
|
'pisell2.text.ecocup.button.clear-all': 'Clear All',
|
|
256
|
-
'pisell2.text.ecocup.button.mark-as-return': '
|
|
322
|
+
'pisell2.text.ecocup.button.mark-as-return': 'Return',
|
|
257
323
|
'pisell2.text.ecocup.button.mark-as-missing': 'Mark as Missing',
|
|
258
324
|
'pisell2.text.ecocup.button.mark-as-broken': 'Mark as Broken',
|
|
259
325
|
'pisell2.text.ecocup.button.cancel': 'Cancel',
|
|
@@ -272,6 +338,7 @@ export default {
|
|
|
272
338
|
'pisell2.text.cup-project.footer.button.new-customer': 'New Customer',
|
|
273
339
|
'pisell2.text.cup-project.footer.button.customer-list': 'Customer list',
|
|
274
340
|
'pisell2.text.cup-project.footer.button.cup-list': 'Cup list',
|
|
341
|
+
'pisell2.text.cup-project.footer.button.setting': 'Setting',
|
|
275
342
|
'pisell2.text.cup-project.footer.button.register-cups': 'Register Cups to Inventory',
|
|
276
343
|
'pisell2.text.cup-project.search-bar.result.header.name': 'Name',
|
|
277
344
|
'pisell2.text.cup-project.search-bar.result.header.registrationTime': 'Registration Time',
|
|
@@ -286,10 +353,10 @@ export default {
|
|
|
286
353
|
'pisell2.text.ecocup.available-to-rent': 'Available to rent now',
|
|
287
354
|
'pisell2.text.ecocup.rent': 'Rent',
|
|
288
355
|
'pisell2.text.ecocup.broken': 'Broken',
|
|
289
|
-
'pisell2.text.ecocup.cup-rent': 'Cup Rent',
|
|
290
|
-
'pisell2.text.ecocup.cup-returned': 'Cup Returned',
|
|
291
|
-
'pisell2.text.ecocup.eco.cup-rent': 'Cup Rent
|
|
292
|
-
'pisell2.text.ecocup.eco.cup-returned': 'Cup Returned
|
|
356
|
+
'pisell2.text.ecocup.cup-rent': 'Cup Rent (During Selected Period)',
|
|
357
|
+
'pisell2.text.ecocup.cup-returned': 'Cup Returned (During Selected Period)',
|
|
358
|
+
'pisell2.text.ecocup.eco.cup-rent': 'Cup Rent (all shops during selected period)',
|
|
359
|
+
'pisell2.text.ecocup.eco.cup-returned': 'Cup Returned (all shops during selected period)',
|
|
293
360
|
'pisell2.text.ecocup.table.cup-code': 'Cup Code',
|
|
294
361
|
'pisell2.text.ecocup.table.customer': 'Customer',
|
|
295
362
|
'pisell2.text.ecocup.table.status': 'Status',
|
|
@@ -315,6 +382,8 @@ export default {
|
|
|
315
382
|
return "".concat(num, " ").concat(num === 1 ? 'day' : 'days', " ago");
|
|
316
383
|
},
|
|
317
384
|
'pisell2.text.ecocup.table.time-of-return.today': 'Today',
|
|
385
|
+
'pisell2.text.ecocup.share.title': 'Share',
|
|
386
|
+
'pisell2.text.ecocup.export.title': 'Export',
|
|
318
387
|
// Customer List
|
|
319
388
|
'pisell2.text.ecocup.customer.list.title': 'Customer List',
|
|
320
389
|
'pisell2.text.ecocup.customer.list.customer': 'Cutomer',
|
|
@@ -352,6 +421,10 @@ export default {
|
|
|
352
421
|
'pisell2.text.ecocup.cup-info-card.title.rentInfo': 'Rent at',
|
|
353
422
|
'pisell2.text.ecocup.cup-info-card.title.markInfo': 'Marked by',
|
|
354
423
|
'pisell2.text.ecocup.cup-info-card.title.belongInfo': 'Belongs to',
|
|
424
|
+
'pisell2.text.ecocup.cup-info-card.title.otherBelongInfo': 'This cup belongs to',
|
|
425
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-shop': 'multiple shop detected',
|
|
426
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-time': 'multiple time detected',
|
|
427
|
+
'pisell2.text.ecocup.cup-info-card.title.multiple-customer': 'Multiple customers',
|
|
355
428
|
// Customer First Modal
|
|
356
429
|
'pisell2.text.ecocup.customer-first-modal.title': 'Rent/Return Cup(s)',
|
|
357
430
|
'pisell2.text.ecocup.customer-first-modal.search-tip': 'Please scan/input the correct ECO Cup code.',
|
|
@@ -362,12 +435,38 @@ export default {
|
|
|
362
435
|
// Search Bar
|
|
363
436
|
'pisell2.text.ecocup.search-bar.search-tip': 'Please scan/input the correct ECO Cup code.',
|
|
364
437
|
// Cup Status Modal
|
|
365
|
-
'pisell2.text.ecocup.cup-status-modal.title-other_rent':
|
|
366
|
-
|
|
438
|
+
'pisell2.text.ecocup.cup-status-modal.title-other_rent': function pisell2TextEcocupCupStatusModalTitleOther_rent(num) {
|
|
439
|
+
return "Cup Return ".concat(num > 1 ? "(".concat(num, " cups)") : '');
|
|
440
|
+
},
|
|
441
|
+
'pisell2.text.ecocup.cup-status-modal.title-other_in_stock': 'Cup not in your inventory',
|
|
367
442
|
'pisell2.text.ecocup.cup-status-modal.title-missing': 'Cup Marked as Missing',
|
|
368
443
|
'pisell2.text.ecocup.cup-status-modal.title-broken': 'Cup Marked as Broken',
|
|
369
444
|
'pisell2.text.ecocup.cup-status-modal.title-not_found': 'Cup not in your inventory',
|
|
370
|
-
'pisell2.text.ecocup.cup-status-modal.tip': 'Please add to inventory first before renting'
|
|
445
|
+
'pisell2.text.ecocup.cup-status-modal.tip': 'Please add to inventory first before renting',
|
|
446
|
+
'pisell2.text.ecocup.cup-status-modal.tip-in-stock': 'Please report to Eco-cup admin for further actions',
|
|
447
|
+
// Setting
|
|
448
|
+
'pisell2.text.ecocup.setting.expire-time': 'Expire Time',
|
|
449
|
+
'pisell2.text.ecocup.setting.expire-time-placeholder': 'Expire Time',
|
|
450
|
+
'pisell2.text.ecocup.setting.expire-time-required': 'Expire Time is required',
|
|
451
|
+
'pisell2.text.ecocup.setting.expire-time-max': 'Expire Time must be less than 365 days',
|
|
452
|
+
'pisell2.text.ecocup.setting.expire-time-min': 'Expire Time must be greater than 0',
|
|
453
|
+
'pisell2.text.ecocup.setting.max-rent-count-max': 'Max Rent Count must be less than 9999',
|
|
454
|
+
'pisell2.text.ecocup.setting.max-rent-count-min': 'Max Rent Count must be greater than 0',
|
|
455
|
+
'pisell2.text.ecocup.setting.days': 'Days',
|
|
456
|
+
'pisell2.text.ecocup.setting.regular': 'Regular',
|
|
457
|
+
'pisell2.text.ecocup.setting.regular-placeholder': 'Regular',
|
|
458
|
+
'pisell2.text.ecocup.setting.regular-required': 'Regular is required',
|
|
459
|
+
'pisell2.text.ecocup.setting.business': 'Business',
|
|
460
|
+
'pisell2.text.ecocup.setting.business-placeholder': 'Business',
|
|
461
|
+
'pisell2.text.ecocup.setting.business-required': 'Business is required',
|
|
462
|
+
'pisell2.text.ecocup.setting.admin': 'Admin',
|
|
463
|
+
'pisell2.text.ecocup.setting.admin-placeholder': 'Admin',
|
|
464
|
+
'pisell2.text.ecocup.setting.admin-required': 'Admin is required',
|
|
465
|
+
'pisell2.text.ecocup.setting.success': 'Settings saved successfully',
|
|
466
|
+
'pisell2.text.ecocup.export.fail': 'Export failed',
|
|
467
|
+
'pisell2.text.ecocup.export.success': 'Export success',
|
|
468
|
+
'pisell2.text.ecocup.cup-status-modal.search-bar.title': 'Scan multiple cups and return together',
|
|
469
|
+
'pisell2.text.ecocup.toast.success-copy-link': 'Link copied to clipboard'
|
|
371
470
|
},
|
|
372
471
|
ja: {
|
|
373
472
|
'pisell2.text.ecocup.cup-id': 'カップID',
|