@pisell/private-materials 3.0.186 → 3.0.188

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 (101) 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 +3 -3
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +10 -10
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +5 -5
  11. package/es/components/booking/addons/model.d.ts +1 -2
  12. package/es/components/booking/forms/model.d.ts +1 -2
  13. package/es/components/booking/notes/index.d.ts +1 -1
  14. package/es/components/booking/notes/model.d.ts +1 -2
  15. package/es/components/booking/payments/model.d.ts +1 -2
  16. package/es/components/eftposPay/amount.d.ts +4 -3
  17. package/es/components/eftposPay/amount.js +5 -4
  18. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -1
  19. package/es/components/eftposPay/component/fail/failCustom.js +14 -6
  20. package/es/components/eftposPay/component/fail/index.d.ts +1 -1
  21. package/es/components/eftposPay/component/fail/index.js +14 -5
  22. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -1
  23. package/es/components/eftposPay/component/fail/unknow.js +17 -7
  24. package/es/components/eftposPay/const.d.ts +8 -2
  25. package/es/components/eftposPay/const.js +5 -0
  26. package/es/components/eftposPay/device.d.ts +4 -3
  27. package/es/components/eftposPay/device.js +5 -4
  28. package/es/components/eftposPay/hooks.d.ts +4 -3
  29. package/es/components/eftposPay/hooks.js +31 -6
  30. package/es/components/eftposPay/index.js +57 -23
  31. package/es/components/eftposPay/index.less +1 -0
  32. package/es/components/eftposPay/locales.d.ts +6 -0
  33. package/es/components/eftposPay/locales.js +6 -0
  34. package/es/components/eftposPay/pay.d.ts +3 -2
  35. package/es/components/eftposPay/pay.js +8 -7
  36. package/es/components/eftposPay/payo/config.d.ts +3 -1
  37. package/es/components/eftposPay/payo/config.js +11 -9
  38. package/es/components/eftposPay/payo/const.js +4 -2
  39. package/es/components/eftposPay/payo/index.js +3 -1
  40. package/es/components/eftposPay/store/index.d.ts +17 -2
  41. package/es/components/eftposPay/store/index.js +20 -0
  42. package/es/components/eftposPay/tyro/const.js +4 -2
  43. package/es/components/eftposPay/tyro/index.js +70 -20
  44. package/es/components/eftposPay/windcave/const.js +4 -2
  45. package/es/components/eftposPay/windcave/helper.js +19 -28
  46. package/es/components/eftposPay/windcave/windcave.js +2 -1
  47. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +10 -4
  48. package/es/components/pisellSelectCustomerModal/RightPanel/index.js +5 -3
  49. package/es/components/pisellSelectCustomerModal/RightPanel/index.less +7 -0
  50. package/es/components/pisellSelectCustomerModal/index.js +7 -1
  51. package/es/components/pisellSelectCustomerModal/index.less +6 -0
  52. package/es/components/pisellSelectCustomerModal/locales.d.ts +6 -0
  53. package/es/components/pisellSelectCustomerModal/locales.js +9 -3
  54. package/es/components/schedules/index.d.ts +1 -1
  55. package/es/components/schedules/model.d.ts +1 -2
  56. package/lib/components/booking/addons/model.d.ts +1 -2
  57. package/lib/components/booking/forms/model.d.ts +1 -2
  58. package/lib/components/booking/notes/index.d.ts +1 -1
  59. package/lib/components/booking/notes/model.d.ts +1 -2
  60. package/lib/components/booking/payments/model.d.ts +1 -2
  61. package/lib/components/eftposPay/amount.d.ts +4 -3
  62. package/lib/components/eftposPay/amount.js +4 -3
  63. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -1
  64. package/lib/components/eftposPay/component/fail/failCustom.js +16 -4
  65. package/lib/components/eftposPay/component/fail/index.d.ts +1 -1
  66. package/lib/components/eftposPay/component/fail/index.js +17 -4
  67. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -1
  68. package/lib/components/eftposPay/component/fail/unknow.js +15 -3
  69. package/lib/components/eftposPay/const.d.ts +8 -2
  70. package/lib/components/eftposPay/const.js +7 -0
  71. package/lib/components/eftposPay/device.d.ts +4 -3
  72. package/lib/components/eftposPay/device.js +5 -4
  73. package/lib/components/eftposPay/hooks.d.ts +4 -3
  74. package/lib/components/eftposPay/hooks.js +30 -8
  75. package/lib/components/eftposPay/index.js +46 -18
  76. package/lib/components/eftposPay/index.less +1 -0
  77. package/lib/components/eftposPay/locales.d.ts +6 -0
  78. package/lib/components/eftposPay/locales.js +6 -0
  79. package/lib/components/eftposPay/pay.d.ts +3 -2
  80. package/lib/components/eftposPay/pay.js +7 -6
  81. package/lib/components/eftposPay/payo/config.d.ts +3 -1
  82. package/lib/components/eftposPay/payo/config.js +8 -8
  83. package/lib/components/eftposPay/payo/const.js +2 -0
  84. package/lib/components/eftposPay/payo/index.js +1 -1
  85. package/lib/components/eftposPay/store/index.d.ts +17 -2
  86. package/lib/components/eftposPay/store/index.js +14 -0
  87. package/lib/components/eftposPay/tyro/const.js +2 -0
  88. package/lib/components/eftposPay/tyro/index.js +63 -6
  89. package/lib/components/eftposPay/windcave/const.js +2 -0
  90. package/lib/components/eftposPay/windcave/helper.js +23 -28
  91. package/lib/components/eftposPay/windcave/windcave.js +2 -1
  92. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +3 -0
  93. package/lib/components/pisellSelectCustomerModal/RightPanel/index.js +5 -3
  94. package/lib/components/pisellSelectCustomerModal/RightPanel/index.less +7 -0
  95. package/lib/components/pisellSelectCustomerModal/index.js +7 -0
  96. package/lib/components/pisellSelectCustomerModal/index.less +6 -0
  97. package/lib/components/pisellSelectCustomerModal/locales.d.ts +6 -0
  98. package/lib/components/pisellSelectCustomerModal/locales.js +9 -3
  99. package/lib/components/schedules/index.d.ts +1 -1
  100. package/lib/components/schedules/model.d.ts +1 -2
  101. package/package.json +2 -2
