@genesislcap/design-system-configurator 14.60.0 → 14.61.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 (20) hide show
  1. package/dist/{82.82.27a16162e453fe9f48f8.js → 170.170.67d51b5fcb0e3754774f.js} +88 -75
  2. package/dist/170.c2089319d1462bc23e5e6d8b78eae6c9.js.map +1 -0
  3. package/dist/{361.361.d67412b081dca4f63577.js → 361.361.5630e82b48461ed47e4c.js} +3 -3
  4. package/dist/{361.927c2d649b8b99aa4233bad6ad253481.js.map → 361.6acf9304b6bfcc0fdf19555ad4de2b0a.js.map} +1 -1
  5. package/dist/{430.430.895d4a0f2c2b123070c7.js → 430.430.6922207ce5ef467a8b86.js} +1 -1
  6. package/dist/{688.688.46fa626b374929ba12e8.js → 688.688.1fd51f5b4682a9358ee8.js} +1 -1
  7. package/dist/{755.755.5224836e6459b5b53e6b.js → 755.755.b76c3087b3de2ccff333.js} +1 -1
  8. package/dist/78.2c6cdb723dee6edcb0eab868c95b8b48.js.map +1 -0
  9. package/dist/{583.583.95b5fe1ee54bf188e2ff.js → 78.78.a6d3e3aa17f12e85214d.js} +107 -105
  10. package/dist/{designSystemConfigurator.415eb35a7e36d59abf6ebb68df9cc5e6.js.map → designSystemConfigurator.1e1a88f6ac273acf62e8e02e9a01bd7d.js.map} +1 -1
  11. package/dist/index.html +1 -1
  12. package/dist/info.html +4 -4
  13. package/dist/{main.de3f85fc9d2fff1463dc.js → main.49c8831b86116c885383.js} +2 -2
  14. package/dist/{main.3f29636b5256755081f2924d172cf22e.js.map → main.e9445f9b2de622c3cea5e45cbd3cc869.js.map} +1 -1
  15. package/dist/{npm.rxjs.271.5411aa73a5ed9dad071b.js → npm.rxjs.271.16fac1bbb80ee7669871.js} +1 -1
  16. package/dist/remoteEntry.js +2 -2
  17. package/package.json +7 -7
  18. package/dist/583.35df5c608741a2d7e2d8cdbdeb1014b9.js.map +0 -1
  19. package/dist/82.4bee7af9b7c7721abbda1fd854b6ea45.js.map +0 -1
  20. /package/dist/{82.82.27a16162e453fe9f48f8.js.LICENSE.txt → 170.170.67d51b5fcb0e3754774f.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([[583],{13583:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Xn,ColorToken:()=>rl,ColorTokens:()=>ll,DesignSystemEditor:()=>Bn,DesignSystemExport:()=>Jn,DesignSystemPreview:()=>ul,EventName:()=>Fn,PreviewComponents:()=>Qn,PreviewForm:()=>yl,PreviewGrid:()=>kl,TypographyTokens:()=>sl,defaultBodyFont:()=>Nn,fontFamilies:()=>On});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(43771),n=r(92592),l=r(62646),g=r(80175),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([[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(50376),n=r(92592),l=r(62646),g=r(78376),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;
@@ -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(95699);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,O),mapper:d.xq9};var $=r(9387);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
@@ -1165,15 +1165,17 @@
1165
1165
  background-color: ${p.neutralFillHover};
1166
1166
  border-radius: 3px;
1167
1167
  }
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 $.Icon{}const gt=$.defaultIconConfig,dt=$.foundationIconShadowOptions,st=lt.compose(Object.assign({baseName:"icon",template:$.foundationIconTemplate,styles:(e,a)=>s.css`
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`
1169
+ ${(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`
1169
1171
  ${(0,$.foundationIconStyles)(e,a)}
1170
- `,shadowOptions:dt},gt));class ct extends $.Listbox{}const pt=ct.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,$.foundationListboxTemplate)(e,a),styles:(e,a)=>s.css`
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`
1171
1173
  ${(0,$.foundationListboxStyles)(e,a)}
1172
1174
 
1173
1175
  :host {
1174
1176
  background: #1f2126;
1175
1177
  }
1176
- `,shadowOptions:$.foundationListboxShadowOptions},$.defaultListboxConfig));class ut extends $.ListboxOption{}const ht=ut.compose(Object.assign({baseName:"option",template:(e,a)=>(0,$.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>s.css`
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`
1177
1179
  ${(0,$.foundationListboxOptionStyles)(e,a)}
1178
1180
  :host {
1179
1181
  background-color: ${ie.darkGrey};
@@ -1190,22 +1192,22 @@
1190
1192
  background-color: ${ie.darkerGrey};
1191
1193
  color: ${ne.blue};
1192
1194
  }
1193
- `,shadowOptions:$.foundationListboxOptionShadowOptions},$.defaultListboxOptionConfig)),mt=$.foundationMenuShadowOptions;class vt extends $.Menu{}const bt=vt.compose({baseName:"menu",template:$.foundationMenuTemplate,styles:(e,a)=>s.css`
1195
+ `,shadowOptions:$.foundationListboxOptionShadowOptions},$.defaultListboxOptionConfig)),bt=$.foundationMenuShadowOptions;class ft extends $.Menu{}const wt=ft.compose({baseName:"menu",template:$.foundationMenuTemplate,styles:(e,a)=>s.css`
1194
1196
  ${(0,$.foundationMenuStyles)(e,a)}
1195
1197
 
1196
1198
  :host {
1197
1199
  padding: 0;
1198
1200
  }
1199
- `,shadowOptions:mt}),ft=$.foundationMenuItemShadowOptions;class wt extends $.MenuItem{}const yt=wt.compose(Object.assign({baseName:"menu-item",template:$.foundationMenuItemTemplate,styles:(e,a)=>s.css`
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`
1200
1202
  ${(0,$.foundationMenuItemStyles)(e,a)}
1201
1203
 
1202
1204
  :host {
1203
1205
  background: none;
1204
1206
  margin: 0;
1205
1207
  }
1206
- `,shadowOptions:ft},$.defaultMenuItemConfig)),xt=s.css`
1208
+ `,shadowOptions:yt},$.defaultMenuItemConfig)),kt=s.css`
1207
1209
  ${ir}
1208
- `,zt=$.defaultModalConfig,kt=$.foundationModalTemplate,St=$.foundationModalShadowOptions;class Ct extends $.Modal{}const At=Ct.compose(Object.assign({baseName:"modal",shadowOptions:St,styles:xt,template:kt},zt)),Tt=s.css`
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`
1209
1211
  ${$.multiselectStyles}
1210
1212
 
1211
1213
  :host {
@@ -1261,9 +1263,9 @@
1261
1263
  .label {
1262
1264
  color: ${Ra};
1263
1265
  }
1264
- `,Dt=s.html`
1266
+ `,Ft=s.html`
1265
1267
  ${(0,$.getPrefixedMultiselect)("zero")}
1266
- `;class Lt extends $.Multiselect{}const Ft=$.defaultMultiselectConfig,Mt=$.foundationMultiselectShadowOptions,Ot=Lt.compose(Object.assign({baseName:"multiselect",template:Dt,styles:Tt,shadowOptions:Mt},Ft));class Nt extends $.NotificationListener{}const $t=Nt.compose({baseName:"notification-listener",template:$.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Rt=(e,a)=>s.css`
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`
1267
1269
  ${(0,$.foundationTextFieldStyles)(e,a)}
1268
1270
  :host {
1269
1271
  --primary-gradient-angle: -113.5deg;
@@ -1311,12 +1313,12 @@
1311
1313
  color: ${Ra};
1312
1314
  margin: calc(var(--design-unit) * 2px) 0;
1313
1315
  }
1314
- `;class jt extends $.NumberField{}const It=$.defaultNumberFieldConfig,Et=$.foundationNumberFieldTemplate,Pt=$.foundationNumberFieldShadowOptions,Ut=jt.compose(Object.assign({baseName:"number-field",template:Et,styles:(e,a)=>s.css`
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`
1315
1317
  :host .root {
1316
1318
  --focus-stroke-outer: transparent;
1317
1319
  }
1318
- ${Rt(e,a)}
1319
- `,shadowOptions:Pt},It));class Bt extends $.Progress{}const Gt=Bt.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,$.foundationProgressTemplate)(e,a),styles:(e,a)=>s.css`
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`
1320
1322
  ${(0,$.foundationProgressStyles)(e,a)}
1321
1323
  :host([appearance="secondary-teal"]) {
1322
1324
  --accent-foreground-rest: ${le.teal};
@@ -1325,7 +1327,7 @@
1325
1327
  :host([appearance='secondary-orange']) {
1326
1328
  --accent-foreground-rest: ${le.orange};
1327
1329
  }
1328
- `,shadowOptions:$.foundationProgressShadowOptions},$.defaultProgressConfig));class Ht extends $.ProgressRing{}const _t={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 `},Vt=Ht.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>s.html`
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`
1329
1331
  <template
1330
1332
  role="progressbar"
1331
1333
  aria-valuenow="${e=>e.value}"
@@ -1363,7 +1365,7 @@
1363
1365
  .indeterminate-indicator-1, .determinate {
1364
1366
  stroke: ${"url(#linear)"};
1365
1367
  }
1366
- `,shadowOptions:$.foundationProgressRingShadowOptions},_t));class Yt extends $.Radio{}const Qt=Yt.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,$.foundationRadioTemplate)(e,a),styles:(e,a)=>s.css`
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`
1367
1369
  ${(0,$.foundationRadioStyles)(e,a)}
1368
1370
  :host {
1369
1371
  --primary-gradient-angle: -113.5deg;
@@ -1395,12 +1397,12 @@
1395
1397
  ${ne.purple}
1396
1398
  );
1397
1399
  }
1398
- `,shadowOptions:$.foundationRadioShadowOptions},$.defaultRadioConfig));class qt extends $.RadioGroup{}const Wt=qt.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,$.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>s.css`
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`
1399
1401
  ${(0,$.foundationRadioGroupStyles)(e,a)}
