@tesouro/embedded-components-react 0.11.71 → 0.11.72

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 (88) hide show
  1. package/README.md +1 -0
  2. package/dist/index.css +35 -192
  3. package/dist/index.d.ts +75 -71
  4. package/dist/lib/SettingsWidget.d.ts +5 -1
  5. package/dist/lib/WidgetSuite.d.ts +4 -0
  6. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index3.js +8 -7
  7. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index4.js +4 -1
  8. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index6.js +196 -131
  9. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index.js +4 -4
  10. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index3.js +11 -1
  11. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index4.js +5 -3
  12. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index5.js +38 -32
  13. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index6.js +103 -75
  14. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index7.js +140 -168
  15. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index8.js +97 -87
  16. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +11 -7
  17. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index8.js +0 -1
  18. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index2.js +3 -1
  19. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index3.js +134 -177
  20. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index4.js +110 -176
  21. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index5.js +28 -38
  22. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/lib/ExpenseSettingsTabs/ExpenseSettingsTabs.js +13 -10
  23. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/lib/SettingsWidget/SettingsWidget.js +28 -24
  24. package/dist/libs/tesouro-embedded-components-react/settings-widget/help/ui/shadcn/dist/index3.js +35 -31
  25. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index10.js +2 -0
  26. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index7.js +1 -5
  27. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index8.js +3 -0
  28. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index11.js +2 -1
  29. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index12.js +22 -36
  30. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index16.js +1 -1
  31. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index17.js +54 -60
  32. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index20.js +75 -60
  33. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index3.js +42 -27
  34. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index6.js +89 -82
  35. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index9.js +39 -38
  36. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +32 -32
  37. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/ui/dist/index2.js +1 -1
  38. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/ui/dist/index3.js +56 -71
  39. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index10.js +3 -0
  40. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index12.js +86 -66
  41. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index13.js +51 -51
  42. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index15.js +146 -132
  43. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +95 -99
  44. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index3.js +1 -0
  45. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index4.js +8 -27
  46. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index5.js +69 -72
  47. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index6.js +51 -51
  48. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index.js +9 -11
  49. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index10.js +83 -298
  50. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index11.js +13 -13
  51. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index12.js +122 -75
  52. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index13.js +41 -15
  53. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index14.js +7 -131
  54. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index15.js +147 -48
  55. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index16.js +240 -11
  56. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index17.js +15 -173
  57. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index2.js +38 -10
  58. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index3.js +5 -46
  59. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index4.js +52 -45
  60. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index5.js +101 -25
  61. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index6.js +40 -98
  62. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index7.js +415 -40
  63. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index8.js +261 -332
  64. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index9.js +15 -8
  65. package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js +2 -2
  66. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/ApprovalPoliciesSettings.js +9 -8
  67. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/useApprovalPolicyRules.js +136 -122
  68. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index.js +9 -8
  69. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index11.js +16 -17
  70. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index12.js +99 -100
  71. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index16.js +1 -1
  72. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index17.js +8 -8
  73. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index18.js +10 -55
  74. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index19.js +34 -8
  75. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index20.js +8 -84
  76. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index21.js +86 -0
  77. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index3.js +13 -13
  78. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index5.js +17 -18
  79. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index7.js +33 -42
  80. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  81. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +24 -24
  82. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/FileDropZone/FileDropZone.js +62 -0
  83. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/LoadingRegion/LoadingRegion.js +1 -0
  84. package/dist/packages/shared-ui-shadcn/dist/index.js +2301 -2283
  85. package/package.json +1 -1
  86. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index18.js +0 -291
  87. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index19.js +0 -22
  88. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/avatarSwatch.js +0 -26
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.11.71",
3
+ "version": "0.11.72",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -1,291 +0,0 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { Badge as e, Button as t, Separator as n, Spinner as r, Table as i, TableBody as a, TableCell as o, TableHead as s, TableHeader as c, TableRow as l } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
6
- import { avatarSwatchFor as u } from "../../../../shared/ui/dist/lib/avatarSwatch.js";
7
- import "../../../../shared/ui/dist/index.js";
8
- import { AccountAccessSummaryTable as d } from "./index3.js";
9
- import { DEFAULT_LABELS as ee } from "./index6.js";
10
- import { statusToneClassName as f } from "./index9.js";
11
- import { AuthorizedSignerBadge as p } from "./index16.js";
12
- import { useEffect as m, useRef as h } from "react";
13
- import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
14
- import { ArrowLeftIcon as y, Building2 as b, CornerDownRightIcon as x, MailIcon as S, PencilIcon as C, UserXIcon as w } from "lucide-react";
15
- // ../../libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index18.js
16
- function T({ label: e, value: t }) {
17
- return /* @__PURE__ */ v("div", {
18
- className: "ttw:flex ttw:flex-col ttw:gap-1",
19
- children: [/* @__PURE__ */ _("dt", {
20
- className: "ttw:text-sm ttw:text-muted-foreground",
21
- children: e
22
- }), /* @__PURE__ */ _("dd", {
23
- className: "ttw:text-base ttw:text-foreground",
24
- children: t
25
- })]
26
- });
27
- }
28
- function E({ name: E, email: D, initials: O, avatarSeed: k, roleCardTitle: A, roleCardDescription: j, roleCardIcon: M, isRoleLoading: N = !1, showAuthorizedSignerBadge: P = !1, statusLabel: F, statusTone: I, lastSignInLabel: L, departmentLabel: R, locationLabel: z, reportingManagerName: B, reportingManagerInitials: V, reportingManagerSeed: H, directReports: U = [], accountAccessLabel: W, accountAccessRows: G = [], isAccountAccessLoading: K = !1, onBackClick: q, onEditClick: J, onResendClick: Y, onDeactivateClick: X, labels: Z }) {
29
- let Q = {
30
- ...ee,
31
- ...Z
32
- }, $ = h(null);
33
- return m(() => {
34
- $.current?.focus();
35
- }, []), /* @__PURE__ */ v("section", {
36
- "aria-label": E,
37
- className: "ttw:rounded-md ttw:border ttw:border-border ttw:bg-card ttw:p-4",
38
- children: [
39
- /* @__PURE__ */ v("div", {
40
- className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-2",
41
- children: [/* @__PURE__ */ v(t, {
42
- ref: $,
43
- variant: "ghost",
44
- size: "sm",
45
- onClick: q,
46
- children: [/* @__PURE__ */ _(y, { className: "ttw:size-4" }), Q.detailsBackButton]
47
- }), (J || Y || X) && /* @__PURE__ */ v("div", {
48
- className: "ttw:flex ttw:items-center ttw:gap-2",
49
- children: [
50
- Y && /* @__PURE__ */ v(t, {
51
- variant: "outline",
52
- size: "sm",
53
- onClick: Y,
54
- children: [/* @__PURE__ */ _(S, {
55
- "aria-hidden": !0,
56
- className: "ttw:size-4"
57
- }), Q.detailsResendButton]
58
- }),
59
- J && /* @__PURE__ */ v(t, {
60
- variant: "outline",
61
- size: "sm",
62
- onClick: J,
63
- children: [/* @__PURE__ */ _(C, {
64
- "aria-hidden": !0,
65
- className: "ttw:size-4"
66
- }), Q.detailsEditButton]
67
- }),
68
- X && /* @__PURE__ */ v(t, {
69
- variant: "outline",
70
- size: "sm",
71
- className: "ttw:text-destructive ttw:hover:bg-destructive/10 ttw:hover:text-destructive",
72
- onClick: X,
73
- children: [/* @__PURE__ */ _(w, {
74
- "aria-hidden": !0,
75
- className: "ttw:size-4"
76
- }), Q.detailsDeactivateButton]
77
- })
78
- ]
79
- })]
80
- }),
81
- /* @__PURE__ */ v("div", {
82
- className: "ttw:mt-4 ttw:flex ttw:items-center ttw:gap-3",
83
- children: [/* @__PURE__ */ _("span", {
84
- "aria-hidden": !0,
85
- className: `ttw:flex ttw:size-12 ttw:shrink-0 ttw:items-center ttw:justify-center ttw:rounded-full ttw:text-sm ttw:font-semibold ${u(k || D || E)}`,
86
- children: O
87
- }), /* @__PURE__ */ v("div", {
88
- className: "ttw:min-w-0",
89
- children: [/* @__PURE__ */ v("div", {
90
- className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-x-2 ttw:gap-y-1",
91
- children: [
92
- /* @__PURE__ */ _("h3", {
93
- className: "ttw:text-lg ttw:font-semibold ttw:text-foreground",
94
- children: E
95
- }),
96
- /* @__PURE__ */ _(e, {
97
- variant: "outline",
98
- className: "ttw:rounded ttw:border-[#D0D5DD] ttw:font-medium ttw:text-[#344054]",
99
- children: A
100
- }),
101
- P && /* @__PURE__ */ _(p, { label: Q.authorizedSignerBadge })
102
- ]
103
- }), /* @__PURE__ */ v("div", {
104
- className: "ttw:mt-1 ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:text-muted-foreground",
105
- children: [/* @__PURE__ */ _(e, {
106
- className: f(I),
107
- children: F
108
- }), L ? /* @__PURE__ */ v(g, { children: [
109
- /* @__PURE__ */ _("span", {
110
- "aria-hidden": !0,
111
- children: "|"
112
- }),
113
- /* @__PURE__ */ _("span", { children: Q.detailsLastSignInLabel }),
114
- /* @__PURE__ */ _("span", { children: L })
115
- ] }) : null]
116
- })]
117
- })]
118
- }),
119
- /* @__PURE__ */ _(n, { className: "ttw:my-4" }),
120
- /* @__PURE__ */ v("div", {
121
- className: "ttw:mb-4",
122
- children: [/* @__PURE__ */ _("h4", {
123
- className: "ttw:mb-3 ttw:text-base ttw:font-semibold ttw:text-foreground",
124
- children: Q.detailsMemberDetailsHeading
125
- }), /* @__PURE__ */ v("dl", {
126
- className: "ttw:grid ttw:grid-cols-1 ttw:gap-4 ttw:sm:grid-cols-2",
127
- children: [
128
- /* @__PURE__ */ _(T, {
129
- label: Q.detailsNameLabel,
130
- value: E
131
- }),
132
- /* @__PURE__ */ _(T, {
133
- label: Q.detailsDepartmentLabel,
134
- value: R
135
- }),
136
- /* @__PURE__ */ _(T, {
137
- label: Q.detailsEmailLabel,
138
- value: D
139
- }),
140
- /* @__PURE__ */ _(T, {
141
- label: Q.detailsLocationLabel,
142
- value: z
143
- })
144
- ]
145
- })]
146
- }),
147
- /* @__PURE__ */ _(n, { className: "ttw:my-4" }),
148
- /* @__PURE__ */ v("div", {
149
- className: "ttw:mb-4",
150
- children: [/* @__PURE__ */ _("h4", {
151
- className: "ttw:mb-3 ttw:text-base ttw:font-semibold ttw:text-foreground",
152
- children: Q.detailsReportingManagerLabel
153
- }), B ? /* @__PURE__ */ v("div", {
154
- className: "ttw:flex ttw:items-center ttw:gap-2",
155
- children: [
156
- /* @__PURE__ */ _(x, {
157
- "aria-hidden": !0,
158
- className: "ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground"
159
- }),
160
- /* @__PURE__ */ _("span", {
161
- "aria-hidden": !0,
162
- className: `ttw:flex ttw:size-8 ttw:shrink-0 ttw:items-center ttw:justify-center ttw:rounded-full ttw:text-xs ttw:font-semibold ${u(H || B)}`,
163
- children: V
164
- }),
165
- /* @__PURE__ */ _("span", {
166
- className: "ttw:text-sm ttw:text-foreground",
167
- children: B
168
- })
169
- ]
170
- }) : /* @__PURE__ */ _("p", {
171
- className: "ttw:text-sm ttw:text-muted-foreground",
172
- children: Q.detailsReportingManagerNone
173
- })]
174
- }),
175
- U.length > 0 ? /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _(n, { className: "ttw:my-4" }), /* @__PURE__ */ v("div", {
176
- className: "ttw:mb-4",
177
- children: [/* @__PURE__ */ _("h4", {
178
- className: "ttw:mb-3 ttw:text-base ttw:font-semibold ttw:text-foreground",
179
- children: Q.detailsApprovesExpensesHeading
180
- }), /* @__PURE__ */ _("div", {
181
- className: "ttw:overflow-hidden ttw:rounded-md ttw:border ttw:border-border",
182
- children: /* @__PURE__ */ v(i, { children: [/* @__PURE__ */ _(c, { children: /* @__PURE__ */ v(l, {
183
- className: "ttw:bg-muted/50 ttw:hover:bg-muted/50",
184
- children: [
185
- /* @__PURE__ */ _(s, { children: Q.nameColumn }),
186
- /* @__PURE__ */ _(s, { children: Q.roleColumn }),
187
- /* @__PURE__ */ _(s, { children: Q.departmentColumn }),
188
- /* @__PURE__ */ _(s, { children: Q.statusColumn })
189
- ]
190
- }) }), /* @__PURE__ */ _(a, { children: U.map((t) => /* @__PURE__ */ v(l, { children: [
191
- /* @__PURE__ */ _(o, { children: /* @__PURE__ */ v("div", {
192
- className: "ttw:flex ttw:items-center ttw:gap-3",
193
- children: [/* @__PURE__ */ _("span", {
194
- "aria-hidden": !0,
195
- className: `ttw:flex ttw:size-8 ttw:shrink-0 ttw:items-center ttw:justify-center ttw:rounded-full ttw:text-xs ttw:font-semibold ${u(t.email)}`,
196
- children: t.initials
197
- }), /* @__PURE__ */ _("span", {
198
- className: "ttw:truncate ttw:text-sm ttw:font-medium ttw:text-foreground",
199
- children: t.name
200
- })]
201
- }) }),
202
- /* @__PURE__ */ _(o, { children: /* @__PURE__ */ _(e, {
203
- variant: "outline",
204
- className: "ttw:rounded ttw:border-[#D0D5DD] ttw:font-medium ttw:text-[#344054]",
205
- children: t.roleLabel
206
- }) }),
207
- /* @__PURE__ */ _(o, {
208
- className: "ttw:text-muted-foreground",
209
- children: /* @__PURE__ */ v("span", {
210
- className: "ttw:flex ttw:items-center ttw:gap-2",
211
- children: [/* @__PURE__ */ _(b, {
212
- "aria-hidden": !0,
213
- className: "ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground"
214
- }), t.departmentLabel]
215
- })
216
- }),
217
- /* @__PURE__ */ _(o, { children: /* @__PURE__ */ _(e, {
218
- className: f(t.statusTone),
219
- children: t.statusLabel
220
- }) })
221
- ] }, t.key)) })] })
222
- })]
223
- })] }) : null,
224
- /* @__PURE__ */ _(n, { className: "ttw:my-4" }),
225
- /* @__PURE__ */ v("div", {
226
- className: "ttw:mb-4",
227
- children: [
228
- /* @__PURE__ */ _("h4", {
229
- className: "ttw:mb-1 ttw:text-base ttw:font-semibold ttw:text-foreground",
230
- children: Q.rolesSectionHeading
231
- }),
232
- /* @__PURE__ */ _("p", {
233
- className: "ttw:mb-4 ttw:text-sm ttw:text-muted-foreground",
234
- children: Q.rolesSectionDescription
235
- }),
236
- N ? /* @__PURE__ */ v("div", {
237
- className: "ttw:flex ttw:items-center ttw:gap-2 ttw:py-2",
238
- children: [/* @__PURE__ */ _(r, { className: "ttw:size-4" }), /* @__PURE__ */ _("span", {
239
- className: "ttw:text-sm ttw:text-muted-foreground",
240
- children: Q.roleLoadingLabel
241
- })]
242
- }) : /* @__PURE__ */ _("div", {
243
- className: "ttw:flex ttw:w-full ttw:flex-col ttw:rounded-xl ttw:border ttw:border-border ttw:bg-card ttw:p-4",
244
- children: /* @__PURE__ */ v("span", {
245
- className: "ttw:flex ttw:w-full ttw:items-start ttw:gap-3",
246
- children: [/* @__PURE__ */ _(M, {
247
- className: "ttw:mt-0.5 ttw:size-4 ttw:shrink-0 ttw:text-foreground",
248
- "aria-hidden": !0
249
- }), /* @__PURE__ */ v("span", {
250
- className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col ttw:gap-1",
251
- children: [/* @__PURE__ */ _("span", {
252
- className: "ttw:text-sm ttw:font-semibold ttw:text-foreground",
253
- children: A
254
- }), j ? /* @__PURE__ */ _("span", {
255
- className: "ttw:text-sm ttw:leading-normal ttw:text-muted-foreground",
256
- children: j
257
- }) : null]
258
- })]
259
- })
260
- })
261
- ]
262
- }),
263
- /* @__PURE__ */ _(n, { className: "ttw:my-4" }),
264
- /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("div", {
265
- className: "ttw:mb-3 ttw:flex ttw:items-center ttw:justify-between ttw:gap-2",
266
- children: /* @__PURE__ */ _("h4", {
267
- className: "ttw:text-base ttw:font-semibold ttw:text-foreground",
268
- children: Q.detailsAccountAccessLabel
269
- })
270
- }), K ? /* @__PURE__ */ v("div", {
271
- className: "ttw:flex ttw:items-center ttw:gap-2 ttw:py-2",
272
- children: [/* @__PURE__ */ _(r, { className: "ttw:size-4" }), /* @__PURE__ */ _("span", {
273
- className: "ttw:text-sm ttw:text-muted-foreground",
274
- children: Q.roleLoadingLabel
275
- })]
276
- }) : G.length > 0 ? /* @__PURE__ */ _(d, {
277
- rows: G,
278
- labels: {
279
- accountNameColumn: Q.accountAccessNameColumn,
280
- accountNumberColumn: Q.accountAccessNumberColumn,
281
- accountTypeColumn: Q.accountAccessTypeColumn,
282
- sourceColumn: Q.accountAccessSourceColumn
283
- }
284
- }) : /* @__PURE__ */ _("p", {
285
- className: "ttw:text-sm ttw:text-muted-foreground",
286
- children: W
287
- })] })
288
- ]
289
- });
290
- }
291
- export { E as TeamMemberDetails, E as default };
@@ -1,22 +0,0 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { Tabs as e, TabsContent as t, TabsList as n, TabsTrigger as r } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
6
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
7
- // ../../libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index19.js
8
- function o({ tabs: o, activeTabId: s, onTabChange: c, children: l }) {
9
- return /* @__PURE__ */ a(e, {
10
- value: s,
11
- onValueChange: c,
12
- className: "ttw:w-full ttw:space-y-5",
13
- children: [/* @__PURE__ */ i(n, { children: o.map((e) => /* @__PURE__ */ i(r, {
14
- value: e.id,
15
- children: e.label
16
- }, e.id)) }), /* @__PURE__ */ i(t, {
17
- value: s,
18
- children: l
19
- })]
20
- });
21
- }
22
- export { o as TeamTabs, o as default };
@@ -1,26 +0,0 @@
1
- // ../../libs/tesouro-embedded-components-react/shared/ui/dist/lib/avatarSwatch.js
2
- var e = [
3
- "ttw:bg-[#F87171] ttw:text-zinc-950",
4
- "ttw:bg-[#FB923C] ttw:text-zinc-950",
5
- "ttw:bg-[#FACC15] ttw:text-zinc-950",
6
- "ttw:bg-[#FBBF24] ttw:text-zinc-950",
7
- "ttw:bg-[#A3E635] ttw:text-zinc-950",
8
- "ttw:bg-[#4ADE80] ttw:text-zinc-950",
9
- "ttw:bg-[#34D399] ttw:text-zinc-950",
10
- "ttw:bg-[#2DD4BF] ttw:text-zinc-950",
11
- "ttw:bg-[#22D3EE] ttw:text-zinc-950",
12
- "ttw:bg-[#38BDF8] ttw:text-zinc-950",
13
- "ttw:bg-[#60A5FA] ttw:text-zinc-950",
14
- "ttw:bg-[#818CF8] ttw:text-zinc-950",
15
- "ttw:bg-[#A78BFA] ttw:text-zinc-950",
16
- "ttw:bg-[#C084FC] ttw:text-zinc-950",
17
- "ttw:bg-[#E879F9] ttw:text-zinc-950",
18
- "ttw:bg-[#F472B6] ttw:text-zinc-950",
19
- "ttw:bg-[#FB7185] ttw:text-zinc-950"
20
- ];
21
- function t(t) {
22
- let n = 0;
23
- for (let r = 0; r < t.length; r += 1) n = (n + t.charCodeAt(r)) % e.length;
24
- return e[n];
25
- }
26
- export { t as avatarSwatchFor };