@erpsquad/common 1.10.63 → 1.10.65

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 (64) hide show
  1. package/dist/chunks/{ERPUIProvider-PAl_tpW_.js → ERPUIProvider-B_cYjAdF.js} +2 -2
  2. package/dist/chunks/{ERPUIProvider-PAl_tpW_.js.map → ERPUIProvider-B_cYjAdF.js.map} +1 -1
  3. package/dist/chunks/{ERPUIProvider-BBpkVsj9.esm.js → ERPUIProvider-DtSGxSro.esm.js} +2 -2
  4. package/dist/chunks/{ERPUIProvider-BBpkVsj9.esm.js.map → ERPUIProvider-DtSGxSro.esm.js.map} +1 -1
  5. package/dist/chunks/{android-12-switch-WBRkjBCP.js → android-12-switch-BP2CP-ah.js} +43 -7
  6. package/dist/chunks/android-12-switch-BP2CP-ah.js.map +1 -0
  7. package/dist/chunks/{android-12-switch-XAicROeO.esm.js → android-12-switch-CrpXnQsd.esm.js} +43 -7
  8. package/dist/chunks/android-12-switch-CrpXnQsd.esm.js.map +1 -0
  9. package/dist/chunks/{appbar-17zpqli4.js → appbar-Bb4MdbyO.js} +7 -7
  10. package/dist/chunks/appbar-Bb4MdbyO.js.map +1 -0
  11. package/dist/chunks/{appbar-BBLrVA6U.esm.js → appbar-CHxm7L_f.esm.js} +7 -7
  12. package/dist/chunks/appbar-CHxm7L_f.esm.js.map +1 -0
  13. package/dist/chunks/{default-data-CK-90IND.esm.js → default-data-7fDwUquk.esm.js} +3 -3
  14. package/dist/chunks/{default-data-CK-90IND.esm.js.map → default-data-7fDwUquk.esm.js.map} +1 -1
  15. package/dist/chunks/{default-data-Do_oTvMU.js → default-data-WODnnwD5.js} +3 -3
  16. package/dist/chunks/{default-data-Do_oTvMU.js.map → default-data-WODnnwD5.js.map} +1 -1
  17. package/dist/chunks/{fullScreen-CzRFGTzg.js → fullScreen-BJR97bsP.js} +2 -2
  18. package/dist/chunks/{fullScreen-CzRFGTzg.js.map → fullScreen-BJR97bsP.js.map} +1 -1
  19. package/dist/chunks/{fullScreen-B5e0kvj4.esm.js → fullScreen-uN74Cs7z.esm.js} +2 -2
  20. package/dist/chunks/{fullScreen-B5e0kvj4.esm.js.map → fullScreen-uN74Cs7z.esm.js.map} +1 -1
  21. package/dist/chunks/{sidebar-CaMjOaT0.esm.js → sidebar-C_fhINvI.esm.js} +2 -2
  22. package/dist/chunks/{sidebar-CaMjOaT0.esm.js.map → sidebar-C_fhINvI.esm.js.map} +1 -1
  23. package/dist/chunks/{sidebar-CGHpNE59.js → sidebar-Df3O8Xw6.js} +2 -2
  24. package/dist/chunks/{sidebar-CGHpNE59.js.map → sidebar-Df3O8Xw6.js.map} +1 -1
  25. package/dist/chunks/{sidebarScreen-BMRTGPNT.js → sidebarScreen-BbczvGnM.js} +3 -3
  26. package/dist/chunks/{sidebarScreen-BMRTGPNT.js.map → sidebarScreen-BbczvGnM.js.map} +1 -1
  27. package/dist/chunks/{sidebarScreen-vQN2vT2D.esm.js → sidebarScreen-Df0FcbCe.esm.js} +3 -3
  28. package/dist/chunks/{sidebarScreen-vQN2vT2D.esm.js.map → sidebarScreen-Df0FcbCe.esm.js.map} +1 -1
  29. package/dist/chunks/{translations-D-6zNK2j.esm.js → translations-Df5Mt7kz.esm.js} +3 -3
  30. package/dist/chunks/translations-Df5Mt7kz.esm.js.map +1 -0
  31. package/dist/chunks/{translations-BUtRMBGm.js → translations-DoAAs3Sh.js} +3 -3
  32. package/dist/chunks/translations-DoAAs3Sh.js.map +1 -0
  33. package/dist/chunks/{uom-field-wrapper-DtW2ZDgN.esm.js → uom-field-wrapper-BN-gHLZh.esm.js} +46 -10
  34. package/dist/chunks/uom-field-wrapper-BN-gHLZh.esm.js.map +1 -0
  35. package/dist/chunks/{uom-field-wrapper-xtQt1ONl.js → uom-field-wrapper-DQKUL4a5.js} +46 -10
  36. package/dist/chunks/uom-field-wrapper-DQKUL4a5.js.map +1 -0
  37. package/dist/chunks/{useAddressContact-Cz2yg1H9.esm.js → useAddressContact-Dm7nV19E.esm.js} +3 -3
  38. package/dist/chunks/{useAddressContact-Cz2yg1H9.esm.js.map → useAddressContact-Dm7nV19E.esm.js.map} +1 -1
  39. package/dist/chunks/{useAddressContact-CpNYDTXT.js → useAddressContact-omyt5axK.js} +3 -3
  40. package/dist/chunks/{useAddressContact-CpNYDTXT.js.map → useAddressContact-omyt5axK.js.map} +1 -1
  41. package/dist/components/index.esm.js +5 -5
  42. package/dist/components/index.js +5 -5
  43. package/dist/components/parties-modal/utils/constant.d.ts +7 -4
  44. package/dist/hooks/index.esm.js +2 -2
  45. package/dist/hooks/index.js +2 -2
  46. package/dist/index.esm.js +10 -10
  47. package/dist/index.js +10 -10
  48. package/dist/layout/index.esm.js +2 -2
  49. package/dist/layout/index.js +2 -2
  50. package/dist/src/components/parties-modal/utils/constant.d.ts +7 -4
  51. package/dist/style.css +11 -1
  52. package/dist/utils/index.esm.js +1 -1
  53. package/dist/utils/index.js +1 -1
  54. package/dist/views/index.esm.js +5 -5
  55. package/dist/views/index.js +4 -4
  56. package/package.json +1 -1
  57. package/dist/chunks/android-12-switch-WBRkjBCP.js.map +0 -1
  58. package/dist/chunks/android-12-switch-XAicROeO.esm.js.map +0 -1
  59. package/dist/chunks/appbar-17zpqli4.js.map +0 -1
  60. package/dist/chunks/appbar-BBLrVA6U.esm.js.map +0 -1
  61. package/dist/chunks/translations-BUtRMBGm.js.map +0 -1
  62. package/dist/chunks/translations-D-6zNK2j.esm.js.map +0 -1
  63. package/dist/chunks/uom-field-wrapper-DtW2ZDgN.esm.js.map +0 -1
  64. package/dist/chunks/uom-field-wrapper-xtQt1ONl.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { j as jsxRuntimeExports } from "./jsx-runtime-ClFauRgV.esm.js";
