@genesislcap/design-system-configurator 14.58.0 → 14.59.0

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 (26) hide show
  1. package/dist/{361.361.22e4b71e7aa4be281556.js → 361.361.e32251c1ae943c5b94bc.js} +3 -3
  2. package/dist/361.927c2d649b8b99aa4233bad6ad253481.js.map +1 -0
  3. package/dist/430.430.6f3d67d859f853c7639a.js +2 -0
  4. package/dist/{430.4d21da5bd24fda819edead8ac55bc771.js.map → 430.5dc8e5ac37ad699b2a2efed13e3d2934.js.map} +1 -1
  5. package/dist/{553.553.8006e18d9beb4d575419.js → 583.583.8de34a4feb2b2a734061.js} +189 -187
  6. package/dist/583.c24ba0441e481e4dd1a779df27fae0e1.js.map +1 -0
  7. package/dist/{688.688.430fc8dbbf75f15c2996.js → 688.688.05dee01d0916d2f1f551.js} +2 -2
  8. package/dist/{688.71f7caa7c5596ce9e8a7070671133f13.js.map → 688.adeed591009190c043d09ef855b29a2d.js.map} +1 -1
  9. package/dist/{755.0d64f062b3b634cd118d384847e796ca.js.map → 755.3286f535f2f194a1cf0e810fede2ea5a.js.map} +1 -1
  10. package/dist/755.755.7f3da956350f80126b41.js +2 -0
  11. package/dist/82.72bf369646d7a25590548c7bb89d0c16.js.map +1 -0
  12. package/dist/{385.385.f2d3a0503d4a90a76f1b.js → 82.82.2f6f389ba721a45f7719.js} +174 -172
  13. package/dist/{designSystemConfigurator.8a7744a5a0256e7deab17ca66034393b.js.map → designSystemConfigurator.de5d82073bbd5f2c327d449b0a2bbb26.js.map} +1 -1
  14. package/dist/index.html +1 -1
  15. package/dist/info.html +4 -4
  16. package/dist/main.06c8e3c365dd4c055113.js +2 -0
  17. package/dist/{main.95b6c2d5efe367c3ebbe68d68bb54ff3.js.map → main.7530505d1012332dfb2364511fd93f3b.js.map} +1 -1
  18. package/dist/remoteEntry.js +2 -2
  19. package/package.json +7 -7
  20. package/dist/361.a8a7eab93de7b7753f1a62ce0bf06c30.js.map +0 -1
  21. package/dist/385.d66f3d734a5dd168539f2afbe1bd8303.js.map +0 -1
  22. package/dist/430.430.a18c37ff6ffa4f317ce4.js +0 -2
  23. package/dist/553.b070dc73b2fad9537098af455b574594.js.map +0 -1
  24. package/dist/755.755.d146841bbd3aa7436008.js +0 -2
  25. package/dist/main.65f80a6f429ca9460f0e.js +0 -2
  26. /package/dist/{385.385.f2d3a0503d4a90a76f1b.js.LICENSE.txt → 82.82.2f6f389ba721a45f7719.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([[553],{57553:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Zn,ColorToken:()=>el,ColorTokens:()=>il,DesignSystemEditor:()=>Pn,DesignSystemExport:()=>qn,DesignSystemPreview:()=>cl,EventName:()=>Dn,PreviewComponents:()=>Vn,PreviewForm:()=>fl,PreviewGrid:()=>xl,TypographyTokens:()=>gl,defaultBodyFont:()=>Mn,fontFamilies:()=>Fn});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(83072),n=r(92592),l=r(62646),g=r(27845),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([[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(22908),n=r(92592),l=r(62646),g=r(1392),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(58411);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(75810);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
@@ -690,7 +690,9 @@
690
690
  `.withBehaviors(Je("primary-blue",ea),Je("primary-purple",aa),Je("primary-gradient",ra),Je("secondary-orange",ta),Je("secondary-teal",oa),Je("neutral-grey",ia),Je("outline-primary-gradient",na),Je("outline-secondary-orange",la),Je("outline-secondary-teal",ga));class sa extends $.Anchor{}const ca=sa.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,$.foundationAnchorTemplate)(e,a),styles:(e,a)=>s.css`
691
691
  ${(0,$.foundationAnchorStyles)(e,a)}
692
692
  ${da(e,a)}
693
- `.withBehaviors(...da(e,a).behaviors),shadowOptions:$.foundationAnchorShadowOptions},$.defaultAnchorConfig));class pa extends $.Badge{}const ua=pa.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,$.foundationBadgeTemplate)(e,a),styles:(e,a)=>s.css`
693
+ `.withBehaviors(...da(e,a).behaviors),shadowOptions:$.foundationAnchorShadowOptions},$.defaultAnchorConfig));class pa extends $.AnchoredRegion{}const ua=pa.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,$.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>s.css`
694
+ ${(0,$.foundationAnchoredRegionStyles)(e,a)}
695
+ `,shadowOptions:$.foundationAnchoredRegionShadowOptions},$.defaultAnchoredRegionConfig));class ha extends $.Badge{}const ma=ha.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,$.foundationBadgeTemplate)(e,a),styles:(e,a)=>s.css`
694
696
  ${(0,$.foundationBadgeStyles)(e,a)}
695
697
  :host {
696
698
  --badge-fill-primary: ${Pe()};
@@ -704,14 +706,14 @@
704
706
  :host .control {
705
707
  padding: calc(${p.designUnit} * 1px) calc(${p.designUnit} * 2px);
706
708
  }
707
- `,shadowOptions:$.foundationBadgeShadowOptions},$.defaultBadgeConfig)),ha=s.css`
709
+ `,shadowOptions:$.foundationBadgeShadowOptions},$.defaultBadgeConfig)),va=s.css`
708
710
  ${$.foundationBannerStyles}
709
711
  .banner {
710
712
  background-color: ${p.neutralLayer1};
711
713
  }
712
- `,ma=$.foundationBannerShadowOptions;class va extends $.Banner{}const ba=va.compose({baseName:"banner",shadowOptions:ma,styles:ha,template:$.foundationBannerTemplate});class fa extends $.Breadcrumb{}const wa=fa.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,$.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>s.css`
714
+ `,ba=$.foundationBannerShadowOptions;class fa extends $.Banner{}const wa=fa.compose({baseName:"banner",shadowOptions:ba,styles:va,template:$.foundationBannerTemplate});class ya extends $.Breadcrumb{}const xa=ya.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,$.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>s.css`
713
715
  ${(0,$.foundationBreadcrumbStyles)(e,a)}
714
- `,shadowOptions:undefined},{}));class ya extends $.BreadcrumbItem{}const xa=ya.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,$.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>s.css`
716
+ `,shadowOptions:undefined},{}));class za extends $.BreadcrumbItem{}const ka=za.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,$.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>s.css`
715
717
  ${(0,$.foundationBreadcrumbItemStyles)(e,a)}
716
718
  :host {
717
719
  --neutral-foreground-rest: #18b2e3;
@@ -722,13 +724,13 @@
722
724
  .separator {
723
725
  color: var(--neutral-stroke-rest);
724
726
  }
725
- `,shadowOptions:$.foundationBreadcrumbItemShadowOptions},$.defaultBreadcrumbItemConfig));class za extends $.Button{}const ka=za.compose(Object.assign({baseName:"button",template:(e,a)=>(0,$.foundationButtonTemplate)(e,a),styles:da,shadowOptions:$.foundationButtonShadowOptions},$.defaultButtonConfig));class Sa extends $.Card{}const Ca=Sa.compose(Object.assign({baseName:"card",template:(e,a)=>(0,$.foundationCardTemplate)(e,a),styles:(e,a)=>s.css`
727
+ `,shadowOptions:$.foundationBreadcrumbItemShadowOptions},$.defaultBreadcrumbItemConfig));class Sa extends $.Button{}const Ca=Sa.compose(Object.assign({baseName:"button",template:(e,a)=>(0,$.foundationButtonTemplate)(e,a),styles:da,shadowOptions:$.foundationButtonShadowOptions},$.defaultButtonConfig));class Aa extends $.Card{}const Ta=Aa.compose(Object.assign({baseName:"card",template:(e,a)=>(0,$.foundationCardTemplate)(e,a),styles:(e,a)=>s.css`
726
728
  ${(0,$.foundationCardStyles)(e,a)}
727
729
  :host {
728
730
  background-color: var(--zero-card-fill-color, var(--neutral-layer-2));
729
731
  color: ${p.neutralForegroundRest};
730
732
  }
731
- `,shadowOptions:$.foundationCardShadowOptions},$.defaultCardConfig));class Aa extends $.Checkbox{}const Ta=Aa.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,$.foundationCheckboxTemplate)(e,a),styles:(e,a)=>s.css`
733
+ `,shadowOptions:$.foundationCardShadowOptions},$.defaultCardConfig));class Da extends $.Checkbox{}const La=Da.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,$.foundationCheckboxTemplate)(e,a),styles:(e,a)=>s.css`
732
734
  ${(0,$.foundationCheckboxStyles)(e,a)}
733
735
  :host {
734
736
  --primary-gradient-angle: -113.5deg;
@@ -748,14 +750,14 @@
748
750
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 20%) inset;
749
751
  border-radius: calc(var(--control-corner-radius) * 1px);
750
752
  }
751
- `,shadowOptions:$.foundationCheckboxShadowOptions},$.defaultCheckboxConfig)),Da=(0,Me.parseColorHexRGB)("#F1F1F1"),La=Oe(Da,1),Fa=(0,Me.parseColorHexRGB)("#879BA6"),Ma=Oe(Fa,.06),Oa=(0,Me.parseColorHexRGB)("#879BA6"),Na=Oe(Oa,1),$a=(0,Me.parseColorHexRGB)("#121212"),Ra=Oe($a,1),ja=(0,Me.parseColorHexRGB)("#2e3339"),Ia=Oe(ja,1);var Ea;!function(e){e.PrimaryBlue="primary-blue",e.PrimaryPurple="primary-purple",e.PrimaryGradient="primary-gradient",e.SecondaryOrange="secondary-orange",e.SecondaryTeal="secondary-teal",e.NeutralGrey="neutral-grey",e.OutlinePrimaryGradient="outline-primary-gradient",e.OutlineSecondaryOrange="outline-secondary-orange",e.OutlineSecondaryTeal="outline-secondary-teal"}(Ea||(Ea={}));Object.values(Ea);class Pa extends $.Combobox{}const Ua=Pa.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,$.foundationComboboxTemplate)(e,a),styles:(e,a)=>s.css`
753
+ `,shadowOptions:$.foundationCheckboxShadowOptions},$.defaultCheckboxConfig)),Fa=(0,Me.parseColorHexRGB)("#F1F1F1"),Ma=Oe(Fa,1),Oa=(0,Me.parseColorHexRGB)("#879BA6"),Na=Oe(Oa,.06),$a=(0,Me.parseColorHexRGB)("#879BA6"),Ra=Oe($a,1),ja=(0,Me.parseColorHexRGB)("#121212"),Ia=Oe(ja,1),Ea=(0,Me.parseColorHexRGB)("#2e3339"),Pa=Oe(Ea,1);var Ua;!function(e){e.PrimaryBlue="primary-blue",e.PrimaryPurple="primary-purple",e.PrimaryGradient="primary-gradient",e.SecondaryOrange="secondary-orange",e.SecondaryTeal="secondary-teal",e.NeutralGrey="neutral-grey",e.OutlinePrimaryGradient="outline-primary-gradient",e.OutlineSecondaryOrange="outline-secondary-orange",e.OutlineSecondaryTeal="outline-secondary-teal"}(Ua||(Ua={}));Object.values(Ua);class Ba extends $.Combobox{}const Ga=Ba.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,$.foundationComboboxTemplate)(e,a),styles:(e,a)=>s.css`
752
754
  ${(0,$.foundationComboboxStyles)(e,a)}
753
755
  :host {
754
756
  --primary-gradient-angle: -113.5deg;
755
757
 
756
758
  border-radius: calc(var(--control-corner-radius) * 1px);
757
- border-color: ${Ia};
758
- background: ${Ma};
759
+ border-color: ${Pa};
760
+ background: ${Na};
759
761
  }
760
762
 
761
763
  :host(:focus-within:not([disabled])) {
@@ -779,8 +781,8 @@
779
781
  }
780
782
 
781
783
  :host(:hover:not([disabled]):not([open])) {
782
- border-color: ${La};
783
- background: ${Ma};
784
+ border-color: ${Ma};
785
+ background: ${Na};
784
786
  }
785
787
 
786
788
  :host([open][position='below']) .listbox {
@@ -791,29 +793,29 @@
791
793
  }
792
794
 
793
795
  :host([open]) .control {
794
- background: ${Ra};
796
+ background: ${Ia};
795
797
  }
796
798
 
797
799
  :host(:not([disabled])) .control:active {
798
800
  background: none;
799
801
  }
800
- `,shadowOptions:$.foundationComboboxShadowOptions},$.defaultComboboxConfig));class Ba extends $.ConnectionIndicator{}const Ga=Ba.compose({baseName:"connection-indicator",template:$.foundationConnectionIndicatorTemplate,styles:$.foundationConnectionIndicatorStyles});class Ha extends $.DataGridCell{}Ha.compose(Object.assign({baseName:"data-grid-cell",template:c.dataGridCellTemplate,styles:(e,a)=>s.css`
802
+ `,shadowOptions:$.foundationComboboxShadowOptions},$.defaultComboboxConfig));class Ha extends $.ConnectionIndicator{}const _a=Ha.compose({baseName:"connection-indicator",template:$.foundationConnectionIndicatorTemplate,styles:$.foundationConnectionIndicatorStyles});class Va extends $.DataGridCell{}Va.compose(Object.assign({baseName:"data-grid-cell",template:c.dataGridCellTemplate,styles:(e,a)=>s.css`
801
803
  ${(0,$.foundationDataGridCellStyles)(e,a)}
802
- `,shadowOptions:$.foundationDataGridCellShadowOptions},$.defaultDataGridCellConfig));class _a extends $.DataGridRow{}_a.compose(Object.assign({baseName:"data-grid-row",template:c.dataGridRowTemplate,styles:(e,a)=>s.css`
804
+ `,shadowOptions:$.foundationDataGridCellShadowOptions},$.defaultDataGridCellConfig));class Ya extends $.DataGridRow{}Ya.compose(Object.assign({baseName:"data-grid-row",template:c.dataGridRowTemplate,styles:(e,a)=>s.css`
803
805
  ${(0,$.foundationDataGridRowStyles)(e,a)}
804
- `,shadowOptions:$.foundationDataGridRowShadowOptions},$.defaultDataGridRowConfig));class Va extends $.DataGrid{}const Ya=Va.compose(Object.assign({baseName:"data-grid",template:(e,a)=>(0,$.foundationDataGridTemplate)(e,a),styles:(e,a)=>s.css`
806
+ `,shadowOptions:$.foundationDataGridRowShadowOptions},$.defaultDataGridRowConfig));class Qa extends $.DataGrid{}const qa=Qa.compose(Object.assign({baseName:"data-grid",template:(e,a)=>(0,$.foundationDataGridTemplate)(e,a),styles:(e,a)=>s.css`
805
807
  ${(0,$.foundationDataGridStyles)(e,a)}
806
808
  ::slotted(.sticky-header),
807
809
  ::slotted(.header) {
808
810
  border-bottom-color: var(--neutral-color);
809
811
 
810
- --neutral-foreground-rest: ${Na};
812
+ --neutral-foreground-rest: ${Ra};
811
813
  }
812
814
 
813
815
  ::slotted([role='row']) {
814
816
  background-color: #1f2126;
815
817
  }
816
- `,shadowOptions:$.foundationDataGridShadowOptions},$.defaultDataGridConfig));class Qa extends $.DatePicker{}const qa=Qa.compose(Object.assign({baseName:"date-picker",template:()=>$.foundationDatePickerTemplate,styles:()=>s.css`
818
+ `,shadowOptions:$.foundationDataGridShadowOptions},$.defaultDataGridConfig));class Wa extends $.DatePicker{}const Ja=Wa.compose(Object.assign({baseName:"date-picker",template:()=>$.foundationDatePickerTemplate,styles:()=>s.css`
817
819
  ${$.foundationDatePickerStyles}
818
820
  .date-toggle {
819
821
  background: var(--neutral-layer-card-container);
@@ -837,12 +839,12 @@
837
839
  .month-day.current {
838
840
  color: ${ie.almostWhite};
839
841
  }
840
- `,shadowOptions:undefined},{}));var Wa=r(37068);fe();const Ja=s.css`
842
+ `,shadowOptions:undefined},{}));var Za=r(37068);fe();const Ka=s.css`
841
843
  ${(0,c.display)("flex")}
842
844
  :host {
843
845
  flex: 1;
844
846
  }
845
- `,Za=s.css`
847
+ `,Xa=s.css`
846
848
  :host {
847
849
  background-color: ${p.neutralFillStealthActive};
848
850
  }
@@ -852,31 +854,31 @@
852
854
  box-shadow: 0 0 0 1px ${u.H.CanvasText};
853
855
  color: ${u.H.ButtonText};
854
856
  }
855
- `)),Ka=(e,a,r)=>s.css`
857
+ `)),er=(e,a,r)=>s.css`
856
858
  ${e.name} ${"h"+a} {
857
859
  font-size: var(--type-ramp-plus-${r}-font-size);
858
860
  line-height: var(--type-ramp-plus-${r}-line-height);
859
861
  margin: 0;
860
862
  ${ye(g.FontStyle.Normal,g.FontWeight.Bold)}
861
863
  }
862
- `;class Xa extends p.DesignSystemProvider{constructor(){super(),(0,$.provideTokens)(t,o,this)}}(0,Wa.__decorate)([(0,s.attr)({attribute:"card-fill-color",converter:$.swatchConverter}),(0,$.designToken)(p.neutralFillStealthRest)],Xa.prototype,"cardFillColor",void 0),(0,Wa.__decorate)([(0,s.attr)({attribute:"card-foreground-color",converter:$.swatchConverter}),(0,$.designToken)(p.neutralForegroundRest)],Xa.prototype,"cardForegroundColor",void 0);const er=Xa.compose({baseName:"design-system-provider",template:s.html`
864
+ `;class ar extends p.DesignSystemProvider{constructor(){super(),(0,$.provideTokens)(t,o,this)}}(0,Za.__decorate)([(0,s.attr)({attribute:"card-fill-color",converter:$.swatchConverter}),(0,$.designToken)(p.neutralFillStealthRest)],ar.prototype,"cardFillColor",void 0),(0,Za.__decorate)([(0,s.attr)({attribute:"card-foreground-color",converter:$.swatchConverter}),(0,$.designToken)(p.neutralForegroundRest)],ar.prototype,"cardForegroundColor",void 0);const rr=ar.compose({baseName:"design-system-provider",template:s.html`
863
865
  <slot></slot>
864
866
  `,styles:e=>{const a=(e=>s.css`
865
- ${Ka(e,"1","6")}
866
- ${Ka(e,"2","5")}
867
- ${Ka(e,"3","4")}
868
- ${Ka(e,"4","3")}
869
- ${Ka(e,"5","2")}
870
- ${Ka(e,"6","1")}
867
+ ${er(e,"1","6")}
868
+ ${er(e,"2","5")}
869
+ ${er(e,"3","4")}
870
+ ${er(e,"4","3")}
871
+ ${er(e,"5","2")}
872
+ ${er(e,"6","1")}
871
873
  `)(e);return a.addStylesTo(document),s.css`
872
- ${Ja}
873
- ${Za}
874
+ ${Ka}
875
+ ${Xa}
874
876
  ${a}
875
877
  :host * {
876
878
  color: ${p.neutralForegroundRest};
877
879
  ${ye()}
878
880
  }
879
- `}}),ar=(0,Me.parseColorHexRGB)("#121212"),rr=Oe(ar,1),tr=s.css`
881
+ `}}),tr=(0,Me.parseColorHexRGB)("#121212"),or=Oe(tr,1),ir=s.css`
880
882
  ${$.foundationDialogStyles}
881
883
  :host {
882
884
  --dialog-background: ${p.neutralLayer2};
@@ -939,19 +941,19 @@
939
941
  }
940
942
 
941
943
  .close-icon:active svg {
942
- background-color: ${rr};
944
+ background-color: ${or};
943
945
  }
944
946
 
945
947
  .close-icon:active svg g path {
946
948
  fill: ${$e(.33)};
947
949
  }
948
- `,or=$.defaultDialogConfig,ir=$.foundationDialogTemplate,nr=$.foundationDialogShadowOptions;class lr extends $.Dialog{}const gr=lr.compose(Object.assign({baseName:"dialog",shadowOptions:nr,styles:tr,template:ir},or));class dr extends $.Disclosure{}const sr=dr.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,$.foundationDisclosureTemplate)(e,a),styles:(e,a)=>s.css`
950
+ `,nr=$.defaultDialogConfig,lr=$.foundationDialogTemplate,gr=$.foundationDialogShadowOptions;class dr extends $.Dialog{}const sr=dr.compose(Object.assign({baseName:"dialog",shadowOptions:gr,styles:ir,template:lr},nr));class cr extends $.Disclosure{}const pr=cr.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,$.foundationDisclosureTemplate)(e,a),styles:(e,a)=>s.css`
949
951
  ${(0,$.foundationDisclosureStyles)(e,a)}
950
- `,shadowOptions:$.foundationDialogShadowOptions},$.defaultDisclosureConfig));class cr extends $.Divider{}const pr=cr.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,$.foundationDividerTemplate)(e,a),styles:(e,a)=>s.css`
952
+ `,shadowOptions:$.foundationDialogShadowOptions},$.defaultDisclosureConfig));class ur extends $.Divider{}const hr=ur.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,$.foundationDividerTemplate)(e,a),styles:(e,a)=>s.css`
951
953
  ${(0,$.foundationDividerStyles)(e,a)}
952
- `,shadowOptions:$.foundationDividerShadowOptions},$.defaultDividerConfig));class ur extends $.DropdownMenu{}const hr=ur.compose({baseName:"dropdown-menu",styles:(e,a)=>s.css`
954
+ `,shadowOptions:$.foundationDividerShadowOptions},$.defaultDividerConfig));class mr extends $.DropdownMenu{}const vr=mr.compose({baseName:"dropdown-menu",styles:(e,a)=>s.css`
953
955
  ${(0,$.dropdownMenuBaseStyles)("zero",e,a)}
954
- `,template:$.foundationDropdownMenuTemplate}),mr=s.html`
956
+ `,template:$.foundationDropdownMenuTemplate}),br=s.html`
955
957
  <zero-banner ${(0,s.ref)("banner")}>
956
958
  <div slot="content">
957
959
  <div>${e=>{var a;return(null===(a=e.error)||void 0===a?void 0:a.errorDetails)||"Place holder for error message"}}</div>
@@ -971,7 +973,7 @@
971
973
  </zero-button>
972
974
  `)}
973
975
  </zero-banner>
974
- `,vr=$.foundationErrorBannerShadowOptions;class br extends $.ErrorBanner{}const fr=br.compose({baseName:"error-banner",template:mr,shadowOptions:vr});class wr extends $.ErrorBoundary{}const yr=wr.compose({baseName:"error-boundary",template:$.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class xr extends $.ErrorDialog{}const zr=xr.compose({baseName:"error-dialog",styles:$.foundationErrorDialogStyles,template:$.errorDialogTemplate,shadowOptions:$.foundationErrorDialogShadowOptions}),kr=s.css`
976
+ `,fr=$.foundationErrorBannerShadowOptions;class wr extends $.ErrorBanner{}const yr=wr.compose({baseName:"error-banner",template:br,shadowOptions:fr});class xr extends $.ErrorBoundary{}const zr=xr.compose({baseName:"error-boundary",template:$.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class kr extends $.ErrorDialog{}const Sr=kr.compose({baseName:"error-dialog",styles:$.foundationErrorDialogStyles,template:$.errorDialogTemplate,shadowOptions:$.foundationErrorDialogShadowOptions}),Cr=s.css`
975
977
  ${$.foundationFileUploadStyles}
976
978
  ::-webkit-scrollbar {
977
979
  width: 12px;
@@ -988,22 +990,22 @@
988
990
  background-color: var(--neutral-color);
989
991
  border: 3px solid rgb(31 33 38);
990
992
  }
991
- `,Sr=s.html`
993
+ `,Ar=s.html`
992
994
  ${(0,$.getPrefixedFileUpload)("zero")}
993
- `,Cr=$.defaultFileUploadConfig,Ar=$.foundationFileUploadShadowOptions;class Tr extends $.FileUpload{}const Dr=Tr.compose(Object.assign({baseName:"file-upload",shadowOptions:Ar,styles:kr,template:Sr},Cr)),Lr=s.html`
995
+ `,Tr=$.defaultFileUploadConfig,Dr=$.foundationFileUploadShadowOptions;class Lr extends $.FileUpload{}const Fr=Lr.compose(Object.assign({baseName:"file-upload",shadowOptions:Dr,styles:Cr,template:Ar},Tr)),Mr=s.html`
994
996
  <div class="close-icon" @click=${e=>e.clear()}>${(0,$.closeIcon)()}</div>
995
- `,Fr=s.html`
997
+ `,Or=s.html`
996
998
  <div class="flex-row">
997
999
  <div>${e=>e.label}</div>
998
- ${Lr}
1000
+ ${Mr}
999
1001
  </div>
1000
1002
  <div class="flex-row">
1001
1003
  <zero-text-field ${(0,s.ref)("textFilterField")} type="text" :value=${(0,g.sync)((e=>e.textFilter))} />
1002
1004
  </div>
1003
- `,Mr=s.html`
1005
+ `,Nr=s.html`
1004
1006
  <div class="flex-row">
1005
1007
  <div>${e=>e.label}</div>
1006
- ${Lr}
1008
+ ${Mr}
1007
1009
  </div>
1008
1010
  <div class="flex-row">
1009
1011
  <zero-text-field
@@ -1019,10 +1021,10 @@
1019
1021
  placeholder="max"
1020
1022
  ></zero-text-field>
1021
1023
  </div>
1022
- `,Or=s.html`
1024
+ `,$r=s.html`
1023
1025
  <div class="flex-row">
1024
1026
  <div>${e=>e.label}</div>
1025
- ${Lr}
1027
+ ${Mr}
1026
1028
  </div>
1027
1029
  <div class="flex-row">
1028
1030
  <zero-text-field
@@ -1038,27 +1040,27 @@
1038
1040
  placeholder="max"
1039
1041
  ></zero-text-field>
1040
1042
  </div>
1041
- `;function Nr(e){var a,r,t;return null!==(t=null===(r=null===(a=null==e?void 0:e.event)||void 0===a?void 0:a.target)||void 0===r?void 0:r.value)&&void 0!==t?t:"all"}const $r=[{name:"All",value:"all",selected:!0},{name:"True",value:"true"},{name:"False",value:"false"},{name:"N/A",value:"null"}],Rr=s.html`
1043
+ `;function Rr(e){var a,r,t;return null!==(t=null===(r=null===(a=null==e?void 0:e.event)||void 0===a?void 0:a.target)||void 0===r?void 0:r.value)&&void 0!==t?t:"all"}const jr=[{name:"All",value:"all",selected:!0},{name:"True",value:"true"},{name:"False",value:"false"},{name:"N/A",value:"null"}],Ir=s.html`
1042
1044
  <div class="flex-row">
1043
1045
  <div>${e=>e.label}</div>
1044
- ${Lr}
1046
+ ${Mr}
1045
1047
  </div>
1046
1048
  <div class="flex-row">
1047
- <zero-select @change="${(e,a)=>e.onBooleanFilterSelection(Nr(a))}}">
1048
- ${(0,s.repeat)((()=>$r),s.html`
1049
+ <zero-select @change="${(e,a)=>e.onBooleanFilterSelection(Rr(a))}}">
1050
+ ${(0,s.repeat)((()=>jr),s.html`
1049
1051
  <zero-option value="${e=>e.value}" selected="${e=>e.selected}">
1050
1052
  ${e=>e.name}
1051
1053
  </zero-option>
1052
1054
  `)}
1053
1055
  </zero-select>
1054
1056
  </div>
1055
- `,jr=s.html`
1057
+ `,Er=s.html`
1056
1058
  <div class="flex-row">
1057
1059
  <div>${e=>e.label}</div>
1058
- ${Lr}
1060
+ ${Mr}
1059
1061
  </div>
1060
1062
  <div class="flex-row">
1061
- <zero-select @change="${(e,a)=>e.onEnumFilterSelection(Nr(a))}}">
1063
+ <zero-select @change="${(e,a)=>e.onEnumFilterSelection(Rr(a))}}">
1062
1064
  ${(0,s.repeat)((e=>e.enumFilterOptions),s.html`
1063
1065
  <zero-option value="${e=>e.value}" selected="${e=>e.selected}">
1064
1066
  ${e=>e.name}
@@ -1066,23 +1068,23 @@
1066
1068
  `)}
1067
1069
  </zero-select>
1068
1070
  </div>
1069
- `,Ir=s.html`
1070
- <div class="filter-wrapper">${e=>(e=>{switch(e.type){case"number":return Mr;case"date":return Or;case"boolean":return Rr;case"enum":return jr;default:return Fr}})(e)}</div>
1071
- `;class Er extends $.Filter{constructor(){super(...arguments),this.type=super.type,this.enumFilterOptions=super.enumFilterOptions}}(0,Wa.__decorate)([s.attr],Er.prototype,"fieldName",void 0),(0,Wa.__decorate)([s.attr],Er.prototype,"label",void 0),(0,Wa.__decorate)([s.attr],Er.prototype,"type",void 0),(0,Wa.__decorate)([s.attr],Er.prototype,"target",void 0),(0,Wa.__decorate)([s.observable],Er.prototype,"enumFilterOptions",void 0);const Pr=Er.compose({baseName:"filter",template:Ir,styles:$.foundationFilterStyles});var Ur=r(9770);const Br=s.html`
1071
+ `,Pr=s.html`
1072
+ <div class="filter-wrapper">${e=>(e=>{switch(e.type){case"number":return Nr;case"date":return $r;case"boolean":return Ir;case"enum":return Er;default:return Or}})(e)}</div>
1073
+ `;class Ur extends $.Filter{constructor(){super(...arguments),this.type=super.type,this.enumFilterOptions=super.enumFilterOptions}}(0,Za.__decorate)([s.attr],Ur.prototype,"fieldName",void 0),(0,Za.__decorate)([s.attr],Ur.prototype,"label",void 0),(0,Za.__decorate)([s.attr],Ur.prototype,"type",void 0),(0,Za.__decorate)([s.attr],Ur.prototype,"target",void 0),(0,Za.__decorate)([s.observable],Ur.prototype,"enumFilterOptions",void 0);const Br=Ur.compose({baseName:"filter",template:Pr,styles:$.foundationFilterStyles});var Gr=r(9770);const Hr=s.html`
1072
1074
  ${(0,s.when)((e=>e.collapsed),s.html`
1073
1075
  <zero-icon name="chevron-down"></zero-icon>
1074
1076
  `)}
1075
1077
  ${(0,s.when)((e=>!e.collapsed),s.html`
1076
1078
  <zero-icon name="chevron-up"></zero-icon>
1077
1079
  `)}
1078
- `,Gr=s.html`
1080
+ `,_r=s.html`
1079
1081
  <div
1080
- class=${e=>(0,Ur.A)(["toggle",!0],["toggle-collapsed",e.collapsed])}
1082
+ class=${e=>(0,Gr.A)(["toggle",!0],["toggle-collapsed",e.collapsed])}
1081
1083
  @click="${e=>e.toggle()}"
1082
1084
  >
1083
- ${Br}
1085
+ ${Hr}
1084
1086
  </div>
1085
- <div class=${e=>(0,Ur.A)(["filter-bar",!0],["collapsed",e.collapsed])}>
1087
+ <div class=${e=>(0,Gr.A)(["filter-bar",!0],["collapsed",e.collapsed])}>
1086
1088
  <div class="filter-grid" ${(0,s.ref)("filterGrid")}>
1087
1089
  ${(0,s.repeat)((e=>e.fields),s.html`
1088
1090
  <zero-filter
@@ -1095,9 +1097,9 @@
1095
1097
  `)}
1096
1098
  </div>
1097
1099
  </div>
1098
- `,Hr=s.html`
1099
- ${Gr}
1100
- `;class _r extends $.FilterBar{constructor(){super(...arguments),this.ready=super.ready,this.collapsed=!0}}(0,Wa.__decorate)([s.attr],_r.prototype,"resource",void 0),(0,Wa.__decorate)([s.attr],_r.prototype,"only",void 0),(0,Wa.__decorate)([s.attr],_r.prototype,"labels",void 0),(0,Wa.__decorate)([s.attr],_r.prototype,"target",void 0),(0,Wa.__decorate)([s.observable],_r.prototype,"ready",void 0),(0,Wa.__decorate)([s.observable],_r.prototype,"fields",void 0),(0,Wa.__decorate)([s.observable],_r.prototype,"collapsed",void 0);const Vr=_r.compose({baseName:"filter-bar",template:Hr,styles:(e,a)=>s.css`
1100
+ `,Vr=s.html`
1101
+ ${_r}
1102
+ `;class Yr extends $.FilterBar{constructor(){super(...arguments),this.ready=super.ready,this.collapsed=!0}}(0,Za.__decorate)([s.attr],Yr.prototype,"resource",void 0),(0,Za.__decorate)([s.attr],Yr.prototype,"only",void 0),(0,Za.__decorate)([s.attr],Yr.prototype,"labels",void 0),(0,Za.__decorate)([s.attr],Yr.prototype,"target",void 0),(0,Za.__decorate)([s.observable],Yr.prototype,"ready",void 0),(0,Za.__decorate)([s.observable],Yr.prototype,"fields",void 0),(0,Za.__decorate)([s.observable],Yr.prototype,"collapsed",void 0);const Qr=Yr.compose({baseName:"filter-bar",template:Vr,styles:(e,a)=>s.css`
1101
1103
  ${(0,$.foundationFilterBarStyles)(e,a)}
1102
1104
  .toggle,
1103
1105
  .toggle-collapsed {
@@ -1109,7 +1111,7 @@
1109
1111
  .toggle-collapsed:hover {
1110
1112
  color: var(--ag-alpine-active-color, #2196f3);
1111
1113
  }
1112
- `});class Yr extends $.FlexLayout{}const Qr=Yr.compose(Object.assign({baseName:"flex-layout",shadowOptions:$.foundationFlexLayoutShadowOptions,styles:$.foundationFlexLayoutStyles,template:$.foundationFlexLayoutTemplate},$.defaultFlexLayoutConfig));class qr extends $.Flipper{}const Wr=qr.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,$.foundationFlipperTemplate)(e,a),styles:(e,a)=>s.css`
1114
+ `});class qr extends $.FlexLayout{}const Wr=qr.compose(Object.assign({baseName:"flex-layout",shadowOptions:$.foundationFlexLayoutShadowOptions,styles:$.foundationFlexLayoutStyles,template:$.foundationFlexLayoutTemplate},$.defaultFlexLayoutConfig));class Jr extends $.Flipper{}const Zr=Jr.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,$.foundationFlipperTemplate)(e,a),styles:(e,a)=>s.css`
1113
1115
  ${(0,$.foundationFlipperStyles)(e,a)}
1114
1116
  :host {
1115
1117
  --foreground-on-accent-rest: ${ie.white};
@@ -1133,7 +1135,7 @@
1133
1135
  ${ne.purple}
1134
1136
  );
1135
1137
  }
1136
- `,shadowOptions:$.foundationFlipperShadowOptions},$.defaultFlipperConfig)),Jr=s.css`
1138
+ `,shadowOptions:$.foundationFlipperShadowOptions},$.defaultFlipperConfig)),Kr=s.css`
1137
1139
  ${$.foundationFlyoutStyles}
1138
1140
  div.flyout {
1139
1141
  background-color: ${p.neutralLayer2};
@@ -1160,15 +1162,15 @@
1160
1162
  background-color: ${p.neutralFillHover};
1161
1163
  border-radius: 3px;
1162
1164
  }
1163
- `,Zr=$.defaultFlyoutConfig,Kr=$.foundationFlyoutShadowOptions;class Xr extends $.Flyout{}const et=Xr.compose(Object.assign({baseName:"flyout",shadowOptions:Kr,styles:Jr,template:$.foundationFlyoutTemplate},Zr));class at extends $.GridLayout{}const rt=at.compose(Object.assign({baseName:"grid-layout",shadowOptions:$.foundationGridLayoutShadowOptions,styles:$.foundationGridLayoutStyles,template:$.foundationGridLayoutTemplate},$.defaultGridLayoutConfig));class tt extends $.GridLayoutItem{}const ot=tt.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:$.foundationGridLayoutItemShadowOptions,template:$.foundationGridLayoutItemTemplate},$.defaultGridLayoutItemConfig));class it extends $.Icon{}const nt=$.defaultIconConfig,lt=$.foundationIconShadowOptions,gt=it.compose(Object.assign({baseName:"icon",template:$.foundationIconTemplate,styles:(e,a)=>s.css`
1165
+ `,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`
1164
1166
  ${(0,$.foundationIconStyles)(e,a)}
1165
- `,shadowOptions:lt},nt));class dt extends $.Listbox{}const st=dt.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,$.foundationListboxTemplate)(e,a),styles:(e,a)=>s.css`
1167
+ `,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`
1166
1168
  ${(0,$.foundationListboxStyles)(e,a)}
1167
1169
 
1168
1170
  :host {
1169
1171
  background: #1f2126;
1170
1172
  }
1171
- `,shadowOptions:$.foundationListboxShadowOptions},$.defaultListboxConfig));class ct extends $.ListboxOption{}const pt=ct.compose(Object.assign({baseName:"option",template:(e,a)=>(0,$.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>s.css`
1173
+ `,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`
1172
1174
  ${(0,$.foundationListboxOptionStyles)(e,a)}
1173
1175
  :host {
1174
1176
  background-color: ${ie.darkGrey};
@@ -1185,22 +1187,22 @@
1185
1187
  background-color: ${ie.darkerGrey};
1186
1188
  color: ${ne.blue};
1187
1189
  }
1188
- `,shadowOptions:$.foundationListboxOptionShadowOptions},$.defaultListboxOptionConfig)),ut=$.foundationMenuShadowOptions;class ht extends $.Menu{}const mt=ht.compose({baseName:"menu",template:$.foundationMenuTemplate,styles:(e,a)=>s.css`
1190
+ `,shadowOptions:$.foundationListboxOptionShadowOptions},$.defaultListboxOptionConfig)),mt=$.foundationMenuShadowOptions;class vt extends $.Menu{}const bt=vt.compose({baseName:"menu",template:$.foundationMenuTemplate,styles:(e,a)=>s.css`
1189
1191
  ${(0,$.foundationMenuStyles)(e,a)}
1190
1192
 
1191
1193
  :host {
1192
1194
  padding: 0;
1193
1195
  }
1194
- `,shadowOptions:ut}),vt=$.foundationMenuItemShadowOptions;class bt extends $.MenuItem{}const ft=bt.compose(Object.assign({baseName:"menu-item",template:$.foundationMenuItemTemplate,styles:(e,a)=>s.css`
1196
+ `,shadowOptions:mt}),ft=$.foundationMenuItemShadowOptions;class wt extends $.MenuItem{}const yt=wt.compose(Object.assign({baseName:"menu-item",template:$.foundationMenuItemTemplate,styles:(e,a)=>s.css`
1195
1197
  ${(0,$.foundationMenuItemStyles)(e,a)}
1196
1198
 
1197
1199
  :host {
1198
1200
  background: none;
1199
1201
  margin: 0;
1200
1202
  }
1201
- `,shadowOptions:vt},$.defaultMenuItemConfig)),wt=s.css`
1202
- ${tr}
1203
- `,yt=$.defaultModalConfig,xt=$.foundationModalTemplate,zt=$.foundationModalShadowOptions;class kt extends $.Modal{}const St=kt.compose(Object.assign({baseName:"modal",shadowOptions:zt,styles:wt,template:xt},yt)),Ct=s.css`
1203
+ `,shadowOptions:ft},$.defaultMenuItemConfig)),xt=s.css`
1204
+ ${ir}
1205
+ `,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`
1204
1206
  ${$.multiselectStyles}
1205
1207
 
1206
1208
  :host {
@@ -1208,7 +1210,7 @@
1208
1210
  }
1209
1211
 
1210
1212
  #display-field {
1211
- background: ${Ma};
1213
+ background: ${Na};
1212
1214
  }
1213
1215
 
1214
1216
  #display-field:focus {
@@ -1253,11 +1255,11 @@
1253
1255
  }
1254
1256
 
1255
1257
  .label {
1256
- color: ${Na};
1258
+ color: ${Ra};
1257
1259
  }
1258
- `,At=s.html`
1260
+ `,Dt=s.html`
1259
1261
  ${(0,$.getPrefixedMultiselect)("zero")}
1260
- `;class Tt extends $.Multiselect{}const Dt=$.defaultMultiselectConfig,Lt=$.foundationMultiselectShadowOptions,Ft=Tt.compose(Object.assign({baseName:"multiselect",template:At,styles:Ct,shadowOptions:Lt},Dt));class Mt extends $.NotificationListener{}const Ot=Mt.compose({baseName:"notification-listener",template:$.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Nt=(e,a)=>s.css`
1262
+ `;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`
1261
1263
  ${(0,$.foundationTextFieldStyles)(e,a)}
1262
1264
  :host {
1263
1265
  --primary-gradient-angle: -113.5deg;
@@ -1269,12 +1271,12 @@
1269
1271
  }
1270
1272
 
1271
1273
  :host .root {
1272
- border: calc(var(--stroke-width) * 1px) solid ${Ia};
1273
- background-color: ${Ma};
1274
+ border: calc(var(--stroke-width) * 1px) solid ${Pa};
1275
+ background-color: ${Na};
1274
1276
  }
1275
1277
 
1276
1278
  :host(:hover:not([disabled])) .root {
1277
- border-color: ${La};
1279
+ border-color: ${Ma};
1278
1280
  background: none;
1279
1281
  }
1280
1282
 
@@ -1291,7 +1293,7 @@
1291
1293
  ${ne.purple} 100%
1292
1294
  )
1293
1295
  bottom/100% 1px;
1294
- background-color: ${Ra};
1296
+ background-color: ${Ia};
1295
1297
  background-origin: border-box;
1296
1298
  background-repeat: no-repeat;
1297
1299
  border: 1px solid transparent;
@@ -1301,15 +1303,15 @@
1301
1303
  }
1302
1304
 
1303
1305
  .label {
1304
- color: ${Na};
1306
+ color: ${Ra};
1305
1307
  margin: calc(var(--design-unit) * 2px) 0;
1306
1308
  }
1307
- `;class $t extends $.NumberField{}const Rt=$.defaultNumberFieldConfig,jt=$.foundationNumberFieldTemplate,It=$.foundationNumberFieldShadowOptions,Et=$t.compose(Object.assign({baseName:"number-field",template:jt,styles:(e,a)=>s.css`
1309
+ `;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`
1308
1310
  :host .root {
1309
1311
  --focus-stroke-outer: transparent;
1310
1312
  }
1311
- ${Nt(e,a)}
1312
- `,shadowOptions:It},Rt));class Pt extends $.Progress{}const Ut=Pt.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,$.foundationProgressTemplate)(e,a),styles:(e,a)=>s.css`
1313
+ ${Rt(e,a)}
1314
+ `,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`
1313
1315
  ${(0,$.foundationProgressStyles)(e,a)}
1314
1316
  :host([appearance="secondary-teal"]) {
1315
1317
  --accent-foreground-rest: ${le.teal};
@@ -1318,7 +1320,7 @@
1318
1320
  :host([appearance='secondary-orange']) {
1319
1321
  --accent-foreground-rest: ${le.orange};
1320
1322
  }
1321
- `,shadowOptions:$.foundationProgressShadowOptions},$.defaultProgressConfig));class Bt extends $.ProgressRing{}const Gt={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 `},Ht=Bt.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>s.html`
1323
+ `,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`
1322
1324
  <template
1323
1325
  role="progressbar"
1324
1326
  aria-valuenow="${e=>e.value}"
@@ -1356,7 +1358,7 @@
1356
1358
  .indeterminate-indicator-1, .determinate {
1357
1359
  stroke: ${"url(#linear)"};
1358
1360
  }
1359
- `,shadowOptions:$.foundationProgressRingShadowOptions},Gt));class _t extends $.Radio{}const Vt=_t.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,$.foundationRadioTemplate)(e,a),styles:(e,a)=>s.css`
1361
+ `,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`
1360
1362
  ${(0,$.foundationRadioStyles)(e,a)}
1361
1363
  :host {
1362
1364
  --primary-gradient-angle: -113.5deg;
@@ -1388,12 +1390,12 @@
1388
1390
  ${ne.purple}
1389
1391
  );
1390
1392
  }
1391
- `,shadowOptions:$.foundationRadioShadowOptions},$.defaultRadioConfig));class Yt extends $.RadioGroup{}const Qt=Yt.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,$.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>s.css`
1393
+ `,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`
1392
1394
  ${(0,$.foundationRadioGroupStyles)(e,a)}
1393
1395
  :host([appearance="accent"]) {
1394
1396
  background: green;
1395
1397
  }
1396
- `,shadowOptions:$.foundationRadioGroupShadowOptions},$.defaultRadioGroupConfig));class qt extends $.SegmentedControl{}const Wt=qt.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,$.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>s.css`
1398
+ `,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`
1397
1399
  ${(0,$.foundationSegmentedControlStyles)(e,a)}
1398
1400
  :host {
1399
1401
  --primary-gradient-angle: -113.5deg;
@@ -1432,7 +1434,7 @@
1432
1434
  border-color: transparent;
1433
1435
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
1434
1436
  }
1435
- `,shadowOptions:undefined},{}));class Jt extends $.Radio{}const Zt=Jt.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,$.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>s.css`
1437
+ `,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`
1436
1438
  ${(0,$.foundationSegmentedItemStyles)(e,a)}
1437
1439
  :host {
1438
1440
  color: var(--neutral-stroke-rest);
@@ -1442,14 +1444,14 @@
1442
1444
  :host([aria-checked='true']) {
1443
1445
  color: ${ie.white};
1444
1446
  }
1445
- `,shadowOptions:undefined},{}));class Kt extends $.Select{}const Xt=Kt.compose(Object.assign({baseName:"select",template:(e,a)=>(0,$.foundationSelectTemplate)(e,a),styles:(e,a)=>s.css`
1447
+ `,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`
1446
1448
  ${(0,$.foundationSelectStyles)(e,a)}
1447
1449
  :host {
1448
1450
  --primary-gradient-angle: -113.5deg;
1449
1451
 
1450
1452
  border-radius: calc(var(--control-corner-radius) * 1px);
1451
- border-color: ${Ia};
1452
- background: ${Ma};
1453
+ border-color: ${Pa};
1454
+ background: ${Na};
1453
1455
  }
1454
1456
 
1455
1457
  :host(:focus-within:not([disabled])) {
@@ -1473,8 +1475,8 @@
1473
1475
  }
1474
1476
 
1475
1477
  :host(:hover:not([disabled]):not(.open)) {
1476
- border-color: ${La};
1477
- background: ${Ma};
1478
+ border-color: ${Ma};
1479
+ background: ${Na};
1478
1480
  }
1479
1481
 
1480
1482
  :host([open][position='below']) .listbox {
@@ -1485,15 +1487,15 @@
1485
1487
  }
1486
1488
 
1487
1489
  :host([open]) .control {
1488
- background: ${Ra};
1490
+ background: ${Ia};
1489
1491
  }
1490
1492
 
1491
1493
  :host(:not([disabled])) .control:active {
1492
1494
  background: none;
1493
1495
  }
1494
- `,shadowOptions:$.foundationSelectShadowOptions},$.defaultSelectConfig));class eo extends $.Skeleton{}const ao=eo.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,$.foundationSkeletonTemplate)(e,a),styles:(e,a)=>s.css`
1496
+ `,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`
1495
1497
  ${(0,$.foundationSkeletonStyles)(e,a)}
1496
- `,shadowOptions:$.foundationSkeletonShadowOptions},$.defaultSkeletonConfig));class ro extends $.Slider{}const to=ro.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,$.foundationSliderTemplate)(e,a),styles:(e,a)=>s.css`
1498
+ `,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`
1497
1499
  ${(0,$.foundationSliderStyles)(e,a)}
1498
1500
  :host {
1499
1501
  --primary-gradient-angle: -113.5deg;
@@ -1550,7 +1552,7 @@
1550
1552
  .track-progress {
1551
1553
  background-color: var(--neutral-stroke-rest);
1552
1554
  }
1553
- `,shadowOptions:$.foundationSliderShadowOptions},$.defaultSliderConfig)),oo=s.css`
1555
+ `,shadowOptions:$.foundationSliderShadowOptions},$.defaultSliderConfig)),no=s.css`
1554
1556
  ${$.foundationSnackbarStyles}
1555
1557
  .snackbar {
1556
1558
  border: calc(var(--stroke-width) * 1px) solid ${p.neutralLayer2};
@@ -1560,7 +1562,7 @@
1560
1562
  :host([type='error']) .snackbar::after {
1561
1563
  background-color: ${We(1)};
1562
1564
  }
1563
- `,io=s.html`
1565
+ `,lo=s.html`
1564
1566
  <div class="snackbar ${e=>e.deleteAnimation}" ${(0,s.ref)("snackbar")}>
1565
1567
  <div part="content" class="content">
1566
1568
  <div>${e=>{var a;return(null===(a=e.error)||void 0===a?void 0:a.errorDetails)||"Place holder for error message"}}</div>
@@ -1577,7 +1579,7 @@
1577
1579
  `)}
