@genesislcap/design-system-configurator 14.92.2 → 14.92.3

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.
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[721],{41721:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>kl,ColorToken:()=>Al,ColorTokens:()=>Ll,DesignSystemEditor:()=>cl,DesignSystemExport:()=>yl,DesignSystemPreview:()=>Il,EventName:()=>el,PreviewComponents:()=>bl,PreviewForm:()=>Hl,PreviewGrid:()=>Ql,TypographyTokens:()=>$l,defaultBodyFont:()=>tl,fontFamilies:()=>rl});var t={};r.r(t),r.d(t,{accentFillActive:()=>p.accentFillActive,accentFillActiveDelta:()=>p.accentFillActiveDelta,accentFillFocus:()=>p.accentFillFocus,accentFillFocusDelta:()=>p.accentFillFocusDelta,accentFillHover:()=>p.accentFillHover,accentFillHoverDelta:()=>p.accentFillHoverDelta,accentFillRest:()=>p.accentFillRest,accentFillRestDelta:()=>p.accentFillRestDelta,accentForegroundActive:()=>p.accentForegroundActive,accentForegroundActiveDelta:()=>p.accentForegroundActiveDelta,accentForegroundFocus:()=>p.accentForegroundFocus,accentForegroundFocusDelta:()=>p.accentForegroundFocusDelta,accentForegroundHover:()=>p.accentForegroundHover,accentForegroundHoverDelta:()=>p.accentForegroundHoverDelta,accentForegroundRest:()=>p.accentForegroundRest,accentForegroundRestDelta:()=>p.accentForegroundRestDelta,accentPalette:()=>p.accentPalette,baseHeightMultiplier:()=>p.baseHeightMultiplier,baseLayerLuminance:()=>p.baseLayerLuminance,bodyFont:()=>p.bodyFont,controlCornerRadius:()=>p.controlCornerRadius,density:()=>p.density,designUnit:()=>p.designUnit,direction:()=>p.direction,disabledOpacity:()=>p.disabledOpacity,fillColor:()=>p.fillColor,focusStrokeInner:()=>p.focusStrokeInner,focusStrokeOuter:()=>p.focusStrokeOuter,focusStrokeWidth:()=>p.focusStrokeWidth,foregroundOnAccentActive:()=>p.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>p.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>p.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>p.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>p.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>p.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>p.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>p.foregroundOnAccentRestLarge,neutralFillActive:()=>p.neutralFillActive,neutralFillActiveDelta:()=>p.neutralFillActiveDelta,neutralFillFocus:()=>p.neutralFillFocus,neutralFillFocusDelta:()=>p.neutralFillFocusDelta,neutralFillHover:()=>p.neutralFillHover,neutralFillHoverDelta:()=>p.neutralFillHoverDelta,neutralFillInputActive:()=>p.neutralFillInputActive,neutralFillInputActiveDelta:()=>p.neutralFillInputActiveDelta,neutralFillInputFocus:()=>p.neutralFillInputFocus,neutralFillInputFocusDelta:()=>p.neutralFillInputFocusDelta,neutralFillInputHover:()=>p.neutralFillInputHover,neutralFillInputHoverDelta:()=>p.neutralFillInputHoverDelta,neutralFillInputRest:()=>p.neutralFillInputRest,neutralFillInputRestDelta:()=>p.neutralFillInputRestDelta,neutralFillLayerRest:()=>p.neutralFillLayerRest,neutralFillLayerRestDelta:()=>p.neutralFillLayerRestDelta,neutralFillRest:()=>p.neutralFillRest,neutralFillRestDelta:()=>p.neutralFillRestDelta,neutralFillStealthActive:()=>p.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>p.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>p.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>p.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>p.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>p.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>p.neutralFillStealthRest,neutralFillStealthRestDelta:()=>p.neutralFillStealthRestDelta,neutralFillStrongActive:()=>p.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>p.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>p.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>p.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>p.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>p.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>p.neutralFillStrongRest,neutralFillStrongRestDelta:()=>p.neutralFillStrongRestDelta,neutralForegroundHint:()=>p.neutralForegroundHint,neutralForegroundRest:()=>p.neutralForegroundRest,neutralLayer1:()=>p.neutralLayer1,neutralLayer2:()=>p.neutralLayer2,neutralLayer3:()=>p.neutralLayer3,neutralLayer4:()=>p.neutralLayer4,neutralLayerCardContainer:()=>p.neutralLayerCardContainer,neutralLayerFloating:()=>p.neutralLayerFloating,neutralPalette:()=>p.neutralPalette,neutralStrokeActive:()=>p.neutralStrokeActive,neutralStrokeActiveDelta:()=>p.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>p.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>p.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>p.neutralStrokeFocus,neutralStrokeFocusDelta:()=>p.neutralStrokeFocusDelta,neutralStrokeHover:()=>p.neutralStrokeHover,neutralStrokeHoverDelta:()=>p.neutralStrokeHoverDelta,neutralStrokeRest:()=>p.neutralStrokeRest,neutralStrokeRestDelta:()=>p.neutralStrokeRestDelta,strokeWidth:()=>p.strokeWidth,typeRampBaseFontSize:()=>p.typeRampBaseFontSize,typeRampBaseLineHeight:()=>p.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>p.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>p.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>p.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>p.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>p.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>p.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>p.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>p.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>p.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>p.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>p.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>p.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>p.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>p.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>p.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>p.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>se,baseLayerLuminanceValue:()=>pe,bodyFontValue:()=>ze,controlCornerRadiusValue:()=>me,densityValue:()=>ve,designTokens:()=>Ce,designUnitValue:()=>be,directionValue:()=>ue,neutralPaletteValue:()=>ce,strokeWidthValue:()=>he,typeRampBaseFontSizeValue:()=>ke,typeRampBaseLineHeightValue:()=>Se});var i=r(42392),n=r(92592),l=r(89074),g=r(81372),d=r(60724),s=r(83147),c=r(75951),p=r(13896),u=r(67973);const h=s.css`
1
+ "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[721],{41721:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>kl,ColorToken:()=>Al,ColorTokens:()=>Ll,DesignSystemEditor:()=>cl,DesignSystemExport:()=>yl,DesignSystemPreview:()=>Il,EventName:()=>el,PreviewComponents:()=>bl,PreviewForm:()=>Hl,PreviewGrid:()=>Ql,TypographyTokens:()=>$l,defaultBodyFont:()=>tl,fontFamilies:()=>rl});var t={};r.r(t),r.d(t,{accentFillActive:()=>p.accentFillActive,accentFillActiveDelta:()=>p.accentFillActiveDelta,accentFillFocus:()=>p.accentFillFocus,accentFillFocusDelta:()=>p.accentFillFocusDelta,accentFillHover:()=>p.accentFillHover,accentFillHoverDelta:()=>p.accentFillHoverDelta,accentFillRest:()=>p.accentFillRest,accentFillRestDelta:()=>p.accentFillRestDelta,accentForegroundActive:()=>p.accentForegroundActive,accentForegroundActiveDelta:()=>p.accentForegroundActiveDelta,accentForegroundFocus:()=>p.accentForegroundFocus,accentForegroundFocusDelta:()=>p.accentForegroundFocusDelta,accentForegroundHover:()=>p.accentForegroundHover,accentForegroundHoverDelta:()=>p.accentForegroundHoverDelta,accentForegroundRest:()=>p.accentForegroundRest,accentForegroundRestDelta:()=>p.accentForegroundRestDelta,accentPalette:()=>p.accentPalette,baseHeightMultiplier:()=>p.baseHeightMultiplier,baseLayerLuminance:()=>p.baseLayerLuminance,bodyFont:()=>p.bodyFont,controlCornerRadius:()=>p.controlCornerRadius,density:()=>p.density,designUnit:()=>p.designUnit,direction:()=>p.direction,disabledOpacity:()=>p.disabledOpacity,fillColor:()=>p.fillColor,focusStrokeInner:()=>p.focusStrokeInner,focusStrokeOuter:()=>p.focusStrokeOuter,focusStrokeWidth:()=>p.focusStrokeWidth,foregroundOnAccentActive:()=>p.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>p.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>p.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>p.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>p.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>p.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>p.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>p.foregroundOnAccentRestLarge,neutralFillActive:()=>p.neutralFillActive,neutralFillActiveDelta:()=>p.neutralFillActiveDelta,neutralFillFocus:()=>p.neutralFillFocus,neutralFillFocusDelta:()=>p.neutralFillFocusDelta,neutralFillHover:()=>p.neutralFillHover,neutralFillHoverDelta:()=>p.neutralFillHoverDelta,neutralFillInputActive:()=>p.neutralFillInputActive,neutralFillInputActiveDelta:()=>p.neutralFillInputActiveDelta,neutralFillInputFocus:()=>p.neutralFillInputFocus,neutralFillInputFocusDelta:()=>p.neutralFillInputFocusDelta,neutralFillInputHover:()=>p.neutralFillInputHover,neutralFillInputHoverDelta:()=>p.neutralFillInputHoverDelta,neutralFillInputRest:()=>p.neutralFillInputRest,neutralFillInputRestDelta:()=>p.neutralFillInputRestDelta,neutralFillLayerRest:()=>p.neutralFillLayerRest,neutralFillLayerRestDelta:()=>p.neutralFillLayerRestDelta,neutralFillRest:()=>p.neutralFillRest,neutralFillRestDelta:()=>p.neutralFillRestDelta,neutralFillStealthActive:()=>p.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>p.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>p.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>p.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>p.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>p.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>p.neutralFillStealthRest,neutralFillStealthRestDelta:()=>p.neutralFillStealthRestDelta,neutralFillStrongActive:()=>p.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>p.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>p.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>p.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>p.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>p.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>p.neutralFillStrongRest,neutralFillStrongRestDelta:()=>p.neutralFillStrongRestDelta,neutralForegroundHint:()=>p.neutralForegroundHint,neutralForegroundRest:()=>p.neutralForegroundRest,neutralLayer1:()=>p.neutralLayer1,neutralLayer2:()=>p.neutralLayer2,neutralLayer3:()=>p.neutralLayer3,neutralLayer4:()=>p.neutralLayer4,neutralLayerCardContainer:()=>p.neutralLayerCardContainer,neutralLayerFloating:()=>p.neutralLayerFloating,neutralPalette:()=>p.neutralPalette,neutralStrokeActive:()=>p.neutralStrokeActive,neutralStrokeActiveDelta:()=>p.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>p.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>p.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>p.neutralStrokeFocus,neutralStrokeFocusDelta:()=>p.neutralStrokeFocusDelta,neutralStrokeHover:()=>p.neutralStrokeHover,neutralStrokeHoverDelta:()=>p.neutralStrokeHoverDelta,neutralStrokeRest:()=>p.neutralStrokeRest,neutralStrokeRestDelta:()=>p.neutralStrokeRestDelta,strokeWidth:()=>p.strokeWidth,typeRampBaseFontSize:()=>p.typeRampBaseFontSize,typeRampBaseLineHeight:()=>p.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>p.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>p.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>p.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>p.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>p.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>p.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>p.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>p.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>p.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>p.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>p.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>p.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>p.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>p.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>p.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>p.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>se,baseLayerLuminanceValue:()=>pe,bodyFontValue:()=>ze,controlCornerRadiusValue:()=>me,densityValue:()=>ve,designTokens:()=>Ce,designUnitValue:()=>be,directionValue:()=>ue,neutralPaletteValue:()=>ce,strokeWidthValue:()=>he,typeRampBaseFontSizeValue:()=>ke,typeRampBaseLineHeightValue:()=>Se});var i=r(59475),n=r(92592),l=r(89074),g=r(30299),d=r(60724),s=r(83147),c=r(75951),p=r(13896),u=r(67973);const h=s.css`
2
2
  :host {
3
3
  border: calc(${p.strokeWidth} * 1px) solid transparent;
4
4
  margin: 0;
@@ -186,7 +186,7 @@
186
186
  }
