policyengine-household-wizard 0.3.0 → 0.4.0
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/README.md +16 -0
- package/dist/{index-B_OXaS4a.cjs → index-BfoPBFne.cjs} +1 -1
- package/dist/{index-DWM0giHt.js → index-DoD0AXHz.js} +72 -70
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/us-household/adapters/v1Payload.d.ts.map +1 -1
- package/dist/us-household/draft.d.ts.map +1 -1
- package/dist/us-household/normalize.d.ts.map +1 -1
- package/dist/us-household/serialize.d.ts.map +1 -1
- package/dist/us-household/types.d.ts +8 -0
- package/dist/us-household/types.d.ts.map +1 -1
- package/dist/us-household/validate.d.ts.map +1 -1
- package/dist/us-household-adapters.cjs +1 -1
- package/dist/us-household-adapters.js +1 -1
- package/dist/us-household.cjs +1 -1
- package/dist/us-household.js +213 -200
- package/package.json +1 -1
- package/src/us-household/adapters/v1Payload.ts +4 -0
- package/src/us-household/draft.ts +1 -0
- package/src/us-household/normalize.ts +3 -0
- package/src/us-household/serialize.ts +6 -0
- package/src/us-household/types.ts +8 -0
- package/src/us-household/validate.ts +15 -0
package/README.md
CHANGED
|
@@ -74,6 +74,22 @@ See [`docs/api.md`](docs/api.md) for wizard navigation and focus APIs, [`docs/uk
|
|
|
74
74
|
for the UK household model, and [`docs/migration.md`](docs/migration.md)
|
|
75
75
|
for migrating from each app's local wizard.
|
|
76
76
|
|
|
77
|
+
## US childcare expenses
|
|
78
|
+
|
|
79
|
+
Set optional `draft.childcareExpenses` to annual household childcare costs
|
|
80
|
+
before childcare subsidies, in dollars. Apps collect this amount once for
|
|
81
|
+
the household. The V1 adapter sends it once as
|
|
82
|
+
`spm_units.spm_unit.spm_unit_pre_subsidy_childcare_expenses`, keyed by the
|
|
83
|
+
draft's year; PolicyEngine allocates the total among children and subtracts
|
|
84
|
+
childcare subsidies. Do not also supply the computed person-level childcare
|
|
85
|
+
expenses. Credit eligibility depends on the model's employment, age and
|
|
86
|
+
other program rules.
|
|
87
|
+
|
|
88
|
+
Leave the field unset when the app does not ask about childcare. An entered
|
|
89
|
+
0 stays explicit. `validate()` rejects negative or nonfinite amounts;
|
|
90
|
+
cloning, normalization and shared links preserve entered amounts. The shared
|
|
91
|
+
link parameter is `childcare`, for example `childcare=3000`.
|
|
92
|
+
|
|
77
93
|
## Design decisions
|
|
78
94
|
|
|
79
95
|
- **Marital status, not filing status.** The wizard asks users marital status
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const U={1:"Beverage and food service",2:"Entertainment and events",3:"Hospitality and guest services",4:"Home services",5:"Personal services",6:"Personal appearance and wellness",7:"Recreation and instruction",8:"Transportation and delivery"},N=[[101,"Bartenders"],[102,"Wait staff"],[103,"Food or beverage servers, non-restaurant"],[104,"Dining room and cafeteria attendants and bartender helpers"],[105,"Chefs and cooks"],[106,"Food preparation workers"],[107,"Fast food and counter workers"],[108,"Dishwashers"],[109,"Host staff, restaurant, lounge, and coffee shop"],[110,"Bakers"],[201,"Gambling dealers"],[202,"Gambling change persons and booth cashiers"],[203,"Gambling cage workers"],[204,"Gambling and sports book writers and runners"],[205,"Dancers"],[206,"Musicians and singers"],[207,"Disc jockeys, except radio"],[208,"Entertainers and performers"],[209,"Digital content creators"],[210,"Ushers, lobby attendants, and ticket takers"],[211,"Locker room, coatroom, and dressing room attendants"],[301,"Baggage porters and bellhops"],[302,"Concierges"],[303,"Hotel, motel, and resort desk clerks"],[304,"Maids and housekeeping cleaners"],[401,"Home maintenance and repair workers"],[402,"Home landscaping and groundskeeping workers"],[403,"Home electricians"],[404,"Home plumbers"],[405,"Home heating and air conditioning mechanics and installers"],[406,"Home appliance installers and repairers"],[407,"Home cleaning service workers"],[408,"Locksmiths"],[409,"Roadside assistance workers"],[501,"Personal care and service workers"],[502,"Private event planners"],[503,"Private event and portrait photographers"],[504,"Private event videographers"],[505,"Event officiants"],[506,"Pet and show animal caretakers"],[507,"Tutors"],[508,"Nannies and babysitters"],[509,"Visual artists"],[510,"Floral designers"],[601,"Skincare specialists"],[602,"Massage therapists"],[603,"Barbers, hairdressers, hairstylists, and cosmetologists"],[604,"Shampooers"],[605,"Manicurists and pedicurists"],[606,"Eyebrow and eyelash technicians"],[607,"Makeup artists"],[608,"Exercise trainers and group fitness instructors"],[609,"Tattoo artists and piercers"],[610,"Tailors"],[611,"Shoe and leather workers and repairers"],[701,"Golf caddies"],[702,"Self-enrichment teachers"],[703,"Recreational and tour pilots"],[704,"Tour guides"],[705,"Travel guides"],[706,"Sports and recreation instructors"],[801,"Parking and valet attendants"],[802,"Taxi and rideshare drivers and chauffeurs"],[803,"Shuttle drivers"],[804,"Goods delivery people"],[805,"Personal vehicle and equipment cleaners"],[806,"Private and charter bus drivers"],[807,"Water taxi operators and charter boat workers"],[808,"Rickshaw, pedicab, and carriage drivers"],[809,"Home movers"],[810,"Gas pump attendant"]],v=N.map(([e,n])=>({code:e,label:n,category:U[Math.floor(e/100)]})),O=new Map(v.map(e=>[e.code,e]));function x(e){return O.get(e)}function I(e){return typeof e=="number"&&O.has(e)}function A(e){const n=typeof e=="string"&&/^\s*\d+\s*$/.test(e)?Number(e):e;return n===0?0:I(n)?n:void 0}function p(e){const n=typeof e=="string"&&e.trim()!==""?Number(e):e;return typeof n=="number"&&Number.isFinite(n)?n:void 0}const D={household:"household",family:"family",taxUnit:"tax_unit",spmUnit:"spm_unit",maritalUnit:"marital_unit"},w={household:"your household",family:"your family",taxUnit:"your tax unit",spmUnit:"your household",maritalUnit:"your marital unit"},H={isDisabled:"is_disabled",isBlind:"is_blind",isFullTimeStudent:"is_full_time_college_student",isPregnant:"is_pregnant",needsCare:"is_incapable_of_self_care"},R=18,B="takes_up_ssi_if_eligible",P={employmentIncome:"employment_income",tipIncome:"tip_income",selfEmploymentIncome:"self_employment_income",socialSecurityIncome:"social_security_retirement",ssiAmount:"ssi",ssdiAmount:"social_security_disability",pensionIncome:"taxable_private_pension_income",publicPensionIncome:"taxable_public_pension_income",privatePensionIncome:"taxable_private_pension_income",dividendIncome:"qualified_dividend_income",nonQualifiedDividendIncome:"non_qualified_dividend_income",shortTermCapitalGains:"short_term_capital_gains",longTermCapitalGains:"long_term_capital_gains",taxableInterestIncome:"taxable_interest_income",rentalIncome:"rental_income",unemploymentCompensation:"unemployment_compensation",childSupportReceived:"child_support_received",miscellaneousIncome:"miscellaneous_income"},G={tipIncome:"employment_income"},L={charitableCashDonations:"charitable_cash_donations",mortgageInterest:"home_mortgage_interest",realEstateTaxes:"real_estate_taxes"},M="treasury_tipped_occupation_code",V=[...Object.entries(P),...Object.entries(G),...Object.entries(L)];function i(e,n){return{[e]:n}}function F(e,n){var r;const o={};e.age!==null&&e.age!==void 0&&(o.age=i(n,e.age)),o.is_tax_unit_dependent=i(n,e.kind==="dependent");const _=p(e.age),h=_!==void 0&&_<R;for(const[s,c]of Object.entries(H)){const d=e[s];s==="isFullTimeStudent"&&h||typeof d=="boolean"&&(o[c]=i(n,d))}for(const[s,c]of V){const d=p(e[s]);if(d!==void 0&&s!=="ssiAmount"){const l=(r=o[c])==null?void 0:r[n],m=typeof l=="number"?l+d:d;o[c]=i(n,m)}}const a=A(e.tippedOccupationCode);return a!==void 0&&(o[M]=i(n,a)),o}function E(e,n={}){const{groupKeyStyle:o="short",includeMaritalUnit:_=!1,label:h=null}=n,a=o==="verbose"?w:D,r=String(e.year),s=e.people.map(t=>t.id),c=e.people.map(t=>p(t.ssiAmount)),d=c.every(t=>t!==void 0)&&c.some(t=>t!==0),l={};e.people.forEach((t,u)=>{const g=F(t,r),f=c[u];f===0&&(g[B]=i(r,!1)),d&&f!==void 0&&(g[P.ssiAmount]=i(r,f)),l[t.id]=g});const m={members:[...s]};e.state&&(m.state_name=i(r,e.state)),e.county&&(m.county=i(r,e.county));const C={[a.family]:{members:[...s]}},k={[a.taxUnit]:{members:[...s]}},b={[a.spmUnit]:{members:[...s]}},T=p(e.childcareExpenses);T!==void 0&&(b[a.spmUnit].spm_unit_pre_subsidy_childcare_expenses=i(r,T));const S={[a.household]:m},y={};if(_){const t=e.people.filter(u=>u.kind==="adult");y[a.maritalUnit]={members:t.slice(0,2).map(u=>u.id)}}return{country_id:"us",label:h,data:{people:l,families:C,marital_units:y,tax_units:k,spm_units:b,households:S}}}function K(e,n={}){return E(e,n).data}exports.NOT_A_TIPPED_OCCUPATION=0;exports.TIPPED_OCCUPATIONS=v;exports.getTippedOccupation=x;exports.isTippedOccupationCode=I;exports.toAmount=p;exports.toTippedOccupationCode=A;exports.toV1HouseholdPayload=E;exports.toV1HouseholdSituation=K;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const F = 0, P = {
|
|
2
2
|
1: "Beverage and food service",
|
|
3
3
|
2: "Entertainment and events",
|
|
4
4
|
3: "Hospitality and guest services",
|
|
@@ -7,7 +7,7 @@ const V = 0, O = {
|
|
|
7
7
|
6: "Personal appearance and wellness",
|
|
8
8
|
7: "Recreation and instruction",
|
|
9
9
|
8: "Transportation and delivery"
|
|
10
|
-
},
|
|
10
|
+
}, k = [
|
|
11
11
|
[101, "Bartenders"],
|
|
12
12
|
[102, "Wait staff"],
|
|
13
13
|
[103, "Food or beverage servers, non-restaurant"],
|
|
@@ -79,20 +79,20 @@ const V = 0, O = {
|
|
|
79
79
|
[808, "Rickshaw, pedicab, and carriage drivers"],
|
|
80
80
|
[809, "Home movers"],
|
|
81
81
|
[810, "Gas pump attendant"]
|
|
82
|
-
],
|
|
83
|
-
([e, n]) => ({ code: e, label: n, category:
|
|
84
|
-
),
|
|
85
|
-
function
|
|
86
|
-
return
|
|
87
|
-
}
|
|
88
|
-
function C(e) {
|
|
89
|
-
return typeof e == "number" && y.has(e);
|
|
82
|
+
], C = k.map(
|
|
83
|
+
([e, n]) => ({ code: e, label: n, category: P[Math.floor(e / 100)] })
|
|
84
|
+
), T = new Map(C.map((e) => [e.code, e]));
|
|
85
|
+
function K(e) {
|
|
86
|
+
return T.get(e);
|
|
90
87
|
}
|
|
91
88
|
function S(e) {
|
|
89
|
+
return typeof e == "number" && T.has(e);
|
|
90
|
+
}
|
|
91
|
+
function x(e) {
|
|
92
92
|
const n = typeof e == "string" && /^\s*\d+\s*$/.test(e) ? Number(e) : e;
|
|
93
|
-
return n === 0 ? 0 :
|
|
93
|
+
return n === 0 ? 0 : S(n) ? n : void 0;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function _(e) {
|
|
96
96
|
const n = typeof e == "string" && e.trim() !== "" ? Number(e) : e;
|
|
97
97
|
return typeof n == "number" && Number.isFinite(n) ? n : void 0;
|
|
98
98
|
}
|
|
@@ -102,20 +102,20 @@ const U = {
|
|
|
102
102
|
taxUnit: "tax_unit",
|
|
103
103
|
spmUnit: "spm_unit",
|
|
104
104
|
maritalUnit: "marital_unit"
|
|
105
|
-
},
|
|
105
|
+
}, w = {
|
|
106
106
|
household: "your household",
|
|
107
107
|
family: "your family",
|
|
108
108
|
taxUnit: "your tax unit",
|
|
109
109
|
spmUnit: "your household",
|
|
110
110
|
// app-v2 uses the same label for SPM unit
|
|
111
111
|
maritalUnit: "your marital unit"
|
|
112
|
-
},
|
|
112
|
+
}, N = {
|
|
113
113
|
isDisabled: "is_disabled",
|
|
114
114
|
isBlind: "is_blind",
|
|
115
115
|
isFullTimeStudent: "is_full_time_college_student",
|
|
116
116
|
isPregnant: "is_pregnant",
|
|
117
117
|
needsCare: "is_incapable_of_self_care"
|
|
118
|
-
},
|
|
118
|
+
}, D = 18, H = "takes_up_ssi_if_eligible", E = {
|
|
119
119
|
employmentIncome: "employment_income",
|
|
120
120
|
tipIncome: "tip_income",
|
|
121
121
|
selfEmploymentIncome: "self_employment_income",
|
|
@@ -134,87 +134,89 @@ const U = {
|
|
|
134
134
|
unemploymentCompensation: "unemployment_compensation",
|
|
135
135
|
childSupportReceived: "child_support_received",
|
|
136
136
|
miscellaneousIncome: "miscellaneous_income"
|
|
137
|
-
}, H = {
|
|
138
|
-
tipIncome: "employment_income"
|
|
139
137
|
}, R = {
|
|
138
|
+
tipIncome: "employment_income"
|
|
139
|
+
}, B = {
|
|
140
140
|
charitableCashDonations: "charitable_cash_donations",
|
|
141
141
|
mortgageInterest: "home_mortgage_interest",
|
|
142
142
|
realEstateTaxes: "real_estate_taxes"
|
|
143
|
-
},
|
|
144
|
-
...Object.entries(
|
|
145
|
-
...Object.entries(
|
|
146
|
-
...Object.entries(
|
|
143
|
+
}, G = "treasury_tipped_occupation_code", L = [
|
|
144
|
+
...Object.entries(E),
|
|
145
|
+
...Object.entries(R),
|
|
146
|
+
...Object.entries(B)
|
|
147
147
|
];
|
|
148
|
-
function
|
|
148
|
+
function i(e, n) {
|
|
149
149
|
return { [e]: n };
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function M(e, n) {
|
|
152
152
|
var r;
|
|
153
|
-
const
|
|
154
|
-
e.age !== null && e.age !== void 0 && (
|
|
155
|
-
const p =
|
|
156
|
-
for (const [
|
|
157
|
-
const
|
|
158
|
-
|
|
153
|
+
const a = {};
|
|
154
|
+
e.age !== null && e.age !== void 0 && (a.age = i(n, e.age)), a.is_tax_unit_dependent = i(n, e.kind === "dependent");
|
|
155
|
+
const p = _(e.age), h = p !== void 0 && p < D;
|
|
156
|
+
for (const [t, c] of Object.entries(N)) {
|
|
157
|
+
const d = e[t];
|
|
158
|
+
t === "isFullTimeStudent" && h || typeof d == "boolean" && (a[c] = i(n, d));
|
|
159
159
|
}
|
|
160
|
-
for (const [
|
|
161
|
-
const
|
|
162
|
-
if (
|
|
163
|
-
const
|
|
164
|
-
|
|
160
|
+
for (const [t, c] of L) {
|
|
161
|
+
const d = _(e[t]);
|
|
162
|
+
if (d !== void 0 && t !== "ssiAmount") {
|
|
163
|
+
const l = (r = a[c]) == null ? void 0 : r[n], m = typeof l == "number" ? l + d : d;
|
|
164
|
+
a[c] = i(n, m);
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
const o =
|
|
168
|
-
return o !== void 0 && (
|
|
167
|
+
const o = x(e.tippedOccupationCode);
|
|
168
|
+
return o !== void 0 && (a[G] = i(n, o)), a;
|
|
169
169
|
}
|
|
170
|
-
function
|
|
171
|
-
const { groupKeyStyle:
|
|
172
|
-
e.people.forEach((
|
|
173
|
-
const
|
|
174
|
-
|
|
170
|
+
function V(e, n = {}) {
|
|
171
|
+
const { groupKeyStyle: a = "short", includeMaritalUnit: p = !1, label: h = null } = n, o = a === "verbose" ? w : U, r = String(e.year), t = e.people.map((s) => s.id), c = e.people.map((s) => _(s.ssiAmount)), d = c.every((s) => s !== void 0) && c.some((s) => s !== 0), l = {};
|
|
172
|
+
e.people.forEach((s, u) => {
|
|
173
|
+
const g = M(s, r), f = c[u];
|
|
174
|
+
f === 0 && (g[H] = i(r, !1)), d && f !== void 0 && (g[E.ssiAmount] = i(r, f)), l[s.id] = g;
|
|
175
175
|
});
|
|
176
176
|
const m = {
|
|
177
|
-
members: [...
|
|
177
|
+
members: [...t]
|
|
178
178
|
};
|
|
179
|
-
e.state && (m.state_name =
|
|
180
|
-
const
|
|
181
|
-
[o.family]: { members: [...
|
|
182
|
-
}, I = {
|
|
183
|
-
[o.taxUnit]: { members: [...s] }
|
|
184
|
-
}, E = {
|
|
185
|
-
[o.spmUnit]: { members: [...s] }
|
|
179
|
+
e.state && (m.state_name = i(r, e.state)), e.county && (m.county = i(r, e.county));
|
|
180
|
+
const I = {
|
|
181
|
+
[o.family]: { members: [...t] }
|
|
186
182
|
}, A = {
|
|
183
|
+
[o.taxUnit]: { members: [...t] }
|
|
184
|
+
}, b = {
|
|
185
|
+
[o.spmUnit]: { members: [...t] }
|
|
186
|
+
}, y = _(e.childcareExpenses);
|
|
187
|
+
y !== void 0 && (b[o.spmUnit].spm_unit_pre_subsidy_childcare_expenses = i(r, y));
|
|
188
|
+
const O = {
|
|
187
189
|
[o.household]: m
|
|
188
|
-
},
|
|
190
|
+
}, v = {};
|
|
189
191
|
if (p) {
|
|
190
|
-
const
|
|
191
|
-
|
|
192
|
-
members:
|
|
192
|
+
const s = e.people.filter((u) => u.kind === "adult");
|
|
193
|
+
v[o.maritalUnit] = {
|
|
194
|
+
members: s.slice(0, 2).map((u) => u.id)
|
|
193
195
|
};
|
|
194
196
|
}
|
|
195
197
|
return {
|
|
196
198
|
country_id: "us",
|
|
197
|
-
label:
|
|
199
|
+
label: h,
|
|
198
200
|
data: {
|
|
199
|
-
people:
|
|
200
|
-
families:
|
|
201
|
-
marital_units:
|
|
202
|
-
tax_units:
|
|
203
|
-
spm_units:
|
|
204
|
-
households:
|
|
201
|
+
people: l,
|
|
202
|
+
families: I,
|
|
203
|
+
marital_units: v,
|
|
204
|
+
tax_units: A,
|
|
205
|
+
spm_units: b,
|
|
206
|
+
households: O
|
|
205
207
|
}
|
|
206
208
|
};
|
|
207
209
|
}
|
|
208
|
-
function
|
|
209
|
-
return
|
|
210
|
+
function j(e, n = {}) {
|
|
211
|
+
return V(e, n).data;
|
|
210
212
|
}
|
|
211
213
|
export {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
214
|
+
F as N,
|
|
215
|
+
C as T,
|
|
216
|
+
x as a,
|
|
217
|
+
V as b,
|
|
218
|
+
j as c,
|
|
219
|
+
K as g,
|
|
220
|
+
S as i,
|
|
221
|
+
_ as t
|
|
220
222
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./WizardReviewList-DhLx8Bla.cjs"),e=require("./us-household.cjs"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./WizardReviewList-DhLx8Bla.cjs"),e=require("./us-household.cjs"),t=require("./index-BfoPBFne.cjs");exports.WizardNavigation=a.WizardNavigation;exports.WizardOptionCard=a.WizardOptionCard;exports.WizardProgress=a.WizardProgress;exports.WizardReviewList=a.WizardReviewList;exports.useWizardStepFocus=a.useWizardStepFocus;exports.useWizardSteps=a.useWizardSteps;exports.DEFAULT_HOUSEHOLD_YEAR=e.DEFAULT_HOUSEHOLD_YEAR;exports.US_STATES=e.US_STATES;exports.addPerson=e.addPerson;exports.applyMaritalStatusChange=e.applyMaritalStatusChange;exports.cloneDraft=e.cloneDraft;exports.createBlankDraft=e.createBlankDraft;exports.createPerson=e.createPerson;exports.deserializeDraft=e.deserializeDraft;exports.getAdults=e.getAdults;exports.getCountiesByState=e.getCountiesByState;exports.getCountyName=e.getCountyName;exports.getDependents=e.getDependents;exports.getStateFromZip=e.getStateFromZip;exports.getStateName=e.getStateName;exports.isComplete=e.isComplete;exports.isCountyCode=e.isCountyCode;exports.isUSStateCode=e.isUSStateCode;exports.normalizeLegacyDraft=e.normalizeLegacyDraft;exports.removePerson=e.removePerson;exports.resolveCountyCode=e.resolveCountyCode;exports.serializeDraft=e.serializeDraft;exports.updatePerson=e.updatePerson;exports.validate=e.validate;exports.NOT_A_TIPPED_OCCUPATION=t.NOT_A_TIPPED_OCCUPATION;exports.TIPPED_OCCUPATIONS=t.TIPPED_OCCUPATIONS;exports.getTippedOccupation=t.getTippedOccupation;exports.isTippedOccupationCode=t.isTippedOccupationCode;exports.toTippedOccupationCode=t.toTippedOccupationCode;exports.toV1HouseholdPayload=t.toV1HouseholdPayload;exports.toV1HouseholdSituation=t.toV1HouseholdSituation;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { W as t, a as o, b as s, c as i, u as r, d } from "./WizardReviewList-oY1HqmLw.js";
|
|
2
2
|
import { DEFAULT_HOUSEHOLD_YEAR as n, US_STATES as u, addPerson as C, applyMaritalStatusChange as l, cloneDraft as S, createBlankDraft as c, createPerson as g, deserializeDraft as P, getAdults as T, getCountiesByState as O, getCountyName as D, getDependents as m, getStateFromZip as z, getStateName as f, isComplete as y, isCountyCode as A, isUSStateCode as N, normalizeLegacyDraft as W, removePerson as _, resolveCountyCode as E, serializeDraft as U, updatePerson as v, validate as H } from "./us-household.js";
|
|
3
|
-
import { N as L, T as h, g as x, i as F, a as b, b as B, c as R } from "./index-
|
|
3
|
+
import { N as L, T as h, g as x, i as F, a as b, b as B, c as R } from "./index-DoD0AXHz.js";
|
|
4
4
|
export {
|
|
5
5
|
n as DEFAULT_HOUSEHOLD_YEAR,
|
|
6
6
|
L as NOT_A_TIPPED_OCCUPATION,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1Payload.d.ts","sourceRoot":"","sources":["../../../src/us-household/adapters/v1Payload.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,gBAAgB,EAEhB,gBAAgB,EAChB,aAAa,EACb,eAAe,EAChB,MAAM,UAAU,CAAC;AAElB;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,MAAM,EAAE,GAAG,SAAS,CAAC;AAE7D;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC;AAEpE;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IAAE,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;AAEjF,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG,aAAa,CAAC;AAC5D,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AAChE,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AAC9D,kEAAkE;AAClE,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AAEhE,MAA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AAM,0BAA0B,oCAAoC,CAAC;AAqD5E;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,gBAAgB,EACvB,OAAO,GAAE,kBAAuB,GAC/B,mBAAmB,CAyErB;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,gBAAgB,EACvB,OAAO,GAAE,kBAAuB,GAC/B,oBAAoB,CAEtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/us-household/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE7E,eAAO,MAAM,sBAAsB,QAA8B,CAAC;AAiBlE;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,GAAE,MAA+B,GAAG,gBAAgB,CASxF;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,gBAAgB,GAAG,gBAAgB,
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/us-household/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE7E,eAAO,MAAM,sBAAsB,QAA8B,CAAC;AAiBlE;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,GAAE,MAA+B,GAAG,gBAAgB,CASxF;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,gBAAgB,GAAG,gBAAgB,CAcpE;AAED,wBAAgB,YAAY,CAC1B,IAAI,EAAE,YAAY,EAClB,cAAc,GAAE,aAAa,EAAO,EACpC,OAAO,GAAE,OAAO,CAAC,aAAa,CAAM,GACnC,aAAa,CAOf;AAED,wBAAgB,SAAS,CACvB,KAAK,EAAE,gBAAgB,EACvB,IAAI,EAAE,YAAY,EAClB,OAAO,GAAE,OAAO,CAAC,aAAa,CAAM,GACnC,gBAAgB,CAGlB;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,GAAG,gBAAgB,CAExF;AAED,wBAAgB,YAAY,CAC1B,KAAK,EAAE,gBAAgB,EACvB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,OAAO,CAAC,aAAa,CAAC,GAC9B,gBAAgB,CAOlB;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,gBAAgB,GAAG,aAAa,EAAE,CAElE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,gBAAgB,GAAG,aAAa,EAAE,CAEtE;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,gBAAgB,EACvB,aAAa,EAAE,gBAAgB,CAAC,eAAe,CAAC,GAC/C,gBAAgB,CAkBlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../src/us-household/normalize.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,gBAAgB,EAIjB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../src/us-household/normalize.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,gBAAgB,EAIjB,MAAM,SAAS,CAAC;AAoNjB;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,OAAO,EACZ,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAO,GAC9B,gBAAgB,CAkGlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serialize.d.ts","sourceRoot":"","sources":["../../src/us-household/serialize.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"serialize.d.ts","sourceRoot":"","sources":["../../src/us-household/serialize.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAiB,MAAM,SAAS,CAAC;AAkG/D,wBAAgB,cAAc,CAAC,KAAK,EAAE,gBAAgB,GAAG,MAAM,CAa9D;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,eAAe,GAAG,gBAAgB,CA+ClF"}
|
|
@@ -191,6 +191,14 @@ export interface USHouseholdDraft {
|
|
|
191
191
|
* differentiates them. Order is significant for UI labels ("Adult 1", etc.).
|
|
192
192
|
*/
|
|
193
193
|
people: USPersonDraft[];
|
|
194
|
+
/**
|
|
195
|
+
* Annual household childcare costs before childcare subsidies, in dollars.
|
|
196
|
+
* The V1 adapter sends this total once as the SPM-unit input
|
|
197
|
+
* `spm_unit_pre_subsidy_childcare_expenses`; the model allocates costs among
|
|
198
|
+
* children and subtracts subsidies. Do not repeat the total for each child.
|
|
199
|
+
* Leave unset when the app does not ask about childcare costs.
|
|
200
|
+
*/
|
|
201
|
+
childcareExpenses?: number;
|
|
194
202
|
/** Year the household is being modeled for. */
|
|
195
203
|
year: number;
|
|
196
204
|
/** App-controlled household-level fields ignored by the shared adapters. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/us-household/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEnD;;;;;;;GAOG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,WAAW,CAAC;AAEjD;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;;;GAKG;AACH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,gBAAgB,CAAC,EAAE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OAAO,CAAC;CACvB;AAED,wBAAgB,QAAQ,CACtB,KAAK,EAAE,gBAAgB,EACvB,OAAO,GAAE,eAAoB,GAC5B,gBAAgB,
|
|
1
|
+
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/us-household/validate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,gBAAgB,EAIhB,gBAAgB,EACjB,MAAM,SAAS,CAAC;AAsBjB,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,0EAA0E;IAC1E,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,QAAQ,CACtB,KAAK,EAAE,gBAAgB,EACvB,OAAO,GAAE,eAAoB,GAC5B,gBAAgB,CA+LlB;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,GAAE,eAAoB,GAAG,OAAO,CAE1F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-BfoPBFne.cjs");exports.toV1HouseholdPayload=o.toV1HouseholdPayload;exports.toV1HouseholdSituation=o.toV1HouseholdSituation;
|