@pisell/private-materials 6.1.3 → 6.1.5

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.
Files changed (24) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +2 -2
  6. package/build/lowcode/view.js +2 -2
  7. package/es/components/booking/info2/index.js +1 -0
  8. package/es/components/booking/info2/service/editService/index.js +28 -12
  9. package/es/components/ticketBooking/components/ticketBooking/index.js +2 -2
  10. package/es/components/ticketBooking/components/timeBar/index.js +78 -71
  11. package/es/components/ticketBooking/index.js +2 -2
  12. package/lib/components/booking/info2/service/editService/index.js +20 -7
  13. package/lib/components/ticketBooking/components/ticketBooking/index.js +25 -25
  14. package/lib/components/ticketBooking/components/timeBar/index.js +95 -88
  15. package/lib/components/ticketBooking/index.js +2 -2
  16. package/package.json +3 -3
  17. package/es/components/booking/components/drawer/index.d.ts +0 -19
  18. package/es/components/booking/info2/service/addService/utils.d.ts +0 -98
  19. package/es/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
  20. package/es/components/booking/materiels/duration/index.d.ts +0 -13
  21. package/lib/components/booking/components/drawer/index.d.ts +0 -19
  22. package/lib/components/booking/info2/service/addService/utils.d.ts +0 -98
  23. package/lib/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
  24. package/lib/components/booking/materiels/duration/index.d.ts +0 -13
@@ -35,115 +35,122 @@ module.exports = __toCommonJS(timeBar_exports);
35
35
  var import_react = __toESM(require("react"));
36
36
  var import_icons = require("@ant-design/icons");
37
37
  var import_materials = require("@pisell/materials");
38
+ var import_ahooks = require("ahooks");
38
39
  var import_antd = require("antd");
39
40
  var import_classnames = __toESM(require("classnames"));
40
41
  var import_utils = require("@pisell/utils");
41
42
  var import_index = require("./index.less");
