@genesislcap/design-system-configurator 14.79.0 → 14.79.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. package/dist/{212.212.3836c41f5e7de4557fac.js → 212.212.87b7394d9ce45f0aa977.js} +166 -176
  2. package/dist/212.81f0bb1b9cf65cfd596b1003e0b4eda5.js.map +1 -0
  3. package/dist/{361.361.e76431525b4f52af5183.js → 361.361.860c6d308a347f1143fb.js} +1 -1
  4. package/dist/{495.495.67b361f95ba3dd662215.js → 495.495.3b88295bcd9bb86b04aa.js} +175 -157
  5. package/dist/495.fa62c20b8a90be359501c02cdf0c3ee9.js.map +1 -0
  6. package/dist/{659.659.16919eea973a68157540.js → 659.659.c7fbd022cc26cf6a1b42.js} +1 -1
  7. package/dist/{688.688.feb7de9b669e51400523.js → 688.688.82e28c6678c2f178b79d.js} +1 -1
  8. package/dist/{755.0d64f062b3b634cd118d384847e796ca.js.map → 755.3286f535f2f194a1cf0e810fede2ea5a.js.map} +1 -1
  9. package/dist/755.755.a3f8795d683a5ec10692.js +2 -0
  10. package/dist/designSystemConfigurator.4750983d3ba119d2442642ff19212bde.js.map +1 -0
  11. package/dist/index.html +1 -1
  12. package/dist/main.110f5ff5e74a9dbdf9a06666b55ed88e.js.map +1 -0
  13. package/dist/main.dd0287677ef27bcc04a3.js +2 -0
  14. package/dist/remoteEntry.js +2 -2
  15. package/package.json +7 -7
  16. package/dist/212.6f9f88d4b8f7fb44ab29da4b711be5ce.js.map +0 -1
  17. package/dist/495.46a1c2fb5cc103ddc3494b7938d6b68f.js.map +0 -1
  18. package/dist/755.755.abf07624caf7ddb27bc0.js +0 -2
  19. package/dist/designSystemConfigurator.dab44b80b228dc75b771bd75473ecc5c.js.map +0 -1
  20. package/dist/main.095f4f2da1460d6822cb.js +0 -2
  21. package/dist/main.515f7c8d72bdb06510540debd54854ec.js.map +0 -1
  22. /package/dist/{212.212.3836c41f5e7de4557fac.js.LICENSE.txt → 212.212.87b7394d9ce45f0aa977.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([[495],{7495:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>dl,ColorToken:()=>pl,ColorTokens:()=>bl,DesignSystemEditor:()=>Zn,DesignSystemExport:()=>nl,DesignSystemPreview:()=>kl,EventName:()=>Pn,PreviewComponents:()=>tl,PreviewForm:()=>Fl,PreviewGrid:()=>Nl,TypographyTokens:()=>yl,defaultBodyFont:()=>Hn,fontFamilies:()=>Gn});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(1084),n=r(92592),l=r(62646),g=r(6609),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([[495],{7495:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>sl,ColorToken:()=>ul,ColorTokens:()=>fl,DesignSystemEditor:()=>Kn,DesignSystemExport:()=>ll,DesignSystemPreview:()=>Sl,EventName:()=>Bn,PreviewComponents:()=>ol,PreviewForm:()=>Ol,PreviewGrid:()=>$l,TypographyTokens:()=>xl,defaultBodyFont:()=>_n,fontFamilies:()=>Hn});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(5405),n=r(92592),l=r(62646),g=r(4850),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,M),mapper:d.xq9};var $=r(31084);const R=e=>a=>{if(!a||!(0,d.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},j=(0,d.xDy)(R("allOptionsResourceName"),(0,d.or)((0,d.wcO)((e=>(0,d.ndu)(e,"array"))),(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"array")))))));$.MultiselectDatasource;const I={renderer:s.html`
233
+ `,tester:(0,d.yMz)(3,M),mapper:d.xq9};var $=r(87202);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
@@ -822,11 +822,12 @@
822
822
  ::slotted([role='row']) {
823
823
  background-color: #1f2126;
824
824
  }
825
- `,shadowOptions:$.foundationDataGridShadowOptions},$.defaultDataGridConfig));class Xa extends $.DatePicker{}const er=Xa.compose(Object.assign({baseName:"date-picker",template:()=>$.foundationDatePickerTemplate,styles:()=>s.css`
825
+ `,shadowOptions:$.foundationDataGridShadowOptions},$.defaultDataGridConfig)),Xa=s.html`
826
+ ${(0,$.getPrefixedDatePicker)("zero")}
827
+ `;class er extends $.DatePicker{}const ar=er.compose(Object.assign({baseName:"date-picker",template:Xa,styles:()=>s.css`
826
828
  ${$.foundationDatePickerStyles}
