@genesislcap/design-system-configurator 14.83.4 → 14.83.6

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([[866],{84866:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>bl,ColorToken:()=>yl,ColorTokens:()=>Cl,DesignSystemEditor:()=>il,DesignSystemExport:()=>hl,DesignSystemPreview:()=>Ml,EventName:()=>Wn,PreviewComponents:()=>cl,PreviewForm:()=>El,PreviewGrid:()=>Bl,TypographyTokens:()=>Fl,defaultBodyFont:()=>Zn,fontFamilies:()=>Jn});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(41308),n=r(92592),l=r(89074),g=r(45803),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([[932],{17932:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>fl,ColorToken:()=>xl,ColorTokens:()=>Al,DesignSystemEditor:()=>nl,DesignSystemExport:()=>ml,DesignSystemPreview:()=>Ml,EventName:()=>qn,PreviewComponents:()=>pl,PreviewForm:()=>Pl,PreviewGrid:()=>Gl,TypographyTokens:()=>Dl,defaultBodyFont:()=>Kn,fontFamilies:()=>Zn});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(87180),n=r(92592),l=r(89074),g=r(16565),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 L=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],L.prototype,"jsonforms",void 0),(0,n.__decorate)([s.observable],L.prototype,"props",void 0),(0,n.__decorate)([s.observable],L.prototype,"touched",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],L.prototype,"submitted",void 0),(0,n.__decorate)([s.observable],L.prototype,"dispatch",void 0),(0,n.__decorate)([s.observable],L.prototype,"control",void 0),(0,n.__decorate)([s.observable],L.prototype,"renderer",void 0),(0,n.__decorate)([s.observable],L.prototype,"prefix",void 0),L=(0,n.__decorate)([(0,s.customElement)({name:"dispatch-renderer",template:F,styles:D})],L);const M=s.html`
189
+ `,D=s.css``;let L=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],L.prototype,"jsonforms",void 0),(0,n.__decorate)([s.observable],L.prototype,"props",void 0),(0,n.__decorate)([s.observable],L.prototype,"touched",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],L.prototype,"submitted",void 0),(0,n.__decorate)([s.observable],L.prototype,"dispatch",void 0),(0,n.__decorate)([s.observable],L.prototype,"control",void 0),(0,n.__decorate)([s.observable],L.prototype,"renderer",void 0),(0,n.__decorate)([s.observable],L.prototype,"prefix",void 0),L=(0,n.__decorate)([(0,s.customElement)({name:"dispatch-renderer",template:F,styles:D})],L);const O=s.html`
190
190
  <template>
191
191
  <json-forms
192
192
  ?readonly=${e=>e.readonly}
@@ -210,7 +210,7 @@
210
210
  </slot>
211
211
  `)}
212
212
  </template>
213
- `,O=(0,d.or)(d.KmX,(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"boolean")))))),N={renderer:s.html`
213
+ `,M=(0,d.or)(d.KmX,(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"boolean")))))),N={renderer:s.html`
214
214
  ${e=>((e="zero")=>s.html`
215
215
  <template>
216
216
  <control-wrapper
@@ -230,7 +230,7 @@
230
230
  </control-wrapper>
231
231
  </template>
232
232
  `)(e.prefix)}
233
- `,tester:(0,d.yMz)(3,O),mapper:d.xq9};var $=r(76576);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(30992);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
@@ -468,18 +468,18 @@
468
468
  </control-wrapper>
469
469
  </template>
470
470
  `)(e.prefix)}
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:M,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`
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:O,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
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`
474
474
  ${(0,$.foundationAccordionItemStyles)(e,a)};
475
- `,shadowOptions:$.foundationAccordionItemShadowOptions},$.defaultAccordionItemConfig));class Le extends $.ActionsMenu{}const Me=Le.compose({baseName:"actions-menu",styles:(e,a)=>s.css`
475
+ `,shadowOptions:$.foundationAccordionItemShadowOptions},$.defaultAccordionItemConfig));class Le extends $.ActionsMenu{}const Oe=Le.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;
479
479
  }
480
480
 
481
481
  ${(0,$.actionsMenuBaseStyles)(e,a)}
482
- `,template:$.foundationActionsMenuTemplate});var Oe=r(82694);const Ne=(e,a=1)=>new Oe.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),$e=(0,Oe.parseColorHexRGB)(ie.white),Re=(e=1)=>Ne($e,e),je=((0,Oe.parseColorHexRGB)(ie.black),(0,Oe.parseColorHexRGB)("#585858")),Ie=(p.SwatchRGB.create(je.r,je.g,je.b),(0,Oe.parseColorHexRGB)("#202126")),Ee=p.SwatchRGB.create(Ie.r,Ie.g,Ie.b),Pe=(p.PaletteRGB.from(Ee),(0,Oe.parseColorHexRGB)(ne.blue)),Ue=(e=1)=>Ne(Pe,e),Be=p.SwatchRGB.create(Pe.r,Pe.g,Pe.b),Ge=(p.PaletteRGB.from(Be),(0,Oe.parseColorHexRGB)(ne.purple)),_e=(e=1)=>Ne(Ge,e),He=(0,Oe.parseColorHexRGB)(le.orange),Ye=(e=1)=>Ne(He,e),Ve=(0,Oe.parseColorHexRGB)(le.teal),Qe=(e=1)=>Ne(Ve,e),We=((0,Oe.parseColorHexRGB)(de.longGreen),(0,Oe.parseColorHexRGB)(de.chartPink),(0,Oe.parseColorHexRGB)(de.warningYellow)),qe=(0,Oe.parseColorHexRGB)(de.chartPink),Je=(e=1)=>Ne(qe,e);function Ze(e,a){return new c.PropertyStyleSheetBehavior("appearance",e,a)}const Ke=.3,Xe=.1,ea=.5,aa=s.css`
482
+ `,template:$.foundationActionsMenuTemplate});var Me=r(82694);const Ne=(e,a=1)=>new Me.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),$e=(0,Me.parseColorHexRGB)(ie.white),Re=(e=1)=>Ne($e,e),je=((0,Me.parseColorHexRGB)(ie.black),(0,Me.parseColorHexRGB)("#585858")),Ie=(p.SwatchRGB.create(je.r,je.g,je.b),(0,Me.parseColorHexRGB)("#202126")),Ee=p.SwatchRGB.create(Ie.r,Ie.g,Ie.b),Pe=(p.PaletteRGB.from(Ee),(0,Me.parseColorHexRGB)(ne.blue)),Ue=(e=1)=>Ne(Pe,e),Be=p.SwatchRGB.create(Pe.r,Pe.g,Pe.b),Ge=(p.PaletteRGB.from(Be),(0,Me.parseColorHexRGB)(ne.purple)),_e=(e=1)=>Ne(Ge,e),He=(0,Me.parseColorHexRGB)(le.orange),Ye=(e=1)=>Ne(He,e),Ve=(0,Me.parseColorHexRGB)(le.teal),Qe=(e=1)=>Ne(Ve,e),We=((0,Me.parseColorHexRGB)(de.longGreen),(0,Me.parseColorHexRGB)(de.chartPink),(0,Me.parseColorHexRGB)(de.warningYellow)),qe=(0,Me.parseColorHexRGB)(de.chartPink),Je=(e=1)=>Ne(qe,e);function Ze(e,a){return new c.PropertyStyleSheetBehavior("appearance",e,a)}const Ke=.3,Xe=.1,ea=.5,aa=s.css`
483
483
  :host([appearance='primary-blue']) {
484
484
  background: ${Ue(Ke)};
485
485
  border: 1px solid ${ne.blue};
@@ -730,7 +730,7 @@
730
730
  }
731
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 La=Da.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,$.foundationCalendarTemplate)(e,a),styles:()=>s.css`
732
732
  ${(0,$.foundationCalendarStyles)()}
733
- `,shadowOptions:$.foundationCalendarShadowOptions},$.defaultCalendarConfig));class Ma extends $.Card{}const Oa=Ma.compose(Object.assign({baseName:"card",template:(e,a)=>(0,$.foundationCardTemplate)(e,a),styles:(e,a)=>s.css`
733
+ `,shadowOptions:$.foundationCalendarShadowOptions},$.defaultCalendarConfig));class Oa extends $.Card{}const Ma=Oa.compose(Object.assign({baseName:"card",template:(e,a)=>(0,$.foundationCardTemplate)(e,a),styles:(e,a)=>s.css`
734
734
  ${(0,$.foundationCardStyles)(e,a)}
735
735
  :host {
736
736
  background-color: var(--zero-card-fill-color, var(--neutral-layer-2));
@@ -756,7 +756,7 @@
756
756
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 20%) inset;
757
757
  border-radius: calc(var(--control-corner-radius) * 1px);
758
758
  }
759
- `,shadowOptions:$.foundationCheckboxShadowOptions},$.defaultCheckboxConfig)),Ra=(0,Oe.parseColorHexRGB)("#F1F1F1"),ja=Ne(Ra,1),Ia=(0,Oe.parseColorHexRGB)("#879BA6"),Ea=Ne(Ia,.06),Pa=(0,Oe.parseColorHexRGB)("#879BA6"),Ua=Ne(Pa,1),Ba=(0,Oe.parseColorHexRGB)("#121212"),Ga=Ne(Ba,1),_a=(0,Oe.parseColorHexRGB)("#2e3339"),Ha=Ne(_a,1);var Ya;!function(e){e.PrimaryBlue="primary-blue",e.PrimaryPurple="primary-purple",e.PrimaryGradient="primary-gradient",e.SecondaryOrange="secondary-orange",e.SecondaryTeal="secondary-teal",e.NeutralGrey="neutral-grey",e.OutlinePrimaryGradient="outline-primary-gradient",e.OutlineSecondaryOrange="outline-secondary-orange",e.OutlineSecondaryTeal="outline-secondary-teal"}(Ya||(Ya={}));Object.values(Ya);class Va extends $.Combobox{}const Qa=Va.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,$.foundationComboboxTemplate)(e,a),styles:(e,a)=>s.css`
759
+ `,shadowOptions:$.foundationCheckboxShadowOptions},$.defaultCheckboxConfig)),Ra=(0,Me.parseColorHexRGB)("#F1F1F1"),ja=Ne(Ra,1),Ia=(0,Me.parseColorHexRGB)("#879BA6"),Ea=Ne(Ia,.06),Pa=(0,Me.parseColorHexRGB)("#879BA6"),Ua=Ne(Pa,1),Ba=(0,Me.parseColorHexRGB)("#121212"),Ga=Ne(Ba,1),_a=(0,Me.parseColorHexRGB)("#2e3339"),Ha=Ne(_a,1);var Ya;!function(e){e.PrimaryBlue="primary-blue",e.PrimaryPurple="primary-purple",e.PrimaryGradient="primary-gradient",e.SecondaryOrange="secondary-orange",e.SecondaryTeal="secondary-teal",e.NeutralGrey="neutral-grey",e.OutlinePrimaryGradient="outline-primary-gradient",e.OutlineSecondaryOrange="outline-secondary-orange",e.OutlineSecondaryTeal="outline-secondary-teal"}(Ya||(Ya={}));Object.values(Ya);class Va extends $.Combobox{}const Qa=Va.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,$.foundationComboboxTemplate)(e,a),styles:(e,a)=>s.css`
760
760
  ${(0,$.foundationComboboxStyles)(e,a)}
761
761
  :host {
762
762
  --primary-gradient-angle: -113.5deg;
@@ -903,7 +903,7 @@
903
903
  color: ${p.neutralForegroundRest};
904
904
  ${xe()}
905
905
  }
906
- `}}),dr=(0,Oe.parseColorHexRGB)("#121212"),sr=Ne(dr,1),cr=s.css`
906
+ `}}),dr=(0,Me.parseColorHexRGB)("#121212"),sr=Ne(dr,1),cr=s.css`
907
907
  ${$.foundationDialogStyles}