1400
1402
  :host([appearance="accent"]) {
1401
1403
  background: green;
1402
1404
  }
1403
- `,shadowOptions:$.foundationRadioGroupShadowOptions},$.defaultRadioGroupConfig));class Jt extends $.SegmentedControl{}const Zt=Jt.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,$.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>s.css`
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`
1404
1406
  ${(0,$.foundationSegmentedControlStyles)(e,a)}
1405
1407
  :host {
1406
1408
  --primary-gradient-angle: -113.5deg;
@@ -1439,7 +1441,7 @@
1439
1441
  border-color: transparent;
1440
1442
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
1441
1443
  }
1442
- `,shadowOptions:undefined},{}));class Kt extends $.Radio{}const Xt=Kt.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,$.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>s.css`
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`
1443
1445
  ${(0,$.foundationSegmentedItemStyles)(e,a)}
1444
1446
  :host {
1445
1447
  color: var(--neutral-stroke-rest);
@@ -1449,7 +1451,7 @@
1449
1451
  :host([aria-checked='true']) {
1450
1452
  color: ${ie.white};
1451
1453
  }
1452
- `,shadowOptions:undefined},{}));class eo extends $.Select{}const ao=eo.compose(Object.assign({baseName:"select",template:(e,a)=>(0,$.foundationSelectTemplate)(e,a),styles:(e,a)=>s.css`
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`
1453
1455
  ${(0,$.foundationSelectStyles)(e,a)}
1454
1456
  :host {
1455
1457
  --primary-gradient-angle: -113.5deg;
@@ -1499,9 +1501,9 @@
1499
1501
  :host(:not([disabled])) .control:active {
1500
1502
  background: none;
1501
1503
  }
1502
- `,shadowOptions:$.foundationSelectShadowOptions},$.defaultSelectConfig));class ro extends $.Skeleton{}const to=ro.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,$.foundationSkeletonTemplate)(e,a),styles:(e,a)=>s.css`
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`
1503
1505
  ${(0,$.foundationSkeletonStyles)(e,a)}
1504
- `,shadowOptions:$.foundationSkeletonShadowOptions},$.defaultSkeletonConfig));class oo extends $.Slider{}const io=oo.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,$.foundationSliderTemplate)(e,a),styles:(e,a)=>s.css`
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`
1505
1507
  ${(0,$.foundationSliderStyles)(e,a)}
1506
1508
  :host {
1507
1509
  --primary-gradient-angle: -113.5deg;
@@ -1558,7 +1560,7 @@
1558
1560
  .track-progress {
1559
1561
  background-color: var(--neutral-stroke-rest);
1560
1562
  }
1561
- `,shadowOptions:$.foundationSliderShadowOptions},$.defaultSliderConfig)),no=s.css`
1563
+ `,shadowOptions:$.foundationSliderShadowOptions},$.defaultSliderConfig)),go=s.css`
1562
1564
  ${$.foundationSnackbarStyles}
1563
1565
  .snackbar {
1564
1566
  border: calc(var(--stroke-width) * 1px) solid ${p.neutralLayer2};
@@ -1568,7 +1570,7 @@
1568
1570
  :host([type='error']) .snackbar::after {
1569
1571
  background-color: ${We(1)};
1570
1572
  }
1571
- `,lo=s.html`
1573
+ `,so=s.html`
1572
1574
  <div class="snackbar ${e=>e.deleteAnimation}" ${(0,s.ref)("snackbar")}>
1573
1575
  <div part="content" class="content">
1574
1576
  <div>${e=>{var a;return(null===(a=e.error)||void 0===a?void 0:a.errorDetails)||"Place holder for error message"}}</div>
@@ -1585,7 +1587,7 @@
1585
1587
  `)}
1586
1588
  </div>
1587
1589
  </div>
1588
- `,go=$.foundationSnackbarShadowOptions;class so extends $.Snackbar{}const co=so.compose({baseName:"snackbar",shadowOptions:go,styles:no,template:lo});class po extends $.Switch{}const uo=po.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,$.foundationSwitchTemplate)(e,a),styles:(e,a)=>s.css`
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`
1589
1591
  ${(0,$.foundationSwitchStyles)(e,a)}
1590
1592
  :host {
1591
1593
  --primary-gradient-angle: -113.5deg;
@@ -1630,7 +1632,7 @@
1630
1632
  ${ne.purple}
1631
1633
  );
1632
1634
  }
1633
- `,shadowOptions:$.foundationSwitchShadowOptions},$.defaultSwitchConfig));class ho extends $.Tab{}const mo=ho.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,$.foundationTabTemplate)(e,a),styles:(e,a)=>s.css`
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`
1634
1636
  ${(0,$.foundationTabStyles)(e,a)}
1635
1637
  :host {
1636
1638
  background-color: ${p.neutralLayer2};
@@ -1654,12 +1656,12 @@
1654
1656
  margin-right: 0;
1655
1657
  background-color: var(--zero-card-fill-color);
1656
1658
  }
