@tesouro/embedded-components-react 0.3.47 → 0.3.49
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/README.md +30 -8
- package/dist/index.d.ts +80 -35
- package/dist/index.js +46 -44
- package/dist/lib/CreditCardsWidget.d.ts +1347 -0
- package/dist/lib/CreditCardsWidget.js +3 -0
- package/dist/lib/{CardsWidget.d.ts → DebitCardsWidget.d.ts} +46 -27
- package/dist/lib/DebitCardsWidget.js +3 -0
- package/dist/lib/WidgetSuite.d.ts +52 -13
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index10.js +17 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index11.js +17 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index8.js +144 -130
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index9.js +3 -10
- package/package.json +1 -1
- package/dist/lib/CardsWidget.js +0 -3
|
@@ -6,9 +6,8 @@ import { useWidgetSuiteProvider as e } from "./index6.js";
|
|
|
6
6
|
import { hasAnyScope as t } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
7
7
|
import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
8
8
|
import "../../../shared/data-access/dist/index.js";
|
|
9
|
-
import {
|
|
10
|
-
import "../../../
|
|
11
|
-
import { CardsWidget as i } from "../../../cards-widget/feature/dist/index9.js";
|
|
9
|
+
import { CreditCardsWidget as r } from "../../../cards-widget/feature/dist/index10.js";
|
|
10
|
+
import { DebitCardsWidget as i } from "../../../cards-widget/feature/dist/index11.js";
|
|
12
11
|
import "../../../cards-widget/feature/dist/index.js";
|
|
13
12
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
14
13
|
//#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index9.js
|
|
@@ -16,13 +15,7 @@ function s() {
|
|
|
16
15
|
let { grantedScopes: s, labels: c } = e();
|
|
17
16
|
return /* @__PURE__ */ o("div", {
|
|
18
17
|
className: "ttw:grid ttw:gap-8",
|
|
19
|
-
children: [t(s, [n.CreditCardReadOrg]) && /* @__PURE__ */ a(i, {
|
|
20
|
-
cardProgram: r.Credit,
|
|
21
|
-
...c.sections.cards.creditCards
|
|
22
|
-
}), t(s, [n.DebitCardReadOrg]) && /* @__PURE__ */ a(i, {
|
|
23
|
-
cardProgram: r.Debit,
|
|
24
|
-
...c.sections.cards.debitCards
|
|
25
|
-
})]
|
|
18
|
+
children: [t(s, [n.CreditCardReadOrg]) && /* @__PURE__ */ a(r, { ...c.sections.cards.creditCards }), t(s, [n.DebitCardReadOrg]) && /* @__PURE__ */ a(i, { ...c.sections.cards.debitCards })]
|
|
26
19
|
});
|
|
27
20
|
}
|
|
28
21
|
var c = {
|
package/package.json
CHANGED
package/dist/lib/CardsWidget.js
DELETED