@iblai/iblai-js 2.62.2 → 2.62.4
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/data-layer/playwright/index.d.ts +1 -1
- package/dist/data-layer/playwright/spend-limits-helpers.d.ts +80 -2
- package/dist/playwright/index.cjs +210 -2
- package/dist/playwright/index.cjs.map +1 -1
- package/dist/playwright/index.d.ts +81 -3
- package/dist/playwright/index.esm.js +197 -3
- package/dist/playwright/index.esm.js.map +1 -1
- package/dist/playwright/playwright/index.d.ts +1 -1
- package/dist/playwright/playwright/spend-limits-helpers.d.ts +80 -2
- package/dist/security/playwright/index.d.ts +1 -1
- package/dist/security/playwright/spend-limits-helpers.d.ts +80 -2
- package/dist/web-containers/playwright/index.d.ts +1 -1
- package/dist/web-containers/playwright/spend-limits-helpers.d.ts +80 -2
- package/dist/web-containers/source/agent-limits-section.js +3 -5
- package/dist/web-containers/source/agent-limits-section.js.map +1 -1
- package/dist/web-containers/source/billing.js +9 -3
- package/dist/web-containers/source/billing.js.map +1 -1
- package/dist/web-containers/source/chat/index.js +39 -11
- package/dist/web-containers/source/chat/index.js.map +1 -1
- package/dist/web-containers/source/chat-history/chat-history-tab.js +5 -8
- package/dist/web-containers/source/chat-history/chat-history-tab.js.map +1 -1
- package/dist/web-containers/source/chat-history-tab.js +5 -8
- package/dist/web-containers/source/chat-history-tab.js.map +1 -1
- package/dist/web-containers/source/chat-input-form.js +2 -2
- package/dist/web-containers/source/chat-input-form.js.map +1 -1
- package/dist/web-containers/source/components/chat/index.js +39 -11
- package/dist/web-containers/source/components/chat/index.js.map +1 -1
- package/dist/web-containers/source/components/chat-input-form.js +2 -2
- package/dist/web-containers/source/components/chat-input-form.js.map +1 -1
- package/dist/web-containers/source/components/profile/billing.js +9 -3
- package/dist/web-containers/source/components/profile/billing.js.map +1 -1
- package/dist/web-containers/source/components/profile/chat-history/chat-history-tab.js +5 -8
- package/dist/web-containers/source/components/profile/chat-history/chat-history-tab.js.map +1 -1
- package/dist/web-containers/source/components/profile/use-profile.js +32 -56
- package/dist/web-containers/source/components/profile/use-profile.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/agent-limits-section.js +3 -5
- package/dist/web-containers/source/components/spend-caps/agent-limits-section.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/labels.js +74 -0
- package/dist/web-containers/source/components/spend-caps/labels.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/new-user-default-section.js +78 -0
- package/dist/web-containers/source/components/spend-caps/new-user-default-section.js.map +1 -0
- package/dist/web-containers/source/components/spend-caps/row-icon-action.js +16 -0
- package/dist/web-containers/source/components/spend-caps/row-icon-action.js.map +1 -0
- package/dist/web-containers/source/components/spend-caps/spend-cap-fields.js +23 -0
- package/dist/web-containers/source/components/spend-caps/spend-cap-fields.js.map +1 -0
- package/dist/web-containers/source/components/spend-caps/spend-cap-form.js +21 -23
- package/dist/web-containers/source/components/spend-caps/spend-cap-form.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/spend-cap-usage.js +1 -0
- package/dist/web-containers/source/components/spend-caps/spend-cap-usage.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/use-platform-user-options.js +39 -0
- package/dist/web-containers/source/components/spend-caps/use-platform-user-options.js.map +1 -0
- package/dist/web-containers/source/components/spend-caps/use-spend-cap-status.js +23 -0
- package/dist/web-containers/source/components/spend-caps/use-spend-cap-status.js.map +1 -0
- package/dist/web-containers/source/components/spend-caps/use-spend-caps.js +1 -11
- package/dist/web-containers/source/components/spend-caps/use-spend-caps.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/user-cap-modal.js +8 -32
- package/dist/web-containers/source/components/spend-caps/user-cap-modal.js.map +1 -1
- package/dist/web-containers/source/components/spend-caps/user-limits-section.js +117 -0
- package/dist/web-containers/source/components/spend-caps/user-limits-section.js.map +1 -0
- package/dist/web-containers/source/components/spend-caps/utils.js +14 -1
- package/dist/web-containers/source/components/spend-caps/utils.js.map +1 -1
- package/dist/web-containers/source/components/user-profile-dropdown/index.js +2 -12
- package/dist/web-containers/source/components/user-profile-dropdown/index.js.map +1 -1
- package/dist/web-containers/source/en.json.js +44 -3
- package/dist/web-containers/source/en.json.js.map +1 -1
- package/dist/web-containers/source/es.json.js +44 -3
- package/dist/web-containers/source/es.json.js.map +1 -1
- package/dist/web-containers/source/fr.json.js +44 -3
- package/dist/web-containers/source/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/en.json.js +44 -3
- package/dist/web-containers/source/i18n/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/es.json.js +44 -3
- package/dist/web-containers/source/i18n/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/fr.json.js +44 -3
- package/dist/web-containers/source/i18n/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/zh.json.js +44 -3
- package/dist/web-containers/source/i18n/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/messages/en.json.js +44 -3
- package/dist/web-containers/source/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/messages/es.json.js +44 -3
- package/dist/web-containers/source/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/messages/fr.json.js +44 -3
- package/dist/web-containers/source/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/messages/zh.json.js +44 -3
- package/dist/web-containers/source/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/new-user-default-section.js +78 -0
- package/dist/web-containers/source/new-user-default-section.js.map +1 -0
- package/dist/web-containers/source/profile/billing.js +9 -3
- package/dist/web-containers/source/profile/billing.js.map +1 -1
- package/dist/web-containers/source/profile/chat-history/chat-history-tab.js +5 -8
- package/dist/web-containers/source/profile/chat-history/chat-history-tab.js.map +1 -1
- package/dist/web-containers/source/profile/use-profile.js +32 -56
- package/dist/web-containers/source/profile/use-profile.js.map +1 -1
- package/dist/web-containers/source/row-icon-action.js +16 -0
- package/dist/web-containers/source/row-icon-action.js.map +1 -0
- package/dist/web-containers/source/spend-cap-fields.js +23 -0
- package/dist/web-containers/source/spend-cap-fields.js.map +1 -0
- package/dist/web-containers/source/spend-cap-form.js +21 -23
- package/dist/web-containers/source/spend-cap-form.js.map +1 -1
- package/dist/web-containers/source/spend-cap-usage.js +1 -0
- package/dist/web-containers/source/spend-cap-usage.js.map +1 -1
- package/dist/web-containers/source/spend-caps/agent-limits-section.js +3 -5
- package/dist/web-containers/source/spend-caps/agent-limits-section.js.map +1 -1
- package/dist/web-containers/source/spend-caps/labels.js +74 -0
- package/dist/web-containers/source/spend-caps/labels.js.map +1 -1
- package/dist/web-containers/source/spend-caps/new-user-default-section.js +78 -0
- package/dist/web-containers/source/spend-caps/new-user-default-section.js.map +1 -0
- package/dist/web-containers/source/spend-caps/row-icon-action.js +16 -0
- package/dist/web-containers/source/spend-caps/row-icon-action.js.map +1 -0
- package/dist/web-containers/source/spend-caps/spend-cap-fields.js +23 -0
- package/dist/web-containers/source/spend-caps/spend-cap-fields.js.map +1 -0
- package/dist/web-containers/source/spend-caps/spend-cap-form.js +21 -23
- package/dist/web-containers/source/spend-caps/spend-cap-form.js.map +1 -1
- package/dist/web-containers/source/spend-caps/spend-cap-usage.js +1 -0
- package/dist/web-containers/source/spend-caps/spend-cap-usage.js.map +1 -1
- package/dist/web-containers/source/spend-caps/use-platform-user-options.js +39 -0
- package/dist/web-containers/source/spend-caps/use-platform-user-options.js.map +1 -0
- package/dist/web-containers/source/spend-caps/use-spend-cap-status.js +23 -0
- package/dist/web-containers/source/spend-caps/use-spend-cap-status.js.map +1 -0
- package/dist/web-containers/source/spend-caps/use-spend-caps.js +1 -11
- package/dist/web-containers/source/spend-caps/use-spend-caps.js.map +1 -1
- package/dist/web-containers/source/spend-caps/user-cap-modal.js +8 -32
- package/dist/web-containers/source/spend-caps/user-cap-modal.js.map +1 -1
- package/dist/web-containers/source/spend-caps/user-limits-section.js +117 -0
- package/dist/web-containers/source/spend-caps/user-limits-section.js.map +1 -0
- package/dist/web-containers/source/spend-caps/utils.js +14 -1
- package/dist/web-containers/source/spend-caps/utils.js.map +1 -1
- package/dist/web-containers/source/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/use-platform-user-options.js +39 -0
- package/dist/web-containers/source/use-platform-user-options.js.map +1 -0
- package/dist/web-containers/source/use-profile.js +32 -56
- package/dist/web-containers/source/use-profile.js.map +1 -1
- package/dist/web-containers/source/use-spend-cap-status.js +23 -0
- package/dist/web-containers/source/use-spend-cap-status.js.map +1 -0
- package/dist/web-containers/source/use-spend-caps.js +1 -11
- package/dist/web-containers/source/use-spend-caps.js.map +1 -1
- package/dist/web-containers/source/user-cap-modal.js +8 -32
- package/dist/web-containers/source/user-cap-modal.js.map +1 -1
- package/dist/web-containers/source/user-limits-section.js +117 -0
- package/dist/web-containers/source/user-limits-section.js.map +1 -0
- package/dist/web-containers/source/user-profile-dropdown/index.js +2 -12
- package/dist/web-containers/source/user-profile-dropdown/index.js.map +1 -1
- package/dist/web-containers/source/web-containers/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/zh.json.js +44 -3
- package/dist/web-containers/source/zh.json.js.map +1 -1
- package/dist/web-utils/playwright/index.d.ts +1 -1
- package/dist/web-utils/playwright/spend-limits-helpers.d.ts +80 -2
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4259,7 +4259,8 @@ var profileBilling = {
|
|
|
4259
4259
|
billingTabsAriaLabel: "Secciones de facturación",
|
|
4260
4260
|
tabPlanAndCredits: "Plan y créditos",
|
|
4261
4261
|
tabSpendLimits: "Límites de gasto",
|
|
4262
|
-
tabAgentLimits: "Límites por agente"
|
|
4262
|
+
tabAgentLimits: "Límites por agente",
|
|
4263
|
+
tabUserLimits: "Límites por usuario"
|
|
4263
4264
|
};
|
|
4264
4265
|
var profileCatalogInviteModal = {
|
|
4265
4266
|
title: "Invitación al catálogo",
|
|
@@ -5340,7 +5341,8 @@ var spendCapUsage = {
|
|
|
5340
5341
|
intervalYear: "este año",
|
|
5341
5342
|
percentUsed: "{percent}% usado",
|
|
5342
5343
|
blockedBanner: "Se ha alcanzado el límite de uso. Los nuevos chats y el entrenamiento quedan en pausa hasta que el periodo se reinicie.",
|
|
5343
|
-
warningBanner: "El uso se acerca a su límite."
|
|
5344
|
+
warningBanner: "El uso se acerca a su límite.",
|
|
5345
|
+
scopeUser: "Tu uso en todos los agentes"
|
|
5344
5346
|
};
|
|
5345
5347
|
var spendCapsTabLabels = {
|
|
5346
5348
|
header: {
|
|
@@ -5389,6 +5391,43 @@ var spendCapsTabLabels = {
|
|
|
5389
5391
|
setLimitButton: "Configurar límite de gasto",
|
|
5390
5392
|
manageAria: "Gestionar los límites de gasto de {name}",
|
|
5391
5393
|
statusToggleAria: "Activar o desactivar el límite de gasto de {name}"
|
|
5394
|
+
},
|
|
5395
|
+
users: {
|
|
5396
|
+
title: "Límites por usuario",
|
|
5397
|
+
description: "Usuarios con un límite de gasto que cubre todo lo que gastan en todos los agentes de este espacio de trabajo. Busca un usuario para definir o cambiar su límite.",
|
|
5398
|
+
filter: {
|
|
5399
|
+
label: "Buscar usuarios",
|
|
5400
|
+
placeholder: "Buscar usuarios…",
|
|
5401
|
+
typeToSearch: "Escribe al menos 2 caracteres para buscar",
|
|
5402
|
+
searching: "Buscando usuarios…",
|
|
5403
|
+
noResults: "No se encontraron usuarios",
|
|
5404
|
+
clear: "Quitar filtro de usuario"
|
|
5405
|
+
},
|
|
5406
|
+
table: {
|
|
5407
|
+
userColumn: "Usuario",
|
|
5408
|
+
limitColumn: "Límite",
|
|
5409
|
+
spentColumn: "Gastado",
|
|
5410
|
+
remainingColumn: "Restante",
|
|
5411
|
+
statusColumn: "Estado"
|
|
5412
|
+
},
|
|
5413
|
+
emptyState: "Aún no hay límites de gasto por usuario. Busca un usuario arriba para definir uno.",
|
|
5414
|
+
emptyFiltered: "Este usuario aún no tiene límite de gasto.",
|
|
5415
|
+
setLimitButton: "Definir límite de gasto",
|
|
5416
|
+
editAria: "Editar el límite de gasto de {name}",
|
|
5417
|
+
deleteAria: "Eliminar el límite de gasto de {name}",
|
|
5418
|
+
statusToggleAria: "Activar o desactivar el límite de gasto de {name}"
|
|
5419
|
+
},
|
|
5420
|
+
newUserDefault: {
|
|
5421
|
+
title: "Predeterminado para nuevos usuarios",
|
|
5422
|
+
description: "Un límite de gasto que recibe cada persona al unirse a este espacio de trabajo, y que cubre todo lo que gasta en todos los agentes.",
|
|
5423
|
+
futureJoinsNote: "Solo lo reciben quienes se unen después de activarlo. Para limitar a alguien que ya está aquí, define su límite arriba.",
|
|
5424
|
+
capability: {
|
|
5425
|
+
title: "Límite de gasto predeterminado",
|
|
5426
|
+
description: "Mientras esté activado, cada persona que se una recibe el límite de abajo como su propio límite de usuario, que luego puedes cambiar en Límites por usuario.",
|
|
5427
|
+
offHint: "Actívalo para dar este límite a los nuevos miembros cuando se unan. Tu configuración se conserva si luego lo desactivas."
|
|
5428
|
+
},
|
|
5429
|
+
savedToast: "Límite predeterminado guardado",
|
|
5430
|
+
saveErrorToast: "No se pudo guardar el límite predeterminado"
|
|
5392
5431
|
}
|
|
5393
5432
|
},
|
|
5394
5433
|
form: {
|
|
@@ -7739,7 +7778,9 @@ var chat = {
|
|
|
7739
7778
|
spendCapLimitMonth: "Has alcanzado el límite de uso de este mes para este asistente.",
|
|
7740
7779
|
spendCapLimitYear: "Has alcanzado el límite de uso de este año para este asistente.",
|
|
7741
7780
|
spendCapLimitGeneric: "Has alcanzado el límite de uso de este asistente.",
|
|
7742
|
-
spendCapContactAdmin: "Vuelve a intentarlo cuando el límite se reinicie o contacta con tu administrador."
|
|
7781
|
+
spendCapContactAdmin: "Vuelve a intentarlo cuando el límite se reinicie o contacta con tu administrador.",
|
|
7782
|
+
spendCapOpenBilling: "Abrir facturación",
|
|
7783
|
+
spendCapAdminHint: "Sube o desactiva el límite en Facturación, o espera a que se reinicie."
|
|
7743
7784
|
},
|
|
7744
7785
|
chatInputFormCameraCaptureDialog: {
|
|
7745
7786
|
cameraUnavailableError: "La cámara no está disponible en este navegador.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"es.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4259,7 +4259,8 @@ var profileBilling = {
|
|
|
4259
4259
|
billingTabsAriaLabel: "Sections de facturation",
|
|
4260
4260
|
tabPlanAndCredits: "Forfait et crédits",
|
|
4261
4261
|
tabSpendLimits: "Limites de dépenses",
|
|
4262
|
-
tabAgentLimits: "Limites par agent"
|
|
4262
|
+
tabAgentLimits: "Limites par agent",
|
|
4263
|
+
tabUserLimits: "Limites par utilisateur"
|
|
4263
4264
|
};
|
|
4264
4265
|
var profileCatalogInviteModal = {
|
|
4265
4266
|
title: "Invitation au catalogue",
|
|
@@ -5340,7 +5341,8 @@ var spendCapUsage = {
|
|
|
5340
5341
|
intervalYear: "cette année",
|
|
5341
5342
|
percentUsed: "{percent}% utilisé",
|
|
5342
5343
|
blockedBanner: "La limite d'utilisation est atteinte. Les nouveaux chats et l'entraînement sont suspendus jusqu'à la réinitialisation de la période.",
|
|
5343
|
-
warningBanner: "L'utilisation approche de sa limite."
|
|
5344
|
+
warningBanner: "L'utilisation approche de sa limite.",
|
|
5345
|
+
scopeUser: "Votre utilisation sur tous les agents"
|
|
5344
5346
|
};
|
|
5345
5347
|
var spendCapsTabLabels = {
|
|
5346
5348
|
header: {
|
|
@@ -5389,6 +5391,43 @@ var spendCapsTabLabels = {
|
|
|
5389
5391
|
setLimitButton: "Définir une limite de dépenses",
|
|
5390
5392
|
manageAria: "Gérer les limites de dépenses de {name}",
|
|
5391
5393
|
statusToggleAria: "Activer ou désactiver la limite de dépenses de {name}"
|
|
5394
|
+
},
|
|
5395
|
+
users: {
|
|
5396
|
+
title: "Limites par utilisateur",
|
|
5397
|
+
description: "Utilisateurs ayant une limite de dépenses couvrant tout ce qu’ils dépensent sur l’ensemble des agents de cet espace de travail. Recherchez un utilisateur pour définir ou modifier sa limite.",
|
|
5398
|
+
filter: {
|
|
5399
|
+
label: "Rechercher des utilisateurs",
|
|
5400
|
+
placeholder: "Rechercher des utilisateurs…",
|
|
5401
|
+
typeToSearch: "Saisissez au moins 2 caractères pour rechercher",
|
|
5402
|
+
searching: "Recherche d’utilisateurs…",
|
|
5403
|
+
noResults: "Aucun utilisateur trouvé",
|
|
5404
|
+
clear: "Effacer le filtre utilisateur"
|
|
5405
|
+
},
|
|
5406
|
+
table: {
|
|
5407
|
+
userColumn: "Utilisateur",
|
|
5408
|
+
limitColumn: "Limite",
|
|
5409
|
+
spentColumn: "Dépensé",
|
|
5410
|
+
remainingColumn: "Restant",
|
|
5411
|
+
statusColumn: "Statut"
|
|
5412
|
+
},
|
|
5413
|
+
emptyState: "Aucune limite de dépenses par utilisateur pour l’instant. Recherchez un utilisateur ci-dessus pour en définir une.",
|
|
5414
|
+
emptyFiltered: "Aucune limite de dépenses pour cet utilisateur pour l’instant.",
|
|
5415
|
+
setLimitButton: "Définir une limite de dépenses",
|
|
5416
|
+
editAria: "Modifier la limite de dépenses de {name}",
|
|
5417
|
+
deleteAria: "Supprimer la limite de dépenses de {name}",
|
|
5418
|
+
statusToggleAria: "Activer ou désactiver la limite de dépenses de {name}"
|
|
5419
|
+
},
|
|
5420
|
+
newUserDefault: {
|
|
5421
|
+
title: "Par défaut pour les nouveaux utilisateurs",
|
|
5422
|
+
description: "Une limite de dépenses attribuée à chaque personne qui rejoint cet espace de travail, couvrant tout ce qu’elle dépense sur l’ensemble des agents.",
|
|
5423
|
+
futureJoinsNote: "Seules les personnes qui rejoignent l’espace après l’activation la reçoivent. Pour limiter quelqu’un déjà présent, définissez sa limite ci-dessus.",
|
|
5424
|
+
capability: {
|
|
5425
|
+
title: "Limite de dépenses par défaut",
|
|
5426
|
+
description: "Tant que c’est activé, chaque personne qui rejoint l’espace reçoit la limite ci-dessous comme limite utilisateur, modifiable ensuite dans Limites par utilisateur.",
|
|
5427
|
+
offHint: "Activez-la pour attribuer cette limite aux nouveaux membres à leur arrivée. Votre configuration est conservée si vous la désactivez plus tard."
|
|
5428
|
+
},
|
|
5429
|
+
savedToast: "Limite par défaut enregistrée",
|
|
5430
|
+
saveErrorToast: "Impossible d’enregistrer la limite par défaut"
|
|
5392
5431
|
}
|
|
5393
5432
|
},
|
|
5394
5433
|
form: {
|
|
@@ -7739,7 +7778,9 @@ var chat = {
|
|
|
7739
7778
|
spendCapLimitMonth: "Vous avez atteint la limite d'utilisation du mois pour cet assistant.",
|
|
7740
7779
|
spendCapLimitYear: "Vous avez atteint la limite d'utilisation de l'année pour cet assistant.",
|
|
7741
7780
|
spendCapLimitGeneric: "Vous avez atteint la limite d'utilisation de cet assistant.",
|
|
7742
|
-
spendCapContactAdmin: "Réessayez après la réinitialisation de la limite ou contactez votre administrateur."
|
|
7781
|
+
spendCapContactAdmin: "Réessayez après la réinitialisation de la limite ou contactez votre administrateur.",
|
|
7782
|
+
spendCapOpenBilling: "Ouvrir la facturation",
|
|
7783
|
+
spendCapAdminHint: "Augmentez ou désactivez la limite dans Facturation, ou attendez sa réinitialisation."
|
|
7743
7784
|
},
|
|
7744
7785
|
chatInputFormCameraCaptureDialog: {
|
|
7745
7786
|
cameraUnavailableError: "La caméra n'est pas disponible dans ce navigateur.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fr.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4259,7 +4259,8 @@ var profileBilling = {
|
|
|
4259
4259
|
billingTabsAriaLabel: "账单板块",
|
|
4260
4260
|
tabPlanAndCredits: "套餐与积分",
|
|
4261
4261
|
tabSpendLimits: "支出限额",
|
|
4262
|
-
tabAgentLimits: "智能体限额"
|
|
4262
|
+
tabAgentLimits: "智能体限额",
|
|
4263
|
+
tabUserLimits: "用户限额"
|
|
4263
4264
|
};
|
|
4264
4265
|
var profileCatalogInviteModal = {
|
|
4265
4266
|
title: "目录邀请",
|
|
@@ -5340,7 +5341,8 @@ var spendCapUsage = {
|
|
|
5340
5341
|
intervalYear: "今年",
|
|
5341
5342
|
percentUsed: "已使用 {percent}%",
|
|
5342
5343
|
blockedBanner: "已达到使用限额。在周期重置前,新的聊天和训练将暂停。",
|
|
5343
|
-
warningBanner: "用量即将达到限额。"
|
|
5344
|
+
warningBanner: "用量即将达到限额。",
|
|
5345
|
+
scopeUser: "您在所有智能体上的用量"
|
|
5344
5346
|
};
|
|
5345
5347
|
var spendCapsTabLabels = {
|
|
5346
5348
|
header: {
|
|
@@ -5389,6 +5391,43 @@ var spendCapsTabLabels = {
|
|
|
5389
5391
|
setLimitButton: "设置支出限额",
|
|
5390
5392
|
manageAria: "管理 {name} 的支出限额",
|
|
5391
5393
|
statusToggleAria: "开启或关闭 {name} 的支出限额"
|
|
5394
|
+
},
|
|
5395
|
+
users: {
|
|
5396
|
+
title: "用户限额",
|
|
5397
|
+
description: "在此工作区内设有支出限额的用户,该限额涵盖其在所有智能体上的全部支出。搜索用户以设置或更改其限额。",
|
|
5398
|
+
filter: {
|
|
5399
|
+
label: "搜索用户",
|
|
5400
|
+
placeholder: "搜索用户…",
|
|
5401
|
+
typeToSearch: "请至少输入 2 个字符进行搜索",
|
|
5402
|
+
searching: "正在搜索用户…",
|
|
5403
|
+
noResults: "未找到用户",
|
|
5404
|
+
clear: "清除用户筛选"
|
|
5405
|
+
},
|
|
5406
|
+
table: {
|
|
5407
|
+
userColumn: "用户",
|
|
5408
|
+
limitColumn: "限额",
|
|
5409
|
+
spentColumn: "已支出",
|
|
5410
|
+
remainingColumn: "剩余",
|
|
5411
|
+
statusColumn: "状态"
|
|
5412
|
+
},
|
|
5413
|
+
emptyState: "尚未设置用户支出限额。在上方搜索用户即可设置。",
|
|
5414
|
+
emptyFiltered: "该用户尚未设置支出限额。",
|
|
5415
|
+
setLimitButton: "设置支出限额",
|
|
5416
|
+
editAria: "编辑 {name} 的支出限额",
|
|
5417
|
+
deleteAria: "删除 {name} 的支出限额",
|
|
5418
|
+
statusToggleAria: "切换 {name} 的支出限额"
|
|
5419
|
+
},
|
|
5420
|
+
newUserDefault: {
|
|
5421
|
+
title: "新用户默认限额",
|
|
5422
|
+
description: "每位加入此工作区的成员都会获得的支出限额,涵盖其在所有智能体上的全部支出。",
|
|
5423
|
+
futureJoinsNote: "仅对开启后加入的成员生效。要限制已在此的成员,请在上方设置其限额。",
|
|
5424
|
+
capability: {
|
|
5425
|
+
title: "默认支出限额",
|
|
5426
|
+
description: "开启后,每位新加入的成员都会获得下方限额作为其用户限额,之后可在“用户限额”中更改。",
|
|
5427
|
+
offHint: "开启后,新成员加入时即获得此限额。之后关闭时,您的设置仍会保留。"
|
|
5428
|
+
},
|
|
5429
|
+
savedToast: "已保存新用户默认限额",
|
|
5430
|
+
saveErrorToast: "无法保存新用户默认限额"
|
|
5392
5431
|
}
|
|
5393
5432
|
},
|
|
5394
5433
|
form: {
|
|
@@ -7739,7 +7778,9 @@ var chat = {
|
|
|
7739
7778
|
spendCapLimitMonth: "您已达到此助手本月的使用限额。",
|
|
7740
7779
|
spendCapLimitYear: "您已达到此助手今年的使用限额。",
|
|
7741
7780
|
spendCapLimitGeneric: "您已达到此助手的使用限额。",
|
|
7742
|
-
spendCapContactAdmin: "请在限额重置后重试,或联系您的管理员。"
|
|
7781
|
+
spendCapContactAdmin: "请在限额重置后重试,或联系您的管理员。",
|
|
7782
|
+
spendCapOpenBilling: "打开账单",
|
|
7783
|
+
spendCapAdminHint: "在“账单”中提高或关闭限额,或等待其重置。"
|
|
7743
7784
|
},
|
|
7744
7785
|
chatInputFormCameraCaptureDialog: {
|
|
7745
7786
|
cameraUnavailableError: "此浏览器中无法使用摄像头。",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { toast } from 'sonner';
|
|
4
|
+
import { useGetNewUserSpendCapDefaultQuery, useUpsertNewUserSpendCapDefaultMutation } from '@iblai/data-layer';
|
|
5
|
+
import { CapabilityGate } from '../modals/edit-mentor-modal/capability-gate.js';
|
|
6
|
+
import { Spinner } from '../spinner/index.js';
|
|
7
|
+
import { useT } from '../../i18n/context.js';
|
|
8
|
+
import '../../packages/i18n/dist/index.esm.js';
|
|
9
|
+
import { resolveSpendCapsTabLabels } from './labels.js';
|
|
10
|
+
import { SpendCapFields } from './spend-cap-fields.js';
|
|
11
|
+
import { errorStatus, isValidLimit, parseThresholdsInput, thresholdsToInput, errorDetail } from './utils.js';
|
|
12
|
+
import ShieldAlert from '../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/shield-alert.js';
|
|
13
|
+
|
|
14
|
+
function fieldsFrom(template) {
|
|
15
|
+
var _a, _b;
|
|
16
|
+
return {
|
|
17
|
+
limit: (template === null || template === void 0 ? void 0 : template.max_cost_usd) != null ? String(Number(template.max_cost_usd)) : '',
|
|
18
|
+
interval: (_a = template === null || template === void 0 ? void 0 : template.interval_type) !== null && _a !== void 0 ? _a : 'month',
|
|
19
|
+
enforcement: (_b = template === null || template === void 0 ? void 0 : template.enforcement) !== null && _b !== void 0 ? _b : 'block',
|
|
20
|
+
thresholds: template ? thresholdsToInput(template.alert_thresholds) : '80, 95',
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Tenant-settings Billing card for the default spend limit each member gets
|
|
25
|
+
* when they join (`spend-caps/users/default/`, iblai-platform#2513). The
|
|
26
|
+
* endpoint holds a template, not a cap: it never 404s (`enabled: false` is
|
|
27
|
+
* "off"), its PUT replaces every field, and saving it never touches the
|
|
28
|
+
* per-user rows it already created — so there is no usage strip and no
|
|
29
|
+
* Delete here, only the switch and the same fields as a cap. Rendered inside
|
|
30
|
+
* `BillingTab` under `UserLimitsSection`.
|
|
31
|
+
*/
|
|
32
|
+
function NewUserDefaultSection({ tenantKey, labels: labelsOverride, }) {
|
|
33
|
+
const t = useT();
|
|
34
|
+
const labels = React__default.useMemo(() => resolveSpendCapsTabLabels(labelsOverride, t), [labelsOverride, t]);
|
|
35
|
+
const copy = labels.tenantSections.newUserDefault;
|
|
36
|
+
const { data: template, error: templateError, isLoading, } = useGetNewUserSpendCapDefaultQuery({ org: tenantKey }, { skip: !tenantKey });
|
|
37
|
+
const [upsertDefault, { isLoading: isSaving }] = useUpsertNewUserSpendCapDefaultMutation();
|
|
38
|
+
const isForbidden = errorStatus(templateError) === 403;
|
|
39
|
+
const [enabled, setEnabled] = React__default.useState(false);
|
|
40
|
+
const [fields, setFields] = React__default.useState(() => fieldsFrom(undefined));
|
|
41
|
+
// Rehydrate whenever the server copy changes (first load and every save).
|
|
42
|
+
React__default.useEffect(() => {
|
|
43
|
+
var _a;
|
|
44
|
+
setEnabled((_a = template === null || template === void 0 ? void 0 : template.enabled) !== null && _a !== void 0 ? _a : false);
|
|
45
|
+
setFields(fieldsFrom(template));
|
|
46
|
+
}, [template]);
|
|
47
|
+
const limitValid = isValidLimit(fields.limit);
|
|
48
|
+
// The amount is only required while the default is on; off, an empty one
|
|
49
|
+
// is stored as null so the rest of the setup is kept.
|
|
50
|
+
const limitOk = enabled ? limitValid : fields.limit.trim() === '' || limitValid;
|
|
51
|
+
const parsedThresholds = parseThresholdsInput(fields.thresholds);
|
|
52
|
+
const canSave = limitOk && parsedThresholds !== null && !isSaving;
|
|
53
|
+
const handleSave = async () => {
|
|
54
|
+
if (parsedThresholds === null)
|
|
55
|
+
return;
|
|
56
|
+
try {
|
|
57
|
+
await upsertDefault({
|
|
58
|
+
org: tenantKey,
|
|
59
|
+
formData: {
|
|
60
|
+
enabled,
|
|
61
|
+
interval_type: fields.interval,
|
|
62
|
+
max_cost_usd: limitValid ? Number(fields.limit).toFixed(2) : null,
|
|
63
|
+
enforcement: fields.enforcement,
|
|
64
|
+
alert_thresholds: parsedThresholds,
|
|
65
|
+
},
|
|
66
|
+
}).unwrap();
|
|
67
|
+
toast.success(copy.savedToast);
|
|
68
|
+
}
|
|
69
|
+
catch (error) {
|
|
70
|
+
console.error('[NewUserDefaultSection] save default error', error);
|
|
71
|
+
toast.error(errorDetail(error) || copy.saveErrorToast);
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
return (jsxs("div", { "data-testid": "spend-limits-new-user-default-section", className: "rounded-lg border border-[#e5e5e5] bg-white shadow-[0_1px_2px_0_rgba(0,0,0,0.05)] dark:bg-zinc-900 dark:border-zinc-800", children: [jsx("div", { className: "flex flex-col gap-2 p-4 sm:flex-row sm:items-start sm:justify-between", children: jsxs("div", { className: "space-y-0.5", children: [jsx("h3", { className: "text-[16px] font-medium leading-6 text-[#101828] dark:text-gray-100", children: copy.title }), jsx("p", { className: "text-[13px] font-normal leading-5 text-[#4a5565] dark:text-gray-400", children: copy.description })] }) }), jsx("div", { className: "border-t border-[#e5e7eb] dark:border-zinc-800 px-4 py-3", children: isLoading ? (jsx("div", { className: "flex items-center justify-center py-8", "data-testid": "new-user-default-loading", children: jsx(Spinner, {}) })) : isForbidden ? (jsxs("div", { className: "flex flex-col items-center gap-2 rounded-lg border border-gray-200 bg-gray-50 px-4 py-10 text-center", "data-testid": "new-user-default-denied", children: [jsx(ShieldAlert, { className: "h-6 w-6 text-gray-400" }), jsx("p", { className: "text-sm font-medium text-gray-900", children: labels.denied.title }), jsx("p", { className: "max-w-sm text-xs text-gray-600", children: labels.denied.description })] })) : (jsxs("div", { className: "space-y-4", "data-testid": "new-user-default-form", children: [jsx("p", { className: "text-xs text-gray-500", "data-testid": "new-user-default-note", children: copy.futureJoinsNote }), jsx(CapabilityGate, { title: copy.capability.title, description: copy.capability.description, offHint: copy.capability.offHint, enabled: enabled, onToggle: setEnabled, disabled: isSaving, ariaLabel: copy.capability.title, toggleTestId: "new-user-default-enabled-switch", children: jsx(SpendCapFields, { labels: labels, values: fields, onChange: setFields, testId: "new-user-default" }) }), jsx("div", { className: "flex items-center justify-end gap-2", children: jsx("button", { type: "button", onClick: handleSave, disabled: !canSave, "data-testid": "new-user-default-save-button", className: "inline-flex items-center gap-2 rounded-md bg-gradient-to-r from-[#2563EB] to-[#93C5FD] px-4 py-2 text-sm font-medium text-white hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-50", children: isSaving ? labels.form.saving : labels.form.save }) })] })) })] }));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export { NewUserDefaultSection };
|
|
78
|
+
//# sourceMappingURL=new-user-default-section.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"new-user-default-section.js","sources":["../../../../../../../src/components/spend-caps/new-user-default-section.tsx"],"sourcesContent":[null],"names":["React","_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;AA8BA,SAAS,UAAU,CAAC,QAA4C,EAAA;;IAC9D,OAAO;QACL,KAAK,EAAE,CAAA,QAAQ,KAAA,IAAA,IAAR,QAAQ,KAAA,MAAA,GAAA,MAAA,GAAR,QAAQ,CAAE,YAAY,KAAI,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,GAAG,EAAE;QAClF,QAAQ,EAAE,CAAA,EAAA,GAAA,QAAQ,KAAA,IAAA,IAAR,QAAQ,uBAAR,QAAQ,CAAE,aAAa,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,OAAO;QAC5C,WAAW,EAAE,CAAA,EAAA,GAAA,QAAQ,KAAA,IAAA,IAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,OAAO;AAC7C,QAAA,UAAU,EAAE,QAAQ,GAAG,iBAAiB,CAAC,QAAQ,CAAC,gBAAgB,CAAC,GAAG,QAAQ;KAC/E;AACH;AAEA;;;;;;;;AAQG;AACG,SAAU,qBAAqB,CAAC,EACpC,SAAS,EACT,MAAM,EAAE,cAAc,GACK,EAAA;AAC3B,IAAA,MAAM,CAAC,GAAG,IAAI,EAAE;IAChB,MAAM,MAAM,GAAGA,cAAK,CAAC,OAAO,CAC1B,MAAM,yBAAyB,CAAC,cAAc,EAAE,CAAC,CAAC,EAClD,CAAC,cAAc,EAAE,CAAC,CAAC,CACpB;AACD,IAAA,MAAM,IAAI,GAAG,MAAM,CAAC,cAAc,CAAC,cAAc;IAE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M,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,SAAS,EACnB,MAAM,EAAC,kBAAkB,EAAA,CACzB,EAAA,CACa,EAEjBA,GAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,qCAAqC,EAAA,QAAA,EAClDA,GAAA,CAAA,QAAA,EAAA,EACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,UAAU,EACnB,QAAQ,EAAE,CAAC,OAAO,EAAA,aAAA,EACN,8BAA8B,EAC1C,SAAS,EAAC,kMAAkM,EAAA,QAAA,EAE3M,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,EAAA,CAC1C,EAAA,CACL,CAAA,EAAA,CACF,CACP,EAAA,CACG,CAAA,EAAA,CACF;AAEV;;;;"}
|
|
@@ -14,6 +14,8 @@ import { CardInfoIcon } from '../analytics/card-info-icon.js';
|
|
|
14
14
|
import { cn } from '../../lib/utils.js';
|
|
15
15
|
import { SpendLimitsSection } from '../spend-caps/spend-limits-section.js';
|
|
16
16
|
import { AgentLimitsSection } from '../spend-caps/agent-limits-section.js';
|
|
17
|
+
import { UserLimitsSection } from '../spend-caps/user-limits-section.js';
|
|
18
|
+
import { NewUserDefaultSection } from '../spend-caps/new-user-default-section.js';
|
|
17
19
|
import { resolveCreditsPerUsd, resolveCreditsPerUsdFromTransactions, resolveAvailableCreditsUsd, formatCreditsPerUsd } from './billing-credits.js';
|
|
18
20
|
import LoaderCircle from '../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/loader-circle.js';
|
|
19
21
|
import Sparkles from '../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/sparkles.js';
|
|
@@ -171,13 +173,17 @@ function BillingTab({ tenant, userActiveApp = null, username, mainPlatformKey, c
|
|
|
171
173
|
}
|
|
172
174
|
return t('profileBilling.manageSubscriptionAndBilling');
|
|
173
175
|
})();
|
|
174
|
-
return (jsxs("div", { className: "container mx-auto max-w-7xl !mt-0", children: [jsxs(Tabs, { defaultValue: "plan", "aria-label": t('profileBilling.billingTabsAriaLabel'), children: [jsxs(TabsList, { "aria-label": t('profileBilling.billingTabsAriaLabel'), className: "max-w-full overflow-x-auto justify-start px-1", children: [jsx(TabsTrigger, { value: "plan", children: t('profileBilling.tabPlanAndCredits') }), jsx(TabsTrigger, { value: "spend-limits", children: t('profileBilling.tabSpendLimits') }), jsx(TabsTrigger, { value: "agent-limits", children: t('profileBilling.tabAgentLimits') })] }), jsx(TabsContent, { className: "mt-4", value: "plan", children: jsxs("div", { className: "space-y-4", children: [jsxs("div", { className: "grid grid-cols-1 items-start gap-4 lg:grid-cols-3", children: [jsx(Section, { title: t('profileBilling.planSectionTitle'), testId: "billing-plan-section", description: planDescription, className: "lg:col-span-1 lg:h-full", action: isFreePlan || isTrialPlan ? (jsxs(Button, { onClick: () => handleUpgrade('premium'), disabled: isUpgrading, className: "h-9 px-4 text-[14px] font-medium text-white bg-gradient-to-r from-[rgb(56,161,229)] to-[rgb(114,132,255)] hover:opacity-90 disabled:opacity-70", children: [isUpgrading ? (jsx(LoaderCircle, { className: "h-4 w-4 animate-spin" })) : (jsx(Sparkles, { className: "h-4 w-4" })), isUpgrading ? t('profileBilling.redirecting') : t('profileBilling.upgrade')] })) : undefined, children: jsxs("div", { className: "flex items-center gap-2", children: [jsx("span", { "data-testid": "billing-plan-label", className: "text-[18px] font-semibold leading-7 text-[#101828] dark:text-gray-100", children: planLabel }), jsx("span", { className: "rounded-full px-2.5 py-0.5 text-[12px] font-medium", style: {
|
|
176
|
+
return (jsxs("div", { className: "container mx-auto max-w-7xl !mt-0", children: [jsxs(Tabs, { defaultValue: "plan", "aria-label": t('profileBilling.billingTabsAriaLabel'), children: [jsxs(TabsList, { "aria-label": t('profileBilling.billingTabsAriaLabel'), className: "max-w-full overflow-x-auto justify-start px-1", children: [jsx(TabsTrigger, { value: "plan", children: t('profileBilling.tabPlanAndCredits') }), jsx(TabsTrigger, { value: "spend-limits", children: t('profileBilling.tabSpendLimits') }), jsx(TabsTrigger, { value: "agent-limits", children: t('profileBilling.tabAgentLimits') }), jsx(TabsTrigger, { value: "user-limits", children: t('profileBilling.tabUserLimits') })] }), jsx(TabsContent, { className: "mt-4", value: "plan", children: jsxs("div", { className: "space-y-4", children: [jsxs("div", { className: "grid grid-cols-1 items-start gap-4 lg:grid-cols-3", children: [jsx(Section, { title: t('profileBilling.planSectionTitle'), testId: "billing-plan-section", description: planDescription, className: "lg:col-span-1 lg:h-full", action: isFreePlan || isTrialPlan ? (jsxs(Button, { onClick: () => handleUpgrade('premium'), disabled: isUpgrading, className: "h-9 px-4 text-[14px] font-medium text-white bg-gradient-to-r from-[rgb(56,161,229)] to-[rgb(114,132,255)] hover:opacity-90 disabled:opacity-70", children: [isUpgrading ? (jsx(LoaderCircle, { className: "h-4 w-4 animate-spin" })) : (jsx(Sparkles, { className: "h-4 w-4" })), isUpgrading ? t('profileBilling.redirecting') : t('profileBilling.upgrade')] })) : undefined, children: jsxs("div", { className: "flex items-center gap-2", children: [jsx("span", { "data-testid": "billing-plan-label", className: "text-[18px] font-semibold leading-7 text-[#101828] dark:text-gray-100", children: planLabel }), jsx("span", { className: "rounded-full px-2.5 py-0.5 text-[12px] font-medium", style: {
|
|
175
177
|
backgroundColor: '#f5f8ff',
|
|
176
178
|
color: '#155dfc',
|
|
177
179
|
border: '1px solid #d0e0ff',
|
|
178
180
|
}, children: t('profileBilling.currentBadge') })] }) }), jsx(Section, { title: t('profileBilling.creditsSectionTitle'), testId: "billing-credits-section", description: t('profileBilling.creditsDescription'), className: "lg:col-span-2 lg:h-full", action: isFreePlan || isTrialPlan ? undefined : hasPaymentMethod ? (jsx(Button, { variant: "outline", onClick: () => setIsAddCreditsModalOpen(true), className: "h-9 px-4 text-[14px] font-medium", children: t('profileBilling.addCredits') })) : (jsxs(Button, { onClick: handleSetupPaymentMethod, disabled: isRedirectingToPaymentSettings, className: "h-9 px-4 text-[14px] font-medium bg-gradient-to-r from-[#2563EB] to-[#93C5FD] hover:opacity-90 text-white", children: [isRedirectingToPaymentSettings ? (jsx(LoaderCircle, { className: "h-4 w-4 animate-spin" })) : (jsx(Wallet, { className: "h-4 w-4" })), isRedirectingToPaymentSettings
|
|
179
181
|
? t('profileBilling.redirecting')
|
|
180
|
-
: t('profileBilling.manageBilling')] })), children: jsxs("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-3", children: [jsx(Stat, { label: t('profileBilling.availableLabel'), value: t('profileBilling.creditsUnit', {
|
|
182
|
+
: t('profileBilling.manageBilling')] })), children: jsxs("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-3", children: [jsx(Stat, { label: t('profileBilling.availableLabel'), value: t('profileBilling.creditsUnit', {
|
|
183
|
+
amount: formatCredits(availableCredits),
|
|
184
|
+
}), hint: availableCreditsHint }), consumedCredits != null && (jsx(Stat, { label: t('profileBilling.consumedLabel'), value: t('profileBilling.creditsUnit', {
|
|
185
|
+
amount: formatCredits(consumedCredits),
|
|
186
|
+
}), info: t('profileBilling.usedThisPeriod') })), (billing === null || billing === void 0 ? void 0 : billing.credits_reset_date) && (jsx(Stat, { label: t('profileBilling.resetsOnLabel'), value: formatRenewalDate(billing.credits_reset_date), info: t('profileBilling.nextResetDate') }))] }) })] }), !isFreePlan && !isTrialPlan && hasPaymentMethod && (jsx(Section, { title: t('profileBilling.autoRechargeSectionTitle'), testId: "billing-auto-recharge-section", description: t('profileBilling.autoRechargeDescription'), action: jsxs("div", { className: "flex items-center gap-3", children: [jsx("span", { "data-testid": "billing-auto-recharge-status", className: "rounded-full px-2.5 py-0.5 text-[12px] font-medium", style: {
|
|
181
187
|
backgroundColor: isAutoRechargeEnabled ? '#f5f8ff' : '#f3f4f6',
|
|
182
188
|
color: isAutoRechargeEnabled ? '#155dfc' : '#6a7282',
|
|
183
189
|
border: `1px solid ${isAutoRechargeEnabled ? '#d0e0ff' : '#e5e7eb'}`,
|
|
@@ -185,7 +191,7 @@ function BillingTab({ tenant, userActiveApp = null, username, mainPlatformKey, c
|
|
|
185
191
|
? t('profileBilling.enabled')
|
|
186
192
|
: t('profileBilling.disabled') }), jsx(Button, { variant: "outline", onClick: () => setIsAutoRechargeModalOpen(true), className: "h-9 px-4 text-[14px] font-medium", children: t('profileBilling.manageUsage') })] }), children: isAutoRechargeEnabled ? (jsxs("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-3", children: [jsx(Stat, { label: t('profileBilling.thresholdLabel'), value: formatUsd(billing === null || billing === void 0 ? void 0 : billing.auto_recharge_threshold_usd), info: t('profileBilling.thresholdHint') }), jsx(Stat, { label: t('profileBilling.rechargeAmountLabel'), value: formatUsd(billing === null || billing === void 0 ? void 0 : billing.auto_recharge_amount_usd), info: t('profileBilling.rechargeAmountHint') }), jsx(Stat, { label: t('profileBilling.spendingLimitLabel'), value: isUnlimitedSpendingLimit
|
|
187
193
|
? t('profileBilling.unlimited')
|
|
188
|
-
: formatUsd(spendingLimitRaw), info: t('profileBilling.spendingLimitHint') })] })) : (jsx("p", { className: "text-[14px] font-normal leading-5 text-[#4a5565] dark:text-gray-400", children: t('profileBilling.autoRechargeDisabledMessage') })) }))] }) }), jsx(TabsContent, { className: "mt-4", value: "spend-limits", children: jsx(SpendLimitsSection, { tenantKey: tenant }) }), jsx(TabsContent, { className: "mt-4", value: "agent-limits", children: jsx(AgentLimitsSection, { tenantKey: tenant, username: username }) })] }), jsx(AutoRechargeModal, { tenant: tenant, isOpen: isAutoRechargeModalOpen, onClose: () => setIsAutoRechargeModalOpen(false) }), jsx(AddCreditsModal, { tenant: tenant, isOpen: isAddCreditsModalOpen, onClose: () => setIsAddCreditsModalOpen(false) })] }));
|
|
194
|
+
: formatUsd(spendingLimitRaw), info: t('profileBilling.spendingLimitHint') })] })) : (jsx("p", { className: "text-[14px] font-normal leading-5 text-[#4a5565] dark:text-gray-400", children: t('profileBilling.autoRechargeDisabledMessage') })) }))] }) }), jsx(TabsContent, { className: "mt-4", value: "spend-limits", children: jsx(SpendLimitsSection, { tenantKey: tenant }) }), jsx(TabsContent, { className: "mt-4", value: "agent-limits", children: jsx(AgentLimitsSection, { tenantKey: tenant, username: username }) }), jsx(TabsContent, { className: "mt-4", value: "user-limits", children: jsxs("div", { className: "space-y-4", children: [jsx(UserLimitsSection, { tenantKey: tenant }), jsx(NewUserDefaultSection, { tenantKey: tenant })] }) })] }), jsx(AutoRechargeModal, { tenant: tenant, isOpen: isAutoRechargeModalOpen, onClose: () => setIsAutoRechargeModalOpen(false) }), jsx(AddCreditsModal, { tenant: tenant, isOpen: isAddCreditsModalOpen, onClose: () => setIsAddCreditsModalOpen(false) })] }));
|
|
189
195
|
}
|
|
190
196
|
|
|
191
197
|
export { BillingTab as default };
|