@pisell/private-materials 6.2.46 → 6.2.48

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 (125) 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 +148 -164
  7. package/build/lowcode/render/default/view.js +8 -8
  8. package/build/lowcode/view.js +8 -8
  9. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  10. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  11. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  12. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  13. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  14. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  15. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  16. package/es/components/booking/components/voucher/index.js +18 -4
  17. package/es/components/booking/forms/table/index.d.ts +0 -1
  18. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  19. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  20. package/es/components/booking/info/notes/index.d.ts +0 -1
  21. package/es/components/booking/info/service/like/index.d.ts +0 -1
  22. package/es/components/booking/info2/cartClientCard/index.js +49 -17
  23. package/es/components/booking/info2/cartClientCard/utils.d.ts +2 -2
  24. package/es/components/eftpos/hooks.d.ts +0 -1
  25. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  26. package/es/components/eftpos/icon/device.d.ts +0 -1
  27. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  28. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  29. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  30. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  31. package/es/components/eftposPay/pay.d.ts +0 -1
  32. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  33. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  34. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  35. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  36. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  37. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  38. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  39. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  40. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  41. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  42. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  43. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  44. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  45. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  46. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  47. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  48. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  49. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  50. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  51. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  52. package/es/components/schedules/products/index.d.ts +0 -1
  53. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  54. package/es/components/schedules/utils.d.ts +1 -1
  55. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  56. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  57. package/es/components/shoppingCart/index.d.ts +0 -1
  58. package/es/components/ticketBooking/components/ticketBooking/index.js +2 -0
  59. package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +3 -1
  60. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  61. package/es/plus/clientName/index.d.ts +0 -1
  62. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  63. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  64. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  65. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  66. package/es/utils/index.d.ts +1 -1
  67. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  68. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  69. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  70. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  71. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  72. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  73. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  74. package/lib/components/booking/components/voucher/index.js +15 -3
  75. package/lib/components/booking/forms/table/index.d.ts +0 -1
  76. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  77. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  78. package/lib/components/booking/info/notes/index.d.ts +0 -1
  79. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  80. package/lib/components/booking/info2/cartClientCard/index.js +15 -3
  81. package/lib/components/booking/info2/cartClientCard/utils.d.ts +2 -2
  82. package/lib/components/eftpos/hooks.d.ts +0 -1
  83. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  84. package/lib/components/eftpos/icon/device.d.ts +0 -1
  85. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  86. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  87. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  88. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  89. package/lib/components/eftposPay/pay.d.ts +0 -1
  90. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  91. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  92. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  93. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  94. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  95. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  96. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  97. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  98. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  99. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  100. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  101. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  102. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  103. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  104. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  105. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  106. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  107. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  108. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  109. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  110. package/lib/components/schedules/products/index.d.ts +0 -1
  111. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  112. package/lib/components/schedules/utils.d.ts +1 -1
  113. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  114. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  115. package/lib/components/shoppingCart/index.d.ts +0 -1
  116. package/lib/components/ticketBooking/components/ticketBooking/index.js +2 -0
  117. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +3 -1
  118. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  119. package/lib/plus/clientName/index.d.ts +0 -1
  120. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  121. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  122. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  123. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  124. package/lib/utils/index.d.ts +1 -1
  125. package/package.json +3 -3
@@ -175,12 +175,22 @@ var CartClientCard = (0, import_react.forwardRef)((props, ref) => {
175
175
  }
176
176
  };
177
177
  }, [pagination, loading]);