2
2
  import { A as internal_processStyles, e as _objectWithoutPropertiesLoose, x as styled$1, _ as _extends, j as capitalize, b as createTheme, o as isPlainObject, i as internal_serializeStyles, v as styleFunctionSx, B as resolveProps, D as formatMuiErrorMessage, E as clamp, P as PropTypes, F as handleBreakpoints, H as resolveBreakpointValues, I as createUnarySpacing, n as deepmerge, J as mergeBreakpointsInOrder, g as generateUtilityClass, K as getValue, d as defaultTheme$1, T as THEME_ID, k as interopRequireDefaultExports, l as getDefaultExportFromCjs, L as commonjsGlobal, u as useDefaultProps, f as alpha_1, y as lighten_1, z as darken_1 } from "./identifier-0SZUhw_A.esm.js";
3
- import { y as default_1$a, B as Button$1, M as Modal, S as SearchBar, E as Typography$1, _ as _inheritsLoose, V as forceReflow, i as Transition, W as classNamesShape, h as ButtonBase, o as chainPropTypes, u as useTheme$4, X as useSlotProps, P as Paper, Y as Fade, s as Modal$1, Z as Backdrop, $ as Portal, U as refType, p as HTMLElementType, a0 as Grow, a1 as FocusTrap, z as List, v as ListItem, a2 as TransitionGroup, a3 as isHostComponent, k as elementTypeAcceptingRef, N as Menu$1, m as getReactElementRef, I as resolveComponentProps, G as o, q as useRtl, O as MenuItem$1, a4 as MenuList, a5 as Divider$1, T as TextField$2, e as Tooltip$1, F as default_1$c, x as default_1$d, c as ConfirmPopUp, D as DynamicInput, d as Toast, n as elementAcceptingRef, a6 as exactProp, f as Box$1, b as Avatar } from "./appbar-BBLrVA6U.esm.js";
3
+ import { y as default_1$a, B as Button$1, M as Modal, S as SearchBar, E as Typography$1, _ as _inheritsLoose, V as forceReflow, i as Transition, W as classNamesShape, h as ButtonBase, o as chainPropTypes, u as useTheme$4, X as useSlotProps, P as Paper, Y as Fade, s as Modal$1, Z as Backdrop, $ as Portal, U as refType, p as HTMLElementType, a0 as Grow, a1 as FocusTrap, z as List, v as ListItem, a2 as TransitionGroup, a3 as isHostComponent, k as elementTypeAcceptingRef, N as Menu$1, m as getReactElementRef, I as resolveComponentProps, G as o, q as useRtl, O as MenuItem$1, a4 as MenuList, a5 as Divider$1, T as TextField$2, e as Tooltip$1, F as default_1$c, x as default_1$d, c as ConfirmPopUp, D as DynamicInput, d as Toast, n as elementAcceptingRef, a6 as exactProp, f as Box$1, b as Avatar } from "./appbar-CHxm7L_f.esm.js";
4
4
  import { d as useEnhancedEffect, r as requireCreateSvgIcon, T as Typography, i as default_1$b, t as useId, l as ownerDocument, e as useForkRef, k as useEventCallback, q as useControlled, v as unsupportedProp, o as ownerWindow, h as debounce$1, p as isMuiElement, u as useAuth } from "./useAuth-BVQ2r4xx.esm.js";
