@genesislcap/design-system-configurator 14.61.2 → 14.62.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/{78.78.b8f5b36e5810507a8ea3.js → 239.239.2c5677f375d19ee6666e.js} +196 -194
  2. package/dist/239.bfe694c2f5a6e3b2fc3cfaae77540f39.js.map +1 -0
  3. package/dist/361.32b7320359793e79399d110dfdee9cb4.js.map +1 -0
  4. package/dist/{361.361.c32f62b0c9f9bcdc606a.js → 361.361.68016c016df611fdfb4b.js} +3 -3
  5. package/dist/{430.430.cb7b115981b1bbd6267b.js → 430.430.34bce27009a38925e17d.js} +1 -1
  6. package/dist/{688.688.5716108249f2da0e3c34.js → 688.688.032b7591b9e2dc0de957.js} +1 -1
  7. package/dist/{170.170.5fdef3a448d75a3e0f61.js → 752.752.eaa077f742734bddbf0e.js} +180 -174
  8. package/dist/752.ff6bf60d50a59cfe0ec3b10ac850241b.js.map +1 -0
  9. package/dist/{755.0d64f062b3b634cd118d384847e796ca.js.map → 755.3286f535f2f194a1cf0e810fede2ea5a.js.map} +1 -1
  10. package/dist/755.755.fcbb70cf6b6551d95ee6.js +2 -0
  11. package/dist/designSystemConfigurator.ac3f249e6450ce1482d390ad4ff4f62c.js.map +1 -0
  12. package/dist/index.html +1 -1
  13. package/dist/info.html +4 -4
  14. package/dist/main.517c76b677a6e97a8a43ffb6f0307dec.js.map +1 -0
  15. package/dist/main.b6d009fd409a66bae57f.js +2 -0
  16. package/dist/remoteEntry.js +2 -2
  17. package/package.json +7 -7
  18. package/dist/170.c2089319d1462bc23e5e6d8b78eae6c9.js.map +0 -1
  19. package/dist/361.1a15c4102569ef79339a783a6e2e4f3c.js.map +0 -1
  20. package/dist/755.755.2eb53d96cbe18b032452.js +0 -2
  21. package/dist/78.425cb2a7860174a348daf8438a951f0b.js.map +0 -1
  22. package/dist/designSystemConfigurator.e438e7829cbfcaa1a454d0208066f8f3.js.map +0 -1
  23. package/dist/main.5e530bc76af699bf022e.js +0 -2
  24. package/dist/main.f6d8380d7a3800560b0d9ff55737fdf1.js.map +0 -1
  25. /package/dist/{170.170.5fdef3a448d75a3e0f61.js.LICENSE.txt → 752.752.eaa077f742734bddbf0e.js.LICENSE.txt} +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[78],{91078:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>al,ColorToken:()=>ol,ColorTokens:()=>dl,DesignSystemEditor:()=>Hn,DesignSystemExport:()=>Kn,DesignSystemPreview:()=>ml,EventName:()=>On,PreviewComponents:()=>Wn,PreviewForm:()=>zl,PreviewGrid:()=>Cl,TypographyTokens:()=>pl,defaultBodyFont:()=>Rn,fontFamilies:()=>$n});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:()=>xe,controlCornerRadiusValue:()=>me,densityValue:()=>ve,designTokens:()=>Se,designUnitValue:()=>be,directionValue:()=>ue,neutralPaletteValue:()=>ce,strokeWidthValue:()=>he,typeRampBaseFontSizeValue:()=>ze,typeRampBaseLineHeightValue:()=>ke});var i=r(86785),n=r(92592),l=r(62646),g=r(81081),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([[239],{49239:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>tl,ColorToken:()=>nl,ColorTokens:()=>cl,DesignSystemEditor:()=>Vn,DesignSystemExport:()=>el,DesignSystemPreview:()=>bl,EventName:()=>$n,PreviewComponents:()=>Zn,PreviewForm:()=>Sl,PreviewGrid:()=>Tl,TypographyTokens:()=>hl,defaultBodyFont:()=>In,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:()=>xe,controlCornerRadiusValue:()=>me,densityValue:()=>ve,designTokens:()=>Se,designUnitValue:()=>be,directionValue:()=>ue,neutralPaletteValue:()=>ce,strokeWidthValue:()=>he,typeRampBaseFontSizeValue:()=>ze,typeRampBaseLineHeightValue:()=>ke});var i=r(26309),n=r(92592),l=r(62646),g=r(48120),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 D=s.html`
188
188
  <template>${e=>e.determinedRenderer.renderer}</template>
189
- `,L=s.css``;let F=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],F.prototype,"jsonforms",void 0),(0,n.__decorate)([s.observable],F.prototype,"props",void 0),(0,n.__decorate)([s.observable],F.prototype,"touched",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],F.prototype,"submitted",void 0),(0,n.__decorate)([s.observable],F.prototype,"dispatch",void 0),(0,n.__decorate)([s.observable],F.prototype,"control",void 0),(0,n.__decorate)([s.observable],F.prototype,"renderer",void 0),(0,n.__decorate)([s.observable],F.prototype,"prefix",void 0),F=(0,n.__decorate)([(0,s.customElement)({name:"dispatch-renderer",template:D,styles:L})],F);const M=s.html`
189
+ `,L=s.css``;let O=class extends s.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,d.Q8v)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,n.__rest)(e,["rootSchema"]);this.renderer=r,this.control=((e,a,r,t)=>{const o=Object.assign({},t({jsonforms:a},e)),i=null===d.AZl||void 0===d.AZl?void 0:(0,d.AZl)(r);return Object.assign(Object.assign({},o),i)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}onBlur(){this.touched=!0}get determinedRenderer(){const e=T()(this.renderer.renderers,(e=>e.tester(this.renderer.uischema,this.renderer.schema)));return this.prefix=this.jsonforms.core.uischema.dsPrefix,void 0===e||-1===e.tester(this.renderer.uischema,this.renderer.schema)?(console.error("UnknownRenderer this.renderer.uischema",this.renderer.uischema),{renderer:"UnknownRenderer"}):e}disconnectedCallback(){super.disconnectedCallback(),this.touched=!1,this.submitted=!1}};(0,n.__decorate)([s.observable],O.prototype,"jsonforms",void 0),(0,n.__decorate)([s.observable],O.prototype,"props",void 0),(0,n.__decorate)([s.observable],O.prototype,"touched",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],O.prototype,"submitted",void 0),(0,n.__decorate)([s.observable],O.prototype,"dispatch",void 0),(0,n.__decorate)([s.observable],O.prototype,"control",void 0),(0,n.__decorate)([s.observable],O.prototype,"renderer",void 0),(0,n.__decorate)([s.observable],O.prototype,"prefix",void 0),O=(0,n.__decorate)([(0,s.customElement)({name:"dispatch-renderer",template:D,styles:L})],O);const F=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(13372);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(64712);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,V,Y,Q,q,J,W,X,I,G,E,U,H];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,fe=()=>{(0,g.loadFontFaces)("\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")},we='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',ye=(e=g.FontStyle.Normal,a=g.FontWeight.Regular)=>(0,g.getFontMixin)(we,e,a),xe=we,ze=p.typeRampBaseFontSize.getValueFor(p.typeRampBaseFontSize.appliedTo[0]),ke=p.typeRampBaseLineHeight.getValueFor(p.typeRampBaseLineHeight.appliedTo[0]),Se={design_tokens:{color:{accent:{$value:se.source.toColorString(),$type:"color"},neutral:{$value:ce.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:xe,$type:"fontFamily"}},typography:{baseFontSize:{$value:ze,$type:"dimension"},baseLineHeight:{$value:ke,$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 Ce extends $.Accordion{}const Ae=Ce.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,V,Y,Q,q,J,W,X,I,G,E,U,H];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:F,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,fe=()=>{(0,g.loadFontFaces)("\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")},we='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',ye=(e=g.FontStyle.Normal,a=g.FontWeight.Regular)=>(0,g.getFontMixin)(we,e,a),xe=we,ze=p.typeRampBaseFontSize.getValueFor(p.typeRampBaseFontSize.appliedTo[0]),ke=p.typeRampBaseLineHeight.getValueFor(p.typeRampBaseLineHeight.appliedTo[0]),Se={design_tokens:{color:{accent:{$value:se.source.toColorString(),$type:"color"},neutral:{$value:ce.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:xe,$type:"fontFamily"}},typography:{baseFontSize:{$value:ze,$type:"dimension"},baseLineHeight:{$value:ke,$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 Ce extends $.Accordion{}const Ae=Ce.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 Te extends $.AccordionItem{}const De=Te.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 Fe=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 Me=r(82694);const Oe=(e,a=1)=>new Me.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),Ne=(0,Me.parseColorHexRGB)(ie.white),$e=(e=1)=>Oe(Ne,e),Re=((0,Me.parseColorHexRGB)(ie.black),(0,Me.parseColorHexRGB)("#585858")),je=(p.SwatchRGB.create(Re.r,Re.g,Re.b),(0,Me.parseColorHexRGB)("#202126")),Ie=p.SwatchRGB.create(je.r,je.g,je.b),Ee=(p.PaletteRGB.from(Ie),(0,Me.parseColorHexRGB)(ne.blue)),Pe=(e=1)=>Oe(Ee,e),Ue=p.SwatchRGB.create(Ee.r,Ee.g,Ee.b),Be=(p.PaletteRGB.from(Ue),(0,Me.parseColorHexRGB)(ne.purple)),Ge=(e=1)=>Oe(Be,e),He=(0,Me.parseColorHexRGB)(le.orange),_e=(e=1)=>Oe(He,e),Ve=(0,Me.parseColorHexRGB)(le.teal),Ye=(e=1)=>Oe(Ve,e),Qe=((0,Me.parseColorHexRGB)(de.longGreen),(0,Me.parseColorHexRGB)(de.chartPink),(0,Me.parseColorHexRGB)(de.warningYellow)),qe=(0,Me.parseColorHexRGB)(de.chartPink),We=(e=1)=>Oe(qe,e);function Je(e,a){return new c.PropertyStyleSheetBehavior("appearance",e,a)}const Ze=.3,Ke=.1,Xe=.5,ea=s.css`
482
+ `,template:$.foundationActionsMenuTemplate});var Fe=r(82694);const Me=(e,a=1)=>new Fe.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),Ne=(0,Fe.parseColorHexRGB)(ie.white),$e=(e=1)=>Me(Ne,e),Re=((0,Fe.parseColorHexRGB)(ie.black),(0,Fe.parseColorHexRGB)("#585858")),je=(p.SwatchRGB.create(Re.r,Re.g,Re.b),(0,Fe.parseColorHexRGB)("#202126")),Ie=p.SwatchRGB.create(je.r,je.g,je.b),Ee=(p.PaletteRGB.from(Ie),(0,Fe.parseColorHexRGB)(ne.blue)),Pe=(e=1)=>Me(Ee,e),Ue=p.SwatchRGB.create(Ee.r,Ee.g,Ee.b),Be=(p.PaletteRGB.from(Ue),(0,Fe.parseColorHexRGB)(ne.purple)),Ge=(e=1)=>Me(Be,e),He=(0,Fe.parseColorHexRGB)(le.orange),_e=(e=1)=>Me(He,e),Ve=(0,Fe.parseColorHexRGB)(le.teal),Ye=(e=1)=>Me(Ve,e),Qe=((0,Fe.parseColorHexRGB)(de.longGreen),(0,Fe.parseColorHexRGB)(de.chartPink),(0,Fe.parseColorHexRGB)(de.warningYellow)),qe=(0,Fe.parseColorHexRGB)(de.chartPink),We=(e=1)=>Me(qe,e);function Je(e,a){return new c.PropertyStyleSheetBehavior("appearance",e,a)}const Ze=.3,Ke=.1,Xe=.5,ea=s.css`
483
483
  :host([appearance='primary-blue']) {
484
484
  background: ${Pe(Ze)};
485
485
  border: 1px solid ${ne.blue};
@@ -694,7 +694,9 @@
694
694
  ${da(e,a)}
695
695
  `.withBehaviors(...da(e,a).behaviors),shadowOptions:$.foundationAnchorShadowOptions},$.defaultAnchorConfig));class pa extends $.AnchoredRegion{}const ua=pa.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,$.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>s.css`
696
696
  ${(0,$.foundationAnchoredRegionStyles)(e,a)}
697
- `,shadowOptions:$.foundationAnchoredRegionShadowOptions},$.defaultAnchoredRegionConfig));class ha extends $.Badge{}const ma=ha.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,$.foundationBadgeTemplate)(e,a),styles:(e,a)=>s.css`
697
+ `,shadowOptions:$.foundationAnchoredRegionShadowOptions},$.defaultAnchoredRegionConfig));class ha extends $.Avatar{}const ma=ha.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,$.foundationAvatarTemplate)(e,a),styles:(e,a)=>s.css`
698
+ ${(0,$.foundationAvatarStyles)(e,a)}
699
+ `,shadowOptions:$.foundationAvatarShadowOptions},$.defaultAvatarConfig));class va extends $.Badge{}const ba=va.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,$.foundationBadgeTemplate)(e,a),styles:(e,a)=>s.css`
698
700
  ${(0,$.foundationBadgeStyles)(e,a)}
699
701
  :host {
700
702
  --badge-fill-primary: ${Pe()};
@@ -708,14 +710,14 @@
708
710
  :host .control {
709
711
  padding: calc(${p.designUnit} * 1px) calc(${p.designUnit} * 2px);
710
712
  }
711
- `,shadowOptions:$.foundationBadgeShadowOptions},$.defaultBadgeConfig)),va=s.css`
713
+ `,shadowOptions:$.foundationBadgeShadowOptions},$.defaultBadgeConfig)),fa=s.css`
712
714
  ${$.foundationBannerStyles}
713
715
  .banner {
714
716
  background-color: ${p.neutralLayer1};
715
717
  }
716
- `,ba=$.foundationBannerShadowOptions;class fa extends $.Banner{}const wa=fa.compose({baseName:"banner",shadowOptions:ba,styles:va,template:$.foundationBannerTemplate});class ya extends $.Breadcrumb{}const xa=ya.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,$.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>s.css`
718
+ `,wa=$.foundationBannerShadowOptions;class ya extends $.Banner{}const xa=ya.compose({baseName:"banner",shadowOptions:wa,styles:fa,template:$.foundationBannerTemplate});class za extends $.Breadcrumb{}const ka=za.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,$.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>s.css`
717
719
  ${(0,$.foundationBreadcrumbStyles)(e,a)}
718
- `,shadowOptions:undefined},{}));class za extends $.BreadcrumbItem{}const ka=za.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,$.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>s.css`
720
+ `,shadowOptions:undefined},{}));class Sa extends $.BreadcrumbItem{}const Ca=Sa.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,$.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>s.css`
719
721
  ${(0,$.foundationBreadcrumbItemStyles)(e,a)}
720
722
  :host {
721
723
  --neutral-foreground-rest: #18b2e3;
@@ -726,13 +728,13 @@
726
728
  .separator {
727
729
  color: var(--neutral-stroke-rest);
728
730
  }
729
- `,shadowOptions:$.foundationBreadcrumbItemShadowOptions},$.defaultBreadcrumbItemConfig));class Sa extends $.Button{}const Ca=Sa.compose(Object.assign({baseName:"button",template:(e,a)=>(0,$.foundationButtonTemplate)(e,a),styles:da,shadowOptions:$.foundationButtonShadowOptions},$.defaultButtonConfig));class Aa extends $.Card{}const Ta=Aa.compose(Object.assign({baseName:"card",template:(e,a)=>(0,$.foundationCardTemplate)(e,a),styles:(e,a)=>s.css`
731
+ `,shadowOptions:$.foundationBreadcrumbItemShadowOptions},$.defaultBreadcrumbItemConfig));class Aa extends $.Button{}const Ta=Aa.compose(Object.assign({baseName:"button",template:(e,a)=>(0,$.foundationButtonTemplate)(e,a),styles:da,shadowOptions:$.foundationButtonShadowOptions},$.defaultButtonConfig));class Da extends $.Card{}const La=Da.compose(Object.assign({baseName:"card",template:(e,a)=>(0,$.foundationCardTemplate)(e,a),styles:(e,a)=>s.css`
730
732
  ${(0,$.foundationCardStyles)(e,a)}
731
733
  :host {
732
734
  background-color: var(--zero-card-fill-color, var(--neutral-layer-2));
733
735
  color: ${p.neutralForegroundRest};
734
736
  }
735
- `,shadowOptions:$.foundationCardShadowOptions},$.defaultCardConfig));class Da extends $.Checkbox{}const La=Da.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,$.foundationCheckboxTemplate)(e,a),styles:(e,a)=>s.css`
737
+ `,shadowOptions:$.foundationCardShadowOptions},$.defaultCardConfig));class Oa extends $.Checkbox{}const Fa=Oa.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,$.foundationCheckboxTemplate)(e,a),styles:(e,a)=>s.css`
736
738
  ${(0,$.foundationCheckboxStyles)(e,a)}
737
739
  :host {
738
740
  --primary-gradient-angle: -113.5deg;
@@ -752,14 +754,14 @@
752
754
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 20%) inset;
753
755
  border-radius: calc(var(--control-corner-radius) * 1px);
754
756
  }
755
- `,shadowOptions:$.foundationCheckboxShadowOptions},$.defaultCheckboxConfig)),Fa=(0,Me.parseColorHexRGB)("#F1F1F1"),Ma=Oe(Fa,1),Oa=(0,Me.parseColorHexRGB)("#879BA6"),Na=Oe(Oa,.06),$a=(0,Me.parseColorHexRGB)("#879BA6"),Ra=Oe($a,1),ja=(0,Me.parseColorHexRGB)("#121212"),Ia=Oe(ja,1),Ea=(0,Me.parseColorHexRGB)("#2e3339"),Pa=Oe(Ea,1);var Ua;!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"}(Ua||(Ua={}));Object.values(Ua);class Ba extends $.Combobox{}const Ga=Ba.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,$.foundationComboboxTemplate)(e,a),styles:(e,a)=>s.css`
757
+ `,shadowOptions:$.foundationCheckboxShadowOptions},$.defaultCheckboxConfig)),Ma=(0,Fe.parseColorHexRGB)("#F1F1F1"),Na=Me(Ma,1),$a=(0,Fe.parseColorHexRGB)("#879BA6"),Ra=Me($a,.06),ja=(0,Fe.parseColorHexRGB)("#879BA6"),Ia=Me(ja,1),Ea=(0,Fe.parseColorHexRGB)("#121212"),Pa=Me(Ea,1),Ua=(0,Fe.parseColorHexRGB)("#2e3339"),Ba=Me(Ua,1);var Ga;!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"}(Ga||(Ga={}));Object.values(Ga);class Ha extends $.Combobox{}const _a=Ha.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,$.foundationComboboxTemplate)(e,a),styles:(e,a)=>s.css`
756
758
  ${(0,$.foundationComboboxStyles)(e,a)}
