@gusto/embedded-react-sdk 0.37.0-rc.3 → 0.37.0-rc.5

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 (122) hide show
  1. package/dist/components/Common/SignatureForm/SignatureFormActions.js +8 -7
  2. package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
  3. package/dist/components/Common/SignatureForm/SignatureFormFields.js +5 -4
  4. package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
  5. package/dist/components/Common/UI/DatePicker/DatePicker.d.ts +1 -1
  6. package/dist/components/Common/UI/DatePicker/DatePicker.js +88 -69
  7. package/dist/components/Common/UI/DatePicker/DatePicker.js.map +1 -1
  8. package/dist/components/Common/UI/DatePicker/DatePickerTypes.d.ts +13 -0
  9. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +7 -6
  10. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
  11. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +9 -8
  12. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
  13. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +11 -11
  14. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +7 -6
  15. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
  16. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +6 -6
  17. package/dist/components/Company/BankAccount/BankAccountList/Actions.js +7 -6
  18. package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
  19. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +8 -7
  20. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
  21. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +6 -5
  22. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
  23. package/dist/components/Company/FederalTaxes/Actions.js +7 -6
  24. package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
  25. package/dist/components/Company/Industry/Actions.js +6 -5
  26. package/dist/components/Company/Industry/Actions.js.map +1 -1
  27. package/dist/components/Company/Industry/Edit.js +11 -10
  28. package/dist/components/Company/Industry/Edit.js.map +1 -1
  29. package/dist/components/Company/Locations/LocationForm/Actions.js +3 -2
  30. package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
  31. package/dist/components/Company/Locations/LocationsList/Actions.js +3 -2
  32. package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
  33. package/dist/components/Company/Locations/LocationsList/List.js +7 -6
  34. package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
  35. package/dist/components/Company/PaySchedule/PaySchedule.js +60 -58
  36. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  37. package/dist/components/Company/PaySchedule/_parts/Actions.js +11 -10
  38. package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
  39. package/dist/components/Company/PaySchedule/_parts/Edit.js +39 -36
  40. package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
  41. package/dist/components/Company/PaySchedule/usePaySchedule.d.ts +1 -0
  42. package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
  43. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +6 -5
  44. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
  45. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +7 -6
  46. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
  47. package/dist/components/Company/StateTaxes/StateTaxesList/List.js +6 -5
  48. package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
  49. package/dist/components/Contractor/Address/Form.js +4 -4
  50. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +3 -2
  51. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
  52. package/dist/components/Contractor/Profile/ContractorProfileForm.js +15 -15
  53. package/dist/components/Employee/Compensation/Actions.js +1 -1
  54. package/dist/components/Employee/Compensation/List.js +6 -5
  55. package/dist/components/Employee/Compensation/List.js.map +1 -1
  56. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +5 -4
  57. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
  58. package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +16 -16
  59. package/dist/components/Employee/EmployeeList/Actions.js +5 -4
  60. package/dist/components/Employee/EmployeeList/Actions.js.map +1 -1
  61. package/dist/components/Employee/EmployeeList/List.js +10 -10
  62. package/dist/components/Employee/FederalTaxes/Actions.js +3 -2
  63. package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
  64. package/dist/components/Employee/FederalTaxes/FederalForm.js +5 -4
  65. package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
  66. package/dist/components/Employee/PaymentMethod/Actions.js +6 -5
  67. package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
  68. package/dist/components/Employee/PaymentMethod/BankAccountsList.js +4 -4
  69. package/dist/components/Employee/PaymentMethod/Split.js +1 -1
  70. package/dist/components/Employee/Profile/Actions.js +7 -6
  71. package/dist/components/Employee/Profile/Actions.js.map +1 -1
  72. package/dist/components/Employee/Profile/AdminPersonalDetails.js +5 -4
  73. package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
  74. package/dist/components/Employee/Profile/PersonalDetailsInputs.js +10 -9
  75. package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -1
  76. package/dist/components/Employee/StateTaxes/Actions.js +7 -6
  77. package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
  78. package/dist/components/Employee/Taxes/Actions.js +8 -7
  79. package/dist/components/Employee/Taxes/Actions.js.map +1 -1
  80. package/dist/components/Employee/Taxes/FederalForm.js +5 -4
  81. package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
  82. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js +48 -48
  83. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js.map +1 -1
  84. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +10 -10
  85. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +10 -10
  86. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js +15 -14
  87. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js.map +1 -1
  88. package/dist/components/Payroll/GrossUpModal/GrossUpModal.module.scss.js +4 -4
  89. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +12 -11
  90. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
  91. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +1 -0
  92. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
  93. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js +3 -2
  94. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js.map +1 -1
  95. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +10 -10
  96. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js +44 -55
  97. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js.map +1 -1
  98. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js +9 -8
  99. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js.map +1 -1
  100. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js +12 -11
  101. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js.map +1 -1
  102. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js +3 -2
  103. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js.map +1 -1
  104. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js +8 -7
  105. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js.map +1 -1
  106. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js +9 -8
  107. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js.map +1 -1
  108. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js +13 -12
  109. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js.map +1 -1
  110. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js +4 -4
  111. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js +1 -1
  112. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js +1 -1
  113. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +3 -2
  114. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  115. package/dist/i18n/en/Company.PaySchedule.json.js +6 -6
  116. package/dist/i18n/en/Payroll.OffCycle.json.js +1 -1
  117. package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +9 -9
  118. package/dist/i18n/en/Payroll.TransitionPayrollAlert.json.js +8 -8
  119. package/dist/style.css +1 -1
  120. package/dist/types/i18next.d.ts +2 -1
  121. package/docs/reference/endpoint-inventory.json +9 -0
  122. package/package.json +3 -3
@@ -3,11 +3,12 @@ import { useTranslation as p } from "react-i18next";
3
3
  import { useCompensation as d } from "./useCompensation.js";
4
4
  import C from "../../../assets/icons/pencil.svg.js";
5
5
  import c from "../../../assets/icons/trashcan.svg.js";
6
+ import "../../../shared/constants.js";
6
7
  import { HamburgerMenu as f } from "../../Common/HamburgerMenu/HamburgerMenu.js";
7
8
  import { useDataView as y } from "../../Common/DataView/useDataView.js";
8
9
  import { DataView as g } from "../../Common/DataView/DataView.js";
