@pisell/private-materials 3.0.22 → 3.0.23

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 +1 -1
  9. package/es/components/booking/addons/model.d.ts +2 -1
  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 +2 -1
  13. package/es/components/booking/index.d.ts +1 -1
  14. package/es/components/booking/info/date/index.js +1 -1
  15. package/es/components/booking/info/index.d.ts +1 -1
  16. package/es/components/booking/info/model.d.ts +2 -1
  17. package/es/components/booking/info/pet/index.js +6 -2
  18. package/es/components/booking/model.d.ts +2 -1
  19. package/es/components/booking/notes/index.d.ts +1 -1
  20. package/es/components/booking/notes/model.d.ts +2 -1
  21. package/es/components/booking/payments/index.d.ts +1 -1
  22. package/es/components/booking/payments/model.d.ts +2 -1
  23. package/es/components/schedules/index.d.ts +1 -1
  24. package/es/components/schedules/model.d.ts +2 -1
  25. package/lib/components/booking/addons/index.d.ts +1 -1
  26. package/lib/components/booking/addons/model.d.ts +2 -1
  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 +2 -1
  30. package/lib/components/booking/index.d.ts +1 -1
  31. package/lib/components/booking/info/date/index.js +1 -1
  32. package/lib/components/booking/info/index.d.ts +1 -1
  33. package/lib/components/booking/info/model.d.ts +2 -1
  34. package/lib/components/booking/info/pet/index.js +2 -2
  35. package/lib/components/booking/model.d.ts +2 -1
  36. package/lib/components/booking/notes/index.d.ts +1 -1
  37. package/lib/components/booking/notes/model.d.ts +2 -1
  38. package/lib/components/booking/payments/index.d.ts +1 -1
  39. package/lib/components/booking/payments/model.d.ts +2 -1
  40. package/lib/components/schedules/index.d.ts +1 -1
  41. package/lib/components/schedules/model.d.ts +2 -1
  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) => JSX.Element;
16
+ declare const Addons: (props: any) => any;
17
17
  export default Addons;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
3
4
  state: FormState;
4
5
  } & {
5
6
  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) => JSX.Element;
24
+ declare const Forms: (props: any) => any;
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) => JSX.Element;
8
+ declare const Forms: (props: any) => any;
9
9
  export default Forms;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
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) => JSX.Element;
1
+ declare const Booking: (props: any) => any;
2
2
  export default Booking;
@@ -101,7 +101,7 @@ var DateCom = function DateCom() {
101
101
  bordered: false,
102
102
  suffixIcon: !modal.state.disabledEdit ? /*#__PURE__*/React.createElement(ChevronDown, null) : null,
103
103
  disabledDate: disabledDate,
104
- format: modal.state.locale === "en" ? "dddd, MM DD YYYY" : "YYYY年MM月DD日",
104
+ format: modal.state.locale === "en" ? "dddd, DD MMM YYYY" : "YYYY年MM月DD日",
105
105
  value: modal.state.date.value,
106
106
  onChange: dateChange,
107
107
  disabled: modal.state.disabledEdit
@@ -8,5 +8,5 @@ export interface InfoProps {
8
8
  slot: any;
9
9
  setState: any;
10
10
  }
11
- declare const Info: (props: any) => JSX.Element;
11
+ declare const Info: (props: any) => any;
12
12
  export default Info;
@@ -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) => JSX.Element, Context: import("react").Context<{
7
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
7
8
  state: FormState;
8
9
  } & {
9
10
  dispatch: (params: {
@@ -21,7 +21,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
21
21
  import React, { useContext, useEffect, useMemo, useState } from "react";
22
22
  import User01 from "@pisell/icon/es/User01";
23
23
  import { Context } from "../model";
24
- import { Avatar } from "antd";
24
+ import { Avatar, Skeleton } from "antd";
25
25
  import "./index.less";
26
26
  import { locales } from "@pisell/utils";
27
27
  import FormsCom from "../../forms/forms";
@@ -327,6 +327,10 @@ var Pet = function Pet() {
327
327
  }, [state.bookingId, state.bookingDetail, params.form_id, params.type, (_state$client8 = state.client) === null || _state$client8 === void 0 ? void 0 : (_state$client8$value = _state$client8.value) === null || _state$client8$value === void 0 ? void 0 : _state$client8$value.id]);
328
328
  return /*#__PURE__*/React.createElement("div", {
329
329
  className: "pisell-lowcode__booking-pet-wraps"
330
+ }, /*#__PURE__*/React.createElement(Skeleton, {
331
+ loading: loading,
332
+ active: true,
333
+ round: true
330
334
  }, /*#__PURE__*/React.createElement(FormsCom, {
331
335
  hideTitle: true,
332
336
  watch: {
@@ -386,6 +390,6 @@ var Pet = function Pet() {
386
390
  margin: 0
387
391
  }
388
392
  }
389
- }));
393
+ })));
390
394
  };
