@fluid-app/portal-sdk 0.1.301 → 0.1.302
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/{AlertWidget-BilCRyau.mjs → AlertWidget-mF7t6q9V.mjs} +3 -3
- package/dist/{AlertWidget-BilCRyau.mjs.map → AlertWidget-mF7t6q9V.mjs.map} +1 -1
- package/dist/{AppDownloadScreen-DtU2S2qh.mjs → AppDownloadScreen-9zlj742F.mjs} +2 -2
- package/dist/{AppDownloadScreen-DtU2S2qh.mjs.map → AppDownloadScreen-9zlj742F.mjs.map} +1 -1
- package/dist/{BulletListWidget-CFPYT5ut.mjs → BulletListWidget-BA7nyDC4.mjs} +2 -2
- package/dist/{BulletListWidget-CFPYT5ut.mjs.map → BulletListWidget-BA7nyDC4.mjs.map} +1 -1
- package/dist/{CalendarWidget-BQP9CfCI.mjs → CalendarWidget-CHpM_XnL.mjs} +2 -2
- package/dist/{CalendarWidget-BQP9CfCI.mjs.map → CalendarWidget-CHpM_XnL.mjs.map} +1 -1
- package/dist/{CardWidget-DfY3Lrm_.mjs → CardWidget-BQdWR7m3.mjs} +2 -2
- package/dist/{CardWidget-DfY3Lrm_.mjs.map → CardWidget-BQdWR7m3.mjs.map} +1 -1
- package/dist/{CarouselWidget-BOWNV3rj.mjs → CarouselWidget-BLQcyVWj.mjs} +2 -2
- package/dist/{CarouselWidget-BOWNV3rj.mjs.map → CarouselWidget-BLQcyVWj.mjs.map} +1 -1
- package/dist/{CatchUpWidget-BtEH9EHQ.mjs → CatchUpWidget-sy6oJqiu.mjs} +2 -2
- package/dist/{CatchUpWidget-BtEH9EHQ.mjs.map → CatchUpWidget-sy6oJqiu.mjs.map} +1 -1
- package/dist/{ChartWidget-rCUOwT7v.mjs → ChartWidget-DE0JNmKi.mjs} +2 -2
- package/dist/{ChartWidget-rCUOwT7v.mjs.map → ChartWidget-DE0JNmKi.mjs.map} +1 -1
- package/dist/{ContactsScreen-Cj2okxTE.mjs → ContactsScreen-suw0tqGW.mjs} +2 -2
- package/dist/{ContactsScreen-Cj2okxTE.mjs.map → ContactsScreen-suw0tqGW.mjs.map} +1 -1
- package/dist/{ContainerWidget-DBRBSg15.mjs → ContainerWidget-CjZOp201.mjs} +3 -3
- package/dist/{ContainerWidget-DBRBSg15.mjs.map → ContainerWidget-CjZOp201.mjs.map} +1 -1
- package/dist/{CustomersScreen-DsRK0m2L.mjs → CustomersScreen-DdSXRmyl.mjs} +2 -2
- package/dist/{CustomersScreen-DsRK0m2L.mjs.map → CustomersScreen-DdSXRmyl.mjs.map} +1 -1
- package/dist/{EmbedWidget-BO6P4QHc.mjs → EmbedWidget-ok8UkJdY.mjs} +2 -2
- package/dist/{EmbedWidget-BO6P4QHc.mjs.map → EmbedWidget-ok8UkJdY.mjs.map} +1 -1
- package/dist/{FluidProvider-CBuTpv9I.cjs → FluidProvider-BAg3B4eD.cjs} +2 -2
- package/dist/{FluidProvider-CBuTpv9I.cjs.map → FluidProvider-BAg3B4eD.cjs.map} +1 -1
- package/dist/{FluidProvider-BBxURUBq.mjs → FluidProvider-C00Px_ej.mjs} +52 -52
- package/dist/{FluidProvider-BBxURUBq.mjs.map → FluidProvider-C00Px_ej.mjs.map} +1 -1
- package/dist/{ImageWidget-DGABEW2_.mjs → ImageWidget-j9pAlihf.mjs} +2 -2
- package/dist/{ImageWidget-DGABEW2_.mjs.map → ImageWidget-j9pAlihf.mjs.map} +1 -1
- package/dist/{LayoutWidget-DYekGAi3.mjs → LayoutWidget-Bvc_oJT-.mjs} +2 -2
- package/dist/{LayoutWidget-DYekGAi3.mjs.map → LayoutWidget-Bvc_oJT-.mjs.map} +1 -1
- package/dist/{LinkWidget-DtuO2cmy.mjs → LinkWidget-CBJjxBOU.mjs} +2 -2
- package/dist/{LinkWidget-DtuO2cmy.mjs.map → LinkWidget-CBJjxBOU.mjs.map} +1 -1
- package/dist/{ListWidget-DRN6ZCp1.mjs → ListWidget-Dw2qxriL.mjs} +2 -2
- package/dist/{ListWidget-DRN6ZCp1.mjs.map → ListWidget-Dw2qxriL.mjs.map} +1 -1
- package/dist/{MessagingScreen-CwzSY_G8.mjs → MessagingScreen-0iAzXjtW.mjs} +4 -4
- package/dist/{MessagingScreen-CwzSY_G8.mjs.map → MessagingScreen-0iAzXjtW.mjs.map} +1 -1
- package/dist/{MessagingScreen-2M2ETWXp.cjs → MessagingScreen-CJ0Rj-M7.cjs} +2 -2
- package/dist/{MessagingScreen-2M2ETWXp.cjs.map → MessagingScreen-CJ0Rj-M7.cjs.map} +1 -1
- package/dist/{MessagingScreen-BI4AufwC.cjs → MessagingScreen-D_feiKUj.cjs} +2 -2
- package/dist/MessagingScreen-aMC3a8cQ.mjs +47 -0
- package/dist/{MySiteScreen-Bx81S9gD.mjs → MySiteScreen-C37AawN3.mjs} +2 -2
- package/dist/{MySiteScreen-Bx81S9gD.mjs.map → MySiteScreen-C37AawN3.mjs.map} +1 -1
- package/dist/{MySiteWidget-D8UtttYC.mjs → MySiteWidget-C37LOc4h.mjs} +2 -2
- package/dist/{MySiteWidget-D8UtttYC.mjs.map → MySiteWidget-C37LOc4h.mjs.map} +1 -1
- package/dist/{NestedWidget-BeOYIuWY.mjs → NestedWidget-DYCR6oXP.mjs} +2 -2
- package/dist/{NestedWidget-BeOYIuWY.mjs.map → NestedWidget-DYCR6oXP.mjs.map} +1 -1
- package/dist/OrdersScreen-B-uk9a0i.mjs +45 -0
- package/dist/{OrdersScreen-B-Nfx1pU.cjs → OrdersScreen-ChbkUQG1.cjs} +2 -2
- package/dist/{OrdersScreen-E0HjjKxj.mjs → OrdersScreen-D1AAopLt.mjs} +2 -2
- package/dist/{OrdersScreen-E0HjjKxj.mjs.map → OrdersScreen-D1AAopLt.mjs.map} +1 -1
- package/dist/{OrdersScreen-CtAlBgys.cjs → OrdersScreen-DrrOttdy.cjs} +2 -2
- package/dist/{OrdersScreen-CtAlBgys.cjs.map → OrdersScreen-DrrOttdy.cjs.map} +1 -1
- package/dist/{PointsWidget-4tTrD6UA.mjs → PointsWidget-D0TPHzoh.mjs} +2 -2
- package/dist/{PointsWidget-4tTrD6UA.mjs.map → PointsWidget-D0TPHzoh.mjs.map} +1 -1
- package/dist/{ProfileScreen-fIQkeFTu.mjs → ProfileScreen-8hi-vFLY.mjs} +2 -2
- package/dist/{ProfileScreen-fIQkeFTu.mjs.map → ProfileScreen-8hi-vFLY.mjs.map} +1 -1
- package/dist/{ProfileScreen-CPzuS8kI.cjs → ProfileScreen-BD51dMvj.cjs} +2 -2
- package/dist/{ProfileScreen-CPzuS8kI.cjs.map → ProfileScreen-BD51dMvj.cjs.map} +1 -1
- package/dist/{ProfileScreen-CL8xD-q8.cjs → ProfileScreen-CHYWGYjZ.cjs} +2 -2
- package/dist/ProfileScreen-HckHOA3z.mjs +47 -0
- package/dist/{QuickLinksWidget-IlrkEORt.mjs → QuickLinksWidget-CQ5u9y6u.mjs} +2 -2
- package/dist/{QuickLinksWidget-IlrkEORt.mjs.map → QuickLinksWidget-CQ5u9y6u.mjs.map} +1 -1
- package/dist/{QuickShareWidget-Bzvh9Yvj.mjs → QuickShareWidget-BIYP_Vju.mjs} +2 -2
- package/dist/{QuickShareWidget-Bzvh9Yvj.mjs.map → QuickShareWidget-BIYP_Vju.mjs.map} +1 -1
- package/dist/{RecentActivityWidget-C9fWPsVD.mjs → RecentActivityWidget-4hDg_4vP.mjs} +2 -2
- package/dist/{RecentActivityWidget-C9fWPsVD.mjs.map → RecentActivityWidget-4hDg_4vP.mjs.map} +1 -1
- package/dist/{SeparatorWidget-CTke2MBj.mjs → SeparatorWidget-N1L4KRZJ.mjs} +2 -2
- package/dist/{SeparatorWidget-CTke2MBj.mjs.map → SeparatorWidget-N1L4KRZJ.mjs.map} +1 -1
- package/dist/{ShareablesScreen-WUM3kwwU.cjs → ShareablesScreen-BmMtSpT8.cjs} +37 -26
- package/dist/ShareablesScreen-BmMtSpT8.cjs.map +1 -0
- package/dist/{ShareablesScreen-DE2k5f6X.mjs → ShareablesScreen-Bx4dJ3uu.mjs} +38 -27
- package/dist/ShareablesScreen-Bx4dJ3uu.mjs.map +1 -0
- package/dist/{ShareablesScreen-Cg10X417.mjs → ShareablesScreen-C2Sj5Jvp.mjs} +2 -2
- package/dist/{ShareablesScreen-BevKtLpN.cjs → ShareablesScreen-D6MjCFu_.cjs} +1 -1
- package/dist/ShopScreen-CIHEblgo.mjs +46 -0
- package/dist/{ShopScreen-CZdXE7dM.cjs → ShopScreen-CnfBzMUM.cjs} +2 -2
- package/dist/{ShopScreen-CZdXE7dM.cjs.map → ShopScreen-CnfBzMUM.cjs.map} +1 -1
- package/dist/{ShopScreen-DdAmK5yn.mjs → ShopScreen-F8cg64iD.mjs} +2 -2
- package/dist/{ShopScreen-DdAmK5yn.mjs.map → ShopScreen-F8cg64iD.mjs.map} +1 -1
- package/dist/{ShopScreen-xfPTLG5b.cjs → ShopScreen-VkI0tl3J.cjs} +2 -2
- package/dist/{SpacerWidget-D3yx57vH.mjs → SpacerWidget-C-Kpjntb.mjs} +2 -2
- package/dist/{SpacerWidget-D3yx57vH.mjs.map → SpacerWidget-C-Kpjntb.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-D8XUHV0b.mjs → SubscriptionsScreen-CaDhBQSX.mjs} +2 -2
- package/dist/{SubscriptionsScreen-D8XUHV0b.mjs.map → SubscriptionsScreen-CaDhBQSX.mjs.map} +1 -1
- package/dist/{TableWidget-DCZDRb0V.mjs → TableWidget-CSB_j9wx.mjs} +2 -2
- package/dist/{TableWidget-DCZDRb0V.mjs.map → TableWidget-CSB_j9wx.mjs.map} +1 -1
- package/dist/{TextWidget-CmuHRU-g.mjs → TextWidget-CPucLu4s.mjs} +2 -2
- package/dist/{TextWidget-CmuHRU-g.mjs.map → TextWidget-CPucLu4s.mjs.map} +1 -1
- package/dist/{ToDoWidget-CXhlO0BY.mjs → ToDoWidget-Czmpoimp.mjs} +2 -2
- package/dist/{ToDoWidget-CXhlO0BY.mjs.map → ToDoWidget-Czmpoimp.mjs.map} +1 -1
- package/dist/{UpgradeScreen-DZ6uZpeX.mjs → UpgradeScreen-u3UxUd3B.mjs} +2 -2
- package/dist/{UpgradeScreen-DZ6uZpeX.mjs.map → UpgradeScreen-u3UxUd3B.mjs.map} +1 -1
- package/dist/{VideoWidget-DlnwYXlo.mjs → VideoWidget-DNhWLnbP.mjs} +2 -2
- package/dist/{VideoWidget-DlnwYXlo.mjs.map → VideoWidget-DNhWLnbP.mjs.map} +1 -1
- package/dist/{es-XDcP51O8.mjs → es-i72IyPYD.mjs} +2 -2
- package/dist/{es-XDcP51O8.mjs.map → es-i72IyPYD.mjs.map} +1 -1
- package/dist/index.cjs +16 -16
- package/dist/index.mjs +60 -60
- package/dist/{portal_tenant_content-C1R1xxDP.cjs → portal_tenant_content-BnrwKhyK.cjs} +9 -7
- package/dist/portal_tenant_content-BnrwKhyK.cjs.map +1 -0
- package/dist/{portal_tenant_content-DPLnrtOG.mjs → portal_tenant_content-CcKZMB9E.mjs} +9 -7
- package/dist/portal_tenant_content-CcKZMB9E.mjs.map +1 -0
- package/package.json +18 -18
- package/dist/MessagingScreen-B4vUvkRg.mjs +0 -47
- package/dist/OrdersScreen-BR1WDP_v.mjs +0 -45
- package/dist/ProfileScreen-COZw57uK.mjs +0 -47
- package/dist/ShareablesScreen-DE2k5f6X.mjs.map +0 -1
- package/dist/ShareablesScreen-WUM3kwwU.cjs.map +0 -1
- package/dist/ShopScreen-BKMR1rdM.mjs +0 -46
- package/dist/portal_tenant_content-C1R1xxDP.cjs.map +0 -1
- package/dist/portal_tenant_content-DPLnrtOG.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("./chunk-9hOWP6kD.cjs");
|
|
3
|
-
const require_FluidProvider = require("./FluidProvider-
|
|
3
|
+
const require_FluidProvider = require("./FluidProvider-BAg3B4eD.cjs");
|
|
4
4
|
const require_ScreenRenderer = require("./ScreenRenderer-BQZygrNq.cjs");
|
|
5
5
|
require("./portal_tenant-DG4gKXnu.cjs");
|
|
6
6
|
require("./store-api-context-D1gZn22Z.cjs");
|
|
@@ -49,20 +49,20 @@ const require_CustomersScreen = require("./CustomersScreen-DegYuqGW.cjs");
|
|
|
49
49
|
const require_use_store = require("./use-store-D2S1FywW.cjs");
|
|
50
50
|
const require_use_account = require("./use-account-D6LKCUP_.cjs");
|
|
51
51
|
const require_AppNavigationContext = require("./AppNavigationContext-CDowN9gd.cjs");
|
|
52
|
-
const require_MessagingScreen = require("./MessagingScreen-
|
|
52
|
+
const require_MessagingScreen = require("./MessagingScreen-CJ0Rj-M7.cjs");
|
|
53
53
|
require("./AddressAutocompleteInput-kE3jh0Gq.cjs");
|
|
54
54
|
require("./use-mysite-portal-YnHKJ-Y-.cjs");
|
|
55
|
-
const require_ProfileScreen = require("./ProfileScreen-
|
|
55
|
+
const require_ProfileScreen = require("./ProfileScreen-BD51dMvj.cjs");
|
|
56
56
|
const require_SubscriptionsScreen = require("./SubscriptionsScreen-YL-1_nFd.cjs");
|
|
57
57
|
require("./dist-DbRTQ2QF.cjs");
|
|
58
58
|
require("./es-UfEBhcZD.cjs");
|
|
59
59
|
require("./dist-CznjDmLm.cjs");
|
|
60
|
-
const require_OrdersScreen = require("./OrdersScreen-
|
|
60
|
+
const require_OrdersScreen = require("./OrdersScreen-DrrOttdy.cjs");
|
|
61
61
|
const require_MySiteScreen = require("./MySiteScreen-Z8tDPTr4.cjs");
|
|
62
62
|
require("./dist-DQpj0W8j.cjs");
|
|
63
|
-
const require_ShareablesScreen = require("./ShareablesScreen-
|
|
63
|
+
const require_ShareablesScreen = require("./ShareablesScreen-BmMtSpT8.cjs");
|
|
64
64
|
require("./PortalProductsApiProvider-CAy-A-m-.cjs");
|
|
65
|
-
const require_ShopScreen = require("./ShopScreen-
|
|
65
|
+
const require_ShopScreen = require("./ShopScreen-CnfBzMUM.cjs");
|
|
66
66
|
require("./UpgradeScreen-BTYWzV7s.cjs");
|
|
67
67
|
require("./AppDownloadScreen--xV0qms8.cjs");
|
|
68
68
|
let react = require("react");
|
|
@@ -2116,14 +2116,14 @@ function BuilderScreenViewImpl({ screen, className }) {
|
|
|
2116
2116
|
const BuilderScreenView = (0, react.memo)(BuilderScreenViewImpl);
|
|
2117
2117
|
//#endregion
|
|
2118
2118
|
//#region src/shell/system-screen-map.ts
|
|
2119
|
-
const ProfileScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ProfileScreen-
|
|
2120
|
-
const OrdersScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./OrdersScreen-
|
|
2119
|
+
const ProfileScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ProfileScreen-CHYWGYjZ.cjs")).then((m) => ({ default: m.ProfileScreen })));
|
|
2120
|
+
const OrdersScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./OrdersScreen-ChbkUQG1.cjs")).then((m) => ({ default: m.OrdersScreen })));
|
|
2121
2121
|
const SubscriptionsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./SubscriptionsScreen-6Xp62ubF.cjs")).then((m) => ({ default: m.SubscriptionsScreen })));
|
|
2122
|
-
const MessagingScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./MessagingScreen-
|
|
2122
|
+
const MessagingScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./MessagingScreen-D_feiKUj.cjs")).then((m) => ({ default: m.MessagingScreen })));
|
|
2123
2123
|
const ContactsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ContactsScreen-PEhqVAD7.cjs")).then((m) => ({ default: m.ContactsScreen })));
|
|
2124
|
-
const ShopScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ShopScreen-
|
|
2124
|
+
const ShopScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ShopScreen-VkI0tl3J.cjs")).then((m) => ({ default: m.ShopScreen })));
|
|
2125
2125
|
const CustomersScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./CustomersScreen-DegYuqGW.cjs")).then((n) => n.CustomersScreen_exports).then((m) => ({ default: m.CustomersScreen })));
|
|
2126
|
-
const ShareablesScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ShareablesScreen-
|
|
2126
|
+
const ShareablesScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ShareablesScreen-D6MjCFu_.cjs")).then((m) => ({ default: m.ShareablesScreen })));
|
|
2127
2127
|
const MySiteScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./MySiteScreen-CZ7SLmAq.cjs")).then((m) => ({ default: m.MySiteScreen })));
|
|
2128
2128
|
const UpgradeScreen = (0, react.lazy)(() => Promise.resolve().then(() => require("./UpgradeScreen-DUcj-UyR.cjs")).then((m) => ({ default: m.UpgradeScreen })));
|
|
2129
2129
|
const AppDownloadScreen = (0, react.lazy)(() => Promise.resolve().then(() => require("./AppDownloadScreen--xV0qms8.cjs")).then((n) => n.AppDownloadScreen_exports).then((m) => ({ default: m.AppDownloadScreen })));
|
|
@@ -3862,15 +3862,15 @@ zod.z.object({
|
|
|
3862
3862
|
//#endregion
|
|
3863
3863
|
//#region src/screens/index.ts
|
|
3864
3864
|
const screenPropertySchemas = {
|
|
3865
|
-
ProfileScreen: () => Promise.resolve().then(() => require("./ProfileScreen-
|
|
3866
|
-
MessagingScreen: () => Promise.resolve().then(() => require("./MessagingScreen-
|
|
3865
|
+
ProfileScreen: () => Promise.resolve().then(() => require("./ProfileScreen-CHYWGYjZ.cjs")).then((m) => m.profileScreenPropertySchema),
|
|
3866
|
+
MessagingScreen: () => Promise.resolve().then(() => require("./MessagingScreen-D_feiKUj.cjs")).then((m) => m.messagingScreenPropertySchema),
|
|
3867
3867
|
ContactsScreen: () => Promise.resolve().then(() => require("./ContactsScreen-PEhqVAD7.cjs")).then((m) => m.contactsScreenPropertySchema),
|
|
3868
|
-
OrdersScreen: () => Promise.resolve().then(() => require("./OrdersScreen-
|
|
3868
|
+
OrdersScreen: () => Promise.resolve().then(() => require("./OrdersScreen-ChbkUQG1.cjs")).then((m) => m.ordersScreenPropertySchema),
|
|
3869
3869
|
SubscriptionsScreen: () => Promise.resolve().then(() => require("./SubscriptionsScreen-6Xp62ubF.cjs")).then((m) => m.subscriptionsScreenPropertySchema),
|
|
3870
3870
|
CustomersScreen: () => Promise.resolve().then(() => require("./CustomersScreen-DegYuqGW.cjs")).then((n) => n.CustomersScreen_exports).then((m) => m.customersScreenPropertySchema),
|
|
3871
3871
|
MySiteScreen: () => Promise.resolve().then(() => require("./MySiteScreen-CZ7SLmAq.cjs")).then((m) => m.mySiteScreenPropertySchema),
|
|
3872
|
-
ShareablesScreen: () => Promise.resolve().then(() => require("./ShareablesScreen-
|
|
3873
|
-
ShopScreen: () => Promise.resolve().then(() => require("./ShopScreen-
|
|
3872
|
+
ShareablesScreen: () => Promise.resolve().then(() => require("./ShareablesScreen-D6MjCFu_.cjs")).then((m) => m.shareablesScreenPropertySchema),
|
|
3873
|
+
ShopScreen: () => Promise.resolve().then(() => require("./ShopScreen-VkI0tl3J.cjs")).then((m) => m.shopScreenPropertySchema),
|
|
3874
3874
|
UpgradeScreen: () => Promise.resolve().then(() => require("./UpgradeScreen-DUcj-UyR.cjs")).then((m) => m.upgradeScreenPropertySchema),
|
|
3875
3875
|
AppDownloadScreen: () => Promise.resolve().then(() => require("./AppDownloadScreen--xV0qms8.cjs")).then((n) => n.AppDownloadScreen_exports).then((m) => m.appDownloadScreenPropertySchema)
|
|
3876
3876
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import { A as mergeDarkOverrides, B as createPersister, C as DEFAULT_SPACING, D as generateThemeCSS, E as getDefaultThemeDefinition, F as RADIUS_KEYS, I as SEMANTIC_COLOR_NAMES, M as resolveTheme, N as FONT_FAMILY_KEYS, O as deriveDarkVariant, P as FONT_SIZE_KEYS, S as DEFAULT_RADII, T as DEFAULT_THEME_NAME, V as deleteDatabase, _ as deserialiseTheme, a as widgetPropertySchemas, b as DEFAULT_FONT_FAMILIES, c as createWidgetRegistry, d as applyTheme, f as removeAllThemes, g as transformThemes, h as getActiveThemeId, i as DEFAULT_SDK_WIDGET_REGISTRY, j as parseColor, k as getForegroundColor, l as FluidThemeProvider, m as buildThemeDefinition, n as useFluidContext, o as createScreen, p as removeTheme, r as SUPPORTED_LANGUAGES, s as createWidgetFromShareable, t as FluidProvider, u as useThemeContext, v as serialiseTheme, w as DEFAULT_THEME_ID, x as DEFAULT_FONT_SIZES, y as DEFAULT_COLORS, z as useAppDefinitionApi } from "./FluidProvider-
|
|
1
|
+
import { A as mergeDarkOverrides, B as createPersister, C as DEFAULT_SPACING, D as generateThemeCSS, E as getDefaultThemeDefinition, F as RADIUS_KEYS, I as SEMANTIC_COLOR_NAMES, M as resolveTheme, N as FONT_FAMILY_KEYS, O as deriveDarkVariant, P as FONT_SIZE_KEYS, S as DEFAULT_RADII, T as DEFAULT_THEME_NAME, V as deleteDatabase, _ as deserialiseTheme, a as widgetPropertySchemas, b as DEFAULT_FONT_FAMILIES, c as createWidgetRegistry, d as applyTheme, f as removeAllThemes, g as transformThemes, h as getActiveThemeId, i as DEFAULT_SDK_WIDGET_REGISTRY, j as parseColor, k as getForegroundColor, l as FluidThemeProvider, m as buildThemeDefinition, n as useFluidContext, o as createScreen, p as removeTheme, r as SUPPORTED_LANGUAGES, s as createWidgetFromShareable, t as FluidProvider, u as useThemeContext, v as serialiseTheme, w as DEFAULT_THEME_ID, x as DEFAULT_FONT_SIZES, y as DEFAULT_COLORS, z as useAppDefinitionApi } from "./FluidProvider-C00Px_ej.mjs";
|
|
2
2
|
import { a as assertNever, i as assertDefined, n as DataAwareWidget, o as isWidgetType, r as WIDGET_TYPE_NAMES, s as isWidgetTypeName, u as useRegistry } from "./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 { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-
|
|
8
|
+
import { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-suw0tqGW.mjs";
|
|
9
9
|
import { n as usePortalTenantClient } from "./PortalTenantClientProvider-BF-1Fy27.mjs";
|
|
10
10
|
import "./registry-context-gb8MAG9c.mjs";
|
|
11
11
|
import { t as WidgetInteractionProvider } from "./WidgetInteractionContext-D8HZx_Gf.mjs";
|
|
12
|
-
import { a as useRepUser, i as RepUserProvider, r as embedWidgetPropertySchema, t as EmbedWidget } from "./EmbedWidget-
|
|
12
|
+
import { a as useRepUser, i as RepUserProvider, r as embedWidgetPropertySchema, t as EmbedWidget } from "./EmbedWidget-ok8UkJdY.mjs";
|
|
13
13
|
import { a as useActiveLocale, n as createDomainTranslations, r as useDomainDict, t as createStaticDictAdapter } from "./static-dict-adapter-BxOhLaMD.mjs";
|
|
14
14
|
import "./error-state-DSJb-3r5.mjs";
|
|
15
|
-
import { a as sectionLayoutConfig, i as groupChildrenByColumn, r as layoutWidgetPropertySchema, t as LayoutWidget } from "./LayoutWidget-
|
|
15
|
+
import { a as sectionLayoutConfig, i as groupChildrenByColumn, r as layoutWidgetPropertySchema, t as LayoutWidget } from "./LayoutWidget-Bvc_oJT-.mjs";
|
|
16
16
|
import { g as isPropertyFieldType, h as PROPERTY_FIELD_TYPES, r as gapValues } from "./registries-BR8vLBBe.mjs";
|
|
17
17
|
import "./fields-BW20NYWO.mjs";
|
|
18
|
-
import { r as textWidgetPropertySchema, t as TextWidget } from "./TextWidget-
|
|
19
|
-
import { r as alertWidgetPropertySchema, t as AlertWidget } from "./AlertWidget-
|
|
20
|
-
import { r as bulletListWidgetPropertySchema, t as BulletListWidget } from "./BulletListWidget-
|
|
21
|
-
import { r as calendarWidgetPropertySchema, t as CalendarWidget } from "./CalendarWidget-
|
|
22
|
-
import { r as cardWidgetPropertySchema, t as CardWidget } from "./CardWidget-
|
|
18
|
+
import { r as textWidgetPropertySchema, t as TextWidget } from "./TextWidget-CPucLu4s.mjs";
|
|
19
|
+
import { r as alertWidgetPropertySchema, t as AlertWidget } from "./AlertWidget-mF7t6q9V.mjs";
|
|
20
|
+
import { r as bulletListWidgetPropertySchema, t as BulletListWidget } from "./BulletListWidget-BA7nyDC4.mjs";
|
|
21
|
+
import { r as calendarWidgetPropertySchema, t as CalendarWidget } from "./CalendarWidget-CHpM_XnL.mjs";
|
|
22
|
+
import { r as cardWidgetPropertySchema, t as CardWidget } from "./CardWidget-BQdWR7m3.mjs";
|
|
23
23
|
import "./purify.es-Bl6SBkmi.mjs";
|
|
24
24
|
import "./MediaRenderer-Db1KsIza.mjs";
|
|
25
|
-
import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-
|
|
26
|
-
import { r as catchUpWidgetPropertySchema, t as CatchUpWidget } from "./CatchUpWidget-
|
|
25
|
+
import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-BLQcyVWj.mjs";
|
|
26
|
+
import { r as catchUpWidgetPropertySchema, t as CatchUpWidget } from "./CatchUpWidget-sy6oJqiu.mjs";
|
|
27
27
|
import { Cn as cn$1, St as CardTitle, at as Popover, bt as CardFooter, ct as Collapsible, gt as Card, h as Skeleton$1, lt as CollapsibleContent, ot as PopoverContent, p as Toaster, st as PopoverTrigger, ut as CollapsibleTrigger, vn as Button, xt as CardHeader, yt as CardDescription } from "./src-Dk1FJOX0.mjs";
|
|
28
|
-
import { a as useMessagingAuth, i as useMessagingConfig, n as messagingScreenPropertySchema, r as createFluidFileUploader, t as MessagingScreen } from "./MessagingScreen-
|
|
29
|
-
import { r as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-
|
|
30
|
-
import { r as chartWidgetPropertySchema, t as ChartWidget } from "./ChartWidget-
|
|
31
|
-
import { r as containerWidgetPropertySchema, t as ContainerWidget } from "./ContainerWidget-
|
|
32
|
-
import { r as imageWidgetPropertySchema, t as ImageWidget } from "./ImageWidget-
|
|
33
|
-
import { r as linkWidgetPropertySchema, t as LinkWidget } from "./LinkWidget-
|
|
34
|
-
import { r as listWidgetPropertySchema, t as ListWidget } from "./ListWidget-
|
|
35
|
-
import { r as mySiteWidgetPropertySchema, t as MySiteWidget } from "./MySiteWidget-
|
|
36
|
-
import { r as nestedWidgetPropertySchema, t as NestedWidget } from "./NestedWidget-
|
|
37
|
-
import { r as pointsWidgetPropertySchema, t as PointsWidget } from "./PointsWidget-
|
|
38
|
-
import { r as quickLinksWidgetPropertySchema, t as QuickLinksWidget } from "./QuickLinksWidget-
|
|
39
|
-
import { r as quickShareWidgetPropertySchema, t as QuickShareWidget } from "./QuickShareWidget-
|
|
40
|
-
import { r as recentActivityWidgetPropertySchema, t as RecentActivityWidget } from "./RecentActivityWidget-
|
|
41
|
-
import { r as separatorWidgetPropertySchema, t as SeparatorWidget } from "./SeparatorWidget-
|
|
42
|
-
import { r as spacerWidgetPropertySchema, t as SpacerWidget } from "./SpacerWidget-
|
|
43
|
-
import { r as tableWidgetPropertySchema, t as TableWidget } from "./TableWidget-
|
|
44
|
-
import { r as toDoWidgetPropertySchema, t as ToDoWidget } from "./ToDoWidget-
|
|
45
|
-
import { r as videoWidgetPropertySchema, t as VideoWidget } from "./VideoWidget-
|
|
28
|
+
import { a as useMessagingAuth, i as useMessagingConfig, n as messagingScreenPropertySchema, r as createFluidFileUploader, t as MessagingScreen } from "./MessagingScreen-0iAzXjtW.mjs";
|
|
29
|
+
import { r as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-CaDhBQSX.mjs";
|
|
30
|
+
import { r as chartWidgetPropertySchema, t as ChartWidget } from "./ChartWidget-DE0JNmKi.mjs";
|
|
31
|
+
import { r as containerWidgetPropertySchema, t as ContainerWidget } from "./ContainerWidget-CjZOp201.mjs";
|
|
32
|
+
import { r as imageWidgetPropertySchema, t as ImageWidget } from "./ImageWidget-j9pAlihf.mjs";
|
|
33
|
+
import { r as linkWidgetPropertySchema, t as LinkWidget } from "./LinkWidget-CBJjxBOU.mjs";
|
|
34
|
+
import { r as listWidgetPropertySchema, t as ListWidget } from "./ListWidget-Dw2qxriL.mjs";
|
|
35
|
+
import { r as mySiteWidgetPropertySchema, t as MySiteWidget } from "./MySiteWidget-C37LOc4h.mjs";
|
|
36
|
+
import { r as nestedWidgetPropertySchema, t as NestedWidget } from "./NestedWidget-DYCR6oXP.mjs";
|
|
37
|
+
import { r as pointsWidgetPropertySchema, t as PointsWidget } from "./PointsWidget-D0TPHzoh.mjs";
|
|
38
|
+
import { r as quickLinksWidgetPropertySchema, t as QuickLinksWidget } from "./QuickLinksWidget-CQ5u9y6u.mjs";
|
|
39
|
+
import { r as quickShareWidgetPropertySchema, t as QuickShareWidget } from "./QuickShareWidget-BIYP_Vju.mjs";
|
|
40
|
+
import { r as recentActivityWidgetPropertySchema, t as RecentActivityWidget } from "./RecentActivityWidget-4hDg_4vP.mjs";
|
|
41
|
+
import { r as separatorWidgetPropertySchema, t as SeparatorWidget } from "./SeparatorWidget-N1L4KRZJ.mjs";
|
|
42
|
+
import { r as spacerWidgetPropertySchema, t as SpacerWidget } from "./SpacerWidget-C-Kpjntb.mjs";
|
|
43
|
+
import { r as tableWidgetPropertySchema, t as TableWidget } from "./TableWidget-CSB_j9wx.mjs";
|
|
44
|
+
import { r as toDoWidgetPropertySchema, t as ToDoWidget } from "./ToDoWidget-Czmpoimp.mjs";
|
|
45
|
+
import { r as videoWidgetPropertySchema, t as VideoWidget } from "./VideoWidget-DNhWLnbP.mjs";
|
|
46
46
|
import { i as useScreenHeaderSlotRefs, r as ScreenHeaderProvider } from "./ScreenHeaderContext-Dn12BZyj.mjs";
|
|
47
47
|
import "./translation-api-context-factory-CQiyQFCV.mjs";
|
|
48
|
-
import { a as ShellTranslationContext, i as CoreScreenPlaceholder, o as ShellTranslationProvider, r as customersScreenPropertySchema, s as useShellTranslation, t as CustomersScreen } from "./CustomersScreen-
|
|
48
|
+
import { a as ShellTranslationContext, i as CoreScreenPlaceholder, o as ShellTranslationProvider, r as customersScreenPropertySchema, s as useShellTranslation, t as CustomersScreen } from "./CustomersScreen-DdSXRmyl.mjs";
|
|
49
49
|
import { t as useStore } from "./use-store-BVCCB9kx.mjs";
|
|
50
50
|
import { t as useAccount } from "./use-account-BohlN5UP.mjs";
|
|
51
51
|
import { n as useAppNavigation, t as AppNavigationProvider } from "./AppNavigationContext-Dvc0yoZF.mjs";
|
|
52
52
|
import "./AddressAutocompleteInput-7SRPuVKp.mjs";
|
|
53
53
|
import "./use-mysite-portal-B7N48vKo.mjs";
|
|
54
|
-
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-
|
|
54
|
+
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-8hi-vFLY.mjs";
|
|
55
55
|
import "./dist-PbA1vxAz.mjs";
|
|
56
|
-
import "./es-
|
|
56
|
+
import "./es-i72IyPYD.mjs";
|
|
57
57
|
import "./dist-BdonWipX.mjs";
|
|
58
|
-
import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-
|
|
59
|
-
import { r as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-
|
|
58
|
+
import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-D1AAopLt.mjs";
|
|
59
|
+
import { r as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-C37AawN3.mjs";
|
|
60
60
|
import "./sortable.esm-BqjLKOgx.mjs";
|
|
61
|
-
import { n as shareablesScreenPropertySchema, t as ShareablesScreen } from "./ShareablesScreen-
|
|
61
|
+
import { n as shareablesScreenPropertySchema, t as ShareablesScreen } from "./ShareablesScreen-Bx4dJ3uu.mjs";
|
|
62
62
|
import "./PortalProductsApiProvider-Daft5xxE.mjs";
|
|
63
|
-
import { n as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-
|
|
64
|
-
import "./UpgradeScreen-
|
|
65
|
-
import "./AppDownloadScreen-
|
|
63
|
+
import { n as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-F8cg64iD.mjs";
|
|
64
|
+
import "./UpgradeScreen-u3UxUd3B.mjs";
|
|
65
|
+
import "./AppDownloadScreen-9zlj742F.mjs";
|
|
66
66
|
import * as React$1 from "react";
|
|
67
67
|
import { Component, StrictMode, Suspense, createContext, forwardRef, lazy, memo, useCallback, useContext, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
68
68
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
@@ -2114,17 +2114,17 @@ function BuilderScreenViewImpl({ screen, className }) {
|
|
|
2114
2114
|
const BuilderScreenView = memo(BuilderScreenViewImpl);
|
|
2115
2115
|
//#endregion
|
|
2116
2116
|
//#region src/shell/system-screen-map.ts
|
|
2117
|
-
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-
|
|
2118
|
-
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-
|
|
2119
|
-
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-
|
|
2120
|
-
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-
|
|
2121
|
-
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-
|
|
2122
|
-
const ShopScreen$1 = lazy(() => import("./ShopScreen-
|
|
2123
|
-
const CustomersScreen$1 = lazy(() => import("./CustomersScreen-
|
|
2124
|
-
const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-
|
|
2125
|
-
const MySiteScreen$1 = lazy(() => import("./MySiteScreen-
|
|
2126
|
-
const UpgradeScreen = lazy(() => import("./UpgradeScreen-
|
|
2127
|
-
const AppDownloadScreen = lazy(() => import("./AppDownloadScreen-
|
|
2117
|
+
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-HckHOA3z.mjs").then((m) => ({ default: m.ProfileScreen })));
|
|
2118
|
+
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-B-uk9a0i.mjs").then((m) => ({ default: m.OrdersScreen })));
|
|
2119
|
+
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-CaDhBQSX.mjs").then((n) => n.n).then((m) => ({ default: m.SubscriptionsScreen })));
|
|
2120
|
+
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-aMC3a8cQ.mjs").then((m) => ({ default: m.MessagingScreen })));
|
|
2121
|
+
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-suw0tqGW.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
|
|
2122
|
+
const ShopScreen$1 = lazy(() => import("./ShopScreen-CIHEblgo.mjs").then((m) => ({ default: m.ShopScreen })));
|
|
2123
|
+
const CustomersScreen$1 = lazy(() => import("./CustomersScreen-DdSXRmyl.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
|
|
2124
|
+
const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-C2Sj5Jvp.mjs").then((m) => ({ default: m.ShareablesScreen })));
|
|
2125
|
+
const MySiteScreen$1 = lazy(() => import("./MySiteScreen-C37AawN3.mjs").then((n) => n.n).then((m) => ({ default: m.MySiteScreen })));
|
|
2126
|
+
const UpgradeScreen = lazy(() => import("./UpgradeScreen-u3UxUd3B.mjs").then((n) => n.t).then((m) => ({ default: m.UpgradeScreen })));
|
|
2127
|
+
const AppDownloadScreen = lazy(() => import("./AppDownloadScreen-9zlj742F.mjs").then((n) => n.t).then((m) => ({ default: m.AppDownloadScreen })));
|
|
2128
2128
|
const SYSTEM_SLUG_SCREEN_MAP = {
|
|
2129
2129
|
profile: ProfileScreen$1,
|
|
2130
2130
|
account: ProfileScreen$1,
|
|
@@ -3860,17 +3860,17 @@ z.object({
|
|
|
3860
3860
|
//#endregion
|
|
3861
3861
|
//#region src/screens/index.ts
|
|
3862
3862
|
const screenPropertySchemas = {
|
|
3863
|
-
ProfileScreen: () => import("./ProfileScreen-
|
|
3864
|
-
MessagingScreen: () => import("./MessagingScreen-
|
|
3865
|
-
ContactsScreen: () => import("./ContactsScreen-
|
|
3866
|
-
OrdersScreen: () => import("./OrdersScreen-
|
|
3867
|
-
SubscriptionsScreen: () => import("./SubscriptionsScreen-
|
|
3868
|
-
CustomersScreen: () => import("./CustomersScreen-
|
|
3869
|
-
MySiteScreen: () => import("./MySiteScreen-
|
|
3870
|
-
ShareablesScreen: () => import("./ShareablesScreen-
|
|
3871
|
-
ShopScreen: () => import("./ShopScreen-
|
|
3872
|
-
UpgradeScreen: () => import("./UpgradeScreen-
|
|
3873
|
-
AppDownloadScreen: () => import("./AppDownloadScreen-
|
|
3863
|
+
ProfileScreen: () => import("./ProfileScreen-HckHOA3z.mjs").then((m) => m.profileScreenPropertySchema),
|
|
3864
|
+
MessagingScreen: () => import("./MessagingScreen-aMC3a8cQ.mjs").then((m) => m.messagingScreenPropertySchema),
|
|
3865
|
+
ContactsScreen: () => import("./ContactsScreen-suw0tqGW.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
|
|
3866
|
+
OrdersScreen: () => import("./OrdersScreen-B-uk9a0i.mjs").then((m) => m.ordersScreenPropertySchema),
|
|
3867
|
+
SubscriptionsScreen: () => import("./SubscriptionsScreen-CaDhBQSX.mjs").then((n) => n.n).then((m) => m.subscriptionsScreenPropertySchema),
|
|
3868
|
+
CustomersScreen: () => import("./CustomersScreen-DdSXRmyl.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
|
|
3869
|
+
MySiteScreen: () => import("./MySiteScreen-C37AawN3.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
|
|
3870
|
+
ShareablesScreen: () => import("./ShareablesScreen-C2Sj5Jvp.mjs").then((m) => m.shareablesScreenPropertySchema),
|
|
3871
|
+
ShopScreen: () => import("./ShopScreen-CIHEblgo.mjs").then((m) => m.shopScreenPropertySchema),
|
|
3872
|
+
UpgradeScreen: () => import("./UpgradeScreen-u3UxUd3B.mjs").then((n) => n.t).then((m) => m.upgradeScreenPropertySchema),
|
|
3873
|
+
AppDownloadScreen: () => import("./AppDownloadScreen-9zlj742F.mjs").then((n) => n.t).then((m) => m.appDownloadScreenPropertySchema)
|
|
3874
3874
|
};
|
|
3875
3875
|
/**
|
|
3876
3876
|
* Core page template IDs
|
|
@@ -21,24 +21,26 @@ async function media_create(client, body) {
|
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Get a specific media item
|
|
24
|
-
* Returns a single media item by ID.
|
|
24
|
+
* Returns a single media item by ID. When language_iso is provided, translatable fields (title, description, url) are returned for that language with no fallback — empty values indicate an untranslated field.
|
|
25
25
|
*
|
|
26
26
|
* @param client - Fetch client instance
|
|
27
27
|
* @param id - id
|
|
28
|
+
* @param [params] - params
|
|
28
29
|
*/
|
|
29
|
-
async function media_show(client, id) {
|
|
30
|
-
return client.get(`/api/content/media/${id}
|
|
30
|
+
async function media_show(client, id, params) {
|
|
31
|
+
return client.get(`/api/content/media/${id}`, params);
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Update a media item (own uploads only)
|
|
34
|
-
* Updates a media item's title, description, status, url, content_format, thumbnail, CTA, and SEO.
|
|
35
|
+
* Updates a media item's title, description, status, url, content_format, thumbnail, CTA, and SEO. When language_iso is provided, translatable fields are written against that language's translation row instead of the default locale.
|
|
35
36
|
*
|
|
36
37
|
* @param client - Fetch client instance
|
|
37
38
|
* @param id - id
|
|
38
39
|
* @param body - body
|
|
40
|
+
* @param [params] - params
|
|
39
41
|
*/
|
|
40
|
-
async function media_update(client, id, body) {
|
|
41
|
-
return client.patch(`/api/content/media/${id}`, body);
|
|
42
|
+
async function media_update(client, id, body, params) {
|
|
43
|
+
return client.patch(`/api/content/media/${id}`, body, { params });
|
|
42
44
|
}
|
|
43
45
|
/**
|
|
44
46
|
* Delete a media item (own uploads only)
|
|
@@ -562,4 +564,4 @@ Object.defineProperty(exports, "shares_list", {
|
|
|
562
564
|
}
|
|
563
565
|
});
|
|
564
566
|
|
|
565
|
-
//# sourceMappingURL=portal_tenant_content-
|
|
567
|
+
//# sourceMappingURL=portal_tenant_content-BnrwKhyK.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal_tenant_content-BnrwKhyK.cjs","names":[],"sources":["../../../api-clients/portal-tenant-content/src/namespaces/portal_tenant_content.ts"],"sourcesContent":["/**\n * Generated API client functions for portal_tenant_content\n *\n * DO NOT EDIT THIS FILE DIRECTLY\n * This file is auto-generated. To update:\n * 1. Update the OpenAPI spec file\n * 2. Run: pnpm generate\n */\n\nimport type { FetchClient } from \"../lib/fetch-client\";\nimport type { operations } from \"../generated/portal-tenant-content\";\n\n// ============================================================================\n// content\n// ============================================================================\n\n/**\n * List active languages for the tenant company\n * Returns active languages enabled for the tenant company, sorted by name. Used by the content/translation editor to populate the language switcher.\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_languages_list(\n client: FetchClient,\n params?: operations[\"content_languages_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_languages_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/languages`, params);\n}\n\n/**\n * List media (own uploads and company share media)\n * Returns a paginated list of the member's own uploads and company share media. Training and update media are excluded.\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function media_list(\n client: FetchClient,\n params?: operations[\"media_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"media_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/media`, params);\n}\n\n/**\n * Create a new media item\n * Creates a new media item record.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function media_create(\n client: FetchClient,\n body: operations[\"media_create\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"media_create\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/media`, body);\n}\n\n/**\n * Get a specific media item\n * Returns a single media item by ID. When language_iso is provided, translatable fields (title, description, url) are returned for that language with no fallback — empty values indicate an untranslated field.\n *\n * @param client - Fetch client instance\n * @param id - id\n * @param [params] - params\n */\nexport async function media_show(\n client: FetchClient,\n id: string | number,\n params?: operations[\"media_show\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"media_show\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/media/${id}`, params);\n}\n\n/**\n * Update a media item (own uploads only)\n * Updates a media item's title, description, status, url, content_format, thumbnail, CTA, and SEO. When language_iso is provided, translatable fields are written against that language's translation row instead of the default locale.\n *\n * @param client - Fetch client instance\n * @param id - id\n * @param body - body\n * @param [params] - params\n */\nexport async function media_update(\n client: FetchClient,\n id: string | number,\n body: operations[\"media_update\"][\"requestBody\"][\"content\"][\"application/json\"],\n params?: operations[\"media_update\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"media_update\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.patch(`/api/content/media/${id}`, body, { params });\n}\n\n/**\n * Delete a media item (own uploads only)\n * Removes a media item.\n *\n * @param client - Fetch client instance\n * @param id - id\n */\nexport async function media_destroy(\n client: FetchClient,\n id: string | number,\n): Promise<\n operations[\"media_destroy\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.delete(`/api/content/media/${id}`);\n}\n\n/**\n * List products associated with a media item\n * Returns a paginated list of products associated with a media item.\n *\n * @param client - Fetch client instance\n * @param medium_id - medium_id\n * @param [params] - params\n */\nexport async function media_products_list(\n client: FetchClient,\n medium_id: string | number,\n params?: operations[\"media_products_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"media_products_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/media/${medium_id}/products`, params);\n}\n\n/**\n * Associate a product with a media item\n * Creates a product association for a media item.\n *\n * @param client - Fetch client instance\n * @param medium_id - medium_id\n * @param body - body\n */\nexport async function media_products_add(\n client: FetchClient,\n medium_id: string | number,\n body: operations[\"media_products_add\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"media_products_add\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/media/${medium_id}/products`, body);\n}\n\n/**\n * Remove a product association from a media item\n * Removes a single product association from a media item.\n *\n * @param client - Fetch client instance\n * @param medium_id - medium_id\n * @param id - id\n */\nexport async function media_products_remove(\n client: FetchClient,\n medium_id: string | number,\n id: string | number,\n): Promise<\n operations[\"media_products_remove\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.delete(`/api/content/media/${medium_id}/products/${id}`);\n}\n\n/**\n * List playlists with cursor pagination\n * Returns a paginated list of playlists.\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function playlists_list(\n client: FetchClient,\n params?: operations[\"playlists_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"playlists_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/playlists`, params);\n}\n\n/**\n * Create a new playlist\n * Creates a new playlist.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function playlists_create(\n client: FetchClient,\n body: operations[\"playlists_create\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"playlists_create\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/playlists`, body);\n}\n\n/**\n * Get a specific playlist\n * Returns a single playlist by ID.\n *\n * @param client - Fetch client instance\n * @param id - id\n */\nexport async function playlists_show(\n client: FetchClient,\n id: string | number,\n): Promise<\n operations[\"playlists_show\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/playlists/${id}`);\n}\n\n/**\n * Update a playlist\n * Updates a playlist's title or metadata.\n *\n * @param client - Fetch client instance\n * @param id - id\n * @param body - body\n */\nexport async function playlists_update(\n client: FetchClient,\n id: string | number,\n body: operations[\"playlists_update\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"playlists_update\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.patch(`/api/content/playlists/${id}`, body);\n}\n\n/**\n * Delete a playlist\n * Removes a playlist.\n *\n * @param client - Fetch client instance\n * @param id - id\n */\nexport async function playlists_destroy(\n client: FetchClient,\n id: string | number,\n): Promise<\n operations[\"playlists_destroy\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.delete(`/api/content/playlists/${id}`);\n}\n\n/**\n * List items in a playlist\n * Returns a paginated list of items in a playlist.\n *\n * @param client - Fetch client instance\n * @param playlist_id - playlist_id\n * @param [params] - params\n */\nexport async function playlists_items_list(\n client: FetchClient,\n playlist_id: string | number,\n params?: operations[\"playlists_items_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"playlists_items_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/playlists/${playlist_id}/items`, params);\n}\n\n/**\n * Add an item to a playlist\n * Adds a content item (media, page, product, or enrollment_pack) to a playlist.\n *\n * @param client - Fetch client instance\n * @param playlist_id - playlist_id\n * @param body - body\n */\nexport async function playlists_items_add(\n client: FetchClient,\n playlist_id: string | number,\n body: operations[\"playlists_items_add\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"playlists_items_add\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/playlists/${playlist_id}/items`, body);\n}\n\n/**\n * Reorder items in a playlist\n * Sets the order of items in a playlist. Items not included in the payload are not moved. Flips the playlist to manual ordering.\n *\n * @param client - Fetch client instance\n * @param playlist_id - playlist_id\n * @param body - body\n */\nexport async function playlists_items_reorder(\n client: FetchClient,\n playlist_id: string | number,\n body: operations[\"playlists_items_reorder\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"playlists_items_reorder\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.patch(\n `/api/content/playlists/${playlist_id}/items/reorder`,\n body,\n );\n}\n\n/**\n * Remove an item from a playlist\n * Removes a single item from a playlist.\n *\n * @param client - Fetch client instance\n * @param playlist_id - playlist_id\n * @param id - id\n */\nexport async function playlists_items_remove(\n client: FetchClient,\n playlist_id: string | number,\n id: string | number,\n): Promise<\n operations[\"playlists_items_remove\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.delete(`/api/content/playlists/${playlist_id}/items/${id}`);\n}\n\n/**\n * List pages for the company\n * Returns a paginated list of published pages for the authenticated rep's company. Members have read-only access — there is no create, update, or destroy action for pages in the portal BFF. Response shape matches pages_show (PortalTenant::Api::PageBlueprinter).\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function pages_list(\n client: FetchClient,\n params?: operations[\"pages_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"pages_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/pages`, params);\n}\n\n/**\n * Get a specific page\n * Returns a single page by ID, scoped to the authenticated rep's company. Response is a lean portal-BFF shape rendered by PortalTenant::Api::PageBlueprinter — not the legacy admin shape. Admin-only fields (html_code, application_theme_template, search_engine_optimizer, open_graph, prompts, etc.) are intentionally omitted.\n *\n * @param client - Fetch client instance\n * @param id - id\n */\nexport async function pages_show(\n client: FetchClient,\n id: string | number,\n): Promise<\n operations[\"pages_show\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/pages/${id}`);\n}\n\n/**\n * List share links for the current user\n * Returns a paginated list of share links.\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function shares_list(\n client: FetchClient,\n params?: operations[\"shares_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"shares_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/shares`, params);\n}\n\n/**\n * Create a share link\n * Creates a new share link for content.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function shares_create(\n client: FetchClient,\n body: operations[\"shares_create\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"shares_create\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/shares`, body);\n}\n\n/**\n * List DAM assets\n * Returns a paginated list of DAM assets for the company.\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function dam_assets_list(\n client: FetchClient,\n params?: operations[\"dam_assets_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"dam_assets_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/dam/assets`, params);\n}\n\n/**\n * Create a DAM asset\n * Creates a new DAM asset. Supports two modes:\n1. **JSON placeholder** — send `application/json` with `asset[name]` to\n create a placeholder record for later file upload.\n\n2. **File upload** — send `multipart/form-data` with `asset[file]`,\n `asset[name]`, and optionally `asset[description]` and `asset[tags]`\n to upload a file and create the full asset with variants.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function dam_assets_create(\n client: FetchClient,\n body: operations[\"dam_assets_create\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"dam_assets_create\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/dam/assets`, body);\n}\n\n/**\n * List paths for a DAM asset\n * Returns a paginated list of path aliases for a DAM asset.\n *\n * @param client - Fetch client instance\n * @param asset_code - asset_code\n * @param [params] - params\n */\nexport async function dam_asset_paths_list(\n client: FetchClient,\n asset_code: string | number,\n params?: operations[\"dam_asset_paths_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"dam_asset_paths_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/dam/assets/${asset_code}/paths`, params);\n}\n\n/**\n * Create a path alias for a DAM asset\n * Creates a new path alias for an existing DAM asset.\n *\n * @param client - Fetch client instance\n * @param asset_code - asset_code\n * @param body - body\n */\nexport async function dam_asset_paths_create(\n client: FetchClient,\n asset_code: string | number,\n body: operations[\"dam_asset_paths_create\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"dam_asset_paths_create\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/dam/assets/${asset_code}/paths`, body);\n}\n\n/**\n * Query DAM assets using tree paths and tags\n * Searches and retrieves DAM assets using tree path pattern matching, tag-based variant filtering, wildcard name matching, and partial search. Supports cursor pagination for large result sets.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function dam_query(\n client: FetchClient,\n body: operations[\"dam_query\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"dam_query\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/dam/query`, body);\n}\n\n/**\n * Delete a DAM asset\n * Permanently destroys a DAM asset, including its ImageKit storage, variants, and database records.\n *\n * @param client - Fetch client instance\n * @param code - code\n */\nexport async function dam_assets_destroy(\n client: FetchClient,\n code: string | number,\n): Promise<\n operations[\"dam_assets_destroy\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.delete(`/api/content/dam/assets/${code}`);\n}\n\n/**\n * Discard (soft-delete) a DAM asset\n * Soft-deletes a DAM asset. Used to discard an in-progress upload without permanently removing the record.\n *\n * @param client - Fetch client instance\n * @param code - code\n */\nexport async function dam_assets_discard(\n client: FetchClient,\n code: string | number,\n): Promise<\n operations[\"dam_assets_discard\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.patch(`/api/content/dam/assets/${code}/discard`);\n}\n\n/**\n * Toggle favorite status on a content item\n * Toggles the favorite status of a content item for the authenticated member. If the item is not currently favorited, it becomes favorited. If it is already favorited, the favorite is removed.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function favorites_toggle(\n client: FetchClient,\n body: operations[\"favorites_toggle\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"favorites_toggle\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/favorites/toggle`, body);\n}\n\n// ============================================================================\n// media_metrics\n// ============================================================================\n\n/**\n * Top media by direct visits\n * Ranked list of the company's media by total visits (aggregates metrics_media_visits across all visit sources).\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_media_by_visits(\n client: FetchClient,\n params?: operations[\"content_media_by_visits\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_media_by_visits\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/media/by-visits`, params);\n}\n\n/**\n * Top media by share-link visits\n * Ranked list of the company's media by click-throughs on rep share links (aggregates metrics_share_shareable_visits where shareable_type='Medium').\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_media_by_shares(\n client: FetchClient,\n params?: operations[\"content_media_by_shares\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_media_by_shares\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/media/by-shares`, params);\n}\n\n// ============================================================================\n// playlist_metrics\n// ============================================================================\n\n/**\n * Top playlists by direct visits\n * Ranked list of the company's playlists by total visits (aggregates metrics_library_visits since playlists are stored in the libraries table).\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_playlists_by_visits(\n client: FetchClient,\n params?: operations[\"content_playlists_by_visits\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_playlists_by_visits\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/playlists/by-visits`, params);\n}\n\n/**\n * Top playlists by share-link visits\n * Ranked list of the company's playlists by click-throughs on rep share links (aggregates metrics_share_shareable_visits where shareable_type='Library').\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_playlists_by_shares(\n client: FetchClient,\n params?: operations[\"content_playlists_by_shares\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_playlists_by_shares\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/playlists/by-shares`, params);\n}\n\n// ============================================================================\n// page_metrics\n// ============================================================================\n\n/**\n * Top pages by direct visits\n * Ranked list of the company's pages by total visits (aggregates metrics_page_visits across all visit sources).\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_pages_by_visits(\n client: FetchClient,\n params?: operations[\"content_pages_by_visits\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_pages_by_visits\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/pages/by-visits`, params);\n}\n\n/**\n * Top pages by share-link visits\n * Ranked list of the company's pages by click-throughs on rep share links (aggregates metrics_share_shareable_visits where shareable_type='Page').\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_pages_by_shares(\n client: FetchClient,\n params?: operations[\"content_pages_by_shares\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_pages_by_shares\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/pages/by-shares`, params);\n}\n"],"mappings":"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"}
|
|
@@ -57,24 +57,26 @@ async function media_create(client, body) {
|
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* Get a specific media item
|
|
60
|
-
* Returns a single media item by ID.
|
|
60
|
+
* Returns a single media item by ID. When language_iso is provided, translatable fields (title, description, url) are returned for that language with no fallback — empty values indicate an untranslated field.
|
|
61
61
|
*
|
|
62
62
|
* @param client - Fetch client instance
|
|
63
63
|
* @param id - id
|
|
64
|
+
* @param [params] - params
|
|
64
65
|
*/
|
|
65
|
-
async function media_show(client, id) {
|
|
66
|
-
return client.get(`/api/content/media/${id}
|
|
66
|
+
async function media_show(client, id, params) {
|
|
67
|
+
return client.get(`/api/content/media/${id}`, params);
|
|
67
68
|
}
|
|
68
69
|
/**
|
|
69
70
|
* Update a media item (own uploads only)
|
|
70
|
-
* Updates a media item's title, description, status, url, content_format, thumbnail, CTA, and SEO.
|
|
71
|
+
* Updates a media item's title, description, status, url, content_format, thumbnail, CTA, and SEO. When language_iso is provided, translatable fields are written against that language's translation row instead of the default locale.
|
|
71
72
|
*
|
|
72
73
|
* @param client - Fetch client instance
|
|
73
74
|
* @param id - id
|
|
74
75
|
* @param body - body
|
|
76
|
+
* @param [params] - params
|
|
75
77
|
*/
|
|
76
|
-
async function media_update(client, id, body) {
|
|
77
|
-
return client.patch(`/api/content/media/${id}`, body);
|
|
78
|
+
async function media_update(client, id, body, params) {
|
|
79
|
+
return client.patch(`/api/content/media/${id}`, body, { params });
|
|
78
80
|
}
|
|
79
81
|
/**
|
|
80
82
|
* Delete a media item (own uploads only)
|
|
@@ -395,4 +397,4 @@ async function content_pages_by_shares(client, params) {
|
|
|
395
397
|
//#endregion
|
|
396
398
|
export { playlists_list as A, pages_show as C, playlists_items_list as D, playlists_items_add as E, __commonJSMin as F, __exportAll as I, __require as L, playlists_update as M, shares_create as N, playlists_items_remove as O, shares_list as P, __toESM as R, pages_list as S, playlists_destroy as T, media_products_add as _, content_playlists_by_shares as a, media_show as b, dam_asset_paths_list as c, dam_assets_discard as d, dam_assets_list as f, media_list as g, media_destroy as h, content_pages_by_visits as i, playlists_show as j, playlists_items_reorder as k, dam_assets_create as l, media_create as m, content_media_by_visits as n, content_playlists_by_visits as o, dam_query as p, content_pages_by_shares as r, dam_asset_paths_create as s, content_media_by_shares as t, dam_assets_destroy as u, media_products_list as v, playlists_create as w, media_update as x, media_products_remove as y };
|
|
397
399
|
|
|
398
|
-
//# sourceMappingURL=portal_tenant_content-
|
|
400
|
+
//# sourceMappingURL=portal_tenant_content-CcKZMB9E.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal_tenant_content-CcKZMB9E.mjs","names":[],"sources":["../../../api-clients/portal-tenant-content/src/namespaces/portal_tenant_content.ts"],"sourcesContent":["/**\n * Generated API client functions for portal_tenant_content\n *\n * DO NOT EDIT THIS FILE DIRECTLY\n * This file is auto-generated. To update:\n * 1. Update the OpenAPI spec file\n * 2. Run: pnpm generate\n */\n\nimport type { FetchClient } from \"../lib/fetch-client\";\nimport type { operations } from \"../generated/portal-tenant-content\";\n\n// ============================================================================\n// content\n// ============================================================================\n\n/**\n * List active languages for the tenant company\n * Returns active languages enabled for the tenant company, sorted by name. Used by the content/translation editor to populate the language switcher.\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_languages_list(\n client: FetchClient,\n params?: operations[\"content_languages_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_languages_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/languages`, params);\n}\n\n/**\n * List media (own uploads and company share media)\n * Returns a paginated list of the member's own uploads and company share media. Training and update media are excluded.\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function media_list(\n client: FetchClient,\n params?: operations[\"media_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"media_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/media`, params);\n}\n\n/**\n * Create a new media item\n * Creates a new media item record.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function media_create(\n client: FetchClient,\n body: operations[\"media_create\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"media_create\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/media`, body);\n}\n\n/**\n * Get a specific media item\n * Returns a single media item by ID. When language_iso is provided, translatable fields (title, description, url) are returned for that language with no fallback — empty values indicate an untranslated field.\n *\n * @param client - Fetch client instance\n * @param id - id\n * @param [params] - params\n */\nexport async function media_show(\n client: FetchClient,\n id: string | number,\n params?: operations[\"media_show\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"media_show\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/media/${id}`, params);\n}\n\n/**\n * Update a media item (own uploads only)\n * Updates a media item's title, description, status, url, content_format, thumbnail, CTA, and SEO. When language_iso is provided, translatable fields are written against that language's translation row instead of the default locale.\n *\n * @param client - Fetch client instance\n * @param id - id\n * @param body - body\n * @param [params] - params\n */\nexport async function media_update(\n client: FetchClient,\n id: string | number,\n body: operations[\"media_update\"][\"requestBody\"][\"content\"][\"application/json\"],\n params?: operations[\"media_update\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"media_update\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.patch(`/api/content/media/${id}`, body, { params });\n}\n\n/**\n * Delete a media item (own uploads only)\n * Removes a media item.\n *\n * @param client - Fetch client instance\n * @param id - id\n */\nexport async function media_destroy(\n client: FetchClient,\n id: string | number,\n): Promise<\n operations[\"media_destroy\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.delete(`/api/content/media/${id}`);\n}\n\n/**\n * List products associated with a media item\n * Returns a paginated list of products associated with a media item.\n *\n * @param client - Fetch client instance\n * @param medium_id - medium_id\n * @param [params] - params\n */\nexport async function media_products_list(\n client: FetchClient,\n medium_id: string | number,\n params?: operations[\"media_products_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"media_products_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/media/${medium_id}/products`, params);\n}\n\n/**\n * Associate a product with a media item\n * Creates a product association for a media item.\n *\n * @param client - Fetch client instance\n * @param medium_id - medium_id\n * @param body - body\n */\nexport async function media_products_add(\n client: FetchClient,\n medium_id: string | number,\n body: operations[\"media_products_add\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"media_products_add\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/media/${medium_id}/products`, body);\n}\n\n/**\n * Remove a product association from a media item\n * Removes a single product association from a media item.\n *\n * @param client - Fetch client instance\n * @param medium_id - medium_id\n * @param id - id\n */\nexport async function media_products_remove(\n client: FetchClient,\n medium_id: string | number,\n id: string | number,\n): Promise<\n operations[\"media_products_remove\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.delete(`/api/content/media/${medium_id}/products/${id}`);\n}\n\n/**\n * List playlists with cursor pagination\n * Returns a paginated list of playlists.\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function playlists_list(\n client: FetchClient,\n params?: operations[\"playlists_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"playlists_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/playlists`, params);\n}\n\n/**\n * Create a new playlist\n * Creates a new playlist.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function playlists_create(\n client: FetchClient,\n body: operations[\"playlists_create\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"playlists_create\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/playlists`, body);\n}\n\n/**\n * Get a specific playlist\n * Returns a single playlist by ID.\n *\n * @param client - Fetch client instance\n * @param id - id\n */\nexport async function playlists_show(\n client: FetchClient,\n id: string | number,\n): Promise<\n operations[\"playlists_show\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/playlists/${id}`);\n}\n\n/**\n * Update a playlist\n * Updates a playlist's title or metadata.\n *\n * @param client - Fetch client instance\n * @param id - id\n * @param body - body\n */\nexport async function playlists_update(\n client: FetchClient,\n id: string | number,\n body: operations[\"playlists_update\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"playlists_update\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.patch(`/api/content/playlists/${id}`, body);\n}\n\n/**\n * Delete a playlist\n * Removes a playlist.\n *\n * @param client - Fetch client instance\n * @param id - id\n */\nexport async function playlists_destroy(\n client: FetchClient,\n id: string | number,\n): Promise<\n operations[\"playlists_destroy\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.delete(`/api/content/playlists/${id}`);\n}\n\n/**\n * List items in a playlist\n * Returns a paginated list of items in a playlist.\n *\n * @param client - Fetch client instance\n * @param playlist_id - playlist_id\n * @param [params] - params\n */\nexport async function playlists_items_list(\n client: FetchClient,\n playlist_id: string | number,\n params?: operations[\"playlists_items_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"playlists_items_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/playlists/${playlist_id}/items`, params);\n}\n\n/**\n * Add an item to a playlist\n * Adds a content item (media, page, product, or enrollment_pack) to a playlist.\n *\n * @param client - Fetch client instance\n * @param playlist_id - playlist_id\n * @param body - body\n */\nexport async function playlists_items_add(\n client: FetchClient,\n playlist_id: string | number,\n body: operations[\"playlists_items_add\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"playlists_items_add\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/playlists/${playlist_id}/items`, body);\n}\n\n/**\n * Reorder items in a playlist\n * Sets the order of items in a playlist. Items not included in the payload are not moved. Flips the playlist to manual ordering.\n *\n * @param client - Fetch client instance\n * @param playlist_id - playlist_id\n * @param body - body\n */\nexport async function playlists_items_reorder(\n client: FetchClient,\n playlist_id: string | number,\n body: operations[\"playlists_items_reorder\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"playlists_items_reorder\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.patch(\n `/api/content/playlists/${playlist_id}/items/reorder`,\n body,\n );\n}\n\n/**\n * Remove an item from a playlist\n * Removes a single item from a playlist.\n *\n * @param client - Fetch client instance\n * @param playlist_id - playlist_id\n * @param id - id\n */\nexport async function playlists_items_remove(\n client: FetchClient,\n playlist_id: string | number,\n id: string | number,\n): Promise<\n operations[\"playlists_items_remove\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.delete(`/api/content/playlists/${playlist_id}/items/${id}`);\n}\n\n/**\n * List pages for the company\n * Returns a paginated list of published pages for the authenticated rep's company. Members have read-only access — there is no create, update, or destroy action for pages in the portal BFF. Response shape matches pages_show (PortalTenant::Api::PageBlueprinter).\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function pages_list(\n client: FetchClient,\n params?: operations[\"pages_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"pages_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/pages`, params);\n}\n\n/**\n * Get a specific page\n * Returns a single page by ID, scoped to the authenticated rep's company. Response is a lean portal-BFF shape rendered by PortalTenant::Api::PageBlueprinter — not the legacy admin shape. Admin-only fields (html_code, application_theme_template, search_engine_optimizer, open_graph, prompts, etc.) are intentionally omitted.\n *\n * @param client - Fetch client instance\n * @param id - id\n */\nexport async function pages_show(\n client: FetchClient,\n id: string | number,\n): Promise<\n operations[\"pages_show\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/pages/${id}`);\n}\n\n/**\n * List share links for the current user\n * Returns a paginated list of share links.\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function shares_list(\n client: FetchClient,\n params?: operations[\"shares_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"shares_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/shares`, params);\n}\n\n/**\n * Create a share link\n * Creates a new share link for content.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function shares_create(\n client: FetchClient,\n body: operations[\"shares_create\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"shares_create\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/shares`, body);\n}\n\n/**\n * List DAM assets\n * Returns a paginated list of DAM assets for the company.\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function dam_assets_list(\n client: FetchClient,\n params?: operations[\"dam_assets_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"dam_assets_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/dam/assets`, params);\n}\n\n/**\n * Create a DAM asset\n * Creates a new DAM asset. Supports two modes:\n1. **JSON placeholder** — send `application/json` with `asset[name]` to\n create a placeholder record for later file upload.\n\n2. **File upload** — send `multipart/form-data` with `asset[file]`,\n `asset[name]`, and optionally `asset[description]` and `asset[tags]`\n to upload a file and create the full asset with variants.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function dam_assets_create(\n client: FetchClient,\n body: operations[\"dam_assets_create\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"dam_assets_create\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/dam/assets`, body);\n}\n\n/**\n * List paths for a DAM asset\n * Returns a paginated list of path aliases for a DAM asset.\n *\n * @param client - Fetch client instance\n * @param asset_code - asset_code\n * @param [params] - params\n */\nexport async function dam_asset_paths_list(\n client: FetchClient,\n asset_code: string | number,\n params?: operations[\"dam_asset_paths_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"dam_asset_paths_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/dam/assets/${asset_code}/paths`, params);\n}\n\n/**\n * Create a path alias for a DAM asset\n * Creates a new path alias for an existing DAM asset.\n *\n * @param client - Fetch client instance\n * @param asset_code - asset_code\n * @param body - body\n */\nexport async function dam_asset_paths_create(\n client: FetchClient,\n asset_code: string | number,\n body: operations[\"dam_asset_paths_create\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"dam_asset_paths_create\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/dam/assets/${asset_code}/paths`, body);\n}\n\n/**\n * Query DAM assets using tree paths and tags\n * Searches and retrieves DAM assets using tree path pattern matching, tag-based variant filtering, wildcard name matching, and partial search. Supports cursor pagination for large result sets.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function dam_query(\n client: FetchClient,\n body: operations[\"dam_query\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"dam_query\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/dam/query`, body);\n}\n\n/**\n * Delete a DAM asset\n * Permanently destroys a DAM asset, including its ImageKit storage, variants, and database records.\n *\n * @param client - Fetch client instance\n * @param code - code\n */\nexport async function dam_assets_destroy(\n client: FetchClient,\n code: string | number,\n): Promise<\n operations[\"dam_assets_destroy\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.delete(`/api/content/dam/assets/${code}`);\n}\n\n/**\n * Discard (soft-delete) a DAM asset\n * Soft-deletes a DAM asset. Used to discard an in-progress upload without permanently removing the record.\n *\n * @param client - Fetch client instance\n * @param code - code\n */\nexport async function dam_assets_discard(\n client: FetchClient,\n code: string | number,\n): Promise<\n operations[\"dam_assets_discard\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.patch(`/api/content/dam/assets/${code}/discard`);\n}\n\n/**\n * Toggle favorite status on a content item\n * Toggles the favorite status of a content item for the authenticated member. If the item is not currently favorited, it becomes favorited. If it is already favorited, the favorite is removed.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function favorites_toggle(\n client: FetchClient,\n body: operations[\"favorites_toggle\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"favorites_toggle\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/content/favorites/toggle`, body);\n}\n\n// ============================================================================\n// media_metrics\n// ============================================================================\n\n/**\n * Top media by direct visits\n * Ranked list of the company's media by total visits (aggregates metrics_media_visits across all visit sources).\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_media_by_visits(\n client: FetchClient,\n params?: operations[\"content_media_by_visits\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_media_by_visits\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/media/by-visits`, params);\n}\n\n/**\n * Top media by share-link visits\n * Ranked list of the company's media by click-throughs on rep share links (aggregates metrics_share_shareable_visits where shareable_type='Medium').\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_media_by_shares(\n client: FetchClient,\n params?: operations[\"content_media_by_shares\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_media_by_shares\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/media/by-shares`, params);\n}\n\n// ============================================================================\n// playlist_metrics\n// ============================================================================\n\n/**\n * Top playlists by direct visits\n * Ranked list of the company's playlists by total visits (aggregates metrics_library_visits since playlists are stored in the libraries table).\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_playlists_by_visits(\n client: FetchClient,\n params?: operations[\"content_playlists_by_visits\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_playlists_by_visits\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/playlists/by-visits`, params);\n}\n\n/**\n * Top playlists by share-link visits\n * Ranked list of the company's playlists by click-throughs on rep share links (aggregates metrics_share_shareable_visits where shareable_type='Library').\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_playlists_by_shares(\n client: FetchClient,\n params?: operations[\"content_playlists_by_shares\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_playlists_by_shares\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/playlists/by-shares`, params);\n}\n\n// ============================================================================\n// page_metrics\n// ============================================================================\n\n/**\n * Top pages by direct visits\n * Ranked list of the company's pages by total visits (aggregates metrics_page_visits across all visit sources).\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_pages_by_visits(\n client: FetchClient,\n params?: operations[\"content_pages_by_visits\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_pages_by_visits\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/pages/by-visits`, params);\n}\n\n/**\n * Top pages by share-link visits\n * Ranked list of the company's pages by click-throughs on rep share links (aggregates metrics_share_shareable_visits where shareable_type='Page').\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function content_pages_by_shares(\n client: FetchClient,\n params?: operations[\"content_pages_by_shares\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"content_pages_by_shares\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/content/pages/by-shares`, params);\n}\n"],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-app/portal-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.302",
|
|
4
4
|
"description": "SDK for building custom Fluid portals",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -71,53 +71,53 @@
|
|
|
71
71
|
"tsdown": "^0.21.0",
|
|
72
72
|
"typescript": "^5",
|
|
73
73
|
"zod": "4.3.5",
|
|
74
|
+
"@fluid-app/address-autocomplete": "0.1.0",
|
|
75
|
+
"@fluid-app/auth": "0.1.0",
|
|
74
76
|
"@fluid-app/api-client-core": "0.1.0",
|
|
75
|
-
"@fluid-app/cart-ui": "0.1.21",
|
|
76
77
|
"@fluid-app/company-switcher-core": "0.1.0",
|
|
77
|
-
"@fluid-app/
|
|
78
|
-
"@fluid-app/address-autocomplete": "0.1.0",
|
|
78
|
+
"@fluid-app/cart-ui": "0.1.21",
|
|
79
79
|
"@fluid-app/contacts-core": "0.1.0",
|
|
80
|
-
"@fluid-app/
|
|
81
|
-
"@fluid-app/auth": "0.1.0",
|
|
80
|
+
"@fluid-app/company-switcher-ui": "0.1.0",
|
|
82
81
|
"@fluid-app/file-picker-api-client": "0.1.0",
|
|
83
|
-
"@fluid-app/
|
|
82
|
+
"@fluid-app/contacts-ui": "0.1.0",
|
|
84
83
|
"@fluid-app/file-picker-core": "0.1.0",
|
|
85
|
-
"@fluid-app/fluid-pay-
|
|
84
|
+
"@fluid-app/fluid-pay-core": "0.1.0",
|
|
86
85
|
"@fluid-app/fluidos-api-client": "0.1.0",
|
|
87
86
|
"@fluid-app/i18n": "0.1.0",
|
|
88
87
|
"@fluid-app/messaging-api-client": "0.1.0",
|
|
89
|
-
"@fluid-app/
|
|
88
|
+
"@fluid-app/fluid-pay-ui": "0.1.0",
|
|
90
89
|
"@fluid-app/messaging-ui": "0.1.0",
|
|
90
|
+
"@fluid-app/messaging-core": "0.1.0",
|
|
91
91
|
"@fluid-app/mysite-core": "0.1.0",
|
|
92
|
-
"@fluid-app/mysite-ui": "0.1.0",
|
|
93
92
|
"@fluid-app/orders-core": "0.1.0",
|
|
93
|
+
"@fluid-app/mysite-ui": "0.1.0",
|
|
94
|
+
"@fluid-app/orders-ui": "0.1.0",
|
|
94
95
|
"@fluid-app/permissions": "0.1.0",
|
|
95
96
|
"@fluid-app/portal-app-download-ui": "0.1.0",
|
|
96
|
-
"@fluid-app/orders-ui": "0.1.0",
|
|
97
97
|
"@fluid-app/portal-core": "0.1.23",
|
|
98
|
-
"@fluid-app/portal-preview": "0.1.0",
|
|
99
98
|
"@fluid-app/portal-pro-upgrade-ui": "0.1.0",
|
|
100
99
|
"@fluid-app/portal-react": "0.1.0",
|
|
101
|
-
"@fluid-app/portal-tenant-contacts-api-client": "0.1.0",
|
|
102
100
|
"@fluid-app/portal-tenant-api-client": "0.1.0",
|
|
101
|
+
"@fluid-app/portal-tenant-contacts-api-client": "0.1.0",
|
|
102
|
+
"@fluid-app/portal-preview": "0.1.0",
|
|
103
103
|
"@fluid-app/portal-tenant-content-api-client": "0.1.0",
|
|
104
104
|
"@fluid-app/portal-tenant-mysite-api-client": "0.1.0",
|
|
105
105
|
"@fluid-app/portal-tenant-pay-api-client": "0.1.0",
|
|
106
106
|
"@fluid-app/portal-tenant-store-api-client": "0.1.0",
|
|
107
107
|
"@fluid-app/products-api-client": "0.1.0",
|
|
108
108
|
"@fluid-app/portal-widgets": "0.1.22",
|
|
109
|
-
"@fluid-app/profile-core": "0.1.0",
|
|
110
109
|
"@fluid-app/products-core": "0.1.0",
|
|
110
|
+
"@fluid-app/profile-core": "0.1.0",
|
|
111
111
|
"@fluid-app/profile-ui": "0.1.0",
|
|
112
112
|
"@fluid-app/shareables-core": "0.1.0",
|
|
113
|
+
"@fluid-app/query-persister": "0.1.0",
|
|
113
114
|
"@fluid-app/shareables-ui": "0.1.0",
|
|
114
|
-
"@fluid-app/shop-core": "0.1.0",
|
|
115
115
|
"@fluid-app/shop-ui": "0.1.0",
|
|
116
|
+
"@fluid-app/shop-core": "0.1.0",
|
|
116
117
|
"@fluid-app/store-api-client": "0.1.0",
|
|
117
|
-
"@fluid-app/store-core": "0.1.0",
|
|
118
|
-
"@fluid-app/subscriptions-ui": "0.1.0",
|
|
119
|
-
"@fluid-app/query-persister": "0.1.0",
|
|
120
118
|
"@fluid-app/subscriptions-core": "0.1.0",
|
|
119
|
+
"@fluid-app/subscriptions-ui": "0.1.0",
|
|
120
|
+
"@fluid-app/store-core": "0.1.0",
|
|
121
121
|
"@fluid-app/typescript-config": "0.0.0",
|
|
122
122
|
"@fluid-app/ui-primitives": "0.1.13"
|
|
123
123
|
},
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import "./FluidProvider-BBxURUBq.mjs";
|
|
2
|
-
import "./ScreenRenderer-wC15Ys7_.mjs";
|
|
3
|
-
import "./portal_tenant-l4a-eX2B.mjs";
|
|
4
|
-
import "./store-api-context-C1lXT_3d.mjs";
|
|
5
|
-
import "./api-context-3GmfqvIB.mjs";
|
|
6
|
-
import "./mysite-api-context-5-qpKHWA.mjs";
|
|
7
|
-
import "./countries-api-context-CMh13cfX.mjs";
|
|
8
|
-
import "./registry-context-gb8MAG9c.mjs";
|
|
9
|
-
import "./WidgetInteractionContext-D8HZx_Gf.mjs";
|
|
10
|
-
import "./EmbedWidget-BO6P4QHc.mjs";
|
|
11
|
-
import "./static-dict-adapter-BxOhLaMD.mjs";
|
|
12
|
-
import "./error-state-DSJb-3r5.mjs";
|
|
13
|
-
import "./LayoutWidget-DYekGAi3.mjs";
|
|
14
|
-
import "./registries-BR8vLBBe.mjs";
|
|
15
|
-
import "./fields-BW20NYWO.mjs";
|
|
16
|
-
import "./TextWidget-CmuHRU-g.mjs";
|
|
17
|
-
import "./AlertWidget-BilCRyau.mjs";
|
|
18
|
-
import "./BulletListWidget-CFPYT5ut.mjs";
|
|
19
|
-
import "./CalendarWidget-BQP9CfCI.mjs";
|
|
20
|
-
import "./CardWidget-DfY3Lrm_.mjs";
|
|
21
|
-
import "./purify.es-Bl6SBkmi.mjs";
|
|
22
|
-
import "./MediaRenderer-Db1KsIza.mjs";
|
|
23
|
-
import "./CarouselWidget-BOWNV3rj.mjs";
|
|
24
|
-
import "./CatchUpWidget-BtEH9EHQ.mjs";
|
|
25
|
-
import "./src-Dk1FJOX0.mjs";
|
|
26
|
-
import { n as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-CwzSY_G8.mjs";
|
|
27
|
-
import "./ChartWidget-rCUOwT7v.mjs";
|
|
28
|
-
import "./ContainerWidget-DBRBSg15.mjs";
|
|
29
|
-
import "./ImageWidget-DGABEW2_.mjs";
|
|
30
|
-
import "./LinkWidget-DtuO2cmy.mjs";
|
|
31
|
-
import "./ListWidget-DRN6ZCp1.mjs";
|
|
32
|
-
import "./MySiteWidget-D8UtttYC.mjs";
|
|
33
|
-
import "./NestedWidget-BeOYIuWY.mjs";
|
|
34
|
-
import "./PointsWidget-4tTrD6UA.mjs";
|
|
35
|
-
import "./QuickLinksWidget-IlrkEORt.mjs";
|
|
36
|
-
import "./QuickShareWidget-Bzvh9Yvj.mjs";
|
|
37
|
-
import "./RecentActivityWidget-C9fWPsVD.mjs";
|
|
38
|
-
import "./SeparatorWidget-CTke2MBj.mjs";
|
|
39
|
-
import "./SpacerWidget-D3yx57vH.mjs";
|
|
40
|
-
import "./TableWidget-DCZDRb0V.mjs";
|
|
41
|
-
import "./ToDoWidget-CXhlO0BY.mjs";
|
|
42
|
-
import "./VideoWidget-DlnwYXlo.mjs";
|
|
43
|
-
import "./ScreenHeaderContext-Dn12BZyj.mjs";
|
|
44
|
-
import "./translation-api-context-factory-CQiyQFCV.mjs";
|
|
45
|
-
import "./dist-PbA1vxAz.mjs";
|
|
46
|
-
import "./es-XDcP51O8.mjs";
|
|
47
|
-
export { MessagingScreen, messagingScreenPropertySchema };
|