@pisell/private-materials 3.0.186 → 3.0.187
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/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 +1 -1
- package/es/components/booking/addons/model.d.ts +1 -2
- package/es/components/booking/forms/model.d.ts +1 -2
- package/es/components/booking/notes/index.d.ts +1 -1
- package/es/components/booking/notes/model.d.ts +1 -2
- package/es/components/booking/payments/model.d.ts +1 -2
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +10 -4
- package/es/components/pisellSelectCustomerModal/RightPanel/index.js +5 -3
- package/es/components/pisellSelectCustomerModal/RightPanel/index.less +7 -0
- package/es/components/pisellSelectCustomerModal/index.js +7 -1
- package/es/components/pisellSelectCustomerModal/index.less +6 -0
- package/es/components/pisellSelectCustomerModal/locales.d.ts +6 -0
- package/es/components/pisellSelectCustomerModal/locales.js +9 -3
- package/es/components/schedules/index.d.ts +1 -1
- package/es/components/schedules/model.d.ts +1 -2
- package/lib/components/booking/addons/model.d.ts +1 -2
- package/lib/components/booking/forms/model.d.ts +1 -2
- package/lib/components/booking/notes/index.d.ts +1 -1
- package/lib/components/booking/notes/model.d.ts +1 -2
- package/lib/components/booking/payments/model.d.ts +1 -2
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +3 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.js +5 -3
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.less +7 -0
- package/lib/components/pisellSelectCustomerModal/index.js +7 -0
- package/lib/components/pisellSelectCustomerModal/index.less +6 -0
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +6 -0
- package/lib/components/pisellSelectCustomerModal/locales.js +9 -3
- package/lib/components/schedules/index.d.ts +1 -1
- package/lib/components/schedules/model.d.ts +1 -2
- package/package.json +2 -2
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
2
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
4
3
|
state: FormState;
|
|
5
4
|
} & {
|
|
6
5
|
dispatch: (params: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
2
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
4
3
|
state: FormState;
|
|
5
4
|
} & {
|
|
6
5
|
dispatch: (params: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
2
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
4
3
|
state: FormState;
|
|
5
4
|
} & {
|
|
6
5
|
dispatch: (params: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
2
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
4
3
|
state: FormState;
|
|
5
4
|
} & {
|
|
6
5
|
dispatch: (params: {
|
|
@@ -186,9 +186,15 @@ export var checkEnrollment = /*#__PURE__*/function () {
|
|
|
186
186
|
_yield$request$getReq = _context2.sent;
|
|
187
187
|
data = _yield$request$getReq.data;
|
|
188
188
|
setPayNumber(orderId, data === null || data === void 0 ? void 0 : data.pay_number);
|
|
189
|
+
if (data !== null && data !== void 0 && data.pay_info) {
|
|
190
|
+
_context2.next = 8;
|
|
191
|
+
break;
|
|
192
|
+
}
|
|
193
|
+
return _context2.abrupt("return", null);
|
|
194
|
+
case 8:
|
|
189
195
|
return _context2.abrupt("return", data);
|
|
190
|
-
case
|
|
191
|
-
_context2.prev =
|
|
196
|
+
case 11:
|
|
197
|
+
_context2.prev = 11;
|
|
192
198
|
_context2.t0 = _context2["catch"](0);
|
|
193
199
|
// 记录卡失败的原因
|
|
194
200
|
log({
|
|
@@ -208,11 +214,11 @@ export var checkEnrollment = /*#__PURE__*/function () {
|
|
|
208
214
|
});
|
|
209
215
|
console.log('error', _context2.t0);
|
|
210
216
|
return _context2.abrupt("return", 0);
|
|
211
|
-
case
|
|
217
|
+
case 19:
|
|
212
218
|
case "end":
|
|
213
219
|
return _context2.stop();
|
|
214
220
|
}
|
|
215
|
-
}, _callee2, null, [[0,
|
|
221
|
+
}, _callee2, null, [[0, 11]]);
|
|
216
222
|
}));
|
|
217
223
|
return function checkEnrollment(_x3, _x4, _x5) {
|
|
218
224
|
return _ref3.apply(this, arguments);
|
|
@@ -80,12 +80,14 @@ var RightPanel = function RightPanel(props) {
|
|
|
80
80
|
if (page === 'list') {
|
|
81
81
|
return /*#__PURE__*/React.createElement("div", {
|
|
82
82
|
className: "select-customer-right-panel-header"
|
|
83
|
-
}, /*#__PURE__*/React.createElement("span", null, phone ? locales.getText('pisell2.text.result-found') : locales.getText('pisell2.text.personnel-list')), /*#__PURE__*/React.createElement(
|
|
84
|
-
className: "select-customer-right-panel-header-
|
|
83
|
+
}, /*#__PURE__*/React.createElement("span", null, phone ? locales.getText('pisell2.text.result-found') : locales.getText('pisell2.text.personnel-list')), /*#__PURE__*/React.createElement("span", {
|
|
84
|
+
className: "select-customer-right-panel-header-create-btn",
|
|
85
85
|
onClick: function onClick() {
|
|
86
86
|
setPage('create');
|
|
87
87
|
}
|
|
88
|
-
}
|
|
88
|
+
}, /*#__PURE__*/React.createElement(PlusCircle, {
|
|
89
|
+
className: "select-customer-right-panel-header-icon"
|
|
90
|
+
}), locales.getText('pisell2.text.create')));
|
|
89
91
|
}
|
|
90
92
|
return /*#__PURE__*/React.createElement("div", {
|
|
91
93
|
className: classNames('select-customer-right-panel-header', {
|
|
@@ -25,6 +25,13 @@
|
|
|
25
25
|
justify-content: flex-start;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
.select-customer-right-panel-header-create-btn {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
}
|
|
34
|
+
|
|
28
35
|
.select-customer-right-panel-header-icon {
|
|
29
36
|
display: flex;
|
|
30
37
|
align-items: center;
|
|
@@ -146,6 +146,10 @@ var PisellSelectCustomerModal = function PisellSelectCustomerModal(props) {
|
|
|
146
146
|
|
|
147
147
|
// 动态计算input的字体大小
|
|
148
148
|
var adjustFontSize = useMemo(function () {
|
|
149
|
+
// 没有内容固定位30px, 因为placeholder的字体大小是30px 太大会展示不全
|
|
150
|
+
if (!phone) {
|
|
151
|
+
return 30;
|
|
152
|
+
}
|
|
149
153
|
var maxFontSize = 60; // 最大字体大小
|
|
150
154
|
var minFontSize = 10; // 最小字体大小
|
|
151
155
|
var defaultFontSize = maxFontSize;
|
|
@@ -194,10 +198,12 @@ var PisellSelectCustomerModal = function PisellSelectCustomerModal(props) {
|
|
|
194
198
|
onChange: function onChange(e) {
|
|
195
199
|
setPhone(e.target.value);
|
|
196
200
|
},
|
|
201
|
+
placeholder: locales.getText('pisell2.text.search-customer-by-phone-number'),
|
|
197
202
|
style: {
|
|
198
203
|
textAlign: 'left',
|
|
199
204
|
fontSize: adjustFontSize
|
|
200
|
-
}
|
|
205
|
+
},
|
|
206
|
+
className: 'pisell-select-customer-modal-input'
|
|
201
207
|
}, virtualKeyInputProps),
|
|
202
208
|
rightPanel: /*#__PURE__*/React.createElement(RightPanel, {
|
|
203
209
|
value: _value,
|
|
@@ -22,6 +22,8 @@ declare const _default: {
|
|
|
22
22
|
'pisell2.text.personnel-list': string;
|
|
23
23
|
'pisell2.text.load-more': string;
|
|
24
24
|
'pisell2.text.add-client.confirm': string;
|
|
25
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
26
|
+
'pisell2.text.create': string;
|
|
25
27
|
};
|
|
26
28
|
'zh-CN': {
|
|
27
29
|
'pisell2.text.leave-empty-for-walk-in': string;
|
|
@@ -46,6 +48,8 @@ declare const _default: {
|
|
|
46
48
|
'pisell2.text.personnel-list': string;
|
|
47
49
|
'pisell2.text.add-client.confirm': string;
|
|
48
50
|
'pisell2.text.load-more': string;
|
|
51
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
52
|
+
'pisell2.text.create': string;
|
|
49
53
|
};
|
|
50
54
|
'zh-HK': {
|
|
51
55
|
'pisell2.text.leave-empty-for-walk-in': string;
|
|
@@ -70,6 +74,8 @@ declare const _default: {
|
|
|
70
74
|
'pisell2.text.personnel-list': string;
|
|
71
75
|
'pisell2.text.add-client.confirm': string;
|
|
72
76
|
'pisell2.text.load-more': string;
|
|
77
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
78
|
+
'pisell2.text.create': string;
|
|
73
79
|
};
|
|
74
80
|
};
|
|
75
81
|
export default _default;
|
|
@@ -21,7 +21,9 @@ export default {
|
|
|
21
21
|
'pisell2.text.result-found': 'Result found',
|
|
22
22
|
'pisell2.text.personnel-list': 'Personnel list',
|
|
23
23
|
'pisell2.text.load-more': 'Load more',
|
|
24
|
-
'pisell2.text.add-client.confirm': 'Fill in at least one name, phone number and email address'
|
|
24
|
+
'pisell2.text.add-client.confirm': 'Fill in at least one name, phone number and email address',
|
|
25
|
+
'pisell2.text.search-customer-by-phone-number': 'Search by phone number',
|
|
26
|
+
'pisell2.text.create': 'Create'
|
|
25
27
|
},
|
|
26
28
|
'zh-CN': {
|
|
27
29
|
'pisell2.text.leave-empty-for-walk-in': '未选择表示 Walk-In',
|
|
@@ -45,7 +47,9 @@ export default {
|
|
|
45
47
|
'pisell2.text.result-found': '搜索结果',
|
|
46
48
|
'pisell2.text.personnel-list': '客户列表',
|
|
47
49
|
'pisell2.text.add-client.confirm': '姓名,电话,邮箱至少填一个',
|
|
48
|
-
'pisell2.text.load-more': '加载更多'
|
|
50
|
+
'pisell2.text.load-more': '加载更多',
|
|
51
|
+
'pisell2.text.search-customer-by-phone-number': '输入手机号搜索客户',
|
|
52
|
+
'pisell2.text.create': '创建'
|
|
49
53
|
},
|
|
50
54
|
'zh-HK': {
|
|
51
55
|
'pisell2.text.leave-empty-for-walk-in': '未選擇表示 Walk-In',
|
|
@@ -69,6 +73,8 @@ export default {
|
|
|
69
73
|
'pisell2.text.result-found': '搜索結果',
|
|
70
74
|
'pisell2.text.personnel-list': '客戶列表',
|
|
71
75
|
'pisell2.text.add-client.confirm': '姓名,電話,郵箱至少填一個',
|
|
72
|
-
'pisell2.text.load-more': '加載更多'
|
|
76
|
+
'pisell2.text.load-more': '加載更多',
|
|
77
|
+
'pisell2.text.search-customer-by-phone-number': '輸入手機號搜索客戶',
|
|
78
|
+
'pisell2.text.create': '創建'
|
|
73
79
|
}
|
|
74
80
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
3
2
|
import dayjs from "dayjs";
|
|
4
3
|
export interface FormState {
|
|
@@ -69,7 +68,7 @@ export interface FormState {
|
|
|
69
68
|
};
|
|
70
69
|
setGlobalState: Function | null;
|
|
71
70
|
}
|
|
72
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
71
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
73
72
|
state: FormState;
|
|
74
73
|
} & {
|
|
75
74
|
dispatch: (params: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
2
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
4
3
|
state: FormState;
|
|
5
4
|
} & {
|
|
6
5
|
dispatch: (params: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
2
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
4
3
|
state: FormState;
|
|
5
4
|
} & {
|
|
6
5
|
dispatch: (params: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
2
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
4
3
|
state: FormState;
|
|
5
4
|
} & {
|
|
6
5
|
dispatch: (params: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
2
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
4
3
|
state: FormState;
|
|
5
4
|
} & {
|
|
6
5
|
dispatch: (params: {
|
|
@@ -134,6 +134,9 @@ var checkEnrollment = async (orderId, cardInfo, callback) => {
|
|
|
134
134
|
...cardInfo
|
|
135
135
|
});
|
|
136
136
|
(0, import_payGroup.setPayNumber)(orderId, data == null ? void 0 : data.pay_number);
|
|
137
|
+
if (!(data == null ? void 0 : data.pay_info)) {
|
|
138
|
+
return null;
|
|
139
|
+
}
|
|
137
140
|
return data;
|
|
138
141
|
} catch (err) {
|
|
139
142
|
log({
|
|
@@ -87,13 +87,15 @@ var RightPanel = (props) => {
|
|
|
87
87
|
const header = (0, import_react.useMemo)(() => {
|
|
88
88
|
if (page === "list") {
|
|
89
89
|
return /* @__PURE__ */ import_react.default.createElement("div", { className: "select-customer-right-panel-header" }, /* @__PURE__ */ import_react.default.createElement("span", null, phone ? import_utils2.locales.getText("pisell2.text.result-found") : import_utils2.locales.getText("pisell2.text.personnel-list")), /* @__PURE__ */ import_react.default.createElement(
|
|
90
|
-
|
|
90
|
+
"span",
|
|
91
91
|
{
|
|
92
|
-
className: "select-customer-right-panel-header-
|
|
92
|
+
className: "select-customer-right-panel-header-create-btn",
|
|
93
93
|
onClick: () => {
|
|
94
94
|
setPage("create");
|
|
95
95
|
}
|
|
96
|
-
}
|
|
96
|
+
},
|
|
97
|
+
/* @__PURE__ */ import_react.default.createElement(import_PlusCircle.default, { className: "select-customer-right-panel-header-icon" }),
|
|
98
|
+
import_utils2.locales.getText("pisell2.text.create")
|
|
97
99
|
));
|
|
98
100
|
}
|
|
99
101
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
@@ -25,6 +25,13 @@
|
|
|
25
25
|
justify-content: flex-start;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
.select-customer-right-panel-header-create-btn {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
}
|
|
34
|
+
|
|
28
35
|
.select-customer-right-panel-header-icon {
|
|
29
36
|
display: flex;
|
|
30
37
|
align-items: center;
|
|
@@ -154,6 +154,9 @@ var PisellSelectCustomerModal = (props) => {
|
|
|
154
154
|
document.body.id = "body";
|
|
155
155
|
}, []);
|
|
156
156
|
const adjustFontSize = (0, import_react.useMemo)(() => {
|
|
157
|
+
if (!phone) {
|
|
158
|
+
return 30;
|
|
159
|
+
}
|
|
157
160
|
const maxFontSize = 60;
|
|
158
161
|
const minFontSize = 10;
|
|
159
162
|
const defaultFontSize = maxFontSize;
|
|
@@ -197,10 +200,14 @@ var PisellSelectCustomerModal = (props) => {
|
|
|
197
200
|
onChange: (e) => {
|
|
198
201
|
setPhone(e.target.value);
|
|
199
202
|
},
|
|
203
|
+
placeholder: import_utils.locales.getText(
|
|
204
|
+
"pisell2.text.search-customer-by-phone-number"
|
|
205
|
+
),
|
|
200
206
|
style: {
|
|
201
207
|
textAlign: "left",
|
|
202
208
|
fontSize: adjustFontSize
|
|
203
209
|
},
|
|
210
|
+
className: "pisell-select-customer-modal-input",
|
|
204
211
|
...virtualKeyInputProps
|
|
205
212
|
},
|
|
206
213
|
rightPanel: /* @__PURE__ */ import_react.default.createElement(import_RightPanel.default, { value: _value, phone, onChange: _onChange }),
|
|
@@ -22,6 +22,8 @@ declare const _default: {
|
|
|
22
22
|
'pisell2.text.personnel-list': string;
|
|
23
23
|
'pisell2.text.load-more': string;
|
|
24
24
|
'pisell2.text.add-client.confirm': string;
|
|
25
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
26
|
+
'pisell2.text.create': string;
|
|
25
27
|
};
|
|
26
28
|
'zh-CN': {
|
|
27
29
|
'pisell2.text.leave-empty-for-walk-in': string;
|
|
@@ -46,6 +48,8 @@ declare const _default: {
|
|
|
46
48
|
'pisell2.text.personnel-list': string;
|
|
47
49
|
'pisell2.text.add-client.confirm': string;
|
|
48
50
|
'pisell2.text.load-more': string;
|
|
51
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
52
|
+
'pisell2.text.create': string;
|
|
49
53
|
};
|
|
50
54
|
'zh-HK': {
|
|
51
55
|
'pisell2.text.leave-empty-for-walk-in': string;
|
|
@@ -70,6 +74,8 @@ declare const _default: {
|
|
|
70
74
|
'pisell2.text.personnel-list': string;
|
|
71
75
|
'pisell2.text.add-client.confirm': string;
|
|
72
76
|
'pisell2.text.load-more': string;
|
|
77
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
78
|
+
'pisell2.text.create': string;
|
|
73
79
|
};
|
|
74
80
|
};
|
|
75
81
|
export default _default;
|
|
@@ -45,7 +45,9 @@ var locales_default = {
|
|
|
45
45
|
"pisell2.text.result-found": "Result found",
|
|
46
46
|
"pisell2.text.personnel-list": "Personnel list",
|
|
47
47
|
"pisell2.text.load-more": "Load more",
|
|
48
|
-
"pisell2.text.add-client.confirm": "Fill in at least one name, phone number and email address"
|
|
48
|
+
"pisell2.text.add-client.confirm": "Fill in at least one name, phone number and email address",
|
|
49
|
+
"pisell2.text.search-customer-by-phone-number": "Search by phone number",
|
|
50
|
+
"pisell2.text.create": "Create"
|
|
49
51
|
},
|
|
50
52
|
"zh-CN": {
|
|
51
53
|
"pisell2.text.leave-empty-for-walk-in": "未选择表示 Walk-In",
|
|
@@ -69,7 +71,9 @@ var locales_default = {
|
|
|
69
71
|
"pisell2.text.result-found": "搜索结果",
|
|
70
72
|
"pisell2.text.personnel-list": "客户列表",
|
|
71
73
|
"pisell2.text.add-client.confirm": "姓名,电话,邮箱至少填一个",
|
|
72
|
-
"pisell2.text.load-more": "加载更多"
|
|
74
|
+
"pisell2.text.load-more": "加载更多",
|
|
75
|
+
"pisell2.text.search-customer-by-phone-number": "输入手机号搜索客户",
|
|
76
|
+
"pisell2.text.create": "创建"
|
|
73
77
|
},
|
|
74
78
|
"zh-HK": {
|
|
75
79
|
"pisell2.text.leave-empty-for-walk-in": "未選擇表示 Walk-In",
|
|
@@ -93,6 +97,8 @@ var locales_default = {
|
|
|
93
97
|
"pisell2.text.result-found": "搜索結果",
|
|
94
98
|
"pisell2.text.personnel-list": "客戶列表",
|
|
95
99
|
"pisell2.text.add-client.confirm": "姓名,電話,郵箱至少填一個",
|
|
96
|
-
"pisell2.text.load-more": "加載更多"
|
|
100
|
+
"pisell2.text.load-more": "加載更多",
|
|
101
|
+
"pisell2.text.search-customer-by-phone-number": "輸入手機號搜索客戶",
|
|
102
|
+
"pisell2.text.create": "創建"
|
|
97
103
|
}
|
|
98
104
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
3
2
|
import dayjs from "dayjs";
|
|
4
3
|
export interface FormState {
|
|
@@ -69,7 +68,7 @@ export interface FormState {
|
|
|
69
68
|
};
|
|
70
69
|
setGlobalState: Function | null;
|
|
71
70
|
}
|
|
72
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
71
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
73
72
|
state: FormState;
|
|
74
73
|
} & {
|
|
75
74
|
dispatch: (params: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.187",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"react-infinite-scroll-component": "^6.1.0",
|
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
|
61
61
|
"decimal.js": "^10.4.3",
|
|
62
|
-
"@pisell/icon": "0.0.11",
|
|
63
62
|
"@pisell/utils": "1.0.42",
|
|
63
|
+
"@pisell/icon": "0.0.11",
|
|
64
64
|
"@pisell/date-picker": "1.0.100",
|
|
65
65
|
"@pisell/materials": "3.0.53"
|
|
66
66
|
},
|