391
395
  export default Pet;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  amountSymbol: string;
3
4
  apis: {
@@ -86,7 +87,7 @@ export declare const walkInData: {
86
87
  id: number;
87
88
  nickname: string;
88
89
  };
89
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
90
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
90
91
  state: FormState;
91
92
  } & {
92
93
  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) => JSX.Element;
7
+ declare const Notes: (props: any) => any;
8
8
  export default Notes;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
3
4
  state: FormState;
4
5
  } & {
5
6
  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) => JSX.Element;
8
+ declare const Payments: (props: any) => any;
9
9
  export default Payments;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
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,3 +1,3 @@
1
1
  import "./index.less";
2
- declare const Schedules: (props: any) => JSX.Element;
2
+ declare const Schedules: (props: any) => any;
3
3
  export default Schedules;
@@ -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) => JSX.Element, Context: import("react").Context<{
72
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
72
73
  state: FormState;
73
74
  } & {
74
75
  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) => JSX.Element;
16
+ declare const Addons: (props: any) => any;
17
17
  export default Addons;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
3
4
  state: FormState;
4
5
  } & {
5
6
  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) => JSX.Element;
24
+ declare const Forms: (props: any) => any;
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) => JSX.Element;
8
+ declare const Forms: (props: any) => any;
9
9
  export default Forms;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
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) => JSX.Element;
1
+ declare const Booking: (props: any) => any;
2
2
  export default Booking;
@@ -119,7 +119,7 @@ var DateCom = () => {
119
119
  bordered: false,
120
120
  suffixIcon: !modal.state.disabledEdit ? /* @__PURE__ */ import_react.default.createElement(import_ChevronDown.default, null) : null,
121
121
  disabledDate,
122
- format: modal.state.locale === "en" ? "dddd, MM DD YYYY" : "YYYY年MM月DD日",
122
+ format: modal.state.locale === "en" ? "dddd, DD MMM YYYY" : "YYYY年MM月DD日",
123
123
  value: modal.state.date.value,
124
124
  onChange: dateChange,
125
125
  disabled: modal.state.disabledEdit
@@ -8,5 +8,5 @@ export interface InfoProps {
8
8
  slot: any;
9
9
  setState: any;
10
10
  }
11
- declare const Info: (props: any) => JSX.Element;
11
+ declare const Info: (props: any) => any;
12
12
  export default Info;
@@ -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) => JSX.Element, Context: import("react").Context<{
7
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
7
8
  state: FormState;
8
9
  } & {
9
10
  dispatch: (params: {
@@ -213,7 +213,7 @@ var Pet = () => {
213
213
  params.type,
214
214
  (_f = (_e = state.client) == null ? void 0 : _e.value) == null ? void 0 : _f.id
215
215
  ]);
216
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-pet-wraps" }, /* @__PURE__ */ import_react.default.createElement(
216
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-pet-wraps" }, /* @__PURE__ */ import_react.default.createElement(import_antd.Skeleton, { loading, active: true, round: true }, /* @__PURE__ */ import_react.default.createElement(
217
217
  import_forms.default,
218
218
  {
219
219
  hideTitle: true,
@@ -268,6 +268,6 @@ var Pet = () => {
268
268
  },
269
269
  addButtonProps: { style: { margin: 0 } }
270
270
  }
271
- ));
271
+ )));
272
272
  };
273
273
  var pet_default = Pet;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  amountSymbol: string;
3
4
  apis: {
@@ -86,7 +87,7 @@ export declare const walkInData: {
86
87
  id: number;
87
88
  nickname: string;
88
89
  };
89
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
90
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
90
91
  state: FormState;
91
92
  } & {
92
93
  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) => JSX.Element;
7
+ declare const Notes: (props: any) => any;
8
8
  export default Notes;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
3
4
  state: FormState;
4
5
  } & {
5
6
  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) => JSX.Element;
8
+ declare const Payments: (props: any) => any;
9
9
  export default Payments;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
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,3 +1,3 @@
1
1
  import "./index.less";
2
- declare const Schedules: (props: any) => JSX.Element;
2
+ declare const Schedules: (props: any) => any;
3
3
  export default Schedules;
@@ -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) => JSX.Element, Context: import("react").Context<{
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.22",
3
+ "version": "3.0.23",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -58,9 +58,9 @@
58
58
  "ahooks": "^3.7.6",
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "rc-virtual-list": "^3.11.3",
61
+ "@pisell/date-picker": "1.0.68",
61
62
  "@pisell/utils": "1.0.23",
62
- "@pisell/icon": "0.0.8",
63
- "@pisell/date-picker": "1.0.68"
63
+ "@pisell/icon": "0.0.8"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "react": "^18.0.0",