827
- .date-toggle {
828
- background: var(--neutral-layer-card-container);
829
- color: var(--neutral-foreground-rest);
829
+ :host {
830
+ --primary-gradient-angle: -113.5deg;
830
831
  }
831
832
 
832
833
  .calendar-dropdown {
@@ -846,12 +847,29 @@
846
847
  .month-day.current {
847
848
  color: ${ie.almostWhite};
848
849
  }
849
- `,shadowOptions:undefined},{}));var ar=r(37068);fe();const rr=s.css`
850
+
851
+ .input-icon-container {
852
+ display: flex;
853
+ justify-content: center;
854
+ align-items: center;
855
+ border-radius: calc(var(--control-corner-radius) * 1px);
856
+ width: 30px;
857
+ height: 30px;
858
+ }
859
+
860
+ .input-icon-container:hover {
861
+ background-color: ${ie.mediumGrey};
862
+ }
863
+
864
+ .date-toggle::part(end) {
865
+ margin-inline-end: 4px;
866
+ }
867
+ `,shadowOptions:undefined},{}));var rr=r(37068);fe();const tr=s.css`
850
868
  ${(0,c.display)("flex")}
851
869
  :host {
852
870
  flex: 1;
853
871
  }
854
- `,tr=s.css`
872
+ `,or=s.css`
855
873
  :host {
856
874
  background-color: ${p.neutralFillStealthActive};
857
875
  }
@@ -861,31 +879,31 @@
861
879
  box-shadow: 0 0 0 1px ${u.H.CanvasText};
862
880
  color: ${u.H.ButtonText};
863
881
  }
864
- `)),or=(e,a,r)=>s.css`
882
+ `)),ir=(e,a,r)=>s.css`
865
883
  ${e.name} ${"h"+a} {
866
884
  font-size: var(--type-ramp-plus-${r}-font-size);
867
885
  line-height: var(--type-ramp-plus-${r}-line-height);
868
886
  margin: 0;
869
887
  ${ye(g.FontStyle.Normal,g.FontWeight.Bold)}
870
888
  }
871
- `;class ir extends p.DesignSystemProvider{constructor(){super(),(0,$.provideTokens)(t,o,this)}}(0,ar.__decorate)([(0,s.attr)({attribute:"card-fill-color",converter:$.swatchConverter}),(0,$.designToken)(p.neutralFillStealthRest)],ir.prototype,"cardFillColor",void 0),(0,ar.__decorate)([(0,s.attr)({attribute:"card-foreground-color",converter:$.swatchConverter}),(0,$.designToken)(p.neutralForegroundRest)],ir.prototype,"cardForegroundColor",void 0);const nr=ir.compose({baseName:"design-system-provider",template:s.html`
889
+ `;class nr extends p.DesignSystemProvider{constructor(){super(),(0,$.provideTokens)(t,o,this)}}(0,rr.__decorate)([(0,s.attr)({attribute:"card-fill-color",converter:$.swatchConverter}),(0,$.designToken)(p.neutralFillStealthRest)],nr.prototype,"cardFillColor",void 0),(0,rr.__decorate)([(0,s.attr)({attribute:"card-foreground-color",converter:$.swatchConverter}),(0,$.designToken)(p.neutralForegroundRest)],nr.prototype,"cardForegroundColor",void 0);const lr=nr.compose({baseName:"design-system-provider",template:s.html`
872
890
  <slot></slot>
873
891
  `,styles:e=>{const a=(e=>s.css`
874
- ${or(e,"1","6")}
875
- ${or(e,"2","5")}
876
- ${or(e,"3","4")}
877
- ${or(e,"4","3")}
878
- ${or(e,"5","2")}
879
- ${or(e,"6","1")}
892
+ ${ir(e,"1","6")}
893
+ ${ir(e,"2","5")}
894
+ ${ir(e,"3","4")}
895
+ ${ir(e,"4","3")}
896
+ ${ir(e,"5","2")}
897
+ ${ir(e,"6","1")}
880
898
  `)(e);return a.addStylesTo(document),s.css`
881
- ${rr}
882
899
  ${tr}
900
+ ${or}
883
901
  ${a}
884
902
  :host * {
885
903
  color: ${p.neutralForegroundRest};
886
904
  ${ye()}
887
905
  }
888
- `}}),lr=(0,Oe.parseColorHexRGB)("#121212"),gr=Me(lr,1),dr=s.css`
906
+ `}}),gr=(0,Oe.parseColorHexRGB)("#121212"),dr=Me(gr,1),sr=s.css`
889
907
  ${$.foundationDialogStyles}
890
908
  :host {
891
909
  --dialog-background: ${p.neutralLayer2};
@@ -948,19 +966,19 @@
948
966
  }
949
967
 
950
968
  .close-icon:active svg {
951
- background-color: ${gr};
969
+ background-color: ${dr};
952
970
  }
953
971
 
954
972
  .close-icon:active svg g path {
955
973
  fill: ${$e(.33)};
956
974
  }
957
- `,sr=$.defaultDialogConfig,cr=$.foundationDialogTemplate,pr=$.foundationDialogShadowOptions;class ur extends $.Dialog{}const hr=ur.compose(Object.assign({baseName:"dialog",shadowOptions:pr,styles:dr,template:cr},sr));class mr extends $.Disclosure{}const vr=mr.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,$.foundationDisclosureTemplate)(e,a),styles:(e,a)=>s.css`
975
+ `,cr=$.defaultDialogConfig,pr=$.foundationDialogTemplate,ur=$.foundationDialogShadowOptions;class hr extends $.Dialog{}const mr=hr.compose(Object.assign({baseName:"dialog",shadowOptions:ur,styles:sr,template:pr},cr));class vr extends $.Disclosure{}const br=vr.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,$.foundationDisclosureTemplate)(e,a),styles:(e,a)=>s.css`
958
976
  ${(0,$.foundationDisclosureStyles)(e,a)}
959
- `,shadowOptions:$.foundationDialogShadowOptions},$.defaultDisclosureConfig));class br extends $.Divider{}const fr=br.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,$.foundationDividerTemplate)(e,a),styles:(e,a)=>s.css`
977
+ `,shadowOptions:$.foundationDialogShadowOptions},$.defaultDisclosureConfig));class fr extends $.Divider{}const wr=fr.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,$.foundationDividerTemplate)(e,a),styles:(e,a)=>s.css`
960
978
  ${(0,$.foundationDividerStyles)(e,a)}
961
- `,shadowOptions:$.foundationDividerShadowOptions},$.defaultDividerConfig));class wr extends $.DropdownMenu{}const yr=wr.compose({baseName:"dropdown-menu",styles:(e,a)=>s.css`
979
+ `,shadowOptions:$.foundationDividerShadowOptions},$.defaultDividerConfig));class yr extends $.DropdownMenu{}const xr=yr.compose({baseName:"dropdown-menu",styles:(e,a)=>s.css`
962
980
  ${(0,$.dropdownMenuBaseStyles)("zero",e,a)}
963
- `,template:$.foundationDropdownMenuTemplate}),xr=s.html`
981
+ `,template:$.foundationDropdownMenuTemplate}),zr=s.html`
964
982
  <zero-banner ${(0,s.ref)("banner")}>
965
983
  <div slot="content">
966
984
  <div>${e=>{var a;return(null===(a=e.error)||void 0===a?void 0:a.errorDetails)||"Place holder for error message"}}</div>
@@ -980,7 +998,7 @@
980
998
  </zero-button>
981
999
  `)}
982
1000
  </zero-banner>
983
- `,zr=$.foundationErrorBannerShadowOptions;class kr extends $.ErrorBanner{}const Sr=kr.compose({baseName:"error-banner",template:xr,shadowOptions:zr});class Cr extends $.ErrorBoundary{}const Ar=Cr.compose({baseName:"error-boundary",template:$.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class Tr extends $.ErrorDialog{}const Dr=Tr.compose({baseName:"error-dialog",styles:$.foundationErrorDialogStyles,template:$.errorDialogTemplate,shadowOptions:$.foundationErrorDialogShadowOptions}),Lr=s.css`
1001
+ `,kr=$.foundationErrorBannerShadowOptions;class Sr extends $.ErrorBanner{}const Cr=Sr.compose({baseName:"error-banner",template:zr,shadowOptions:kr});class Ar extends $.ErrorBoundary{}const Tr=Ar.compose({baseName:"error-boundary",template:$.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class Dr extends $.ErrorDialog{}const Lr=Dr.compose({baseName:"error-dialog",styles:$.foundationErrorDialogStyles,template:$.errorDialogTemplate,shadowOptions:$.foundationErrorDialogShadowOptions}),Fr=s.css`
984
1002
  ${$.foundationFileUploadStyles}
985
1003
  ::-webkit-scrollbar {
986
1004
  width: 12px;
@@ -997,22 +1015,22 @@
997
1015
  background-color: var(--neutral-color);
998
1016
  border: 3px solid rgb(31 33 38);
999
1017
  }
1000
- `,Fr=s.html`
1018
+ `,Or=s.html`
1001
1019
  ${(0,$.getPrefixedFileUpload)("zero")}
1002
- `,Or=$.defaultFileUploadConfig,Mr=$.foundationFileUploadShadowOptions;class Nr extends $.FileUpload{}const $r=Nr.compose(Object.assign({baseName:"file-upload",shadowOptions:Mr,styles:Lr,template:Fr},Or)),Rr=s.html`
1020
+ `,Mr=$.defaultFileUploadConfig,Nr=$.foundationFileUploadShadowOptions;class $r extends $.FileUpload{}const Rr=$r.compose(Object.assign({baseName:"file-upload",shadowOptions:Nr,styles:Fr,template:Or},Mr)),jr=s.html`
1003
1021
  <div class="close-icon" @click=${e=>e.clear()}>${(0,$.closeIcon)()}</div>
1004
- `,jr=s.html`
1022
+ `,Ir=s.html`
1005
1023
  <div class="flex-row">
1006
1024
  <div>${e=>e.label}</div>
1007
- ${Rr}
1025
+ ${jr}
1008
1026
  </div>
1009
1027
  <div class="flex-row">
1010
1028
  <zero-text-field ${(0,s.ref)("textFilterField")} type="text" :value=${(0,g.sync)((e=>e.textFilter))} />
1011
1029
  </div>
1012
- `,Ir=s.html`
1030
+ `,Er=s.html`
1013
1031
  <div class="flex-row">
1014
1032
  <div>${e=>e.label}</div>
1015
- ${Rr}
1033
+ ${jr}
1016
1034
  </div>
1017
1035
  <div class="flex-row">
1018
1036
  <zero-text-field
@@ -1028,10 +1046,10 @@
1028
1046
  placeholder="max"
1029
1047
  ></zero-text-field>
1030
1048
  </div>
1031
- `,Er=s.html`
1049
+ `,Ur=s.html`
1032
1050
  <div class="flex-row">
1033
1051
  <div>${e=>e.label}</div>
1034
- ${Rr}
1052
+ ${jr}
1035
1053
  </div>
1036
1054
  <div class="flex-row">
1037
1055
  <zero-text-field
@@ -1047,27 +1065,27 @@
1047
1065
  placeholder="max"
1048
1066
  ></zero-text-field>
1049
1067
  </div>
1050
- `;function Ur(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 Pr=[{name:"All",value:"all",selected:!0},{name:"True",value:"true"},{name:"False",value:"false"},{name:"N/A",value:"null"}],Br=s.html`
1068
+ `;function Pr(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 Br=[{name:"All",value:"all",selected:!0},{name:"True",value:"true"},{name:"False",value:"false"},{name:"N/A",value:"null"}],Gr=s.html`
1051
1069
  <div class="flex-row">
1052
1070
  <div>${e=>e.label}</div>
1053
- ${Rr}
1071
+ ${jr}
1054
1072
  </div>
1055
1073
  <div class="flex-row">
1056
- <zero-select @change="${(e,a)=>e.onBooleanFilterSelection(Ur(a))}}">
1057
- ${(0,s.repeat)((()=>Pr),s.html`
1074
+ <zero-select @change="${(e,a)=>e.onBooleanFilterSelection(Pr(a))}}">
1075
+ ${(0,s.repeat)((()=>Br),s.html`
1058
1076
  <zero-option value="${e=>e.value}" selected="${e=>e.selected}">
1059
1077
  ${e=>e.name}
1060
1078
  </zero-option>
1061
1079
  `)}
1062
1080
  </zero-select>
1063
1081
  </div>
1064
- `,Gr=s.html`
1082
+ `,Hr=s.html`
1065
1083
  <div class="flex-row">
1066
1084
  <div>${e=>e.label}</div>
1067
- ${Rr}
1085
+ ${jr}
1068
1086
  </div>
1069
1087
  <div class="flex-row">
1070
- <zero-select @change="${(e,a)=>e.onEnumFilterSelection(Ur(a))}}">
1088
+ <zero-select @change="${(e,a)=>e.onEnumFilterSelection(Pr(a))}}">
1071
1089
  ${(0,s.repeat)((e=>e.enumFilterOptions),s.html`
1072
1090
  <zero-option value="${e=>e.value}" selected="${e=>e.selected}">
1073
1091
  ${e=>e.name}
@@ -1075,23 +1093,23 @@
1075
1093
  `)}
1076
1094
  </zero-select>
1077
1095
  </div>
1078
- `,Hr=s.html`
1079
- <div class="filter-wrapper">${e=>(e=>{switch(e.type){case"number":return Ir;case"date":return Er;case"boolean":return Br;case"enum":return Gr;default:return jr}})(e)}</div>
1080
- `;class _r extends $.Filter{constructor(){super(...arguments),this.type=super.type,this.enumFilterOptions=super.enumFilterOptions}}(0,ar.__decorate)([s.attr],_r.prototype,"fieldName",void 0),(0,ar.__decorate)([s.attr],_r.prototype,"label",void 0),(0,ar.__decorate)([s.attr],_r.prototype,"type",void 0),(0,ar.__decorate)([s.attr],_r.prototype,"target",void 0),(0,ar.__decorate)([s.observable],_r.prototype,"enumFilterOptions",void 0);const Vr=_r.compose({baseName:"filter",template:Hr,styles:$.foundationFilterStyles});var Yr=r(9770);const Qr=s.html`
1096
+ `,_r=s.html`
1097
+ <div class="filter-wrapper">${e=>(e=>{switch(e.type){case"number":return Er;case"date":return Ur;case"boolean":return Gr;case"enum":return Hr;default:return Ir}})(e)}</div>
1098
+ `;class Vr extends $.Filter{constructor(){super(...arguments),this.type=super.type,this.enumFilterOptions=super.enumFilterOptions}}(0,rr.__decorate)([s.attr],Vr.prototype,"fieldName",void 0),(0,rr.__decorate)([s.attr],Vr.prototype,"label",void 0),(0,rr.__decorate)([s.attr],Vr.prototype,"type",void 0),(0,rr.__decorate)([s.attr],Vr.prototype,"target",void 0),(0,rr.__decorate)([s.observable],Vr.prototype,"enumFilterOptions",void 0);const Yr=Vr.compose({baseName:"filter",template:_r,styles:$.foundationFilterStyles});var Qr=r(9770);const qr=s.html`
1081
1099
  ${(0,s.when)((e=>e.collapsed),s.html`
1082
1100
  <zero-icon name="chevron-down"></zero-icon>
1083
1101
  `)}
1084
1102
  ${(0,s.when)((e=>!e.collapsed),s.html`
1085
1103
  <zero-icon name="chevron-up"></zero-icon>
1086
1104
  `)}
1087
- `,qr=s.html`
1105
+ `,Wr=s.html`
1088
1106
  <div
1089
- class=${e=>(0,Yr.A)(["toggle",!0],["toggle-collapsed",e.collapsed])}
1107
+ class=${e=>(0,Qr.A)(["toggle",!0],["toggle-collapsed",e.collapsed])}
1090
1108
  @click="${e=>e.toggle()}"
1091
1109
  >
1092
- ${Qr}
1110
+ ${qr}
1093
1111
  </div>
1094
- <div class=${e=>(0,Yr.A)(["filter-bar",!0],["collapsed",e.collapsed])}>
1112
+ <div class=${e=>(0,Qr.A)(["filter-bar",!0],["collapsed",e.collapsed])}>
1095
1113
  <div class="filter-grid" ${(0,s.ref)("filterGrid")}>
1096
1114
  ${(0,s.repeat)((e=>e.fields),s.html`
1097
1115
  <zero-filter
@@ -1104,9 +1122,9 @@
1104
1122
  `)}
1105
1123
  </div>
1106
1124
  </div>
1107
- `,Wr=s.html`
1108
- ${qr}
1109
- `;class Jr extends $.FilterBar{constructor(){super(...arguments),this.ready=super.ready,this.collapsed=!0}}(0,ar.__decorate)([s.attr],Jr.prototype,"resource",void 0),(0,ar.__decorate)([s.attr],Jr.prototype,"only",void 0),(0,ar.__decorate)([s.attr],Jr.prototype,"labels",void 0),(0,ar.__decorate)([s.attr],Jr.prototype,"target",void 0),(0,ar.__decorate)([s.observable],Jr.prototype,"ready",void 0),(0,ar.__decorate)([s.observable],Jr.prototype,"fields",void 0),(0,ar.__decorate)([s.observable],Jr.prototype,"collapsed",void 0);const Zr=Jr.compose({baseName:"filter-bar",template:Wr,styles:(e,a)=>s.css`
1125
+ `,Jr=s.html`
1126
+ ${Wr}
1127
+ `;class Zr extends $.FilterBar{constructor(){super(...arguments),this.ready=super.ready,this.collapsed=!0}}(0,rr.__decorate)([s.attr],Zr.prototype,"resource",void 0),(0,rr.__decorate)([s.attr],Zr.prototype,"only",void 0),(0,rr.__decorate)([s.attr],Zr.prototype,"labels",void 0),(0,rr.__decorate)([s.attr],Zr.prototype,"target",void 0),(0,rr.__decorate)([s.observable],Zr.prototype,"ready",void 0),(0,rr.__decorate)([s.observable],Zr.prototype,"fields",void 0),(0,rr.__decorate)([s.observable],Zr.prototype,"collapsed",void 0);const Kr=Zr.compose({baseName:"filter-bar",template:Jr,styles:(e,a)=>s.css`
1110
1128
  ${(0,$.foundationFilterBarStyles)(e,a)}
1111
1129
  .toggle,
1112
1130
  .toggle-collapsed {
@@ -1118,7 +1136,7 @@
1118
1136
  .toggle-collapsed:hover {
1119
1137
  color: var(--ag-alpine-active-color, #2196f3);
1120
1138
  }
1121
- `});class Kr extends $.FlexLayout{}const Xr=Kr.compose(Object.assign({baseName:"flex-layout",shadowOptions:$.foundationFlexLayoutShadowOptions,styles:$.foundationFlexLayoutStyles,template:$.foundationFlexLayoutTemplate},$.defaultFlexLayoutConfig));class et extends $.Flipper{}const at=et.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,$.foundationFlipperTemplate)(e,a),styles:(e,a)=>s.css`
1139
+ `});class Xr extends $.FlexLayout{}const et=Xr.compose(Object.assign({baseName:"flex-layout",shadowOptions:$.foundationFlexLayoutShadowOptions,styles:$.foundationFlexLayoutStyles,template:$.foundationFlexLayoutTemplate},$.defaultFlexLayoutConfig));class at extends $.Flipper{}const rt=at.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,$.foundationFlipperTemplate)(e,a),styles:(e,a)=>s.css`
1122
1140
  ${(0,$.foundationFlipperStyles)(e,a)}
1123
1141
  :host {
1124
1142
  --foreground-on-accent-rest: ${ie.white};
@@ -1142,7 +1160,7 @@
1142
1160
  ${ne.purple}
1143
1161
  );
1144
1162
  }
1145
- `,shadowOptions:$.foundationFlipperShadowOptions},$.defaultFlipperConfig)),rt=s.css`
1163
+ `,shadowOptions:$.foundationFlipperShadowOptions},$.defaultFlipperConfig)),tt=s.css`
1146
1164
  ${$.foundationFlyoutStyles}
1147
1165
  div.flyout {
1148
1166
  background-color: ${p.neutralLayer2};
@@ -1169,17 +1187,17 @@
1169
1187
  background-color: ${p.neutralFillHover};
1170
1188
  border-radius: 3px;
1171
1189
  }
1172
- `,tt=$.defaultFlyoutConfig,ot=$.foundationFlyoutShadowOptions;class it extends $.Flyout{}const nt=it.compose(Object.assign({baseName:"flyout",shadowOptions:ot,styles:rt,template:$.foundationFlyoutTemplate},tt));class lt extends $.GridLayout{}const gt=lt.compose(Object.assign({baseName:"grid-layout",shadowOptions:$.foundationGridLayoutShadowOptions,styles:$.foundationGridLayoutStyles,template:$.foundationGridLayoutTemplate},$.defaultGridLayoutConfig));class dt extends $.GridLayoutItem{}const st=dt.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:$.foundationGridLayoutItemShadowOptions,template:$.foundationGridLayoutItemTemplate},$.defaultGridLayoutItemConfig));class ct extends $.HorizontalScroll{}const pt=ct.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,$.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>s.css`
1190
+ `,ot=$.defaultFlyoutConfig,it=$.foundationFlyoutShadowOptions;class nt extends $.Flyout{}const lt=nt.compose(Object.assign({baseName:"flyout",shadowOptions:it,styles:tt,template:$.foundationFlyoutTemplate},ot));class gt extends $.GridLayout{}const dt=gt.compose(Object.assign({baseName:"grid-layout",shadowOptions:$.foundationGridLayoutShadowOptions,styles:$.foundationGridLayoutStyles,template:$.foundationGridLayoutTemplate},$.defaultGridLayoutConfig));class st extends $.GridLayoutItem{}const ct=st.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:$.foundationGridLayoutItemShadowOptions,template:$.foundationGridLayoutItemTemplate},$.defaultGridLayoutItemConfig));class pt extends $.HorizontalScroll{}const ut=pt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,$.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>s.css`
1173
1191
  ${(0,$.foundationHorizontalScrollStyles)(e,a)}
1174
- `,shadowOptions:$.foundationHorizontalScrollShadowOptions},$.defaultHorizontalScrollConfig));class ut extends $.Icon{}const ht=$.defaultIconConfig,mt=$.foundationIconShadowOptions,vt=ut.compose(Object.assign({baseName:"icon",template:$.foundationIconTemplate,styles:(e,a)=>s.css`
1192
+ `,shadowOptions:$.foundationHorizontalScrollShadowOptions},$.defaultHorizontalScrollConfig));class ht extends $.Icon{}const mt=$.defaultIconConfig,vt=$.foundationIconShadowOptions,bt=ht.compose(Object.assign({baseName:"icon",template:$.foundationIconTemplate,styles:(e,a)=>s.css`
1175
1193
  ${(0,$.foundationIconStyles)(e,a)}
1176
- `,shadowOptions:mt},ht));class bt extends $.Listbox{}const ft=bt.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,$.foundationListboxTemplate)(e,a),styles:(e,a)=>s.css`
1194
+ `,shadowOptions:vt},mt));class ft extends $.Listbox{}const wt=ft.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,$.foundationListboxTemplate)(e,a),styles:(e,a)=>s.css`
1177
1195
  ${(0,$.foundationListboxStyles)(e,a)}
1178
1196
 
1179
1197
  :host {
1180
1198
  background: #1f2126;
1181
1199
  }
1182
- `,shadowOptions:$.foundationListboxShadowOptions},$.defaultListboxConfig));class wt extends $.ListboxOption{}const yt=wt.compose(Object.assign({baseName:"option",template:(e,a)=>(0,$.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>s.css`
1200
+ `,shadowOptions:$.foundationListboxShadowOptions},$.defaultListboxConfig));class yt extends $.ListboxOption{}const xt=yt.compose(Object.assign({baseName:"option",template:(e,a)=>(0,$.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>s.css`
1183
1201
  ${(0,$.foundationListboxOptionStyles)(e,a)}
1184
1202
  :host {
1185
1203
  background-color: ${ie.darkGrey};
@@ -1196,22 +1214,22 @@
1196
1214
  background-color: ${ie.darkerGrey};
1197
1215
  color: ${ne.blue};
1198
1216
  }
1199
- `,shadowOptions:$.foundationListboxOptionShadowOptions},$.defaultListboxOptionConfig)),xt=$.foundationMenuShadowOptions;class zt extends $.Menu{}const kt=zt.compose({baseName:"menu",template:$.foundationMenuTemplate,styles:(e,a)=>s.css`
1217
+ `,shadowOptions:$.foundationListboxOptionShadowOptions},$.defaultListboxOptionConfig)),zt=$.foundationMenuShadowOptions;class kt extends $.Menu{}const St=kt.compose({baseName:"menu",template:$.foundationMenuTemplate,styles:(e,a)=>s.css`
1200
1218
  ${(0,$.foundationMenuStyles)(e,a)}
1201
1219
 
1202
1220
  :host {
1203
1221
  padding: 0;
1204
1222
  }
1205
- `,shadowOptions:xt}),St=$.foundationMenuItemShadowOptions;class Ct extends $.MenuItem{}const At=Ct.compose(Object.assign({baseName:"menu-item",template:$.foundationMenuItemTemplate,styles:(e,a)=>s.css`
1223
+ `,shadowOptions:zt}),Ct=$.foundationMenuItemShadowOptions;class At extends $.MenuItem{}const Tt=At.compose(Object.assign({baseName:"menu-item",template:$.foundationMenuItemTemplate,styles:(e,a)=>s.css`
1206
1224
  ${(0,$.foundationMenuItemStyles)(e,a)}
1207
1225
 
1208
1226
  :host {
1209
1227
  background: none;
1210
1228
  margin: 0;
1211
1229
  }
1212
- `,shadowOptions:St},$.defaultMenuItemConfig)),Tt=s.css`
1213
- ${dr}
1214
- `,Dt=$.defaultModalConfig,Lt=$.foundationModalTemplate,Ft=$.foundationModalShadowOptions;class Ot extends $.Modal{}const Mt=Ot.compose(Object.assign({baseName:"modal",shadowOptions:Ft,styles:Tt,template:Lt},Dt)),Nt=s.css`
1230
+ `,shadowOptions:Ct},$.defaultMenuItemConfig)),Dt=s.css`
1231
+ ${sr}
1232
+ `,Lt=$.defaultModalConfig,Ft=$.foundationModalTemplate,Ot=$.foundationModalShadowOptions;class Mt extends $.Modal{}const Nt=Mt.compose(Object.assign({baseName:"modal",shadowOptions:Ot,styles:Dt,template:Ft},Lt)),$t=s.css`
1215
1233
  ${$.multiselectStyles}
1216
1234
 
1217
1235
  :host {
@@ -1267,9 +1285,9 @@
1267
1285
  .label {
1268
1286
  color: ${Ua};
1269
1287
  }
1270
- `,$t=s.html`
1288
+ `,Rt=s.html`
1271
1289
  ${(0,$.getPrefixedMultiselect)("zero")}
1272
- `;class Rt extends $.Multiselect{}const jt=$.defaultMultiselectConfig,It=$.foundationMultiselectShadowOptions,Et=Rt.compose(Object.assign({baseName:"multiselect",template:$t,styles:Nt,shadowOptions:It},jt));class Ut extends $.NotificationListener{}const Pt=Ut.compose({baseName:"notification-listener",template:$.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Bt=(e,a)=>s.css`
1290
+ `;class jt extends $.Multiselect{}const It=$.defaultMultiselectConfig,Et=$.foundationMultiselectShadowOptions,Ut=jt.compose(Object.assign({baseName:"multiselect",template:Rt,styles:$t,shadowOptions:Et},It));class Pt extends $.NotificationListener{}const Bt=Pt.compose({baseName:"notification-listener",template:$.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Gt=(e,a)=>s.css`
1273
1291
  ${(0,$.foundationTextFieldStyles)(e,a)}
1274
1292
  :host {
1275
1293
  --primary-gradient-angle: -113.5deg;
@@ -1317,12 +1335,12 @@
1317
1335
  color: ${Ua};
1318
1336
  margin: calc(var(--design-unit) * 2px) 0;
1319
1337
  }
1320
- `;class Gt extends $.NumberField{}const Ht=$.defaultNumberFieldConfig,_t=$.foundationNumberFieldTemplate,Vt=$.foundationNumberFieldShadowOptions,Yt=Gt.compose(Object.assign({baseName:"number-field",template:_t,styles:(e,a)=>s.css`
1338
+ `;class Ht extends $.NumberField{}const _t=$.defaultNumberFieldConfig,Vt=$.foundationNumberFieldTemplate,Yt=$.foundationNumberFieldShadowOptions,Qt=Ht.compose(Object.assign({baseName:"number-field",template:Vt,styles:(e,a)=>s.css`
1321
1339
  :host .root {
1322
1340
  --focus-stroke-outer: transparent;
1323
1341
  }
1324
- ${Bt(e,a)}
1325
- `,shadowOptions:Vt},Ht));class Qt extends $.Progress{}const qt=Qt.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,$.foundationProgressTemplate)(e,a),styles:(e,a)=>s.css`
1342
+ ${Gt(e,a)}
1343
+ `,shadowOptions:Yt},_t));class qt extends $.Progress{}const Wt=qt.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,$.foundationProgressTemplate)(e,a),styles:(e,a)=>s.css`
1326
1344
  ${(0,$.foundationProgressStyles)(e,a)}
1327
1345
  :host([appearance="secondary-teal"]) {
1328
1346
  --accent-foreground-rest: ${le.teal};
@@ -1331,7 +1349,7 @@
1331
1349
  :host([appearance='secondary-orange']) {
1332
1350
  --accent-foreground-rest: ${le.orange};
1333
1351
  }
1334
- `,shadowOptions:$.foundationProgressShadowOptions},$.defaultProgressConfig));class Wt extends $.ProgressRing{}const Jt={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 `},Zt=Wt.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>s.html`
1352
+ `,shadowOptions:$.foundationProgressShadowOptions},$.defaultProgressConfig));class Jt extends $.ProgressRing{}const Zt={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 `},Kt=Jt.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>s.html`
1335
1353
  <template
1336
1354
  role="progressbar"
1337
1355
  aria-valuenow="${e=>e.value}"
@@ -1369,7 +1387,7 @@
1369
1387
  .indeterminate-indicator-1, .determinate {
1370
1388
  stroke: ${"url(#linear)"};
1371
1389
  }
1372
- `,shadowOptions:$.foundationProgressRingShadowOptions},Jt));class Kt extends $.Radio{}const Xt=Kt.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,$.foundationRadioTemplate)(e,a),styles:(e,a)=>s.css`
1390
+ `,shadowOptions:$.foundationProgressRingShadowOptions},Zt));class Xt extends $.Radio{}const eo=Xt.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,$.foundationRadioTemplate)(e,a),styles:(e,a)=>s.css`
1373
1391
  ${(0,$.foundationRadioStyles)(e,a)}
1374
1392
  :host {
1375
1393
  --primary-gradient-angle: -113.5deg;
@@ -1401,12 +1419,12 @@
1401
1419
  ${ne.purple}
1402
1420
  );
1403
1421
  }
1404
- `,shadowOptions:$.foundationRadioShadowOptions},$.defaultRadioConfig));class eo extends $.RadioGroup{}const ao=eo.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,$.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>s.css`
1422
+ `,shadowOptions:$.foundationRadioShadowOptions},$.defaultRadioConfig));class ao extends $.RadioGroup{}const ro=ao.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,$.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>s.css`
1405
1423
  ${(0,$.foundationRadioGroupStyles)(e,a)}
1406
1424
  :host([appearance="accent"]) {
1407
1425
  background: green;
1408
1426
  }
1409
- `,shadowOptions:$.foundationRadioGroupShadowOptions},$.defaultRadioGroupConfig));class ro extends $.SegmentedControl{}const to=ro.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,$.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>s.css`
1427
+ `,shadowOptions:$.foundationRadioGroupShadowOptions},$.defaultRadioGroupConfig));class to extends $.SegmentedControl{}const oo=to.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,$.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>s.css`
1410
1428
  ${(0,$.foundationSegmentedControlStyles)(e,a)}
1411
1429
  :host {
1412
1430
  --primary-gradient-angle: -113.5deg;
@@ -1445,7 +1463,7 @@
1445
1463
  border-color: transparent;
1446
1464
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
1447
1465
  }
1448
- `,shadowOptions:undefined},{}));class oo extends $.Radio{}const io=oo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,$.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>s.css`
1466
+ `,shadowOptions:undefined},{}));class io extends $.Radio{}const no=io.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,$.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>s.css`
1449
1467
  ${(0,$.foundationSegmentedItemStyles)(e,a)}
1450
1468
  :host {
1451
1469
  color: var(--neutral-stroke-rest);
@@ -1455,7 +1473,7 @@
1455
1473
  :host([aria-checked='true']) {
1456
1474
  color: ${ie.white};
1457
1475
  }
1458
- `,shadowOptions:undefined},{}));class no extends $.Select{}const lo=no.compose(Object.assign({baseName:"select",template:(e,a)=>(0,$.foundationSelectTemplate)(e,a),styles:(e,a)=>s.css`
1476
+ `,shadowOptions:undefined},{}));class lo extends $.Select{}const go=lo.compose(Object.assign({baseName:"select",template:(e,a)=>(0,$.foundationSelectTemplate)(e,a),styles:(e,a)=>s.css`
1459
1477
  ${(0,$.foundationSelectStyles)(e,a)}
1460
1478
  :host {
1461
1479
  --primary-gradient-angle: -113.5deg;
@@ -1505,9 +1523,9 @@
1505
1523
  :host(:not([disabled])) .control:active {
1506
1524
  background: none;
1507
1525
  }
1508
- `,shadowOptions:$.foundationSelectShadowOptions},$.defaultSelectConfig));class go extends $.Skeleton{}const so=go.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,$.foundationSkeletonTemplate)(e,a),styles:(e,a)=>s.css`
1526
+ `,shadowOptions:$.foundationSelectShadowOptions},$.defaultSelectConfig));class so extends $.Skeleton{}const co=so.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,$.foundationSkeletonTemplate)(e,a),styles:(e,a)=>s.css`
1509
1527
  ${(0,$.foundationSkeletonStyles)(e,a)}
1510
- `,shadowOptions:$.foundationSkeletonShadowOptions},$.defaultSkeletonConfig));class co extends $.Slider{}const po=co.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,$.foundationSliderTemplate)(e,a),styles:(e,a)=>s.css`
1528
+ `,shadowOptions:$.foundationSkeletonShadowOptions},$.defaultSkeletonConfig));class po extends $.Slider{}const uo=po.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,$.foundationSliderTemplate)(e,a),styles:(e,a)=>s.css`
1511
1529
  ${(0,$.foundationSliderStyles)(e,a)}
1512
1530
  :host {
1513
1531
  --primary-gradient-angle: -113.5deg;
@@ -1564,7 +1582,7 @@
1564
1582
  .track-progress {
1565
1583
  background-color: var(--neutral-stroke-rest);
1566
1584
  }
1567
- `,shadowOptions:$.foundationSliderShadowOptions},$.defaultSliderConfig));class uo extends $.SliderLabel{}const ho=uo.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,$.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>s.css`
1585
+ `,shadowOptions:$.foundationSliderShadowOptions},$.defaultSliderConfig));class ho extends $.SliderLabel{}const mo=ho.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,$.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>s.css`
1568
1586
  ${(0,$.foundationSliderLabelStyles)(e,a)}
1569
1587
  .label {
1570
1588
  padding: 6px 8px;
@@ -1575,7 +1593,7 @@
1575
1593
  text-align: center;
1576
1594
  font-size: var(--type-ramp-minus-1-font-size, 12px);
1577
1595
  }
1578
- `,shadowOptions:$.foundationSliderLabelShadowOptions},$.defaultSliderLabelConfig)),mo=s.css`
1596
+ `,shadowOptions:$.foundationSliderLabelShadowOptions},$.defaultSliderLabelConfig)),vo=s.css`
1579
1597
  ${$.foundationSnackbarStyles}
1580
1598
  .snackbar {
1581
1599
  border: calc(var(--stroke-width) * 1px) solid ${p.neutralLayer2};
@@ -1585,7 +1603,7 @@
1585
1603
  :host([type='error']) .snackbar::after {
1586
1604
  background-color: ${We(1)};
1587
1605
  }
1588
- `,vo=s.html`
1606
+ `,bo=s.html`
1589
1607
  <div class="snackbar ${e=>e.deleteAnimation}" ${(0,s.ref)("snackbar")}>
1590
1608
  <div part="content" class="content">
1591
1609
  <div>${e=>{var a;return(null===(a=e.error)||void 0===a?void 0:a.errorDetails)||"Place holder for error message"}}</div>
@@ -1602,7 +1620,7 @@
1602
1620
  `)}
1603
1621
  </div>
1604
1622
  </div>
1605
- `,bo=$.foundationSnackbarShadowOptions;class fo extends $.Snackbar{}const wo=fo.compose({baseName:"snackbar",shadowOptions:bo,styles:mo,template:vo});class yo extends $.Switch{}const xo=yo.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,$.foundationSwitchTemplate)(e,a),styles:(e,a)=>s.css`
1623
+ `,fo=$.foundationSnackbarShadowOptions;class wo extends $.Snackbar{}const yo=wo.compose({baseName:"snackbar",shadowOptions:fo,styles:vo,template:bo});class xo extends $.Switch{}const zo=xo.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,$.foundationSwitchTemplate)(e,a),styles:(e,a)=>s.css`
1606
1624
  ${(0,$.foundationSwitchStyles)(e,a)}
1607
1625
  :host {
1608
1626
  --primary-gradient-angle: -113.5deg;
@@ -1647,7 +1665,7 @@
1647
1665
  ${ne.purple}
1648
1666
  );
1649
1667
  }
1650
- `,shadowOptions:$.foundationSwitchShadowOptions},$.defaultSwitchConfig));class zo extends $.Tab{}const ko=zo.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,$.foundationTabTemplate)(e,a),styles:(e,a)=>s.css`
1668
+ `,shadowOptions:$.foundationSwitchShadowOptions},$.defaultSwitchConfig));class ko extends $.Tab{}const So=ko.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,$.foundationTabTemplate)(e,a),styles:(e,a)=>s.css`
1651
1669
  ${(0,$.foundationTabStyles)(e,a)}
1652
1670
  :host {
1653
1671
  background-color: ${p.neutralLayer2};
@@ -1671,12 +1689,12 @@
1671
1689
  margin-right: 0;
1672
1690
  background-color: var(--zero-card-fill-color);
1673
1691
  }
1674
- `,shadowOptions:$.foundationTabShadowOptions},$.defaultTabConfig));class So extends $.TabPanel{}const Co=So.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,$.foundationTabPanelTemplate)(e,a),styles:(e,a)=>s.css`
1692
+ `,shadowOptions:$.foundationTabShadowOptions},$.defaultTabConfig));class Co extends $.TabPanel{}const Ao=Co.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,$.foundationTabPanelTemplate)(e,a),styles:(e,a)=>s.css`
1675
1693
  ${(0,$.foundationTabPanelStyles)(e,a)}
1676
1694
  :host {
1677
1695
  padding: 0;
1678
1696
  }
1679
- `,shadowOptions:$.foundationTabPanelShadowOptions},$.defaultTabPanelConfig));class Ao extends $.Tabs{}const To=Ao.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,$.foundationTabsTemplate)(e,a),styles:(e,a)=>s.css`
1697
+ `,shadowOptions:$.foundationTabPanelShadowOptions},$.defaultTabPanelConfig));class To extends $.Tabs{}const Do=To.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,$.foundationTabsTemplate)(e,a),styles:(e,a)=>s.css`
1680
1698
  ${(0,$.foundationTabsStyles)(e,a)}
1681
1699
  :host .tablist {
1682
1700
  padding: 0;
@@ -1722,7 +1740,7 @@
1722
1740
  height: 2px;
1723
1741
  margin-top: 0;
1724
1742
  }
1725
- `,shadowOptions:$.foundationTabsShadowOptions},$.defaultTabsConfig));class Do extends $.TextArea{}const Lo=Do.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,$.foundationTextAreaTemplate)(e,a),styles:(e,a)=>s.css`
1743
+ `,shadowOptions:$.foundationTabsShadowOptions},$.defaultTabsConfig));class Lo extends $.TextArea{}const Fo=Lo.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,$.foundationTextAreaTemplate)(e,a),styles:(e,a)=>s.css`
1726
1744
  ${(0,$.foundationTextAreaStyles)(e,a)}
1727
1745
  :host {
1728
1746
  --primary-gradient-angle: -113.5deg;
@@ -1767,7 +1785,7 @@
1767
1785
  color: ${Ua};
1768
1786
  margin: calc(var(--design-unit) * 2px) 0;
1769
1787
  }
1770
- `,shadowOptions:$.foundationTextAreaShadowOptions},$.defaultTextAreaConfig));class Fo extends $.TextField{}const Oo=Fo.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,$.foundationTextFieldTemplate)(e,a),styles:Bt,shadowOptions:$.foundationTextFieldShadowOptions},$.defaultTextFieldConfig)),Mo=s.css`
1788
+ `,shadowOptions:$.foundationTextAreaShadowOptions},$.defaultTextAreaConfig));class Oo extends $.TextField{}const Mo=Oo.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,$.foundationTextFieldTemplate)(e,a),styles:Gt,shadowOptions:$.foundationTextFieldShadowOptions},$.defaultTextFieldConfig)),No=s.css`
1771
1789
  ${$.foundationToastStyles}
1772
1790
  .toast {
1773
1791
  border: calc(var(--stroke-width) * 1px) solid ${p.neutralLayer3};
@@ -1793,11 +1811,11 @@
1793
1811
  :host([notify='serious']) .toast::after {
1794
1812
  background-color: ${_e(1)};
1795
1813
  }
1796
- `,No=$.defaultToastConfig,$o=$.foundationToastShadowOptions;class Ro extends $.Toast{}const jo=Ro.compose(Object.assign({baseName:"toast",shadowOptions:$o,styles:Mo,template:$.foundationToastTemplate},No));class Io extends $.Toolbar{}const Eo=Io.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,$.foundationToolbarTemplate)(e,a),styles:(e,a)=>s.css`
1814
+ `,$o=$.defaultToastConfig,Ro=$.foundationToastShadowOptions;class jo extends $.Toast{}const Io=jo.compose(Object.assign({baseName:"toast",shadowOptions:Ro,styles:No,template:$.foundationToastTemplate},$o));class Eo extends $.Toolbar{}const Uo=Eo.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,$.foundationToolbarTemplate)(e,a),styles:(e,a)=>s.css`
1797
1815
  ${(0,$.foundationToolbarStyles)(e,a)}
1798
- `,shadowOptions:$.foundationToolbarShadowOptions},$.defaultToolbarConfig));class Uo extends $.Tooltip{}const Po=Uo.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,$.foundationTooltipTemplate)(e,a),styles:(e,a)=>s.css`
1816
+ `,shadowOptions:$.foundationToolbarShadowOptions},$.defaultToolbarConfig));class Po extends $.Tooltip{}const Bo=Po.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,$.foundationTooltipTemplate)(e,a),styles:(e,a)=>s.css`
1799
1817
  ${(0,$.foundationTooltipStyles)(e,a)}
1800
- `,shadowOptions:$.foundationTooltipShadowOptions},$.defaultTooltipConfig));class Bo extends $.TreeItem{}const Go=Bo.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,$.foundationTreeItemTemplate)(e,a),styles:(e,a)=>s.css`
1818
+ `,shadowOptions:$.foundationTooltipShadowOptions},$.defaultTooltipConfig));class Go extends $.TreeItem{}const Ho=Go.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,$.foundationTreeItemTemplate)(e,a),styles:(e,a)=>s.css`
1801
1819
  ${(0,$.foundationTreeItemStyles)(e,a)}
1802
1820
  :host {
1803
1821
  --primary-gradient-angle: -113.5deg;
@@ -1825,9 +1843,9 @@
1825
1843
  background-size: cover;
1826
1844
  background-repeat: no-repeat;
1827
1845
  }
1828
- `,shadowOptions:$.foundationTreeItemShadowOptions},$.defaultTreeItemConfig));class Ho extends $.TreeView{}const _o=Ho.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,$.foundationTreeViewTemplate)(e,a),styles:(e,a)=>s.css`
1846
+ `,shadowOptions:$.foundationTreeItemShadowOptions},$.defaultTreeItemConfig));class _o extends $.TreeView{}const Vo=_o.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,$.foundationTreeViewTemplate)(e,a),styles:(e,a)=>s.css`
1829
1847
  ${(0,$.foundationTreeViewStyles)(e,a)}
1830
- `,shadowOptions:$.foundationTreeViewShadowOptions},$.defaultTreeViewConfig)),Vo=s.html`
1848
+ `,shadowOptions:$.foundationTreeViewShadowOptions},$.defaultTreeViewConfig)),Yo=s.html`
1831
1849
  <div class="container" value=${e=>e.value}>
1832
1850
  <zero-text-field
1833
1851
  class="url-input"
@@ -1843,7 +1861,7 @@
1843
1861
  <a class="url-input-link" href=${e=>e.value} target="_blank">${e=>e.value}</a>
1844
1862
  `)}
