@fluid-app/portal-sdk 0.1.1072 → 0.1.1074

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/index.cjs CHANGED
@@ -84,7 +84,7 @@ const require_CustomersScreen = require("./CustomersScreen-HYBmS5Cb.cjs");
84
84
  const require_ActivityScreen = require("./ActivityScreen-ChhlIqI8.cjs");
85
85
  require("./use-portal-card-add-3ds-flow-kH5Apyyz.cjs");
86
86
  const require_ProfileScreen = require("./ProfileScreen-BQ7g000p.cjs");
87
- const require_SubscriptionsScreen = require("./SubscriptionsScreen-Bmn_fq0c.cjs");
87
+ const require_SubscriptionsScreen = require("./SubscriptionsScreen-eqtRjLFP.cjs");
88
88
  require("./dist-CJZYdYE0.cjs");
89
89
  require("./es-BBqj7Rwa.cjs");
90
90
  require("./dist-Bt-Aixnl.cjs");
@@ -2153,7 +2153,7 @@ function resolveMemberTypePage(registry, memberTypeSlug, currentSlug, baseSlug)
2153
2153
  //#region src/shell/system-screen-map.ts
2154
2154
  const ProfileScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ProfileScreen-C_qpKixe.cjs")).then((m) => ({ default: m.ProfileScreen })));
2155
2155
  const OrdersScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./OrdersScreen-BH8MxKF8.cjs")).then((m) => ({ default: m.OrdersScreen })));
2156
- const SubscriptionsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./SubscriptionsScreen-X7UGvKrB.cjs")).then((m) => ({ default: m.SubscriptionsScreen })));
2156
+ const SubscriptionsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./SubscriptionsScreen-CYzvx-lh.cjs")).then((m) => ({ default: m.SubscriptionsScreen })));
2157
2157
  const MessagingScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./MessagingScreen-Ddt9ef4P.cjs")).then((m) => ({ default: m.MessagingScreen })));
2158
2158
  const ContactsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ContactsScreen-yU4ai6ah.cjs")).then((m) => ({ default: m.ContactsScreen })));
2159
2159
  const ShopScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ShopScreen-TplwZhW5.cjs")).then((m) => ({ default: m.ShopScreen })));
