@pisell/private-materials 3.0.68 → 3.0.69
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.js +3 -3
- package/build/lowcode/view.js +2 -2
- package/es/components/booking/addons/index.d.ts +1 -1
- package/es/components/booking/addons/model.d.ts +2 -1
- package/es/components/booking/forms/forms.d.ts +1 -1
- package/es/components/booking/forms/index.d.ts +1 -1
- package/es/components/booking/forms/model.d.ts +2 -1
- package/es/components/booking/index.d.ts +1 -1
- package/es/components/booking/info/index.d.ts +1 -1
- package/es/components/booking/info/index.js +4 -5
- package/es/components/booking/info/model.d.ts +2 -1
- package/es/components/booking/info/service/editService/index.js +4 -19
- package/es/components/booking/model.d.ts +2 -1
- package/es/components/booking/notes/index.d.ts +1 -1
- package/es/components/booking/notes/model.d.ts +2 -1
- package/es/components/booking/payments/index.d.ts +1 -1
- package/es/components/booking/payments/model.d.ts +2 -1
- package/es/components/booking/utils.js +1 -1
- package/es/components/schedules/index.d.ts +1 -1
- package/es/components/schedules/model.d.ts +2 -1
- package/lib/components/booking/addons/index.d.ts +1 -1
- package/lib/components/booking/addons/model.d.ts +2 -1
- package/lib/components/booking/forms/forms.d.ts +1 -1
- package/lib/components/booking/forms/index.d.ts +1 -1
- package/lib/components/booking/forms/model.d.ts +2 -1
- package/lib/components/booking/index.d.ts +1 -1
- package/lib/components/booking/info/index.d.ts +1 -1
- package/lib/components/booking/info/index.js +2 -3
- package/lib/components/booking/info/model.d.ts +2 -1
- package/lib/components/booking/info/service/editService/index.js +6 -21
- package/lib/components/booking/model.d.ts +2 -1
- package/lib/components/booking/notes/index.d.ts +1 -1
- package/lib/components/booking/notes/model.d.ts +2 -1
- package/lib/components/booking/payments/index.d.ts +1 -1
- package/lib/components/booking/payments/model.d.ts +2 -1
- package/lib/components/booking/utils.js +1 -1
- package/lib/components/schedules/index.d.ts +1 -1
- package/lib/components/schedules/model.d.ts +2 -1
- package/package.json +3 -3
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Booking: (props: any) =>
|
|
1
|
+
declare const Booking: (props: any) => any;
|
|
2
2
|
export default Booking;
|
|
@@ -30,7 +30,7 @@ var defaultModules = {
|
|
|
30
30
|
};
|
|
31
31
|
locales.init(localeTexts, localStorage.getItem("umi_locale") || "en");
|
|
32
32
|
var Info = Provider(function (props) {
|
|
33
|
-
var _modal$state2, _modal$state2$booking, _modal$state2$booking2, _modal$state2$booking3, _modal$state4, _modal$state4$notes, _context$
|
|
33
|
+
var _modal$state2, _modal$state2$booking, _modal$state2$booking2, _modal$state2$booking3, _modal$state4, _modal$state4$notes, _context$appHelper3, _context$appHelper3$u, _modal$state5, _React$createElement;
|
|
34
34
|
// return <Payments {...props} />;
|
|
35
35
|
var style = props.style,
|
|
36
36
|
globalState = props.globalState,
|
|
@@ -61,7 +61,7 @@ var Info = Provider(function (props) {
|
|
|
61
61
|
}
|
|
62
62
|
}, []);
|
|
63
63
|
useEffect(function () {
|
|
64
|
-
var _context$appHelper, _context$appHelper$ut, _context$appHelper$ut2, _context$appHelper$ut3, _context$appHelper2, _context$appHelper2$u, _context$appHelper2$u2
|
|
64
|
+
var _context$appHelper, _context$appHelper$ut, _context$appHelper$ut2, _context$appHelper$ut3, _context$appHelper2, _context$appHelper2$u, _context$appHelper2$u2;
|
|
65
65
|
var isFranchisee = context === null || context === void 0 ? void 0 : (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : (_context$appHelper$ut = _context$appHelper.utils) === null || _context$appHelper$ut === void 0 ? void 0 : (_context$appHelper$ut2 = _context$appHelper$ut.businessUtils) === null || _context$appHelper$ut2 === void 0 ? void 0 : (_context$appHelper$ut3 = _context$appHelper$ut2.getAppByModal) === null || _context$appHelper$ut3 === void 0 ? void 0 : _context$appHelper$ut3.call(_context$appHelper$ut2, "franchisee");
|
|
66
66
|
modal.dispatch({
|
|
67
67
|
type: "setState",
|
|
@@ -69,8 +69,7 @@ var Info = Provider(function (props) {
|
|
|
69
69
|
setGlobalState: props.setGlobalState
|
|
70
70
|
}, globalState), {}, {
|
|
71
71
|
isTerminal: context === null || context === void 0 ? void 0 : (_context$appHelper2 = context.appHelper) === null || _context$appHelper2 === void 0 ? void 0 : (_context$appHelper2$u = _context$appHelper2.utils) === null || _context$appHelper2$u === void 0 ? void 0 : (_context$appHelper2$u2 = _context$appHelper2$u.isTerminal) === null || _context$appHelper2$u2 === void 0 ? void 0 : _context$appHelper2$u2.call(_context$appHelper2$u),
|
|
72
|
-
isFranchisee: isFranchisee
|
|
73
|
-
timezone: context === null || context === void 0 ? void 0 : (_context$appHelper3 = context.appHelper) === null || _context$appHelper3 === void 0 ? void 0 : (_context$appHelper3$u = _context$appHelper3.utils) === null || _context$appHelper3$u === void 0 ? void 0 : (_context$appHelper3$u2 = _context$appHelper3$u.store) === null || _context$appHelper3$u2 === void 0 ? void 0 : (_context$appHelper3$u3 = _context$appHelper3$u2.getState()) === null || _context$appHelper3$u3 === void 0 ? void 0 : (_context$appHelper3$u4 = _context$appHelper3$u3.global) === null || _context$appHelper3$u4 === void 0 ? void 0 : (_context$appHelper3$u5 = _context$appHelper3$u4.globalConfig) === null || _context$appHelper3$u5 === void 0 ? void 0 : _context$appHelper3$u5.timezone
|
|
72
|
+
isFranchisee: isFranchisee
|
|
74
73
|
})
|
|
75
74
|
});
|
|
76
75
|
}, [globalState]);
|
|
@@ -116,7 +115,7 @@ var Info = Provider(function (props) {
|
|
|
116
115
|
source: "info"
|
|
117
116
|
})
|
|
118
117
|
}, _defineProperty(_React$createElement, "style", {
|
|
119
|
-
height: context !== null && context !== void 0 && (_context$
|
|
118
|
+
height: context !== null && context !== void 0 && (_context$appHelper3 = context.appHelper) !== null && _context$appHelper3 !== void 0 && (_context$appHelper3$u = _context$appHelper3.utils) !== null && _context$appHelper3$u !== void 0 && _context$appHelper3$u.isMobile ? "100%" : "100vh"
|
|
120
119
|
}), _defineProperty(_React$createElement, "bodyClassName", "booking-info-warp"), _React$createElement), /*#__PURE__*/React.createElement("div", {
|
|
121
120
|
className: "booking-info"
|
|
122
121
|
}, modules.client ? /*#__PURE__*/React.createElement(Client, null) : null, modules.holder && !((_modal$state5 = modal.state) !== null && _modal$state5 !== void 0 && _modal$state5.disabledEdit) ? /*#__PURE__*/React.createElement(React.Fragment, null, params.type === "form" ? /*#__PURE__*/React.createElement(Pet, null) : null) : null, modules.date ? /*#__PURE__*/React.createElement(DateCom, null) : null, modules.service ? /*#__PURE__*/React.createElement(React.Fragment, null, modal.state.date.value ? /*#__PURE__*/React.createElement(Service, null) : null) : null, notes, slot ? slot : null)) : null);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
3
|
export declare const walkInData: {
|
|
3
4
|
id: number;
|
|
4
5
|
nickname: string;
|
|
5
6
|
};
|
|
6
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
7
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
7
8
|
state: FormState;
|
|
8
9
|
} & {
|
|
9
10
|
dispatch: (params: {
|
|
@@ -29,13 +29,12 @@ import "./index.less";
|
|
|
29
29
|
import CollapsibleList from "../../../components/collapsibleList";
|
|
30
30
|
import { renderBundles } from "../../../components/collapsibleList/utils";
|
|
31
31
|
import { useUpdateEffect, useMemoizedFn } from "ahooks";
|
|
32
|
-
// import SelectTime from "../../../../../../../materials/src/components/select-time";
|
|
33
32
|
import { getErrorList, getServiceTimes, deleteCacheParams } from "../../../utils";
|
|
34
33
|
import Like from "../like";
|
|
35
34
|
import { getNoResource } from "../../../mock";
|
|
36
35
|
import { formatResources, getDurationProps, getFlexibleOption, getTimeObj } from "../addService/utils";
|
|
37
36
|
var Info = function Info() {
|
|
38
|
-
var _state$bookingConfig2, _state$bookingConfig3, _state$bookingConfig4, _state$service3, _state$service3$cache, _state$service5, _state$service5$cache, _state$service5$cache2, _state$service5$cache3,
|
|
37
|
+
var _state$bookingConfig2, _state$bookingConfig3, _state$bookingConfig4, _state$service3, _state$service3$cache, _state$service5, _state$service5$cache, _state$service5$cache2, _state$service5$cache3, _state$service$cacheI5, _state$service6, _state$service6$cache, _state$service6$cache2, _state$service$cacheI6, _state$service$cacheI7, _state$service$cacheI8, _state$service$cacheI9;
|
|
39
38
|
var _Form$useForm = Form.useForm(),
|
|
40
39
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
41
40
|
form = _Form$useForm2[0];
|
|
@@ -541,7 +540,6 @@ var Info = function Info() {
|
|
|
541
540
|
useEffect(function () {
|
|
542
541
|
getResourcesData();
|
|
543
542
|
}, [state.date.value]);
|
|
544
|
-
var SelectTime = (_window$BaseMaterials = window.BaseMaterials) === null || _window$BaseMaterials === void 0 ? void 0 : _window$BaseMaterials.SelectTime;
|
|
545
543
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Drawer, {
|
|
546
544
|
zIndex: 1000,
|
|
547
545
|
forceRender: true,
|
|
@@ -644,22 +642,9 @@ var Info = function Info() {
|
|
|
644
642
|
rules: [{
|
|
645
643
|
required: true
|
|
646
644
|
}]
|
|
647
|
-
},
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
console.log("eeee", e);
|
|
651
|
-
},
|
|
652
|
-
timePickerProps: {
|
|
653
|
-
style: {
|
|
654
|
-
width: "100%"
|
|
655
|
-
}
|
|
656
|
-
},
|
|
657
|
-
timeProps: {
|
|
658
|
-
style: {
|
|
659
|
-
zoom: 0.8
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
}) : null)), /*#__PURE__*/React.createElement(Col, {
|
|
645
|
+
}, /*#__PURE__*/React.createElement(Select, {
|
|
646
|
+
size: "large"
|
|
647
|
+
}, renderOptions(timeObj.timeSlices)))), /*#__PURE__*/React.createElement(Col, {
|
|
663
648
|
span: 12
|
|
664
649
|
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
665
650
|
label: locales.getText("pisell2.text.duration"),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface FormState {
|
|
2
3
|
amountSymbol: string;
|
|
3
4
|
apis: {
|
|
@@ -90,7 +91,7 @@ export declare const walkInData: {
|
|
|
90
91
|
id: number;
|
|
91
92
|
nickname: string;
|
|
92
93
|
};
|
|
93
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
94
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
94
95
|
state: FormState;
|
|
95
96
|
} & {
|
|
96
97
|
dispatch: (params: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -576,7 +576,7 @@ export var getServerItemExtend = function getServerItemExtend(state, cacheItem,
|
|
|
576
576
|
_extend.start_time = findNextSlice(findNextSliceProps);
|
|
577
577
|
} else {
|
|
578
578
|
// 没有预设日期, 则使用当前 https://www.yuque.com/feg4xm/manual/tzvrnt05ifihkndg
|
|
579
|
-
_extend.start_time =
|
|
579
|
+
_extend.start_time = 'now';
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
_extend = _objectSpread(_objectSpread({}, _extend), cacheItem._extend);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
2
3
|
import dayjs from "dayjs";
|
|
3
4
|
export interface FormState {
|
|
@@ -68,7 +69,7 @@ export interface FormState {
|
|
|
68
69
|
};
|
|
69
70
|
setGlobalState: Function | null;
|
|
70
71
|
}
|
|
71
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
72
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
72
73
|
state: FormState;
|
|
73
74
|
} & {
|
|
74
75
|
dispatch: (params: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Booking: (props: any) =>
|
|
1
|
+
declare const Booking: (props: any) => any;
|
|
2
2
|
export default Booking;
|
|
@@ -83,7 +83,7 @@ var Info = (0, import_model.Provider)((props) => {
|
|
|
83
83
|
}
|
|
84
84
|
}, []);
|
|
85
85
|
(0, import_react.useEffect)(() => {
|
|
86
|
-
var _a2, _b2, _c2, _d2, _e2, _f2, _g2
|
|
86
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
|
|
87
87
|
const isFranchisee = (_d2 = (_c2 = (_b2 = (_a2 = context == null ? void 0 : context.appHelper) == null ? void 0 : _a2.utils) == null ? void 0 : _b2.businessUtils) == null ? void 0 : _c2.getAppByModal) == null ? void 0 : _d2.call(_c2, "franchisee");
|
|
88
88
|
modal.dispatch({
|
|
89
89
|
type: "setState",
|
|
@@ -91,8 +91,7 @@ var Info = (0, import_model.Provider)((props) => {
|
|
|
91
91
|
setGlobalState: props.setGlobalState,
|
|
92
92
|
...globalState,
|
|
93
93
|
isTerminal: (_g2 = (_f2 = (_e2 = context == null ? void 0 : context.appHelper) == null ? void 0 : _e2.utils) == null ? void 0 : _f2.isTerminal) == null ? void 0 : _g2.call(_f2),
|
|
94
|
-
isFranchisee
|
|
95
|
-
timezone: (_m = (_l = (_k = (_j = (_i2 = (_h2 = context == null ? void 0 : context.appHelper) == null ? void 0 : _h2.utils) == null ? void 0 : _i2.store) == null ? void 0 : _j.getState()) == null ? void 0 : _k.global) == null ? void 0 : _l.globalConfig) == null ? void 0 : _m.timezone
|
|
94
|
+
isFranchisee
|
|
96
95
|
}
|
|
97
96
|
});
|
|
98
97
|
}, [globalState]);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
3
|
export declare const walkInData: {
|
|
3
4
|
id: number;
|
|
4
5
|
nickname: string;
|
|
5
6
|
};
|
|
6
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
7
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
7
8
|
state: FormState;
|
|
8
9
|
} & {
|
|
9
10
|
dispatch: (params: {
|
|
@@ -48,7 +48,7 @@ var import_like = __toESM(require("../like"));
|
|
|
48
48
|
var import_mock = require("../../../mock");
|
|
49
49
|
var import_utils4 = require("../addService/utils");
|
|
50
50
|
var Info = () => {
|
|
51
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q
|
|
51
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
52
52
|
const [form] = import_antd.Form.useForm();
|
|
53
53
|
const useTotal = import_antd.Form.useWatch("total", form);
|
|
54
54
|
const useLikeStatus = import_antd.Form.useWatch("like_status", form);
|
|
@@ -331,13 +331,12 @@ var Info = () => {
|
|
|
331
331
|
(0, import_react.useEffect)(() => {
|
|
332
332
|
getResourcesData();
|
|
333
333
|
}, [state.date.value]);
|
|
334
|
-
const SelectTime = (_j = window.BaseMaterials) == null ? void 0 : _j.SelectTime;
|
|
335
334
|
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
|
|
336
335
|
import_drawer.default,
|
|
337
336
|
{
|
|
338
337
|
zIndex: 1e3,
|
|
339
338
|
forceRender: true,
|
|
340
|
-
open: state.service.editModal && !((
|
|
339
|
+
open: state.service.editModal && !((_j = state.service.cacheItem) == null ? void 0 : _j.autoClose),
|
|
341
340
|
title: import_utils.locales.getText("pisell2.text.edit-service"),
|
|
342
341
|
onClose: () => {
|
|
343
342
|
dispatch({
|
|
@@ -366,7 +365,7 @@ var Info = () => {
|
|
|
366
365
|
});
|
|
367
366
|
}
|
|
368
367
|
},
|
|
369
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "current-service-info-name" }, ((
|
|
368
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "current-service-info-name" }, ((_m = (_l = (_k = state.service) == null ? void 0 : _k.cacheItem) == null ? void 0 : _l._extend) == null ? void 0 : _m.product_name) || "-"),
|
|
370
369
|
/* @__PURE__ */ import_react.default.createElement(
|
|
371
370
|
import_collapsibleList.default,
|
|
372
371
|
{
|
|
@@ -391,8 +390,8 @@ var Info = () => {
|
|
|
391
390
|
precision: 2,
|
|
392
391
|
style: { width: "100%" },
|
|
393
392
|
min: 0,
|
|
394
|
-
max: ((
|
|
395
|
-
placeholder: ((
|
|
393
|
+
max: ((_o = (_n = state.service.cacheItem) == null ? void 0 : _n._extend) == null ? void 0 : _o.origin_total) || 0,
|
|
394
|
+
placeholder: ((_q = (_p = state.service.cacheItem) == null ? void 0 : _p._extend) == null ? void 0 : _q.origin_total) || "0"
|
|
396
395
|
}
|
|
397
396
|
)
|
|
398
397
|
)), /* @__PURE__ */ import_react.default.createElement(import_antd.Col, { span: 12 }, /* @__PURE__ */ import_react.default.createElement(
|
|
@@ -429,21 +428,7 @@ var Info = () => {
|
|
|
429
428
|
name: "start_time",
|
|
430
429
|
rules: [{ required: true }]
|
|
431
430
|
},
|
|
432
|
-
|
|
433
|
-
SelectTime,
|
|
434
|
-
{
|
|
435
|
-
slice: (_v = (_u = (_t = (_s = state.bookingConfig) == null ? void 0 : _s.config) == null ? void 0 : _t.basic) == null ? void 0 : _u.service_time) == null ? void 0 : _v.value,
|
|
436
|
-
onChange: (e) => {
|
|
437
|
-
console.log("eeee", e);
|
|
438
|
-
},
|
|
439
|
-
timePickerProps: {
|
|
440
|
-
style: { width: "100%" }
|
|
441
|
-
},
|
|
442
|
-
timeProps: {
|
|
443
|
-
style: { zoom: 0.8 }
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
) : null
|
|
431
|
+
/* @__PURE__ */ import_react.default.createElement(import_antd.Select, { size: "large" }, renderOptions(timeObj.timeSlices))
|
|
447
432
|
)), /* @__PURE__ */ import_react.default.createElement(import_antd.Col, { span: 12 }, /* @__PURE__ */ import_react.default.createElement(
|
|
448
433
|
import_antd.Form.Item,
|
|
449
434
|
{
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface FormState {
|
|
2
3
|
amountSymbol: string;
|
|
3
4
|
apis: {
|
|
@@ -90,7 +91,7 @@ export declare const walkInData: {
|
|
|
90
91
|
id: number;
|
|
91
92
|
nickname: string;
|
|
92
93
|
};
|
|
93
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
94
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
94
95
|
state: FormState;
|
|
95
96
|
} & {
|
|
96
97
|
dispatch: (params: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -440,7 +440,7 @@ var getServerItemExtend = (state, cacheItem, timeObj) => {
|
|
|
440
440
|
if (findNextSliceProps.date && findNextSliceProps.date !== "00:00") {
|
|
441
441
|
_extend.start_time = findNextSlice(findNextSliceProps);
|
|
442
442
|
} else {
|
|
443
|
-
_extend.start_time =
|
|
443
|
+
_extend.start_time = "now";
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
_extend = {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
2
3
|
import dayjs from "dayjs";
|
|
3
4
|
export interface FormState {
|
|
@@ -68,7 +69,7 @@ export interface FormState {
|
|
|
68
69
|
};
|
|
69
70
|
setGlobalState: Function | null;
|
|
70
71
|
}
|
|
71
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
72
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
72
73
|
state: FormState;
|
|
73
74
|
} & {
|
|
74
75
|
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.69",
|
|
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
|
"@pisell/utils": "1.0.24",
|
|
62
|
-
"@pisell/
|
|
63
|
-
"@pisell/
|
|
62
|
+
"@pisell/date-picker": "1.0.73",
|
|
63
|
+
"@pisell/icon": "0.0.8"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"react": "^18.0.0",
|