@pisell/private-materials 3.0.109 → 3.0.111

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 (42) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/render/default/view.js +2 -2
  7. package/build/lowcode/view.js +2 -2
  8. package/es/components/booking/addons/index.d.ts +2 -2
  9. package/es/components/booking/addons/index.js +42 -41
  10. package/es/components/booking/addons/model.d.ts +1 -2
  11. package/es/components/booking/forms/forms.d.ts +1 -1
  12. package/es/components/booking/forms/index.d.ts +1 -1
  13. package/es/components/booking/forms/model.d.ts +1 -2
  14. package/es/components/booking/index.d.ts +1 -1
  15. package/es/components/booking/info/index.d.ts +1 -1
  16. package/es/components/booking/info/model.d.ts +1 -2
  17. package/es/components/booking/info/service/addService/index.js +1 -0
  18. package/es/components/booking/model.d.ts +1 -2
  19. package/es/components/booking/notes/index.d.ts +1 -1
  20. package/es/components/booking/notes/model.d.ts +1 -2
  21. package/es/components/booking/payments/index.d.ts +1 -1
  22. package/es/components/booking/payments/model.d.ts +1 -2
  23. package/es/components/schedules/index.d.ts +1 -1
  24. package/es/components/schedules/model.d.ts +1 -2
  25. package/lib/components/booking/addons/index.d.ts +2 -2
  26. package/lib/components/booking/addons/index.js +1 -0
  27. package/lib/components/booking/addons/model.d.ts +1 -2
  28. package/lib/components/booking/forms/forms.d.ts +1 -1
  29. package/lib/components/booking/forms/index.d.ts +1 -1
  30. package/lib/components/booking/forms/model.d.ts +1 -2
  31. package/lib/components/booking/index.d.ts +1 -1
  32. package/lib/components/booking/info/index.d.ts +1 -1
  33. package/lib/components/booking/info/model.d.ts +1 -2
  34. package/lib/components/booking/info/service/addService/index.js +1 -0
  35. package/lib/components/booking/model.d.ts +1 -2
  36. package/lib/components/booking/notes/index.d.ts +1 -1
  37. package/lib/components/booking/notes/model.d.ts +1 -2
  38. package/lib/components/booking/payments/index.d.ts +1 -1
  39. package/lib/components/booking/payments/model.d.ts +1 -2
  40. package/lib/components/schedules/index.d.ts +1 -1
  41. package/lib/components/schedules/model.d.ts +1 -2
  42. package/package.json +3 -3
@@ -5,7 +5,7 @@
5
5
  * @Author: zhiwei.Wang
6
6
  * @Date: 2024-01-30 16:33
7
7
  */