@@ -4767,7 +4767,7 @@ const screenPropertySchemas = {
4767
4767
  MessagingScreen: () => Promise.resolve().then(() => require("./MessagingScreen-Ddt9ef4P.cjs")).then((m) => m.messagingScreenPropertySchema),
4768
4768
  ContactsScreen: () => Promise.resolve().then(() => require("./ContactsScreen-yU4ai6ah.cjs")).then((m) => m.contactsScreenPropertySchema),
4769
4769
  OrdersScreen: () => Promise.resolve().then(() => require("./OrdersScreen-BH8MxKF8.cjs")).then((m) => m.ordersScreenPropertySchema),
4770
- SubscriptionsScreen: () => Promise.resolve().then(() => require("./SubscriptionsScreen-X7UGvKrB.cjs")).then((m) => m.subscriptionsScreenPropertySchema),
4770
+ SubscriptionsScreen: () => Promise.resolve().then(() => require("./SubscriptionsScreen-CYzvx-lh.cjs")).then((m) => m.subscriptionsScreenPropertySchema),
4771
4771
  CustomersScreen: () => Promise.resolve().then(() => require("./CustomersScreen-CE2QqGHj.cjs")).then((m) => m.customersScreenPropertySchema),
4772
4772
  MySiteScreen: () => Promise.resolve().then(() => require("./MySiteScreen-CNuUXwHA.cjs")).then((m) => m.mySiteScreenPropertySchema),
4773
4773
  ShareablesScreen: () => Promise.resolve().then(() => require("./ShareablesScreen-BkmZ14u6.cjs")).then((m) => m.shareablesScreenPropertySchema),
package/dist/index.mjs CHANGED
@@ -82,7 +82,7 @@ import { a as FallbackCard, i as CoreScreenPlaceholder, r as customersScreenProp
82
82
  import { a as OPT_IN_SYSTEM_SCREEN_SLUGS, i as AppLink, o as findSystemSlugByPrefix, r as activityScreenPropertySchema, t as ActivityScreen } from "./ActivityScreen-T5z03uuC.mjs";
83
83
  import "./use-portal-card-add-3ds-flow-BFETifoM.mjs";
84
84
  import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-UPfv_MKA.mjs";
85
- import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-Dt5dpECl.mjs";
85
+ import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-BbdDoJ_k.mjs";
86
86
  import "./dist-D8bAvP_X.mjs";
87
87
  import "./es-BGdZ_Q4a.mjs";
88
88
  import "./dist-DOV3Mxl4.mjs";
@@ -2149,15 +2149,15 @@ function resolveMemberTypePage(registry, memberTypeSlug, currentSlug, baseSlug)
2149
2149
  }
2150
2150
  //#endregion
2151
2151
  //#region src/shell/system-screen-map.ts
2152
- const ProfileScreen$1 = lazy(() => import("./ProfileScreen-xmI4R1--.mjs").then((m) => ({ default: m.ProfileScreen })));
2153
- const OrdersScreen$1 = lazy(() => import("./OrdersScreen-Bmw1oBRV.mjs").then((m) => ({ default: m.OrdersScreen })));
2154
- const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-BWGVPRk2.mjs").then((m) => ({ default: m.SubscriptionsScreen })));
2155
- const MessagingScreen$1 = lazy(() => import("./MessagingScreen-BPyZiKaY.mjs").then((m) => ({ default: m.MessagingScreen })));
2156
- const ContactsScreen$1 = lazy(() => import("./ContactsScreen-Coyr8Kk9.mjs").then((m) => ({ default: m.ContactsScreen })));
2157
- const ShopScreen$1 = lazy(() => import("./ShopScreen-D-G4EQc1.mjs").then((m) => ({ default: m.ShopScreen })));
2152
+ const ProfileScreen$1 = lazy(() => import("./ProfileScreen-D3kSUGCk.mjs").then((m) => ({ default: m.ProfileScreen })));
2153
+ const OrdersScreen$1 = lazy(() => import("./OrdersScreen-CER-z_IK.mjs").then((m) => ({ default: m.OrdersScreen })));
2154
+ const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-DMytnFbU.mjs").then((m) => ({ default: m.SubscriptionsScreen })));
2155
+ const MessagingScreen$1 = lazy(() => import("./MessagingScreen-Ba6QcBkG.mjs").then((m) => ({ default: m.MessagingScreen })));
2156
+ const ContactsScreen$1 = lazy(() => import("./ContactsScreen-CM49GN6N.mjs").then((m) => ({ default: m.ContactsScreen })));
2157
+ const ShopScreen$1 = lazy(() => import("./ShopScreen-Cvkhh15n.mjs").then((m) => ({ default: m.ShopScreen })));
2158
2158
  const CustomersScreen$1 = lazy(() => import("./CustomersScreen-wVjdOM95.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
2159
- const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-Mg7Kel3q.mjs").then((m) => ({ default: m.ShareablesScreen })));
2160
- const MySiteScreen$1 = lazy(() => import("./MySiteScreen-D8DFh1WO.mjs").then((m) => ({ default: m.MySiteScreen })));
2159
+ const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-CZGuHsc3.mjs").then((m) => ({ default: m.ShareablesScreen })));
2160
+ const MySiteScreen$1 = lazy(() => import("./MySiteScreen-8YGbexko.mjs").then((m) => ({ default: m.MySiteScreen })));
2161
2161
  const AppDownloadScreen = lazy(() => import("./AppDownloadScreen-Bj_XQZ0e.mjs").then((n) => n.t).then((m) => ({ default: m.AppDownloadScreen })));
2162
2162
  const ActivityScreen$1 = lazy(() => import("./ActivityScreen-T5z03uuC.mjs").then((n) => n.n).then((m) => ({ default: m.ActivityScreen })));
2163
2163
  const SCREEN_FOR_SLUG = {
@@ -4761,15 +4761,15 @@ const CORE_PAGE_IDS = {
4761
4761
  //#endregion
4762
4762
  //#region src/screens/index.ts
4763
4763
  const screenPropertySchemas = {
4764
- ProfileScreen: () => import("./ProfileScreen-xmI4R1--.mjs").then((m) => m.profileScreenPropertySchema),
4765
- MessagingScreen: () => import("./MessagingScreen-BPyZiKaY.mjs").then((m) => m.messagingScreenPropertySchema),
4766
- ContactsScreen: () => import("./ContactsScreen-Coyr8Kk9.mjs").then((m) => m.contactsScreenPropertySchema),
4767
- OrdersScreen: () => import("./OrdersScreen-Bmw1oBRV.mjs").then((m) => m.ordersScreenPropertySchema),
4768
- SubscriptionsScreen: () => import("./SubscriptionsScreen-BWGVPRk2.mjs").then((m) => m.subscriptionsScreenPropertySchema),
4764
+ ProfileScreen: () => import("./ProfileScreen-D3kSUGCk.mjs").then((m) => m.profileScreenPropertySchema),
4765
+ MessagingScreen: () => import("./MessagingScreen-Ba6QcBkG.mjs").then((m) => m.messagingScreenPropertySchema),
4766
+ ContactsScreen: () => import("./ContactsScreen-CM49GN6N.mjs").then((m) => m.contactsScreenPropertySchema),
4767
+ OrdersScreen: () => import("./OrdersScreen-CER-z_IK.mjs").then((m) => m.ordersScreenPropertySchema),
4768
+ SubscriptionsScreen: () => import("./SubscriptionsScreen-DMytnFbU.mjs").then((m) => m.subscriptionsScreenPropertySchema),
4769
4769
  CustomersScreen: () => import("./CustomersScreen-wVjdOM95.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
4770
- MySiteScreen: () => import("./MySiteScreen-D8DFh1WO.mjs").then((m) => m.mySiteScreenPropertySchema),
4771
- ShareablesScreen: () => import("./ShareablesScreen-Mg7Kel3q.mjs").then((m) => m.shareablesScreenPropertySchema),
4772
- ShopScreen: () => import("./ShopScreen-D-G4EQc1.mjs").then((m) => m.shopScreenPropertySchema),
4770
+ MySiteScreen: () => import("./MySiteScreen-8YGbexko.mjs").then((m) => m.mySiteScreenPropertySchema),
4771
+ ShareablesScreen: () => import("./ShareablesScreen-CZGuHsc3.mjs").then((m) => m.shareablesScreenPropertySchema),
4772
+ ShopScreen: () => import("./ShopScreen-Cvkhh15n.mjs").then((m) => m.shopScreenPropertySchema),
4773
4773
  AppDownloadScreen: () => import("./AppDownloadScreen-Bj_XQZ0e.mjs").then((n) => n.t).then((m) => m.appDownloadScreenPropertySchema),
4774
4774
  ActivityScreen: () => import("./ActivityScreen-T5z03uuC.mjs").then((n) => n.n).then((m) => m.activityScreenPropertySchema)
4775
4775
  };
@@ -20,7 +20,6 @@ import "../widgets-api-context-CLw35iC_.mjs";
20
20
  import "../EmbedWidget-B6ajAStV.mjs";
21
21
  import "../PointsWidget-i93-k1eM.mjs";
22
22
  import "../task-composer-form-B9IX6zhg.mjs";
23
- import "../use-account-_6m6foYx.mjs";
24
23
  import "../LayoutWidget-CYuIvFY-.mjs";
25
24
  import { y as isPropertyFieldType } from "../registries-DJe9dUTb.mjs";
26
25
  import "../fields-Dn82VSlh.mjs";
@@ -60,8 +59,6 @@ import "../ToDoWidget-DCWN1YmY.mjs";
60
59
  import "../ResponsiveDialog-D8ymUNbk.mjs";
61
60
  import "../VideoWidget-NNfk_5aF.mjs";
62
61
  import "../ShopWidget-DDXe6vg-.mjs";
63
- import "../AppNavigationContext-BnYj4Pjp.mjs";
64
- import "../use-store-jLETls7H.mjs";
65
62
  //#region src/utils/build-remote-widget-plugin-manifests.ts
66
63
  const REMOTE_WIDGET_PACKAGE_CATEGORY_PREFIX = "custom-widget-package";
67
64
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"build-remote-widget-plugin-manifests.mjs","names":[],"sources":["../../src/utils/build-remote-widget-plugin-manifests.ts"],"sourcesContent":["import type { ComponentType } from \"react\";\nimport { createRemoteWidgetCapabilityGrants } from \"@fluid-app/portal-core/remote-widget-capability-grants\";\nimport {\n isPropertyFieldType,\n type PropertyField,\n type WidgetManifest,\n} from \"@fluid-app/portal-core/registries\";\nimport type {\n RemoteDomWidgetDefinition,\n RemoteDomWidgetPackageDescriptor,\n} from \"@fluid-app/portal-core/remote-dom-widget-package\";\nimport {\n projectRemoteWidgetPackages,\n type RemoteDomWidgetRegistryOptions,\n type WidgetRegistryWarningSink,\n} from \"../widgets/remote/host/build-widget-registry\";\n\nconst REMOTE_WIDGET_PACKAGE_CATEGORY_PREFIX = \"custom-widget-package\";\n\nexport interface RemoteWidgetPluginHostOptions extends RemoteDomWidgetRegistryOptions {\n readonly warningSink?: WidgetRegistryWarningSink;\n}\n\n/**\n * Projects accepted canonical packages into builder manifests using the same\n * package-atomic acceptance pass as the runtime registry.\n */\nexport function buildRemoteWidgetPluginManifests(\n packages: readonly RemoteDomWidgetPackageDescriptor[],\n hostOptions: RemoteWidgetPluginHostOptions = {},\n): WidgetManifest[] {\n const { warningSink, ...registryOptions } = hostOptions;\n const projection = projectRemoteWidgetPackages(\n {},\n packages,\n registryOptions,\n warningSink ?? console.warn,\n );\n return projection.acceptedWidgets.map(\n ({ remotePackage, widget, component }) =>\n toWidgetManifest(remotePackage, widget, component),\n );\n}\n\nexport function getRemoteWidgetPackageCategoryId(\n remotePackage: Pick<RemoteDomWidgetPackageDescriptor, \"packageId\" | \"source\">,\n): string {\n return [\n REMOTE_WIDGET_PACKAGE_CATEGORY_PREFIX,\n remotePackage.source,\n encodeURIComponent(remotePackage.packageId),\n ].join(\":\");\n}\n\nfunction toWidgetManifest(\n remotePackage: RemoteDomWidgetPackageDescriptor,\n widget: RemoteDomWidgetDefinition,\n component: ComponentType<Record<string, unknown>>,\n): WidgetManifest {\n const resizable = toResizable(widget.resizable);\n const capabilityGrants = createRemoteWidgetCapabilityGrants(\n remotePackage,\n widget,\n );\n return {\n manifestVersion: 1,\n type: widget.type,\n component,\n displayName: widget.displayName,\n description: widget.description,\n icon: widget.icon,\n category: getRemoteWidgetPackageCategoryId(remotePackage),\n propertySchema: normalizePropertySchema(widget),\n defaultProps: { ...widget.defaultProps },\n minSdkVersion: widget.minSdkVersion,\n ...(resizable === undefined ? {} : { resizable }),\n ...(capabilityGrants === undefined ? {} : { capabilityGrants }),\n };\n}\n\nfunction normalizePropertySchema(\n widget: RemoteDomWidgetDefinition,\n): WidgetManifest[\"propertySchema\"] {\n const fields = Array.isArray(widget.propertySchema.fields)\n ? widget.propertySchema.fields.filter(isPropertyField)\n : [];\n return {\n ...widget.propertySchema,\n widgetType: widget.type,\n displayName:\n typeof widget.propertySchema.displayName === \"string\"\n ? widget.propertySchema.displayName\n : widget.displayName,\n fields,\n } as WidgetManifest[\"propertySchema\"];\n}\n\nfunction toResizable(\n resizable: RemoteDomWidgetDefinition[\"resizable\"],\n): WidgetManifest[\"resizable\"] {\n if (resizable === false) return undefined;\n if (resizable === true || resizable === \"both\") {\n return { horizontal: true, vertical: true };\n }\n return resizable === \"horizontal\" ? { horizontal: true } : { vertical: true };\n}\n\nfunction isPropertyField(value: unknown): value is PropertyField {\n return (\n typeof value === \"object\" &&\n value !== null &&\n \"key\" in value &&\n typeof value.key === \"string\" &&\n \"label\" in value &&\n typeof value.label === \"string\" &&\n \"type\" in value &&\n typeof value.type === \"string\" &&\n isPropertyFieldType(value.type)\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAM,wCAAwC;;;;;AAU9C,SAAgB,iCACd,UACA,cAA6C,EAAE,EAC7B;CAClB,MAAM,EAAE,aAAa,GAAG,oBAAoB;AAO5C,QANmB,4BACjB,EAAE,EACF,UACA,iBACA,eAAe,QAAQ,KACxB,CACiB,gBAAgB,KAC/B,EAAE,eAAe,QAAQ,gBACxB,iBAAiB,eAAe,QAAQ,UAAU,CACrD;;AAGH,SAAgB,iCACd,eACQ;AACR,QAAO;EACL;EACA,cAAc;EACd,mBAAmB,cAAc,UAAU;EAC5C,CAAC,KAAK,IAAI;;AAGb,SAAS,iBACP,eACA,QACA,WACgB;CAChB,MAAM,YAAY,YAAY,OAAO,UAAU;CAC/C,MAAM,mBAAmB,mCACvB,eACA,OACD;AACD,QAAO;EACL,iBAAiB;EACjB,MAAM,OAAO;EACb;EACA,aAAa,OAAO;EACpB,aAAa,OAAO;EACpB,MAAM,OAAO;EACb,UAAU,iCAAiC,cAAc;EACzD,gBAAgB,wBAAwB,OAAO;EAC/C,cAAc,EAAE,GAAG,OAAO,cAAc;EACxC,eAAe,OAAO;EACtB,GAAI,cAAc,KAAA,IAAY,EAAE,GAAG,EAAE,WAAW;EAChD,GAAI,qBAAqB,KAAA,IAAY,EAAE,GAAG,EAAE,kBAAkB;EAC/D;;AAGH,SAAS,wBACP,QACkC;CAClC,MAAM,SAAS,MAAM,QAAQ,OAAO,eAAe,OAAO,GACtD,OAAO,eAAe,OAAO,OAAO,gBAAgB,GACpD,EAAE;AACN,QAAO;EACL,GAAG,OAAO;EACV,YAAY,OAAO;EACnB,aACE,OAAO,OAAO,eAAe,gBAAgB,WACzC,OAAO,eAAe,cACtB,OAAO;EACb;EACD;;AAGH,SAAS,YACP,WAC6B;AAC7B,KAAI,cAAc,MAAO,QAAO,KAAA;AAChC,KAAI,cAAc,QAAQ,cAAc,OACtC,QAAO;EAAE,YAAY;EAAM,UAAU;EAAM;AAE7C,QAAO,cAAc,eAAe,EAAE,YAAY,MAAM,GAAG,EAAE,UAAU,MAAM;;AAG/E,SAAS,gBAAgB,OAAwC;AAC/D,QACE,OAAO,UAAU,YACjB,UAAU,QACV,SAAS,SACT,OAAO,MAAM,QAAQ,YACrB,WAAW,SACX,OAAO,MAAM,UAAU,YACvB,UAAU,SACV,OAAO,MAAM,SAAS,YACtB,oBAAoB,MAAM,KAAK"}
1
+ {"version":3,"file":"build-remote-widget-plugin-manifests.mjs","names":[],"sources":["../../src/utils/build-remote-widget-plugin-manifests.ts"],"sourcesContent":["import type { ComponentType } from \"react\";\nimport { createRemoteWidgetCapabilityGrants } from \"@fluid-app/portal-core/remote-widget-capability-grants\";\nimport {\n isPropertyFieldType,\n type PropertyField,\n type WidgetManifest,\n} from \"@fluid-app/portal-core/registries\";\nimport type {\n RemoteDomWidgetDefinition,\n RemoteDomWidgetPackageDescriptor,\n} from \"@fluid-app/portal-core/remote-dom-widget-package\";\nimport {\n projectRemoteWidgetPackages,\n type RemoteDomWidgetRegistryOptions,\n type WidgetRegistryWarningSink,\n} from \"../widgets/remote/host/build-widget-registry\";\n\nconst REMOTE_WIDGET_PACKAGE_CATEGORY_PREFIX = \"custom-widget-package\";\n\nexport interface RemoteWidgetPluginHostOptions extends RemoteDomWidgetRegistryOptions {\n readonly warningSink?: WidgetRegistryWarningSink;\n}\n\n/**\n * Projects accepted canonical packages into builder manifests using the same\n * package-atomic acceptance pass as the runtime registry.\n */\nexport function buildRemoteWidgetPluginManifests(\n packages: readonly RemoteDomWidgetPackageDescriptor[],\n hostOptions: RemoteWidgetPluginHostOptions = {},\n): WidgetManifest[] {\n const { warningSink, ...registryOptions } = hostOptions;\n const projection = projectRemoteWidgetPackages(\n {},\n packages,\n registryOptions,\n warningSink ?? console.warn,\n );\n return projection.acceptedWidgets.map(\n ({ remotePackage, widget, component }) =>\n toWidgetManifest(remotePackage, widget, component),\n );\n}\n\nexport function getRemoteWidgetPackageCategoryId(\n remotePackage: Pick<RemoteDomWidgetPackageDescriptor, \"packageId\" | \"source\">,\n): string {\n return [\n REMOTE_WIDGET_PACKAGE_CATEGORY_PREFIX,\n remotePackage.source,\n encodeURIComponent(remotePackage.packageId),\n ].join(\":\");\n}\n\nfunction toWidgetManifest(\n remotePackage: RemoteDomWidgetPackageDescriptor,\n widget: RemoteDomWidgetDefinition,\n component: ComponentType<Record<string, unknown>>,\n): WidgetManifest {\n const resizable = toResizable(widget.resizable);\n const capabilityGrants = createRemoteWidgetCapabilityGrants(\n remotePackage,\n widget,\n );\n return {\n manifestVersion: 1,\n type: widget.type,\n component,\n displayName: widget.displayName,\n description: widget.description,\n icon: widget.icon,\n category: getRemoteWidgetPackageCategoryId(remotePackage),\n propertySchema: normalizePropertySchema(widget),\n defaultProps: { ...widget.defaultProps },\n minSdkVersion: widget.minSdkVersion,\n ...(resizable === undefined ? {} : { resizable }),\n ...(capabilityGrants === undefined ? {} : { capabilityGrants }),\n };\n}\n\nfunction normalizePropertySchema(\n widget: RemoteDomWidgetDefinition,\n): WidgetManifest[\"propertySchema\"] {\n const fields = Array.isArray(widget.propertySchema.fields)\n ? widget.propertySchema.fields.filter(isPropertyField)\n : [];\n return {\n ...widget.propertySchema,\n widgetType: widget.type,\n displayName:\n typeof widget.propertySchema.displayName === \"string\"\n ? widget.propertySchema.displayName\n : widget.displayName,\n fields,\n } as WidgetManifest[\"propertySchema\"];\n}\n\nfunction toResizable(\n resizable: RemoteDomWidgetDefinition[\"resizable\"],\n): WidgetManifest[\"resizable\"] {\n if (resizable === false) return undefined;\n if (resizable === true || resizable === \"both\") {\n return { horizontal: true, vertical: true };\n }\n return resizable === \"horizontal\" ? { horizontal: true } : { vertical: true };\n}\n\nfunction isPropertyField(value: unknown): value is PropertyField {\n return (\n typeof value === \"object\" &&\n value !== null &&\n \"key\" in value &&\n typeof value.key === \"string\" &&\n \"label\" in value &&\n typeof value.label === \"string\" &&\n \"type\" in value &&\n typeof value.type === \"string\" &&\n isPropertyFieldType(value.type)\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAM,wCAAwC;;;;;AAU9C,SAAgB,iCACd,UACA,cAA6C,EAAE,EAC7B;CAClB,MAAM,EAAE,aAAa,GAAG,oBAAoB;AAO5C,QANmB,4BACjB,EAAE,EACF,UACA,iBACA,eAAe,QAAQ,KACxB,CACiB,gBAAgB,KAC/B,EAAE,eAAe,QAAQ,gBACxB,iBAAiB,eAAe,QAAQ,UAAU,CACrD;;AAGH,SAAgB,iCACd,eACQ;AACR,QAAO;EACL;EACA,cAAc;EACd,mBAAmB,cAAc,UAAU;EAC5C,CAAC,KAAK,IAAI;;AAGb,SAAS,iBACP,eACA,QACA,WACgB;CAChB,MAAM,YAAY,YAAY,OAAO,UAAU;CAC/C,MAAM,mBAAmB,mCACvB,eACA,OACD;AACD,QAAO;EACL,iBAAiB;EACjB,MAAM,OAAO;EACb;EACA,aAAa,OAAO;EACpB,aAAa,OAAO;EACpB,MAAM,OAAO;EACb,UAAU,iCAAiC,cAAc;EACzD,gBAAgB,wBAAwB,OAAO;EAC/C,cAAc,EAAE,GAAG,OAAO,cAAc;EACxC,eAAe,OAAO;EACtB,GAAI,cAAc,KAAA,IAAY,EAAE,GAAG,EAAE,WAAW;EAChD,GAAI,qBAAqB,KAAA,IAAY,EAAE,GAAG,EAAE,kBAAkB;EAC/D;;AAGH,SAAS,wBACP,QACkC;CAClC,MAAM,SAAS,MAAM,QAAQ,OAAO,eAAe,OAAO,GACtD,OAAO,eAAe,OAAO,OAAO,gBAAgB,GACpD,EAAE;AACN,QAAO;EACL,GAAG,OAAO;EACV,YAAY,OAAO;EACnB,aACE,OAAO,OAAO,eAAe,gBAAgB,WACzC,OAAO,eAAe,cACtB,OAAO;EACb;EACD;;AAGH,SAAS,YACP,WAC6B;AAC7B,KAAI,cAAc,MAAO,QAAO,KAAA;AAChC,KAAI,cAAc,QAAQ,cAAc,OACtC,QAAO;EAAE,YAAY;EAAM,UAAU;EAAM;AAE7C,QAAO,cAAc,eAAe,EAAE,YAAY,MAAM,GAAG,EAAE,UAAU,MAAM;;AAG/E,SAAS,gBAAgB,OAAwC;AAC/D,QACE,OAAO,UAAU,YACjB,UAAU,QACV,SAAS,SACT,OAAO,MAAM,QAAQ,YACrB,WAAW,SACX,OAAO,MAAM,UAAU,YACvB,UAAU,SACV,OAAO,MAAM,SAAS,YACtB,oBAAoB,MAAM,KAAK"}
@@ -20,7 +20,6 @@ import "../widgets-api-context-CLw35iC_.mjs";
20
20
  import "../EmbedWidget-B6ajAStV.mjs";
21
21
  import "../PointsWidget-i93-k1eM.mjs";
22
22
  import "../task-composer-form-B9IX6zhg.mjs";
23
- import "../use-account-_6m6foYx.mjs";
24
23
  import "../LayoutWidget-CYuIvFY-.mjs";
25
24
  import "../registries-DJe9dUTb.mjs";
26
25
  import "../fields-Dn82VSlh.mjs";
@@ -60,6 +59,4 @@ import "../ToDoWidget-DCWN1YmY.mjs";
60
59
  import "../ResponsiveDialog-D8ymUNbk.mjs";
61
60
  import "../VideoWidget-NNfk_5aF.mjs";
62
61
  import "../ShopWidget-DDXe6vg-.mjs";
63
- import "../AppNavigationContext-BnYj4Pjp.mjs";
64
- import "../use-store-jLETls7H.mjs";
65
62
  export { buildNavigateHandler, buildRemoteWidgetRegistry, isBuiltInWidgetType, projectRemoteWidgetPackages };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-app/portal-sdk",
3
- "version": "0.1.1072",
3
+ "version": "0.1.1074",
4
4
  "description": "SDK for building custom Fluid portals",
5
5
  "files": [
6
6
  "authoring",