@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.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +12 -7
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +7 -7
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/store/index.d.ts +3 -3
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/ticketBooking/serve.js +119 -17
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/components/wallet/Detail/model.d.ts +13 -1
- package/es/components/wallet/DiscountCard/model.d.ts +14 -1
- package/es/components/wallet/PointCard/model.d.ts +13 -1
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/es/components/wallet/Voucher/model.d.ts +13 -1
- package/es/components/wallet/model.d.ts +9 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/index.js +1 -1
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/store/index.d.ts +3 -3
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/ticketBooking/serve.js +117 -15
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/wallet/Detail/model.d.ts +13 -1
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
- package/lib/components/wallet/PointCard/model.d.ts +13 -1
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/lib/components/wallet/Voucher/model.d.ts +13 -1
- package/lib/components/wallet/model.d.ts +9 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/index.js +1 -1
- 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 |
|
|
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
|
-
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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
|
-
|
|
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.
|
|
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
|
}
|