1657
- `,shadowOptions:$.foundationTabShadowOptions},$.defaultTabConfig));class vo extends $.TabPanel{}const bo=vo.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,$.foundationTabPanelTemplate)(e,a),styles:(e,a)=>s.css`
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`
1658
1660
  ${(0,$.foundationTabPanelStyles)(e,a)}
1659
1661
  :host {
1660
1662
  padding: 0;
1661
1663
  }
1662
- `,shadowOptions:$.foundationTabPanelShadowOptions},$.defaultTabPanelConfig));class fo extends $.Tabs{}const wo=fo.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,$.foundationTabsTemplate)(e,a),styles:(e,a)=>s.css`
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`
1663
1665
  ${(0,$.foundationTabsStyles)(e,a)}
1664
1666
  :host .tablist {
1665
1667
  padding: 0;
@@ -1705,7 +1707,7 @@
1705
1707
  height: 2px;
1706
1708
  margin-top: 0;
1707
1709
  }
1708
- `,shadowOptions:$.foundationTabsShadowOptions},$.defaultTabsConfig));class yo extends $.TextArea{}const xo=yo.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,$.foundationTextAreaTemplate)(e,a),styles:(e,a)=>s.css`
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`
1709
1711
  ${(0,$.foundationTextAreaStyles)(e,a)}
1710
1712
  :host {
1711
1713
  --primary-gradient-angle: -113.5deg;
@@ -1750,7 +1752,7 @@
1750
1752
  color: ${Ra};
1751
1753
  margin: calc(var(--design-unit) * 2px) 0;
1752
1754
  }
1753
- `,shadowOptions:$.foundationTextAreaShadowOptions},$.defaultTextAreaConfig));class zo extends $.TextField{}const ko=zo.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,$.foundationTextFieldTemplate)(e,a),styles:Rt,shadowOptions:$.foundationTextFieldShadowOptions},$.defaultTextFieldConfig)),So=s.css`
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`
1754
1756
  ${$.foundationToastStyles}
1755
1757
  .toast {
1756
1758
  border: calc(var(--stroke-width) * 1px) solid ${p.neutralLayer3};
@@ -1776,11 +1778,11 @@
1776
1778
  :host([notify='serious']) .toast::after {
1777
1779
  background-color: ${_e(1)};
1778
1780
  }
1779
- `,Co=$.defaultToastConfig,Ao=$.foundationToastShadowOptions;class To extends $.Toast{}const Do=To.compose(Object.assign({baseName:"toast",shadowOptions:Ao,styles:So,template:$.foundationToastTemplate},Co));class Lo extends $.Toolbar{}const Fo=Lo.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,$.foundationToolbarTemplate)(e,a),styles:(e,a)=>s.css`
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`
1780
1782
  ${(0,$.foundationToolbarStyles)(e,a)}
1781
- `,shadowOptions:$.foundationToolbarShadowOptions},$.defaultToolbarConfig));class Mo extends $.Tooltip{}const Oo=Mo.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,$.foundationTooltipTemplate)(e,a),styles:(e,a)=>s.css`
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`
1782
1784
  ${(0,$.foundationTooltipStyles)(e,a)}
1783
- `,shadowOptions:$.foundationTooltipShadowOptions},$.defaultTooltipConfig));class No extends $.TreeItem{}const $o=No.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,$.foundationTreeItemTemplate)(e,a),styles:(e,a)=>s.css`
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`
1784
1786
  ${(0,$.foundationTreeItemStyles)(e,a)}
1785
1787
  :host {
1786
1788
  --primary-gradient-angle: -113.5deg;
@@ -1808,9 +1810,9 @@
1808
1810
  background-size: cover;
1809
1811
  background-repeat: no-repeat;
1810
1812
  }
1811
- `,shadowOptions:$.foundationTreeItemShadowOptions},$.defaultTreeItemConfig));class Ro extends $.TreeView{}const jo=Ro.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,$.foundationTreeViewTemplate)(e,a),styles:(e,a)=>s.css`
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`
1812
1814
  ${(0,$.foundationTreeViewStyles)(e,a)}
1813
- `,shadowOptions:$.foundationTreeViewShadowOptions},$.defaultTreeViewConfig)),Io=s.html`
1815
+ `,shadowOptions:$.foundationTreeViewShadowOptions},$.defaultTreeViewConfig)),Po=s.html`
1814
1816
  <div class="container" value=${e=>e.value}>
1815
1817
  <zero-text-field
1816
1818
  class="url-input"
@@ -1826,7 +1828,7 @@
1826
1828
  <a class="url-input-link" href=${e=>e.value} target="_blank">${e=>e.value}</a>
1827
1829
  `)}
1828
1830
  </div>
1829
- `;class Eo 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],Eo.prototype,"value",void 0),(0,Za.__decorate)([s.observable],Eo.prototype,"focused",void 0);const Po={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:$t,zeroErrorBanner:yr,zeroErrorDialog:Sr,zeroFileUpload:Fr,zeroFilter:Br,zeroFilterBar:Qr,zeroFlexLayout:Wr,zeroFlipper:Zr,zeroFlyout:rt,zeroGridLayout:ot,zeroGridLayoutItem:nt,zeroIcon:st,zeroListbox:pt,zeroListboxOption:ht,zeroMenu:bt,zeroMenuItem:yt,zeroModal:At,zeroMultiselect:Ot,zeroNumberField:Ut,zeroProgress:Gt,zeroProgressRing:Vt,zeroRadio:Qt,zeroRadioGroup:Wt,zeroSegmentedControl:Zt,zeroSegmentedItem:Xt,zeroSelect:ao,zeroSkeleton:to,zeroSlider:io,zeroSnackbar:co,zeroSwitch:uo,zeroTab:mo,zeroTabPanel:bo,zeroTabs:wo,zeroTextArea:xo,zeroTextField:ko,zeroToast:Do,zeroToolbar:Fo,zeroTooltip:Oo,zeroTreeItem:$o,zeroTreeView:jo,zeroUrlInput:Eo.compose(Object.assign({baseName:"url-input",template:Io,styles:(e,a)=>s.css`
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`
1830
1832
  ${(0,$.foundationUrlInputStyles)(e,a)}
1831
1833
  a {
1832
1834
  color: ${ne.blue};
@@ -1836,7 +1838,7 @@
1836
1838
  a:hover {
1837
1839
  opacity: 100%;
1838
1840
  }
1839
- `,shadowOptions:$.foundationUrlInputShadowOptions},$.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Uo=r(80249);const Bo=(0,g.createLogger)("grid-pro");class Go 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){Bo.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Uo.__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,Uo.__decorate)([s.observable],Go.prototype,"params",void 0),(0,Uo.__decorate)([s.observable],Go.prototype,"pendingAction",void 0);const{create:Ho}=c.DesignToken,_o=(Ho("action-height-multiplier").withDefault("0.6px"),s.css`
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`
1840
1842
  .action-container {
1841
1843
  align-items: center;
1842
1844
  display: flex;
@@ -1851,8 +1853,8 @@
1851
1853
  var(--action-height-multiplier)
1852
1854
  );
1853
1855
  }
1854
- `),Vo=Go.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1855
- ${_o}
1856
+ `),Qo=_o.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1857
+ ${Yo}
1856
1858
  `,template:s.html`
1857
1859
  <div class="action-container" part="action-container">
1858
1860
  <foundation-button
@@ -1862,8 +1864,8 @@
1862
1864
  ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
1863
1865
  appearance="${e=>e.params.appearance}"
1864
1866
  @click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
1865
- </div>`});class Yo extends Go{}const Qo=Yo.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1866
- ${_o}
1867
+ </div>`});class qo extends _o{}const Wo=qo.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1868
+ ${Yo}
1867
1869
  `,template:s.html`
1868
1870
  <div class="action-container" part="action-container">
1869
1871
  <zero-button
@@ -1879,29 +1881,29 @@
1879
1881
  `:e.params.actionName}
1880
1882
  </zero-button>
1881
1883
  </div>
1882
- `});class qo extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Uo.__decorate)([s.observable],qo.prototype,"params",void 0);const Wo=qo.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
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`
1883
1885
  <foundation-actions-menu
1884
1886
  name="${e=>e.params.headerName}"
1885
1887
  :definition=${e=>e.params}
1886
1888
  ></foundation-actions-menu>
1887
- `});class Jo extends qo{}const Zo=Jo.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1889
+ `});class Ko extends Jo{}const Xo=Ko.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1888
1890
  <zero-actions-menu