757
759
  :host {
758
760
  --primary-gradient-angle: -113.5deg;
759
761
 
760
762
  border-radius: calc(var(--control-corner-radius) * 1px);
761
- border-color: ${Pa};
762
- background: ${Na};
763
+ border-color: ${Ba};
764
+ background: ${Ra};
763
765
  }
764
766
 
765
767
  :host(:focus-within:not([disabled])) {
@@ -784,8 +786,8 @@
784
786
  }
785
787
 
786
788
  :host(:hover:not([disabled]):not([open])) {
787
- border-color: ${Ma};
788
- background: ${Na};
789
+ border-color: ${Na};
790
+ background: ${Ra};
789
791
  }
790
792
 
791
793
  :host([open][position='below']) .listbox {
@@ -796,29 +798,29 @@
796
798
  }
797
799
 
798
800
  :host([open]) .control {
799
- background: ${Ia};
801
+ background: ${Pa};
800
802
  }
801
803
 
802
804
  :host(:not([disabled])) .control:active {
803
805
  background: none;
804
806
  }
805
- `,shadowOptions:$.foundationComboboxShadowOptions},$.defaultComboboxConfig));class Ha extends $.ConnectionIndicator{}const _a=Ha.compose({baseName:"connection-indicator",template:$.foundationConnectionIndicatorTemplate,styles:$.foundationConnectionIndicatorStyles});class Va extends $.DataGridCell{}Va.compose(Object.assign({baseName:"data-grid-cell",template:c.dataGridCellTemplate,styles:(e,a)=>s.css`
807
+ `,shadowOptions:$.foundationComboboxShadowOptions},$.defaultComboboxConfig));class Va extends $.ConnectionIndicator{}const Ya=Va.compose({baseName:"connection-indicator",template:$.foundationConnectionIndicatorTemplate,styles:$.foundationConnectionIndicatorStyles});class Qa extends $.DataGridCell{}Qa.compose(Object.assign({baseName:"data-grid-cell",template:c.dataGridCellTemplate,styles:(e,a)=>s.css`
806
808
  ${(0,$.foundationDataGridCellStyles)(e,a)}
807
- `,shadowOptions:$.foundationDataGridCellShadowOptions},$.defaultDataGridCellConfig));class Ya extends $.DataGridRow{}Ya.compose(Object.assign({baseName:"data-grid-row",template:c.dataGridRowTemplate,styles:(e,a)=>s.css`
809
+ `,shadowOptions:$.foundationDataGridCellShadowOptions},$.defaultDataGridCellConfig));class qa extends $.DataGridRow{}qa.compose(Object.assign({baseName:"data-grid-row",template:c.dataGridRowTemplate,styles:(e,a)=>s.css`
808
810
  ${(0,$.foundationDataGridRowStyles)(e,a)}
809
- `,shadowOptions:$.foundationDataGridRowShadowOptions},$.defaultDataGridRowConfig));class Qa extends $.DataGrid{}const qa=Qa.compose(Object.assign({baseName:"data-grid",template:(e,a)=>(0,$.foundationDataGridTemplate)(e,a),styles:(e,a)=>s.css`
811
+ `,shadowOptions:$.foundationDataGridRowShadowOptions},$.defaultDataGridRowConfig));class Wa extends $.DataGrid{}const Ja=Wa.compose(Object.assign({baseName:"data-grid",template:(e,a)=>(0,$.foundationDataGridTemplate)(e,a),styles:(e,a)=>s.css`
810
812
  ${(0,$.foundationDataGridStyles)(e,a)}
811
813
  ::slotted(.sticky-header),
812
814
  ::slotted(.header) {
813
815
  border-bottom-color: var(--neutral-color);
814
816
 
815
- --neutral-foreground-rest: ${Ra};
817
+ --neutral-foreground-rest: ${Ia};
816
818
  }
817
819
 
818
820
  ::slotted([role='row']) {
819
821
  background-color: #1f2126;
820
822
  }
821
- `,shadowOptions:$.foundationDataGridShadowOptions},$.defaultDataGridConfig));class Wa extends $.DatePicker{}const Ja=Wa.compose(Object.assign({baseName:"date-picker",template:()=>$.foundationDatePickerTemplate,styles:()=>s.css`
823
+ `,shadowOptions:$.foundationDataGridShadowOptions},$.defaultDataGridConfig));class Za extends $.DatePicker{}const Ka=Za.compose(Object.assign({baseName:"date-picker",template:()=>$.foundationDatePickerTemplate,styles:()=>s.css`
822
824
  ${$.foundationDatePickerStyles}
823
825
  .date-toggle {
824
826
  background: var(--neutral-layer-card-container);
@@ -842,12 +844,12 @@
842
844
  .month-day.current {
843
845
  color: ${ie.almostWhite};
844
846
  }
845
- `,shadowOptions:undefined},{}));var Za=r(37068);fe();const Ka=s.css`
847
+ `,shadowOptions:undefined},{}));var Xa=r(37068);fe();const er=s.css`
846
848
  ${(0,c.display)("flex")}
847
849
  :host {
848
850
  flex: 1;
849
851
  }
850
- `,Xa=s.css`
852
+ `,ar=s.css`
851
853
  :host {
852
854
  background-color: ${p.neutralFillStealthActive};
853
855
  }
@@ -857,31 +859,31 @@
857
859
  box-shadow: 0 0 0 1px ${u.H.CanvasText};
858
860
  color: ${u.H.ButtonText};
859
861
  }
860
- `)),er=(e,a,r)=>s.css`
862
+ `)),rr=(e,a,r)=>s.css`
861
863
  ${e.name} ${"h"+a} {
862
864
  font-size: var(--type-ramp-plus-${r}-font-size);
863
865
  line-height: var(--type-ramp-plus-${r}-line-height);
864
866
  margin: 0;
865
867
  ${ye(g.FontStyle.Normal,g.FontWeight.Bold)}
866
868
  }
867
- `;class ar extends p.DesignSystemProvider{constructor(){super(),(0,$.provideTokens)(t,o,this)}}(0,Za.__decorate)([(0,s.attr)({attribute:"card-fill-color",converter:$.swatchConverter}),(0,$.designToken)(p.neutralFillStealthRest)],ar.prototype,"cardFillColor",void 0),(0,Za.__decorate)([(0,s.attr)({attribute:"card-foreground-color",converter:$.swatchConverter}),(0,$.designToken)(p.neutralForegroundRest)],ar.prototype,"cardForegroundColor",void 0);const rr=ar.compose({baseName:"design-system-provider",template:s.html`
869
+ `;class tr extends p.DesignSystemProvider{constructor(){super(),(0,$.provideTokens)(t,o,this)}}(0,Xa.__decorate)([(0,s.attr)({attribute:"card-fill-color",converter:$.swatchConverter}),(0,$.designToken)(p.neutralFillStealthRest)],tr.prototype,"cardFillColor",void 0),(0,Xa.__decorate)([(0,s.attr)({attribute:"card-foreground-color",converter:$.swatchConverter}),(0,$.designToken)(p.neutralForegroundRest)],tr.prototype,"cardForegroundColor",void 0);const or=tr.compose({baseName:"design-system-provider",template:s.html`
868
870
  <slot></slot>
869
871
  `,styles:e=>{const a=(e=>s.css`
870
- ${er(e,"1","6")}
871
- ${er(e,"2","5")}
872
- ${er(e,"3","4")}
873
- ${er(e,"4","3")}
874
- ${er(e,"5","2")}
875
- ${er(e,"6","1")}
872
+ ${rr(e,"1","6")}
873
+ ${rr(e,"2","5")}
874
+ ${rr(e,"3","4")}
875
+ ${rr(e,"4","3")}
876
+ ${rr(e,"5","2")}
877
+ ${rr(e,"6","1")}
876
878
  `)(e);return a.addStylesTo(document),s.css`
877
- ${Ka}
878
- ${Xa}
879
+ ${er}
880
+ ${ar}
879
881
  ${a}
880
882
  :host * {
881
883
  color: ${p.neutralForegroundRest};
882
884
  ${ye()}
883
885
  }
884
- `}}),tr=(0,Me.parseColorHexRGB)("#121212"),or=Oe(tr,1),ir=s.css`
886
+ `}}),ir=(0,Fe.parseColorHexRGB)("#121212"),nr=Me(ir,1),lr=s.css`
885
887
  ${$.foundationDialogStyles}
886
888
  :host {
887
889
  --dialog-background: ${p.neutralLayer2};
@@ -944,19 +946,19 @@
944
946
  }
945
947
 
946
948
  .close-icon:active svg {
947
- background-color: ${or};
949
+ background-color: ${nr};
948
950
  }
949
951
 
950
952
  .close-icon:active svg g path {
951
953
  fill: ${$e(.33)};
952
954
  }
953
- `,nr=$.defaultDialogConfig,lr=$.foundationDialogTemplate,gr=$.foundationDialogShadowOptions;class dr extends $.Dialog{}const sr=dr.compose(Object.assign({baseName:"dialog",shadowOptions:gr,styles:ir,template:lr},nr));class cr extends $.Disclosure{}const pr=cr.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,$.foundationDisclosureTemplate)(e,a),styles:(e,a)=>s.css`
955
+ `,gr=$.defaultDialogConfig,dr=$.foundationDialogTemplate,sr=$.foundationDialogShadowOptions;class cr extends $.Dialog{}const pr=cr.compose(Object.assign({baseName:"dialog",shadowOptions:sr,styles:lr,template:dr},gr));class ur extends $.Disclosure{}const hr=ur.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,$.foundationDisclosureTemplate)(e,a),styles:(e,a)=>s.css`
954
956
  ${(0,$.foundationDisclosureStyles)(e,a)}
955
- `,shadowOptions:$.foundationDialogShadowOptions},$.defaultDisclosureConfig));class ur extends $.Divider{}const hr=ur.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,$.foundationDividerTemplate)(e,a),styles:(e,a)=>s.css`
957
+ `,shadowOptions:$.foundationDialogShadowOptions},$.defaultDisclosureConfig));class mr extends $.Divider{}const vr=mr.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,$.foundationDividerTemplate)(e,a),styles:(e,a)=>s.css`
956
958
  ${(0,$.foundationDividerStyles)(e,a)}
957
- `,shadowOptions:$.foundationDividerShadowOptions},$.defaultDividerConfig));class mr extends $.DropdownMenu{}const vr=mr.compose({baseName:"dropdown-menu",styles:(e,a)=>s.css`
959
+ `,shadowOptions:$.foundationDividerShadowOptions},$.defaultDividerConfig));class br extends $.DropdownMenu{}const fr=br.compose({baseName:"dropdown-menu",styles:(e,a)=>s.css`
958
960
  ${(0,$.dropdownMenuBaseStyles)("zero",e,a)}
959
- `,template:$.foundationDropdownMenuTemplate}),br=s.html`
961
+ `,template:$.foundationDropdownMenuTemplate}),wr=s.html`
960
962
  <zero-banner ${(0,s.ref)("banner")}>
961
963
  <div slot="content">
962
964
  <div>${e=>{var a;return(null===(a=e.error)||void 0===a?void 0:a.errorDetails)||"Place holder for error message"}}</div>
@@ -976,7 +978,7 @@
976
978
  </zero-button>