@@ -13,4 +13,10 @@ body {
13
13
  display: none;
14
14
  }
15
15
  }
16
+ }
17
+
18
+ .pisell-select-customer-modal-input {
19
+ &::placeholder {
20
+ font-size: 30px;
21
+ }
16
22
  }
@@ -22,6 +22,8 @@ declare const _default: {
22
22
  'pisell2.text.personnel-list': string;
23
23
  'pisell2.text.load-more': string;
24
24
  'pisell2.text.add-client.confirm': string;
25
+ 'pisell2.text.search-customer-by-phone-number': string;
26
+ 'pisell2.text.create': string;
25
27
  };
26
28
  'zh-CN': {
27
29
  'pisell2.text.leave-empty-for-walk-in': string;
@@ -46,6 +48,8 @@ declare const _default: {
46
48
  'pisell2.text.personnel-list': string;
47
49
  'pisell2.text.add-client.confirm': string;
48
50
  'pisell2.text.load-more': string;
51
+ 'pisell2.text.search-customer-by-phone-number': string;
52
+ 'pisell2.text.create': string;
49
53
  };
50
54
  'zh-HK': {
51
55
  'pisell2.text.leave-empty-for-walk-in': string;
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  'pisell2.text.personnel-list': string;
71
75
  'pisell2.text.add-client.confirm': string;
72
76
  'pisell2.text.load-more': string;
77
+ 'pisell2.text.search-customer-by-phone-number': string;
78
+ 'pisell2.text.create': string;
73
79
  };
74
80
  };
75
81
  export default _default;
@@ -45,7 +45,9 @@ var locales_default = {
45
45
  "pisell2.text.result-found": "Result found",
46
46
  "pisell2.text.personnel-list": "Personnel list",
47
47
  "pisell2.text.load-more": "Load more",
48
- "pisell2.text.add-client.confirm": "Fill in at least one name, phone number and email address"
48
+ "pisell2.text.add-client.confirm": "Fill in at least one name, phone number and email address",
49
+ "pisell2.text.search-customer-by-phone-number": "Search by phone number",
50
+ "pisell2.text.create": "Create"
49
51
  },
50
52
  "zh-CN": {
51
53
  "pisell2.text.leave-empty-for-walk-in": "未选择表示 Walk-In",
@@ -69,7 +71,9 @@ var locales_default = {
69
71
  "pisell2.text.result-found": "搜索结果",
70
72
  "pisell2.text.personnel-list": "客户列表",
71
73
  "pisell2.text.add-client.confirm": "姓名,电话,邮箱至少填一个",
72
- "pisell2.text.load-more": "加载更多"
74
+ "pisell2.text.load-more": "加载更多",
75
+ "pisell2.text.search-customer-by-phone-number": "输入手机号搜索客户",
76
+ "pisell2.text.create": "创建"
73
77
  },
74
78
  "zh-HK": {
75
79
  "pisell2.text.leave-empty-for-walk-in": "未選擇表示 Walk-In",
@@ -93,6 +97,8 @@ var locales_default = {
93
97
  "pisell2.text.result-found": "搜索結果",
94
98
  "pisell2.text.personnel-list": "客戶列表",
95
99
  "pisell2.text.add-client.confirm": "姓名,電話,郵箱至少填一個",
96
- "pisell2.text.load-more": "加載更多"
100
+ "pisell2.text.load-more": "加載更多",
101
+ "pisell2.text.search-customer-by-phone-number": "輸入手機號搜索客戶",
102
+ "pisell2.text.create": "創建"
97
103
  }
98
104
  };
@@ -1,3 +1,3 @@
1
1
  import "./index.less";
2
- declare const Schedules: (props: any) => any;
2
+ declare const Schedules: (props: any) => JSX.Element;
3
3
  export default Schedules;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem, ScheduleItem } from "./type";
3
2
  import dayjs from "dayjs";
4
3
  export interface FormState {
@@ -69,7 +68,7 @@ export interface FormState {
69
68
  };
70
69
  setGlobalState: Function | null;
71
70
  }
72
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
71
+ export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
73
72
  state: FormState;
74
73
  } & {
75
74
  dispatch: (params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.0.186",
3
+ "version": "3.0.188",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,8 +59,8 @@
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
- "@pisell/icon": "0.0.11",
63
62
  "@pisell/utils": "1.0.42",
63
+ "@pisell/icon": "0.0.11",
64
64
  "@pisell/date-picker": "1.0.100",
65
65
  "@pisell/materials": "3.0.53"
66
66
  },