@fluid-app/portal-sdk 0.1.174 → 0.1.176
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/{FluidProvider-Bpyt0Lsa.cjs → FluidProvider-BEgfE--y.cjs} +5 -29
- package/dist/FluidProvider-BEgfE--y.cjs.map +1 -0
- package/dist/{FluidProvider-CiCrw9aW.mjs → FluidProvider-ChiIk-EM.mjs} +5 -29
- package/dist/FluidProvider-ChiIk-EM.mjs.map +1 -0
- package/dist/{MessagingScreen-DsduPj7E.cjs → MessagingScreen-B53jKQB2.cjs} +2 -2
- package/dist/{MessagingScreen-DVpyX0RH.cjs → MessagingScreen-C7VcUx2f.cjs} +2 -2
- package/dist/{MessagingScreen-DVpyX0RH.cjs.map → MessagingScreen-C7VcUx2f.cjs.map} +1 -1
- package/dist/{MessagingScreen-BDp1yqcC.mjs → MessagingScreen-DqITGtTm.mjs} +2 -2
- package/dist/{MessagingScreen-BDp1yqcC.mjs.map → MessagingScreen-DqITGtTm.mjs.map} +1 -1
- package/dist/{PortalContentApiProvider-DNZj3MTz.cjs → PortalContentApiProvider-CqfumtyH.cjs} +4 -4
- package/dist/PortalContentApiProvider-CqfumtyH.cjs.map +1 -0
- package/dist/{PortalContentApiProvider-D0xhS3Ge.mjs → PortalContentApiProvider-CvYJD4mj.mjs} +4 -4
- package/dist/PortalContentApiProvider-CvYJD4mj.mjs.map +1 -0
- package/dist/{ProductsScreen-fPFSKVOn.cjs → ProductsScreen-BGFL7B9Y.cjs} +2 -2
- package/dist/{ProductsScreen-fPFSKVOn.cjs.map → ProductsScreen-BGFL7B9Y.cjs.map} +1 -1
- package/dist/{ProductsScreen-DIdRGVvA.mjs → ProductsScreen-BUCzY4c8.mjs} +2 -2
- package/dist/{ProductsScreen-CeNMvU4d.mjs → ProductsScreen-CJWgYPY9.mjs} +2 -2
- package/dist/{ProductsScreen-CeNMvU4d.mjs.map → ProductsScreen-CJWgYPY9.mjs.map} +1 -1
- package/dist/{ProductsScreen-iQf4zOus.cjs → ProductsScreen-CyOr92nO.cjs} +2 -2
- package/dist/{ProfileScreen-BSWf_Rb-.cjs → ProfileScreen-3nnblgS2.cjs} +2 -2
- package/dist/{ProfileScreen-BSWf_Rb-.cjs.map → ProfileScreen-3nnblgS2.cjs.map} +1 -1
- package/dist/{ProfileScreen-Nric2qx3.cjs → ProfileScreen-BX3eqOdU.cjs} +2 -2
- package/dist/{ProfileScreen-DQ7Mjq_K.mjs → ProfileScreen-Tib5ue5H.mjs} +2 -2
- package/dist/{ProfileScreen-DQ7Mjq_K.mjs.map → ProfileScreen-Tib5ue5H.mjs.map} +1 -1
- package/dist/{ShareablesScreen-Bl6aT0vn.cjs → ShareablesScreen-BYySYuY1.cjs} +2 -2
- package/dist/{ShareablesScreen-Bl6aT0vn.cjs.map → ShareablesScreen-BYySYuY1.cjs.map} +1 -1
- package/dist/{ShareablesScreen-D2JbmO7a.mjs → ShareablesScreen-Ca0VOB6e.mjs} +2 -2
- package/dist/{ShareablesScreen-D2JbmO7a.mjs.map → ShareablesScreen-Ca0VOB6e.mjs.map} +1 -1
- package/dist/{ShareablesScreen-CfchbhSH.mjs → ShareablesScreen-Cr-WyfrQ.mjs} +2 -2
- package/dist/{ShareablesScreen-CtuGiQ7_.cjs → ShareablesScreen-PPfy8gtj.cjs} +2 -2
- package/dist/{ShopScreen-D0ddvQHi.mjs → ShopScreen-BbJbceF8.mjs} +2 -2
- package/dist/{ShopScreen-D0ddvQHi.mjs.map → ShopScreen-BbJbceF8.mjs.map} +1 -1
- package/dist/{ShopScreen-D1PcDp2n.cjs → ShopScreen-Cbz4oNU4.cjs} +2 -2
- package/dist/{ShopScreen-Ch1GbT5E.cjs → ShopScreen-Dhpq7-X2.cjs} +2 -2
- package/dist/{ShopScreen-Ch1GbT5E.cjs.map → ShopScreen-Dhpq7-X2.cjs.map} +1 -1
- package/dist/index.cjs +18 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +18 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -21
- package/dist/FluidProvider-Bpyt0Lsa.cjs.map +0 -1
- package/dist/FluidProvider-CiCrw9aW.mjs.map +0 -1
- package/dist/PortalContentApiProvider-D0xhS3Ge.mjs.map +0 -1
- package/dist/PortalContentApiProvider-DNZj3MTz.cjs.map +0 -1
|
@@ -1230,7 +1230,7 @@ async function languages_list(client, params) {
|
|
|
1230
1230
|
return client.get(`/api/store/languages`, params);
|
|
1231
1231
|
}
|
|
1232
1232
|
//#endregion
|
|
1233
|
-
//#region
|
|
1233
|
+
//#region src/adapters/countries-api-adapter.ts
|
|
1234
1234
|
/**
|
|
1235
1235
|
* Maps a BFF state to the port's State shape.
|
|
1236
1236
|
*/
|
|
@@ -1273,7 +1273,7 @@ function mapMeta$1(raw) {
|
|
|
1273
1273
|
* CountriesApi port, closing over the FetchClient so consumers don't need
|
|
1274
1274
|
* to pass it per-call.
|
|
1275
1275
|
*/
|
|
1276
|
-
function
|
|
1276
|
+
function createCountriesApiAdapter(client) {
|
|
1277
1277
|
return { listCountries: async (params) => {
|
|
1278
1278
|
const response = await countries_list(client, {
|
|
1279
1279
|
"page[cursor]": params?.cursor,
|
|
@@ -1286,7 +1286,7 @@ function createPortalTenantCountriesAdapter(client) {
|
|
|
1286
1286
|
} };
|
|
1287
1287
|
}
|
|
1288
1288
|
//#endregion
|
|
1289
|
-
//#region
|
|
1289
|
+
//#region src/adapters/languages-api-adapter.ts
|
|
1290
1290
|
/**
|
|
1291
1291
|
* Maps a BFF language to the port's Language shape.
|
|
1292
1292
|
*/
|
|
@@ -1318,7 +1318,7 @@ function mapMeta(raw) {
|
|
|
1318
1318
|
* LanguagesApi port, closing over the FetchClient so consumers don't need
|
|
1319
1319
|
* to pass it per-call.
|
|
1320
1320
|
*/
|
|
1321
|
-
function
|
|
1321
|
+
function createLanguagesApiAdapter(client) {
|
|
1322
1322
|
return { listLanguages: async (params) => {
|
|
1323
1323
|
const response = await languages_list(client, {
|
|
1324
1324
|
"page[cursor]": params?.cursor,
|
|
@@ -1331,30 +1331,6 @@ function createPortalTenantLanguagesAdapter(client) {
|
|
|
1331
1331
|
} };
|
|
1332
1332
|
}
|
|
1333
1333
|
//#endregion
|
|
1334
|
-
//#region src/adapters/countries-api-adapter.ts
|
|
1335
|
-
/**
|
|
1336
|
-
* Creates a CountriesApi adapter backed by the portal-tenant store BFF.
|
|
1337
|
-
*
|
|
1338
|
-
* Delegates to the adapter factory in `@fluid-app/store-api-client` which
|
|
1339
|
-
* maps the generated portal-tenant-store namespace functions to the abstract
|
|
1340
|
-
* CountriesApi port.
|
|
1341
|
-
*/
|
|
1342
|
-
function createCountriesApiAdapter(client) {
|
|
1343
|
-
return createPortalTenantCountriesAdapter(client);
|
|
1344
|
-
}
|
|
1345
|
-
//#endregion
|
|
1346
|
-
//#region src/adapters/languages-api-adapter.ts
|
|
1347
|
-
/**
|
|
1348
|
-
* Creates a LanguagesApi adapter backed by the portal-tenant store BFF.
|
|
1349
|
-
*
|
|
1350
|
-
* Delegates to the adapter factory in `@fluid-app/store-api-client` which
|
|
1351
|
-
* maps the generated portal-tenant-store namespace functions to the abstract
|
|
1352
|
-
* LanguagesApi port.
|
|
1353
|
-
*/
|
|
1354
|
-
function createLanguagesApiAdapter(client) {
|
|
1355
|
-
return createPortalTenantLanguagesAdapter(client);
|
|
1356
|
-
}
|
|
1357
|
-
//#endregion
|
|
1358
1334
|
//#region ../../api-clients/portal-tenant-mysite/src/namespaces/portal_tenant_mysite.ts
|
|
1359
1335
|
/**
|
|
1360
1336
|
* Get MySite profile for the current user
|
|
@@ -2698,4 +2674,4 @@ function useFluidContext() {
|
|
|
2698
2674
|
//#endregion
|
|
2699
2675
|
export { mergeDarkOverrides as A, usePayApi as B, DEFAULT_THEME_ID as C, deriveDarkVariant as D, generateThemeCSS as E, RADIUS_KEYS as F, deleteDatabase as G, useAppDefinitionApi as H, SEMANTIC_COLOR_NAMES as I, SHADE_STEPS as L, resolveTheme as M, FONT_FAMILY_KEYS as N, generateShades as O, FONT_SIZE_KEYS as P, ApiError as R, DEFAULT_SPACING as S, getDefaultThemeDefinition as T, useFluidOsApi as U, useDataSourceApiOptional as V, createPersister as W, serialiseTheme as _, createScreen as a, DEFAULT_FONT_SIZES as b, FluidThemeProvider as c, removeAllThemes as d, removeTheme as f, deserialiseTheme as g, transformThemes as h, widgetPropertySchemas as i, parseColor as j, getForegroundColor as k, useThemeContext as l, getActiveThemeId as m, useFluidContext as n, createWidgetFromShareable as o, buildThemeDefinition as p, DEFAULT_SDK_WIDGET_REGISTRY as r, createWidgetRegistry as s, FluidProvider as t, applyTheme as u, DEFAULT_COLORS as v, DEFAULT_THEME_NAME as w, DEFAULT_RADII as x, DEFAULT_FONT_FAMILIES as y, useLanguagesApi as z };
|
|
2700
2676
|
|
|
2701
|
-
//# sourceMappingURL=FluidProvider-
|
|
2677
|
+
//# sourceMappingURL=FluidProvider-ChiIk-EM.mjs.map
|