@tesouro/embedded-components-react 0.5.11 → 0.5.13

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.
Files changed (24) hide show
  1. package/README.md +1 -1
  2. package/dist/libs/tesouro-embedded-components-react/{gl-code-table-widget → settings-widget/chart-of-accounts}/data-access/dist/index.js +2 -2
  3. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/data-access/dist/index2.js +10 -0
  4. package/dist/libs/tesouro-embedded-components-react/{gl-code-table-widget → settings-widget/chart-of-accounts}/data-access/dist/index3.js +6 -6
  5. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index2.js +5 -0
  6. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index3.js +14 -0
  7. package/dist/libs/tesouro-embedded-components-react/{gl-code-table-widget → settings-widget/chart-of-accounts}/feature/dist/index4.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/{gl-code-table-widget → settings-widget/chart-of-accounts}/feature/dist/index5.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/{gl-code-table-widget → settings-widget/chart-of-accounts}/feature/dist/index6.js +1 -1
  10. package/dist/libs/tesouro-embedded-components-react/{gl-code-table-widget → settings-widget/chart-of-accounts}/feature/dist/index7.js +4 -4
  11. package/dist/libs/tesouro-embedded-components-react/{gl-code-table-widget → settings-widget/chart-of-accounts}/feature/dist/index8.js +10 -10
  12. package/dist/libs/tesouro-embedded-components-react/{gl-code-table-widget → settings-widget/chart-of-accounts}/ui/dist/index2.js +1 -1
  13. package/dist/libs/tesouro-embedded-components-react/{gl-code-table-widget → settings-widget/chart-of-accounts}/ui/dist/index3.js +2 -2
  14. package/dist/libs/tesouro-embedded-components-react/{gl-code-table-widget → settings-widget/chart-of-accounts}/ui/dist/index4.js +2 -2
  15. package/dist/libs/tesouro-embedded-components-react/{gl-code-table-widget → settings-widget/chart-of-accounts}/ui/dist/index5.js +2 -2
  16. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +2 -2
  17. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  18. package/dist/packages/shared-ui-shadcn/dist/index.js +20 -10
  19. package/package.json +1 -1
  20. package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/data-access/dist/index2.js +0 -10
  21. package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index2.js +0 -4
  22. package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index3.js +0 -14
  23. /package/dist/libs/tesouro-embedded-components-react/{gl-code-table-widget → settings-widget/chart-of-accounts}/feature/dist/index.js +0 -0
  24. /package/dist/libs/tesouro-embedded-components-react/{gl-code-table-widget → settings-widget/chart-of-accounts}/ui/dist/index.js +0 -0
package/README.md CHANGED
@@ -527,7 +527,7 @@ A composite settings widget that combines Monite document settings, tags, GL cod
527
527
  | `teamContent` | `ReactNode` | Empty | Supplies the team section content. |
528
528
  | `invoiceContent` | `ReactNode` | Monite template settings | Replaces invoice settings content. |
529
529
  | `billPayContent` | `ReactNode` | Monite approval policies | Replaces bill-pay settings content. |
530
- | `accountingContent` | `ReactNode` | GL code table widget | Replaces accounting content. |
530
+ | `accountingContent` | `ReactNode` | Chart of accounts widget | Replaces accounting content. |
531
531
  | `tagsContent` | `ReactNode` | Monite tags | Replaces tags content. |
532
532
  | `expenseContent` | `ReactNode` | Expense policies and requirements | Replaces expense content. |
533
533
  | `profileContactUrl` | `string` | `undefined` | Forwarded to the Profile section's widget — where its "to change this information, contact your bank" line links. Left unset, the card shows the plain unlinked sentence instead; the bank name comes from widget init. |
@@ -1,5 +1,5 @@
1
- import { useLedgerAccountsQuery as e } from "../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
2
- import "../../../shared/data-access/dist/index.js";
1
+ import { useLedgerAccountsQuery as e } from "../../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
2
+ import "../../../../shared/data-access/dist/index.js";
3
3
  import "./index2.js";