1845
1863
  </div>
1846
- `;class Yo 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,ar.__decorate)([s.observable],Yo.prototype,"value",void 0),(0,ar.__decorate)([s.observable],Yo.prototype,"focused",void 0);const Qo={zeroAccordion:Ae,zeroAccordionItem:De,zeroActionsMenu:Fe,zeroAnchor:ca,zeroAnchoredRegion:ua,zeroAvatar:ma,zeroBadge:ba,zeroBanner:xa,zeroBreadcrumbItem:Ca,zeroBreadcrumb:ka,zeroButton:Ta,zeroCalendar:La,zeroCard:Oa,zeroCheckbox:Na,zeroCombobox:Ya,zeroConnectionIndicator:qa,zeroDataGrid:Ka,zeroDesignSystemProvider:nr,zeroDialog:hr,zeroDatePicker:er,zeroDisclosure:vr,zeroDivider:fr,zeroDropdownMenu:yr,zeroErrorBoundary:Ar,zeroNotificationListener:Pt,zeroErrorBanner:Sr,zeroErrorDialog:Dr,zeroFileUpload:$r,zeroFilter:Vr,zeroFilterBar:Zr,zeroFlexLayout:Xr,zeroFlipper:at,zeroFlyout:nt,zeroGridLayout:gt,zeroGridLayoutItem:st,zeroHorizontalScroll:pt,zeroIcon:vt,zeroListbox:ft,zeroListboxOption:yt,zeroMenu:kt,zeroMenuItem:At,zeroModal:Mt,zeroMultiselect:Et,zeroNumberField:Yt,zeroProgress:qt,zeroProgressRing:Zt,zeroRadio:Xt,zeroRadioGroup:ao,zeroSegmentedControl:to,zeroSegmentedItem:io,zeroSelect:lo,zeroSkeleton:so,zeroSlider:po,zeroSliderLabel:ho,zeroSnackbar:wo,zeroSwitch:xo,zeroTab:ko,zeroTabPanel:Co,zeroTabs:To,zeroTextArea:Lo,zeroTextField:Oo,zeroToast:jo,zeroToolbar:Eo,zeroTooltip:Po,zeroTreeItem:Go,zeroTreeView:_o,zeroUrlInput:Yo.compose(Object.assign({baseName:"url-input",template:Vo,styles:(e,a)=>s.css`
1864
+ `;class Qo extends $.TextField{constructor(){super(...arguments),this.value=""}saveUrl(e){this.value=e.startsWith("http")?e:"https://"+e,this.focused=!1}focus(){this.focused=!0}}(0,rr.__decorate)([s.observable],Qo.prototype,"value",void 0),(0,rr.__decorate)([s.observable],Qo.prototype,"focused",void 0);const qo={zeroAccordion:Ae,zeroAccordionItem:De,zeroActionsMenu:Fe,zeroAnchor:ca,zeroAnchoredRegion:ua,zeroAvatar:ma,zeroBadge:ba,zeroBanner:xa,zeroBreadcrumbItem:Ca,zeroBreadcrumb:ka,zeroButton:Ta,zeroCalendar:La,zeroCard:Oa,zeroCheckbox:Na,zeroCombobox:Ya,zeroConnectionIndicator:qa,zeroDataGrid:Ka,zeroDesignSystemProvider:lr,zeroDialog:mr,zeroDatePicker:ar,zeroDisclosure:br,zeroDivider:wr,zeroDropdownMenu:xr,zeroErrorBoundary:Tr,zeroNotificationListener:Bt,zeroErrorBanner:Cr,zeroErrorDialog:Lr,zeroFileUpload:Rr,zeroFilter:Yr,zeroFilterBar:Kr,zeroFlexLayout:et,zeroFlipper:rt,zeroFlyout:lt,zeroGridLayout:dt,zeroGridLayoutItem:ct,zeroHorizontalScroll:ut,zeroIcon:bt,zeroListbox:wt,zeroListboxOption:xt,zeroMenu:St,zeroMenuItem:Tt,zeroModal:Nt,zeroMultiselect:Ut,zeroNumberField:Qt,zeroProgress:Wt,zeroProgressRing:Kt,zeroRadio:eo,zeroRadioGroup:ro,zeroSegmentedControl:oo,zeroSegmentedItem:no,zeroSelect:go,zeroSkeleton:co,zeroSlider:uo,zeroSliderLabel:mo,zeroSnackbar:yo,zeroSwitch:zo,zeroTab:So,zeroTabPanel:Ao,zeroTabs:Do,zeroTextArea:Fo,zeroTextField:Mo,zeroToast:Io,zeroToolbar:Uo,zeroTooltip:Bo,zeroTreeItem:Ho,zeroTreeView:Vo,zeroUrlInput:Qo.compose(Object.assign({baseName:"url-input",template:Yo,styles:(e,a)=>s.css`
1847
1865
  ${(0,$.foundationUrlInputStyles)(e,a)}