5
5
  import { AccordionSummary, AccordionDetails, styled as styled$2, Accordion as Accordion$1, InputAdornment as InputAdornment$1, TextField as TextField$1, Box, CircularProgress, FormHelperText as FormHelperText$1, Select as Select$2, useTheme as useTheme$3, useMediaQuery as useMediaQuery$1, DialogTitle, IconButton as IconButton$1, Tabs as Tabs$1, Tab as Tab$1, MenuItem, DialogActions as DialogActions$1, Radio as Radio$1, RadioGroup, FormControlLabel, Tooltip, Divider, OutlinedInput as OutlinedInput$1, ListItemIcon, ListItemText, Grid, DialogContent as DialogContent$1, Stack as Stack$1, Autocomplete, Menu as Menu$3, Alert as Alert$1, FormControl as FormControl$1, Chip as Chip$2, Dialog as Dialog$1, Grow as Grow$1, Breadcrumbs, List as List$1, ListItem as ListItem$1, ListItemAvatar, Switch as Switch$1 } from "@mui/material";
6
6
  import { useDrag, useDrop } from "react-dnd";
@@ -19418,16 +19418,19 @@ const addressPayload = {
19418
19418
  contact_name: null,
19419
19419
  street_1: null,
19420
19420
  street_2: null,
19421
- city: null,
19421
+ street_3: null,
19422
+ street_name: null,
19423
+ building_no: null,
19424
+ additional_no: null,
19425
+ national_address: null,
19422
19426
  zip_code: null,
19427
+ city: null,
19428
+ district_name: null,
19423
19429
  state: null,
19424
19430
  country: null,
19425
19431
  email: null,
19426
19432
  mobile: null,
19427
19433
  phone: null,
19428
- street_3: null,
19429
- building_no: null,
19430
- additional_no: null,
19431
19434
  summary: null,
19432
19435
  default_shipping_address: 0,
19433
19436
  default_billing_address: 0,
@@ -19559,6 +19562,16 @@ const addressColumns = (isKSA) => [
19559
19562
  field_name: "street_3"
19560
19563
  }
19561
19564
  },
