@openfin/workspace 2.0.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,29 +8,29 @@ Run `npm i -E @openfin/workspace`. See the APIs and examples below.
8
8
 
9
9
  ## Store API
10
10
 
11
- API Reference: https://cdn.openfin.co/workspace/api/docs/interfaces/ContentStoreAPI.html
11
+ API Reference: https://cdn.openfin.co/workspace/api/docs/interfaces/StorefrontAPI.html
12
12
 
13
- ### `register(provider: ContentStoreProvider): Promise<void>`
13
+ ### `register(provider: StorefrontProvider): Promise<void>`
14
14
 
15
- Registers a Content Store provider. Upon registering a provider, the title of your provider will appear in the drop down of the Content Store UI. When a user selects your Content Store, the methods on the provider object will be called to populate the UI. Throws an error if provider with `provider.id` already exists. See [reference](https://cdn.openfin.co/workspace/api/docs/interfaces/ContentStoreProvider.html) for definition of `ContentStoreProvider` interface.
15
+ Registers a Storefront provider. Upon registering a provider, the title of your provider will appear in the drop down of the Storefront UI. When a user selects your Storefront, the methods on the provider object will be called to populate the UI. Throws an error if provider with `provider.id` already exists. See [reference](https://cdn.openfin.co/workspace/api/docs/interfaces/StorefrontProvider.html) for definition of `StorefrontProvider` interface.
16
16
 
17
17
  ### `show(): Promise<void>`
18
18
 
19
- Shows store window. Awaits for latest `ContentStore.register()` internally so you don't have to. If store provider doesn't exist (`register` was not called before) then an error is thrown.
19
+ Shows store window. Awaits for latest `Storefront.register()` internally so you don't have to. If store provider doesn't exist (`register` was not called before) then an error is thrown.
20
20
 
21
21
  ### `hide(): Promise<void>`
22
22
 
23
- Hides store window. Awaits for latest `ContentStore.register()` internally so you don't have to. If store provider doesn't exist (`register` was not called before) then an error is thrown.
23
+ Hides store window. Awaits for latest `Storefront.register()` internally so you don't have to. If store provider doesn't exist (`register` was not called before) then an error is thrown.
24
24
 
25
25
  ### Vanilla JS Example
26
26
 
27
27
  ```typescript
28
- import { ContentStore, launchApp } from '@openfin/workspace';
29
- import { fetchMyApps, fetchMyLandingPage, fetchMyNavigation, fetchMyFooter } from './my-content-store-provider';
28
+ import { Storefront, launchApp } from '@openfin/workspace';
29
+ import { fetchMyApps, fetchMyLandingPage, fetchMyNavigation, fetchMyFooter } from './my-storefront-provider';
30
30
 
31
- ContentStore.register({
32
- id: 'my-content-store',
33
- title: 'My Content Store',
31
+ Storefront.register({
32
+ id: 'my-storefront',
33
+ title: 'My Storefront',
34
34
  getApps: fetchMyApps,
35
35
  getLandingPage: fetchMyLandingPage,
36
36
  getNavigation: fetchMyNavigation,
@@ -39,26 +39,26 @@ ContentStore.register({
39
39
  });
40
40
 
41
41
  document.getElementById('show-btn').addEventListener('click', () => {
42
- ContentStore.show();
42
+ Storefront.show();
43
43
  });
44
44
 
45
45
  document.getElementById('hide-btn').addEventListener('click', () => {
46
- ContentStore.hide();
46
+ Storefront.hide();
47
47
  });
48
48
  ```
49
49
 
50
50
  ### React Example
51
51
 
52
52
  ```typescript
53
- import { ContentStore, launchApp } from '@openfin/workspace';
54
- import { fetchMyApps, fetchMyLandingPage, fetchMyNavigation, fetchMyFooter } from './my-content-store-provider';
53
+ import { Storefront, launchApp } from '@openfin/workspace';
54
+ import { fetchMyApps, fetchMyLandingPage, fetchMyNavigation, fetchMyFooter } from './my-storefront-provider';
55
55
  import React, { useEffect } from 'react';
56
56
 
57
57
  const App = () => {
58
58
  useEffect(() => {
59
- ContentStore.register({
60
- id: 'my-content-store',
61
- title: 'My Content Store',
59
+ Storefront.register({
60
+ id: 'my-storefront',
61
+ title: 'My Storefront',
62
62
  getApps: fetchMyApps,
63
63
  getLandingPage: fetchMyLandingPage,
64
64
  getNavigation: fetchMyNavigation,
@@ -69,8 +69,8 @@ const App = () => {
69
69
 
70
70
  return (
71
71
  <>
72
- <button onClick={ContentStore.show}>Show Store</button>
73
- <button onClick={ContentStore.hide}>Hide Store</button>
72
+ <button onClick={Storefront.show}>Show Store</button>
73
+ <button onClick={Storefront.hide}>Hide Store</button>
74
74
  </>
75
75
  );
76
76
  };
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
- (()=>{"use strict";var e={d:(o,r)=>{for(var t in r)e.o(r,t)&&!e.o(o,t)&&Object.defineProperty(o,t,{enumerable:!0,get:r[t]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},o={};e.r(o),e.d(o,{Storefront:()=>$,launchApp:()=>T});var r,t,n={};e.r(n),e.d(n,{hide:()=>C,register:()=>b,show:()=>F}),function(e){e.Local="local",e.Dev="dev",e.Staging="staging",e.Prod="prod"}(t||(t={}));const a="undefined"!=typeof window&&"undefined"!=typeof fin,i=("undefined"==typeof process||null===(r=process.env)||void 0===r||r.JEST_WORKER_ID,"undefined"!=typeof window),d=(i?window.origin:t.Local,a&&fin.me.uuid,a&&fin.me.name,"undefined"!=typeof ENV?ENV:t.Local,t.Local,t.Dev,t.Staging,t.Prod,!0),s=("undefined"!=typeof WORKSPACE_API_URL&&WORKSPACE_API_URL,"undefined"!=typeof WORKSPACE_APPS_URL&&WORKSPACE_APPS_URL,"undefined"!=typeof WORKSPACE_STOREFRONT_FOOTER_URL&&WORKSPACE_STOREFRONT_FOOTER_URL,"undefined"!=typeof WORKSPACE_STOREFRONT_LANDING_PAGE_URL&&WORKSPACE_STOREFRONT_LANDING_PAGE_URL,"undefined"!=typeof WORKSPACE_STOREFRONT_NAVIGATION_URL&&WORKSPACE_STOREFRONT_NAVIGATION_URL,"#7795f7"),c={trace:!0,debug:"undefined"!=typeof LOG_DEBUG&&LOG_DEBUG,info:!1,warn:!0,error:!0,fatal:!0};const p=function(e,o){const r=`${e} : `,t=`color:${s}`;return{trace:c.trace?(e,...o)=>{console.trace(`%c${r}${e}`,t,...o)}:(e,...o)=>{},debug:c.debug?(e,...o)=>{console.info(`%c${r}${e}`,"color:#86db94",...o)}:(e,...o)=>{},info:c.info?(e,...o)=>{console.debug(`%c${r}${e}`,"color:#ffffff",...o)}:(e,...o)=>{},warn:c.warn?(e,...o)=>{console.warn(`%c${r}${e}`,"color:#edad68",...o)}:(e,...o)=>{},error:c.error?(e,o,...t)=>{console.error(`%c${r}${e}`,"color:#f55d67",...t,o)}:(e,o,...r)=>{},fatal:c.fatal?(e,o,...t)=>{console.error(`%c${r}${e}`,"color:#f70723",...t,o)}:(e,o,...r)=>{}}}("utils.channels"),g=i&&"complete"!==document.readyState&&new Promise((e=>document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&e()}))));var f,w,u,l,h;!function(e){e.Workspace="openfin-browser"}(f||(f={})),function(e){e.ViewPageTitleUpdated="view-page-title-updated",e.ViewDestroyed="view-destroyed",e.RunRequested="run-requested",e.WindowOptionsChanged="window-options-changed",e.WindowClosed="window-closed",e.WindowCreated="window-created"}(w||(w={})),function(e){e.FinProtocol="fin-protocol"}(u||(u={})),f.Workspace,f.Workspace,function(e){e.Home="openfin-home",e.Dock="openfin-dock",e.Storefront="openfin-storefront",e.HomeInternal="openfin-home-internal",e.BrowserMenu="openfin-browser-menu",e.BrowserIndicator="openfin-browser-indicator",e.BrowserWindow="internal-generated-window"}(l||(l={})),function(e){e.Shown="shown",e.BoundsChanged="bounds-changed",e.LayoutReady="layout-ready",e.EndUserBoundsChanging="end-user-bounds-changing",e.Blurred="blurred",e.CloseRequested="close-requested",e.Focused="focused",e.ShowRequested="show-requested",e.ViewCrashed="view-crashed",e.ViewAttached="view-attached",e.ViewDetached="view-detached"}(h||(h={})),l.Home,f.Workspace,l.Dock,f.Workspace,l.Storefront,f.Workspace;const v={name:f.Workspace,uuid:f.Workspace},S=e=>function(e){if(!a)throw new Error("getOFWindow can only be used in an OpenFin env. Avoid calling this method during pre-rendering.");return fin.Window.wrapSync(e)}(e).getOptions().then((()=>!0)).catch((()=>!1));var P,R;(R=P||(P={})).LaunchApp="launch-app",R.CreateWorkspace="create-workspace",R.UpdateWorkspace="update-workspace",R.DeleteWorkspace="delete-workspace",R.LaunchWorkspace="launch-workspace",R.ShareWorkspace="share-workspace",R.GetWorkspace="get-workspace",R.GetWorkspaceList="get-workspace-list",R.GetActiveWorkspace="get-active-workspace",R.GetPage="get-page",R.CreatePage="create-page",R.UpdatePage="update-page",R.RenamePage="rename-page",R.DeletePage="delete-page",R.SharePage="share-page",R.LaunchPage="launch-page",R.AttachPagesToWindow="attach-pages-to-window",R.DetachPagesFromWindow="detach-pages-from-window",R.ReorderPagesForWindow="reorder-pages-for-window",R.SetActivePageForWindow="set-active-page-for-window",R.GetSavedPageList="get-saved-page-list",R.GetAttachedPageList="get-running-page-list",R.GetAllPageList="get-all-page-list",R.GetActivePageIdForWindow="get-active-page-id-for-window",R.GetPagesForWindow="get-pages-for-window",R.GetSavedPageMetadata="get-saved-page-metadata",R.RegisterStorefrontProvider="register-storefront-provider",R.GetStorefrontProviders="get-storefront-providers",R.HideStorefront="hide-storefront",R.GetStorefrontProviderApps="get-storefront-provider-apps",R.GetStorefrontProviderLandingPage="get-storefront-provider-landing-page",R.GetStorefrontProviderFooter="get-storefront-provider-footer",R.GetStorefrontProviderNavigation="get-storefront-provider-navigation",R.LaunchStorefrontProviderApp="launch-storefront-provider-app",R.ShowStorefront="show-storefront",R.CreateStorefrontWindow="create-storefront-window",R.CreateBrowserWindow="create-browser-window";const y=function(e){let o;return()=>{if(!a)throw new Error("getChannelClient cannot be used outside an OpenFin env. Avoid using this method during pre-rendering.");return o||(p.debug(`connecting to channel provider ${e}`),o=(async()=>{await g;const r=await fin.InterApplicationBus.Channel.connect(e);return r.onDisconnection((async()=>{p.warn(`disconnected from channel provider ${e}`),o=void 0})),r})().then((o=>(p.debug(`connected to channel provider ${e}`),o))).catch((o=>{p.error(`failed to connect to channel provider ${e}`,o)}))),o}}("__of_workspace_protocol__"),A=async()=>{if(!await S(v))return fin.System.openUrlWithBrowser((()=>{const e=new URL("fins://cdn.openfin.co/workspace/dev/app.json");return e.searchParams.append("isLaunchedViaLib",d.toString()),e.toString()})())},W=async()=>(await A(),y());var O,_,L;let E;!function(e){e.Snapshot="snapshot",e.Manifest="manifest",e.View="view",e.External="external"}(O||(O={})),(L=_||(_={})).LandingPage="landingPage",L.AppGrid="appGrid";const m=new Map;let G=!1;const k=e=>{if(!m.has(e))throw new Error(`Storefront Provider with id ${e} is not registered`);return m.get(e)},b=e=>(E=(async e=>{const o=await W();if(m.has(e.id))throw new Error(`Storefront provider with id ${e.id} already registered`);return m.set(e.id,e),(e=>{G||(G=!0,e.register(P.GetStorefrontProviderApps,(e=>k(e).getApps())),e.register(P.GetStorefrontProviderFooter,(e=>k(e).getFooter())),e.register(P.GetStorefrontProviderLandingPage,(e=>k(e).getLandingPage())),e.register(P.GetStorefrontProviderNavigation,(e=>k(e).getNavigation())),e.register(P.LaunchStorefrontProviderApp,(({id:e,app:o})=>k(e).launchApp(o))))})(o),o.dispatch(P.RegisterStorefrontProvider,e)})(e),E),C=async()=>{await E,await A(),await(async()=>(await y()).dispatch(P.HideStorefront,void 0))()},F=async()=>{await E,await A(),await(async()=>(await y()).dispatch(P.ShowStorefront,null))()},T=async e=>(await W()).dispatch(P.LaunchApp,e),$=n;module.exports=o})();
1
+ (()=>{"use strict";var e={d:(o,r)=>{for(var t in r)e.o(r,t)&&!e.o(o,t)&&Object.defineProperty(o,t,{enumerable:!0,get:r[t]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},o={};e.r(o),e.d(o,{Storefront:()=>$,launchApp:()=>T});var r,t,n={};e.r(n),e.d(n,{hide:()=>C,register:()=>b,show:()=>F}),function(e){e.Local="local",e.Dev="dev",e.Staging="staging",e.Prod="prod"}(t||(t={}));const a="undefined"!=typeof window&&"undefined"!=typeof fin,i=("undefined"==typeof process||null===(r=process.env)||void 0===r||r.JEST_WORKER_ID,"undefined"!=typeof window),d=(i?window.origin:t.Local,a&&fin.me.uuid,a&&fin.me.name,"undefined"!=typeof ENV?ENV:t.Local,t.Local,t.Dev,t.Staging,t.Prod,!0),s=("undefined"!=typeof WORKSPACE_API_URL&&WORKSPACE_API_URL,"undefined"!=typeof WORKSPACE_APPS_URL&&WORKSPACE_APPS_URL,"undefined"!=typeof WORKSPACE_STOREFRONT_FOOTER_URL&&WORKSPACE_STOREFRONT_FOOTER_URL,"undefined"!=typeof WORKSPACE_STOREFRONT_LANDING_PAGE_URL&&WORKSPACE_STOREFRONT_LANDING_PAGE_URL,"undefined"!=typeof WORKSPACE_STOREFRONT_NAVIGATION_URL&&WORKSPACE_STOREFRONT_NAVIGATION_URL,"#7795f7"),c={trace:!0,debug:"undefined"!=typeof LOG_DEBUG&&LOG_DEBUG,info:!1,warn:!0,error:!0,fatal:!0};const p=function(e,o){const r=`${e} : `,t=`color:${s}`;return{trace:c.trace?(e,...o)=>{console.trace(`%c${r}${e}`,t,...o)}:(e,...o)=>{},debug:c.debug?(e,...o)=>{console.info(`%c${r}${e}`,"color:#86db94",...o)}:(e,...o)=>{},info:c.info?(e,...o)=>{console.debug(`%c${r}${e}`,"color:#ffffff",...o)}:(e,...o)=>{},warn:c.warn?(e,...o)=>{console.warn(`%c${r}${e}`,"color:#edad68",...o)}:(e,...o)=>{},error:c.error?(e,o,...t)=>{console.error(`%c${r}${e}`,"color:#f55d67",...t,o)}:(e,o,...r)=>{},fatal:c.fatal?(e,o,...t)=>{console.error(`%c${r}${e}`,"color:#f70723",...t,o)}:(e,o,...r)=>{}}}("utils.channels"),g=i&&"complete"!==document.readyState&&new Promise((e=>document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&e()}))));var f,w,u,l,h;!function(e){e.Workspace="openfin-browser"}(f||(f={})),function(e){e.ViewPageTitleUpdated="view-page-title-updated",e.ViewDestroyed="view-destroyed",e.RunRequested="run-requested",e.WindowOptionsChanged="window-options-changed",e.WindowClosed="window-closed",e.WindowCreated="window-created"}(w||(w={})),function(e){e.FinProtocol="fin-protocol"}(u||(u={})),f.Workspace,f.Workspace,function(e){e.Home="openfin-home",e.Dock="openfin-dock",e.Storefront="openfin-storefront",e.HomeInternal="openfin-home-internal",e.BrowserMenu="openfin-browser-menu",e.BrowserIndicator="openfin-browser-indicator",e.BrowserWindow="internal-generated-window"}(l||(l={})),function(e){e.Shown="shown",e.BoundsChanged="bounds-changed",e.LayoutReady="layout-ready",e.EndUserBoundsChanging="end-user-bounds-changing",e.Blurred="blurred",e.CloseRequested="close-requested",e.Focused="focused",e.ShowRequested="show-requested",e.ViewCrashed="view-crashed",e.ViewAttached="view-attached",e.ViewDetached="view-detached"}(h||(h={})),l.Home,f.Workspace,l.Dock,f.Workspace,l.Storefront,f.Workspace;const v={name:f.Workspace,uuid:f.Workspace},S=e=>function(e){if(!a)throw new Error("getOFWindow can only be used in an OpenFin env. Avoid calling this method during pre-rendering.");return fin.Window.wrapSync(e)}(e).getOptions().then((()=>!0)).catch((()=>!1));var P,R;(R=P||(P={})).LaunchApp="launch-app",R.CreateWorkspace="create-workspace",R.UpdateWorkspace="update-workspace",R.DeleteWorkspace="delete-workspace",R.LaunchWorkspace="launch-workspace",R.ShareWorkspace="share-workspace",R.GetWorkspace="get-workspace",R.GetWorkspaceList="get-workspace-list",R.GetActiveWorkspace="get-active-workspace",R.GetPage="get-page",R.CreatePage="create-page",R.UpdatePage="update-page",R.RenamePage="rename-page",R.DeletePage="delete-page",R.SharePage="share-page",R.LaunchPage="launch-page",R.AttachPagesToWindow="attach-pages-to-window",R.DetachPagesFromWindow="detach-pages-from-window",R.ReorderPagesForWindow="reorder-pages-for-window",R.SetActivePageForWindow="set-active-page-for-window",R.GetSavedPageList="get-saved-page-list",R.GetAttachedPageList="get-running-page-list",R.GetAllPageList="get-all-page-list",R.GetActivePageIdForWindow="get-active-page-id-for-window",R.GetPagesForWindow="get-pages-for-window",R.GetSavedPageMetadata="get-saved-page-metadata",R.RegisterStorefrontProvider="register-storefront-provider",R.GetStorefrontProviders="get-storefront-providers",R.HideStorefront="hide-storefront",R.GetStorefrontProviderApps="get-storefront-provider-apps",R.GetStorefrontProviderLandingPage="get-storefront-provider-landing-page",R.GetStorefrontProviderFooter="get-storefront-provider-footer",R.GetStorefrontProviderNavigation="get-storefront-provider-navigation",R.LaunchStorefrontProviderApp="launch-storefront-provider-app",R.ShowStorefront="show-storefront",R.CreateStorefrontWindow="create-storefront-window",R.CreateBrowserWindow="create-browser-window";const y=function(e){let o;return()=>{if(!a)throw new Error("getChannelClient cannot be used outside an OpenFin env. Avoid using this method during pre-rendering.");return o||(p.debug(`connecting to channel provider ${e}`),o=(async()=>{await g;const r=await fin.InterApplicationBus.Channel.connect(e);return r.onDisconnection((async()=>{p.warn(`disconnected from channel provider ${e}`),o=void 0})),r})().then((o=>(p.debug(`connected to channel provider ${e}`),o))).catch((o=>{p.error(`failed to connect to channel provider ${e}`,o)}))),o}}("__of_workspace_protocol__"),A=async()=>{if(!await S(v))return fin.System.openUrlWithBrowser((()=>{const e=new URL("fins://system-apps/workspace");return e.searchParams.append("isLaunchedViaLib",d.toString()),e.toString()})())},W=async()=>(await A(),y());var O,_,L;let m;!function(e){e.Snapshot="snapshot",e.Manifest="manifest",e.View="view",e.External="external"}(O||(O={})),(L=_||(_={})).LandingPage="landingPage",L.AppGrid="appGrid";const E=new Map;let G=!1;const k=e=>{if(!E.has(e))throw new Error(`Storefront Provider with id ${e} is not registered`);return E.get(e)},b=e=>(m=(async e=>{const o=await W();if(E.has(e.id))throw new Error(`Storefront provider with id ${e.id} already registered`);return E.set(e.id,e),(e=>{G||(G=!0,e.register(P.GetStorefrontProviderApps,(e=>k(e).getApps())),e.register(P.GetStorefrontProviderFooter,(e=>k(e).getFooter())),e.register(P.GetStorefrontProviderLandingPage,(e=>k(e).getLandingPage())),e.register(P.GetStorefrontProviderNavigation,(e=>k(e).getNavigation())),e.register(P.LaunchStorefrontProviderApp,(({id:e,app:o})=>k(e).launchApp(o))))})(o),o.dispatch(P.RegisterStorefrontProvider,e)})(e),m),C=async()=>{await m,await A(),await(async()=>(await y()).dispatch(P.HideStorefront,void 0))()},F=async()=>{await m,await A(),await(async()=>(await y()).dispatch(P.ShowStorefront,null))()},T=async e=>(await W()).dispatch(P.LaunchApp,e),$=n;module.exports=o})();
2
2
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","mappings":"mBACA,IAAIA,EAAsB,CCA1B,EAAwB,CAACC,EAASC,KACjC,IAAI,IAAIC,KAAOD,EACXF,EAAoBI,EAAEF,EAAYC,KAASH,EAAoBI,EAAEH,EAASE,IAC5EE,OAAOC,eAAeL,EAASE,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,MCJ3E,EAAwB,CAACM,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClF,EAAyBT,IACH,oBAAXa,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeL,EAASa,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeL,EAAS,aAAc,CAAEe,OAAO,M,0DCLnDC,EACOC,E,0DACX,SAAWA,GACPA,EAAW,MAAI,QACfA,EAAS,IAAI,MACbA,EAAa,QAAI,UACjBA,EAAU,KAAI,OAJlB,CAKGA,IAAQA,EAAM,KACV,MAAM,EAA0B,oBAAXC,QAAyC,oBAARC,IAEhDC,GAD+B,oBAAZC,SAAmD,QAAtBL,EAAKK,QAAQC,WAAwB,IAAPN,GAAyBA,EAAGO,eACtE,oBAAXL,QAWzBM,GARQJ,EAAkBF,OAAOO,OAASR,EAAIS,MACpC,GAASP,IAAIQ,GAAGC,KAChB,GAAST,IAAIQ,GAAGE,KACL,oBAARC,IAAsBA,IAAMb,EAAIS,MACxBT,EAAIS,MACNT,EAAIc,IACAd,EAAIe,QACPf,EAAIgB,MACyB,GCrBjDC,GDuB+C,oBAAtBC,mBAAoCA,kBACZ,oBAAvBC,oBAAs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SAAS,6BAA0CT,IAMrCU,CAAiBV,GACvCR,GAMEmB,EAAO1C,gBACVuB,QACAZ,SCiEoBX,iBAEJ,KACPwC,SAAS,sBAA8BlC,GDnEhDqC,IAKGC,EAAO5C,gBACVuB,QACAZ,SC9BoBX,iBACJ,KACPwC,SAAS,iBAA8B,MD6BhDK,IE/DGP,EAAYtC,MAAOqC,UACNjB,KACPoB,SAAS,YAAyBH,GCFxCnD,EAAa,E","sources":["webpack://@openfin/workspace/webpack/bootstrap","webpack://@openfin/workspace/webpack/runtime/define property getters","webpack://@openfin/workspace/webpack/runtime/hasOwnProperty shorthand","webpack://@openfin/workspace/webpack/runtime/make namespace object","webpack://@openfin/workspace/../common/src/utils/env.ts","webpack://@openfin/workspace/../common/src/utils/logger/shapes.ts","webpack://@openfin/workspace/../common/src/utils/logger/index.ts","webpack://@openfin/workspace/../common/src/utils/channels.ts","webpack://@openfin/workspace/../common/src/utils/application.ts","webpack://@openfin/workspace/../common/src/utils/window.ts","webpack://@openfin/workspace/../common/src/api/protocol.ts","webpack://@openfin/workspace/./src/shapes.ts","webpack://@openfin/workspace/./src/storefront.ts","webpack://@openfin/workspace/../common/src/api/storefront.ts","webpack://@openfin/workspace/./src/common.ts","webpack://@openfin/workspace/./src/index.ts"],"names":["__webpack_require__","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","_a","Env","window","fin","isWindowDefined","process","env","JEST_WORKER_ID","isLibrary","origin","Local","me","uuid","name","ENV","Dev","Staging","Prod","LogColors","WORKSPACE_API_URL","WORKSPACE_APPS_URL","WORKSPACE_STOREFRONT_FOOTER_URL","WORKSPACE_STOREFRONT_LANDING_PAGE_URL","WORKSPACE_STOREFRONT_NAVIGATION_URL","logLocalDefaults","trace","debug","LOG_DEBUG","info","warn","error","fatal","log","logLocal","localPrefix","traceColor","message","args","console","logger","docLoadPromise","document","readyState","Promise","res","addEventListener","ApplicationUUID","ApplicationEventType","LaunchModeType","WindowName","WindowEvent","Workspace","Home","Dock","Storefront","providerOFIdentity","isWindowRunning","identity","Error","Window","wrapSync","getOFWindow","getOptions","then","catch","ChannelAction","channelName","channelPromise","async","channel","InterApplicationBus","Channel","connect","onDisconnection","undefined","connectToChannel","r","err","makeGetChannelClient","launchProvider","System","openUrlWithBrowser","finsURL","URL","searchParams","append","toString","getProviderFinsLink","getChannelClientAndLaunchProvider","AppManifestType","StorefrontTemplate","currentRegistrationPromise","registeredProviders","Map","isRegistered","getStorefrontProviderOrFail","id","has","register","provider","set","getApps","getFooter","getLandingPage","getNavigation","app","launchApp","registerChannelClientActions","dispatch","registerInternal","hide","hideStorefront","show","showStorefront"],"sourceRoot":""}
1
+ {"version":3,"file":"index.js","mappings":"mBACA,IAAIA,EAAsB,CCA1B,EAAwB,CAACC,EAASC,KACjC,IAAI,IAAIC,KAAOD,EACXF,EAAoBI,EAAEF,EAAYC,KAASH,EAAoBI,EAAEH,EAASE,IAC5EE,OAAOC,eAAeL,EAASE,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,MCJ3E,EAAwB,CAACM,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClF,EAAyBT,IACH,oBAAXa,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeL,EAASa,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeL,EAAS,aAAc,CAAEe,OAAO,M,0DCLnDC,EACOC,E,0DACX,SAAWA,GACPA,EAAW,MAAI,QACfA,EAAS,IAAI,MACbA,EAAa,QAAI,UACjBA,EAAU,KAAI,OAJlB,CAKGA,IAAQA,EAAM,KACV,MAAM,EAA0B,oBAAXC,QAAyC,oBAARC,IAEhDC,GAD+B,oBAAZC,SAAmD,QAAtBL,EAAKK,QAAQC,WAAwB,IAAPN,GAAyBA,EAAGO,eACtE,oBAAXL,QAWzBM,GARQJ,EAAkBF,OAAOO,OAASR,EAAIS,MACpC,GAASP,IAAIQ,GAAGC,KAChB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C,EAAQ6B,SAAS,mCAAgDF,GAAOD,EAA4BC,GAAIQ,kBACxGnC,EAAQ6B,SAAS,+BAA2C,EAAGF,GAAAA,EAAIS,IAAAA,KAAUV,EAA4BC,GAAIU,UAAUD,OAUvHE,CAA6BtC,GACtBA,EAAQuC,SAAS,6BAA0CT,IAMrCU,CAAiBV,GACvCR,GAMEmB,EAAO1C,gBACVuB,QACAZ,SCuDoBX,iBAEJ,KACPwC,SAAS,sBAA8BlC,GDzDhDqC,IAKGC,EAAO5C,gBACVuB,QACAZ,SCxCoBX,iBACJ,KACPwC,SAAS,iBAA8B,MDuChDK,IE/DGP,EAAYtC,MAAOqC,UACNjB,KACPoB,SAAS,YAAyBH,GCFxCnD,EAAa,E","sources":["webpack://@openfin/workspace/webpack/bootstrap","webpack://@openfin/workspace/webpack/runtime/define property getters","webpack://@openfin/workspace/webpack/runtime/hasOwnProperty shorthand","webpack://@openfin/workspace/webpack/runtime/make namespace object","webpack://@openfin/workspace/../common/src/utils/env.ts","webpack://@openfin/workspace/../common/src/utils/logger/shapes.ts","webpack://@openfin/workspace/../common/src/utils/logger/index.ts","webpack://@openfin/workspace/../common/src/utils/channels.ts","webpack://@openfin/workspace/../common/src/utils/application.ts","webpack://@openfin/workspace/../common/src/utils/window.ts","webpack://@openfin/workspace/../common/src/api/protocol.ts","webpack://@openfin/workspace/./src/shapes.ts","webpack://@openfin/workspace/./src/storefront.ts","webpack://@openfin/workspace/../common/src/api/storefront.ts","webpack://@openfin/workspace/./src/common.ts","webpack://@openfin/workspace/./src/index.ts"],"names":["__webpack_require__","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","_a","Env","window","fin","isWindowDefined","process","env","JEST_WORKER_ID","isLibrary","origin","Local","me","uuid","name","ENV","Dev","Staging","Prod","LogColors","WORKSPACE_API_URL","WORKSPACE_APPS_URL","WORKSPACE_STOREFRONT_FOOTER_URL","WORKSPACE_STOREFRONT_LANDING_PAGE_URL","WORKSPACE_STOREFRONT_NAVIGATION_URL","logLocalDefaults","trace","debug","LOG_DEBUG","info","warn","error","fatal","log","logLocal","localPrefix","traceColor","message","args","console","logger","docLoadPromise","document","readyState","Promise","res","addEventListener","ApplicationUUID","ApplicationEventType","LaunchModeType","WindowName","WindowEvent","Workspace","Home","Dock","Storefront","providerOFIdentity","isWindowRunning","identity","Error","Window","wrapSync","getOFWindow","getOptions","then","catch","ChannelAction","channelName","channelPromise","async","channel","InterApplicationBus","Channel","connect","onDisconnection","undefined","connectToChannel","r","err","makeGetChannelClient","launchProvider","System","openUrlWithBrowser","finsURL","URL","searchParams","append","toString","getProviderFinsLink","getChannelClientAndLaunchProvider","AppManifestType","StorefrontTemplate","currentRegistrationPromise","registeredProviders","Map","isRegistered","getStorefrontProviderOrFail","id","has","register","provider","set","getApps","getFooter","getLandingPage","getNavigation","app","launchApp","registerChannelClientActions","dispatch","registerInternal","hide","hideStorefront","show","showStorefront"],"sourceRoot":""}
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@openfin/workspace","description":"An API for integrating with OpenFin Workspace.","author":"Brandon Waring <brandon.waring@openfin.co>","contributors":[],"version":"2.0.0","main":"src/index.ts","scripts":{"deploy":"npm run deploy:npm && npm run deploy:docs","deploy:npm":"cd out && npm publish","deploy:docs":"aws s3 cp --recursive ./docs/ s3://cdn.openfin.co/workspace/api/docs/","clean:dts":"rimraf ./out/client-api && rimraf ./out/common && rimraf ./out/search-api","cp:dts":"copyfiles -u 3 out/client-api/src/*.d.ts out","cp:manifest":"copyfiles package.json out","cp:readme":"copyfiles README.md out","cp:package":"node ./scripts/cp-package.js","package":"npm run cp:dts && npm run clean:dts && npm run cp:readme && npm run cp:package","clean":"rimraf ./out && rimraf ./docs","build:common":"cross-env ENV=prod webpack --mode=production --config ./webpack.common.config.js","build":"npm run clean && npm run build:common && npm run build:docs","build:docs":"typedoc --tsconfig ./tsconfig.json --readme none --disableSources ./src/shapes.ts","test":"jest --watch --colors","test:ci":"jest"},"keywords":["client api"],"license":"MIT","bugs":{"url":"https://github.com/openfin/workspace/issues"},"homepage":"https://github.com/openfin/workspace/search-api#readme"}
1
+ {"name":"@openfin/workspace","description":"An API for integrating with OpenFin Workspace.","author":"Brandon Waring <brandon.waring@openfin.co>","contributors":[],"version":"3.0.0","main":"src/index.ts","scripts":{"deploy":"npm run deploy:npm && npm run deploy:docs","deploy:npm":"cd out && npm publish","deploy:docs":"aws s3 cp --recursive ./docs/ s3://cdn.openfin.co/workspace/api/docs/","clean:dts":"rimraf ./out/client-api && rimraf ./out/common && rimraf ./out/search-api","cp:dts":"copyfiles -u 3 out/client-api/src/*.d.ts out","cp:manifest":"copyfiles package.json out","cp:readme":"copyfiles README.md out","cp:package":"node ./scripts/cp-package.js","package":"npm run cp:dts && npm run clean:dts && npm run cp:readme && npm run cp:package","clean":"rimraf ./out && rimraf ./docs","build:common":"cross-env ENV=prod webpack --mode=production --config ./webpack.common.config.js","build":"npm run clean && npm run build:common && npm run build:docs","build:docs":"typedoc --tsconfig ./tsconfig.json --readme none --disableSources ./src/shapes.ts","test":"jest --watch --colors","test:ci":"jest"},"keywords":["client api"],"license":"MIT","bugs":{"url":"https://github.com/openfin/workspace/issues"},"homepage":"https://github.com/openfin/workspace/search-api#readme"}