8
- import "./index.less";
8
+ import './index.less';
9
9
  export interface InfoProps {
10
10
  title?: string;
11
11
  style?: any;
@@ -13,5 +13,5 @@ export interface InfoProps {
13
13
  setGlobalState: any;
14
14
  }
15
15
  export declare const formatProducts: (values: any) => any;
16
- declare const Addons: (props: any) => any;
16
+ declare const Addons: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<unknown>>;
17
17
  export default Addons;
@@ -25,9 +25,9 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
25
25
  * @Date: 2024-01-30 16:33
26
26
  */
27
27
 
28
- import React, { useContext, useEffect, useMemo, useState, useRef } from "react";
29
- import SearchLg from "@pisell/icon/es/SearchLg";
30
- import { Input, Button, Skeleton, Modal } from "antd";
28
+ import React, { useContext, useEffect, useMemo, useState, useRef } from 'react';
29
+ import SearchLg from '@pisell/icon/es/SearchLg';
30
+ import { Input, Button, Skeleton, Modal } from 'antd';
31
31
  import Drawer from "../components/drawer";
32
32
  import TabPane from "../components/tabPane";
33
33
  import { Context, Provider } from "./model";
@@ -37,7 +37,7 @@ import EmptyBooking from "../components/emptyBooking";
37
37
  import Footer from "../components/footer";
38
38
  import { formatProductBundle } from "../components/footer/utils";
39
39
  import { formatProductListByCategory, getProductTotalPrice } from "../utils";
40
- import { locales, getUniqueId } from "@pisell/utils";
40
+ import { locales, getUniqueId } from '@pisell/utils';
41
41
  import "./index.less";
42
42
  import useEngineContext from "../../../hooks/useEngineContext";
43
43
  export var formatProducts = function formatProducts(values) {
@@ -50,11 +50,11 @@ export var formatProducts = function formatProducts(values) {
50
50
  price: item._extend.price,
51
51
  product_id: item.id,
52
52
  discount_amount: 0,
53
- product_discount_reason: "",
53
+ product_discount_reason: '',
54
54
  is_charge_tax: item.is_charge_tax,
55
- note: "",
56
- discountway: "num",
57
- discount_type: "discount",
55
+ note: '',
56
+ discountway: 'num',
57
+ discount_type: 'discount',
58
58
  bundle_edit: (_item$_extend = item._extend) === null || _item$_extend === void 0 ? void 0 : _item$_extend.bundle_edit,
59
59
  product_bundle: formatProductBundle((_item$_extend2 = item._extend) === null || _item$_extend2 === void 0 ? void 0 : (_item$_extend2$other = _item$_extend2.other) === null || _item$_extend2$other === void 0 ? void 0 : _item$_extend2$other.bundle)
60
60
  };
@@ -76,7 +76,7 @@ var restoreProductOtherData = function restoreProductOtherData(data) {
76
76
  quantity: bundleItem.num,
77
77
  option: bundleItem.option.map(function (optionItem) {
78
78
  return _objectSpread(_objectSpread({}, optionItem), {}, {
79
- name: optionItem.name["auto"],
79
+ name: optionItem.name['auto'],
80
80
  quantity: bundleItem.num,
81
81
  product_option_item_id: optionItem.option_group_item_id
82
82
  });
@@ -123,7 +123,7 @@ var Addons = Provider(function (props) {
123
123
  _useState4 = _slicedToArray(_useState3, 2),
124
124
  listLoading = _useState4[0],
125
125
  setListLoading = _useState4[1];
126
- var _useState5 = useState(""),
126
+ var _useState5 = useState(''),
127
127
  _useState6 = _slicedToArray(_useState5, 2),
128
128
  search = _useState6[0],
129
129
  setSearch = _useState6[1];
@@ -138,7 +138,7 @@ var Addons = Provider(function (props) {
138
138
  interaction = _ref.interaction;
139
139
  useEffect(function () {
140
140
  dispatch({
141
- type: "setState",
141
+ type: 'setState',
142
142
  payload: {
143
143
  setGlobalState: props.setGlobalState
144
144
  }
@@ -146,7 +146,7 @@ var Addons = Provider(function (props) {
146
146
  }, []);
147
147
  useEffect(function () {
148
148
  dispatch({
149
- type: "setState",
149
+ type: 'setState',
150
150
  payload: _objectSpread({}, globalState)
151
151
  });
152
152
  }, [globalState]);
@@ -172,7 +172,7 @@ var Addons = Provider(function (props) {
172
172
  useEffect(function () {
173
173
  if (isTerminal !== null && isTerminal !== void 0 && isTerminal()) {
174
174
  var _interaction$utils;
175
- interaction === null || interaction === void 0 ? void 0 : (_interaction$utils = interaction.utils) === null || _interaction$utils === void 0 ? void 0 : _interaction$utils.mountFunction("booking", "refreshBookingDetailAddons", function () {
175
+ interaction === null || interaction === void 0 ? void 0 : (_interaction$utils = interaction.utils) === null || _interaction$utils === void 0 ? void 0 : _interaction$utils.mountFunction('booking', 'refreshBookingDetailAddons', function () {
176
176
  init();
177
177
  });
178
178
  }
@@ -197,7 +197,7 @@ var Addons = Provider(function (props) {
197
197
  case 3:
198
198
  data = _context.sent;
199
199
  dispatch({
200
- type: "setAddons",
200
+ type: 'setAddons',
201
201
  payload: {
202
202
  value: formatProductValues(data || []),
203
203
  load: true,
@@ -234,15 +234,16 @@ var Addons = Provider(function (props) {
234
234
  return state.apis.getProducts({
235
235
  skip: 1,
236
236
  num: 500,
237
- extension_type: ["normal", "product_bundle", "product_package_ticket", "ticket"],
238
- with: ["category"],
237
+ extension_type: ['normal', 'product_bundle', 'product_package_ticket', 'ticket'],
238
+ with: ['category'],
239
239
  // include_formula: "no",
240
240
  // include_bundle: "no",
241
241
  // include_option: "no",
242
242
  // include_variant: "no",
243
243
  open_quotation: 1,
244
244
  with_schedule: 0,
245
- with_count: ["bundleGroup", "optionGroup"],
245
+ with_count: ['bundleGroup', 'optionGroup'],
246
+ order_by_string: 'sort:desc',
246
247
  _config: {
247
248
  useCache: true
248
249
  }
@@ -251,7 +252,7 @@ var Addons = Provider(function (props) {
251
252
  data = _context2.sent;
252
253
  setListLoading(false);
253
254
  dispatch({
254
- type: "setAddons",
255
+ type: 'setAddons',
255
256
  payload: {
256
257
  originData: (data === null || data === void 0 ? void 0 : data.list) || []
257
258
  }
@@ -279,12 +280,12 @@ var Addons = Provider(function (props) {
279
280
  var _list = _toConsumableArray(state.addons.value);
280
281
 
281
282
  // 是否有单规格 组合规格 套餐, 如果没有不需要打开弹窗
282
- var isEject = type === "detail" || item.bundle_group_count > 0;
283
+ var isEject = type === 'detail' || item.bundle_group_count > 0;
283
284
  state.action({
284
- type: "pisell1.handleOpenProductModal",
285
+ type: 'pisell1.handleOpenProductModal',
285
286
  data: {
286
287
  id: item.id,
287
- date: state.date.value.format("YYYY-MM-DD"),
288
+ date: state.date.value.format('YYYY-MM-DD'),
288
289
  showConfig: {
289
290
  option: false,
290
291
  session: false,
@@ -294,7 +295,7 @@ var Addons = Provider(function (props) {
294
295
  is_eject: isEject ? 1 : 0
295
296
  },
296
297
  callback: function callback(e) {
297
- console.log("e", e);
298
+ console.log('e', e);
298
299
  var product = _objectSpread(_objectSpread({}, item), {}, {
299
300
  _id: getUniqueId(),
300
301
  _key: e.key,
@@ -319,7 +320,7 @@ var Addons = Provider(function (props) {
319
320
  _list.push(product);
320
321
  }
321
322
  dispatch({
322
- type: "setAddons",
323
+ type: 'setAddons',
323
324
  payload: {
324
325
  value: _list,
325
326
  showModal: false,
@@ -365,7 +366,7 @@ var Addons = Provider(function (props) {
365
366
  });
366
367
  }
367
368
  dispatch({
368
- type: "setAddons",
369
+ type: 'setAddons',
369
370
  payload: {
370
371
  value: _list,
371
372
  edit: true
@@ -411,8 +412,8 @@ var Addons = Provider(function (props) {
411
412
  if (isTerminal !== null && isTerminal !== void 0 && isTerminal()) {
412
413
  var _interaction$utils2, _interaction$utils2$p;
413
414
  return interaction === null || interaction === void 0 ? void 0 : (_interaction$utils2 = interaction.utils) === null || _interaction$utils2 === void 0 ? void 0 : (_interaction$utils2$p = _interaction$utils2.postMessageToApp) === null || _interaction$utils2$p === void 0 ? void 0 : _interaction$utils2$p.call(_interaction$utils2, {
414
- module: "booking",
415
- key: "edit_order",
415
+ module: 'booking',
416
+ key: 'edit_order',
416
417
  data: {
417
418
  order_id: state.bookingId
418
419
  }
@@ -420,15 +421,15 @@ var Addons = Provider(function (props) {
420
421
  }
421
422
  if (state.channelDisabledEdit) {
422
423
  modal.warning({
423
- okText: locales.getText("pisell2.text.ok"),
424
- content: locales.getText("pisell2.text.terminal-edit-message")
424
+ okText: locales.getText('pisell2.text.ok'),
425
+ content: locales.getText('pisell2.text.terminal-edit-message')
425
426
  });
426
427
  return;
427
428
  }
428
429
  getProducts();
429
- setSearch("");
430
+ setSearch('');
430
431
  dispatch({
431
- type: "setAddons",
432
+ type: 'setAddons',
432
433
  payload: {
433
434
  showModal: true
434
435
  }
@@ -461,7 +462,7 @@ var Addons = Provider(function (props) {
461
462
  type: "default",
462
463
  disabled: loading,
463
464
  onClick: handleOpenAdd
464
- }, locales.getText("pisell2.text.add"))];
465
+ }, locales.getText('pisell2.text.add'))];
465
466
  return arr;
466
467
  }, [state, isEdit, loading]);
467
468
  var footer = useMemo(function () {
@@ -483,10 +484,10 @@ var Addons = Provider(function (props) {
483
484
  return;
484
485
  }
485
486
  state.action({
486
- type: "pisell1.handleOpenProductModal",
487
+ type: 'pisell1.handleOpenProductModal',
487
488
  data: {
488
489
  id: item.id,
489
- date: state.date.value.format("YYYY-MM-DD"),
490
+ date: state.date.value.format('YYYY-MM-DD'),
490
491
  showConfig: {
491
492
  option: false,
492
493
  session: false,
@@ -508,12 +509,12 @@ var Addons = Provider(function (props) {
508
509
  var _total = getProductTotalPrice(product);
509
510
  product._extend.total = _total;
510
511
  var _list = _toConsumableArray(state.addons.value);
511
- console.log("cacheItem", product);
512
+ console.log('cacheItem', product);
512
513
  _list = _list.map(function (d) {
513
514
  return d._id === product._id ? product : d;
514
515
  });
515
516
  dispatch({
516
- type: "setAddons",
517
+ type: 'setAddons',
517
518
  payload: {
518
519
  value: _list,
519
520
  showModal: false,
@@ -526,12 +527,12 @@ var Addons = Provider(function (props) {
526
527
  };
527
528
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(TabPane, {
528
529
  loading: loading,
529
- header: locales.getText("pisell2.text.addons"),
530
+ header: locales.getText('pisell2.text.addons'),
530
531
  footer: footer
531
532
  }, !state.bookingId ? /*#__PURE__*/React.createElement(EmptyBooking, null) : /*#__PURE__*/React.createElement(React.Fragment, null, state.addons.value.length ? /*#__PURE__*/React.createElement("div", {
532
533
  className: "",
533
534
  style: {
534
- margin: "0 -32px"
535
+ margin: '0 -32px'
535
536
  }
536
537
  }, state.addons.value.map(function (d) {
537
538
  return /*#__PURE__*/React.createElement(ProductItem, {
@@ -545,13 +546,13 @@ var Addons = Provider(function (props) {
545
546
  }
546
547
  });
547
548
  })) : /*#__PURE__*/React.createElement(EmptyBooking, {
548
- description: locales.getText("pisell1.text.no-addons")
549
+ description: locales.getText('pisell1.text.no-addons')
549
550
  }), /*#__PURE__*/React.createElement(Drawer, {
550
551
  open: state.addons.showModal,
551
- title: locales.getText("pisell2.text.addons"),
552
+ title: locales.getText('pisell2.text.addons'),
552
553
  onClose: function onClose() {
553
554
  dispatch({
554
- type: "setAddons",
555
+ type: 'setAddons',
555
556
  payload: {
556
557
  showModal: false
557
558
  }
@@ -567,7 +568,7 @@ var Addons = Provider(function (props) {
567
568
  marginTop: 16,
568
569
  height: 44
569
570
  },
570
- placeholder: locales.getText("pisell2.text.search"),
571
+ placeholder: locales.getText('pisell2.text.search'),
571
572
  allowClear: true,
572
573
  value: search,
573
574
  onChange: function onChange(e) {
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => (props: 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: {
@@ -21,5 +21,5 @@ export interface InfoProps {
21
21
  * @Author: zhiwei.Wang
22
22
  * @Date: 2024-01-30 17:10
23
23
  */
24
- declare const Forms: (props: any) => any;
24
+ declare const Forms: (props: any) => JSX.Element;
25
25
  export default Forms;
@@ -5,5 +5,5 @@ export interface InfoProps {
5
5
  globalState: any;
6
6
  setGlobalState: any;
7
7
  }
8
- declare const Forms: (props: any) => any;
8
+ declare const Forms: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<unknown>>;
9
9
  export default Forms;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => (props: 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,2 +1,2 @@
1
- declare const Booking: (props: any) => any;
1
+ declare const Booking: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<unknown>>;
2
2
  export default Booking;
@@ -8,5 +8,5 @@ export interface InfoProps {
8
8
  slot: any;
9
9
  setState: any;
10
10
  }
11
- declare const Info: (props: any) => any;
11
+ declare const Info: (props: any) => JSX.Element;
12
12
  export default Info;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from '../model';
3
2
  export declare const walkInData: {
4
3
  id: number;
5
4
  nickname: string;
6
5
  };
7
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
6
+ export declare const Provider: (ComponentUi: any) => import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<unknown>>, Context: import("react").Context<{
8
7
  state: FormState;
9
8
  } & {
10
9
  dispatch: (params: {
@@ -160,6 +160,7 @@ var Info = function Info() {
160
160
  open_quotation: 1,
161
161
  with_schedule: 1,
162
162
  with_count: ['bundleGroup', 'optionGroup'],
163
+ order_by_string: 'sort:desc',
163
164
  _config: {
164
165
  useCache: true
165
166
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -96,7 +95,7 @@ export declare const walkInData: {
96
95
  id: number;
97
96
  nickname: string;
98
97
  };
99
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
98
+ export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
100
99
  state: FormState;
101
100
  } & {
102
101
  dispatch: (params: {
@@ -4,5 +4,5 @@ export interface InfoProps {
4
4
  globalState: any;
5
5
  setGlobalState: any;
6
6
  }
7
- declare const Notes: (props: any) => any;
7
+ declare const Notes: (props: any) => JSX.Element;
8
8
  export default Notes;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => (props: 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: {
@@ -5,5 +5,5 @@ export interface InfoProps {
5
5
  globalState: any;
6
6
  setGlobalState: any;
7
7
  }
8
- declare const Payments: (props: any) => any;
8
+ declare const Payments: (props: any) => JSX.Element;
9
9
  export default Payments;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => (props: 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,3 +1,3 @@
1
1
  import "./index.less";
2
- declare const Schedules: (props: any) => any;
2
+ declare const Schedules: (props: any) => JSX.Element;
3
3
  export default Schedules;
@@ -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) => any, Context: import("react").Context<{
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: {
@@ -5,7 +5,7 @@
5
5
  * @Author: zhiwei.Wang
6
6
  * @Date: 2024-01-30 16:33
7
7
  */
8
- import "./index.less";
8
+ import './index.less';
9
9
  export interface InfoProps {
10
10
  title?: string;
11
11
  style?: any;
@@ -13,5 +13,5 @@ export interface InfoProps {
13
13
  setGlobalState: any;
14
14
  }
15
15
  export declare const formatProducts: (values: any) => any;
16
- declare const Addons: (props: any) => any;
16
+ declare const Addons: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<unknown>>;
17
17
  export default Addons;
@@ -197,6 +197,7 @@ var Addons = (0, import_model.Provider)((props) => {
197
197
  open_quotation: 1,
198
198
  with_schedule: 0,
199
199
  with_count: ["bundleGroup", "optionGroup"],
200
+ order_by_string: "sort:desc",
200
201
  _config: {
201
202
  useCache: true
202
203
  }
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => (props: 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: {
@@ -21,5 +21,5 @@ export interface InfoProps {
21
21
  * @Author: zhiwei.Wang
22
22
  * @Date: 2024-01-30 17:10
23
23
  */
24
- declare const Forms: (props: any) => any;
24
+ declare const Forms: (props: any) => JSX.Element;
25
25
  export default Forms;
@@ -5,5 +5,5 @@ export interface InfoProps {
5
5
  globalState: any;
6
6
  setGlobalState: any;
7
7
  }
8
- declare const Forms: (props: any) => any;
8
+ declare const Forms: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<unknown>>;
9
9
  export default Forms;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => (props: 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,2 +1,2 @@
1
- declare const Booking: (props: any) => any;
1
+ declare const Booking: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<unknown>>;
2
2
  export default Booking;
@@ -8,5 +8,5 @@ export interface InfoProps {
8
8
  slot: any;
9
9
  setState: any;
10
10
  }
11
- declare const Info: (props: any) => any;
11
+ declare const Info: (props: any) => JSX.Element;
12
12
  export default Info;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from '../model';
3
2
  export declare const walkInData: {
4
3
  id: number;
5
4
  nickname: string;
6
5
  };
7
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
6
+ export declare const Provider: (ComponentUi: any) => import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<unknown>>, Context: import("react").Context<{
8
7
  state: FormState;
9
8
  } & {
10
9
  dispatch: (params: {
@@ -132,6 +132,7 @@ var Info = () => {
132
132
  open_quotation: 1,
133
133
  with_schedule: 1,
134
134
  with_count: ["bundleGroup", "optionGroup"],
135
+ order_by_string: "sort:desc",
135
136
  _config: {
136
137
  useCache: true
137
138
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -96,7 +95,7 @@ export declare const walkInData: {
96
95
  id: number;
97
96
  nickname: string;
98
97
  };
99
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
98
+ export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
100
99
  state: FormState;
101
100
  } & {
102
101
  dispatch: (params: {
@@ -4,5 +4,5 @@ export interface InfoProps {
4
4
  globalState: any;
5
5
  setGlobalState: any;
6
6
  }
7
- declare const Notes: (props: any) => any;
7
+ declare const Notes: (props: any) => JSX.Element;
8
8
  export default Notes;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => (props: 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: {
@@ -5,5 +5,5 @@ export interface InfoProps {
5
5
  globalState: any;
6
6
  setGlobalState: any;
7
7
  }
8
- declare const Payments: (props: any) => any;
8
+ declare const Payments: (props: any) => JSX.Element;
9
9
  export default Payments;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => (props: 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,3 +1,3 @@
1
1
  import "./index.less";
2
- declare const Schedules: (props: any) => any;
2
+ declare const Schedules: (props: any) => JSX.Element;
3
3
  export default Schedules;
@@ -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) => any, Context: import("react").Context<{
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.109",
3
+ "version": "3.0.111",
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": "1.0.27",
62
63
  "@pisell/icon": "0.0.11",
63
- "@pisell/date-picker": "1.0.91",
64
- "@pisell/utils": "1.0.27"
64
+ "@pisell/date-picker": "1.0.96"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "react": "^18.0.0",