977
979
  `)}
978
980
  </zero-banner>
979
- `,fr=$.foundationErrorBannerShadowOptions;class wr extends $.ErrorBanner{}const yr=wr.compose({baseName:"error-banner",template:br,shadowOptions:fr});class xr extends $.ErrorBoundary{}const zr=xr.compose({baseName:"error-boundary",template:$.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class kr extends $.ErrorDialog{}const Sr=kr.compose({baseName:"error-dialog",styles:$.foundationErrorDialogStyles,template:$.errorDialogTemplate,shadowOptions:$.foundationErrorDialogShadowOptions}),Cr=s.css`
981
+ `,yr=$.foundationErrorBannerShadowOptions;class xr extends $.ErrorBanner{}const zr=xr.compose({baseName:"error-banner",template:wr,shadowOptions:yr});class kr extends $.ErrorBoundary{}const Sr=kr.compose({baseName:"error-boundary",template:$.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class Cr extends $.ErrorDialog{}const Ar=Cr.compose({baseName:"error-dialog",styles:$.foundationErrorDialogStyles,template:$.errorDialogTemplate,shadowOptions:$.foundationErrorDialogShadowOptions}),Tr=s.css`
980
982
  ${$.foundationFileUploadStyles}
981
983
  ::-webkit-scrollbar {
982
984
  width: 12px;
@@ -993,22 +995,22 @@
993
995
  background-color: var(--neutral-color);
994
996
  border: 3px solid rgb(31 33 38);
995
997
  }
996
- `,Ar=s.html`
998
+ `,Dr=s.html`
997
999
  ${(0,$.getPrefixedFileUpload)("zero")}
998
- `,Tr=$.defaultFileUploadConfig,Dr=$.foundationFileUploadShadowOptions;class Lr extends $.FileUpload{}const Fr=Lr.compose(Object.assign({baseName:"file-upload",shadowOptions:Dr,styles:Cr,template:Ar},Tr)),Mr=s.html`
1000
+ `,Lr=$.defaultFileUploadConfig,Or=$.foundationFileUploadShadowOptions;class Fr extends $.FileUpload{}const Mr=Fr.compose(Object.assign({baseName:"file-upload",shadowOptions:Or,styles:Tr,template:Dr},Lr)),Nr=s.html`
999
1001
  <div class="close-icon" @click=${e=>e.clear()}>${(0,$.closeIcon)()}</div>
1000
- `,Or=s.html`
1002
+ `,$r=s.html`
1001
1003
  <div class="flex-row">
1002
1004
  <div>${e=>e.label}</div>
1003
- ${Mr}
1005
+ ${Nr}
1004
1006
  </div>
1005
1007
  <div class="flex-row">
1006
1008
  <zero-text-field ${(0,s.ref)("textFilterField")} type="text" :value=${(0,g.sync)((e=>e.textFilter))} />
1007
1009
  </div>
1008
- `,Nr=s.html`
1010
+ `,Rr=s.html`
1009
1011
  <div class="flex-row">
1010
1012
  <div>${e=>e.label}</div>
1011
- ${Mr}
1013
+ ${Nr}
1012
1014
  </div>
1013
1015
  <div class="flex-row">
1014
1016
  <zero-text-field
@@ -1024,10 +1026,10 @@
1024
1026
  placeholder="max"
1025
1027
  ></zero-text-field>
1026
1028
  </div>
1027
- `,$r=s.html`
1029
+ `,jr=s.html`
1028
1030
  <div class="flex-row">
1029
1031
  <div>${e=>e.label}</div>
1030
- ${Mr}
1032
+ ${Nr}
1031
1033
  </div>
1032
1034
  <div class="flex-row">
1033
1035
  <zero-text-field
@@ -1043,27 +1045,27 @@
1043
1045
  placeholder="max"
1044
1046
  ></zero-text-field>
1045
1047
  </div>
1046
- `;function Rr(e){var a,r,t;return null!==(t=null===(r=null===(a=null==e?void 0:e.event)||void 0===a?void 0:a.target)||void 0===r?void 0:r.value)&&void 0!==t?t:"all"}const jr=[{name:"All",value:"all",selected:!0},{name:"True",value:"true"},{name:"False",value:"false"},{name:"N/A",value:"null"}],Ir=s.html`
1048
+ `;function Ir(e){var a,r,t;return null!==(t=null===(r=null===(a=null==e?void 0:e.event)||void 0===a?void 0:a.target)||void 0===r?void 0:r.value)&&void 0!==t?t:"all"}const Er=[{name:"All",value:"all",selected:!0},{name:"True",value:"true"},{name:"False",value:"false"},{name:"N/A",value:"null"}],Pr=s.html`
1047
1049
  <div class="flex-row">
1048
1050
  <div>${e=>e.label}</div>
1049
- ${Mr}
1051
+ ${Nr}
1050
1052
  </div>
1051
1053
  <div class="flex-row">
1052
- <zero-select @change="${(e,a)=>e.onBooleanFilterSelection(Rr(a))}}">
1053
- ${(0,s.repeat)((()=>jr),s.html`
1054
+ <zero-select @change="${(e,a)=>e.onBooleanFilterSelection(Ir(a))}}">
1055
+ ${(0,s.repeat)((()=>Er),s.html`
1054
1056
  <zero-option value="${e=>e.value}" selected="${e=>e.selected}">
1055
1057
  ${e=>e.name}
1056
1058
  </zero-option>
1057
1059
  `)}
1058
1060
  </zero-select>
1059
1061
  </div>
1060
- `,Er=s.html`
1062
+ `,Ur=s.html`
1061
1063
  <div class="flex-row">
1062
1064
  <div>${e=>e.label}</div>
1063
- ${Mr}
1065
+ ${Nr}
1064
1066
  </div>
1065
1067
  <div class="flex-row">
1066
- <zero-select @change="${(e,a)=>e.onEnumFilterSelection(Rr(a))}}">
1068
+ <zero-select @change="${(e,a)=>e.onEnumFilterSelection(Ir(a))}}">
1067
1069
  ${(0,s.repeat)((e=>e.enumFilterOptions),s.html`
1068
1070
  <zero-option value="${e=>e.value}" selected="${e=>e.selected}">
1069
1071
  ${e=>e.name}
@@ -1071,23 +1073,23 @@
1071
1073
  `)}
1072
1074
  </zero-select>
1073
1075
  </div>
1074
- `,Pr=s.html`
1075
- <div class="filter-wrapper">${e=>(e=>{switch(e.type){case"number":return Nr;case"date":return $r;case"boolean":return Ir;case"enum":return Er;default:return Or}})(e)}</div>
1076
- `;class Ur extends $.Filter{constructor(){super(...arguments),this.type=super.type,this.enumFilterOptions=super.enumFilterOptions}}(0,Za.__decorate)([s.attr],Ur.prototype,"fieldName",void 0),(0,Za.__decorate)([s.attr],Ur.prototype,"label",void 0),(0,Za.__decorate)([s.attr],Ur.prototype,"type",void 0),(0,Za.__decorate)([s.attr],Ur.prototype,"target",void 0),(0,Za.__decorate)([s.observable],Ur.prototype,"enumFilterOptions",void 0);const Br=Ur.compose({baseName:"filter",template:Pr,styles:$.foundationFilterStyles});var Gr=r(9770);const Hr=s.html`
1076
+ `,Br=s.html`
1077
+ <div class="filter-wrapper">${e=>(e=>{switch(e.type){case"number":return Rr;case"date":return jr;case"boolean":return Pr;case"enum":return Ur;default:return $r}})(e)}</div>
1078
+ `;class Gr extends $.Filter{constructor(){super(...arguments),this.type=super.type,this.enumFilterOptions=super.enumFilterOptions}}(0,Xa.__decorate)([s.attr],Gr.prototype,"fieldName",void 0),(0,Xa.__decorate)([s.attr],Gr.prototype,"label",void 0),(0,Xa.__decorate)([s.attr],Gr.prototype,"type",void 0),(0,Xa.__decorate)([s.attr],Gr.prototype,"target",void 0),(0,Xa.__decorate)([s.observable],Gr.prototype,"enumFilterOptions",void 0);const Hr=Gr.compose({baseName:"filter",template:Br,styles:$.foundationFilterStyles});var _r=r(9770);const Vr=s.html`
1077
1079
  ${(0,s.when)((e=>e.collapsed),s.html`
1078
1080
  <zero-icon name="chevron-down"></zero-icon>
1079
1081
  `)}
1080
1082
  ${(0,s.when)((e=>!e.collapsed),s.html`
1081
1083
  <zero-icon name="chevron-up"></zero-icon>
1082
1084
  `)}
1083
- `,_r=s.html`
1085
+ `,Yr=s.html`
1084
1086
  <div
1085
- class=${e=>(0,Gr.A)(["toggle",!0],["toggle-collapsed",e.collapsed])}
1087
+ class=${e=>(0,_r.A)(["toggle",!0],["toggle-collapsed",e.collapsed])}
1086
1088
  @click="${e=>e.toggle()}"
1087
1089
  >
1088
- ${Hr}
1090
+ ${Vr}
1089
1091
  </div>
1090
- <div class=${e=>(0,Gr.A)(["filter-bar",!0],["collapsed",e.collapsed])}>
1092
+ <div class=${e=>(0,_r.A)(["filter-bar",!0],["collapsed",e.collapsed])}>
1091
1093
  <div class="filter-grid" ${(0,s.ref)("filterGrid")}>
1092
1094
  ${(0,s.repeat)((e=>e.fields),s.html`
1093
1095
  <zero-filter
@@ -1100,9 +1102,9 @@
1100
1102
  `)}
1101
1103
  </div>
1102
1104
  </div>
1103
- `,Vr=s.html`
1104
- ${_r}
1105
- `;class Yr extends $.FilterBar{constructor(){super(...arguments),this.ready=super.ready,this.collapsed=!0}}(0,Za.__decorate)([s.attr],Yr.prototype,"resource",void 0),(0,Za.__decorate)([s.attr],Yr.prototype,"only",void 0),(0,Za.__decorate)([s.attr],Yr.prototype,"labels",void 0),(0,Za.__decorate)([s.attr],Yr.prototype,"target",void 0),(0,Za.__decorate)([s.observable],Yr.prototype,"ready",void 0),(0,Za.__decorate)([s.observable],Yr.prototype,"fields",void 0),(0,Za.__decorate)([s.observable],Yr.prototype,"collapsed",void 0);const Qr=Yr.compose({baseName:"filter-bar",template:Vr,styles:(e,a)=>s.css`
1105
+ `,Qr=s.html`
1106
+ ${Yr}
1107
+ `;class qr extends $.FilterBar{constructor(){super(...arguments),this.ready=super.ready,this.collapsed=!0}}(0,Xa.__decorate)([s.attr],qr.prototype,"resource",void 0),(0,Xa.__decorate)([s.attr],qr.prototype,"only",void 0),(0,Xa.__decorate)([s.attr],qr.prototype,"labels",void 0),(0,Xa.__decorate)([s.attr],qr.prototype,"target",void 0),(0,Xa.__decorate)([s.observable],qr.prototype,"ready",void 0),(0,Xa.__decorate)([s.observable],qr.prototype,"fields",void 0),(0,Xa.__decorate)([s.observable],qr.prototype,"collapsed",void 0);const Wr=qr.compose({baseName:"filter-bar",template:Qr,styles:(e,a)=>s.css`
1106
1108
  ${(0,$.foundationFilterBarStyles)(e,a)}
1107
1109
  .toggle,
1108
1110
  .toggle-collapsed {
@@ -1114,7 +1116,7 @@
1114
1116
  .toggle-collapsed:hover {
1115
1117
  color: var(--ag-alpine-active-color, #2196f3);
1116
1118
  }
1117
- `});class qr extends $.FlexLayout{}const Wr=qr.compose(Object.assign({baseName:"flex-layout",shadowOptions:$.foundationFlexLayoutShadowOptions,styles:$.foundationFlexLayoutStyles,template:$.foundationFlexLayoutTemplate},$.defaultFlexLayoutConfig));class Jr extends $.Flipper{}const Zr=Jr.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,$.foundationFlipperTemplate)(e,a),styles:(e,a)=>s.css`
1119
+ `});class Jr extends $.FlexLayout{}const Zr=Jr.compose(Object.assign({baseName:"flex-layout",shadowOptions:$.foundationFlexLayoutShadowOptions,styles:$.foundationFlexLayoutStyles,template:$.foundationFlexLayoutTemplate},$.defaultFlexLayoutConfig));class Kr extends $.Flipper{}const Xr=Kr.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,$.foundationFlipperTemplate)(e,a),styles:(e,a)=>s.css`
1118
1120
  ${(0,$.foundationFlipperStyles)(e,a)}
1119
1121
  :host {
1120
1122
  --foreground-on-accent-rest: ${ie.white};
@@ -1138,7 +1140,7 @@
1138
1140
  ${ne.purple}
1139
1141
  );
1140
1142
  }
1141
- `,shadowOptions:$.foundationFlipperShadowOptions},$.defaultFlipperConfig)),Kr=s.css`
1143
+ `,shadowOptions:$.foundationFlipperShadowOptions},$.defaultFlipperConfig)),et=s.css`
1142
1144
  ${$.foundationFlyoutStyles}
1143
1145
  div.flyout {
1144
1146
  background-color: ${p.neutralLayer2};
@@ -1165,17 +1167,17 @@
1165
1167
  background-color: ${p.neutralFillHover};
1166
1168
  border-radius: 3px;
1167
1169
  }
1168
- `,Xr=$.defaultFlyoutConfig,et=$.foundationFlyoutShadowOptions;class at extends $.Flyout{}const rt=at.compose(Object.assign({baseName:"flyout",shadowOptions:et,styles:Kr,template:$.foundationFlyoutTemplate},Xr));class tt extends $.GridLayout{}const ot=tt.compose(Object.assign({baseName:"grid-layout",shadowOptions:$.foundationGridLayoutShadowOptions,styles:$.foundationGridLayoutStyles,template:$.foundationGridLayoutTemplate},$.defaultGridLayoutConfig));class it extends $.GridLayoutItem{}const nt=it.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:$.foundationGridLayoutItemShadowOptions,template:$.foundationGridLayoutItemTemplate},$.defaultGridLayoutItemConfig));class lt extends $.HorizontalScroll{}const gt=lt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,$.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>s.css`
1170
+ `,at=$.defaultFlyoutConfig,rt=$.foundationFlyoutShadowOptions;class tt extends $.Flyout{}const ot=tt.compose(Object.assign({baseName:"flyout",shadowOptions:rt,styles:et,template:$.foundationFlyoutTemplate},at));class it extends $.GridLayout{}const nt=it.compose(Object.assign({baseName:"grid-layout",shadowOptions:$.foundationGridLayoutShadowOptions,styles:$.foundationGridLayoutStyles,template:$.foundationGridLayoutTemplate},$.defaultGridLayoutConfig));class lt extends $.GridLayoutItem{}const gt=lt.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:$.foundationGridLayoutItemShadowOptions,template:$.foundationGridLayoutItemTemplate},$.defaultGridLayoutItemConfig));class dt extends $.HorizontalScroll{}const st=dt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,$.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>s.css`
1169
1171
  ${(0,$.foundationHorizontalScrollStyles)(e,a)}
1170
- `,shadowOptions:$.foundationHorizontalScrollShadowOptions},$.defaultHorizontalScrollConfig));class dt extends $.Icon{}const st=$.defaultIconConfig,ct=$.foundationIconShadowOptions,pt=dt.compose(Object.assign({baseName:"icon",template:$.foundationIconTemplate,styles:(e,a)=>s.css`
1172
+ `,shadowOptions:$.foundationHorizontalScrollShadowOptions},$.defaultHorizontalScrollConfig));class ct extends $.Icon{}const pt=$.defaultIconConfig,ut=$.foundationIconShadowOptions,ht=ct.compose(Object.assign({baseName:"icon",template:$.foundationIconTemplate,styles:(e,a)=>s.css`
1171
1173
  ${(0,$.foundationIconStyles)(e,a)}
1172
- `,shadowOptions:ct},st));class ut extends $.Listbox{}const ht=ut.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,$.foundationListboxTemplate)(e,a),styles:(e,a)=>s.css`
1174
+ `,shadowOptions:ut},pt));class mt extends $.Listbox{}const vt=mt.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,$.foundationListboxTemplate)(e,a),styles:(e,a)=>s.css`
1173
1175
  ${(0,$.foundationListboxStyles)(e,a)}
1174
1176
 
1175
1177
  :host {
1176
1178
  background: #1f2126;
1177
1179
  }
1178
- `,shadowOptions:$.foundationListboxShadowOptions},$.defaultListboxConfig));class mt extends $.ListboxOption{}const vt=mt.compose(Object.assign({baseName:"option",template:(e,a)=>(0,$.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>s.css`
1180
+ `,shadowOptions:$.foundationListboxShadowOptions},$.defaultListboxConfig));class bt extends $.ListboxOption{}const ft=bt.compose(Object.assign({baseName:"option",template:(e,a)=>(0,$.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>s.css`
1179
1181
  ${(0,$.foundationListboxOptionStyles)(e,a)}
1180
1182
  :host {
1181
1183
  background-color: ${ie.darkGrey};
@@ -1192,22 +1194,22 @@
1192
1194
  background-color: ${ie.darkerGrey};
1193
1195
  color: ${ne.blue};
1194
1196
  }
1195
- `,shadowOptions:$.foundationListboxOptionShadowOptions},$.defaultListboxOptionConfig)),bt=$.foundationMenuShadowOptions;class ft extends $.Menu{}const wt=ft.compose({baseName:"menu",template:$.foundationMenuTemplate,styles:(e,a)=>s.css`
1197
+ `,shadowOptions:$.foundationListboxOptionShadowOptions},$.defaultListboxOptionConfig)),wt=$.foundationMenuShadowOptions;class yt extends $.Menu{}const xt=yt.compose({baseName:"menu",template:$.foundationMenuTemplate,styles:(e,a)=>s.css`
1196
1198
  ${(0,$.foundationMenuStyles)(e,a)}
1197
1199
 
1198
1200
  :host {
1199
1201
  padding: 0;
1200
1202
  }
1201
- `,shadowOptions:bt}),yt=$.foundationMenuItemShadowOptions;class xt extends $.MenuItem{}const zt=xt.compose(Object.assign({baseName:"menu-item",template:$.foundationMenuItemTemplate,styles:(e,a)=>s.css`
1203
+ `,shadowOptions:wt}),zt=$.foundationMenuItemShadowOptions;class kt extends $.MenuItem{}const St=kt.compose(Object.assign({baseName:"menu-item",template:$.foundationMenuItemTemplate,styles:(e,a)=>s.css`
1202
1204
  ${(0,$.foundationMenuItemStyles)(e,a)}
1203
1205
 
1204
1206
  :host {
1205
1207
  background: none;
1206
1208
  margin: 0;
1207
1209
  }
1208
- `,shadowOptions:yt},$.defaultMenuItemConfig)),kt=s.css`
1209
- ${ir}
1210
- `,St=$.defaultModalConfig,Ct=$.foundationModalTemplate,At=$.foundationModalShadowOptions;class Tt extends $.Modal{}const Dt=Tt.compose(Object.assign({baseName:"modal",shadowOptions:At,styles:kt,template:Ct},St)),Lt=s.css`
1210
+ `,shadowOptions:zt},$.defaultMenuItemConfig)),Ct=s.css`
1211
+ ${lr}
1212
+ `,At=$.defaultModalConfig,Tt=$.foundationModalTemplate,Dt=$.foundationModalShadowOptions;class Lt extends $.Modal{}const Ot=Lt.compose(Object.assign({baseName:"modal",shadowOptions:Dt,styles:Ct,template:Tt},At)),Ft=s.css`
1211
1213
  ${$.multiselectStyles}
1212
1214
 
1213
1215
  :host {
@@ -1215,7 +1217,7 @@
1215
1217
  }
1216
1218
 
1217
1219
  #display-field {
1218
- background: ${Na};
1220
+ background: ${Ra};
1219
1221
  }
1220
1222
 
1221
1223
  #display-field:focus {
@@ -1261,11 +1263,11 @@
1261
1263
  }
1262
1264
 
1263
1265
  .label {
1264
- color: ${Ra};
1266
+ color: ${Ia};
1265
1267
  }
1266
- `,Ft=s.html`
1268
+ `,Mt=s.html`
1267
1269
  ${(0,$.getPrefixedMultiselect)("zero")}
1268
- `;class Mt extends $.Multiselect{}const Ot=$.defaultMultiselectConfig,Nt=$.foundationMultiselectShadowOptions,$t=Mt.compose(Object.assign({baseName:"multiselect",template:Ft,styles:Lt,shadowOptions:Nt},Ot));class Rt extends $.NotificationListener{}const jt=Rt.compose({baseName:"notification-listener",template:$.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),It=(e,a)=>s.css`
1270
+ `;class Nt extends $.Multiselect{}const $t=$.defaultMultiselectConfig,Rt=$.foundationMultiselectShadowOptions,jt=Nt.compose(Object.assign({baseName:"multiselect",template:Mt,styles:Ft,shadowOptions:Rt},$t));class It extends $.NotificationListener{}const Et=It.compose({baseName:"notification-listener",template:$.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Pt=(e,a)=>s.css`
1269
1271
  ${(0,$.foundationTextFieldStyles)(e,a)}
1270
1272
  :host {
1271
1273
  --primary-gradient-angle: -113.5deg;
@@ -1277,12 +1279,12 @@
1277
1279
  }
1278
1280
 
1279
1281
  :host .root {
1280
- border: calc(var(--stroke-width) * 1px) solid ${Pa};
1281
- background-color: ${Na};
1282
+ border: calc(var(--stroke-width) * 1px) solid ${Ba};
1283
+ background-color: ${Ra};
1282
1284
  }
1283
1285
 
1284
1286
  :host(:hover:not([disabled])) .root {
1285
- border-color: ${Ma};
1287
+ border-color: ${Na};
1286
1288
  background: none;
1287
1289
  }
1288
1290
 
@@ -1300,7 +1302,7 @@
1300
1302
  ${ne.purple} 100%
1301
1303
  )
1302
1304
  bottom/100% 1px;
1303
- background-color: ${Ia};
1305
+ background-color: ${Pa};
1304
1306
  background-origin: border-box;
1305
1307
  background-repeat: no-repeat;
1306
1308
  border: 1px solid transparent;
@@ -1310,15 +1312,15 @@
1310
1312
  }
1311
1313
 
1312
1314
  .label {
1313
- color: ${Ra};
1315
+ color: ${Ia};
1314
1316
  margin: calc(var(--design-unit) * 2px) 0;
1315
1317
  }
1316
- `;class Et extends $.NumberField{}const Pt=$.defaultNumberFieldConfig,Ut=$.foundationNumberFieldTemplate,Bt=$.foundationNumberFieldShadowOptions,Gt=Et.compose(Object.assign({baseName:"number-field",template:Ut,styles:(e,a)=>s.css`
1318
+ `;class Ut extends $.NumberField{}const Bt=$.defaultNumberFieldConfig,Gt=$.foundationNumberFieldTemplate,Ht=$.foundationNumberFieldShadowOptions,_t=Ut.compose(Object.assign({baseName:"number-field",template:Gt,styles:(e,a)=>s.css`
1317
1319
  :host .root {
1318
1320
  --focus-stroke-outer: transparent;
1319
1321
  }
1320
- ${It(e,a)}
1321
- `,shadowOptions:Bt},Pt));class Ht extends $.Progress{}const _t=Ht.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,$.foundationProgressTemplate)(e,a),styles:(e,a)=>s.css`
1322
+ ${Pt(e,a)}
1323
+ `,shadowOptions:Ht},Bt));class Vt extends $.Progress{}const Yt=Vt.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,$.foundationProgressTemplate)(e,a),styles:(e,a)=>s.css`
1322
1324
  ${(0,$.foundationProgressStyles)(e,a)}
1323
1325
  :host([appearance="secondary-teal"]) {
1324
1326
  --accent-foreground-rest: ${le.teal};
@@ -1327,7 +1329,7 @@
1327
1329
  :host([appearance='secondary-orange']) {
1328
1330
  --accent-foreground-rest: ${le.orange};
1329
1331
  }
1330
- `,shadowOptions:$.foundationProgressShadowOptions},$.defaultProgressConfig));class Vt extends $.ProgressRing{}const Yt={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 `},Qt=Vt.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>s.html`
1332
+ `,shadowOptions:$.foundationProgressShadowOptions},$.defaultProgressConfig));class Qt extends $.ProgressRing{}const qt={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 `},Wt=Qt.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>s.html`
1331
1333
  <template
1332
1334
  role="progressbar"
1333
1335
  aria-valuenow="${e=>e.value}"
@@ -1365,7 +1367,7 @@
1365
1367
  .indeterminate-indicator-1, .determinate {
1366
1368
  stroke: ${"url(#linear)"};
1367
1369
  }
1368
- `,shadowOptions:$.foundationProgressRingShadowOptions},Yt));class qt extends $.Radio{}const Wt=qt.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,$.foundationRadioTemplate)(e,a),styles:(e,a)=>s.css`
1370
+ `,shadowOptions:$.foundationProgressRingShadowOptions},qt));class Jt extends $.Radio{}const Zt=Jt.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,$.foundationRadioTemplate)(e,a),styles:(e,a)=>s.css`
1369
1371
  ${(0,$.foundationRadioStyles)(e,a)}
1370
1372
  :host {
1371
1373
  --primary-gradient-angle: -113.5deg;
@@ -1397,12 +1399,12 @@
1397
1399
  ${ne.purple}
1398
1400
  );
1399
1401
  }