1889
1891
  name="${e=>e.params.headerName}"
1890
1892
  :definition=${e=>e.params}
1891
1893
  ></zero-actions-menu>
1892
- `});class Ko extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Uo.__decorate)([s.observable],Ko.prototype,"params",void 0);const Xo=s.css`
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`
1893
1895
  :host {
1894
1896
  align-center: center;
1895
1897
  display: flex;
1896
1898
  height: 100%;
1897
1899
  }
1898
- `,ei=(e="foundation")=>{const a=`${e}-checkbox`;return s.html`
1900
+ `,ri=(e="foundation")=>{const a=`${e}-checkbox`;return s.html`
1899
1901
  <${a}
1900
1902
  @change="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.changeHandler(e.params)}}"
1901
1903
  checked="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.value}}"
1902
1904
  readonly="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.readonly}}"
1903
1905
  ></${a}>
1904
- `},ai=Ko.compose({baseName:"boolean-renderer",styles:Xo,template:ei()});class ri extends Ko{}const ti=ri.compose({baseName:"boolean-renderer",styles:Xo,template:ei("zero")}),oi=(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 ii 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?oi(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,Uo.__decorate)([s.observable],ii.prototype,"textValue",void 0),(0,Uo.__decorate)([s.observable],ii.prototype,"params",void 0);const ni=s.css`
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`
1905
1907
  :host {
1906
1908
  display: flex;
1907
1909
  width: 100%;
@@ -1911,7 +1913,7 @@
1911
1913
  .text-renderer {
1912
1914
  width: 100%;
1913
1915
  }
1914
- `,li=(e="foundation")=>{const a=`${e}-text-field`;return s.html`
1916
+ `,di=(e="foundation")=>{const a=`${e}-text-field`;return s.html`
1915
1917
  <${a}
1916
1918
  ${(0,s.ref)("textField")}
1917
1919
  type="text"
@@ -1919,7 +1921,7 @@
1919
1921
  :value="${(0,g.sync)((e=>e.textValue))}"
1920
1922
  @change="${(e,a)=>e.textChanged(a.event)}"
1921
1923
  ></${a}>
1922
- `},gi=ii.compose({baseName:"grid-pro-text-renderer",styles:ni,template:li()});class di extends ii{}const si=ni,ci=li,pi=di.compose({baseName:"grid-text-renderer",styles:si,template:ci()});const ui=class extends di{}.compose({baseName:"grid-text-renderer",styles:si,template:ci("zero")});class hi 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=oi(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Uo.__decorate)([s.observable],hi.prototype,"params",void 0),(0,Uo.__decorate)([s.observable],hi.prototype,"value",void 0);const mi=s.css`
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`
1923
1925
  :host,
1924
1926
  .select-renderer,
1925
1927
  zero-option,
@@ -1928,7 +1930,7 @@
1928
1930
  max-width: var(--select-renderer-max-width);
1929
1931
  min-width: 100%;
1930
1932
  }
1931
- `,vi=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return s.html`
1933
+ `,fi=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return s.html`
1932
1934
  <${a}
1933
1935
  class="select-renderer"
1934
1936
  @change=${(e,a)=>e.selectionChanged(a.event)}
@@ -1944,19 +1946,19 @@
1944
1946
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
1945
1947
  `)}
1946
1948
  </${a}>
1947
- `},bi=hi.compose({baseName:"select-renderer",styles:mi,template:vi()});const fi=class extends hi{}.compose({baseName:"select-renderer",styles:mi,template:vi("zero")});var wi=r(89861),yi=r(59783),xi=r(86534),zi=r(75527);const ki=s.html`
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`
1948
1950
  <template>
1949
1951
  <slot ${(0,s.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
1950
1952
  </template>
1951
- `;let Si=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,Uo.__decorate)([s.observable],Si.prototype,"renderer",void 0),(0,Uo.__decorate)([s.observable],Si.prototype,"rendererParams",void 0),(0,Uo.__decorate)([s.observable],Si.prototype,"slottedRenderer",void 0),Si=(0,Uo.__decorate)([(0,s.customElement)({name:"grid-pro-cell",template:ki})],Si);const Ci=s.html`
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`
1952
1954
  <template>