1578
1580
  </div>
1579
1581
  </div>
1580
- `,no=$.foundationSnackbarShadowOptions;class lo extends $.Snackbar{}const go=lo.compose({baseName:"snackbar",shadowOptions:no,styles:oo,template:io});class so extends $.Switch{}const co=so.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,$.foundationSwitchTemplate)(e,a),styles:(e,a)=>s.css`
1582
+ `,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`
1581
1583
  ${(0,$.foundationSwitchStyles)(e,a)}
1582
1584
  :host {
1583
1585
  --primary-gradient-angle: -113.5deg;
@@ -1622,7 +1624,7 @@
1622
1624
  ${ne.purple}
1623
1625
  );
1624
1626
  }
1625
- `,shadowOptions:$.foundationSwitchShadowOptions},$.defaultSwitchConfig));class po extends $.Tab{}const uo=po.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,$.foundationTabTemplate)(e,a),styles:(e,a)=>s.css`
1627
+ `,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`
1626
1628
  ${(0,$.foundationTabStyles)(e,a)}
1627
1629
  :host {
1628
1630
  background-color: ${p.neutralLayer2};
@@ -1646,12 +1648,12 @@
1646
1648
  margin-right: 0;
1647
1649
  background-color: var(--zero-card-fill-color);
1648
1650
  }