1400
- `,shadowOptions:$.foundationRadioShadowOptions},$.defaultRadioConfig));class Jt extends $.RadioGroup{}const Zt=Jt.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,$.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>s.css`
1402
+ `,shadowOptions:$.foundationRadioShadowOptions},$.defaultRadioConfig));class Kt extends $.RadioGroup{}const Xt=Kt.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,$.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>s.css`
1401
1403
  ${(0,$.foundationRadioGroupStyles)(e,a)}
1402
1404
  :host([appearance="accent"]) {
1403
1405
  background: green;
1404
1406
  }
1405
- `,shadowOptions:$.foundationRadioGroupShadowOptions},$.defaultRadioGroupConfig));class Kt extends $.SegmentedControl{}const Xt=Kt.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,$.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>s.css`
1407
+ `,shadowOptions:$.foundationRadioGroupShadowOptions},$.defaultRadioGroupConfig));class eo extends $.SegmentedControl{}const ao=eo.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,$.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>s.css`
1406
1408
  ${(0,$.foundationSegmentedControlStyles)(e,a)}
1407
1409
  :host {
1408
1410
  --primary-gradient-angle: -113.5deg;
@@ -1441,7 +1443,7 @@
1441
1443
  border-color: transparent;
1442
1444
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
1443
1445
  }
1444
- `,shadowOptions:undefined},{}));class eo extends $.Radio{}const ao=eo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,$.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>s.css`
1446
+ `,shadowOptions:undefined},{}));class ro extends $.Radio{}const to=ro.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,$.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>s.css`
1445
1447
  ${(0,$.foundationSegmentedItemStyles)(e,a)}
1446
1448
  :host {
1447
1449
  color: var(--neutral-stroke-rest);
@@ -1451,14 +1453,14 @@
1451
1453
  :host([aria-checked='true']) {
1452
1454
  color: ${ie.white};
1453
1455
  }
1454
- `,shadowOptions:undefined},{}));class ro extends $.Select{}const to=ro.compose(Object.assign({baseName:"select",template:(e,a)=>(0,$.foundationSelectTemplate)(e,a),styles:(e,a)=>s.css`
1456
+ `,shadowOptions:undefined},{}));class oo extends $.Select{}const io=oo.compose(Object.assign({baseName:"select",template:(e,a)=>(0,$.foundationSelectTemplate)(e,a),styles:(e,a)=>s.css`
1455
1457
  ${(0,$.foundationSelectStyles)(e,a)}
1456
1458
  :host {
1457
1459
  --primary-gradient-angle: -113.5deg;
1458
1460
 
1459
1461
  border-radius: calc(var(--control-corner-radius) * 1px);
1460
- border-color: ${Pa};
1461
- background: ${Na};
1462
+ border-color: ${Ba};
1463
+ background: ${Ra};
1462
1464
  }
1463
1465
 
1464
1466
  :host(:focus-within:not([disabled])) {
@@ -1483,8 +1485,8 @@
1483
1485
  }
1484
1486
 
1485
1487
  :host(:hover:not([disabled]):not(.open)) {
1486
- border-color: ${Ma};
1487
- background: ${Na};
1488
+ border-color: ${Na};
1489
+ background: ${Ra};
1488
1490
  }
1489
1491
 
1490
1492
  :host([open][position='below']) .listbox {
@@ -1495,15 +1497,15 @@
1495
1497
  }
1496
1498
 
1497
1499
  :host([open]) .control {
1498
- background: ${Ia};
1500
+ background: ${Pa};
1499
1501
  }
1500
1502
 
1501
1503
  :host(:not([disabled])) .control:active {
1502
1504
  background: none;
1503
1505
  }
1504
- `,shadowOptions:$.foundationSelectShadowOptions},$.defaultSelectConfig));class oo extends $.Skeleton{}const io=oo.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,$.foundationSkeletonTemplate)(e,a),styles:(e,a)=>s.css`
1506
+ `,shadowOptions:$.foundationSelectShadowOptions},$.defaultSelectConfig));class no extends $.Skeleton{}const lo=no.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,$.foundationSkeletonTemplate)(e,a),styles:(e,a)=>s.css`
1505
1507
  ${(0,$.foundationSkeletonStyles)(e,a)}
1506
- `,shadowOptions:$.foundationSkeletonShadowOptions},$.defaultSkeletonConfig));class no extends $.Slider{}const lo=no.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,$.foundationSliderTemplate)(e,a),styles:(e,a)=>s.css`
1508
+ `,shadowOptions:$.foundationSkeletonShadowOptions},$.defaultSkeletonConfig));class go extends $.Slider{}const so=go.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,$.foundationSliderTemplate)(e,a),styles:(e,a)=>s.css`
1507
1509
  ${(0,$.foundationSliderStyles)(e,a)}
1508
1510
  :host {
1509
1511
  --primary-gradient-angle: -113.5deg;
@@ -1560,7 +1562,7 @@
1560
1562
  .track-progress {
1561
1563
  background-color: var(--neutral-stroke-rest);
1562
1564
  }
1563
- `,shadowOptions:$.foundationSliderShadowOptions},$.defaultSliderConfig)),go=s.css`
1565
+ `,shadowOptions:$.foundationSliderShadowOptions},$.defaultSliderConfig)),co=s.css`
1564
1566
  ${$.foundationSnackbarStyles}
1565
1567
  .snackbar {
1566
1568
  border: calc(var(--stroke-width) * 1px) solid ${p.neutralLayer2};
@@ -1570,7 +1572,7 @@
1570
1572
  :host([type='error']) .snackbar::after {
1571
1573
  background-color: ${We(1)};
1572
1574
  }
1573
- `,so=s.html`
1575
+ `,po=s.html`
1574
1576
  <div class="snackbar ${e=>e.deleteAnimation}" ${(0,s.ref)("snackbar")}>
1575
1577
  <div part="content" class="content">
1576
1578
  <div>${e=>{var a;return(null===(a=e.error)||void 0===a?void 0:a.errorDetails)||"Place holder for error message"}}</div>
@@ -1587,7 +1589,7 @@
1587
1589
  `)}
1588
1590
  </div>
1589
1591
  </div>
1590
- `,co=$.foundationSnackbarShadowOptions;class po extends $.Snackbar{}const uo=po.compose({baseName:"snackbar",shadowOptions:co,styles:go,template:so});class ho extends $.Switch{}const mo=ho.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,$.foundationSwitchTemplate)(e,a),styles:(e,a)=>s.css`
1592
+ `,uo=$.foundationSnackbarShadowOptions;class ho extends $.Snackbar{}const mo=ho.compose({baseName:"snackbar",shadowOptions:uo,styles:co,template:po});class vo extends $.Switch{}const bo=vo.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,$.foundationSwitchTemplate)(e,a),styles:(e,a)=>s.css`
1591
1593
  ${(0,$.foundationSwitchStyles)(e,a)}
1592
1594
  :host {
1593
1595
  --primary-gradient-angle: -113.5deg;
@@ -1632,7 +1634,7 @@
1632
1634
  ${ne.purple}
1633
1635
  );
1634
1636
  }
1635
- `,shadowOptions:$.foundationSwitchShadowOptions},$.defaultSwitchConfig));class vo extends $.Tab{}const bo=vo.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,$.foundationTabTemplate)(e,a),styles:(e,a)=>s.css`
1637
+ `,shadowOptions:$.foundationSwitchShadowOptions},$.defaultSwitchConfig));class fo extends $.Tab{}const wo=fo.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,$.foundationTabTemplate)(e,a),styles:(e,a)=>s.css`
1636
1638
  ${(0,$.foundationTabStyles)(e,a)}
1637
1639
  :host {
1638
1640
  background-color: ${p.neutralLayer2};
@@ -1656,12 +1658,12 @@
1656
1658
  margin-right: 0;
1657
1659
  background-color: var(--zero-card-fill-color);
1658
1660
  }
1659
- `,shadowOptions:$.foundationTabShadowOptions},$.defaultTabConfig));class fo extends $.TabPanel{}const wo=fo.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,$.foundationTabPanelTemplate)(e,a),styles:(e,a)=>s.css`
1661
+ `,shadowOptions:$.foundationTabShadowOptions},$.defaultTabConfig));class yo extends $.TabPanel{}const xo=yo.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,$.foundationTabPanelTemplate)(e,a),styles:(e,a)=>s.css`
1660
1662
  ${(0,$.foundationTabPanelStyles)(e,a)}
1661
1663
  :host {
1662
1664
  padding: 0;
1663
1665
  }
1664
- `,shadowOptions:$.foundationTabPanelShadowOptions},$.defaultTabPanelConfig));class yo extends $.Tabs{}const xo=yo.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,$.foundationTabsTemplate)(e,a),styles:(e,a)=>s.css`
1666
+ `,shadowOptions:$.foundationTabPanelShadowOptions},$.defaultTabPanelConfig));class zo extends $.Tabs{}const ko=zo.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,$.foundationTabsTemplate)(e,a),styles:(e,a)=>s.css`
1665
1667
  ${(0,$.foundationTabsStyles)(e,a)}
1666
1668
  :host .tablist {
1667
1669
  padding: 0;
@@ -1707,7 +1709,7 @@
1707
1709
  height: 2px;
1708
1710
  margin-top: 0;
1709
1711
  }
1710
- `,shadowOptions:$.foundationTabsShadowOptions},$.defaultTabsConfig));class zo extends $.TextArea{}const ko=zo.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,$.foundationTextAreaTemplate)(e,a),styles:(e,a)=>s.css`
1712
+ `,shadowOptions:$.foundationTabsShadowOptions},$.defaultTabsConfig));class So extends $.TextArea{}const Co=So.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,$.foundationTextAreaTemplate)(e,a),styles:(e,a)=>s.css`
1711
1713
  ${(0,$.foundationTextAreaStyles)(e,a)}
1712
1714
  :host {
1713
1715
  --primary-gradient-angle: -113.5deg;
@@ -1715,14 +1717,14 @@
1715
1717
 
1716
1718
  :host .control {
1717
1719
  height: 100%;
1718
- background-color: ${Na};
1719
- border: calc(var(--stroke-width) * 1px) solid ${Pa};
1720
+ background-color: ${Ra};
1721
+ border: calc(var(--stroke-width) * 1px) solid ${Ba};
1720
1722
  border-radius: calc(var(--control-corner-radius) * 1px);
1721
1723
  }
1722
1724
 
1723
1725
  :host(:hover:not([disabled])) .control {
1724
- border-color: ${Ma};
1725
- background: ${Na};
1726
+ border-color: ${Na};
1727
+ background: ${Ra};
1726
1728
  }
1727
1729
 
1728
1730
  :host(:focus-within:not([disabled])) .control {
@@ -1744,15 +1746,15 @@
1744
1746
  border: 1px solid transparent;
1745
1747
  border-right-color: ${ne.blue};
1746
1748
  border-left-color: ${ne.purple};
1747
- background-color: ${Ia};
1749
+ background-color: ${Pa};
1748
1750
  box-shadow: none;
1749
1751
  }
1750
1752
 
1751
1753
  .label {
1752
- color: ${Ra};
1754
+ color: ${Ia};
1753
1755
  margin: calc(var(--design-unit) * 2px) 0;
1754
1756
  }
1755
- `,shadowOptions:$.foundationTextAreaShadowOptions},$.defaultTextAreaConfig));class So extends $.TextField{}const Co=So.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,$.foundationTextFieldTemplate)(e,a),styles:It,shadowOptions:$.foundationTextFieldShadowOptions},$.defaultTextFieldConfig)),Ao=s.css`
1757
+ `,shadowOptions:$.foundationTextAreaShadowOptions},$.defaultTextAreaConfig));class Ao extends $.TextField{}const To=Ao.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,$.foundationTextFieldTemplate)(e,a),styles:Pt,shadowOptions:$.foundationTextFieldShadowOptions},$.defaultTextFieldConfig)),Do=s.css`
1756
1758
  ${$.foundationToastStyles}
1757
1759
  .toast {
1758
1760
  border: calc(var(--stroke-width) * 1px) solid ${p.neutralLayer3};
@@ -1772,17 +1774,17 @@
1772
1774
  }
1773
1775
 
1774
1776
  :host([notify='critical']) .toast::after {
1775
- background-color: ${((e=1)=>Oe(Qe,e))(1)};
1777
+ background-color: ${((e=1)=>Me(Qe,e))(1)};
1776
1778
  }
1777
1779
 
1778
1780
  :host([notify='serious']) .toast::after {
1779
1781
  background-color: ${_e(1)};
1780
1782
  }
1781
- `,To=$.defaultToastConfig,Do=$.foundationToastShadowOptions;class Lo extends $.Toast{}const Fo=Lo.compose(Object.assign({baseName:"toast",shadowOptions:Do,styles:Ao,template:$.foundationToastTemplate},To));class Mo extends $.Toolbar{}const Oo=Mo.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,$.foundationToolbarTemplate)(e,a),styles:(e,a)=>s.css`
1783
+ `,Lo=$.defaultToastConfig,Oo=$.foundationToastShadowOptions;class Fo extends $.Toast{}const Mo=Fo.compose(Object.assign({baseName:"toast",shadowOptions:Oo,styles:Do,template:$.foundationToastTemplate},Lo));class No extends $.Toolbar{}const $o=No.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,$.foundationToolbarTemplate)(e,a),styles:(e,a)=>s.css`
1782
1784
  ${(0,$.foundationToolbarStyles)(e,a)}
1783
- `,shadowOptions:$.foundationToolbarShadowOptions},$.defaultToolbarConfig));class No extends $.Tooltip{}const $o=No.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,$.foundationTooltipTemplate)(e,a),styles:(e,a)=>s.css`
1785
+ `,shadowOptions:$.foundationToolbarShadowOptions},$.defaultToolbarConfig));class Ro extends $.Tooltip{}const jo=Ro.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,$.foundationTooltipTemplate)(e,a),styles:(e,a)=>s.css`
1784
1786
  ${(0,$.foundationTooltipStyles)(e,a)}
1785
- `,shadowOptions:$.foundationTooltipShadowOptions},$.defaultTooltipConfig));class Ro extends $.TreeItem{}const jo=Ro.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,$.foundationTreeItemTemplate)(e,a),styles:(e,a)=>s.css`
1787
+ `,shadowOptions:$.foundationTooltipShadowOptions},$.defaultTooltipConfig));class Io extends $.TreeItem{}const Eo=Io.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,$.foundationTreeItemTemplate)(e,a),styles:(e,a)=>s.css`
1786
1788
  ${(0,$.foundationTreeItemStyles)(e,a)}
1787
1789
  :host {
1788
1790
  --primary-gradient-angle: -113.5deg;
@@ -1810,9 +1812,9 @@
1810
1812
  background-size: cover;
1811
1813
  background-repeat: no-repeat;
1812
1814
  }
1813
- `,shadowOptions:$.foundationTreeItemShadowOptions},$.defaultTreeItemConfig));class Io extends $.TreeView{}const Eo=Io.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,$.foundationTreeViewTemplate)(e,a),styles:(e,a)=>s.css`
1815
+ `,shadowOptions:$.foundationTreeItemShadowOptions},$.defaultTreeItemConfig));class Po extends $.TreeView{}const Uo=Po.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,$.foundationTreeViewTemplate)(e,a),styles:(e,a)=>s.css`
1814
1816
  ${(0,$.foundationTreeViewStyles)(e,a)}
1815
- `,shadowOptions:$.foundationTreeViewShadowOptions},$.defaultTreeViewConfig)),Po=s.html`
1817
+ `,shadowOptions:$.foundationTreeViewShadowOptions},$.defaultTreeViewConfig)),Bo=s.html`
1816
1818
  <div class="container" value=${e=>e.value}>
1817
1819
  <zero-text-field
1818
1820
  class="url-input"
@@ -1828,7 +1830,7 @@
1828
1830
  <a class="url-input-link" href=${e=>e.value} target="_blank">${e=>e.value}</a>
1829
1831
  `)}
1830
1832
  </div>