908
908
  :host {
909
909
  --dialog-background: ${p.neutralLayer2};
@@ -998,7 +998,7 @@
998
998
  </zero-button>
999
999
  `)}
1000
1000
  </zero-banner>
1001
- `,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 Lr=Dr.compose({baseName:"error-dialog",styles:$.foundationErrorDialogStyles,template:$.errorDialogTemplate,shadowOptions:$.foundationErrorDialogShadowOptions}),Mr=s.css`
1001
+ `,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 Lr=Dr.compose({baseName:"error-dialog",styles:$.foundationErrorDialogStyles,template:$.errorDialogTemplate,shadowOptions:$.foundationErrorDialogShadowOptions}),Or=s.css`
1002
1002
  ${$.foundationFileUploadStyles}
1003
1003
  ::-webkit-scrollbar {
1004
1004
  width: 12px;
@@ -1015,9 +1015,9 @@
1015
1015
  background-color: var(--neutral-color);
1016
1016
  border: 3px solid rgb(31 33 38);
1017
1017
  }
1018
- `,Or=s.html`
1018
+ `,Mr=s.html`
1019
1019
  ${(0,$.getPrefixedFileUpload)("zero")}
1020
- `,Nr=$.defaultFileUploadConfig,$r=$.foundationFileUploadShadowOptions;class Rr extends $.FileUpload{}const jr=Rr.compose(Object.assign({baseName:"file-upload",shadowOptions:$r,styles:Mr,template:Or},Nr));var Ir=r(18471);const Er=s.html`
1020
+ `,Nr=$.defaultFileUploadConfig,$r=$.foundationFileUploadShadowOptions;class Rr extends $.FileUpload{}const jr=Rr.compose(Object.assign({baseName:"file-upload",shadowOptions:$r,styles:Or,template:Mr},Nr));var Ir=r(18471);const Er=s.html`
1021
1021
  <div class="close-icon" @click=${e=>e.clear()}>${(0,$.closeIcon)()}</div>
1022
1022
  `,Pr=s.html`
1023
1023
  <div class="flex-row">
@@ -1187,17 +1187,19 @@
1187
1187
  background-color: ${p.neutralFillHover};
1188
1188
  border-radius: 3px;
1189
1189
  }
1190
- `,nt=$.defaultFlyoutConfig,lt=$.foundationFlyoutShadowOptions;class gt extends $.Flyout{}const dt=gt.compose(Object.assign({baseName:"flyout",shadowOptions:lt,styles:it,template:$.foundationFlyoutTemplate},nt));class st extends $.GridLayout{}const ct=st.compose(Object.assign({baseName:"grid-layout",shadowOptions:$.foundationGridLayoutShadowOptions,styles:$.foundationGridLayoutStyles,template:$.foundationGridLayoutTemplate},$.defaultGridLayoutConfig));class pt extends $.GridLayoutItem{}const ut=pt.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:$.foundationGridLayoutItemShadowOptions,template:$.foundationGridLayoutItemTemplate},$.defaultGridLayoutItemConfig));class ht extends $.HorizontalScroll{}const mt=ht.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,$.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>s.css`
1190
+ `,nt=s.html`
1191
+ ${(0,$.getPrefixedFlyout)("zero")}
1192
+ `,lt=$.defaultFlyoutConfig,gt=$.foundationFlyoutShadowOptions;class dt extends $.Flyout{}const st=dt.compose(Object.assign({baseName:"flyout",shadowOptions:gt,styles:it,template:nt},lt));class ct extends $.GridLayout{}const pt=ct.compose(Object.assign({baseName:"grid-layout",shadowOptions:$.foundationGridLayoutShadowOptions,styles:$.foundationGridLayoutStyles,template:$.foundationGridLayoutTemplate},$.defaultGridLayoutConfig));class ut extends $.GridLayoutItem{}const ht=ut.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:$.foundationGridLayoutItemShadowOptions,template:$.foundationGridLayoutItemTemplate},$.defaultGridLayoutItemConfig));class mt extends $.HorizontalScroll{}const vt=mt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,$.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>s.css`
1191
1193
  ${(0,$.foundationHorizontalScrollStyles)(e,a)}
1192
- `,shadowOptions:$.foundationHorizontalScrollShadowOptions},$.defaultHorizontalScrollConfig));class vt extends $.Icon{}const bt=$.defaultIconConfig,ft=$.foundationIconShadowOptions,wt=vt.compose(Object.assign({baseName:"icon",template:$.foundationIconTemplate,styles:(e,a)=>s.css`
1194
+ `,shadowOptions:$.foundationHorizontalScrollShadowOptions},$.defaultHorizontalScrollConfig));class bt extends $.Icon{}const ft=$.defaultIconConfig,wt=$.foundationIconShadowOptions,yt=bt.compose(Object.assign({baseName:"icon",template:$.foundationIconTemplate,styles:(e,a)=>s.css`
1193
1195
  ${(0,$.foundationIconStyles)(e,a)}
1194
- `,shadowOptions:ft},bt));class yt extends $.Listbox{}const xt=yt.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,$.foundationListboxTemplate)(e,a),styles:(e,a)=>s.css`
1196
+ `,shadowOptions:wt},ft));class xt extends $.Listbox{}const zt=xt.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,$.foundationListboxTemplate)(e,a),styles:(e,a)=>s.css`
1195
1197
  ${(0,$.foundationListboxStyles)(e,a)}
1196
1198
 
1197
1199
  :host {
1198
1200
  background: #1f2126;
1199
1201
  }
1200
- `,shadowOptions:$.foundationListboxShadowOptions},$.defaultListboxConfig));class zt extends $.ListboxOption{}const kt=zt.compose(Object.assign({baseName:"option",template:(e,a)=>(0,$.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>s.css`
1202
+ `,shadowOptions:$.foundationListboxShadowOptions},$.defaultListboxConfig));class kt extends $.ListboxOption{}const St=kt.compose(Object.assign({baseName:"option",template:(e,a)=>(0,$.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>s.css`
1201
1203
  ${(0,$.foundationListboxOptionStyles)(e,a)}
1202
1204
  :host {
1203
1205
  background-color: ${ie.darkGrey};
@@ -1214,22 +1216,22 @@
1214
1216
  background-color: ${ie.darkerGrey};
1215
1217
  color: ${ne.blue};
1216
1218
  }
1217
- `,shadowOptions:$.foundationListboxOptionShadowOptions},$.defaultListboxOptionConfig)),St=$.foundationMenuShadowOptions;class Ct extends $.Menu{}const At=Ct.compose({baseName:"menu",template:$.foundationMenuTemplate,styles:(e,a)=>s.css`
1219
+ `,shadowOptions:$.foundationListboxOptionShadowOptions},$.defaultListboxOptionConfig)),Ct=$.foundationMenuShadowOptions;class At extends $.Menu{}const Tt=At.compose({baseName:"menu",template:$.foundationMenuTemplate,styles:(e,a)=>s.css`
1218
1220
  ${(0,$.foundationMenuStyles)(e,a)}
1219
1221
 
1220
1222
  :host {
1221
1223
  padding: 0;
1222
1224
  }
1223
- `,shadowOptions:St}),Tt=$.foundationMenuItemShadowOptions;class Ft extends $.MenuItem{}const Dt=Ft.compose(Object.assign({baseName:"menu-item",template:$.foundationMenuItemTemplate,styles:(e,a)=>s.css`
1225
+ `,shadowOptions:Ct}),Ft=$.foundationMenuItemShadowOptions;class Dt extends $.MenuItem{}const Lt=Dt.compose(Object.assign({baseName:"menu-item",template:$.foundationMenuItemTemplate,styles:(e,a)=>s.css`
1224
1226
  ${(0,$.foundationMenuItemStyles)(e,a)}
1225
1227
 
1226
1228
  :host {
1227
1229
  background: none;
1228
1230
  margin: 0;
1229
1231
  }
1230
- `,shadowOptions:Tt},$.defaultMenuItemConfig)),Lt=s.css`
1232
+ `,shadowOptions:Ft},$.defaultMenuItemConfig)),Ot=s.css`
1231
1233
  ${cr}
1232
- `,Mt=$.defaultModalConfig,Ot=$.foundationModalTemplate,Nt=$.foundationModalShadowOptions;class $t extends $.Modal{}const Rt=$t.compose(Object.assign({baseName:"modal",shadowOptions:Nt,styles:Lt,template:Ot},Mt)),jt=s.css`
1234
+ `,Mt=$.defaultModalConfig,Nt=$.foundationModalTemplate,$t=$.foundationModalShadowOptions;class Rt extends $.Modal{}const jt=Rt.compose(Object.assign({baseName:"modal",shadowOptions:$t,styles:Ot,template:Nt},Mt)),It=s.css`
1233
1235
  ${$.multiselectStyles}
1234
1236
 
1235
1237
  :host {
@@ -1285,9 +1287,9 @@
1285
1287
  .label {
1286
1288
  color: ${Ua};
1287
1289
  }
1288
- `,It=s.html`
1290
+ `,Et=s.html`
1289
1291
  ${(0,$.getPrefixedMultiselect)("zero")}
1290
- `;class Et extends $.Multiselect{}const Pt=$.defaultMultiselectConfig,Ut=$.foundationMultiselectShadowOptions,Bt=Et.compose(Object.assign({baseName:"multiselect",template:It,styles:jt,shadowOptions:Ut},Pt));class Gt extends $.NotificationListener{}const _t=Gt.compose({baseName:"notification-listener",template:$.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Ht=(e,a)=>s.css`
1292
+ `;class Pt extends $.Multiselect{}const Ut=$.defaultMultiselectConfig,Bt=$.foundationMultiselectShadowOptions,Gt=Pt.compose(Object.assign({baseName:"multiselect",template:Et,styles:It,shadowOptions:Bt},Ut));class _t extends $.NotificationListener{}const Ht=_t.compose({baseName:"notification-listener",template:$.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Yt=(e,a)=>s.css`
1291
1293
  ${(0,$.foundationTextFieldStyles)(e,a)}
1292
1294
  :host {
1293
1295
  --primary-gradient-angle: -113.5deg;
@@ -1335,12 +1337,12 @@
1335
1337
  color: ${Ua};
1336
1338
  margin: calc(var(--design-unit) * 2px) 0;
1337
1339
  }
1338
- `;class Yt extends $.NumberField{}const Vt=$.defaultNumberFieldConfig,Qt=$.foundationNumberFieldTemplate,Wt=$.foundationNumberFieldShadowOptions,qt=Yt.compose(Object.assign({baseName:"number-field",template:Qt,styles:(e,a)=>s.css`
1340
+ `;class Vt extends $.NumberField{}const Qt=$.defaultNumberFieldConfig,Wt=$.foundationNumberFieldTemplate,qt=$.foundationNumberFieldShadowOptions,Jt=Vt.compose(Object.assign({baseName:"number-field",template:Wt,styles:(e,a)=>s.css`
1339
1341
  :host .root {
1340
1342
  --focus-stroke-outer: transparent;
1341
1343
  }
1342
- ${Ht(e,a)}
1343
- `,shadowOptions:Wt},Vt));class Jt extends $.Progress{}const Zt=Jt.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,$.foundationProgressTemplate)(e,a),styles:(e,a)=>s.css`
1344
+ ${Yt(e,a)}
1345
+ `,shadowOptions:qt},Qt));class Zt extends $.Progress{}const Kt=Zt.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,$.foundationProgressTemplate)(e,a),styles:(e,a)=>s.css`
1344
1346
  ${(0,$.foundationProgressStyles)(e,a)}
1345
1347
  :host([appearance="secondary-teal"]) {
1346
1348
  --accent-foreground-rest: ${le.teal};
@@ -1349,7 +1351,7 @@
1349
1351
  :host([appearance='secondary-orange']) {
1350
1352
  --accent-foreground-rest: ${le.orange};
1351
1353
  }
1352
- `,shadowOptions:$.foundationProgressShadowOptions},$.defaultProgressConfig));class Kt extends $.ProgressRing{}const Xt={indeterminateIndicator:`\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <defs>\n <linearGradient id="linear">\n <stop offset="0%" stop-color="${ne.purple}"/>\n <stop offset="100%" stop-color="${ne.blue}"/>\n </linearGradient>\n </defs>\n <circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle>\n <circle class="indeterminate-indicator-1" part="indeterminate-indicator-1" cx="8px" cy="8px" r="7px"></circle>\n </svg>\n `},eo=Kt.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>s.html`
1354
+ `,shadowOptions:$.foundationProgressShadowOptions},$.defaultProgressConfig));class Xt extends $.ProgressRing{}const eo={indeterminateIndicator:`\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <defs>\n <linearGradient id="linear">\n <stop offset="0%" stop-color="${ne.purple}"/>\n <stop offset="100%" stop-color="${ne.blue}"/>\n </linearGradient>\n </defs>\n <circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle>\n <circle class="indeterminate-indicator-1" part="indeterminate-indicator-1" cx="8px" cy="8px" r="7px"></circle>\n </svg>\n `},ao=Xt.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>s.html`
1353
1355
  <template
1354
1356
  role="progressbar"
1355
1357
  aria-valuenow="${e=>e.value}"
@@ -1387,7 +1389,7 @@
1387
1389
  .indeterminate-indicator-1, .determinate {
1388
1390
  stroke: ${"url(#linear)"};
1389
1391
  }
1390
- `,shadowOptions:$.foundationProgressRingShadowOptions},Xt));class ao extends $.Radio{}const ro=ao.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,$.foundationRadioTemplate)(e,a),styles:(e,a)=>s.css`
1392
+ `,shadowOptions:$.foundationProgressRingShadowOptions},eo));class ro extends $.Radio{}const to=ro.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,$.foundationRadioTemplate)(e,a),styles:(e,a)=>s.css`
1391
1393
  ${(0,$.foundationRadioStyles)(e,a)}
1392
1394
  :host {
1393
1395
  --primary-gradient-angle: -113.5deg;
@@ -1419,12 +1421,12 @@
1419
1421
  ${ne.purple}
1420
1422
  );
1421
1423
  }
1422
- `,shadowOptions:$.foundationRadioShadowOptions},$.defaultRadioConfig));class to extends $.RadioGroup{}const oo=to.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,$.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>s.css`
1424
+ `,shadowOptions:$.foundationRadioShadowOptions},$.defaultRadioConfig));class oo extends $.RadioGroup{}const io=oo.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,$.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>s.css`
1423
1425
  ${(0,$.foundationRadioGroupStyles)(e,a)}
1424
1426
  :host([appearance="accent"]) {
1425
1427
  background: green;
1426
1428
  }
1427
- `,shadowOptions:$.foundationRadioGroupShadowOptions},$.defaultRadioGroupConfig));class io extends $.SegmentedControl{}const no=io.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,$.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>s.css`
1429
+ `,shadowOptions:$.foundationRadioGroupShadowOptions},$.defaultRadioGroupConfig));class no extends $.SegmentedControl{}const lo=no.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,$.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>s.css`
1428
1430
  ${(0,$.foundationSegmentedControlStyles)(e,a)}
1429
1431
  :host {
1430
1432
  --primary-gradient-angle: -113.5deg;
@@ -1463,7 +1465,7 @@
1463
1465
  border-color: transparent;
1464
1466
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
1465
1467
  }
1466
- `,shadowOptions:undefined},{}));class lo extends $.Radio{}const go=lo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,$.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>s.css`
1468
+ `,shadowOptions:undefined},{}));class go extends $.Radio{}const so=go.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,$.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>s.css`
1467
1469
  ${(0,$.foundationSegmentedItemStyles)(e,a)}
1468
1470
  :host {
1469
1471
  color: var(--neutral-stroke-rest);
@@ -1473,7 +1475,7 @@
1473
1475
  :host([aria-checked='true']) {
1474
1476
  color: ${ie.white};
1475
1477
  }
1476
- `,shadowOptions:undefined},{}));class so extends $.Select{}const co=so.compose(Object.assign({baseName:"select",template:(e,a)=>(0,$.foundationSelectTemplate)(e,a),styles:(e,a)=>s.css`
1478
+ `,shadowOptions:undefined},{}));class co extends $.Select{}const po=co.compose(Object.assign({baseName:"select",template:(e,a)=>(0,$.foundationSelectTemplate)(e,a),styles:(e,a)=>s.css`
1477
1479
  ${(0,$.foundationSelectStyles)(e,a)}
1478
1480
  :host {
1479
1481
  --primary-gradient-angle: -113.5deg;
@@ -1523,9 +1525,9 @@
1523
1525
  :host(:not([disabled])) .control:active {
1524
1526
  background: none;
1525
1527
  }
1526
- `,shadowOptions:$.foundationSelectShadowOptions},$.defaultSelectConfig));class po extends $.Skeleton{}const uo=po.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,$.foundationSkeletonTemplate)(e,a),styles:(e,a)=>s.css`
1528
+ `,shadowOptions:$.foundationSelectShadowOptions},$.defaultSelectConfig));class uo extends $.Skeleton{}const ho=uo.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,$.foundationSkeletonTemplate)(e,a),styles:(e,a)=>s.css`
1527
1529
  ${(0,$.foundationSkeletonStyles)(e,a)}
1528
- `,shadowOptions:$.foundationSkeletonShadowOptions},$.defaultSkeletonConfig));class ho extends $.Slider{}const mo=ho.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,$.foundationSliderTemplate)(e,a),styles:(e,a)=>s.css`
1530
+ `,shadowOptions:$.foundationSkeletonShadowOptions},$.defaultSkeletonConfig));class mo extends $.Slider{}const vo=mo.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,$.foundationSliderTemplate)(e,a),styles:(e,a)=>s.css`
1529
1531
  ${(0,$.foundationSliderStyles)(e,a)}
1530
1532
  :host {
1531
1533
  --primary-gradient-angle: -113.5deg;
@@ -1582,7 +1584,7 @@
1582
1584
  .track-progress {
1583
1585
  background-color: var(--neutral-stroke-rest);
1584
1586
  }
1585
- `,shadowOptions:$.foundationSliderShadowOptions},$.defaultSliderConfig));class vo extends $.SliderLabel{}const bo=vo.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,$.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>s.css`
1587
+ `,shadowOptions:$.foundationSliderShadowOptions},$.defaultSliderConfig));class bo extends $.SliderLabel{}const fo=bo.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,$.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>s.css`
1586
1588
  ${(0,$.foundationSliderLabelStyles)(e,a)}
1587
1589
  .label {
1588
1590
  padding: 6px 8px;
@@ -1593,7 +1595,7 @@
1593
1595
  text-align: center;
1594
1596
  font-size: var(--type-ramp-minus-1-font-size, 12px);
1595
1597
  }
1596
- `,shadowOptions:$.foundationSliderLabelShadowOptions},$.defaultSliderLabelConfig)),fo=s.css`
1598
+ `,shadowOptions:$.foundationSliderLabelShadowOptions},$.defaultSliderLabelConfig)),wo=s.css`
1597
1599
  ${$.foundationSnackbarStyles}
1598
1600
  .snackbar {
1599
1601
  border: calc(var(--stroke-width) * 1px) solid ${p.neutralLayer2};
@@ -1603,7 +1605,7 @@
1603
1605
  :host([type='error']) .snackbar::after {
1604
1606
  background-color: ${Je(1)};
1605
1607
  }
1606
- `,wo=s.html`
1608
+ `,yo=s.html`
1607
1609
  <div class="snackbar ${e=>e.deleteAnimation}" ${(0,s.ref)("snackbar")}>
1608
1610
  <div part="content" class="content">
1609
1611
  <div>${e=>{var a;return(null===(a=e.error)||void 0===a?void 0:a.errorDetails)||"Place holder for error message"}}</div>
@@ -1620,7 +1622,7 @@
1620
1622
  `)}
1621
1623
  </div>
1622
1624
  </div>
1623
- `,yo=$.foundationSnackbarShadowOptions;class xo extends $.Snackbar{}const zo=xo.compose({baseName:"snackbar",shadowOptions:yo,styles:fo,template:wo});class ko extends $.Switch{}const So=ko.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,$.foundationSwitchTemplate)(e,a),styles:(e,a)=>s.css`
1625
+ `,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`
1624
1626
  ${(0,$.foundationSwitchStyles)(e,a)}
1625
1627
  :host {
1626
1628
  --primary-gradient-angle: -113.5deg;
@@ -1665,7 +1667,7 @@
1665
1667
  ${ne.purple}
1666
1668
  );
1667
1669
  }
1668
- `,shadowOptions:$.foundationSwitchShadowOptions},$.defaultSwitchConfig));class Co extends $.Tab{}const Ao=Co.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,$.foundationTabTemplate)(e,a),styles:(e,a)=>s.css`
1670
+ `,shadowOptions:$.foundationSwitchShadowOptions},$.defaultSwitchConfig));class Ao extends $.Tab{}const To=Ao.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,$.foundationTabTemplate)(e,a),styles:(e,a)=>s.css`
1669
1671
  ${(0,$.foundationTabStyles)(e,a)}
1670
1672
  :host {
1671
1673
  background-color: ${p.neutralLayer2};
@@ -1689,12 +1691,12 @@
1689
1691
  margin-right: 0;
1690
1692
  background-color: var(--zero-card-fill-color);
1691
1693
  }
1692
- `,shadowOptions:$.foundationTabShadowOptions},$.defaultTabConfig));class To extends $.TabPanel{}const Fo=To.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,$.foundationTabPanelTemplate)(e,a),styles:(e,a)=>s.css`
1694
+ `,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`
1693
1695
  ${(0,$.foundationTabPanelStyles)(e,a)}
1694
1696
  :host {
1695
1697
  padding: 0;
1696
1698
  }
1697
- `,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`
1699
+ `,shadowOptions:$.foundationTabPanelShadowOptions},$.defaultTabPanelConfig));class Lo extends $.Tabs{}const Oo=Lo.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,$.foundationTabsTemplate)(e,a),styles:(e,a)=>s.css`
1698
1700
  ${(0,$.foundationTabsStyles)(e,a)}
1699
1701
  :host .tablist {
1700
1702
  padding: 0;
@@ -1740,7 +1742,7 @@
1740
1742
  height: 2px;
1741
1743
  margin-top: 0;
1742
1744
  }
1743
- `,shadowOptions:$.foundationTabsShadowOptions},$.defaultTabsConfig));class Mo extends $.TextArea{}const Oo=Mo.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,$.foundationTextAreaTemplate)(e,a),styles:(e,a)=>s.css`
1745
+ `,shadowOptions:$.foundationTabsShadowOptions},$.defaultTabsConfig));class Mo extends $.TextArea{}const No=Mo.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,$.foundationTextAreaTemplate)(e,a),styles:(e,a)=>s.css`
1744
1746
  ${(0,$.foundationTextAreaStyles)(e,a)}
