@pisell/private-materials 6.3.35 → 6.3.36

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 (27) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/appointmentBooking/components/ConfirmInformation/index.js +15 -9
  8. package/es/components/booking/components/customSelect/index.js +1 -1
  9. package/es/components/booking/forms/footer.js +24 -10
  10. package/es/components/booking/info/client/index.js +28 -13
  11. package/es/components/booking/info/clientVariant/hooks/useClientFn.js +14 -8
  12. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.js +10 -2
  13. package/es/components/booking/locales.d.ts +3 -0
  14. package/es/components/booking/locales.js +6 -3
  15. package/es/plus/contactInfoModal/index.d.ts +1 -0
  16. package/es/plus/contactInfoModal/index.js +1 -0
  17. package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +5 -0
  18. package/lib/components/booking/components/customSelect/index.js +1 -1
  19. package/lib/components/booking/forms/footer.js +29 -11
  20. package/lib/components/booking/info/client/index.js +14 -1
  21. package/lib/components/booking/info/clientVariant/hooks/useClientFn.js +6 -1
  22. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.js +11 -4
  23. package/lib/components/booking/locales.d.ts +3 -0
  24. package/lib/components/booking/locales.js +6 -3
  25. package/lib/plus/contactInfoModal/index.d.ts +1 -0
  26. package/lib/plus/contactInfoModal/index.js +1 -0
  27. package/package.json +2 -2
@@ -277,6 +277,7 @@ declare const _default: {
277
277
  'pisell2.text.quotation.product.change.describe': string;
278
278
  'pisell2.text.form.link.to.another.record.more': string;
279
279
  'pisell2.booking.text.contact-info.title': string;
280
+ 'pisell2.booking.text.search-placeholder': string;
280
281
  };
281
282
  'zh-CN': {
282
283
  'pisell2.text.refunded-amount': string;
@@ -556,6 +557,7 @@ declare const _default: {
556
557
  'pisell2.text.quotation.product.change.describe': string;
557
558
  'pisell2.text.form.link.to.another.record.more': string;
558
559
  'pisell2.booking.text.contact-info.title': string;
560
+ 'pisell2.booking.text.search-placeholder': string;
559
561
  };
560
562
  'zh-HK': {
561
563
  'pisell2.text.refunded-amount': string;
@@ -835,6 +837,7 @@ declare const _default: {
835
837
  'pisell2.text.quotation.product.change.describe': string;
836
838
  'pisell2.text.form.link.to.another.record.more': string;
837
839
  'pisell2.booking.text.contact-info.title': string;
840
+ 'pisell2.booking.text.search-placeholder': string;
838
841
  };
839
842
  };
840
843
  export default _default;
@@ -339,7 +339,8 @@ var locales_default = {
339
339
  "pisell2.text.quotation.product.change.describe": "Product updates available: Please refresh the following items to load the latest data.",
340
340
  "pisell2.text.form.link.to.another.record.more": "View More",
341
341
  // 联系信息
342
- "pisell2.booking.text.contact-info.title": "Contact info"
342
+ "pisell2.booking.text.contact-info.title": "Contact info",
343
+ "pisell2.booking.text.search-placeholder": "Search Customers / Contacts"
343
344
  },
344
345
  "zh-CN": {
345
346
  "pisell2.text.refunded-amount": "已退金额",
@@ -651,7 +652,8 @@ var locales_default = {
651
652
  "pisell2.text.quotation.product.change.describe": "以下商品信息已更新,请重新编辑相关商品以同步最新数据。",
652
653
  "pisell2.text.form.link.to.another.record.more": "查看更多",
653
654
  // 联系信息
654
- "pisell2.booking.text.contact-info.title": "联系信息"
655
+ "pisell2.booking.text.contact-info.title": "联系信息",
656
+ "pisell2.booking.text.search-placeholder": "搜索客户/联系信息"
655
657
  },
656
658
  "zh-HK": {
657
659
  "pisell2.text.refunded-amount": "已退金額",
@@ -963,6 +965,7 @@ var locales_default = {
963
965
  "pisell2.text.quotation.product.change.describe": "以下商品信息已更新,请重新编辑相关商品以同步最新数据。",
964
966
  "pisell2.text.form.link.to.another.record.more": "查看更多",
965
967
  // 联系信息
966
- "pisell2.booking.text.contact-info.title": "聯繫信息"
968
+ "pisell2.booking.text.contact-info.title": "聯繫信息",
969
+ "pisell2.booking.text.search-placeholder": "搜索客戶/聯系信息"
967
970
  }
968
971
  };
@@ -10,6 +10,7 @@ interface ContactInfoModalProps {
10
10
  dataSource?: {
11
11
  first_name?: string;
12
12
  last_name?: string;
13
+ display_name?: string;
13
14
  email?: string;
14
15
  phone?: {
15
16
  phone: string;
@@ -107,6 +107,7 @@ var ContactInfoModalContent = (props) => {
107
107
  onSave({
108
108
  first_name: (values == null ? void 0 : values.first_name) || "",
109
109
  last_name: (values == null ? void 0 : values.last_name) || "",
110
+ display_name: (values == null ? void 0 : values.first_name) || (values == null ? void 0 : values.last_name) ? `${(values == null ? void 0 : values.first_name) || ""} ${(values == null ? void 0 : values.last_name) || ""}` : "",
110
111
  phone: {
111
112
  phone: ((_c = values == null ? void 0 : values.phone) == null ? void 0 : _c.phone) || "",
112
113
  country_calling_code: ((_d = values == null ? void 0 : values.phone) == null ? void 0 : _d.countryCallingCode) || "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.3.35",
3
+ "version": "6.3.36",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -62,8 +62,8 @@
62
62
  "@react-spring/web": "^9.6.1",
63
63
  "@use-gesture/react": "^10.3.1",
64
64
  "@pisell/utils": "3.0.1",
65
- "@pisell/icon": "0.0.11",
66
65
  "@pisell/materials": "6.3.10",
66
+ "@pisell/icon": "0.0.11",
67
67
  "@pisell/date-picker": "3.0.4"
68
68
  },
69
69
  "peerDependencies": {