1848
1866
  a {
1849
1867
  color: ${ne.blue};
@@ -1853,7 +1871,7 @@
1853
1871
  a:hover {
1854
1872
  opacity: 100%;
1855
1873
  }
1856
- `,shadowOptions:$.foundationUrlInputShadowOptions},$.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var qo=r(80249);const Wo=(0,g.createLogger)("grid-pro");class Jo 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){Wo.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,qo.__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,qo.__decorate)([s.observable],Jo.prototype,"params",void 0),(0,qo.__decorate)([s.observable],Jo.prototype,"pendingAction",void 0);const{create:Zo}=c.DesignToken,Ko=(Zo("action-height-multiplier").withDefault("0.6px"),s.css`
1874
+ `,shadowOptions:$.foundationUrlInputShadowOptions},$.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Wo=r(80249);const Jo=(0,g.createLogger)("grid-pro");class Zo 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){Jo.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Wo.__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,Wo.__decorate)([s.observable],Zo.prototype,"params",void 0),(0,Wo.__decorate)([s.observable],Zo.prototype,"pendingAction",void 0);const{create:Ko}=c.DesignToken,Xo=(Ko("action-height-multiplier").withDefault("0.6px"),s.css`
1857
1875
  .action-container {
1858
1876
  align-items: center;
1859
1877
  display: flex;
@@ -1868,8 +1886,8 @@
1868
1886
  var(--action-height-multiplier)
1869
1887
  );
1870
1888
  }
1871
- `),Xo=Jo.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1872
- ${Ko}
1889
+ `),ei=Zo.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1890
+ ${Xo}
1873
1891
  `,template:s.html`
1874
1892
  <div class="action-container" part="action-container">
1875
1893
  <foundation-button
@@ -1879,8 +1897,8 @@
1879
1897
  ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
1880
1898
  appearance="${e=>e.params.appearance}"
1881
1899
  @click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
1882
- </div>`});class ei extends Jo{}const ai=ei.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1883
- ${Ko}
1900
+ </div>`});class ai extends Zo{}const ri=ai.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1901
+ ${Xo}
1884
1902
  `,template:s.html`
1885
1903
  <div class="action-container" part="action-container">
1886
1904
  <zero-button
@@ -1896,29 +1914,29 @@
1896
1914
  `:e.params.actionName}
1897
1915
  </zero-button>
1898
1916
  </div>
1899
- `});class ri extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,qo.__decorate)([s.observable],ri.prototype,"params",void 0);const ti=ri.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1917
+ `});class ti extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Wo.__decorate)([s.observable],ti.prototype,"params",void 0);const oi=ti.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1900
1918
  <foundation-actions-menu
1901
1919
  name="${e=>e.params.headerName}"
1902
1920
  :definition=${e=>e.params}
1903
1921
  ></foundation-actions-menu>
1904
- `});class oi extends ri{}const ii=oi.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1922
+ `});class ii extends ti{}const ni=ii.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1905
1923
  <zero-actions-menu
1906
1924
  name="${e=>e.params.headerName}"
1907
1925
  :definition=${e=>e.params}
1908
1926
  ></zero-actions-menu>
1909
- `});class ni extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,qo.__decorate)([s.observable],ni.prototype,"params",void 0);const li=s.css`
1927
+ `});class li extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Wo.__decorate)([s.observable],li.prototype,"params",void 0);const gi=s.css`
1910
1928
  :host {
1911
1929
  align-center: center;
1912
1930
  display: flex;
1913
1931
  height: 100%;
1914
1932
  }
1915
- `,gi=(e="foundation")=>{const a=`${e}-checkbox`;return s.html`
1933
+ `,di=(e="foundation")=>{const a=`${e}-checkbox`;return s.html`
1916
1934
  <${a}
1917
1935
  @change="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.changeHandler(e.params)}}"
1918
1936
  checked="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.value}}"
1919
1937
  readonly="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.readonly}}"
1920
1938
  ></${a}>
1921
- `},di=ni.compose({baseName:"boolean-renderer",styles:li,template:gi()});class si extends ni{}const ci=si.compose({baseName:"boolean-renderer",styles:li,template:gi("zero")}),pi=(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 ui 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?pi(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,qo.__decorate)([s.observable],ui.prototype,"textValue",void 0),(0,qo.__decorate)([s.observable],ui.prototype,"params",void 0);const hi=s.css`
1939
+ `},si=li.compose({baseName:"boolean-renderer",styles:gi,template:di()});class ci extends li{}const pi=ci.compose({baseName:"boolean-renderer",styles:gi,template:di("zero")}),ui=(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 hi 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?ui(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,Wo.__decorate)([s.observable],hi.prototype,"textValue",void 0),(0,Wo.__decorate)([s.observable],hi.prototype,"params",void 0);const mi=s.css`
1922
1940
  :host {
1923
1941
  display: flex;
1924
1942
  width: 100%;
@@ -1928,7 +1946,7 @@
1928
1946
  .text-renderer {
1929
1947
  width: 100%;
1930
1948
  }
1931
- `,mi=(e="foundation")=>{const a=`${e}-text-field`;return s.html`
1949
+ `,vi=(e="foundation")=>{const a=`${e}-text-field`;return s.html`
1932
1950
  <${a}
1933
1951
  ${(0,s.ref)("textField")}
1934
1952
  type="text"
@@ -1936,7 +1954,7 @@
1936
1954
  :value="${(0,g.sync)((e=>e.textValue))}"
1937
1955
  @change="${(e,a)=>e.textChanged(a.event)}"
1938
1956
  ></${a}>
1939
- `},vi=ui.compose({baseName:"grid-pro-text-renderer",styles:hi,template:mi()});class bi extends ui{}const fi=hi,wi=mi,yi=bi.compose({baseName:"grid-text-renderer",styles:fi,template:wi()});const xi=class extends bi{}.compose({baseName:"grid-text-renderer",styles:fi,template:wi("zero")});class zi 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=pi(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,qo.__decorate)([s.observable],zi.prototype,"params",void 0),(0,qo.__decorate)([s.observable],zi.prototype,"value",void 0);const ki=s.css`
1957
+ `},bi=hi.compose({baseName:"grid-pro-text-renderer",styles:mi,template:vi()});class fi extends hi{}const wi=mi,yi=vi,xi=fi.compose({baseName:"grid-text-renderer",styles:wi,template:yi()});const zi=class extends fi{}.compose({baseName:"grid-text-renderer",styles:wi,template:yi("zero")});class ki 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=ui(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Wo.__decorate)([s.observable],ki.prototype,"params",void 0),(0,Wo.__decorate)([s.observable],ki.prototype,"value",void 0);const Si=s.css`
1940
1958
  :host,
1941
1959
  .select-renderer,
1942
1960
  zero-option,
@@ -1945,7 +1963,7 @@
1945
1963
  max-width: var(--select-renderer-max-width);
1946
1964
  min-width: 100%;
1947
1965
  }
1948
- `,Si=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return s.html`
1966
+ `,Ci=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return s.html`
1949
1967
  <${a}
1950
1968
  class="select-renderer"
1951
1969
  @change=${(e,a)=>e.selectionChanged(a.event)}
@@ -1961,19 +1979,19 @@
1961
1979
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
1962
1980
  `)}
1963
1981
  </${a}>
1964
- `},Ci=zi.compose({baseName:"select-renderer",styles:ki,template:Si()});const Ai=class extends zi{}.compose({baseName:"select-renderer",styles:ki,template:Si("zero")});var Ti=r(89861),Di=r(59783),Li=r(86534),Fi=r(75527);const Oi=s.html`
1982
+ `},Ai=ki.compose({baseName:"select-renderer",styles:Si,template:Ci()});const Ti=class extends ki{}.compose({baseName:"select-renderer",styles:Si,template:Ci("zero")});var Di=r(89861),Li=r(59783),Fi=r(86534),Oi=r(75527);const Mi=s.html`
1965
1983
  <template>