1745
1747
  :host {
1746
1748
  --primary-gradient-angle: -113.5deg;
@@ -1785,7 +1787,7 @@
1785
1787
  color: ${Ua};
1786
1788
  margin: calc(var(--design-unit) * 2px) 0;
1787
1789
  }
1788
- `,shadowOptions:$.foundationTextAreaShadowOptions},$.defaultTextAreaConfig));class No extends $.TextField{}const $o=No.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,$.foundationTextFieldTemplate)(e,a),styles:Ht,shadowOptions:$.foundationTextFieldShadowOptions},$.defaultTextFieldConfig)),Ro=s.css`
1790
+ `,shadowOptions:$.foundationTextAreaShadowOptions},$.defaultTextAreaConfig));class $o extends $.TextField{}const Ro=$o.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,$.foundationTextFieldTemplate)(e,a),styles:Yt,shadowOptions:$.foundationTextFieldShadowOptions},$.defaultTextFieldConfig)),jo=s.css`
1789
1791
  ${$.foundationToastStyles}
1790
1792
  .toast {
1791
1793
  border: calc(var(--stroke-width) * 1px) solid ${p.neutralLayer3};
@@ -1811,11 +1813,11 @@
1811
1813
  :host([notify='serious']) .toast::after {
1812
1814
  background-color: ${Ye(1)};
1813
1815
  }
1814
- `,jo=$.defaultToastConfig,Io=$.foundationToastShadowOptions;class Eo extends $.Toast{}const Po=Eo.compose(Object.assign({baseName:"toast",shadowOptions:Io,styles:Ro,template:$.foundationToastTemplate},jo));class Uo extends $.Toolbar{}const Bo=Uo.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,$.foundationToolbarTemplate)(e,a),styles:(e,a)=>s.css`
1816
+ `,Io=$.defaultToastConfig,Eo=$.foundationToastShadowOptions;class Po extends $.Toast{}const Uo=Po.compose(Object.assign({baseName:"toast",shadowOptions:Eo,styles:jo,template:$.foundationToastTemplate},Io));class Bo extends $.Toolbar{}const Go=Bo.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,$.foundationToolbarTemplate)(e,a),styles:(e,a)=>s.css`
1815
1817
  ${(0,$.foundationToolbarStyles)(e,a)}
1816
- `,shadowOptions:$.foundationToolbarShadowOptions},$.defaultToolbarConfig));class Go extends $.Tooltip{}const _o=Go.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,$.foundationTooltipTemplate)(e,a),styles:(e,a)=>s.css`
1818
+ `,shadowOptions:$.foundationToolbarShadowOptions},$.defaultToolbarConfig));class _o extends $.Tooltip{}const Ho=_o.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,$.foundationTooltipTemplate)(e,a),styles:(e,a)=>s.css`
1817
1819
  ${(0,$.foundationTooltipStyles)(e,a)}
1818
- `,shadowOptions:$.foundationTooltipShadowOptions},$.defaultTooltipConfig));class Ho extends $.TreeItem{}const Yo=Ho.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,$.foundationTreeItemTemplate)(e,a),styles:(e,a)=>s.css`
1820
+ `,shadowOptions:$.foundationTooltipShadowOptions},$.defaultTooltipConfig));class Yo extends $.TreeItem{}const Vo=Yo.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,$.foundationTreeItemTemplate)(e,a),styles:(e,a)=>s.css`
1819
1821
  ${(0,$.foundationTreeItemStyles)(e,a)}
1820
1822
  :host {
1821
1823
  --primary-gradient-angle: -113.5deg;
@@ -1843,9 +1845,9 @@
1843
1845
  background-size: cover;
1844
1846
  background-repeat: no-repeat;
1845
1847
  }
1846
- `,shadowOptions:$.foundationTreeItemShadowOptions},$.defaultTreeItemConfig));class Vo extends $.TreeView{}const Qo=Vo.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,$.foundationTreeViewTemplate)(e,a),styles:(e,a)=>s.css`
1848
+ `,shadowOptions:$.foundationTreeItemShadowOptions},$.defaultTreeItemConfig));class Qo extends $.TreeView{}const Wo=Qo.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,$.foundationTreeViewTemplate)(e,a),styles:(e,a)=>s.css`
1847
1849
  ${(0,$.foundationTreeViewStyles)(e,a)}
1848
- `,shadowOptions:$.foundationTreeViewShadowOptions},$.defaultTreeViewConfig)),Wo=s.html`
1850
+ `,shadowOptions:$.foundationTreeViewShadowOptions},$.defaultTreeViewConfig)),qo=s.html`
1849
1851
  <div class="container" value=${e=>e.value}>
1850
1852
  <zero-text-field
1851
1853
  class="url-input"
@@ -1861,7 +1863,7 @@
1861
1863
  <a class="url-input-link" href=${e=>e.value} target="_blank">${e=>e.value}</a>
1862
1864
  `)}
1863
1865
  </div>
1864
- `;class qo 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],qo.prototype,"value",void 0),(0,tr.__decorate)([s.observable],qo.prototype,"focused",void 0);const Jo={zeroAccordion:Te,zeroAccordionItem:De,zeroActionsMenu:Me,zeroAnchor:pa,zeroAnchoredRegion:ha,zeroAvatar:va,zeroBadge:fa,zeroBanner:za,zeroBreadcrumbItem:Aa,zeroBreadcrumb:Sa,zeroButton:Fa,zeroCalendar:La,zeroCard:Oa,zeroCheckbox:$a,zeroCombobox:Qa,zeroConnectionIndicator:qa,zeroDataGrid:Xa,zeroDesignSystemProvider:gr,zeroDialog:vr,zeroDatePicker:rr,zeroDisclosure:fr,zeroDivider:yr,zeroDropdownMenu:zr,zeroErrorBoundary:Fr,zeroNotificationListener:_t,zeroErrorBanner:Ar,zeroErrorDialog:Lr,zeroFileUpload:jr,zeroFilter:Wr,zeroFilterBar:et,zeroFlexLayout:rt,zeroFlipper:ot,zeroFlyout:dt,zeroGridLayout:ct,zeroGridLayoutItem:ut,zeroHorizontalScroll:mt,zeroIcon:wt,zeroListbox:xt,zeroListboxOption:kt,zeroMenu:At,zeroMenuItem:Dt,zeroModal:Rt,zeroMultiselect:Bt,zeroNumberField:qt,zeroProgress:Zt,zeroProgressRing:eo,zeroRadio:ro,zeroRadioGroup:oo,zeroSegmentedControl:no,zeroSegmentedItem:go,zeroSelect:co,zeroSkeleton:uo,zeroSlider:mo,zeroSliderLabel:bo,zeroSnackbar:zo,zeroSwitch:So,zeroTab:Ao,zeroTabPanel:Fo,zeroTabs:Lo,zeroTextArea:Oo,zeroTextField:$o,zeroToast:Po,zeroToolbar:Bo,zeroTooltip:_o,zeroTreeItem:Yo,zeroTreeView:Qo,zeroUrlInput:qo.compose(Object.assign({baseName:"url-input",template:Wo,styles:(e,a)=>s.css`
1866
+ `;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:Oe,zeroAnchor:pa,zeroAnchoredRegion:ha,zeroAvatar:va,zeroBadge:fa,zeroBanner:za,zeroBreadcrumbItem:Aa,zeroBreadcrumb:Sa,zeroButton:Fa,zeroCalendar:La,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:Lr,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:Lt,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:Oo,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`
1865
1867
  ${(0,$.foundationUrlInputStyles)(e,a)}
1866
1868
  a {
1867
1869
  color: ${ne.blue};
@@ -1871,7 +1873,7 @@
1871
1873
  a:hover {
1872
1874
  opacity: 100%;
1873
1875
  }
1874
- `,shadowOptions:$.foundationUrlInputShadowOptions},$.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Zo=r(80249);const Ko=(0,g.createLogger)("grid-pro");class Xo extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return this.params=e,!0}isDisabled(e){var a;if("function"==typeof(null===(a=this.params)||void 0===a?void 0:a.isDisabled))try{return this.params.isDisabled(e)}catch(e){Ko.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Zo.__awaiter)(this,void 0,void 0,(function*(){this.pendingAction=!0,yield this.params.actionClick(this.params.data),this.pendingAction=!1}))}get dataTestId(){var e;if(this.params.dataTestId)return this.params.dataTestId+(null!==(e=this.params.data[this.params.uniqueFieldName])&&void 0!==e?e:"")}}(0,Zo.__decorate)([s.observable],Xo.prototype,"params",void 0),(0,Zo.__decorate)([s.observable],Xo.prototype,"pendingAction",void 0);const{create:ei}=c.DesignToken,ai=(ei("action-height-multiplier").withDefault("0.6px"),s.css`
1876
+ `,shadowOptions:$.foundationUrlInputShadowOptions},$.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Ko=r(80249);const Xo=(0,g.createLogger)("grid-pro");class ei extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return this.params=e,!0}isDisabled(e){var a;if("function"==typeof(null===(a=this.params)||void 0===a?void 0:a.isDisabled))try{return this.params.isDisabled(e)}catch(e){Xo.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Ko.__awaiter)(this,void 0,void 0,(function*(){this.pendingAction=!0,yield this.params.actionClick(this.params.data),this.pendingAction=!1}))}get dataTestId(){var e;if(this.params.dataTestId)return this.params.dataTestId+(null!==(e=this.params.data[this.params.uniqueFieldName])&&void 0!==e?e:"")}}(0,Ko.__decorate)([s.observable],ei.prototype,"params",void 0),(0,Ko.__decorate)([s.observable],ei.prototype,"pendingAction",void 0);const{create:ai}=c.DesignToken,ri=(ai("action-height-multiplier").withDefault("0.6px"),s.css`
1875
1877
  .action-container {
1876
1878
  align-items: center;
1877
1879
  display: flex;
@@ -1886,8 +1888,8 @@
1886
1888
  var(--action-height-multiplier)
1887
1889
  );
1888
1890
  }
1889
- `),ri=Xo.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1890
- ${ai}
1891
+ `),ti=ei.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1892
+ ${ri}
1891
1893
  `,template:s.html`
1892
1894
  <div class="action-container" part="action-container">
1893
1895
  <foundation-button
@@ -1897,8 +1899,8 @@
1897
1899
  ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
1898
1900
  appearance="${e=>e.params.appearance}"
1899
1901
  @click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
1900
- </div>`});class ti extends Xo{}const oi=ti.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1901
- ${ai}
1902
+ </div>`});class oi extends ei{}const ii=oi.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1903
+ ${ri}
1902
1904
  `,template:s.html`
1903
1905
  <div class="action-container" part="action-container">
1904
1906
  <zero-button
@@ -1914,29 +1916,29 @@
1914
1916
  `:e.params.actionName}
1915
1917
  </zero-button>
1916
1918
  </div>
1917
- `});class ii extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Zo.__decorate)([s.observable],ii.prototype,"params",void 0);const ni=ii.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1919
+ `});class ni extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Ko.__decorate)([s.observable],ni.prototype,"params",void 0);const li=ni.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1918
1920
  <foundation-actions-menu
1919
1921
  name="${e=>e.params.headerName}"
1920
1922
  :definition=${e=>e.params}
1921
1923
  ></foundation-actions-menu>
1922
- `});class li extends ii{}const gi=li.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1924
+ `});class gi extends ni{}const di=gi.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1923
1925
  <zero-actions-menu
1924
1926
  name="${e=>e.params.headerName}"
1925
1927
  :definition=${e=>e.params}
1926
1928
  ></zero-actions-menu>
1927
- `});class di extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Zo.__decorate)([s.observable],di.prototype,"params",void 0);const si=s.css`
1929
+ `});class si extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Ko.__decorate)([s.observable],si.prototype,"params",void 0);const ci=s.css`
1928
1930
  :host {
1929
1931
  align-center: center;
1930
1932
  display: flex;
1931
1933
  height: 100%;
1932
1934
  }
1933
- `,ci=(e="foundation")=>{const a=`${e}-checkbox`;return s.html`
1935
+ `,pi=(e="foundation")=>{const a=`${e}-checkbox`;return s.html`
1934
1936
  <${a}
1935
1937
  @change="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.changeHandler(e.params)}}"
1936
1938
  checked="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.value}}"
1937
1939
  readonly="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.readonly}}"
1938
1940
  ></${a}>
1939
- `},pi=di.compose({baseName:"boolean-renderer",styles:si,template:ci()});class ui extends di{}const hi=ui.compose({baseName:"boolean-renderer",styles:si,template:ci("zero")}),mi=(e,a)=>{if(a.indexOf(".")<0)return e[a];{const r=a.split(".");let t=e;for(;r.length>0&&t;){const e=r.shift();if(0===r.length)return t[e];t=t[e]}}};class vi extends c.FoundationElement{constructor(){super(...arguments),this.textValue="",this.textChanged=e=>{this.textValue=e.target.value,this.params.onChange(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.textValue=""===this.textValue?mi(null===(a=null==e?void 0:e.node)||void 0===a?void 0:a.data,e.accessor):this.textValue)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Zo.__decorate)([s.observable],vi.prototype,"textValue",void 0),(0,Zo.__decorate)([s.observable],vi.prototype,"params",void 0);const bi=s.css`
1941
+ `},ui=si.compose({baseName:"boolean-renderer",styles:ci,template:pi()});class hi extends si{}const mi=hi.compose({baseName:"boolean-renderer",styles:ci,template:pi("zero")}),vi=(e,a)=>{if(a.indexOf(".")<0)return e[a];{const r=a.split(".");let t=e;for(;r.length>0&&t;){const e=r.shift();if(0===r.length)return t[e];t=t[e]}}};class bi extends c.FoundationElement{constructor(){super(...arguments),this.textValue="",this.textChanged=e=>{this.textValue=e.target.value,this.params.onChange(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.textValue=""===this.textValue?vi(null===(a=null==e?void 0:e.node)||void 0===a?void 0:a.data,e.accessor):this.textValue)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Ko.__decorate)([s.observable],bi.prototype,"textValue",void 0),(0,Ko.__decorate)([s.observable],bi.prototype,"params",void 0);const fi=s.css`
1940
1942
  :host {
1941
1943
  display: flex;
1942
1944
  width: 100%;
@@ -1946,7 +1948,7 @@
1946
1948
  .text-renderer {
1947
1949
  width: 100%;
1948
1950
  }
1949
- `,fi=(e="foundation")=>{const a=`${e}-text-field`;return s.html`
1951
+ `,wi=(e="foundation")=>{const a=`${e}-text-field`;return s.html`
1950
1952
  <${a}
1951
1953
  ${(0,s.ref)("textField")}
1952
1954
  type="text"
@@ -1954,7 +1956,7 @@
1954
1956
  :value="${(0,Ir.Z)((e=>e.textValue))}"
1955
1957
  @change="${(e,a)=>e.textChanged(a.event)}"
1956
1958
  ></${a}>
1957
- `},wi=vi.compose({baseName:"grid-pro-text-renderer",styles:bi,template:fi()});class yi extends vi{}const xi=bi,zi=fi,ki=yi.compose({baseName:"grid-text-renderer",styles:xi,template:zi()});const Si=class extends yi{}.compose({baseName:"grid-text-renderer",styles:xi,template:zi("zero")});class Ci extends c.FoundationElement{constructor(){super(...arguments),this.selectionChanged=e=>{this.value=e.target.value,this.params.onSelect(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.value=mi(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Zo.__decorate)([s.observable],Ci.prototype,"params",void 0),(0,Zo.__decorate)([s.observable],Ci.prototype,"value",void 0);const Ai=s.css`
1959
+ `},yi=bi.compose({baseName:"grid-pro-text-renderer",styles:fi,template:wi()});class xi extends bi{}const zi=fi,ki=wi,Si=xi.compose({baseName:"grid-text-renderer",styles:zi,template:ki()});const Ci=class extends xi{}.compose({baseName:"grid-text-renderer",styles:zi,template:ki("zero")});class Ai extends c.FoundationElement{constructor(){super(...arguments),this.selectionChanged=e=>{this.value=e.target.value,this.params.onSelect(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.value=vi(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Ko.__decorate)([s.observable],Ai.prototype,"params",void 0),(0,Ko.__decorate)([s.observable],Ai.prototype,"value",void 0);const Ti=s.css`
1958
1960
  :host,
1959
1961
  .select-renderer,
1960
1962
  zero-option,
@@ -1963,7 +1965,7 @@
1963
1965
  max-width: var(--select-renderer-max-width);
1964
1966
  min-width: 100%;
1965
1967
  }
1966
- `,Ti=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return s.html`
1968
+ `,Fi=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return s.html`
1967
1969
  <${a}
1968
1970
  class="select-renderer"
1969
1971
  @change=${(e,a)=>e.selectionChanged(a.event)}