187
187
  `;let C=class extends s.FASTElement{get showDescription(){return!(0,d.tg6)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,d.lgi)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,n.__decorate)([s.observable],C.prototype,"control",void 0),(0,n.__decorate)([s.observable],C.prototype,"touched",void 0),(0,n.__decorate)([s.volatile],C.prototype,"showDescription",null),(0,n.__decorate)([s.volatile],C.prototype,"computedLabel",null),C=(0,n.__decorate)([(0,s.customElement)({name:"control-wrapper",styles:S,template:k})],C);var A=r(80340),T=r.n(A);const F=s.html`
188
188
  <template>${e=>e.determinedRenderer.renderer}</template>
189
- `,D=s.css``;let O=class extends s.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,d.Q8v)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,n.__rest)(e,["rootSchema"]);this.renderer=r,this.control=((e,a,r,t)=>{const o=Object.assign({},t({jsonforms:a},e)),i=null===d.AZl||void 0===d.AZl?void 0:(0,d.AZl)(r);return Object.assign(Object.assign({},o),i)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}onBlur(){this.touched=!0}get determinedRenderer(){const e=T()(this.renderer.renderers,(e=>e.tester(this.renderer.uischema,this.renderer.schema)));return this.prefix=this.jsonforms.core.uischema.dsPrefix,void 0===e||-1===e.tester(this.renderer.uischema,this.renderer.schema)?(console.error("UnknownRenderer this.renderer.uischema",this.renderer.uischema),{renderer:"UnknownRenderer"}):e}disconnectedCallback(){super.disconnectedCallback(),this.touched=!1,this.submitted=!1}};(0,n.__decorate)([s.observable],O.prototype,"jsonforms",void 0),(0,n.__decorate)([s.observable],O.prototype,"props",void 0),(0,n.__decorate)([s.observable],O.prototype,"touched",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],O.prototype,"submitted",void 0),(0,n.__decorate)([s.observable],O.prototype,"dispatch",void 0),(0,n.__decorate)([s.observable],O.prototype,"control",void 0),(0,n.__decorate)([s.observable],O.prototype,"renderer",void 0),(0,n.__decorate)([s.observable],O.prototype,"prefix",void 0),O=(0,n.__decorate)([(0,s.customElement)({name:"dispatch-renderer",template:F,styles:D})],O);const L=s.html`
189
+ `,O=s.css``;let D=class extends s.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,d.Q8v)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,n.__rest)(e,["rootSchema"]);this.renderer=r,this.control=((e,a,r,t)=>{const o=Object.assign({},t({jsonforms:a},e)),i=null===d.AZl||void 0===d.AZl?void 0:(0,d.AZl)(r);return Object.assign(Object.assign({},o),i)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}onBlur(){this.touched=!0}get determinedRenderer(){const e=T()(this.renderer.renderers,(e=>e.tester(this.renderer.uischema,this.renderer.schema)));return this.prefix=this.jsonforms.core.uischema.dsPrefix,void 0===e||-1===e.tester(this.renderer.uischema,this.renderer.schema)?(console.error("UnknownRenderer this.renderer.uischema",this.renderer.uischema),{renderer:"UnknownRenderer"}):e}disconnectedCallback(){super.disconnectedCallback(),this.touched=!1,this.submitted=!1}};(0,n.__decorate)([s.observable],D.prototype,"jsonforms",void 0),(0,n.__decorate)([s.observable],D.prototype,"props",void 0),(0,n.__decorate)([s.observable],D.prototype,"touched",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],D.prototype,"submitted",void 0),(0,n.__decorate)([s.observable],D.prototype,"dispatch",void 0),(0,n.__decorate)([s.observable],D.prototype,"control",void 0),(0,n.__decorate)([s.observable],D.prototype,"renderer",void 0),(0,n.__decorate)([s.observable],D.prototype,"prefix",void 0),D=(0,n.__decorate)([(0,s.customElement)({name:"dispatch-renderer",template:F,styles:O})],D);const L=s.html`
190
190
  <template>
191
191
  <json-forms
192
192
  ?readonly=${e=>e.readonly}
@@ -230,7 +230,7 @@
230
230
  </control-wrapper>
231
231
  </template>
