@open-mercato/core 0.8.1-develop.7254.1.ab24f26208 → 0.8.1-develop.7263.1.bbc6db3437

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 (46) hide show
  1. package/dist/modules/catalog/backend/catalog/products/[id]/page.js +11 -3
  2. package/dist/modules/catalog/backend/catalog/products/[id]/page.js.map +2 -2
  3. package/dist/modules/customer_accounts/api/admin/users.js +27 -14
  4. package/dist/modules/customer_accounts/api/admin/users.js.map +2 -2
  5. package/dist/modules/customer_accounts/backend/customer_accounts/users/PortalUsersPageClient.js +9 -0
  6. package/dist/modules/customer_accounts/backend/customer_accounts/users/PortalUsersPageClient.js.map +2 -2
  7. package/dist/modules/customer_accounts/backend/customer_accounts/users/[id]/PortalUserDetailPageClient.js +8 -8
  8. package/dist/modules/customer_accounts/backend/customer_accounts/users/[id]/PortalUserDetailPageClient.js.map +2 -2
  9. package/dist/modules/customers/backend/customers/deals/map/page.js +10 -2
  10. package/dist/modules/customers/backend/customers/deals/map/page.js.map +2 -2
  11. package/dist/modules/customers/backend/customers/deals/page.js +10 -2
  12. package/dist/modules/customers/backend/customers/deals/page.js.map +2 -2
  13. package/dist/modules/customers/backend/customers/deals/pipeline/components/ViewTabsRow.js +41 -66
  14. package/dist/modules/customers/backend/customers/deals/pipeline/components/ViewTabsRow.js.map +2 -2
  15. package/dist/modules/customers/backend/customers/deals/pipeline/page.js +6 -2
  16. package/dist/modules/customers/backend/customers/deals/pipeline/page.js.map +2 -2
  17. package/dist/modules/customers/components/formConfig.js +3 -3
  18. package/dist/modules/customers/components/formConfig.js.map +2 -2
  19. package/dist/modules/customers/data/validators.js +3 -1
  20. package/dist/modules/customers/data/validators.js.map +2 -2
  21. package/package.json +7 -7
  22. package/src/modules/catalog/backend/catalog/products/[id]/page.tsx +19 -5
  23. package/src/modules/catalog/i18n/de.json +1 -0
  24. package/src/modules/catalog/i18n/en.json +1 -0
  25. package/src/modules/catalog/i18n/es.json +1 -0
  26. package/src/modules/catalog/i18n/ko.json +1 -0
  27. package/src/modules/catalog/i18n/pl.json +1 -0
  28. package/src/modules/customer_accounts/api/admin/users.ts +30 -14
  29. package/src/modules/customer_accounts/backend/customer_accounts/users/PortalUsersPageClient.tsx +11 -0
  30. package/src/modules/customer_accounts/backend/customer_accounts/users/[id]/PortalUserDetailPageClient.tsx +11 -11
  31. package/src/modules/customer_accounts/i18n/de.json +1 -0
  32. package/src/modules/customer_accounts/i18n/en.json +1 -0
  33. package/src/modules/customer_accounts/i18n/es.json +1 -0
  34. package/src/modules/customer_accounts/i18n/ko.json +1 -0
  35. package/src/modules/customer_accounts/i18n/pl.json +1 -0
  36. package/src/modules/customers/backend/customers/deals/map/page.tsx +13 -2
  37. package/src/modules/customers/backend/customers/deals/page.tsx +13 -2
  38. package/src/modules/customers/backend/customers/deals/pipeline/components/ViewTabsRow.tsx +69 -56
  39. package/src/modules/customers/backend/customers/deals/pipeline/page.tsx +8 -2
  40. package/src/modules/customers/components/formConfig.tsx +3 -3
  41. package/src/modules/customers/data/validators.ts +2 -1
  42. package/src/modules/customers/i18n/de.json +1 -0
  43. package/src/modules/customers/i18n/en.json +1 -0
  44. package/src/modules/customers/i18n/es.json +1 -0
  45. package/src/modules/customers/i18n/ko.json +1 -0
  46. package/src/modules/customers/i18n/pl.json +1 -0
@@ -51,7 +51,7 @@ import {
51
51
  getCustomerDictionaryManageHref
52
52
  } from "../lib/dictionaries.js";
53
53
  import { normalizeCustomFieldSubmitValue } from "./detail/customFieldUtils.js";
54
- import { CUSTOMER_PHONE_INVALID_MESSAGE_KEY } from "../data/validators.js";
54
+ import { CUSTOMER_PHONE_INVALID_MESSAGE_KEY, CUSTOMER_URL_INVALID_MESSAGE_KEY } from "../data/validators.js";
55
55
  const metadata = {
56
56
  navHidden: true
57
57
  };
@@ -877,7 +877,7 @@ const createCompanyFormSchema = () => z.object({
877
877
  legalName: z.string().trim().optional().or(z.literal("")).transform((val) => val === "" ? void 0 : val).optional(),
878
878
  brandName: z.string().trim().optional().or(z.literal("")).transform((val) => val === "" ? void 0 : val).optional(),
879
879
  domain: z.string().trim().optional().or(z.literal("")).transform((val) => val === "" ? void 0 : val).optional(),
880
- websiteUrl: z.string().trim().url().optional().or(z.literal("")).transform((val) => val === "" ? void 0 : val).optional(),
880
+ websiteUrl: z.string().trim().url(CUSTOMER_URL_INVALID_MESSAGE_KEY).optional().or(z.literal("")).transform((val) => val === "" ? void 0 : val).optional(),
881
881
  industry: z.string().trim().optional().or(z.literal("")).transform((val) => val === "" ? void 0 : val).optional(),
882
882
  sizeBucket: z.string().trim().optional().or(z.literal("")).transform((val) => val === "" ? void 0 : val).optional(),
883
883
  annualRevenue: z.string().trim().optional().or(z.literal("")).transform((val) => val === "" ? void 0 : val).optional()
@@ -1136,7 +1136,7 @@ function buildCompanyPayload(values, organizationId) {
1136
1136
  return payload;
1137
1137
  }
1138
1138
  const optionalString = () => z.string().trim().optional().or(z.literal("")).transform((val) => val === "" ? void 0 : val).optional();
1139
- const clearableUrlField = () => z.string().trim().url().optional().or(z.literal("")).transform((val) => val === "" ? null : val).optional();
1139
+ const clearableUrlField = () => z.string().trim().url(CUSTOMER_URL_INVALID_MESSAGE_KEY).optional().or(z.literal("")).transform((val) => val === "" ? null : val).optional();
1140
1140
  const clearableEmailField = () => z.string().trim().email().optional().or(z.literal("")).transform((val) => val === "" ? null : val).optional();
1141
1141
  const clearableDomainField = () => z.string().trim().max(200).optional().or(z.literal("")).transform((val) => val === "" ? null : val).optional();
1142
1142
  const clearableTextField = () => z.string().trim().optional().or(z.literal("")).transform((val) => val === "" ? null : val).optional();