@prismatic-io/embedded 2.11.2 → 2.12.0-alpha
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/LICENSE +1 -1
- package/README.md +26 -20
- package/dist/index.js +1 -1
- package/dist/types/screenConfiguration.d.ts +1 -0
- package/package.json +2 -2
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,37 +1,43 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="https://prismatic.io/favicon-48x48.png" />
|
|
3
|
+
<h1>@prismatic-io/embedded</h1>
|
|
4
|
+
</div>
|
|
2
5
|
|
|
3
|
-
`@prismatic-io/embedded` allows you to to embed Prismatic's [
|
|
6
|
+
`@prismatic-io/embedded` allows you to to embed Prismatic's [integration marketplace](https://prismatic.io/docs/instances/integration-marketplace/) and [workflow designer](https://prismatic.io/docs/embed/workflow-designer/) within your web application, giving your customers the ability to manage integrations, instances, and connectors you've built in Prismatic.
|
|
4
7
|
|
|
5
8
|
## What is Prismatic?
|
|
6
9
|
|
|
7
|
-
Prismatic is the
|
|
10
|
+
Prismatic is the leading embedded iPaaS, enabling B2B SaaS teams to ship product integrations faster and with less dev time. The only embedded iPaaS that empowers both developers and non-developers with tools for the complete integration lifecycle, Prismatic includes low-code and code-native building options, deployment and management tooling, and self-serve customer tools.
|
|
8
11
|
|
|
9
|
-
Prismatic
|
|
12
|
+
Prismatic's unparalleled versatility lets teams deliver any integration from simple to complex in one powerful platform. SaaS companies worldwide, from startups to Fortune 500s, trust Prismatic to help connect their products to the other products their customers use.
|
|
10
13
|
|
|
11
14
|
With Prismatic, you can:
|
|
12
15
|
|
|
13
|
-
- Build
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
- Run
|
|
19
|
-
-
|
|
16
|
+
- Build [integrations](https://prismatic.io/docs/integrations/) using our [intuitive low-code designer](https://prismatic.io/docs/integrations/low-code-integration-designer/) or [code-native](https://prismatic.io/docs/integrations/code-native/) approach in your preferred IDE
|
|
17
|
+
- Leverage pre-built [connectors](https://prismatic.io/docs/components/) for common integration tasks, or develop custom connectors using our TypeScript SDK
|
|
18
|
+
- Embed a native [integration marketplace](https://prismatic.io/docs/embed/) in your product for customer self-service
|
|
19
|
+
- Configure and deploy customer-specific integration instances with powerful configuration tools
|
|
20
|
+
- Support customers efficiently with comprehensive [logging, monitoring, and alerting](https://prismatic.io/docs/monitor-instances/)
|
|
21
|
+
- Run integrations in a secure, scalable infrastructure designed for B2B SaaS
|
|
22
|
+
- Customize the platform to fit your product, industry, and development workflows
|
|
20
23
|
|
|
21
24
|
## Who uses Prismatic?
|
|
22
25
|
|
|
23
|
-
Prismatic is for B2B
|
|
26
|
+
Prismatic is built for B2B software companies that need to provide integrations to their customers. Whether you're a growing SaaS startup or an established enterprise, Prismatic's platform scales with your integration needs.
|
|
24
27
|
|
|
25
|
-
|
|
28
|
+
Our platform is particularly powerful for teams serving specialized vertical markets. We provide the flexibility and tools to build exactly the integrations your customers need, regardless of the systems you're connecting to or how unique your integration requirements may be.
|
|
26
29
|
|
|
27
30
|
## What kind of integrations can you build using Prismatic?
|
|
28
31
|
|
|
29
|
-
Prismatic supports integrations
|
|
30
|
-
Teams use it to build integrations between applications of all kinds, SaaS or legacy, with or without a modern API, regardless of protocol or data format.
|
|
31
|
-
Here are some example use cases:
|
|
32
|
+
Prismatic supports integrations of any complexity - from simple data syncs to sophisticated, industry-specific solutions. Teams use it to build integrations between any type of system, whether modern SaaS or legacy with standard or custom protocols. Here are some example use cases:
|
|
32
33
|
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
34
|
+
- Connect your product with customers' ERPs, CRMs, and other business systems
|
|
35
|
+
- Process data from multiple sources with customer-specific transformation requirements
|
|
36
|
+
- Automate workflows with customizable triggers, actions, and schedules
|
|
37
|
+
- Handle complex authentication flows and data mapping scenarios
|
|
36
38
|
|
|
37
|
-
For information on the Prismatic platform, check out our [website](https://prismatic.io) and [docs](https://prismatic.io/docs).
|
|
39
|
+
For information on the Prismatic platform, check out our [website](https://prismatic.io/) and [docs](https://prismatic.io/docs/).
|
|
40
|
+
|
|
41
|
+
## License
|
|
42
|
+
|
|
43
|
+
This repository is MIT licensed.
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.prismatic=t():e.prismatic=t()}(this,(()=>(()=>{var e={182:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",s="[object Object]",c=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l[i]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l[a]=l["[object Map]"]=l["[object Number]"]=l[s]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1;var f,d,E,_="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,p="object"==typeof self&&self&&self.Object===Object&&self,v=_||p||Function("return this")(),h=t&&!t.nodeType&&t,g=h&&e&&!e.nodeType&&e,O=g&&g.exports===h,b=O&&_.process,y=function(){try{return g&&g.require&&g.require("util").types||b&&b.binding&&b.binding("util")}catch(e){}}(),D=y&&y.isTypedArray,m=Array.prototype,I=Function.prototype,S=Object.prototype,A=v["__core-js_shared__"],P=I.toString,j=S.hasOwnProperty,C=(f=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",M=S.toString,R=P.call(Object),N=RegExp("^"+P.call(j).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=O?v.Buffer:void 0,T=v.Symbol,L=v.Uint8Array,B=(w&&w.allocUnsafe,d=Object.getPrototypeOf,E=Object,function(e){return d(E(e))}),F=Object.create,U=S.propertyIsEnumerable,V=m.splice,$=T?T.toStringTag:void 0,k=function(){try{var e=se(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),x=w?w.isBuffer:void 0,W=Math.max,q=Date.now,G=se(v,"Map"),z=se(Object,"create"),Y=function(){function e(){}return function(t){if(!Oe(t))return{};if(F)return F(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function H(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=this.__data__=new J(e);this.size=t.size}function Z(e,t,n){(void 0!==n&&!de(e[t],n)||void 0===n&&!(t in e))&&te(e,t,n)}function X(e,t,n){var r=e[t];j.call(e,t)&&de(r,n)&&(void 0!==n||t in e)||te(e,t,n)}function ee(e,t){for(var n=e.length;n--;)if(de(e[n][0],t))return n;return-1}function te(e,t,n){"__proto__"==t&&k?k(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}K.prototype.clear=function(){this.__data__=z?z(null):{},this.size=0},K.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},K.prototype.get=function(e){var t=this.__data__;if(z){var n=t[e];return n===r?void 0:n}return j.call(t,e)?t[e]:void 0},K.prototype.has=function(e){var t=this.__data__;return z?void 0!==t[e]:j.call(t,e)},K.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=z&&void 0===t?r:t,this},J.prototype.clear=function(){this.__data__=[],this.size=0},J.prototype.delete=function(e){var t=this.__data__,n=ee(t,e);return!(n<0||(n==t.length-1?t.pop():V.call(t,n,1),--this.size,0))},J.prototype.get=function(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]},J.prototype.has=function(e){return ee(this.__data__,e)>-1},J.prototype.set=function(e,t){var n=this.__data__,r=ee(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},H.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(G||J),string:new K}},H.prototype.delete=function(e){var t=ae(this,e).delete(e);return this.size-=t?1:0,t},H.prototype.get=function(e){return ae(this,e).get(e)},H.prototype.has=function(e){return ae(this,e).has(e)},H.prototype.set=function(e,t){var n=ae(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Q.prototype.clear=function(){this.__data__=new J,this.size=0},Q.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Q.prototype.get=function(e){return this.__data__.get(e)},Q.prototype.has=function(e){return this.__data__.has(e)},Q.prototype.set=function(e,t){var n=this.__data__;if(n instanceof J){var r=n.__data__;if(!G||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new H(r)}return n.set(e,t),this.size=n.size,this};function ne(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":$&&$ in Object(e)?function(e){var t=j.call(e,$),n=e[$];try{e[$]=void 0;var r=!0}catch(e){}var o=M.call(e);return r&&(t?e[$]=n:delete e[$]),o}(e):function(e){return M.call(e)}(e)}function re(e){return be(e)&&ne(e)==i}function oe(e,t,n,r,o){e!==t&&function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[++r];if(!1===t(o[s],s,o))break}}(t,(function(i,a){if(o||(o=new Q),Oe(i))!function(e,t,n,r,o,i,a){var c=le(e,n),u=le(t,n),l=a.get(u);if(l)Z(e,n,l);else{var f,d,E,_,p,v=i?i(c,u,n+"",e,t,a):void 0,h=void 0===v;if(h){var g=_e(u),O=!g&&ve(u),b=!g&&!O&&ye(u);v=u,g||O||b?_e(c)?v=c:be(p=c)&&pe(p)?v=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(c):O?(h=!1,v=function(e){return e.slice()}(u)):b?(h=!1,_=new(E=(f=u).buffer).constructor(E.byteLength),new L(_).set(new L(E)),d=_,v=new f.constructor(d,f.byteOffset,f.length)):v=[]:function(e){if(!be(e)||ne(e)!=s)return!1;var t=B(e);if(null===t)return!0;var n=j.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&P.call(n)==R}(u)||Ee(u)?(v=c,Ee(c)?v=function(e){return function(e,t,n){var r=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=void 0;void 0===s&&(s=e[a]),r?te(n,a,s):X(n,a,s)}return n}(e,De(e))}(c):Oe(c)&&!he(c)||(v=function(e){return"function"!=typeof e.constructor||ue(e)?{}:Y(B(e))}(u))):h=!1}h&&(a.set(u,v),o(v,u,r,i,a),a.delete(u)),Z(e,n,v)}}(e,t,a,n,oe,r,o);else{var c=r?r(le(e,a),i,a+"",e,t,o):void 0;void 0===c&&(c=i),Z(e,a,c)}}),De)}var ie=k?function(e,t){return k(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Se;function ae(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function se(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Oe(e)||function(e){return!!C&&C in e}(e))&&(he(e)?N:c).test(function(e){if(null!=e){try{return P.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function ce(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&u.test(e))&&e>-1&&e%1==0&&e<t}function ue(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||S)}function le(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var fe=function(e){var t=0,n=0;return function(){var r=q(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ie);function de(e,t){return e===t||e!=e&&t!=t}var Ee=re(function(){return arguments}())?re:function(e){return be(e)&&j.call(e,"callee")&&!U.call(e,"callee")},_e=Array.isArray;function pe(e){return null!=e&&ge(e.length)&&!he(e)}var ve=x||function(){return!1};function he(e){if(!Oe(e))return!1;var t=ne(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ge(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Oe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function be(e){return null!=e&&"object"==typeof e}var ye=D?function(e){return function(t){return e(t)}}(D):function(e){return be(e)&&ge(e.length)&&!!l[ne(e)]};function De(e){return pe(e)?function(e,t){var n=_e(e),r=!n&&Ee(e),o=!n&&!r&&ve(e),i=!n&&!r&&!o&&ye(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=s.length;for(var u in e)!t&&!j.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ce(u,c))||s.push(u);return s}(e,!0):function(e){if(!Oe(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ue(e),n=[];for(var r in e)("constructor"!=r||!t&&j.call(e,r))&&n.push(r);return n}(e)}var me,Ie=(me=function(e,t,n){oe(e,t,n)},function(e,t){return fe(function(e,t,n){return t=W(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=W(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,Se),e+"")}((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=me.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!Oe(n))return!1;var r=typeof t;return!!("number"==r?pe(n)&&ce(t,n.length):"string"==r&&t in n)&&de(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&me(e,a,n)}return e})));function Se(e){return e}e.exports=Ie},156:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.closePopover=t.getMessageIframe=void 0;const s=i(n(568));var c=n(999);Object.defineProperty(t,"getMessageIframe",{enumerable:!0,get:function(){return c.getMessageIframe}}),a(n(574),t),a(n(568),t);var u=n(147);Object.defineProperty(t,"closePopover",{enumerable:!0,get:function(){return u.closePopover}}),t.default=Object.assign({},s)},651:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.authenticate=void 0;const i=o(n(406)),a=n(379),s=n(160),c=n(580),u=n(999),l=o(n(569)),f=n(700),d="The authenticate method expects an object containing a token and additional optional configuration.",E=["token"];t.authenticate=e=>r(void 0,void 0,void 0,(function*(){var t;if((0,c.assertInit)("authenticate"),!e)throw new Error(d);const n=new Set(Object.keys(e));if(!E.every((e=>n.has(e))))throw new Error(d);const{token:r}=e,o=document.getElementById(s.EMBEDDED_IFRAME_ID),_=l.default.getStateCopy();_.jwt!==r&&o&&(0,u.postMessage)({iframe:o,event:{event:a.PrismaticMessageEvent.SET_TOKEN,data:r}});const p=null!==(t=e.prismaticUrl)&&void 0!==t?t:_.prismaticUrl,v=yield fetch((0,i.default)(p,"embedded","authenticate"),{headers:{Authorization:`Bearer ${r}`},method:"post"});if(!v.ok){const e=yield v.text();throw e?new Error(`Authentication failed. Server sent back: ${e}`):new Error("Authentication failed. Please check that your customer and organization information are correct, and that the token you provided is not expired.")}_.jwt=r,l.default.setState(_);const h=yield(0,f.graphqlRequest)({query:"{\n authenticatedUser {\n customer {\n allowEmbeddedDesigner\n }\n }\n }"});_.embeddedDesignerEnabled=h.data.authenticatedUser.customer.allowEmbeddedDesigner,l.default.setState(_)}))},307:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.isConfigureInstanceWithIntegrationName=t.isConfigureInstanceWithIntegrationId=t.isConfigureInstanceWithInstanceId=t.configureInstance=void 0;const o=n(580),i=n(160);t.configureInstance=e=>{var n=r(e,[]);if((0,o.assertInit)("configureInstance"),(0,t.isConfigureInstanceWithInstanceId)(n)){const{instanceId:e,skipRedirectOnRemove:t}=n,o=r(n,["instanceId","skipRedirectOnRemove"]);return(0,i.setIframe)("/find-integration-marketplace/",o,Object.assign({instanceId:e},t?{skipRedirectOnRemove:"true"}:{}))}if((0,t.isConfigureInstanceWithIntegrationId)(n)){const{integrationId:e,skipRedirectOnRemove:t}=n,o=r(n,["integrationId","skipRedirectOnRemove"]);return(0,i.setIframe)("/find-integration-marketplace/",o,Object.assign({integrationId:e},t?{skipRedirectOnRemove:"true"}:{}))}if((0,t.isConfigureInstanceWithIntegrationName)(n)){const{integrationName:e,skipRedirectOnRemove:t}=n,o=r(n,["integrationName","skipRedirectOnRemove"]);(0,i.setIframe)("/find-integration-marketplace/",o,Object.assign({integrationName:e},t?{skipRedirectOnRemove:"true"}:{}))}},t.isConfigureInstanceWithInstanceId=e=>Boolean("instanceId"in e&&e.instanceId),t.isConfigureInstanceWithIntegrationId=e=>Boolean("integrationId"in e&&e.integrationId),t.isConfigureInstanceWithIntegrationName=e=>Boolean("integrationName"in e&&e.integrationName)},700:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.graphqlRequest=void 0;const i=o(n(406)),a=o(n(569)),s=n(580);t.graphqlRequest=({query:e,variables:t})=>r(void 0,void 0,void 0,(function*(){(0,s.assertInit)("authenticate");const{jwt:n,prismaticUrl:r}=a.default.getStateCopy(),o=yield fetch((0,i.default)(r,"api"),{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${n}`},body:JSON.stringify({query:e,variables:t})});return yield o.json()}))},568:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showMarketplace=t.showLogs=t.showIntegrations=t.showDesigner=t.showDashboard=t.showComponents=t.showComponent=t.setConfigVars=t.EMBEDDED_DEFAULTS=t.init=t.graphqlRequest=t.isConfigureInstanceWithIntegrationName=t.isConfigureInstanceWithIntegrationId=t.isConfigureInstanceWithInstanceId=t.configureIntegration=t.configureInstance=t.authenticate=void 0;const r=n(307);Object.defineProperty(t,"configureInstance",{enumerable:!0,get:function(){return r.configureInstance}}),Object.defineProperty(t,"configureIntegration",{enumerable:!0,get:function(){return r.configureInstance}}),Object.defineProperty(t,"isConfigureInstanceWithInstanceId",{enumerable:!0,get:function(){return r.isConfigureInstanceWithInstanceId}}),Object.defineProperty(t,"isConfigureInstanceWithIntegrationId",{enumerable:!0,get:function(){return r.isConfigureInstanceWithIntegrationId}}),Object.defineProperty(t,"isConfigureInstanceWithIntegrationName",{enumerable:!0,get:function(){return r.isConfigureInstanceWithIntegrationName}});var o=n(651);Object.defineProperty(t,"authenticate",{enumerable:!0,get:function(){return o.authenticate}});var i=n(700);Object.defineProperty(t,"graphqlRequest",{enumerable:!0,get:function(){return i.graphqlRequest}});var a=n(68);Object.defineProperty(t,"init",{enumerable:!0,get:function(){return a.init}}),Object.defineProperty(t,"EMBEDDED_DEFAULTS",{enumerable:!0,get:function(){return a.EMBEDDED_DEFAULTS}});var s=n(624);Object.defineProperty(t,"setConfigVars",{enumerable:!0,get:function(){return s.setConfigVars}});var c=n(492);Object.defineProperty(t,"showComponent",{enumerable:!0,get:function(){return c.showComponent}});var u=n(883);Object.defineProperty(t,"showComponents",{enumerable:!0,get:function(){return u.showComponents}});var l=n(207);Object.defineProperty(t,"showDashboard",{enumerable:!0,get:function(){return l.showDashboard}});var f=n(374);Object.defineProperty(t,"showDesigner",{enumerable:!0,get:function(){return f.showDesigner}});var d=n(144);Object.defineProperty(t,"showIntegrations",{enumerable:!0,get:function(){return d.showIntegrations}});var E=n(284);Object.defineProperty(t,"showLogs",{enumerable:!0,get:function(){return E.showLogs}});var _=n(80);Object.defineProperty(t,"showMarketplace",{enumerable:!0,get:function(){return _.showMarketplace}})},68:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.init=t.EMBEDDED_DEFAULTS=void 0;const s=a(n(182)),c=n(800),u=n(147),l=i(n(569)),f=n(160);t.EMBEDDED_DEFAULTS={filters:{marketplace:{includeActiveIntegrations:!0},integrations:{},components:{}},screenConfiguration:{configurationWizard:{},instance:{},marketplace:{},initializing:{}},skipPreload:!1,theme:"LIGHT",fontConfiguration:void 0,translation:{}},t.init=e=>{const n=(0,s.default)({},t.EMBEDDED_DEFAULTS,e),r=l.default.getInitialState();if(n&&Object.entries(n).forEach((([e,t])=>{l.ValidKeys.has(e)&&(r[e]=t)})),r.initComplete=!0,l.default.setState(r),document.getElementById(f.EMBEDDED_ID))return;document.getElementById(f.EMBEDDED_IFRAME_PRELOAD_ID)||n.skipPreload||document.body.insertAdjacentHTML("beforeend",`<iframe\n id="${f.EMBEDDED_IFRAME_PRELOAD_ID}"\n src="${r.prismaticUrl}/embedded"\n style="visibility: hidden; display: none;"\n height="0"\n width="0"\n />`),document.head.insertAdjacentHTML("beforeend",c.styles);const o=document.createElement("div");o.id=f.EMBEDDED_ID,o.innerHTML=`\n <div class="${f.EMBEDDED_OVERLAY_CLASS}">\n <div class="${f.EMBEDDED_POPOVER_CLASS}">\n <button class="${f.EMBEDDED_POPOVER_CLOSE_CLASS}" aria-label="close popover" data-close>✕</button>\n <div class="${f.EMBEDDED_IFRAME_CONTAINER_CLASS}"></div>\n </div>\n </div>\n `,document.body.appendChild(o);const i=document.querySelector(`#${f.EMBEDDED_ID} .${f.EMBEDDED_POPOVER_CLOSE_CLASS}`),a=document.querySelector(f.EMBEDDED_OVERLAY_SELECTOR);null==a||a.addEventListener("click",(e=>{e.target===e.currentTarget&&(0,u.closePopover)()})),null==i||i.addEventListener("click",(()=>(0,u.closePopover)())),document.addEventListener("keyup",(e=>{"Escape"===e.key&&document.querySelector(`.${f.EMBEDDED_OVERLAY_VISIBLE_CLASS}`)&&(0,u.closePopover)()}))}},624:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.setConfigVars=void 0;const o=n(379),i=n(999);t.setConfigVars=e=>{var{configVars:t}=e,n=r(e,["configVars"]);(0,i.postMessage)(Object.assign(Object.assign({},n),{event:{event:o.PrismaticMessageEvent.SET_CONFIG_VAR,data:t}}))}},492:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.showComponent=void 0;const o=n(580),i=n(160);t.showComponent=e=>{var{componentId:t}=e,n=r(e,["componentId"]);(0,o.assertInit)("showComponent"),(0,i.setIframe)(`/components/${t}/`,n,{})}},883:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showComponents=void 0;const r=n(580),o=n(160);t.showComponents=e=>{(0,r.assertInit)("showComponents"),(0,o.setIframe)("/components/",e,{})}},207:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showDashboard=void 0;const r=n(580),o=n(160);t.showDashboard=(e={usePopover:!0})=>{(0,r.assertInit)("showDashboard"),(0,o.setIframe)("/dashboard/",e,{})}},374:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.showDesigner=void 0;const o=n(105),i=n(580),a=n(160);t.showDesigner=e=>{var{integrationId:t}=e,n=r(e,["integrationId"]);(0,i.assertInit)("showDesigner"),(0,o.assertEmbeddedDesigner)("showDesigner"),(0,a.setIframe)(`/integrations/${t}/`,n,{})}},144:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showIntegrations=void 0;const r=n(105),o=n(580),i=n(160);t.showIntegrations=e=>{(0,o.assertInit)("showIntegrations"),(0,r.assertEmbeddedDesigner)("showIntegrations"),(0,i.setIframe)("/integrations/",e,{})}},284:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showLogs=void 0;const r=n(580),o=n(160);t.showLogs=e=>{(0,r.assertInit)("showLogs"),(0,o.setIframe)("/logs/",e,{})}},80:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showMarketplace=void 0;const r=n(580),o=n(160);t.showMarketplace=(e={usePopover:!0})=>{(0,r.assertInit)("showMarketplace"),(0,o.setIframe)("/integration-marketplace/",e,{})}},569:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValidKeys=void 0;const n={filters:{category:void 0,filterQuery:void 0,label:void 0},initComplete:!1,jwt:"",embeddedDesignerEnabled:!1,prismaticUrl:"https://app.prismatic.io",screenConfiguration:void 0,theme:void 0,fontConfiguration:void 0,translation:void 0};t.ValidKeys=new Set(Object.keys(n));const r=new class{constructor(e){this.state=null,this.defaultState=e}getInitialState(){return JSON.parse(JSON.stringify(this.defaultState))}getStateCopy(){return this.state?JSON.parse(JSON.stringify(this.state)):this.getInitialState()}setState(e){this.state=e}}(n);t.default=r},800:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styles=void 0;const r=n(160);t.styles=`<style>\n .${r.EMBEDDED_OVERLAY_CLASS} {\n backdrop-filter: blur(10px);\n background: rgb(119 119 119 / 29%);\n bottom: 0;\n display: block;\n left: 0;\n opacity: 0;\n position: fixed;\n right: 0;\n top: 0;\n transition: all 0.3s ease-in;\n visibility: hidden;\n z-index: 9999;\n }\n .${r.EMBEDDED_OVERLAY_CLASS}.${r.EMBEDDED_OVERLAY_VISIBLE_CLASS} {\n opacity: 1;\n visibility: visible;\n }\n .${r.EMBEDDED_POPOVER_CLASS} {\n background: #fff;\n border-radius: 4px;\n bottom: 0;\n height: 80vh;\n left: 0;\n margin: auto;\n overflow: hidden;\n position: absolute;\n right: 0;\n top: 0;\n width: 80vw;\n }\n .${r.EMBEDDED_POPOVER_CLOSE_CLASS} {\n all: unset;\n cursor: pointer;\n position: absolute;\n right: 1.5em;\n top: 1.3em;\n }\n .${r.EMBEDDED_IFRAME_CONTAINER_CLASS} {\n height: 100%\n }\n</style>`},682:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.TermOperatorPhrase=t.TermOperator=t.BooleanOperator=void 0,(r=t.BooleanOperator||(t.BooleanOperator={})).and="and",r.or="or",function(e){e.equal="equal",e.notEqual="notEqual",e.in="in",e.notIn="notIn",e.startsWith="startsWith",e.doesNotStartWith="doesNotStartWith",e.endsWith="endsWith",e.doesNotEndWith="doesNotEndWith"}(n=t.TermOperator||(t.TermOperator={})),t.TermOperatorPhrase={[n.equal]:"equals",[n.notEqual]:"does not equal",[n.in]:"contained in",[n.notIn]:"not contained in",[n.startsWith]:"starts the string",[n.doesNotStartWith]:"does not start the string",[n.endsWith]:"ends the string",[n.doesNotEndWith]:"does not end the string"}},585:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TermOperator=t.BooleanOperator=void 0;const r=n(682);Object.defineProperty(t,"BooleanOperator",{enumerable:!0,get:function(){return r.BooleanOperator}}),Object.defineProperty(t,"TermOperator",{enumerable:!0,get:function(){return r.TermOperator}})},574:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PrismaticMessageEvent=t.TermOperator=t.BooleanOperator=void 0;var r=n(585);Object.defineProperty(t,"BooleanOperator",{enumerable:!0,get:function(){return r.BooleanOperator}}),Object.defineProperty(t,"TermOperator",{enumerable:!0,get:function(){return r.TermOperator}});var o=n(379);Object.defineProperty(t,"PrismaticMessageEvent",{enumerable:!0,get:function(){return o.PrismaticMessageEvent}})},280:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPopover=void 0,t.isPopover=e=>!0===e.usePopover},379:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PrismaticMessageEvent=void 0,(n=t.PrismaticMessageEvent||(t.PrismaticMessageEvent={})).INSTANCE_CONFIGURATION_CLOSED="INSTANCE_CONFIGURATION_CLOSED",n.INSTANCE_CONFIGURATION_LOADED="INSTANCE_CONFIGURATION_LOADED",n.INSTANCE_CONFIGURATION_PAGE_LOADED="INSTANCE_CONFIGURATION_PAGE_LOADED",n.INSTANCE_CONFIGURATION_OPENED="INSTANCE_CONFIGURATION_OPENED",n.INSTANCE_CREATED="INSTANCE_CREATED",n.INSTANCE_DELETED="INSTANCE_DELETED",n.INSTANCE_DEPLOYED="INSTANCE_DEPLOYED",n.MARKETPLACE_CLOSED="MARKETPLACE_CLOSED",n.POPOVER_CLOSE_REQUESTED="POPOVER_CLOSE_REQUESTED",n.SET_CONFIG_VAR="SET_CONFIG_VAR",n.SET_FILTERS="SET_FILTERS",n.SET_SCREEN_CONFIGURATION="SET_SCREEN_CONFIGURATION",n.SET_TOKEN="SET_TOKEN",n.SET_TRANSLATION="SET_TRANSLATION",n.SET_VERSION="SET_VERSION",n.USER_CONFIGURATION_CLOSED="USER_CONFIGURATION_CLOSED",n.USER_CONFIGURATION_DELETED="USER_CONFIGURATION_DELETED",n.USER_CONFIGURATION_DEPLOYED="USER_CONFIGURATION_DEPLOYED",n.USER_CONFIGURATION_LOADED="USER_CONFIGURATION_LOADED",n.USER_CONFIGURATION_PAGE_LOADED="USER_CONFIGURATION_PAGE_LOADED",n.USER_CONFIGURATION_OPENED="USER_CONFIGURATION_OPENED"},105:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.assertEmbeddedDesigner=void 0;const o=r(n(569));t.assertEmbeddedDesigner=e=>{const{embeddedDesignerEnabled:t}=o.default.getStateCopy();if(!t)throw new Error(`Embedded designer must be enabled for this customer in order to call ${e}`)}},580:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.assertInit=void 0;const o=r(n(569));t.assertInit=e=>{if(!o.default.getStateCopy().initComplete)throw new Error(`Expected init to be called before calling ${e}`);if(!o.default.getStateCopy().jwt&&"authenticate"!==e)throw new Error(`Expected authenticate to be called before calling ${e}`)}},160:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.setIframe=t.isIframe=t.getIframeElement=t.getIframeContainerElement=t.EMBEDDED_POPOVER_CLOSE_CLASS=t.EMBEDDED_POPOVER_CLASS=t.EMBEDDED_OVERLAY_VISIBLE_CLASS=t.EMBEDDED_OVERLAY_SELECTOR=t.EMBEDDED_OVERLAY_CLASS=t.EMBEDDED_IFRAME_CONTAINER_SELECTOR=t.EMBEDDED_IFRAME_CONTAINER_CLASS=t.EMBEDDED_IFRAME_PRELOAD_ID=t.EMBEDDED_IFRAME_ID=t.EMBEDDED_ID=void 0;const s=a(n(182)),c=n(379),u=n(280),l=n(147),f=n(999),d=i(n(569)),E=a(n(406));t.EMBEDDED_ID="pio__embedded",t.EMBEDDED_IFRAME_ID="pio__iframe",t.EMBEDDED_IFRAME_PRELOAD_ID="pio__iframe-preload",t.EMBEDDED_IFRAME_CONTAINER_CLASS="pio__iframeContainer",t.EMBEDDED_IFRAME_CONTAINER_SELECTOR=`#${t.EMBEDDED_ID} .${t.EMBEDDED_IFRAME_CONTAINER_CLASS}`,t.EMBEDDED_OVERLAY_CLASS="pio__overlay",t.EMBEDDED_OVERLAY_SELECTOR=`#${t.EMBEDDED_ID} > .${t.EMBEDDED_OVERLAY_CLASS}`,t.EMBEDDED_OVERLAY_VISIBLE_CLASS=`${t.EMBEDDED_OVERLAY_CLASS}--is_visible`,t.EMBEDDED_POPOVER_CLASS="pio__popover",t.EMBEDDED_POPOVER_CLOSE_CLASS="pio__closeBtn",t.getIframeContainerElement=e=>document.querySelector(e),t.getIframeElement=e=>document.querySelector(`${e||t.EMBEDDED_IFRAME_CONTAINER_SELECTOR} > iframe`),t.isIframe=e=>Boolean(e&&"IFRAME"===e.tagName),t.setIframe=(e,n,r)=>{var o;(0,u.isPopover)(n)||n.selector||console.error("Could not find display selector.");const i=(0,t.getIframeContainerElement)((0,u.isPopover)(n)?t.EMBEDDED_IFRAME_CONTAINER_SELECTOR:n.selector);if(!i)return;const a=d.default.getStateCopy();n&&Object.entries(n).forEach((([e,t])=>{d.ValidKeys.has(e)&&(a[e]instanceof Object?a[e]=(0,s.default)(a[e],t):a[e]=t)}));const _=new URLSearchParams(Object.assign(Object.assign({},r),{embed:"true",jwt:a.jwt}));a.theme&&_.set("theme",a.theme),(null===(o=a.screenConfiguration)||void 0===o?void 0:o.initializing)&&_.set("initializing",JSON.stringify(a.screenConfiguration.initializing)),a.fontConfiguration&&_.set("fontConfiguration",JSON.stringify(a.fontConfiguration));const p=`${(0,E.default)(a.prismaticUrl,e)}?${_}`;i.innerHTML=`\n <iframe\n id="${t.EMBEDDED_IFRAME_ID}"\n src="${p}"\n height="100%"\n width="100%"\n frameBorder="0"\n allow="clipboard-read; clipboard-write"\n ></iframe>\n `;const v=i.querySelector("iframe");v&&window.addEventListener("message",(e=>{var t,r,o;if("PRISMATIC_INITIALIZED"===(null===(t=e.data)||void 0===t?void 0:t.event)){(0,f.postMessage)({iframe:v,event:{event:c.PrismaticMessageEvent.SET_TOKEN,data:a.jwt}}),(0,f.postMessage)({iframe:v,event:{event:c.PrismaticMessageEvent.SET_VERSION,data:"2.11.2"}}),(0,f.postMessage)({iframe:v,event:{event:c.PrismaticMessageEvent.SET_TRANSLATION,data:a.translation}});const e=(0,u.isPopover)(n)?Object.assign(Object.assign({},null!==(r=a.screenConfiguration)&&void 0!==r?r:{}),{isInPopover:!0}):a.screenConfiguration;(0,f.postMessage)({iframe:v,event:{event:c.PrismaticMessageEvent.SET_SCREEN_CONFIGURATION,data:e}}),(0,f.postMessage)({iframe:v,event:{event:c.PrismaticMessageEvent.SET_FILTERS,data:a.filters}})}else(null===(o=e.data)||void 0===o?void 0:o.event)===c.PrismaticMessageEvent.POPOVER_CLOSE_REQUESTED&&(0,l.closePopover)()})),v&&!1!==(null==n?void 0:n.autoFocusIframe)&&v.addEventListener("mouseenter",(()=>{v.focus()})),(0,u.isPopover)(n)&&(0,l.openPopover)()}},147:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closePopover=t.openPopover=t.getPopover=void 0;const r=n(160),o=n(379);t.getPopover=()=>document.querySelector(r.EMBEDDED_OVERLAY_SELECTOR),t.openPopover=()=>{var e;return null===(e=(0,t.getPopover)())||void 0===e?void 0:e.classList.add(r.EMBEDDED_OVERLAY_VISIBLE_CLASS)},t.closePopover=()=>{var e,n;const i=(0,r.getIframeContainerElement)(`${r.EMBEDDED_IFRAME_CONTAINER_SELECTOR} > iframe`);(0,r.isIframe)(i)&&(null===(e=i.contentWindow)||void 0===e||e.postMessage({event:o.PrismaticMessageEvent.MARKETPLACE_CLOSED},"*"),null===(n=(0,t.getPopover)())||void 0===n||n.classList.remove(r.EMBEDDED_OVERLAY_VISIBLE_CLASS))}},999:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.postMessage=t.getMessageIframe=void 0;const r=n(160);t.getMessageIframe=e=>Array.from(document.getElementsByTagName("iframe")).find((t=>t.contentWindow===e.source)),t.postMessage=e=>{var t;const n=(e=>"iframe"in e)(e)?e.iframe:(0,r.getIframeElement)(e.selector);(0,r.isIframe)(n)&&(null===(t=n.contentWindow)||void 0===t||t.postMessage(e.event,"*"))}},406:(e,t,n)=>{"use strict";function r(){return function(e){var t=[];if(0===e.length)return"";if("string"!=typeof e[0])throw new TypeError("Url must be a string. Received "+e[0]);if(e[0].match(/^[^/:]+:\/*$/)&&e.length>1){var n=e.shift();e[0]=n+e[0]}e[0].match(/^file:\/\/\//)?e[0]=e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0]=e[0].replace(/^([^/:]+):\/*/,"$1://");for(var r=0;r<e.length;r++){var o=e[r];if("string"!=typeof o)throw new TypeError("Url must be a string. Received "+o);""!==o&&(r>0&&(o=o.replace(/^[\/]+/,"")),o=r<e.length-1?o.replace(/[\/]+$/,""):o.replace(/[\/]+$/,"/"),t.push(o))}var i=t.join("/"),a=(i=i.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return a.shift()+(a.length>0?"?":"")+a.join("&")}("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}n.r(t),n.d(t,{default:()=>r})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n(156)})()));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.prismatic=t():e.prismatic=t()}(this,(()=>(()=>{var e={182:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",s="[object Object]",c=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l[i]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l[a]=l["[object Map]"]=l["[object Number]"]=l[s]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1;var f,d,E,_="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,p="object"==typeof self&&self&&self.Object===Object&&self,v=_||p||Function("return this")(),h=t&&!t.nodeType&&t,g=h&&e&&!e.nodeType&&e,O=g&&g.exports===h,b=O&&_.process,y=function(){try{return g&&g.require&&g.require("util").types||b&&b.binding&&b.binding("util")}catch(e){}}(),D=y&&y.isTypedArray,m=Array.prototype,I=Function.prototype,S=Object.prototype,A=v["__core-js_shared__"],P=I.toString,j=S.hasOwnProperty,C=(f=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",M=S.toString,R=P.call(Object),N=RegExp("^"+P.call(j).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=O?v.Buffer:void 0,T=v.Symbol,L=v.Uint8Array,B=(w&&w.allocUnsafe,d=Object.getPrototypeOf,E=Object,function(e){return d(E(e))}),F=Object.create,U=S.propertyIsEnumerable,V=m.splice,$=T?T.toStringTag:void 0,k=function(){try{var e=se(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),x=w?w.isBuffer:void 0,W=Math.max,q=Date.now,G=se(v,"Map"),z=se(Object,"create"),Y=function(){function e(){}return function(t){if(!Oe(t))return{};if(F)return F(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function H(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=this.__data__=new J(e);this.size=t.size}function Z(e,t,n){(void 0!==n&&!de(e[t],n)||void 0===n&&!(t in e))&&te(e,t,n)}function X(e,t,n){var r=e[t];j.call(e,t)&&de(r,n)&&(void 0!==n||t in e)||te(e,t,n)}function ee(e,t){for(var n=e.length;n--;)if(de(e[n][0],t))return n;return-1}function te(e,t,n){"__proto__"==t&&k?k(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}K.prototype.clear=function(){this.__data__=z?z(null):{},this.size=0},K.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},K.prototype.get=function(e){var t=this.__data__;if(z){var n=t[e];return n===r?void 0:n}return j.call(t,e)?t[e]:void 0},K.prototype.has=function(e){var t=this.__data__;return z?void 0!==t[e]:j.call(t,e)},K.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=z&&void 0===t?r:t,this},J.prototype.clear=function(){this.__data__=[],this.size=0},J.prototype.delete=function(e){var t=this.__data__,n=ee(t,e);return!(n<0||(n==t.length-1?t.pop():V.call(t,n,1),--this.size,0))},J.prototype.get=function(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]},J.prototype.has=function(e){return ee(this.__data__,e)>-1},J.prototype.set=function(e,t){var n=this.__data__,r=ee(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},H.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(G||J),string:new K}},H.prototype.delete=function(e){var t=ae(this,e).delete(e);return this.size-=t?1:0,t},H.prototype.get=function(e){return ae(this,e).get(e)},H.prototype.has=function(e){return ae(this,e).has(e)},H.prototype.set=function(e,t){var n=ae(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Q.prototype.clear=function(){this.__data__=new J,this.size=0},Q.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Q.prototype.get=function(e){return this.__data__.get(e)},Q.prototype.has=function(e){return this.__data__.has(e)},Q.prototype.set=function(e,t){var n=this.__data__;if(n instanceof J){var r=n.__data__;if(!G||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new H(r)}return n.set(e,t),this.size=n.size,this};function ne(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":$&&$ in Object(e)?function(e){var t=j.call(e,$),n=e[$];try{e[$]=void 0;var r=!0}catch(e){}var o=M.call(e);return r&&(t?e[$]=n:delete e[$]),o}(e):function(e){return M.call(e)}(e)}function re(e){return be(e)&&ne(e)==i}function oe(e,t,n,r,o){e!==t&&function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[++r];if(!1===t(o[s],s,o))break}}(t,(function(i,a){if(o||(o=new Q),Oe(i))!function(e,t,n,r,o,i,a){var c=le(e,n),u=le(t,n),l=a.get(u);if(l)Z(e,n,l);else{var f,d,E,_,p,v=i?i(c,u,n+"",e,t,a):void 0,h=void 0===v;if(h){var g=_e(u),O=!g&&ve(u),b=!g&&!O&&ye(u);v=u,g||O||b?_e(c)?v=c:be(p=c)&&pe(p)?v=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(c):O?(h=!1,v=function(e){return e.slice()}(u)):b?(h=!1,_=new(E=(f=u).buffer).constructor(E.byteLength),new L(_).set(new L(E)),d=_,v=new f.constructor(d,f.byteOffset,f.length)):v=[]:function(e){if(!be(e)||ne(e)!=s)return!1;var t=B(e);if(null===t)return!0;var n=j.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&P.call(n)==R}(u)||Ee(u)?(v=c,Ee(c)?v=function(e){return function(e,t,n){var r=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=void 0;void 0===s&&(s=e[a]),r?te(n,a,s):X(n,a,s)}return n}(e,De(e))}(c):Oe(c)&&!he(c)||(v=function(e){return"function"!=typeof e.constructor||ue(e)?{}:Y(B(e))}(u))):h=!1}h&&(a.set(u,v),o(v,u,r,i,a),a.delete(u)),Z(e,n,v)}}(e,t,a,n,oe,r,o);else{var c=r?r(le(e,a),i,a+"",e,t,o):void 0;void 0===c&&(c=i),Z(e,a,c)}}),De)}var ie=k?function(e,t){return k(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Se;function ae(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function se(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Oe(e)||function(e){return!!C&&C in e}(e))&&(he(e)?N:c).test(function(e){if(null!=e){try{return P.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function ce(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&u.test(e))&&e>-1&&e%1==0&&e<t}function ue(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||S)}function le(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var fe=function(e){var t=0,n=0;return function(){var r=q(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ie);function de(e,t){return e===t||e!=e&&t!=t}var Ee=re(function(){return arguments}())?re:function(e){return be(e)&&j.call(e,"callee")&&!U.call(e,"callee")},_e=Array.isArray;function pe(e){return null!=e&&ge(e.length)&&!he(e)}var ve=x||function(){return!1};function he(e){if(!Oe(e))return!1;var t=ne(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ge(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Oe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function be(e){return null!=e&&"object"==typeof e}var ye=D?function(e){return function(t){return e(t)}}(D):function(e){return be(e)&&ge(e.length)&&!!l[ne(e)]};function De(e){return pe(e)?function(e,t){var n=_e(e),r=!n&&Ee(e),o=!n&&!r&&ve(e),i=!n&&!r&&!o&&ye(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=s.length;for(var u in e)!t&&!j.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ce(u,c))||s.push(u);return s}(e,!0):function(e){if(!Oe(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ue(e),n=[];for(var r in e)("constructor"!=r||!t&&j.call(e,r))&&n.push(r);return n}(e)}var me,Ie=(me=function(e,t,n){oe(e,t,n)},function(e,t){return fe(function(e,t,n){return t=W(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=W(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,Se),e+"")}((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=me.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!Oe(n))return!1;var r=typeof t;return!!("number"==r?pe(n)&&ce(t,n.length):"string"==r&&t in n)&&de(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&me(e,a,n)}return e})));function Se(e){return e}e.exports=Ie},156:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.closePopover=t.getMessageIframe=void 0;const s=i(n(568));var c=n(999);Object.defineProperty(t,"getMessageIframe",{enumerable:!0,get:function(){return c.getMessageIframe}}),a(n(574),t),a(n(568),t);var u=n(147);Object.defineProperty(t,"closePopover",{enumerable:!0,get:function(){return u.closePopover}}),t.default=Object.assign({},s)},651:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.authenticate=void 0;const i=o(n(406)),a=n(379),s=n(160),c=n(580),u=n(999),l=o(n(569)),f=n(700),d="The authenticate method expects an object containing a token and additional optional configuration.",E=["token"];t.authenticate=e=>r(void 0,void 0,void 0,(function*(){var t;if((0,c.assertInit)("authenticate"),!e)throw new Error(d);const n=new Set(Object.keys(e));if(!E.every((e=>n.has(e))))throw new Error(d);const{token:r}=e,o=document.getElementById(s.EMBEDDED_IFRAME_ID),_=l.default.getStateCopy();_.jwt!==r&&o&&(0,u.postMessage)({iframe:o,event:{event:a.PrismaticMessageEvent.SET_TOKEN,data:r}});const p=null!==(t=e.prismaticUrl)&&void 0!==t?t:_.prismaticUrl,v=yield fetch((0,i.default)(p,"embedded","authenticate"),{headers:{Authorization:`Bearer ${r}`},method:"post"});if(!v.ok){const e=yield v.text();throw e?new Error(`Authentication failed. Server sent back: ${e}`):new Error("Authentication failed. Please check that your customer and organization information are correct, and that the token you provided is not expired.")}_.jwt=r,l.default.setState(_);const h=yield(0,f.graphqlRequest)({query:"{\n authenticatedUser {\n customer {\n allowEmbeddedDesigner\n }\n }\n }"});_.embeddedDesignerEnabled=h.data.authenticatedUser.customer.allowEmbeddedDesigner,l.default.setState(_)}))},307:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.isConfigureInstanceWithIntegrationName=t.isConfigureInstanceWithIntegrationId=t.isConfigureInstanceWithInstanceId=t.configureInstance=void 0;const o=n(580),i=n(160);t.configureInstance=e=>{var n=r(e,[]);if((0,o.assertInit)("configureInstance"),(0,t.isConfigureInstanceWithInstanceId)(n)){const{instanceId:e,skipRedirectOnRemove:t}=n,o=r(n,["instanceId","skipRedirectOnRemove"]);return(0,i.setIframe)("/find-integration-marketplace/",o,Object.assign({instanceId:e},t?{skipRedirectOnRemove:"true"}:{}))}if((0,t.isConfigureInstanceWithIntegrationId)(n)){const{integrationId:e,skipRedirectOnRemove:t}=n,o=r(n,["integrationId","skipRedirectOnRemove"]);return(0,i.setIframe)("/find-integration-marketplace/",o,Object.assign({integrationId:e},t?{skipRedirectOnRemove:"true"}:{}))}if((0,t.isConfigureInstanceWithIntegrationName)(n)){const{integrationName:e,skipRedirectOnRemove:t}=n,o=r(n,["integrationName","skipRedirectOnRemove"]);(0,i.setIframe)("/find-integration-marketplace/",o,Object.assign({integrationName:e},t?{skipRedirectOnRemove:"true"}:{}))}},t.isConfigureInstanceWithInstanceId=e=>Boolean("instanceId"in e&&e.instanceId),t.isConfigureInstanceWithIntegrationId=e=>Boolean("integrationId"in e&&e.integrationId),t.isConfigureInstanceWithIntegrationName=e=>Boolean("integrationName"in e&&e.integrationName)},700:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.graphqlRequest=void 0;const i=o(n(406)),a=o(n(569)),s=n(580);t.graphqlRequest=({query:e,variables:t})=>r(void 0,void 0,void 0,(function*(){(0,s.assertInit)("authenticate");const{jwt:n,prismaticUrl:r}=a.default.getStateCopy(),o=yield fetch((0,i.default)(r,"api"),{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${n}`},body:JSON.stringify({query:e,variables:t})});return yield o.json()}))},568:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showMarketplace=t.showLogs=t.showIntegrations=t.showDesigner=t.showDashboard=t.showComponents=t.showComponent=t.setConfigVars=t.EMBEDDED_DEFAULTS=t.init=t.graphqlRequest=t.isConfigureInstanceWithIntegrationName=t.isConfigureInstanceWithIntegrationId=t.isConfigureInstanceWithInstanceId=t.configureIntegration=t.configureInstance=t.authenticate=void 0;const r=n(307);Object.defineProperty(t,"configureInstance",{enumerable:!0,get:function(){return r.configureInstance}}),Object.defineProperty(t,"configureIntegration",{enumerable:!0,get:function(){return r.configureInstance}}),Object.defineProperty(t,"isConfigureInstanceWithInstanceId",{enumerable:!0,get:function(){return r.isConfigureInstanceWithInstanceId}}),Object.defineProperty(t,"isConfigureInstanceWithIntegrationId",{enumerable:!0,get:function(){return r.isConfigureInstanceWithIntegrationId}}),Object.defineProperty(t,"isConfigureInstanceWithIntegrationName",{enumerable:!0,get:function(){return r.isConfigureInstanceWithIntegrationName}});var o=n(651);Object.defineProperty(t,"authenticate",{enumerable:!0,get:function(){return o.authenticate}});var i=n(700);Object.defineProperty(t,"graphqlRequest",{enumerable:!0,get:function(){return i.graphqlRequest}});var a=n(68);Object.defineProperty(t,"init",{enumerable:!0,get:function(){return a.init}}),Object.defineProperty(t,"EMBEDDED_DEFAULTS",{enumerable:!0,get:function(){return a.EMBEDDED_DEFAULTS}});var s=n(624);Object.defineProperty(t,"setConfigVars",{enumerable:!0,get:function(){return s.setConfigVars}});var c=n(492);Object.defineProperty(t,"showComponent",{enumerable:!0,get:function(){return c.showComponent}});var u=n(883);Object.defineProperty(t,"showComponents",{enumerable:!0,get:function(){return u.showComponents}});var l=n(207);Object.defineProperty(t,"showDashboard",{enumerable:!0,get:function(){return l.showDashboard}});var f=n(374);Object.defineProperty(t,"showDesigner",{enumerable:!0,get:function(){return f.showDesigner}});var d=n(144);Object.defineProperty(t,"showIntegrations",{enumerable:!0,get:function(){return d.showIntegrations}});var E=n(284);Object.defineProperty(t,"showLogs",{enumerable:!0,get:function(){return E.showLogs}});var _=n(80);Object.defineProperty(t,"showMarketplace",{enumerable:!0,get:function(){return _.showMarketplace}})},68:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.init=t.EMBEDDED_DEFAULTS=void 0;const s=a(n(182)),c=n(800),u=n(147),l=i(n(569)),f=n(160);t.EMBEDDED_DEFAULTS={filters:{marketplace:{includeActiveIntegrations:!0},integrations:{},components:{}},screenConfiguration:{configurationWizard:{},instance:{},marketplace:{},initializing:{}},skipPreload:!1,theme:"LIGHT",fontConfiguration:void 0,translation:{}},t.init=e=>{const n=(0,s.default)({},t.EMBEDDED_DEFAULTS,e),r=l.default.getInitialState();if(n&&Object.entries(n).forEach((([e,t])=>{l.ValidKeys.has(e)&&(r[e]=t)})),r.initComplete=!0,l.default.setState(r),document.getElementById(f.EMBEDDED_ID))return;document.getElementById(f.EMBEDDED_IFRAME_PRELOAD_ID)||n.skipPreload||document.body.insertAdjacentHTML("beforeend",`<iframe\n id="${f.EMBEDDED_IFRAME_PRELOAD_ID}"\n src="${r.prismaticUrl}/embedded"\n style="visibility: hidden; display: none;"\n height="0"\n width="0"\n />`),document.head.insertAdjacentHTML("beforeend",c.styles);const o=document.createElement("div");o.id=f.EMBEDDED_ID,o.innerHTML=`\n <div class="${f.EMBEDDED_OVERLAY_CLASS}">\n <div class="${f.EMBEDDED_POPOVER_CLASS}">\n <button class="${f.EMBEDDED_POPOVER_CLOSE_CLASS}" aria-label="close popover" data-close>✕</button>\n <div class="${f.EMBEDDED_IFRAME_CONTAINER_CLASS}"></div>\n </div>\n </div>\n `,document.body.appendChild(o);const i=document.querySelector(`#${f.EMBEDDED_ID} .${f.EMBEDDED_POPOVER_CLOSE_CLASS}`),a=document.querySelector(f.EMBEDDED_OVERLAY_SELECTOR);null==a||a.addEventListener("click",(e=>{e.target===e.currentTarget&&(0,u.closePopover)()})),null==i||i.addEventListener("click",(()=>(0,u.closePopover)())),document.addEventListener("keyup",(e=>{"Escape"===e.key&&document.querySelector(`.${f.EMBEDDED_OVERLAY_VISIBLE_CLASS}`)&&(0,u.closePopover)()}))}},624:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.setConfigVars=void 0;const o=n(379),i=n(999);t.setConfigVars=e=>{var{configVars:t}=e,n=r(e,["configVars"]);(0,i.postMessage)(Object.assign(Object.assign({},n),{event:{event:o.PrismaticMessageEvent.SET_CONFIG_VAR,data:t}}))}},492:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.showComponent=void 0;const o=n(580),i=n(160);t.showComponent=e=>{var{componentId:t}=e,n=r(e,["componentId"]);(0,o.assertInit)("showComponent"),(0,i.setIframe)(`/components/${t}/`,n,{})}},883:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showComponents=void 0;const r=n(580),o=n(160);t.showComponents=e=>{(0,r.assertInit)("showComponents"),(0,o.setIframe)("/components/",e,{})}},207:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showDashboard=void 0;const r=n(580),o=n(160);t.showDashboard=(e={usePopover:!0})=>{(0,r.assertInit)("showDashboard"),(0,o.setIframe)("/dashboard/",e,{})}},374:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.showDesigner=void 0;const o=n(105),i=n(580),a=n(160);t.showDesigner=e=>{var{integrationId:t}=e,n=r(e,["integrationId"]);(0,i.assertInit)("showDesigner"),(0,o.assertEmbeddedDesigner)("showDesigner"),(0,a.setIframe)(`/integrations/${t}/`,n,{})}},144:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showIntegrations=void 0;const r=n(105),o=n(580),i=n(160);t.showIntegrations=e=>{(0,o.assertInit)("showIntegrations"),(0,r.assertEmbeddedDesigner)("showIntegrations"),(0,i.setIframe)("/integrations/",e,{})}},284:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showLogs=void 0;const r=n(580),o=n(160);t.showLogs=e=>{(0,r.assertInit)("showLogs"),(0,o.setIframe)("/logs/",e,{})}},80:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showMarketplace=void 0;const r=n(580),o=n(160);t.showMarketplace=(e={usePopover:!0})=>{(0,r.assertInit)("showMarketplace"),(0,o.setIframe)("/integration-marketplace/",e,{})}},569:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValidKeys=void 0;const n={filters:{category:void 0,filterQuery:void 0,label:void 0},initComplete:!1,jwt:"",embeddedDesignerEnabled:!1,prismaticUrl:"https://app.prismatic.io",screenConfiguration:void 0,theme:void 0,fontConfiguration:void 0,translation:void 0};t.ValidKeys=new Set(Object.keys(n));const r=new class{constructor(e){this.state=null,this.defaultState=e}getInitialState(){return JSON.parse(JSON.stringify(this.defaultState))}getStateCopy(){return this.state?JSON.parse(JSON.stringify(this.state)):this.getInitialState()}setState(e){this.state=e}}(n);t.default=r},800:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styles=void 0;const r=n(160);t.styles=`<style>\n .${r.EMBEDDED_OVERLAY_CLASS} {\n backdrop-filter: blur(10px);\n background: rgb(119 119 119 / 29%);\n bottom: 0;\n display: block;\n left: 0;\n opacity: 0;\n position: fixed;\n right: 0;\n top: 0;\n transition: all 0.3s ease-in;\n visibility: hidden;\n z-index: 9999;\n }\n .${r.EMBEDDED_OVERLAY_CLASS}.${r.EMBEDDED_OVERLAY_VISIBLE_CLASS} {\n opacity: 1;\n visibility: visible;\n }\n .${r.EMBEDDED_POPOVER_CLASS} {\n background: #fff;\n border-radius: 4px;\n bottom: 0;\n height: 80vh;\n left: 0;\n margin: auto;\n overflow: hidden;\n position: absolute;\n right: 0;\n top: 0;\n width: 80vw;\n }\n .${r.EMBEDDED_POPOVER_CLOSE_CLASS} {\n all: unset;\n cursor: pointer;\n position: absolute;\n right: 1.5em;\n top: 1.3em;\n }\n .${r.EMBEDDED_IFRAME_CONTAINER_CLASS} {\n height: 100%\n }\n</style>`},682:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.TermOperatorPhrase=t.TermOperator=t.BooleanOperator=void 0,(r=t.BooleanOperator||(t.BooleanOperator={})).and="and",r.or="or",function(e){e.equal="equal",e.notEqual="notEqual",e.in="in",e.notIn="notIn",e.startsWith="startsWith",e.doesNotStartWith="doesNotStartWith",e.endsWith="endsWith",e.doesNotEndWith="doesNotEndWith"}(n=t.TermOperator||(t.TermOperator={})),t.TermOperatorPhrase={[n.equal]:"equals",[n.notEqual]:"does not equal",[n.in]:"contained in",[n.notIn]:"not contained in",[n.startsWith]:"starts the string",[n.doesNotStartWith]:"does not start the string",[n.endsWith]:"ends the string",[n.doesNotEndWith]:"does not end the string"}},585:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TermOperator=t.BooleanOperator=void 0;const r=n(682);Object.defineProperty(t,"BooleanOperator",{enumerable:!0,get:function(){return r.BooleanOperator}}),Object.defineProperty(t,"TermOperator",{enumerable:!0,get:function(){return r.TermOperator}})},574:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PrismaticMessageEvent=t.TermOperator=t.BooleanOperator=void 0;var r=n(585);Object.defineProperty(t,"BooleanOperator",{enumerable:!0,get:function(){return r.BooleanOperator}}),Object.defineProperty(t,"TermOperator",{enumerable:!0,get:function(){return r.TermOperator}});var o=n(379);Object.defineProperty(t,"PrismaticMessageEvent",{enumerable:!0,get:function(){return o.PrismaticMessageEvent}})},280:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPopover=void 0,t.isPopover=e=>!0===e.usePopover},379:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PrismaticMessageEvent=void 0,(n=t.PrismaticMessageEvent||(t.PrismaticMessageEvent={})).INSTANCE_CONFIGURATION_CLOSED="INSTANCE_CONFIGURATION_CLOSED",n.INSTANCE_CONFIGURATION_LOADED="INSTANCE_CONFIGURATION_LOADED",n.INSTANCE_CONFIGURATION_PAGE_LOADED="INSTANCE_CONFIGURATION_PAGE_LOADED",n.INSTANCE_CONFIGURATION_OPENED="INSTANCE_CONFIGURATION_OPENED",n.INSTANCE_CREATED="INSTANCE_CREATED",n.INSTANCE_DELETED="INSTANCE_DELETED",n.INSTANCE_DEPLOYED="INSTANCE_DEPLOYED",n.MARKETPLACE_CLOSED="MARKETPLACE_CLOSED",n.POPOVER_CLOSE_REQUESTED="POPOVER_CLOSE_REQUESTED",n.SET_CONFIG_VAR="SET_CONFIG_VAR",n.SET_FILTERS="SET_FILTERS",n.SET_SCREEN_CONFIGURATION="SET_SCREEN_CONFIGURATION",n.SET_TOKEN="SET_TOKEN",n.SET_TRANSLATION="SET_TRANSLATION",n.SET_VERSION="SET_VERSION",n.USER_CONFIGURATION_CLOSED="USER_CONFIGURATION_CLOSED",n.USER_CONFIGURATION_DELETED="USER_CONFIGURATION_DELETED",n.USER_CONFIGURATION_DEPLOYED="USER_CONFIGURATION_DEPLOYED",n.USER_CONFIGURATION_LOADED="USER_CONFIGURATION_LOADED",n.USER_CONFIGURATION_PAGE_LOADED="USER_CONFIGURATION_PAGE_LOADED",n.USER_CONFIGURATION_OPENED="USER_CONFIGURATION_OPENED"},105:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.assertEmbeddedDesigner=void 0;const o=r(n(569));t.assertEmbeddedDesigner=e=>{const{embeddedDesignerEnabled:t}=o.default.getStateCopy();if(!t)throw new Error(`Embedded designer must be enabled for this customer in order to call ${e}`)}},580:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.assertInit=void 0;const o=r(n(569));t.assertInit=e=>{if(!o.default.getStateCopy().initComplete)throw new Error(`Expected init to be called before calling ${e}`);if(!o.default.getStateCopy().jwt&&"authenticate"!==e)throw new Error(`Expected authenticate to be called before calling ${e}`)}},160:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.setIframe=t.isIframe=t.getIframeElement=t.getIframeContainerElement=t.EMBEDDED_POPOVER_CLOSE_CLASS=t.EMBEDDED_POPOVER_CLASS=t.EMBEDDED_OVERLAY_VISIBLE_CLASS=t.EMBEDDED_OVERLAY_SELECTOR=t.EMBEDDED_OVERLAY_CLASS=t.EMBEDDED_IFRAME_CONTAINER_SELECTOR=t.EMBEDDED_IFRAME_CONTAINER_CLASS=t.EMBEDDED_IFRAME_PRELOAD_ID=t.EMBEDDED_IFRAME_ID=t.EMBEDDED_ID=void 0;const s=a(n(182)),c=n(379),u=n(280),l=n(147),f=n(999),d=i(n(569)),E=a(n(406));t.EMBEDDED_ID="pio__embedded",t.EMBEDDED_IFRAME_ID="pio__iframe",t.EMBEDDED_IFRAME_PRELOAD_ID="pio__iframe-preload",t.EMBEDDED_IFRAME_CONTAINER_CLASS="pio__iframeContainer",t.EMBEDDED_IFRAME_CONTAINER_SELECTOR=`#${t.EMBEDDED_ID} .${t.EMBEDDED_IFRAME_CONTAINER_CLASS}`,t.EMBEDDED_OVERLAY_CLASS="pio__overlay",t.EMBEDDED_OVERLAY_SELECTOR=`#${t.EMBEDDED_ID} > .${t.EMBEDDED_OVERLAY_CLASS}`,t.EMBEDDED_OVERLAY_VISIBLE_CLASS=`${t.EMBEDDED_OVERLAY_CLASS}--is_visible`,t.EMBEDDED_POPOVER_CLASS="pio__popover",t.EMBEDDED_POPOVER_CLOSE_CLASS="pio__closeBtn",t.getIframeContainerElement=e=>document.querySelector(e),t.getIframeElement=e=>document.querySelector(`${e||t.EMBEDDED_IFRAME_CONTAINER_SELECTOR} > iframe`),t.isIframe=e=>Boolean(e&&"IFRAME"===e.tagName),t.setIframe=(e,n,r)=>{var o;(0,u.isPopover)(n)||n.selector||console.error("Could not find display selector.");const i=(0,t.getIframeContainerElement)((0,u.isPopover)(n)?t.EMBEDDED_IFRAME_CONTAINER_SELECTOR:n.selector);if(!i)return;const a=d.default.getStateCopy();n&&Object.entries(n).forEach((([e,t])=>{d.ValidKeys.has(e)&&(a[e]instanceof Object?a[e]=(0,s.default)(a[e],t):a[e]=t)}));const _=new URLSearchParams(Object.assign(Object.assign({},r),{embed:"true",jwt:a.jwt}));a.theme&&_.set("theme",a.theme),(null===(o=a.screenConfiguration)||void 0===o?void 0:o.initializing)&&_.set("initializing",JSON.stringify(a.screenConfiguration.initializing)),a.fontConfiguration&&_.set("fontConfiguration",JSON.stringify(a.fontConfiguration));const p=`${(0,E.default)(a.prismaticUrl,e)}?${_}`;i.innerHTML=`\n <iframe\n id="${t.EMBEDDED_IFRAME_ID}"\n src="${p}"\n height="100%"\n width="100%"\n frameBorder="0"\n allow="clipboard-read; clipboard-write"\n ></iframe>\n `;const v=i.querySelector("iframe");v&&window.addEventListener("message",(e=>{var t,r,o;if("PRISMATIC_INITIALIZED"===(null===(t=e.data)||void 0===t?void 0:t.event)){(0,f.postMessage)({iframe:v,event:{event:c.PrismaticMessageEvent.SET_TOKEN,data:a.jwt}}),(0,f.postMessage)({iframe:v,event:{event:c.PrismaticMessageEvent.SET_VERSION,data:"2.12.0-alpha"}}),(0,f.postMessage)({iframe:v,event:{event:c.PrismaticMessageEvent.SET_TRANSLATION,data:a.translation}});const e=(0,u.isPopover)(n)?Object.assign(Object.assign({},null!==(r=a.screenConfiguration)&&void 0!==r?r:{}),{isInPopover:!0}):a.screenConfiguration;(0,f.postMessage)({iframe:v,event:{event:c.PrismaticMessageEvent.SET_SCREEN_CONFIGURATION,data:e}}),(0,f.postMessage)({iframe:v,event:{event:c.PrismaticMessageEvent.SET_FILTERS,data:a.filters}})}else(null===(o=e.data)||void 0===o?void 0:o.event)===c.PrismaticMessageEvent.POPOVER_CLOSE_REQUESTED&&(0,l.closePopover)()})),v&&!1!==(null==n?void 0:n.autoFocusIframe)&&v.addEventListener("mouseenter",(()=>{v.focus()})),(0,u.isPopover)(n)&&(0,l.openPopover)()}},147:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closePopover=t.openPopover=t.getPopover=void 0;const r=n(160),o=n(379);t.getPopover=()=>document.querySelector(r.EMBEDDED_OVERLAY_SELECTOR),t.openPopover=()=>{var e;return null===(e=(0,t.getPopover)())||void 0===e?void 0:e.classList.add(r.EMBEDDED_OVERLAY_VISIBLE_CLASS)},t.closePopover=()=>{var e,n;const i=(0,r.getIframeContainerElement)(`${r.EMBEDDED_IFRAME_CONTAINER_SELECTOR} > iframe`);(0,r.isIframe)(i)&&(null===(e=i.contentWindow)||void 0===e||e.postMessage({event:o.PrismaticMessageEvent.MARKETPLACE_CLOSED},"*"),null===(n=(0,t.getPopover)())||void 0===n||n.classList.remove(r.EMBEDDED_OVERLAY_VISIBLE_CLASS))}},999:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.postMessage=t.getMessageIframe=void 0;const r=n(160);t.getMessageIframe=e=>Array.from(document.getElementsByTagName("iframe")).find((t=>t.contentWindow===e.source)),t.postMessage=e=>{var t;const n=(e=>"iframe"in e)(e)?e.iframe:(0,r.getIframeElement)(e.selector);(0,r.isIframe)(n)&&(null===(t=n.contentWindow)||void 0===t||t.postMessage(e.event,"*"))}},406:(e,t,n)=>{"use strict";function r(){return function(e){var t=[];if(0===e.length)return"";if("string"!=typeof e[0])throw new TypeError("Url must be a string. Received "+e[0]);if(e[0].match(/^[^/:]+:\/*$/)&&e.length>1){var n=e.shift();e[0]=n+e[0]}e[0].match(/^file:\/\/\//)?e[0]=e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0]=e[0].replace(/^([^/:]+):\/*/,"$1://");for(var r=0;r<e.length;r++){var o=e[r];if("string"!=typeof o)throw new TypeError("Url must be a string. Received "+o);""!==o&&(r>0&&(o=o.replace(/^[\/]+/,"")),o=r<e.length-1?o.replace(/[\/]+$/,""):o.replace(/[\/]+$/,"/"),t.push(o))}var i=t.join("/"),a=(i=i.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return a.shift()+(a.length>0?"?":"")+a.join("&")}("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}n.r(t),n.d(t,{default:()=>r})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n(156)})()));
|
|
@@ -25,6 +25,7 @@ export interface InitializingConfiguration {
|
|
|
25
25
|
color: string;
|
|
26
26
|
}
|
|
27
27
|
export interface ConfigurationWizardConfiguration {
|
|
28
|
+
mode?: "streamlined" | "traditional";
|
|
28
29
|
hideSidebar?: boolean;
|
|
29
30
|
isInModal?: boolean;
|
|
30
31
|
triggerDetailsConfiguration?: TriggerDetails;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prismatic-io/embedded",
|
|
3
|
-
"description": "Embed
|
|
3
|
+
"description": "Embed Prismatic's integration marketplace and workflow designer within your existing application.",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"prismatic",
|
|
6
6
|
"marketplace",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"url": "https://github.com/prismatic-io/embedded.git"
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
|
-
"version": "2.
|
|
21
|
+
"version": "2.12.0-alpha",
|
|
22
22
|
"main": "dist/index.js",
|
|
23
23
|
"types": "dist/index.d.ts",
|
|
24
24
|
"files": [
|