1831
- `;class Uo 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,Za.__decorate)([s.observable],Uo.prototype,"value",void 0),(0,Za.__decorate)([s.observable],Uo.prototype,"focused",void 0);const Bo={zeroAccordion:Ae,zeroAccordionItem:De,zeroActionsMenu:Fe,zeroAnchor:ca,zeroAnchoredRegion:ua,zeroBadge:ma,zeroBanner:wa,zeroBreadcrumbItem:ka,zeroBreadcrumb:xa,zeroButton:Ca,zeroCard:Ta,zeroCheckbox:La,zeroCombobox:Ga,zeroConnectionIndicator:_a,zeroDataGrid:qa,zeroDesignSystemProvider:rr,zeroDialog:sr,zeroDatePicker:Ja,zeroDisclosure:pr,zeroDivider:hr,zeroDropdownMenu:vr,zeroErrorBoundary:zr,zeroNotificationListener:jt,zeroErrorBanner:yr,zeroErrorDialog:Sr,zeroFileUpload:Fr,zeroFilter:Br,zeroFilterBar:Qr,zeroFlexLayout:Wr,zeroFlipper:Zr,zeroFlyout:rt,zeroGridLayout:ot,zeroGridLayoutItem:nt,zeroHorizontalScroll:gt,zeroIcon:pt,zeroListbox:ht,zeroListboxOption:vt,zeroMenu:wt,zeroMenuItem:zt,zeroModal:Dt,zeroMultiselect:$t,zeroNumberField:Gt,zeroProgress:_t,zeroProgressRing:Qt,zeroRadio:Wt,zeroRadioGroup:Zt,zeroSegmentedControl:Xt,zeroSegmentedItem:ao,zeroSelect:to,zeroSkeleton:io,zeroSlider:lo,zeroSnackbar:uo,zeroSwitch:mo,zeroTab:bo,zeroTabPanel:wo,zeroTabs:xo,zeroTextArea:ko,zeroTextField:Co,zeroToast:Fo,zeroToolbar:Oo,zeroTooltip:$o,zeroTreeItem:jo,zeroTreeView:Eo,zeroUrlInput:Uo.compose(Object.assign({baseName:"url-input",template:Po,styles:(e,a)=>s.css`
1833
+ `;class Go 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,Xa.__decorate)([s.observable],Go.prototype,"value",void 0),(0,Xa.__decorate)([s.observable],Go.prototype,"focused",void 0);const Ho={zeroAccordion:Ae,zeroAccordionItem:De,zeroActionsMenu:Oe,zeroAnchor:ca,zeroAnchoredRegion:ua,zeroAvatar:ma,zeroBadge:ba,zeroBanner:xa,zeroBreadcrumbItem:Ca,zeroBreadcrumb:ka,zeroButton:Ta,zeroCard:La,zeroCheckbox:Fa,zeroCombobox:_a,zeroConnectionIndicator:Ya,zeroDataGrid:Ja,zeroDesignSystemProvider:or,zeroDialog:pr,zeroDatePicker:Ka,zeroDisclosure:hr,zeroDivider:vr,zeroDropdownMenu:fr,zeroErrorBoundary:Sr,zeroNotificationListener:Et,zeroErrorBanner:zr,zeroErrorDialog:Ar,zeroFileUpload:Mr,zeroFilter:Hr,zeroFilterBar:Wr,zeroFlexLayout:Zr,zeroFlipper:Xr,zeroFlyout:ot,zeroGridLayout:nt,zeroGridLayoutItem:gt,zeroHorizontalScroll:st,zeroIcon:ht,zeroListbox:vt,zeroListboxOption:ft,zeroMenu:xt,zeroMenuItem:St,zeroModal:Ot,zeroMultiselect:jt,zeroNumberField:_t,zeroProgress:Yt,zeroProgressRing:Wt,zeroRadio:Zt,zeroRadioGroup:Xt,zeroSegmentedControl:ao,zeroSegmentedItem:to,zeroSelect:io,zeroSkeleton:lo,zeroSlider:so,zeroSnackbar:mo,zeroSwitch:bo,zeroTab:wo,zeroTabPanel:xo,zeroTabs:ko,zeroTextArea:Co,zeroTextField:To,zeroToast:Mo,zeroToolbar:$o,zeroTooltip:jo,zeroTreeItem:Eo,zeroTreeView:Uo,zeroUrlInput:Go.compose(Object.assign({baseName:"url-input",template:Bo,styles:(e,a)=>s.css`
1832
1834
  ${(0,$.foundationUrlInputStyles)(e,a)}
1833
1835
  a {
1834
1836
  color: ${ne.blue};
@@ -1838,7 +1840,7 @@
1838
1840
  a:hover {
1839
1841
  opacity: 100%;
1840
1842
  }
1841
- `,shadowOptions:$.foundationUrlInputShadowOptions},$.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Go=r(80249);const Ho=(0,g.createLogger)("grid-pro");class _o 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){Ho.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Go.__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,Go.__decorate)([s.observable],_o.prototype,"params",void 0),(0,Go.__decorate)([s.observable],_o.prototype,"pendingAction",void 0);const{create:Vo}=c.DesignToken,Yo=(Vo("action-height-multiplier").withDefault("0.6px"),s.css`
1843
+ `,shadowOptions:$.foundationUrlInputShadowOptions},$.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var _o=r(80249);const Vo=(0,g.createLogger)("grid-pro");class Yo 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){Vo.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,_o.__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,_o.__decorate)([s.observable],Yo.prototype,"params",void 0),(0,_o.__decorate)([s.observable],Yo.prototype,"pendingAction",void 0);const{create:Qo}=c.DesignToken,qo=(Qo("action-height-multiplier").withDefault("0.6px"),s.css`
1842
1844
  .action-container {
1843
1845
  align-items: center;
1844
1846
  display: flex;
@@ -1853,8 +1855,8 @@
1853
1855
  var(--action-height-multiplier)
1854
1856
  );
1855
1857
  }
1856
- `),Qo=_o.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1857
- ${Yo}
1858
+ `),Wo=Yo.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1859
+ ${qo}
1858
1860
  `,template:s.html`
1859
1861
  <div class="action-container" part="action-container">
1860
1862
  <foundation-button
@@ -1864,8 +1866,8 @@
1864
1866
  ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
1865
1867
  appearance="${e=>e.params.appearance}"
1866
1868
  @click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
1867
- </div>`});class qo extends _o{}const Wo=qo.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1868
- ${Yo}
1869
+ </div>`});class Jo extends Yo{}const Zo=Jo.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1870
+ ${qo}
1869
1871
  `,template:s.html`
1870
1872
  <div class="action-container" part="action-container">
1871
1873
  <zero-button
@@ -1881,29 +1883,29 @@
1881
1883
  `:e.params.actionName}
1882
1884
  </zero-button>
1883
1885
  </div>
1884
- `});class Jo extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Go.__decorate)([s.observable],Jo.prototype,"params",void 0);const Zo=Jo.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1886
+ `});class Ko extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,_o.__decorate)([s.observable],Ko.prototype,"params",void 0);const Xo=Ko.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1885
1887
  <foundation-actions-menu
1886
1888
  name="${e=>e.params.headerName}"
1887
1889
  :definition=${e=>e.params}
1888
1890
  ></foundation-actions-menu>
1889
- `});class Ko extends Jo{}const Xo=Ko.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1891
+ `});class ei extends Ko{}const ai=ei.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1890
1892
  <zero-actions-menu
1891
1893
  name="${e=>e.params.headerName}"
1892
1894
  :definition=${e=>e.params}
1893
1895
  ></zero-actions-menu>
1894
- `});class ei extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Go.__decorate)([s.observable],ei.prototype,"params",void 0);const ai=s.css`
1896
+ `});class ri extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,_o.__decorate)([s.observable],ri.prototype,"params",void 0);const ti=s.css`
1895
1897
  :host {
1896
1898
  align-center: center;
1897
1899
  display: flex;
1898
1900
  height: 100%;
1899
1901
  }
1900
- `,ri=(e="foundation")=>{const a=`${e}-checkbox`;return s.html`
1902
+ `,oi=(e="foundation")=>{const a=`${e}-checkbox`;return s.html`
1901
1903
  <${a}
1902
1904
  @change="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.changeHandler(e.params)}}"
1903
1905
  checked="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.value}}"
1904
1906
  readonly="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.readonly}}"
1905
1907
  ></${a}>
1906
- `},ti=ei.compose({baseName:"boolean-renderer",styles:ai,template:ri()});class oi extends ei{}const ii=oi.compose({baseName:"boolean-renderer",styles:ai,template:ri("zero")}),ni=(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 li 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?ni(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,Go.__decorate)([s.observable],li.prototype,"textValue",void 0),(0,Go.__decorate)([s.observable],li.prototype,"params",void 0);const gi=s.css`
1908
+ `},ii=ri.compose({baseName:"boolean-renderer",styles:ti,template:oi()});class ni extends ri{}const li=ni.compose({baseName:"boolean-renderer",styles:ti,template:oi("zero")}),gi=(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 di 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?gi(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,_o.__decorate)([s.observable],di.prototype,"textValue",void 0),(0,_o.__decorate)([s.observable],di.prototype,"params",void 0);const si=s.css`
1907
1909
  :host {
1908
1910
  display: flex;
1909
1911
  width: 100%;
@@ -1913,7 +1915,7 @@
1913
1915
  .text-renderer {
1914
1916
  width: 100%;
1915
1917
  }
1916
- `,di=(e="foundation")=>{const a=`${e}-text-field`;return s.html`
1918
+ `,ci=(e="foundation")=>{const a=`${e}-text-field`;return s.html`
1917
1919
  <${a}
1918
1920
  ${(0,s.ref)("textField")}
1919
1921
  type="text"
@@ -1921,7 +1923,7 @@
1921
1923
  :value="${(0,g.sync)((e=>e.textValue))}"
1922
1924
  @change="${(e,a)=>e.textChanged(a.event)}"
1923
1925
  ></${a}>
1924
- `},si=li.compose({baseName:"grid-pro-text-renderer",styles:gi,template:di()});class ci extends li{}const pi=gi,ui=di,hi=ci.compose({baseName:"grid-text-renderer",styles:pi,template:ui()});const mi=class extends ci{}.compose({baseName:"grid-text-renderer",styles:pi,template:ui("zero")});class vi 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=ni(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Go.__decorate)([s.observable],vi.prototype,"params",void 0),(0,Go.__decorate)([s.observable],vi.prototype,"value",void 0);const bi=s.css`
1926
+ `},pi=di.compose({baseName:"grid-pro-text-renderer",styles:si,template:ci()});class ui extends di{}const hi=si,mi=ci,vi=ui.compose({baseName:"grid-text-renderer",styles:hi,template:mi()});const bi=class extends ui{}.compose({baseName:"grid-text-renderer",styles:hi,template:mi("zero")});class fi 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=gi(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,_o.__decorate)([s.observable],fi.prototype,"params",void 0),(0,_o.__decorate)([s.observable],fi.prototype,"value",void 0);const wi=s.css`
1925
1927
  :host,
1926
1928
  .select-renderer,
1927
1929
  zero-option,
@@ -1930,7 +1932,7 @@
1930
1932
  max-width: var(--select-renderer-max-width);
1931
1933
  min-width: 100%;
1932
1934
  }
1933
- `,fi=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return s.html`
1935
+ `,yi=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return s.html`
1934
1936
  <${a}
1935
1937
  class="select-renderer"
1936
1938
  @change=${(e,a)=>e.selectionChanged(a.event)}
@@ -1946,19 +1948,19 @@
1946
1948
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
1947
1949
  `)}
1948
1950
  </${a}>
1949
- `},wi=vi.compose({baseName:"select-renderer",styles:bi,template:fi()});const yi=class extends vi{}.compose({baseName:"select-renderer",styles:bi,template:fi("zero")});var xi=r(89861),zi=r(59783),ki=r(86534),Si=r(75527);const Ci=s.html`
1951
+ `},xi=fi.compose({baseName:"select-renderer",styles:wi,template:yi()});const zi=class extends fi{}.compose({baseName:"select-renderer",styles:wi,template:yi("zero")});var ki=r(89861),Si=r(59783),Ci=r(86534),Ai=r(75527);const Ti=s.html`
1950
1952
  <template>
