aq-fe-framework 0.1.195 → 0.1.196

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.
@@ -417,6 +417,7 @@ interface I$5 {
417
417
  email?: string;
418
418
  phoneNumber?: string;
419
419
  userSkillCenters?: IUserSkillCenters[];
420
+ userSkillCentersIds?: number[];
420
421
  }
421
422
  declare function F_core71678_Update({ user }: {
422
423
  user: I$5;
@@ -2679,8 +2679,8 @@ function F_core71678_Update({ user }) {
2679
2679
  isBlocked: false,
2680
2680
  isEnabled: true,
2681
2681
  workingUnitId: null,
2682
- userSkillCenters: (_a2 = formValues.userSkillCenters) == null ? void 0 : _a2.map((item) => ({
2683
- id: item.id,
2682
+ userSkillCenters: (_a2 = formValues.userSkillCentersIds) == null ? void 0 : _a2.map((item, idx) => ({
2683
+ id: formValues.userSkillCenters[idx].id,
2684
2684
  code: "string",
2685
2685
  name: "string",
2686
2686
  concurrencyStamp: "string",
@@ -2697,7 +2697,7 @@ function F_core71678_Update({ user }) {
2697
2697
  /* @__PURE__ */ jsx50(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber"))),
2698
2698
  skillCenter_getAll_query.data && /* @__PURE__ */ jsx50(
2699
2699
  MultiSelect2,
2700
- {
2700
+ __spreadValues({
2701
2701
  label: "Trung t\xE2m k\u1EF9 n\u0103ng",
2702
2702
  placeholder: "Ch\u1ECDn trung t\xE2m k\u1EF9 n\u0103ng",
2703
2703
  data: (_a = skillCenter_getAll_query.data) == null ? void 0 : _a.map((item) => {
@@ -2707,7 +2707,7 @@ function F_core71678_Update({ user }) {
2707
2707
  value: (_a2 = item.id) == null ? void 0 : _a2.toString()
2708
2708
  };
2709
2709
  })
2710
- }
2710
+ }, form.getInputProps("userSkillCentersIds"))
2711
2711
  )
2712
2712
  ] }) });
2713
2713
  }
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "types": "./dist/hooks/index.d.mts"
23
23
  }
24
24
  },
25
- "version": "0.1.195",
25
+ "version": "0.1.196",
26
26
  "private": false,
27
27
  "files": [
28
28
  "dist"