@pisell/private-materials 3.0.58 → 3.0.60

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 +1 -1
  7. package/build/lowcode/view.js +1 -1
  8. package/es/components/booking/addons/index.d.ts +1 -1
  9. package/es/components/booking/addons/model.d.ts +1 -2
  10. package/es/components/booking/forms/forms.d.ts +1 -1
  11. package/es/components/booking/forms/index.d.ts +1 -1
  12. package/es/components/booking/forms/model.d.ts +1 -2
  13. package/es/components/booking/index.d.ts +1 -1
  14. package/es/components/booking/info/index.d.ts +1 -1
  15. package/es/components/booking/info/model.d.ts +1 -2
  16. package/es/components/booking/info/service/addService/index.js +1 -1
  17. package/es/components/booking/model.d.ts +1 -2
  18. package/es/components/booking/notes/index.d.ts +1 -1
  19. package/es/components/booking/notes/model.d.ts +1 -2
  20. package/es/components/booking/payments/index.d.ts +1 -1
  21. package/es/components/booking/payments/model.d.ts +1 -2
  22. package/es/components/ruleSetting/index.js +2 -1
  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 +1 -1
  26. package/lib/components/booking/addons/model.d.ts +1 -2
  27. package/lib/components/booking/forms/forms.d.ts +1 -1
  28. package/lib/components/booking/forms/index.d.ts +1 -1
  29. package/lib/components/booking/forms/model.d.ts +1 -2
  30. package/lib/components/booking/index.d.ts +1 -1
  31. package/lib/components/booking/info/index.d.ts +1 -1
  32. package/lib/components/booking/info/model.d.ts +1 -2
  33. package/lib/components/booking/info/service/addService/index.js +1 -1
  34. package/lib/components/booking/model.d.ts +1 -2
  35. package/lib/components/booking/notes/index.d.ts +1 -1
  36. package/lib/components/booking/notes/model.d.ts +1 -2
  37. package/lib/components/booking/payments/index.d.ts +1 -1
  38. package/lib/components/booking/payments/model.d.ts +1 -2
  39. package/lib/components/ruleSetting/index.js +2 -1
  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
@@ -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: (props: any) => JSX.Element;
17
17
  export default Addons;
@@ -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: (props: any) => JSX.Element;
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: (props: any) => JSX.Element;
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) => (props: any) => JSX.Element, Context: import("react").Context<{
8
7
  state: FormState;
9
8
  } & {
10
9
  dispatch: (params: {
@@ -31,7 +31,7 @@ import { getIsBundleOrCombination } from "../../utils";
31
31
  import { formatProductListByCategory, getProductTotalPrice, request, getCacheParams, deleteCacheParams } from "../../../utils";
32
32
  import { locales, getUniqueId } from "@pisell/utils";
33
33
  import { useUpdateEffect } from "ahooks";
34
- var shopList = [2886, 4422, 5538, 6930, 6814, 6813, 6812, 6087];
34
+ var shopList = [2886, 4422, 5538, 6930, 6814, 6813, 6812, 6087, 6303];
35
35
  var getCacheResourceId = function getCacheResourceId() {
36
36
  var serviceParams = getCacheParams();
37
37
  var resId = Number(serviceParams === null || serviceParams === void 0 ? void 0 : serviceParams.resource_id);
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -89,7 +88,7 @@ export declare const walkInData: {
89
88
  id: number;
90
89
  nickname: string;
91
90
  };
92
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
91
+ export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
93
92
  state: FormState;
94
93
  } & {
95
94
  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: {
@@ -167,7 +167,8 @@ var RuleSetting = function RuleSetting(props) {
167
167
  },
168
168
  size: "large",
169
169
  mode: "multiple",
170
- filterOption: false
170
+ filterOption: false,
171
+ showSearch: false
171
172
  }
172
173
  };
173
174
  }, [staffs, salesChannels, orderTypes, paymentMethods]);
@@ -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: {
@@ -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: (props: any) => JSX.Element;
17
17
  export default Addons;
@@ -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: (props: any) => JSX.Element;
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: (props: any) => JSX.Element;
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) => (props: any) => JSX.Element, Context: import("react").Context<{
8
7
  state: FormState;
9
8
  } & {
10
9
  dispatch: (params: {
@@ -46,7 +46,7 @@ var import_utils = require("../../utils");
46
46
  var import_utils2 = require("../../../utils");
47
47
  var import_utils3 = require("@pisell/utils");
48
48
  var import_ahooks = require("ahooks");
49
- var shopList = [2886, 4422, 5538, 6930, 6814, 6813, 6812, 6087];
49
+ var shopList = [2886, 4422, 5538, 6930, 6814, 6813, 6812, 6087, 6303];
50
50
  var getCacheResourceId = () => {
51
51
  const serviceParams = (0, import_utils2.getCacheParams)();
52
52
  let resId = Number(serviceParams == null ? void 0 : serviceParams.resource_id);
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -89,7 +88,7 @@ export declare const walkInData: {
89
88
  id: number;
90
89
  nickname: string;
91
90
  };
92
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
91
+ export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
93
92
  state: FormState;
94
93
  } & {
95
94
  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: {
@@ -159,7 +159,8 @@ var RuleSetting = (props) => {
159
159
  style: { flex: 1 },
160
160
  size: "large",
161
161
  mode: "multiple",
162
- filterOption: false
162
+ filterOption: false,
163
+ showSearch: false
163
164
  }
164
165
  };
165
166
  }, [staffs, salesChannels, orderTypes, paymentMethods]);
@@ -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.58",
3
+ "version": "3.0.60",
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/date-picker": "1.0.69",
62
- "@pisell/utils": "1.0.24",
63
- "@pisell/icon": "0.0.8"
62
+ "@pisell/icon": "0.0.8",
63
+ "@pisell/utils": "1.0.24"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "react": "^18.0.0",