19565
+ {
19566
+ header: "common.party.table.streetName_header",
19567
+ accessorKey: "street_name",
19568
+ visible: true,
19569
+ type: "string",
19570
+ editProperties: {
19571
+ placeholder: "Enter Street Name",
19572
+ field_name: "street_name"
19573
+ }
19574
+ },
19562
19575
  ...isKSA ? [
19563
19576
  {
19564
19577
  header: "common.party.table.buildingNo_header",
@@ -19583,6 +19596,16 @@ const addressColumns = (isKSA) => [
19583
19596
  }
19584
19597
  }
19585
19598
  ] : [],
19599
+ {
19600
+ header: "common.party.table.nationalAddress_header",
19601
+ accessorKey: "national_address",
19602
+ visible: true,
19603
+ type: "string",
19604
+ editProperties: {
19605
+ placeholder: "Enter National Address",
19606
+ field_name: "national_address"
19607
+ }
19608
+ },
19586
19609
  {
19587
19610
  header: "common.party.table.zipCode_header",
19588
19611
  accessorKey: "zip_code",
@@ -19650,6 +19673,16 @@ const addressColumns = (isKSA) => [
19650
19673
  validations: []
19651
19674
  }
19652
19675
  },
19676
+ {
19677
+ header: "common.party.table.districtName_header",
19678
+ accessorKey: "district_name",
19679
+ visible: true,
19680
+ type: "string",
19681
+ editProperties: {
19682
+ placeholder: "Enter District Name",
19683
+ field_name: "district_name"
19684
+ }
19685
+ },
19653
19686
  {
19654
19687
  header: "common.party.table.summary_header",
19655
19688
  accessorKey: "summary",
@@ -29171,10 +29204,13 @@ function CustomerVendorModal({
29171
29204
  "street_1",
29172
29205
  "street_2",
29173
29206
  "street_3",
29207
+ "street_name",
29174
29208
  "building_no",
29175
29209
  "additional_no",
29210
+ "national_address",
29176
29211
  "zip_code",
29177
29212
  "city",
29213
+ "district_name",
29178
29214
  "state",
29179
29215
  "country"
29180
29216
  ];
@@ -29195,7 +29231,7 @@ function CustomerVendorModal({
29195
29231
  if (!acc) return val;
29196
29232
  val = (val == null ? void 0 : val.name) || val;
29197
29233
  acc = (acc == null ? void 0 : acc.name) || acc;
29198
- return [2, 3, 4, 5].includes(idx) ? `${acc} ${val}` : `${acc},
29234
+ return [2, 3, 4, 5, 6, 7].includes(idx) ? `${acc} ${val}` : `${acc},
29199
29235
  ${val}`;
29200
29236
  }, "");
29201
29237
  r._valuesCache.summary = summary;
@@ -41786,4 +41822,4 @@ export {
41786
41822
  DynamicTagsInput as y,
41787
41823
  DynamicTime as z
41788
41824
  };
41789
- //# sourceMappingURL=android-12-switch-XAicROeO.esm.js.map
41825
+ //# sourceMappingURL=android-12-switch-CrpXnQsd.esm.js.map