@tesouro/embedded-components-react 0.11.206 → 0.11.211
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/index.css +13 -126
- package/dist/index.d.ts +6 -5
- package/dist/lib/ReceivablesWidget.d.ts +6 -5
- package/dist/lib/WidgetSuite.d.ts +6 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivableAttachmentsSection.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivableCustomerSection.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/details.js +186 -239
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +59 -52
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/paymentRecord.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/paymentTerms.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/preview.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurrence.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurringSeries.js +19 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/reminders.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/statusColors.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableDetails.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableForm.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentRecord.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +28 -27
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index11.js +18 -120
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js +89 -84
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +91 -36
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +9 -25
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +26 -208
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +209 -52
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +50 -208
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index21.js +186 -138
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +157 -12
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +2 -116
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +117 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +3 -198
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +198 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +2 -54
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +22 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +40 -77
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +17 -37
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +8 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +61 -38
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +27 -27
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +26 -15
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index39.js +19 -35
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index40.js +31 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index41.js +67 -24
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index42.js +391 -84
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index43.js +2 -494
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index44.js +47 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index45.js +62 -38
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index46.js +433 -61
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +176 -428
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index48.js +20 -224
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index49.js +6 -21
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index51.js +264 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index52.js +2 -264
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index53.js +131 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index54.js +22 -126
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index55.js +235 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index56.js +3 -239
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index57.js +247 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index58.js +26 -244
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index59.js +183 -26
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index60.js +21 -194
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index61.js +143 -21
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index62.js +2 -143
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index63.js +47 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index16.js +47 -48
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +127 -144
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index3.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index16.js +107 -111
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index7.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/helpers.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +1554 -1544
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index50.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index64.js +0 -47
|
@@ -2,242 +2,238 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { Badge as e, Button as t, DescriptionList as n, DropdownMenu as r, DropdownMenuContent as i, DropdownMenuItem as a,
|
|
6
|
-
import { LoadingRegion as
|
|
5
|
+
import { Badge as e, Button as t, DescriptionList as n, DropdownMenu as r, DropdownMenuContent as i, DropdownMenuItem as a, DropdownMenuTrigger as o, Heading as s, Skeleton as c, Table as l, TableBody as u, TableCell as d, TableHead as f, TableHeader as p, TableRow as m, Tooltip as h, TooltipContent as g, TooltipProvider as _, TooltipTrigger as v } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { LoadingRegion as y } from "../../../../shared/ui/dist/lib/LoadingRegion/LoadingRegion.js";
|
|
7
7
|
import "../../../../shared/ui/dist/index.js";
|
|
8
|
-
import { AccountAccessSummaryTable as
|
|
9
|
-
import { DEFAULT_LABELS as
|
|
10
|
-
import { AuthorizedSignerBadge as
|
|
11
|
-
import { useEffect as
|
|
12
|
-
import { Fragment as
|
|
13
|
-
import { ArrowLeftIcon as
|
|
8
|
+
import { AccountAccessSummaryTable as b } from "./index2.js";
|
|
9
|
+
import { DEFAULT_LABELS as x } from "./index5.js";
|
|
10
|
+
import { AuthorizedSignerBadge as S } from "./index14.js";
|
|
11
|
+
import { useEffect as C, useRef as w } from "react";
|
|
12
|
+
import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
13
|
+
import { ArrowLeftIcon as O, MoreVertical as k } from "lucide-react";
|
|
14
14
|
// ../../libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index16.js
|
|
15
|
-
function
|
|
15
|
+
function A({ name: A, email: j, roleCardTitle: M, roleCardDescription: N, isRoleLoading: P = !1, showAuthorizedSignerBadge: F = !1, statusLabel: I, statusTone: L, lastSignInLabel: R, departmentLabel: z, locationLabel: B, reportingManagerName: V, directReports: H = [], accountAccessLabel: U, accountAccessRows: W = [], isAccountAccessLoading: G = !1, onBackClick: K, onEditClick: q, onResendClick: J, isResending: Y = !1, onDeactivateClick: X, labels: Z }) {
|
|
16
16
|
let Q = {
|
|
17
|
-
...
|
|
17
|
+
...x,
|
|
18
18
|
...Z
|
|
19
|
-
}, $ =
|
|
20
|
-
return
|
|
19
|
+
}, $ = w(null);
|
|
20
|
+
return C(() => {
|
|
21
21
|
$.current?.focus();
|
|
22
|
-
}, []), /* @__PURE__ */
|
|
23
|
-
"aria-label":
|
|
22
|
+
}, []), /* @__PURE__ */ D("section", {
|
|
23
|
+
"aria-label": A,
|
|
24
24
|
className: "ttw:flex ttw:flex-col ttw:gap-6 ttw:rounded-md ttw:border ttw:border-border ttw:bg-card ttw:p-6",
|
|
25
25
|
children: [
|
|
26
|
-
/* @__PURE__ */
|
|
26
|
+
/* @__PURE__ */ D("div", {
|
|
27
27
|
className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-2",
|
|
28
|
-
children: [/* @__PURE__ */
|
|
28
|
+
children: [/* @__PURE__ */ D(t, {
|
|
29
29
|
ref: $,
|
|
30
30
|
variant: "ghost",
|
|
31
31
|
size: "sm",
|
|
32
|
-
onClick:
|
|
33
|
-
children: [/* @__PURE__ */
|
|
34
|
-
}), /* @__PURE__ */
|
|
32
|
+
onClick: K,
|
|
33
|
+
children: [/* @__PURE__ */ E(O, { className: "ttw:size-4" }), Q.detailsBackButton]
|
|
34
|
+
}), /* @__PURE__ */ D("div", {
|
|
35
35
|
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
36
|
-
children: [
|
|
36
|
+
children: [q && /* @__PURE__ */ E(t, {
|
|
37
37
|
variant: "ghost",
|
|
38
38
|
size: "sm",
|
|
39
|
-
onClick:
|
|
39
|
+
onClick: q,
|
|
40
40
|
children: Q.detailsEditButton
|
|
41
|
-
}),
|
|
41
|
+
}), X && /* @__PURE__ */ D(r, { children: [/* @__PURE__ */ E(_, { children: /* @__PURE__ */ D(h, { children: [/* @__PURE__ */ E(v, {
|
|
42
42
|
asChild: !0,
|
|
43
|
-
children: /* @__PURE__ */
|
|
43
|
+
children: /* @__PURE__ */ E(o, {
|
|
44
44
|
asChild: !0,
|
|
45
|
-
children: /* @__PURE__ */
|
|
45
|
+
children: /* @__PURE__ */ E(t, {
|
|
46
46
|
variant: "ghost",
|
|
47
47
|
size: "icon-sm",
|
|
48
48
|
"aria-label": Q.detailsMoreActions,
|
|
49
|
-
children: /* @__PURE__ */
|
|
49
|
+
children: /* @__PURE__ */ E(k, {
|
|
50
50
|
"aria-hidden": !0,
|
|
51
51
|
className: "ttw:size-4"
|
|
52
52
|
})
|
|
53
53
|
})
|
|
54
54
|
})
|
|
55
|
-
}), /* @__PURE__ */
|
|
55
|
+
}), /* @__PURE__ */ E(g, { children: Q.detailsMoreActions })] }) }), /* @__PURE__ */ E(i, {
|
|
56
56
|
align: "end",
|
|
57
|
-
children:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
Y && X && /* @__PURE__ */ D(o, {}),
|
|
63
|
-
X && /* @__PURE__ */ D(a, {
|
|
64
|
-
variant: "destructive",
|
|
65
|
-
onClick: X,
|
|
66
|
-
children: Q.detailsDeactivateButton
|
|
67
|
-
})
|
|
68
|
-
]
|
|
57
|
+
children: /* @__PURE__ */ E(a, {
|
|
58
|
+
variant: "destructive",
|
|
59
|
+
onClick: X,
|
|
60
|
+
children: Q.detailsDeactivateButton
|
|
61
|
+
})
|
|
69
62
|
})] })]
|
|
70
63
|
})]
|
|
71
64
|
}),
|
|
72
|
-
/* @__PURE__ */
|
|
65
|
+
/* @__PURE__ */ E("div", {
|
|
73
66
|
className: "ttw:flex ttw:items-center ttw:gap-3",
|
|
74
|
-
children: /* @__PURE__ */
|
|
67
|
+
children: /* @__PURE__ */ D("div", {
|
|
75
68
|
className: "ttw:min-w-0",
|
|
76
|
-
children: [/* @__PURE__ */
|
|
77
|
-
|
|
69
|
+
children: [/* @__PURE__ */ E(s, {
|
|
70
|
+
variant: "section",
|
|
71
|
+
level: 3,
|
|
72
|
+
children: A
|
|
73
|
+
}), /* @__PURE__ */ D("div", {
|
|
74
|
+
className: "ttw:mt-1 ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-x-2 ttw:gap-y-1 ttw:text-sm ttw:text-muted-foreground",
|
|
78
75
|
children: [
|
|
79
|
-
/* @__PURE__ */
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
children: j
|
|
76
|
+
/* @__PURE__ */ E(e, {
|
|
77
|
+
tone: L,
|
|
78
|
+
children: I
|
|
83
79
|
}),
|
|
84
|
-
/* @__PURE__ */
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
80
|
+
F && /* @__PURE__ */ E(S, { label: Q.authorizedSignerBadge }),
|
|
81
|
+
R ? /* @__PURE__ */ D(T, { children: [
|
|
82
|
+
/* @__PURE__ */ E("span", {
|
|
83
|
+
"aria-hidden": !0,
|
|
84
|
+
children: "|"
|
|
85
|
+
}),
|
|
86
|
+
/* @__PURE__ */ E("span", { children: Q.detailsLastSignInLabel }),
|
|
87
|
+
/* @__PURE__ */ E("span", { children: R })
|
|
88
|
+
] }) : null
|
|
89
89
|
]
|
|
90
|
-
}), /* @__PURE__ */ O("div", {
|
|
91
|
-
className: "ttw:mt-1 ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:text-muted-foreground",
|
|
92
|
-
children: [/* @__PURE__ */ D(e, {
|
|
93
|
-
tone: R,
|
|
94
|
-
children: L
|
|
95
|
-
}), z ? /* @__PURE__ */ O(E, { children: [
|
|
96
|
-
/* @__PURE__ */ D("span", {
|
|
97
|
-
"aria-hidden": !0,
|
|
98
|
-
children: "|"
|
|
99
|
-
}),
|
|
100
|
-
/* @__PURE__ */ D("span", { children: Q.detailsLastSignInLabel }),
|
|
101
|
-
/* @__PURE__ */ D("span", { children: z })
|
|
102
|
-
] }) : null]
|
|
103
90
|
})]
|
|
104
91
|
})
|
|
105
92
|
}),
|
|
106
|
-
/* @__PURE__ */
|
|
93
|
+
/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E(s, {
|
|
107
94
|
variant: "component",
|
|
108
95
|
level: 4,
|
|
109
96
|
className: "ttw:mb-2",
|
|
110
97
|
children: Q.detailsMemberDetailsHeading
|
|
111
|
-
}), /* @__PURE__ */
|
|
112
|
-
{
|
|
113
|
-
label: Q.detailsNameLabel,
|
|
114
|
-
value: j
|
|
115
|
-
},
|
|
98
|
+
}), /* @__PURE__ */ E(n, { items: [
|
|
116
99
|
{
|
|
117
100
|
label: Q.detailsDepartmentLabel,
|
|
118
|
-
value:
|
|
101
|
+
value: z
|
|
119
102
|
},
|
|
120
103
|
{
|
|
121
104
|
label: Q.detailsEmailLabel,
|
|
122
|
-
value:
|
|
105
|
+
value: J ? /* @__PURE__ */ D("span", {
|
|
106
|
+
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-x-3 ttw:gap-y-1",
|
|
107
|
+
children: [/* @__PURE__ */ E("span", {
|
|
108
|
+
className: "ttw:min-w-0",
|
|
109
|
+
children: j
|
|
110
|
+
}), /* @__PURE__ */ E(t, {
|
|
111
|
+
type: "button",
|
|
112
|
+
variant: "outline",
|
|
113
|
+
size: "sm",
|
|
114
|
+
disabled: Y,
|
|
115
|
+
onClick: J,
|
|
116
|
+
children: Q.detailsResendButton
|
|
117
|
+
})]
|
|
118
|
+
}) : j
|
|
123
119
|
},
|
|
124
120
|
{
|
|
125
121
|
label: Q.detailsLocationLabel,
|
|
126
|
-
value:
|
|
122
|
+
value: B
|
|
127
123
|
}
|
|
128
124
|
] })] }),
|
|
129
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E(s, {
|
|
130
126
|
variant: "component",
|
|
131
127
|
level: 4,
|
|
132
128
|
className: "ttw:mb-2",
|
|
133
129
|
children: Q.detailsReportingManagerLabel
|
|
134
|
-
}),
|
|
130
|
+
}), V ? /* @__PURE__ */ E("div", {
|
|
135
131
|
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
136
|
-
children: /* @__PURE__ */
|
|
132
|
+
children: /* @__PURE__ */ E("span", {
|
|
137
133
|
className: "ttw:text-sm ttw:text-foreground",
|
|
138
|
-
children:
|
|
134
|
+
children: V
|
|
139
135
|
})
|
|
140
|
-
}) : /* @__PURE__ */
|
|
136
|
+
}) : /* @__PURE__ */ E("p", {
|
|
141
137
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
142
138
|
children: Q.detailsReportingManagerNone
|
|
143
139
|
})] }),
|
|
144
|
-
|
|
140
|
+
H.length > 0 ? /* @__PURE__ */ E(T, { children: /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E(s, {
|
|
145
141
|
variant: "component",
|
|
146
142
|
level: 4,
|
|
147
143
|
className: "ttw:mb-2",
|
|
148
144
|
children: Q.detailsApprovesExpensesHeading
|
|
149
|
-
}), /* @__PURE__ */
|
|
145
|
+
}), /* @__PURE__ */ E("div", {
|
|
150
146
|
className: "ttw:overflow-hidden ttw:rounded-md ttw:border ttw:border-border",
|
|
151
|
-
children: /* @__PURE__ */
|
|
147
|
+
children: /* @__PURE__ */ D(l, { children: [/* @__PURE__ */ E(p, { children: /* @__PURE__ */ D(m, {
|
|
152
148
|
className: "ttw:bg-muted/50 ttw:hover:bg-muted/50",
|
|
153
149
|
children: [
|
|
154
|
-
/* @__PURE__ */
|
|
155
|
-
/* @__PURE__ */
|
|
156
|
-
/* @__PURE__ */
|
|
157
|
-
/* @__PURE__ */
|
|
150
|
+
/* @__PURE__ */ E(f, { children: Q.nameColumn }),
|
|
151
|
+
/* @__PURE__ */ E(f, { children: Q.roleColumn }),
|
|
152
|
+
/* @__PURE__ */ E(f, { children: Q.departmentColumn }),
|
|
153
|
+
/* @__PURE__ */ E(f, { children: Q.statusColumn })
|
|
158
154
|
]
|
|
159
|
-
}) }), /* @__PURE__ */
|
|
160
|
-
/* @__PURE__ */
|
|
155
|
+
}) }), /* @__PURE__ */ E(u, { children: H.map((t) => /* @__PURE__ */ D(m, { children: [
|
|
156
|
+
/* @__PURE__ */ E(d, { children: /* @__PURE__ */ E("div", {
|
|
161
157
|
className: "ttw:flex ttw:items-center ttw:gap-3",
|
|
162
|
-
children: /* @__PURE__ */
|
|
158
|
+
children: /* @__PURE__ */ E("span", {
|
|
163
159
|
className: "ttw:truncate ttw:text-sm ttw:font-medium ttw:text-foreground",
|
|
164
160
|
children: t.name
|
|
165
161
|
})
|
|
166
162
|
}) }),
|
|
167
|
-
/* @__PURE__ */
|
|
163
|
+
/* @__PURE__ */ E(d, { children: /* @__PURE__ */ E(e, {
|
|
168
164
|
variant: "secondary",
|
|
169
165
|
children: t.roleLabel
|
|
170
166
|
}) }),
|
|
171
|
-
/* @__PURE__ */
|
|
167
|
+
/* @__PURE__ */ E(d, {
|
|
172
168
|
className: "ttw:text-muted-foreground",
|
|
173
169
|
children: t.departmentLabel
|
|
174
170
|
}),
|
|
175
|
-
/* @__PURE__ */
|
|
171
|
+
/* @__PURE__ */ E(d, { children: /* @__PURE__ */ E(e, {
|
|
176
172
|
tone: t.statusTone,
|
|
177
173
|
children: t.statusLabel
|
|
178
174
|
}) })
|
|
179
175
|
] }, t.key)) })] })
|
|
180
176
|
})] }) }) : null,
|
|
181
|
-
/* @__PURE__ */
|
|
182
|
-
/* @__PURE__ */
|
|
177
|
+
/* @__PURE__ */ D("div", { children: [
|
|
178
|
+
/* @__PURE__ */ E(s, {
|
|
183
179
|
variant: "component",
|
|
184
180
|
level: 4,
|
|
185
181
|
className: "ttw:mb-2",
|
|
186
182
|
children: Q.rolesSectionHeading
|
|
187
183
|
}),
|
|
188
|
-
/* @__PURE__ */
|
|
184
|
+
/* @__PURE__ */ E("p", {
|
|
189
185
|
className: "ttw:mb-3 ttw:text-sm ttw:text-muted-foreground",
|
|
190
186
|
children: Q.rolesSectionDescription
|
|
191
187
|
}),
|
|
192
|
-
|
|
188
|
+
P ? /* @__PURE__ */ E(y, {
|
|
193
189
|
isLoading: !0,
|
|
194
190
|
loadingLabel: Q.roleLoadingLabel,
|
|
195
|
-
children: /* @__PURE__ */
|
|
191
|
+
children: /* @__PURE__ */ E(c, {
|
|
196
192
|
"aria-hidden": !0,
|
|
197
193
|
className: "ttw:h-12 ttw:w-full"
|
|
198
194
|
})
|
|
199
|
-
}) : /* @__PURE__ */
|
|
195
|
+
}) : /* @__PURE__ */ E("div", {
|
|
200
196
|
className: "ttw:flex ttw:w-full ttw:flex-col ttw:rounded-lg ttw:bg-muted ttw:p-4",
|
|
201
|
-
children: /* @__PURE__ */
|
|
197
|
+
children: /* @__PURE__ */ E("span", {
|
|
202
198
|
className: "ttw:flex ttw:w-full ttw:items-start ttw:gap-3",
|
|
203
|
-
children: /* @__PURE__ */
|
|
199
|
+
children: /* @__PURE__ */ D("span", {
|
|
204
200
|
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col ttw:gap-1",
|
|
205
|
-
children: [/* @__PURE__ */
|
|
201
|
+
children: [/* @__PURE__ */ E("span", {
|
|
206
202
|
className: "ttw:text-sm ttw:font-semibold ttw:text-foreground",
|
|
207
|
-
children:
|
|
208
|
-
}),
|
|
203
|
+
children: M
|
|
204
|
+
}), N ? /* @__PURE__ */ E("span", {
|
|
209
205
|
className: "ttw:text-sm ttw:leading-normal ttw:text-muted-foreground",
|
|
210
|
-
children:
|
|
206
|
+
children: N
|
|
211
207
|
}) : null]
|
|
212
208
|
})
|
|
213
209
|
})
|
|
214
210
|
})
|
|
215
211
|
] }),
|
|
216
|
-
/* @__PURE__ */
|
|
212
|
+
/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E(s, {
|
|
217
213
|
variant: "component",
|
|
218
214
|
level: 4,
|
|
219
215
|
className: "ttw:mb-2",
|
|
220
216
|
children: Q.detailsAccountAccessLabel
|
|
221
|
-
}),
|
|
217
|
+
}), G ? /* @__PURE__ */ E(y, {
|
|
222
218
|
isLoading: !0,
|
|
223
219
|
loadingLabel: Q.roleLoadingLabel,
|
|
224
|
-
children: /* @__PURE__ */
|
|
220
|
+
children: /* @__PURE__ */ E(c, {
|
|
225
221
|
"aria-hidden": !0,
|
|
226
222
|
className: "ttw:h-12 ttw:w-full"
|
|
227
223
|
})
|
|
228
|
-
}) :
|
|
229
|
-
rows:
|
|
224
|
+
}) : W.length > 0 ? /* @__PURE__ */ E(b, {
|
|
225
|
+
rows: W,
|
|
230
226
|
labels: {
|
|
231
227
|
accountNameColumn: Q.accountAccessNameColumn,
|
|
232
228
|
accountNumberColumn: Q.accountAccessNumberColumn,
|
|
233
229
|
accountTypeColumn: Q.accountAccessTypeColumn,
|
|
234
230
|
sourceColumn: Q.accountAccessSourceColumn
|
|
235
231
|
}
|
|
236
|
-
}) : /* @__PURE__ */
|
|
232
|
+
}) : /* @__PURE__ */ E("p", {
|
|
237
233
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
238
|
-
children:
|
|
234
|
+
children: U
|
|
239
235
|
})] })
|
|
240
236
|
]
|
|
241
237
|
});
|
|
242
238
|
}
|
|
243
|
-
export {
|
|
239
|
+
export { A as TeamMemberDetails, A as default };
|
|
@@ -16,7 +16,7 @@ var e = {
|
|
|
16
16
|
previousPageButton: "Previous",
|
|
17
17
|
nextPageButton: "Next",
|
|
18
18
|
detailsBackButton: "Back to team",
|
|
19
|
-
detailsMemberDetailsHeading: "
|
|
19
|
+
detailsMemberDetailsHeading: "User details",
|
|
20
20
|
detailsNameLabel: "Name",
|
|
21
21
|
detailsEmailLabel: "Work email address",
|
|
22
22
|
detailsRoleLabel: "Role",
|
|
@@ -3,6 +3,6 @@ import { BILL_STATUS_TONE_CLASS_NAME as t } from "./index3.js";
|
|
|
3
3
|
import { BillStatusBadge as n } from "./index4.js";
|
|
4
4
|
import "./index5.js";
|
|
5
5
|
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as r } from "./index6.js";
|
|
6
|
-
import
|
|
6
|
+
import "./index7.js";
|
|
7
7
|
import "./index8.js";
|
|
8
|
-
export { e as BILL_STATUS_BADGE_LABELS_EN, t as BILL_STATUS_TONE_CLASS_NAME, n as BillStatusBadge, r as RECEIVABLE_STATUS_BADGE_LABELS_EN
|
|
8
|
+
export { e as BILL_STATUS_BADGE_LABELS_EN, t as BILL_STATUS_TONE_CLASS_NAME, n as BillStatusBadge, r as RECEIVABLE_STATUS_BADGE_LABELS_EN };
|
package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index7.js
CHANGED
|
@@ -1,31 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { receivableFilledTone as r } from "../../util/dist/lib/receivableFilledTone.js";
|
|
4
|
-
import { jsxs as i } from "react/jsx-runtime";
|
|
5
|
-
// ../../libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index7.js
|
|
6
|
-
var a = {
|
|
7
|
-
danger: "ttw:border-red-200 ttw:bg-red-50 ttw:text-red-700 ttw:hover:bg-red-50",
|
|
8
|
-
info: "ttw:border-blue-200 ttw:bg-blue-50 ttw:text-blue-700 ttw:hover:bg-blue-50",
|
|
9
|
-
neutral: "ttw:border-border ttw:bg-muted ttw:text-foreground ttw:hover:bg-muted",
|
|
10
|
-
success: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700 ttw:hover:bg-emerald-50",
|
|
11
|
-
warning: "ttw:border-amber-200 ttw:bg-amber-50 ttw:text-amber-800 ttw:hover:bg-amber-50"
|
|
12
|
-
}, o = {
|
|
13
|
-
neutral: "ttw:bg-muted ttw:text-muted-foreground",
|
|
14
|
-
cyan: "ttw:bg-cyan-100 ttw:text-cyan-700",
|
|
15
|
-
success: "ttw:bg-green-100 ttw:text-green-700",
|
|
16
|
-
purple: "ttw:bg-purple-100 ttw:text-purple-700",
|
|
17
|
-
orange: "ttw:bg-orange-100 ttw:text-orange-700",
|
|
18
|
-
danger: "ttw:bg-destructive/10 ttw:text-destructive"
|
|
19
|
-
};
|
|
20
|
-
function s({ status: s, label: c, tone: l = "neutral", variant: u = "outline", filledTone: d, labels: f, icon: p }) {
|
|
21
|
-
let m = {
|
|
22
|
-
...n,
|
|
23
|
-
...f
|
|
24
|
-
}, h = c ?? (s && Object.hasOwn(m, s) ? m[s] : void 0) ?? m.unknown;
|
|
25
|
-
return /* @__PURE__ */ i(e, {
|
|
26
|
-
variant: "outline",
|
|
27
|
-
className: t(p && "ttw:gap-1", u === "filled" ? ["ttw:border-transparent", o[d ?? r(s)]] : a[l]),
|
|
28
|
-
children: [p, h]
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
export { s as ReceivableStatusBadge, s as default };
|
|
1
|
+
import "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import "react/jsx-runtime";
|
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.211", n = "970ab3de7fb3d3e4842e001aa3f2a5249a04221e", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|