@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.
Files changed (55) 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 +4 -4
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +5 -5
  11. package/es/components/booking/info/service/editService/index.js +12 -0
  12. package/es/components/eftpos/device.js +4 -1
  13. package/es/components/eftpos/index.less +18 -2
  14. package/es/components/eftpos/locales.d.ts +12 -0
  15. package/es/components/eftpos/locales.js +15 -3
  16. package/es/components/eftpos/table.js +66 -17
  17. package/es/components/eftposPay/amount.js +1 -2
  18. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -1
  19. package/es/components/eftposPay/component/fail/failCustom.js +9 -5
  20. package/es/components/eftposPay/component/fail/index.d.ts +1 -1
  21. package/es/components/eftposPay/component/fail/index.js +10 -6
  22. package/es/components/eftposPay/component/header/titlebar.less +1 -1
  23. package/es/components/eftposPay/component/manual/index.js +12 -6
  24. package/es/components/eftposPay/component/manual/index.less +20 -7
  25. package/es/components/eftposPay/const.d.ts +1 -0
  26. package/es/components/eftposPay/device.less +1 -1
  27. package/es/components/eftposPay/index.js +4 -5
  28. package/es/components/eftposPay/index.less +30 -40
  29. package/es/components/eftposPay/locales.js +1 -1
  30. package/es/components/eftposPay/pay.d.ts +2 -1
  31. package/es/components/eftposPay/pay.js +4 -2
  32. package/es/components/eftposPay/var.less +9 -0
  33. package/lib/components/booking/info/service/editService/index.js +8 -0
  34. package/lib/components/eftpos/device.js +1 -1
  35. package/lib/components/eftpos/index.less +18 -2
  36. package/lib/components/eftpos/locales.d.ts +12 -0
  37. package/lib/components/eftpos/locales.js +15 -3
  38. package/lib/components/eftpos/table.js +37 -12
  39. package/lib/components/eftposPay/amount.js +1 -2
  40. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -1
  41. package/lib/components/eftposPay/component/fail/failCustom.js +8 -5
  42. package/lib/components/eftposPay/component/fail/index.d.ts +1 -1
  43. package/lib/components/eftposPay/component/fail/index.js +8 -5
  44. package/lib/components/eftposPay/component/header/titlebar.less +1 -1
  45. package/lib/components/eftposPay/component/manual/index.js +26 -14
  46. package/lib/components/eftposPay/component/manual/index.less +20 -7
  47. package/lib/components/eftposPay/const.d.ts +1 -0
  48. package/lib/components/eftposPay/device.less +1 -1
  49. package/lib/components/eftposPay/index.js +4 -0
  50. package/lib/components/eftposPay/index.less +30 -40
  51. package/lib/components/eftposPay/locales.js +1 -1
  52. package/lib/components/eftposPay/pay.d.ts +2 -1
  53. package/lib/components/eftposPay/pay.js +4 -2
  54. package/lib/components/eftposPay/var.less +9 -0
  55. 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.97",
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/icon": "0.0.11",
64
- "@pisell/date-picker": "1.0.91"
63
+ "@pisell/date-picker": "1.0.91",
64
+ "@pisell/icon": "0.0.11"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "react": "^18.0.0",