@iblai/iblai-js 2.71.1 → 2.73.0
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/billing-tab-helpers.d.ts +61 -48
- package/dist/data-layer/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/data-layer/playwright/index.d.ts +3 -2
- package/dist/data-layer/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/data-layer/playwright/spend-limits-helpers.d.ts +5 -4
- package/dist/playwright/index.cjs +306 -193
- package/dist/playwright/index.cjs.map +1 -1
- package/dist/playwright/index.d.ts +133 -71
- package/dist/playwright/index.esm.js +293 -194
- package/dist/playwright/index.esm.js.map +1 -1
- package/dist/playwright/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/playwright/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/playwright/playwright/index.d.ts +3 -2
- package/dist/playwright/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/playwright/playwright/spend-limits-helpers.d.ts +5 -4
- package/dist/security/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/security/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/security/playwright/index.d.ts +3 -2
- package/dist/security/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/security/playwright/spend-limits-helpers.d.ts +5 -4
- package/dist/web-containers/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/web-containers/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/web-containers/playwright/index.d.ts +3 -2
- package/dist/web-containers/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/web-containers/playwright/spend-limits-helpers.d.ts +5 -4
- package/dist/web-containers/source/add-credits-modal.js +170 -24
- package/dist/web-containers/source/add-credits-modal.js.map +1 -1
- package/dist/web-containers/source/auto-recharge-modal.js +1 -1
- package/dist/web-containers/source/auto-recharge-modal.js.map +1 -1
- package/dist/web-containers/source/billing-credits.js +4 -4
- package/dist/web-containers/source/billing-credits.js.map +1 -1
- package/dist/web-containers/source/billing.js +60 -101
- package/dist/web-containers/source/billing.js.map +1 -1
- package/dist/web-containers/source/components/credit-balance.js +44 -72
- package/dist/web-containers/source/components/credit-balance.js.map +1 -1
- package/dist/web-containers/source/components/modals/contact-admin-modal.js +32 -0
- package/dist/web-containers/source/components/modals/contact-admin-modal.js.map +1 -0
- package/dist/web-containers/source/components/modals/upgrade-package-modal.js +281 -20
- package/dist/web-containers/source/components/modals/upgrade-package-modal.js.map +1 -1
- package/dist/web-containers/source/components/profile/add-credits-modal.js +170 -24
- package/dist/web-containers/source/components/profile/add-credits-modal.js.map +1 -1
- package/dist/web-containers/source/components/profile/auto-recharge-modal.js +1 -1
- package/dist/web-containers/source/components/profile/auto-recharge-modal.js.map +1 -1
- package/dist/web-containers/source/components/profile/billing-credits.js +4 -4
- package/dist/web-containers/source/components/profile/billing-credits.js.map +1 -1
- package/dist/web-containers/source/components/profile/billing.js +60 -101
- package/dist/web-containers/source/components/profile/billing.js.map +1 -1
- package/dist/web-containers/source/components/profile/pending-credit-top-up.js +202 -0
- package/dist/web-containers/source/components/profile/pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/components/profile/use-complete-pending-credit-top-up.js +68 -0
- package/dist/web-containers/source/components/profile/use-complete-pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/components/subscription-top-banner.js +119 -0
- package/dist/web-containers/source/components/subscription-top-banner.js.map +1 -0
- package/dist/web-containers/source/components/welcome-chat/welcome-message.js +23 -3
- package/dist/web-containers/source/components/welcome-chat/welcome-message.js.map +1 -1
- package/dist/web-containers/source/contact-admin-modal.js +32 -0
- package/dist/web-containers/source/contact-admin-modal.js.map +1 -0
- package/dist/web-containers/source/credit-balance.js +44 -72
- package/dist/web-containers/source/credit-balance.js.map +1 -1
- package/dist/web-containers/source/en.json.js +125 -21
- package/dist/web-containers/source/en.json.js.map +1 -1
- package/dist/web-containers/source/es.json.js +127 -23
- package/dist/web-containers/source/es.json.js.map +1 -1
- package/dist/web-containers/source/fr.json.js +125 -21
- package/dist/web-containers/source/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/en.json.js +125 -21
- package/dist/web-containers/source/i18n/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/es.json.js +127 -23
- package/dist/web-containers/source/i18n/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/fr.json.js +125 -21
- package/dist/web-containers/source/i18n/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/zh.json.js +126 -22
- package/dist/web-containers/source/i18n/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/messages/en.json.js +125 -21
- package/dist/web-containers/source/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/messages/es.json.js +127 -23
- package/dist/web-containers/source/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/messages/fr.json.js +125 -21
- package/dist/web-containers/source/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/messages/zh.json.js +126 -22
- package/dist/web-containers/source/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/modals/contact-admin-modal.js +32 -0
- package/dist/web-containers/source/modals/contact-admin-modal.js.map +1 -0
- package/dist/web-containers/source/modals/upgrade-package-modal.js +281 -20
- package/dist/web-containers/source/modals/upgrade-package-modal.js.map +1 -1
- package/dist/web-containers/source/pending-credit-top-up.js +202 -0
- package/dist/web-containers/source/pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/profile/add-credits-modal.js +170 -24
- package/dist/web-containers/source/profile/add-credits-modal.js.map +1 -1
- package/dist/web-containers/source/profile/auto-recharge-modal.js +1 -1
- package/dist/web-containers/source/profile/auto-recharge-modal.js.map +1 -1
- package/dist/web-containers/source/profile/billing-credits.js +4 -4
- package/dist/web-containers/source/profile/billing-credits.js.map +1 -1
- package/dist/web-containers/source/profile/billing.js +60 -101
- package/dist/web-containers/source/profile/billing.js.map +1 -1
- package/dist/web-containers/source/profile/pending-credit-top-up.js +202 -0
- package/dist/web-containers/source/profile/pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/profile/use-complete-pending-credit-top-up.js +68 -0
- package/dist/web-containers/source/profile/use-complete-pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/subscription-top-banner.js +119 -0
- package/dist/web-containers/source/subscription-top-banner.js.map +1 -0
- package/dist/web-containers/source/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/upgrade-package-modal.js +281 -20
- package/dist/web-containers/source/upgrade-package-modal.js.map +1 -1
- package/dist/web-containers/source/use-complete-pending-credit-top-up.js +68 -0
- package/dist/web-containers/source/use-complete-pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/web-containers/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/welcome-chat/welcome-message.js +23 -3
- package/dist/web-containers/source/welcome-chat/welcome-message.js.map +1 -1
- package/dist/web-containers/source/welcome-message.js +23 -3
- package/dist/web-containers/source/welcome-message.js.map +1 -1
- package/dist/web-containers/source/zh.json.js +126 -22
- package/dist/web-containers/source/zh.json.js.map +1 -1
- package/dist/web-utils/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/web-utils/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/web-utils/playwright/index.d.ts +3 -2
- package/dist/web-utils/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/web-utils/playwright/spend-limits-helpers.d.ts +5 -4
- package/package.json +5 -5
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { useState, useEffect } from 'react';
|
|
3
|
+
import { useSelector } from 'react-redux';
|
|
4
|
+
import { useIsStripeActivated, useTopBannerButtonHandler, isLoggedIn, SUBSCRIPTION_BANNER_PARENT_SELECTOR } from '@iblai/web-utils';
|
|
5
|
+
import { useT } from '../i18n/context.js';
|
|
6
|
+
import '../packages/i18n/dist/index.esm.js';
|
|
7
|
+
import { TopBanner } from './top-banner/index.js';
|
|
8
|
+
|
|
9
|
+
const byId = (selector) => document.querySelector(selector);
|
|
10
|
+
/**
|
|
11
|
+
* The credits banner across the top of the app ("You've run out of credits…"),
|
|
12
|
+
* driven by the `topBanner` slice the subscription flow writes to. A non-admin
|
|
13
|
+
* whose organization ran out gets `ContactAdminModal` instead. Its button does what
|
|
14
|
+
* `useTopBannerButtonHandler` maps the banner's trigger to. Shows only for a
|
|
15
|
+
* signed-in person on a tenant with billing on.
|
|
16
|
+
*
|
|
17
|
+
* While shown it shortens the sidebar shell (`[data-slot="sidebar-*"]`) and
|
|
18
|
+
* the main content container by its own height so nothing scrolls under it,
|
|
19
|
+
* and puts everything back when closed.
|
|
20
|
+
*/
|
|
21
|
+
function SubscriptionTopBanner({ hidden = false, parentContainerSelector = SUBSCRIPTION_BANNER_PARENT_SELECTOR, }) {
|
|
22
|
+
const t = useT();
|
|
23
|
+
const stripeActivated = useIsStripeActivated();
|
|
24
|
+
const topBannerOptions = useSelector((state) => { var _a; return (_a = state.topBanner) === null || _a === void 0 ? void 0 : _a.topBannerOptions; });
|
|
25
|
+
const getTopBannerButtonHandler = useTopBannerButtonHandler();
|
|
26
|
+
const [initialStyles, setInitialStyles] = useState({});
|
|
27
|
+
useEffect(() => {
|
|
28
|
+
const sideBarWrapper = byId('[data-slot="sidebar-wrapper"]');
|
|
29
|
+
const mainContentContainer = byId('#main-content-container > div');
|
|
30
|
+
const sidebarContainer = byId('[data-slot="sidebar-container"]');
|
|
31
|
+
const sidebarInset = byId('[data-slot="sidebar-inset"]');
|
|
32
|
+
const body = byId('body');
|
|
33
|
+
setInitialStyles({
|
|
34
|
+
sideBarWrapper: sideBarWrapper
|
|
35
|
+
? {
|
|
36
|
+
maxHeight: sideBarWrapper.style.maxHeight,
|
|
37
|
+
top: sideBarWrapper.style.top,
|
|
38
|
+
position: sideBarWrapper.style.position,
|
|
39
|
+
}
|
|
40
|
+
: undefined,
|
|
41
|
+
mainContentContainer: mainContentContainer
|
|
42
|
+
? {
|
|
43
|
+
position: mainContentContainer.style.position,
|
|
44
|
+
top: mainContentContainer.style.top,
|
|
45
|
+
}
|
|
46
|
+
: undefined,
|
|
47
|
+
sidebarContainer: sidebarContainer
|
|
48
|
+
? { top: sidebarContainer.style.top, height: sidebarContainer.style.height }
|
|
49
|
+
: undefined,
|
|
50
|
+
sidebarInset: sidebarInset
|
|
51
|
+
? { top: sidebarInset.style.top, height: sidebarInset.style.height }
|
|
52
|
+
: undefined,
|
|
53
|
+
body: body ? { overflow: body.style.overflow } : undefined,
|
|
54
|
+
});
|
|
55
|
+
}, []);
|
|
56
|
+
const handleTopBannerLoad = (bannerRef) => {
|
|
57
|
+
if (!bannerRef)
|
|
58
|
+
return;
|
|
59
|
+
const bannerHeight = bannerRef.clientHeight;
|
|
60
|
+
const sideBarWrapper = byId('[data-slot="sidebar-wrapper"]');
|
|
61
|
+
if (sideBarWrapper) {
|
|
62
|
+
sideBarWrapper.style.maxHeight = `calc(100vh - ${bannerHeight}px)`;
|
|
63
|
+
sideBarWrapper.style.top = '3px';
|
|
64
|
+
sideBarWrapper.style.position = 'relative';
|
|
65
|
+
}
|
|
66
|
+
const mainContentContainer = byId('#main-content-container > div');
|
|
67
|
+
if (mainContentContainer) {
|
|
68
|
+
mainContentContainer.style.position = 'relative';
|
|
69
|
+
mainContentContainer.style.top = '-12px';
|
|
70
|
+
}
|
|
71
|
+
const sidebarContainer = byId('[data-slot="sidebar-container"]');
|
|
72
|
+
if (sidebarContainer) {
|
|
73
|
+
sidebarContainer.style.top = '48px';
|
|
74
|
+
sidebarContainer.style.height = `calc(100% - ${bannerHeight}px)`;
|
|
75
|
+
}
|
|
76
|
+
const sidebarInset = byId('[data-slot="sidebar-inset"]');
|
|
77
|
+
if (sidebarInset) {
|
|
78
|
+
sidebarInset.style.height = `calc(100dvh - ${bannerHeight}px)`;
|
|
79
|
+
}
|
|
80
|
+
const body = byId('body');
|
|
81
|
+
if (body) {
|
|
82
|
+
body.style.overflow = 'hidden';
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
const handleTopBannerClose = () => {
|
|
86
|
+
var _a;
|
|
87
|
+
const sideBarWrapper = byId('[data-slot="sidebar-wrapper"]');
|
|
88
|
+
if (sideBarWrapper && initialStyles.sideBarWrapper) {
|
|
89
|
+
sideBarWrapper.style.maxHeight = initialStyles.sideBarWrapper.maxHeight;
|
|
90
|
+
sideBarWrapper.style.top = initialStyles.sideBarWrapper.top;
|
|
91
|
+
sideBarWrapper.style.position = initialStyles.sideBarWrapper.position;
|
|
92
|
+
}
|
|
93
|
+
const mainContentContainer = byId('#main-content-container > div');
|
|
94
|
+
if (mainContentContainer && initialStyles.mainContentContainer) {
|
|
95
|
+
mainContentContainer.style.position = initialStyles.mainContentContainer.position;
|
|
96
|
+
mainContentContainer.style.top = initialStyles.mainContentContainer.top;
|
|
97
|
+
}
|
|
98
|
+
const sidebarContainer = byId('[data-slot="sidebar-container"]');
|
|
99
|
+
if (sidebarContainer && initialStyles.sidebarContainer) {
|
|
100
|
+
sidebarContainer.style.top = initialStyles.sidebarContainer.top;
|
|
101
|
+
sidebarContainer.style.height = initialStyles.sidebarContainer.height;
|
|
102
|
+
}
|
|
103
|
+
const sidebarInset = byId('[data-slot="sidebar-inset"]');
|
|
104
|
+
if (sidebarInset && initialStyles.sidebarInset) {
|
|
105
|
+
sidebarInset.style.height = initialStyles.sidebarInset.height;
|
|
106
|
+
}
|
|
107
|
+
const body = byId('body');
|
|
108
|
+
if (body) {
|
|
109
|
+
body.style.overflow = ((_a = initialStyles.body) === null || _a === void 0 ? void 0 : _a.overflow) || 'auto';
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
if (hidden || !(topBannerOptions === null || topBannerOptions === void 0 ? void 0 : topBannerOptions.enabled) || !stripeActivated || !isLoggedIn()) {
|
|
113
|
+
return null;
|
|
114
|
+
}
|
|
115
|
+
return (jsx(TopBanner, { parentContainerSelector: parentContainerSelector, bannerText: topBannerOptions.bannerText, buttonHandler: getTopBannerButtonHandler(topBannerOptions.onUpgrade), buttonLabel: topBannerOptions.buttonLabel || t('creditBalance.upgrade'), loading: topBannerOptions.loading, tooltipText: topBannerOptions.tooltipText, onLoad: handleTopBannerLoad, onClose: handleTopBannerClose }));
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export { SubscriptionTopBanner };
|
|
119
|
+
//# sourceMappingURL=subscription-top-banner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-top-banner.js","sources":["../../../../../../src/components/subscription-top-banner.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;;;AA6BA,MAAM,IAAI,GAAG,CAAC,QAAgB,KAAK,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAuB;AAEzF;;;;;;;;;;AAUG;AACG,SAAU,qBAAqB,CAAC,EACpC,MAAM,GAAG,KAAK,EACd,uBAAuB,GAAG,mCAAmC,GAClC,EAAA;AAC3B,IAAA,MAAM,CAAC,GAAG,IAAI,EAAE;AAChB,IAAA,MAAM,eAAe,GAAG,oBAAoB,EAAE;AAC9C,IAAA,MAAM,gBAAgB,GAAG,WAAW,CAClC,CAAC,KAAqC,KAAI,EAAA,IAAA,EAAA,CAAA,CAAC,OAAA,CAAA,EAAA,GAAA,KAAK,CAAC,SAAS,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,gBAAgB,CAAA,CAAA,CAAA,CAC7E;AACD,IAAA,MAAM,yBAAyB,GAAG,yBAAyB,EAAE;IAC7D,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAAe,EAAE,CAAC;IAEpE,SAAS,CAAC,MAAK;AACb,QAAA,MAAM,cAAc,GAAG,IAAI,CAAC,+BAA+B,CAAC;AAC5D,QAAA,MAAM,oBAAoB,GAAG,IAAI,CAAC,+BAA+B,CAAC;AAClE,QAAA,MAAM,gBAAgB,GAAG,IAAI,CAAC,iCAAiC,CAAC;AAChE,QAAA,MAAM,YAAY,GAAG,IAAI,CAAC,6B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