1951
1953
  <slot ${(0,s.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
1952
1954
  </template>
1953
- `;let Ai=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,Go.__decorate)([s.observable],Ai.prototype,"renderer",void 0),(0,Go.__decorate)([s.observable],Ai.prototype,"rendererParams",void 0),(0,Go.__decorate)([s.observable],Ai.prototype,"slottedRenderer",void 0),Ai=(0,Go.__decorate)([(0,s.customElement)({name:"grid-pro-cell",template:Ci})],Ai);const Ti=s.html`
1955
+ `;let Di=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,_o.__decorate)([s.observable],Di.prototype,"renderer",void 0),(0,_o.__decorate)([s.observable],Di.prototype,"rendererParams",void 0),(0,_o.__decorate)([s.observable],Di.prototype,"slottedRenderer",void 0),Di=(0,_o.__decorate)([(0,s.customElement)({name:"grid-pro-cell",template:Ti})],Di);const Li=s.html`
1954
1956
  <template>
1955
1957
  <slot ${(0,s.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
1956
1958
  </template>
1957
- `;let Di=class extends c.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};var Li,Fi;(0,Go.__decorate)([s.observable],Di.prototype,"slottedAgCell",void 0),(0,Go.__decorate)([s.observable],Di.prototype,"definition",void 0),Di=(0,Go.__decorate)([(0,s.customElement)({name:"grid-pro-column",template:Ti})],Di),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"}(Li||(Li={})),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"}(Fi||(Fi={}));const Mi=e=>`${e}-token-map`,Oi=(e,a)=>s.css`
1958
- .${Mi(e)} {
1959
+ `;let Oi=class extends c.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};var Fi,Mi;(0,_o.__decorate)([s.observable],Oi.prototype,"slottedAgCell",void 0),(0,_o.__decorate)([s.observable],Oi.prototype,"definition",void 0),Oi=(0,_o.__decorate)([(0,s.customElement)({name:"grid-pro-column",template:Li})],Oi),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"}(Fi||(Fi={})),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"}(Mi||(Mi={}));const Ni=e=>`${e}-token-map`,$i=(e,a)=>s.css`
1960
+ .${Ni(e)} {
1959
1961
  ${new $.CSSVarsTokenMapper(a)}
1960
1962
  }
1961
- `;var Ni;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.text="text",e.select="select"}(Ni||(Ni={}));const $i='\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/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qo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v2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ri='\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+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImHVEbzcilHcJDqJDa8BAVMXJkYOeTwgaNs7o82pMPXpmMUyRPppY3sk/PuiE8EKa81aEu4gXCqPuAbqTipcosW5xw2UMWVvgHdkq2K9b9Td/TDnZZsSenqFwS1wU7LpwQ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9RsX6DnVVFb9ZYYZJ86z/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={[Fi.alpine]:$i,[Fi.alpineDark]:$i,[Fi.balham]:Ri,[Fi.balhamDark]:Ri,[Fi.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/bNk2bB4wpAJyvJiygJTWLW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6Z9e0oKFsiISE7KsURfRhufcWi/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'},Ii=$i;var Ei=r(82940),Pi=r(32449),Ui=r(9162),Bi=r(5127),Gi=r(83123),Hi=r(43752),_i=r(26714),Vi=r(71452),Yi=r(99449),Qi=r(30526);function qi(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Wi({value:e}){return(0,g.formatDateTimestamp)(e)}function Ji({value:e}){return(0,g.formatDateTimeTimestamp)(e)}let Zi=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Ei.WJ.MAX_ROWS_250,this.maxView=Ei.WJ.MAX_VIEW_1000,this.pollingInterval=Ei.WJ.REQ_REP_POLLING_INTERVAL_MS,this.movingView=!1,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 _i.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Pi.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?Ei.WJ.REQUEST_SERVER_ROW_ID:Ei.WJ.DATASERVER_ROW_ID}init(){return(0,Go.__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===Ei._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,Go.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Vi.T)(1),(0,Yi.b)(r),(0,Qi.b)((e=>Ho.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Ho.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.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new _i.X(new Map),this.dataLogoff(),this.clearRowData(),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rows.values()))}dataLogoff(){!this.sourceRef||this.isRequestServer||this.isSnapshot||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(){return(0,Go.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,Go.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Ho.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 Ho.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===Ui.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Bi.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Bi.$)(e).inserts:e.inserts}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,orderBy:this.orderBy,resourceName:this.resourceName,request:this.request,reverse:this.reverse,maxRows:this.maxRows,maxView:this.maxView,pollingInterval:this.pollingInterval,movingView:this.movingView}}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 Ho.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)}this.agTransaction={add:[],remove:[],update:[]};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.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.agGrid.gridApi.applyTransaction(this.mapTransaction(this.agTransaction))}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.agGrid.gridApi.applyTransaction(this.mapTransaction(this.agTransaction))}mapTransaction(e){return this.rowDataMapper?Object.assign(Object.assign({},e),{add:this.rowDataMapper(e.add,this.rows),update:this.rowDataMapper(e.update,this.rows),remove:this.rowDataMapper(e.remove,this.rows)}):e}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 Gi.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ni.boolean);break;case Gi.r.DATE:r.valueFormatter=Wi;break;case Gi.r.DATETIME:r.valueFormatter=Ji}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,Pi.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,Go.__decorate)([l.lj],Zi.prototype,"connect",void 0),(0,Go.__decorate)([Hi.Yh],Zi.prototype,"datasource",void 0),(0,Go.__decorate)([s.observable],Zi.prototype,"deferredGridOptions",void 0),(0,Go.__decorate)([s.attr],Zi.prototype,"criteria",void 0),(0,Go.__decorate)([s.attr],Zi.prototype,"fields",void 0),(0,Go.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],Zi.prototype,"isSnapshot",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"max-rows"})],Zi.prototype,"maxRows",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"max-view"})],Zi.prototype,"maxView",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"polling-interval"})],Zi.prototype,"pollingInterval",void 0),(0,Go.__decorate)([(0,s.attr)({mode:"boolean",attribute:"moving-view"})],Zi.prototype,"movingView",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"order-by"})],Zi.prototype,"orderBy",void 0),(0,Go.__decorate)([s.observable],Zi.prototype,"request",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"resource-name"})],Zi.prototype,"resourceName",void 0),(0,Go.__decorate)([(0,s.attr)({mode:"boolean"})],Zi.prototype,"reverse",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"row-id"})],Zi.prototype,"rowIdAttr",void 0),(0,Go.__decorate)([(0,s.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Zi.prototype,"restartOnReconnection",void 0),(0,Go.__decorate)([s.observable],Zi.prototype,"rowDataMapper",void 0),Zi=(0,Go.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource"})],Zi);var Ki=r(66306),Xi=r(47546);class en{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,Go.__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,Xi.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===Ui.Cs.LOGOFF_ACK||o===Ui.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,a.ROW){const e=(0,Bi.$)(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=>Ho.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,Go.__decorate)([l.lj],en.prototype,"connect",void 0);let an=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Ei.WJ.MAX_ROWS_250,this.maxView=Ei.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,Pi.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,Go.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Ho.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Ki.C)(e);const a=(0,Ki.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new en({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});Ho.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));Ho.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 Ho.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,Go.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Ho.debug(e)),(e=>Ho.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 Gi.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ni.boolean);break;case Gi.r.DATE:r.valueFormatter=Wi;break;case Gi.r.DATETIME:r.valueFormatter=Ji}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:qi(e.type),filter:(e.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(a)}};(0,Go.__decorate)([l.lj],an.prototype,"connect",void 0),(0,Go.__decorate)([s.attr],an.prototype,"criteria",void 0),(0,Go.__decorate)([s.attr],an.prototype,"fields",void 0),(0,Go.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],an.prototype,"isSnapshot",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"max-rows"})],an.prototype,"maxRows",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"max-view"})],an.prototype,"maxView",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"moving-view"})],an.prototype,"movingView",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"order-by"})],an.prototype,"orderBy",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"resource-name"})],an.prototype,"resourceName",void 0),(0,Go.__decorate)([(0,s.attr)({mode:"boolean"})],an.prototype,"pagination",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"row-id"})],an.prototype,"rowId",void 0),(0,Go.__decorate)([(0,s.attr)({mode:"boolean"})],an.prototype,"reverse",void 0),an=(0,Go.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource-next"})],an);const rn=s.css`
1963
+ `;var Ri;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.text="text",e.select="select"}(Ri||(Ri={}));const ji='\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+y6kD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eMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ii='\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+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImHVEbzcilHcJDqJDa8BAVMXJkYOeTwgaNs7o82pMPXpmMUyRPppY3sk/PuiE8EKa81aEu4gXCqPuAbqTipcosW5xw2UMWVvgHdkq2K9b9Td/TDnZZsSenqFwS1wU7LpwQGYUJSCt8EW2ZKu7oar+BBS4UML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RtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ei={[Mi.alpine]:ji,[Mi.alpineDark]:ji,[Mi.balham]:Ii,[Mi.balhamDark]:Ii,[Mi.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+KQz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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'},Pi=ji;var Ui=r(82940),Bi=r(32449),Gi=r(9162),Hi=r(5127),_i=r(83123),Vi=r(43752),Yi=r(26714),Qi=r(71452),qi=r(99449),Wi=r(30526);function Ji(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Zi({value:e}){return(0,g.formatDateTimestamp)(e)}function Ki({value:e}){return(0,g.formatDateTimeTimestamp)(e)}let Xi=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Ui.WJ.MAX_ROWS_250,this.maxView=Ui.WJ.MAX_VIEW_1000,this.pollingInterval=Ui.WJ.REQ_REP_POLLING_INTERVAL_MS,this.movingView=!1,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 Yi.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Bi.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?Ui.WJ.REQUEST_SERVER_ROW_ID:Ui.WJ.DATASERVER_ROW_ID}init(){return(0,_o.__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===Ui._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,_o.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Qi.T)(1),(0,qi.b)(r),(0,Wi.b)((e=>Vo.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Vo.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.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new Yi.X(new Map),this.dataLogoff(),this.clearRowData(),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rows.values()))}dataLogoff(){!this.sourceRef||this.isRequestServer||this.isSnapshot||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(){return(0,_o.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,_o.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Vo.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 Vo.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===Gi.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Hi.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Hi.$)(e).inserts:e.inserts}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,orderBy:this.orderBy,resourceName:this.resourceName,request:this.request,reverse:this.reverse,maxRows:this.maxRows,maxView:this.maxView,pollingInterval:this.pollingInterval,movingView:this.movingView}}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 Vo.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)}this.agTransaction={add:[],remove:[],update:[]};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.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.agGrid.gridApi.applyTransaction(this.mapTransaction(this.agTransaction))}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.agGrid.gridApi.applyTransaction(this.mapTransaction(this.agTransaction))}mapTransaction(e){return this.rowDataMapper?Object.assign(Object.assign({},e),{add:this.rowDataMapper(e.add,this.rows),update:this.rowDataMapper(e.update,this.rows),remove:this.rowDataMapper(e.remove,this.rows)}):e}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 _i.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ri.boolean);break;case _i.r.DATE:r.valueFormatter=Zi;break;case _i.r.DATETIME:r.valueFormatter=Ki}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,Bi.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,_o.__decorate)([l.lj],Xi.prototype,"connect",void 0),(0,_o.__decorate)([Vi.Yh],Xi.prototype,"datasource",void 0),(0,_o.__decorate)([s.observable],Xi.prototype,"deferredGridOptions",void 0),(0,_o.__decorate)([s.attr],Xi.prototype,"criteria",void 0),(0,_o.__decorate)([s.attr],Xi.prototype,"fields",void 0),(0,_o.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],Xi.prototype,"isSnapshot",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"max-rows"})],Xi.prototype,"maxRows",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"max-view"})],Xi.prototype,"maxView",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"polling-interval"})],Xi.prototype,"pollingInterval",void 0),(0,_o.__decorate)([(0,s.attr)({mode:"boolean",attribute:"moving-view"})],Xi.prototype,"movingView",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"order-by"})],Xi.prototype,"orderBy",void 0),(0,_o.__decorate)([s.observable],Xi.prototype,"request",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"resource-name"})],Xi.prototype,"resourceName",void 0),(0,_o.__decorate)([(0,s.attr)({mode:"boolean"})],Xi.prototype,"reverse",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"row-id"})],Xi.prototype,"rowIdAttr",void 0),(0,_o.__decorate)([(0,s.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Xi.prototype,"restartOnReconnection",void 0),(0,_o.__decorate)([s.observable],Xi.prototype,"rowDataMapper",void 0),Xi=(0,_o.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource"})],Xi);var en=r(66306),an=r(47546);class rn{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,_o.__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,an.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===Gi.Cs.LOGOFF_ACK||o===Gi.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,a.ROW){const e=(0,Hi.$)(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=>Vo.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,_o.__decorate)([l.lj],rn.prototype,"connect",void 0);let tn=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Ui.WJ.MAX_ROWS_250,this.maxView=Ui.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,Bi.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,_o.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Vo.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,en.C)(e);const a=(0,en.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new rn({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});Vo.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));Vo.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 Vo.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,_o.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Vo.debug(e)),(e=>Vo.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 _i.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ri.boolean);break;case _i.r.DATE:r.valueFormatter=Zi;break;case _i.r.DATETIME:r.valueFormatter=Ki}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:Ji(e.type),filter:(e.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(a)}};(0,_o.__decorate)([l.lj],tn.prototype,"connect",void 0),(0,_o.__decorate)([s.attr],tn.prototype,"criteria",void 0),(0,_o.__decorate)([s.attr],tn.prototype,"fields",void 0),(0,_o.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],tn.prototype,"isSnapshot",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"max-rows"})],tn.prototype,"maxRows",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"max-view"})],tn.prototype,"maxView",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"moving-view"})],tn.prototype,"movingView",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"order-by"})],tn.prototype,"orderBy",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"resource-name"})],tn.prototype,"resourceName",void 0),(0,_o.__decorate)([(0,s.attr)({mode:"boolean"})],tn.prototype,"pagination",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"row-id"})],tn.prototype,"rowId",void 0),(0,_o.__decorate)([(0,s.attr)({mode:"boolean"})],tn.prototype,"reverse",void 0),tn=(0,_o.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource-next"})],tn);const on=s.css`
1962
1964
  .ag-icon {
1963
1965
  font-family: var(--ag-icon-font-family);
1964
1966
  font-size: var(--ag-icon-size);
@@ -9135,7 +9137,7 @@
9135
9137
  input[class^='ag-'][type='range']:disabled {
9136
9138
  opacity: 0.5;
9137
9139
  }
9138
- `,tn=s.css`
9140
+ `,nn=s.css`
9139
9141
  .ag-dnd-ghost {
9140
9142
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9141
9143
  border: solid 1px;
@@ -9152,7 +9154,7 @@
9152
9154
  overflow: hidden;
9153
9155
  text-overflow: ellipsis;
9154
9156
  }
9155
- `,on=s.css`
9157
+ `,ln=s.css`
9156
9158
  .ag-theme-alpine,
9157
9159
  .ag-theme-alpine-dark {
9158
9160
  --ag-alpine-active-color: #2196f3;
@@ -9602,7 +9604,7 @@
9602
9604
  .ag-theme-alpine-dark {
9603
9605
  color-scheme: dark;
9604
9606
  }
9605
- `,nn=s.css`
9607
+ `,gn=s.css`
9606
9608
  .ag-theme-balham,
9607
9609
  .ag-theme-balham-dark {
9608
9610
  --ag-balham-active-color: #0091ea;
@@ -9872,7 +9874,7 @@
9872
9874
  .ag-theme-balham-dark {
9873
9875
  color-scheme: dark;
9874
9876
  }
9875
- `,ln=s.css`
9877
+ `,dn=s.css`
9876
9878
  .ag-theme-material {
9877
9879
  --ag-material-primary-color: #3f51b5;
9878
9880
  --ag-material-accent-color: #ff4081;
@@ -10137,14 +10139,14 @@
10137
10139
  .ag-theme-material .ag-picker-field-wrapper:focus {
10138
10140
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10139
10141
  }
10140
- `,gn=s.css`
10141
- ${rn}
10142
- ${tn}
10142
+ `,sn=s.css`
10143
10143
  ${on}
10144
10144
  ${nn}
10145
10145
  ${ln}
10146
- `,dn=s.css`
10147
10146
  ${gn}
10147
+ ${dn}
10148
+ `,cn=s.css`
10149
+ ${sn}
10148
10150
  :host {
10149
10151
  width: 100%;
10150
10152
  height: 100%;
@@ -10171,14 +10173,14 @@
10171
10173
  .ag-cell-inline-editing {
10172
10174
  height: inherit !important;
10173
10175
  }
10174
- `,sn=s.html`
10176
+ `,pn=s.html`
10175
10177
  <template>
10176
10178
  <span part="grid" class="${e=>e.classNames}">
10177
10179
  <slot name="grid" ${(0,s.ref)("gridSlot")}></slot>
10178
10180
  <slot></slot>
10179
10181
  </span>
10180
10182
  </template>
10181
- `;zi.O3h.registerModules([ki.jM,xi.I]);const cn=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class pn extends((0,g.LifecycleMixin)(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Gr.A)(Mi(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.enabledRowFlashing=!1,this.enableCellFlashing=!1,this.gridAutosizingEnabled=!1,this.gridFontFace=Ii,this.columnComponentName="grid-pro-column",this.theme=Fi.alpine,this.rehydrationAttempted=!1,this.agAttributes={},this.agPropertiesMap=zi.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[cn(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&(0,g.respondToVisibility)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&zi.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(cn(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[Ni.action]:_o,[Ni.actionsMenu]:Jo,[Ni.boolean]:ei};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}))}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,Go.__rest)(e,["columnDefs","components","onGridReady","onFirstDataRendered"]),g=Object.assign(Object.assign(Object.assign({defaultColDef:{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),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),zi.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 zi.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}enableFlashingRows(){this.enabledRowFlashing&&this.gridApi.addEventListener(zi.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,r="field",t="colId"){const o={},i=[];return a.forEach((a=>{const n=e.find((e=>e[r]===a[t]));if(n){const e=Object.assign(Object.assign({},n),a);delete e[t],o[n[r]]=e,i.push(e)}})),e.forEach((e=>{if(!o.hasOwnProperty(e[r])){const a=Object.assign({},e);o[e[r]]=a,i.push(a)}})),i}(i,e)}return i}get observedAttributes(){const e=zi.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=zi.plv.ALL_PROPERTIES.map((e=>cn(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},zi.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,g.insertDocumentCSSRule)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Go.__decorate)([s.observable],pn.prototype,"columnApi",void 0),(0,Go.__decorate)([s.observable],pn.prototype,"gridApi",void 0),(0,Go.__decorate)([Si.z],pn.prototype,"session",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],pn.prototype,"autoCellRendererByType",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],pn.prototype,"onlyTemplateColDefs",void 0),(0,Go.__decorate)([(0,s.attr)({mode:"boolean"})],pn.prototype,"enabledRowFlashing",void 0),(0,Go.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],pn.prototype,"enableCellFlashing",void 0),(0,Go.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],pn.prototype,"persistColumnStateKey",void 0),(0,Go.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],pn.prototype,"gridAutosizingEnabled",void 0),(0,Go.__decorate)([s.observable],pn.prototype,"gridFontFace",void 0),(0,Go.__decorate)([s.attr],pn.prototype,"columnComponentName",void 0),(0,Go.__decorate)([s.observable],pn.prototype,"eventsAndCallbacks",void 0),(0,Go.__decorate)([s.attr],pn.prototype,"headerHeight",void 0),(0,Go.__decorate)([s.attr],pn.prototype,"rowHeight",void 0),(0,Go.__decorate)([s.attr],pn.prototype,"theme",void 0),(0,Go.__decorate)([s.observable],pn.prototype,"classNames",void 0),(0,Go.__decorate)([s.observable],pn.prototype,"agGrid",void 0),(0,Go.__decorate)([s.observable],pn.prototype,"gridSlot",void 0),(0,Go.__decorate)([s.observable],pn.prototype,"gridComponents",void 0);const un=void 0,hn={shadowOptions:void 0},mn=pn.compose(Object.assign({baseName:"grid-pro",styles:dn,template:sn,shadowOptions:un},hn)),vn={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"))},bn={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:fn}=c.DesignToken,wn={backgroundColor:fn("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?bn.backgroundSwatch:vn.backgroundSwatch)),borderColor:fn("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?bn.borderSwatch:vn.borderSwatch)),foregroundColor:fn("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?bn.foregroundSwatch:vn.foregroundSwatch)),headerForegroundColor:fn("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?bn.headerForegroundSwatch:vn.headerForegroundSwatch)),rowHoverColor:fn("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?bn.rowHoverSwatch:vn.rowHoverSwatch))},yn=s.css`
10183
+ `;Si.O3h.registerModules([Ci.jM,ki.I]);const un=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class hn extends((0,g.LifecycleMixin)(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,_r.A)(Ni(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.enabledRowFlashing=!1,this.enableCellFlashing=!1,this.gridAutosizingEnabled=!1,this.gridFontFace=Pi,this.columnComponentName="grid-pro-column",this.theme=Mi.alpine,this.rehydrationAttempted=!1,this.agAttributes={},this.agPropertiesMap=Si.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[un(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&(0,g.respondToVisibility)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&Si.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(un(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[Ri.action]:Yo,[Ri.actionsMenu]:Ko,[Ri.boolean]:ri};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}))}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,_o.__rest)(e,["columnDefs","components","onGridReady","onFirstDataRendered"]),g=Object.assign(Object.assign(Object.assign({defaultColDef:{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),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),Si.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 Si.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}enableFlashingRows(){this.enabledRowFlashing&&this.gridApi.addEventListener(Si.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,r="field",t="colId"){const o={},i=[];return a.forEach((a=>{const n=e.find((e=>e[r]===a[t]));if(n){const e=Object.assign(Object.assign({},n),a);delete e[t],o[n[r]]=e,i.push(e)}})),e.forEach((e=>{if(!o.hasOwnProperty(e[r])){const a=Object.assign({},e);o[e[r]]=a,i.push(a)}})),i}(i,e)}return i}get observedAttributes(){const e=Si.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Si.plv.ALL_PROPERTIES.map((e=>un(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},Si.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=Ei[e]||this.gridFontFace;this.destroyFontFace();const r=(0,g.insertDocumentCSSRule)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,_o.__decorate)([s.observable],hn.prototype,"columnApi",void 0),(0,_o.__decorate)([s.observable],hn.prototype,"gridApi",void 0),(0,_o.__decorate)([Ai.z],hn.prototype,"session",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],hn.prototype,"autoCellRendererByType",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],hn.prototype,"onlyTemplateColDefs",void 0),(0,_o.__decorate)([(0,s.attr)({mode:"boolean"})],hn.prototype,"enabledRowFlashing",void 0),(0,_o.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],hn.prototype,"enableCellFlashing",void 0),(0,_o.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],hn.prototype,"persistColumnStateKey",void 0),(0,_o.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],hn.prototype,"gridAutosizingEnabled",void 0),(0,_o.__decorate)([s.observable],hn.prototype,"gridFontFace",void 0),(0,_o.__decorate)([s.attr],hn.prototype,"columnComponentName",void 0),(0,_o.__decorate)([s.observable],hn.prototype,"eventsAndCallbacks",void 0),(0,_o.__decorate)([s.attr],hn.prototype,"headerHeight",void 0),(0,_o.__decorate)([s.attr],hn.prototype,"rowHeight",void 0),(0,_o.__decorate)([s.attr],hn.prototype,"theme",void 0),(0,_o.__decorate)([s.observable],hn.prototype,"classNames",void 0),(0,_o.__decorate)([s.observable],hn.prototype,"agGrid",void 0),(0,_o.__decorate)([s.observable],hn.prototype,"gridSlot",void 0),(0,_o.__decorate)([s.observable],hn.prototype,"gridComponents",void 0);const mn=void 0,vn={shadowOptions:void 0},bn=hn.compose(Object.assign({baseName:"grid-pro",styles:cn,template:pn,shadowOptions:mn},vn)),fn={foregroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#1f2126")),borderSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#2b2e34"))},wn={foregroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#2196f3"))},{create:yn}=c.DesignToken,xn={backgroundColor:yn("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?wn.backgroundSwatch:fn.backgroundSwatch)),borderColor:yn("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?wn.borderSwatch:fn.borderSwatch)),foregroundColor:yn("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?wn.foregroundSwatch:fn.foregroundSwatch)),headerForegroundColor:yn("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?wn.headerForegroundSwatch:fn.headerForegroundSwatch)),rowHoverColor:yn("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?wn.rowHoverSwatch:fn.rowHoverSwatch))},zn=s.css`
10182
10184
  .ag-theme-genesis-rapid,
10183
10185
  .ag-theme-genesis-rapid-dark {
10184
10186
  --ag-alpine-active-color: #2196f3;
@@ -10638,50 +10640,50 @@
10638
10640
  .ag-theme-genesis-rapid-dark {
10639
10641
  color-scheme: dark;
10640
10642
  }
10641
- `,xn={[Li.backgroundColor]:wn.backgroundColor,[Li.foregroundColor]:wn.foregroundColor,[Li.oddRowBackgroundColor]:wn.backgroundColor,[Li.headerBackgroundColor]:wn.backgroundColor,[Li.headerForegroundColor]:wn.headerForegroundColor,[Li.selectedRowBackgroundColor]:wn.rowHoverColor,[Li.rowHoverColor]:wn.rowHoverColor,[Li.borderColor]:wn.borderColor,[Li.rowBorderColor]:wn.rowHoverColor,[Li.modalOverlayBackgroundColor]:wn.backgroundColor,[Li.inputFocusBoxShadow]:wn.headerForegroundColor,[Li.inputFocusBorderColor]:wn.headerForegroundColor,[Li.headerColumnResizeHandleColor]:wn.headerForegroundColor},zn="ag-theme-genesis-rapid",kn=s.css`
10642
- ${yn}
10643
- ${Oi(zn,xn)}
10643
+ `,kn={[Fi.backgroundColor]:xn.backgroundColor,[Fi.foregroundColor]:xn.foregroundColor,[Fi.oddRowBackgroundColor]:xn.backgroundColor,[Fi.headerBackgroundColor]:xn.backgroundColor,[Fi.headerForegroundColor]:xn.headerForegroundColor,[Fi.selectedRowBackgroundColor]:xn.rowHoverColor,[Fi.rowHoverColor]:xn.rowHoverColor,[Fi.borderColor]:xn.borderColor,[Fi.rowBorderColor]:xn.rowHoverColor,[Fi.modalOverlayBackgroundColor]:xn.backgroundColor,[Fi.inputFocusBoxShadow]:xn.headerForegroundColor,[Fi.inputFocusBorderColor]:xn.headerForegroundColor,[Fi.headerColumnResizeHandleColor]:xn.headerForegroundColor},Sn="ag-theme-genesis-rapid",Cn=s.css`
10644
+ ${zn}
10645
+ ${$i(Sn,kn)}
10644
10646
 
10645
- .${zn} {
10647
+ .${Sn} {
10646
10648
  ${ye()}
10647
10649
  }
10648
10650
 
10649
- .${zn} .ag-header {
10651
+ .${Sn} .ag-header {
10650
10652
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10651
10653
  font-weight: bold;
10652
10654
  }
10653
10655
 
10654
- .${zn} .ag-root-wrapper {
10656
+ .${Sn} .ag-root-wrapper {
10655
10657
  border-radius: calc(var(--control-corner-radius) * 1px);
10656
10658
  }
10657
- `,Sn="ag-theme-genesis-rapid-dark",Cn=s.css`
10658
- ${yn}
10659
- ${Oi(Sn,xn)}
10659
+ `,An="ag-theme-genesis-rapid-dark",Tn=s.css`
10660
+ ${zn}
10661
+ ${$i(An,kn)}
10660
10662
 
10661
- .${Sn} {
10663
+ .${An} {
10662
10664
  ${ye()}
10663
10665
  }
10664
10666
 
10665
- .${Sn} .ag-header {
10667
+ .${An} .ag-header {
10666
10668
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10667
10669
  font-weight: bold;
10668
10670
  }
10669
10671
 
10670
- .${Sn} .ag-cell {
10672
+ .${An} .ag-cell {
10671
10673
  line-height: var(--ag-line-height, 32px);
10672
10674
  }
10673
10675
 
10674
- .${Sn} .ag-root-wrapper {
10676
+ .${An} .ag-root-wrapper {
10675
10677
  border-radius: calc(var(--control-corner-radius) * 1px);
10676
10678
  }
10677
- `,An=s.css`
10679
+ `,Dn=s.css`
10678
10680
  /* All the AG themes */
10679
- ${dn}
10681
+ ${cn}
10680
10682
 
10681
10683
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
10682
- ${kn}
10683
10684
  ${Cn}
10684
- `,Tn=sn,Dn="ag-theme-genesis-rapid-dark";const Ln=hn,Fn={zeroAgActionRenderer:Wo,zeroAgActionsMenuRenderer:Xo,zeroAgBooleanRenderer:ii,zeroAgTextRenderer:mi,zeroAgSelectRenderer:yi,zeroGridPro:class extends pn{constructor(){super(...arguments),this.theme=Dn}themeChanged(e,a){(e||a===Dn)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ni.action]:qo,[Ni.actionsMenu]:Ko,[Ni.boolean]:oi};(this.theme===zn||this.theme===Sn)&&(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:Tn,styles:An,shadowOptions:undefined},Ln)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Mn={foundationGridProActionRenderer:Qo,foundationGridProActionsMenuRenderer:Zo,foundationAgBooleanRenderer:ti,foundationAgTextRenderer:hi,foundationAgTextFieldRenderer:si,foundationAgSelectRenderer:wi,foundationGridPro:mn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var On,Nn=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(On||(On={}));const $n={Roboto:we,"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'},Rn=$n["Segoe UI"],jn=s.css`
10685
+ ${Tn}
10686
+ `,Ln=pn,On="ag-theme-genesis-rapid-dark";const Fn=vn,Mn={zeroAgActionRenderer:Zo,zeroAgActionsMenuRenderer:ai,zeroAgBooleanRenderer:li,zeroAgTextRenderer:bi,zeroAgSelectRenderer:zi,zeroGridPro:class extends hn{constructor(){super(...arguments),this.theme=On}themeChanged(e,a){(e||a===On)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ri.action]:Jo,[Ri.actionsMenu]:ei,[Ri.boolean]:ni};(this.theme===Sn||this.theme===An)&&(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:Ln,styles:Dn,shadowOptions:undefined},Fn)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Nn={foundationGridProActionRenderer:Wo,foundationGridProActionsMenuRenderer:Xo,foundationAgBooleanRenderer:ii,foundationAgTextRenderer:vi,foundationAgTextFieldRenderer:pi,foundationAgSelectRenderer:xi,foundationGridPro:bn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var $n,Rn=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}($n||($n={}));const jn={Roboto:we,"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'},In=jn["Segoe UI"],En=s.css`
10685
10687
  ${(0,c.display)("block")} :host {
10686
10688
  width: 100%;
10687
10689
  display: inline-flex;
@@ -10813,7 +10815,7 @@
10813
10815
  alpha-button {
10814
10816
  margin: 0;
10815
10817
  }
10816
- `,In=s.html`
10818
+ `,Pn=s.html`
10817
10819
  <template>
10818
10820
  <div class="configuration">
10819
10821
  <div class="row" id="designSystem">
@@ -11027,7 +11029,7 @@
11027
11029
  <slot></slot>
11028
11030
  </div>
11029
11031
  </template>
11030
- `,En=({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($n).find((a=>$n[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Pn=En(Se),Un={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},Bn=En(i.designTokens),Gn={zero:{prefix:"zero",tokenDefaults:Pn,buttons:Un},alpha:{prefix:"alpha",tokenDefaults:Bn,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Un}};let Hn=class extends s.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Pn.luminance===p.StandardLuminance.DarkMode,this.luminance=Pn.luminance,this.neutralColor=Pn.neutralColor,this.accentColor=Pn.accentColor,this.bodyFont=Pn.bodyFont,this.density=Pn.density,this.borderRadius=Pn.borderRadius,this.strokeWidth=Pn.strokeWidth,this.designUnit=Pn.designUnit,this.baseFontSize=Pn.baseFontSize,this.baseLineHeight=Pn.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=En(a);Gn.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Nn.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Gn[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Nn.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"}];if(this.customDesignMode){const a={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[a,...e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:Gn[this.ds].prefix,buttonAppearanceAccent:Gn[this.ds].buttons.accent,buttonAppearanceNeutral:Gn[this.ds].buttons.neutral,buttonAppearanceOutline:Gn[this.ds].buttons.outline};this.$emit(On.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Gn[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:$n[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(On.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={},fe(),s.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(On.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Nn.__decorate)([(0,s.attr)({mode:"boolean",attribute:"custom-design-mode"})],Hn.prototype,"customDesignMode",void 0),(0,Nn.__decorate)([s.observable],Hn.prototype,"designSystems",void 0),(0,Nn.__decorate)([s.observable],Hn.prototype,"ds",void 0),(0,Nn.__decorate)([s.attr],Hn.prototype,"darkMode",void 0),(0,Nn.__decorate)([s.observable],Hn.prototype,"neutralColor",void 0),(0,Nn.__decorate)([s.observable],Hn.prototype,"accentColor",void 0),(0,Nn.__decorate)([s.observable],Hn.prototype,"bodyFont",void 0),(0,Nn.__decorate)([s.observable],Hn.prototype,"density",void 0),(0,Nn.__decorate)([s.observable],Hn.prototype,"borderRadius",void 0),(0,Nn.__decorate)([s.observable],Hn.prototype,"strokeWidth",void 0),(0,Nn.__decorate)([s.observable],Hn.prototype,"designUnit",void 0),(0,Nn.__decorate)([s.observable],Hn.prototype,"baseFontSize",void 0),(0,Nn.__decorate)([s.observable],Hn.prototype,"baseLineHeight",void 0),(0,Nn.__decorate)([s.observable],Hn.prototype,"preserveOptions",void 0),Hn=(0,Nn.__decorate)([(0,s.customElement)({name:"design-system-editor",template:In,styles:jn})],Hn);const _n=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},Vn=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Yn=(e,a)=>{const r=_n(e.neutralColor);p.neutralPalette.setValueFor(a,r);const t=_n(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,Vn(p.typeRampBaseFontSize,g.TypeRampValues.minusOne,a)),p.typeRampMinus1LineHeight.setValueFor(a,Vn(p.typeRampBaseLineHeight,g.TypeRampValues.minusOne,a)),p.typeRampMinus2FontSize.setValueFor(a,Vn(p.typeRampBaseFontSize,g.TypeRampValues.minusTwo,a)),p.typeRampMinus2LineHeight.setValueFor(a,Vn(p.typeRampBaseLineHeight,g.TypeRampValues.minusTwo,a)),p.typeRampPlus1FontSize.setValueFor(a,Vn(p.typeRampBaseFontSize,g.TypeRampValues.plusOne,a)),p.typeRampPlus1LineHeight.setValueFor(a,Vn(p.typeRampBaseLineHeight,g.TypeRampValues.plusOne,a)),p.typeRampPlus2FontSize.setValueFor(a,Vn(p.typeRampBaseFontSize,g.TypeRampValues.plusTwo,a)),p.typeRampPlus2LineHeight.setValueFor(a,Vn(p.typeRampBaseLineHeight,g.TypeRampValues.plusTwo,a)),p.typeRampPlus3FontSize.setValueFor(a,Vn(p.typeRampBaseFontSize,g.TypeRampValues.plusThree,a)),p.typeRampPlus3LineHeight.setValueFor(a,Vn(p.typeRampBaseLineHeight,g.TypeRampValues.plusThree,a)),p.typeRampPlus4FontSize.setValueFor(a,Vn(p.typeRampBaseFontSize,g.TypeRampValues.plusFour,a)),p.typeRampPlus4LineHeight.setValueFor(a,Vn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFour,a)),p.typeRampPlus5FontSize.setValueFor(a,Vn(p.typeRampBaseFontSize,g.TypeRampValues.plusFive,a)),p.typeRampPlus5LineHeight.setValueFor(a,Vn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFive,a)),p.typeRampPlus6FontSize.setValueFor(a,Vn(p.typeRampBaseFontSize,g.TypeRampValues.plusSix,a)),p.typeRampPlus6LineHeight.setValueFor(a,Vn(p.typeRampBaseLineHeight,g.TypeRampValues.plusSix,a))},Qn=s.css`
11032
+ `,Un=({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}),Bn=Un(Se),Gn={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},Hn=Un(i.designTokens),_n={zero:{prefix:"zero",tokenDefaults:Bn,buttons:Gn},alpha:{prefix:"alpha",tokenDefaults:Hn,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Gn}};let Vn=class extends s.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Bn.luminance===p.StandardLuminance.DarkMode,this.luminance=Bn.luminance,this.neutralColor=Bn.neutralColor,this.accentColor=Bn.accentColor,this.bodyFont=Bn.bodyFont,this.density=Bn.density,this.borderRadius=Bn.borderRadius,this.strokeWidth=Bn.strokeWidth,this.designUnit=Bn.designUnit,this.baseFontSize=Bn.baseFontSize,this.baseLineHeight=Bn.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=Un(a);_n.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Rn.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(_n[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Rn.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"}];if(this.customDesignMode){const a={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[a,...e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:_n[this.ds].prefix,buttonAppearanceAccent:_n[this.ds].buttons.accent,buttonAppearanceNeutral:_n[this.ds].buttons.neutral,buttonAppearanceOutline:_n[this.ds].buttons.outline};this.$emit($n.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(_n[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($n.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={},fe(),s.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener($n.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Rn.__decorate)([(0,s.attr)({mode:"boolean",attribute:"custom-design-mode"})],Vn.prototype,"customDesignMode",void 0),(0,Rn.__decorate)([s.observable],Vn.prototype,"designSystems",void 0),(0,Rn.__decorate)([s.observable],Vn.prototype,"ds",void 0),(0,Rn.__decorate)([s.attr],Vn.prototype,"darkMode",void 0),(0,Rn.__decorate)([s.observable],Vn.prototype,"neutralColor",void 0),(0,Rn.__decorate)([s.observable],Vn.prototype,"accentColor",void 0),(0,Rn.__decorate)([s.observable],Vn.prototype,"bodyFont",void 0),(0,Rn.__decorate)([s.observable],Vn.prototype,"density",void 0),(0,Rn.__decorate)([s.observable],Vn.prototype,"borderRadius",void 0),(0,Rn.__decorate)([s.observable],Vn.prototype,"strokeWidth",void 0),(0,Rn.__decorate)([s.observable],Vn.prototype,"designUnit",void 0),(0,Rn.__decorate)([s.observable],Vn.prototype,"baseFontSize",void 0),(0,Rn.__decorate)([s.observable],Vn.prototype,"baseLineHeight",void 0),(0,Rn.__decorate)([s.observable],Vn.prototype,"preserveOptions",void 0),Vn=(0,Rn.__decorate)([(0,s.customElement)({name:"design-system-editor",template:Pn,styles:En})],Vn);const Yn=e=>{const a=(e=>{const a=(0,Fe.parseColorHexRGB)(e);return a?p.SwatchRGB.from(a):null})(e);return a?p.PaletteRGB.create(a):null},Qn=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},qn=(e,a)=>{const r=Yn(e.neutralColor);p.neutralPalette.setValueFor(a,r);const t=Yn(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,Qn(p.typeRampBaseFontSize,g.TypeRampValues.minusOne,a)),p.typeRampMinus1LineHeight.setValueFor(a,Qn(p.typeRampBaseLineHeight,g.TypeRampValues.minusOne,a)),p.typeRampMinus2FontSize.setValueFor(a,Qn(p.typeRampBaseFontSize,g.TypeRampValues.minusTwo,a)),p.typeRampMinus2LineHeight.setValueFor(a,Qn(p.typeRampBaseLineHeight,g.TypeRampValues.minusTwo,a)),p.typeRampPlus1FontSize.setValueFor(a,Qn(p.typeRampBaseFontSize,g.TypeRampValues.plusOne,a)),p.typeRampPlus1LineHeight.setValueFor(a,Qn(p.typeRampBaseLineHeight,g.TypeRampValues.plusOne,a)),p.typeRampPlus2FontSize.setValueFor(a,Qn(p.typeRampBaseFontSize,g.TypeRampValues.plusTwo,a)),p.typeRampPlus2LineHeight.setValueFor(a,Qn(p.typeRampBaseLineHeight,g.TypeRampValues.plusTwo,a)),p.typeRampPlus3FontSize.setValueFor(a,Qn(p.typeRampBaseFontSize,g.TypeRampValues.plusThree,a)),p.typeRampPlus3LineHeight.setValueFor(a,Qn(p.typeRampBaseLineHeight,g.TypeRampValues.plusThree,a)),p.typeRampPlus4FontSize.setValueFor(a,Qn(p.typeRampBaseFontSize,g.TypeRampValues.plusFour,a)),p.typeRampPlus4LineHeight.setValueFor(a,Qn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFour,a)),p.typeRampPlus5FontSize.setValueFor(a,Qn(p.typeRampBaseFontSize,g.TypeRampValues.plusFive,a)),p.typeRampPlus5LineHeight.setValueFor(a,Qn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFive,a)),p.typeRampPlus6FontSize.setValueFor(a,Qn(p.typeRampBaseFontSize,g.TypeRampValues.plusSix,a)),p.typeRampPlus6LineHeight.setValueFor(a,Qn(p.typeRampBaseLineHeight,g.TypeRampValues.plusSix,a))},Wn=s.css`
11031
11033
  :host {
11032
11034
  background: var(--fill-color);
11033
11035
  color: var(--neutral-foreground-rest);
@@ -11070,7 +11072,7 @@
11070
11072
  zero-design-system-provider {
11071
11073
  display: inline;
11072
11074
  }
11073
- `,qn=s.html`
11075
+ `,Jn=s.html`
11074
11076
  ${e=>{return a=e.prefix,s.html`
11075
11077
  <template>
11076
11078
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11271,7 +11273,7 @@
11271
11273
  </${a}-design-system-provider>
11272
11274
  </template>
11273
11275
  `;var a}}
11274
- `;let Wn=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(On.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(On.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setDialogEventListeners(),p.bodyFont.withDefault(Rn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Yn(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,Nn.__decorate)([s.observable],Wn.prototype,"modal",void 0),(0,Nn.__decorate)([s.attr],Wn.prototype,"prefix",void 0),(0,Nn.__decorate)([s.observable],Wn.prototype,"buttonAppearanceAccent",void 0),(0,Nn.__decorate)([s.observable],Wn.prototype,"buttonAppearanceNeutral",void 0),(0,Nn.__decorate)([s.observable],Wn.prototype,"buttonAppearanceOutline",void 0),(0,Nn.__decorate)([s.observable],Wn.prototype,"provider",void 0),Wn=(0,Nn.__decorate)([(0,s.customElement)({name:"preview-components",template:qn,styles:Qn})],Wn);const Jn=s.css`
11276
+ `;let Zn=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($n.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener($n.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setDialogEventListeners(),p.bodyFont.withDefault(In)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{qn(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,Rn.__decorate)([s.observable],Zn.prototype,"modal",void 0),(0,Rn.__decorate)([s.attr],Zn.prototype,"prefix",void 0),(0,Rn.__decorate)([s.observable],Zn.prototype,"buttonAppearanceAccent",void 0),(0,Rn.__decorate)([s.observable],Zn.prototype,"buttonAppearanceNeutral",void 0),(0,Rn.__decorate)([s.observable],Zn.prototype,"buttonAppearanceOutline",void 0),(0,Rn.__decorate)([s.observable],Zn.prototype,"provider",void 0),Zn=(0,Rn.__decorate)([(0,s.customElement)({name:"preview-components",template:Jn,styles:Wn})],Zn);const Kn=s.css`
11275
11277
  .export {
11276
11278
  display: flex;
11277
11279
  justify-content: center;
@@ -11282,7 +11284,7 @@
11282
11284
  display: flex;
11283
11285
  justify-content: space-between;
11284
11286
  }
11285
- `,Zn=s.html`
11287
+ `,Xn=s.html`
11286
11288
  <template>
11287
11289
  <div class="export">
11288
11290
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -11303,7 +11305,7 @@
11303
11305
  </alpha-modal>
11304
11306
  </div>
11305
11307
  </template>
11306
- `;let Kn=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(On.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(On.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Nn.__decorate)([s.attr],Kn.prototype,"value",void 0),(0,Nn.__decorate)([s.attr],Kn.prototype,"tokensPath",void 0),Kn=(0,Nn.__decorate)([(0,s.customElement)({name:"design-system-export",template:Zn,styles:Jn})],Kn);const Xn=s.css`
11308
+ `;let el=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($n.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener($n.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Rn.__decorate)([s.attr],el.prototype,"value",void 0),(0,Rn.__decorate)([s.attr],el.prototype,"tokensPath",void 0),el=(0,Rn.__decorate)([(0,s.customElement)({name:"design-system-export",template:Xn,styles:Kn})],el);const al=s.css`
11307
11309
  .colors {
11308
11310
  display: flex;
11309
11311
  flex-wrap: wrap;
@@ -11316,23 +11318,23 @@
11316
11318
  flex-grow: 1;
11317
11319
  height: 20px;
11318
11320
  }
11319
- `,el=s.html`
11321
+ `,rl=s.html`
11320
11322
  <ul class="colors">
11321
11323
  ${(0,s.repeat)((e=>e.swatches),s.html`
11322
11324
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
11323
11325
  `)}
11324
11326
  </ul>
11325
- `;let al=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=_n(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(On.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Nn.__decorate)([s.observable],al.prototype,"swatches",void 0),(0,Nn.__decorate)([s.attr],al.prototype,"type",void 0),al=(0,Nn.__decorate)([(0,s.customElement)({name:"color-palette",styles:Xn,template:el})],al);const rl=s.css`
11327
+ `;let tl=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=Yn(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener($n.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Rn.__decorate)([s.observable],tl.prototype,"swatches",void 0),(0,Rn.__decorate)([s.attr],tl.prototype,"type",void 0),tl=(0,Rn.__decorate)([(0,s.customElement)({name:"color-palette",styles:al,template:rl})],tl);const ol=s.css`
11326
11328
  .preview {
11327
11329
  width: 40px;
11328
11330
  height: 40px;
11329
11331
  }
11330
- `,tl=s.html`
11332
+ `,il=s.html`
11331
11333
  <div
11332
11334
  class="preview"
11333
11335
  style="background-color: ${e=>p[e.tokenName].createCSS()}"
11334
11336
  ></div>
11335
- `;let ol=class extends s.FASTElement{};(0,Nn.__decorate)([s.attr],ol.prototype,"tokenName",void 0),ol=(0,Nn.__decorate)([(0,s.customElement)({name:"color-token",styles:rl,template:tl})],ol);const il=s.css`
11337
+ `;let nl=class extends s.FASTElement{};(0,Rn.__decorate)([s.attr],nl.prototype,"tokenName",void 0),nl=(0,Rn.__decorate)([(0,s.customElement)({name:"color-token",styles:ol,template:il})],nl);const ll=s.css`
11336
11338
  .container {
11337
11339
  display: flex;
11338
11340
  width: 100%;
@@ -11380,7 +11382,7 @@
11380
11382
  .container > div:not(:last-child) {
11381
11383
  border-right: 1px solid #fafafa;
11382
11384
  }
11383
- `,nl=[{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"}]}]}],ll=s.html`
11385
+ `,gl=[{title:"Fill",subcategories:[{title:"Fill Colour",tokens:[{name:"fillColor",cssProperty:"--fill-color"}]},{title:"Accent Fill",tokens:[{name:"accentFillRest",cssProperty:"--accent-fill-rest"},{name:"accentFillHover",cssProperty:"--accent-fill-hover"},{name:"accentFillActive",cssProperty:"--accent-fill-active"},{name:"accentFillFocus",cssProperty:"--accent-fill-focus"}]},{title:"Neutral Fill",tokens:[{name:"neutralFillRest",cssProperty:"--neutral-fill-rest"},{name:"neutralFillHover",cssProperty:"--neutral-fill-hover"},{name:"neutralFillActive",cssProperty:"--neutral-fill-active"},{name:"neutralFillFocus",cssProperty:"--neutral-fill-focus"}]},{title:"Neutral Fill Input",tokens:[{name:"neutralFillInputRest",cssProperty:"--neutral-fill-input-rest"},{name:"neutralFillInputHover",cssProperty:"--neutral-fill-input-hover"},{name:"neutralFillInputActive",cssProperty:"--neutral-fill-input-active"},{name:"neutralFillInputFocus",cssProperty:"--neutral-fill-input-focus"}]},{title:"Neutral Fill Stealth",tokens:[{name:"neutralFillStealthRest",cssProperty:"--neutral-fill-stealth-rest"},{name:"neutralFillStealthHover",cssProperty:"--neutral-fill-stealth-hover"},{name:"neutralFillStealthActive",cssProperty:"--neutral-fill-stealth-active"},{name:"neutralFillStealthFocus",cssProperty:"--neutral-fill-stealth-focus"}]},{title:"Neutral Fill Strong",tokens:[{name:"neutralFillStrongRest",cssProperty:"--neutral-fill-strong-rest"},{name:"neutralFillStrongHover",cssProperty:"--neutral-fill-strong-hover"},{name:"neutralFillStrongActive",cssProperty:"--neutral-fill-strong-active"},{name:"neutralFillStrongFocus",cssProperty:"--neutral-fill-strong-focus"}]}]},{title:"Foreground",subcategories:[{title:"Neutral Foreground",tokens:[{name:"neutralForegroundRest",cssProperty:"--neutral-foreground-rest"},{name:"neutralForegroundHint",cssProperty:"--neutral-foreground-hint"}]},{title:"Accent Foreground",tokens:[{name:"accentForegroundRest",cssProperty:"--accent-foreground-rest"},{name:"accentForegroundHover",cssProperty:"--accent-foreground-hover"},{name:"accentForegroundActive",cssProperty:"--accent-foreground-active"},{name:"accentForegroundFocus",cssProperty:"--accent-foreground-focus"}]},{title:"Foreground on Accent",tokens:[{name:"foregroundOnAccentRest",cssProperty:"--foreground-on-accent-rest"},{name:"foregroundOnAccentHover",cssProperty:"--foreground-on-accent-hover"},{name:"foregroundOnAccentActive",cssProperty:"--foreground-on-accent-active"},{name:"foregroundOnAccentFocus",cssProperty:"--foreground-on-accent-focus"}]},{title:"Foreground on accent large",tokens:[{name:"foregroundOnAccentRestLarge",cssProperty:"--foreground-on-accent-rest-large"},{name:"foregroundOnAccentHoverLarge",cssProperty:"--foreground-on-accent-hover-large"},{name:"foregroundOnAccentActiveLarge",cssProperty:"--foreground-on-accent-active-large"},{name:"foregroundOnAccentFocusLarge",cssProperty:"--foreground-on-accent-focus-large"}]}]},{title:"Stroke",subcategories:[{title:"Focus Stroke",tokens:[{name:"focusStrokeOuter",cssProperty:"--focus-stroke-outer"},{name:"focusStrokeInner",cssProperty:"--focus-stroke-inner"}]},{title:"Neutral Stroke",tokens:[{name:"neutralStrokeRest",cssProperty:"---neutral-stroke-rest"},{name:"neutralStrokeHover",cssProperty:"--neutral-stroke-hover"},{name:"neutralStrokeActive",cssProperty:"--neutral-stroke-active"},{name:"neutralStrokeFocus",cssProperty:"--neutral-stroke-focus"}]},{title:"Neutral stroke divider",tokens:[{name:"neutralStrokeDividerRest",cssProperty:"--neutral-stroke-divider-rest"}]}]},{title:"Layer",subcategories:[{title:"Neutral Layers",tokens:[{name:"neutralLayer1",cssProperty:"--neutral-layer-1"},{name:"neutralLayer2",cssProperty:"--neutral-layer-2"},{name:"neutralLayer3",cssProperty:"--neutral-layer-3"},{name:"neutralLayer4",cssProperty:"--neutral-layer-4"}]},{title:"Neutral Layer Card Container",tokens:[{name:"neutralLayerCardContainer",cssProperty:"--neutral-layer-card-container"}]},{title:"Neutral Fill Layer",tokens:[{name:"neutralFillLayerRest",cssProperty:"--neutral-fill-layer-rest"}]},{title:"Neutral Layer Floating",tokens:[{name:"neutralLayerFloating",cssProperty:"--neutral-layer-floating"}]}]}],dl=s.html`
11384
11386
  <div class="row">
11385
11387
  <div
11386
11388
  class="preview"
@@ -11392,19 +11394,19 @@
11392
11394
  ${(e,a)=>p[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
11393
11395
  </div>
11394
11396
  </div>
11395
- `,gl=s.html`
11397
+ `,sl=s.html`
11396
11398
  <div class="container" ${(0,s.ref)("provider")}>
11397
- ${(0,s.repeat)((()=>nl),s.html`
11399
+ ${(0,s.repeat)((()=>gl),s.html`
11398
11400
  <div class="column">
11399
11401
  <h3 class="header-title">${e=>e.title}</h3>
11400
11402
  ${(0,s.repeat)((e=>e.subcategories),s.html`
11401
11403
  <h4>${e=>e.title}</h4>
11402
- ${(0,s.repeat)((e=>e.tokens),ll)}
11404
+ ${(0,s.repeat)((e=>e.tokens),dl)}
11403
11405
  `)}
11404
11406
  </div>
11405
11407
  `)}
11406
11408
  </div>
11407
- `;let dl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(On.STYLES_CHANGED,(e=>{const a=e.detail;Yn(a,this.provider)}))}};(0,Nn.__decorate)([s.observable],dl.prototype,"provider",void 0),dl=(0,Nn.__decorate)([(0,s.customElement)({name:"color-tokens",template:gl,styles:il})],dl);const sl=s.css`
11409
+ `;let cl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener($n.STYLES_CHANGED,(e=>{const a=e.detail;qn(a,this.provider)}))}};(0,Rn.__decorate)([s.observable],cl.prototype,"provider",void 0),cl=(0,Rn.__decorate)([(0,s.customElement)({name:"color-tokens",template:sl,styles:ll})],cl);const pl=s.css`
11408
11410
  table {
11409
11411
  background: var(--neutral-fill-rest);
11410
11412
  color: var(--neutral-foreground-rest);
@@ -11413,7 +11415,7 @@
11413
11415
  th {
11414
11416
  text-align: left;
11415
11417
  }
11416
- `,cl=s.html`
11418
+ `,ul=s.html`
11417
11419
  <table ${(0,s.ref)("provider")} style="font-family: ${()=>p.bodyFont.createCSS()}">
11418
11420
  <colgroup>
11419
11421
  <col style="width: 15%;" />
@@ -11641,7 +11643,7 @@
11641
11643
  </tr>
11642
11644
  </tbody>
11643
11645
  </table>
11644
- `;let pl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(On.STYLES_CHANGED,(e=>{const a=e.detail;Yn(a,this.provider)}))}};(0,Nn.__decorate)([s.observable],pl.prototype,"provider",void 0),pl=(0,Nn.__decorate)([(0,s.customElement)({name:"typography-tokens",template:cl,styles:sl})],pl);const ul=s.css`
11646
+ `;let hl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener($n.STYLES_CHANGED,(e=>{const a=e.detail;qn(a,this.provider)}))}};(0,Rn.__decorate)([s.observable],hl.prototype,"provider",void 0),hl=(0,Rn.__decorate)([(0,s.customElement)({name:"typography-tokens",template:ul,styles:pl})],hl);const ml=s.css`
11645
11647
  :host {
11646
11648
  background: var(--fill-color);
11647
11649
  color: var(--neutral-foreground-rest);
@@ -11657,7 +11659,7 @@
11657
11659
  margin-top: 24px;
11658
11660
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
11659
11661
  }
11660
- `,hl=s.html`
11662
+ `,vl=s.html`
11661
11663
  <template>
11662
11664
  <alpha-tabs>
11663
11665
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -11686,7 +11688,7 @@
11686
11688
  </alpha-tab-panel>
11687
11689
  </alpha-tabs>
11688
11690
  </template>
11689
- `;let ml=class extends s.FASTElement{};ml=(0,Nn.__decorate)([(0,s.customElement)({name:"design-system-preview",template:hl,styles:ul})],ml);const vl={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"}]}]}}]},bl={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"]}}},fl={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"}]}}}]},wl={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"]}}}},yl=s.css`
11691
+ `;let bl=class extends s.FASTElement{};bl=(0,Rn.__decorate)([(0,s.customElement)({name:"design-system-preview",template:vl,styles:ml})],bl);const fl={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"}]}]}}]},wl={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"]}}},yl={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"}]}}}]},xl={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"]}}}},zl=s.css`
11690
11692
  :host {
11691
11693
  background: var(--fill-color);
11692
11694
  color: var(--neutral-foreground-rest);
@@ -11717,7 +11719,7 @@
11717
11719
  zero-design-system-provider {
11718
11720
  display: inline;
11719
11721
  }
11720
- `,xl=s.html`
11722
+ `,kl=s.html`
11721
11723
  ${e=>{return a=e.prefix,s.html`
11722
11724
  <template>
11723
11725
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11739,7 +11741,7 @@
11739
11741
  </${a}-design-system-provider>
11740
11742
  </template>
11741
11743
  `;var a}}
11742
- `;let zl=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=bl,this.uischema=vl,this.jsonSchemaArray=wl,this.uiSchemaArray=fl,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(On.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(On.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(Rn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Yn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,Nn.__decorate)([s.observable],zl.prototype,"jsonSchema",void 0),(0,Nn.__decorate)([s.observable],zl.prototype,"uischema",void 0),(0,Nn.__decorate)([s.observable],zl.prototype,"jsonSchemaArray",void 0),(0,Nn.__decorate)([s.observable],zl.prototype,"uiSchemaArray",void 0),(0,Nn.__decorate)([s.attr],zl.prototype,"prefix",void 0),(0,Nn.__decorate)([s.observable],zl.prototype,"provider",void 0),(0,Nn.__decorate)([s.observable],zl.prototype,"editedEntity",void 0),(0,Nn.__decorate)([s.observable],zl.prototype,"editedEntityArray",void 0),zl=(0,Nn.__decorate)([(0,s.customElement)({name:"preview-form",template:xl,styles:yl})],zl);const kl=s.css`
11744
+ `;let Sl=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=wl,this.uischema=fl,this.jsonSchemaArray=xl,this.uiSchemaArray=yl,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($n.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener($n.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(In)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{qn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,Rn.__decorate)([s.observable],Sl.prototype,"jsonSchema",void 0),(0,Rn.__decorate)([s.observable],Sl.prototype,"uischema",void 0),(0,Rn.__decorate)([s.observable],Sl.prototype,"jsonSchemaArray",void 0),(0,Rn.__decorate)([s.observable],Sl.prototype,"uiSchemaArray",void 0),(0,Rn.__decorate)([s.attr],Sl.prototype,"prefix",void 0),(0,Rn.__decorate)([s.observable],Sl.prototype,"provider",void 0),(0,Rn.__decorate)([s.observable],Sl.prototype,"editedEntity",void 0),(0,Rn.__decorate)([s.observable],Sl.prototype,"editedEntityArray",void 0),Sl=(0,Rn.__decorate)([(0,s.customElement)({name:"preview-form",template:kl,styles:zl})],Sl);const Cl=s.css`
11743
11745
  :host {
11744
11746
  background: var(--fill-color);
11745
11747
  color: var(--neutral-foreground-rest);
@@ -11754,7 +11756,7 @@
11754
11756
  .grid-height {
11755
11757
  height: 450px;
11756
11758
  }
11757
- `,Sl=s.html`
11759
+ `,Al=s.html`
11758
11760
  ${e=>{return a=e.prefix,s.html`
11759
11761
  <template>
11760
11762
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11764,5 +11766,5 @@
11764
11766
  </${a}-design-system-provider>
11765
11767
  </template>
11766
11768
  `;var a}}
11767
- `;let Cl=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(On.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(On.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setGridOptions(),p.bodyFont.withDefault(Rn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Yn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,s.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Nn.__decorate)([s.observable],Cl.prototype,"grid",void 0),(0,Nn.__decorate)([s.attr],Cl.prototype,"prefix",void 0),(0,Nn.__decorate)([s.observable],Cl.prototype,"provider",void 0),(0,Nn.__decorate)([s.observable],Cl.prototype,"rowData",void 0),(0,Nn.__decorate)([s.observable],Cl.prototype,"columnDefs",void 0),(0,Nn.__decorate)([s.observable],Cl.prototype,"gridOptions",void 0),Cl=(0,Nn.__decorate)([(0,s.customElement)({name:"preview-grid",template:Sl,styles:kl})],Cl),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(Bo,Fn),(0,i.provideDesignSystem)().register(i.baseComponents,Mn)}}]);
11768
- //# sourceMappingURL=78.425cb2a7860174a348daf8438a951f0b.js.map
11769
+ `;let Tl=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($n.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener($n.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setGridOptions(),p.bodyFont.withDefault(In)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{qn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,s.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Rn.__decorate)([s.observable],Tl.prototype,"grid",void 0),(0,Rn.__decorate)([s.attr],Tl.prototype,"prefix",void 0),(0,Rn.__decorate)([s.observable],Tl.prototype,"provider",void 0),(0,Rn.__decorate)([s.observable],Tl.prototype,"rowData",void 0),(0,Rn.__decorate)([s.observable],Tl.prototype,"columnDefs",void 0),(0,Rn.__decorate)([s.observable],Tl.prototype,"gridOptions",void 0),Tl=(0,Rn.__decorate)([(0,s.customElement)({name:"preview-grid",template:Al,styles:Cl})],Tl),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(Ho,Mn),(0,i.provideDesignSystem)().register(i.baseComponents,Nn)}}]);
11770
+ //# sourceMappingURL=239.bfe694c2f5a6e3b2fc3cfaae77540f39.js.map