4
4
  import { useCreateLedgerAccountMutation as t, useDeleteLedgerAccountMutation as n, useUpdateLedgerAccountMutation as r } from "./index3.js";
5
5
  export { t as useCreateLedgerAccountMutation, n as useDeleteLedgerAccountMutation, e as useGetLedgerAccountsQuery, r as useUpdateLedgerAccountMutation };
@@ -0,0 +1,10 @@
1
+ import { organizationHeaders as e } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
2
+ import { getLedgerAccountsQueryKey as t } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
3
+ import "../../../../shared/data-access/dist/index.js";
4
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/data-access/dist/index2.js
5
+ var n = ({ client: n, organizationId: r }) => t({
6
+ client: n,
7
+ headers: e(r)
8
+ });
9
+ //#endregion
10
+ export { n as ledgerAccountsInvalidationKey };
@@ -2,14 +2,14 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { invalidateAllClients as e } from "../../../shared/data-access/dist/lib/clientRegistry.js";
6
- import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
7
- import { organizationHeaders as n } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
8
- import { deleteLedgerAccountsIdMutation as r, patchLedgerAccountsIdMutation as i, postLedgerAccountsMutation as a } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
9
- import "../../../shared/data-access/dist/index.js";
5
+ import { invalidateAllClients as e } from "../../../../shared/data-access/dist/lib/clientRegistry.js";
6
+ import { useEmbedApi as t } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
7
+ import { organizationHeaders as n } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
8
+ import { deleteLedgerAccountsIdMutation as r, patchLedgerAccountsIdMutation as i, postLedgerAccountsMutation as a } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
9
+ import "../../../../shared/data-access/dist/index.js";
10
10
  import { ledgerAccountsInvalidationKey as o } from "./index2.js";
11
11
  import { useMutation as s } from "@tanstack/react-query";