1966
1984
  <slot ${(0,s.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
1967
1985
  </template>
1968
- `;let Mi=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,qo.__decorate)([s.observable],Mi.prototype,"renderer",void 0),(0,qo.__decorate)([s.observable],Mi.prototype,"rendererParams",void 0),(0,qo.__decorate)([s.observable],Mi.prototype,"slottedRenderer",void 0),Mi=(0,qo.__decorate)([(0,s.customElement)({name:"grid-pro-cell",template:Oi})],Mi);const Ni=s.html`
1986
+ `;let Ni=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,Wo.__decorate)([s.observable],Ni.prototype,"renderer",void 0),(0,Wo.__decorate)([s.observable],Ni.prototype,"rendererParams",void 0),(0,Wo.__decorate)([s.observable],Ni.prototype,"slottedRenderer",void 0),Ni=(0,Wo.__decorate)([(0,s.customElement)({name:"grid-pro-cell",template:Mi})],Ni);const $i=s.html`
1969
1987
  <template>
1970
1988
  <slot ${(0,s.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
1971
1989
  </template>
1972
- `;let $i=class extends c.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};var Ri,ji;(0,qo.__decorate)([s.observable],$i.prototype,"slottedAgCell",void 0),(0,qo.__decorate)([s.observable],$i.prototype,"definition",void 0),$i=(0,qo.__decorate)([(0,s.customElement)({name:"grid-pro-column",template:Ni})],$i),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"}(Ri||(Ri={})),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"}(ji||(ji={}));const Ii=e=>`${e}-token-map`,Ei=(e,a)=>s.css`
1973
- .${Ii(e)} {
1990
+ `;let Ri=class extends c.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};var ji,Ii;(0,Wo.__decorate)([s.observable],Ri.prototype,"slottedAgCell",void 0),(0,Wo.__decorate)([s.observable],Ri.prototype,"definition",void 0),Ri=(0,Wo.__decorate)([(0,s.customElement)({name:"grid-pro-column",template:$i})],Ri),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"}(ji||(ji={})),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"}(Ii||(Ii={}));const Ei=e=>`${e}-token-map`,Ui=(e,a)=>s.css`
1991
+ .${Ei(e)} {
1974
1992
  ${new $.CSSVarsTokenMapper(a)}
1975
1993
  }
1976
- `;var Ui;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.text="text",e.select="select"}(Ui||(Ui={}));const Pi='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/wo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mateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Bi='\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+Igvtu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1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Gi={[ji.alpine]:Pi,[ji.alpineDark]:Pi,[ji.balham]:Bi,[ji.balhamDark]:Bi,[ji.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU8jcamQigXK1UFkBoXGOSirP22bKJBeriEyKFKLF7ApHF2cslXcTZUOdQ9GypSIYfXSKoUsTiLtq2oYVCg9waGz9Gb0IKKzj0gNMtwgGptnTXVZcdTUqUJ9nII9zZYrIIqAaglVkSlOzY65X7msQ1WsjqE9ZeXZaQERzutqaDhP33SSojD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NcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Hi=Pi;var _i=r(82940),Vi=r(32449),Yi=r(9162),Qi=r(5127),qi=r(83123),Wi=r(35991),Ji=r(6852),Zi=r(26714),Ki=r(71452),Xi=r(99449),en=r(30526);function an(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function rn({value:e}){return(0,g.formatDateTimestamp)(e)}function tn({value:e}){return(0,g.formatDateTimeTimestamp)(e)}var on;!function(e){e.Add="add",e.Update="update",e.Remove="remove"}(on||(on={}));let nn=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=!1,this.pollingInterval=_i.WJ.REQ_REP_POLLING_INTERVAL_MS,this.reverse=!1,this.restartOnReconnection=!1,this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new Zi.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Vi.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,qo.__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,qo.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Ki.T)(1),(0,Xi.b)(r),(0,en.b)((e=>Wo.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Wo.warn("Application not connected, falling back to local columnDefs/rowData")}))}deinit(){this.reset()}reset(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new Zi.X(new Map),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rows.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rows=new Map,this.agTransaction=void 0,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){const a=this.getAgColumnDefs(this.datasource.fieldMetadata);a&&this.agGrid.gridApi.setColumnDefs(a);const r=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.gridApi.setRowData(r),this.requiresFullRowDataAndColDefs=!1}reloadResourceData(){var e,a;return(0,qo.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,qo.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Wo.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 Wo.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===Yi.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Qi.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Qi.$)(e).inserts:e.inserts}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=e.REPLY;if(!Array.isArray(r)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Wo.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rows.set(e[this.rowId],e)}));const e=this.rows.size>0?Array.from(this.rows.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rows.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rows.has(e[this.rowId])));this.agTransaction={add:[],remove:[]},this.handleStreamInserts(i),this.handleStreamDeletes(o),this.agGrid.gridApi.applyTransaction(this.mapTransaction(this.agTransaction,[on.Add,on.Remove])),this.agTransaction={update:[]},this.handleStreamUpdates(t),this.agGrid.gridApi.applyTransactionAsync(this.mapTransaction(this.agTransaction,[on.Update]))}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:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.agGrid.gridApi.applyTransaction(this.mapTransaction(this.agTransaction,[on.Add,on.Remove])),this.agTransaction={update:[]},this.handleStreamUpdates(e.updates),this.agGrid.gridApi.applyTransactionAsync(this.mapTransaction(this.agTransaction,[on.Update]))}mapTransaction(e,a=Object.values(on)){if(!this.rowDataMapper)return e;const r={};return a.includes(on.Add)&&(r.add=this.rowDataMapper(e.add,this.rows)),a.includes(on.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rows)),a.includes(on.Update)&&(r.update=this.rowDataMapper(e.update,this.rows)),r}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rows.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rows.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{this.agTransaction.remove.push({[this.rowId]:e[this.rowId]}),this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r),this.rows.set(e[this.rowId],r)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=(e.type,{suppressAndOrCondition:!0,filterOptions:["contains"]}),e.type){case qi.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ui.boolean);break;case qi.r.DATE:r.valueFormatter=rn;break;case qi.r.DATETIME:r.valueFormatter=tn}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,Vi.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,qo.__decorate)([Wi.g],nn.prototype,"auth",void 0),(0,qo.__decorate)([l.lj],nn.prototype,"connect",void 0),(0,qo.__decorate)([Ji.Yh],nn.prototype,"datasource",void 0),(0,qo.__decorate)([s.observable],nn.prototype,"deferredGridOptions",void 0),(0,qo.__decorate)([s.attr],nn.prototype,"criteria",void 0),(0,qo.__decorate)([s.attr],nn.prototype,"fields",void 0),(0,qo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],nn.prototype,"isSnapshot",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"max-rows"})],nn.prototype,"maxRows",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"max-view"})],nn.prototype,"maxView",void 0),(0,qo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"moving-view"})],nn.prototype,"movingView",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"order-by"})],nn.prototype,"orderBy",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"polling-interval"})],nn.prototype,"pollingInterval",void 0),(0,qo.__decorate)([s.observable],nn.prototype,"request",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"resource-name"})],nn.prototype,"resourceName",void 0),(0,qo.__decorate)([(0,s.attr)({mode:"boolean"})],nn.prototype,"reverse",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"row-id"})],nn.prototype,"rowIdAttr",void 0),(0,qo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],nn.prototype,"restartOnReconnection",void 0),(0,qo.__decorate)([s.observable],nn.prototype,"rowDataMapper",void 0),nn=(0,qo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource"})],nn);var ln=r(66306),gn=r(47546);class dn{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,qo.__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,gn.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===Yi.Cs.LOGOFF_ACK||o===Yi.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,a.ROW){const e=(0,Qi.$)(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=>Wo.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,qo.__decorate)([l.lj],dn.prototype,"connect",void 0);let sn=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,Vi.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,qo.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Wo.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,ln.C)(e);const a=(0,ln.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new dn({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});Wo.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));Wo.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 Wo.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,qo.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Wo.debug(e)),(e=>Wo.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 qi.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ui.boolean);break;case qi.r.DATE:r.valueFormatter=rn;break;case qi.r.DATETIME:r.valueFormatter=tn}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:an(e.type),filter:(e.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(a)}};(0,qo.__decorate)([l.lj],sn.prototype,"connect",void 0),(0,qo.__decorate)([s.attr],sn.prototype,"criteria",void 0),(0,qo.__decorate)([s.attr],sn.prototype,"fields",void 0),(0,qo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],sn.prototype,"isSnapshot",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"max-rows"})],sn.prototype,"maxRows",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"max-view"})],sn.prototype,"maxView",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"moving-view"})],sn.prototype,"movingView",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"order-by"})],sn.prototype,"orderBy",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"resource-name"})],sn.prototype,"resourceName",void 0),(0,qo.__decorate)([(0,s.attr)({mode:"boolean"})],sn.prototype,"pagination",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"row-id"})],sn.prototype,"rowId",void 0),(0,qo.__decorate)([(0,s.attr)({mode:"boolean"})],sn.prototype,"reverse",void 0),sn=(0,qo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource-next"})],sn);const cn=s.css`
1994
+ `;var Pi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.text="text",e.select="select"}(Pi||(Pi={}));const Bi='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLA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aGt9tQq2n9Q0derrnU/2o8lgXVDNY1oD9p6TyUb0YWZhdYyCKXNkXqpiKbholwui05d6ymOvr4rvfbvnEuD/2Lt6UJO/LtcDLUAjLO7+6TfmdLsqQ1oX9N1GBdZaqb1U6z/q75SrwQ8/Q0nP38sYCya/8Olal7o7hJgPz+nTjjmCEjw0ihgE3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Gi='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2B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ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Hi={[Ii.alpine]:Bi,[Ii.alpineDark]:Bi,[Ii.balham]:Gi,[Ii.balhamDark]:Gi,[Ii.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkD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3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},_i=Bi;var Vi=r(82940),Yi=r(32449),Qi=r(9162),qi=r(5127),Wi=r(83123),Ji=r(35991),Zi=r(6852),Ki=r(26714),Xi=r(71452),en=r(99449),an=r(30526);function rn(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function tn({value:e}){return(0,g.formatDateTimestamp)(e)}function on({value:e}){return(0,g.formatDateTimeTimestamp)(e)}var nn;!function(e){e.Add="add",e.Update="update",e.Remove="remove"}(nn||(nn={}));let ln=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Vi.WJ.MAX_ROWS_250,this.maxView=Vi.WJ.MAX_VIEW_1000,this.movingView=!1,this.pollingInterval=Vi.WJ.REQ_REP_POLLING_INTERVAL_MS,this.reverse=!1,this.restartOnReconnection=!1,this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new Ki.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Yi.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?Vi.WJ.REQUEST_SERVER_ROW_ID:Vi.WJ.DATASERVER_ROW_ID}init(){return(0,Wo.__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===Vi._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,Wo.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Xi.T)(1),(0,en.b)(r),(0,an.b)((e=>Jo.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Jo.warn("Application not connected, falling back to local columnDefs/rowData")}))}deinit(){this.reset()}reset(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new Ki.X(new Map),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rows.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rows=new Map,this.agTransaction=void 0,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){const a=this.getAgColumnDefs(this.datasource.fieldMetadata);a&&this.agGrid.gridApi.setColumnDefs(a);const r=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.gridApi.setRowData(r),this.requiresFullRowDataAndColDefs=!1}reloadResourceData(){var e,a;return(0,Wo.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,Wo.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Jo.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 Jo.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===Qi.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,qi.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,qi.$)(e).inserts:e.inserts}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=e.REPLY;if(!Array.isArray(r)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Jo.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rows.set(e[this.rowId],e)}));const e=this.rows.size>0?Array.from(this.rows.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rows.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rows.has(e[this.rowId])));this.agTransaction={add:[],remove:[]},this.handleStreamInserts(i),this.handleStreamDeletes(o),this.agGrid.gridApi.applyTransaction(this.mapTransaction(this.agTransaction,[nn.Add,nn.Remove])),this.agTransaction={update:[]},this.handleStreamUpdates(t),this.agGrid.gridApi.applyTransactionAsync(this.mapTransaction(this.agTransaction,[nn.Update]))}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:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.agGrid.gridApi.applyTransaction(this.mapTransaction(this.agTransaction,[nn.Add,nn.Remove])),this.agTransaction={update:[]},this.handleStreamUpdates(e.updates),this.agGrid.gridApi.applyTransactionAsync(this.mapTransaction(this.agTransaction,[nn.Update]))}mapTransaction(e,a=Object.values(nn)){if(!this.rowDataMapper)return e;const r={};return a.includes(nn.Add)&&(r.add=this.rowDataMapper(e.add,this.rows)),a.includes(nn.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rows)),a.includes(nn.Update)&&(r.update=this.rowDataMapper(e.update,this.rows)),r}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rows.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rows.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{this.agTransaction.remove.push({[this.rowId]:e[this.rowId]}),this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r),this.rows.set(e[this.rowId],r)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=(e.type,{suppressAndOrCondition:!0,filterOptions:["contains"]}),e.type){case Wi.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Pi.boolean);break;case Wi.r.DATE:r.valueFormatter=tn;break;case Wi.r.DATETIME:r.valueFormatter=on}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,Yi.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,Wo.__decorate)([Ji.g],ln.prototype,"auth",void 0),(0,Wo.__decorate)([l.lj],ln.prototype,"connect",void 0),(0,Wo.__decorate)([Zi.Yh],ln.prototype,"datasource",void 0),(0,Wo.__decorate)([s.observable],ln.prototype,"deferredGridOptions",void 0),(0,Wo.__decorate)([s.attr],ln.prototype,"criteria",void 0),(0,Wo.__decorate)([s.attr],ln.prototype,"fields",void 0),(0,Wo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],ln.prototype,"isSnapshot",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"max-rows"})],ln.prototype,"maxRows",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"max-view"})],ln.prototype,"maxView",void 0),(0,Wo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"moving-view"})],ln.prototype,"movingView",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"order-by"})],ln.prototype,"orderBy",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"polling-interval"})],ln.prototype,"pollingInterval",void 0),(0,Wo.__decorate)([s.observable],ln.prototype,"request",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"resource-name"})],ln.prototype,"resourceName",void 0),(0,Wo.__decorate)([(0,s.attr)({mode:"boolean"})],ln.prototype,"reverse",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"row-id"})],ln.prototype,"rowIdAttr",void 0),(0,Wo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],ln.prototype,"restartOnReconnection",void 0),(0,Wo.__decorate)([s.observable],ln.prototype,"rowDataMapper",void 0),ln=(0,Wo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource"})],ln);var gn=r(66306),dn=r(47546);class sn{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,Wo.__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,dn.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===Qi.Cs.LOGOFF_ACK||o===Qi.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,a.ROW){const e=(0,qi.$)(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=>Jo.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,Wo.__decorate)([l.lj],sn.prototype,"connect",void 0);let cn=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Vi.WJ.MAX_ROWS_250,this.maxView=Vi.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,Yi.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,Wo.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Jo.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,gn.C)(e);const a=(0,gn.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new sn({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});Jo.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));Jo.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 Jo.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,Wo.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Jo.debug(e)),(e=>Jo.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 Wi.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Pi.boolean);break;case Wi.r.DATE:r.valueFormatter=tn;break;case Wi.r.DATETIME:r.valueFormatter=on}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:rn(e.type),filter:(e.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(a)}};(0,Wo.__decorate)([l.lj],cn.prototype,"connect",void 0),(0,Wo.__decorate)([s.attr],cn.prototype,"criteria",void 0),(0,Wo.__decorate)([s.attr],cn.prototype,"fields",void 0),(0,Wo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],cn.prototype,"isSnapshot",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"max-rows"})],cn.prototype,"maxRows",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"max-view"})],cn.prototype,"maxView",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"moving-view"})],cn.prototype,"movingView",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"order-by"})],cn.prototype,"orderBy",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"resource-name"})],cn.prototype,"resourceName",void 0),(0,Wo.__decorate)([(0,s.attr)({mode:"boolean"})],cn.prototype,"pagination",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"row-id"})],cn.prototype,"rowId",void 0),(0,Wo.__decorate)([(0,s.attr)({mode:"boolean"})],cn.prototype,"reverse",void 0),cn=(0,Wo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource-next"})],cn);const pn=s.css`
1977
1995
  .ag-icon {
1978
1996
  font-family: var(--ag-icon-font-family);
1979
1997
  font-size: var(--ag-icon-size);
@@ -9150,7 +9168,7 @@
9150
9168
  input[class^='ag-'][type='range']:disabled {
9151
9169
  opacity: 0.5;
9152
9170
  }
9153
- `,pn=s.css`
9171
+ `,un=s.css`
9154
9172
  .ag-dnd-ghost {
9155
9173
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9156
9174
  border: solid 1px;
@@ -9167,7 +9185,7 @@
9167
9185
  overflow: hidden;
9168
9186
  text-overflow: ellipsis;
9169
9187
  }
9170
- `,un=s.css`
9188
+ `,hn=s.css`
9171
9189
  .ag-theme-alpine,
9172
9190
  .ag-theme-alpine-dark {
9173
9191
  --ag-alpine-active-color: #2196f3;
@@ -9617,7 +9635,7 @@
9617
9635
  .ag-theme-alpine-dark {
9618
9636
  color-scheme: dark;
9619
9637
  }
9620
- `,hn=s.css`
9638
+ `,mn=s.css`
9621
9639
  .ag-theme-balham,
9622
9640
  .ag-theme-balham-dark {
9623
9641
  --ag-balham-active-color: #0091ea;
@@ -9887,7 +9905,7 @@
9887
9905
  .ag-theme-balham-dark {
9888
9906
  color-scheme: dark;
9889
9907
  }
9890
- `,mn=s.css`
9908
+ `,vn=s.css`
9891
9909
  .ag-theme-material {
9892
9910
  --ag-material-primary-color: #3f51b5;
9893
9911
  --ag-material-accent-color: #ff4081;
@@ -10152,14 +10170,14 @@
10152
10170
  .ag-theme-material .ag-picker-field-wrapper:focus {
10153
10171
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10154
10172
  }
10155
- `,vn=s.css`
10156
- ${cn}
10173
+ `,bn=s.css`
10157
10174
  ${pn}
10158
10175
  ${un}
10159
10176
  ${hn}
10160
10177
  ${mn}
10161
- `,bn=s.css`
10162
10178
  ${vn}
10179
+ `,fn=s.css`
10180
+ ${bn}
10163
10181
  :host {
10164
10182
  width: 100%;
10165
10183
  height: 100%;
@@ -10186,14 +10204,14 @@
10186
10204
  .ag-cell-inline-editing {
10187
10205
  height: inherit !important;
10188
10206
  }
10189
- `,fn=s.html`
10207
+ `,wn=s.html`
10190
10208
  <template>
10191
10209
  <span part="grid" class="${e=>e.classNames}">
10192
10210
  <slot name="grid" ${(0,s.ref)("gridSlot")}></slot>
10193
10211
  <slot></slot>
10194
10212
  </span>
10195
10213
  </template>
10196
- `;Di.O3h.registerModules([Li.jM,Ti.I]);const wn=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class yn extends((0,g.LifecycleMixin)(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Yr.A)(Ii(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.enabledRowFlashing=!1,this.enableCellFlashing=!1,this.gridAutosizingEnabled=!1,this.gridFontFace=Hi,this.columnComponentName="grid-pro-column",this.theme=ji.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Di.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[wn(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&(0,g.respondToVisibility)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&Di.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(wn(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;this.cacheFilterConfig(),super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[Ui.action]:Jo,[Ui.actionsMenu]:ri,[Ui.boolean]:ni};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.columnApi.getColumnState();if(a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,0===a.length)return;e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}getSavedColumnState(){const e=this.session.getLocalStorageItem("gridOptions");if(this.statePersistanceEnabled()&&e){const a=JSON.parse(e);if(this.persistColumnStateKey in a)return JSON.parse(a[this.persistColumnStateKey])}return[]}restoreColumnState(){var e;this.rehydrationAttempted=!0;const a=this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}cacheFilterConfig(){var e;this.filterConfig=(null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0}restoreCachedFilterConfig(){var e,a;void 0!==this.filterConfig&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(this.filterConfig),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}get gridOptions(){return this.agGridOptions}get gridProGenesisDatasource(){return this.querySelector("grid-pro-genesis-datasource")}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.saveColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:t,components:o,onGridReady:i,onFirstDataRendered:n}=e,l=(0,qo.__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),this.restoreCachedFilterConfig.bind(this)(),n&&n(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),l);this.gridProGenesisDatasource||(g.columnDefs=this.applyTemplateDefinitions(t)),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Di.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 Di.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}enableFlashingRows(){this.enabledRowFlashing&&this.gridApi.addEventListener(Di.zW2.EVENT_ASYNC_TRANSACTIONS_FLUSHED,(e=>{e.results.forEach((e=>{e.add.length&&this.gridApi.flashCells({rowNodes:e.add})}))}))}applyTemplateDefinitions(e,a=!1){const r=e||[],t=this.querySelectorAll(this.columnComponentName),o=Array.from(t).map((e=>{var a;return null===(a=e.definition)||void 0===a?void 0:a.field}));let i=[];if(i=0===t.length?r:[...r.filter((e=>!o.includes(e.field))),...Array.from(t).map((e=>{var a;if(this.enableCellFlashing&&void 0===e.definition.enableCellChangeFlash&&(e.definition.enableCellChangeFlash=!0),!this.autoCellRendererByType||e.definition.valueFormatter)return e.definition;const t=null===(a=r.find((a=>e.definition.field===a.field)))||void 0===a?void 0:a.valueFormatter;return t&&(e.definition.valueFormatter=t),e.definition}))],this.gridProGenesisDatasource&&a){const e=this.getSavedColumnState();if(e.length>0)return function(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}(i,e)}return i}get observedAttributes(){const e=Di.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Di.plv.ALL_PROPERTIES.map((e=>wn(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},Di.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=Gi[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,qo.__decorate)([s.observable],yn.prototype,"columnApi",void 0),(0,qo.__decorate)([s.observable],yn.prototype,"gridApi",void 0),(0,qo.__decorate)([Fi.z],yn.prototype,"session",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],yn.prototype,"autoCellRendererByType",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],yn.prototype,"onlyTemplateColDefs",void 0),(0,qo.__decorate)([(0,s.attr)({mode:"boolean"})],yn.prototype,"enabledRowFlashing",void 0),(0,qo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],yn.prototype,"enableCellFlashing",void 0),(0,qo.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],yn.prototype,"persistColumnStateKey",void 0),(0,qo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],yn.prototype,"gridAutosizingEnabled",void 0),(0,qo.__decorate)([s.observable],yn.prototype,"gridFontFace",void 0),(0,qo.__decorate)([s.attr],yn.prototype,"columnComponentName",void 0),(0,qo.__decorate)([s.observable],yn.prototype,"eventsAndCallbacks",void 0),(0,qo.__decorate)([s.attr],yn.prototype,"headerHeight",void 0),(0,qo.__decorate)([s.attr],yn.prototype,"rowHeight",void 0),(0,qo.__decorate)([s.attr],yn.prototype,"theme",void 0),(0,qo.__decorate)([s.observable],yn.prototype,"classNames",void 0),(0,qo.__decorate)([s.observable],yn.prototype,"agGrid",void 0),(0,qo.__decorate)([s.observable],yn.prototype,"gridSlot",void 0),(0,qo.__decorate)([s.observable],yn.prototype,"gridComponents",void 0);const xn=void 0,zn={shadowOptions:void 0},kn=yn.compose(Object.assign({baseName:"grid-pro",styles:bn,template:fn,shadowOptions:xn},zn)),Sn={foregroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#879ba6")),backgroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#1f2126")),borderSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#2b2e34"))},Cn={foregroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#000000")),headerForegroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#181d1f")),backgroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#FFFFFF")),borderSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#2196f3"))},{create:An}=c.DesignToken,Tn={backgroundColor:An("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Cn.backgroundSwatch:Sn.backgroundSwatch)),borderColor:An("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Cn.borderSwatch:Sn.borderSwatch)),foregroundColor:An("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Cn.foregroundSwatch:Sn.foregroundSwatch)),headerForegroundColor:An("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Cn.headerForegroundSwatch:Sn.headerForegroundSwatch)),rowHoverColor:An("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Cn.rowHoverSwatch:Sn.rowHoverSwatch))},Dn=s.css`
10214
+ `;Li.O3h.registerModules([Fi.jM,Di.I]);const yn=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class xn extends((0,g.LifecycleMixin)(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Qr.A)(Ei(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.enabledRowFlashing=!1,this.enableCellFlashing=!1,this.gridAutosizingEnabled=!1,this.gridFontFace=_i,this.columnComponentName="grid-pro-column",this.theme=Ii.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Li.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[yn(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&(0,g.respondToVisibility)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&Li.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(yn(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;this.cacheFilterConfig(),super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[Pi.action]:Zo,[Pi.actionsMenu]:ti,[Pi.boolean]:li};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.columnApi.getColumnState();if(a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,0===a.length)return;e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}getSavedColumnState(){const e=this.session.getLocalStorageItem("gridOptions");if(this.statePersistanceEnabled()&&e){const a=JSON.parse(e);if(this.persistColumnStateKey in a)return JSON.parse(a[this.persistColumnStateKey])}return[]}restoreColumnState(){var e;this.rehydrationAttempted=!0;const a=this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}cacheFilterConfig(){var e;this.filterConfig=(null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0}restoreCachedFilterConfig(){var e,a;void 0!==this.filterConfig&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(this.filterConfig),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}get gridOptions(){return this.agGridOptions}get gridProGenesisDatasource(){return this.querySelector("grid-pro-genesis-datasource")}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.saveColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:t,components:o,onGridReady:i,onFirstDataRendered:n}=e,l=(0,Wo.__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),this.restoreCachedFilterConfig.bind(this)(),n&&n(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),l);this.gridProGenesisDatasource||(g.columnDefs=this.applyTemplateDefinitions(t)),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Li.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 Li.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}enableFlashingRows(){this.enabledRowFlashing&&this.gridApi.addEventListener(Li.zW2.EVENT_ASYNC_TRANSACTIONS_FLUSHED,(e=>{e.results.forEach((e=>{e.add.length&&this.gridApi.flashCells({rowNodes:e.add})}))}))}applyTemplateDefinitions(e,a=!1){const r=e||[],t=this.querySelectorAll(this.columnComponentName),o=Array.from(t).map((e=>{var a;return null===(a=e.definition)||void 0===a?void 0:a.field}));let i=[];if(i=0===t.length?r:[...r.filter((e=>!o.includes(e.field))),...Array.from(t).map((e=>{var a;if(this.enableCellFlashing&&void 0===e.definition.enableCellChangeFlash&&(e.definition.enableCellChangeFlash=!0),!this.autoCellRendererByType||e.definition.valueFormatter)return e.definition;const t=null===(a=r.find((a=>e.definition.field===a.field)))||void 0===a?void 0:a.valueFormatter;return t&&(e.definition.valueFormatter=t),e.definition}))],this.gridProGenesisDatasource&&a){const e=this.getSavedColumnState();if(e.length>0)return function(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}(i,e)}return i}get observedAttributes(){const e=Li.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Li.plv.ALL_PROPERTIES.map((e=>yn(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},Li.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=Hi[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,Wo.__decorate)([s.observable],xn.prototype,"columnApi",void 0),(0,Wo.__decorate)([s.observable],xn.prototype,"gridApi",void 0),(0,Wo.__decorate)([Oi.z],xn.prototype,"session",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],xn.prototype,"autoCellRendererByType",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],xn.prototype,"onlyTemplateColDefs",void 0),(0,Wo.__decorate)([(0,s.attr)({mode:"boolean"})],xn.prototype,"enabledRowFlashing",void 0),(0,Wo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],xn.prototype,"enableCellFlashing",void 0),(0,Wo.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],xn.prototype,"persistColumnStateKey",void 0),(0,Wo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],xn.prototype,"gridAutosizingEnabled",void 0),(0,Wo.__decorate)([s.observable],xn.prototype,"gridFontFace",void 0),(0,Wo.__decorate)([s.attr],xn.prototype,"columnComponentName",void 0),(0,Wo.__decorate)([s.observable],xn.prototype,"eventsAndCallbacks",void 0),(0,Wo.__decorate)([s.attr],xn.prototype,"headerHeight",void 0),(0,Wo.__decorate)([s.attr],xn.prototype,"rowHeight",void 0),(0,Wo.__decorate)([s.attr],xn.prototype,"theme",void 0),(0,Wo.__decorate)([s.observable],xn.prototype,"classNames",void 0),(0,Wo.__decorate)([s.observable],xn.prototype,"agGrid",void 0),(0,Wo.__decorate)([s.observable],xn.prototype,"gridSlot",void 0),(0,Wo.__decorate)([s.observable],xn.prototype,"gridComponents",void 0);const zn=void 0,kn={shadowOptions:void 0},Sn=xn.compose(Object.assign({baseName:"grid-pro",styles:fn,template:wn,shadowOptions:zn},kn)),Cn={foregroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#879ba6")),backgroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#1f2126")),borderSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#2b2e34"))},An={foregroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#000000")),headerForegroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#181d1f")),backgroundSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#FFFFFF")),borderSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:p.SwatchRGB.from((0,Oe.parseColorHexRGB)("#2196f3"))},{create:Tn}=c.DesignToken,Dn={backgroundColor:Tn("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?An.backgroundSwatch:Cn.backgroundSwatch)),borderColor:Tn("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?An.borderSwatch:Cn.borderSwatch)),foregroundColor:Tn("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?An.foregroundSwatch:Cn.foregroundSwatch)),headerForegroundColor:Tn("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?An.headerForegroundSwatch:Cn.headerForegroundSwatch)),rowHoverColor:Tn("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?An.rowHoverSwatch:Cn.rowHoverSwatch))},Ln=s.css`
10197
10215
  .ag-theme-genesis-rapid,
10198
10216
  .ag-theme-genesis-rapid-dark {
10199
10217
  --ag-alpine-active-color: #2196f3;
@@ -10653,50 +10671,50 @@
10653
10671
  .ag-theme-genesis-rapid-dark {
10654
10672
  color-scheme: dark;
10655
10673
  }
10656
- `,Ln={[Ri.backgroundColor]:Tn.backgroundColor,[Ri.foregroundColor]:Tn.foregroundColor,[Ri.oddRowBackgroundColor]:Tn.backgroundColor,[Ri.headerBackgroundColor]:Tn.backgroundColor,[Ri.headerForegroundColor]:Tn.headerForegroundColor,[Ri.selectedRowBackgroundColor]:Tn.rowHoverColor,[Ri.rowHoverColor]:Tn.rowHoverColor,[Ri.borderColor]:Tn.borderColor,[Ri.rowBorderColor]:Tn.rowHoverColor,[Ri.modalOverlayBackgroundColor]:Tn.backgroundColor,[Ri.inputFocusBoxShadow]:Tn.headerForegroundColor,[Ri.inputFocusBorderColor]:Tn.headerForegroundColor,[Ri.headerColumnResizeHandleColor]:Tn.headerForegroundColor},Fn="ag-theme-genesis-rapid",On=s.css`
10657
- ${Dn}
10658
- ${Ei(Fn,Ln)}
10674
+ `,Fn={[ji.backgroundColor]:Dn.backgroundColor,[ji.foregroundColor]:Dn.foregroundColor,[ji.oddRowBackgroundColor]:Dn.backgroundColor,[ji.headerBackgroundColor]:Dn.backgroundColor,[ji.headerForegroundColor]:Dn.headerForegroundColor,[ji.selectedRowBackgroundColor]:Dn.rowHoverColor,[ji.rowHoverColor]:Dn.rowHoverColor,[ji.borderColor]:Dn.borderColor,[ji.rowBorderColor]:Dn.rowHoverColor,[ji.modalOverlayBackgroundColor]:Dn.backgroundColor,[ji.inputFocusBoxShadow]:Dn.headerForegroundColor,[ji.inputFocusBorderColor]:Dn.headerForegroundColor,[ji.headerColumnResizeHandleColor]:Dn.headerForegroundColor},On="ag-theme-genesis-rapid",Mn=s.css`
10675
+ ${Ln}
10676
+ ${Ui(On,Fn)}
10659
10677
 
10660
- .${Fn} {
10678
+ .${On} {
10661
10679
  ${ye()}
10662
10680
  }
10663
10681
 
10664
- .${Fn} .ag-header {
10682
+ .${On} .ag-header {
10665
10683
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10666
10684
  font-weight: bold;
10667
10685
  }
10668
10686
 
10669
- .${Fn} .ag-root-wrapper {
10687
+ .${On} .ag-root-wrapper {
10670
10688
  border-radius: calc(var(--control-corner-radius) * 1px);
10671
10689
  }
10672
- `,Mn="ag-theme-genesis-rapid-dark",Nn=s.css`
10673
- ${Dn}
10674
- ${Ei(Mn,Ln)}
10690
+ `,Nn="ag-theme-genesis-rapid-dark",$n=s.css`
10691
+ ${Ln}
10692
+ ${Ui(Nn,Fn)}
10675
10693
 
10676
- .${Mn} {
10694
+ .${Nn} {
10677
10695
  ${ye()}
10678
10696
  }
10679
10697
 
10680
- .${Mn} .ag-header {
10698
+ .${Nn} .ag-header {
10681
10699
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10682
10700
  font-weight: bold;
10683
10701
  }
10684
10702
 
10685
- .${Mn} .ag-cell {
10703
+ .${Nn} .ag-cell {
10686
10704
  line-height: var(--ag-line-height, 32px);
10687
10705
  }
10688
10706
 
10689
- .${Mn} .ag-root-wrapper {
10707
+ .${Nn} .ag-root-wrapper {
10690
10708
  border-radius: calc(var(--control-corner-radius) * 1px);
10691
10709
  }
10692
- `,$n=s.css`
10710
+ `,Rn=s.css`
10693
10711
  /* All the AG themes */
10694
- ${bn}
10712
+ ${fn}
10695
10713
 
10696
10714
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
10697
- ${On}
10698
- ${Nn}
10699
- `,Rn=fn,jn="ag-theme-genesis-rapid-dark";const In=zn,En={zeroAgActionRenderer:ai,zeroAgActionsMenuRenderer:ii,zeroAgBooleanRenderer:ci,zeroAgTextRenderer:xi,zeroAgSelectRenderer:Ai,zeroGridPro:class extends yn{constructor(){super(...arguments),this.theme=jn}themeChanged(e,a){(e||a===jn)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ui.action]:ei,[Ui.actionsMenu]:oi,[Ui.boolean]:si};(this.theme===Fn||this.theme===Mn)&&(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:Rn,styles:$n,shadowOptions:undefined},In)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Un={foundationGridProActionRenderer:Xo,foundationGridProActionsMenuRenderer:ti,foundationAgBooleanRenderer:di,foundationAgTextRenderer:yi,foundationAgTextFieldRenderer:vi,foundationAgSelectRenderer:Ci,foundationGridPro:kn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Pn,Bn=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Pn||(Pn={}));const Gn={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'},Hn=Gn["Segoe UI"],_n=s.css`
10715
+ ${Mn}
10716
+ ${$n}
10717
+ `,jn=wn,In="ag-theme-genesis-rapid-dark";const En=kn,Un={zeroAgActionRenderer:ri,zeroAgActionsMenuRenderer:ni,zeroAgBooleanRenderer:pi,zeroAgTextRenderer:zi,zeroAgSelectRenderer:Ti,zeroGridPro:class extends xn{constructor(){super(...arguments),this.theme=In}themeChanged(e,a){(e||a===In)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Pi.action]:ai,[Pi.actionsMenu]:ii,[Pi.boolean]:ci};(this.theme===On||this.theme===Nn)&&(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:jn,styles:Rn,shadowOptions:undefined},En)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Pn={foundationGridProActionRenderer:ei,foundationGridProActionsMenuRenderer:oi,foundationAgBooleanRenderer:si,foundationAgTextRenderer:xi,foundationAgTextFieldRenderer:bi,foundationAgSelectRenderer:Ai,foundationGridPro:Sn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Bn,Gn=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Bn||(Bn={}));const Hn={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'},_n=Hn["Segoe UI"],Vn=s.css`
10700
10718
  ${(0,c.display)("block")} :host {
10701
10719
  width: 100%;
10702
10720
  display: inline-flex;
@@ -10828,7 +10846,7 @@
10828
10846
  alpha-button {
10829
10847
  margin: 0;
10830
10848
  }
10831
- `,Vn=s.html`
10849
+ `,Yn=s.html`
10832
10850
  <template>
10833
10851
  <div class="configuration">
10834
10852
  ${(0,s.when)((e=>!e.customDesignMode),s.html`
@@ -11051,7 +11069,7 @@
11051
11069
  <slot></slot>
11052
11070
  </div>
11053
11071
  </template>
11054
- `,Yn=({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(Gn).find((a=>Gn[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Qn=Yn(Se),qn={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},Wn=Yn(i.designTokens),Jn={zero:{prefix:"zero",tokenDefaults:Qn,buttons:qn},alpha:{prefix:"alpha",tokenDefaults:Wn,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:qn}};let Zn=class extends s.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Qn.luminance===p.StandardLuminance.DarkMode,this.luminance=Qn.luminance,this.neutralColor=Qn.neutralColor,this.accentColor=Qn.accentColor,this.bodyFont=Qn.bodyFont,this.density=Qn.density,this.borderRadius=Qn.borderRadius,this.strokeWidth=Qn.strokeWidth,this.designUnit=Qn.designUnit,this.baseFontSize=Qn.baseFontSize,this.baseLineHeight=Qn.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=Yn(a);Jn.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Bn.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Jn[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Bn.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:Jn[this.ds].prefix,buttonAppearanceAccent:Jn[this.ds].buttons.accent,buttonAppearanceNeutral:Jn[this.ds].buttons.neutral,buttonAppearanceOutline:Jn[this.ds].buttons.outline};this.$emit(Pn.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Jn[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Gn[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(Pn.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(Pn.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Bn.__decorate)([(0,s.attr)({mode:"boolean",attribute:"custom-design-mode"})],Zn.prototype,"customDesignMode",void 0),(0,Bn.__decorate)([s.observable],Zn.prototype,"designSystems",void 0),(0,Bn.__decorate)([s.observable],Zn.prototype,"ds",void 0),(0,Bn.__decorate)([s.attr],Zn.prototype,"darkMode",void 0),(0,Bn.__decorate)([s.observable],Zn.prototype,"neutralColor",void 0),(0,Bn.__decorate)([s.observable],Zn.prototype,"accentColor",void 0),(0,Bn.__decorate)([s.observable],Zn.prototype,"bodyFont",void 0),(0,Bn.__decorate)([s.observable],Zn.prototype,"density",void 0),(0,Bn.__decorate)([s.observable],Zn.prototype,"borderRadius",void 0),(0,Bn.__decorate)([s.observable],Zn.prototype,"strokeWidth",void 0),(0,Bn.__decorate)([s.observable],Zn.prototype,"designUnit",void 0),(0,Bn.__decorate)([s.observable],Zn.prototype,"baseFontSize",void 0),(0,Bn.__decorate)([s.observable],Zn.prototype,"baseLineHeight",void 0),(0,Bn.__decorate)([s.observable],Zn.prototype,"preserveOptions",void 0),Zn=(0,Bn.__decorate)([(0,s.customElement)({name:"design-system-editor",template:Vn,styles:_n})],Zn);const Kn=e=>{const a=(e=>{const a=(0,Oe.parseColorHexRGB)(e);return a?p.SwatchRGB.from(a):null})(e);return a?p.PaletteRGB.create(a):null},Xn=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},el=(e,a)=>{const r=Kn(e.neutralColor);p.neutralPalette.setValueFor(a,r);const t=Kn(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,Xn(p.typeRampBaseFontSize,g.TypeRampValues.minusOne,a)),p.typeRampMinus1LineHeight.setValueFor(a,Xn(p.typeRampBaseLineHeight,g.TypeRampValues.minusOne,a)),p.typeRampMinus2FontSize.setValueFor(a,Xn(p.typeRampBaseFontSize,g.TypeRampValues.minusTwo,a)),p.typeRampMinus2LineHeight.setValueFor(a,Xn(p.typeRampBaseLineHeight,g.TypeRampValues.minusTwo,a)),p.typeRampPlus1FontSize.setValueFor(a,Xn(p.typeRampBaseFontSize,g.TypeRampValues.plusOne,a)),p.typeRampPlus1LineHeight.setValueFor(a,Xn(p.typeRampBaseLineHeight,g.TypeRampValues.plusOne,a)),p.typeRampPlus2FontSize.setValueFor(a,Xn(p.typeRampBaseFontSize,g.TypeRampValues.plusTwo,a)),p.typeRampPlus2LineHeight.setValueFor(a,Xn(p.typeRampBaseLineHeight,g.TypeRampValues.plusTwo,a)),p.typeRampPlus3FontSize.setValueFor(a,Xn(p.typeRampBaseFontSize,g.TypeRampValues.plusThree,a)),p.typeRampPlus3LineHeight.setValueFor(a,Xn(p.typeRampBaseLineHeight,g.TypeRampValues.plusThree,a)),p.typeRampPlus4FontSize.setValueFor(a,Xn(p.typeRampBaseFontSize,g.TypeRampValues.plusFour,a)),p.typeRampPlus4LineHeight.setValueFor(a,Xn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFour,a)),p.typeRampPlus5FontSize.setValueFor(a,Xn(p.typeRampBaseFontSize,g.TypeRampValues.plusFive,a)),p.typeRampPlus5LineHeight.setValueFor(a,Xn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFive,a)),p.typeRampPlus6FontSize.setValueFor(a,Xn(p.typeRampBaseFontSize,g.TypeRampValues.plusSix,a)),p.typeRampPlus6LineHeight.setValueFor(a,Xn(p.typeRampBaseLineHeight,g.TypeRampValues.plusSix,a))},al=s.css`
11072
+ `,Qn=({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(Hn).find((a=>Hn[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),qn=Qn(Se),Wn={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},Jn=Qn(i.designTokens),Zn={zero:{prefix:"zero",tokenDefaults:qn,buttons:Wn},alpha:{prefix:"alpha",tokenDefaults:Jn,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Wn}};let Kn=class extends s.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=qn.luminance===p.StandardLuminance.DarkMode,this.luminance=qn.luminance,this.neutralColor=qn.neutralColor,this.accentColor=qn.accentColor,this.bodyFont=qn.bodyFont,this.density=qn.density,this.borderRadius=qn.borderRadius,this.strokeWidth=qn.strokeWidth,this.designUnit=qn.designUnit,this.baseFontSize=qn.baseFontSize,this.baseLineHeight=qn.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=Qn(a);Zn.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Gn.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Zn[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Gn.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:Zn[this.ds].prefix,buttonAppearanceAccent:Zn[this.ds].buttons.accent,buttonAppearanceNeutral:Zn[this.ds].buttons.neutral,buttonAppearanceOutline:Zn[this.ds].buttons.outline};this.$emit(Bn.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Zn[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Hn[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(Bn.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(Bn.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Gn.__decorate)([(0,s.attr)({mode:"boolean",attribute:"custom-design-mode"})],Kn.prototype,"customDesignMode",void 0),(0,Gn.__decorate)([s.observable],Kn.prototype,"designSystems",void 0),(0,Gn.__decorate)([s.observable],Kn.prototype,"ds",void 0),(0,Gn.__decorate)([s.attr],Kn.prototype,"darkMode",void 0),(0,Gn.__decorate)([s.observable],Kn.prototype,"neutralColor",void 0),(0,Gn.__decorate)([s.observable],Kn.prototype,"accentColor",void 0),(0,Gn.__decorate)([s.observable],Kn.prototype,"bodyFont",void 0),(0,Gn.__decorate)([s.observable],Kn.prototype,"density",void 0),(0,Gn.__decorate)([s.observable],Kn.prototype,"borderRadius",void 0),(0,Gn.__decorate)([s.observable],Kn.prototype,"strokeWidth",void 0),(0,Gn.__decorate)([s.observable],Kn.prototype,"designUnit",void 0),(0,Gn.__decorate)([s.observable],Kn.prototype,"baseFontSize",void 0),(0,Gn.__decorate)([s.observable],Kn.prototype,"baseLineHeight",void 0),(0,Gn.__decorate)([s.observable],Kn.prototype,"preserveOptions",void 0),Kn=(0,Gn.__decorate)([(0,s.customElement)({name:"design-system-editor",template:Yn,styles:Vn})],Kn);const Xn=e=>{const a=(e=>{const a=(0,Oe.parseColorHexRGB)(e);return a?p.SwatchRGB.from(a):null})(e);return a?p.PaletteRGB.create(a):null},el=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},al=(e,a)=>{const r=Xn(e.neutralColor);p.neutralPalette.setValueFor(a,r);const t=Xn(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,el(p.typeRampBaseFontSize,g.TypeRampValues.minusOne,a)),p.typeRampMinus1LineHeight.setValueFor(a,el(p.typeRampBaseLineHeight,g.TypeRampValues.minusOne,a)),p.typeRampMinus2FontSize.setValueFor(a,el(p.typeRampBaseFontSize,g.TypeRampValues.minusTwo,a)),p.typeRampMinus2LineHeight.setValueFor(a,el(p.typeRampBaseLineHeight,g.TypeRampValues.minusTwo,a)),p.typeRampPlus1FontSize.setValueFor(a,el(p.typeRampBaseFontSize,g.TypeRampValues.plusOne,a)),p.typeRampPlus1LineHeight.setValueFor(a,el(p.typeRampBaseLineHeight,g.TypeRampValues.plusOne,a)),p.typeRampPlus2FontSize.setValueFor(a,el(p.typeRampBaseFontSize,g.TypeRampValues.plusTwo,a)),p.typeRampPlus2LineHeight.setValueFor(a,el(p.typeRampBaseLineHeight,g.TypeRampValues.plusTwo,a)),p.typeRampPlus3FontSize.setValueFor(a,el(p.typeRampBaseFontSize,g.TypeRampValues.plusThree,a)),p.typeRampPlus3LineHeight.setValueFor(a,el(p.typeRampBaseLineHeight,g.TypeRampValues.plusThree,a)),p.typeRampPlus4FontSize.setValueFor(a,el(p.typeRampBaseFontSize,g.TypeRampValues.plusFour,a)),p.typeRampPlus4LineHeight.setValueFor(a,el(p.typeRampBaseLineHeight,g.TypeRampValues.plusFour,a)),p.typeRampPlus5FontSize.setValueFor(a,el(p.typeRampBaseFontSize,g.TypeRampValues.plusFive,a)),p.typeRampPlus5LineHeight.setValueFor(a,el(p.typeRampBaseLineHeight,g.TypeRampValues.plusFive,a)),p.typeRampPlus6FontSize.setValueFor(a,el(p.typeRampBaseFontSize,g.TypeRampValues.plusSix,a)),p.typeRampPlus6LineHeight.setValueFor(a,el(p.typeRampBaseLineHeight,g.TypeRampValues.plusSix,a))},rl=s.css`
11055
11073
  :host {
11056
11074
  background: var(--fill-color);
11057
11075
  color: var(--neutral-foreground-rest);
@@ -11094,7 +11112,7 @@
11094
11112
  zero-design-system-provider {
11095
11113
  display: inline;
11096
11114
  }
11097
- `,rl=s.html`
11115
+ `,tl=s.html`
11098
11116
  ${e=>{return a=e.prefix,s.html`
11099
11117
  <template>
11100
11118
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11295,7 +11313,7 @@
11295
11313
  </${a}-design-system-provider>
11296
11314
  </template>
11297
11315
  `;var a}}
11298
- `;let tl=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(Pn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Pn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setDialogEventListeners(),p.bodyFont.withDefault(Hn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{el(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,Bn.__decorate)([s.observable],tl.prototype,"modal",void 0),(0,Bn.__decorate)([s.attr],tl.prototype,"prefix",void 0),(0,Bn.__decorate)([s.observable],tl.prototype,"buttonAppearanceAccent",void 0),(0,Bn.__decorate)([s.observable],tl.prototype,"buttonAppearanceNeutral",void 0),(0,Bn.__decorate)([s.observable],tl.prototype,"buttonAppearanceOutline",void 0),(0,Bn.__decorate)([s.observable],tl.prototype,"provider",void 0),tl=(0,Bn.__decorate)([(0,s.customElement)({name:"preview-components",template:rl,styles:al})],tl);const ol=s.css`
11316
+ `;let ol=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(Bn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Bn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setDialogEventListeners(),p.bodyFont.withDefault(_n)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{al(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,Gn.__decorate)([s.observable],ol.prototype,"modal",void 0),(0,Gn.__decorate)([s.attr],ol.prototype,"prefix",void 0),(0,Gn.__decorate)([s.observable],ol.prototype,"buttonAppearanceAccent",void 0),(0,Gn.__decorate)([s.observable],ol.prototype,"buttonAppearanceNeutral",void 0),(0,Gn.__decorate)([s.observable],ol.prototype,"buttonAppearanceOutline",void 0),(0,Gn.__decorate)([s.observable],ol.prototype,"provider",void 0),ol=(0,Gn.__decorate)([(0,s.customElement)({name:"preview-components",template:tl,styles:rl})],ol);const il=s.css`
11299
11317
  .export {
11300
11318
  display: flex;
11301
11319
  justify-content: center;
@@ -11306,7 +11324,7 @@
11306
11324
  display: flex;
11307
11325
  justify-content: space-between;
11308
11326
  }
11309
- `,il=s.html`
11327
+ `,nl=s.html`
11310
11328
  <template>
11311
11329
  <div class="export">
11312
11330
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -11327,7 +11345,7 @@
11327
11345
  </alpha-modal>
11328
11346
  </div>
11329
11347
  </template>
11330
- `;let nl=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(Pn.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Pn.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Bn.__decorate)([s.attr],nl.prototype,"value",void 0),(0,Bn.__decorate)([s.attr],nl.prototype,"tokensPath",void 0),nl=(0,Bn.__decorate)([(0,s.customElement)({name:"design-system-export",template:il,styles:ol})],nl);const ll=s.css`
11348
+ `;let ll=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(Bn.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Bn.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Gn.__decorate)([s.attr],ll.prototype,"value",void 0),(0,Gn.__decorate)([s.attr],ll.prototype,"tokensPath",void 0),ll=(0,Gn.__decorate)([(0,s.customElement)({name:"design-system-export",template:nl,styles:il})],ll);const gl=s.css`
11331
11349
  .colors {
11332
11350
  display: flex;
11333
11351
  flex-wrap: wrap;
@@ -11340,23 +11358,23 @@
11340
11358
  flex-grow: 1;
11341
11359
  height: 20px;
11342
11360
  }
11343
- `,gl=s.html`
11361
+ `,dl=s.html`
11344
11362
  <ul class="colors">
11345
11363
  ${(0,s.repeat)((e=>e.swatches),s.html`
11346
11364
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
11347
11365
  `)}
11348
11366
  </ul>
11349
- `;let dl=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=Kn(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Pn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Bn.__decorate)([s.observable],dl.prototype,"swatches",void 0),(0,Bn.__decorate)([s.attr],dl.prototype,"type",void 0),dl=(0,Bn.__decorate)([(0,s.customElement)({name:"color-palette",styles:ll,template:gl})],dl);const sl=s.css`
11367
+ `;let sl=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=Xn(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Bn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Gn.__decorate)([s.observable],sl.prototype,"swatches",void 0),(0,Gn.__decorate)([s.attr],sl.prototype,"type",void 0),sl=(0,Gn.__decorate)([(0,s.customElement)({name:"color-palette",styles:gl,template:dl})],sl);const cl=s.css`
11350
11368
  .preview {
11351
11369
  width: 40px;
11352
11370
  height: 40px;
11353
11371
  }
11354
- `,cl=s.html`
11372
+ `,pl=s.html`
11355
11373
  <div
11356
11374
  class="preview"
11357
11375
  style="background-color: ${e=>p[e.tokenName].createCSS()}"
11358
11376
  ></div>
11359
- `;let pl=class extends s.FASTElement{};(0,Bn.__decorate)([s.attr],pl.prototype,"tokenName",void 0),pl=(0,Bn.__decorate)([(0,s.customElement)({name:"color-token",styles:sl,template:cl})],pl);const ul=s.css`
11377
+ `;let ul=class extends s.FASTElement{};(0,Gn.__decorate)([s.attr],ul.prototype,"tokenName",void 0),ul=(0,Gn.__decorate)([(0,s.customElement)({name:"color-token",styles:cl,template:pl})],ul);const hl=s.css`
11360
11378
  .container {
11361
11379
  display: flex;
11362
11380
  width: 100%;
@@ -11404,7 +11422,7 @@
11404
11422
  .container > div:not(:last-child) {
11405
11423
  border-right: 1px solid #fafafa;
11406
11424
  }
11407
- `,hl=[{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"}]}]}],ml=s.html`
11425
+ `,ml=[{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"}]}]}],vl=s.html`
11408
11426
  <div class="row">
11409
11427
  <div
11410
11428
  class="preview"
@@ -11416,19 +11434,19 @@
11416
11434
  ${(e,a)=>p[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
11417
11435
  </div>
11418
11436
  </div>
11419
- `,vl=s.html`
11437
+ `,bl=s.html`
11420
11438
  <div class="container" ${(0,s.ref)("provider")}>
11421
- ${(0,s.repeat)((()=>hl),s.html`
11439
+ ${(0,s.repeat)((()=>ml),s.html`
11422
11440
  <div class="column">
11423
11441
  <h3 class="header-title">${e=>e.title}</h3>
11424
11442
  ${(0,s.repeat)((e=>e.subcategories),s.html`
11425
11443
  <h4>${e=>e.title}</h4>
11426
- ${(0,s.repeat)((e=>e.tokens),ml)}
11444
+ ${(0,s.repeat)((e=>e.tokens),vl)}
11427
11445
  `)}
11428
11446
  </div>
11429
11447
  `)}
11430
11448
  </div>
11431
- `;let bl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Pn.STYLES_CHANGED,(e=>{const a=e.detail;el(a,this.provider)}))}};(0,Bn.__decorate)([s.observable],bl.prototype,"provider",void 0),bl=(0,Bn.__decorate)([(0,s.customElement)({name:"color-tokens",template:vl,styles:ul})],bl);const fl=s.css`
11449
+ `;let fl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Bn.STYLES_CHANGED,(e=>{const a=e.detail;al(a,this.provider)}))}};(0,Gn.__decorate)([s.observable],fl.prototype,"provider",void 0),fl=(0,Gn.__decorate)([(0,s.customElement)({name:"color-tokens",template:bl,styles:hl})],fl);const wl=s.css`
11432
11450
  table {
11433
11451
  background: var(--neutral-fill-rest);
11434
11452
  color: var(--neutral-foreground-rest);
@@ -11437,7 +11455,7 @@
11437
11455
  th {
11438
11456
  text-align: left;
11439
11457
  }
11440
- `,wl=s.html`
11458
+ `,yl=s.html`
11441
11459
  <table ${(0,s.ref)("provider")} style="font-family: ${()=>p.bodyFont.createCSS()}">
11442
11460
  <colgroup>
11443
11461
  <col style="width: 15%;" />
@@ -11665,7 +11683,7 @@
11665
11683
  </tr>
11666
11684
  </tbody>
11667
11685
  </table>
11668
- `;let yl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Pn.STYLES_CHANGED,(e=>{const a=e.detail;el(a,this.provider)}))}};(0,Bn.__decorate)([s.observable],yl.prototype,"provider",void 0),yl=(0,Bn.__decorate)([(0,s.customElement)({name:"typography-tokens",template:wl,styles:fl})],yl);const xl=s.css`
11686
+ `;let xl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Bn.STYLES_CHANGED,(e=>{const a=e.detail;al(a,this.provider)}))}};(0,Gn.__decorate)([s.observable],xl.prototype,"provider",void 0),xl=(0,Gn.__decorate)([(0,s.customElement)({name:"typography-tokens",template:yl,styles:wl})],xl);const zl=s.css`
11669
11687
  :host {
11670
11688
  background: var(--fill-color);
11671
11689
  color: var(--neutral-foreground-rest);
@@ -11681,7 +11699,7 @@
11681
11699
  margin-top: 24px;
11682
11700
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
11683
11701
  }
11684
- `,zl=s.html`
11702
+ `,kl=s.html`
11685
11703
  <template>
11686
11704
  <alpha-tabs>
11687
11705
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -11710,7 +11728,7 @@
11710
11728
  </alpha-tab-panel>
11711
11729
  </alpha-tabs>
11712
11730
  </template>
11713
- `;let kl=class extends s.FASTElement{};kl=(0,Bn.__decorate)([(0,s.customElement)({name:"design-system-preview",template:zl,styles:xl})],kl);const Sl={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"}]}]}}]},Cl={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"]}}},Al={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"}]}}}]},Tl={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"]}}}},Dl=s.css`
11731
+ `;let Sl=class extends s.FASTElement{};Sl=(0,Gn.__decorate)([(0,s.customElement)({name:"design-system-preview",template:kl,styles:zl})],Sl);const Cl={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"}]}]}}]},Al={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"]}}},Tl={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"}]}}}]},Dl={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"]}}}},Ll=s.css`
11714
11732
  :host {
11715
11733
  background: var(--fill-color);
11716
11734
  color: var(--neutral-foreground-rest);
@@ -11741,7 +11759,7 @@
11741
11759
  zero-design-system-provider {
11742
11760
  display: inline;
11743
11761
  }
11744
- `,Ll=s.html`
11762
+ `,Fl=s.html`
11745
11763
  ${e=>{return a=e.prefix,s.html`
11746
11764
  <template>
11747
11765
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11763,7 +11781,7 @@
11763
11781
  </${a}-design-system-provider>
11764
11782
  </template>
11765
11783
  `;var a}}
11766
- `;let Fl=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=Cl,this.uischema=Sl,this.jsonSchemaArray=Tl,this.uiSchemaArray=Al,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(Pn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Pn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(Hn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{el(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,Bn.__decorate)([s.observable],Fl.prototype,"jsonSchema",void 0),(0,Bn.__decorate)([s.observable],Fl.prototype,"uischema",void 0),(0,Bn.__decorate)([s.observable],Fl.prototype,"jsonSchemaArray",void 0),(0,Bn.__decorate)([s.observable],Fl.prototype,"uiSchemaArray",void 0),(0,Bn.__decorate)([s.attr],Fl.prototype,"prefix",void 0),(0,Bn.__decorate)([s.observable],Fl.prototype,"provider",void 0),(0,Bn.__decorate)([s.observable],Fl.prototype,"editedEntity",void 0),(0,Bn.__decorate)([s.observable],Fl.prototype,"editedEntityArray",void 0),Fl=(0,Bn.__decorate)([(0,s.customElement)({name:"preview-form",template:Ll,styles:Dl})],Fl);const Ol=s.css`
11784
+ `;let Ol=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=Al,this.uischema=Cl,this.jsonSchemaArray=Dl,this.uiSchemaArray=Tl,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(Bn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Bn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(_n)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{al(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,Gn.__decorate)([s.observable],Ol.prototype,"jsonSchema",void 0),(0,Gn.__decorate)([s.observable],Ol.prototype,"uischema",void 0),(0,Gn.__decorate)([s.observable],Ol.prototype,"jsonSchemaArray",void 0),(0,Gn.__decorate)([s.observable],Ol.prototype,"uiSchemaArray",void 0),(0,Gn.__decorate)([s.attr],Ol.prototype,"prefix",void 0),(0,Gn.__decorate)([s.observable],Ol.prototype,"provider",void 0),(0,Gn.__decorate)([s.observable],Ol.prototype,"editedEntity",void 0),(0,Gn.__decorate)([s.observable],Ol.prototype,"editedEntityArray",void 0),Ol=(0,Gn.__decorate)([(0,s.customElement)({name:"preview-form",template:Fl,styles:Ll})],Ol);const Ml=s.css`
11767
11785
  :host {
11768
11786
  background: var(--fill-color);
11769
11787
  color: var(--neutral-foreground-rest);
@@ -11778,7 +11796,7 @@
11778
11796
  .grid-height {
11779
11797
  height: 450px;
11780
11798
  }
11781
- `,Ml=s.html`
11799
+ `,Nl=s.html`
11782
11800
  ${e=>{return a=e.prefix,s.html`
11783
11801
  <template>
11784
11802
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11788,5 +11806,5 @@
11788
11806
  </${a}-design-system-provider>
11789
11807
  </template>
11790
11808
  `;var a}}
11791
- `;let Nl=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(Pn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Pn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setGridOptions(),p.bodyFont.withDefault(Hn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{el(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,s.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Bn.__decorate)([s.observable],Nl.prototype,"grid",void 0),(0,Bn.__decorate)([s.attr],Nl.prototype,"prefix",void 0),(0,Bn.__decorate)([s.observable],Nl.prototype,"provider",void 0),(0,Bn.__decorate)([s.observable],Nl.prototype,"rowData",void 0),(0,Bn.__decorate)([s.observable],Nl.prototype,"columnDefs",void 0),(0,Bn.__decorate)([s.observable],Nl.prototype,"gridOptions",void 0),Nl=(0,Bn.__decorate)([(0,s.customElement)({name:"preview-grid",template:Ml,styles:Ol})],Nl),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(Qo,En),(0,i.provideDesignSystem)().register(i.baseComponents,Un)}}]);
11792
- //# sourceMappingURL=495.46a1c2fb5cc103ddc3494b7938d6b68f.js.map
11809
+ `;let $l=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(Bn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Bn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setGridOptions(),p.bodyFont.withDefault(_n)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{al(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,s.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Gn.__decorate)([s.observable],$l.prototype,"grid",void 0),(0,Gn.__decorate)([s.attr],$l.prototype,"prefix",void 0),(0,Gn.__decorate)([s.observable],$l.prototype,"provider",void 0),(0,Gn.__decorate)([s.observable],$l.prototype,"rowData",void 0),(0,Gn.__decorate)([s.observable],$l.prototype,"columnDefs",void 0),(0,Gn.__decorate)([s.observable],$l.prototype,"gridOptions",void 0),$l=(0,Gn.__decorate)([(0,s.customElement)({name:"preview-grid",template:Nl,styles:Ml})],$l),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(qo,Un),(0,i.provideDesignSystem)().register(i.baseComponents,Pn)}}]);
11810
+ //# sourceMappingURL=495.fa62c20b8a90be359501c02cdf0c3ee9.js.map