42
43
  var TimeBar = (props) => {
43
- var _a, _b, _c, _d;
44
+ var _a, _b;
44
45
  const { globalState: state, setGlobalState, locale } = props;
45
- const _onClickNext = () => {
46
- var _a2, _b2, _c2, _d2;
46
+ const _onClickNext = (0, import_ahooks.useMemoizedFn)(() => {
47
+ var _a2, _b2, _c, _d;
47
48
  const currentTime = (_b2 = (_a2 = state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value;
48
49
  const newTime = currentTime["add"](1, "day");
49
- (_c2 = props.onDateChange) == null ? void 0 : _c2.call(props, newTime, newTime.format("YYYY-MM-DD HH:mm:ss"));
50
- (_d2 = props.setIntervalTime) == null ? void 0 : _d2.call(props, false);
51
- };
52
- const _onClickPre = () => {
53
- var _a2, _b2, _c2, _d2;
50
+ (_c = props.onDateChange) == null ? void 0 : _c.call(props, newTime, newTime.format("YYYY-MM-DD HH:mm:ss"));
51
+ (_d = props.setIntervalTime) == null ? void 0 : _d.call(props, false);
52
+ });
53
+ const _onClickPre = (0, import_ahooks.useMemoizedFn)(() => {
54
+ var _a2, _b2, _c, _d;
54
55
  const currentTime = (_b2 = (_a2 = state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value;
55
56
  const newTime = currentTime["subtract"](1, "day");
56
- (_c2 = props.onDateChange) == null ? void 0 : _c2.call(props, newTime, newTime.format("YYYY-MM-DD HH:mm:ss"));
57
- (_d2 = props.setIntervalTime) == null ? void 0 : _d2.call(props, false);
58
- };
59
- const _onClickToday = () => {
60
- var _a2;
61
- (_a2 = props.setIntervalTime) == null ? void 0 : _a2.call(props, true);
62
- };
63
- const _onClickNow = () => {
57
+ (_c = props.onDateChange) == null ? void 0 : _c.call(props, newTime, newTime.format("YYYY-MM-DD HH:mm:ss"));
58
+ (_d = props.setIntervalTime) == null ? void 0 : _d.call(props, false);
59
+ });
60
+ const _onClickToday = (0, import_ahooks.useMemoizedFn)(() => {
61
+ var _a2, _b2, _c, _d;
62
+ const currentTime = (_b2 = (_a2 = state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value;
63
+ const newTime = currentTime["subtract"](1, "day");
64
+ (_c = props.onDateChange) == null ? void 0 : _c.call(props, newTime, newTime.format("YYYY-MM-DD HH:mm:ss"));
65
+ (_d = props.setIntervalTime) == null ? void 0 : _d.call(props, false);
66
+ });
67
+ const _onClickNow = (0, import_ahooks.useMemoizedFn)(() => {
64
68
  var _a2;
65
69
  (_a2 = props.setIntervalTime) == null ? void 0 : _a2.call(props, true);
66
- };
67
- const _onDateTimeChange = (timeString) => {
68
- var _a2, _b2, _c2, _d2;
70
+ });
71
+ const _onDateTimeChange = (0, import_ahooks.useMemoizedFn)((timeString) => {
72
+ var _a2, _b2, _c, _d;
69
73
  const currentTime = (_b2 = (_a2 = state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value;
70
74
  const [hours, minutes] = timeString.split(":").map(Number);
71
75
  const newTime = currentTime.hour(hours).minute(minutes).second(0);
72
- (_c2 = props.onDateTimeChange) == null ? void 0 : _c2.call(props, newTime, newTime.format("YYYY-MM-DD HH:mm:ss"));
76
+ (_c = props.onDateTimeChange) == null ? void 0 : _c.call(props, newTime, newTime.format("YYYY-MM-DD HH:mm:ss"));
73
77
  setGlobalState({
74
78
  isTimeChange: true
75
79
  });
76
- (_d2 = props.setIntervalTime) == null ? void 0 : _d2.call(props, false);
77
- };
78
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-ticket-booking-time-bar" }, /* @__PURE__ */ import_react.default.createElement(
79
- import_antd.Button,
80
- {
81
- icon: /* @__PURE__ */ import_react.default.createElement(import_icons.LeftOutlined, null),
82
- onClick: _onClickPre,
83
- size: "large"
84
- }
85
- ), /* @__PURE__ */ import_react.default.createElement(
86
- import_antd.Button,
87
- {
88
- onClick: _onClickToday,
89
- size: "large",
90
- style: state.intervalSetTime ? { background: "#000", color: "#fff" } : void 0
91
- },
92
- import_utils.locales.getText("pisell2.ticket-booking.today")
93
- ), /* @__PURE__ */ import_react.default.createElement(
94
- "div",
95
- {
96
- className: (0, import_classnames.default)({
97
- "booking-page-date-picker-select": state.isDateChange
98
- }),
99
- style: { width: 200, flexShrink: 0 }
100
- },
101
- /* @__PURE__ */ import_react.default.createElement(
102
- import_materials.DatePicker,
80
+ (_d = props.setIntervalTime) == null ? void 0 : _d.call(props, false);
81
+ });
82
+ return (0, import_react.useMemo)(() => {
83
+ var _a2, _b2, _c, _d;
84
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-ticket-booking-time-bar" }, /* @__PURE__ */ import_react.default.createElement(
85
+ import_antd.Button,
103
86
  {
104
- inputReadOnly: true,
105
- value: (_b = (_a = state == null ? void 0 : state.modalState) == null ? void 0 : _a.date) == null ? void 0 : _b.value,
106
- format: locale === "en" ? "dddd, DD MMM YYYY" : "YYYY年MM月DD日",
107
- onChange: props == null ? void 0 : props.onDateChange,
108
- size: "large",
109
- style: { width: "100%" }
87
+ icon: /* @__PURE__ */ import_react.default.createElement(import_icons.LeftOutlined, null),
88
+ onClick: _onClickPre,
89
+ size: "large"
110
90
  }
111
- )
112
- ), /* @__PURE__ */ import_react.default.createElement(
113
- import_antd.Button,
114
- {
115
- icon: /* @__PURE__ */ import_react.default.createElement(import_icons.RightOutlined, null),
116
- onClick: _onClickNext,
117
- size: "large"
118
- }
119
- ), /* @__PURE__ */ import_react.default.createElement(
120
- "div",
121
- {
122
- className: (0, import_classnames.default)({
123
- "booking-page-date-picker-select": state.isTimeChange
124
- })
125
- },
126
- /* @__PURE__ */ import_react.default.createElement(
127
- import_materials.SelectTime,
91
+ ), /* @__PURE__ */ import_react.default.createElement(
92
+ import_antd.Button,
128
93
  {
129
- value: (_d = (_c = state == null ? void 0 : state.modalState) == null ? void 0 : _c.date) == null ? void 0 : _d.value.format("HH:mm"),
130
- onChange: _onDateTimeChange,
131
- popoverProps: {
132
- style: { zoom: 0.8 }
133
- },
134
- timePickerProps: {},
135
- timeProps: {},
136
- slice: 5
94
+ onClick: _onClickToday,
95
+ size: "large",
96
+ style: state.intervalSetTime ? { background: "#000", color: "#fff" } : void 0
97
+ },
98
+ import_utils.locales.getText("pisell2.ticket-booking.today")
99
+ ), /* @__PURE__ */ import_react.default.createElement(
100
+ "div",
101
+ {
102
+ className: (0, import_classnames.default)({
103
+ "booking-page-date-picker-select": state.isDateChange
104
+ }),
105
+ style: { width: 200, flexShrink: 0 }
106
+ },
107
+ /* @__PURE__ */ import_react.default.createElement(
108
+ import_materials.DatePicker,
109
+ {
110
+ inputReadOnly: true,
111
+ value: (_b2 = (_a2 = state == null ? void 0 : state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value,
112
+ format: locale === "en" ? "dddd, DD MMM YYYY" : "YYYY年MM月DD日",
113
+ onChange: props == null ? void 0 : props.onDateChange,
114
+ size: "large",
115
+ style: { width: "100%" }
116
+ }
117
+ )
118
+ ), /* @__PURE__ */ import_react.default.createElement(
119
+ import_antd.Button,
120
+ {
121
+ icon: /* @__PURE__ */ import_react.default.createElement(import_icons.RightOutlined, null),
122
+ onClick: _onClickNext,
123
+ size: "large"
137
124
  }
138
- )
139
- ), /* @__PURE__ */ import_react.default.createElement(
140
- import_antd.Button,
141
- {
142
- onClick: _onClickNow,
143
- size: "large",
144
- style: state.intervalSetTime ? { background: "#000", color: "#fff" } : void 0
145
- },
146
- import_utils.locales.getText("pisell2.ticket-booking.now")
147
- ));
125
+ ), /* @__PURE__ */ import_react.default.createElement(
126
+ "div",
127
+ {
128
+ className: (0, import_classnames.default)({
129
+ "booking-page-date-picker-select": state.isTimeChange
130
+ })
131
+ },
132
+ /* @__PURE__ */ import_react.default.createElement(
133
+ import_materials.SelectTime,
134
+ {
135
+ value: (_d = (_c = state == null ? void 0 : state.modalState) == null ? void 0 : _c.date) == null ? void 0 : _d.value.format("HH:mm"),
136
+ onChange: _onDateTimeChange,
137
+ popoverProps: {
138
+ style: { zoom: 0.8 }
139
+ },
140
+ timePickerProps: {},
141
+ timeProps: {},
142
+ slice: 5
143
+ }
144
+ )
145
+ ), /* @__PURE__ */ import_react.default.createElement(
146
+ import_antd.Button,
147
+ {
148
+ onClick: _onClickNow,
149
+ size: "large",
150
+ style: state.intervalSetTime ? { background: "#000", color: "#fff" } : void 0
151
+ },
152
+ import_utils.locales.getText("pisell2.ticket-booking.now")
153
+ ));
154
+ }, [(_b = (_a = state.modalState) == null ? void 0 : _a.date) == null ? void 0 : _b.value, state.intervalSetTime, state.isTimeChange, state.isDateChange, locale]);
148
155
  };
149
156
  var timeBar_default = TimeBar;
@@ -183,13 +183,13 @@ var initialState = {
183
183
  ]
184
184
  };
185
185
  var ticketBooking_default = (props) => {
186
- var _a, _b, _c, _d, _e, _f;
186
+ var _a, _b, _c, _d, _e, _f, _g;
187
187
  const { productExtensionType, bookingConfigParams } = props;
188
188
  const storeRef = (0, import_react.useRef)(null);
189
189
  const context = (0, import_useEngineContext.default)();
190
190
  import_utils.locales.init(
191
191
  import_locales.default,
192
- ((_d = (_c = (_b = (_a = context.appHelper.utils) == null ? void 0 : _a.getApp()) == null ? void 0 : _b.locales) == null ? void 0 : _c.getLocale) == null ? void 0 : _d.call(_c)) || ((_f = (_e = context.appHelper.utils) == null ? void 0 : _e.storage) == null ? void 0 : _f.get("umi_locale")) || "en"
192
+ ((_e = (_d = (_c = (_b = (_a = context.appHelper.utils) == null ? void 0 : _a.getApp) == null ? void 0 : _b.call(_a)) == null ? void 0 : _c.locales) == null ? void 0 : _d.getLocale) == null ? void 0 : _e.call(_d)) || ((_g = (_f = context.appHelper.utils) == null ? void 0 : _f.storage) == null ? void 0 : _g.get("umi_locale")) || "en"
193
193
  );
194
194
  (0, import_react.useLayoutEffect)(() => {
195
195
  import_utils2.request.setRequest(context.appHelper.utils.request);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.1.3",
3
+ "version": "6.1.5",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,9 +59,9 @@
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/utils": "3.0.0",
63
- "@pisell/materials": "6.1.1",
64
62
  "@pisell/icon": "0.0.11",
63
+ "@pisell/materials": "6.1.1",
64
+ "@pisell/utils": "3.0.0",
65
65
  "@pisell/date-picker": "3.0.2"
66
66
  },
67
67
  "peerDependencies": {
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { DrawerProps } from 'antd';
3
- import './index.less';
4
- export interface PisellDrawerProps extends DrawerProps {
5
- header?: React.ReactNode;
6
- titleNoWrap?: boolean;
7
- hideScrollBar?: boolean;
8
- showGoBack?: boolean;
9
- }
10
- /**
11
- * @title: 自定义抽屉
12
- * @description:
13
- * @param {PisellDrawerProps} props
14
- * @return {*}
15
- * @Author: zhiwei.Wang
16
- * @Date: 2024-01-30 16:51
17
- */
18
- declare const Drawer: (props: PisellDrawerProps) => JSX.Element;
19
- export default Drawer;
@@ -1,98 +0,0 @@
1
- import dayjs from 'dayjs';
2
- export declare const getUsableTime: (cacheItem: any) => any;
3
- export declare const getDurationProps: ({ cacheItem, useStartTime, currentResource, slice, }: any) => {
4
- startDate: dayjs.Dayjs;
5
- usableTime: any;
6
- duration: string | number | {
7
- type: string;
8
- value: number;
9
- };
10
- locale: string;
11
- slice: any;
12
- selectProps: {
13
- size: string;
14
- };
15
- };
16
- /**
17
- * @title: 灵活时长选项
18
- * @description:
19
- * @param {*} useMemo
20
- * @return {*}
21
- * @Author: zhiwei.Wang
22
- * @Date: 2024-02-23 10:10
23
- */
24
- export declare const getFlexibleOption: ({ cacheItem, useStartTime, currentResource, slice, durationProps, }: any) => {
25
- label: any;
26
- value: any;
27
- } | null;
28
- export declare const getTimeSlices: ({ state }: any) => {
29
- timeSlices: {
30
- label: string;
31
- value: string;
32
- }[];
33
- };
34
- /**
35
- * @title: 时间切片
36
- * @description:
37
- * @return {*}
38
- * @Author: zhiwei.Wang
39
- * @Date: 2024-01-09 13:37
40
- */
41
- export declare const getTimeObj: ({ cacheItem, useStartTime, currentResource, state, useDuration, durationProps, }: any) => {
42
- timeSlices: {
43
- label: string;
44
- value: string;
45
- }[];
46
- durationSlicesBasedOnTime: {
47
- label: string;
48
- value: number;
49
- }[];
50
- };
51
- /**
52
- * @title: 获取资源列表
53
- * @description:
54
- * @return {*}
55
- * @Author: zhiwei.Wang
56
- * @Date: 2024-01-09 13:38
57
- */
58
- export declare const formatResources: ({ cacheItem, resourcesOrigin, id }: any) => {
59
- list: any;
60
- maps: any;
61
- };
62
- export declare const setDefaultResource: ({ cacheItem, resources }: any) => any;
63
- /**
64
- * @title: 设置默认容量
65
- * @description:
66
- * @param {any} param1
67
- * @return {*}
68
- * @Author: zhiwei.Wang
69
- * @Date: 2024-09-19 20:26
70
- */
71
- export declare const setDefaultCapacitys: ({ capacitys, cacheItem }: any) => any;
72
- /**
73
- * @title: 将商品内关联的资源id还原成数据
74
- * @description:
75
- * @param {any} resourcesOriginMap
76
- * @param {any} cacheItem
77
- * @return {*}
78
- * @Author: zhiwei.Wang
79
- * @Date: 2024-09-19 20:23
80
- */
81
- export declare const getResourceByIds: (resourcesOriginMap: any, cacheItem: any, extraParams?: any) => any[];
82
- /**
83
- * @title: 预生成服务的 extend
84
- * @description:
85
- * @param {any} param1
86
- * @return {*}
87
- * @Author: zhiwei.Wang
88
- * @Date: 2024-06-01 13:25
89
- */
90
- export declare const getProductExtend: ({ cacheItem, state, isDisabledTime }: any) => any;
91
- /**
92
- * @title: 格式化服务列表
93
- * @description: 后端列表返回的product_resource.resources 的optional_resource等不是最新数据
94
- * 使用with resourceRelation后 返回的resource_relation是实时数据
95
- * 这里做一次转换
96
- * @param list
97
- */
98
- export declare const transServiceList: (list: any[]) => any[];
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
- export default _default;
@@ -1,13 +0,0 @@
1
- import { SelectProps } from 'antd';
2
- interface DurationProps extends SelectProps {
3
- locale?: string;
4
- slice?: number;
5
- selectProps?: SelectProps;
6
- timeObjChange?: any;
7
- duration?: any;
8
- usableTime?: any;
9
- startDate?: any;
10
- timeObj?: any;
11
- }
12
- declare const Duration: (props: DurationProps) => JSX.Element;
13
- export default Duration;
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { DrawerProps } from 'antd';
3
- import './index.less';
4
- export interface PisellDrawerProps extends DrawerProps {
5
- header?: React.ReactNode;
6
- titleNoWrap?: boolean;
7
- hideScrollBar?: boolean;
8
- showGoBack?: boolean;
9
- }
10
- /**
11
- * @title: 自定义抽屉
12
- * @description:
13
- * @param {PisellDrawerProps} props
14
- * @return {*}
15
- * @Author: zhiwei.Wang
16
- * @Date: 2024-01-30 16:51
17
- */
18
- declare const Drawer: (props: PisellDrawerProps) => JSX.Element;
19
- export default Drawer;
@@ -1,98 +0,0 @@
1
- import dayjs from 'dayjs';
2
- export declare const getUsableTime: (cacheItem: any) => any;
3
- export declare const getDurationProps: ({ cacheItem, useStartTime, currentResource, slice, }: any) => {
4
- startDate: dayjs.Dayjs;
5
- usableTime: any;
6
- duration: string | number | {
7
- type: string;
8
- value: number;
9
- };
10
- locale: string;
11
- slice: any;
12
- selectProps: {
13
- size: string;
14
- };
15
- };
16
- /**
17
- * @title: 灵活时长选项
18
- * @description:
19
- * @param {*} useMemo
20
- * @return {*}
21
- * @Author: zhiwei.Wang
22
- * @Date: 2024-02-23 10:10
23
- */
24
- export declare const getFlexibleOption: ({ cacheItem, useStartTime, currentResource, slice, durationProps, }: any) => {
25
- label: any;
26
- value: any;
27
- } | null;
28
- export declare const getTimeSlices: ({ state }: any) => {
29
- timeSlices: {
30
- label: string;
31
- value: string;
32
- }[];
33
- };
34
- /**
35
- * @title: 时间切片
36
- * @description:
37
- * @return {*}
38
- * @Author: zhiwei.Wang
39
- * @Date: 2024-01-09 13:37
40
- */
41
- export declare const getTimeObj: ({ cacheItem, useStartTime, currentResource, state, useDuration, durationProps, }: any) => {
42
- timeSlices: {
43
- label: string;
44
- value: string;
45
- }[];
46
- durationSlicesBasedOnTime: {
47
- label: string;
48
- value: number;
49
- }[];
50
- };
51
- /**
52
- * @title: 获取资源列表
53
- * @description:
54
- * @return {*}
55
- * @Author: zhiwei.Wang
56
- * @Date: 2024-01-09 13:38
57
- */
58
- export declare const formatResources: ({ cacheItem, resourcesOrigin, id }: any) => {
59
- list: any;
60
- maps: any;
61
- };
62
- export declare const setDefaultResource: ({ cacheItem, resources }: any) => any;
63
- /**
64
- * @title: 设置默认容量
65
- * @description:
66
- * @param {any} param1
67
- * @return {*}
68
- * @Author: zhiwei.Wang
69
- * @Date: 2024-09-19 20:26
70
- */
71
- export declare const setDefaultCapacitys: ({ capacitys, cacheItem }: any) => any;
72
- /**
73
- * @title: 将商品内关联的资源id还原成数据
74
- * @description:
75
- * @param {any} resourcesOriginMap
76
- * @param {any} cacheItem
77
- * @return {*}
78
- * @Author: zhiwei.Wang
79
- * @Date: 2024-09-19 20:23
80
- */
81
- export declare const getResourceByIds: (resourcesOriginMap: any, cacheItem: any, extraParams?: any) => any[];
82
- /**
83
- * @title: 预生成服务的 extend
84
- * @description:
85
- * @param {any} param1
86
- * @return {*}
87
- * @Author: zhiwei.Wang
88
- * @Date: 2024-06-01 13:25
89
- */
90
- export declare const getProductExtend: ({ cacheItem, state, isDisabledTime }: any) => any;
91
- /**
92
- * @title: 格式化服务列表
93
- * @description: 后端列表返回的product_resource.resources 的optional_resource等不是最新数据
94
- * 使用with resourceRelation后 返回的resource_relation是实时数据
95
- * 这里做一次转换
96
- * @param list
97
- */
98
- export declare const transServiceList: (list: any[]) => any[];
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
- export default _default;
@@ -1,13 +0,0 @@
1
- import { SelectProps } from 'antd';
2
- interface DurationProps extends SelectProps {
3
- locale?: string;
4
- slice?: number;
5
- selectProps?: SelectProps;
6
- timeObjChange?: any;
7
- duration?: any;
8
- usableTime?: any;
9
- startDate?: any;
10
- timeObj?: any;
11
- }
12
- declare const Duration: (props: DurationProps) => JSX.Element;
13
- export default Duration;