@genesislcap/design-system-configurator 14.180.5 → 14.180.7
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.67c88471d4dc38c89f79.js → 279.279.590da95620c96932421e.js} +1 -1
- package/dist/{325.325.a895a1c734293009661e.js → 325.325.7a4d6b48bc4f1890bb20.js} +5 -4
- package/dist/325.f06573f4df543c1f620004730927e9e0.js.map +1 -0
- package/dist/{531.531.483874829c4f7f3d2645.js → 531.531.4b908ff05468bf1d3c7a.js} +11 -7
- package/dist/531.a3f84d8b369476aa41a6cf117214292e.js.map +1 -0
- package/dist/{548.f73b634750ba3d4f19e6b4390e03f3b3.js.map → 548.1302eba0ac52ed9874e55977e489e1e8.js.map} +1 -1
- package/dist/548.548.258c15e0500d38898135.js +13 -0
- package/dist/{653.653.0f3741b8c543ada1e999.js → 653.653.4a492278ff2e3746192f.js} +1 -1
- package/dist/{842.842.506537701c51b9e87d40.js → 842.842.f72730747baf03a7a6e2.js} +1 -1
- package/dist/{designSystemConfigurator.67706a169c9e59f6e34c79e9ea0b0625.js.map → designSystemConfigurator.63da891110f82213815d36eb57f8935e.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/main.190d8de974c6ef4d8117.js +2 -0
- package/dist/{main.adafe960f74514d6741a30d35add87b1.js.map → main.f8838304334d83aa9e305e399fea0a75.js.map} +1 -1
- package/dist/remoteEntry.js +2 -2
- package/package.json +12 -12
- package/dist/325.a137ae51dfd78bf4f32eb3496ed94430.js.map +0 -1
- package/dist/531.cf29933b06d372e33d897c821f9eeec6.js.map +0 -1
- package/dist/548.548.27c7d84ef2d36fa5fd04.js +0 -13
- package/dist/main.e300895e42228b2ce704.js +0 -2
|
@@ -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(24258);const ae=(0,ie.createLogger)("foundation-ui"),ne=r.css`
|
|
176
176
|
@keyframes delete-animate {
|
|
177
177
|
from {
|
|
178
178
|
height: 100px;
|
|
@@ -3122,6 +3122,7 @@
|
|
|
3122
3122
|
animation: var(--snackbar-animation-name) 0.3s linear;
|
|
3123
3123
|
max-width: var(--snackbar-max-width);
|
|
3124
3124
|
min-width: var(--snackbar-min-width);
|
|
3125
|
+
min-height: var(--snackbar-min-height);
|
|
3125
3126
|
max-height: var(--snackbar-max-height);
|
|
3126
3127
|
background-color: var(--fill-color);
|
|
3127
3128
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
@@ -3158,6 +3159,7 @@
|
|
|
3158
3159
|
flex: 2;
|
|
3159
3160
|
font-size: 12px;
|
|
3160
3161
|
overflow: hidden;
|
|
3162
|
+
overflow-wrap: anywhere;
|
|
3161
3163
|
}
|
|
3162
3164
|
|
|
3163
3165
|
.action {
|
|
@@ -3175,9 +3177,10 @@
|
|
|
3175
3177
|
${e=>{var t,o;return(null===(t=e.error)||void 0===t?void 0:t.errorDetails)||(null===(o=e.notification)||void 0===o?void 0:o.body)||"Place holder for error message"}}
|
|
3176
3178
|
</slot>
|
|
3177
3179
|
</div>
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3180
|
+
${(0,r.when)((e=>{var t,o,i,a,n,s;return(null===(i=null===(o=null===(t=e.error)||void 0===t?void 0:t.config)||void 0===o?void 0:o.snackbar)||void 0===i?void 0:i.confirmingActions.length)||(null===(s=null===(n=null===(a=e.notification)||void 0===a?void 0:a.config)||void 0===n?void 0:n.snackbar)||void 0===s?void 0:s.confirmingActions.length)}),r.html`
|
|
3181
|
+
<div part="action" class="action">
|
|
3182
|
+
<slot name="action">
|
|
3183
|
+
${(0,r.repeat)((e=>{var t,o,i,a,n,s;return(null===(i=null===(o=null===(t=e.error)||void 0===t?void 0:t.config)||void 0===o?void 0:o.snackbar)||void 0===i?void 0:i.confirmingActions)||(null===(s=null===(n=null===(a=e.notification)||void 0===a?void 0:a.config)||void 0===n?void 0:n.snackbar)||void 0===s?void 0:s.confirmingActions)}),r.html`
|
|
3181
3184
|
<${e}-button
|
|
3182
3185
|
slot="action"
|
|
3183
3186
|
appearance="lightweight"
|
|
@@ -3186,8 +3189,9 @@
|
|
|
3186
3189
|
${e=>e.label}
|
|
3187
3190
|
</${e}-button>
|
|
3188
3191
|
`)}
|
|
3189
|
-
|
|
3190
|
-
|
|
3192
|
+
</slot>
|
|
3193
|
+
</div>
|
|
3194
|
+
`)}
|
|
3191
3195
|
</div>
|
|
3192
3196
|
`,hd=r.html`
|
|
3193
3197
|
${e=>pd(F(e))}
|
|
@@ -3744,4 +3748,4 @@
|
|
|
3744
3748
|
<slot></slot>
|
|
3745
3749
|
</template>
|
|
3746
3750
|
`;var pu;!function(e){e.NOTIFICATION_EVENT="notification-event"}(pu||(pu={}));const hu={mode:"open",delegatesFocus:!0};class mu 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(pu.NOTIFICATION_EVENT,(e=>{e.stopImmediatePropagation(),ka(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,lt.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)),Sa(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],mu.prototype,"notificationListener",void 0),(0,x.__decorate)([(0,r.attr)({attribute:"resource-name"})],mu.prototype,"resourceName",void 0),(0,x.__decorate)([(0,r.attr)({attribute:"close-timeout",converter:r.nullableNumberConverter})],mu.prototype,"closeTimeout",void 0),(0,x.__decorate)([r.observable],mu.prototype,"toastButtons",void 0),(0,x.__decorate)([ct.yW],mu.prototype,"datasource",void 0);const vu=mu.compose({baseName:"notification-listener",template:uu,shadowOptions:hu}),gu=(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 fu(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 bu=e=>!e.navId||"header"===e.navId,yu=10;function xu(e,t=bu,o=yu){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 wu,$u=o(63734);!function(e){e.controlClicked="controlClicked",e.routeChanged="routeChanged"}(wu||(wu={}));class Su{constructor(e){this.analytics=(0,$u.Ay)(e)}trackEvent(e,t){pa.v.debug(`FoundationAnalytics.trackEvent ${e} : ${JSON.stringify(t)}`),this.analytics.track(e,t)}}const Cu=n.DI.createInterface((e=>e.singleton(Su)));var ku=o(3479),Fu=o(80751),_u=o(98647);let Ou=class extends(ku.Ix.from(r.FASTElement)){connectedCallback(){super.connectedCallback(),r.DOM.queueUpdate((()=>(0,x.__awaiter)(this,void 0,void 0,(function*(){this.$router.config=this.config}))))}};Ou=(0,x.__decorate)([(0,r.customElement)({name:"foundation-router"})],Ou);class Du extends Fu.s{constructor(){super(...arguments),this.definitions=[]}map(...e){this.definitions=[...e,...this.definitions],super.map(...e)}}(0,x.__decorate)([r.observable],Du.prototype,"definitions",void 0);class Tu extends _u.Y{constructor(){super(...arguments),this.routes=new Du(this)}getNavItems(e=bu){return xu(this.routes.definitions,e)}configureAnalytics(){this.contributors.push({navigate:e=>(0,x.__awaiter)(this,void 0,void 0,(function*(){this.analytics.trackEvent(wu.routeChanged,{path:e.route.endpoint.path})}))})}construct(e){return this.container.get(e)}}(0,x.__decorate)([n.Container],Tu.prototype,"container",void 0),(0,x.__decorate)([Cu],Tu.prototype,"analytics",void 0),(0,x.__decorate)([Qs.KJ],Tu.prototype,"user",void 0);const Lu=()=>kr().register(lu)}}]);
|
|
3747
|
-
//# sourceMappingURL=531.
|
|
3751
|
+
//# sourceMappingURL=531.a3f84d8b369476aa41a6cf117214292e.js.map
|