@genesislcap/design-system-configurator 14.64.2 → 14.64.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[567],{20567:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>il,ColorToken:()=>gl,ColorTokens:()=>ul,DesignSystemEditor:()=>Qn,DesignSystemExport:()=>rl,DesignSystemPreview:()=>wl,EventName:()=>jn,PreviewComponents:()=>Xn,PreviewForm:()=>Al,PreviewGrid:()=>Ll,TypographyTokens:()=>vl,defaultBodyFont:()=>Pn,fontFamilies:()=>En});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(23593),n=r(92592),l=r(62646),g=r(22349),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([[567],{20567:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>nl,ColorToken:()=>dl,ColorTokens:()=>hl,DesignSystemEditor:()=>qn,DesignSystemExport:()=>tl,DesignSystemPreview:()=>yl,EventName:()=>In,PreviewComponents:()=>el,PreviewForm:()=>Tl,PreviewGrid:()=>Ol,TypographyTokens:()=>bl,defaultBodyFont:()=>Un,fontFamilies:()=>Pn});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(23593),n=r(92592),l=r(62646),g=r(22349),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;
@@ -1971,7 +1971,7 @@
1971
1971
  .${Ri(e)} {
1972
1972
  ${new $.CSSVarsTokenMapper(a)}
1973
1973
  }
1974
- `;var Ii;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.text="text",e.select="select"}(Ii||(Ii={}));const Ei='\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+zKVJeTkPgMFsIIrr8G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ihiSB7JUXB/oI+iZaGt9tQq2n9Q0derrnU/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',Pi='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAA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gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ui={[$i.alpine]:Ei,[$i.alpineDark]:Ei,[$i.balham]:Pi,[$i.balhamDark]:Pi,[$i.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVV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jxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+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'},Bi=Ei;var Gi=r(82940),Hi=r(32449),_i=r(9162),Vi=r(5127),Yi=r(83123),Qi=r(43752),qi=r(26714),Wi=r(71452),Ji=r(99449),Zi=r(30526);function Ki(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Xi({value:e}){return(0,g.formatDateTimestamp)(e)}function en({value:e}){return(0,g.formatDateTimeTimestamp)(e)}let an=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Gi.WJ.MAX_ROWS_250,this.maxView=Gi.WJ.MAX_VIEW_1000,this.pollingInterval=Gi.WJ.REQ_REP_POLLING_INTERVAL_MS,this.movingView=!1,this.reverse=!1,this.restartOnReconnection=!1,this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new qi.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Hi.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?Gi.WJ.REQUEST_SERVER_ROW_ID:Gi.WJ.DATASERVER_ROW_ID}init(){return(0,Yo.__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===Gi._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,Yo.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Wi.T)(1),(0,Ji.b)(r),(0,Zi.b)((e=>Qo.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Qo.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 qi.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.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rows=new Map,this.agTransaction=void 0,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){const a=this.getAgColumnDefs(this.datasource.fieldMetadata);a&&this.agGrid.gridApi.setColumnDefs(a);const r=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.gridApi.setRowData(r),this.requiresFullRowDataAndColDefs=!1}reloadResourceData(){return(0,Yo.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,Yo.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Qo.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 Qo.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===_i.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Vi.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Vi.$)(e).inserts:e.inserts}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,orderBy:this.orderBy,resourceName:this.resourceName,request:this.request,reverse:this.reverse,maxRows:this.maxRows,maxView:this.maxView,pollingInterval:this.pollingInterval,movingView:this.movingView}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=e.REPLY;if(!Array.isArray(r)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Qo.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rows.set(e[this.rowId],e)}));const e=this.rows.size>0?Array.from(this.rows.values()):r;return void this.setRowData(e)}this.agTransaction={add:[],remove:[],update:[]};const t=[],o=Array.from(this.rows.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rows.has(e[this.rowId])));this.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.agGrid.gridApi.applyTransaction(this.mapTransaction(this.agTransaction))}applyDataserverData(e){var a;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rows.set(e[this.rowId],e)}));const r=Array.from(this.rows.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.agGrid.gridApi.applyTransaction(this.mapTransaction(this.agTransaction))}mapTransaction(e){return this.rowDataMapper?Object.assign(Object.assign({},e),{add:this.rowDataMapper(e.add,this.rows),update:this.rowDataMapper(e.update,this.rows),remove:this.rowDataMapper(e.remove,this.rows)}):e}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rows.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rows.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{this.agTransaction.remove.push({[this.rowId]:e[this.rowId]}),this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r),this.rows.set(e[this.rowId],r)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=(e.type,{suppressAndOrCondition:!0,filterOptions:["contains"]}),e.type){case Yi.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ii.boolean);break;case Yi.r.DATE:r.valueFormatter=Xi;break;case Yi.r.DATETIME:r.valueFormatter=en}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,Hi.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,Yo.__decorate)([l.lj],an.prototype,"connect",void 0),(0,Yo.__decorate)([Qi.Yh],an.prototype,"datasource",void 0),(0,Yo.__decorate)([s.observable],an.prototype,"deferredGridOptions",void 0),(0,Yo.__decorate)([s.attr],an.prototype,"criteria",void 0),(0,Yo.__decorate)([s.attr],an.prototype,"fields",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],an.prototype,"isSnapshot",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"max-rows"})],an.prototype,"maxRows",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"max-view"})],an.prototype,"maxView",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"polling-interval"})],an.prototype,"pollingInterval",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"moving-view"})],an.prototype,"movingView",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"order-by"})],an.prototype,"orderBy",void 0),(0,Yo.__decorate)([s.observable],an.prototype,"request",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"resource-name"})],an.prototype,"resourceName",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean"})],an.prototype,"reverse",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"row-id"})],an.prototype,"rowIdAttr",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],an.prototype,"restartOnReconnection",void 0),(0,Yo.__decorate)([s.observable],an.prototype,"rowDataMapper",void 0),an=(0,Yo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource"})],an);var rn=r(66306),tn=r(47546);class on{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,Yo.__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,tn.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===_i.Cs.LOGOFF_ACK||o===_i.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,a.ROW){const e=(0,Vi.$)(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=>Qo.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,Yo.__decorate)([l.lj],on.prototype,"connect",void 0);let nn=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Gi.WJ.MAX_ROWS_250,this.maxView=Gi.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,Hi.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,Yo.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Qo.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,rn.C)(e);const a=(0,rn.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new on({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});Qo.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));Qo.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 Qo.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,Yo.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Qo.debug(e)),(e=>Qo.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 Yi.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ii.boolean);break;case Yi.r.DATE:r.valueFormatter=Xi;break;case Yi.r.DATETIME:r.valueFormatter=en}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:Ki(e.type),filter:(e.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(a)}};(0,Yo.__decorate)([l.lj],nn.prototype,"connect",void 0),(0,Yo.__decorate)([s.attr],nn.prototype,"criteria",void 0),(0,Yo.__decorate)([s.attr],nn.prototype,"fields",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],nn.prototype,"isSnapshot",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"max-rows"})],nn.prototype,"maxRows",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"max-view"})],nn.prototype,"maxView",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"moving-view"})],nn.prototype,"movingView",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"order-by"})],nn.prototype,"orderBy",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"resource-name"})],nn.prototype,"resourceName",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean"})],nn.prototype,"pagination",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"row-id"})],nn.prototype,"rowId",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean"})],nn.prototype,"reverse",void 0),nn=(0,Yo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource-next"})],nn);const ln=s.css`
1974
+ `;var Ii;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.text="text",e.select="select"}(Ii||(Ii={}));const Ei='\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+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLAyetqNuvUi9c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Q0derrnU/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',Pi='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0yn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1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ui={[$i.alpine]:Ei,[$i.alpineDark]:Ei,[$i.balham]:Pi,[$i.balhamDark]:Pi,[$i.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQ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neDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+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'},Bi=Ei;var Gi=r(82940),Hi=r(32449),_i=r(9162),Vi=r(5127),Yi=r(83123),Qi=r(35991),qi=r(6852),Wi=r(26714),Ji=r(71452),Zi=r(99449),Ki=r(30526);function Xi(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function en({value:e}){return(0,g.formatDateTimestamp)(e)}function an({value:e}){return(0,g.formatDateTimeTimestamp)(e)}let rn=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Gi.WJ.MAX_ROWS_250,this.maxView=Gi.WJ.MAX_VIEW_1000,this.pollingInterval=Gi.WJ.REQ_REP_POLLING_INTERVAL_MS,this.movingView=!1,this.reverse=!1,this.restartOnReconnection=!1,this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new Wi.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Hi.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?Gi.WJ.REQUEST_SERVER_ROW_ID:Gi.WJ.DATASERVER_ROW_ID}init(){return(0,Yo.__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===Gi._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,Yo.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Ji.T)(1),(0,Zi.b)(r),(0,Ki.b)((e=>Qo.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Qo.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 Wi.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(){return(0,Yo.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,Yo.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Qo.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 Qo.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===_i.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Vi.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Vi.$)(e).inserts:e.inserts}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,orderBy:this.orderBy,resourceName:this.resourceName,request:this.request,reverse:this.reverse,maxRows:this.maxRows,maxView:this.maxView,pollingInterval:this.pollingInterval,movingView:this.movingView}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=e.REPLY;if(!Array.isArray(r)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Qo.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rows.set(e[this.rowId],e)}));const e=this.rows.size>0?Array.from(this.rows.values()):r;return void this.setRowData(e)}this.agTransaction={add:[],remove:[],update:[]};const t=[],o=Array.from(this.rows.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rows.has(e[this.rowId])));this.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.agGrid.gridApi.applyTransaction(this.mapTransaction(this.agTransaction))}applyDataserverData(e){var a;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rows.set(e[this.rowId],e)}));const r=Array.from(this.rows.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.agGrid.gridApi.applyTransaction(this.mapTransaction(this.agTransaction))}mapTransaction(e){return this.rowDataMapper?Object.assign(Object.assign({},e),{add:this.rowDataMapper(e.add,this.rows),update:this.rowDataMapper(e.update,this.rows),remove:this.rowDataMapper(e.remove,this.rows)}):e}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rows.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rows.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{this.agTransaction.remove.push({[this.rowId]:e[this.rowId]}),this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r),this.rows.set(e[this.rowId],r)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=(e.type,{suppressAndOrCondition:!0,filterOptions:["contains"]}),e.type){case Yi.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ii.boolean);break;case Yi.r.DATE:r.valueFormatter=en;break;case Yi.r.DATETIME:r.valueFormatter=an}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,Hi.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,Yo.__decorate)([Qi.g],rn.prototype,"auth",void 0),(0,Yo.__decorate)([l.lj],rn.prototype,"connect",void 0),(0,Yo.__decorate)([qi.Yh],rn.prototype,"datasource",void 0),(0,Yo.__decorate)([s.observable],rn.prototype,"deferredGridOptions",void 0),(0,Yo.__decorate)([s.attr],rn.prototype,"criteria",void 0),(0,Yo.__decorate)([s.attr],rn.prototype,"fields",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],rn.prototype,"isSnapshot",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"max-rows"})],rn.prototype,"maxRows",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"max-view"})],rn.prototype,"maxView",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"polling-interval"})],rn.prototype,"pollingInterval",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"moving-view"})],rn.prototype,"movingView",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"order-by"})],rn.prototype,"orderBy",void 0),(0,Yo.__decorate)([s.observable],rn.prototype,"request",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"resource-name"})],rn.prototype,"resourceName",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean"})],rn.prototype,"reverse",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"row-id"})],rn.prototype,"rowIdAttr",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],rn.prototype,"restartOnReconnection",void 0),(0,Yo.__decorate)([s.observable],rn.prototype,"rowDataMapper",void 0),rn=(0,Yo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource"})],rn);var tn=r(66306),on=r(47546);class nn{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,Yo.__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,on.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===_i.Cs.LOGOFF_ACK||o===_i.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,a.ROW){const e=(0,Vi.$)(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=>Qo.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,Yo.__decorate)([l.lj],nn.prototype,"connect",void 0);let ln=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Gi.WJ.MAX_ROWS_250,this.maxView=Gi.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,Hi.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,Yo.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Qo.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,tn.C)(e);const a=(0,tn.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new nn({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});Qo.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));Qo.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 Qo.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,Yo.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Qo.debug(e)),(e=>Qo.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 Yi.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ii.boolean);break;case Yi.r.DATE:r.valueFormatter=en;break;case Yi.r.DATETIME:r.valueFormatter=an}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:Xi(e.type),filter:(e.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(a)}};(0,Yo.__decorate)([l.lj],ln.prototype,"connect",void 0),(0,Yo.__decorate)([s.attr],ln.prototype,"criteria",void 0),(0,Yo.__decorate)([s.attr],ln.prototype,"fields",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],ln.prototype,"isSnapshot",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"max-rows"})],ln.prototype,"maxRows",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"max-view"})],ln.prototype,"maxView",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"moving-view"})],ln.prototype,"movingView",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"order-by"})],ln.prototype,"orderBy",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"resource-name"})],ln.prototype,"resourceName",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean"})],ln.prototype,"pagination",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"row-id"})],ln.prototype,"rowId",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean"})],ln.prototype,"reverse",void 0),ln=(0,Yo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource-next"})],ln);const gn=s.css`
1975
1975
  .ag-icon {
1976
1976
  font-family: var(--ag-icon-font-family);
1977
1977
  font-size: var(--ag-icon-size);
@@ -9148,7 +9148,7 @@
9148
9148
  input[class^='ag-'][type='range']:disabled {
9149
9149
  opacity: 0.5;
9150
9150
  }
9151
- `,gn=s.css`
9151
+ `,dn=s.css`
9152
9152
  .ag-dnd-ghost {
9153
9153
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9154
9154
  border: solid 1px;
@@ -9165,7 +9165,7 @@
9165
9165
  overflow: hidden;
9166
9166
  text-overflow: ellipsis;
9167
9167
  }
9168
- `,dn=s.css`
9168
+ `,sn=s.css`
9169
9169
  .ag-theme-alpine,
9170
9170
  .ag-theme-alpine-dark {
9171
9171
  --ag-alpine-active-color: #2196f3;
@@ -9615,7 +9615,7 @@
9615
9615
  .ag-theme-alpine-dark {
9616
9616
  color-scheme: dark;
9617
9617
  }
9618
- `,sn=s.css`
9618
+ `,cn=s.css`
9619
9619
  .ag-theme-balham,
9620
9620
  .ag-theme-balham-dark {
9621
9621
  --ag-balham-active-color: #0091ea;
@@ -9885,7 +9885,7 @@
9885
9885
  .ag-theme-balham-dark {
9886
9886
  color-scheme: dark;
9887
9887
  }
9888
- `,cn=s.css`
9888
+ `,pn=s.css`
9889
9889
  .ag-theme-material {
9890
9890
  --ag-material-primary-color: #3f51b5;
9891
9891
  --ag-material-accent-color: #ff4081;
@@ -10150,14 +10150,14 @@
10150
10150
  .ag-theme-material .ag-picker-field-wrapper:focus {
10151
10151
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10152
10152
  }
10153
- `,pn=s.css`
10154
- ${ln}
10153
+ `,un=s.css`
10155
10154
  ${gn}
10156
10155
  ${dn}
10157
10156
  ${sn}
10158
10157
  ${cn}
10159
- `,un=s.css`
10160
10158
  ${pn}
10159
+ `,hn=s.css`
10160
+ ${un}
10161
10161
  :host {
10162
10162
  width: 100%;
10163
10163
  height: 100%;
@@ -10184,14 +10184,14 @@
10184
10184
  .ag-cell-inline-editing {
10185
10185
  height: inherit !important;
10186
10186
  }
10187
- `,hn=s.html`
10187
+ `,mn=s.html`
10188
10188
  <template>
10189
10189
  <span part="grid" class="${e=>e.classNames}">
10190
10190
  <slot name="grid" ${(0,s.ref)("gridSlot")}></slot>
10191
10191
  <slot></slot>
10192
10192
  </span>
10193
10193
  </template>
10194
- `;Ai.O3h.registerModules([Ti.jM,Ci.I]);const mn=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class vn extends((0,g.LifecycleMixin)(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,_r.A)(Ri(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.enabledRowFlashing=!1,this.enableCellFlashing=!1,this.gridAutosizingEnabled=!1,this.gridFontFace=Bi,this.columnComponentName="grid-pro-column",this.theme=$i.alpine,this.rehydrationAttempted=!1,this.agAttributes={},this.agPropertiesMap=Ai.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[mn(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&(0,g.respondToVisibility)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&Ai.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(mn(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[Ii.action]:qo,[Ii.actionsMenu]:ei,[Ii.boolean]:oi};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.columnApi.getColumnState();if(a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,0===a.length)return;e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}getSavedColumnState(){const e=this.session.getLocalStorageItem("gridOptions");if(this.statePersistanceEnabled()&&e){const a=JSON.parse(e);if(this.persistColumnStateKey in a)return JSON.parse(a[this.persistColumnStateKey])}return[]}restoreColumnState(){var e;this.rehydrationAttempted=!0;const a=this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}get gridOptions(){return this.agGridOptions}get gridProGenesisDatasource(){return this.querySelector("grid-pro-genesis-datasource")}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.saveColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:t,components:o,onGridReady:i,onFirstDataRendered:n}=e,l=(0,Yo.__rest)(e,["columnDefs","components","onGridReady","onFirstDataRendered"]),g=Object.assign(Object.assign(Object.assign({defaultColDef:{filter:!0,resizable:!0,sortable:!0},components:this.combineAllGridComponents(o),suppressDragLeaveHidesColumns:!0},this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,i&&i(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.enableFlashingRows.bind(this),n&&n(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),l);this.gridProGenesisDatasource||(g.columnDefs=this.applyTemplateDefinitions(t)),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Ai.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 Ai.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}enableFlashingRows(){this.enabledRowFlashing&&this.gridApi.addEventListener(Ai.zW2.EVENT_ASYNC_TRANSACTIONS_FLUSHED,(e=>{e.results.forEach((e=>{e.add.length&&this.gridApi.flashCells({rowNodes:e.add})}))}))}applyTemplateDefinitions(e,a=!1){const r=e||[],t=this.querySelectorAll(this.columnComponentName),o=Array.from(t).map((e=>{var a;return null===(a=e.definition)||void 0===a?void 0:a.field}));let i=[];if(i=0===t.length?r:[...r.filter((e=>!o.includes(e.field))),...Array.from(t).map((e=>{var a;if(this.enableCellFlashing&&void 0===e.definition.enableCellChangeFlash&&(e.definition.enableCellChangeFlash=!0),!this.autoCellRendererByType||e.definition.valueFormatter)return e.definition;const t=null===(a=r.find((a=>e.definition.field===a.field)))||void 0===a?void 0:a.valueFormatter;return t&&(e.definition.valueFormatter=t),e.definition}))],this.gridProGenesisDatasource&&a){const e=this.getSavedColumnState();if(e.length>0)return function(e,a,r="field",t="colId"){const o={},i=[];return a.forEach((a=>{const n=e.find((e=>e[r]===a[t]));if(n){const e=Object.assign(Object.assign({},n),a);delete e[t],o[n[r]]=e,i.push(e)}})),e.forEach((e=>{if(!o.hasOwnProperty(e[r])){const a=Object.assign({},e);o[e[r]]=a,i.push(a)}})),i}(i,e)}return i}get observedAttributes(){const e=Ai.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Ai.plv.ALL_PROPERTIES.map((e=>mn(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},Ai.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=Ui[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,Yo.__decorate)([s.observable],vn.prototype,"columnApi",void 0),(0,Yo.__decorate)([s.observable],vn.prototype,"gridApi",void 0),(0,Yo.__decorate)([Di.z],vn.prototype,"session",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],vn.prototype,"autoCellRendererByType",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],vn.prototype,"onlyTemplateColDefs",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean"})],vn.prototype,"enabledRowFlashing",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],vn.prototype,"enableCellFlashing",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],vn.prototype,"persistColumnStateKey",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],vn.prototype,"gridAutosizingEnabled",void 0),(0,Yo.__decorate)([s.observable],vn.prototype,"gridFontFace",void 0),(0,Yo.__decorate)([s.attr],vn.prototype,"columnComponentName",void 0),(0,Yo.__decorate)([s.observable],vn.prototype,"eventsAndCallbacks",void 0),(0,Yo.__decorate)([s.attr],vn.prototype,"headerHeight",void 0),(0,Yo.__decorate)([s.attr],vn.prototype,"rowHeight",void 0),(0,Yo.__decorate)([s.attr],vn.prototype,"theme",void 0),(0,Yo.__decorate)([s.observable],vn.prototype,"classNames",void 0),(0,Yo.__decorate)([s.observable],vn.prototype,"agGrid",void 0),(0,Yo.__decorate)([s.observable],vn.prototype,"gridSlot",void 0),(0,Yo.__decorate)([s.observable],vn.prototype,"gridComponents",void 0);const bn=void 0,fn={shadowOptions:void 0},wn=vn.compose(Object.assign({baseName:"grid-pro",styles:un,template:hn,shadowOptions:bn},fn)),yn={foregroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#1f2126")),borderSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#2b2e34"))},xn={foregroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#2196f3"))},{create:zn}=c.DesignToken,kn={backgroundColor:zn("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?xn.backgroundSwatch:yn.backgroundSwatch)),borderColor:zn("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?xn.borderSwatch:yn.borderSwatch)),foregroundColor:zn("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?xn.foregroundSwatch:yn.foregroundSwatch)),headerForegroundColor:zn("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?xn.headerForegroundSwatch:yn.headerForegroundSwatch)),rowHoverColor:zn("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?xn.rowHoverSwatch:yn.rowHoverSwatch))},Sn=s.css`
10194
+ `;Ai.O3h.registerModules([Ti.jM,Ci.I]);const vn=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class bn extends((0,g.LifecycleMixin)(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,_r.A)(Ri(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.enabledRowFlashing=!1,this.enableCellFlashing=!1,this.gridAutosizingEnabled=!1,this.gridFontFace=Bi,this.columnComponentName="grid-pro-column",this.theme=$i.alpine,this.rehydrationAttempted=!1,this.agAttributes={},this.agPropertiesMap=Ai.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[vn(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&(0,g.respondToVisibility)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&Ai.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(vn(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[Ii.action]:qo,[Ii.actionsMenu]:ei,[Ii.boolean]:oi};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.columnApi.getColumnState();if(a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,0===a.length)return;e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}getSavedColumnState(){const e=this.session.getLocalStorageItem("gridOptions");if(this.statePersistanceEnabled()&&e){const a=JSON.parse(e);if(this.persistColumnStateKey in a)return JSON.parse(a[this.persistColumnStateKey])}return[]}restoreColumnState(){var e;this.rehydrationAttempted=!0;const a=this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}get gridOptions(){return this.agGridOptions}get gridProGenesisDatasource(){return this.querySelector("grid-pro-genesis-datasource")}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.saveColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:t,components:o,onGridReady:i,onFirstDataRendered:n}=e,l=(0,Yo.__rest)(e,["columnDefs","components","onGridReady","onFirstDataRendered"]),g=Object.assign(Object.assign(Object.assign({defaultColDef:{filter:!0,resizable:!0,sortable:!0},components:this.combineAllGridComponents(o),suppressDragLeaveHidesColumns:!0},this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,i&&i(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.enableFlashingRows.bind(this),n&&n(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),l);this.gridProGenesisDatasource||(g.columnDefs=this.applyTemplateDefinitions(t)),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Ai.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 Ai.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}enableFlashingRows(){this.enabledRowFlashing&&this.gridApi.addEventListener(Ai.zW2.EVENT_ASYNC_TRANSACTIONS_FLUSHED,(e=>{e.results.forEach((e=>{e.add.length&&this.gridApi.flashCells({rowNodes:e.add})}))}))}applyTemplateDefinitions(e,a=!1){const r=e||[],t=this.querySelectorAll(this.columnComponentName),o=Array.from(t).map((e=>{var a;return null===(a=e.definition)||void 0===a?void 0:a.field}));let i=[];if(i=0===t.length?r:[...r.filter((e=>!o.includes(e.field))),...Array.from(t).map((e=>{var a;if(this.enableCellFlashing&&void 0===e.definition.enableCellChangeFlash&&(e.definition.enableCellChangeFlash=!0),!this.autoCellRendererByType||e.definition.valueFormatter)return e.definition;const t=null===(a=r.find((a=>e.definition.field===a.field)))||void 0===a?void 0:a.valueFormatter;return t&&(e.definition.valueFormatter=t),e.definition}))],this.gridProGenesisDatasource&&a){const e=this.getSavedColumnState();if(e.length>0)return function(e,a,r="field",t="colId"){const o={},i=[];return a.forEach((a=>{const n=e.find((e=>e[r]===a[t]));if(n){const e=Object.assign(Object.assign({},n),a);delete e[t],o[n[r]]=e,i.push(e)}})),e.forEach((e=>{if(!o.hasOwnProperty(e[r])){const a=Object.assign({},e);o[e[r]]=a,i.push(a)}})),i}(i,e)}return i}get observedAttributes(){const e=Ai.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Ai.plv.ALL_PROPERTIES.map((e=>vn(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},Ai.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=Ui[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,Yo.__decorate)([s.observable],bn.prototype,"columnApi",void 0),(0,Yo.__decorate)([s.observable],bn.prototype,"gridApi",void 0),(0,Yo.__decorate)([Di.z],bn.prototype,"session",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],bn.prototype,"autoCellRendererByType",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],bn.prototype,"onlyTemplateColDefs",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean"})],bn.prototype,"enabledRowFlashing",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],bn.prototype,"enableCellFlashing",void 0),(0,Yo.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],bn.prototype,"persistColumnStateKey",void 0),(0,Yo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],bn.prototype,"gridAutosizingEnabled",void 0),(0,Yo.__decorate)([s.observable],bn.prototype,"gridFontFace",void 0),(0,Yo.__decorate)([s.attr],bn.prototype,"columnComponentName",void 0),(0,Yo.__decorate)([s.observable],bn.prototype,"eventsAndCallbacks",void 0),(0,Yo.__decorate)([s.attr],bn.prototype,"headerHeight",void 0),(0,Yo.__decorate)([s.attr],bn.prototype,"rowHeight",void 0),(0,Yo.__decorate)([s.attr],bn.prototype,"theme",void 0),(0,Yo.__decorate)([s.observable],bn.prototype,"classNames",void 0),(0,Yo.__decorate)([s.observable],bn.prototype,"agGrid",void 0),(0,Yo.__decorate)([s.observable],bn.prototype,"gridSlot",void 0),(0,Yo.__decorate)([s.observable],bn.prototype,"gridComponents",void 0);const fn=void 0,wn={shadowOptions:void 0},yn=bn.compose(Object.assign({baseName:"grid-pro",styles:hn,template:mn,shadowOptions:fn},wn)),xn={foregroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#1f2126")),borderSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#2b2e34"))},zn={foregroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:p.SwatchRGB.from((0,Fe.parseColorHexRGB)("#2196f3"))},{create:kn}=c.DesignToken,Sn={backgroundColor:kn("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?zn.backgroundSwatch:xn.backgroundSwatch)),borderColor:kn("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?zn.borderSwatch:xn.borderSwatch)),foregroundColor:kn("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?zn.foregroundSwatch:xn.foregroundSwatch)),headerForegroundColor:kn("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?zn.headerForegroundSwatch:xn.headerForegroundSwatch)),rowHoverColor:kn("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?zn.rowHoverSwatch:xn.rowHoverSwatch))},Cn=s.css`
10195
10195
  .ag-theme-genesis-rapid,
10196
10196
  .ag-theme-genesis-rapid-dark {
10197
10197
  --ag-alpine-active-color: #2196f3;
@@ -10651,50 +10651,50 @@
10651
10651
  .ag-theme-genesis-rapid-dark {
10652
10652
  color-scheme: dark;
10653
10653
  }
10654
- `,Cn={[Ni.backgroundColor]:kn.backgroundColor,[Ni.foregroundColor]:kn.foregroundColor,[Ni.oddRowBackgroundColor]:kn.backgroundColor,[Ni.headerBackgroundColor]:kn.backgroundColor,[Ni.headerForegroundColor]:kn.headerForegroundColor,[Ni.selectedRowBackgroundColor]:kn.rowHoverColor,[Ni.rowHoverColor]:kn.rowHoverColor,[Ni.borderColor]:kn.borderColor,[Ni.rowBorderColor]:kn.rowHoverColor,[Ni.modalOverlayBackgroundColor]:kn.backgroundColor,[Ni.inputFocusBoxShadow]:kn.headerForegroundColor,[Ni.inputFocusBorderColor]:kn.headerForegroundColor,[Ni.headerColumnResizeHandleColor]:kn.headerForegroundColor},An="ag-theme-genesis-rapid",Tn=s.css`
10655
- ${Sn}
10656
- ${ji(An,Cn)}
10654
+ `,An={[Ni.backgroundColor]:Sn.backgroundColor,[Ni.foregroundColor]:Sn.foregroundColor,[Ni.oddRowBackgroundColor]:Sn.backgroundColor,[Ni.headerBackgroundColor]:Sn.backgroundColor,[Ni.headerForegroundColor]:Sn.headerForegroundColor,[Ni.selectedRowBackgroundColor]:Sn.rowHoverColor,[Ni.rowHoverColor]:Sn.rowHoverColor,[Ni.borderColor]:Sn.borderColor,[Ni.rowBorderColor]:Sn.rowHoverColor,[Ni.modalOverlayBackgroundColor]:Sn.backgroundColor,[Ni.inputFocusBoxShadow]:Sn.headerForegroundColor,[Ni.inputFocusBorderColor]:Sn.headerForegroundColor,[Ni.headerColumnResizeHandleColor]:Sn.headerForegroundColor},Tn="ag-theme-genesis-rapid",Dn=s.css`
10655
+ ${Cn}
10656
+ ${ji(Tn,An)}
10657
10657
 
10658
- .${An} {
10658
+ .${Tn} {
10659
10659
  ${ye()}
10660
10660
  }
10661
10661
 
10662
- .${An} .ag-header {
10662
+ .${Tn} .ag-header {
10663
10663
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10664
10664
  font-weight: bold;
10665
10665
  }
10666
10666
 
10667
- .${An} .ag-root-wrapper {
10667
+ .${Tn} .ag-root-wrapper {
10668
10668
  border-radius: calc(var(--control-corner-radius) * 1px);
10669
10669
  }
10670
- `,Dn="ag-theme-genesis-rapid-dark",Ln=s.css`
10671
- ${Sn}
10672
- ${ji(Dn,Cn)}
10670
+ `,Ln="ag-theme-genesis-rapid-dark",On=s.css`
10671
+ ${Cn}
10672
+ ${ji(Ln,An)}
10673
10673
 
10674
- .${Dn} {
10674
+ .${Ln} {
10675
10675
  ${ye()}
10676
10676
  }
10677
10677
 
10678
- .${Dn} .ag-header {
10678
+ .${Ln} .ag-header {
10679
10679
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10680
10680
  font-weight: bold;
10681
10681
  }
10682
10682
 
10683
- .${Dn} .ag-cell {
10683
+ .${Ln} .ag-cell {
10684
10684
  line-height: var(--ag-line-height, 32px);
10685
10685
  }
10686
10686
 
10687
- .${Dn} .ag-root-wrapper {
10687
+ .${Ln} .ag-root-wrapper {
10688
10688
  border-radius: calc(var(--control-corner-radius) * 1px);
10689
10689
  }
10690
- `,On=s.css`
10690
+ `,Fn=s.css`
10691
10691
  /* All the AG themes */
10692
- ${un}
10692
+ ${hn}
10693
10693
 
10694
10694
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
10695
- ${Tn}
10696
- ${Ln}
10697
- `,Fn=hn,Mn="ag-theme-genesis-rapid-dark";const Nn=fn,$n={zeroAgActionRenderer:Xo,zeroAgActionsMenuRenderer:ti,zeroAgBooleanRenderer:di,zeroAgTextRenderer:wi,zeroAgSelectRenderer:Si,zeroGridPro:class extends vn{constructor(){super(...arguments),this.theme=Mn}themeChanged(e,a){(e||a===Mn)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ii.action]:Ko,[Ii.actionsMenu]:ri,[Ii.boolean]:gi};(this.theme===An||this.theme===Dn)&&(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:Fn,styles:On,shadowOptions:undefined},Nn)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Rn={foundationGridProActionRenderer:Zo,foundationGridProActionsMenuRenderer:ai,foundationAgBooleanRenderer:li,foundationAgTextRenderer:fi,foundationAgTextFieldRenderer:hi,foundationAgSelectRenderer:ki,foundationGridPro:wn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var jn,In=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(jn||(jn={}));const En={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'},Pn=En["Segoe UI"],Un=s.css`
10695
+ ${Dn}
10696
+ ${On}
10697
+ `,Mn=mn,Nn="ag-theme-genesis-rapid-dark";const $n=wn,Rn={zeroAgActionRenderer:Xo,zeroAgActionsMenuRenderer:ti,zeroAgBooleanRenderer:di,zeroAgTextRenderer:wi,zeroAgSelectRenderer:Si,zeroGridPro:class extends bn{constructor(){super(...arguments),this.theme=Nn}themeChanged(e,a){(e||a===Nn)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ii.action]:Ko,[Ii.actionsMenu]:ri,[Ii.boolean]:gi};(this.theme===Tn||this.theme===Ln)&&(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:Mn,styles:Fn,shadowOptions:undefined},$n)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},jn={foundationGridProActionRenderer:Zo,foundationGridProActionsMenuRenderer:ai,foundationAgBooleanRenderer:li,foundationAgTextRenderer:fi,foundationAgTextFieldRenderer:hi,foundationAgSelectRenderer:ki,foundationGridPro:yn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var In,En=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(In||(In={}));const Pn={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'},Un=Pn["Segoe UI"],Bn=s.css`
10698
10698
  ${(0,c.display)("block")} :host {
10699
10699
  width: 100%;
10700
10700
  display: inline-flex;
@@ -10826,7 +10826,7 @@
10826
10826
  alpha-button {
10827
10827
  margin: 0;
10828
10828
  }
10829
- `,Bn=s.html`
10829
+ `,Gn=s.html`
10830
10830
  <template>
10831
10831
  <div class="configuration">
10832
10832
  <div class="row" id="designSystem">
@@ -11040,7 +11040,7 @@
11040
11040
  <slot></slot>
11041
11041
  </div>
11042
11042
  </template>
11043
- `,Gn=({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(En).find((a=>En[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Hn=Gn(Se),_n={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},Vn=Gn(i.designTokens),Yn={zero:{prefix:"zero",tokenDefaults:Hn,buttons:_n},alpha:{prefix:"alpha",tokenDefaults:Vn,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:_n}};let Qn=class extends s.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Hn.luminance===p.StandardLuminance.DarkMode,this.luminance=Hn.luminance,this.neutralColor=Hn.neutralColor,this.accentColor=Hn.accentColor,this.bodyFont=Hn.bodyFont,this.density=Hn.density,this.borderRadius=Hn.borderRadius,this.strokeWidth=Hn.strokeWidth,this.designUnit=Hn.designUnit,this.baseFontSize=Hn.baseFontSize,this.baseLineHeight=Hn.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=Gn(a);Yn.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,In.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Yn[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,In.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"}];if(this.customDesignMode){const a={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[a,...e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:Yn[this.ds].prefix,buttonAppearanceAccent:Yn[this.ds].buttons.accent,buttonAppearanceNeutral:Yn[this.ds].buttons.neutral,buttonAppearanceOutline:Yn[this.ds].buttons.outline};this.$emit(jn.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Yn[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:En[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(jn.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(jn.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,In.__decorate)([(0,s.attr)({mode:"boolean",attribute:"custom-design-mode"})],Qn.prototype,"customDesignMode",void 0),(0,In.__decorate)([s.observable],Qn.prototype,"designSystems",void 0),(0,In.__decorate)([s.observable],Qn.prototype,"ds",void 0),(0,In.__decorate)([s.attr],Qn.prototype,"darkMode",void 0),(0,In.__decorate)([s.observable],Qn.prototype,"neutralColor",void 0),(0,In.__decorate)([s.observable],Qn.prototype,"accentColor",void 0),(0,In.__decorate)([s.observable],Qn.prototype,"bodyFont",void 0),(0,In.__decorate)([s.observable],Qn.prototype,"density",void 0),(0,In.__decorate)([s.observable],Qn.prototype,"borderRadius",void 0),(0,In.__decorate)([s.observable],Qn.prototype,"strokeWidth",void 0),(0,In.__decorate)([s.observable],Qn.prototype,"designUnit",void 0),(0,In.__decorate)([s.observable],Qn.prototype,"baseFontSize",void 0),(0,In.__decorate)([s.observable],Qn.prototype,"baseLineHeight",void 0),(0,In.__decorate)([s.observable],Qn.prototype,"preserveOptions",void 0),Qn=(0,In.__decorate)([(0,s.customElement)({name:"design-system-editor",template:Bn,styles:Un})],Qn);const qn=e=>{const a=(e=>{const a=(0,Fe.parseColorHexRGB)(e);return a?p.SwatchRGB.from(a):null})(e);return a?p.PaletteRGB.create(a):null},Wn=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Jn=(e,a)=>{const r=qn(e.neutralColor);p.neutralPalette.setValueFor(a,r);const t=qn(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,Wn(p.typeRampBaseFontSize,g.TypeRampValues.minusOne,a)),p.typeRampMinus1LineHeight.setValueFor(a,Wn(p.typeRampBaseLineHeight,g.TypeRampValues.minusOne,a)),p.typeRampMinus2FontSize.setValueFor(a,Wn(p.typeRampBaseFontSize,g.TypeRampValues.minusTwo,a)),p.typeRampMinus2LineHeight.setValueFor(a,Wn(p.typeRampBaseLineHeight,g.TypeRampValues.minusTwo,a)),p.typeRampPlus1FontSize.setValueFor(a,Wn(p.typeRampBaseFontSize,g.TypeRampValues.plusOne,a)),p.typeRampPlus1LineHeight.setValueFor(a,Wn(p.typeRampBaseLineHeight,g.TypeRampValues.plusOne,a)),p.typeRampPlus2FontSize.setValueFor(a,Wn(p.typeRampBaseFontSize,g.TypeRampValues.plusTwo,a)),p.typeRampPlus2LineHeight.setValueFor(a,Wn(p.typeRampBaseLineHeight,g.TypeRampValues.plusTwo,a)),p.typeRampPlus3FontSize.setValueFor(a,Wn(p.typeRampBaseFontSize,g.TypeRampValues.plusThree,a)),p.typeRampPlus3LineHeight.setValueFor(a,Wn(p.typeRampBaseLineHeight,g.TypeRampValues.plusThree,a)),p.typeRampPlus4FontSize.setValueFor(a,Wn(p.typeRampBaseFontSize,g.TypeRampValues.plusFour,a)),p.typeRampPlus4LineHeight.setValueFor(a,Wn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFour,a)),p.typeRampPlus5FontSize.setValueFor(a,Wn(p.typeRampBaseFontSize,g.TypeRampValues.plusFive,a)),p.typeRampPlus5LineHeight.setValueFor(a,Wn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFive,a)),p.typeRampPlus6FontSize.setValueFor(a,Wn(p.typeRampBaseFontSize,g.TypeRampValues.plusSix,a)),p.typeRampPlus6LineHeight.setValueFor(a,Wn(p.typeRampBaseLineHeight,g.TypeRampValues.plusSix,a))},Zn=s.css`
11043
+ `,Hn=({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(Pn).find((a=>Pn[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),_n=Hn(Se),Vn={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},Yn=Hn(i.designTokens),Qn={zero:{prefix:"zero",tokenDefaults:_n,buttons:Vn},alpha:{prefix:"alpha",tokenDefaults:Yn,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Vn}};let qn=class extends s.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=_n.luminance===p.StandardLuminance.DarkMode,this.luminance=_n.luminance,this.neutralColor=_n.neutralColor,this.accentColor=_n.accentColor,this.bodyFont=_n.bodyFont,this.density=_n.density,this.borderRadius=_n.borderRadius,this.strokeWidth=_n.strokeWidth,this.designUnit=_n.designUnit,this.baseFontSize=_n.baseFontSize,this.baseLineHeight=_n.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=Hn(a);Qn.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,En.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Qn[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,En.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"}];if(this.customDesignMode){const a={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[a,...e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:Qn[this.ds].prefix,buttonAppearanceAccent:Qn[this.ds].buttons.accent,buttonAppearanceNeutral:Qn[this.ds].buttons.neutral,buttonAppearanceOutline:Qn[this.ds].buttons.outline};this.$emit(In.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Qn[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Pn[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(In.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(In.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,En.__decorate)([(0,s.attr)({mode:"boolean",attribute:"custom-design-mode"})],qn.prototype,"customDesignMode",void 0),(0,En.__decorate)([s.observable],qn.prototype,"designSystems",void 0),(0,En.__decorate)([s.observable],qn.prototype,"ds",void 0),(0,En.__decorate)([s.attr],qn.prototype,"darkMode",void 0),(0,En.__decorate)([s.observable],qn.prototype,"neutralColor",void 0),(0,En.__decorate)([s.observable],qn.prototype,"accentColor",void 0),(0,En.__decorate)([s.observable],qn.prototype,"bodyFont",void 0),(0,En.__decorate)([s.observable],qn.prototype,"density",void 0),(0,En.__decorate)([s.observable],qn.prototype,"borderRadius",void 0),(0,En.__decorate)([s.observable],qn.prototype,"strokeWidth",void 0),(0,En.__decorate)([s.observable],qn.prototype,"designUnit",void 0),(0,En.__decorate)([s.observable],qn.prototype,"baseFontSize",void 0),(0,En.__decorate)([s.observable],qn.prototype,"baseLineHeight",void 0),(0,En.__decorate)([s.observable],qn.prototype,"preserveOptions",void 0),qn=(0,En.__decorate)([(0,s.customElement)({name:"design-system-editor",template:Gn,styles:Bn})],qn);const Wn=e=>{const a=(e=>{const a=(0,Fe.parseColorHexRGB)(e);return a?p.SwatchRGB.from(a):null})(e);return a?p.PaletteRGB.create(a):null},Jn=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Zn=(e,a)=>{const r=Wn(e.neutralColor);p.neutralPalette.setValueFor(a,r);const t=Wn(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,Jn(p.typeRampBaseFontSize,g.TypeRampValues.minusOne,a)),p.typeRampMinus1LineHeight.setValueFor(a,Jn(p.typeRampBaseLineHeight,g.TypeRampValues.minusOne,a)),p.typeRampMinus2FontSize.setValueFor(a,Jn(p.typeRampBaseFontSize,g.TypeRampValues.minusTwo,a)),p.typeRampMinus2LineHeight.setValueFor(a,Jn(p.typeRampBaseLineHeight,g.TypeRampValues.minusTwo,a)),p.typeRampPlus1FontSize.setValueFor(a,Jn(p.typeRampBaseFontSize,g.TypeRampValues.plusOne,a)),p.typeRampPlus1LineHeight.setValueFor(a,Jn(p.typeRampBaseLineHeight,g.TypeRampValues.plusOne,a)),p.typeRampPlus2FontSize.setValueFor(a,Jn(p.typeRampBaseFontSize,g.TypeRampValues.plusTwo,a)),p.typeRampPlus2LineHeight.setValueFor(a,Jn(p.typeRampBaseLineHeight,g.TypeRampValues.plusTwo,a)),p.typeRampPlus3FontSize.setValueFor(a,Jn(p.typeRampBaseFontSize,g.TypeRampValues.plusThree,a)),p.typeRampPlus3LineHeight.setValueFor(a,Jn(p.typeRampBaseLineHeight,g.TypeRampValues.plusThree,a)),p.typeRampPlus4FontSize.setValueFor(a,Jn(p.typeRampBaseFontSize,g.TypeRampValues.plusFour,a)),p.typeRampPlus4LineHeight.setValueFor(a,Jn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFour,a)),p.typeRampPlus5FontSize.setValueFor(a,Jn(p.typeRampBaseFontSize,g.TypeRampValues.plusFive,a)),p.typeRampPlus5LineHeight.setValueFor(a,Jn(p.typeRampBaseLineHeight,g.TypeRampValues.plusFive,a)),p.typeRampPlus6FontSize.setValueFor(a,Jn(p.typeRampBaseFontSize,g.TypeRampValues.plusSix,a)),p.typeRampPlus6LineHeight.setValueFor(a,Jn(p.typeRampBaseLineHeight,g.TypeRampValues.plusSix,a))},Kn=s.css`
11044
11044
  :host {
11045
11045
  background: var(--fill-color);
11046
11046
  color: var(--neutral-foreground-rest);
@@ -11083,7 +11083,7 @@
11083
11083
  zero-design-system-provider {
11084
11084
  display: inline;
11085
11085
  }
11086
- `,Kn=s.html`
11086
+ `,Xn=s.html`
11087
11087
  ${e=>{return a=e.prefix,s.html`
11088
11088
  <template>
11089
11089
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11284,7 +11284,7 @@
11284
11284
  </${a}-design-system-provider>
11285
11285
  </template>
11286
11286
  `;var a}}
11287
- `;let Xn=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(jn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(jn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setDialogEventListeners(),p.bodyFont.withDefault(Pn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Jn(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,In.__decorate)([s.observable],Xn.prototype,"modal",void 0),(0,In.__decorate)([s.attr],Xn.prototype,"prefix",void 0),(0,In.__decorate)([s.observable],Xn.prototype,"buttonAppearanceAccent",void 0),(0,In.__decorate)([s.observable],Xn.prototype,"buttonAppearanceNeutral",void 0),(0,In.__decorate)([s.observable],Xn.prototype,"buttonAppearanceOutline",void 0),(0,In.__decorate)([s.observable],Xn.prototype,"provider",void 0),Xn=(0,In.__decorate)([(0,s.customElement)({name:"preview-components",template:Kn,styles:Zn})],Xn);const el=s.css`
11287
+ `;let el=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(In.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(In.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setDialogEventListeners(),p.bodyFont.withDefault(Un)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Zn(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,En.__decorate)([s.observable],el.prototype,"modal",void 0),(0,En.__decorate)([s.attr],el.prototype,"prefix",void 0),(0,En.__decorate)([s.observable],el.prototype,"buttonAppearanceAccent",void 0),(0,En.__decorate)([s.observable],el.prototype,"buttonAppearanceNeutral",void 0),(0,En.__decorate)([s.observable],el.prototype,"buttonAppearanceOutline",void 0),(0,En.__decorate)([s.observable],el.prototype,"provider",void 0),el=(0,En.__decorate)([(0,s.customElement)({name:"preview-components",template:Xn,styles:Kn})],el);const al=s.css`
11288
11288
  .export {
11289
11289
  display: flex;
11290
11290
  justify-content: center;
@@ -11295,7 +11295,7 @@
11295
11295
  display: flex;
11296
11296
  justify-content: space-between;
11297
11297
  }
11298
- `,al=s.html`
11298
+ `,rl=s.html`
11299
11299
  <template>
11300
11300
  <div class="export">
11301
11301
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -11316,7 +11316,7 @@
11316
11316
  </alpha-modal>
11317
11317
  </div>
11318
11318
  </template>
11319
- `;let rl=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(jn.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(jn.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,In.__decorate)([s.attr],rl.prototype,"value",void 0),(0,In.__decorate)([s.attr],rl.prototype,"tokensPath",void 0),rl=(0,In.__decorate)([(0,s.customElement)({name:"design-system-export",template:al,styles:el})],rl);const tl=s.css`
11319
+ `;let tl=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(In.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(In.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,En.__decorate)([s.attr],tl.prototype,"value",void 0),(0,En.__decorate)([s.attr],tl.prototype,"tokensPath",void 0),tl=(0,En.__decorate)([(0,s.customElement)({name:"design-system-export",template:rl,styles:al})],tl);const ol=s.css`
11320
11320
  .colors {
11321
11321
  display: flex;
11322
11322
  flex-wrap: wrap;
@@ -11329,23 +11329,23 @@
11329
11329
  flex-grow: 1;
11330
11330
  height: 20px;
11331
11331
  }
11332
- `,ol=s.html`
11332
+ `,il=s.html`
11333
11333
  <ul class="colors">
11334
11334
  ${(0,s.repeat)((e=>e.swatches),s.html`
11335
11335
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
11336
11336
  `)}
11337
11337
  </ul>
11338
- `;let il=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=qn(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(jn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,In.__decorate)([s.observable],il.prototype,"swatches",void 0),(0,In.__decorate)([s.attr],il.prototype,"type",void 0),il=(0,In.__decorate)([(0,s.customElement)({name:"color-palette",styles:tl,template:ol})],il);const nl=s.css`
11338
+ `;let nl=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=Wn(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(In.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,En.__decorate)([s.observable],nl.prototype,"swatches",void 0),(0,En.__decorate)([s.attr],nl.prototype,"type",void 0),nl=(0,En.__decorate)([(0,s.customElement)({name:"color-palette",styles:ol,template:il})],nl);const ll=s.css`
11339
11339
  .preview {
11340
11340
  width: 40px;
11341
11341
  height: 40px;
11342
11342
  }
11343
- `,ll=s.html`
11343
+ `,gl=s.html`
11344
11344
  <div
11345
11345
  class="preview"
11346
11346
  style="background-color: ${e=>p[e.tokenName].createCSS()}"
11347
11347
  ></div>
11348
- `;let gl=class extends s.FASTElement{};(0,In.__decorate)([s.attr],gl.prototype,"tokenName",void 0),gl=(0,In.__decorate)([(0,s.customElement)({name:"color-token",styles:nl,template:ll})],gl);const dl=s.css`
11348
+ `;let dl=class extends s.FASTElement{};(0,En.__decorate)([s.attr],dl.prototype,"tokenName",void 0),dl=(0,En.__decorate)([(0,s.customElement)({name:"color-token",styles:ll,template:gl})],dl);const sl=s.css`
11349
11349
  .container {
11350
11350
  display: flex;
11351
11351
  width: 100%;
@@ -11393,7 +11393,7 @@
11393
11393
  .container > div:not(:last-child) {
11394
11394
  border-right: 1px solid #fafafa;
11395
11395
  }
11396
- `,sl=[{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"}]}]}],cl=s.html`
11396
+ `,cl=[{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"}]}]}],pl=s.html`
11397
11397
  <div class="row">
11398
11398
  <div
11399
11399
  class="preview"
@@ -11405,19 +11405,19 @@
11405
11405
  ${(e,a)=>p[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
11406
11406
  </div>
11407
11407
  </div>
11408
- `,pl=s.html`
11408
+ `,ul=s.html`
11409
11409
  <div class="container" ${(0,s.ref)("provider")}>
11410
- ${(0,s.repeat)((()=>sl),s.html`
11410
+ ${(0,s.repeat)((()=>cl),s.html`
11411
11411
  <div class="column">
11412
11412
  <h3 class="header-title">${e=>e.title}</h3>
11413
11413
  ${(0,s.repeat)((e=>e.subcategories),s.html`
11414
11414
  <h4>${e=>e.title}</h4>
11415
- ${(0,s.repeat)((e=>e.tokens),cl)}
11415
+ ${(0,s.repeat)((e=>e.tokens),pl)}
11416
11416
  `)}
11417
11417
  </div>
11418
11418
  `)}
11419
11419
  </div>
11420
- `;let ul=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(jn.STYLES_CHANGED,(e=>{const a=e.detail;Jn(a,this.provider)}))}};(0,In.__decorate)([s.observable],ul.prototype,"provider",void 0),ul=(0,In.__decorate)([(0,s.customElement)({name:"color-tokens",template:pl,styles:dl})],ul);const hl=s.css`
11420
+ `;let hl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(In.STYLES_CHANGED,(e=>{const a=e.detail;Zn(a,this.provider)}))}};(0,En.__decorate)([s.observable],hl.prototype,"provider",void 0),hl=(0,En.__decorate)([(0,s.customElement)({name:"color-tokens",template:ul,styles:sl})],hl);const ml=s.css`
11421
11421
  table {
11422
11422
  background: var(--neutral-fill-rest);
11423
11423
  color: var(--neutral-foreground-rest);
@@ -11426,7 +11426,7 @@
11426
11426
  th {
11427
11427
  text-align: left;
11428
11428
  }
11429
- `,ml=s.html`
11429
+ `,vl=s.html`
11430
11430
  <table ${(0,s.ref)("provider")} style="font-family: ${()=>p.bodyFont.createCSS()}">
11431
11431
  <colgroup>
11432
11432
  <col style="width: 15%;" />
@@ -11654,7 +11654,7 @@
11654
11654
  </tr>
11655
11655
  </tbody>
11656
11656
  </table>
11657
- `;let vl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(jn.STYLES_CHANGED,(e=>{const a=e.detail;Jn(a,this.provider)}))}};(0,In.__decorate)([s.observable],vl.prototype,"provider",void 0),vl=(0,In.__decorate)([(0,s.customElement)({name:"typography-tokens",template:ml,styles:hl})],vl);const bl=s.css`
11657
+ `;let bl=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(In.STYLES_CHANGED,(e=>{const a=e.detail;Zn(a,this.provider)}))}};(0,En.__decorate)([s.observable],bl.prototype,"provider",void 0),bl=(0,En.__decorate)([(0,s.customElement)({name:"typography-tokens",template:vl,styles:ml})],bl);const fl=s.css`
11658
11658
  :host {
11659
11659
  background: var(--fill-color);
11660
11660
  color: var(--neutral-foreground-rest);
@@ -11670,7 +11670,7 @@
11670
11670
  margin-top: 24px;
11671
11671
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
11672
11672
  }
11673
- `,fl=s.html`
11673
+ `,wl=s.html`
11674
11674
  <template>
11675
11675
  <alpha-tabs>
11676
11676
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -11699,7 +11699,7 @@
11699
11699
  </alpha-tab-panel>
11700
11700
  </alpha-tabs>
11701
11701
  </template>
11702
- `;let wl=class extends s.FASTElement{};wl=(0,In.__decorate)([(0,s.customElement)({name:"design-system-preview",template:fl,styles:bl})],wl);const yl={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"}]}]}}]},xl={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"]}}},zl={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"}]}}}]},kl={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"]}}}},Sl=s.css`
11702
+ `;let yl=class extends s.FASTElement{};yl=(0,En.__decorate)([(0,s.customElement)({name:"design-system-preview",template:wl,styles:fl})],yl);const xl={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"}]}]}}]},zl={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"]}}},kl={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"}]}}}]},Sl={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"]}}}},Cl=s.css`
11703
11703
  :host {
11704
11704
  background: var(--fill-color);
11705
11705
  color: var(--neutral-foreground-rest);
@@ -11730,7 +11730,7 @@
11730
11730
  zero-design-system-provider {
11731
11731
  display: inline;
11732
11732
  }
11733
- `,Cl=s.html`
11733
+ `,Al=s.html`
11734
11734
  ${e=>{return a=e.prefix,s.html`
