@ttn-shared/ui 1.2.5 → 1.2.6

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/dist/index.cjs CHANGED
@@ -319,6 +319,7 @@ var useIncomeGroups = ({
319
319
  filters?.corpclientId,
320
320
  filters?.contractId,
321
321
  filters?.affiliationTypeId,
322
+ filters?.enabled,
322
323
  filters?.eaccount
323
324
  ],
324
325
  queryFn: () => getIncomeGroups(token, baseUrl, filters),
@@ -405,7 +406,8 @@ var PatientVoluntaryInsuranceForm = ({
405
406
  eaccount: userInfo.accountId,
406
407
  corpclientId: Number(insuranceInfo.companyId) || void 0,
407
408
  contractId: Number(insuranceInfo.plan) || void 0,
408
- affiliationTypeId: Number(form.values.affiliationTypeId) || void 0
409
+ affiliationTypeId: Number(form.values.affiliationTypeId) || void 0,
410
+ enabled: 1
409
411
  }
410
412
  });
411
413
  const companyTypeOptions = (0, import_react2.useMemo)(() => {
@@ -1590,7 +1592,8 @@ var PatientForm = ({
1590
1592
  eaccount: userInfo.accountId,
1591
1593
  corpclientId: Number(form.values.mandatoryInsurance.companyId) || void 0,
1592
1594
  contractId: Number(form.values.mandatoryInsurance.plan) || void 0,
1593
- affiliationTypeId: Number(form.values.affiliationTypeId) || void 0
1595
+ affiliationTypeId: Number(form.values.affiliationTypeId) || void 0,
1596
+ enabled: 1
1594
1597
  }
1595
1598
  });
1596
1599
  const handleSubmit = (values) => {
package/dist/index.js CHANGED
@@ -287,6 +287,7 @@ var useIncomeGroups = ({
287
287
  filters?.corpclientId,
288
288
  filters?.contractId,
289
289
  filters?.affiliationTypeId,
290
+ filters?.enabled,
290
291
  filters?.eaccount
291
292
  ],
292
293
  queryFn: () => getIncomeGroups(token, baseUrl, filters),
@@ -373,7 +374,8 @@ var PatientVoluntaryInsuranceForm = ({
373
374
  eaccount: userInfo.accountId,
374
375
  corpclientId: Number(insuranceInfo.companyId) || void 0,
375
376
  contractId: Number(insuranceInfo.plan) || void 0,
376
- affiliationTypeId: Number(form.values.affiliationTypeId) || void 0
377
+ affiliationTypeId: Number(form.values.affiliationTypeId) || void 0,
378
+ enabled: 1
377
379
  }
378
380
  });
379
381
  const companyTypeOptions = useMemo(() => {
@@ -1602,7 +1604,8 @@ var PatientForm = ({
1602
1604
  eaccount: userInfo.accountId,
1603
1605
  corpclientId: Number(form.values.mandatoryInsurance.companyId) || void 0,
1604
1606
  contractId: Number(form.values.mandatoryInsurance.plan) || void 0,
1605
- affiliationTypeId: Number(form.values.affiliationTypeId) || void 0
1607
+ affiliationTypeId: Number(form.values.affiliationTypeId) || void 0,
1608
+ enabled: 1
1606
1609
  }
1607
1610
  });
1608
1611
  const handleSubmit = (values) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttn-shared/ui",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [