@fluid-app/portal-sdk 0.1.298 → 0.1.300
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/{CalendarWidget-DW7jTZf3.mjs → CalendarWidget-BQP9CfCI.mjs} +2 -2
- package/dist/{CalendarWidget-DW7jTZf3.mjs.map → CalendarWidget-BQP9CfCI.mjs.map} +1 -1
- package/dist/{CalendarWidget-C0F4Tn6V.cjs → CalendarWidget-D-ccEA_l.cjs} +2 -2
- package/dist/{CalendarWidget-C0F4Tn6V.cjs.map → CalendarWidget-D-ccEA_l.cjs.map} +1 -1
- package/dist/{CardWidget-DHH4OIIs.cjs → CardWidget-CYhmSVgN.cjs} +3 -3
- package/dist/{CardWidget-D6CDrYMH.cjs → CardWidget-Ck84gmPU.cjs} +2 -2
- package/dist/{CardWidget-D6CDrYMH.cjs.map → CardWidget-Ck84gmPU.cjs.map} +1 -1
- package/dist/{CardWidget-B6W_LADC.mjs → CardWidget-DfY3Lrm_.mjs} +2 -2
- package/dist/{CardWidget-B6W_LADC.mjs.map → CardWidget-DfY3Lrm_.mjs.map} +1 -1
- package/dist/{CatchUpWidget-z6QHlvp8.mjs → CatchUpWidget-BtEH9EHQ.mjs} +2 -2
- package/dist/{CatchUpWidget-z6QHlvp8.mjs.map → CatchUpWidget-BtEH9EHQ.mjs.map} +1 -1
- package/dist/{CatchUpWidget-CjemRhbH.cjs → CatchUpWidget-DrYyYWHQ.cjs} +2 -2
- package/dist/{CatchUpWidget-CjemRhbH.cjs.map → CatchUpWidget-DrYyYWHQ.cjs.map} +1 -1
- package/dist/{ContainerWidget-CDwBQfHU.cjs → ContainerWidget-BEHhDggR.cjs} +2 -2
- package/dist/{ContainerWidget-CDwBQfHU.cjs.map → ContainerWidget-BEHhDggR.cjs.map} +1 -1
- package/dist/ContainerWidget-CPZH6TiA.cjs +8 -0
- package/dist/{ContainerWidget-DjhBudsq.mjs → ContainerWidget-DBRBSg15.mjs} +2 -2
- package/dist/{ContainerWidget-DjhBudsq.mjs.map → ContainerWidget-DBRBSg15.mjs.map} +1 -1
- package/dist/{FluidProvider-DTDhVSLQ.mjs → FluidProvider-BBxURUBq.mjs} +21 -21
- package/dist/{FluidProvider-DTDhVSLQ.mjs.map → FluidProvider-BBxURUBq.mjs.map} +1 -1
- package/dist/{FluidProvider-0sOzJmJn.cjs → FluidProvider-CBuTpv9I.cjs} +21 -21
- package/dist/{FluidProvider-0sOzJmJn.cjs.map → FluidProvider-CBuTpv9I.cjs.map} +1 -1
- package/dist/{LayoutWidget-DTgEFTTC.mjs → LayoutWidget-DYekGAi3.mjs} +2 -2
- package/dist/{LayoutWidget-DTgEFTTC.mjs.map → LayoutWidget-DYekGAi3.mjs.map} +1 -1
- package/dist/{LayoutWidget-CkBCBeVz.cjs → LayoutWidget-LfbpniWh.cjs} +3 -3
- package/dist/{LayoutWidget-DvhG2-qb.cjs → LayoutWidget-XlOfo8WQ.cjs} +2 -2
- package/dist/{LayoutWidget-DvhG2-qb.cjs.map → LayoutWidget-XlOfo8WQ.cjs.map} +1 -1
- package/dist/{MessagingScreen-HRUVbuPI.cjs → MessagingScreen-2M2ETWXp.cjs} +55 -49
- package/dist/{MessagingScreen-HRUVbuPI.cjs.map → MessagingScreen-2M2ETWXp.cjs.map} +1 -1
- package/dist/{MessagingScreen-aTcZSffe.mjs → MessagingScreen-B4vUvkRg.mjs} +13 -14
- package/dist/{MessagingScreen-D6kpqIC2.cjs → MessagingScreen-BI4AufwC.cjs} +13 -13
- package/dist/{MessagingScreen-Ja-iZNt3.mjs → MessagingScreen-CwzSY_G8.mjs} +55 -49
- package/dist/{MessagingScreen-Ja-iZNt3.mjs.map → MessagingScreen-CwzSY_G8.mjs.map} +1 -1
- package/dist/{MySiteWidget-B7sG9bQJ.mjs → MySiteWidget-D8UtttYC.mjs} +2 -2
- package/dist/{MySiteWidget-B7sG9bQJ.mjs.map → MySiteWidget-D8UtttYC.mjs.map} +1 -1
- package/dist/{MySiteWidget-DnHHWYX3.cjs → MySiteWidget-Pw7jVaF7.cjs} +2 -2
- package/dist/{MySiteWidget-DnHHWYX3.cjs.map → MySiteWidget-Pw7jVaF7.cjs.map} +1 -1
- package/dist/{OrdersScreen-B-xjxtr6.mjs → OrdersScreen-CFfrQG4i.mjs} +2 -2
- package/dist/{OrdersScreen-B-xjxtr6.mjs.map → OrdersScreen-CFfrQG4i.mjs.map} +1 -1
- package/dist/{OrdersScreen-ByLEuvca.cjs → OrdersScreen-CS1xA9q5.cjs} +2 -2
- package/dist/{OrdersScreen-ByLEuvca.cjs.map → OrdersScreen-CS1xA9q5.cjs.map} +1 -1
- package/dist/{OrdersScreen-De0aPrG9.mjs → OrdersScreen-DoopejMR.mjs} +13 -15
- package/dist/{OrdersScreen-tlHu0IR3.cjs → OrdersScreen-sLr0z213.cjs} +13 -13
- package/dist/{PointsWidget-DGLpUoZw.mjs → PointsWidget-4tTrD6UA.mjs} +2 -2
- package/dist/{PointsWidget-DGLpUoZw.mjs.map → PointsWidget-4tTrD6UA.mjs.map} +1 -1
- package/dist/{PointsWidget-COBlvYry.cjs → PointsWidget-BeiXr9cO.cjs} +2 -2
- package/dist/{PointsWidget-COBlvYry.cjs.map → PointsWidget-BeiXr9cO.cjs.map} +1 -1
- package/dist/{ProfileScreen-CHWtLOmi.cjs → ProfileScreen-BCR3FU5g.cjs} +2 -2
- package/dist/{ProfileScreen-CHWtLOmi.cjs.map → ProfileScreen-BCR3FU5g.cjs.map} +1 -1
- package/dist/{ProfileScreen-BEDzcVzD.mjs → ProfileScreen-CefqZr-Q.mjs} +2 -2
- package/dist/{ProfileScreen-BEDzcVzD.mjs.map → ProfileScreen-CefqZr-Q.mjs.map} +1 -1
- package/dist/{ProfileScreen-Dzgilark.cjs → ProfileScreen-CwP66ls2.cjs} +13 -13
- package/dist/{ProfileScreen-2ox06tSQ.mjs → ProfileScreen-wj0KTaQF.mjs} +13 -14
- package/dist/{RecentActivityWidget-C47O-9dM.mjs → RecentActivityWidget-C9fWPsVD.mjs} +2 -2
- package/dist/{RecentActivityWidget-C47O-9dM.mjs.map → RecentActivityWidget-C9fWPsVD.mjs.map} +1 -1
- package/dist/{RecentActivityWidget-BS9oXu_h.cjs → RecentActivityWidget-CsZPHcY4.cjs} +2 -2
- package/dist/{RecentActivityWidget-BS9oXu_h.cjs.map → RecentActivityWidget-CsZPHcY4.cjs.map} +1 -1
- package/dist/{ScreenRenderer-6qtnq9PQ.cjs → ScreenRenderer-BQZygrNq.cjs} +141 -33
- package/dist/ScreenRenderer-BQZygrNq.cjs.map +1 -0
- package/dist/{ScreenRenderer-CuaL4ulD.mjs → ScreenRenderer-wC15Ys7_.mjs} +141 -33
- package/dist/ScreenRenderer-wC15Ys7_.mjs.map +1 -0
- package/dist/{ShareablesScreen-IOujFj2X.mjs → ShareablesScreen-Cg10X417.mjs} +0 -2
- package/dist/{ShopScreen-Dd5EVGCt.mjs → ShopScreen-BKMR1rdM.mjs} +13 -15
- package/dist/{ShopScreen-FAgW632j.cjs → ShopScreen-CZdXE7dM.cjs} +2 -2
- package/dist/{ShopScreen-FAgW632j.cjs.map → ShopScreen-CZdXE7dM.cjs.map} +1 -1
- package/dist/{ShopScreen-BmP7vkuc.mjs → ShopScreen-DdAmK5yn.mjs} +2 -2
- package/dist/{ShopScreen-BmP7vkuc.mjs.map → ShopScreen-DdAmK5yn.mjs.map} +1 -1
- package/dist/{ShopScreen-DGMPFzcV.cjs → ShopScreen-xfPTLG5b.cjs} +13 -13
- package/dist/{ToDoWidget-DJiV9a3T.cjs → ToDoWidget-B_E2o_7m.cjs} +2 -2
- package/dist/{ToDoWidget-IKwBkpj3.mjs → ToDoWidget-CXhlO0BY.mjs} +2 -2
- package/dist/{ToDoWidget-IKwBkpj3.mjs.map → ToDoWidget-CXhlO0BY.mjs.map} +1 -1
- package/dist/{ToDoWidget-boT2GH5o.cjs → ToDoWidget-D6sXCE2R.cjs} +2 -2
- package/dist/{ToDoWidget-boT2GH5o.cjs.map → ToDoWidget-D6sXCE2R.cjs.map} +1 -1
- package/dist/index.cjs +24 -24
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +26 -26
- package/dist/{registry-context-DZOQLVi4.cjs → registry-context-D2pft0tu.cjs} +7 -1
- package/dist/registry-context-D2pft0tu.cjs.map +1 -0
- package/dist/{registry-context-DdfXs3K3.mjs → registry-context-gb8MAG9c.mjs} +2 -2
- package/dist/registry-context-gb8MAG9c.mjs.map +1 -0
- package/package.json +22 -22
- package/dist/ContainerWidget-CBksBaz3.cjs +0 -8
- package/dist/ScreenRenderer-6qtnq9PQ.cjs.map +0 -1
- package/dist/ScreenRenderer-CuaL4ulD.mjs.map +0 -1
- package/dist/registry-context-DZOQLVi4.cjs.map +0 -1
- package/dist/registry-context-DdfXs3K3.mjs.map +0 -1
|
@@ -1,45 +1,44 @@
|
|
|
1
|
-
import "./FluidProvider-
|
|
2
|
-
import "./ScreenRenderer-
|
|
1
|
+
import "./FluidProvider-BBxURUBq.mjs";
|
|
2
|
+
import "./ScreenRenderer-wC15Ys7_.mjs";
|
|
3
3
|
import "./portal_tenant-l4a-eX2B.mjs";
|
|
4
4
|
import "./store-api-context-C1lXT_3d.mjs";
|
|
5
5
|
import "./api-context-3GmfqvIB.mjs";
|
|
6
6
|
import "./mysite-api-context-5-qpKHWA.mjs";
|
|
7
7
|
import "./countries-api-context-CMh13cfX.mjs";
|
|
8
|
-
import "./
|
|
9
|
-
import "./registry-context-DdfXs3K3.mjs";
|
|
8
|
+
import "./registry-context-gb8MAG9c.mjs";
|
|
10
9
|
import "./WidgetInteractionContext-D8HZx_Gf.mjs";
|
|
11
10
|
import "./EmbedWidget-BO6P4QHc.mjs";
|
|
12
11
|
import "./static-dict-adapter-BxOhLaMD.mjs";
|
|
13
12
|
import "./error-state-DSJb-3r5.mjs";
|
|
14
|
-
import "./LayoutWidget-
|
|
13
|
+
import "./LayoutWidget-DYekGAi3.mjs";
|
|
15
14
|
import "./registries-BR8vLBBe.mjs";
|
|
16
15
|
import "./fields-BW20NYWO.mjs";
|
|
17
16
|
import "./TextWidget-CmuHRU-g.mjs";
|
|
18
17
|
import "./AlertWidget-BilCRyau.mjs";
|
|
19
18
|
import "./BulletListWidget-CFPYT5ut.mjs";
|
|
20
|
-
import "./CalendarWidget-
|
|
21
|
-
import "./CardWidget-
|
|
19
|
+
import "./CalendarWidget-BQP9CfCI.mjs";
|
|
20
|
+
import "./CardWidget-DfY3Lrm_.mjs";
|
|
22
21
|
import "./purify.es-Bl6SBkmi.mjs";
|
|
23
22
|
import "./MediaRenderer-Db1KsIza.mjs";
|
|
24
23
|
import "./CarouselWidget-BOWNV3rj.mjs";
|
|
25
|
-
import "./CatchUpWidget-
|
|
24
|
+
import "./CatchUpWidget-BtEH9EHQ.mjs";
|
|
26
25
|
import "./src-Dk1FJOX0.mjs";
|
|
27
|
-
import { n as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-
|
|
26
|
+
import { n as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-CwzSY_G8.mjs";
|
|
28
27
|
import "./ChartWidget-rCUOwT7v.mjs";
|
|
29
|
-
import "./ContainerWidget-
|
|
28
|
+
import "./ContainerWidget-DBRBSg15.mjs";
|
|
30
29
|
import "./ImageWidget-DGABEW2_.mjs";
|
|
31
30
|
import "./LinkWidget-DtuO2cmy.mjs";
|
|
32
31
|
import "./ListWidget-DRN6ZCp1.mjs";
|
|
33
|
-
import "./MySiteWidget-
|
|
32
|
+
import "./MySiteWidget-D8UtttYC.mjs";
|
|
34
33
|
import "./NestedWidget-BeOYIuWY.mjs";
|
|
35
|
-
import "./PointsWidget-
|
|
34
|
+
import "./PointsWidget-4tTrD6UA.mjs";
|
|
36
35
|
import "./QuickLinksWidget-IlrkEORt.mjs";
|
|
37
36
|
import "./QuickShareWidget-Bzvh9Yvj.mjs";
|
|
38
|
-
import "./RecentActivityWidget-
|
|
37
|
+
import "./RecentActivityWidget-C9fWPsVD.mjs";
|
|
39
38
|
import "./SeparatorWidget-CTke2MBj.mjs";
|
|
40
39
|
import "./SpacerWidget-D3yx57vH.mjs";
|
|
41
40
|
import "./TableWidget-DCZDRb0V.mjs";
|
|
42
|
-
import "./ToDoWidget-
|
|
41
|
+
import "./ToDoWidget-CXhlO0BY.mjs";
|
|
43
42
|
import "./VideoWidget-DlnwYXlo.mjs";
|
|
44
43
|
import "./ScreenHeaderContext-Dn12BZyj.mjs";
|
|
45
44
|
import "./translation-api-context-factory-CQiyQFCV.mjs";
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
require("./chunk-9hOWP6kD.cjs");
|
|
2
|
-
require("./FluidProvider-
|
|
3
|
-
require("./ScreenRenderer-
|
|
2
|
+
require("./FluidProvider-CBuTpv9I.cjs");
|
|
3
|
+
require("./ScreenRenderer-BQZygrNq.cjs");
|
|
4
4
|
require("./portal_tenant-DG4gKXnu.cjs");
|
|
5
5
|
require("./store-api-context-D1gZn22Z.cjs");
|
|
6
6
|
require("./api-context-BkBvyFVK.cjs");
|
|
7
7
|
require("./mysite-api-context-Dz4lI5Xd.cjs");
|
|
8
8
|
require("./countries-api-context-C0C0K9gJ.cjs");
|
|
9
|
-
require("./registry-context-
|
|
9
|
+
require("./registry-context-D2pft0tu.cjs");
|
|
10
10
|
require("./WidgetInteractionContext-D4gaGBYO.cjs");
|
|
11
11
|
require("./EmbedWidget-CToQrmXM.cjs");
|
|
12
12
|
require("./static-dict-adapter-BP_TjyiI.cjs");
|
|
13
13
|
require("./error-state-CVDJL77c.cjs");
|
|
14
|
-
require("./LayoutWidget-
|
|
14
|
+
require("./LayoutWidget-XlOfo8WQ.cjs");
|
|
15
15
|
require("./registries-yZkFfBWj.cjs");
|
|
16
16
|
require("./fields-FNJHtlvv.cjs");
|
|
17
17
|
require("./TextWidget-A1k61Rz8.cjs");
|
|
18
18
|
require("./AlertWidget-c6TTbBbS.cjs");
|
|
19
19
|
require("./BulletListWidget-B_w4fwtx.cjs");
|
|
20
|
-
require("./CalendarWidget-
|
|
21
|
-
require("./CardWidget-
|
|
20
|
+
require("./CalendarWidget-D-ccEA_l.cjs");
|
|
21
|
+
require("./CardWidget-Ck84gmPU.cjs");
|
|
22
22
|
require("./purify.es-3IyrJU0_.cjs");
|
|
23
23
|
require("./MediaRenderer-D-hwg614.cjs");
|
|
24
24
|
require("./CarouselWidget-Bc524OkT.cjs");
|
|
25
|
-
require("./CatchUpWidget-
|
|
25
|
+
require("./CatchUpWidget-DrYyYWHQ.cjs");
|
|
26
26
|
require("./src-B0ut9PTw.cjs");
|
|
27
27
|
require("./ChartWidget-81bxcoB-.cjs");
|
|
28
|
-
require("./ContainerWidget-
|
|
28
|
+
require("./ContainerWidget-BEHhDggR.cjs");
|
|
29
29
|
require("./ImageWidget-M1QQtfhV.cjs");
|
|
30
30
|
require("./LinkWidget-DWxaYYFW.cjs");
|
|
31
31
|
require("./ListWidget-DbBpSKyW.cjs");
|
|
32
|
-
require("./MySiteWidget-
|
|
32
|
+
require("./MySiteWidget-Pw7jVaF7.cjs");
|
|
33
33
|
require("./NestedWidget-MtFdiroP.cjs");
|
|
34
|
-
require("./PointsWidget-
|
|
34
|
+
require("./PointsWidget-BeiXr9cO.cjs");
|
|
35
35
|
require("./QuickLinksWidget-Dsk-vFXb.cjs");
|
|
36
36
|
require("./QuickShareWidget-Zzi9rA8V.cjs");
|
|
37
|
-
require("./RecentActivityWidget-
|
|
37
|
+
require("./RecentActivityWidget-CsZPHcY4.cjs");
|
|
38
38
|
require("./SeparatorWidget-C33CmxKD.cjs");
|
|
39
39
|
require("./SpacerWidget-D9lOLPr5.cjs");
|
|
40
40
|
require("./TableWidget-DlzkGv_c.cjs");
|
|
41
|
-
require("./ToDoWidget-
|
|
41
|
+
require("./ToDoWidget-D6sXCE2R.cjs");
|
|
42
42
|
require("./VideoWidget-BQvtiY5_.cjs");
|
|
43
43
|
require("./ScreenHeaderContext-CsfhnuJk.cjs");
|
|
44
44
|
require("./translation-api-context-factory-CFtMAp8h.cjs");
|
|
45
|
-
const require_MessagingScreen = require("./MessagingScreen-
|
|
45
|
+
const require_MessagingScreen = require("./MessagingScreen-2M2ETWXp.cjs");
|
|
46
46
|
require("./dist-DbRTQ2QF.cjs");
|
|
47
47
|
require("./es-UfEBhcZD.cjs");
|
|
48
48
|
exports.MessagingScreen = require_MessagingScreen.MessagingScreen;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as __commonJSMin, I as __exportAll, L as __require, R as __toESM } from "./portal_tenant_content-DPLnrtOG.mjs";
|
|
2
|
-
import { L as ApiError, n as useFluidContext } from "./FluidProvider-
|
|
2
|
+
import { L as ApiError, n as useFluidContext } from "./FluidProvider-BBxURUBq.mjs";
|
|
3
3
|
import { a as useActiveLocale, n as createDomainTranslations, r as useDomainDict, t as createStaticDictAdapter } from "./static-dict-adapter-BxOhLaMD.mjs";
|
|
4
4
|
import { $t as constructFrom, A as IconToggle, B as DropdownMenuContent, Bt as isSameDay, Cn as cn, Dt as isBefore, Et as isSameYear, G as DropdownMenuSeparator, Gt as normalizeDates, H as DropdownMenuLabel, Ot as isAfter, Q as DialogContent, Qt as toDate, Rt as endOfMonth, Tt as subDays, Ut as differenceInCalendarDays, V as DropdownMenuItem, Wt as startOfDay, X as Dialog, Xt as addMonths, Y as DropdownMenuTrigger, Z as DialogClose, Zt as addDays, at as Popover, en as millisecondsInHour, f as fluidToast, i as TooltipTrigger, j as IconButton, k as Input, kt as format$1, n as TooltipContent, ot as PopoverContent, r as TooltipProvider, st as PopoverTrigger, t as Tooltip, tn as millisecondsInMinute, u as SpinnerWithText, vn as Button, wt as Calendar$1, z as DropdownMenu, zt as differenceInCalendarMonths } from "./src-Dk1FJOX0.mjs";
|
|
5
5
|
import { n as ScreenHeaderBreadcrumbs, t as ScreenHeaderActions } from "./ScreenHeaderContext-Dn12BZyj.mjs";
|
|
@@ -54555,41 +54555,44 @@ function ScheduledMessagesView({ onToast }) {
|
|
|
54555
54555
|
}
|
|
54556
54556
|
//#endregion
|
|
54557
54557
|
//#region ../../messaging/ui/src/app/MessagingApp.tsx
|
|
54558
|
-
function MessagingApp({ api, auth, websocketUrl, token, renderImage, renderProfileTrigger, onNavigate, initialRoute, renderLockedDownlineItem, renderNewChannelSidebar, showAdminFeatures, canUseMyDownline, downlineData, topBar, messagesViewProps, newMessageViewProps, onToast, getMessageLink, renderProfileContent, hideTopBar, children }) {
|
|
54559
|
-
return /* @__PURE__ */
|
|
54560
|
-
|
|
54561
|
-
|
|
54562
|
-
|
|
54563
|
-
|
|
54564
|
-
|
|
54565
|
-
|
|
54566
|
-
|
|
54567
|
-
|
|
54568
|
-
|
|
54569
|
-
|
|
54570
|
-
|
|
54571
|
-
token,
|
|
54572
|
-
|
|
54573
|
-
|
|
54574
|
-
|
|
54575
|
-
|
|
54576
|
-
|
|
54577
|
-
|
|
54578
|
-
|
|
54579
|
-
|
|
54580
|
-
|
|
54581
|
-
|
|
54582
|
-
|
|
54583
|
-
|
|
54584
|
-
|
|
54585
|
-
|
|
54586
|
-
|
|
54587
|
-
|
|
54588
|
-
|
|
54589
|
-
|
|
54590
|
-
|
|
54591
|
-
|
|
54592
|
-
|
|
54558
|
+
function MessagingApp({ translationAdapter, api, auth, websocketUrl, token, renderImage, renderProfileTrigger, onNavigate, initialRoute, renderLockedDownlineItem, renderNewChannelSidebar, showAdminFeatures, canUseMyDownline, downlineData, topBar, messagesViewProps, newMessageViewProps, onToast, getMessageLink, renderProfileContent, hideTopBar, children }) {
|
|
54559
|
+
return /* @__PURE__ */ jsx(MessagingTranslationProvider, {
|
|
54560
|
+
value: translationAdapter,
|
|
54561
|
+
children: /* @__PURE__ */ jsxs(MessagingAppProvider, {
|
|
54562
|
+
api,
|
|
54563
|
+
auth,
|
|
54564
|
+
websocketUrl,
|
|
54565
|
+
token,
|
|
54566
|
+
renderImage,
|
|
54567
|
+
renderProfileTrigger,
|
|
54568
|
+
onNavigate,
|
|
54569
|
+
initialRoute,
|
|
54570
|
+
children: [
|
|
54571
|
+
websocketUrl && token && /* @__PURE__ */ jsx(CableBootstrap, {
|
|
54572
|
+
websocketUrl,
|
|
54573
|
+
token,
|
|
54574
|
+
recipientId: auth.recipientId,
|
|
54575
|
+
companyId: auth.companyId
|
|
54576
|
+
}),
|
|
54577
|
+
/* @__PURE__ */ jsx(MessagingLayout, {
|
|
54578
|
+
topBar,
|
|
54579
|
+
renderLockedDownlineItem,
|
|
54580
|
+
renderNewChannelSidebar,
|
|
54581
|
+
showAdminFeatures,
|
|
54582
|
+
canUseMyDownline,
|
|
54583
|
+
downlineData,
|
|
54584
|
+
hideTopBar,
|
|
54585
|
+
children: /* @__PURE__ */ jsx(MessagingRouter, {
|
|
54586
|
+
messagesViewProps,
|
|
54587
|
+
newMessageViewProps,
|
|
54588
|
+
onToast,
|
|
54589
|
+
getMessageLink,
|
|
54590
|
+
renderProfileContent
|
|
54591
|
+
})
|
|
54592
|
+
}),
|
|
54593
|
+
children
|
|
54594
|
+
]
|
|
54595
|
+
})
|
|
54593
54596
|
});
|
|
54594
54597
|
}
|
|
54595
54598
|
function MessagingRouter({ messagesViewProps, newMessageViewProps, onToast, getMessageLink, renderProfileContent }) {
|
|
@@ -54957,13 +54960,10 @@ function createMessagingTranslationAdapter(locale, dict) {
|
|
|
54957
54960
|
}
|
|
54958
54961
|
//#endregion
|
|
54959
54962
|
//#region src/providers/MessagingTranslationBridge.tsx
|
|
54960
|
-
function
|
|
54963
|
+
function useMessagingTranslationAdapter() {
|
|
54961
54964
|
const { locale } = useActiveLocale();
|
|
54962
54965
|
const dict = useDomainDict(messagingDomain, locale);
|
|
54963
|
-
return
|
|
54964
|
-
value: useMemo(() => createMessagingTranslationAdapter(locale, dict), [locale, dict]),
|
|
54965
|
-
children
|
|
54966
|
-
});
|
|
54966
|
+
return useMemo(() => createMessagingTranslationAdapter(locale, dict), [locale, dict]);
|
|
54967
54967
|
}
|
|
54968
54968
|
//#endregion
|
|
54969
54969
|
//#region src/screens/MessagingScreen.tsx
|
|
@@ -54982,7 +54982,7 @@ function defaultToast(message, type) {
|
|
|
54982
54982
|
type
|
|
54983
54983
|
});
|
|
54984
54984
|
}
|
|
54985
|
-
function MessagingScreenContent({ onToast, filestackApiKey, websocketUrl: websocketUrlOverride, ...divProps }) {
|
|
54985
|
+
function MessagingScreenContent({ translationAdapter, onToast, filestackApiKey, websocketUrl: websocketUrlOverride, ...divProps }) {
|
|
54986
54986
|
const { t } = useMessagingTranslation();
|
|
54987
54987
|
const { config } = useFluidContext();
|
|
54988
54988
|
const { apiConfig, messagingApi, websocketUrl } = useMessagingConfig();
|
|
@@ -55069,6 +55069,7 @@ function MessagingScreenContent({ onToast, filestackApiKey, websocketUrl: websoc
|
|
|
55069
55069
|
...divProps,
|
|
55070
55070
|
className: `h-full ${divProps.className ?? ""}`,
|
|
55071
55071
|
children: /* @__PURE__ */ jsx(MessagingApp, {
|
|
55072
|
+
translationAdapter,
|
|
55072
55073
|
api: messagingApi,
|
|
55073
55074
|
auth: messagingAuth,
|
|
55074
55075
|
websocketUrl: effectiveWsUrl,
|
|
@@ -55091,12 +55092,17 @@ function MessagingScreenContent({ onToast, filestackApiKey, websocketUrl: websoc
|
|
|
55091
55092
|
});
|
|
55092
55093
|
}
|
|
55093
55094
|
function MessagingScreen({ onToast, filestackApiKey, websocketUrl, background, textColor, accentColor, padding, borderRadius, ...divProps }) {
|
|
55094
|
-
|
|
55095
|
-
|
|
55096
|
-
|
|
55097
|
-
|
|
55098
|
-
|
|
55099
|
-
|
|
55095
|
+
const translationAdapter = useMessagingTranslationAdapter();
|
|
55096
|
+
return /* @__PURE__ */ jsx(MessagingTranslationProvider, {
|
|
55097
|
+
value: translationAdapter,
|
|
55098
|
+
children: /* @__PURE__ */ jsx(MessagingScreenContent, {
|
|
55099
|
+
translationAdapter,
|
|
55100
|
+
onToast,
|
|
55101
|
+
filestackApiKey,
|
|
55102
|
+
websocketUrl,
|
|
55103
|
+
...divProps
|
|
55104
|
+
})
|
|
55105
|
+
});
|
|
55100
55106
|
}
|
|
55101
55107
|
const messagingScreenPropertySchema = {
|
|
55102
55108
|
widgetType: "MessagingScreen",
|
|
@@ -55110,4 +55116,4 @@ const messagingScreenPropertySchema = {
|
|
|
55110
55116
|
//#endregion
|
|
55111
55117
|
export { useMessagingAuth as a, useMessagingConfig as i, messagingScreenPropertySchema as n, createFluidFileUploader as r, MessagingScreen as t };
|
|
55112
55118
|
|
|
55113
|
-
//# sourceMappingURL=MessagingScreen-
|
|
55119
|
+
//# sourceMappingURL=MessagingScreen-CwzSY_G8.mjs.map
|