11735
11735
  <template>
11736
11736
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11752,7 +11752,7 @@
11752
11752
  </${a}-design-system-provider>
11753
11753
  </template>
11754
11754
  `;var a}}
11755
- `;let Al=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=xl,this.uischema=yl,this.jsonSchemaArray=kl,this.uiSchemaArray=zl,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(jn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(jn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(Pn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Jn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,In.__decorate)([s.observable],Al.prototype,"jsonSchema",void 0),(0,In.__decorate)([s.observable],Al.prototype,"uischema",void 0),(0,In.__decorate)([s.observable],Al.prototype,"jsonSchemaArray",void 0),(0,In.__decorate)([s.observable],Al.prototype,"uiSchemaArray",void 0),(0,In.__decorate)([s.attr],Al.prototype,"prefix",void 0),(0,In.__decorate)([s.observable],Al.prototype,"provider",void 0),(0,In.__decorate)([s.observable],Al.prototype,"editedEntity",void 0),(0,In.__decorate)([s.observable],Al.prototype,"editedEntityArray",void 0),Al=(0,In.__decorate)([(0,s.customElement)({name:"preview-form",template:Cl,styles:Sl})],Al);const Tl=s.css`
11755
+ `;let Tl=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=zl,this.uischema=xl,this.jsonSchemaArray=Sl,this.uiSchemaArray=kl,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(In.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(In.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(Un)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Zn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,En.__decorate)([s.observable],Tl.prototype,"jsonSchema",void 0),(0,En.__decorate)([s.observable],Tl.prototype,"uischema",void 0),(0,En.__decorate)([s.observable],Tl.prototype,"jsonSchemaArray",void 0),(0,En.__decorate)([s.observable],Tl.prototype,"uiSchemaArray",void 0),(0,En.__decorate)([s.attr],Tl.prototype,"prefix",void 0),(0,En.__decorate)([s.observable],Tl.prototype,"provider",void 0),(0,En.__decorate)([s.observable],Tl.prototype,"editedEntity",void 0),(0,En.__decorate)([s.observable],Tl.prototype,"editedEntityArray",void 0),Tl=(0,En.__decorate)([(0,s.customElement)({name:"preview-form",template:Al,styles:Cl})],Tl);const Dl=s.css`
11756
11756
  :host {
11757
11757
  background: var(--fill-color);
11758
11758
  color: var(--neutral-foreground-rest);
@@ -11767,7 +11767,7 @@
11767
11767
  .grid-height {
11768
11768
  height: 450px;
11769
11769
  }
11770
- `,Dl=s.html`
11770
+ `,Ll=s.html`
11771
11771
  ${e=>{return a=e.prefix,s.html`
11772
11772
  <template>
11773
11773
  <${a}-design-system-provider ${(0,s.ref)("provider")}>
@@ -11777,5 +11777,5 @@
11777
11777
  </${a}-design-system-provider>
11778
11778
  </template>
11779
11779
  `;var a}}
11780
- `;let Ll=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(jn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(jn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setGridOptions(),p.bodyFont.withDefault(Pn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Jn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,s.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,In.__decorate)([s.observable],Ll.prototype,"grid",void 0),(0,In.__decorate)([s.attr],Ll.prototype,"prefix",void 0),(0,In.__decorate)([s.observable],Ll.prototype,"provider",void 0),(0,In.__decorate)([s.observable],Ll.prototype,"rowData",void 0),(0,In.__decorate)([s.observable],Ll.prototype,"columnDefs",void 0),(0,In.__decorate)([s.observable],Ll.prototype,"gridOptions",void 0),Ll=(0,In.__decorate)([(0,s.customElement)({name:"preview-grid",template:Dl,styles:Tl})],Ll),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(Vo,$n),(0,i.provideDesignSystem)().register(i.baseComponents,Rn)}}]);
11781
- //# sourceMappingURL=567.7853a2fe7567a2437136f2c55d9a1a00.js.map
11780
+ `;let Ol=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(In.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(In.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setGridOptions(),p.bodyFont.withDefault(Un)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Zn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,s.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,En.__decorate)([s.observable],Ol.prototype,"grid",void 0),(0,En.__decorate)([s.attr],Ol.prototype,"prefix",void 0),(0,En.__decorate)([s.observable],Ol.prototype,"provider",void 0),(0,En.__decorate)([s.observable],Ol.prototype,"rowData",void 0),(0,En.__decorate)([s.observable],Ol.prototype,"columnDefs",void 0),(0,En.__decorate)([s.observable],Ol.prototype,"gridOptions",void 0),Ol=(0,En.__decorate)([(0,s.customElement)({name:"preview-grid",template:Ll,styles:Dl})],Ol),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(Vo,Rn),(0,i.provideDesignSystem)().register(i.baseComponents,jn)}}]);
11781
+ //# sourceMappingURL=567.9ed1198f9ecf4d4430a63ee8c04bf01f.js.map