12
- //#region ../../libs/tesouro-embedded-components-react/gl-code-table-widget/data-access/dist/index3.js
12
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/data-access/dist/index3.js
13
13
  function c() {
14
14
  let { client: r, organizationId: i } = t(), c = n(i), l = s({
15
15
  ...a({
@@ -0,0 +1,5 @@
1
+ import { SETTINGS_WIDGET_NAME as e } from "../../../shared/util/dist/lib/widgetName.js";
2
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index2.js
3
+ var t = `${e}.chart_of_accounts`, n = { Mounted: `${t}.mounted` };
4
+ //#endregion
5
+ export { n as ChartOfAccountsAnalyticsEvent, t as WIDGET_NAME };
@@ -0,0 +1,14 @@
1
+ import { hasAnyScope as e } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
2
+ import { Scope as t } from "../../../../shared/data-access/dist/lib/scopes.js";
3
+ import "../../../../shared/data-access/dist/index.js";
4
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index3.js
5
+ var n = [t.AccountingConfigReadOrg], r = [t.AccountingConfigWriteOrg];
6
+ function i(t) {
7
+ let i = new Set(t ?? []);
8
+ return {
9
+ canRead: e(i, n),
10
+ canWrite: e(i, r)
11
+ };
12
+ }
13
+ //#endregion
14
+ export { i as getChartOfAccountsPermissions };
@@ -1,5 +1,5 @@
1
1
  import "../../ui/dist/index.js";
2
- //#region ../../libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index4.js
2
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index4.js
3
3
  var e = {
4
4
  name: 500,
5
5
  nominalCode: 20,
@@ -1,4 +1,4 @@
1
- //#region ../../libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index5.js
1
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index5.js
2
2
  var e = {
3
3
  nameRequired: "Enter a name",
4
4
  glCodeRequired: "Enter a GL code",
@@ -1,5 +1,5 @@
1
1
  import { ACCOUNT_FIELD_LIMITS as e } from "./index4.js";
2
- //#region ../../libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index6.js
2
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index6.js
3
3
  function t(e, t) {
4
4
  return e.replace("{max}", () => String(t));
5
5
  }
@@ -2,9 +2,9 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
- import "../../../shared/ui/dist/index.js";
7
- import { extractApiErrorMessage as t } from "../../../shared/util/dist/lib/apiErrors.js";
5
+ import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
6
+ import "../../../../shared/ui/dist/index.js";
7
+ import { extractApiErrorMessage as t } from "../../../../shared/util/dist/lib/apiErrors.js";
8
8
  import { CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN as n } from "./index5.js";
9
9
  import { ACCOUNT_DELETE_DIALOG_LABELS_EN as r, ACCOUNT_FORM_SHEET_LABELS_EN as i } from "../../ui/dist/index2.js";
10
10
  import "../../ui/dist/index.js";
@@ -13,7 +13,7 @@ import { hasFormErrors as o, validateAccountForm as s } from "./index6.js";
13
13
  import { useCreateLedgerAccountMutation as c, useDeleteLedgerAccountMutation as l, useUpdateLedgerAccountMutation as u } from "../../data-access/dist/index3.js";
14
14
  import "../../data-access/dist/index.js";
15
15
  import { useCallback as d, useMemo as f, useRef as p, useState as m } from "react";
16
- //#region ../../libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index7.js
16
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js
17
17
  var h = {
18
18
  name: "",
19
19
  nominal_code: "",
@@ -2,14 +2,14 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { useLedgerAccountsQuery as e } from "../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
6
- import { EmbeddedToaster as t } from "../../../shared/ui/dist/lib/EmbeddedToaster.js";
7
- import "../../../shared/ui/dist/index.js";
8
- import { useAnalyticsTrack as n } from "../../../shared/feature/dist/lib/analytics/hooks.js";
9
- import { WidgetProvider as r } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
10
- import { useWidgetConfig as i } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
11
- import "../../../shared/feature/dist/index.js";
12
- import { GlCodeTableAnalyticsEvent as a, WIDGET_NAME as o } from "./index2.js";
5
+ import { useLedgerAccountsQuery as e } from "../../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
6
+ import { EmbeddedToaster as t } from "../../../../shared/ui/dist/lib/EmbeddedToaster.js";
7
+ import "../../../../shared/ui/dist/index.js";
8
+ import { useAnalyticsTrack as n } from "../../../../shared/feature/dist/lib/analytics/hooks.js";
9
+ import { WidgetProvider as r } from "../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
10
+ import { useWidgetConfig as i } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
11
+ import "../../../../shared/feature/dist/index.js";
12
+ import { ChartOfAccountsAnalyticsEvent as a, WIDGET_NAME as o } from "./index2.js";
13
13
  import { getChartOfAccountsPermissions as s } from "./index3.js";
14
14
  import { ChartOfAccountsTable as c } from "../../ui/dist/index3.js";
15
15
  import { AccountFormSheet as l } from "../../ui/dist/index4.js";
@@ -19,7 +19,7 @@ import "../../data-access/dist/index.js";
19
19
  import { useChartOfAccountsCrud as d } from "./index7.js";
20
20
  import { useCallback as f, useEffect as p, useMemo as m, useState as h } from "react";
21
21
  import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
22
- //#region ../../libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index8.js
22
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index8.js
23
23
  var y = [
24
24
  10,
25
25
  25,
@@ -75,7 +75,7 @@ function b({ onEdit: r, onDelete: o, onAdd: b, screenLabels: x, formLabels: S, d
75
75
  hasPrevPage: !!U?.prev_pagination_token,
76
76
  onNextPage: q,
77
77
  onPrevPage: J,
78
- emptyStateTestId: "gl-code-table-widget-empty-state",
78
+ emptyStateTestId: "chart-of-accounts-empty-state",
79
79
  onEdit: A,
80
80
  onDelete: j,
81
81
  onAdd: M
@@ -1,4 +1,4 @@
1
- //#region ../../libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index2.js
1
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index2.js
2
2
  var e = {
3
3
  subtitle: "An organized list of every account your business uses to record its financial transactions in its general ledger.",
4
4
  columnGlCode: "GL code",
@@ -1,9 +1,9 @@
1
- import { Button as e, DataTable as t, DropdownMenu as n, DropdownMenuContent as r, DropdownMenuItem as i, DropdownMenuTrigger as a, Skeleton as o, Table as s, TableBody as c, TableCell as l, TableHead as u, TableHeader as d, TableRow as f } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
1
+ import { Button as e, DataTable as t, DropdownMenu as n, DropdownMenuContent as r, DropdownMenuItem as i, DropdownMenuTrigger as a, Skeleton as o, Table as s, TableBody as c, TableCell as l, TableHead as u, TableHeader as d, TableRow as f } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
2
  import { CHART_OF_ACCOUNTS_LABELS_EN as p } from "./index2.js";
3
3
  import "react";
4
4
  import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
5
5
  import { AlertCircleIcon as _, ArrowDownIcon as v, ArrowUpDownIcon as y, ArrowUpIcon as b, FileTextIcon as x, MoreVerticalIcon as S, PencilIcon as C, PlusIcon as w, Trash2Icon as T } from "lucide-react";
6
- //#region ../../libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index3.js
6
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index3.js
7
7
  function E({ labels: e }) {
8
8
  return /* @__PURE__ */ g("div", {
9
9
  className: "ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:px-4 ttw:py-14 ttw:text-center",
@@ -1,9 +1,9 @@
1
- import { Button as e, DropdownMenu as t, DropdownMenuContent as n, DropdownMenuItem as r, DropdownMenuTrigger as i, Input as a, Label as o, Sheet as s, SheetClose as c, SheetContent as l, SheetDescription as u, SheetFooter as d, SheetHeader as f, SheetTitle as p, Textarea as m, Tooltip as h, TooltipContent as g, TooltipProvider as _, TooltipTrigger as v } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
1
+ import { Button as e, DropdownMenu as t, DropdownMenuContent as n, DropdownMenuItem as r, DropdownMenuTrigger as i, Input as a, Label as o, Sheet as s, SheetClose as c, SheetContent as l, SheetDescription as u, SheetFooter as d, SheetHeader as f, SheetTitle as p, Textarea as m, Tooltip as h, TooltipContent as g, TooltipProvider as _, TooltipTrigger as v } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
2
  import { ACCOUNT_FORM_SHEET_LABELS_EN as y } from "./index2.js";
3
3
  import { useId as b } from "react";
4
4
  import { jsx as x, jsxs as S } from "react/jsx-runtime";
5
5
  import { MoreVerticalIcon as C, Trash2Icon as w, XIcon as T } from "lucide-react";
6
- //#region ../../libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index4.js
6
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index4.js
7
7
  function E({ open: E, onOpenChange: D, title: O, description: k, values: A, errors: j, inProgress: M, submitDisabled: N, descriptionCounterText: P, onNameChange: F, onGlCodeChange: I, onDescriptionChange: L, onSubmit: R, onCancel: z, onDelete: B, labels: V }) {
8
8
  let H = {
9
9
  ...y,
@@ -1,7 +1,7 @@
1
- import { AlertDialog as e, AlertDialogCancel as t, AlertDialogContent as n, AlertDialogDescription as r, AlertDialogFooter as i, AlertDialogHeader as a, AlertDialogTitle as o, Button as s } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
1
+ import { AlertDialog as e, AlertDialogCancel as t, AlertDialogContent as n, AlertDialogDescription as r, AlertDialogFooter as i, AlertDialogHeader as a, AlertDialogTitle as o, Button as s } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
2
  import { ACCOUNT_DELETE_DIALOG_LABELS_EN as c } from "./index2.js";
3
3
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
4
- //#region ../../libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index5.js
4
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index5.js
5
5
  function d({ open: d, onOpenChange: f, title: p, message: m, isDeleting: h, error: g, onConfirm: _, onCancel: v, labels: y }) {
6
6
  let b = {
7
7
  ...c,
@@ -23,8 +23,8 @@ import { TeamWidget as m } from "../../../team-widget/feature/dist/index17.js";
23
23
  import "../../../team-widget/feature/dist/index.js";
24
24
  import { SettingsWidgetUi as h } from "../../ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js";
25
25
  import "../../ui/dist/index.js";
26
- import { ChartOfAccountsWidget as g } from "../../../gl-code-table-widget/feature/dist/index8.js";
27
- import "../../../gl-code-table-widget/feature/dist/index.js";
26
+ import { ChartOfAccountsWidget as g } from "../../chart-of-accounts/feature/dist/index8.js";
27
+ import "../../chart-of-accounts/feature/dist/index.js";
28
28
  import { HelpWidget as _ } from "../../../help-widget/feature/dist/index3.js";
29
29
  import "../../../help-widget/feature/dist/index.js";
30
30
  import { ProfileWidget as v } from "../../profile/feature/dist/index4.js";
@@ -1,5 +1,5 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.5.11", n = "378f94b86ee3573ee3d141fd9fe1c7cc7c3420b0", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.5.13", n = "58e919c9cd57cd466c01c0de9fcc47169dfd8279", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -16379,10 +16379,18 @@ function VA({ className: e, ...t }) {
16379
16379
  })]
16380
16380
  });
16381
16381
  }
16382
- function HA({ ...e }) {
16382
+ var HA = { closeToast: "Close notification" }, UA = {
16383
+ toast: "ttw:font-sans ttw:text-sm ttw:shadow-md",
16384
+ description: "ttw:text-sm",
16385
+ actionButton: "ttw:bg-primary ttw:text-primary-foreground ttw:rounded-md ttw:font-medium ttw:text-xs ttw:px-2.5 ttw:py-1",
16386
+ cancelButton: "ttw:bg-muted ttw:text-muted-foreground ttw:rounded-md ttw:text-xs ttw:px-2.5 ttw:py-1"
16387
+ };
16388
+ function WA({ toastOptions: e, ...t }) {
16383
16389
  return /* @__PURE__ */ g(S, {
16384
16390
  className: "toaster group",
16385
16391
  position: "bottom-right",
16392
+ duration: 5e3,
16393
+ closeButton: !0,
16386
16394
  style: {
16387
16395
  "--normal-bg": "var(--ttw-card)",
16388
16396
  "--normal-text": "var(--ttw-card-foreground)",
@@ -16411,16 +16419,18 @@ function HA({ ...e }) {
16411
16419
  className: "ttw:animate-spin ttw:text-muted-foreground"
16412
16420
  })
16413
16421
  },
16414
- toastOptions: { classNames: {
16415
- toast: "ttw:font-sans ttw:text-sm ttw:shadow-md",
16416
- description: "ttw:text-sm",
16417
- actionButton: "ttw:bg-primary ttw:text-primary-foreground ttw:rounded-md ttw:font-medium ttw:text-xs ttw:px-2.5 ttw:py-1",
16418
- cancelButton: "ttw:bg-muted ttw:text-muted-foreground ttw:rounded-md ttw:text-xs ttw:px-2.5 ttw:py-1"
16419
- } },
16420
- ...e
16422
+ ...t,
16423
+ toastOptions: {
16424
+ closeButtonAriaLabel: HA.closeToast,
16425
+ ...e,
16426
+ classNames: {
16427
+ ...UA,
16428
+ ...e?.classNames
16429
+ }
16430
+ }
16421
16431
  });
16422
16432
  }
16423
- function UA() {
16433
+ function GA() {
16424
16434
  let [e, t] = d(!1), [n, r] = d(null);
16425
16435
  return {
16426
16436
  isMenuOpen: e,
@@ -16439,4 +16449,4 @@ function UA() {
16439
16449
  };
16440
16450
  }
16441
16451
  //#endregion
16442
- export { RA as AMOUNT_FILTER_LABELS_EN, U_ as Accordion, K_ as AccordionContent, W_ as AccordionItem, G_ as AccordionTrigger, Z_ as Alert, $_ as AlertDescription, sv as AlertDialog, hv as AlertDialogAction, gv as AlertDialogCancel, uv as AlertDialogContent, mv as AlertDialogDescription, fv as AlertDialogFooter, dv as AlertDialogHeader, lv as AlertDialogOverlay, cv as AlertDialogPortal, pv as AlertDialogTitle, Q_ as AlertTitle, BA as AmountFilter, Cv as Avatar, wv as AvatarFallback, Ev as Badge, rv as Button, Dv as COMBOBOX_LABELS_EN, mD as Calendar, hD as CalendarDayButton, tC as Checkbox, _v as Collapsible, yv as CollapsibleContent, vv as CollapsibleTrigger, jv as Combobox, bA as Command, CA as CommandEmpty, wA as CommandGroup, xA as CommandInput, EA as CommandItem, SA as CommandList, TA as CommandSeparator, Nv as DATA_TABLE_LABELS_EN, FA as DATE_RANGE_PICKER_LABELS_EN, uy as DIALOG_LABELS_EN, oy as DataTable, ly as DataTableSortableHeader, PA as DatePicker, IA as DateRangePicker, dy as Dialog, py as DialogClose, hy as DialogContent, yy as DialogDescription, _y as DialogFooter, gy as DialogHeader, my as DialogOverlay, fy as DialogPortal, vy as DialogTitle, Pv as DropdownMenu, zv as DropdownMenuCheckboxItem, Iv as DropdownMenuContent, Lv as DropdownMenuGroup, Rv as DropdownMenuItem, Bv as DropdownMenuLabel, Vv as DropdownMenuSeparator, Fv as DropdownMenuTrigger, DA as FILTER_MENU_BUTTON_LABELS_EN, kA as FILTER_TAG_LABELS_EN, jA as FilterBar, OA as FilterMenuButton, AA as FilterTag, Sy as Input, Cy as InputGroup, Ty as InputGroupAddon, wy as InputGroupInput, Dy as InputTags, by as Label, LA as MultiSelectFilter, ZS as Popover, eC as PopoverAnchor, $S as PopoverContent, QS as PopoverTrigger, av as PortalContainerProvider, nC as RadioGroup, rC as RadioGroupItem, Oy as SHEET_LABELS_EN, ev as SPINNER_LABELS_EN, VA as SearchInput, Hv as Select, Kv as SelectContent, Uv as SelectGroup, Jv as SelectItem, qv as SelectLabel, Xv as SelectScrollDownButton, Yv as SelectScrollUpButton, Gv as SelectTrigger, Wv as SelectValue, xy as Separator, ky as Sheet, Ay as SheetClose, Ny as SheetContent, Ly as SheetDescription, Fy as SheetFooter, Py as SheetHeader, Iy as SheetTitle, Sv as Skeleton, tv as Spinner, Hy as Switch, Zv as Table, $v as TableBody, ny as TableCell, ty as TableHead, Qv as TableHeader, ey as TableRow, Uy as Tabs, qy as TabsContent, Gy as TabsList, Ky as TabsTrigger, Jy as Textarea, HA as Toaster, zy as Tooltip, Vy as TooltipContent, Ry as TooltipProvider, By as TooltipTrigger, XS as Typography, Tv as badgeVariants, nv as buttonVariants, q as cn, Mv as formatLabel, Wy as tabsListVariants, C as toast, JS as typographyVariants, UA as useFilterPanel, ov as usePortalContainer };
16452
+ export { RA as AMOUNT_FILTER_LABELS_EN, U_ as Accordion, K_ as AccordionContent, W_ as AccordionItem, G_ as AccordionTrigger, Z_ as Alert, $_ as AlertDescription, sv as AlertDialog, hv as AlertDialogAction, gv as AlertDialogCancel, uv as AlertDialogContent, mv as AlertDialogDescription, fv as AlertDialogFooter, dv as AlertDialogHeader, lv as AlertDialogOverlay, cv as AlertDialogPortal, pv as AlertDialogTitle, Q_ as AlertTitle, BA as AmountFilter, Cv as Avatar, wv as AvatarFallback, Ev as Badge, rv as Button, Dv as COMBOBOX_LABELS_EN, mD as Calendar, hD as CalendarDayButton, tC as Checkbox, _v as Collapsible, yv as CollapsibleContent, vv as CollapsibleTrigger, jv as Combobox, bA as Command, CA as CommandEmpty, wA as CommandGroup, xA as CommandInput, EA as CommandItem, SA as CommandList, TA as CommandSeparator, Nv as DATA_TABLE_LABELS_EN, FA as DATE_RANGE_PICKER_LABELS_EN, uy as DIALOG_LABELS_EN, oy as DataTable, ly as DataTableSortableHeader, PA as DatePicker, IA as DateRangePicker, dy as Dialog, py as DialogClose, hy as DialogContent, yy as DialogDescription, _y as DialogFooter, gy as DialogHeader, my as DialogOverlay, fy as DialogPortal, vy as DialogTitle, Pv as DropdownMenu, zv as DropdownMenuCheckboxItem, Iv as DropdownMenuContent, Lv as DropdownMenuGroup, Rv as DropdownMenuItem, Bv as DropdownMenuLabel, Vv as DropdownMenuSeparator, Fv as DropdownMenuTrigger, DA as FILTER_MENU_BUTTON_LABELS_EN, kA as FILTER_TAG_LABELS_EN, jA as FilterBar, OA as FilterMenuButton, AA as FilterTag, Sy as Input, Cy as InputGroup, Ty as InputGroupAddon, wy as InputGroupInput, Dy as InputTags, by as Label, LA as MultiSelectFilter, ZS as Popover, eC as PopoverAnchor, $S as PopoverContent, QS as PopoverTrigger, av as PortalContainerProvider, nC as RadioGroup, rC as RadioGroupItem, Oy as SHEET_LABELS_EN, HA as SONNER_LABELS_EN, ev as SPINNER_LABELS_EN, VA as SearchInput, Hv as Select, Kv as SelectContent, Uv as SelectGroup, Jv as SelectItem, qv as SelectLabel, Xv as SelectScrollDownButton, Yv as SelectScrollUpButton, Gv as SelectTrigger, Wv as SelectValue, xy as Separator, ky as Sheet, Ay as SheetClose, Ny as SheetContent, Ly as SheetDescription, Fy as SheetFooter, Py as SheetHeader, Iy as SheetTitle, Sv as Skeleton, tv as Spinner, Hy as Switch, Zv as Table, $v as TableBody, ny as TableCell, ty as TableHead, Qv as TableHeader, ey as TableRow, Uy as Tabs, qy as TabsContent, Gy as TabsList, Ky as TabsTrigger, Jy as Textarea, WA as Toaster, zy as Tooltip, Vy as TooltipContent, Ry as TooltipProvider, By as TooltipTrigger, XS as Typography, Tv as badgeVariants, nv as buttonVariants, q as cn, Mv as formatLabel, Wy as tabsListVariants, C as toast, JS as typographyVariants, GA as useFilterPanel, ov as usePortalContainer };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.5.11",
3
+ "version": "0.5.13",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {
@@ -1,10 +0,0 @@
1
- import { organizationHeaders as e } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
2
- import { getLedgerAccountsQueryKey as t } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
3
- import "../../../shared/data-access/dist/index.js";
4
- //#region ../../libs/tesouro-embedded-components-react/gl-code-table-widget/data-access/dist/index2.js
5
- var n = ({ client: n, organizationId: r }) => t({
6
- client: n,
7
- headers: e(r)
8
- });
9
- //#endregion
10
- export { n as ledgerAccountsInvalidationKey };
@@ -1,4 +0,0 @@
1
- //#region ../../libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index2.js
2
- var e = { Mounted: "gl_code_table.mounted" }, t = "gl_code_table";
3
- //#endregion
4
- export { e as GlCodeTableAnalyticsEvent, t as WIDGET_NAME };
@@ -1,14 +0,0 @@
1
- import { hasAnyScope as e } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
2
- import { Scope as t } from "../../../shared/data-access/dist/lib/scopes.js";
3
- import "../../../shared/data-access/dist/index.js";
4
- //#region ../../libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index3.js
5
- var n = [t.AccountingConfigReadOrg], r = [t.AccountingConfigWriteOrg];
6
- function i(t) {
7
- let i = new Set(t ?? []);
8
- return {
9
- canRead: e(i, n),
10
- canWrite: e(i, r)
11
- };
12
- }
13
- //#endregion
14
- export { i as getChartOfAccountsPermissions };