232
232
  `)(e.prefix)}
233
- `,tester:(0,d.yMz)(3,M),mapper:d.xq9};var $=r(17718);const R=e=>a=>{if(!a||!(0,d.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},j=(0,d.xDy)(R("allOptionsResourceName"),(0,d.or)((0,d.wcO)((e=>(0,d.ndu)(e,"array"))),(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"array")))))));$.MultiselectDatasource;const I={renderer:s.html`
233
+ `,tester:(0,d.yMz)(3,M),mapper:d.xq9};var $=r(83300);const R=e=>a=>{if(!a||!(0,d.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},j=(0,d.xDy)(R("allOptionsResourceName"),(0,d.or)((0,d.wcO)((e=>(0,d.ndu)(e,"array"))),(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"array")))))));$.MultiselectDatasource;const I={renderer:s.html`
234
234
  ${e=>((e="zero")=>s.html`
235
235
  <template>
236
236
  <control-wrapper
@@ -470,9 +470,9 @@
470
470
  `)(e.prefix)}
471
471
  `,ae=(0,g.createLogger)("foundation-form"),re={renderer:ee,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},te=[{renderer:ee,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},re,N,Y,V,Q,W,J,q,X,I,G,E,U,_];let oe=class extends c.FoundationElement{constructor(){super(...arguments),this.renderers=te,this.errors=[],this.data={}}resourceNameChanged(){var e,a;return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const r=yield this.connect.getJSONSchema(this.resourceName);this.jsonSchema=null===(a=null===(e=null==r?void 0:r.INBOUND)||void 0===e?void 0:e.properties)||void 0===a?void 0:a.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,ae.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield s.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(ae.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}onChange(e){ae.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}connectedCallback(){super.connectedCallback(),this.addEventListener("submit-button-clicked",this._submit)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("submit-button-clicked",this._submit),this.reset()}reset(){this.submitted=!1,this.data={}}};var ie,ne,le,ge,de;(0,n.__decorate)([s.attr],oe.prototype,"resourceName",void 0),(0,n.__decorate)([s.observable],oe.prototype,"uischema",void 0),(0,n.__decorate)([s.observable],oe.prototype,"renderers",void 0),(0,n.__decorate)([s.observable],oe.prototype,"jsonSchema",void 0),(0,n.__decorate)([l.lj],oe.prototype,"connect",void 0),(0,n.__decorate)([s.observable],oe.prototype,"data",void 0),(0,n.__decorate)([s.observable],oe.prototype,"submitting",void 0),(0,n.__decorate)([s.observable],oe.prototype,"submitted",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],oe.prototype,"readonly",void 0),oe=(0,n.__decorate)([(0,s.customElement)({name:"foundation-form",template:L,styles:h})],oe),function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519"}(ie||(ie={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ne||(ne={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(le||(le={})),function(e){e.grey="#7c909b"}(ge||(ge={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(de||(de={}));const se=(0,$.paletteFromHex)(ne.blue),ce=(0,$.paletteFromHex)(ge.grey),pe=p.StandardLuminance.DarkMode;const ue=r(5598).N.ltr,he=p.strokeWidth.getValueFor(p.strokeWidth.appliedTo[0]),me=4,ve=p.density.getValueFor(p.density.appliedTo[0]),be=4;var fe=r(47823);const we=()=>{(0,fe.sW)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},ye='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',xe=(e=fe.Hd.Normal,a=fe.U9.Regular)=>(0,fe.py)(ye,e,a),ze=ye,ke=p.typeRampBaseFontSize.getValueFor(p.typeRampBaseFontSize.appliedTo[0]),Se=p.typeRampBaseLineHeight.getValueFor(p.typeRampBaseLineHeight.appliedTo[0]),Ce={design_tokens:{color:{accent:{$value:se.source.toColorString(),$type:"color"},neutral:{$value:ce.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:ze,$type:"fontFamily"}},typography:{baseFontSize:{$value:ke,$type:"dimension"},baseLineHeight:{$value:Se,$type:"dimension"}},mode:{luminance:{$value:pe,$type:"number"}},style:{density:{$value:ve,$type:"number"},borderRadius:{$value:me,$type:"number"},strokeWidth:{$value:he,$type:"number"}},space:{designUnit:{$value:be,$type:"number"}}}};class Ae extends $.Accordion{}const Te=Ae.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,$.foundationAccordionTemplate)(e,a),styles:(e,a)=>s.css`
472
472
  ${(0,$.foundationAccordionStyles)(e,a)}
473
- `,shadowOptions:$.foundationAccordionShadowOptions},$.defaultAccordionConfig));class Fe extends $.AccordionItem{}const De=Fe.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,$.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>s.css`
473
+ `,shadowOptions:$.foundationAccordionShadowOptions},$.defaultAccordionConfig));class Fe extends $.AccordionItem{}const Oe=Fe.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,$.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>s.css`
474
474
  ${(0,$.foundationAccordionItemStyles)(e,a)};
475
- `,shadowOptions:$.foundationAccordionItemShadowOptions},$.defaultAccordionItemConfig));class Oe extends $.ActionsMenu{}const Le=Oe.compose({baseName:"actions-menu",styles:(e,a)=>s.css`
475
+ `,shadowOptions:$.foundationAccordionItemShadowOptions},$.defaultAccordionItemConfig));class De extends $.ActionsMenu{}const Le=De.compose({baseName:"actions-menu",styles:(e,a)=>s.css`
476
476
  :host {
477
477
  --actions-opener-heigght-multiplier: 0.6px;
478
478
  --menu-item-height-multiplier: 0.5px;
@@ -728,7 +728,7 @@
728
728
  .separator {
729
729
  color: var(--neutral-stroke-rest);
730
730
  }
731
- `,shadowOptions:$.foundationBreadcrumbItemShadowOptions},$.defaultBreadcrumbItemConfig));class Ta extends $.Button{}const Fa=Ta.compose(Object.assign({baseName:"button",template:(e,a)=>(0,$.foundationButtonTemplate)(e,a),styles:sa,shadowOptions:$.foundationButtonShadowOptions},$.defaultButtonConfig));class Da extends $.Calendar{}const Oa=Da.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,$.foundationCalendarTemplate)(e,a),styles:()=>s.css`
731
+ `,shadowOptions:$.foundationBreadcrumbItemShadowOptions},$.defaultBreadcrumbItemConfig));class Ta extends $.Button{}const Fa=Ta.compose(Object.assign({baseName:"button",template:(e,a)=>(0,$.foundationButtonTemplate)(e,a),styles:sa,shadowOptions:$.foundationButtonShadowOptions},$.defaultButtonConfig));class Oa extends $.Calendar{}const Da=Oa.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,$.foundationCalendarTemplate)(e,a),styles:()=>s.css`
732
732
  ${(0,$.foundationCalendarStyles)()}
733
733
  `,shadowOptions:$.foundationCalendarShadowOptions},$.defaultCalendarConfig));class La extends $.Card{}const Ma=La.compose(Object.assign({baseName:"card",template:(e,a)=>(0,$.foundationCardTemplate)(e,a),styles:(e,a)=>s.css`
734
734
  ${(0,$.foundationCardStyles)(e,a)}
@@ -979,28 +979,8 @@
979
979
  `,shadowOptions:$.foundationDividerShadowOptions},$.defaultDividerConfig));class xr extends $.DropdownMenu{}const zr=xr.compose({baseName:"dropdown-menu",styles:(e,a)=>s.css`
980
980
  ${(0,$.dropdownMenuBaseStyles)("zero",e,a)}
981
981
  `,template:$.foundationDropdownMenuTemplate}),kr=s.html`
982
- <zero-banner ${(0,s.ref)("banner")}>
983
- <div slot="content">
984
- <div>
985
- ${e=>{var a,r;return(null===(a=e.error)||void 0===a?void 0:a.errorDetails)||(null===(r=e.notification)||void 0===r?void 0:r.body)||"Place holder for error message"}}
986
- </div>
987
- </div>
988
-
989
- <zero-button slot="action" appearance="lightweight" @click=${e=>e.dismiss()}>
990
- ${e=>{var a,r,t,o,i,n,l,g;return(null===(o=null===(t=null===(r=null===(a=e.error)||void 0===a?void 0:a.config)||void 0===r?void 0:r.banner)||void 0===t?void 0:t.dismissingAction)||void 0===o?void 0:o.label)||(null===(g=null===(l=null===(n=null===(i=e.notification)||void 0===i?void 0:i.config)||void 0===n?void 0:n.banner)||void 0===l?void 0:l.dismissingAction)||void 0===g?void 0:g.label)||"Ignore"}}
991
- </zero-button>
992
-
993
- ${(0,s.repeat)((e=>{var a,r,t,o;return(null===(r=null===(a=e.error)||void 0===a?void 0:a.config)||void 0===r?void 0:r.banner.confirmingActions)||(null===(o=null===(t=e.notification)||void 0===t?void 0:t.config)||void 0===o?void 0:o.banner.confirmingActions)}),s.html`
994
- <zero-button
995
- slot="action"
996
- appearance="lightweight"
997
- @click=${(e,a)=>{null==e||e.action(),a.parent.dismiss()}}
998
- >
999
- ${e=>e.label}
1000
- </zero-button>
1001
- `)}
1002
- </zero-banner>
1003
- `,Sr=$.foundationErrorBannerShadowOptions;class Cr extends $.ErrorBanner{}const Ar=Cr.compose({baseName:"error-banner",template:kr,shadowOptions:Sr});class Tr extends $.ErrorBoundary{}const Fr=Tr.compose({baseName:"error-boundary",template:$.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class Dr extends $.ErrorDialog{}const Or=Dr.compose({baseName:"error-dialog",styles:$.foundationErrorDialogStyles,template:$.errorDialogTemplate,shadowOptions:$.foundationErrorDialogShadowOptions}),Lr=s.css`
982
+ ${(0,$.getPrefixedErrorBanner)("zero")}
983
+ `,Sr=$.foundationErrorBannerShadowOptions;class Cr extends $.ErrorBanner{}const Ar=Cr.compose({baseName:"error-banner",template:kr,shadowOptions:Sr});class Tr extends $.ErrorBoundary{}const Fr=Tr.compose({baseName:"error-boundary",template:$.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class Or extends $.ErrorDialog{}const Dr=Or.compose({baseName:"error-dialog",styles:$.foundationErrorDialogStyles,template:$.errorDialogTemplate,shadowOptions:$.foundationErrorDialogShadowOptions}),Lr=s.css`
1004
984
  ${$.foundationFileUploadStyles}
1005
985
  ::-webkit-scrollbar {
1006
986
  width: 12px;
@@ -1224,7 +1204,7 @@
1224
1204
  :host {
1225
1205
  padding: 0;
1226
1206
  }
1227
- `,shadowOptions:Ct}),Ft=$.foundationMenuItemShadowOptions;class Dt extends $.MenuItem{}const Ot=Dt.compose(Object.assign({baseName:"menu-item",template:$.foundationMenuItemTemplate,styles:(e,a)=>s.css`
1207
+ `,shadowOptions:Ct}),Ft=$.foundationMenuItemShadowOptions;class Ot extends $.MenuItem{}const Dt=Ot.compose(Object.assign({baseName:"menu-item",template:$.foundationMenuItemTemplate,styles:(e,a)=>s.css`
1228
1208
  ${(0,$.foundationMenuItemStyles)(e,a)}
1229
1209
 
1230
1210
  :host {
@@ -1608,24 +1588,7 @@
1608
1588
  background-color: ${Je(1)};
1609
1589
  }
1610
1590
  `,yo=s.html`
1611
- <div class="snackbar ${e=>e.deleteAnimation}" ${(0,s.ref)("snackbar")}>
1612
- <div part="content" class="content">
1613
- <div>
1614
- ${e=>{var a,r;return(null===(a=e.error)||void 0===a?void 0:a.errorDetails)||(null===(r=e.notification)||void 0===r?void 0:r.body)||"Place holder for error message"}}
1615
- </div>
1616
- </div>
1617
- <div part="action" class="action">
1618
- ${(0,s.repeat)((e=>{var a,r,t,o,i,n;return(null===(t=null===(r=null===(a=e.error)||void 0===a?void 0:a.config)||void 0===r?void 0:r.snackbar)||void 0===t?void 0:t.confirmingActions)||(null===(n=null===(i=null===(o=e.notification)||void 0===o?void 0:o.config)||void 0===i?void 0:i.snackbar)||void 0===n?void 0:n.confirmingActions)}),s.html`
1619
- <zero-button
1620
- slot="action"
1621
- appearance="lightweight"
1622
- @click=${(e,a)=>{var r;null==e||e.action(),null===(r=a.parent)||void 0===r||r.dismiss()}}
1623
- >
1624
- ${e=>e.label}
1625
- </zero-button>
1626
- `)}
1627
- </div>
1628
- </div>
1591
+ ${(0,$.getPrefixedSnackbar)("zero")}
1629
1592
  `,xo=$.foundationSnackbarShadowOptions;class zo extends $.Snackbar{}const ko=zo.compose({baseName:"snackbar",shadowOptions:xo,styles:wo,template:yo});class So extends $.Switch{}const Co=So.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,$.foundationSwitchTemplate)(e,a),styles:(e,a)=>s.css`
1630
1593
  ${(0,$.foundationSwitchStyles)(e,a)}
1631
1594
  :host {
@@ -1695,12 +1658,12 @@
1695
1658
  margin-right: 0;
1696
1659
  background-color: var(--zero-card-fill-color);
1697
1660
  }
1698
- `,shadowOptions:$.foundationTabShadowOptions},$.defaultTabConfig));class Fo extends $.TabPanel{}const Do=Fo.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,$.foundationTabPanelTemplate)(e,a),styles:(e,a)=>s.css`
1661
+ `,shadowOptions:$.foundationTabShadowOptions},$.defaultTabConfig));class Fo extends $.TabPanel{}const Oo=Fo.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,$.foundationTabPanelTemplate)(e,a),styles:(e,a)=>s.css`
1699
1662
  ${(0,$.foundationTabPanelStyles)(e,a)}
1700
1663
  :host {
1701
1664
  padding: 0;
1702
1665
  }
1703
- `,shadowOptions:$.foundationTabPanelShadowOptions},$.defaultTabPanelConfig));class Oo extends $.Tabs{}const Lo=Oo.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,$.foundationTabsTemplate)(e,a),styles:(e,a)=>s.css`
1666
+ `,shadowOptions:$.foundationTabPanelShadowOptions},$.defaultTabPanelConfig));class Do extends $.Tabs{}const Lo=Do.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,$.foundationTabsTemplate)(e,a),styles:(e,a)=>s.css`
1704
1667
  ${(0,$.foundationTabsStyles)(e,a)}
1705
1668
  :host .tablist {
1706
1669
  padding: 0;
@@ -1867,7 +1830,7 @@
1867
1830
  <a class="url-input-link" href=${e=>e.value} target="_blank">${e=>e.value}</a>
1868
1831
  `)}
1869
1832
  </div>
1870
- `;class Jo extends $.TextField{constructor(){super(...arguments),this.value=""}saveUrl(e){this.value=e.startsWith("http")?e:"https://"+e,this.focused=!1}focus(){this.focused=!0}}(0,tr.__decorate)([s.observable],Jo.prototype,"value",void 0),(0,tr.__decorate)([s.observable],Jo.prototype,"focused",void 0);const Zo={zeroAccordion:Te,zeroAccordionItem:De,zeroActionsMenu:Le,zeroAnchor:pa,zeroAnchoredRegion:ha,zeroAvatar:va,zeroBadge:fa,zeroBanner:za,zeroBreadcrumbItem:Aa,zeroBreadcrumb:Sa,zeroButton:Fa,zeroCalendar:Oa,zeroCard:Ma,zeroCheckbox:$a,zeroCombobox:Qa,zeroConnectionIndicator:qa,zeroDataGrid:Xa,zeroDesignSystemProvider:gr,zeroDialog:vr,zeroDatePicker:rr,zeroDisclosure:fr,zeroDivider:yr,zeroDropdownMenu:zr,zeroErrorBoundary:Fr,zeroNotificationListener:Ht,zeroErrorBanner:Ar,zeroErrorDialog:Or,zeroFileUpload:jr,zeroFilter:Wr,zeroFilterBar:et,zeroFlexLayout:rt,zeroFlipper:ot,zeroFlyout:st,zeroGridLayout:pt,zeroGridLayoutItem:ht,zeroHorizontalScroll:vt,zeroIcon:yt,zeroListbox:zt,zeroListboxOption:St,zeroMenu:Tt,zeroMenuItem:Ot,zeroModal:jt,zeroMultiselect:Gt,zeroNumberField:Jt,zeroProgress:Kt,zeroProgressRing:ao,zeroRadio:to,zeroRadioGroup:io,zeroSegmentedControl:lo,zeroSegmentedItem:so,zeroSelect:po,zeroSkeleton:ho,zeroSlider:vo,zeroSliderLabel:fo,zeroSnackbar:ko,zeroSwitch:Co,zeroTab:To,zeroTabPanel:Do,zeroTabs:Lo,zeroTextArea:No,zeroTextField:Ro,zeroToast:Uo,zeroToolbar:Go,zeroTooltip:Ho,zeroTreeItem:Vo,zeroTreeView:Wo,zeroUrlInput:Jo.compose(Object.assign({baseName:"url-input",template:qo,styles:(e,a)=>s.css`
1833
+ `;class Jo extends $.TextField{constructor(){super(...arguments),this.value=""}saveUrl(e){this.value=e.startsWith("http")?e:"https://"+e,this.focused=!1}focus(){this.focused=!0}}(0,tr.__decorate)([s.observable],Jo.prototype,"value",void 0),(0,tr.__decorate)([s.observable],Jo.prototype,"focused",void 0);const Zo={zeroAccordion:Te,zeroAccordionItem:Oe,zeroActionsMenu:Le,zeroAnchor:pa,zeroAnchoredRegion:ha,zeroAvatar:va,zeroBadge:fa,zeroBanner:za,zeroBreadcrumbItem:Aa,zeroBreadcrumb:Sa,zeroButton:Fa,zeroCalendar:Da,zeroCard:Ma,zeroCheckbox:$a,zeroCombobox:Qa,zeroConnectionIndicator:qa,zeroDataGrid:Xa,zeroDesignSystemProvider:gr,zeroDialog:vr,zeroDatePicker:rr,zeroDisclosure:fr,zeroDivider:yr,zeroDropdownMenu:zr,zeroErrorBoundary:Fr,zeroNotificationListener:Ht,zeroErrorBanner:Ar,zeroErrorDialog:Dr,zeroFileUpload:jr,zeroFilter:Wr,zeroFilterBar:et,zeroFlexLayout:rt,zeroFlipper:ot,zeroFlyout:st,zeroGridLayout:pt,zeroGridLayoutItem:ht,zeroHorizontalScroll:vt,zeroIcon:yt,zeroListbox:zt,zeroListboxOption:St,zeroMenu:Tt,zeroMenuItem:Dt,zeroModal:jt,zeroMultiselect:Gt,zeroNumberField:Jt,zeroProgress:Kt,zeroProgressRing:ao,zeroRadio:to,zeroRadioGroup:io,zeroSegmentedControl:lo,zeroSegmentedItem:so,zeroSelect:po,zeroSkeleton:ho,zeroSlider:vo,zeroSliderLabel:fo,zeroSnackbar:ko,zeroSwitch:Co,zeroTab:To,zeroTabPanel:Oo,zeroTabs:Lo,zeroTextArea:No,zeroTextField:Ro,zeroToast:Uo,zeroToolbar:Go,zeroTooltip:Ho,zeroTreeItem:Vo,zeroTreeView:Wo,zeroUrlInput:Jo.compose(Object.assign({baseName:"url-input",template:qo,styles:(e,a)=>s.css`
1871
1834
  ${(0,$.foundationUrlInputStyles)(e,a)}
1872
1835
  a {
1873
1836
  color: ${ne.blue};
@@ -1985,7 +1948,7 @@
1985
1948
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
1986
1949
  `)}
1987
1950
  </${a}>
1988
- `},Di=Ai.compose({baseName:"select-renderer",styles:Ti,template:Fi()});const Oi=class extends Ai{}.compose({baseName:"select-renderer",styles:Ti,template:Fi("zero")});var Li=r(89861),Mi=r(59783),Ni=r(86534),$i=r(75527),Ri=r(9492);const ji=e=>{var a,r,t,o,i,n,l,g,d;return d=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,Ri.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,Ri.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,Ri.__classPrivateFieldGet)(this,r,"f")._key&&!((0,Ri.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Ri.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Ri.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,Ri.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,Ri.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,Ri.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,Ri.__classPrivateFieldGet)(this,o,"f")&&((0,Ri.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,Ri.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Ri.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Ri.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,Ri.__classPrivateFieldGet)(this,r,"f")._key&&(0,Ri.__classPrivateFieldSet)(this,r,(0,Ri.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,Ri.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,Ri.__classPrivateFieldGet)(this,t,"f")!==(0,Ri.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,Ri.__classPrivateFieldSet)(this,t,null!==(a=(0,Ri.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,Ri.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,Ri.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,Ri.__classPrivateFieldSet)(this,t,null!==(o=(0,Ri.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,Ri.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){if(!0===r.getRootNode()[Ii])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document)return{_key:"dom"};const t=r.getRootNode().host;if("FoundationLayoutMain"===t.class){const e=t;return e._key="foundation-layout",e}return(0,Ri.__classPrivateFieldGet)(this,a,"m",e).call(this,t)},d},Ii=Symbol("layout-cache-document");var Ei=r(88556);const Pi=s.html`
1951
+ `},Oi=Ai.compose({baseName:"select-renderer",styles:Ti,template:Fi()});const Di=class extends Ai{}.compose({baseName:"select-renderer",styles:Ti,template:Fi("zero")});var Li=r(89861),Mi=r(59783),Ni=r(86534),$i=r(75527),Ri=r(9492);const ji=e=>{var a,r,t,o,i,n,l,g,d;return d=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,Ri.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,Ri.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,Ri.__classPrivateFieldGet)(this,r,"f")._key&&!((0,Ri.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Ri.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Ri.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,Ri.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,Ri.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,Ri.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,Ri.__classPrivateFieldGet)(this,o,"f")&&((0,Ri.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,Ri.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Ri.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Ri.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,Ri.__classPrivateFieldGet)(this,r,"f")._key&&(0,Ri.__classPrivateFieldSet)(this,r,(0,Ri.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,Ri.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,Ri.__classPrivateFieldGet)(this,t,"f")!==(0,Ri.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,Ri.__classPrivateFieldSet)(this,t,null!==(a=(0,Ri.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,Ri.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,Ri.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,Ri.__classPrivateFieldSet)(this,t,null!==(o=(0,Ri.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,Ri.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){if(!0===r.getRootNode()[Ii])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document)return{_key:"dom"};const t=r.getRootNode().host;if("FoundationLayoutMain"===t.class){const e=t;return e._key="foundation-layout",e}return(0,Ri.__classPrivateFieldGet)(this,a,"m",e).call(this,t)},d},Ii=Symbol("layout-cache-document");var Ei=r(88556);const Pi=s.html`
1989
1952
  <template>
1990
1953
  <slot ${(0,s.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
1991
1954
  </template>
@@ -10176,14 +10139,14 @@
10176
10139
  .ag-theme-material .ag-picker-field-wrapper:focus {
10177
10140
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10178
10141
  }
10179
- `,Dn=s.css`
10142
+ `,On=s.css`
10180
10143
  ${Sn}
10181
10144
  ${Cn}
10182
10145
  ${An}
10183
10146
  ${Tn}
10184
10147
  ${Fn}
10185
- `,On=s.css`
10186
- ${Dn}
10148
+ `,Dn=s.css`
10149
+ ${On}
10187
10150
  :host {
10188
10151
  width: 100%;
10189
10152
  height: 100%;
@@ -10217,7 +10180,7 @@
10217
10180
  <slot></slot>
10218
10181
  </span>
10219
10182
  </template>
10220
- `;function Mn(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}Mi.O3h.registerModules([Ni.jM,Li.I]);const Nn=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class $n extends(ji(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,qr.A)(Yi(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.gridAutosizingEnabled=!1,this.addIndex=0,this.asyncAdd=!1,this.asyncRemove=!1,this.asyncUpdate=!0,this.enableCellFlashing=!1,this.enabledRowFlashing=!1,this.enableRowFlashing=!1,this.gridFontFace=Zi,this.columnComponentName="grid-pro-column",this.theme=Hi.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Mi.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Nn(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&((e,a)=>{const r={root:document.documentElement};new IntersectionObserver((e=>{e.forEach((e=>{a(e.intersectionRatio>0)}))}),r).observe(e)})(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&Mi.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Nn(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;this.cacheFilterConfig(),super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[Qi.action]:ei,[Qi.actionsMenu]:ni,[Qi.boolean]:si};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.columnApi.getColumnState();if(a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,0===a.length)return;e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}getSavedColumnState(){const e=this.session.getLocalStorageItem("gridOptions");if(this.statePersistanceEnabled()&&e){const a=JSON.parse(e);if(this.persistColumnStateKey in a)return JSON.parse(a[this.persistColumnStateKey])}return[]}restoreColumnState(){var e;this.rehydrationAttempted=!0;const a=this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}cacheFilterConfig(){var e;this.filterConfig=(null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0}restoreCachedFilterConfig(){var e,a;void 0!==this.filterConfig&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(this.filterConfig),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}get gridOptions(){return this.agGridOptions}get gridProGenesisDatasource(){return this.querySelector("grid-pro-genesis-datasource")}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.saveColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:t,components:o,defaultColDef:i,onGridReady:n,onFirstDataRendered:l}=e,g=(0,Ko.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),d=Object.assign(Object.assign(Object.assign({defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},i),components:this.combineAllGridComponents(o),suppressDragLeaveHidesColumns:!0},this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,n&&n(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.enableFlashingRows.bind(this)(),this.restoreCachedFilterConfig.bind(this)(),l&&l(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),g);this.gridProGenesisDatasource?d.columnDefs=t:d.columnDefs=this.applyTemplateDefinitions(t),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Mi.plv.copyAttributesToGridOptions(d,this.agAttributes));const c={globalEventListener:a};s.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Mi.rjZ(this.gridSlot,this.agGridOptions,c),this.initialised=!0}))}enableFlashingRows(){if(this.enableRowFlashing||this.enabledRowFlashing){if(!this.asyncAdd)return void Xo.warn("Row Flashing (enableRowFlashing) only works when Grid has async Add Transactions (asyncAdd) enabled");this.gridApi.addEventListener(Mi.zW2.EVENT_ASYNC_TRANSACTIONS_FLUSHED,(e=>{e.results.forEach((e=>{e.add.length&&this.gridApi.flashCells({rowNodes:e.add})}))}))}}applyTemplateDefinitions(e,a=!1){return Xo.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;const t=e||[],o=this.querySelectorAll(this.columnComponentName),i=Array.from(o).map((e=>{var a;return null===(a=e.definition)||void 0===a?void 0:a.field}));let n=[];if(n=0===o.length?t:[...t.filter((e=>!i.includes(e.field))),...Array.from(o).map((e=>{var a;if(this.enableCellFlashing&&void 0===e.definition.enableCellChangeFlash&&(e.definition.enableCellChangeFlash=!0),!this.autoCellRendererByType||e.definition.valueFormatter)return e.definition;const r=null===(a=t.find((a=>e.definition.field===a.field)))||void 0===a?void 0:a.valueFormatter;return r&&(e.definition.valueFormatter=r),e.definition}))],this.gridProGenesisDatasource&&a){const e=this.getSavedColumnState();if((null==e?void 0:e.length)>0)return Mn(n,e);if((null===(r=this.gridProGenesisDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Mn(n,this.gridProGenesisDatasource.deferredColumnStates)}return n}get observedAttributes(){const e=Mi.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Mi.plv.ALL_PROPERTIES.map((e=>Nn(e)));return e.concat(a)}agAttributeChangedCallback(e,a,r){if(a===r)return;const t=this.agPropertiesMap[e];if(t&&(this.agAttributes[t]=r,this.initialised)){const e={};e[t]={currentValue:r},Mi.plv.processOnChange(e,this.gridApi)}}globalEventListener(e,a){const r=e.toLowerCase(),t=new Event(r);t.agGridDetails=a,this.dispatchEvent(t);const o="on"+r;"function"==typeof this[o]&&this[o](t)}insertFontFace(e){const a=Ji[e]||this.gridFontFace;this.destroyFontFace();const r=(0,Ei.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Ko.__decorate)([s.observable],$n.prototype,"columnApi",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"gridApi",void 0),(0,Ko.__decorate)([$i.z],$n.prototype,"session",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],$n.prototype,"autoCellRendererByType",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],$n.prototype,"onlyTemplateColDefs",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],$n.prototype,"gridAutosizingEnabled",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"add-index"})],$n.prototype,"addIndex",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-add"})],$n.prototype,"asyncAdd",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-remove"})],$n.prototype,"asyncRemove",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-update"})],$n.prototype,"asyncUpdate",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],$n.prototype,"enableCellFlashing",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],$n.prototype,"enabledRowFlashing",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-row-flashing"})],$n.prototype,"enableRowFlashing",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],$n.prototype,"persistColumnStateKey",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"gridFontFace",void 0),(0,Ko.__decorate)([s.attr],$n.prototype,"columnComponentName",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"eventsAndCallbacks",void 0),(0,Ko.__decorate)([s.attr],$n.prototype,"headerHeight",void 0),(0,Ko.__decorate)([s.attr],$n.prototype,"rowHeight",void 0),(0,Ko.__decorate)([s.attr],$n.prototype,"theme",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"classNames",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"agGrid",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"gridSlot",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"gridComponents",void 0);const Rn=void 0,jn={shadowOptions:void 0},In=$n.compose(Object.assign({baseName:"grid-pro",styles:On,template:Ln,shadowOptions:Rn},jn)),En={foregroundSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#879ba6")),backgroundSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#1f2126")),borderSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#2e3339")),rowHoverSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#2b2e34"))},Pn={foregroundSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#000000")),headerForegroundSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#181d1f")),backgroundSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#FFFFFF")),borderSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#babfc7")),rowHoverSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#2196f3"))},{create:Un}=c.DesignToken,Bn={backgroundColor:Un("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Pn.backgroundSwatch:En.backgroundSwatch)),borderColor:Un("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Pn.borderSwatch:En.borderSwatch)),foregroundColor:Un("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Pn.foregroundSwatch:En.foregroundSwatch)),headerForegroundColor:Un("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Pn.headerForegroundSwatch:En.headerForegroundSwatch)),rowHoverColor:Un("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Pn.rowHoverSwatch:En.rowHoverSwatch))},Gn=s.css`
10183
+ `;function Mn(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}Mi.O3h.registerModules([Ni.jM,Li.I]);const Nn=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class $n extends(ji(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,qr.A)(Yi(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.gridAutosizingEnabled=!1,this.addIndex=0,this.asyncAdd=!1,this.asyncRemove=!1,this.asyncUpdate=!0,this.enableCellFlashing=!1,this.enabledRowFlashing=!1,this.enableRowFlashing=!1,this.gridFontFace=Zi,this.columnComponentName="grid-pro-column",this.theme=Hi.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Mi.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Nn(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&((e,a)=>{const r={root:document.documentElement};new IntersectionObserver((e=>{e.forEach((e=>{a(e.intersectionRatio>0)}))}),r).observe(e)})(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&Mi.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Nn(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;this.cacheFilterConfig(),super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[Qi.action]:ei,[Qi.actionsMenu]:ni,[Qi.boolean]:si};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.columnApi.getColumnState();if(a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,0===a.length)return;e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}getSavedColumnState(){const e=this.session.getLocalStorageItem("gridOptions");if(this.statePersistanceEnabled()&&e){const a=JSON.parse(e);if(this.persistColumnStateKey in a)return JSON.parse(a[this.persistColumnStateKey])}return[]}restoreColumnState(){var e;this.rehydrationAttempted=!0;const a=this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}cacheFilterConfig(){var e;this.filterConfig=(null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0}restoreCachedFilterConfig(){var e,a;void 0!==this.filterConfig&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(this.filterConfig),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}get gridOptions(){return this.agGridOptions}get gridProGenesisDatasource(){return this.querySelector("grid-pro-genesis-datasource")}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.saveColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:t,components:o,defaultColDef:i,onGridReady:n,onFirstDataRendered:l}=e,g=(0,Ko.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),d=Object.assign(Object.assign(Object.assign({defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},i),components:this.combineAllGridComponents(o),suppressDragLeaveHidesColumns:!0},this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,n&&n(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.enableFlashingRows.bind(this)(),this.restoreCachedFilterConfig.bind(this)(),l&&l(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),g);this.gridProGenesisDatasource?d.columnDefs=t:d.columnDefs=this.applyTemplateDefinitions(t),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Mi.plv.copyAttributesToGridOptions(d,this.agAttributes));const c={globalEventListener:a};s.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Mi.rjZ(this.gridSlot,this.agGridOptions,c),this.initialised=!0}))}enableFlashingRows(){if(this.enableRowFlashing||this.enabledRowFlashing){if(!this.asyncAdd)return void Xo.warn("Row Flashing (enableRowFlashing) only works when Grid has async Add Transactions (asyncAdd) enabled");this.gridApi.addEventListener(Mi.zW2.EVENT_ASYNC_TRANSACTIONS_FLUSHED,(e=>{e.results.forEach((e=>{e.add.length&&this.gridApi.flashCells({rowNodes:e.add})}))}))}}applyTemplateDefinitions(e,a=!1){return Xo.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;const t=e||[],o=this.querySelectorAll(this.columnComponentName),i=Array.from(o).map((e=>{var a;return null===(a=e.definition)||void 0===a?void 0:a.field}));let n=[];if(n=0===o.length?t:[...t.filter((e=>!i.includes(e.field))),...Array.from(o).map((e=>{var a;if(this.enableCellFlashing&&void 0===e.definition.enableCellChangeFlash&&(e.definition.enableCellChangeFlash=!0),!this.autoCellRendererByType||e.definition.valueFormatter)return e.definition;const r=null===(a=t.find((a=>e.definition.field===a.field)))||void 0===a?void 0:a.valueFormatter;return r&&(e.definition.valueFormatter=r),e.definition}))],this.gridProGenesisDatasource&&a){const e=this.getSavedColumnState();if((null==e?void 0:e.length)>0)return Mn(n,e);if((null===(r=this.gridProGenesisDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Mn(n,this.gridProGenesisDatasource.deferredColumnStates)}return n}get observedAttributes(){const e=Mi.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Mi.plv.ALL_PROPERTIES.map((e=>Nn(e)));return e.concat(a)}agAttributeChangedCallback(e,a,r){if(a===r)return;const t=this.agPropertiesMap[e];if(t&&(this.agAttributes[t]=r,this.initialised)){const e={};e[t]={currentValue:r},Mi.plv.processOnChange(e,this.gridApi)}}globalEventListener(e,a){const r=e.toLowerCase(),t=new Event(r);t.agGridDetails=a,this.dispatchEvent(t);const o="on"+r;"function"==typeof this[o]&&this[o](t)}insertFontFace(e){const a=Ji[e]||this.gridFontFace;this.destroyFontFace();const r=(0,Ei.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Ko.__decorate)([s.observable],$n.prototype,"columnApi",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"gridApi",void 0),(0,Ko.__decorate)([$i.z],$n.prototype,"session",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],$n.prototype,"autoCellRendererByType",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],$n.prototype,"onlyTemplateColDefs",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],$n.prototype,"gridAutosizingEnabled",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"add-index"})],$n.prototype,"addIndex",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-add"})],$n.prototype,"asyncAdd",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-remove"})],$n.prototype,"asyncRemove",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-update"})],$n.prototype,"asyncUpdate",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],$n.prototype,"enableCellFlashing",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],$n.prototype,"enabledRowFlashing",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-row-flashing"})],$n.prototype,"enableRowFlashing",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],$n.prototype,"persistColumnStateKey",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"gridFontFace",void 0),(0,Ko.__decorate)([s.attr],$n.prototype,"columnComponentName",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"eventsAndCallbacks",void 0),(0,Ko.__decorate)([s.attr],$n.prototype,"headerHeight",void 0),(0,Ko.__decorate)([s.attr],$n.prototype,"rowHeight",void 0),(0,Ko.__decorate)([s.attr],$n.prototype,"theme",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"classNames",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"agGrid",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"gridSlot",void 0),(0,Ko.__decorate)([s.observable],$n.prototype,"gridComponents",void 0);const Rn=void 0,jn={shadowOptions:void 0},In=$n.compose(Object.assign({baseName:"grid-pro",styles:Dn,template:Ln,shadowOptions:Rn},jn)),En={foregroundSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#879ba6")),backgroundSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#1f2126")),borderSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#2e3339")),rowHoverSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#2b2e34"))},Pn={foregroundSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#000000")),headerForegroundSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#181d1f")),backgroundSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#FFFFFF")),borderSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#babfc7")),rowHoverSwatch:p.SwatchRGB.from((0,Me.parseColorHexRGB)("#2196f3"))},{create:Un}=c.DesignToken,Bn={backgroundColor:Un("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Pn.backgroundSwatch:En.backgroundSwatch)),borderColor:Un("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Pn.borderSwatch:En.borderSwatch)),foregroundColor:Un("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Pn.foregroundSwatch:En.foregroundSwatch)),headerForegroundColor:Un("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Pn.headerForegroundSwatch:En.headerForegroundSwatch)),rowHoverColor:Un("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Pn.rowHoverSwatch:En.rowHoverSwatch))},Gn=s.css`
10221
10184
  .ag-theme-genesis-rapid,
10222
10185
  .ag-theme-genesis-rapid-dark {
10223
10186
  --ag-alpine-active-color: #2196f3;
@@ -10715,12 +10678,12 @@
10715
10678
  }
10716
10679
  `,Wn=s.css`
10717
10680
  /* All the AG themes */
10718
- ${On}
10681
+ ${Dn}
10719
10682
 
10720
10683
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
10721
10684
  ${Yn}
10722
10685
  ${Qn}
10723
- `,qn=Ln,Jn="ag-theme-genesis-rapid-dark";const Zn=jn,Kn={zeroAgActionRenderer:ii,zeroAgActionsMenuRenderer:di,zeroAgBooleanRenderer:mi,zeroAgTextRenderer:Ci,zeroAgSelectRenderer:Oi,zeroGridPro:class extends $n{constructor(){super(...arguments),this.theme=Jn}themeChanged(e,a){(e||a===Jn)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Qi.action]:oi,[Qi.actionsMenu]:gi,[Qi.boolean]:hi};(this.theme===Hn||this.theme===Vn)&&(this.headerHeight=null!==(a=e.headerHeight)&&void 0!==a?a:32,this.rowHeight=null!==(r=e.rowHeight)&&void 0!==r?r:32),super.gridOptions=e}}.compose(Object.assign({baseName:"grid-pro",template:qn,styles:Wn,shadowOptions:undefined},Zn)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Xn={foundationGridProActionRenderer:ti,foundationGridProActionsMenuRenderer:li,foundationAgBooleanRenderer:ui,foundationAgTextRenderer:Si,foundationAgTextFieldRenderer:yi,foundationAgSelectRenderer:Di,foundationGridPro:In,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var el,al=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(el||(el={}));const rl={Roboto:ye,"Segoe UI":'"Segoe UI", Arial, Helvetica, sans-serif',Monospace:'Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace',"Times New Roman":'Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif',Garamond:'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif',Georgia:'Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif',Helvetica:'Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif',Verdana:'Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif'},tl=rl["Segoe UI"],ol=s.css`
10686
+ `,qn=Ln,Jn="ag-theme-genesis-rapid-dark";const Zn=jn,Kn={zeroAgActionRenderer:ii,zeroAgActionsMenuRenderer:di,zeroAgBooleanRenderer:mi,zeroAgTextRenderer:Ci,zeroAgSelectRenderer:Di,zeroGridPro:class extends $n{constructor(){super(...arguments),this.theme=Jn}themeChanged(e,a){(e||a===Jn)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Qi.action]:oi,[Qi.actionsMenu]:gi,[Qi.boolean]:hi};(this.theme===Hn||this.theme===Vn)&&(this.headerHeight=null!==(a=e.headerHeight)&&void 0!==a?a:32,this.rowHeight=null!==(r=e.rowHeight)&&void 0!==r?r:32),super.gridOptions=e}}.compose(Object.assign({baseName:"grid-pro",template:qn,styles:Wn,shadowOptions:undefined},Zn)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Xn={foundationGridProActionRenderer:ti,foundationGridProActionsMenuRenderer:li,foundationAgBooleanRenderer:ui,foundationAgTextRenderer:Si,foundationAgTextFieldRenderer:yi,foundationAgSelectRenderer:Oi,foundationGridPro:In,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var el,al=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(el||(el={}));const rl={Roboto:ye,"Segoe UI":'"Segoe UI", Arial, Helvetica, sans-serif',Monospace:'Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace',"Times New Roman":'Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif',Garamond:'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif',Georgia:'Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif',Helvetica:'Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif',Verdana:'Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif'},tl=rl["Segoe UI"],ol=s.css`
10724
10687
  ${(0,c.display)("block")} :host {
10725
10688
  width: 100%;
10726
10689
  display: inline-flex;
@@ -11428,7 +11391,7 @@
11428
11391
  .container > div:not(:last-child) {
11429
11392
  border-right: 1px solid #fafafa;
11430
11393
  }
11431
- `,Fl=[{title:"Fill",subcategories:[{title:"Fill Colour",tokens:[{name:"fillColor",cssProperty:"--fill-color"}]},{title:"Accent Fill",tokens:[{name:"accentFillRest",cssProperty:"--accent-fill-rest"},{name:"accentFillHover",cssProperty:"--accent-fill-hover"},{name:"accentFillActive",cssProperty:"--accent-fill-active"},{name:"accentFillFocus",cssProperty:"--accent-fill-focus"}]},{title:"Neutral Fill",tokens:[{name:"neutralFillRest",cssProperty:"--neutral-fill-rest"},{name:"neutralFillHover",cssProperty:"--neutral-fill-hover"},{name:"neutralFillActive",cssProperty:"--neutral-fill-active"},{name:"neutralFillFocus",cssProperty:"--neutral-fill-focus"}]},{title:"Neutral Fill Input",tokens:[{name:"neutralFillInputRest",cssProperty:"--neutral-fill-input-rest"},{name:"neutralFillInputHover",cssProperty:"--neutral-fill-input-hover"},{name:"neutralFillInputActive",cssProperty:"--neutral-fill-input-active"},{name:"neutralFillInputFocus",cssProperty:"--neutral-fill-input-focus"}]},{title:"Neutral Fill Stealth",tokens:[{name:"neutralFillStealthRest",cssProperty:"--neutral-fill-stealth-rest"},{name:"neutralFillStealthHover",cssProperty:"--neutral-fill-stealth-hover"},{name:"neutralFillStealthActive",cssProperty:"--neutral-fill-stealth-active"},{name:"neutralFillStealthFocus",cssProperty:"--neutral-fill-stealth-focus"}]},{title:"Neutral Fill Strong",tokens:[{name:"neutralFillStrongRest",cssProperty:"--neutral-fill-strong-rest"},{name:"neutralFillStrongHover",cssProperty:"--neutral-fill-strong-hover"},{name:"neutralFillStrongActive",cssProperty:"--neutral-fill-strong-active"},{name:"neutralFillStrongFocus",cssProperty:"--neutral-fill-strong-focus"}]}]},{title:"Foreground",subcategories:[{title:"Neutral Foreground",tokens:[{name:"neutralForegroundRest",cssProperty:"--neutral-foreground-rest"},{name:"neutralForegroundHint",cssProperty:"--neutral-foreground-hint"}]},{title:"Accent Foreground",tokens:[{name:"accentForegroundRest",cssProperty:"--accent-foreground-rest"},{name:"accentForegroundHover",cssProperty:"--accent-foreground-hover"},{name:"accentForegroundActive",cssProperty:"--accent-foreground-active"},{name:"accentForegroundFocus",cssProperty:"--accent-foreground-focus"}]},{title:"Foreground on Accent",tokens:[{name:"foregroundOnAccentRest",cssProperty:"--foreground-on-accent-rest"},{name:"foregroundOnAccentHover",cssProperty:"--foreground-on-accent-hover"},{name:"foregroundOnAccentActive",cssProperty:"--foreground-on-accent-active"},{name:"foregroundOnAccentFocus",cssProperty:"--foreground-on-accent-focus"}]},{title:"Foreground on accent large",tokens:[{name:"foregroundOnAccentRestLarge",cssProperty:"--foreground-on-accent-rest-large"},{name:"foregroundOnAccentHoverLarge",cssProperty:"--foreground-on-accent-hover-large"},{name:"foregroundOnAccentActiveLarge",cssProperty:"--foreground-on-accent-active-large"},{name:"foregroundOnAccentFocusLarge",cssProperty:"--foreground-on-accent-focus-large"}]}]},{title:"Stroke",subcategories:[{title:"Focus Stroke",tokens:[{name:"focusStrokeOuter",cssProperty:"--focus-stroke-outer"},{name:"focusStrokeInner",cssProperty:"--focus-stroke-inner"}]},{title:"Neutral Stroke",tokens:[{name:"neutralStrokeRest",cssProperty:"---neutral-stroke-rest"},{name:"neutralStrokeHover",cssProperty:"--neutral-stroke-hover"},{name:"neutralStrokeActive",cssProperty:"--neutral-stroke-active"},{name:"neutralStrokeFocus",cssProperty:"--neutral-stroke-focus"}]},{title:"Neutral stroke divider",tokens:[{name:"neutralStrokeDividerRest",cssProperty:"--neutral-stroke-divider-rest"}]}]},{title:"Layer",subcategories:[{title:"Neutral Layers",tokens:[{name:"neutralLayer1",cssProperty:"--neutral-layer-1"},{name:"neutralLayer2",cssProperty:"--neutral-layer-2"},{name:"neutralLayer3",cssProperty:"--neutral-layer-3"},{name:"neutralLayer4",cssProperty:"--neutral-layer-4"}]},{title:"Neutral Layer Card Container",tokens:[{name:"neutralLayerCardContainer",cssProperty:"--neutral-layer-card-container"}]},{title:"Neutral Fill Layer",tokens:[{name:"neutralFillLayerRest",cssProperty:"--neutral-fill-layer-rest"}]},{title:"Neutral Layer Floating",tokens:[{name:"neutralLayerFloating",cssProperty:"--neutral-layer-floating"}]}]}],Dl=s.html`
11394
+ `,Fl=[{title:"Fill",subcategories:[{title:"Fill Colour",tokens:[{name:"fillColor",cssProperty:"--fill-color"}]},{title:"Accent Fill",tokens:[{name:"accentFillRest",cssProperty:"--accent-fill-rest"},{name:"accentFillHover",cssProperty:"--accent-fill-hover"},{name:"accentFillActive",cssProperty:"--accent-fill-active"},{name:"accentFillFocus",cssProperty:"--accent-fill-focus"}]},{title:"Neutral Fill",tokens:[{name:"neutralFillRest",cssProperty:"--neutral-fill-rest"},{name:"neutralFillHover",cssProperty:"--neutral-fill-hover"},{name:"neutralFillActive",cssProperty:"--neutral-fill-active"},{name:"neutralFillFocus",cssProperty:"--neutral-fill-focus"}]},{title:"Neutral Fill Input",tokens:[{name:"neutralFillInputRest",cssProperty:"--neutral-fill-input-rest"},{name:"neutralFillInputHover",cssProperty:"--neutral-fill-input-hover"},{name:"neutralFillInputActive",cssProperty:"--neutral-fill-input-active"},{name:"neutralFillInputFocus",cssProperty:"--neutral-fill-input-focus"}]},{title:"Neutral Fill Stealth",tokens:[{name:"neutralFillStealthRest",cssProperty:"--neutral-fill-stealth-rest"},{name:"neutralFillStealthHover",cssProperty:"--neutral-fill-stealth-hover"},{name:"neutralFillStealthActive",cssProperty:"--neutral-fill-stealth-active"},{name:"neutralFillStealthFocus",cssProperty:"--neutral-fill-stealth-focus"}]},{title:"Neutral Fill Strong",tokens:[{name:"neutralFillStrongRest",cssProperty:"--neutral-fill-strong-rest"},{name:"neutralFillStrongHover",cssProperty:"--neutral-fill-strong-hover"},{name:"neutralFillStrongActive",cssProperty:"--neutral-fill-strong-active"},{name:"neutralFillStrongFocus",cssProperty:"--neutral-fill-strong-focus"}]}]},{title:"Foreground",subcategories:[{title:"Neutral Foreground",tokens:[{name:"neutralForegroundRest",cssProperty:"--neutral-foreground-rest"},{name:"neutralForegroundHint",cssProperty:"--neutral-foreground-hint"}]},{title:"Accent Foreground",tokens:[{name:"accentForegroundRest",cssProperty:"--accent-foreground-rest"},{name:"accentForegroundHover",cssProperty:"--accent-foreground-hover"},{name:"accentForegroundActive",cssProperty:"--accent-foreground-active"},{name:"accentForegroundFocus",cssProperty:"--accent-foreground-focus"}]},{title:"Foreground on Accent",tokens:[{name:"foregroundOnAccentRest",cssProperty:"--foreground-on-accent-rest"},{name:"foregroundOnAccentHover",cssProperty:"--foreground-on-accent-hover"},{name:"foregroundOnAccentActive",cssProperty:"--foreground-on-accent-active"},{name:"foregroundOnAccentFocus",cssProperty:"--foreground-on-accent-focus"}]},{title:"Foreground on accent large",tokens:[{name:"foregroundOnAccentRestLarge",cssProperty:"--foreground-on-accent-rest-large"},{name:"foregroundOnAccentHoverLarge",cssProperty:"--foreground-on-accent-hover-large"},{name:"foregroundOnAccentActiveLarge",cssProperty:"--foreground-on-accent-active-large"},{name:"foregroundOnAccentFocusLarge",cssProperty:"--foreground-on-accent-focus-large"}]}]},{title:"Stroke",subcategories:[{title:"Focus Stroke",tokens:[{name:"focusStrokeOuter",cssProperty:"--focus-stroke-outer"},{name:"focusStrokeInner",cssProperty:"--focus-stroke-inner"}]},{title:"Neutral Stroke",tokens:[{name:"neutralStrokeRest",cssProperty:"---neutral-stroke-rest"},{name:"neutralStrokeHover",cssProperty:"--neutral-stroke-hover"},{name:"neutralStrokeActive",cssProperty:"--neutral-stroke-active"},{name:"neutralStrokeFocus",cssProperty:"--neutral-stroke-focus"}]},{title:"Neutral stroke divider",tokens:[{name:"neutralStrokeDividerRest",cssProperty:"--neutral-stroke-divider-rest"}]}]},{title:"Layer",subcategories:[{title:"Neutral Layers",tokens:[{name:"neutralLayer1",cssProperty:"--neutral-layer-1"},{name:"neutralLayer2",cssProperty:"--neutral-layer-2"},{name:"neutralLayer3",cssProperty:"--neutral-layer-3"},{name:"neutralLayer4",cssProperty:"--neutral-layer-4"}]},{title:"Neutral Layer Card Container",tokens:[{name:"neutralLayerCardContainer",cssProperty:"--neutral-layer-card-container"}]},{title:"Neutral Fill Layer",tokens:[{name:"neutralFillLayerRest",cssProperty:"--neutral-fill-layer-rest"}]},{title:"Neutral Layer Floating",tokens:[{name:"neutralLayerFloating",cssProperty:"--neutral-layer-floating"}]}]}],Ol=s.html`
11432
11395
  <div class="row">
11433
11396
  <div
11434
11397
  class="preview"
@@ -11440,19 +11403,19 @@
11440
11403
  ${(e,a)=>p[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
11441
11404
  </div>
11442
11405
  </div>
11443
- `,Ol=s.html`
11406
+ `,Dl=s.html`
11444
11407
  <div class="container" ${(0,s.ref)("provider")}>
11445
11408
  ${(0,s.repeat)((()=>Fl),s.html`
11446
11409
  <div class="column">
11447
11410
  <h3 class="header-title">${e=>e.title}</h3>
11448
11411
  ${(0,s.repeat)((e=>e.subcategories),s.html`
11449
11412
  <h4>${e=>e.title}</h4>
11450
- ${(0,s.repeat)((e=>e.tokens),Dl)}
11413
+ ${(0,s.repeat)((e=>e.tokens),Ol)}
11451
11414
  `)}
11452
11415
  </div>
11453
11416
  `)}
11454
11417
  </div>
11455
- `;let Ll=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(el.STYLES_CHANGED,(e=>{const a=e.detail;hl(a,this.provider)}))}};(0,al.__decorate)([s.observable],Ll.prototype,"provider",void 0),Ll=(0,al.__decorate)([(0,s.customElement)({name:"color-tokens",template:Ol,styles:Tl})],Ll);const Ml=s.css`
11418
+ `;let Ll=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(el.STYLES_CHANGED,(e=>{const a=e.detail;hl(a,this.provider)}))}};(0,al.__decorate)([s.observable],Ll.prototype,"provider",void 0),Ll=(0,al.__decorate)([(0,s.customElement)({name:"color-tokens",template:Dl,styles:Tl})],Ll);const Ml=s.css`
11456
11419
  table {
11457
11420
  background: var(--neutral-fill-rest);
11458
11421
  color: var(--neutral-foreground-rest);
@@ -11813,4 +11776,4 @@
11813
11776
  </template>
11814
11777
  `;var a}}
11815
11778
  `;let Ql=class extends s.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[{make:"Toyota",model:"Celica",price:35e3,creationDate:1617624494293,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494295,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1619637452397,isCool:!1},{make:"Audi",model:"A6",price:8e4,creationDate:1617624494293,isCool:!0},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494295,isCool:!0},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1619637452397,isCool:!1},{make:"BMW",model:"Z8",price:9e4,creationDate:1617624494293,isCool:!1},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494295,isCool:!1},{make:"Toyota",model:"Celica",price:35e3,creationDate:1619637452397,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494293,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1617624494295,isCool:!0},{make:"Audi",model:"A6",price:8e4,creationDate:1619637452397,isCool:!1},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494293,isCool:!1},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1617624494295,isCool:!0},{make:"BMW",model:"Z8",price:9e4,creationDate:1619637452397,isCool:!0},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494293,isCool:!0}],this.columnDefs=[{field:"make"},{field:"model"},{field:"price"},{field:"creationDate"},{field:"isCool"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(el.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(el.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setGridOptions(),p.bodyFont.withDefault(tl)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{hl(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,s.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,al.__decorate)([s.observable],Ql.prototype,"grid",void 0),(0,al.__decorate)([s.attr],Ql.prototype,"prefix",void 0),(0,al.__decorate)([s.observable],Ql.prototype,"provider",void 0),(0,al.__decorate)([s.observable],Ql.prototype,"rowData",void 0),(0,al.__decorate)([s.observable],Ql.prototype,"columnDefs",void 0),(0,al.__decorate)([s.observable],Ql.prototype,"gridOptions",void 0),Ql=(0,al.__decorate)([(0,s.customElement)({name:"preview-grid",template:Vl,styles:Yl})],Ql),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(Zo,Kn),(0,i.provideDesignSystem)().register(i.baseComponents,Xn)}}]);
11816
- //# sourceMappingURL=721.9322adfc6f86103ea7668233c27c3d3e.js.map
11779
+ //# sourceMappingURL=721.99cb27c2a6f09084c2822162b21631f6.js.map