@pisell/private-materials 3.0.97 → 3.0.99
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 +4 -4
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +5 -5
- package/es/components/booking/info/service/editService/index.js +12 -0
- package/es/components/eftpos/device.js +4 -1
- package/es/components/eftpos/index.less +18 -2
- package/es/components/eftpos/locales.d.ts +12 -0
- package/es/components/eftpos/locales.js +15 -3
- package/es/components/eftpos/table.js +66 -17
- package/es/components/eftposPay/amount.js +1 -2
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -1
- package/es/components/eftposPay/component/fail/failCustom.js +9 -5
- package/es/components/eftposPay/component/fail/index.d.ts +1 -1
- package/es/components/eftposPay/component/fail/index.js +10 -6
- package/es/components/eftposPay/component/header/titlebar.less +1 -1
- package/es/components/eftposPay/component/manual/index.js +12 -6
- package/es/components/eftposPay/component/manual/index.less +20 -7
- package/es/components/eftposPay/const.d.ts +1 -0
- package/es/components/eftposPay/device.less +1 -1
- package/es/components/eftposPay/index.js +4 -5
- package/es/components/eftposPay/index.less +30 -40
- package/es/components/eftposPay/locales.js +1 -1
- package/es/components/eftposPay/pay.d.ts +2 -1
- package/es/components/eftposPay/pay.js +4 -2
- package/es/components/eftposPay/var.less +9 -0
- package/lib/components/booking/info/service/editService/index.js +8 -0
- package/lib/components/eftpos/device.js +1 -1
- package/lib/components/eftpos/index.less +18 -2
- package/lib/components/eftpos/locales.d.ts +12 -0
- package/lib/components/eftpos/locales.js +15 -3
- package/lib/components/eftpos/table.js +37 -12
- package/lib/components/eftposPay/amount.js +1 -2
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -1
- package/lib/components/eftposPay/component/fail/failCustom.js +8 -5
- package/lib/components/eftposPay/component/fail/index.d.ts +1 -1
- package/lib/components/eftposPay/component/fail/index.js +8 -5
- package/lib/components/eftposPay/component/header/titlebar.less +1 -1
- package/lib/components/eftposPay/component/manual/index.js +26 -14
- package/lib/components/eftposPay/component/manual/index.less +20 -7
- package/lib/components/eftposPay/const.d.ts +1 -0
- package/lib/components/eftposPay/device.less +1 -1
- package/lib/components/eftposPay/index.js +4 -0
- package/lib/components/eftposPay/index.less +30 -40
- package/lib/components/eftposPay/locales.js +1 -1
- package/lib/components/eftposPay/pay.d.ts +2 -1
- package/lib/components/eftposPay/pay.js +4 -2
- package/lib/components/eftposPay/var.less +9 -0
- package/package.json +3 -3
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PayProps } from './const';
|
|
3
3
|
import './index.less';
|
|
4
|
-
declare const Pay: ({ api, onChange: onChangeStatus, className, terminal, net, }: PayProps & {
|
|
4
|
+
declare const Pay: ({ api, onChange: onChangeStatus, className, terminal, net, isIpad }: PayProps & {
|
|
5
5
|
terminal: {
|
|
6
6
|
network: boolean;
|
|
7
7
|
};
|
|
8
8
|
net: boolean;
|
|
9
|
+
isIpad: boolean;
|
|
9
10
|
}) => React.JSX.Element;
|
|
10
11
|
export default Pay;
|
|
@@ -58,7 +58,8 @@ var Pay = ({
|
|
|
58
58
|
onChange: onChangeStatus,
|
|
59
59
|
className,
|
|
60
60
|
terminal,
|
|
61
|
-
net
|
|
61
|
+
net,
|
|
62
|
+
isIpad
|
|
62
63
|
}) => {
|
|
63
64
|
const data = (0, import_store.useContextData)();
|
|
64
65
|
const dispatch = (0, import_store.useDispatch)();
|
|
@@ -113,7 +114,8 @@ var Pay = ({
|
|
|
113
114
|
{
|
|
114
115
|
onChange,
|
|
115
116
|
api,
|
|
116
|
-
className
|
|
117
|
+
className,
|
|
118
|
+
isIpad: true
|
|
117
119
|
}
|
|
118
120
|
) : null);
|
|
119
121
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@pos-max-height:var (--pisel-lc-pos-max-height, unset);
|
|
2
|
+
@pos-height:var (--pisel-lc-pos-max-height, unset);
|
|
3
|
+
@pos-width:var (--pisel-lc-pos-width, 600px);
|
|
4
|
+
@pos-padding:var (--pisel-lc-pos-pay-padding, 24px);
|
|
5
|
+
|
|
6
|
+
@pos-terminal-max-height:var (--pisel-lc-pos-max-height, unset);
|
|
7
|
+
@pos-terminal-height:var (--pisel-lc-pos-max-height, unset);
|
|
8
|
+
@pos-terminal-width:var (--pisel-lc-pos-width, 600px);
|
|
9
|
+
@pos-terminal-padding:var (--pisel-lc-pos-pay-padding, 24px);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.99",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
|
61
61
|
"decimal.js": "^10.4.3",
|
|
62
62
|
"@pisell/utils": "1.0.27",
|
|
63
|
-
"@pisell/
|
|
64
|
-
"@pisell/
|
|
63
|
+
"@pisell/date-picker": "1.0.91",
|
|
64
|
+
"@pisell/icon": "0.0.11"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"react": "^18.0.0",
|