@@ -1979,19 +1981,19 @@
1979
1981
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
1980
1982
  `)}
1981
1983
  </${a}>
1982
- `},Fi=Ci.compose({baseName:"select-renderer",styles:Ai,template:Ti()});const Di=class extends Ci{}.compose({baseName:"select-renderer",styles:Ai,template:Ti("zero")});var Li=r(89861),Mi=r(59783),Oi=r(86534),Ni=r(75527),$i=r(9492);const Ri=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,$i.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,$i.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,$i.__classPrivateFieldGet)(this,r,"f")._key&&!((0,$i.__classPrivateFieldGet)(this,r,"f").dragging||!(0,$i.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,$i.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,$i.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,$i.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,$i.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,$i.__classPrivateFieldGet)(this,o,"f")&&((0,$i.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,$i.__classPrivateFieldGet)(this,r,"f").dragging||!(0,$i.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,$i.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,$i.__classPrivateFieldGet)(this,r,"f")._key&&(0,$i.__classPrivateFieldSet)(this,r,(0,$i.__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,$i.__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,$i.__classPrivateFieldGet)(this,t,"f")!==(0,$i.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,$i.__classPrivateFieldSet)(this,t,null!==(a=(0,$i.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,$i.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,$i.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,$i.__classPrivateFieldSet)(this,t,null!==(o=(0,$i.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,$i.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){if(!0===r.getRootNode()[ji])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,$i.__classPrivateFieldGet)(this,a,"m",e).call(this,t)},d},ji=Symbol("layout-cache-document");var Ii=r(88556);const Ei=s.html`
1984
+ `},Di=Ai.compose({baseName:"select-renderer",styles:Ti,template:Fi()});const Li=class extends Ai{}.compose({baseName:"select-renderer",styles:Ti,template:Fi("zero")});var Oi=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`
1983
1985
  <template>
1984
1986
  <slot ${(0,s.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
1985
1987
  </template>
1986
- `;let Pi=class extends c.FoundationElement{connectedCallback(){super.connectedCallback();const e=this.parentElement;this.renderer&&(e.definition.cellRenderer=this.renderer),this.rendererParams&&(e.definition.cellRendererParams=this.rendererParams)}init(e){this.rendererParams=e}getGui(){return"string"!=typeof this.renderer?this.renderer(this.rendererParams):this}destroy(){}refresh(e){return!1}slottedAgRendererChanged(){}};(0,Zo.__decorate)([s.observable],Pi.prototype,"renderer",void 0),(0,Zo.__decorate)([s.observable],Pi.prototype,"rendererParams",void 0),(0,Zo.__decorate)([s.observable],Pi.prototype,"slottedRenderer",void 0),Pi=(0,Zo.__decorate)([(0,s.customElement)({name:"grid-pro-cell",template:Ei})],Pi);const Ui=s.html`
1988
+ `;let Ui=class extends c.FoundationElement{connectedCallback(){super.connectedCallback();const e=this.parentElement;this.renderer&&(e.definition.cellRenderer=this.renderer),this.rendererParams&&(e.definition.cellRendererParams=this.rendererParams)}init(e){this.rendererParams=e}getGui(){return"string"!=typeof this.renderer?this.renderer(this.rendererParams):this}destroy(){}refresh(e){return!1}slottedAgRendererChanged(){}};(0,Ko.__decorate)([s.observable],Ui.prototype,"renderer",void 0),(0,Ko.__decorate)([s.observable],Ui.prototype,"rendererParams",void 0),(0,Ko.__decorate)([s.observable],Ui.prototype,"slottedRenderer",void 0),Ui=(0,Ko.__decorate)([(0,s.customElement)({name:"grid-pro-cell",template:Pi})],Ui);const Bi=s.html`
1987
1989
  <template>
1988
1990
  <slot ${(0,s.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
1989
1991
  </template>
1990
- `;let Bi=class extends c.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};var Gi,_i;(0,Zo.__decorate)([s.observable],Bi.prototype,"slottedAgCell",void 0),(0,Zo.__decorate)([s.observable],Bi.prototype,"definition",void 0),Bi=(0,Zo.__decorate)([(0,s.customElement)({name:"grid-pro-column",template:Ui})],Bi),function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(Gi||(Gi={})),function(e){e.alpine="ag-theme-alpine",e.alpineDark="ag-theme-alpine-dark",e.balham="ag-theme-balham",e.balhamDark="ag-theme-balham-dark",e.material="ag-theme-material"}(_i||(_i={}));const Hi=e=>`${e}-token-map`,Yi=(e,a)=>s.css`
1991
- .${Hi(e)} {
1992
+ `;let Gi=class extends c.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};var _i,Hi;(0,Ko.__decorate)([s.observable],Gi.prototype,"slottedAgCell",void 0),(0,Ko.__decorate)([s.observable],Gi.prototype,"definition",void 0),Gi=(0,Ko.__decorate)([(0,s.customElement)({name:"grid-pro-column",template:Bi})],Gi),function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(_i||(_i={})),function(e){e.alpine="ag-theme-alpine",e.alpineDark="ag-theme-alpine-dark",e.balham="ag-theme-balham",e.balhamDark="ag-theme-balham-dark",e.material="ag-theme-material"}(Hi||(Hi={}));const Yi=e=>`${e}-token-map`,Vi=(e,a)=>s.css`
1993
+ .${Yi(e)} {
1992
1994
  ${new $.CSSVarsTokenMapper(a)}
1993
1995
  }
1994
- `;var Vi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.text="text",e.select="select"}(Vi||(Vi={}));const Qi='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLAyetqNuvUi9cwsEiSVfknTKJKFwXJEifKEg4TRaVoTf9KidqWxWTaM4Qhckx5sC9WV2VzEdYip117wlE4pFNoTH6pLaKlnSP3jkqCOWFb04+eok58yIR6Fpbc7h7VYskIzvBi/sbie0gREpS0BX75I92Tzz1WaffwH8gR5tNGv6Ou1SeWdaN1SV9UZT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gE3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Wi='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvD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Y6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',qi={[_i.alpine]:Qi,[_i.alpineDark]:Qi,[_i.balham]:Wi,[_i.balhamDark]:Wi,[_i.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU8jcamQigXK1UFkBoXGOSirP22bKJBeriEyKFKLF7ApHF2cslXcTZUOdQ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U7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Ji=Qi;var Zi=r(82940),Ki=r(32449),Xi=r(9162),en=r(5127),an=r(83123),rn=r(35991),tn=r(6852),on=r(26714),nn=r(71452),ln=r(99449),gn=r(30526),dn=r(21607);function sn(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function cn({value:e}){return(0,dn.D_)(e)}function pn({value:e}){return(0,dn.Lx)(e)}var un;!function(e){e.Add="add",e.Update="update",e.Remove="remove"}(un||(un={}));let hn=class extends(Ri(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Zi.WJ.MAX_ROWS_250,this.maxView=Zi.WJ.MAX_VIEW_1000,this.movingView=!1,this.pollingInterval=Zi.WJ.REQ_REP_POLLING_INTERVAL_MS,this.reverse=!1,this.restartOnReconnection=!1,this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new on.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Ki.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;s.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;s.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.request=structuredClone(this.request),e}get agGrid(){return this.parentElement}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Zi.WJ.REQUEST_SERVER_ROW_ID:Zi.WJ.DATASERVER_ROW_ID}init(){return(0,Zo.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const e=yield this.connect.getMetadata(this.resourceName);this.isRequestServer=e.TYPE===Zi._g.REQUEST_SERVER;const a=Object.assign({getRowId:e=>e.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},a),this.agGrid.addEventListener("onGridReady",(()=>(0,Zo.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,nn.T)(1),(0,ln.b)(r),(0,gn.b)((e=>Ko.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Ko.warn("Application not connected, falling back to local columnDefs/rowData")}))}deinit(){this.reset()}reset(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new on.X(new Map),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rows.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rows=new Map,this.agTransaction=void 0,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){const a=this.getAgColumnDefs(this.datasource.fieldMetadata);a&&this.agGrid.gridApi.setColumnDefs(a);const r=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.gridApi.setRowData(r),this.requiresFullRowDataAndColDefs=!1}reloadResourceData(){var e,a;return(0,Zo.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,Zo.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Ko.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot){const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}}else Ko.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.subscribe((e=>{this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===Xi.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,en.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,en.$)(e).inserts:e.inserts}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=e.REPLY;if(!Array.isArray(r)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Ko.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rows.set(e[this.rowId],e)}));const e=this.rows.size>0?Array.from(this.rows.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rows.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rows.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.applyAllAgTransactions()}applyDataserverData(e){var a;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rows.set(e[this.rowId],e)}));const r=Array.from(this.rows.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}applyAllAgTransactions(){var e,a,r;(null===(e=this.agTransaction.add)||void 0===e?void 0:e.length)>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},un.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},un.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},un.Update,this.agGrid.asyncUpdate)}applyMappedAgTransaction(e,a,r){const t=r?"applyTransactionAsync":"applyTransaction";this.agGrid.gridApi[t](this.mapTransaction(e,[a]))}mapTransaction(e,a=Object.values(un)){if(!this.rowDataMapper)return e;const r={};return a.includes(un.Add)&&(r.add=this.rowDataMapper(e.add,this.rows)),a.includes(un.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rows)),a.includes(un.Update)&&(r.update=this.rowDataMapper(e.update,this.rows)),r}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rows.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rows.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{this.agTransaction.remove.push({[this.rowId]:e[this.rowId]}),this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r),this.rows.set(e[this.rowId],r)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=(e.type,{suppressAndOrCondition:!0,filterOptions:["contains"]}),e.type){case an.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Vi.boolean);break;case an.r.DATE:r.valueFormatter=cn;break;case an.r.DATETIME:r.valueFormatter=pn}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.agGrid.onlyTemplateColDefs&&!t||this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name},r),t)}));return this.agGrid.applyTemplateDefinitions(a,!0)}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Ki.p)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}};(0,Zo.__decorate)([rn.g],hn.prototype,"auth",void 0),(0,Zo.__decorate)([l.lj],hn.prototype,"connect",void 0),(0,Zo.__decorate)([tn.Yh],hn.prototype,"datasource",void 0),(0,Zo.__decorate)([s.observable],hn.prototype,"deferredGridOptions",void 0),(0,Zo.__decorate)([s.attr],hn.prototype,"criteria",void 0),(0,Zo.__decorate)([s.attr],hn.prototype,"fields",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],hn.prototype,"isSnapshot",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"max-rows"})],hn.prototype,"maxRows",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"max-view"})],hn.prototype,"maxView",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"moving-view"})],hn.prototype,"movingView",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"order-by"})],hn.prototype,"orderBy",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"polling-interval"})],hn.prototype,"pollingInterval",void 0),(0,Zo.__decorate)([s.observable],hn.prototype,"request",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"resource-name"})],hn.prototype,"resourceName",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean"})],hn.prototype,"reverse",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"row-id"})],hn.prototype,"rowIdAttr",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],hn.prototype,"restartOnReconnection",void 0),(0,Zo.__decorate)([s.observable],hn.prototype,"rowDataMapper",void 0),hn=(0,Zo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource"})],hn);var mn=r(66306),vn=r(47546);class bn{constructor(e){this.rowCount=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.rowData=new Map,this.dataserverStream=e.stream,this.resourceName=e.resourceName,this.resourceParams=e.resourceParams,this.originalCriteriaMatch=e.resourceParams.CRITERIA_MATCH,this.resourceIndexes=e.resourceIndexes,this.resourceColDefs=e.resourceColDefs,this.maxRows=e.maxRows,this.maxView=e.maxView,this.rowId=e.rowId,this.pagination=e.pagination}getRows(e){var a;return(0,Zo.__awaiter)(this,void 0,void 0,(function*(){const r=e.request.filterModel;(JSON.stringify(r)!==JSON.stringify(this.currentFilterModel)||Object.keys(r).length>0)&&(0===Object.keys(r).length&&this.currentFilterModel?(this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.restartSubscription()):Object.keys(r).length>0&&(this.currentFilterModel=r,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),this.restartSubscription()));const t=e.request.sortModel;if(t.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||t.length>0)if(0===t.length&&this.currentSortModel)this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,this.restartSubscription();else if(t.length>0){this.currentSortModel=t;const e=this.currentSortModel[0].colId,a=this.currentSortModel[0].sort,r=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,e);r.toBeSorted.forEach((e=>{this.currentSortModel.push({sort:a,colId:e})})),this.resourceParams.ORDER_BY=r.orderBy,this.resourceParams.REVERSE="desc"===a,this.restartSubscription()}this.moreRows&&e.request.startRow>=this.maxRows&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,vn.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===Xi.Cs.LOGOFF_ACK||o===Xi.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,a.ROW){const e=(0,en.$)(a);this.handleInitialStreamLoad(e)}this.lastSequenceId=a.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=a.SOURCE_REF,this.rowCount=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size),this.calculatedRowsCount+=null!==(t=this.rowData.size)&&void 0!==t?t:0;const i={rowData:Array.from(this.rowData.values())};this.pagination&&(i.rowCount=Math.min(this.rowCount,this.maxView)),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?i.rowCount=this.calculatedRowsCount:e.request.endRow===this.rowCount&&(i.rowCount=this.rowCount),e.success(i)}))}))}restartSubscription(){this.connect.dataLogoff(this.streamSourceRef);this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>Ko.error(e)),this.resourceParams)}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){const a=[...t];return a.splice(e,1),{orderBy:r,toBeSorted:a}}}}handleInitialStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e.ROW_REF,e)})),this.rowData=r}buildCriteriaMatchFromFilters(){this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.resourceParams.CRITERIA_MATCH&&"string"==typeof this.resourceParams.CRITERIA_MATCH&&(this.resourceParams.CRITERIA_MATCH=this.resourceParams.CRITERIA_MATCH.split(";")),this.resourceParams.CRITERIA_MATCH||(this.resourceParams.CRITERIA_MATCH=[]);return this.resourceParams.CRITERIA_MATCH.concat(this.criteriaFromFilters()).join(" && ")}criteriaFromFilters(){const e=[];return this.getFiltersByType("text").forEach((a=>e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter.toLowerCase()}')`))),e}getFiltersByType(e){return Object.keys(this.currentFilterModel).filter((e=>-1!==this.resourceColDefs.findIndex((a=>a.NAME===e)))).filter((a=>this.currentFilterModel[a].filterType===e))}}(0,Zo.__decorate)([l.lj],bn.prototype,"connect",void 0);let fn=class extends(Ri(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Zi.WJ.MAX_ROWS_250,this.maxView=Zi.WJ.MAX_VIEW_1000,this.movingView=!0,this.pagination=!1,this.rowId="ROW_REF",this.reverse=!1}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,Ki.p)(a,";");!r&&t&&this.restart()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;s.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;s.DOM.queueUpdate((()=>{e&&this.reset()}))}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions={getRowId:e=>e.data[this.rowId],cacheBlockSize:this.maxRows,defaultColDef:{filter:!0,resizable:!0,sortable:!0},pagination:this.pagination,paginationPageSize:this.maxRows,rowBuffer:0,rowModelType:"serverSide",suppressServerSideInfiniteScroll:!1,suppressMultiSort:!0,onFilterChanged:e=>{},onSortChanged:e=>{}},void this.agGrid.addEventListener("onGridReady",(()=>(0,Zo.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Ko.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,mn.C)(e);const a=(0,mn.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new bn({stream:t,resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.originalFieldDef,maxRows:this.maxRows,maxView:this.maxView,rowId:this.rowId,pagination:this.pagination}),this.agGrid.gridApi.setServerSideDatasource(this.dataserverStream)}))),{once:!0});Ko.warn("Application not connected, falling back to local columnDefs/rowData")}reset(){this.clearRowData(),this.dataserverStream=void 0,this.originalFieldDef=void 0,this.agGrid.gridApi.setServerSideDatasource(this.dataserverStream)}restart(){this.reset(),this.init()}get agGrid(){return this.parentElement}clearRowData(){var e,a,r,t;null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.setColumnDefs([]);const o={remove:[]};null===(r=this.agGrid.gridApi)||void 0===r||r.forEachNode((e=>{o.remove.push(e.data)})),null===(t=this.agGrid.gridApi)||void 0===t||t.applyServerSideTransaction(o)}getResourceIndexes(e){const a=new Map;return null==e||e.forEach((e=>{a.set(e.NAME,e.FIELDS.split(" "))})),a}get params(){const e={CRITERIA_MATCH:this.criteria,FIELDS:this.fields,MAX_ROWS:this.maxRows,MAX_VIEW:this.maxView,MOVING_VIEW:this.movingView,REVERSE:this.reverse},a=Array.from(this.indexes.keys());if(this.orderBy)if(a.findIndex((e=>e===this.orderBy))>-1)e.ORDER_BY=this.orderBy;else{const e=a.map((e=>e));Ko.warn("Specified [orderBy] index is not valid and will not be used. See https://learn.genesis.global/docs/database/data-types/index-entities/ - Available indexes:",e)}return Ko.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,Zo.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Ko.debug(e)),(e=>Ko.error(e)),null!=e?e:this.params)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=(e.type,{suppressAndOrCondition:!0,filterOptions:["contains"]}),e.type){case an.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Vi.boolean);break;case an.r.DATE:r.valueFormatter=cn;break;case an.r.DATETIME:r.valueFormatter=pn}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.agGrid.onlyTemplateColDefs&&!t||this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:sn(e.type),filter:(e.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(a)}};(0,Zo.__decorate)([l.lj],fn.prototype,"connect",void 0),(0,Zo.__decorate)([s.attr],fn.prototype,"criteria",void 0),(0,Zo.__decorate)([s.attr],fn.prototype,"fields",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],fn.prototype,"isSnapshot",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"max-rows"})],fn.prototype,"maxRows",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"max-view"})],fn.prototype,"maxView",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"moving-view"})],fn.prototype,"movingView",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"order-by"})],fn.prototype,"orderBy",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"resource-name"})],fn.prototype,"resourceName",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean"})],fn.prototype,"pagination",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"row-id"})],fn.prototype,"rowId",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean"})],fn.prototype,"reverse",void 0),fn=(0,Zo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource-next"})],fn);const wn=s.css`
1996
+ `;var Qi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.text="text",e.select="select"}(Qi||(Qi={}));const Wi='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCv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IidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',qi='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcjBKQJJ/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKwiysi6oyClzCg99Ec8TxilXY4ea+YgngzqZGPlo74Ign50j7RGuKl8qDZ8x4lCYLQkLtAgHOb6bcEcrG9Rqe+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImHVEbzcilHcJDqJDa8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3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ji={[Hi.alpine]:Wi,[Hi.alpineDark]:Wi,[Hi.balham]:qi,[Hi.balhamDark]:qi,[Hi.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIF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AuIMrBajAztCPqTpoGXVdGhPRfgO5R+pfnnArLxH9MGJgaACk2fXtioS/s0VOdhi3FfruLh0Rws4hf8ALfEC3Jb3n184cYrKS/MPVNBMq9DYCjp9X6Z9e0oKFsiISE7KsURfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Zi=Wi;var Ki=r(82940),Xi=r(32449),en=r(9162),an=r(5127),rn=r(83123),tn=r(35991),on=r(6852),nn=r(26714),ln=r(71452),gn=r(99449),dn=r(30526),sn=r(21607);function cn(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function pn({value:e}){return(0,sn.D_)(e)}function un({value:e}){return(0,sn.Lx)(e)}var hn;!function(e){e.Add="add",e.Update="update",e.Remove="remove"}(hn||(hn={}));let mn=class extends(ji(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Ki.WJ.MAX_ROWS_250,this.maxView=Ki.WJ.MAX_VIEW_1000,this.movingView=!1,this.pollingInterval=Ki.WJ.REQ_REP_POLLING_INTERVAL_MS,this.reverse=!1,this.restartOnReconnection=!1,this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new nn.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Xi.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;s.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;s.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.request=structuredClone(this.request),e}get agGrid(){return this.parentElement}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Ki.WJ.REQUEST_SERVER_ROW_ID:Ki.WJ.DATASERVER_ROW_ID}init(){return(0,Ko.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const e=yield this.connect.getMetadata(this.resourceName);this.isRequestServer=e.TYPE===Ki._g.REQUEST_SERVER;const a=Object.assign({getRowId:e=>e.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},a),this.agGrid.addEventListener("onGridReady",(()=>(0,Ko.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,ln.T)(1),(0,gn.b)(r),(0,dn.b)((e=>Xo.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Xo.warn("Application not connected, falling back to local columnDefs/rowData")}))}deinit(){this.reset()}reset(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new nn.X(new Map),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rows.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rows=new Map,this.agTransaction=void 0,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){const a=this.getAgColumnDefs(this.datasource.fieldMetadata);a&&this.agGrid.gridApi.setColumnDefs(a);const r=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.gridApi.setRowData(r),this.requiresFullRowDataAndColDefs=!1}reloadResourceData(){var e,a;return(0,Ko.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,Ko.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Xo.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot){const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}}else Xo.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.subscribe((e=>{this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===en.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,an.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,an.$)(e).inserts:e.inserts}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=e.REPLY;if(!Array.isArray(r)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Xo.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rows.set(e[this.rowId],e)}));const e=this.rows.size>0?Array.from(this.rows.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rows.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rows.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.applyAllAgTransactions()}applyDataserverData(e){var a;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rows.set(e[this.rowId],e)}));const r=Array.from(this.rows.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}applyAllAgTransactions(){this.agTransaction.add.length||this.agTransaction.update.length||this.agTransaction.remove.length?(this.agTransaction.add.length>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},hn.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},hn.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},hn.Update,this.agGrid.asyncUpdate)):this.agGrid.gridApi.showNoRowsOverlay()}applyMappedAgTransaction(e,a,r){const t=r?"applyTransactionAsync":"applyTransaction";this.agGrid.gridApi[t](this.mapTransaction(e,[a]))}mapTransaction(e,a=Object.values(hn)){if(!this.rowDataMapper)return e;const r={};return a.includes(hn.Add)&&(r.add=this.rowDataMapper(e.add,this.rows)),a.includes(hn.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rows)),a.includes(hn.Update)&&(r.update=this.rowDataMapper(e.update,this.rows)),r}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rows.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rows.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{this.agTransaction.remove.push({[this.rowId]:e[this.rowId]}),this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r),this.rows.set(e[this.rowId],r)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=(e.type,{suppressAndOrCondition:!0,filterOptions:["contains"]}),e.type){case rn.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Qi.boolean);break;case rn.r.DATE:r.valueFormatter=pn;break;case rn.r.DATETIME:r.valueFormatter=un}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.agGrid.onlyTemplateColDefs&&!t||this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name},r),t)}));return this.agGrid.applyTemplateDefinitions(a,!0)}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Xi.p)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}};(0,Ko.__decorate)([tn.g],mn.prototype,"auth",void 0),(0,Ko.__decorate)([l.lj],mn.prototype,"connect",void 0),(0,Ko.__decorate)([on.Yh],mn.prototype,"datasource",void 0),(0,Ko.__decorate)([s.observable],mn.prototype,"deferredGridOptions",void 0),(0,Ko.__decorate)([s.attr],mn.prototype,"criteria",void 0),(0,Ko.__decorate)([s.attr],mn.prototype,"fields",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],mn.prototype,"isSnapshot",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"max-rows"})],mn.prototype,"maxRows",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"max-view"})],mn.prototype,"maxView",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"moving-view"})],mn.prototype,"movingView",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"order-by"})],mn.prototype,"orderBy",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"polling-interval"})],mn.prototype,"pollingInterval",void 0),(0,Ko.__decorate)([s.observable],mn.prototype,"request",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"resource-name"})],mn.prototype,"resourceName",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean"})],mn.prototype,"reverse",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"row-id"})],mn.prototype,"rowIdAttr",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],mn.prototype,"restartOnReconnection",void 0),(0,Ko.__decorate)([s.observable],mn.prototype,"rowDataMapper",void 0),mn=(0,Ko.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource"})],mn);var vn=r(66306),bn=r(47546);class fn{constructor(e){this.rowCount=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.rowData=new Map,this.dataserverStream=e.stream,this.resourceName=e.resourceName,this.resourceParams=e.resourceParams,this.originalCriteriaMatch=e.resourceParams.CRITERIA_MATCH,this.resourceIndexes=e.resourceIndexes,this.resourceColDefs=e.resourceColDefs,this.maxRows=e.maxRows,this.maxView=e.maxView,this.rowId=e.rowId,this.pagination=e.pagination}getRows(e){var a;return(0,Ko.__awaiter)(this,void 0,void 0,(function*(){const r=e.request.filterModel;(JSON.stringify(r)!==JSON.stringify(this.currentFilterModel)||Object.keys(r).length>0)&&(0===Object.keys(r).length&&this.currentFilterModel?(this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.restartSubscription()):Object.keys(r).length>0&&(this.currentFilterModel=r,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),this.restartSubscription()));const t=e.request.sortModel;if(t.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||t.length>0)if(0===t.length&&this.currentSortModel)this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,this.restartSubscription();else if(t.length>0){this.currentSortModel=t;const e=this.currentSortModel[0].colId,a=this.currentSortModel[0].sort,r=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,e);r.toBeSorted.forEach((e=>{this.currentSortModel.push({sort:a,colId:e})})),this.resourceParams.ORDER_BY=r.orderBy,this.resourceParams.REVERSE="desc"===a,this.restartSubscription()}this.moreRows&&e.request.startRow>=this.maxRows&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,bn.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===en.Cs.LOGOFF_ACK||o===en.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,a.ROW){const e=(0,an.$)(a);this.handleInitialStreamLoad(e)}this.lastSequenceId=a.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=a.SOURCE_REF,this.rowCount=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size),this.calculatedRowsCount+=null!==(t=this.rowData.size)&&void 0!==t?t:0;const i={rowData:Array.from(this.rowData.values())};this.pagination&&(i.rowCount=Math.min(this.rowCount,this.maxView)),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?i.rowCount=this.calculatedRowsCount:e.request.endRow===this.rowCount&&(i.rowCount=this.rowCount),e.success(i)}))}))}restartSubscription(){this.connect.dataLogoff(this.streamSourceRef);this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>Xo.error(e)),this.resourceParams)}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){const a=[...t];return a.splice(e,1),{orderBy:r,toBeSorted:a}}}}handleInitialStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e.ROW_REF,e)})),this.rowData=r}buildCriteriaMatchFromFilters(){this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.resourceParams.CRITERIA_MATCH&&"string"==typeof this.resourceParams.CRITERIA_MATCH&&(this.resourceParams.CRITERIA_MATCH=this.resourceParams.CRITERIA_MATCH.split(";")),this.resourceParams.CRITERIA_MATCH||(this.resourceParams.CRITERIA_MATCH=[]);return this.resourceParams.CRITERIA_MATCH.concat(this.criteriaFromFilters()).join(" && ")}criteriaFromFilters(){const e=[];return this.getFiltersByType("text").forEach((a=>e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter.toLowerCase()}')`))),e}getFiltersByType(e){return Object.keys(this.currentFilterModel).filter((e=>-1!==this.resourceColDefs.findIndex((a=>a.NAME===e)))).filter((a=>this.currentFilterModel[a].filterType===e))}}(0,Ko.__decorate)([l.lj],fn.prototype,"connect",void 0);let wn=class extends(ji(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Ki.WJ.MAX_ROWS_250,this.maxView=Ki.WJ.MAX_VIEW_1000,this.movingView=!0,this.pagination=!1,this.rowId="ROW_REF",this.reverse=!1}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,Xi.p)(a,";");!r&&t&&this.restart()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;s.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;s.DOM.queueUpdate((()=>{e&&this.reset()}))}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions={getRowId:e=>e.data[this.rowId],cacheBlockSize:this.maxRows,defaultColDef:{filter:!0,resizable:!0,sortable:!0},pagination:this.pagination,paginationPageSize:this.maxRows,rowBuffer:0,rowModelType:"serverSide",suppressServerSideInfiniteScroll:!1,suppressMultiSort:!0,onFilterChanged:e=>{},onSortChanged:e=>{}},void this.agGrid.addEventListener("onGridReady",(()=>(0,Ko.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Xo.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,vn.C)(e);const a=(0,vn.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new fn({stream:t,resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.originalFieldDef,maxRows:this.maxRows,maxView:this.maxView,rowId:this.rowId,pagination:this.pagination}),this.agGrid.gridApi.setServerSideDatasource(this.dataserverStream)}))),{once:!0});Xo.warn("Application not connected, falling back to local columnDefs/rowData")}reset(){this.clearRowData(),this.dataserverStream=void 0,this.originalFieldDef=void 0,this.agGrid.gridApi.setServerSideDatasource(this.dataserverStream)}restart(){this.reset(),this.init()}get agGrid(){return this.parentElement}clearRowData(){var e,a,r,t;null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.setColumnDefs([]);const o={remove:[]};null===(r=this.agGrid.gridApi)||void 0===r||r.forEachNode((e=>{o.remove.push(e.data)})),null===(t=this.agGrid.gridApi)||void 0===t||t.applyServerSideTransaction(o)}getResourceIndexes(e){const a=new Map;return null==e||e.forEach((e=>{a.set(e.NAME,e.FIELDS.split(" "))})),a}get params(){const e={CRITERIA_MATCH:this.criteria,FIELDS:this.fields,MAX_ROWS:this.maxRows,MAX_VIEW:this.maxView,MOVING_VIEW:this.movingView,REVERSE:this.reverse},a=Array.from(this.indexes.keys());if(this.orderBy)if(a.findIndex((e=>e===this.orderBy))>-1)e.ORDER_BY=this.orderBy;else{const e=a.map((e=>e));Xo.warn("Specified [orderBy] index is not valid and will not be used. See https://learn.genesis.global/docs/database/data-types/index-entities/ - Available indexes:",e)}return Xo.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,Ko.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Xo.debug(e)),(e=>Xo.error(e)),null!=e?e:this.params)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=(e.type,{suppressAndOrCondition:!0,filterOptions:["contains"]}),e.type){case rn.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Qi.boolean);break;case rn.r.DATE:r.valueFormatter=pn;break;case rn.r.DATETIME:r.valueFormatter=un}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.agGrid.onlyTemplateColDefs&&!t||this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:cn(e.type),filter:(e.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(a)}};(0,Ko.__decorate)([l.lj],wn.prototype,"connect",void 0),(0,Ko.__decorate)([s.attr],wn.prototype,"criteria",void 0),(0,Ko.__decorate)([s.attr],wn.prototype,"fields",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],wn.prototype,"isSnapshot",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"max-rows"})],wn.prototype,"maxRows",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"max-view"})],wn.prototype,"maxView",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"moving-view"})],wn.prototype,"movingView",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"order-by"})],wn.prototype,"orderBy",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"resource-name"})],wn.prototype,"resourceName",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean"})],wn.prototype,"pagination",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"row-id"})],wn.prototype,"rowId",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean"})],wn.prototype,"reverse",void 0),wn=(0,Ko.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource-next"})],wn);const yn=s.css`
1995
1997
  .ag-icon {
1996
1998
  font-family: var(--ag-icon-font-family);
1997
1999
  font-size: var(--ag-icon-size);
@@ -9168,7 +9170,7 @@
9168
9170
  input[class^='ag-'][type='range']:disabled {
9169
9171
  opacity: 0.5;
9170
9172
  }
9171
- `,yn=s.css`
9173
+ `,xn=s.css`
9172
9174
  .ag-dnd-ghost {
9173
9175
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9174
9176
  border: solid 1px;
@@ -9185,7 +9187,7 @@
9185
9187
  overflow: hidden;
9186
9188
  text-overflow: ellipsis;
9187
9189
  }
9188
- `,xn=s.css`
9190
+ `,zn=s.css`
9189
9191
  .ag-theme-alpine,
9190
9192
  .ag-theme-alpine-dark {
9191
9193
  --ag-alpine-active-color: #2196f3;
@@ -9635,7 +9637,7 @@
9635
9637
  .ag-theme-alpine-dark {
9636
9638
  color-scheme: dark;
9637
9639
  }
9638
- `,zn=s.css`
9640
+ `,kn=s.css`
9639
9641
  .ag-theme-balham,
9640
9642
  .ag-theme-balham-dark {
9641
9643
  --ag-balham-active-color: #0091ea;
@@ -9905,7 +9907,7 @@
9905
9907
  .ag-theme-balham-dark {
9906
9908
  color-scheme: dark;
9907
9909
  }
9908
- `,kn=s.css`
9910
+ `,Sn=s.css`
9909
9911
  .ag-theme-material {
9910
9912
  --ag-material-primary-color: #3f51b5;
9911
9913
  --ag-material-accent-color: #ff4081;
@@ -10170,14 +10172,14 @@
10170
10172
  .ag-theme-material .ag-picker-field-wrapper:focus {
10171
10173
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10172
10174
  }
10173
- `,Sn=s.css`
10174
- ${wn}
10175
+ `,Cn=s.css`
10175
10176
  ${yn}
10176
10177
  ${xn}
10177
10178
  ${zn}
10178
10179
  ${kn}
10179
- `,Cn=s.css`
10180
10180
  ${Sn}
10181
+ `,An=s.css`
10182
+ ${Cn}
10181
10183
  :host {
10182
10184
  width: 100%;
10183
10185
  height: 100%;
@@ -10204,14 +10206,14 @@
10204
10206
  .ag-cell-inline-editing {
10205
10207
  height: inherit !important;
10206
10208
  }
10207
- `,An=s.html`
10209
+ `,Tn=s.html`
10208
10210
  <template>
10209
10211
  <span part="grid" class="${e=>e.classNames}">
10210
10212
  <slot name="grid" ${(0,s.ref)("gridSlot")}></slot>
10211
10213
  <slot></slot>
10212
10214
  </span>
10213
10215
  </template>
10214
- `;Mi.O3h.registerModules([Oi.jM,Li.I]);const Tn=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class Fn extends(Ri(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,qr.A)(Hi(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=Ji,this.columnComponentName="grid-pro-column",this.theme=_i.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Mi.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Tn(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(Tn(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={[Vi.action]:Xo,[Vi.actionsMenu]:ii,[Vi.boolean]:di};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,onGridReady:i,onFirstDataRendered:n}=e,l=(0,Zo.__rest)(e,["columnDefs","components","onGridReady","onFirstDataRendered"]),g=Object.assign(Object.assign(Object.assign({defaultColDef:{enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},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,i&&i(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)(),n&&n(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),l);this.gridProGenesisDatasource||(g.columnDefs=this.applyTemplateDefinitions(t)),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Mi.plv.copyAttributesToGridOptions(g,this.agAttributes));const d={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,d),this.initialised=!0}))}enableFlashingRows(){if(this.enableRowFlashing||this.enabledRowFlashing){if(!this.asyncAdd)return void Ko.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){const r=e||[],t=this.querySelectorAll(this.columnComponentName),o=Array.from(t).map((e=>{var a;return null===(a=e.definition)||void 0===a?void 0:a.field}));let i=[];if(i=0===t.length?r:[...r.filter((e=>!o.includes(e.field))),...Array.from(t).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 t=null===(a=r.find((a=>e.definition.field===a.field)))||void 0===a?void 0:a.valueFormatter;return t&&(e.definition.valueFormatter=t),e.definition}))],this.gridProGenesisDatasource&&a){const e=this.getSavedColumnState();if(e.length>0)return function(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}(i,e)}return i}get observedAttributes(){const e=Mi.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Mi.plv.ALL_PROPERTIES.map((e=>Tn(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=qi[e]||this.gridFontFace;this.destroyFontFace();const r=(0,Ii.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Zo.__decorate)([s.observable],Fn.prototype,"columnApi",void 0),(0,Zo.__decorate)([s.observable],Fn.prototype,"gridApi",void 0),(0,Zo.__decorate)([Ni.z],Fn.prototype,"session",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Fn.prototype,"autoCellRendererByType",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Fn.prototype,"onlyTemplateColDefs",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],Fn.prototype,"gridAutosizingEnabled",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"add-index"})],Fn.prototype,"addIndex",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-add"})],Fn.prototype,"asyncAdd",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-remove"})],Fn.prototype,"asyncRemove",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-update"})],Fn.prototype,"asyncUpdate",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Fn.prototype,"enableCellFlashing",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Fn.prototype,"enabledRowFlashing",void 0),(0,Zo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Fn.prototype,"enableRowFlashing",void 0),(0,Zo.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],Fn.prototype,"persistColumnStateKey",void 0),(0,Zo.__decorate)([s.observable],Fn.prototype,"gridFontFace",void 0),(0,Zo.__decorate)([s.attr],Fn.prototype,"columnComponentName",void 0),(0,Zo.__decorate)([s.observable],Fn.prototype,"eventsAndCallbacks",void 0),(0,Zo.__decorate)([s.attr],Fn.prototype,"headerHeight",void 0),(0,Zo.__decorate)([s.attr],Fn.prototype,"rowHeight",void 0),(0,Zo.__decorate)([s.attr],Fn.prototype,"theme",void 0),(0,Zo.__decorate)([s.observable],Fn.prototype,"classNames",void 0),(0,Zo.__decorate)([s.observable],Fn.prototype,"agGrid",void 0),(0,Zo.__decorate)([s.observable],Fn.prototype,"gridSlot",void 0),(0,Zo.__decorate)([s.observable],Fn.prototype,"gridComponents",void 0);const Dn=void 0,Ln={shadowOptions:void 0},Mn=Fn.compose(Object.assign({baseName:"grid-pro",styles:Cn,template:An,shadowOptions:Dn},Ln)),On={foregroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#879ba6")),backgroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#1f2126")),borderSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#2b2e34"))},Nn={foregroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#000000")),headerForegroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#181d1f")),backgroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#FFFFFF")),borderSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#2196f3"))},{create:$n}=c.DesignToken,Rn={backgroundColor:$n("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Nn.backgroundSwatch:On.backgroundSwatch)),borderColor:$n("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Nn.borderSwatch:On.borderSwatch)),foregroundColor:$n("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Nn.foregroundSwatch:On.foregroundSwatch)),headerForegroundColor:$n("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Nn.headerForegroundSwatch:On.headerForegroundSwatch)),rowHoverColor:$n("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Nn.rowHoverSwatch:On.rowHoverSwatch))},jn=s.css`
10216
+ `;Mi.O3h.registerModules([Ni.jM,Oi.I]);const Fn=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class Dn 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[Fn(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(Fn(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=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){const r=e||[],t=this.querySelectorAll(this.columnComponentName),o=Array.from(t).map((e=>{var a;return null===(a=e.definition)||void 0===a?void 0:a.field}));let i=[];if(i=0===t.length?r:[...r.filter((e=>!o.includes(e.field))),...Array.from(t).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 t=null===(a=r.find((a=>e.definition.field===a.field)))||void 0===a?void 0:a.valueFormatter;return t&&(e.definition.valueFormatter=t),e.definition}))],this.gridProGenesisDatasource&&a){const e=this.getSavedColumnState();if(e.length>0)return function(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}(i,e)}return i}get observedAttributes(){const e=Mi.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Mi.plv.ALL_PROPERTIES.map((e=>Fn(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],Dn.prototype,"columnApi",void 0),(0,Ko.__decorate)([s.observable],Dn.prototype,"gridApi",void 0),(0,Ko.__decorate)([$i.z],Dn.prototype,"session",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Dn.prototype,"autoCellRendererByType",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Dn.prototype,"onlyTemplateColDefs",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],Dn.prototype,"gridAutosizingEnabled",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"add-index"})],Dn.prototype,"addIndex",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-add"})],Dn.prototype,"asyncAdd",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-remove"})],Dn.prototype,"asyncRemove",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-update"})],Dn.prototype,"asyncUpdate",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Dn.prototype,"enableCellFlashing",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Dn.prototype,"enabledRowFlashing",void 0),(0,Ko.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Dn.prototype,"enableRowFlashing",void 0),(0,Ko.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],Dn.prototype,"persistColumnStateKey",void 0),(0,Ko.__decorate)([s.observable],Dn.prototype,"gridFontFace",void 0),(0,Ko.__decorate)([s.attr],Dn.prototype,"columnComponentName",void 0),(0,Ko.__decorate)([s.observable],Dn.prototype,"eventsAndCallbacks",void 0),(0,Ko.__decorate)([s.attr],Dn.prototype,"headerHeight",void 0),(0,Ko.__decorate)([s.attr],Dn.prototype,"rowHeight",void 0),(0,Ko.__decorate)([s.attr],Dn.prototype,"theme",void 0),(0,Ko.__decorate)([s.observable],Dn.prototype,"classNames",void 0),(0,Ko.__decorate)([s.observable],Dn.prototype,"agGrid",void 0),(0,Ko.__decorate)([s.observable],Dn.prototype,"gridSlot",void 0),(0,Ko.__decorate)([s.observable],Dn.prototype,"gridComponents",void 0);const Ln=void 0,On={shadowOptions:void 0},Mn=Dn.compose(Object.assign({baseName:"grid-pro",styles:An,template:Tn,shadowOptions:Ln},On)),Nn={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"))},$n={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:Rn}=c.DesignToken,jn={backgroundColor:Rn("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?$n.backgroundSwatch:Nn.backgroundSwatch)),borderColor:Rn("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?$n.borderSwatch:Nn.borderSwatch)),foregroundColor:Rn("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?$n.foregroundSwatch:Nn.foregroundSwatch)),headerForegroundColor:Rn("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?$n.headerForegroundSwatch:Nn.headerForegroundSwatch)),rowHoverColor:Rn("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?$n.rowHoverSwatch:Nn.rowHoverSwatch))},In=s.css`
10215
10217
  .ag-theme-genesis-rapid,
10216
10218
  .ag-theme-genesis-rapid-dark {
10217
10219
  --ag-alpine-active-color: #2196f3;
@@ -10671,50 +10673,50 @@
10671
10673
  .ag-theme-genesis-rapid-dark {
10672
10674
  color-scheme: dark;
10673
10675
  }
10674
- `,In={[Gi.backgroundColor]:Rn.backgroundColor,[Gi.foregroundColor]:Rn.foregroundColor,[Gi.oddRowBackgroundColor]:Rn.backgroundColor,[Gi.headerBackgroundColor]:Rn.backgroundColor,[Gi.headerForegroundColor]:Rn.headerForegroundColor,[Gi.selectedRowBackgroundColor]:Rn.rowHoverColor,[Gi.rowHoverColor]:Rn.rowHoverColor,[Gi.borderColor]:Rn.borderColor,[Gi.rowBorderColor]:Rn.rowHoverColor,[Gi.modalOverlayBackgroundColor]:Rn.backgroundColor,[Gi.inputFocusBoxShadow]:Rn.headerForegroundColor,[Gi.inputFocusBorderColor]:Rn.headerForegroundColor,[Gi.headerColumnResizeHandleColor]:Rn.headerForegroundColor},En="ag-theme-genesis-rapid",Pn=s.css`
10675
- ${jn}
10676
- ${Yi(En,In)}
10676
+ `,En={[_i.backgroundColor]:jn.backgroundColor,[_i.foregroundColor]:jn.foregroundColor,[_i.oddRowBackgroundColor]:jn.backgroundColor,[_i.headerBackgroundColor]:jn.backgroundColor,[_i.headerForegroundColor]:jn.headerForegroundColor,[_i.selectedRowBackgroundColor]:jn.rowHoverColor,[_i.rowHoverColor]:jn.rowHoverColor,[_i.borderColor]:jn.borderColor,[_i.rowBorderColor]:jn.rowHoverColor,[_i.modalOverlayBackgroundColor]:jn.backgroundColor,[_i.inputFocusBoxShadow]:jn.headerForegroundColor,[_i.inputFocusBorderColor]:jn.headerForegroundColor,[_i.headerColumnResizeHandleColor]:jn.headerForegroundColor},Pn="ag-theme-genesis-rapid",Un=s.css`
10677
+ ${In}
10678
+ ${Vi(Pn,En)}
10677
10679
 
10678
- .${En} {
10680
+ .${Pn} {
10679
10681
  ${xe()}
10680
10682
  }
10681
10683
 
10682
- .${En} .ag-header {
10684
+ .${Pn} .ag-header {
10683
10685
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10684
10686
  font-weight: bold;
10685
10687
  }
10686
10688
 
10687
- .${En} .ag-root-wrapper {
10689
+ .${Pn} .ag-root-wrapper {
10688
10690
  border-radius: calc(var(--control-corner-radius) * 1px);
10689
10691
  }
10690
- `,Un="ag-theme-genesis-rapid-dark",Bn=s.css`
10691
- ${jn}
10692
- ${Yi(Un,In)}
10692
+ `,Bn="ag-theme-genesis-rapid-dark",Gn=s.css`
10693
+ ${In}
10694
+ ${Vi(Bn,En)}
10693
10695
 
10694
- .${Un} {
10696
+ .${Bn} {
10695
10697
  ${xe()}
10696
10698
  }
10697
10699
 
10698
- .${Un} .ag-header {
10700
+ .${Bn} .ag-header {
10699
10701
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10700
10702
  font-weight: bold;
10701
10703
  }
10702
10704
 
10703
- .${Un} .ag-cell {
10705
+ .${Bn} .ag-cell {
10704
10706
  line-height: var(--ag-line-height, 32px);
10705
10707
  }
10706
10708
 
10707
- .${Un} .ag-root-wrapper {
10709
+ .${Bn} .ag-root-wrapper {
10708
10710
  border-radius: calc(var(--control-corner-radius) * 1px);
10709
10711
  }
10710
- `,Gn=s.css`
10712
+ `,_n=s.css`
10711
10713
  /* All the AG themes */
10712
- ${Cn}
10714
+ ${An}
10713
10715
 
10714
10716
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
10715
- ${Pn}
10716
- ${Bn}
10717
- `,_n=An,Hn="ag-theme-genesis-rapid-dark";const Yn=Ln,Vn={zeroAgActionRenderer:oi,zeroAgActionsMenuRenderer:gi,zeroAgBooleanRenderer:hi,zeroAgTextRenderer:Si,zeroAgSelectRenderer:Di,zeroGridPro:class extends Fn{constructor(){super(...arguments),this.theme=Hn}themeChanged(e,a){(e||a===Hn)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Vi.action]:ti,[Vi.actionsMenu]:li,[Vi.boolean]:ui};(this.theme===En||this.theme===Un)&&(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:_n,styles:Gn,shadowOptions:undefined},Yn)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Qn={foundationGridProActionRenderer:ri,foundationGridProActionsMenuRenderer:ni,foundationAgBooleanRenderer:pi,foundationAgTextRenderer:ki,foundationAgTextFieldRenderer:wi,foundationAgSelectRenderer:Fi,foundationGridPro:Mn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Wn,qn=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Wn||(Wn={}));const Jn={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'},Zn=Jn["Segoe UI"],Kn=s.css`
10717
+ ${Un}
10718
+ ${Gn}
10719
+ `,Hn=Tn,Yn="ag-theme-genesis-rapid-dark";const Vn=On,Qn={zeroAgActionRenderer:ii,zeroAgActionsMenuRenderer:di,zeroAgBooleanRenderer:mi,zeroAgTextRenderer:Ci,zeroAgSelectRenderer:Li,zeroGridPro:class extends Dn{constructor(){super(...arguments),this.theme=Yn}themeChanged(e,a){(e||a===Yn)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Qi.action]:oi,[Qi.actionsMenu]:gi,[Qi.boolean]:hi};(this.theme===Pn||this.theme===Bn)&&(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:Hn,styles:_n,shadowOptions:undefined},Vn)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Wn={foundationGridProActionRenderer:ti,foundationGridProActionsMenuRenderer:li,foundationAgBooleanRenderer:ui,foundationAgTextRenderer:Si,foundationAgTextFieldRenderer:yi,foundationAgSelectRenderer:Di,foundationGridPro:Mn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var qn,Jn=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(qn||(qn={}));const Zn={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'},Kn=Zn["Segoe UI"],Xn=s.css`
10718
10720
  ${(0,c.display)("block")} :host {
10719
10721
  width: 100%;
10720
10722
  display: inline-flex;
@@ -10846,7 +10848,7 @@
10846
10848
  alpha-button {
10847
10849
  margin: 0;
10848
10850
  }
10849
- `,Xn=s.html`
10851
+ `,el=s.html`
10850
10852
  <template>
10851
10853
  <div class="configuration">
10852
10854
  ${(0,s.when)((e=>!e.customDesignMode),s.html`
@@ -11069,7 +11071,7 @@
11069
11071
  <slot></slot>
11070
11072
  </div>
11071
11073
  </template>
11072
- `,el=({design_tokens:e})=>({accentColor:e.color.accent.$value,neutralColor:e.color.neutral.$value,luminance:e.mode.luminance.$value,density:e.style.density.$value,designUnit:e.space.designUnit.$value,borderRadius:e.style.borderRadius.$value,strokeWidth:e.style.strokeWidth.$value,bodyFont:Object.keys(Jn).find((a=>Jn[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),al=el(Ce),rl={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},tl=el(i.designTokens),ol={zero:{prefix:"zero",tokenDefaults:al,buttons:rl},alpha:{prefix:"alpha",tokenDefaults:tl,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:rl}};let il=class extends s.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=al.luminance===p.StandardLuminance.DarkMode,this.luminance=al.luminance,this.neutralColor=al.neutralColor,this.accentColor=al.accentColor,this.bodyFont=al.bodyFont,this.density=al.density,this.borderRadius=al.borderRadius,this.strokeWidth=al.strokeWidth,this.designUnit=al.designUnit,this.baseFontSize=al.baseFontSize,this.baseLineHeight=al.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof c.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof p.Combobox||e.target instanceof p.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof c.Slider){const a=parseInt(e.target.value),r=e.target.name;r&&Number.isInteger(a)&&(this[r]=a,this.updateUserSelections(r,a),this.styleUpdate())}},this.updateUserSelections=(e,a)=>{"ds"===e||this.tokenUpdateInProgress||(this.userSelections[e]=a)},this.modeChangeHandler=e=>{this.darkMode=e.target.checked,this.luminance=this.darkMode?p.StandardLuminance.DarkMode:p.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&s.DOM.queueUpdate((()=>{const e=el(a);ol.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,qn.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(ol[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,qn.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:ol[this.ds].prefix,buttonAppearanceAccent:ol[this.ds].buttons.accent,buttonAppearanceNeutral:ol[this.ds].buttons.neutral,buttonAppearanceOutline:ol[this.ds].buttons.outline};this.$emit(Wn.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(ol[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Jn[this.bodyFont],luminance:this.luminance,density:this.density,designUnit:this.designUnit,borderRadius:this.borderRadius,strokeWidth:this.strokeWidth,baseFontSize:this.baseFontSize,baseLineHeight:this.baseLineHeight};this.$emit(Wn.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===p.StandardLuminance.DarkMode,s.DOM.queueUpdate((()=>{this.tokenUpdateInProgress=!1}))}getAppName(){return fetch("/api/name").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},we(),s.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(Wn.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,qn.__decorate)([(0,s.attr)({mode:"boolean",attribute:"custom-design-mode"})],il.prototype,"customDesignMode",void 0),(0,qn.__decorate)([s.observable],il.prototype,"designSystems",void 0),(0,qn.__decorate)([s.observable],il.prototype,"ds",void 0),(0,qn.__decorate)([s.attr],il.prototype,"darkMode",void 0),(0,qn.__decorate)([s.observable],il.prototype,"neutralColor",void 0),(0,qn.__decorate)([s.observable],il.prototype,"accentColor",void 0),(0,qn.__decorate)([s.observable],il.prototype,"bodyFont",void 0),(0,qn.__decorate)([s.observable],il.prototype,"density",void 0),(0,qn.__decorate)([s.observable],il.prototype,"borderRadius",void 0),(0,qn.__decorate)([s.observable],il.prototype,"strokeWidth",void 0),(0,qn.__decorate)([s.observable],il.prototype,"designUnit",void 0),(0,qn.__decorate)([s.observable],il.prototype,"baseFontSize",void 0),(0,qn.__decorate)([s.observable],il.prototype,"baseLineHeight",void 0),(0,qn.__decorate)([s.observable],il.prototype,"preserveOptions",void 0),il=(0,qn.__decorate)([(0,s.customElement)({name:"design-system-editor",template:Xn,styles:Kn})],il);const nl=e=>{const a=(e=>{const a=(0,Oe.parseColorHexRGB)(e);return a?p.SwatchRGB.from(a):null})(e);return a?p.PaletteRGB.create(a):null},ll=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},gl=(e,a)=>{const r=nl(e.neutralColor);p.neutralPalette.setValueFor(a,r);const t=nl(e.accentColor);p.accentPalette.setValueFor(a,t),p.baseLayerLuminance.setValueFor(a,e.luminance),p.density.setValueFor(a,e.density),p.controlCornerRadius.setValueFor(a,e.borderRadius),p.strokeWidth.setValueFor(a,e.strokeWidth),p.designUnit.setValueFor(a,e.designUnit),p.bodyFont.setValueFor(a,e.bodyFont),p.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),p.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),p.typeRampMinus1FontSize.setValueFor(a,ll(p.typeRampBaseFontSize,fe.Yd.minusOne,a)),p.typeRampMinus1LineHeight.setValueFor(a,ll(p.typeRampBaseLineHeight,fe.Yd.minusOne,a)),p.typeRampMinus2FontSize.setValueFor(a,ll(p.typeRampBaseFontSize,fe.Yd.minusTwo,a)),p.typeRampMinus2LineHeight.setValueFor(a,ll(p.typeRampBaseLineHeight,fe.Yd.minusTwo,a)),p.typeRampPlus1FontSize.setValueFor(a,ll(p.typeRampBaseFontSize,fe.Yd.plusOne,a)),p.typeRampPlus1LineHeight.setValueFor(a,ll(p.typeRampBaseLineHeight,fe.Yd.plusOne,a)),p.typeRampPlus2FontSize.setValueFor(a,ll(p.typeRampBaseFontSize,fe.Yd.plusTwo,a)),p.typeRampPlus2LineHeight.setValueFor(a,ll(p.typeRampBaseLineHeight,fe.Yd.plusTwo,a)),p.typeRampPlus3FontSize.setValueFor(a,ll(p.typeRampBaseFontSize,fe.Yd.plusThree,a)),p.typeRampPlus3LineHeight.setValueFor(a,ll(p.typeRampBaseLineHeight,fe.Yd.plusThree,a)),p.typeRampPlus4FontSize.setValueFor(a,ll(p.typeRampBaseFontSize,fe.Yd.plusFour,a)),p.typeRampPlus4LineHeight.setValueFor(a,ll(p.typeRampBaseLineHeight,fe.Yd.plusFour,a)),p.typeRampPlus5FontSize.setValueFor(a,ll(p.typeRampBaseFontSize,fe.Yd.plusFive,a)),p.typeRampPlus5LineHeight.setValueFor(a,ll(p.typeRampBaseLineHeight,fe.Yd.plusFive,a)),p.typeRampPlus6FontSize.setValueFor(a,ll(p.typeRampBaseFontSize,fe.Yd.plusSix,a)),p.typeRampPlus6LineHeight.setValueFor(a,ll(p.typeRampBaseLineHeight,fe.Yd.plusSix,a))},dl=s.css`
11074
+ `,al=({design_tokens:e})=>({accentColor:e.color.accent.$value,neutralColor:e.color.neutral.$value,luminance:e.mode.luminance.$value,density:e.style.density.$value,designUnit:e.space.designUnit.$value,borderRadius:e.style.borderRadius.$value,strokeWidth:e.style.strokeWidth.$value,bodyFont:Object.keys(Zn).find((a=>Zn[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),rl=al(Ce),tl={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},ol=al(i.designTokens),il={zero:{prefix:"zero",tokenDefaults:rl,buttons:tl},alpha:{prefix:"alpha",tokenDefaults:ol,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:tl}};let nl=class extends s.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=rl.luminance===p.StandardLuminance.DarkMode,this.luminance=rl.luminance,this.neutralColor=rl.neutralColor,this.accentColor=rl.accentColor,this.bodyFont=rl.bodyFont,this.density=rl.density,this.borderRadius=rl.borderRadius,this.strokeWidth=rl.strokeWidth,this.designUnit=rl.designUnit,this.baseFontSize=rl.baseFontSize,this.baseLineHeight=rl.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof c.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof p.Combobox||e.target instanceof p.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof c.Slider){const a=parseInt(e.target.value),r=e.target.name;r&&Number.isInteger(a)&&(this[r]=a,this.updateUserSelections(r,a),this.styleUpdate())}},this.updateUserSelections=(e,a)=>{"ds"===e||this.tokenUpdateInProgress||(this.userSelections[e]=a)},this.modeChangeHandler=e=>{this.darkMode=e.target.checked,this.luminance=this.darkMode?p.StandardLuminance.DarkMode:p.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&s.DOM.queueUpdate((()=>{const e=al(a);il.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Jn.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(il[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Jn.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:il[this.ds].prefix,buttonAppearanceAccent:il[this.ds].buttons.accent,buttonAppearanceNeutral:il[this.ds].buttons.neutral,buttonAppearanceOutline:il[this.ds].buttons.outline};this.$emit(qn.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(il[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Zn[this.bodyFont],luminance:this.luminance,density:this.density,designUnit:this.designUnit,borderRadius:this.borderRadius,strokeWidth:this.strokeWidth,baseFontSize:this.baseFontSize,baseLineHeight:this.baseLineHeight};this.$emit(qn.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===p.StandardLuminance.DarkMode,s.DOM.queueUpdate((()=>{this.tokenUpdateInProgress=!1}))}getAppName(){return fetch("/api/name").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},we(),s.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(qn.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Jn.__decorate)([(0,s.attr)({mode:"boolean",attribute:"custom-design-mode"})],nl.prototype,"customDesignMode",void 0),(0,Jn.__decorate)([s.observable],nl.prototype,"designSystems",void 0),(0,Jn.__decorate)([s.observable],nl.prototype,"ds",void 0),(0,Jn.__decorate)([s.attr],nl.prototype,"darkMode",void 0),(0,Jn.__decorate)([s.observable],nl.prototype,"neutralColor",void 0),(0,Jn.__decorate)([s.observable],nl.prototype,"accentColor",void 0),(0,Jn.__decorate)([s.observable],nl.prototype,"bodyFont",void 0),(0,Jn.__decorate)([s.observable],nl.prototype,"density",void 0),(0,Jn.__decorate)([s.observable],nl.prototype,"borderRadius",void 0),(0,Jn.__decorate)([s.observable],nl.prototype,"strokeWidth",void 0),(0,Jn.__decorate)([s.observable],nl.prototype,"designUnit",void 0),(0,Jn.__decorate)([s.observable],nl.prototype,"baseFontSize",void 0),(0,Jn.__decorate)([s.observable],nl.prototype,"baseLineHeight",void 0),(0,Jn.__decorate)([s.observable],nl.prototype,"preserveOptions",void 0),nl=(0,Jn.__decorate)([(0,s.customElement)({name:"design-system-editor",template:el,styles:Xn})],nl);const ll=e=>{const a=(e=>{const a=(0,Me.parseColorHexRGB)(e);return a?p.SwatchRGB.from(a):null})(e);return a?p.PaletteRGB.create(a):null},gl=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},dl=(e,a)=>{const r=ll(e.neutralColor);p.neutralPalette.setValueFor(a,r);const t=ll(e.accentColor);p.accentPalette.setValueFor(a,t),p.baseLayerLuminance.setValueFor(a,e.luminance),p.density.setValueFor(a,e.density),p.controlCornerRadius.setValueFor(a,e.borderRadius),p.strokeWidth.setValueFor(a,e.strokeWidth),p.designUnit.setValueFor(a,e.designUnit),p.bodyFont.setValueFor(a,e.bodyFont),p.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),p.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),p.typeRampMinus1FontSize.setValueFor(a,gl(p.typeRampBaseFontSize,fe.Yd.minusOne,a)),p.typeRampMinus1LineHeight.setValueFor(a,gl(p.typeRampBaseLineHeight,fe.Yd.minusOne,a)),p.typeRampMinus2FontSize.setValueFor(a,gl(p.typeRampBaseFontSize,fe.Yd.minusTwo,a)),p.typeRampMinus2LineHeight.setValueFor(a,gl(p.typeRampBaseLineHeight,fe.Yd.minusTwo,a)),p.typeRampPlus1FontSize.setValueFor(a,gl(p.typeRampBaseFontSize,fe.Yd.plusOne,a)),p.typeRampPlus1LineHeight.setValueFor(a,gl(p.typeRampBaseLineHeight,fe.Yd.plusOne,a)),p.typeRampPlus2FontSize.setValueFor(a,gl(p.typeRampBaseFontSize,fe.Yd.plusTwo,a)),p.typeRampPlus2LineHeight.setValueFor(a,gl(p.typeRampBaseLineHeight,fe.Yd.plusTwo,a)),p.typeRampPlus3FontSize.setValueFor(a,gl(p.typeRampBaseFontSize,fe.Yd.plusThree,a)),p.typeRampPlus3LineHeight.setValueFor(a,gl(p.typeRampBaseLineHeight,fe.Yd.plusThree,a)),p.typeRampPlus4FontSize.setValueFor(a,gl(p.typeRampBaseFontSize,fe.Yd.plusFour,a)),p.typeRampPlus4LineHeight.setValueFor(a,gl(p.typeRampBaseLineHeight,fe.Yd.plusFour,a)),p.typeRampPlus5FontSize.setValueFor(a,gl(p.typeRampBaseFontSize,fe.Yd.plusFive,a)),p.typeRampPlus5LineHeight.setValueFor(a,gl(p.typeRampBaseLineHeight,fe.Yd.plusFive,a)),p.typeRampPlus6FontSize.setValueFor(a,gl(p.typeRampBaseFontSize,fe.Yd.plusSix,a)),p.typeRampPlus6LineHeight.setValueFor(a,gl(p.typeRampBaseLineHeight,fe.Yd.plusSix,a))},sl=s.css`
11073
11075
  :host {
11074
11076
  background: var(--fill-color);
11075
11077
  color: var(--neutral-foreground-rest);
@@ -11112,7 +11114,7 @@
11112
11114
  zero-design-system-provider {
11113
11115
  display: inline;
11114
11116
  }
11115
- `,sl=s.html`
11117
+ `,cl=s.html`
11116
11118
  ${e=>{return a=e.prefix,s.html`
11117
11119
  <template>
11118
11120
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11313,7 +11315,7 @@
11313
11315
  </${a}-design-system-provider>
11314
11316
  </template>
11315
11317
  `;var a}}
11316
- `;let cl=class extends s.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.buttonAppearanceAccent="primary-blue",this.buttonAppearanceNeutral="primary-grey",this.buttonAppearanceOutline="primary-gradient"}setDialogEventListeners(){this.showDialogTrigger.addEventListener("click",(()=>this.modal.show()),{passive:!0}),this.closeDialogTrigger.addEventListener("click",(()=>this.modal.close()),{passive:!0})}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Wn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Wn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setDialogEventListeners(),p.bodyFont.withDefault(Zn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{gl(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.buttonAppearanceAccent=e.detail.buttonAppearanceAccent,this.buttonAppearanceNeutral=e.detail.buttonAppearanceNeutral,this.buttonAppearanceOutline=e.detail.buttonAppearanceOutline,s.DOM.queueUpdate((()=>{this.setDialogEventListeners()}))}};(0,qn.__decorate)([s.observable],cl.prototype,"modal",void 0),(0,qn.__decorate)([s.attr],cl.prototype,"prefix",void 0),(0,qn.__decorate)([s.observable],cl.prototype,"buttonAppearanceAccent",void 0),(0,qn.__decorate)([s.observable],cl.prototype,"buttonAppearanceNeutral",void 0),(0,qn.__decorate)([s.observable],cl.prototype,"buttonAppearanceOutline",void 0),(0,qn.__decorate)([s.observable],cl.prototype,"provider",void 0),cl=(0,qn.__decorate)([(0,s.customElement)({name:"preview-components",template:sl,styles:dl})],cl);const pl=s.css`
11318
+ `;let pl=class extends s.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.buttonAppearanceAccent="primary-blue",this.buttonAppearanceNeutral="primary-grey",this.buttonAppearanceOutline="primary-gradient"}setDialogEventListeners(){this.showDialogTrigger.addEventListener("click",(()=>this.modal.show()),{passive:!0}),this.closeDialogTrigger.addEventListener("click",(()=>this.modal.close()),{passive:!0})}connectedCallback(){super.connectedCallback(),document.body.addEventListener(qn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(qn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setDialogEventListeners(),p.bodyFont.withDefault(Kn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{dl(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.buttonAppearanceAccent=e.detail.buttonAppearanceAccent,this.buttonAppearanceNeutral=e.detail.buttonAppearanceNeutral,this.buttonAppearanceOutline=e.detail.buttonAppearanceOutline,s.DOM.queueUpdate((()=>{this.setDialogEventListeners()}))}};(0,Jn.__decorate)([s.observable],pl.prototype,"modal",void 0),(0,Jn.__decorate)([s.attr],pl.prototype,"prefix",void 0),(0,Jn.__decorate)([s.observable],pl.prototype,"buttonAppearanceAccent",void 0),(0,Jn.__decorate)([s.observable],pl.prototype,"buttonAppearanceNeutral",void 0),(0,Jn.__decorate)([s.observable],pl.prototype,"buttonAppearanceOutline",void 0),(0,Jn.__decorate)([s.observable],pl.prototype,"provider",void 0),pl=(0,Jn.__decorate)([(0,s.customElement)({name:"preview-components",template:cl,styles:sl})],pl);const ul=s.css`
11317
11319
  .export {
11318
11320
  display: flex;
11319
11321
  justify-content: center;
@@ -11324,7 +11326,7 @@
11324
11326
  display: flex;
11325
11327
  justify-content: space-between;
11326
11328
  }
11327
- `,ul=s.html`
11329
+ `,hl=s.html`
11328
11330
  <template>
11329
11331
  <div class="export">
11330
11332
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -11345,7 +11347,7 @@
11345
11347
  </alpha-modal>
11346
11348
  </div>
11347
11349
  </template>
11348
- `;let hl=class extends s.FASTElement{constructor(){super(...arguments),this.formatValues=e=>{const a={design_tokens:{color:{accent:{$value:e.accentColor,$type:"color"},neutral:{$value:e.neutralColor,$type:"color"}},fontFamily:{bodyFont:{$value:e.bodyFont,$type:"fontFamily"}},typography:{baseFontSize:{$value:e.baseFontSize,$type:"dimension"},baseLineHeight:{$value:e.baseLineHeight,$type:"dimension"}},mode:{luminance:{$value:e.luminance,$type:"number"}},style:{density:{$value:e.density,$type:"number"},borderRadius:{$value:e.borderRadius,$type:"number"},strokeWidth:{$value:e.strokeWidth,$type:"number"}},space:{designUnit:{$value:e.designUnit,$type:"number"}}}};return JSON.stringify(a,null,3)},this.showModal=()=>this.modal.show(),this.closeModal=()=>this.modal.close(),this.updateTokens=()=>{fetch(`http://localhost:${location.port}/api/tokens`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:this.value})}).then((e=>{if(!e.ok)throw new Error(`API request failed with status ${e.status}`);return e.json()})).then((e=>{console.log("Tokens saved successfully:",e),this.$emit(Wn.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Wn.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,qn.__decorate)([s.attr],hl.prototype,"value",void 0),(0,qn.__decorate)([s.attr],hl.prototype,"tokensPath",void 0),hl=(0,qn.__decorate)([(0,s.customElement)({name:"design-system-export",template:ul,styles:pl})],hl);const ml=s.css`
11350
+ `;let ml=class extends s.FASTElement{constructor(){super(...arguments),this.formatValues=e=>{const a={design_tokens:{color:{accent:{$value:e.accentColor,$type:"color"},neutral:{$value:e.neutralColor,$type:"color"}},fontFamily:{bodyFont:{$value:e.bodyFont,$type:"fontFamily"}},typography:{baseFontSize:{$value:e.baseFontSize,$type:"dimension"},baseLineHeight:{$value:e.baseLineHeight,$type:"dimension"}},mode:{luminance:{$value:e.luminance,$type:"number"}},style:{density:{$value:e.density,$type:"number"},borderRadius:{$value:e.borderRadius,$type:"number"},strokeWidth:{$value:e.strokeWidth,$type:"number"}},space:{designUnit:{$value:e.designUnit,$type:"number"}}}};return JSON.stringify(a,null,3)},this.showModal=()=>this.modal.show(),this.closeModal=()=>this.modal.close(),this.updateTokens=()=>{fetch(`http://localhost:${location.port}/api/tokens`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:this.value})}).then((e=>{if(!e.ok)throw new Error(`API request failed with status ${e.status}`);return e.json()})).then((e=>{console.log("Tokens saved successfully:",e),this.$emit(qn.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(qn.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Jn.__decorate)([s.attr],ml.prototype,"value",void 0),(0,Jn.__decorate)([s.attr],ml.prototype,"tokensPath",void 0),ml=(0,Jn.__decorate)([(0,s.customElement)({name:"design-system-export",template:hl,styles:ul})],ml);const vl=s.css`
11349
11351
  .colors {
11350
11352
  display: flex;
11351
11353
  flex-wrap: wrap;
@@ -11358,23 +11360,23 @@
11358
11360
  flex-grow: 1;
11359
11361
  height: 20px;
11360
11362
  }
11361
- `,vl=s.html`
11363
+ `,bl=s.html`
11362
11364
  <ul class="colors">
11363
11365
  ${(0,s.repeat)((e=>e.swatches),s.html`
11364
11366
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
11365
11367
  `)}
11366
11368
  </ul>
11367
- `;let bl=class extends s.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){p[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{const e=nl(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Wn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,qn.__decorate)([s.observable],bl.prototype,"swatches",void 0),(0,qn.__decorate)([s.attr],bl.prototype,"type",void 0),bl=(0,qn.__decorate)([(0,s.customElement)({name:"color-palette",styles:ml,template:vl})],bl);const fl=s.css`
11369
+ `;let fl=class extends s.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){p[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{const e=ll(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(qn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Jn.__decorate)([s.observable],fl.prototype,"swatches",void 0),(0,Jn.__decorate)([s.attr],fl.prototype,"type",void 0),fl=(0,Jn.__decorate)([(0,s.customElement)({name:"color-palette",styles:vl,template:bl})],fl);const wl=s.css`
11368
11370
  .preview {
11369
11371
  width: 40px;
11370
11372
  height: 40px;
11371
11373
  }
11372
- `,wl=s.html`
11374
+ `,yl=s.html`
11373
11375
  <div
11374
11376
  class="preview"
11375
11377
  style="background-color: ${e=>p[e.tokenName].createCSS()}"
11376
11378
  ></div>
11377
- `;let yl=class extends s.FASTElement{};(0,qn.__decorate)([s.attr],yl.prototype,"tokenName",void 0),yl=(0,qn.__decorate)([(0,s.customElement)({name:"color-token",styles:fl,template:wl})],yl);const xl=s.css`
11379
+ `;let xl=class extends s.FASTElement{};(0,Jn.__decorate)([s.attr],xl.prototype,"tokenName",void 0),xl=(0,Jn.__decorate)([(0,s.customElement)({name:"color-token",styles:wl,template:yl})],xl);const zl=s.css`
11378
11380
  .container {
11379
11381
  display: flex;
11380
11382
  width: 100%;
@@ -11422,7 +11424,7 @@
11422
11424
  .container > div:not(:last-child) {
11423
11425
  border-right: 1px solid #fafafa;
11424
11426
  }
11425
- `,zl=[{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"}]}]}],kl=s.html`
11427
+ `,kl=[{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"}]}]}],Sl=s.html`
11426
11428
  <div class="row">
11427
11429
  <div
11428
11430
  class="preview"
@@ -11434,19 +11436,19 @@
11434
11436
  ${(e,a)=>p[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
11435
11437
  </div>
11436
11438
  </div>
11437
- `,Sl=s.html`
11439
+ `,Cl=s.html`
11438
11440
  <div class="container" ${(0,s.ref)("provider")}>
11439
- ${(0,s.repeat)((()=>zl),s.html`
11441
+ ${(0,s.repeat)((()=>kl),s.html`
11440
11442
  <div class="column">
11441
11443
  <h3 class="header-title">${e=>e.title}</h3>
11442
11444
  ${(0,s.repeat)((e=>e.subcategories),s.html`
11443
11445
  <h4>${e=>e.title}</h4>
11444
- ${(0,s.repeat)((e=>e.tokens),kl)}
11446
+ ${(0,s.repeat)((e=>e.tokens),Sl)}
11445
11447
  `)}
11446
11448
  </div>
11447
11449
  `)}
11448
11450
  </div>
11449
- `;let Cl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Wn.STYLES_CHANGED,(e=>{const a=e.detail;gl(a,this.provider)}))}};(0,qn.__decorate)([s.observable],Cl.prototype,"provider",void 0),Cl=(0,qn.__decorate)([(0,s.customElement)({name:"color-tokens",template:Sl,styles:xl})],Cl);const Al=s.css`
11451
+ `;let Al=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(qn.STYLES_CHANGED,(e=>{const a=e.detail;dl(a,this.provider)}))}};(0,Jn.__decorate)([s.observable],Al.prototype,"provider",void 0),Al=(0,Jn.__decorate)([(0,s.customElement)({name:"color-tokens",template:Cl,styles:zl})],Al);const Tl=s.css`
11450
11452
  table {
11451
11453
  background: var(--neutral-fill-rest);
11452
11454
  color: var(--neutral-foreground-rest);
@@ -11455,7 +11457,7 @@
11455
11457
  th {
11456
11458
  text-align: left;
11457
11459
  }
11458
- `,Tl=s.html`
11460
+ `,Fl=s.html`
11459
11461
  <table ${(0,s.ref)("provider")} style="font-family: ${()=>p.bodyFont.createCSS()}">
11460
11462
  <colgroup>
11461
11463
  <col style="width: 15%;" />
@@ -11683,7 +11685,7 @@
11683
11685
  </tr>
11684
11686
  </tbody>
11685
11687
  </table>
11686
- `;let Fl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Wn.STYLES_CHANGED,(e=>{const a=e.detail;gl(a,this.provider)}))}};(0,qn.__decorate)([s.observable],Fl.prototype,"provider",void 0),Fl=(0,qn.__decorate)([(0,s.customElement)({name:"typography-tokens",template:Tl,styles:Al})],Fl);const Dl=s.css`
11688
+ `;let Dl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(qn.STYLES_CHANGED,(e=>{const a=e.detail;dl(a,this.provider)}))}};(0,Jn.__decorate)([s.observable],Dl.prototype,"provider",void 0),Dl=(0,Jn.__decorate)([(0,s.customElement)({name:"typography-tokens",template:Fl,styles:Tl})],Dl);const Ll=s.css`
11687
11689
  :host {
11688
11690
  background: var(--fill-color);
11689
11691
  color: var(--neutral-foreground-rest);
@@ -11699,7 +11701,7 @@
11699
11701
  margin-top: 24px;
11700
11702
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
11701
11703
  }
11702
- `,Ll=s.html`
11704
+ `,Ol=s.html`
11703
11705
  <template>
11704
11706
  <alpha-tabs>
11705
11707
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -11728,7 +11730,7 @@
11728
11730
  </alpha-tab-panel>
11729
11731
  </alpha-tabs>
11730
11732
  </template>
11731
- `;let Ml=class extends s.FASTElement{};Ml=(0,qn.__decorate)([(0,s.customElement)({name:"design-system-preview",template:Ll,styles:Dl})],Ml);const Ol={type:"VerticalLayout",dsPrefix:"zero",elements:[{type:"Group",label:"Group 1",scope:"#/properties/group1",options:{childElements:[{type:"VerticalLayout",elements:[{type:"Control",scope:"#/properties/group1/properties/NAME",label:"Name"}]}]}},{type:"Group",label:"Group 2",scope:"#/properties/group2",options:{childElements:[{type:"LayoutVertical2Columns",elements:[{type:"Control",scope:"#/properties/group2/properties/QUANTITY",label:"Quantity"},{type:"Control",scope:"#/properties/group2/properties/PRICE",label:"Price"},{type:"Control",scope:"#/properties/group2/properties/COUNTERPARTY_ID",options:{data:[{name:"Genesis Global",value:"GENESIS"},{name:"Acme Global",value:"ACME"}],valueField:"value",labelField:"name"},label:"Counterparty"},{type:"Control",scope:"#/properties/group2/properties/INSTRUMENT_ID",options:{data:[{name:"Bond",value:"BOND"},{name:"Equity",value:"EQUITY"}],valueField:"value",labelField:"name"},label:"Instrument"},{type:"Control",scope:"#/properties/group2/properties/SIDE",label:"Side"},{type:"Control",scope:"#/properties/group2/properties/TRADE_DATE",label:"Trade Date"},{type:"Control",scope:"#/properties/group2/properties/ACTIVE",label:"Active"}]}]}}]},Nl={type:"object",properties:{group1:{type:"object",properties:{NAME:{type:"string"}}},group2:{type:"object",properties:{QUANTITY:{type:"number"},PRICE:{type:"number"},COUNTERPARTY_ID:{type:"string"},INSTRUMENT_ID:{type:"string"},SIDE:{type:"string",enum:["BUY","SELL"]},TRADE_DATE:{type:"number",format:"date",description:"org.joda.time.DateTime"},ACTIVE:{type:"boolean"}},required:["QUANTITY","PRICE"]}}},$l={type:"VerticalLayout",dsPrefix:"zero",elements:[{type:"array",scope:"#/properties/users",options:{childUiSchema:{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/firstname",label:"First Name"},{type:"Control",scope:"#/properties/lastname",label:"Last Name"},{type:"Control",scope:"#/properties/email",label:"Email"}]}}}]},Rl={type:"object",properties:{users:{type:"array",items:{type:"object",title:"Users",properties:{firstname:{type:"string"},lastname:{type:"string"},email:{type:"string",format:"email"}},required:["firstname"]}}}},jl=s.css`
11733
+ `;let Ml=class extends s.FASTElement{};Ml=(0,Jn.__decorate)([(0,s.customElement)({name:"design-system-preview",template:Ol,styles:Ll})],Ml);const Nl={type:"VerticalLayout",dsPrefix:"zero",elements:[{type:"Group",label:"Group 1",scope:"#/properties/group1",options:{childElements:[{type:"VerticalLayout",elements:[{type:"Control",scope:"#/properties/group1/properties/NAME",label:"Name"}]}]}},{type:"Group",label:"Group 2",scope:"#/properties/group2",options:{childElements:[{type:"LayoutVertical2Columns",elements:[{type:"Control",scope:"#/properties/group2/properties/QUANTITY",label:"Quantity"},{type:"Control",scope:"#/properties/group2/properties/PRICE",label:"Price"},{type:"Control",scope:"#/properties/group2/properties/COUNTERPARTY_ID",options:{data:[{name:"Genesis Global",value:"GENESIS"},{name:"Acme Global",value:"ACME"}],valueField:"value",labelField:"name"},label:"Counterparty"},{type:"Control",scope:"#/properties/group2/properties/INSTRUMENT_ID",options:{data:[{name:"Bond",value:"BOND"},{name:"Equity",value:"EQUITY"}],valueField:"value",labelField:"name"},label:"Instrument"},{type:"Control",scope:"#/properties/group2/properties/SIDE",label:"Side"},{type:"Control",scope:"#/properties/group2/properties/TRADE_DATE",label:"Trade Date"},{type:"Control",scope:"#/properties/group2/properties/ACTIVE",label:"Active"}]}]}}]},$l={type:"object",properties:{group1:{type:"object",properties:{NAME:{type:"string"}}},group2:{type:"object",properties:{QUANTITY:{type:"number"},PRICE:{type:"number"},COUNTERPARTY_ID:{type:"string"},INSTRUMENT_ID:{type:"string"},SIDE:{type:"string",enum:["BUY","SELL"]},TRADE_DATE:{type:"number",format:"date",description:"org.joda.time.DateTime"},ACTIVE:{type:"boolean"}},required:["QUANTITY","PRICE"]}}},Rl={type:"VerticalLayout",dsPrefix:"zero",elements:[{type:"array",scope:"#/properties/users",options:{childUiSchema:{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/firstname",label:"First Name"},{type:"Control",scope:"#/properties/lastname",label:"Last Name"},{type:"Control",scope:"#/properties/email",label:"Email"}]}}}]},jl={type:"object",properties:{users:{type:"array",items:{type:"object",title:"Users",properties:{firstname:{type:"string"},lastname:{type:"string"},email:{type:"string",format:"email"}},required:["firstname"]}}}},Il=s.css`
11732
11734
  :host {
11733
11735
  background: var(--fill-color);
11734
11736
  color: var(--neutral-foreground-rest);
@@ -11759,7 +11761,7 @@
11759
11761
  zero-design-system-provider {
11760
11762
  display: inline;
11761
11763
  }
11762
- `,Il=s.html`
11764
+ `,El=s.html`
11763
11765
  ${e=>{return a=e.prefix,s.html`
11764
11766
  <template>
11765
11767
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11781,7 +11783,7 @@
11781
11783
  </${a}-design-system-provider>
11782
11784
  </template>
11783
11785
  `;var a}}
11784
- `;let El=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=Nl,this.uischema=Ol,this.jsonSchemaArray=Rl,this.uiSchemaArray=$l,this.prefix="zero",this.editedEntity={group1:{NAME:"Test Name"},group2:{COUNTERPARTY_ID:"GENESIS",INSTRUMENT_ID:"BOND"}},this.editedEntityArray={users:[{firstname:"Max",lastname:"Mustermann",age:25,email:"max@mustermann.com"},{firstname:"John",lastname:"Doe",age:35,email:"john@doe.com"}]}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Wn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Wn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(Zn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{gl(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,qn.__decorate)([s.observable],El.prototype,"jsonSchema",void 0),(0,qn.__decorate)([s.observable],El.prototype,"uischema",void 0),(0,qn.__decorate)([s.observable],El.prototype,"jsonSchemaArray",void 0),(0,qn.__decorate)([s.observable],El.prototype,"uiSchemaArray",void 0),(0,qn.__decorate)([s.attr],El.prototype,"prefix",void 0),(0,qn.__decorate)([s.observable],El.prototype,"provider",void 0),(0,qn.__decorate)([s.observable],El.prototype,"editedEntity",void 0),(0,qn.__decorate)([s.observable],El.prototype,"editedEntityArray",void 0),El=(0,qn.__decorate)([(0,s.customElement)({name:"preview-form",template:Il,styles:jl})],El);const Pl=s.css`
11786
+ `;let Pl=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=$l,this.uischema=Nl,this.jsonSchemaArray=jl,this.uiSchemaArray=Rl,this.prefix="zero",this.editedEntity={group1:{NAME:"Test Name"},group2:{COUNTERPARTY_ID:"GENESIS",INSTRUMENT_ID:"BOND"}},this.editedEntityArray={users:[{firstname:"Max",lastname:"Mustermann",age:25,email:"max@mustermann.com"},{firstname:"John",lastname:"Doe",age:35,email:"john@doe.com"}]}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(qn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(qn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(Kn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{dl(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,Jn.__decorate)([s.observable],Pl.prototype,"jsonSchema",void 0),(0,Jn.__decorate)([s.observable],Pl.prototype,"uischema",void 0),(0,Jn.__decorate)([s.observable],Pl.prototype,"jsonSchemaArray",void 0),(0,Jn.__decorate)([s.observable],Pl.prototype,"uiSchemaArray",void 0),(0,Jn.__decorate)([s.attr],Pl.prototype,"prefix",void 0),(0,Jn.__decorate)([s.observable],Pl.prototype,"provider",void 0),(0,Jn.__decorate)([s.observable],Pl.prototype,"editedEntity",void 0),(0,Jn.__decorate)([s.observable],Pl.prototype,"editedEntityArray",void 0),Pl=(0,Jn.__decorate)([(0,s.customElement)({name:"preview-form",template:El,styles:Il})],Pl);const Ul=s.css`
11785
11787
  :host {
11786
11788
  background: var(--fill-color);
11787
11789
  color: var(--neutral-foreground-rest);
@@ -11796,7 +11798,7 @@
11796
11798
  .grid-height {
11797
11799
  height: 450px;
11798
11800
  }
11799
- `,Ul=s.html`
11801
+ `,Bl=s.html`
11800
11802
  ${e=>{return a=e.prefix,s.html`
11801
11803
  <template>
11802
11804
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11806,5 +11808,5 @@
11806
11808
  </${a}-design-system-provider>
11807
11809
  </template>
11808
11810
  `;var a}}
11809
- `;let Bl=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(Wn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Wn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setGridOptions(),p.bodyFont.withDefault(Zn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{gl(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,s.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,qn.__decorate)([s.observable],Bl.prototype,"grid",void 0),(0,qn.__decorate)([s.attr],Bl.prototype,"prefix",void 0),(0,qn.__decorate)([s.observable],Bl.prototype,"provider",void 0),(0,qn.__decorate)([s.observable],Bl.prototype,"rowData",void 0),(0,qn.__decorate)([s.observable],Bl.prototype,"columnDefs",void 0),(0,qn.__decorate)([s.observable],Bl.prototype,"gridOptions",void 0),Bl=(0,qn.__decorate)([(0,s.customElement)({name:"preview-grid",template:Ul,styles:Pl})],Bl),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(Jo,Vn),(0,i.provideDesignSystem)().register(i.baseComponents,Qn)}}]);
11810
- //# sourceMappingURL=866.4ae79d52e2d5176d7e2557c08cc31933.js.map
11811
+ `;let Gl=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(qn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(qn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setGridOptions(),p.bodyFont.withDefault(Kn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{dl(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,s.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Jn.__decorate)([s.observable],Gl.prototype,"grid",void 0),(0,Jn.__decorate)([s.attr],Gl.prototype,"prefix",void 0),(0,Jn.__decorate)([s.observable],Gl.prototype,"provider",void 0),(0,Jn.__decorate)([s.observable],Gl.prototype,"rowData",void 0),(0,Jn.__decorate)([s.observable],Gl.prototype,"columnDefs",void 0),(0,Jn.__decorate)([s.observable],Gl.prototype,"gridOptions",void 0),Gl=(0,Jn.__decorate)([(0,s.customElement)({name:"preview-grid",template:Bl,styles:Ul})],Gl),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(Zo,Qn),(0,i.provideDesignSystem)().register(i.baseComponents,Wn)}}]);
11812
+ //# sourceMappingURL=932.88f44d3761af2bbaa2fe4a61027a9a06.js.map