@pisell/private-materials 6.5.23 → 6.5.25

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 (81) 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/preview.js +12 -7
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.js +7 -7
  9. package/es/components/Sales/Summary/utils.d.ts +1 -1
  10. package/es/components/booking/addons/model.d.ts +10 -1
  11. package/es/components/booking/forms/model.d.ts +10 -1
  12. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  13. package/es/components/booking/info/model.d.ts +10 -1
  14. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  15. package/es/components/booking/info/service2/utils.d.ts +1 -1
  16. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  17. package/es/components/booking/model.d.ts +9 -1
  18. package/es/components/booking/notes/model.d.ts +10 -1
  19. package/es/components/booking/payments/model.d.ts +10 -1
  20. package/es/components/booking/utils.d.ts +2 -2
  21. package/es/components/eftposPay/amount.d.ts +1 -1
  22. package/es/components/eftposPay/device.d.ts +1 -1
  23. package/es/components/eftposPay/hooks.d.ts +1 -1
  24. package/es/components/eftposPay/store/index.d.ts +3 -3
  25. package/es/components/pay/toC/model.d.ts +9 -1
  26. package/es/components/schedules/model.d.ts +9 -1
  27. package/es/components/ticketBooking/serve.js +119 -17
  28. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  29. package/es/components/wallet/Detail/model.d.ts +13 -1
  30. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  31. package/es/components/wallet/PointCard/model.d.ts +13 -1
  32. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  33. package/es/components/wallet/Voucher/model.d.ts +13 -1
  34. package/es/components/wallet/model.d.ts +9 -1
  35. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  36. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  37. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +1 -1
  38. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  39. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  40. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  41. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  42. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  43. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  44. package/es/plus/productSelect/ProductCard/index.js +1 -1
  45. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  46. package/lib/components/booking/addons/model.d.ts +10 -1
  47. package/lib/components/booking/forms/model.d.ts +10 -1
  48. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  49. package/lib/components/booking/info/model.d.ts +10 -1
  50. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  51. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  52. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  53. package/lib/components/booking/model.d.ts +9 -1
  54. package/lib/components/booking/notes/model.d.ts +10 -1
  55. package/lib/components/booking/payments/model.d.ts +10 -1
  56. package/lib/components/booking/utils.d.ts +2 -2
  57. package/lib/components/eftposPay/amount.d.ts +1 -1
  58. package/lib/components/eftposPay/device.d.ts +1 -1
  59. package/lib/components/eftposPay/hooks.d.ts +1 -1
  60. package/lib/components/eftposPay/store/index.d.ts +3 -3
  61. package/lib/components/pay/toC/model.d.ts +9 -1
  62. package/lib/components/schedules/model.d.ts +9 -1
  63. package/lib/components/ticketBooking/serve.js +117 -15
  64. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  65. package/lib/components/wallet/Detail/model.d.ts +13 -1
  66. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  67. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  68. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  69. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  70. package/lib/components/wallet/model.d.ts +9 -1
  71. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  72. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  73. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +1 -1
  74. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  75. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  76. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  77. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  78. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  79. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  80. package/lib/plus/productSelect/ProductCard/index.js +1 -1
  81. package/package.json +12 -12
@@ -3,5 +3,5 @@ import { SkuStatusOverlayConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const CardMask: ({ props }: {
5
5
  props: SkuStatusOverlayConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
7
7
  export default CardMask;
@@ -94,7 +94,7 @@ var CardWrapper = (props) => {
94
94
  (skuStatusOverlayConfig == null ? void 0 : skuStatusOverlayConfig.isOpen) && `${import_status.PREFIX}__card-wrapper-overlay`,
95
95
  className
96
96
  ),
97
- onClick: (e) => {
97
+ onPointerUp: (e) => {
98
98
  e.stopPropagation();
99
99
  onCardClick == null ? void 0 : onCardClick(dataSource);
100
100
  }
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const Countdown: ({ props }: {
5
5
  props: ProductCardConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
7
7
  export default Countdown;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Duration: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
5
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
6
  export default Duration;
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const MemberPrice: ({ props }: {
5
5
  props: ProductCardConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
7
7
  export default MemberPrice;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Resource: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
5
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
6
  export default Resource;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Stock: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
5
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
6
  export default Stock;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Time: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
5
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
6
  export default Time;
@@ -129,7 +129,7 @@ var ProductCard = (0, import_react.memo)(
129
129
  className: (0, import_classnames.default)(`${import__.PREFIX}__product-card`, className, {
130
130
  selected: isSelected
131
131
  }),
132
- onClick: () => {
132
+ onPointerUp: () => {
133
133
  onSelect == null ? void 0 : onSelect(item);
134
134
  },
135
135
  "data-index": index,
package/package.json CHANGED
@@ -1,12 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.5.23",
4
- "scripts": {
5
- "dev": "father dev",
6
- "build": "father build",
7
- "lowcode:dev": "build-scripts start --config ./build.lowcode.js",
8
- "lowcode:build": " build-scripts build --config ./build.lowcode.js"
9
- },
3
+ "version": "6.5.25",
10
4
  "main": "./lib/index.js",
11
5
  "module": "./es/index.js",
12
6
  "types": "./lib/index.d.ts",
@@ -56,10 +50,6 @@
56
50
  "@dnd-kit/modifiers": "^6.0.1",
57
51
  "@dnd-kit/sortable": "^7.0.2",
58
52
  "@dnd-kit/utilities": "^3.2.1",
59
- "@pisell/date-picker": "workspace:*",
60
- "@pisell/icon": "workspace:*",
61
- "@pisell/materials": "workspace:*",
62
- "@pisell/utils": "workspace:*",
63
53
  "ahooks": "^3.7.6",
64
54
  "antd": "^5.6.3",
65
55
  "classnames": "^2.3.2",
@@ -68,7 +58,11 @@
68
58
  "rc-virtual-list": "^3.11.3",
69
59
  "react-infinite-scroll-component": "^6.1.0",
70
60
  "react-resizable": "^3.0.5",
71
- "styled-components": "^6.0.0-rc.3"
61
+ "styled-components": "^6.0.0-rc.3",
62
+ "@pisell/date-picker": "3.0.7",
63
+ "@pisell/materials": "6.5.9",
64
+ "@pisell/utils": "3.0.2",
65
+ "@pisell/icon": "0.0.11"
72
66
  },
73
67
  "peerDependencies": {
74
68
  "react": "^18.0.0",
@@ -76,5 +70,11 @@
76
70
  },
77
71
  "componentConfig": {
78
72
  "materialSchema": "https://unpkg.com/@pisell/materials@1.0.1/build/lowcode/assets-prod.json"
73
+ },
74
+ "scripts": {
75
+ "dev": "father dev",
76
+ "build": "father build",
77
+ "lowcode:dev": "build-scripts start --config ./build.lowcode.js",
78
+ "lowcode:build": " build-scripts build --config ./build.lowcode.js"
79
79
  }
80
80
  }