178
- const handleSetClient = (0, import_ahooks.useMemoizedFn)((record) => {
179
- var _a2;
178
+ const handleSetClient = (0, import_ahooks.useMemoizedFn)(async (record, options) => {
179
+ var _a2, _b2, _c2, _d;
180
+ if ((0, import_utils2.isWalkIn)(selectedCustomer == null ? void 0 : selectedCustomer.id) && ((_a2 = options == null ? void 0 : options.fullData) == null ? void 0 : _a2.searchType) === "walletPass" && ((_b2 = options == null ? void 0 : options.fullData) == null ? void 0 : _b2.scanCode)) {
181
+ window.dispatchEvent(
182
+ new CustomEvent("onScanWallPassCode", {
183
+ detail: {
184
+ code: (_c2 = options == null ? void 0 : options.fullData) == null ? void 0 : _c2.scanCode
185
+ }
186
+ })
187
+ );
188
+ return;
189
+ }
180
190
  if ((0, import_utils2.isWalkIn)(selectedCustomer == null ? void 0 : selectedCustomer.id)) {
181
191
  selectCustomer(record);
182
192
  setSearchModalVisible(false);
183
- (_a2 = Toast == null ? void 0 : Toast.success) == null ? void 0 : _a2.call(Toast, import_utils.locales.getText("pisell2.text.add-client-success"));
193
+ (_d = Toast == null ? void 0 : Toast.success) == null ? void 0 : _d.call(Toast, import_utils.locales.getText("pisell2.text.add-client-success"));
184
194
  return;
185
195
  }
186
196
  if ((selectedCustomer == null ? void 0 : selectedCustomer.id) === (record == null ? void 0 : record.id)) {
@@ -204,6 +214,8 @@ var CartClientCard = (0, import_react.forwardRef)((props, ref) => {
204
214
  };
205
215
  (0, import_react.useMemo)(() => {
206
216
  (0, import_utils3.setHandleSetClient)(handleSetClient);
217
+ }, []);
218
+ (0, import_react.useEffect)(() => {
207
219
  return () => {
208
220
  (0, import_utils3.setHandleSetClient)(null);
209
221
  };
@@ -1,3 +1,3 @@
1
1
  import { ClientData } from "./types";
2
- export declare const setHandleSetClient: (fn: ((customer: ClientData | null) => void) | null) => void;
3
- export declare const getHandleSetClient: () => ((customer: ClientData | null) => void) | null;
2
+ export declare const setHandleSetClient: (fn: ((customer: ClientData | null, options?: any) => void) | null) => void;
3
+ export declare const getHandleSetClient: () => ((customer: ClientData | null, options?: any) => void) | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos } from './const';
3
2
  /**
4
3
  * @title: tyro 设备连接
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './titlebar.less';
3
2
  declare enum EPopupTitleBarVariantType {
4
3
  BackTitleClose = "back-title-cancel",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusType } from '../../const';
3
2
  declare const _default: (props: {
4
3
  status: StatusType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: (props: {
3
2
  status: string;
4
3
  pedding?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps } from './const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 获取 Tyro 资源
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ api, onChange, formatAmount, }: {
3
2
  api: any;
4
3
  onChange: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Deposit: () => JSX.Element;
3
2
  export default Deposit;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderModal: (props: any) => JSX.Element;
3
2
  export default SelectHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DayItem: (props: any) => JSX.Element;
4
3
  export default DayItem;
@@ -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 Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Resource: (props: any) => JSX.Element;
3
2
  export default Resource;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Schedule: () => JSX.Element;
3
2
  export default Schedule;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface InfoProps {
3
2
  relation_id: any;
4
3
  action: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItemPreview;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface valueType {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ResourcesModule: ({ product }: {
3
2
  product: any;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailByDate: () => JSX.Element;
4
3
  export default ProductDetailByDate;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Products: () => JSX.Element;
4
3
  export default Products;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: any;
@@ -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 './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Content: () => JSX.Element;
4
3
  export default Content;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { shoppingCartProps } from './type';
3
2
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
4
3
  export default shoppingCart;
@@ -271,6 +271,8 @@ var TicketBooking = () => {
271
271
  openScan((data) => {
272
272
  handleScan(data);
273
273
  });
274
+ }, []);
275
+ (0, import_react.useEffect)(() => {
274
276
  return () => {
275
277
  closeScan();
276
278
  };
@@ -55,7 +55,9 @@ var useScanGlobalHandle = () => {
55
55
  return;
56
56
  }
57
57
  if (handleSetClient && data.data) {
58
- handleSetClient(data.data);
58
+ handleSetClient(data.data, {
59
+ fullData: data
60
+ });
59
61
  }
60
62
  };
61
63
  const productHandle = (data) => {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from '../serve';
3
2
  /**
4
3
  * 钱包卡片Hook的参数
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { IClientNameProps } from './type';
4
3
  declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SCOProps } from '../types';
3
2
  import '../index.less';
4
3
  export declare const Header: (props: SCOProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRProps } from '../types';
3
2
  import '../index.less';
4
3
  declare const GoLogin: (props: SRProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRProps } from '../types';
3
2
  import '../index.less';
4
3
  export declare const Header: (props: SRProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VerifyingEmailLink: (props: {
4
3
  onVerifyLink: () => Promise<void>;
@@ -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.2.46",
3
+ "version": "6.2.48",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -60,9 +60,9 @@
60
60
  "react-resizable": "^3.0.5",
61
61
  "styled-components": "^6.0.0-rc.3",
62
62
  "@pisell/date-picker": "3.0.4",
63
+ "@pisell/utils": "3.0.1",
63
64
  "@pisell/icon": "0.0.11",
64
- "@pisell/materials": "6.2.38",
65
- "@pisell/utils": "3.0.1"
65
+ "@pisell/materials": "6.2.39"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^18.0.0",