@pisell/private-materials 6.3.17 → 6.3.19

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 (71) 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 +150 -150
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.js +8 -8
  9. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Services/index.js +36 -18
  11. package/es/components/appointmentBooking/hooks.js +6 -0
  12. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  13. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  14. package/es/components/booking/info/service/like/index.d.ts +0 -1
  15. package/es/components/booking/locales.d.ts +6 -0
  16. package/es/components/booking/locales.js +12 -0
  17. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  18. package/es/components/eftpos/group/index.d.ts +0 -1
  19. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  20. package/es/components/eftpos/icon/device.d.ts +0 -1
  21. package/es/components/eftpos/receipt/index.d.ts +0 -1
  22. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  23. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  24. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  25. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  26. package/es/components/eftposPay/hooks.d.ts +1 -1
  27. package/es/components/eftposPay/store/index.d.ts +1 -1
  28. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  29. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  30. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  31. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  32. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  33. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  34. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  35. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  36. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +1 -1
  37. package/es/components/schedules/utils.d.ts +1 -1
  38. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  39. package/es/utils/index.d.ts +1 -1
  40. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  41. package/lib/components/appointmentBooking/components/Services/index.js +13 -3
  42. package/lib/components/appointmentBooking/hooks.js +6 -0
  43. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  44. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  45. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  46. package/lib/components/booking/locales.d.ts +6 -0
  47. package/lib/components/booking/locales.js +6 -0
  48. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  49. package/lib/components/eftpos/group/index.d.ts +0 -1
  50. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  51. package/lib/components/eftpos/icon/device.d.ts +0 -1
  52. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  53. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  54. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  55. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  56. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  57. package/lib/components/eftposPay/hooks.d.ts +1 -1
  58. package/lib/components/eftposPay/store/index.d.ts +1 -1
  59. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  60. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  61. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  62. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  63. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  64. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  65. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  66. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  67. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +1 -1
  68. package/lib/components/schedules/utils.d.ts +1 -1
  69. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  70. package/lib/utils/index.d.ts +1 -1
  71. package/package.json +3 -3
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { CalendarItemProps } from '../../../../../type';
4
3
  declare const Item: (props: CalendarItemProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
4
3
  export default SetupForm;
@@ -66,7 +66,7 @@ var getDataByIds = (arr, ids) => {
66
66
  return arr.filter((item) => ids.includes(item.id));
67
67
  };
68
68
  var getIsWalletCode = (val) => {
69
- return val.startsWith("WL") || val.startsWith("2") && val.length === 10;
69
+ return val.startsWith("WL");
70
70
  };
71
71
  // Annotate the CommonJS export names for ESM import in node:
72
72
  0 && (module.exports = {
@@ -17,6 +17,6 @@ declare let modal: Omit<ModalStaticFunctions, "warn">;
17
17
  export declare const setModal: (m: Omit<ModalStaticFunctions, "warn">) => void;
18
18
  export declare const saveConfirm: () => Promise<{
19
19
  destroy: () => void;
20
- update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
20
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
21
21
  }>;
22
22
  export { modal };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
3
2
  import './index.less';
4
3
  interface ModalProps extends AntModalProps {
@@ -18,6 +18,6 @@ declare let modal: Omit<ModalStaticFunctions, 'warn'>;
18
18
  export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
19
19
  export declare const saveConfirm: () => Promise<{
20
20
  destroy: () => void;
21
- update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
21
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
22
22
  }>;
23
23
  export { modal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.3.17",
3
+ "version": "6.3.19",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,10 +59,10 @@
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/materials": "6.3.6",
63
62
  "@pisell/utils": "3.0.1",
64
63
  "@pisell/icon": "0.0.11",
65
- "@pisell/date-picker": "3.0.4"
64
+ "@pisell/date-picker": "3.0.4",
65
+ "@pisell/materials": "6.3.6"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^18.0.0",