@grapadigital/shared-app-modules 0.0.136 → 0.0.137

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.
@@ -266,6 +266,16 @@ declare interface FieldCalendarProps extends ControllerFieldState {
266
266
  ref?: React.Ref<HTMLButtonElement> | undefined;
267
267
  }
268
268
 
269
+ export declare const FieldCheckbox: ForwardRefExoticComponent<Omit<FieldCheckboxProps, "ref"> & RefAttributes<HTMLButtonElement>>;
270
+
271
+ declare type FieldCheckboxProps = Omit<React.ComponentProps<typeof Switch>, "value"> & ControllerFieldState & {
272
+ label?: string;
273
+ description?: string;
274
+ asterisk?: boolean;
275
+ value?: boolean;
276
+ onChange?(checked: boolean): void;
277
+ };
278
+
269
279
  export declare const FieldClientSelectInput: ForwardRefExoticComponent<Omit<FieldClientSelectInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
270
280
 
271
281
  declare type FieldClientSelectInputProps = React.ComponentProps<typeof ClientSelectInput> & ControllerFieldState & {
@@ -1,5 +1,5 @@
1
- import { a as b, y as N, c, H as v, B as F, aw as C, ax as I, ay as z, Y as T, Z as H, a1 as y, a0 as _, _ as j, a2 as A } from "./chuncks/switch.q7qsNhmq.js";
2
- import { k as ge, l as xe, p as be, q as me, r as he, F as fe, s as ue, t as pe, u as ye, v as we, w as ke, I as Ne, m as ve, x as Ce, L as Ie, P as ze, f as Me, g as Se, h as Fe, j as Te, y as He, n as _e, o as je, T as Ae, X as Le, Y as Pe } from "./chuncks/youtube-icon.component.8XVxXL6P.js";
1
+ import { a as b, y as N, c, H as v, B as S, aw as C, ax as I, ay as z, Y as T, Z as H, a1 as y, a0 as _, _ as j, a2 as A } from "./chuncks/switch.q7qsNhmq.js";
2
+ import { k as ge, l as xe, p as be, x as me, q as he, r as fe, F as ue, s as pe, t as ye, u as we, v as ke, w as Ne, I as ve, m as Ce, y as Ie, L as ze, P as Fe, f as Me, g as Se, h as Te, j as He, z as _e, n as je, o as Ae, T as Le, X as Pe, Y as $e } from "./chuncks/youtube-icon.component.CQod02PV.js";
3
3
  import { jsx as e, jsxs as o, Fragment as L } from "react/jsx-runtime";
4
4
  import "react";
5
5
  import { parseISO as w, differenceInCalendarDays as P, format as $ } from "date-fns";
@@ -56,7 +56,7 @@ function te({
56
56
  /* @__PURE__ */ e("div", { className: "relative mb-4", children: /* @__PURE__ */ e(a, { "aria-hidden": "true", className: "text-destructive/60 size-16" }) }),
57
57
  /* @__PURE__ */ e("h3", { className: "text-foreground mb-2 text-lg font-semibold", children: t }),
58
58
  /* @__PURE__ */ e("p", { className: "text-muted-foreground max-w-md text-sm leading-relaxed", children: l }),
59
- n && /* @__PURE__ */ o(F, { onClick: n, variant: "outline", className: "mt-6", children: [
59
+ n && /* @__PURE__ */ o(S, { onClick: n, variant: "outline", className: "mt-6", children: [
60
60
  /* @__PURE__ */ e(E, {}),
61
61
  "Tentar novamente"
62
62
  ] }),
@@ -158,12 +158,12 @@ function ne({
158
158
  isText: x = !1,
159
159
  isInvoiced: u = !1,
160
160
  hasCopyButton: m = !1,
161
- enableHoverableContent: M = !1,
161
+ enableHoverableContent: F = !1,
162
162
  handleCopy: p
163
163
  }) {
164
164
  let g = "";
165
165
  if (d && typeof t == "string" && !u && n) {
166
- const S = w(t), h = P(S, /* @__PURE__ */ new Date());
166
+ const M = w(t), h = P(M, /* @__PURE__ */ new Date());
167
167
  h > 15 ? g = "bg-yellow-100 font-bold" : h > 7 ? g = "bg-yellow-300 font-bold" : h >= 0 ? g = "bg-red-300 font-bold" : g = "bg-red-500 text-white font-bold";
168
168
  } else n && (g = "bg-[#ffe0b2] font-bold");
169
169
  return /* @__PURE__ */ e("div", { className: c("px-2 py-1 text-sm", g), children: /* @__PURE__ */ o(C, { openDelay: 0, closeDelay: 0, children: [
@@ -200,7 +200,7 @@ function ne({
200
200
  z,
201
201
  {
202
202
  align: "start",
203
- className: c(!M && "pointer-events-none"),
203
+ className: c(!F && "pointer-events-none"),
204
204
  children: /* @__PURE__ */ o("div", { className: "space-y-0.5", children: [
205
205
  /* @__PURE__ */ e("div", { className: "font-medium", children: a }),
206
206
  /* @__PURE__ */ e("div", { className: "font-normal opacity-80", children: l })
@@ -287,34 +287,35 @@ export {
287
287
  xe as ClientSelectInput,
288
288
  te as ErrorCard,
289
289
  be as FieldCalendar,
290
- me as FieldClientSelectInput,
291
- he as FieldInput,
292
- fe as FieldLabelWithAsterisk,
293
- ue as FieldProfileSelectInput,
294
- pe as FieldSaleSelectInput,
295
- ye as FieldSelect,
296
- we as FieldSwitch,
297
- ke as FieldTextarea,
290
+ me as FieldCheckbox,
291
+ he as FieldClientSelectInput,
292
+ fe as FieldInput,
293
+ ue as FieldLabelWithAsterisk,
294
+ pe as FieldProfileSelectInput,
295
+ ye as FieldSaleSelectInput,
296
+ we as FieldSelect,
297
+ ke as FieldSwitch,
298
+ Ne as FieldTextarea,
298
299
  ae as HoverContent,
299
300
  re as IconBadge,
300
- Ne as Image,
301
- ve as InfluencerSelectInput,
302
- Ce as InstagramIcon,
303
- Ie as LinkedInIcon,
301
+ ve as Image,
302
+ Ce as InfluencerSelectInput,
303
+ Ie as InstagramIcon,
304
+ ze as LinkedInIcon,
304
305
  le as List,
305
306
  ne as ListRow,
306
307
  ie as NotFoundCard,
307
- ze as PageHeader,
308
+ Fe as PageHeader,
308
309
  Me as PageHeaderActions,
309
310
  Se as PageHeaderContent,
310
- Fe as PageHeaderDescription,
311
- Te as PageHeaderTitle,
312
- He as PinterestIcon,
313
- _e as ProfileSelectInput,
314
- je as SaleSelectInput,
311
+ Te as PageHeaderDescription,
312
+ He as PageHeaderTitle,
313
+ _e as PinterestIcon,
314
+ je as ProfileSelectInput,
315
+ Ae as SaleSelectInput,
315
316
  se as TableSkeleton,
316
- Ae as TikTokIcon,
317
+ Le as TikTokIcon,
317
318
  oe as TwitterIcon,
318
- Le as XIcon,
319
- Pe as YoutubeIcon
319
+ Pe as XIcon,
320
+ $e as YoutubeIcon
320
321
  };
package/dist/constants.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as r, B as n, C as s, S as A, e as S, d as O } from "./chuncks/youtube-icon.component.8XVxXL6P.js";
1
+ import { A as r, B as n, C as s, S as A, e as S, d as O } from "./chuncks/youtube-icon.component.CQod02PV.js";
2
2
  const o = "Não há dados para atualizar.", a = "O filtro selecionado já está ativo. Por favor, escolha outro filtro antes de tentar novamente.", e = "Nenhum dado novo foi informado para realizar a operação. Por favor, atualize os campos antes de tentar novamente.", t = "Não foi possível concluir a operação. Tente novamente mais tarde ou entre em contato com o suporte.";
3
3
  export {
4
4
  r as ACTION_TYPE_VALUES,
package/dist/events.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as o } from "./chuncks/format.util.C9QktZwF.js";
1
+ import { h as o } from "./chuncks/format.util.B54bEnt8.js";
2
2
  const i = (t, a) => {
3
3
  const e = t.target.value, n = o(e);
4
4
  n !== !1 && a(n);
package/dist/utils.js CHANGED
@@ -1,5 +1,5 @@
1
- import { f as e, a as r, b as m, c as t, m as o, d as c, e as i, g as n, p, h as C, u as f } from "./chuncks/format.util.C9QktZwF.js";
2
- import { i as k, a as P, b, c as N } from "./chuncks/youtube-icon.component.8XVxXL6P.js";
1
+ import { f as e, a as r, b as m, c as t, m as o, d as c, e as i, g as n, p, h as C, u as f } from "./chuncks/format.util.B54bEnt8.js";
2
+ import { i as k, a as P, b, c as N } from "./chuncks/youtube-icon.component.CQod02PV.js";
3
3
  export {
4
4
  e as formatCompactNumber,
5
5
  r as formatCompactPercent,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grapadigital/shared-app-modules",
3
3
  "private": false,
4
- "version": "0.0.136",
4
+ "version": "0.0.137",
5
5
  "files": [
6
6
  "dist"
7
7
  ],