@altimateai/ui-components 0.0.6 → 0.0.7

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/main.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Card as vt, CardBody as an, CardTitle as un, FormGroup as Pt, Input as Ft, FormFeedback as Kn, Collapse as Gn, Alert as ln, Col as Zn, CardImg as Qn, CardSubtitle as Jn, CardText as er, Row as tr } from "reactstrap";
2
- import { g as mt, a as cn, A as ve, C as nr, I as Ie, u as dn, S as se, T as rr } from "./redux-toolkit.modern.js";
3
- import { O as fn, P as lt, T as or, V as ir, W as sr, X as ar, Y as ur, Z as lr, _ as cr, $ as tt, a0 as dr, a1 as fr } from "./CoachForm.js";
2
+ import { g as mt, a as cn, A as ve, C as nr, I as Ie, u as dn, S as se, T as rr, b as or } from "./redux-toolkit.modern.js";
3
+ import { O as fn, P as lt, T as ir, V as sr, W as ar, X as ur, Y as lr, Z as cr, _ as tt, $ as dr, a0 as fr } from "./CoachForm.js";
4
4
  import { j as v, A as pn, i as pr, k as gr, b as hr, C as vr, D as mr, E as Er, e as yr, d as br } from "./index2.js";
5
5
  import * as te from "react";
6
6
  import Z, { createContext as _e, useReducer as gn, useCallback as we, useMemo as fe, useContext as be, useLayoutEffect as Cr, useEffect as le, useRef as Se, useId as hn, useInsertionEffect as Sr, Children as De, isValidElement as _r, useState as re, lazy as Ar } from "react";
@@ -4287,7 +4287,7 @@ const Vi = {
4287
4287
  }, ps = ({ learning: e, afterDelete: r, toggle: i, openId: n }) => {
4288
4288
  const [t, o] = re(!1), { errors: s, isValid: u, isSubmitting: l, handleSubmit: d, values: a, handleChange: c, setSubmitting: f } = xr({
4289
4289
  initialValues: e,
4290
- validationSchema: or(ir),
4290
+ validationSchema: ir(sr),
4291
4291
  onSubmit: async (A) => {
4292
4292
  await ve.post(`coach/training/${e.train_doc_uid}`, A, {
4293
4293
  method: "PUT"
@@ -4369,7 +4369,7 @@ const Vi = {
4369
4369
  }
4370
4370
  ) }),
4371
4371
  /* @__PURE__ */ v.jsx(
4372
- sr,
4372
+ ar,
4373
4373
  {
4374
4374
  title: "Delete the task",
4375
4375
  description: "Are you sure to delete this task?",
@@ -4406,7 +4406,7 @@ const Vi = {
4406
4406
  Mt,
4407
4407
  {
4408
4408
  style: { minWidth: 160 },
4409
- options: Object.values(ar).map((A) => ({
4409
+ options: Object.values(ur).map((A) => ({
4410
4410
  value: A,
4411
4411
  label: A
4412
4412
  })),
@@ -4431,7 +4431,7 @@ const Vi = {
4431
4431
  Mt,
4432
4432
  {
4433
4433
  style: { minWidth: 100 },
4434
- options: Object.values(ur).map((A) => ({
4434
+ options: Object.values(lr).map((A) => ({
4435
4435
  value: A,
4436
4436
  label: A
4437
4437
  })),
@@ -4460,7 +4460,7 @@ const Vi = {
4460
4460
  ] }) });
4461
4461
  }, Fs = ({ filters: e, learning: r }) => {
4462
4462
  var d;
4463
- const [i, n] = re(r), { error: t, data: o, loading: s, refetch: u } = lr({
4463
+ const [i, n] = re(r), { error: t, data: o, loading: s, refetch: u } = or({
4464
4464
  queryFn: () => ve.get("coach/training", e),
4465
4465
  enabled: !1
4466
4466
  });