@gusto/embedded-react-sdk 0.13.3 → 0.13.4
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.
- package/CHANGELOG.md +6 -0
- package/dist/assets/icons/hamburger.svg.js +5 -5
- package/dist/assets/icons/hamburger.svg.js.map +1 -1
- package/dist/assets/icons/receipt-check.svg.js +10 -0
- package/dist/assets/icons/receipt-check.svg.js.map +1 -0
- package/dist/components/Common/DataView/DataTable/DataTable.js +29 -28
- package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
- package/dist/components/Common/DocumentViewer/DocumentViewer.d.ts +1 -1
- package/dist/components/Common/DocumentViewer/DocumentViewer.js +9 -9
- package/dist/components/Common/DocumentViewer/DocumentViewer.js.map +1 -1
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.d.ts +1 -1
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureForm.js +1 -1
- package/dist/components/Common/SignatureForm/SignatureFormActions.js +1 -1
- package/dist/components/Common/SignatureForm/SignatureFormFields.js +1 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroup.js +33 -31
- package/dist/components/Common/UI/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.d.ts +4 -0
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js.map +1 -1
- package/dist/components/Common/UI/Table/Table.js +22 -13
- package/dist/components/Common/UI/Table/Table.js.map +1 -1
- package/dist/components/Common/UI/Table/Table.module.scss.js +1 -1
- package/dist/components/Common/UI/Table/TableTypes.d.ts +5 -0
- package/dist/components/Common/UI/Table/TableTypes.js +2 -1
- package/dist/components/Common/UI/Table/TableTypes.js.map +1 -1
- package/dist/components/Common/UI/Text/Text.module.scss.js +15 -14
- package/dist/components/Common/UI/Text/Text.module.scss.js.map +1 -1
- package/dist/components/Common/UI/Text/TextTypes.d.ts +2 -2
- package/dist/components/Common/UI/Text/TextTypes.js.map +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatory.js +6 -7
- package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +3 -2
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +3 -2
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +2 -3
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +13 -14
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +3 -2
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +5 -6
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +10 -11
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccount.js +25 -21
- package/dist/components/Company/BankAccount/BankAccount.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +6 -6
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js +9 -8
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js +9 -8
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +8 -7
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +5 -4
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +3 -2
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +34 -35
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +6 -7
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Actions.js +6 -5
- package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Company/FederalTaxes/FederalTaxes.js +12 -13
- package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Form.js +4 -3
- package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
- package/dist/components/Company/Industry/Actions.js +3 -2
- package/dist/components/Company/Industry/Actions.js.map +1 -1
- package/dist/components/Company/Industry/Edit.js +5 -4
- package/dist/components/Company/Industry/Edit.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Actions.js +7 -6
- package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Form.js +5 -6
- package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/LocationForm.js +10 -11
- package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
- package/dist/components/Company/Locations/Locations.js +21 -17
- package/dist/components/Company/Locations/Locations.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/Actions.js +7 -6
- package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/List.js +16 -16
- package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/LocationsList.js +6 -7
- package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
- package/dist/components/Company/OnboardingFlow/OnboardingFlow.js +21 -17
- package/dist/components/Company/OnboardingFlow/OnboardingFlow.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/Completed.js +11 -10
- package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js +7 -6
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +2 -3
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
- package/dist/components/Company/PaySchedule/PaySchedule.js +33 -34
- package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Actions.js +10 -9
- package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Edit.js +16 -17
- package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Head.js +7 -6
- package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/List.js +12 -11
- package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxes.js +20 -16
- package/dist/components/Company/StateTaxes/StateTaxes.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +3 -2
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +3 -2
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js +3 -2
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
- package/dist/components/Contractor/Address/Address.js +4 -5
- package/dist/components/Contractor/Address/Address.js.map +1 -1
- package/dist/components/Contractor/Address/Form.js +3 -4
- package/dist/components/Contractor/Address/Form.js.map +1 -1
- package/dist/components/Contractor/ContractorList/index.js +17 -17
- package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.js +25 -21
- package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +6 -5
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
- package/dist/components/Contractor/Profile/ContractorProfileForm.js +13 -13
- package/dist/components/Contractor/Submit/Submit.js +1 -1
- package/dist/components/Employee/Compensation/Actions.js +1 -1
- package/dist/components/Employee/Compensation/Edit.js +12 -12
- package/dist/components/Employee/Compensation/List.js +23 -22
- package/dist/components/Employee/Compensation/List.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsComponents.js +1 -1
- package/dist/components/Employee/Deductions/DeductionsComponents.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.d.ts +55 -0
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js +221 -0
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js.map +1 -0
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.module.scss.js +8 -0
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.module.scss.js.map +1 -0
- package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.d.ts +42 -0
- package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js +132 -0
- package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js.map +1 -0
- package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js +8 -8
- package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.module.scss.js +14 -0
- package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.module.scss.js.map +1 -0
- package/dist/components/Employee/Deductions/DeductionsForm/UNSTABLE_DeductionsForm.d.ts +7 -0
- package/dist/components/Employee/Deductions/DeductionsForm/UNSTABLE_DeductionsForm.js +98 -0
- package/dist/components/Employee/Deductions/DeductionsForm/UNSTABLE_DeductionsForm.js.map +1 -0
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +1 -1
- package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.js +8 -8
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +7 -6
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +7 -8
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js +3 -2
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentSigner.js +19 -15
- package/dist/components/Employee/DocumentSigner/DocumentSigner.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +9 -10
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Employee/EmployeeList/Actions.js +3 -2
- package/dist/components/Employee/EmployeeList/Actions.js.map +1 -1
- package/dist/components/Employee/EmployeeList/EmployeeList.js +4 -3
- package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
- package/dist/components/Employee/EmployeeList/Head.js +6 -5
- package/dist/components/Employee/EmployeeList/Head.js.map +1 -1
- package/dist/components/Employee/EmployeeList/List.js +12 -12
- package/dist/components/Employee/FederalTaxes/Actions.js +7 -6
- package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/FederalForm.js +12 -11
- package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
- package/dist/components/Employee/Landing/Landing.js +8 -8
- package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js +24 -20
- package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js.map +1 -1
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +7 -7
- package/dist/components/Employee/PaymentMethod/Actions.js +6 -5
- package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js +9 -8
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/Split.js +8 -8
- package/dist/components/Employee/Profile/Actions.js +7 -6
- package/dist/components/Employee/Profile/Actions.js.map +1 -1
- package/dist/components/Employee/Profile/HomeAddress.js +5 -6
- package/dist/components/Employee/Profile/HomeAddress.js.map +1 -1
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js +21 -22
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -1
- package/dist/components/Employee/Profile/Profile.d.ts +1 -0
- package/dist/components/Employee/Profile/Profile.js +22 -22
- package/dist/components/Employee/Profile/Profile.js.map +1 -1
- package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingFlow.js +17 -13
- package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingFlow.js.map +1 -1
- package/dist/components/Employee/StateTaxes/Actions.js +8 -7
- package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
- package/dist/components/Employee/Taxes/Actions.js +9 -8
- package/dist/components/Employee/Taxes/Actions.js.map +1 -1
- package/dist/components/Employee/Taxes/FederalForm.js +13 -12
- package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/PayrollBlockerAlerts.d.ts +7 -0
- package/dist/components/Payroll/PayrollBlocker/PayrollBlockerList.d.ts +6 -0
- package/dist/components/Payroll/PayrollBlocker/PayrollBlockerTypes.d.ts +101 -0
- package/dist/components/Payroll/PayrollBlocker/index.d.ts +4 -0
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +64 -56
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +2 -3
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +65 -66
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +9 -8
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollFlow.d.ts +2 -0
- package/dist/components/Payroll/PayrollFlow/PayrollFlow.js +26 -0
- package/dist/components/Payroll/PayrollFlow/PayrollFlow.js.map +1 -0
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +25 -0
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js +59 -0
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -0
- package/dist/components/Payroll/PayrollFlow/index.d.ts +3 -0
- package/dist/components/Payroll/PayrollFlow/payrollStateMachine.d.ts +7 -0
- package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js +116 -0
- package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -0
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +3 -2
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +7 -6
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.d.ts +3 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +60 -52
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +3 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +97 -96
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.d.ts +7 -0
- package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js +21 -0
- package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js.map +1 -0
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +220 -0
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -0
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.module.scss.js +28 -0
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.module.scss.js.map +1 -0
- package/dist/components/Payroll/RunPayrollFlow/RunPayroll.js +46 -37
- package/dist/components/Payroll/RunPayrollFlow/RunPayroll.js.map +1 -1
- package/dist/components/Payroll/index.d.ts +2 -0
- package/dist/components/Payroll/index.js +12 -8
- package/dist/components/Payroll/index.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +3 -2
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
- package/dist/contexts/ThemeProvider/theme.d.ts +1 -0
- package/dist/contexts/ThemeProvider/theme.js +2 -1
- package/dist/contexts/ThemeProvider/theme.js.map +1 -1
- package/dist/i18n/I18n.js +1 -1
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Employee.Deductions.json.js +126 -66
- package/dist/i18n/en/Employee.Deductions.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +15 -15
- package/dist/i18n/en/Payroll.PayrollOverview.json.js +8 -8
- package/dist/i18n/en/PayrollBlocker.json.js +18 -0
- package/dist/i18n/en/PayrollBlocker.json.js.map +1 -0
- package/dist/shared/constants.d.ts +12 -4
- package/dist/shared/constants.js +37 -33
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/i18next.d.ts +40 -2
- package/package.json +8 -8
|
@@ -5,7 +5,7 @@ const o = {
|
|
|
5
5
|
300: "#F4F4F3",
|
|
6
6
|
400: "#EAEAEA",
|
|
7
7
|
500: "#DCDCDC",
|
|
8
|
-
800: "#
|
|
8
|
+
800: "#414651",
|
|
9
9
|
900: "#525257",
|
|
10
10
|
1e3: "#1C1C1C"
|
|
11
11
|
},
|
|
@@ -80,6 +80,7 @@ const o = {
|
|
|
80
80
|
fontSizeRoot: a(),
|
|
81
81
|
fontFamily: "Geist",
|
|
82
82
|
fontLineHeight: n(24),
|
|
83
|
+
fontSizeExtraSmall: n(12),
|
|
83
84
|
fontSizeSmall: n(14),
|
|
84
85
|
fontSizeRegular: n(16),
|
|
85
86
|
fontSizeLarge: n(18),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sources":["../../../src/contexts/ThemeProvider/theme.ts"],"sourcesContent":["import { getRootFontSize, toRem } from '@/helpers/rem'\n\n// Colors are for internal use in our theme currently\n// We don't export them for partner use or overrides\nconst baseColors = {\n neutral: {\n 100: '#FFFFFF',\n 200: '#FBFAFA',\n 300: '#F4F4F3',\n 400: '#EAEAEA',\n 500: '#DCDCDC',\n 600: '#BABABC',\n 700: '#919197',\n 800: '#
|
|
1
|
+
{"version":3,"file":"theme.js","sources":["../../../src/contexts/ThemeProvider/theme.ts"],"sourcesContent":["import { getRootFontSize, toRem } from '@/helpers/rem'\n\n// Colors are for internal use in our theme currently\n// We don't export them for partner use or overrides\nconst baseColors = {\n neutral: {\n 100: '#FFFFFF',\n 200: '#FBFAFA',\n 300: '#F4F4F3',\n 400: '#EAEAEA',\n 500: '#DCDCDC',\n 600: '#BABABC',\n 700: '#919197',\n 800: '#414651',\n 900: '#525257',\n 1000: '#1C1C1C',\n },\n error: {\n 100: '#FEF3F2',\n 500: '#C5271C',\n 800: '#D92D20',\n },\n warning: {\n 100: '#FFFAF2',\n 500: '#E9B550',\n 700: '#B88023',\n 800: '#B88023',\n },\n success: {\n 100: '#F3FAFB',\n 400: '#2BABAD',\n 500: '#0A8080',\n 800: '#005961',\n },\n info: {\n 100: '#F4F4F3',\n 500: '#DCDCDC',\n 800: '#1C1C1C',\n },\n}\n\nexport const transitionDuration = 200\n\nconst defaultThemeColors = {\n colorBody: baseColors.neutral[100],\n colorBodyAccent: baseColors.neutral[300],\n colorBodyContent: baseColors.neutral[1000],\n colorBodySubContent: baseColors.neutral[800],\n colorPrimary: baseColors.neutral[1000],\n colorPrimaryAccent: baseColors.neutral[900],\n colorPrimaryContent: baseColors.neutral[100],\n colorSecondary: baseColors.neutral[100],\n colorSecondaryAccent: baseColors.neutral[400],\n colorSecondaryContent: baseColors.neutral[1000],\n colorInfo: baseColors.info[100],\n colorInfoAccent: baseColors.info[500],\n colorInfoContent: baseColors.info[800],\n colorWarning: baseColors.warning[100],\n colorWarningAccent: baseColors.warning[500],\n colorWarningContent: baseColors.warning[800],\n colorError: baseColors.error[100],\n colorErrorAccent: baseColors.error[500],\n colorErrorContent: baseColors.error[800],\n colorSuccess: baseColors.success[100],\n colorSuccessAccent: baseColors.success[500],\n colorSuccessContent: baseColors.success[800],\n colorBorder: baseColors.neutral[400],\n}\n\nexport type GustoSDKThemeColors = Partial<typeof defaultThemeColors>\n\nexport const createTheme = (colors: GustoSDKThemeColors = {}) => {\n return {\n // Colors\n ...defaultThemeColors,\n ...colors,\n // Input Colors\n inputBackgroundColor: colors.colorBody,\n inputBorderColor: baseColors.neutral[500],\n inputContentColor: colors.colorBodyContent,\n inputBorderWidth: '1px',\n inputPlaceholderColor: colors.colorBodySubContent,\n inputAdornmentColor: colors.colorBodySubContent,\n inputDisabledBackgroundColor: colors.colorBodyAccent,\n // Field Colors\n inputLabelColor: colors.colorBodyContent,\n inputLabelFontSize: toRem(16),\n inputLabelFontWeight: '500',\n inputDescriptionColor: colors.colorBodySubContent,\n inputErrorColor: colors.colorErrorAccent,\n // Radius\n inputRadius: toRem(8),\n buttonRadius: toRem(8),\n cardRadius: toRem(8),\n badgeRadius: toRem(16),\n // Font\n fontSizeRoot: getRootFontSize(),\n fontFamily: 'Geist',\n fontLineHeight: toRem(24),\n fontSizeExtraSmall: toRem(12),\n fontSizeSmall: toRem(14),\n fontSizeRegular: toRem(16),\n fontSizeLarge: toRem(18),\n fontSizeHeading1: toRem(32),\n fontSizeHeading2: toRem(24),\n fontSizeHeading3: toRem(20),\n fontSizeHeading4: toRem(18),\n fontSizeHeading5: toRem(16),\n fontSizeHeading6: toRem(14),\n fontWeightRegular: '400',\n fontWeightMedium: '500',\n fontWeightSemibold: '600',\n fontWeightBold: '700',\n // Transitions\n transitionDuration: `${transitionDuration}ms`,\n // Shadows\n shadowResting: '0px 1px 2px 0px rgba(10, 13, 18, 0.05)',\n shadowTopmost:\n '0px 4px 6px 0px rgba(28, 28, 28, 0.05), 0px 10px 15px 0px rgba(28, 28, 28, 0.10)',\n // Focus\n focusRingColor: colors.colorPrimary,\n focusRingWidth: '2px',\n }\n}\n\nexport type GustoSDKTheme = Partial<ReturnType<typeof createTheme>>\n\nexport const mergePartnerTheme = (partnerTheme: GustoSDKTheme): GustoSDKTheme => {\n const colors = Object.entries(defaultThemeColors).reduce(\n (acc: GustoSDKThemeColors, [key, value]) => {\n acc[key as keyof typeof defaultThemeColors] =\n partnerTheme[key as keyof typeof defaultThemeColors] || value\n return acc\n },\n {},\n )\n\n const theme = createTheme(colors)\n\n return {\n ...theme,\n ...partnerTheme,\n }\n}\n"],"names":["baseColors","transitionDuration","defaultThemeColors","createTheme","colors","toRem","getRootFontSize","mergePartnerTheme","partnerTheme","acc","key","value"],"mappings":";AAIA,MAAMA,IAAa;AAAA,EACjB,SAAS;AAAA,IACP,KAAK;AAAA,IAEL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IAGL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAM;AAAA,EAAA;AAAA,EAER,OAAO;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,EAAA;AAAA,EAEP,SAAS;AAAA,IACP,KAAK;AAAA,IACL,KAAK;AAAA,IAEL,KAAK;AAAA,EAAA;AAAA,EAEP,SAAS;AAAA,IACP,KAAK;AAAA,IAEL,KAAK;AAAA,IACL,KAAK;AAAA,EAAA;AAAA,EAEP,MAAM;AAAA,IACJ,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,EAAA;AAET,GAEaC,IAAqB,KAE5BC,IAAqB;AAAA,EACzB,WAAWF,EAAW,QAAQ,GAAG;AAAA,EACjC,iBAAiBA,EAAW,QAAQ,GAAG;AAAA,EACvC,kBAAkBA,EAAW,QAAQ,GAAI;AAAA,EACzC,qBAAqBA,EAAW,QAAQ,GAAG;AAAA,EAC3C,cAAcA,EAAW,QAAQ,GAAI;AAAA,EACrC,oBAAoBA,EAAW,QAAQ,GAAG;AAAA,EAC1C,qBAAqBA,EAAW,QAAQ,GAAG;AAAA,EAC3C,gBAAgBA,EAAW,QAAQ,GAAG;AAAA,EACtC,sBAAsBA,EAAW,QAAQ,GAAG;AAAA,EAC5C,uBAAuBA,EAAW,QAAQ,GAAI;AAAA,EAC9C,WAAWA,EAAW,KAAK,GAAG;AAAA,EAC9B,iBAAiBA,EAAW,KAAK,GAAG;AAAA,EACpC,kBAAkBA,EAAW,KAAK,GAAG;AAAA,EACrC,cAAcA,EAAW,QAAQ,GAAG;AAAA,EACpC,oBAAoBA,EAAW,QAAQ,GAAG;AAAA,EAC1C,qBAAqBA,EAAW,QAAQ,GAAG;AAAA,EAC3C,YAAYA,EAAW,MAAM,GAAG;AAAA,EAChC,kBAAkBA,EAAW,MAAM,GAAG;AAAA,EACtC,mBAAmBA,EAAW,MAAM,GAAG;AAAA,EACvC,cAAcA,EAAW,QAAQ,GAAG;AAAA,EACpC,oBAAoBA,EAAW,QAAQ,GAAG;AAAA,EAC1C,qBAAqBA,EAAW,QAAQ,GAAG;AAAA,EAC3C,aAAaA,EAAW,QAAQ,GAAG;AACrC,GAIaG,IAAc,CAACC,IAA8B,QACjD;AAAA;AAAA,EAEL,GAAGF;AAAA,EACH,GAAGE;AAAA;AAAA,EAEH,sBAAsBA,EAAO;AAAA,EAC7B,kBAAkBJ,EAAW,QAAQ,GAAG;AAAA,EACxC,mBAAmBI,EAAO;AAAA,EAC1B,kBAAkB;AAAA,EAClB,uBAAuBA,EAAO;AAAA,EAC9B,qBAAqBA,EAAO;AAAA,EAC5B,8BAA8BA,EAAO;AAAA;AAAA,EAErC,iBAAiBA,EAAO;AAAA,EACxB,oBAAoBC,EAAM,EAAE;AAAA,EAC5B,sBAAsB;AAAA,EACtB,uBAAuBD,EAAO;AAAA,EAC9B,iBAAiBA,EAAO;AAAA;AAAA,EAExB,aAAaC,EAAM,CAAC;AAAA,EACpB,cAAcA,EAAM,CAAC;AAAA,EACrB,YAAYA,EAAM,CAAC;AAAA,EACnB,aAAaA,EAAM,EAAE;AAAA;AAAA,EAErB,cAAcC,EAAA;AAAA,EACd,YAAY;AAAA,EACZ,gBAAgBD,EAAM,EAAE;AAAA,EACxB,oBAAoBA,EAAM,EAAE;AAAA,EAC5B,eAAeA,EAAM,EAAE;AAAA,EACvB,iBAAiBA,EAAM,EAAE;AAAA,EACzB,eAAeA,EAAM,EAAE;AAAA,EACvB,kBAAkBA,EAAM,EAAE;AAAA,EAC1B,kBAAkBA,EAAM,EAAE;AAAA,EAC1B,kBAAkBA,EAAM,EAAE;AAAA,EAC1B,kBAAkBA,EAAM,EAAE;AAAA,EAC1B,kBAAkBA,EAAM,EAAE;AAAA,EAC1B,kBAAkBA,EAAM,EAAE;AAAA,EAC1B,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,oBAAoB;AAAA,EACpB,gBAAgB;AAAA;AAAA,EAEhB,oBAAoB,GAAGJ,CAAkB;AAAA;AAAA,EAEzC,eAAe;AAAA,EACf,eACE;AAAA;AAAA,EAEF,gBAAgBG,EAAO;AAAA,EACvB,gBAAgB;AAAA,IAMPG,IAAoB,CAACC,MAA+C;AAC/E,QAAMJ,IAAS,OAAO,QAAQF,CAAkB,EAAE;AAAA,IAChD,CAACO,GAA0B,CAACC,GAAKC,CAAK,OACpCF,EAAIC,CAAsC,IACxCF,EAAaE,CAAsC,KAAKC,GACnDF;AAAA,IAET,CAAA;AAAA,EAAC;AAKH,SAAO;AAAA,IACL,GAHYN,EAAYC,CAAM;AAAA,IAI9B,GAAGI;AAAA,EAAA;AAEP;"}
|
package/dist/i18n/I18n.js
CHANGED
|
@@ -5,7 +5,7 @@ const P = "common", s = new p(50), y = ({ lng: n = "en", ns: o }) => {
|
|
|
5
5
|
let e = !0, r = !1, t;
|
|
6
6
|
const i = (async () => {
|
|
7
7
|
try {
|
|
8
|
-
t = (await l(/* @__PURE__ */ Object.assign({ "./en/Company.AddBank.json": () => import("./en/Company.AddBank.json.js"), "./en/Company.Addresses.json": () => import("./en/Company.Addresses.json.js"), "./en/Company.AssignSignatory.json": () => import("./en/Company.AssignSignatory.json.js"), "./en/Company.BankAccount.json": () => import("./en/Company.BankAccount.json.js"), "./en/Company.DocumentList.json": () => import("./en/Company.DocumentList.json.js"), "./en/Company.FederalTaxes.json": () => import("./en/Company.FederalTaxes.json.js"), "./en/Company.Industry.json": () => import("./en/Company.Industry.json.js"), "./en/Company.Locations.json": () => import("./en/Company.Locations.json.js"), "./en/Company.OnboardingOverview.json": () => import("./en/Company.OnboardingOverview.json.js"), "./en/Company.PaySchedule.json": () => import("./en/Company.PaySchedule.json.js"), "./en/Company.SignatureForm.json": () => import("./en/Company.SignatureForm.json.js"), "./en/Company.StateTaxes.json": () => import("./en/Company.StateTaxes.json.js"), "./en/Contractor.Address.json": () => import("./en/Contractor.Address.json.js"), "./en/Contractor.ContractorList.json": () => import("./en/Contractor.ContractorList.json.js"), "./en/Contractor.NewHireReport.json": () => import("./en/Contractor.NewHireReport.json.js"), "./en/Contractor.PaymentMethod.json": () => import("./en/Contractor.PaymentMethod.json.js"), "./en/Contractor.Profile.json": () => import("./en/Contractor.Profile.json.js"), "./en/Contractor.Submit.json": () => import("./en/Contractor.Submit.json.js"), "./en/Employee.BankAccount.json": () => import("./en/Employee.BankAccount.json.js"), "./en/Employee.Compensation.json": () => import("./en/Employee.Compensation.json.js"), "./en/Employee.Deductions.json": () => import("./en/Employee.Deductions.json.js"), "./en/Employee.DocumentSigner.json": () => import("./en/Employee.DocumentSigner.json.js"), "./en/Employee.EmployeeList.json": () => import("./en/Employee.EmployeeList.json.js"), "./en/Employee.FederalTaxes.json": () => import("./en/Employee.FederalTaxes.json.js"), "./en/Employee.HomeAddress.json": () => import("./en/Employee.HomeAddress.json.js"), "./en/Employee.Landing.json": () => import("./en/Employee.Landing.json.js"), "./en/Employee.OnboardingSummary.json": () => import("./en/Employee.OnboardingSummary.json.js"), "./en/Employee.PaySchedules.json": () => import("./en/Employee.PaySchedules.json.js"), "./en/Employee.PaymentMethod.json": () => import("./en/Employee.PaymentMethod.json.js"), "./en/Employee.Profile.json": () => import("./en/Employee.Profile.json.js"), "./en/Employee.SplitPaycheck.json": () => import("./en/Employee.SplitPaycheck.json.js"), "./en/Employee.StateTaxes.json": () => import("./en/Employee.StateTaxes.json.js"), "./en/Employee.Taxes.json": () => import("./en/Employee.Taxes.json.js"), "./en/Payroll.PayrollConfiguration.json": () => import("./en/Payroll.PayrollConfiguration.json.js"), "./en/Payroll.PayrollEditEmployee.json": () => import("./en/Payroll.PayrollEditEmployee.json.js"), "./en/Payroll.PayrollHistory.json": () => import("./en/Payroll.PayrollHistory.json.js"), "./en/Payroll.PayrollLanding.json": () => import("./en/Payroll.PayrollLanding.json.js"), "./en/Payroll.PayrollList.json": () => import("./en/Payroll.PayrollList.json.js"), "./en/Payroll.PayrollOverview.json": () => import("./en/Payroll.PayrollOverview.json.js"), "./en/Payroll.PayrollReceipts.json": () => import("./en/Payroll.PayrollReceipts.json.js"), "./en/Payroll.PayrollSchedule.json": () => import("./en/Payroll.PayrollSchedule.json.js"), "./en/Payroll.RunPayroll.json": () => import("./en/Payroll.RunPayroll.json.js"), "./en/common.json": () => import("./en/common.json.js") }), `./${n}/${o}.json`, 3)).default, e = !1;
|
|
8
|
+
t = (await l(/* @__PURE__ */ Object.assign({ "./en/Company.AddBank.json": () => import("./en/Company.AddBank.json.js"), "./en/Company.Addresses.json": () => import("./en/Company.Addresses.json.js"), "./en/Company.AssignSignatory.json": () => import("./en/Company.AssignSignatory.json.js"), "./en/Company.BankAccount.json": () => import("./en/Company.BankAccount.json.js"), "./en/Company.DocumentList.json": () => import("./en/Company.DocumentList.json.js"), "./en/Company.FederalTaxes.json": () => import("./en/Company.FederalTaxes.json.js"), "./en/Company.Industry.json": () => import("./en/Company.Industry.json.js"), "./en/Company.Locations.json": () => import("./en/Company.Locations.json.js"), "./en/Company.OnboardingOverview.json": () => import("./en/Company.OnboardingOverview.json.js"), "./en/Company.PaySchedule.json": () => import("./en/Company.PaySchedule.json.js"), "./en/Company.SignatureForm.json": () => import("./en/Company.SignatureForm.json.js"), "./en/Company.StateTaxes.json": () => import("./en/Company.StateTaxes.json.js"), "./en/Contractor.Address.json": () => import("./en/Contractor.Address.json.js"), "./en/Contractor.ContractorList.json": () => import("./en/Contractor.ContractorList.json.js"), "./en/Contractor.NewHireReport.json": () => import("./en/Contractor.NewHireReport.json.js"), "./en/Contractor.PaymentMethod.json": () => import("./en/Contractor.PaymentMethod.json.js"), "./en/Contractor.Profile.json": () => import("./en/Contractor.Profile.json.js"), "./en/Contractor.Submit.json": () => import("./en/Contractor.Submit.json.js"), "./en/Employee.BankAccount.json": () => import("./en/Employee.BankAccount.json.js"), "./en/Employee.Compensation.json": () => import("./en/Employee.Compensation.json.js"), "./en/Employee.Deductions.json": () => import("./en/Employee.Deductions.json.js"), "./en/Employee.DocumentSigner.json": () => import("./en/Employee.DocumentSigner.json.js"), "./en/Employee.EmployeeList.json": () => import("./en/Employee.EmployeeList.json.js"), "./en/Employee.FederalTaxes.json": () => import("./en/Employee.FederalTaxes.json.js"), "./en/Employee.HomeAddress.json": () => import("./en/Employee.HomeAddress.json.js"), "./en/Employee.Landing.json": () => import("./en/Employee.Landing.json.js"), "./en/Employee.OnboardingSummary.json": () => import("./en/Employee.OnboardingSummary.json.js"), "./en/Employee.PaySchedules.json": () => import("./en/Employee.PaySchedules.json.js"), "./en/Employee.PaymentMethod.json": () => import("./en/Employee.PaymentMethod.json.js"), "./en/Employee.Profile.json": () => import("./en/Employee.Profile.json.js"), "./en/Employee.SplitPaycheck.json": () => import("./en/Employee.SplitPaycheck.json.js"), "./en/Employee.StateTaxes.json": () => import("./en/Employee.StateTaxes.json.js"), "./en/Employee.Taxes.json": () => import("./en/Employee.Taxes.json.js"), "./en/Payroll.PayrollConfiguration.json": () => import("./en/Payroll.PayrollConfiguration.json.js"), "./en/Payroll.PayrollEditEmployee.json": () => import("./en/Payroll.PayrollEditEmployee.json.js"), "./en/Payroll.PayrollHistory.json": () => import("./en/Payroll.PayrollHistory.json.js"), "./en/Payroll.PayrollLanding.json": () => import("./en/Payroll.PayrollLanding.json.js"), "./en/Payroll.PayrollList.json": () => import("./en/Payroll.PayrollList.json.js"), "./en/Payroll.PayrollOverview.json": () => import("./en/Payroll.PayrollOverview.json.js"), "./en/Payroll.PayrollReceipts.json": () => import("./en/Payroll.PayrollReceipts.json.js"), "./en/Payroll.PayrollSchedule.json": () => import("./en/Payroll.PayrollSchedule.json.js"), "./en/Payroll.RunPayroll.json": () => import("./en/Payroll.RunPayroll.json.js"), "./en/PayrollBlocker.json": () => import("./en/PayrollBlocker.json.js"), "./en/common.json": () => import("./en/common.json.js") }), `./${n}/${o}.json`, 3)).default, e = !1;
|
|
9
9
|
} catch {
|
|
10
10
|
r = !0, e = !1;
|
|
11
11
|
}
|
package/dist/i18n/I18n.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"I18n.js","sources":["../../src/i18n/I18n.ts"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport type { CustomTypeOptions } from 'i18next'\nimport { LRUCache } from '@/helpers/LRUCache'\nimport type { ResourceDictionary, Resources } from '@/types/Helpers'\n\nexport const defaultNS = 'common'\n\n//LRU cache holding requested resources\nconst resourceCache = new LRUCache(50)\n/**\n * Dynamic loading of translation resources - works with Suspence to prevent early access to loadable strings\n * @param lng(string): resource language\n * @param ns(string): Namespace/name of the component/resource\n * @returns Promise<Translation resource>\n */\nconst loadResource = ({ lng = 'en', ns }: { ns: string; lng?: string }) => {\n let isLoading = true\n let isError = false\n let resource: Record<string, string>\n\n const importResources = async () => {\n try {\n const module = await import(`@/i18n/${lng}/${ns}.json`)\n\n resource = module.default\n isLoading = false\n } catch (err) {\n isError = true\n isLoading = false\n }\n }\n const promise = importResources()\n return () => {\n if (isLoading) {\n // eslint-disable-next-line @typescript-eslint/only-throw-error\n throw promise // Throw the promise to indicate Suspense should suspend.\n } else if (isError) {\n throw new Error(`Error loading translation for component: ${ns}`) // Handle error\n } else {\n return resource // Return the resource when loading is complete\n }\n }\n}\n\n/**\n * Hook that allows component to load custom dictionary\n * @param @private {string} ns - Namespace - should match component name exactly - not exposed to consumers\n */\nexport const useI18n = (ns: keyof CustomTypeOptions['resources'] | null) => {\n //Getting our instance of i18n -> supplied by the provider set in GustoApiProvider\n const { i18n: i18nInstance } = useTranslation()\n //Abort when namespace is not provided\n if (!ns) return\n const key = `${i18nInstance.resolvedLanguage}:${ns}`\n //Skip loading default resource if it is already in cache\n if (resourceCache.get(key) === null) {\n //If resource not in cache, initiate loading and add getter to cache\n resourceCache.put(key, loadResource({ lng: i18nInstance.resolvedLanguage, ns: ns }))\n }\n //Get resourceGetter from cache\n const resourceGetter = resourceCache.get(key)\n if (resourceGetter) {\n const resource = resourceGetter()\n i18nInstance.addResourceBundle(i18nInstance.resolvedLanguage ?? 'en', ns, resource, true, false) //Last argument is set to false to prevent override of keys provided by partners on GustoApiProvider level through dictionary prop\n }\n}\n\n//Used by individual components to override their dictionaries with partner provided resources\nexport const useComponentDictionary = <K extends keyof Resources>(\n ns: keyof CustomTypeOptions['resources'],\n resource?: ResourceDictionary<K> | null,\n) => {\n const { i18n: i18nInstance } = useTranslation()\n if (resource) {\n for (const lang in resource) {\n i18nInstance.addResourceBundle(lang, ns, resource[lang], true, true)\n }\n }\n}\n"],"names":["defaultNS","resourceCache","LRUCache","loadResource","lng","ns","isLoading","isError","resource","promise","__variableDynamicImportRuntimeHelper","useI18n","i18nInstance","useTranslation","key","resourceGetter","useComponentDictionary","lang"],"mappings":";;;AAKO,MAAMA,IAAY,UAGnBC,IAAgB,IAAIC,EAAS,EAAE,GAO/BC,IAAe,CAAC,EAAE,KAAAC,IAAM,MAAM,IAAAC,QAAuC;AACzE,MAAIC,IAAY,IACZC,IAAU,IACVC;AAaJ,QAAMC,KAXkB,YAAY;AAClC,QAAI;AAGF,MAAAD,KAFe,MAAME,
|
|
1
|
+
{"version":3,"file":"I18n.js","sources":["../../src/i18n/I18n.ts"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport type { CustomTypeOptions } from 'i18next'\nimport { LRUCache } from '@/helpers/LRUCache'\nimport type { ResourceDictionary, Resources } from '@/types/Helpers'\n\nexport const defaultNS = 'common'\n\n//LRU cache holding requested resources\nconst resourceCache = new LRUCache(50)\n/**\n * Dynamic loading of translation resources - works with Suspence to prevent early access to loadable strings\n * @param lng(string): resource language\n * @param ns(string): Namespace/name of the component/resource\n * @returns Promise<Translation resource>\n */\nconst loadResource = ({ lng = 'en', ns }: { ns: string; lng?: string }) => {\n let isLoading = true\n let isError = false\n let resource: Record<string, string>\n\n const importResources = async () => {\n try {\n const module = await import(`@/i18n/${lng}/${ns}.json`)\n\n resource = module.default\n isLoading = false\n } catch (err) {\n isError = true\n isLoading = false\n }\n }\n const promise = importResources()\n return () => {\n if (isLoading) {\n // eslint-disable-next-line @typescript-eslint/only-throw-error\n throw promise // Throw the promise to indicate Suspense should suspend.\n } else if (isError) {\n throw new Error(`Error loading translation for component: ${ns}`) // Handle error\n } else {\n return resource // Return the resource when loading is complete\n }\n }\n}\n\n/**\n * Hook that allows component to load custom dictionary\n * @param @private {string} ns - Namespace - should match component name exactly - not exposed to consumers\n */\nexport const useI18n = (ns: keyof CustomTypeOptions['resources'] | null) => {\n //Getting our instance of i18n -> supplied by the provider set in GustoApiProvider\n const { i18n: i18nInstance } = useTranslation()\n //Abort when namespace is not provided\n if (!ns) return\n const key = `${i18nInstance.resolvedLanguage}:${ns}`\n //Skip loading default resource if it is already in cache\n if (resourceCache.get(key) === null) {\n //If resource not in cache, initiate loading and add getter to cache\n resourceCache.put(key, loadResource({ lng: i18nInstance.resolvedLanguage, ns: ns }))\n }\n //Get resourceGetter from cache\n const resourceGetter = resourceCache.get(key)\n if (resourceGetter) {\n const resource = resourceGetter()\n i18nInstance.addResourceBundle(i18nInstance.resolvedLanguage ?? 'en', ns, resource, true, false) //Last argument is set to false to prevent override of keys provided by partners on GustoApiProvider level through dictionary prop\n }\n}\n\n//Used by individual components to override their dictionaries with partner provided resources\nexport const useComponentDictionary = <K extends keyof Resources>(\n ns: keyof CustomTypeOptions['resources'],\n resource?: ResourceDictionary<K> | null,\n) => {\n const { i18n: i18nInstance } = useTranslation()\n if (resource) {\n for (const lang in resource) {\n i18nInstance.addResourceBundle(lang, ns, resource[lang], true, true)\n }\n }\n}\n"],"names":["defaultNS","resourceCache","LRUCache","loadResource","lng","ns","isLoading","isError","resource","promise","__variableDynamicImportRuntimeHelper","useI18n","i18nInstance","useTranslation","key","resourceGetter","useComponentDictionary","lang"],"mappings":";;;AAKO,MAAMA,IAAY,UAGnBC,IAAgB,IAAIC,EAAS,EAAE,GAO/BC,IAAe,CAAC,EAAE,KAAAC,IAAM,MAAM,IAAAC,QAAuC;AACzE,MAAIC,IAAY,IACZC,IAAU,IACVC;AAaJ,QAAMC,KAXkB,YAAY;AAClC,QAAI;AAGF,MAAAD,KAFe,MAAME,usHAAA,KAAAN,CAAA,IAAAC,CAAA,SAAA,CAAA,GAEH,SAClBC,IAAY;AAAA,IACd,QAAc;AACZ,MAAAC,IAAU,IACVD,IAAY;AAAA,IACd;AAAA,EACF,GACgB;AAChB,SAAO,MAAM;AACX,QAAIA;AAEF,YAAMG;QACGF;AACT,YAAM,IAAI,MAAM,4CAA4CF,CAAE,EAAE;AAEhE,WAAOG;AAAA,EAEX;AACF,GAMaG,IAAU,CAACN,MAAoD;AAE1E,QAAM,EAAE,MAAMO,EAAA,IAAiBC,EAAA;AAE/B,MAAI,CAACR,EAAI;AACT,QAAMS,IAAM,GAAGF,EAAa,gBAAgB,IAAIP,CAAE;AAElD,EAAIJ,EAAc,IAAIa,CAAG,MAAM,QAE7Bb,EAAc,IAAIa,GAAKX,EAAa,EAAE,KAAKS,EAAa,kBAAkB,IAAAP,EAAA,CAAQ,CAAC;AAGrF,QAAMU,IAAiBd,EAAc,IAAIa,CAAG;AAC5C,MAAIC,GAAgB;AAClB,UAAMP,IAAWO,EAAA;AACjB,IAAAH,EAAa,kBAAkBA,EAAa,oBAAoB,MAAMP,GAAIG,GAAU,IAAM,EAAK;AAAA,EACjG;AACF,GAGaQ,IAAyB,CACpCX,GACAG,MACG;AACH,QAAM,EAAE,MAAMI,EAAA,IAAiBC,EAAA;AAC/B,MAAIL;AACF,eAAWS,KAAQT;AACjB,MAAAI,EAAa,kBAAkBK,GAAMZ,GAAIG,EAASS,CAAI,GAAG,IAAM,EAAI;AAGzE;"}
|
|
@@ -1,80 +1,140 @@
|
|
|
1
|
-
const e = "Deductions",
|
|
1
|
+
const e = "Deductions", t = "Include deductions for this employee?", o = "If you need to deduct money from this employee's paycheck (e.g. for Housing, Meals, or Transportation), you can choose either a one-time deduction or an ongoing deduction that occurs every pay period.", n = "If you need to deduct money from this employee's paycheck (e.g. for child support, housing, meals, or transportation), you can choose either a one-time deduction or an ongoing deduction that occurs every pay period.", c = "Employee deductions", i = "You haven't added any deductions yet", ue = "Yes", le = "No", s = "Continue", d = "Save", a = "Add Deduction", r = "Add deduction", u = "Back to deductions", l = "External post tax deductions", p = "Amounts are withheld from the net pay of an employee and reported on the paystub and within payroll receipts. Note that these deductions are always post-tax and will start with the next pay period.", h = "Garnishment (a court-ordered deduction)", y = "Garnishment type", m = "Child support", g = "All counties", D = "Agency", f = "Select the appropriate state agency.", x = "County", T = "Select the appropriate state county", b = "CSE Case Number", C = "Carefully enter the Child Support Enforcement Case Number", w = "Enter the unique Order Identifier or Order ID associated with this child support obligation.", A = "Carefully enter the Child Support Enforcement Remittance ID", E = "Total amount withheld", k = "Enter the amount indicated in the letter from the child support agency", v = "Max paycheck percentage", O = "Enter the maximum percentage of your employee's paycheck that we should withhold. You can find this info in the letter from the child support agency.", P = "Reminder: you are responsible for this payment", L = "Unfortunately, this agency doesn't support electronic payments, so you are responsible for paying the agency yourself.", pe = "Per", q = "Enter how often the agency collects the withholding amount", N = "Every week", H = "Every other week", S = "Twice per month", R = "Monthly", I = "Custom deduction (post-tax)", M = "A garnishment is a court-ordered wage reduction—we’ll handle the tax calculations based what you select. For other post-tax deductions, choose Custom Deduction.", F = "Edit Deduction", W = "Deduction description", Y = "Deduction frequency", B = "This deduction occurs every payroll", G = "This is a one-time deduction and only applies to the next upcoming payroll", U = "List of current deductions of an employee", V = "Deduction type", _ = "Percentage", j = "Fixed dollar amount", z = "Amount to withhold", J = "Annual maximum", K = "This is a court-ordered deduction", Q = "Deduction", X = "Frequency", Z = "Withheld", $ = "Actions", ee = "Recurring", te = "{{value}} per paycheck", oe = "One-time", ne = "Once added, your deductions will appear here.", ce = "Deduction actions menu", ie = "Edit deduction", se = "Delete deduction", de = "+ Add another deduction", ae = "Cancel", re = { description: "Description is required", amount: "Amount must be a valid number" }, he = {
|
|
2
2
|
pageTitle: e,
|
|
3
|
-
includeDeductionsFormLabel:
|
|
3
|
+
includeDeductionsFormLabel: t,
|
|
4
4
|
includeDeductionsDescription: o,
|
|
5
|
-
includeDeductionsDescriptionV2:
|
|
5
|
+
includeDeductionsDescriptionV2: n,
|
|
6
6
|
includeDeductionsSubtitle: c,
|
|
7
7
|
includeDeductionsEmptyState: i,
|
|
8
8
|
includeDeductionsYes: "Yes",
|
|
9
9
|
includeDeductionsNo: "No",
|
|
10
|
-
continueCta:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
10
|
+
continueCta: s,
|
|
11
|
+
saveCta: d,
|
|
12
|
+
addDeductionTitle: a,
|
|
13
|
+
addDeductionButtonCta: r,
|
|
14
|
+
backToDeductionsCta: u,
|
|
15
|
+
externalPostTaxDeductions: l,
|
|
16
|
+
externalPostTaxDeductionsDescription: p,
|
|
17
|
+
garnishmentOption: h,
|
|
18
|
+
garnishmentType: y,
|
|
19
|
+
childSupport: m,
|
|
20
|
+
allCounties: g,
|
|
21
|
+
agency: D,
|
|
22
|
+
agencyHelperText: f,
|
|
23
|
+
county: x,
|
|
24
|
+
countyHelperText: T,
|
|
25
|
+
caseNumber: b,
|
|
26
|
+
caseNumberHelperText: C,
|
|
27
|
+
orderNumberHelperText: w,
|
|
28
|
+
remittanceNumberHelperText: A,
|
|
29
|
+
totalAmountWithheld: E,
|
|
30
|
+
totalAmountWithheldHelperText: k,
|
|
31
|
+
maxPaycheckPercentage: v,
|
|
32
|
+
maxPaycheckPercentageHelperText: O,
|
|
33
|
+
manualPaymentRequired: P,
|
|
34
|
+
manualPaymentRequiredDescription: L,
|
|
35
|
+
per: "Per",
|
|
36
|
+
perHelperText: q,
|
|
37
|
+
everyWeek: N,
|
|
38
|
+
everyOtherWeek: H,
|
|
39
|
+
twicePerMonth: S,
|
|
40
|
+
monthly: R,
|
|
41
|
+
customDeductionOption: I,
|
|
42
|
+
deductionTypeRadioLabel: M,
|
|
43
|
+
editDeductionTitle: F,
|
|
44
|
+
descriptionLabel: W,
|
|
45
|
+
frequencyLabel: Y,
|
|
46
|
+
frequencyRecurringOption: B,
|
|
47
|
+
frequencyOneTimeOption: G,
|
|
48
|
+
deductionsTableLabel: U,
|
|
49
|
+
deductionTypeLabel: V,
|
|
50
|
+
deductionTypePercentageOption: _,
|
|
51
|
+
deductionTypeFixedAmountOption: j,
|
|
52
|
+
deductionAmountLabel: z,
|
|
53
|
+
annualMaxLabel: J,
|
|
54
|
+
courtOrderedLabel: K,
|
|
55
|
+
nameColumn: Q,
|
|
56
|
+
frequencyColumn: X,
|
|
57
|
+
withheldColumn: Z,
|
|
58
|
+
actionsColumn: $,
|
|
59
|
+
recurringText: ee,
|
|
60
|
+
recurringAmount: te,
|
|
61
|
+
nonRecurringText: oe,
|
|
62
|
+
emptyListMessage: ne,
|
|
63
|
+
hamburgerTitle: ce,
|
|
64
|
+
editCta: ie,
|
|
65
|
+
deleteCta: se,
|
|
66
|
+
addDeductionCta: de,
|
|
67
|
+
cancelCta: ae,
|
|
68
|
+
validations: re
|
|
39
69
|
};
|
|
40
70
|
export {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
71
|
+
$ as actionsColumn,
|
|
72
|
+
r as addDeductionButtonCta,
|
|
73
|
+
de as addDeductionCta,
|
|
74
|
+
a as addDeductionTitle,
|
|
75
|
+
D as agency,
|
|
76
|
+
f as agencyHelperText,
|
|
77
|
+
g as allCounties,
|
|
78
|
+
J as annualMaxLabel,
|
|
79
|
+
u as backToDeductionsCta,
|
|
80
|
+
ae as cancelCta,
|
|
81
|
+
b as caseNumber,
|
|
82
|
+
C as caseNumberHelperText,
|
|
83
|
+
m as childSupport,
|
|
84
|
+
s as continueCta,
|
|
85
|
+
x as county,
|
|
86
|
+
T as countyHelperText,
|
|
87
|
+
K as courtOrderedLabel,
|
|
88
|
+
I as customDeductionOption,
|
|
89
|
+
z as deductionAmountLabel,
|
|
90
|
+
j as deductionTypeFixedAmountOption,
|
|
91
|
+
V as deductionTypeLabel,
|
|
92
|
+
_ as deductionTypePercentageOption,
|
|
93
|
+
M as deductionTypeRadioLabel,
|
|
94
|
+
U as deductionsTableLabel,
|
|
95
|
+
he as default,
|
|
96
|
+
se as deleteCta,
|
|
97
|
+
W as descriptionLabel,
|
|
98
|
+
ie as editCta,
|
|
99
|
+
F as editDeductionTitle,
|
|
100
|
+
ne as emptyListMessage,
|
|
101
|
+
H as everyOtherWeek,
|
|
102
|
+
N as everyWeek,
|
|
103
|
+
l as externalPostTaxDeductions,
|
|
104
|
+
p as externalPostTaxDeductionsDescription,
|
|
105
|
+
X as frequencyColumn,
|
|
106
|
+
Y as frequencyLabel,
|
|
107
|
+
G as frequencyOneTimeOption,
|
|
108
|
+
B as frequencyRecurringOption,
|
|
109
|
+
h as garnishmentOption,
|
|
110
|
+
y as garnishmentType,
|
|
111
|
+
ce as hamburgerTitle,
|
|
65
112
|
o as includeDeductionsDescription,
|
|
66
|
-
|
|
113
|
+
n as includeDeductionsDescriptionV2,
|
|
67
114
|
i as includeDeductionsEmptyState,
|
|
68
|
-
|
|
69
|
-
|
|
115
|
+
t as includeDeductionsFormLabel,
|
|
116
|
+
le as includeDeductionsNo,
|
|
70
117
|
c as includeDeductionsSubtitle,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
118
|
+
ue as includeDeductionsYes,
|
|
119
|
+
P as manualPaymentRequired,
|
|
120
|
+
L as manualPaymentRequiredDescription,
|
|
121
|
+
v as maxPaycheckPercentage,
|
|
122
|
+
O as maxPaycheckPercentageHelperText,
|
|
123
|
+
R as monthly,
|
|
124
|
+
Q as nameColumn,
|
|
125
|
+
oe as nonRecurringText,
|
|
126
|
+
w as orderNumberHelperText,
|
|
74
127
|
e as pageTitle,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
128
|
+
pe as per,
|
|
129
|
+
q as perHelperText,
|
|
130
|
+
te as recurringAmount,
|
|
131
|
+
ee as recurringText,
|
|
132
|
+
A as remittanceNumberHelperText,
|
|
133
|
+
d as saveCta,
|
|
134
|
+
E as totalAmountWithheld,
|
|
135
|
+
k as totalAmountWithheldHelperText,
|
|
136
|
+
S as twicePerMonth,
|
|
137
|
+
re as validations,
|
|
138
|
+
Z as withheldColumn
|
|
79
139
|
};
|
|
80
140
|
//# sourceMappingURL=Employee.Deductions.json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Employee.Deductions.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Employee.Deductions.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
const e = "Run payroll for {{startDate}} - {{endDate}}",
|
|
1
|
+
const e = "Run payroll for {{startDate}} - {{endDate}}", o = "Regular payroll", a = "Calculate payroll", l = "Calculate payroll", s = "Hours and additional earnings", t = "Review and update your employee's hours, reimbursements, and additional earnings below.", n = "Employee compensations", r = { employees: "Employees", hours: "Hours", timeOff: "Time off", additionalEarnings: "Additional earnings", reimbursements: "Reimbursements", totalPay: "Total pay" }, i = "Skipped", d = { edit: "Edit" }, p = "Back", y = "Back", c = { progressSaved: "Your progress has been saved", payrollDeadline: { label: "Payroll Deadline", message: "To pay your employees with direct deposit on the check date, you'll need to run payroll by the deadline." }, skippedEmployees: { label: "Skipped Employees", employeeAddressNotVerified: "Employee address not verified" }, employeeUpdated: { label: "{{employeeName}} updated successfully" } }, u = {
|
|
2
2
|
pageTitle: e,
|
|
3
|
-
regularPayroll:
|
|
4
|
-
calculatePayroll:
|
|
5
|
-
calculatePayrollTitle:
|
|
6
|
-
hoursAndEarningsTitle:
|
|
7
|
-
hoursAndEarningsDescription:
|
|
3
|
+
regularPayroll: o,
|
|
4
|
+
calculatePayroll: a,
|
|
5
|
+
calculatePayrollTitle: l,
|
|
6
|
+
hoursAndEarningsTitle: s,
|
|
7
|
+
hoursAndEarningsDescription: t,
|
|
8
8
|
employeeCompensationsTitle: n,
|
|
9
|
-
tableColumns:
|
|
10
|
-
skippedBadge:
|
|
9
|
+
tableColumns: r,
|
|
10
|
+
skippedBadge: i,
|
|
11
11
|
editMenu: d,
|
|
12
12
|
backButton: p,
|
|
13
13
|
backButtonTitle: y,
|
|
@@ -17,16 +17,16 @@ export {
|
|
|
17
17
|
c as alerts,
|
|
18
18
|
p as backButton,
|
|
19
19
|
y as backButtonTitle,
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
a as calculatePayroll,
|
|
21
|
+
l as calculatePayrollTitle,
|
|
22
22
|
u as default,
|
|
23
23
|
d as editMenu,
|
|
24
24
|
n as employeeCompensationsTitle,
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
t as hoursAndEarningsDescription,
|
|
26
|
+
s as hoursAndEarningsTitle,
|
|
27
27
|
e as pageTitle,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
o as regularPayroll,
|
|
29
|
+
i as skippedBadge,
|
|
30
|
+
r as tableColumns
|
|
31
31
|
};
|
|
32
32
|
//# sourceMappingURL=Payroll.PayrollConfiguration.json.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "Review payroll", a = "Payroll summary", o = "Regular payroll for {{startDate}} - {{endDate}}", t = "Submit", l = "Edit payroll", s = "Cancel payroll", n = "Cancel {{startDate}} - {{endDate}} payroll?", y = "Cancel this payroll now and run it again later. Any information entered will not be saved.", r = "Run this payroll by {{deadline}} to ensure your employees are paid on time.", i = " Yes, cancel payroll", p = "No, go back", m = "Payroll receipt", c = "Download paystub pdf", b = { payrollNotCalculated: "Payroll is not calculated",
|
|
1
|
+
const e = "Review payroll", a = "Payroll summary", o = "Regular payroll for {{startDate}} - {{endDate}}", t = "Submit", l = "Edit payroll", s = "Cancel payroll", n = "Cancel {{startDate}} - {{endDate}} payroll?", y = "Cancel this payroll now and run it again later. Any information entered will not be saved.", r = "Run this payroll by {{deadline}} to ensure your employees are paid on time.", i = " Yes, cancel payroll", p = "No, go back", m = "Payroll receipt", c = "Download paystub pdf", b = { payrollNotCalculated: "Payroll is not calculated", directDepositDeadline: "To pay your employees with direct deposit on {{payDate}}, you'll need to run payroll by {{deadline}}", paystubPdfError: "There was an issue generating the paystub PDF. Please try again later." }, d = "Payroll Summary", u = "Payroll summary table", T = { label: "Payroll details", companyPaysTab: "Company pays", companyPaysTable: "Company pays by employee", hoursWorkedTab: "Hours worked", hoursWorkedTable: "Hours worked by employee", employeeTakeHomeTab: "Employee take home", employeeTakeHomeTable: "Employee take home by employee", taxesTab: "Taxes and debited", taxesTable: "Taxes breakdown", debitedTable: "Debited totals by company" }, D = { totalPayroll: "Total payroll", debitAmount: "Debit amount", employees: "Employees", grossPay: "Gross Pay", reimbursements: "Reimbursements", debitAccount: "Debit account", debitDate: "Debit date", employeesPayDate: "Employees pay date", companyTaxes: "Company taxes", companyBenefits: "Company benefits", companyPays: "Company pays", compensationType: "Compensation type", regular: "Regular", overtime: "Overtime (1.5x)", doubleOT: "Double overtime (2x)", timeOff: "Paid time off", totalHours: "Total hours", paymentType: "Payment type", employeeTaxes: "Employee taxes", employeeBenefits: "Employee benefits", payment: "Payment", deductions: "Deductions", taxDescription: "Tax description", byYourEmployees: "By your employees", byYourCompany: "By your company", debitedByGusto: "Debited by Gusto", taxesTotal: "Total", paystub: "Paystub" }, P = "Totals", x = "Direct deposits", C = "Reimbursements", f = "Garnishments", g = "Taxes (Employees and Employers)", w = { exempt: "Salaried / Exempt", nonexempt: "Hourly / Nonexempt" }, h = {
|
|
2
2
|
overviewTitle: e,
|
|
3
3
|
summaryTitle: a,
|
|
4
4
|
pageSubtitle: o,
|
|
@@ -20,9 +20,9 @@ const e = "Review payroll", a = "Payroll summary", o = "Regular payroll for {{st
|
|
|
20
20
|
totalsLabel: P,
|
|
21
21
|
directDepositLabel: x,
|
|
22
22
|
reimbursementLabel: C,
|
|
23
|
-
garnishmentsLabel:
|
|
24
|
-
taxesLabel:
|
|
25
|
-
compensationTypeLabels:
|
|
23
|
+
garnishmentsLabel: f,
|
|
24
|
+
taxesLabel: g,
|
|
25
|
+
compensationTypeLabels: w
|
|
26
26
|
};
|
|
27
27
|
export {
|
|
28
28
|
b as alerts,
|
|
@@ -30,15 +30,15 @@ export {
|
|
|
30
30
|
y as cancelDialogDescription,
|
|
31
31
|
r as cancelDialogDescriptionDeadline,
|
|
32
32
|
n as cancelDialogTitle,
|
|
33
|
-
|
|
33
|
+
w as compensationTypeLabels,
|
|
34
34
|
i as confirmCancelCta,
|
|
35
35
|
T as dataViews,
|
|
36
36
|
p as declineCancelCta,
|
|
37
|
-
|
|
37
|
+
h as default,
|
|
38
38
|
x as directDepositLabel,
|
|
39
39
|
c as downloadPaystubLabel,
|
|
40
40
|
l as editCta,
|
|
41
|
-
|
|
41
|
+
f as garnishmentsLabel,
|
|
42
42
|
e as overviewTitle,
|
|
43
43
|
o as pageSubtitle,
|
|
44
44
|
m as payrollReceiptCta,
|
|
@@ -48,7 +48,7 @@ export {
|
|
|
48
48
|
t as submitCta,
|
|
49
49
|
a as summaryTitle,
|
|
50
50
|
D as tableHeaders,
|
|
51
|
-
|
|
51
|
+
g as taxesLabel,
|
|
52
52
|
P as totalsLabel
|
|
53
53
|
};
|
|
54
54
|
//# sourceMappingURL=Payroll.PayrollOverview.json.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const e = "{{count}} issues are preventing you from running payroll", o = "View All Blockers", l = "Payroll blockers", s = "Blocker", t = "The following issues must be resolved before you can run payroll:", r = "Estimated time", c = {
|
|
2
|
+
multipleIssuesTitle: e,
|
|
3
|
+
viewAllBlockers: o,
|
|
4
|
+
blockersListTitle: l,
|
|
5
|
+
blockerSectionLabel: s,
|
|
6
|
+
blockersListDescription: t,
|
|
7
|
+
estimatedTime: r
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
s as blockerSectionLabel,
|
|
11
|
+
t as blockersListDescription,
|
|
12
|
+
l as blockersListTitle,
|
|
13
|
+
c as default,
|
|
14
|
+
r as estimatedTime,
|
|
15
|
+
e as multipleIssuesTitle,
|
|
16
|
+
o as viewAllBlockers
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=PayrollBlocker.json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PayrollBlocker.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -115,33 +115,41 @@ export declare const runPayrollEvents: {
|
|
|
115
115
|
readonly RUN_PAYROLL_BACK: "runPayroll/back";
|
|
116
116
|
readonly RUN_PAYROLL_CALCULATED: "runPayroll/calculated";
|
|
117
117
|
readonly RUN_PAYROLL_CANCELLED: "runPayroll/cancelled";
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
118
|
+
readonly RUN_PAYROLL_EDIT: "runPayroll/edit";
|
|
119
|
+
readonly RUN_PAYROLL_EMPLOYEE_EDIT: "runPayroll/employee/edit";
|
|
120
120
|
readonly RUN_PAYROLL_EMPLOYEE_SAVED: "runPayroll/employee/saved";
|
|
121
121
|
readonly RUN_PAYROLL_EMPLOYEE_CANCELLED: "runPayroll/employee/cancelled";
|
|
122
122
|
readonly RUN_PAYROLL_SELECTED: "runPayroll/selected";
|
|
123
123
|
readonly RUN_PAYROLL_SUBMITTED: "runPayroll/submitted";
|
|
124
124
|
readonly RUN_PAYROLL_SUMMARY_VIEWED: "runPayroll/summary/viewed";
|
|
125
|
+
readonly RUN_PAYROLL_RECEIPT_GET: "runPayroll/receipt/get";
|
|
125
126
|
readonly RUN_PAYROLL_RECEIPT_VIEWED: "runPayroll/receipt/viewed";
|
|
126
127
|
readonly RUN_PAYROLL_PROCESSED: "runPayroll/processed";
|
|
127
128
|
readonly RUN_PAYROLL_PROCESSING_FAILED: "runPayroll/processingFailed";
|
|
128
129
|
readonly RUN_PAYROLL_PDF_PAYSTUB_VIEWED: "runPayroll/pdfPaystub/viewed";
|
|
130
|
+
readonly RUN_PAYROLL_BLOCKERS_DETECTED: "runPayroll/blockers/detected";
|
|
131
|
+
readonly RUN_PAYROLL_BLOCKER_RESOLUTION_ATTEMPTED: "runPayroll/blocker/resolutionAttempted";
|
|
132
|
+
readonly RUN_PAYROLL_BLOCKERS_VIEW_ALL: "runPayroll/blockers/viewAll";
|
|
129
133
|
};
|
|
130
134
|
export declare const componentEvents: {
|
|
131
135
|
readonly RUN_PAYROLL_BACK: "runPayroll/back";
|
|
132
136
|
readonly RUN_PAYROLL_CALCULATED: "runPayroll/calculated";
|
|
133
137
|
readonly RUN_PAYROLL_CANCELLED: "runPayroll/cancelled";
|
|
134
|
-
readonly
|
|
135
|
-
readonly
|
|
138
|
+
readonly RUN_PAYROLL_EDIT: "runPayroll/edit";
|
|
139
|
+
readonly RUN_PAYROLL_EMPLOYEE_EDIT: "runPayroll/employee/edit";
|
|
136
140
|
readonly RUN_PAYROLL_EMPLOYEE_SAVED: "runPayroll/employee/saved";
|
|
137
141
|
readonly RUN_PAYROLL_EMPLOYEE_CANCELLED: "runPayroll/employee/cancelled";
|
|
138
142
|
readonly RUN_PAYROLL_SELECTED: "runPayroll/selected";
|
|
139
143
|
readonly RUN_PAYROLL_SUBMITTED: "runPayroll/submitted";
|
|
140
144
|
readonly RUN_PAYROLL_SUMMARY_VIEWED: "runPayroll/summary/viewed";
|
|
145
|
+
readonly RUN_PAYROLL_RECEIPT_GET: "runPayroll/receipt/get";
|
|
141
146
|
readonly RUN_PAYROLL_RECEIPT_VIEWED: "runPayroll/receipt/viewed";
|
|
142
147
|
readonly RUN_PAYROLL_PROCESSED: "runPayroll/processed";
|
|
143
148
|
readonly RUN_PAYROLL_PROCESSING_FAILED: "runPayroll/processingFailed";
|
|
144
149
|
readonly RUN_PAYROLL_PDF_PAYSTUB_VIEWED: "runPayroll/pdfPaystub/viewed";
|
|
150
|
+
readonly RUN_PAYROLL_BLOCKERS_DETECTED: "runPayroll/blockers/detected";
|
|
151
|
+
readonly RUN_PAYROLL_BLOCKER_RESOLUTION_ATTEMPTED: "runPayroll/blocker/resolutionAttempted";
|
|
152
|
+
readonly RUN_PAYROLL_BLOCKERS_VIEW_ALL: "runPayroll/blockers/viewAll";
|
|
145
153
|
readonly CONTRACTOR_ADDRESS_UPDATED: "contractor/address/updated";
|
|
146
154
|
readonly CONTRACTOR_ADDRESS_DONE: "contractor/address/done";
|
|
147
155
|
readonly CONTRACTOR_PAYMENT_METHOD_UPDATED: "contractor/paymentMethod/updated";
|