9
- const D = () => {
10
- const { employeeJobs: i, mode: o, isPending: l, handleEdit: r, handleDelete: s } = d(), { t } = p("Employee.Compensation"), { ...m } = y({
10
+ const P = () => {
11
+ const { employeeJobs: i, mode: o, isPending: r, handleEdit: l, handleDelete: s } = d(), { t } = p("Employee.Compensation"), { ...m } = y({
11
12
  data: i,
12
13
  columns: [
13
14
  {
@@ -45,7 +46,7 @@ const D = () => {
45
46
  label: t("allCompensations.editCta"),
46
47
  icon: /* @__PURE__ */ a(C, { "aria-hidden": !0 }),
47
48
  onClick: () => {
48
- r(e.uuid);
49
+ l(e.uuid);
49
50
  }
50
51
  },
51
52
  ...e.primary ? [] : [
@@ -58,7 +59,7 @@ const D = () => {
58
59
  }
59
60
  ]
60
61
  ],
61
- isLoading: l
62
+ isLoading: r
62
63
  }
63
64
  )
64
65
  });
@@ -66,6 +67,6 @@ const D = () => {
66
67
  return /* @__PURE__ */ a(g, { "data-testid": "data-view", label: t("allCompensations.tableLabel"), ...m });
67
68
  };
68
69
  export {
69
- D as List
70
+ P as List
70
71
  };
71
72
  //# sourceMappingURL=List.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"List.js","sources":["../../../../src/components/Employee/Compensation/List.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { type Job } from '@gusto/embedded-api/models/components/job'\nimport { useCompensation } from './useCompensation'\nimport PencilSvg from '@/assets/icons/pencil.svg?react'\nimport TrashCanSvg from '@/assets/icons/trashcan.svg?react'\nimport { DataView, useDataView } from '@/components/Common'\nimport { HamburgerMenu } from '@/components/Common/HamburgerMenu'\n\nexport const List = () => {\n const { employeeJobs, mode, isPending, handleEdit, handleDelete } = useCompensation()\n const { t } = useTranslation('Employee.Compensation')\n\n const { ...dataViewProps } = useDataView({\n data: employeeJobs,\n columns: [\n {\n key: 'title',\n title: t('allCompensations.jobColumn'),\n render: (job: Job) => job.title || '',\n },\n {\n key: 'flsaStatus',\n title: t('allCompensations.typeColumn'),\n render: (job: Job) => {\n const flsaStatus = job.compensations?.find(\n comp => comp.uuid === job.currentCompensationUuid,\n )?.flsaStatus\n return flsaStatus !== undefined ? t(`flsaStatusLabels.${flsaStatus}`) : null\n },\n },\n {\n key: 'rate',\n title: t('allCompensations.amountColumn'),\n render: (job: Job) => job.rate?.toString() || '',\n },\n {\n key: 'paymentUnit',\n title: t('allCompensations.perColumn'),\n render: (job: Job) => job.paymentUnit || '',\n },\n ],\n itemMenu: (job: Job) => (\n <HamburgerMenu\n triggerLabel={t('hamburgerTitle')}\n items={[\n {\n label: t('allCompensations.editCta'),\n icon: <PencilSvg aria-hidden />,\n onClick: () => {\n handleEdit(job.uuid)\n },\n },\n ...(!job.primary\n ? [\n {\n label: t('allCompensations.deleteCta'),\n icon: <TrashCanSvg aria-hidden />,\n onClick: () => {\n handleDelete(job.uuid)\n },\n },\n ]\n : []),\n ]}\n isLoading={isPending}\n />\n ),\n })\n\n if (mode !== 'LIST') {\n return\n }\n\n return (\n <DataView data-testid=\"data-view\" label={t('allCompensations.tableLabel')} {...dataViewProps} />\n )\n}\n"],"names":["List","employeeJobs","mode","isPending","handleEdit","handleDelete","useCompensation","useTranslation","dataViewProps","useDataView","job","flsaStatus","comp","jsx","HamburgerMenu","PencilSvg","TrashCanSvg","DataView"],"mappings":";;;;;;;;AAQO,MAAMA,IAAO,MAAM;AACxB,QAAM,EAAE,cAAAC,GAAc,MAAAC,GAAM,WAAAC,GAAW,YAAAC,GAAY,cAAAC,EAAA,IAAiBC,EAAA,GAC9D,EAAE,EAAA,IAAMC,EAAe,uBAAuB,GAE9C,EAAE,GAAGC,EAAA,IAAkBC,EAAY;AAAA,IACvC,MAAMR;AAAA,IACN,SAAS;AAAA,MACP;AAAA,QACE,KAAK;AAAA,QACL,OAAO,EAAE,4BAA4B;AAAA,QACrC,QAAQ,CAACS,MAAaA,EAAI,SAAS;AAAA,MAAA;AAAA,MAErC;AAAA,QACE,KAAK;AAAA,QACL,OAAO,EAAE,6BAA6B;AAAA,QACtC,QAAQ,CAACA,MAAa;AACpB,gBAAMC,IAAaD,EAAI,eAAe;AAAA,YACpC,CAAAE,MAAQA,EAAK,SAASF,EAAI;AAAA,UAAA,GACzB;AACH,iBAAOC,MAAe,SAAY,EAAE,oBAAoBA,CAAU,EAAE,IAAI;AAAA,QAC1E;AAAA,MAAA;AAAA,MAEF;AAAA,QACE,KAAK;AAAA,QACL,OAAO,EAAE,+BAA+B;AAAA,QACxC,QAAQ,CAACD,MAAaA,EAAI,MAAM,cAAc;AAAA,MAAA;AAAA,MAEhD;AAAA,QACE,KAAK;AAAA,QACL,OAAO,EAAE,4BAA4B;AAAA,QACrC,QAAQ,CAACA,MAAaA,EAAI,eAAe;AAAA,MAAA;AAAA,IAC3C;AAAA,IAEF,UAAU,CAACA,MACT,gBAAAG;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,cAAc,EAAE,gBAAgB;AAAA,QAChC,OAAO;AAAA,UACL;AAAA,YACE,OAAO,EAAE,0BAA0B;AAAA,YACnC,MAAM,gBAAAD,EAACE,GAAA,EAAU,eAAW,GAAA,CAAC;AAAA,YAC7B,SAAS,MAAM;AACb,cAAAX,EAAWM,EAAI,IAAI;AAAA,YACrB;AAAA,UAAA;AAAA,UAEF,GAAKA,EAAI,UAUL,CAAA,IATA;AAAA,YACE;AAAA,cACE,OAAO,EAAE,4BAA4B;AAAA,cACrC,MAAM,gBAAAG,EAACG,GAAA,EAAY,eAAW,GAAA,CAAC;AAAA,cAC/B,SAAS,MAAM;AACb,gBAAAX,EAAaK,EAAI,IAAI;AAAA,cACvB;AAAA,YAAA;AAAA,UACF;AAAA,QAED;AAAA,QAEP,WAAWP;AAAA,MAAA;AAAA,IAAA;AAAA,EACb,CAEH;AAED,MAAID,MAAS;AAIb,WACE,gBAAAW,EAACI,KAAS,eAAY,aAAY,OAAO,EAAE,6BAA6B,GAAI,GAAGT,GAAe;AAElG;"}
1
+ {"version":3,"file":"List.js","sources":["../../../../src/components/Employee/Compensation/List.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { type Job } from '@gusto/embedded-api/models/components/job'\nimport { useCompensation } from './useCompensation'\nimport PencilSvg from '@/assets/icons/pencil.svg?react'\nimport TrashCanSvg from '@/assets/icons/trashcan.svg?react'\nimport { DataView, useDataView } from '@/components/Common'\nimport { HamburgerMenu } from '@/components/Common/HamburgerMenu'\n\nexport const List = () => {\n const { employeeJobs, mode, isPending, handleEdit, handleDelete } = useCompensation()\n const { t } = useTranslation('Employee.Compensation')\n\n const { ...dataViewProps } = useDataView({\n data: employeeJobs,\n columns: [\n {\n key: 'title',\n title: t('allCompensations.jobColumn'),\n render: (job: Job) => job.title || '',\n },\n {\n key: 'flsaStatus',\n title: t('allCompensations.typeColumn'),\n render: (job: Job) => {\n const flsaStatus = job.compensations?.find(\n comp => comp.uuid === job.currentCompensationUuid,\n )?.flsaStatus\n return flsaStatus !== undefined ? t(`flsaStatusLabels.${flsaStatus}`) : null\n },\n },\n {\n key: 'rate',\n title: t('allCompensations.amountColumn'),\n render: (job: Job) => job.rate?.toString() || '',\n },\n {\n key: 'paymentUnit',\n title: t('allCompensations.perColumn'),\n render: (job: Job) => job.paymentUnit || '',\n },\n ],\n itemMenu: (job: Job) => (\n <HamburgerMenu\n triggerLabel={t('hamburgerTitle')}\n items={[\n {\n label: t('allCompensations.editCta'),\n icon: <PencilSvg aria-hidden />,\n onClick: () => {\n handleEdit(job.uuid)\n },\n },\n ...(!job.primary\n ? [\n {\n label: t('allCompensations.deleteCta'),\n icon: <TrashCanSvg aria-hidden />,\n onClick: () => {\n handleDelete(job.uuid)\n },\n },\n ]\n : []),\n ]}\n isLoading={isPending}\n />\n ),\n })\n\n if (mode !== 'LIST') {\n return\n }\n\n return (\n <DataView data-testid=\"data-view\" label={t('allCompensations.tableLabel')} {...dataViewProps} />\n )\n}\n"],"names":["List","employeeJobs","mode","isPending","handleEdit","handleDelete","useCompensation","useTranslation","dataViewProps","useDataView","job","flsaStatus","comp","jsx","HamburgerMenu","PencilSvg","TrashCanSvg","DataView"],"mappings":";;;;;;;;;AAQO,MA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E,OAAO,EAAE,4BAA4B;AAAA,cACrC,MAAM,gBAAAG,EAACG,GAAA,EAAY,eAAW,GAAA,CAAC;AAAA,cAC/B,SAAS,MAAM;AACb,gBAAAX,EAAaK,EAAI,IAAI;AAAA,cACvB;AAAA,YAAA;AAAA,UACF;AAAA,QAED;AAAA,QAEP,WAAWP;AAAA,MAAA;AAAA,IAAA;AAAA,EACb,CAEH;AAED,MAAID,MAAS;AAIb,WACE,gBAAAW,EAACI,KAAS,eAAY,aAAY,OAAO,EAAE,6BAA6B,GAAI,GAAGT,GAAe;AAElG;"}
@@ -1,13 +1,14 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { useTranslation as r } from "react-i18next";
3
3
  import { useDocumentList as s } from "./useDocumentList.js";
4
+ import "../../../../shared/constants.js";
4
5
  import { ActionsLayout as m } from "../../../Common/ActionsLayout/ActionsLayout.js";
5
6
  import { useComponentContext as c } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
6
- function d() {
7
- const { t: n } = r("Employee.DocumentSigner"), { handleContinue: t, hasSignedAllForms: e } = s(), i = c();
8
- return /* @__PURE__ */ o(m, { children: /* @__PURE__ */ o(i.Button, { onClick: t, isLoading: !1, isDisabled: !e, children: n("continueCta") }) });
7
+ function C() {
8
+ const { t: n } = r("Employee.DocumentSigner"), { handleContinue: t, hasSignedAllForms: i } = s(), e = c();
9
+ return /* @__PURE__ */ o(m, { children: /* @__PURE__ */ o(e.Button, { onClick: t, isLoading: !1, isDisabled: !i, children: n("continueCta") }) });
9
10
  }
10
11
  export {
11
- d as Actions
12
+ C as Actions
12
13
  };
13
14
  //# sourceMappingURL=Actions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Actions.js","sources":["../../../../../src/components/Employee/DocumentSigner/DocumentList/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useDocumentList } from './useDocumentList'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport function Actions() {\n const { t } = useTranslation('Employee.DocumentSigner')\n const { handleContinue, hasSignedAllForms } = useDocumentList()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button onClick={handleContinue} isLoading={false} isDisabled={!hasSignedAllForms}>\n {t('continueCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","t","useTranslation","handleContinue","hasSignedAllForms","useDocumentList","Components","useComponentContext","ActionsLayout","jsx"],"mappings":";;;;;AAKO,SAASA,IAAU;AACxB,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAe,yBAAyB,GAChD,EAAE,gBAAAC,GAAgB,mBAAAC,EAAA,IAAsBC,EAAA,GACxCC,IAAaC,EAAA;AAEnB,2BACGC,GAAA,EACC,UAAA,gBAAAC,EAACH,EAAW,QAAX,EAAkB,SAASH,GAAgB,WAAW,IAAO,YAAY,CAACC,GACxE,UAAAH,EAAE,aAAa,GAClB,GACF;AAEJ;"}
1
+ {"version":3,"file":"Actions.js","sources":["../../../../../src/components/Employee/DocumentSigner/DocumentList/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useDocumentList } from './useDocumentList'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport function Actions() {\n const { t } = useTranslation('Employee.DocumentSigner')\n const { handleContinue, hasSignedAllForms } = useDocumentList()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button onClick={handleContinue} isLoading={false} isDisabled={!hasSignedAllForms}>\n {t('continueCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","t","useTranslation","handleContinue","hasSignedAllForms","useDocumentList","Components","useComponentContext","ActionsLayout","jsx"],"mappings":";;;;;;AAKO,SAASA,IAAU;AACxB,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAe,yBAAyB,GAChD,EAAE,gBAAAC,GAAgB,mBAAAC,EAAA,IAAsBC,EAAA,GACxCC,IAAaC,EAAA;AAEnB,2BACGC,GAAA,EACC,UAAA,gBAAAC,EAACH,EAAW,QAAX,EAAkB,SAASH,GAAgB,WAAW,IAAO,YAAY,CAACC,GACxE,UAAAH,EAAE,aAAa,GAClB,GACF;AAEJ;"}
@@ -8,14 +8,14 @@ import { generateEmploymentEligibilitySchema as k } from "./EmploymentEligibilit
8
8
  import { COUNTRIES as P } from "./countries.js";
9
9
  import { Flex as b } from "../../../Common/Flex/Flex.js";
10
10
  import { ActionsLayout as V } from "../../../Common/ActionsLayout/ActionsLayout.js";
11
- import { DatePickerField as B } from "../../../Common/Fields/DatePickerField/DatePickerField.js";
12
- import { ComboBoxField as H } from "../../../Common/Fields/ComboBoxField/ComboBoxField.js";
13
- import { Form as K } from "../../../Common/Form/Form.js";
14
- import { useComponentContext as M } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
15
- import { useI18n as G } from "../../../../i18n/I18n.js";
16
- import { SelectField as U } from "../../../Common/Fields/SelectField/SelectField.js";
17
- import { RadioGroupField as W } from "../../../Common/Fields/RadioGroupField/RadioGroupField.js";
18
- import { TextInputField as J } from "../../../Common/Fields/TextInputField/TextInputField.js";
11
+ import { ComboBoxField as B } from "../../../Common/Fields/ComboBoxField/ComboBoxField.js";
12
+ import { Form as H } from "../../../Common/Form/Form.js";
13
+ import { useComponentContext as K } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
14
+ import { useI18n as M } from "../../../../i18n/I18n.js";
15
+ import { SelectField as G } from "../../../Common/Fields/SelectField/SelectField.js";
16
+ import { RadioGroupField as U } from "../../../Common/Fields/RadioGroupField/RadioGroupField.js";
17
+ import { TextInputField as W } from "../../../Common/Fields/TextInputField/TextInputField.js";
18
+ import { DatePickerField as J } from "../../../Common/Fields/DatePickerField/DatePickerField.js";
19
19
  const Q = {
20
20
  citizen: "statusDescriptions.citizen",
21
21
  permanent_resident: "statusDescriptions.permanent_resident",
@@ -27,8 +27,8 @@ const Q = {
27
27
  hasDocumentNumber: y,
28
28
  isPending: g
29
29
  }) => {
30
- G("Employee.EmploymentEligibility");
31
- const { Heading: D, Text: x, Alert: z, Button: E, Link: N } = M(), { t: e } = L("Employee.EmploymentEligibility"), [a, m] = I(!!y), r = O({
30
+ M("Employee.EmploymentEligibility");
31
+ const { Heading: D, Text: x, Alert: z, Button: E, Link: N } = K(), { t: e } = L("Employee.EmploymentEligibility"), [a, m] = I(!!y), r = O({
32
32
  resolver: j(k(a)),
33
33
  defaultValues: f
34
34
  }), { control: l, setValue: u, clearErrors: c } = r, o = d({ control: l, name: "authorizationStatus" }), s = d({ control: l, name: "documentType" }), _ = Object.values(q).map((n) => ({
@@ -45,7 +45,7 @@ const Q = {
45
45
  uscis_alien_registration_number: 9,
46
46
  form_i94: 11
47
47
  };
48
- return /* @__PURE__ */ t($, { ...r, children: /* @__PURE__ */ t(K, { onSubmit: r.handleSubmit(h), children: /* @__PURE__ */ p(b, { flexDirection: "column", gap: 16, children: [
48
+ return /* @__PURE__ */ t($, { ...r, children: /* @__PURE__ */ t(H, { onSubmit: r.handleSubmit(h), children: /* @__PURE__ */ p(b, { flexDirection: "column", gap: 16, children: [
49
49
  /* @__PURE__ */ p(b, { flexDirection: "column", gap: 2, children: [
50
50
  /* @__PURE__ */ t(D, { as: "h2", children: e("title") }),
51
51
  /* @__PURE__ */ t(x, { variant: "supporting", children: /* @__PURE__ */ t(
@@ -60,7 +60,7 @@ const Q = {
60
60
  ) })
61
61
  ] }),
62
62
  /* @__PURE__ */ t(
63
- U,
63
+ G,
64
64
  {
65
65
  name: "authorizationStatus",
66
66
  label: e("select.label"),
@@ -79,9 +79,9 @@ const Q = {
79
79
  disableScrollIntoView: !0
80
80
  }
81
81
  ),
82
- o === "alien" && /* @__PURE__ */ t(B, { name: "expirationDate", label: e("expirationDate.label") }),
82
+ o === "alien" && /* @__PURE__ */ t(J, { name: "expirationDate", label: e("expirationDate.label") }),
83
83
  F && /* @__PURE__ */ t(
84
- W,
84
+ U,
85
85
  {
86
86
  name: "documentType",
87
87
  label: e("authorizationDocument.label"),
@@ -91,7 +91,7 @@ const Q = {
91
91
  }
92
92
  ),
93
93
  R && i && /* @__PURE__ */ t(
94
- J,
94
+ W,
95
95
  {
96
96
  name: "documentNumber",
97
97
  label: e(`documentNumber.${i}.label`),
@@ -102,7 +102,7 @@ const Q = {
102
102
  }
103
103
  ),
104
104
  s === "foreign_passport" && o === "alien" && /* @__PURE__ */ t(
105
- H,
105
+ B,
106
106
  {
107
107
  name: "country",
108
108
  label: e("country.label"),
@@ -1,13 +1,14 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { useTranslation as r } from "react-i18next";
3
3
  import { useEmployeeList as m } from "./useEmployeeList.js";
4
+ import "../../../shared/constants.js";
4
5
  import { ActionsLayout as s } from "../../Common/ActionsLayout/ActionsLayout.js";
5
- import { useComponentContext as l } from "../../../contexts/ComponentAdapter/useComponentContext.js";
6
- function y() {
7
- const { t } = r("Employee.EmployeeList"), { handleSkip: n, employees: e } = m(), i = l();
6
+ import { useComponentContext as p } from "../../../contexts/ComponentAdapter/useComponentContext.js";
7
+ function C() {
8
+ const { t } = r("Employee.EmployeeList"), { handleSkip: n, employees: e } = m(), i = p();
8
9
  return e.length === 0 ? null : /* @__PURE__ */ o(s, { children: /* @__PURE__ */ o(i.Button, { onClick: n, isLoading: !1, children: t("continueCta") }) });
9
10
  }
10
11
  export {
11
- y as Actions
12
+ C as Actions
12
13
  };
13
14
  //# sourceMappingURL=Actions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Actions.js","sources":["../../../../src/components/Employee/EmployeeList/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useEmployeeList } from './useEmployeeList'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport function Actions() {\n const { t } = useTranslation('Employee.EmployeeList')\n const { handleSkip, employees } = useEmployeeList()\n const Components = useComponentContext()\n\n if (employees.length === 0) {\n return null\n }\n\n return (\n <ActionsLayout>\n <Components.Button onClick={handleSkip} isLoading={false}>\n {t('continueCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","useTranslation","handleSkip","employees","useEmployeeList","Components","useComponentContext","jsx","ActionsLayout"],"mappings":";;;;;AAKO,SAASA,IAAU;AACxB,QAAM,EAAE,EAAA,IAAMC,EAAe,uBAAuB,GAC9C,EAAE,YAAAC,GAAY,WAAAC,EAAA,IAAcC,EAAA,GAC5BC,IAAaC,EAAA;AAEnB,SAAIH,EAAU,WAAW,IAChB,OAIP,gBAAAI,EAACC,GAAA,EACC,UAAA,gBAAAD,EAACF,EAAW,QAAX,EAAkB,SAASH,GAAY,WAAW,IAChD,UAAA,EAAE,aAAa,GAClB,GACF;AAEJ;"}
1
+ {"version":3,"file":"Actions.js","sources":["../../../../src/components/Employee/EmployeeList/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useEmployeeList } from './useEmployeeList'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport function Actions() {\n const { t } = useTranslation('Employee.EmployeeList')\n const { handleSkip, employees } = useEmployeeList()\n const Components = useComponentContext()\n\n if (employees.length === 0) {\n return null\n }\n\n return (\n <ActionsLayout>\n <Components.Button onClick={handleSkip} isLoading={false}>\n {t('continueCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","useTranslation","handleSkip","employees","useEmployeeList","Components","useComponentContext","jsx","ActionsLayout"],"mappings":";;;;;;AAKO,SAASA,IAAU;AACxB,QAAM,EAAE,EAAA,IAAMC,EAAe,uBAAuB,GAC9C,EAAE,YAAAC,GAAY,WAAAC,EAAA,IAAcC,EAAA,GAC5BC,IAAaC,EAAA;AAEnB,SAAIH,EAAU,WAAW,IAChB,OAIP,gBAAAI,EAACC,GAAA,EACC,UAAA,gBAAAD,EAACF,EAAW,QAAX,EAAkB,SAASH,GAAY,WAAW,IAChD,UAAA,EAAE,aAAa,GAClB,GACF;AAEJ;"}
@@ -3,13 +3,13 @@ import { useTranslation as T } from "react-i18next";
3
3
  import { useState as B } from "react";
4
4
  import M from "./List.module.scss.js";
5
5
  import { useEmployeeList as y } from "./useEmployeeList.js";
6
- import { EmptyData as G } from "../../Common/EmptyData/EmptyData.js";
6
+ import { EmployeeOnboardingStatus as i, EmployeeSelfOnboardingStatuses as G } from "../../../shared/constants.js";
7
+ import { EmptyData as R } from "../../Common/EmptyData/EmptyData.js";
7
8
  import { ActionsLayout as h } from "../../Common/ActionsLayout/ActionsLayout.js";
8
- import { useComponentContext as R } from "../../../contexts/ComponentAdapter/useComponentContext.js";
9
- import { EmployeeOnboardingStatusBadge as F } from "../../Common/OnboardingStatusBadge/index.js";
9
+ import { useComponentContext as F } from "../../../contexts/ComponentAdapter/useComponentContext.js";
10
+ import { EmployeeOnboardingStatusBadge as x } from "../../Common/OnboardingStatusBadge/index.js";
10
11
  import s from "../../../assets/icons/pencil.svg.js";
11
- import x from "../../../assets/icons/trashcan.svg.js";
12
- import { EmployeeOnboardingStatus as i, EmployeeSelfOnboardingStatuses as V } from "../../../shared/constants.js";
12
+ import V from "../../../assets/icons/trashcan.svg.js";
13
13
  import { firstLastName as j } from "../../../helpers/formattedStrings.js";
14
14
  import { HamburgerMenu as W } from "../../Common/HamburgerMenu/HamburgerMenu.js";
15
15
  import { useDataView as Y } from "../../Common/DataView/useDataView.js";
@@ -33,7 +33,7 @@ const st = () => {
33
33
  itemsPerPage: I,
34
34
  handleSkip: _,
35
35
  isFetching: v
36
- } = y(), r = R(), { t: a } = T("Employee.EmployeeList"), [k, u] = B(/* @__PURE__ */ new Set()), { ...w } = Y({
36
+ } = y(), r = F(), { t: a } = T("Employee.EmployeeList"), [k, u] = B(/* @__PURE__ */ new Set()), { ...w } = Y({
37
37
  data: d,
38
38
  columns: [
39
39
  {
@@ -48,7 +48,7 @@ const st = () => {
48
48
  key: "status",
49
49
  title: a("statusLabel"),
50
50
  render: ({ onboarded: t, onboardingStatus: n }) => /* @__PURE__ */ e(
51
- F,
51
+ x,
52
52
  {
53
53
  onboarded: t,
54
54
  onboardingStatus: n
@@ -64,7 +64,7 @@ const st = () => {
64
64
  p(t.uuid, t.onboardingStatus ?? void 0);
65
65
  },
66
66
  icon: /* @__PURE__ */ e(s, { "aria-hidden": !0 })
67
- }), V.has(t.onboardingStatus ?? "") && n.push({
67
+ }), G.has(t.onboardingStatus ?? "") && n.push({
68
68
  label: a("cancelSelfOnboardingCta"),
69
69
  onClick: async () => {
70
70
  await b(t.uuid);
@@ -86,7 +86,7 @@ const st = () => {
86
86
  });
87
87
  });
88
88
  },
89
- icon: /* @__PURE__ */ e(x, { "aria-hidden": !0 })
89
+ icon: /* @__PURE__ */ e(V, { "aria-hidden": !0 })
90
90
  }), /* @__PURE__ */ e(
91
91
  W,
92
92
  {
@@ -108,7 +108,7 @@ const st = () => {
108
108
  totalCount: D,
109
109
  itemsPerPage: I
110
110
  },
111
- emptyState: () => /* @__PURE__ */ e(G, { title: a("emptyTableTitle"), description: a("emptyTableDescription"), children: /* @__PURE__ */ c(h, { justifyContent: "center", children: [
111
+ emptyState: () => /* @__PURE__ */ e(R, { title: a("emptyTableTitle"), description: a("emptyTableDescription"), children: /* @__PURE__ */ c(h, { justifyContent: "center", children: [
112
112
  /* @__PURE__ */ e(r.Button, { variant: "secondary", onClick: _, children: a("skipCta") }),
113
113
  /* @__PURE__ */ e(r.Button, { variant: "primary", onClick: l, children: a("addEmployeeCta") })
114
114
  ] }) })
@@ -1,13 +1,14 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { useTranslation as r } from "react-i18next";
3
3
  import { useFederalTaxes as i } from "./useFederalTaxes.js";
4
+ import "../../../shared/constants.js";
4
5
  import { ActionsLayout as s } from "../../Common/ActionsLayout/ActionsLayout.js";
5
6
  import { useComponentContext as m } from "../../../contexts/ComponentAdapter/useComponentContext.js";
6
- function f() {
7
+ function l() {
7
8
  const { t } = r("Employee.FederalTaxes"), { isPending: n } = i(), e = m();
8
9
  return /* @__PURE__ */ o(s, { children: /* @__PURE__ */ o(e.Button, { type: "submit", isLoading: n, children: t("submitCta") }) });
9
10
  }
10
11
  export {
11
- f as Actions
12
+ l as Actions
12
13
  };
13
14
  //# sourceMappingURL=Actions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Actions.js","sources":["../../../../src/components/Employee/FederalTaxes/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useFederalTaxes } from './useFederalTaxes'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport function Actions() {\n const { t } = useTranslation('Employee.FederalTaxes')\n const { isPending } = useFederalTaxes()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button type=\"submit\" isLoading={isPending}>\n {t('submitCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","useTranslation","isPending","useFederalTaxes","Components","useComponentContext","jsx","ActionsLayout"],"mappings":";;;;;AAKO,SAASA,IAAU;AACxB,QAAM,EAAE,EAAA,IAAMC,EAAe,uBAAuB,GAC9C,EAAE,WAAAC,EAAA,IAAcC,EAAA,GAChBC,IAAaC,EAAA;AAEnB,SACE,gBAAAC,EAACC,GAAA,EACC,UAAA,gBAAAD,EAACF,EAAW,QAAX,EAAkB,MAAK,UAAS,WAAWF,GACzC,UAAA,EAAE,WAAW,GAChB,GACF;AAEJ;"}
1
+ {"version":3,"file":"Actions.js","sources":["../../../../src/components/Employee/FederalTaxes/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useFederalTaxes } from './useFederalTaxes'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport function Actions() {\n const { t } = useTranslation('Employee.FederalTaxes')\n const { isPending } = useFederalTaxes()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button type=\"submit\" isLoading={isPending}>\n {t('submitCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","useTranslation","isPending","useFederalTaxes","Components","useComponentContext","jsx","ActionsLayout"],"mappings":";;;;;;AAKO,SAASA,IAAU;AACxB,QAAM,EAAE,EAAA,IAAMC,EAAe,uBAAuB,GAC9C,EAAE,WAAAC,EAAA,IAAcC,EAAA,GAChBC,IAAaC,EAAA;AAEnB,SACE,gBAAAC,EAACC,GAAA,EACC,UAAA,gBAAAD,EAACF,EAAW,QAAX,EAAkB,MAAK,UAAS,WAAWF,GACzC,UAAA,EAAE,WAAW,GAChB,GACF;AAEJ;"}
@@ -1,6 +1,7 @@
1
1
  import { jsxs as l, Fragment as a, jsx as r } from "react/jsx-runtime";
2
2
  import { useTranslation as s, Trans as m } from "react-i18next";
3
3
  import { z as i } from "zod";
4
+ import "../../../shared/constants.js";
4
5
  import { useComponentContext as u } from "../../../contexts/ComponentAdapter/useComponentContext.js";
5
6
  import { SelectField as d } from "../../Common/Fields/SelectField/SelectField.js";
6
7
  import { RadioGroupField as c } from "../../Common/Fields/RadioGroupField/RadioGroupField.js";
@@ -12,8 +13,8 @@ const f = i.object({
12
13
  otherIncome: i.number().transform(String),
13
14
  deductions: i.number().transform(String),
14
15
  extraWithholding: i.number().transform(String)
15
- }), x = f;
16
- function q() {
16
+ }), q = f;
17
+ function I() {
17
18
  const { t: e } = s("Employee.FederalTaxes"), o = u(), n = [
18
19
  { value: "Single", label: e("filingStatusSingle") },
19
20
  { value: "Married", label: e("filingStatusMarried") },
@@ -103,7 +104,7 @@ function q() {
103
104
  ] });
104
105
  }
105
106
  export {
106
- q as FederalForm,
107
- x as FederalFormSchema
107
+ I as FederalForm,
108
+ q as FederalFormSchema
108
109
  };
109
110
  //# sourceMappingURL=FederalForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FederalForm.js","sources":["../../../../src/components/Employee/FederalTaxes/FederalForm.tsx"],"sourcesContent":["import { Trans, useTranslation } from 'react-i18next'\nimport { z } from 'zod'\nimport { SelectField, RadioGroupField, NumberInputField } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nconst Rev2020Schema = z.object({\n filingStatus: z.string().min(1),\n twoJobs: z.string().min(1),\n dependentsAmount: z.number().transform(String),\n otherIncome: z.number().transform(String),\n deductions: z.number().transform(String),\n extraWithholding: z.number().transform(String),\n})\n\nexport const FederalFormSchema = Rev2020Schema\n\nexport type FederalFormInputs = z.input<typeof FederalFormSchema>\nexport type FederalFormPayload = z.output<typeof FederalFormSchema>\n\nexport function FederalForm() {\n const { t } = useTranslation('Employee.FederalTaxes')\n const Components = useComponentContext()\n\n const filingStatusOptions = [\n { value: 'Single', label: t('filingStatusSingle') },\n { value: 'Married', label: t('filingStatusMarried') },\n { value: 'Head of Household', label: t('filingStatusHeadOfHousehold') },\n { value: 'Exempt from withholding', label: t('filingStatusExemptFromWithholding') },\n ]\n\n return (\n <>\n <SelectField\n name=\"filingStatus\"\n label={t('federalFilingStatus1c')}\n placeholder={t('federalFilingStatusPlaceholder')}\n description={t('selectWithholdingDescription')}\n options={filingStatusOptions}\n isRequired\n errorMessage={t('validations.federalFilingStatus')}\n />\n <RadioGroupField\n name=\"twoJobs\"\n isRequired\n label={t('multipleJobs2c')}\n errorMessage={t('validations.federalTwoJobs')}\n description={\n <Trans\n i18nKey={'includesSpouseExplanation'}\n t={t}\n components={{\n IrsLink: <Components.Link />,\n }}\n />\n }\n options={[\n { value: 'true', label: t('twoJobYesLabel') },\n { value: 'false', label: t('twoJobNoLabel') },\n ]}\n />\n <NumberInputField\n name=\"dependentsAmount\"\n isRequired\n label={t('dependentsTotalIfApplicable')}\n format=\"currency\"\n min={0}\n errorMessage={t('fieldIsRequired')}\n />\n <NumberInputField\n name=\"otherIncome\"\n isRequired\n label={t('otherIncome')}\n format=\"currency\"\n min={0}\n errorMessage={t('fieldIsRequired')}\n />\n <NumberInputField\n name=\"deductions\"\n isRequired\n label={t('deductions')}\n format=\"currency\"\n min={0}\n errorMessage={t('fieldIsRequired')}\n />\n <NumberInputField\n name=\"extraWithholding\"\n isRequired\n label={t('extraWithholding')}\n format=\"currency\"\n min={0}\n errorMessage={t('fieldIsRequired')}\n />\n </>\n )\n}\n"],"names":["Rev2020Schema","z","FederalFormSchema","FederalForm","t","useTranslation","Components","useComponentContext","filingStatusOptions","jsxs","Fragment","jsx","SelectField","RadioGroupField","Trans","NumberInputField"],"mappings":";;;;;;;AAKA,MAAMA,IAAgBC,EAAE,OAAO;AAAA,EAC7B,cAAcA,EAAE,SAAS,IAAI,CAAC;AAAA,EAC9B,SAASA,EAAE,SAAS,IAAI,CAAC;AAAA,EACzB,kBAAkBA,EAAE,SAAS,UAAU,MAAM;AAAA,EAC7C,aAAaA,EAAE,SAAS,UAAU,MAAM;AAAA,EACxC,YAAYA,EAAE,SAAS,UAAU,MAAM;AAAA,EACvC,kBAAkBA,EAAE,OAAA,EAAS,UAAU,MAAM;AAC/C,CAAC,GAEYC,IAAoBF;AAK1B,SAASG,IAAc;AAC5B,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAe,uBAAuB,GAC9CC,IAAaC,EAAA,GAEbC,IAAsB;AAAA,IAC1B,EAAE,OAAO,UAAU,OAAOJ,EAAE,oBAAoB,EAAA;AAAA,IAChD,EAAE,OAAO,WAAW,OAAOA,EAAE,qBAAqB,EAAA;AAAA,IAClD,EAAE,OAAO,qBAAqB,OAAOA,EAAE,6BAA6B,EAAA;AAAA,IACpE,EAAE,OAAO,2BAA2B,OAAOA,EAAE,mCAAmC,EAAA;AAAA,EAAE;AAGpF,SACE,gBAAAK,EAAAC,GAAA,EACE,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,OAAOR,EAAE,uBAAuB;AAAA,QAChC,aAAaA,EAAE,gCAAgC;AAAA,QAC/C,aAAaA,EAAE,8BAA8B;AAAA,QAC7C,SAASI;AAAA,QACT,Y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ACC,MAAK;AAAA,QACL,YAAU;AAAA,QACV,OAAOX,EAAE,kBAAkB;AAAA,QAC3B,QAAO;AAAA,QACP,KAAK;AAAA,QACL,cAAcA,EAAE,iBAAiB;AAAA,MAAA;AAAA,IAAA;AAAA,EACnC,GACF;AAEJ;"}
1
+ {"version":3,"file":"FederalForm.js","sources":["../../../../src/components/Employee/FederalTaxes/FederalForm.tsx"],"sourcesContent":["import { Trans, useTranslation } from 'react-i18next'\nimport { z } from 'zod'\nimport { SelectField, RadioGroupField, NumberInputField } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nconst Rev2020Schema = z.object({\n filingStatus: z.string().min(1),\n twoJobs: z.string().min(1),\n dependentsAmount: z.number().transform(String),\n otherIncome: z.number().transform(String),\n deductions: z.number().transform(String),\n extraWithholding: z.number().transform(String),\n})\n\nexport const FederalFormSchema = Rev2020Schema\n\nexport type FederalFormInputs = z.input<typeof FederalFormSchema>\nexport type FederalFormPayload = z.output<typeof FederalFormSchema>\n\nexport function FederalForm() {\n const { t } = useTranslation('Employee.FederalTaxes')\n const Components = useComponentContext()\n\n const filingStatusOptions = [\n { value: 'Single', label: t('filingStatusSingle') },\n { value: 'Married', label: t('filingStatusMarried') },\n { value: 'Head of Household', label: t('filingStatusHeadOfHousehold') },\n { value: 'Exempt from withholding', label: t('filingStatusExemptFromWithholding') },\n ]\n\n return (\n <>\n <SelectField\n name=\"filingStatus\"\n label={t('federalFilingStatus1c')}\n placeholder={t('federalFilingStatusPlaceholder')}\n description={t('selectWithholdingDescription')}\n options={filingStatusOptions}\n isRequired\n errorMessage={t('validations.federalFilingStatus')}\n />\n <RadioGroupField\n name=\"twoJobs\"\n isRequired\n label={t('multipleJobs2c')}\n errorMessage={t('validations.federalTwoJobs')}\n description={\n <Trans\n i18nKey={'includesSpouseExplanation'}\n t={t}\n components={{\n IrsLink: <Components.Link />,\n }}\n />\n }\n options={[\n { value: 'true', label: t('twoJobYesLabel') },\n { value: 'false', label: t('twoJobNoLabel') },\n ]}\n />\n <NumberInputField\n name=\"dependentsAmount\"\n isRequired\n label={t('dependentsTotalIfApplicable')}\n format=\"currency\"\n min={0}\n errorMessage={t('fieldIsRequired')}\n />\n <NumberInputField\n name=\"otherIncome\"\n isRequired\n label={t('otherIncome')}\n format=\"currency\"\n min={0}\n errorMessage={t('fieldIsRequired')}\n />\n <NumberInputField\n name=\"deductions\"\n isRequired\n label={t('deductions')}\n format=\"currency\"\n min={0}\n errorMessage={t('fieldIsRequired')}\n />\n <NumberInputField\n name=\"extraWithholding\"\n isRequired\n label={t('extraWithholding')}\n format=\"currency\"\n min={0}\n errorMessage={t('fieldIsRequired')}\n />\n </>\n )\n}\n"],"names":["Rev2020Schema","z","FederalFormSchema","FederalForm","t","useTranslation","Components","useComponentContext","filingStatusOptions","jsxs","Fragment","jsx","SelectField","RadioGroupField","Trans","NumberInputField"],"mappings":";;;;;;;;AAKA,MAAMA,IAAgBC,EAAE,OAAO;AAAA,EAC7B,cAAcA,EAAE,SAAS,IAAI,CAAC;AAAA,EAC9B,SAASA,EAAE,SAAS,IAAI,CAAC;AAAA,EACzB,kBAAkBA,EAAE,SAAS,UAAU,MAAM;AAAA,EAC7C,aAAaA,EAAE,SAAS,UAAU,MAAM;AAAA,EACxC,YAAYA,EAAE,SAAS,UAAU,MAAM;AAAA,EACvC,kBAAkBA,EAAE,OAAA,EAAS,UAAU,MAAM;AAC/C,CAAC,GAEYC,IAAoBF;AAK1B,SAASG,IAAc;AAC5B,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAe,uBAAuB,GAC9CC,IAAaC,EAAA,GAEbC,IAAsB;AAAA,IAC1B,EAAE,OAAO,UAAU,OAAOJ,EAAE,oBAAoB,EAAA;AAAA,IAChD,EAAE,OAAO,WAAW,OAAOA,EAAE,qBAAqB,EAAA;AAAA,IAClD,EAAE,OAAO,qBAAqB,OAAOA,EAAE,6BAA6B,EAAA;AAAA,IACpE,EAAE,OAAO,2BAA2B,OAA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A,MAAA;AAAA,IAAA;AAAA,IAEnC,gBAAAO;AAAA,MAACI;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,YAAU;AAAA,QACV,OAAOX,EAAE,YAAY;AAAA,QACrB,QAAO;AAAA,QACP,KAAK;AAAA,QACL,cAAcA,EAAE,iBAAiB;AAAA,MAAA;AAAA,IAAA;AAAA,IAEnC,gBAAAO;AAAA,MAACI;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,YAAU;AAAA,QACV,OAAOX,EAAE,kBAAkB;AAAA,QAC3B,QAAO;AAAA,QACP,KAAK;AAAA,QACL,cAAcA,EAAE,iBAAiB;AAAA,MAAA;AAAA,IAAA;AAAA,EACnC,GACF;AAEJ;"}
@@ -1,10 +1,11 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
- import { useTranslation as l } from "react-i18next";
3
- import { usePaymentMethod as m } from "./usePaymentMethod.js";
2
+ import { useTranslation as m } from "react-i18next";
3
+ import { usePaymentMethod as l } from "./usePaymentMethod.js";
4
+ import "../../../shared/constants.js";
4
5
  import { ActionsLayout as p } from "../../Common/ActionsLayout/ActionsLayout.js";
5
6
  import { useComponentContext as u } from "../../../contexts/ComponentAdapter/useComponentContext.js";
6
- const L = () => {
7
- const { handleAdd: a, handleCancel: i, isPending: r, bankAccounts: s, handleSplit: c, mode: t } = m(), { t: n } = l("Employee.PaymentMethod"), o = u();
7
+ const f = () => {
8
+ const { handleAdd: a, handleCancel: i, isPending: r, bankAccounts: s, handleSplit: c, mode: t } = l(), { t: n } = m("Employee.PaymentMethod"), o = u();
8
9
  return /* @__PURE__ */ d(p, { children: [
9
10
  (t === "ADD" || t === "SPLIT") && /* @__PURE__ */ e(o.Button, { variant: "secondary", type: "button", onClick: i, children: n("cancelAddCta") }),
10
11
  t === "LIST" && s.length > 1 && /* @__PURE__ */ e(o.Button, { variant: "secondary", type: "button", onClick: c, children: n("splitCta") }),
@@ -13,6 +14,6 @@ const L = () => {
13
14
  ] });
14
15
  };
15
16
  export {
16
- L as Actions
17
+ f as Actions
17
18
  };
18
19
  //# sourceMappingURL=Actions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Actions.js","sources":["../../../../src/components/Employee/PaymentMethod/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { usePaymentMethod } from './usePaymentMethod'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport const Actions = () => {\n const { handleAdd, handleCancel, isPending, bankAccounts, handleSplit, mode } = usePaymentMethod()\n const { t } = useTranslation('Employee.PaymentMethod')\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n {(mode === 'ADD' || mode === 'SPLIT') && (\n <Components.Button variant=\"secondary\" type=\"button\" onClick={handleCancel}>\n {t('cancelAddCta')}\n </Components.Button>\n )}\n {mode === 'LIST' && bankAccounts.length > 1 && (\n <Components.Button variant=\"secondary\" type=\"button\" onClick={handleSplit}>\n {t('splitCta')}\n </Components.Button>\n )}\n {mode === 'LIST' && (\n <Components.Button variant=\"secondary\" type=\"button\" onClick={handleAdd}>\n {t('addAnotherCta')}\n </Components.Button>\n )}\n <Components.Button type=\"submit\" isLoading={isPending}>\n {t(mode === 'ADD' || mode === 'SPLIT' ? 'saveCta' : 'submitCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","handleAdd","handleCancel","isPending","bankAccounts","handleSplit","mode","usePaymentMethod","t","useTranslation","Components","useComponentContext","ActionsLayout","jsx"],"mappings":";;;;;AAKO,MAAMA,IAAU,MAAM;AAC3B,QAAM,EAAE,WAAAC,GAAW,cAAAC,GAAc,WAAAC,GAAW,cAAAC,GAAc,aAAAC,GAAa,MAAAC,EAAA,IAASC,EAAA,GAC1E,EAAE,GAAAC,EAAA,IAAMC,EAAe,wBAAwB,GAC/CC,IAAaC,EAAA;AAEnB,2BACGC,GAAA,EACG,UAAA;AAAA,KAAAN,MAAS,SAASA,MAAS,YAC3B,gBAAAO,EAACH,EAAW,QAAX,EAAkB,SAAQ,aAAY,MAAK,UAAS,SAASR,GAC3D,UAAAM,EAAE,cAAc,GACnB;AAAA,IAEDF,MAAS,UAAUF,EAAa,SAAS,uBACvCM,EAAW,QAAX,EAAkB,SAAQ,aAAY,MAAK,UAAS,SAASL,GAC3D,UAAAG,EAAE,UAAU,GACf;AAAA,IAEDF,MAAS,UACR,gBAAAO,EAACH,EAAW,QAAX,EAAkB,SAAQ,aAAY,MAAK,UAAS,SAAST,GAC3D,UAAAO,EAAE,eAAe,GACpB;AAAA,IAEF,gBAAAK,EAACH,EAAW,QAAX,EAAkB,MAAK,UAAS,WAAWP,GACzC,UAAAK,EAAEF,MAAS,SAASA,MAAS,UAAU,YAAY,WAAW,EAAA,CACjE;AAAA,EAAA,GACF;AAEJ;"}
1
+ {"version":3,"file":"Actions.js","sources":["../../../../src/components/Employee/PaymentMethod/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { usePaymentMethod } from './usePaymentMethod'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport const Actions = () => {\n const { handleAdd, handleCancel, isPending, bankAccounts, handleSplit, mode } = usePaymentMethod()\n const { t } = useTranslation('Employee.PaymentMethod')\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n {(mode === 'ADD' || mode === 'SPLIT') && (\n <Components.Button variant=\"secondary\" type=\"button\" onClick={handleCancel}>\n {t('cancelAddCta')}\n </Components.Button>\n )}\n {mode === 'LIST' && bankAccounts.length > 1 && (\n <Components.Button variant=\"secondary\" type=\"button\" onClick={handleSplit}>\n {t('splitCta')}\n </Components.Button>\n )}\n {mode === 'LIST' && (\n <Components.Button variant=\"secondary\" type=\"button\" onClick={handleAdd}>\n {t('addAnotherCta')}\n </Components.Button>\n )}\n <Components.Button type=\"submit\" isLoading={isPending}>\n {t(mode === 'ADD' || mode === 'SPLIT' ? 'saveCta' : 'submitCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","handleAdd","handleCancel","isPending","bankAccounts","handleSplit","mode","usePaymentMethod","t","useTranslation","Components","useComponentContext","ActionsLayout","jsx"],"mappings":";;;;;;AAKO,MAAMA,IAAU,MAAM;AAC3B,QAAM,EAAE,WAAAC,GAAW,cAAAC,GAAc,WAAAC,GAAW,cAAAC,GAAc,aAAAC,GAAa,MAAAC,EAAA,IAASC,EAAA,GAC1E,EAAE,GAAAC,EAAA,IAAMC,EAAe,wBAAwB,GAC/CC,IAAaC,EAAA;AAEnB,2BACGC,GAAA,EACG,UAAA;AAAA,KAAAN,MAAS,SAASA,MAAS,YAC3B,gBAAAO,EAACH,EAAW,QAAX,EAAkB,SAAQ,aAAY,MAAK,UAAS,SAASR,GAC3D,UAAAM,EAAE,cAAc,GACnB;AAAA,IAEDF,MAAS,UAAUF,EAAa,SAAS,uBACvCM,EAAW,QAAX,EAAkB,SAAQ,aAAY,MAAK,UAAS,SAASL,GAC3D,UAAAG,EAAE,UAAU,GACf;AAAA,IAEDF,MAAS,UACR,gBAAAO,EAACH,EAAW,QAAX,EAAkB,SAAQ,aAAY,MAAK,UAAS,SAAST,GAC3D,UAAAO,EAAE,eAAe,GACpB;AAAA,IAEF,gBAAAK,EAACH,EAAW,QAAX,EAAkB,MAAK,UAAS,WAAWP,GACzC,UAAAK,EAAEF,MAAS,SAASA,MAAS,UAAU,YAAY,WAAW,EAAA,CACjE;AAAA,EAAA,GACF;AAEJ;"}
@@ -2,14 +2,14 @@ import { jsx as n } from "react/jsx-runtime";
2
2
  import { useTranslation as d } from "react-i18next";
3
3
  import { usePaymentMethod as f } from "./usePaymentMethod.js";
4
4
  import y from "../../../assets/icons/trashcan.svg.js";
5
- import b from "../../../hooks/useNumberFormatter.js";
6
- import { SPLIT_BY as k } from "../../../shared/constants.js";
5
+ import { SPLIT_BY as b } from "../../../shared/constants.js";
6
+ import k from "../../../hooks/useNumberFormatter.js";
7
7
  import { centsToDollars as g } from "../../../helpers/currencyHelpers.js";
8
8
  import { HamburgerMenu as A } from "../../Common/HamburgerMenu/HamburgerMenu.js";
9
9
  import { useDataView as T } from "../../Common/DataView/useDataView.js";
10
10
  import { DataView as h } from "../../Common/DataView/DataView.js";
11
11
  function x() {
12
- const { bankAccounts: i, paymentMethod: e, mode: m, handleDelete: u, isPending: a } = f(), { t } = d("Employee.PaymentMethod"), l = b(e.splitBy === "Amount" ? "currency" : "percent"), { ...s } = T({
12
+ const { bankAccounts: i, paymentMethod: e, mode: m, handleDelete: u, isPending: a } = f(), { t } = d("Employee.PaymentMethod"), l = k(e.splitBy === "Amount" ? "currency" : "percent"), { ...s } = T({
13
13
  data: i,
14
14
  columns: [
15
15
  { key: "name", title: t("nicknameColumn") },
@@ -19,7 +19,7 @@ function x() {
19
19
  key: "splitAmount",
20
20
  title: t("allocationColumn"),
21
21
  render: (o) => {
22
- const r = e.splits?.find((p) => p.uuid === o.uuid)?.splitAmount ?? 0, c = e.splitBy === k.amount ? g(r) ?? 0 : r;
22
+ const r = e.splits?.find((p) => p.uuid === o.uuid)?.splitAmount ?? 0, c = e.splitBy === b.amount ? g(r) ?? 0 : r;
23
23
  return l(c);
24
24
  }
25
25
  }
@@ -5,10 +5,10 @@ import { ErrorMessage as z } from "@hookform/error-message";
5
5
  import y from "dompurify";
6
6
  import { useMemo as j, useEffect as D } from "react";
7
7
  import { usePaymentMethod as N } from "./usePaymentMethod.js";
8
+ import { SPLIT_BY as h } from "../../../shared/constants.js";
8
9
  import { useLocale as q } from "../../../contexts/LocaleProvider/useLocale.js";
9
10
  import { useComponentContext as w } from "../../../contexts/ComponentAdapter/useComponentContext.js";
10
11
  import { ReorderableList as I } from "../../Common/ReorderableList/ReorderableList.js";
11
- import { SPLIT_BY as h } from "../../../shared/constants.js";
12
12
  import { RadioGroupField as W } from "../../Common/Fields/RadioGroupField/RadioGroupField.js";
13
13
  import { NumberInputField as F } from "../../Common/Fields/NumberInputField/NumberInputField.js";
14
14
  function oe() {
@@ -1,13 +1,14 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { useTranslation as r } from "react-i18next";
3
3
  import { useProfile as e } from "./useProfile.js";
4
- import { ActionsLayout as s } from "../../Common/ActionsLayout/ActionsLayout.js";
5
- import { useComponentContext as m } from "../../../contexts/ComponentAdapter/useComponentContext.js";
6
- const a = () => {
7
- const { t } = r("Employee.Profile"), { isPending: n } = e(), i = m();
8
- return /* @__PURE__ */ o(s, { children: /* @__PURE__ */ o(i.Button, { type: "submit", isLoading: n, children: t("submitCta") }) });
4
+ import "../../../shared/constants.js";
5
+ import { ActionsLayout as m } from "../../Common/ActionsLayout/ActionsLayout.js";
6
+ import { useComponentContext as s } from "../../../contexts/ComponentAdapter/useComponentContext.js";
7
+ const d = () => {
8
+ const { t } = r("Employee.Profile"), { isPending: n } = e(), i = s();
9
+ return /* @__PURE__ */ o(m, { children: /* @__PURE__ */ o(i.Button, { type: "submit", isLoading: n, children: t("submitCta") }) });
9
10
  };
10
11
  export {
11
- a as Actions
12
+ d as Actions
12
13
  };
13
14
  //# sourceMappingURL=Actions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Actions.js","sources":["../../../../src/components/Employee/Profile/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useProfile } from './useProfile'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport const Actions = () => {\n const { t } = useTranslation('Employee.Profile')\n const { isPending } = useProfile()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button type=\"submit\" isLoading={isPending}>\n {t('submitCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","useTranslation","isPending","useProfile","Components","useComponentContext","jsx","ActionsLayout"],"mappings":";;;;;AAKO,MAAMA,IAAU,MAAM;AAC3B,QAAM,EAAE,EAAA,IAAMC,EAAe,kBAAkB,GACzC,EAAE,WAAAC,EAAA,IAAcC,EAAA,GAChBC,IAAaC,EAAA;AAEnB,SACE,gBAAAC,EAACC,GAAA,EACC,UAAA,gBAAAD,EAACF,EAAW,QAAX,EAAkB,MAAK,UAAS,WAAWF,GACzC,UAAA,EAAE,WAAW,GAChB,GACF;AAEJ;"}
1
+ {"version":3,"file":"Actions.js","sources":["../../../../src/components/Employee/Profile/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useProfile } from './useProfile'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport const Actions = () => {\n const { t } = useTranslation('Employee.Profile')\n const { isPending } = useProfile()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button type=\"submit\" isLoading={isPending}>\n {t('submitCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","useTranslation","isPending","useProfile","Components","useComponentContext","jsx","ActionsLayout"],"mappings":";;;;;;AAKO,MAAMA,IAAU,MAAM;AAC3B,QAAM,EAAE,EAAA,IAAMC,EAAe,kBAAkB,GACzC,EAAE,WAAAC,EAAA,IAAcC,EAAA,GAChBC,IAAaC,EAAA;AAEnB,SACE,gBAAAC,EAACC,GAAA,EACC,UAAA,gBAAAD,EAACF,EAAW,QAAX,EAAkB,MAAK,UAAS,WAAWF,GACzC,UAAA,EAAE,WAAW,GAChB,GACF;AAEJ;"}
@@ -6,12 +6,13 @@ import { z as e } from "zod";
6
6
  import { DateOfBirthSchema as c, SocialSecurityNumberSchema as y, NameInputsSchema as D, AdminInputsSchema as A, NameInputs as I, AdminInputs as j, SocialSecurityNumberInput as F, DateOfBirthInput as N } from "./PersonalDetailsInputs.js";
7
7
  import P from "./AdminPersonalDetails.module.scss.js";
8
8
  import { useProfile as x } from "./useProfile.js";
9
+ import "../../../shared/constants.js";
9
10
  import { SwitchField as C } from "../../Common/Fields/SwitchField/SwitchField.js";
10
11
  const p = e.object({
11
12
  ...A.shape,
12
13
  ...D.shape,
13
14
  selfOnboarding: e.boolean()
14
- }), V = e.discriminatedUnion("enableSsn", [
15
+ }), q = e.discriminatedUnion("enableSsn", [
15
16
  e.object({
16
17
  ...p.shape,
17
18
  ...y.shape,
@@ -23,7 +24,7 @@ const p = e.object({
23
24
  ...c.shape,
24
25
  enableSsn: e.literal(!1)
25
26
  })
26
- ]), q = () => {
27
+ ]), G = () => {
27
28
  const {
28
29
  companyLocations: d,
29
30
  employee: s,
@@ -51,8 +52,8 @@ const p = e.object({
51
52
  ] }) : null;
52
53
  };
53
54
  export {
54
- q as AdminPersonalDetails,
55
- V as AdminPersonalDetailsSchema,
55
+ G as AdminPersonalDetails,
56
+ q as AdminPersonalDetailsSchema,
56
57
  p as AdminSelfOnboardingPersonalDetailsSchema
57
58
  };
58
59
  //# sourceMappingURL=AdminPersonalDetails.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AdminPersonalDetails.js","sources":["../../../../src/components/Employee/Profile/AdminPersonalDetails.tsx"],"sourcesContent":["import { useEffect } from 'react'\nimport { useFormContext } from 'react-hook-form'\nimport { useTranslation } from 'react-i18next'\nimport { z } from 'zod'\nimport {\n AdminInputs,\n AdminInputsSchema,\n NameInputs,\n NameInputsSchema,\n SocialSecurityNumberInput,\n SocialSecurityNumberSchema,\n DateOfBirthInput,\n DateOfBirthSchema,\n type PersonalDetailsInputs,\n} from './PersonalDetailsInputs'\nimport styles from './AdminPersonalDetails.module.scss'\nimport { useProfile } from './useProfile'\nimport { SwitchField } from '@/components/Common'\n\nexport const AdminSelfOnboardingPersonalDetailsSchema = z.object({\n ...AdminInputsSchema.shape,\n ...NameInputsSchema.shape,\n selfOnboarding: z.boolean(),\n})\n\nexport const AdminPersonalDetailsSchema = z.discriminatedUnion('enableSsn', [\n z.object({\n ...AdminSelfOnboardingPersonalDetailsSchema.shape,\n ...SocialSecurityNumberSchema.shape,\n ...DateOfBirthSchema.shape,\n enableSsn: z.literal(true),\n }),\n z.object({\n ...AdminSelfOnboardingPersonalDetailsSchema.shape,\n ...DateOfBirthSchema.shape,\n enableSsn: z.literal(false),\n }),\n])\n\nexport const AdminPersonalDetails = () => {\n const {\n companyLocations,\n employee,\n isAdmin,\n isSelfOnboardingEnabled,\n hasCompletedSelfOnboarding,\n } = useProfile()\n const { t } = useTranslation('Employee.Profile')\n const { watch, setValue, getFieldState } = useFormContext<PersonalDetailsInputs>()\n const isSelfOnboardingChecked = watch('selfOnboarding')\n const { isDirty: isSsnDirty } = getFieldState('ssn')\n\n useEffect(() => {\n if (isSelfOnboardingChecked) {\n setValue('enableSsn', false)\n } else {\n setValue('enableSsn', isSsnDirty ? true : !employee?.hasSsn)\n }\n }, [isSelfOnboardingChecked, employee?.hasSsn, isSsnDirty, setValue])\n\n if (!isAdmin) {\n return null\n }\n\n return (\n <>\n {isSelfOnboardingEnabled && !hasCompletedSelfOnboarding && (\n <div className={styles.switchFieldContainer}>\n <SwitchField\n name=\"selfOnboarding\"\n description={t('selfOnboardingDescription')}\n label={t('selfOnboardingLabel')}\n />\n </div>\n )}\n\n <NameInputs />\n <AdminInputs companyLocations={companyLocations} />\n\n {(!isSelfOnboardingChecked || hasCompletedSelfOnboarding) && (\n <>\n <SocialSecurityNumberInput employee={employee} />\n <DateOfBirthInput />\n </>\n )}\n </>\n )\n}\n"],"names":["AdminSelfOnboardingPersonalDetailsSchema","z","AdminInputsSchema","NameInputsSchema","AdminPersonalDetailsSchema","SocialSecurityNumberSchema","DateOfBirthSchema","AdminPersonalDetails","companyLocations","employee","isAdmin","isSelfOnboardingEnabled","hasCompletedSelfOnboarding","useProfile","t","useTranslation","watch","setValue","getFieldState","useFormContext","isSelfOnboardingChecked","isSsnDirty","useEffect","jsxs","Fragment","jsx","styles","SwitchField","NameInputs","AdminInputs","SocialSecurityNumberInput","DateOfBirthInput"],"mappings":";;;;;;;;;AAmBO,MAAMA,IAA2CC,EAAE,OAAO;AAAA,EAC/D,GAAGC,EAAkB;AAAA,EACrB,GAAGC,EAAiB;AAAA,EACpB,gBAAgBF,E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AAoC;AAAA,KAE/C,CAACY,KAA2BR,MAC5B,gBAAAW,EAAAC,GAAA,EACE,UAAA;AAAA,MAAA,gBAAAC,EAACK,KAA0B,UAAArB,GAAoB;AAAA,wBAC9CsB,GAAA,CAAA,CAAiB;AAAA,IAAA,EAAA,CACpB;AAAA,EAAA,GAEJ,IAxBO;AA0BX;"}
1
+ {"version":3,"file":"AdminPersonalDetails.js","sources":["../../../../src/components/Employee/Profile/AdminPersonalDetails.tsx"],"sourcesContent":["import { useEffect } from 'react'\nimport { useFormContext } from 'react-hook-form'\nimport { useTranslation } from 'react-i18next'\nimport { z } from 'zod'\nimport {\n AdminInputs,\n AdminInputsSchema,\n NameInputs,\n NameInputsSchema,\n SocialSecurityNumberInput,\n SocialSecurityNumberSchema,\n DateOfBirthInput,\n DateOfBirthSchema,\n type PersonalDetailsInputs,\n} from './PersonalDetailsInputs'\nimport styles from './AdminPersonalDetails.module.scss'\nimport { useProfile } from './useProfile'\nimport { SwitchField } from '@/components/Common'\n\nexport const AdminSelfOnboardingPersonalDetailsSchema = z.object({\n ...AdminInputsSchema.shape,\n ...NameInputsSchema.shape,\n selfOnboarding: z.boolean(),\n})\n\nexport const AdminPersonalDetailsSchema = z.discriminatedUnion('enableSsn', [\n z.object({\n ...AdminSelfOnboardingPersonalDetailsSchema.shape,\n ...SocialSecurityNumberSchema.shape,\n ...DateOfBirthSchema.shape,\n enableSsn: z.literal(true),\n }),\n z.object({\n ...AdminSelfOnboardingPersonalDetailsSchema.shape,\n ...DateOfBirthSchema.shape,\n enableSsn: z.literal(false),\n }),\n])\n\nexport const AdminPersonalDetails = () => {\n const {\n companyLocations,\n employee,\n isAdmin,\n isSelfOnboardingEnabled,\n hasCompletedSelfOnboarding,\n } = useProfile()\n const { t } = useTranslation('Employee.Profile')\n const { watch, setValue, getFieldState } = useFormContext<PersonalDetailsInputs>()\n const isSelfOnboardingChecked = watch('selfOnboarding')\n const { isDirty: isSsnDirty } = getFieldState('ssn')\n\n useEffect(() => {\n if (isSelfOnboardingChecked) {\n setValue('enableSsn', false)\n } else {\n setValue('enableSsn', isSsnDirty ? true : !employee?.hasSsn)\n }\n }, [isSelfOnboardingChecked, employee?.hasSsn, isSsnDirty, setValue])\n\n if (!isAdmin) {\n return null\n }\n\n return (\n <>\n {isSelfOnboardingEnabled && !hasCompletedSelfOnboarding && (\n <div className={styles.switchFieldContainer}>\n <SwitchField\n name=\"selfOnboarding\"\n description={t('selfOnboardingDescription')}\n label={t('selfOnboardingLabel')}\n />\n </div>\n )}\n\n <NameInputs />\n <AdminInputs companyLocations={companyLocations} />\n\n {(!isSelfOnboardingChecked || hasCompletedSelfOnboarding) && (\n <>\n <SocialSecurityNumberInput employee={employee} />\n <DateOfBirthInput />\n </>\n )}\n </>\n )\n}\n"],"names":["AdminSelfOnboardingPersonalDetailsSchema","z","AdminInputsSchema","NameInputsSchema","AdminPersonalDetailsSchema","SocialSecurityNumberSchema","DateOfBirthSchema","AdminPersonalDetails","companyLocations","employee","isAdmin","isSelfOnboardingEnabled","hasCompletedSelfOnboarding","useProfile","t","useTranslation","watch","setValue","getFieldState","useFormContext","isSelfOnboardingChecked","isSsnDirty","useEffect","jsxs","Fragment","jsx","styles","SwitchField","NameInputs","AdminInputs","SocialSecurityNumberInput","DateOfBirthInput"],"mappings":";;;;;;;;;;AAmBO,MAAMA,IAA2CC,EAAE,OAAO;AAAA,EAC/D,GAAGC,EAAkB;AAAA,EACrB,GAAGC,EAAiB;AAAA,EACpB,gBAAgBF,EAAE,QAAA;AACpB,CAAC,GAEYG,IAA6BH,EAAE,mBAAmB,aAAa;AAAA,EAC1EA,EAAE,OAAO;AAAA,IACP,GAAGD,EAAyC;AAAA,IAC5C,GAAGK,EAA2B;AAAA,IAC9B,GAAGC,EAAkB;AAAA,IACrB,WAAWL,EAAE,QAAQ,EAAI;AAAA,EAAA,CAC1B;AAAA,EACDA,EAAE,OAAO;AAAA,IACP,GAAGD,EAAyC;AAAA,IAC5C,GAAGM,EAAkB;AAAA,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import { useFormContext as c } from "react-hook-form";
4
4
  import { useTranslation as o } from "react-i18next";
5
+ import "../../../shared/constants.js";
5
6
  import { Grid as b } from "../../Common/Grid/Grid.js";
6
- import { DatePickerField as p } from "../../Common/Fields/DatePickerField/DatePickerField.js";
7
7
  import { removeNonDigits as S, addressInline as h } from "../../../helpers/formattedStrings.js";
8
8
  import { usePlaceholderSSN as g, normalizeSSN as N } from "../../../helpers/ssn.js";
9
9
  import { SSN_REGEX as D, nameValidation as m } from "../../../helpers/validations.js";
10
10
  import { TextInputField as i } from "../../Common/Fields/TextInputField/TextInputField.js";
11
11
  import { SelectField as I } from "../../Common/Fields/SelectField/SelectField.js";
12
+ import { DatePickerField as p } from "../../Common/Fields/DatePickerField/DatePickerField.js";
12
13
  const v = t.object({
13
14
  firstName: m,
14
15
  middleInitial: t.string().optional(),
15
16
  lastName: m
16
17
  });
17
- function B() {
18
+ function C() {
18
19
  const { t: e } = o("Employee.Profile");
19
20
  return /* @__PURE__ */ l(d, { children: [
20
21
  /* @__PURE__ */ l(b, { gap: { base: 20, small: 8 }, gridTemplateColumns: { base: "1fr", small: ["1fr", 200] }, children: [
@@ -45,7 +46,7 @@ const O = t.object({
45
46
  startDate: t.date().transform((e) => e.toISOString().split("T")[0]),
46
47
  email: t.string().email()
47
48
  });
48
- function C({ companyLocations: e }) {
49
+ function L({ companyLocations: e }) {
49
50
  const { t: r } = o("Employee.Profile"), {
50
51
  formState: { errors: n }
51
52
  } = c();
@@ -92,7 +93,7 @@ const R = t.object({
92
93
  ssn: t.string().transform((e) => S(e)).refine((e) => D.test(e)),
93
94
  enableSsn: t.boolean()
94
95
  });
95
- function L({ employee: e, onChange: r }) {
96
+ function z({ employee: e, onChange: r }) {
96
97
  const { setValue: n } = c(), { t: s } = o("Employee.Profile"), u = g(e?.hasSsn);
97
98
  return /* @__PURE__ */ a(
98
99
  i,
@@ -112,7 +113,7 @@ function L({ employee: e, onChange: r }) {
112
113
  const y = t.object({
113
114
  dateOfBirth: t.date().transform((e) => e.toISOString().split("T")[0])
114
115
  });
115
- function z() {
116
+ function G() {
116
117
  const { t: e } = o("Employee.Profile");
117
118
  return /* @__PURE__ */ a(
118
119
  p,
@@ -133,13 +134,13 @@ t.object({
133
134
  enableSsn: t.boolean()
134
135
  });
135
136
  export {
136
- C as AdminInputs,
137
+ L as AdminInputs,
137
138
  O as AdminInputsSchema,
138
- z as DateOfBirthInput,
139
+ G as DateOfBirthInput,
139
140
  y as DateOfBirthSchema,
140
- B as NameInputs,
141
+ C as NameInputs,
141
142
  v as NameInputsSchema,
142
- L as SocialSecurityNumberInput,
143
+ z as SocialSecurityNumberInput,
143
144
  R as SocialSecurityNumberSchema
144
145
  };
145
146
  //# sourceMappingURL=PersonalDetailsInputs.js.map