@genesislcap/design-system-configurator 14.213.0 → 14.213.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{279.279.3ba862ac94d248723478.js → 279.279.b1e623c6e08d366d1c04.js} +1 -1
- package/dist/{588.588.5d8c88e86d8620cd868f.js → 445.445.2ba7d4f10beca887a425.js} +3 -3
- package/dist/{588.1dda26db99a44ea03ec06602879996d7.js.map → 445.c50ffd4726ee25b236e7bf65a987fa89.js.map} +1 -1
- package/dist/{531.624098a26398f99e06cc2e2faff63e45.js.map → 531.33b4d88f04fadd29f5b7bb4f32051077.js.map} +1 -1
- package/dist/{531.531.9cc2fefd01aa552435d6.js → 531.531.e0df7aa7048ba61e433c.js} +3 -3
- package/dist/{548.548.dc99c93ae554092a506e.js → 548.548.a92e44448c2823db063f.js} +1 -1
- package/dist/{653.653.85b90154ed2bb2966df3.js → 653.653.8def7c1b6029673fda79.js} +1 -1
- package/dist/674.2305ce25c6778fbbfa17c089d3fd79ac.js.map +1 -0
- package/dist/{445.445.0bebc288ae076142a280.js → 674.674.7567db17e1663eda697b.js} +61 -67
- package/dist/{698.698.e0bdeeaf3f4b3a83e05b.js → 698.698.8c043b35cc382c8f72a2.js} +1 -1
- package/dist/{826.826.bdc41e92b3ea86ed6515.js → 826.826.1e632865488cd8a9db67.js} +2 -2
- package/dist/{designSystemConfigurator.ae65cad163b4daff1b56db6c62d93393.js.map → designSystemConfigurator.92994e17d4a3752972a93ab27306487f.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/main.56217fb6b9342bb53326.js +2 -0
- package/dist/{main.ce9309ad4ca30be26830172fafc25216.js.map → main.b36b9b38501c99e77aa1db3e437bef32.js.map} +1 -1
- package/dist/remoteEntry.js +2 -2
- package/package.json +12 -12
- package/dist/445.2b7320523c263d179d0669f91b12aea2.js.map +0 -1
- package/dist/main.4346cd1cc9b5fc7f5609.js +0 -2
- /package/dist/{588.588.5d8c88e86d8620cd868f.js.LICENSE.txt → 445.445.2ba7d4f10beca887a425.js.LICENSE.txt} +0 -0
- /package/dist/{826.826.bdc41e92b3ea86ed6515.js.LICENSE.txt → 826.826.1e632865488cd8a9db67.js.LICENSE.txt} +0 -0
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
`)}
|
|
173
173
|
`;class W extends s.Avatar{}const q={delegatesFocus:!0,mode:"open"},K={media:Y},X=W.compose(Object.assign({baseName:"avatar",template:U,styles:G,shadowOptions:q},K)),Z=(e,t)=>r.css`
|
|
174
174
|
${(0,s.badgeStyles)(e,t)}
|
|
175
|
-
`,Q=(e,t)=>(0,n.badgeTemplate)(e,t);class J extends s.Badge{}const ee=void 0,te={},oe=J.compose(Object.assign({baseName:"badge",template:Q,styles:Z,shadowOptions:ee},te));var ie=o(
|
|
175
|
+
`,Q=(e,t)=>(0,n.badgeTemplate)(e,t);class J extends s.Badge{}const ee=void 0,te={},oe=J.compose(Object.assign({baseName:"badge",template:Q,styles:Z,shadowOptions:ee},te));var ie=o(50747);const ae=(0,ie.createLogger)("foundation-ui"),ne=r.css`
|
|
176
176
|
@keyframes delete-animate {
|
|
177
177
|
from {
|
|
178
178
|
height: 100px;
|
|
@@ -868,7 +868,7 @@
|
|
|
868
868
|
}
|
|
869
869
|
|
|
870
870
|
dialog[type='success']::before {
|
|
871
|
-
background-color: var(--color
|
|
871
|
+
background-color: var(--success-color);
|
|
872
872
|
}
|
|
873
873
|
|
|
874
874
|
.close-icon {
|
|
@@ -3865,4 +3865,4 @@
|
|
|
3865
3865
|
<slot></slot>
|
|
3866
3866
|
</template>
|
|
3867
3867
|
`;var gu;!function(e){e.NOTIFICATION_EVENT="notification-event"}(gu||(gu={}));const fu={mode:"open",delegatesFocus:!0};class bu extends n.FoundationElement{constructor(){super(...arguments),this.closeTimeout=0,this.toastButtons=[]}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});var t;return(0,x.__awaiter)(this,void 0,void 0,(function*(){if(e.connectedCallback.call(this),this.addEventListener(gu.NOTIFICATION_EVENT,(e=>{e.stopImmediatePropagation(),Fa(e.detail,this.tagName,this.notificationListener)})),this.resourceName){if(!(yield this.datasource.init({resourceName:this.resourceName},!0)))return void ae.debug(`Genesis Datasource init failed for ${this.resourceName}`);this.dataSub=null===(t=this.datasource.stream)||void 0===t?void 0:t.subscribe((e=>{e.ROW&&e.SEQUENCE_ID>1&&this.handleStreamUpdate((0,ct.d)(e))}))}}))}disconnectedCallback(){var e,t;super.disconnectedCallback(),null===(e=this.dataSub)||void 0===e||e.unsubscribe(),delete this.dataSub,null===(t=this.datasource)||void 0===t||t.destroy(),delete this.datasource}handleStreamUpdate(e){const t=e.inserts;t.length>0&&t.forEach((e=>{this.showNotificationToast(e)}))}showNotificationToast(e){const{HEADER:t,MESSAGE:o,NOTIFY_SEVERITY:i}=e,a=e.CREATED_AT?new Date(e.CREATED_AT):void 0,n=e.EXPIRY?e.EXPIRY-e.CREATED_AT:void 0;let s=[];this.toastButtons&&this.toastButtons.length>0&&(s=this.toastButtons.filter((({condition:t})=>!t||t({details:e}))));((e,t,o)=>{if(!e.title)throw new Error("Title is required");if(!e.body)throw new Error("Missing required param 'body'");let i={title:e.title,body:e.body},a={};e.createdAt&&(i=Object.assign({createdAt:e.createdAt},i)),e.logLevel in ie.LogLevel&&(i=Object.assign({logLevel:e.logLevel},i)),e.toast&&(a=Object.assign({toast:e.toast},a),i=Object.assign({config:a},i)),Ca(i,t,o)})({title:t,body:o,createdAt:a,toast:{details:e,type:null==i?void 0:i.toLowerCase(),buttons:s,autoClose:void 0!==n?!!n:!!this.closeTimeout,closeTimeout:null!=n?n:this.closeTimeout}},this.tagName)}}(0,x.__decorate)([r.observable],bu.prototype,"notificationListener",void 0),(0,x.__decorate)([(0,r.attr)({attribute:"resource-name"})],bu.prototype,"resourceName",void 0),(0,x.__decorate)([(0,r.attr)({attribute:"close-timeout",converter:r.nullableNumberConverter})],bu.prototype,"closeTimeout",void 0),(0,x.__decorate)([r.observable],bu.prototype,"toastButtons",void 0),(0,x.__decorate)([pt.yW],bu.prototype,"datasource",void 0);const yu=bu.compose({baseName:"notification-listener",template:vu,shadowOptions:fu}),xu=(e,t)=>o=>{const i="function"==typeof t?t:(a=t,e=>Object.assign(Object.assign({},a),e));var a;return r.FASTElement.define(class extends e{},i(o))};function wu(e){if("string"==typeof e)return e;if("function"==typeof e&&!(e=r.FASTElementDefinition.forType(e)))throw new Error("Missing FASTElement definition.");return e.name}const $u=e=>!e.navId||"header"===e.navId||"side-nav"===e.navId,Su=10;function Cu(e,t=$u,o=Su){const i=[];return e.filter((e=>e.navItems&&e.navItems.some(t))).forEach(((e,a)=>{e.navItems.filter(t).map(((t,i)=>{var n,s,r,l;const d=null!==(n=t.placementIndex)&&void 0!==n?n:a*o+i;return Object.assign(Object.assign({},t),{navId:null!==(s=t.navId)&&void 0!==s?s:"header",placementIndex:d,routePath:null!==(r=t.routePath)&&void 0!==r?r:e.path,routeName:null!==(l=t.routeName)&&void 0!==l?l:e.name})})).forEach((e=>i.push(e)))})),i.sort(((e,t)=>e.placementIndex-t.placementIndex))}var ku,Fu=o(63734);!function(e){e.controlClicked="controlClicked",e.routeChanged="routeChanged"}(ku||(ku={}));class _u{constructor(e){this.analytics=(0,Fu.Ay)(e)}trackEvent(e,t){ha.v.debug(`FoundationAnalytics.trackEvent ${e} : ${JSON.stringify(t)}`),this.analytics.track(e,t)}}const Ou=n.DI.createInterface((e=>e.singleton(_u)));var Du=o(3479),Tu=o(80751),Lu=o(98647);let Eu=class extends(Du.Ix.from(r.FASTElement)){connectedCallback(){super.connectedCallback(),r.DOM.queueUpdate((()=>(0,x.__awaiter)(this,void 0,void 0,(function*(){this.$router.config=this.config}))))}};Eu=(0,x.__decorate)([(0,r.customElement)({name:"foundation-router"})],Eu);class Au extends Tu.s{constructor(){super(...arguments),this.definitions=[]}map(...e){this.definitions=[...e,...this.definitions],super.map(...e)}}(0,x.__decorate)([r.observable],Au.prototype,"definitions",void 0);class Nu extends Lu.Y{constructor(){super(...arguments),this.routes=new Au(this)}getNavItems(e=$u){return Cu(this.routes.definitions,e)}configureAnalytics(){this.contributors.push({navigate:e=>(0,x.__awaiter)(this,void 0,void 0,(function*(){this.analytics.trackEvent(ku.routeChanged,{path:e.route.endpoint.path})}))})}construct(e){return this.container.get(e)}}(0,x.__decorate)([n.Container],Nu.prototype,"container",void 0),(0,x.__decorate)([Ou],Nu.prototype,"analytics",void 0),(0,x.__decorate)([or.KJ],Nu.prototype,"user",void 0);const Ru=()=>Dr().register(pu)}}]);
|
|
3868
|
-
//# sourceMappingURL=531.
|
|
3868
|
+
//# sourceMappingURL=531.33b4d88f04fadd29f5b7bb4f32051077.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<design-system-preview></design-system-preview>
|
|
4
4
|
<design-system-export slot="export" tokensPath="${e=>e.tokensPath}"></design-system-export>
|
|
5
5
|
</design-system-editor>
|
|
6
|
-
`;var s=n(68871),a=n(
|
|
6
|
+
`;var s=n(68871),a=n(64885),i=n(42509),c=n(44405);a.DesignSystemPreview,a.DesignSystemEditor,a.DesignSystemExport;const d=(0,n(50747).createLogger)("design-system-configurator");var u=n(97478),p=n.n(u),l=n(27135),f=n.n(l),m=n(61301),h=n.n(m),v=n(49222),g=n.n(v),y=n(6626),A=n.n(y),b=n(88279),C=n.n(b),_=n(62860),E={};E.styleTagTransform=C(),E.setAttributes=g(),E.insert=h().bind(null,"head"),E.domAPI=f(),E.insertStyleElement=A();p()(_.A,E);_.A&&_.A.locals&&_.A.locals;const S=o.css`
|
|
7
7
|
:host {
|
|
8
8
|
display: flex;
|
|
9
9
|
height: 100%;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[653,792],{653:(e,s,n)=>{Promise.all([n.e(418),n.e(405),n.e(
|
|
1
|
+
(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[653,792],{653:(e,s,n)=>{Promise.all([n.e(418),n.e(405),n.e(747),n.e(509),n.e(548)]).then(n.bind(n,96548))}}]);
|
|
2
2
|
//# sourceMappingURL=653.cd79d6d50e9f0dfe8ed96f08357afbae.js.map
|