1953
1955
  <slot ${(0,s.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
1954
1956
  </template>
1955
- `;let Ai=class extends c.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};var Ti,Di;(0,Uo.__decorate)([s.observable],Ai.prototype,"slottedAgCell",void 0),(0,Uo.__decorate)([s.observable],Ai.prototype,"definition",void 0),Ai=(0,Uo.__decorate)([(0,s.customElement)({name:"grid-pro-column",template:Ci})],Ai),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"}(Ti||(Ti={})),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"}(Di||(Di={}));const Li=e=>`${e}-token-map`,Fi=(e,a)=>s.css`
1956
- .${Li(e)} {
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)} {
1957
1959
  ${new $.CSSVarsTokenMapper(a)}
1958
1960
  }
1959
- `;var Mi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.text="text",e.select="select"}(Mi||(Mi={}));const Oi='\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/+fnUtsboq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26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ni='\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+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImH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SNkSfIBTwhNvCluj3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',$i={[Di.alpine]:Oi,[Di.alpineDark]:Oi,[Di.balham]:Ni,[Di.balhamDark]:Ni,[Di.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbA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iJ5Hy6isjNAuIMrBajAztCPqTpoGXVdGhPRfgO5R+pfnnArLxH9MGJgaACk2fXtioS/s0VOdhi3FfruLh0Rws4hf8ALfEC3Jb3n184cYrKS/MPVNBMq9DYCjp9X6Z9e0oKFsiISE7KsURfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Ri=Oi;var ji=r(82940),Ii=r(32449),Ei=r(9162),Pi=r(5127),Ui=r(83123),Bi=r(43752),Gi=r(26714),Hi=r(71452),_i=r(99449),Vi=r(30526);function Yi(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Qi({value:e}){return(0,g.formatDateTimestamp)(e)}function qi({value:e}){return(0,g.formatDateTimeTimestamp)(e)}let Wi=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=ji.WJ.MAX_ROWS_250,this.maxView=ji.WJ.MAX_VIEW_1000,this.pollingInterval=ji.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 Gi.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Ii.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?ji.WJ.REQUEST_SERVER_ROW_ID:ji.WJ.DATASERVER_ROW_ID}init(){return(0,Uo.__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===ji._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,Uo.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Hi.T)(1),(0,_i.b)(r),(0,Vi.b)((e=>Bo.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Bo.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 Gi.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,Uo.__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,Uo.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Bo.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 Bo.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===Ei.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Pi.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Pi.$)(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 Bo.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 Ui.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Mi.boolean);break;case Ui.r.DATE:r.valueFormatter=Qi;break;case Ui.r.DATETIME:r.valueFormatter=qi}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,Ii.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,Uo.__decorate)([l.lj],Wi.prototype,"connect",void 0),(0,Uo.__decorate)([Bi.Yh],Wi.prototype,"datasource",void 0),(0,Uo.__decorate)([s.observable],Wi.prototype,"deferredGridOptions",void 0),(0,Uo.__decorate)([s.attr],Wi.prototype,"criteria",void 0),(0,Uo.__decorate)([s.attr],Wi.prototype,"fields",void 0),(0,Uo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],Wi.prototype,"isSnapshot",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"max-rows"})],Wi.prototype,"maxRows",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"max-view"})],Wi.prototype,"maxView",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"polling-interval"})],Wi.prototype,"pollingInterval",void 0),(0,Uo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"moving-view"})],Wi.prototype,"movingView",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"order-by"})],Wi.prototype,"orderBy",void 0),(0,Uo.__decorate)([s.observable],Wi.prototype,"request",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"resource-name"})],Wi.prototype,"resourceName",void 0),(0,Uo.__decorate)([(0,s.attr)({mode:"boolean"})],Wi.prototype,"reverse",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"row-id"})],Wi.prototype,"rowIdAttr",void 0),(0,Uo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Wi.prototype,"restartOnReconnection",void 0),(0,Uo.__decorate)([s.observable],Wi.prototype,"rowDataMapper",void 0),Wi=(0,Uo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource"})],Wi);var Ji=r(66306),Zi=r(47546);class Ki{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,Uo.__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,Zi.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===Ei.Cs.LOGOFF_ACK||o===Ei.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,a.ROW){const e=(0,Pi.$)(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=>Bo.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,Uo.__decorate)([l.lj],Ki.prototype,"connect",void 0);let Xi=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=ji.WJ.MAX_ROWS_250,this.maxView=ji.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,Ii.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,Uo.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Bo.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Ji.C)(e);const a=(0,Ji.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new Ki({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});Bo.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));Bo.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 Bo.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,Uo.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Bo.debug(e)),(e=>Bo.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 Ui.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Mi.boolean);break;case Ui.r.DATE:r.valueFormatter=Qi;break;case Ui.r.DATETIME:r.valueFormatter=qi}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:Yi(e.type),filter:(e.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(a)}};(0,Uo.__decorate)([l.lj],Xi.prototype,"connect",void 0),(0,Uo.__decorate)([s.attr],Xi.prototype,"criteria",void 0),(0,Uo.__decorate)([s.attr],Xi.prototype,"fields",void 0),(0,Uo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],Xi.prototype,"isSnapshot",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"max-rows"})],Xi.prototype,"maxRows",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"max-view"})],Xi.prototype,"maxView",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"moving-view"})],Xi.prototype,"movingView",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"order-by"})],Xi.prototype,"orderBy",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"resource-name"})],Xi.prototype,"resourceName",void 0),(0,Uo.__decorate)([(0,s.attr)({mode:"boolean"})],Xi.prototype,"pagination",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"row-id"})],Xi.prototype,"rowId",void 0),(0,Uo.__decorate)([(0,s.attr)({mode:"boolean"})],Xi.prototype,"reverse",void 0),Xi=(0,Uo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource-next"})],Xi);const en=s.css`
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/Z2hfQ8dNS65LeVddel9vIEBkLL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syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/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+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0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nOEIWYAiOBM19wg2rAALFxAASYMHZFUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',ji={[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+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChez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YTNGkgep5wLxqTcmEdDTRwOxmqQkSDiU2nYslVDeiYiJ5Hy6isjNAuIMrBajAztCPqTpoGXVdGhPRfgO5R+pfnnArLxH9MGJgaACk2fXtioS/s0VOdhi3FfruLh0Rws4hf8ALfEC3Jb3n184cYrKS/MPVNBMq9DYCjp9X6Z9e0oKFsiISE7KsURfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},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`
1960
1962
  .ag-icon {
1961
1963
  font-family: var(--ag-icon-font-family);
1962
1964
  font-size: var(--ag-icon-size);
@@ -9133,7 +9135,7 @@
9133
9135
  input[class^='ag-'][type='range']:disabled {
9134
9136
  opacity: 0.5;
9135
9137
  }
9136
- `,an=s.css`
9138
+ `,tn=s.css`
9137
9139
  .ag-dnd-ghost {
9138
9140
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9139
9141
  border: solid 1px;
@@ -9150,7 +9152,7 @@
9150
9152
  overflow: hidden;
9151
9153
  text-overflow: ellipsis;
9152
9154
  }
9153
- `,rn=s.css`
9155
+ `,on=s.css`
9154
9156
  .ag-theme-alpine,
9155
9157
  .ag-theme-alpine-dark {
9156
9158
  --ag-alpine-active-color: #2196f3;
@@ -9600,7 +9602,7 @@
9600
9602
  .ag-theme-alpine-dark {
9601
9603
  color-scheme: dark;
9602
9604
  }
9603
- `,tn=s.css`
9605
+ `,nn=s.css`
9604
9606
  .ag-theme-balham,
9605
9607
  .ag-theme-balham-dark {
9606
9608
  --ag-balham-active-color: #0091ea;
@@ -9870,7 +9872,7 @@
9870
9872
  .ag-theme-balham-dark {
9871
9873
  color-scheme: dark;
9872
9874
  }
9873
- `,on=s.css`
9875
+ `,ln=s.css`
9874
9876
  .ag-theme-material {
9875
9877
  --ag-material-primary-color: #3f51b5;
9876
9878
  --ag-material-accent-color: #ff4081;
@@ -10135,14 +10137,14 @@
10135
10137
  .ag-theme-material .ag-picker-field-wrapper:focus {
10136
10138
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10137
10139
  }
10138
- `,nn=s.css`
10139
- ${en}
10140
- ${an}
10140
+ `,gn=s.css`
10141
10141
  ${rn}
10142
10142
  ${tn}
10143
10143
  ${on}
10144
- `,ln=s.css`
10145
10144
  ${nn}
10145
+ ${ln}
10146
+ `,dn=s.css`
10147
+ ${gn}
10146
10148
  :host {
10147
10149
  width: 100%;
10148
10150
  height: 100%;
@@ -10169,14 +10171,14 @@
10169
10171
  .ag-cell-inline-editing {
10170
10172
  height: inherit !important;
10171
10173
  }
10172
- `,gn=s.html`
10174
+ `,sn=s.html`
10173
10175
  <template>
10174
10176
  <span part="grid" class="${e=>e.classNames}">
10175
10177
  <slot name="grid" ${(0,s.ref)("gridSlot")}></slot>
10176
10178
  <slot></slot>
10177
10179
  </span>
10178
10180
  </template>
10179
- `;yi.O3h.registerModules([xi.jM,wi.I]);const dn=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class sn extends((0,g.LifecycleMixin)(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Gr.A)(Li(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.enabledRowFlashing=!1,this.enableCellFlashing=!1,this.gridAutosizingEnabled=!1,this.gridFontFace=Ri,this.columnComponentName="grid-pro-column",this.theme=Di.alpine,this.rehydrationAttempted=!1,this.agAttributes={},this.agPropertiesMap=yi.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[dn(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&(0,g.respondToVisibility)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&yi.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(dn(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={[Mi.action]:Go,[Mi.actionsMenu]:qo,[Mi.boolean]:Ko};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,Uo.__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),yi.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 yi.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}enableFlashingRows(){this.enabledRowFlashing&&this.gridApi.addEventListener(yi.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=yi.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=yi.plv.ALL_PROPERTIES.map((e=>dn(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},yi.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=$i[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,Uo.__decorate)([s.observable],sn.prototype,"columnApi",void 0),(0,Uo.__decorate)([s.observable],sn.prototype,"gridApi",void 0),(0,Uo.__decorate)([zi.z],sn.prototype,"session",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],sn.prototype,"autoCellRendererByType",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],sn.prototype,"onlyTemplateColDefs",void 0),(0,Uo.__decorate)([(0,s.attr)({mode:"boolean"})],sn.prototype,"enabledRowFlashing",void 0),(0,Uo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],sn.prototype,"enableCellFlashing",void 0),(0,Uo.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],sn.prototype,"persistColumnStateKey",void 0),(0,Uo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],sn.prototype,"gridAutosizingEnabled",void 0),(0,Uo.__decorate)([s.observable],sn.prototype,"gridFontFace",void 0),(0,Uo.__decorate)([s.attr],sn.prototype,"columnComponentName",void 0),(0,Uo.__decorate)([s.observable],sn.prototype,"eventsAndCallbacks",void 0),(0,Uo.__decorate)([s.attr],sn.prototype,"headerHeight",void 0),(0,Uo.__decorate)([s.attr],sn.prototype,"rowHeight",void 0),(0,Uo.__decorate)([s.attr],sn.prototype,"theme",void 0),(0,Uo.__decorate)([s.observable],sn.prototype,"classNames",void 0),(0,Uo.__decorate)([s.observable],sn.prototype,"agGrid",void 0),(0,Uo.__decorate)([s.observable],sn.prototype,"gridSlot",void 0),(0,Uo.__decorate)([s.observable],sn.prototype,"gridComponents",void 0);const cn=void 0,pn={shadowOptions:void 0},un=sn.compose(Object.assign({baseName:"grid-pro",styles:ln,template:gn,shadowOptions:cn},pn)),hn={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"))},mn={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:vn}=c.DesignToken,bn={backgroundColor:vn("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?mn.backgroundSwatch:hn.backgroundSwatch)),borderColor:vn("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?mn.borderSwatch:hn.borderSwatch)),foregroundColor:vn("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?mn.foregroundSwatch:hn.foregroundSwatch)),headerForegroundColor:vn("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?mn.headerForegroundSwatch:hn.headerForegroundSwatch)),rowHoverColor:vn("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?mn.rowHoverSwatch:hn.rowHoverSwatch))},fn=s.css`
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`
10180
10182
  .ag-theme-genesis-rapid,
10181
10183
  .ag-theme-genesis-rapid-dark {
10182
10184
  --ag-alpine-active-color: #2196f3;
@@ -10636,50 +10638,50 @@
10636
10638
  .ag-theme-genesis-rapid-dark {
10637
10639
  color-scheme: dark;
10638
10640
  }
10639
- `,wn={[Ti.backgroundColor]:bn.backgroundColor,[Ti.foregroundColor]:bn.foregroundColor,[Ti.oddRowBackgroundColor]:bn.backgroundColor,[Ti.headerBackgroundColor]:bn.backgroundColor,[Ti.headerForegroundColor]:bn.headerForegroundColor,[Ti.selectedRowBackgroundColor]:bn.rowHoverColor,[Ti.rowHoverColor]:bn.rowHoverColor,[Ti.borderColor]:bn.borderColor,[Ti.rowBorderColor]:bn.rowHoverColor,[Ti.modalOverlayBackgroundColor]:bn.backgroundColor,[Ti.inputFocusBoxShadow]:bn.headerForegroundColor,[Ti.inputFocusBorderColor]:bn.headerForegroundColor,[Ti.headerColumnResizeHandleColor]:bn.headerForegroundColor},yn="ag-theme-genesis-rapid",xn=s.css`
10640
- ${fn}
10641
- ${Fi(yn,wn)}
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)}
10642
10644
 
10643
- .${yn} {
10645
+ .${zn} {
10644
10646
  ${ye()}
10645
10647
  }
10646
10648
 
10647
- .${yn} .ag-header {
10649
+ .${zn} .ag-header {
10648
10650
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10649
10651
  font-weight: bold;
10650
10652
  }
10651
10653
 
10652
- .${yn} .ag-root-wrapper {
10654
+ .${zn} .ag-root-wrapper {
10653
10655
  border-radius: calc(var(--control-corner-radius) * 1px);
10654
10656
  }
10655
- `,zn="ag-theme-genesis-rapid-dark",kn=s.css`
10656
- ${fn}
10657
- ${Fi(zn,wn)}
10657
+ `,Sn="ag-theme-genesis-rapid-dark",Cn=s.css`
10658
+ ${yn}
10659
+ ${Oi(Sn,xn)}
10658
10660
 
10659
- .${zn} {
10661
+ .${Sn} {
10660
10662
  ${ye()}
10661
10663
  }
10662
10664
 
10663
- .${zn} .ag-header {
10665
+ .${Sn} .ag-header {
10664
10666
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10665
10667
  font-weight: bold;
10666
10668
  }
10667
10669
 
10668
- .${zn} .ag-cell {
10670
+ .${Sn} .ag-cell {
10669
10671
  line-height: var(--ag-line-height, 32px);
10670
10672
  }
10671
10673
 
10672
- .${zn} .ag-root-wrapper {
10674
+ .${Sn} .ag-root-wrapper {
10673
10675
  border-radius: calc(var(--control-corner-radius) * 1px);
10674
10676
  }
10675
- `,Sn=s.css`
10677
+ `,An=s.css`
10676
10678
  /* All the AG themes */
10677
- ${ln}
10679
+ ${dn}
10678
10680
 
10679
10681
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
10680
- ${xn}
10681
10682
  ${kn}
10682
- `,Cn=gn,An="ag-theme-genesis-rapid-dark";const Tn=pn,Dn={zeroAgActionRenderer:Qo,zeroAgActionsMenuRenderer:Zo,zeroAgBooleanRenderer:ti,zeroAgTextRenderer:ui,zeroAgSelectRenderer:fi,zeroGridPro:class extends sn{constructor(){super(...arguments),this.theme=An}themeChanged(e,a){(e||a===An)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Mi.action]:Yo,[Mi.actionsMenu]:Jo,[Mi.boolean]:ri};(this.theme===yn||this.theme===zn)&&(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:Cn,styles:Sn,shadowOptions:undefined},Tn)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Ln={foundationGridProActionRenderer:Vo,foundationGridProActionsMenuRenderer:Wo,foundationAgBooleanRenderer:ai,foundationAgTextRenderer:pi,foundationAgTextFieldRenderer:gi,foundationAgSelectRenderer:bi,foundationGridPro:un,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Fn,Mn=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Fn||(Fn={}));const On={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'},Nn=On["Segoe UI"],$n=s.css`
10683
+ ${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`
10683
10685
  ${(0,c.display)("block")} :host {
10684
10686
  width: 100%;
10685
10687
  display: inline-flex;
@@ -10811,7 +10813,7 @@
10811
10813
  alpha-button {
10812
10814
  margin: 0;
10813
10815
  }
10814
- `,Rn=s.html`
10816
+ `,In=s.html`
10815
10817
  <template>
10816
10818
  <div class="configuration">
10817
10819
  <div class="row" id="designSystem">
@@ -11025,7 +11027,7 @@
11025
11027
  <slot></slot>
11026
11028
  </div>
11027
11029
  </template>
11028
- `,jn=({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(On).find((a=>On[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),In=jn(Se),En={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},Pn=jn(i.designTokens),Un={zero:{prefix:"zero",tokenDefaults:In,buttons:En},alpha:{prefix:"alpha",tokenDefaults:Pn,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:En}};let Bn=class extends s.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=In.luminance===p.StandardLuminance.DarkMode,this.luminance=In.luminance,this.neutralColor=In.neutralColor,this.accentColor=In.accentColor,this.bodyFont=In.bodyFont,this.density=In.density,this.borderRadius=In.borderRadius,this.strokeWidth=In.strokeWidth,this.designUnit=In.designUnit,this.baseFontSize=In.baseFontSize,this.baseLineHeight=In.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=jn(a);Un.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Mn.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Un[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Mn.__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:Un[this.ds].prefix,buttonAppearanceAccent:Un[this.ds].buttons.accent,buttonAppearanceNeutral:Un[this.ds].buttons.neutral,buttonAppearanceOutline:Un[this.ds].buttons.outline};this.$emit(Fn.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Un[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:On[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(Fn.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(Fn.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Mn.__decorate)([(0,s.attr)({mode:"boolean",attribute:"custom-design-mode"})],Bn.prototype,"customDesignMode",void 0),(0,Mn.__decorate)([s.observable],Bn.prototype,"designSystems",void 0),(0,Mn.__decorate)([s.observable],Bn.prototype,"ds",void 0),(0,Mn.__decorate)([s.attr],Bn.prototype,"darkMode",void 0),(0,Mn.__decorate)([s.observable],Bn.prototype,"neutralColor",void 0),(0,Mn.__decorate)([s.observable],Bn.prototype,"accentColor",void 0),(0,Mn.__decorate)([s.observable],Bn.prototype,"bodyFont",void 0),(0,Mn.__decorate)([s.observable],Bn.prototype,"density",void 0),(0,Mn.__decorate)([s.observable],Bn.prototype,"borderRadius",void 0),(0,Mn.__decorate)([s.observable],Bn.prototype,"strokeWidth",void 0),(0,Mn.__decorate)([s.observable],Bn.prototype,"designUnit",void 0),(0,Mn.__decorate)([s.observable],Bn.prototype,"baseFontSize",void 0),(0,Mn.__decorate)([s.observable],Bn.prototype,"baseLineHeight",void 0),(0,Mn.__decorate)([s.observable],Bn.prototype,"preserveOptions",void 0),Bn=(0,Mn.__decorate)([(0,s.customElement)({name:"design-system-editor",template:Rn,styles:$n})],Bn);const Gn=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},Hn=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},_n=(e,a)=>{const r=Gn(e.neutralColor);p.neutralPalette.setValueFor(a,r);const t=Gn(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,Hn(p.typeRampBaseFontSize,g.TypeRampValues.minusOne,a)),p.typeRampMinus1LineHeight.setValueFor(a,Hn(p.typeRampBaseLineHeight,g.TypeRampValues.minusOne,a)),p.typeRampMinus2FontSize.setValueFor(a,Hn(p.typeRampBaseFontSize,g.TypeRampValues.minusTwo,a)),p.typeRampMinus2LineHeight.setValueFor(a,Hn(p.typeRampBaseLineHeight,g.TypeRampValues.minusTwo,a)),p.typeRampPlus1FontSize.setValueFor(a,Hn(p.typeRampBaseFontSize,g.TypeRampValues.plusOne,a)),p.typeRampPlus1LineHeight.setValueFor(a,Hn(p.typeRampBaseLineHeight,g.TypeRampValues.plusOne,a)),p.typeRampPlus2FontSize.setValueFor(a,Hn(p.typeRampBaseFontSize,g.TypeRampValues.plusTwo,a)),p.typeRampPlus2LineHeight.setValueFor(a,Hn(p.typeRampBaseLineHeight,g.TypeRampValues.plusTwo,a)),p.typeRampPlus3FontSize.setValueFor(a,Hn(p.typeRampBaseFontSize,g.TypeRampValues.plusThree,a)),p.typeRampPlus3LineHeight.setValueFor(a,Hn(p.typeRampBaseLineHeight,g.TypeRampValues.plusThree,a)),p.typeRampPlus4FontSize.setValueFor(a,Hn(p.typeRampBaseFontSize,g.TypeRampValues.plusFour,a)),p.typeRampPlus4LineHeight.setValueFor(a,Hn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFour,a)),p.typeRampPlus5FontSize.setValueFor(a,Hn(p.typeRampBaseFontSize,g.TypeRampValues.plusFive,a)),p.typeRampPlus5LineHeight.setValueFor(a,Hn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFive,a)),p.typeRampPlus6FontSize.setValueFor(a,Hn(p.typeRampBaseFontSize,g.TypeRampValues.plusSix,a)),p.typeRampPlus6LineHeight.setValueFor(a,Hn(p.typeRampBaseLineHeight,g.TypeRampValues.plusSix,a))},Vn=s.css`
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`
11029
11031
  :host {
11030
11032
  background: var(--fill-color);
11031
11033
  color: var(--neutral-foreground-rest);
@@ -11068,7 +11070,7 @@
11068
11070
  zero-design-system-provider {
11069
11071
  display: inline;
11070
11072
  }
11071
- `,Yn=s.html`
11073
+ `,qn=s.html`
11072
11074
  ${e=>{return a=e.prefix,s.html`
11073
11075
  <template>
11074
11076
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11269,7 +11271,7 @@
11269
11271
  </${a}-design-system-provider>
11270
11272
  </template>
11271
11273
  `;var a}}
11272
- `;let Qn=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(Fn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Fn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setDialogEventListeners(),p.bodyFont.withDefault(Nn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{_n(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,Mn.__decorate)([s.observable],Qn.prototype,"modal",void 0),(0,Mn.__decorate)([s.attr],Qn.prototype,"prefix",void 0),(0,Mn.__decorate)([s.observable],Qn.prototype,"buttonAppearanceAccent",void 0),(0,Mn.__decorate)([s.observable],Qn.prototype,"buttonAppearanceNeutral",void 0),(0,Mn.__decorate)([s.observable],Qn.prototype,"buttonAppearanceOutline",void 0),(0,Mn.__decorate)([s.observable],Qn.prototype,"provider",void 0),Qn=(0,Mn.__decorate)([(0,s.customElement)({name:"preview-components",template:Yn,styles:Vn})],Qn);const qn=s.css`
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`
11273
11275
  .export {
11274
11276
  display: flex;
11275
11277
  justify-content: center;
@@ -11280,7 +11282,7 @@
11280
11282
  display: flex;
11281
11283
  justify-content: space-between;
11282
11284
  }
11283
- `,Wn=s.html`
11285
+ `,Zn=s.html`
11284
11286
  <template>
11285
11287
  <div class="export">
11286
11288
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -11301,7 +11303,7 @@
11301
11303
  </alpha-modal>
11302
11304
  </div>
11303
11305
  </template>
11304
- `;let Jn=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(Fn.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Fn.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Mn.__decorate)([s.attr],Jn.prototype,"value",void 0),(0,Mn.__decorate)([s.attr],Jn.prototype,"tokensPath",void 0),Jn=(0,Mn.__decorate)([(0,s.customElement)({name:"design-system-export",template:Wn,styles:qn})],Jn);const Zn=s.css`
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`
11305
11307
  .colors {
11306
11308
  display: flex;
11307
11309
  flex-wrap: wrap;
@@ -11314,23 +11316,23 @@
11314
11316
  flex-grow: 1;
11315
11317
  height: 20px;
11316
11318
  }
11317
- `,Kn=s.html`
11319
+ `,el=s.html`
11318
11320
  <ul class="colors">
11319
11321
  ${(0,s.repeat)((e=>e.swatches),s.html`
11320
11322
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
11321
11323
  `)}
11322
11324
  </ul>
11323
- `;let Xn=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=Gn(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Fn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Mn.__decorate)([s.observable],Xn.prototype,"swatches",void 0),(0,Mn.__decorate)([s.attr],Xn.prototype,"type",void 0),Xn=(0,Mn.__decorate)([(0,s.customElement)({name:"color-palette",styles:Zn,template:Kn})],Xn);const el=s.css`
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`
11324
11326
  .preview {
11325
11327
  width: 40px;
11326
11328
  height: 40px;
11327
11329
  }
11328
- `,al=s.html`
11330
+ `,tl=s.html`
11329
11331
  <div
11330
11332
  class="preview"
11331
11333
  style="background-color: ${e=>p[e.tokenName].createCSS()}"
11332
11334
  ></div>
11333
- `;let rl=class extends s.FASTElement{};(0,Mn.__decorate)([s.attr],rl.prototype,"tokenName",void 0),rl=(0,Mn.__decorate)([(0,s.customElement)({name:"color-token",styles:el,template:al})],rl);const tl=s.css`
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`
11334
11336
  .container {
11335
11337
  display: flex;
11336
11338
  width: 100%;
@@ -11378,7 +11380,7 @@
11378
11380
  .container > div:not(:last-child) {
11379
11381
  border-right: 1px solid #fafafa;
11380
11382
  }
11381
- `,ol=[{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"}]}]}],il=s.html`
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`
11382
11384
  <div class="row">
11383
11385
  <div
11384
11386
  class="preview"
@@ -11390,19 +11392,19 @@
11390
11392
  ${(e,a)=>p[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
11391
11393
  </div>
11392
11394
  </div>
11393
- `,nl=s.html`
11395
+ `,gl=s.html`
11394
11396
  <div class="container" ${(0,s.ref)("provider")}>
11395
- ${(0,s.repeat)((()=>ol),s.html`
11397
+ ${(0,s.repeat)((()=>nl),s.html`
11396
11398
  <div class="column">
11397
11399
  <h3 class="header-title">${e=>e.title}</h3>
11398
11400
  ${(0,s.repeat)((e=>e.subcategories),s.html`
11399
11401
  <h4>${e=>e.title}</h4>
11400
- ${(0,s.repeat)((e=>e.tokens),il)}
11402
+ ${(0,s.repeat)((e=>e.tokens),ll)}
11401
11403
  `)}
11402
11404
  </div>
11403
11405
  `)}
11404
11406
  </div>
11405
- `;let ll=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Fn.STYLES_CHANGED,(e=>{const a=e.detail;_n(a,this.provider)}))}};(0,Mn.__decorate)([s.observable],ll.prototype,"provider",void 0),ll=(0,Mn.__decorate)([(0,s.customElement)({name:"color-tokens",template:nl,styles:tl})],ll);const gl=s.css`
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`
11406
11408
  table {
11407
11409
  background: var(--neutral-fill-rest);
11408
11410
  color: var(--neutral-foreground-rest);
@@ -11411,7 +11413,7 @@
11411
11413
  th {
11412
11414
  text-align: left;
11413
11415
  }
11414
- `,dl=s.html`
11416
+ `,cl=s.html`
11415
11417
  <table ${(0,s.ref)("provider")} style="font-family: ${()=>p.bodyFont.createCSS()}">
11416
11418
  <colgroup>
11417
11419
  <col style="width: 15%;" />
@@ -11639,7 +11641,7 @@
11639
11641
  </tr>
11640
11642
  </tbody>
11641
11643
  </table>
11642
- `;let sl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Fn.STYLES_CHANGED,(e=>{const a=e.detail;_n(a,this.provider)}))}};(0,Mn.__decorate)([s.observable],sl.prototype,"provider",void 0),sl=(0,Mn.__decorate)([(0,s.customElement)({name:"typography-tokens",template:dl,styles:gl})],sl);const cl=s.css`
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`
11643
11645
  :host {
11644
11646
  background: var(--fill-color);
11645
11647
  color: var(--neutral-foreground-rest);
@@ -11655,7 +11657,7 @@
11655
11657
  margin-top: 24px;
11656
11658
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
11657
11659
  }
11658
- `,pl=s.html`
11660
+ `,hl=s.html`
11659
11661
  <template>
11660
11662
  <alpha-tabs>
11661
11663
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -11684,7 +11686,7 @@
11684
11686
  </alpha-tab-panel>
11685
11687
  </alpha-tabs>
11686
11688
  </template>
11687
- `;let ul=class extends s.FASTElement{};ul=(0,Mn.__decorate)([(0,s.customElement)({name:"design-system-preview",template:pl,styles:cl})],ul);const hl={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"}]}]}}]},ml={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"]}}},vl={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"}]}}}]},bl={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"]}}}},fl=s.css`
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`
11688
11690
  :host {
11689
11691
  background: var(--fill-color);
11690
11692
  color: var(--neutral-foreground-rest);
@@ -11715,7 +11717,7 @@
11715
11717
  zero-design-system-provider {
11716
11718
  display: inline;
11717
11719
  }
11718
- `,wl=s.html`
11720
+ `,xl=s.html`
11719
11721
  ${e=>{return a=e.prefix,s.html`
11720
11722
  <template>
11721
11723
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11737,7 +11739,7 @@
11737
11739
  </${a}-design-system-provider>
11738
11740
  </template>
11739
11741
  `;var a}}
11740
- `;let yl=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=ml,this.uischema=hl,this.jsonSchemaArray=bl,this.uiSchemaArray=vl,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(Fn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Fn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(Nn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{_n(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,Mn.__decorate)([s.observable],yl.prototype,"jsonSchema",void 0),(0,Mn.__decorate)([s.observable],yl.prototype,"uischema",void 0),(0,Mn.__decorate)([s.observable],yl.prototype,"jsonSchemaArray",void 0),(0,Mn.__decorate)([s.observable],yl.prototype,"uiSchemaArray",void 0),(0,Mn.__decorate)([s.attr],yl.prototype,"prefix",void 0),(0,Mn.__decorate)([s.observable],yl.prototype,"provider",void 0),(0,Mn.__decorate)([s.observable],yl.prototype,"editedEntity",void 0),(0,Mn.__decorate)([s.observable],yl.prototype,"editedEntityArray",void 0),yl=(0,Mn.__decorate)([(0,s.customElement)({name:"preview-form",template:wl,styles:fl})],yl);const xl=s.css`
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`
11741
11743
  :host {
11742
11744
  background: var(--fill-color);
11743
11745
  color: var(--neutral-foreground-rest);
@@ -11752,7 +11754,7 @@
11752
11754
  .grid-height {
11753
11755
  height: 450px;
11754
11756
  }
11755
- `,zl=s.html`
11757
+ `,Sl=s.html`
11756
11758
  ${e=>{return a=e.prefix,s.html`
11757
11759
  <template>
11758
11760
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11762,5 +11764,5 @@
11762
11764
  </${a}-design-system-provider>
11763
11765
  </template>
11764
11766
  `;var a}}
11765
- `;let kl=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(Fn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Fn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setGridOptions(),p.bodyFont.withDefault(Nn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{_n(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,s.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Mn.__decorate)([s.observable],kl.prototype,"grid",void 0),(0,Mn.__decorate)([s.attr],kl.prototype,"prefix",void 0),(0,Mn.__decorate)([s.observable],kl.prototype,"provider",void 0),(0,Mn.__decorate)([s.observable],kl.prototype,"rowData",void 0),(0,Mn.__decorate)([s.observable],kl.prototype,"columnDefs",void 0),(0,Mn.__decorate)([s.observable],kl.prototype,"gridOptions",void 0),kl=(0,Mn.__decorate)([(0,s.customElement)({name:"preview-grid",template:zl,styles:xl})],kl),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(Po,Dn),(0,i.provideDesignSystem)().register(i.baseComponents,Ln)}}]);
11766
- //# sourceMappingURL=583.35df5c608741a2d7e2d8cdbdeb1014b9.js.map
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.2c6cdb723dee6edcb0eab868c95b8b48.js.map