@tesouro/embedded-components-react 0.11.96 → 0.11.101
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/experimental/QuickViewWidget.d.ts +62 -2
- package/dist/experimental/index.d.ts +62 -2
- package/dist/index.css +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/ReceivablesWidget.d.ts +2 -0
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/accounts/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/bills/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/data-access/dist/index.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/data-access/dist/index2.js +98 -0
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/CardsQuickViewWidgetFeature.js +80 -0
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/labels.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/summarizeCardSpend.js +17 -0
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/testIds.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/useCardSpendSummary.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/analytics/events.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/ui/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/ui/dist/index2.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/ui/dist/index3.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/feature/dist/lib/QuickViewWidget/QuickViewWidget.js +57 -44
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/feature/dist/lib/QuickViewWidget/labels.js +6 -3
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/invoices/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +43 -43
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/debit-card/useAllDebitCardsQuery.js +22 -18
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +97 -97
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +166 -154
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +47 -24
- package/package.json +1 -1
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
|
|
2
|
-
var e = "@tesouro/embedded-components-react", t = "0.11.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.11.101", n = "5184973b6c1232af99c7a33b06595f3f02897dde", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
|
@@ -17439,36 +17439,59 @@ function OM({ activeCount: e, size: t = "sm", labels: n, className: r, ...i }) {
|
|
|
17439
17439
|
}
|
|
17440
17440
|
var kM = {
|
|
17441
17441
|
edit: "Edit {label}",
|
|
17442
|
-
remove: "Remove {label} filter"
|
|
17442
|
+
remove: "Remove {label} filter",
|
|
17443
|
+
removeFull: "Remove filter {label}"
|
|
17443
17444
|
};
|
|
17444
|
-
function AM({ label: e,
|
|
17445
|
-
let
|
|
17445
|
+
function AM({ label: e, fullLabel: t, count: n, variant: r = "default", onLabelClick: i, onDismiss: a, isActive: o = !1, labels: s, className: c, disabled: l, ...u }) {
|
|
17446
|
+
let d = {
|
|
17446
17447
|
...kM,
|
|
17447
|
-
...
|
|
17448
|
-
},
|
|
17449
|
-
|
|
17448
|
+
...s
|
|
17449
|
+
}, f = t !== void 0, p = n === void 0 ? e : `${e} (${n})`, m = f ? _y(d.removeFull, { label: t }) : _y(d.remove, { label: e }), h = f ? /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _("span", {
|
|
17450
|
+
"aria-hidden": "true",
|
|
17451
|
+
children: p
|
|
17452
|
+
}), /* @__PURE__ */ _("span", {
|
|
17453
|
+
className: "ttw:sr-only",
|
|
17454
|
+
children: t
|
|
17455
|
+
})] }) : p, y = (e, n = !1) => f ? /* @__PURE__ */ _(Nw, { children: /* @__PURE__ */ v(Pw, { children: [/* @__PURE__ */ _(Fw, {
|
|
17456
|
+
asChild: !0,
|
|
17457
|
+
children: n ? /* @__PURE__ */ _("span", {
|
|
17458
|
+
tabIndex: 0,
|
|
17459
|
+
className: Y("ttw:inline-flex ttw:min-w-0 ttw:rounded-md", "ttw:focus-visible:outline-2 ttw:focus-visible:outline-offset-2 ttw:focus-visible:outline-ring"),
|
|
17460
|
+
children: e
|
|
17461
|
+
}) : e
|
|
17462
|
+
}), /* @__PURE__ */ _(Iw, {
|
|
17463
|
+
sideOffset: 4,
|
|
17464
|
+
collisionPadding: 8,
|
|
17465
|
+
className: "ttw:max-w-[min(20rem,var(--radix-tooltip-content-available-width))] ttw:wrap-break-word",
|
|
17466
|
+
children: t
|
|
17467
|
+
})] }) }) : e;
|
|
17468
|
+
return r === "preset" ? y(/* @__PURE__ */ v("button", {
|
|
17450
17469
|
type: "button",
|
|
17451
|
-
className: Y("ttw:inline-flex ttw:items-center ttw:gap-1", "ttw:h-8 ttw:px-3 ttw:rounded-md", "ttw:border ttw:text-sm ttw:font-medium", "ttw:transition-colors ttw:cursor-pointer", "ttw:focus-visible:outline-none ttw:focus-visible:border-ring", "ttw:focus-visible:ring-[3px] ttw:focus-visible:ring-ring/50", "ttw:disabled:pointer-events-none ttw:disabled:opacity-50",
|
|
17452
|
-
disabled:
|
|
17453
|
-
...
|
|
17454
|
-
children: [/* @__PURE__ */ _("span", { children:
|
|
17455
|
-
}) : /* @__PURE__ */ v("div", {
|
|
17456
|
-
className: Y("ttw:inline-flex ttw:items-center ttw:gap-0.5", "ttw:h-8 ttw:pl-3 ttw:pr-1 ttw:py-1 ttw:rounded-md", "ttw:bg-primary/10 ttw:text-sm ttw:font-medium",
|
|
17457
|
-
children: [
|
|
17470
|
+
className: Y("ttw:inline-flex ttw:items-center ttw:gap-1", "ttw:h-8 ttw:px-3 ttw:rounded-md", "ttw:border ttw:text-sm ttw:font-medium", "ttw:transition-colors ttw:cursor-pointer", "ttw:focus-visible:outline-none ttw:focus-visible:border-ring", "ttw:focus-visible:ring-[3px] ttw:focus-visible:ring-ring/50", "ttw:disabled:pointer-events-none ttw:disabled:opacity-50", o ? "ttw:border-primary ttw:bg-primary/10 ttw:text-primary ttw:hover:bg-primary/15" : "ttw:border-input ttw:bg-background ttw:text-foreground ttw:hover:bg-accent ttw:hover:text-accent-foreground", c),
|
|
17471
|
+
disabled: l,
|
|
17472
|
+
...u,
|
|
17473
|
+
children: [/* @__PURE__ */ _("span", { children: h }), /* @__PURE__ */ _(z, { className: "ttw:size-4 ttw:shrink-0" })]
|
|
17474
|
+
}), l) : /* @__PURE__ */ v("div", {
|
|
17475
|
+
className: Y("ttw:inline-flex ttw:items-center ttw:gap-0.5", "ttw:h-8 ttw:pl-3 ttw:pr-1 ttw:py-1 ttw:rounded-md", "ttw:bg-primary/10 ttw:text-sm ttw:font-medium", c),
|
|
17476
|
+
children: [i ? y(/* @__PURE__ */ _("button", {
|
|
17458
17477
|
type: "button",
|
|
17459
|
-
onClick:
|
|
17460
|
-
disabled:
|
|
17461
|
-
"aria-label": _y(
|
|
17462
|
-
className: Y("ttw:min-w-0 ttw:flex-1 ttw:text-left ttw:truncate", "ttw:rounded-md ttw:border-0 ttw:bg-transparent ttw:p-0 ttw:m-0", "ttw:cursor-pointer ttw:font-[inherit] ttw:text-inherit", "ttw:hover:bg-primary/15 ttw:transition-colors", "ttw:focus-visible:outline-none ttw:focus-visible:ring-2 ttw:focus-visible:ring-ring"),
|
|
17463
|
-
children:
|
|
17464
|
-
}) : /* @__PURE__ */ _("span", {
|
|
17478
|
+
onClick: i,
|
|
17479
|
+
disabled: l,
|
|
17480
|
+
"aria-label": _y(d.edit, { label: t ?? e }),
|
|
17481
|
+
className: Y("ttw:min-w-0 ttw:flex-1 ttw:text-left ttw:truncate", "ttw:rounded-md ttw:border-0 ttw:bg-transparent ttw:p-0 ttw:m-0", "ttw:cursor-pointer ttw:font-[inherit] ttw:text-inherit", "ttw:hover:bg-primary/15 ttw:transition-colors", "ttw:focus-visible:outline-none ttw:focus-visible:ring-2 ttw:focus-visible:ring-ring", "ttw:disabled:pointer-events-none"),
|
|
17482
|
+
children: p
|
|
17483
|
+
}), l) : f ? y(/* @__PURE__ */ _("span", {
|
|
17484
|
+
tabIndex: 0,
|
|
17485
|
+
className: Y("ttw:shrink-0 ttw:rounded-md", "ttw:focus-visible:outline-2 ttw:focus-visible:outline-offset-2 ttw:focus-visible:outline-ring"),
|
|
17486
|
+
children: h
|
|
17487
|
+
})) : /* @__PURE__ */ _("span", {
|
|
17465
17488
|
className: "ttw:shrink-0",
|
|
17466
|
-
children:
|
|
17467
|
-
}),
|
|
17489
|
+
children: p
|
|
17490
|
+
}), a && /* @__PURE__ */ _("button", {
|
|
17468
17491
|
type: "button",
|
|
17469
|
-
onClick:
|
|
17470
|
-
disabled:
|
|
17471
|
-
"aria-label":
|
|
17492
|
+
onClick: a,
|
|
17493
|
+
disabled: l,
|
|
17494
|
+
"aria-label": m,
|
|
17472
17495
|
className: Y("ttw:inline-flex ttw:items-center ttw:justify-center", "ttw:size-6 ttw:rounded-sm ttw:cursor-pointer", "ttw:transition-colors ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50", "ttw:hover:bg-primary ttw:hover:text-primary-foreground", "ttw:focus-visible:outline-none ttw:focus-visible:ring-2", "ttw:focus-visible:ring-ring"),
|
|
17473
17496
|
children: /* @__PURE__ */ _(pe, { className: "ttw:size-4" })
|
|
17474
17497
|
})]
|