1649
- `,shadowOptions:$.foundationTabShadowOptions},$.defaultTabConfig));class ho extends $.TabPanel{}const mo=ho.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,$.foundationTabPanelTemplate)(e,a),styles:(e,a)=>s.css`
1651
+ `,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`
1650
1652
  ${(0,$.foundationTabPanelStyles)(e,a)}
1651
1653
  :host {
1652
1654
  padding: 0;
1653
1655
  }
1654
- `,shadowOptions:$.foundationTabPanelShadowOptions},$.defaultTabPanelConfig));class vo extends $.Tabs{}const bo=vo.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,$.foundationTabsTemplate)(e,a),styles:(e,a)=>s.css`
1656
+ `,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`
1655
1657
  ${(0,$.foundationTabsStyles)(e,a)}
1656
1658
  :host .tablist {
1657
1659
  padding: 0;
@@ -1697,7 +1699,7 @@
1697
1699
  height: 2px;
1698
1700
  margin-top: 0;
1699
1701
  }
1700
- `,shadowOptions:$.foundationTabsShadowOptions},$.defaultTabsConfig));class fo extends $.TextArea{}const wo=fo.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,$.foundationTextAreaTemplate)(e,a),styles:(e,a)=>s.css`
1702
+ `,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`
1701
1703
  ${(0,$.foundationTextAreaStyles)(e,a)}
