@genesislcap/design-system-configurator 14.162.3 → 14.162.4
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/{200.200.a4b10fa0e18b2664d65d.js → 200.200.2726854e450fbc4eddbe.js} +2 -2
- package/dist/{200.1474d0887909faba43067e5c4879aae2.js.map → 200.b42f9a77ece5ed561839e65551498714.js.map} +1 -1
- package/dist/{300.300.2ce137cea9ff24450bda.js → 300.300.6f2c40abc9d0de2b93ed.js} +2 -2
- package/dist/300.acc602c23ca9444fdd51e5983259ae31.js.map +1 -0
- package/dist/{577.d47865b94b574dc5cf3982240a6128fa.js.map → 577.542268f6ddd0b6bb767164a4a3e85d98.js.map} +1 -1
- package/dist/{577.577.e1d33a566d6a83945416.js → 577.577.ebb5a1ace6f1fb2c5310.js} +4 -4
- package/dist/{746.746.86b32413db9e7b3a0da9.js → 746.746.0b7c1189f177dc8dcefc.js} +1 -1
- package/dist/755.755.ed12927e98972b21625a.js +2 -0
- package/dist/{755.a3cac47cc4cd6e213d2b372c956c558b.js.map → 755.9a7aecd6f809d3501c72cb59e24e35af.js.map} +1 -1
- package/dist/{8.aab7d3cc543301610182da8470a00c42.js.map → 8.17fb5c725550f75ede773e6c9c1c4e98.js.map} +1 -1
- package/dist/{8.8.882d123aca4a354886ca.js → 8.8.62249fa50e0d01935336.js} +2 -2
- package/dist/{designSystemConfigurator.4543265eb4446f040393fb1f16934ccb.js.map → designSystemConfigurator.db1c5ecf81da5c062f852acd6b897511.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/main.0eea2a5eb6f356cf79fa.js +2 -0
- package/dist/{main.cdef725d8674eb9fa772cc45e00b0e45.js.map → main.4600c8e5d6bd72744b6e832b0fc1e5bc.js.map} +1 -1
- package/dist/remoteEntry.js +2 -2
- package/package.json +12 -12
- package/dist/300.1d8648fb4182c2eb09f11e1a561cdb5e.js.map +0 -1
- package/dist/755.755.fcae69372a9e45537c94.js +0 -2
- package/dist/main.bcd3eaa4a899df4fc9e4.js +0 -2
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
`)}
|
|
173
173
|
`;class W extends s.Avatar{}const q={delegatesFocus:!0,mode:"open"},Z={media:U},X=W.compose(Object.assign({baseName:"avatar",template:Y,styles:G,shadowOptions:q},Z)),K=(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:K,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:K,shadowOptions:ee},te));var ie=o(11928);const ae=(0,ie.createLogger)("foundation-ui"),ne=r.css`
|
|
176
176
|
@keyframes delete-animate {
|
|
177
177
|
from {
|
|
178
178
|
height: 100px;
|
|
@@ -3212,4 +3212,4 @@
|
|
|
3212
3212
|
<slot></slot>
|
|
3213
3213
|
</template>
|
|
3214
3214
|
`;var Tc;!function(e){e.NOTIFICATION_EVENT="notification-event"}(Tc||(Tc={}));const Lc={mode:"open",delegatesFocus:!0};class Ec 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*(){e.connectedCallback.call(this),this.addEventListener(Tc.NOTIFICATION_EVENT,(e=>{e.stopImmediatePropagation(),$a(e.detail,this.tagName,this.notificationListener)})),this.resourceName&&(yield this.datasource.init({resourceName:this.resourceName},!0),null===(t=this.datasource.stream)||void 0===t||t.subscribe((e=>{e.ROW&&e.SEQUENCE_ID>1&&this.handleStreamUpdate((0,lt.$)(e))})))}))}handleStreamUpdate(e){const t=e.inserts;t.length>0&&t.forEach((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)),xa(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],Ec.prototype,"notificationListener",void 0),(0,x.__decorate)([(0,r.attr)({attribute:"resource-name"})],Ec.prototype,"resourceName",void 0),(0,x.__decorate)([(0,r.attr)({attribute:"close-timeout",converter:r.nullableNumberConverter})],Ec.prototype,"closeTimeout",void 0),(0,x.__decorate)([r.observable],Ec.prototype,"toastButtons",void 0),(0,x.__decorate)([ct.Yh],Ec.prototype,"datasource",void 0);const Ac=Ec.compose({baseName:"notification-listener",template:Dc,shadowOptions:Lc}),Ic=(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 Rc(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 Mc=e=>!e.navId||"header"===e.navId,Nc=10;function Pc(e,t=Mc,o=Nc){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 Hc,Bc=o(50961);!function(e){e.controlClicked="controlClicked",e.routeChanged="routeChanged"}(Hc||(Hc={}));class zc{constructor(e){this.analytics=(0,Bc.ZP)(e)}trackEvent(e,t){ca.k.debug(`FoundationAnalytics.trackEvent ${e} : ${JSON.stringify(t)}`),this.analytics.track(e,t)}}const jc=n.DI.createInterface((e=>e.singleton(zc)));var Vc=o(37002),Gc=o(68228),Yc=o(15878);let Uc=class extends(Vc.F0.from(r.FASTElement)){connectedCallback(){super.connectedCallback(),r.DOM.queueUpdate((()=>(0,x.__awaiter)(this,void 0,void 0,(function*(){this.$router.config=this.config}))))}};Uc=(0,x.__decorate)([(0,r.customElement)({name:"foundation-router"})],Uc);class Wc extends Gc.R{constructor(){super(...arguments),this.definitions=[]}map(...e){this.definitions=[...this.definitions,...e],super.map(...e)}}(0,x.__decorate)([r.observable],Wc.prototype,"definitions",void 0);class qc extends Yc.A{constructor(){super(...arguments),this.routes=new Wc(this)}getNavItems(e=Mc){return Pc(this.routes.definitions,e)}configureAnalytics(){this.contributors.push({navigate:e=>(0,x.__awaiter)(this,void 0,void 0,(function*(){this.analytics.trackEvent(Hc.routeChanged,{path:e.route.endpoint.path})}))})}construct(e){return this.container.get(e)}}(0,x.__decorate)([n.Container],qc.prototype,"container",void 0),(0,x.__decorate)([jc],qc.prototype,"analytics",void 0);const Zc=()=>Cc().register(Fc)}}]);
|
|
3215
|
-
//# sourceMappingURL=300.
|
|
3215
|
+
//# sourceMappingURL=300.acc602c23ca9444fdd51e5983259ae31.js.map
|