@citizenplatform/core 1.0.14 → 1.0.16

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.js CHANGED
@@ -1121,7 +1121,7 @@ function Rr(e, t, n = !1) {
1121
1121
  return n ? e.map((e) => e.dtoName === t ? r(e.sections ?? []) : e) : r(e);
1122
1122
  }
1123
1123
  var zr = (e) => `${e}${Ht.format("YYYYMMDDHHmmss")}${Math.floor(Math.random() * 100)}`, Br = (e) => typeof e == "boolean" ? e : Array.isArray(e) ? e.every(Br) : typeof e == "object" && e ? Object.values(e).every(Br) : !1, Vr = e.create({
1124
- baseURL: "import.meta.env.VITE_API_BASE_URL",
1124
+ baseURL: "undefined/api/v1/",
1125
1125
  withCredentials: !0,
1126
1126
  headers: { "Content-Type": "application/json" }
1127
1127
  });
@@ -7022,27 +7022,7 @@ var Fp = Pp(/*#__PURE__*/ O("path", { d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6
7022
7022
  //#endregion
7023
7023
  //#region src/libs/shared/UI/button/AppButton.tsx
7024
7024
  function zp({ label: e, children: t, variantType: n, leftArrow: r, rightArrow: i, bgColor: a, textColor: o, disableHoverEffect: s, variant: c, isMandatory: l = !1, sx: d, ...f }) {
7025
- let p = vd(), m = n ?? (c === "outlined" ? "outlined" : c === "contained" ? "primary" : "secondary"), h = {
7026
- primary: (e) => ({
7027
- backgroundColor: e.palette.text.primary,
7028
- color: e.palette.menuText.primary,
7029
- "&:hover": { backgroundColor: e.palette.primary.dark }
7030
- }),
7031
- secondary: (e) => ({
7032
- backgroundColor: e.palette.text.primary,
7033
- color: n === "outlined" ? e.palette.text.primary : e.palette.menuText.secondary,
7034
- border: 1.2,
7035
- borderColor: e.palette.text.primary,
7036
- "&:hover": { boxShadow: "2px 2px 4px rgba(0, 0, 0, 0.1)" }
7037
- }),
7038
- outlined: (e) => ({
7039
- backgroundColor: e.palette.action.selected,
7040
- color: e.palette.text.primary,
7041
- border: 1.2,
7042
- borderColor: e.palette.disabled.main,
7043
- "&:hover": { boxShadow: "2px 2px 4px rgba(0, 0, 0, 0.1)" }
7044
- })
7045
- }, { t: g } = u();
7025
+ let p = vd(), m = n ?? (c === "outlined" ? "outlined" : c === "contained" ? "primary" : "secondary"), h = {}, { t: g } = u();
7046
7026
  return /* @__PURE__ */ k(ne, {
7047
7027
  disableElevation: !0,
7048
7028
  variant: c,