1702
1704
  :host {
1703
1705
  --primary-gradient-angle: -113.5deg;
@@ -1705,14 +1707,14 @@
1705
1707
 
1706
1708
  :host .control {
1707
1709
  height: 100%;
1708
- background-color: ${Ma};
1709
- border: calc(var(--stroke-width) * 1px) solid ${Ia};
1710
+ background-color: ${Na};
1711
+ border: calc(var(--stroke-width) * 1px) solid ${Pa};
1710
1712
  border-radius: calc(var(--control-corner-radius) * 1px);
1711
1713
  }
1712
1714
 
1713
1715
  :host(:hover:not([disabled])) .control {
1714
- border-color: ${La};
1715
- background: ${Ma};
1716
+ border-color: ${Ma};
1717
+ background: ${Na};
1716
1718
  }
1717
1719
 
1718
1720
  :host(:focus-within:not([disabled])) .control {
@@ -1733,15 +1735,15 @@
1733
1735
  border: 1px solid transparent;
1734
1736
  border-right-color: ${ne.blue};
1735
1737
  border-left-color: ${ne.purple};
1736
- background-color: ${Ra};
1738
+ background-color: ${Ia};
1737
1739
  box-shadow: none;
1738
1740
  }
1739
1741
 
1740
1742
  .label {
1741
- color: ${Na};
1743
+ color: ${Ra};
1742
1744
  margin: calc(var(--design-unit) * 2px) 0;
1743
1745
  }
1744
- `,shadowOptions:$.foundationTextAreaShadowOptions},$.defaultTextAreaConfig));class yo extends $.TextField{}const xo=yo.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,$.foundationTextFieldTemplate)(e,a),styles:Nt,shadowOptions:$.foundationTextFieldShadowOptions},$.defaultTextFieldConfig)),zo=s.css`
1746
+ `,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`
1745
1747
  ${$.foundationToastStyles}
1746
1748
  .toast {
1747
1749
  border: calc(var(--stroke-width) * 1px) solid ${p.neutralLayer3};
@@ -1767,11 +1769,11 @@
1767
1769
  :host([notify='serious']) .toast::after {
1768
1770
  background-color: ${_e(1)};
1769
1771
  }
1770
- `,ko=$.defaultToastConfig,So=$.foundationToastShadowOptions;class Co extends $.Toast{}const Ao=Co.compose(Object.assign({baseName:"toast",shadowOptions:So,styles:zo,template:$.foundationToastTemplate},ko));class To extends $.Toolbar{}const Do=To.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,$.foundationToolbarTemplate)(e,a),styles:(e,a)=>s.css`
1772
+ `,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`
1771
1773
  ${(0,$.foundationToolbarStyles)(e,a)}
1772
- `,shadowOptions:$.foundationToolbarShadowOptions},$.defaultToolbarConfig));class Lo extends $.Tooltip{}const Fo=Lo.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,$.foundationTooltipTemplate)(e,a),styles:(e,a)=>s.css`
1774
+ `,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`
1773
1775
  ${(0,$.foundationTooltipStyles)(e,a)}
1774
- `,shadowOptions:$.foundationTooltipShadowOptions},$.defaultTooltipConfig));class Mo extends $.TreeItem{}const Oo=Mo.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,$.foundationTreeItemTemplate)(e,a),styles:(e,a)=>s.css`
1776
+ `,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`
1775
1777
  ${(0,$.foundationTreeItemStyles)(e,a)}
1776
1778
  :host {
1777
1779
  --primary-gradient-angle: -113.5deg;
@@ -1798,9 +1800,9 @@
1798
1800
  background-size: cover;
1799
1801
  background-repeat: no-repeat;
1800
1802
  }
1801
- `,shadowOptions:$.foundationTreeItemShadowOptions},$.defaultTreeItemConfig));class No extends $.TreeView{}const $o=No.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,$.foundationTreeViewTemplate)(e,a),styles:(e,a)=>s.css`
1803
+ `,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`
1802
1804
  ${(0,$.foundationTreeViewStyles)(e,a)}
1803
- `,shadowOptions:$.foundationTreeViewShadowOptions},$.defaultTreeViewConfig)),Ro=s.html`
1805
+ `,shadowOptions:$.foundationTreeViewShadowOptions},$.defaultTreeViewConfig)),Io=s.html`
1804
1806
  <div class="container" value=${e=>e.value}>
1805
1807
  <zero-text-field
1806
1808
  class="url-input"
@@ -1816,7 +1818,7 @@
1816
1818
  <a class="url-input-link" href=${e=>e.value} target="_blank">${e=>e.value}</a>
1817
1819
  `)}
1818
1820
  </div>
1819
- `;class jo extends $.TextField{constructor(){super(...arguments),this.value=""}saveUrl(e){this.value=e.startsWith("http")?e:"https://"+e,this.focused=!1}focus(){this.focused=!0}}(0,Wa.__decorate)([s.observable],jo.prototype,"value",void 0),(0,Wa.__decorate)([s.observable],jo.prototype,"focused",void 0);const Io={zeroAccordion:Ae,zeroAccordionItem:De,zeroActionsMenu:Fe,zeroAnchor:ca,zeroBadge:ua,zeroBanner:ba,zeroBreadcrumbItem:xa,zeroBreadcrumb:wa,zeroButton:ka,zeroCard:Ca,zeroCheckbox:Ta,zeroCombobox:Ua,zeroConnectionIndicator:Ga,zeroDataGrid:Ya,zeroDesignSystemProvider:er,zeroDialog:gr,zeroDatePicker:qa,zeroDisclosure:sr,zeroDivider:pr,zeroDropdownMenu:hr,zeroErrorBoundary:yr,zeroNotificationListener:Ot,zeroErrorBanner:fr,zeroErrorDialog:zr,zeroFileUpload:Dr,zeroFilter:Pr,zeroFilterBar:Vr,zeroFlexLayout:Qr,zeroFlipper:Wr,zeroFlyout:et,zeroGridLayout:rt,zeroGridLayoutItem:ot,zeroIcon:gt,zeroListbox:st,zeroListboxOption:pt,zeroMenu:mt,zeroMenuItem:ft,zeroModal:St,zeroMultiselect:Ft,zeroNumberField:Et,zeroProgress:Ut,zeroProgressRing:Ht,zeroRadio:Vt,zeroRadioGroup:Qt,zeroSegmentedControl:Wt,zeroSegmentedItem:Zt,zeroSelect:Xt,zeroSkeleton:ao,zeroSlider:to,zeroSnackbar:go,zeroSwitch:co,zeroTab:uo,zeroTabPanel:mo,zeroTabs:bo,zeroTextArea:wo,zeroTextField:xo,zeroToast:Ao,zeroToolbar:Do,zeroTooltip:Fo,zeroTreeItem:Oo,zeroTreeView:$o,zeroUrlInput:jo.compose(Object.assign({baseName:"url-input",template:Ro,styles:(e,a)=>s.css`
1821
+ `;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`
1820
1822
  ${(0,$.foundationUrlInputStyles)(e,a)}
1821
1823
  a {
1822
1824
  color: ${ne.blue};
@@ -1826,7 +1828,7 @@
1826
1828
  a:hover {
1827
1829
  opacity: 100%;
1828
1830
  }
1829
- `,shadowOptions:$.foundationUrlInputShadowOptions},$.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Eo=r(80249);const Po=(0,g.createLogger)("grid-pro");class Uo 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){Po.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Eo.__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,Eo.__decorate)([s.observable],Uo.prototype,"params",void 0),(0,Eo.__decorate)([s.observable],Uo.prototype,"pendingAction",void 0);const{create:Bo}=c.DesignToken,Go=(Bo("action-height-multiplier").withDefault("0.6px"),s.css`
1831
+ `,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`
1830
1832
  .action-container {
1831
1833
  align-items: center;
1832
1834
  display: flex;
@@ -1841,8 +1843,8 @@
1841
1843
  var(--action-height-multiplier)
1842
1844
  );
1843
1845
  }
1844
- `),Ho=Uo.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1845
- ${Go}
1846
+ `),Vo=Go.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1847
+ ${_o}
1846
1848
  `,template:s.html`
1847
1849
  <div class="action-container" part="action-container">
1848
1850
  <foundation-button
@@ -1852,8 +1854,8 @@
1852
1854
  ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
1853
1855
  appearance="${e=>e.params.appearance}"
1854
1856
  @click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
1855
- </div>`});class _o extends Uo{}const Vo=_o.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1856
- ${Go}
1857
+ </div>`});class Yo extends Go{}const Qo=Yo.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1858
+ ${_o}
1857
1859
  `,template:s.html`
1858
1860
  <div class="action-container" part="action-container">
1859
1861
  <zero-button
@@ -1869,29 +1871,29 @@
1869
1871
  `:e.params.actionName}
1870
1872
  </zero-button>
1871
1873
  </div>
1872
- `});class Yo extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Eo.__decorate)([s.observable],Yo.prototype,"params",void 0);const Qo=Yo.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1874
+ `});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`
1873
1875
  <foundation-actions-menu
1874
1876
  name="${e=>e.params.headerName}"
1875
1877
  :definition=${e=>e.params}
1876
1878
  ></foundation-actions-menu>
1877
- `});class qo extends Yo{}const Wo=qo.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1879
+ `});class Jo extends qo{}const Zo=Jo.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1878
1880
  <zero-actions-menu
1879
1881
  name="${e=>e.params.headerName}"
1880
1882
  :definition=${e=>e.params}
1881
1883
  ></zero-actions-menu>
1882
- `});class Jo extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Eo.__decorate)([s.observable],Jo.prototype,"params",void 0);const Zo=s.css`
1884
+ `});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`
1883
1885
  :host {
1884
1886
  align-center: center;
1885
1887
  display: flex;
1886
1888
  height: 100%;
1887
1889
  }
1888
- `,Ko=(e="foundation")=>{const a=`${e}-checkbox`;return s.html`
1890
+ `,ei=(e="foundation")=>{const a=`${e}-checkbox`;return s.html`
1889
1891
  <${a}
1890
1892
  @change="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.changeHandler(e.params)}}"
1891
1893
  checked="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.value}}"
1892
1894
  readonly="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.readonly}}"
1893
1895
  ></${a}>
1894
- `},Xo=Jo.compose({baseName:"boolean-renderer",styles:Zo,template:Ko()});class ei extends Jo{}const ai=ei.compose({baseName:"boolean-renderer",styles:Zo,template:Ko("zero")}),ri=(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 ti 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?ri(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,Eo.__decorate)([s.observable],ti.prototype,"textValue",void 0),(0,Eo.__decorate)([s.observable],ti.prototype,"params",void 0);const oi=s.css`
1896
+ `},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`
1895
1897
  :host {
1896
1898
  display: flex;
1897
1899
  width: 100%;
@@ -1901,7 +1903,7 @@
1901
1903
  .text-renderer {
1902
1904
  width: 100%;
1903
1905
  }
1904
- `,ii=(e="foundation")=>{const a=`${e}-text-field`;return s.html`
1906
+ `,li=(e="foundation")=>{const a=`${e}-text-field`;return s.html`
1905
1907
  <${a}
1906
1908
  ${(0,s.ref)("textField")}
1907
1909
  type="text"
@@ -1909,7 +1911,7 @@
1909
1911
  :value="${(0,g.sync)((e=>e.textValue))}"
1910
1912
  @change="${(e,a)=>e.textChanged(a.event)}"
1911
1913
  ></${a}>
1912
- `},ni=ti.compose({baseName:"grid-pro-text-renderer",styles:oi,template:ii()});class li extends ti{}const gi=oi,di=ii,si=li.compose({baseName:"grid-text-renderer",styles:gi,template:di()});const ci=class extends li{}.compose({baseName:"grid-text-renderer",styles:gi,template:di("zero")});class pi 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=ri(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Eo.__decorate)([s.observable],pi.prototype,"params",void 0),(0,Eo.__decorate)([s.observable],pi.prototype,"value",void 0);const ui=s.css`
1914
+ `},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`
1913
1915
  :host,
1914
1916
  .select-renderer,
1915
1917
  zero-option,
@@ -1918,7 +1920,7 @@
1918
1920
  max-width: var(--select-renderer-max-width);
1919
1921
  min-width: 100%;
1920
1922
  }
1921
- `,hi=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return s.html`
1923
+ `,vi=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return s.html`
1922
1924
  <${a}
1923
1925
  class="select-renderer"
1924
1926
  @change=${(e,a)=>e.selectionChanged(a.event)}
@@ -1934,19 +1936,19 @@
1934
1936
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
1935
1937
  `)}
1936
1938
  </${a}>
1937
- `},mi=pi.compose({baseName:"select-renderer",styles:ui,template:hi()});const vi=class extends pi{}.compose({baseName:"select-renderer",styles:ui,template:hi("zero")});var bi=r(89861),fi=r(59783),wi=r(86534),yi=r(75527);const xi=s.html`
1939
+ `},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`
1938
1940
  <template>
1939
1941
  <slot ${(0,s.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
1940
1942
  </template>
1941
- `;let zi=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,Eo.__decorate)([s.observable],zi.prototype,"renderer",void 0),(0,Eo.__decorate)([s.observable],zi.prototype,"rendererParams",void 0),(0,Eo.__decorate)([s.observable],zi.prototype,"slottedRenderer",void 0),zi=(0,Eo.__decorate)([(0,s.customElement)({name:"grid-pro-cell",template:xi})],zi);const ki=s.html`
1943
+ `;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`
1942
1944
  <template>
1943
1945
  <slot ${(0,s.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
1944
1946
  </template>
1945
- `;let Si=class extends c.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};var Ci,Ai;(0,Eo.__decorate)([s.observable],Si.prototype,"slottedAgCell",void 0),(0,Eo.__decorate)([s.observable],Si.prototype,"definition",void 0),Si=(0,Eo.__decorate)([(0,s.customElement)({name:"grid-pro-column",template:ki})],Si),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"}(Ci||(Ci={})),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"}(Ai||(Ai={}));const Ti=e=>`${e}-token-map`,Di=(e,a)=>s.css`
1946
- .${Ti(e)} {
1947
+ `;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`
1948
+ .${Li(e)} {
1947
1949
  ${new $.CSSVarsTokenMapper(a)}
1948
1950
  }
1949
- `;var Li;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.text="text",e.select="select"}(Li||(Li={}));const Fi='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL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Q3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Mi='\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/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKwiysi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+BWjIkbQpN/tnTALgAc7vDgx1qfjJv5u2LAzD6BbU37mdkSLdSf0dxr/7wGZfCIRm4QAk+T/hPz4obRlcNVfMDRbivHnAf0dKvvBBU9agR+tgN2OI0gMN5QV7SP3X4k4KtnOEIWYAiOBM19wg2rAALFxAASYMHZFUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+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',Oi={[Ai.alpine]:Fi,[Ai.alpineDark]:Fi,[Ai.balham]:Mi,[Ai.balhamDark]:Mi,[Ai.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF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$i=r(82940),Ri=r(32449),ji=r(9162),Ii=r(5127),Ei=r(83123),Pi=r(43752),Ui=r(26714),Bi=r(71452),Gi=r(99449),Hi=r(30526);function _i(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Vi({value:e}){return(0,g.formatDateTimestamp)(e)}function Yi({value:e}){return(0,g.formatDateTimeTimestamp)(e)}let Qi=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=$i.WJ.MAX_ROWS_250,this.maxView=$i.WJ.MAX_VIEW_1000,this.pollingInterval=$i.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 Ui.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Ri.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?$i.WJ.REQUEST_SERVER_ROW_ID:$i.WJ.DATASERVER_ROW_ID}init(){return(0,Eo.__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===$i._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,Eo.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Bi.T)(1),(0,Gi.b)(r),(0,Hi.b)((e=>Po.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Po.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 Ui.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,Eo.__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,Eo.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Po.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 Po.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===ji.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Ii.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Ii.$)(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 Po.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 Ei.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Li.boolean);break;case Ei.r.DATE:r.valueFormatter=Vi;break;case Ei.r.DATETIME:r.valueFormatter=Yi}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,Ri.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,Eo.__decorate)([l.lj],Qi.prototype,"connect",void 0),(0,Eo.__decorate)([Pi.Yh],Qi.prototype,"datasource",void 0),(0,Eo.__decorate)([s.observable],Qi.prototype,"deferredGridOptions",void 0),(0,Eo.__decorate)([s.attr],Qi.prototype,"criteria",void 0),(0,Eo.__decorate)([s.attr],Qi.prototype,"fields",void 0),(0,Eo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],Qi.prototype,"isSnapshot",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"max-rows"})],Qi.prototype,"maxRows",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"max-view"})],Qi.prototype,"maxView",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"polling-interval"})],Qi.prototype,"pollingInterval",void 0),(0,Eo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"moving-view"})],Qi.prototype,"movingView",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"order-by"})],Qi.prototype,"orderBy",void 0),(0,Eo.__decorate)([s.observable],Qi.prototype,"request",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"resource-name"})],Qi.prototype,"resourceName",void 0),(0,Eo.__decorate)([(0,s.attr)({mode:"boolean"})],Qi.prototype,"reverse",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"row-id"})],Qi.prototype,"rowIdAttr",void 0),(0,Eo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Qi.prototype,"restartOnReconnection",void 0),(0,Eo.__decorate)([s.observable],Qi.prototype,"rowDataMapper",void 0),Qi=(0,Eo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource"})],Qi);var qi=r(66306),Wi=r(47546);class Ji{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,Eo.__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,Wi.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===ji.Cs.LOGOFF_ACK||o===ji.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,a.ROW){const e=(0,Ii.$)(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=>Po.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,Eo.__decorate)([l.lj],Ji.prototype,"connect",void 0);let Zi=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=$i.WJ.MAX_ROWS_250,this.maxView=$i.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,Ri.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,Eo.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Po.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,qi.C)(e);const a=(0,qi.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new Ji({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});Po.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));Po.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 Po.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,Eo.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Po.debug(e)),(e=>Po.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 Ei.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Li.boolean);break;case Ei.r.DATE:r.valueFormatter=Vi;break;case Ei.r.DATETIME:r.valueFormatter=Yi}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:_i(e.type),filter:(e.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(a)}};(0,Eo.__decorate)([l.lj],Zi.prototype,"connect",void 0),(0,Eo.__decorate)([s.attr],Zi.prototype,"criteria",void 0),(0,Eo.__decorate)([s.attr],Zi.prototype,"fields",void 0),(0,Eo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],Zi.prototype,"isSnapshot",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"max-rows"})],Zi.prototype,"maxRows",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"max-view"})],Zi.prototype,"maxView",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"moving-view"})],Zi.prototype,"movingView",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"order-by"})],Zi.prototype,"orderBy",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"resource-name"})],Zi.prototype,"resourceName",void 0),(0,Eo.__decorate)([(0,s.attr)({mode:"boolean"})],Zi.prototype,"pagination",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"row-id"})],Zi.prototype,"rowId",void 0),(0,Eo.__decorate)([(0,s.attr)({mode:"boolean"})],Zi.prototype,"reverse",void 0),Zi=(0,Eo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource-next"})],Zi);const Ki=s.css`
1951
+ `;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+VPMsnNEtBMGFedL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n6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+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/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4Oh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wR8AI2WBEFne8bZ0xzW2VXY1V/6706+BWjIkbQpN/tnTALgAc7vDgx1qfjJv5u2LAzD6BbU37mdkSLdSf0dxr/7wGZfCIRm4QAk+T/hPz4obRlcNVfMDRbivHnAf0dKvvBBU9agR+tgN2OI0gMN5QV7SP3X4k4KtnOEIWYAiOBM19wg2rAALFxAASYMHZFUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+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+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQ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-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`
1950
1952
  .ag-icon {
1951
1953
  font-family: var(--ag-icon-font-family);
1952
1954
  font-size: var(--ag-icon-size);
@@ -9110,7 +9112,7 @@
9110
9112
  input[class^='ag-'][type='range']:disabled {
9111
9113
  opacity: 0.5;
9112
9114
  }
9113
- `,Xi=s.css`
9115
+ `,an=s.css`
9114
9116
  .ag-dnd-ghost {
9115
9117
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9116
9118
  border: solid 1px;
@@ -9127,7 +9129,7 @@
9127
9129
  overflow: hidden;
9128
9130
  text-overflow: ellipsis;
9129
9131
  }
9130
- `,en=s.css`
9132
+ `,rn=s.css`
9131
9133
  .ag-theme-alpine,
9132
9134
  .ag-theme-alpine-dark {
9133
9135
  --ag-alpine-active-color: #2196f3;
@@ -9577,7 +9579,7 @@
9577
9579
  .ag-theme-alpine-dark {
9578
9580
  color-scheme: dark;
9579
9581
  }
9580
- `,an=s.css`
9582
+ `,tn=s.css`
9581
9583
  .ag-theme-balham,
9582
9584
  .ag-theme-balham-dark {
9583
9585
  --ag-balham-active-color: #0091ea;
@@ -9847,7 +9849,7 @@
9847
9849
  .ag-theme-balham-dark {
9848
9850
  color-scheme: dark;
9849
9851
  }
9850
- `,rn=s.css`
9852
+ `,on=s.css`
9851
9853
  .ag-theme-material {
9852
9854
  --ag-material-primary-color: #3f51b5;
9853
9855
  --ag-material-accent-color: #ff4081;
@@ -10112,14 +10114,14 @@
10112
10114
  .ag-theme-material .ag-picker-field-wrapper:focus {
10113
10115
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10114
10116
  }
10115
- `,tn=s.css`
10116
- ${Ki}
10117
- ${Xi}
10117
+ `,nn=s.css`
10118
10118
  ${en}
10119
10119
  ${an}
10120
10120
  ${rn}
10121
- `,on=s.css`
10122
10121
  ${tn}
10122
+ ${on}
10123
+ `,ln=s.css`
10124
+ ${nn}
10123
10125
  :host {
10124
10126
  width: 100%;
10125
10127
  height: 100%;
@@ -10146,14 +10148,14 @@
10146
10148
  .ag-cell-inline-editing {
10147
10149
  height: inherit !important;
10148
10150
  }
10149
- `,nn=s.html`
10151
+ `,gn=s.html`
10150
10152
  <template>
10151
10153
  <span part="grid" class="${e=>e.classNames}">
10152
10154
  <slot name="grid" ${(0,s.ref)("gridSlot")}></slot>
10153
10155
  <slot></slot>
10154
10156
  </span>
10155
10157
  </template>
10156
- `;fi.O3h.registerModules([wi.jM,bi.I]);const ln=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class gn extends((0,g.LifecycleMixin)(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Ur.A)(Ti(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.enabledRowFlashing=!1,this.enableCellFlashing=!1,this.gridAutosizingEnabled=!1,this.gridFontFace=Ni,this.columnComponentName="grid-pro-column",this.theme=Ai.alpine,this.rehydrationAttempted=!1,this.agAttributes={},this.agPropertiesMap=fi.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[ln(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&(0,g.respondToVisibility)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&fi.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(ln(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={[Li.action]:Uo,[Li.actionsMenu]:Yo,[Li.boolean]:Jo};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,Eo.__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),fi.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 fi.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}enableFlashingRows(){this.enabledRowFlashing&&this.gridApi.addEventListener(fi.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=fi.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=fi.plv.ALL_PROPERTIES.map((e=>ln(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},fi.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=Oi[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,Eo.__decorate)([s.observable],gn.prototype,"columnApi",void 0),(0,Eo.__decorate)([s.observable],gn.prototype,"gridApi",void 0),(0,Eo.__decorate)([yi.z],gn.prototype,"session",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],gn.prototype,"autoCellRendererByType",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],gn.prototype,"onlyTemplateColDefs",void 0),(0,Eo.__decorate)([(0,s.attr)({mode:"boolean"})],gn.prototype,"enabledRowFlashing",void 0),(0,Eo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],gn.prototype,"enableCellFlashing",void 0),(0,Eo.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],gn.prototype,"persistColumnStateKey",void 0),(0,Eo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],gn.prototype,"gridAutosizingEnabled",void 0),(0,Eo.__decorate)([s.observable],gn.prototype,"gridFontFace",void 0),(0,Eo.__decorate)([s.attr],gn.prototype,"columnComponentName",void 0),(0,Eo.__decorate)([s.observable],gn.prototype,"eventsAndCallbacks",void 0),(0,Eo.__decorate)([s.attr],gn.prototype,"headerHeight",void 0),(0,Eo.__decorate)([s.attr],gn.prototype,"rowHeight",void 0),(0,Eo.__decorate)([s.attr],gn.prototype,"theme",void 0),(0,Eo.__decorate)([s.observable],gn.prototype,"classNames",void 0),(0,Eo.__decorate)([s.observable],gn.prototype,"agGrid",void 0),(0,Eo.__decorate)([s.observable],gn.prototype,"gridSlot",void 0),(0,Eo.__decorate)([s.observable],gn.prototype,"gridComponents",void 0);const dn=void 0,sn={shadowOptions:void 0},cn=gn.compose(Object.assign({baseName:"grid-pro",styles:on,template:nn,shadowOptions:dn},sn)),pn={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"))},un={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:hn}=c.DesignToken,mn={backgroundColor:hn("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?un.backgroundSwatch:pn.backgroundSwatch)),borderColor:hn("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?un.borderSwatch:pn.borderSwatch)),foregroundColor:hn("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?un.foregroundSwatch:pn.foregroundSwatch)),headerForegroundColor:hn("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?un.headerForegroundSwatch:pn.headerForegroundSwatch)),rowHoverColor:hn("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?un.rowHoverSwatch:pn.rowHoverSwatch))},vn=s.css`
10158
+ `;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`
10157
10159
  .ag-theme-genesis-rapid,
10158
10160
  .ag-theme-genesis-rapid-dark {
10159
10161
  --ag-alpine-active-color: #2196f3;
@@ -10613,50 +10615,50 @@
10613
10615
  .ag-theme-genesis-rapid-dark {
10614
10616
  color-scheme: dark;
10615
10617
  }
10616
- `,bn={[Ci.backgroundColor]:mn.backgroundColor,[Ci.foregroundColor]:mn.foregroundColor,[Ci.oddRowBackgroundColor]:mn.backgroundColor,[Ci.headerBackgroundColor]:mn.backgroundColor,[Ci.headerForegroundColor]:mn.headerForegroundColor,[Ci.selectedRowBackgroundColor]:mn.rowHoverColor,[Ci.rowHoverColor]:mn.rowHoverColor,[Ci.borderColor]:mn.borderColor,[Ci.rowBorderColor]:mn.rowHoverColor,[Ci.modalOverlayBackgroundColor]:mn.backgroundColor,[Ci.inputFocusBoxShadow]:mn.headerForegroundColor,[Ci.inputFocusBorderColor]:mn.headerForegroundColor,[Ci.headerColumnResizeHandleColor]:mn.headerForegroundColor},fn="ag-theme-genesis-rapid",wn=s.css`
10617
- ${vn}
10618
- ${Di(fn,bn)}
10618
+ `,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`
10619
+ ${fn}
10620
+ ${Fi(yn,wn)}
10619
10621
 
10620
- .${fn} {
10622
+ .${yn} {
10621
10623
  ${ye()}
10622
10624
  }
10623
10625
 
10624
- .${fn} .ag-header {
10626
+ .${yn} .ag-header {
10625
10627
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10626
10628
  font-weight: bold;
10627
10629
  }
10628
10630
 
10629
- .${fn} .ag-root-wrapper {
10631
+ .${yn} .ag-root-wrapper {
10630
10632
  border-radius: calc(var(--control-corner-radius) * 1px);
10631
10633
  }
10632
- `,yn="ag-theme-genesis-rapid-dark",xn=s.css`
10633
- ${vn}
10634
- ${Di(yn,bn)}
10634
+ `,zn="ag-theme-genesis-rapid-dark",kn=s.css`
10635
+ ${fn}
10636
+ ${Fi(zn,wn)}
10635
10637
 
10636
- .${yn} {
10638
+ .${zn} {
10637
10639
  ${ye()}
10638
10640
  }
10639
10641
 
10640
- .${yn} .ag-header {
10642
+ .${zn} .ag-header {
10641
10643
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10642
10644
  font-weight: bold;
10643
10645
  }
10644
10646
 
10645
- .${yn} .ag-cell {
10647
+ .${zn} .ag-cell {
10646
10648
  line-height: var(--ag-line-height, 32px);
10647
10649
  }
10648
10650
 
10649
- .${yn} .ag-root-wrapper {
10651
+ .${zn} .ag-root-wrapper {
10650
10652
  border-radius: calc(var(--control-corner-radius) * 1px);
10651
10653
  }
10652
- `,zn=s.css`
10654
+ `,Sn=s.css`
10653
10655
  /* All the AG themes */
10654
- ${on}
10656
+ ${ln}
10655
10657
 
10656
10658
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
10657
- ${wn}
10658
10659
  ${xn}
10659
- `,kn=nn,Sn="ag-theme-genesis-rapid-dark";const Cn=sn,An={zeroAgActionRenderer:Vo,zeroAgActionsMenuRenderer:Wo,zeroAgBooleanRenderer:ai,zeroAgTextRenderer:ci,zeroAgSelectRenderer:vi,zeroGridPro:class extends gn{constructor(){super(...arguments),this.theme=Sn}themeChanged(e,a){(e||a===Sn)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Li.action]:_o,[Li.actionsMenu]:qo,[Li.boolean]:ei};(this.theme===fn||this.theme===yn)&&(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:kn,styles:zn,shadowOptions:undefined},Cn)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Tn={foundationGridProActionRenderer:Ho,foundationGridProActionsMenuRenderer:Qo,foundationAgBooleanRenderer:Xo,foundationAgTextRenderer:si,foundationAgTextFieldRenderer:ni,foundationAgSelectRenderer:mi,foundationGridPro:cn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Dn,Ln=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Dn||(Dn={}));const Fn={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'},Mn=Fn["Segoe UI"],On=s.css`
10660
+ ${kn}
10661
+ `,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`
10660
10662
  ${(0,c.display)("block")} :host {
10661
10663
  width: 100%;
10662
10664
  display: inline-flex;
@@ -10788,7 +10790,7 @@
10788
10790
  alpha-button {
10789
10791
  margin: 0;
10790
10792
  }
10791
- `,Nn=s.html`
10793
+ `,Rn=s.html`
10792
10794
  <template>
10793
10795
  <div class="configuration">
10794
10796
  <div class="row" id="designSystem">
@@ -11002,7 +11004,7 @@
11002
11004
  <slot></slot>
11003
11005
  </div>
11004
11006
  </template>
11005
- `,$n=({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(Fn).find((a=>Fn[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Rn=$n(Se),jn={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},In=$n(i.designTokens),En={zero:{prefix:"zero",tokenDefaults:Rn,buttons:jn},alpha:{prefix:"alpha",tokenDefaults:In,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:jn}};let Pn=class extends s.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Rn.luminance===p.StandardLuminance.DarkMode,this.luminance=Rn.luminance,this.neutralColor=Rn.neutralColor,this.accentColor=Rn.accentColor,this.bodyFont=Rn.bodyFont,this.density=Rn.density,this.borderRadius=Rn.borderRadius,this.strokeWidth=Rn.strokeWidth,this.designUnit=Rn.designUnit,this.baseFontSize=Rn.baseFontSize,this.baseLineHeight=Rn.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=$n(a);En.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Ln.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(En[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Ln.__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:En[this.ds].prefix,buttonAppearanceAccent:En[this.ds].buttons.accent,buttonAppearanceNeutral:En[this.ds].buttons.neutral,buttonAppearanceOutline:En[this.ds].buttons.outline};this.$emit(Dn.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(En[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Fn[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(Dn.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(Dn.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Ln.__decorate)([(0,s.attr)({mode:"boolean",attribute:"custom-design-mode"})],Pn.prototype,"customDesignMode",void 0),(0,Ln.__decorate)([s.observable],Pn.prototype,"designSystems",void 0),(0,Ln.__decorate)([s.observable],Pn.prototype,"ds",void 0),(0,Ln.__decorate)([s.attr],Pn.prototype,"darkMode",void 0),(0,Ln.__decorate)([s.observable],Pn.prototype,"neutralColor",void 0),(0,Ln.__decorate)([s.observable],Pn.prototype,"accentColor",void 0),(0,Ln.__decorate)([s.observable],Pn.prototype,"bodyFont",void 0),(0,Ln.__decorate)([s.observable],Pn.prototype,"density",void 0),(0,Ln.__decorate)([s.observable],Pn.prototype,"borderRadius",void 0),(0,Ln.__decorate)([s.observable],Pn.prototype,"strokeWidth",void 0),(0,Ln.__decorate)([s.observable],Pn.prototype,"designUnit",void 0),(0,Ln.__decorate)([s.observable],Pn.prototype,"baseFontSize",void 0),(0,Ln.__decorate)([s.observable],Pn.prototype,"baseLineHeight",void 0),(0,Ln.__decorate)([s.observable],Pn.prototype,"preserveOptions",void 0),Pn=(0,Ln.__decorate)([(0,s.customElement)({name:"design-system-editor",template:Nn,styles:On})],Pn);const Un=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},Bn=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Gn=(e,a)=>{const r=Un(e.neutralColor);p.neutralPalette.setValueFor(a,r);const t=Un(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,Bn(p.typeRampBaseFontSize,g.TypeRampValues.minusOne,a)),p.typeRampMinus1LineHeight.setValueFor(a,Bn(p.typeRampBaseLineHeight,g.TypeRampValues.minusOne,a)),p.typeRampMinus2FontSize.setValueFor(a,Bn(p.typeRampBaseFontSize,g.TypeRampValues.minusTwo,a)),p.typeRampMinus2LineHeight.setValueFor(a,Bn(p.typeRampBaseLineHeight,g.TypeRampValues.minusTwo,a)),p.typeRampPlus1FontSize.setValueFor(a,Bn(p.typeRampBaseFontSize,g.TypeRampValues.plusOne,a)),p.typeRampPlus1LineHeight.setValueFor(a,Bn(p.typeRampBaseLineHeight,g.TypeRampValues.plusOne,a)),p.typeRampPlus2FontSize.setValueFor(a,Bn(p.typeRampBaseFontSize,g.TypeRampValues.plusTwo,a)),p.typeRampPlus2LineHeight.setValueFor(a,Bn(p.typeRampBaseLineHeight,g.TypeRampValues.plusTwo,a)),p.typeRampPlus3FontSize.setValueFor(a,Bn(p.typeRampBaseFontSize,g.TypeRampValues.plusThree,a)),p.typeRampPlus3LineHeight.setValueFor(a,Bn(p.typeRampBaseLineHeight,g.TypeRampValues.plusThree,a)),p.typeRampPlus4FontSize.setValueFor(a,Bn(p.typeRampBaseFontSize,g.TypeRampValues.plusFour,a)),p.typeRampPlus4LineHeight.setValueFor(a,Bn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFour,a)),p.typeRampPlus5FontSize.setValueFor(a,Bn(p.typeRampBaseFontSize,g.TypeRampValues.plusFive,a)),p.typeRampPlus5LineHeight.setValueFor(a,Bn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFive,a)),p.typeRampPlus6FontSize.setValueFor(a,Bn(p.typeRampBaseFontSize,g.TypeRampValues.plusSix,a)),p.typeRampPlus6LineHeight.setValueFor(a,Bn(p.typeRampBaseLineHeight,g.TypeRampValues.plusSix,a))},Hn=s.css`
11007
+ `,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`
11006
11008
  :host {
11007
11009
  background: var(--fill-color);
11008
11010
  color: var(--neutral-foreground-rest);
@@ -11045,7 +11047,7 @@
11045
11047
  zero-design-system-provider {
11046
11048
  display: inline;
11047
11049
  }
11048
- `,_n=s.html`
11050
+ `,Yn=s.html`
11049
11051
  ${e=>{return a=e.prefix,s.html`
11050
11052
  <template>
11051
11053
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11246,7 +11248,7 @@
11246
11248
  </${a}-design-system-provider>
11247
11249
  </template>
11248
11250
  `;var a}}
11249
- `;let Vn=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(Dn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Dn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setDialogEventListeners(),p.bodyFont.withDefault(Mn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Gn(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,Ln.__decorate)([s.observable],Vn.prototype,"modal",void 0),(0,Ln.__decorate)([s.attr],Vn.prototype,"prefix",void 0),(0,Ln.__decorate)([s.observable],Vn.prototype,"buttonAppearanceAccent",void 0),(0,Ln.__decorate)([s.observable],Vn.prototype,"buttonAppearanceNeutral",void 0),(0,Ln.__decorate)([s.observable],Vn.prototype,"buttonAppearanceOutline",void 0),(0,Ln.__decorate)([s.observable],Vn.prototype,"provider",void 0),Vn=(0,Ln.__decorate)([(0,s.customElement)({name:"preview-components",template:_n,styles:Hn})],Vn);const Yn=s.css`
11251
+ `;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`
11250
11252
  .export {
11251
11253
  display: flex;
11252
11254
  justify-content: center;
@@ -11257,7 +11259,7 @@
11257
11259
  display: flex;
11258
11260
  justify-content: space-between;
11259
11261
  }
11260
- `,Qn=s.html`
11262
+ `,Wn=s.html`
11261
11263
  <template>
11262
11264
  <div class="export">
11263
11265
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -11278,7 +11280,7 @@
11278
11280
  </alpha-modal>
11279
11281
  </div>
11280
11282
  </template>
11281
- `;let qn=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(Dn.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Dn.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Ln.__decorate)([s.attr],qn.prototype,"value",void 0),(0,Ln.__decorate)([s.attr],qn.prototype,"tokensPath",void 0),qn=(0,Ln.__decorate)([(0,s.customElement)({name:"design-system-export",template:Qn,styles:Yn})],qn);const Wn=s.css`
11283
+ `;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`
11282
11284
  .colors {
11283
11285
  display: flex;
11284
11286
  flex-wrap: wrap;
@@ -11291,23 +11293,23 @@
11291
11293
  flex-grow: 1;
11292
11294
  height: 20px;
11293
11295
  }
11294
- `,Jn=s.html`
11296
+ `,Kn=s.html`
11295
11297
  <ul class="colors">
11296
11298
  ${(0,s.repeat)((e=>e.swatches),s.html`
11297
11299
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
11298
11300
  `)}
11299
11301
  </ul>
11300
- `;let Zn=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=Un(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Dn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Ln.__decorate)([s.observable],Zn.prototype,"swatches",void 0),(0,Ln.__decorate)([s.attr],Zn.prototype,"type",void 0),Zn=(0,Ln.__decorate)([(0,s.customElement)({name:"color-palette",styles:Wn,template:Jn})],Zn);const Kn=s.css`
11302
+ `;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`
11301
11303
  .preview {
11302
11304
  width: 40px;
11303
11305
  height: 40px;
11304
11306
  }
11305
- `,Xn=s.html`
11307
+ `,al=s.html`
11306
11308
  <div
11307
11309
  class="preview"
11308
11310
  style="background-color: ${e=>p[e.tokenName].createCSS()}"
11309
11311
  ></div>
11310
- `;let el=class extends s.FASTElement{};(0,Ln.__decorate)([s.attr],el.prototype,"tokenName",void 0),el=(0,Ln.__decorate)([(0,s.customElement)({name:"color-token",styles:Kn,template:Xn})],el);const al=s.css`
11312
+ `;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`
11311
11313
  .container {
11312
11314
  display: flex;
11313
11315
  width: 100%;
@@ -11355,7 +11357,7 @@
11355
11357
  .container > div:not(:last-child) {
11356
11358
  border-right: 1px solid #fafafa;
11357
11359
  }
11358
- `,rl=[{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"}]}]}],tl=s.html`
11360
+ `,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`
11359
11361
  <div class="row">
11360
11362
  <div
11361
11363
  class="preview"
@@ -11367,19 +11369,19 @@
11367
11369
  ${(e,a)=>p[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
11368
11370
  </div>
11369
11371
  </div>
11370
- `,ol=s.html`
11372
+ `,nl=s.html`
11371
11373
  <div class="container" ${(0,s.ref)("provider")}>
11372
- ${(0,s.repeat)((()=>rl),s.html`
11374
+ ${(0,s.repeat)((()=>ol),s.html`
11373
11375
  <div class="column">
11374
11376
  <h3 class="header-title">${e=>e.title}</h3>
11375
11377
  ${(0,s.repeat)((e=>e.subcategories),s.html`
11376
11378
  <h4>${e=>e.title}</h4>
11377
- ${(0,s.repeat)((e=>e.tokens),tl)}
11379
+ ${(0,s.repeat)((e=>e.tokens),il)}
11378
11380
  `)}
11379
11381
  </div>
11380
11382
  `)}
11381
11383
  </div>
11382
- `;let il=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Dn.STYLES_CHANGED,(e=>{const a=e.detail;Gn(a,this.provider)}))}};(0,Ln.__decorate)([s.observable],il.prototype,"provider",void 0),il=(0,Ln.__decorate)([(0,s.customElement)({name:"color-tokens",template:ol,styles:al})],il);const nl=s.css`
11384
+ `;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`
11383
11385
  table {
11384
11386
  background: var(--neutral-fill-rest);
11385
11387
  color: var(--neutral-foreground-rest);
@@ -11388,7 +11390,7 @@
11388
11390
  th {
11389
11391
  text-align: left;
11390
11392
  }
11391
- `,ll=s.html`
11393
+ `,dl=s.html`
11392
11394
  <table ${(0,s.ref)("provider")} style="font-family: ${()=>p.bodyFont.createCSS()}">
11393
11395
  <colgroup>
11394
11396
  <col style="width: 15%;" />
@@ -11616,7 +11618,7 @@
11616
11618
  </tr>
11617
11619
  </tbody>
11618
11620
  </table>
11619
- `;let gl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Dn.STYLES_CHANGED,(e=>{const a=e.detail;Gn(a,this.provider)}))}};(0,Ln.__decorate)([s.observable],gl.prototype,"provider",void 0),gl=(0,Ln.__decorate)([(0,s.customElement)({name:"typography-tokens",template:ll,styles:nl})],gl);const dl=s.css`
11621
+ `;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`
11620
11622
  :host {
11621
11623
  background: var(--fill-color);
11622
11624
  color: var(--neutral-foreground-rest);
@@ -11632,7 +11634,7 @@
11632
11634
  margin-top: 24px;
11633
11635
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
11634
11636
  }
11635
- `,sl=s.html`
11637
+ `,pl=s.html`
11636
11638
  <template>
11637
11639
  <alpha-tabs>
11638
11640
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -11661,7 +11663,7 @@
11661
11663
  </alpha-tab-panel>
11662
11664
  </alpha-tabs>
11663
11665
  </template>
11664
- `;let cl=class extends s.FASTElement{};cl=(0,Ln.__decorate)([(0,s.customElement)({name:"design-system-preview",template:sl,styles:dl})],cl);const pl={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"}]}]}}]},ul={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"]}}},hl={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"}]}}}]},ml={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"]}}}},vl=s.css`
11666
+ `;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`
11665
11667
  :host {
11666
11668
  background: var(--fill-color);
11667
11669
  color: var(--neutral-foreground-rest);
@@ -11692,7 +11694,7 @@
11692
11694
  zero-design-system-provider {
11693
11695
  display: inline;
11694
11696
  }
11695
- `,bl=s.html`
11697
+ `,wl=s.html`
11696
11698
  ${e=>{return a=e.prefix,s.html`
11697
11699
  <template>
11698
11700
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11714,7 +11716,7 @@
11714
11716
  </${a}-design-system-provider>
11715
11717
  </template>
11716
11718
  `;var a}}
11717
- `;let fl=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=ul,this.uischema=pl,this.jsonSchemaArray=ml,this.uiSchemaArray=hl,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(Dn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Dn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(Mn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Gn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,Ln.__decorate)([s.observable],fl.prototype,"jsonSchema",void 0),(0,Ln.__decorate)([s.observable],fl.prototype,"uischema",void 0),(0,Ln.__decorate)([s.observable],fl.prototype,"jsonSchemaArray",void 0),(0,Ln.__decorate)([s.observable],fl.prototype,"uiSchemaArray",void 0),(0,Ln.__decorate)([s.attr],fl.prototype,"prefix",void 0),(0,Ln.__decorate)([s.observable],fl.prototype,"provider",void 0),(0,Ln.__decorate)([s.observable],fl.prototype,"editedEntity",void 0),(0,Ln.__decorate)([s.observable],fl.prototype,"editedEntityArray",void 0),fl=(0,Ln.__decorate)([(0,s.customElement)({name:"preview-form",template:bl,styles:vl})],fl);const wl=s.css`
11719
+ `;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`
11718
11720
  :host {
11719
11721
  background: var(--fill-color);
11720
11722
  color: var(--neutral-foreground-rest);
@@ -11729,7 +11731,7 @@
11729
11731
  .grid-height {
11730
11732
  height: 450px;
11731
11733
  }
11732
- `,yl=s.html`
11734
+ `,zl=s.html`
11733
11735
  ${e=>{return a=e.prefix,s.html`
11734
11736
  <template>
11735
11737
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11739,5 +11741,5 @@
11739
11741
  </${a}-design-system-provider>
11740
11742
  </template>
11741
11743
  `;var a}}
11742
- `;let xl=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(Dn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Dn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setGridOptions(),p.bodyFont.withDefault(Mn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Gn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,s.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Ln.__decorate)([s.observable],xl.prototype,"grid",void 0),(0,Ln.__decorate)([s.attr],xl.prototype,"prefix",void 0),(0,Ln.__decorate)([s.observable],xl.prototype,"provider",void 0),(0,Ln.__decorate)([s.observable],xl.prototype,"rowData",void 0),(0,Ln.__decorate)([s.observable],xl.prototype,"columnDefs",void 0),(0,Ln.__decorate)([s.observable],xl.prototype,"gridOptions",void 0),xl=(0,Ln.__decorate)([(0,s.customElement)({name:"preview-grid",template:yl,styles:wl})],xl),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(Io,An),(0,i.provideDesignSystem)().register(i.baseComponents,Tn)}}]);
11743
- //# sourceMappingURL=553.b070dc73b2fad9537098af455b574594.js.map
11744
+ `;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)}}]);
11745
+ //# sourceMappingURL=583.c24ba0441e481e4dd1a779df27fae0e1.js.map