@genesislcap/design-system-configurator 14.30.2-bny.1 → 14.30.2

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([[635],{64635:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Gn,ColorToken:()=>_n,ColorTokens:()=>Jn,DesignSystemEditor:()=>Mn,DesignSystemExport:()=>Pn,DesignSystemPreview:()=>rl,EventName:()=>wn,PreviewComponents:()=>jn,PreviewForm:()=>dl,TypographyTokens:()=>Xn,defaultBodyFont:()=>zn,fontFamilies:()=>xn});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(71560),n=r(92592),l=r(62646),g=r(22677),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([[635],{64635:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Gn,ColorToken:()=>Yn,ColorTokens:()=>Jn,DesignSystemEditor:()=>Fn,DesignSystemExport:()=>Pn,DesignSystemPreview:()=>rl,EventName:()=>wn,PreviewComponents:()=>jn,PreviewForm:()=>dl,TypographyTokens:()=>Xn,defaultBodyFont:()=>zn,fontFamilies:()=>xn});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(71560),n=r(92592),l=r(62646),g=r(22677),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;
@@ -30,11 +30,10 @@
30
30
 
31
31
  .actions {
32
32
  display: flex;
33
- flex-direction: row;
33
+ flex-direction: column;
34
34
  align-items: flex-end;
35
- justify-content: flex-end;
35
+ justify-content: center;
36
36
  padding: calc(${p.designUnit} * 2px);
37
- gap: 10px;
38
37
  }
39
38
 
40
39
  .error {
@@ -184,9 +183,9 @@
184
183
  width: 100%;
185
184
  align-items: center;
186
185
  }
187
- `;let C=class extends s.FASTElement{get showDescription(){return!(0,d.tg6)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,d.lgi)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,n.__decorate)([s.observable],C.prototype,"control",void 0),(0,n.__decorate)([s.observable],C.prototype,"touched",void 0),(0,n.__decorate)([s.volatile],C.prototype,"showDescription",null),(0,n.__decorate)([s.volatile],C.prototype,"computedLabel",null),C=(0,n.__decorate)([(0,s.customElement)({name:"control-wrapper",styles:S,template:k})],C);var A=r(80340),T=r.n(A);const D=s.html`
186
+ `;let C=class extends s.FASTElement{get showDescription(){return!(0,d.tg6)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,d.lgi)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,n.__decorate)([s.observable],C.prototype,"control",void 0),(0,n.__decorate)([s.observable],C.prototype,"touched",void 0),(0,n.__decorate)([s.volatile],C.prototype,"showDescription",null),(0,n.__decorate)([s.volatile],C.prototype,"computedLabel",null),C=(0,n.__decorate)([(0,s.customElement)({name:"control-wrapper",styles:S,template:k})],C);var A=r(80340),T=r.n(A);const L=s.html`
188
187
  <template>${e=>e.determinedRenderer.renderer}</template>
189
- `,L=s.css``;let M=class extends s.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,d.Q8v)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,n.__rest)(e,["rootSchema"]);this.renderer=r,this.control=((e,a,r,t)=>{const o=Object.assign({},t({jsonforms:a},e)),i=null===d.AZl||void 0===d.AZl?void 0:(0,d.AZl)(r);return Object.assign(Object.assign({},o),i)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}onBlur(){this.touched=!0}get determinedRenderer(){const e=T()(this.renderer.renderers,(e=>e.tester(this.renderer.uischema,this.renderer.schema)));return this.prefix=this.jsonforms.core.uischema.dsPrefix,void 0===e||-1===e.tester(this.renderer.uischema,this.renderer.schema)?(console.error("UnknownRenderer this.renderer.uischema",this.renderer.uischema),{renderer:"UnknownRenderer"}):e}disconnectedCallback(){super.disconnectedCallback(),this.touched=!1,this.submitted=!1}};(0,n.__decorate)([s.observable],M.prototype,"jsonforms",void 0),(0,n.__decorate)([s.observable],M.prototype,"props",void 0),(0,n.__decorate)([s.observable],M.prototype,"touched",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],M.prototype,"submitted",void 0),(0,n.__decorate)([s.observable],M.prototype,"dispatch",void 0),(0,n.__decorate)([s.observable],M.prototype,"control",void 0),(0,n.__decorate)([s.observable],M.prototype,"renderer",void 0),(0,n.__decorate)([s.observable],M.prototype,"prefix",void 0),M=(0,n.__decorate)([(0,s.customElement)({name:"dispatch-renderer",template:D,styles:L})],M);const F=s.html`
188
+ `,D=s.css``;let F=class extends s.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,d.Q8v)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,n.__rest)(e,["rootSchema"]);this.renderer=r,this.control=((e,a,r,t)=>{const o=Object.assign({},t({jsonforms:a},e)),i=null===d.AZl||void 0===d.AZl?void 0:(0,d.AZl)(r);return Object.assign(Object.assign({},o),i)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}onBlur(){this.touched=!0}get determinedRenderer(){const e=T()(this.renderer.renderers,(e=>e.tester(this.renderer.uischema,this.renderer.schema)));return this.prefix=this.jsonforms.core.uischema.dsPrefix,void 0===e||-1===e.tester(this.renderer.uischema,this.renderer.schema)?(console.error("UnknownRenderer this.renderer.uischema",this.renderer.uischema),{renderer:"UnknownRenderer"}):e}disconnectedCallback(){super.disconnectedCallback(),this.touched=!1,this.submitted=!1}};(0,n.__decorate)([s.observable],F.prototype,"jsonforms",void 0),(0,n.__decorate)([s.observable],F.prototype,"props",void 0),(0,n.__decorate)([s.observable],F.prototype,"touched",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],F.prototype,"submitted",void 0),(0,n.__decorate)([s.observable],F.prototype,"dispatch",void 0),(0,n.__decorate)([s.observable],F.prototype,"control",void 0),(0,n.__decorate)([s.observable],F.prototype,"renderer",void 0),(0,n.__decorate)([s.observable],F.prototype,"prefix",void 0),F=(0,n.__decorate)([(0,s.customElement)({name:"dispatch-renderer",template:L,styles:D})],F);const M=s.html`
190
189
  <template>
191
190
  <json-forms
192
191
  ?readonly=${e=>e.readonly}
@@ -198,7 +197,7 @@
198
197
  @data-change=${(e,a)=>e.onChange(a.event)}
199
198
  ></json-forms>
200
199
  ${(0,s.when)((e=>!e.readonly),s.html`
201
- <slot name="userActions" part="userActions" class="actions">
200
+ <div class="actions">
202
201
  <fast-button
203
202
  @click="${e=>e._submit()}"
204
203
  ?disable=${e=>!e.submitting}
@@ -207,7 +206,7 @@
207
206
  >
208
207
  Submit
209
208
  </fast-button>
210
- </slot>
209
+ </div>
211
210
  `)}
212
211
  </template>
213
212
  `,O=(0,d.or)(d.KmX,(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"boolean")))))),N={renderer:s.html`
@@ -265,7 +264,7 @@
265
264
  >
266
265
  <${e}-combobox
267
266
  style="width: 100%"
268
- placeholder=${e=>e.control.uischema.placeholder||e.control.label}
267
+ placeholder=${e=>e.control.label}
269
268
  ?disabled=${e=>!e.control.enabled}
270
269
  @value-change=${(e,a)=>{var r;const t=null===(r=a.event.detail)||void 0===r?void 0:r.value;e.control.handleChange(e.control.path,t),e.onBlur()}}
271
270
  id=${e=>e.control.path}
@@ -336,11 +335,11 @@
336
335
  style="display: none"
337
336
  ></pre>
338
337
  </template>
339
- `,tester:(0,d.yMz)(5,((e,a,r)=>{var t,o;return null!==(o=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.hidden)&&void 0!==o&&o})),mapper:d.xq9},V=(0,d.wcO)((e=>(0,d.ndu)(e,"array")&&e.hasOwnProperty("items")&&"object"==e.items.type)),_={renderer:s.html`
338
+ `,tester:(0,d.yMz)(5,((e,a,r)=>{var t,o;return null!==(o=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.hidden)&&void 0!==o&&o})),mapper:d.xq9},V=(0,d.wcO)((e=>(0,d.ndu)(e,"array")&&e.hasOwnProperty("items")&&"object"==e.items.type)),Y={renderer:s.html`
340
339
  <template>
341
340
  <array-list-wrapper :form=${e=>e} :control=${e=>e.control}></array-list-wrapper>
342
341
  </template>
343
- `,tester:(0,d.yMz)(2,V),mapper:d.NFL},Y={renderer:s.html`
342
+ `,tester:(0,d.yMz)(2,V),mapper:d.NFL},_={renderer:s.html`
344
343
  <template>
345
344
  <categorization-wrapper :form=${e=>e} :control=${e=>e.control}></categorization-wrapper>
346
345
  </template>
@@ -402,7 +401,8 @@
402
401
  `,tester:(0,d.yMz)(2,d.Lki),mapper:d.NFL},J={renderer:s.html`
403
402
  <template>
404
403
  <div
405
- style="display: flex;
404
+ style="max-width:600px;
405
+ display: flex;
406
406
  flex-direction: row;
407
407
  flex-wrap: wrap;
408
408
  justify-content: space-between;"
@@ -428,10 +428,9 @@
428
428
  ?submitted=${e=>e.submitted}
429
429
  >
430
430
  <${e}-number-field
431
- :options=${e=>{var a;return null===(a=e.control.uischema.options)||void 0===a?void 0:a.formatOptions}}
432
431
  :value=${e=>void 0===e.control.data?"":String(e.control.data)}
433
432
  @change=${(e,a)=>{const r=parseFloat(a.event.target.value.replace(/,/g,""));return e.control.handleChange(e.control.path,isNaN(r)?void 0:r)}}
434
- placeholder=${e=>e.control.uischema.placeholder||e.control.label}
433
+ placeholder=${e=>e.control.label}
435
434
  id=${e=>e.control.path}
436
435
  data-test-id=${e=>e.control.path}
437
436
  ?required=${e=>e.control.required}
@@ -455,8 +454,8 @@
455
454
  <${e}-text-field
456
455
  type=${e=>{var a,r;return(null===(r=null===(a=e.control.uischema)||void 0===a?void 0:a.options)||void 0===r?void 0:r.isPassword)?"password":"text"}}
457
456
  :value=${e=>e.control.data||""}
458
- @change=${(e,a)=>e.control.handleChange(e.control.path,a.event.target.value)}
459
- placeholder=${e=>e.control.uischema.placeholder||e.control.label}
457
+ @change=${(e,a)=>{const r=a.event.target.value;e.control.handleChange(e.control.path,""===r?null:r)}}
458
+ placeholder=${e=>e.control.label}
460
459
  id=${e=>e.control.path}
461
460
  data-test-id=${e=>e.control.path}
462
461
  ?required=${e=>e.control.required}
@@ -467,16 +466,16 @@
467
466
  </control-wrapper>
468
467
  </template>
469
468
  `)(e.prefix)}
470
- `,ae=(0,g.createLogger)("foundation-form"),re={renderer:ee,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},te=[{renderer:ee,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},re,N,_,Y,Q,W,J,q,X,I,G,E,B,H];let oe=class extends c.FoundationElement{constructor(){super(...arguments),this.renderers=te,this.errors=[],this.data={}}resourceNameChanged(){var e,a;return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const r=yield this.connect.getJSONSchema(this.resourceName);this.jsonSchema=null===(a=null===(e=null==r?void 0:r.INBOUND)||void 0===e?void 0:e.properties)||void 0===a?void 0:a.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,ae.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield s.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(ae.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}onChange(e){ae.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}connectedCallback(){super.connectedCallback(),this.addEventListener("submit-button-clicked",this._submit)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("submit-button-clicked",this._submit),this.reset()}reset(){this.submitted=!1,this.data={}}};var ie,ne,le,ge,de;(0,n.__decorate)([s.attr],oe.prototype,"resourceName",void 0),(0,n.__decorate)([s.observable],oe.prototype,"uischema",void 0),(0,n.__decorate)([s.observable],oe.prototype,"renderers",void 0),(0,n.__decorate)([s.observable],oe.prototype,"jsonSchema",void 0),(0,n.__decorate)([l.lj],oe.prototype,"connect",void 0),(0,n.__decorate)([s.observable],oe.prototype,"data",void 0),(0,n.__decorate)([s.observable],oe.prototype,"submitting",void 0),(0,n.__decorate)([s.observable],oe.prototype,"submitted",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],oe.prototype,"readonly",void 0),oe=(0,n.__decorate)([(0,s.customElement)({name:"foundation-form",template:F,styles:h})],oe),function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519"}(ie||(ie={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ne||(ne={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(le||(le={})),function(e){e.grey="#7c909b"}(ge||(ge={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(de||(de={}));const se=(0,$.paletteFromHex)(ne.blue),ce=(0,$.paletteFromHex)(ge.grey),pe=p.StandardLuminance.DarkMode;const ue=r(5598).N.ltr,he=p.strokeWidth.getValueFor(p.strokeWidth.appliedTo[0]),me=4,ve=p.density.getValueFor(p.density.appliedTo[0]),be=4,fe=()=>{(0,g.loadFontFaces)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},we='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',ye=(e=g.FontStyle.Normal,a=g.FontWeight.Regular)=>(0,g.getFontMixin)(we,e,a),xe=we,ze=p.typeRampBaseFontSize.getValueFor(p.typeRampBaseFontSize.appliedTo[0]),ke=p.typeRampBaseLineHeight.getValueFor(p.typeRampBaseLineHeight.appliedTo[0]),Se={design_tokens:{color:{accent:{$value:se.source.toColorString(),$type:"color"},neutral:{$value:ce.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:xe,$type:"fontFamily"}},typography:{baseFontSize:{$value:ze,$type:"dimension"},baseLineHeight:{$value:ke,$type:"dimension"}},mode:{luminance:{$value:pe,$type:"number"}},style:{density:{$value:ve,$type:"number"},borderRadius:{$value:me,$type:"number"},strokeWidth:{$value:he,$type:"number"}},space:{designUnit:{$value:be,$type:"number"}}}};class Ce extends $.ActionsMenu{}const Ae=Ce.compose({baseName:"actions-menu",styles:(e,a)=>s.css`
469
+ `,ae=(0,g.createLogger)("foundation-form"),re={renderer:ee,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},te=[{renderer:ee,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},re,N,Y,_,Q,W,J,q,X,I,G,E,B,H];let oe=class extends c.FoundationElement{constructor(){super(...arguments),this.renderers=te,this.errors=[],this.data={}}resourceNameChanged(){var e,a;return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const r=yield this.connect.getJSONSchema(this.resourceName);this.jsonSchema=null===(a=null===(e=null==r?void 0:r.INBOUND)||void 0===e?void 0:e.properties)||void 0===a?void 0:a.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,ae.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){this.removeDataProperties()&&(yield s.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(ae.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}onChange(e){ae.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(){this.submitted=!1,this.data={}}};var ie,ne,le,ge,de;(0,n.__decorate)([s.attr],oe.prototype,"resourceName",void 0),(0,n.__decorate)([s.observable],oe.prototype,"uischema",void 0),(0,n.__decorate)([s.observable],oe.prototype,"renderers",void 0),(0,n.__decorate)([s.observable],oe.prototype,"jsonSchema",void 0),(0,n.__decorate)([l.lj],oe.prototype,"connect",void 0),(0,n.__decorate)([s.observable],oe.prototype,"data",void 0),(0,n.__decorate)([s.observable],oe.prototype,"submitting",void 0),(0,n.__decorate)([s.observable],oe.prototype,"submitted",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],oe.prototype,"readonly",void 0),oe=(0,n.__decorate)([(0,s.customElement)({name:"foundation-form",template:M,styles:h})],oe),function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519"}(ie||(ie={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ne||(ne={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(le||(le={})),function(e){e.grey="#7c909b"}(ge||(ge={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(de||(de={}));const se=(0,$.paletteFromHex)(ne.blue),ce=(0,$.paletteFromHex)(ge.grey),pe=p.StandardLuminance.DarkMode;const ue=r(5598).N.ltr,he=p.strokeWidth.getValueFor(p.strokeWidth.appliedTo[0]),me=4,ve=p.density.getValueFor(p.density.appliedTo[0]),be=4,fe=()=>{(0,g.loadFontFaces)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},we='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',ye=(e=g.FontStyle.Normal,a=g.FontWeight.Regular)=>(0,g.getFontMixin)(we,e,a),xe=we,ze=p.typeRampBaseFontSize.getValueFor(p.typeRampBaseFontSize.appliedTo[0]),ke=p.typeRampBaseLineHeight.getValueFor(p.typeRampBaseLineHeight.appliedTo[0]),Se={design_tokens:{color:{accent:{$value:se.source.toColorString(),$type:"color"},neutral:{$value:ce.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:xe,$type:"fontFamily"}},typography:{baseFontSize:{$value:ze,$type:"dimension"},baseLineHeight:{$value:ke,$type:"dimension"}},mode:{luminance:{$value:pe,$type:"number"}},style:{density:{$value:ve,$type:"number"},borderRadius:{$value:me,$type:"number"},strokeWidth:{$value:he,$type:"number"}},space:{designUnit:{$value:be,$type:"number"}}}};class Ce extends $.ActionsMenu{}const Ae=Ce.compose({baseName:"actions-menu",styles:(e,a)=>s.css`
471
470
  :host {
472
471
  --actions-opener-heigght-multiplier: 0.6px;
473
472
  --menu-item-height-multiplier: 0.5px;
474
473
  }
475
474
 
476
475
  ${(0,$.actionsMenuBaseStyles)(e,a)}
477
- `,template:$.foundationActionsMenuTemplate});var Te=r(82694);const De=(e,a=1)=>new Te.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),Le=(0,Te.parseColorHexRGB)(ie.white),Me=(e=1)=>De(Le,e),Fe=((0,Te.parseColorHexRGB)(ie.black),(0,Te.parseColorHexRGB)("#585858")),Oe=(p.SwatchRGB.create(Fe.r,Fe.g,Fe.b),(0,Te.parseColorHexRGB)("#202126")),Ne=p.SwatchRGB.create(Oe.r,Oe.g,Oe.b),$e=(p.PaletteRGB.from(Ne),(0,Te.parseColorHexRGB)(ne.blue)),Re=(e=1)=>De($e,e),je=p.SwatchRGB.create($e.r,$e.g,$e.b),Ie=(p.PaletteRGB.from(je),(0,Te.parseColorHexRGB)(ne.purple)),Ee=(e=1)=>De(Ie,e),Pe=(0,Te.parseColorHexRGB)(le.orange),Be=(e=1)=>De(Pe,e),Ue=(0,Te.parseColorHexRGB)(le.teal),Ge=(e=1)=>De(Ue,e),He=((0,Te.parseColorHexRGB)(de.longGreen),(0,Te.parseColorHexRGB)(de.chartPink),(0,Te.parseColorHexRGB)(de.warningYellow),(0,Te.parseColorHexRGB)(de.chartPink)),Ve=(e=1)=>De(He,e);function _e(e,a){return new c.PropertyStyleSheetBehavior("appearance",e,a)}const Ye=.3,Qe=.1,We=.5,qe=s.css`
476
+ `,template:$.foundationActionsMenuTemplate});var Te=r(82694);const Le=(e,a=1)=>new Te.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),De=(0,Te.parseColorHexRGB)(ie.white),Fe=(e=1)=>Le(De,e),Me=((0,Te.parseColorHexRGB)(ie.black),(0,Te.parseColorHexRGB)("#585858")),Oe=(p.SwatchRGB.create(Me.r,Me.g,Me.b),(0,Te.parseColorHexRGB)("#202126")),Ne=p.SwatchRGB.create(Oe.r,Oe.g,Oe.b),$e=(p.PaletteRGB.from(Ne),(0,Te.parseColorHexRGB)(ne.blue)),Re=(e=1)=>Le($e,e),je=p.SwatchRGB.create($e.r,$e.g,$e.b),Ie=(p.PaletteRGB.from(je),(0,Te.parseColorHexRGB)(ne.purple)),Ee=(e=1)=>Le(Ie,e),Pe=(0,Te.parseColorHexRGB)(le.orange),Be=(e=1)=>Le(Pe,e),Ue=(0,Te.parseColorHexRGB)(le.teal),Ge=(e=1)=>Le(Ue,e),He=((0,Te.parseColorHexRGB)(de.longGreen),(0,Te.parseColorHexRGB)(de.chartPink),(0,Te.parseColorHexRGB)(de.warningYellow),(0,Te.parseColorHexRGB)(de.chartPink)),Ve=(e=1)=>Le(He,e);function Ye(e,a){return new c.PropertyStyleSheetBehavior("appearance",e,a)}const _e=.3,Qe=.1,We=.5,qe=s.css`
478
477
  :host([appearance='primary-blue']) {
479
- background: ${Re(Ye)};
478
+ background: ${Re(_e)};
480
479
  border: 1px solid ${ne.blue};
481
480
  }
482
481
 
@@ -486,12 +485,12 @@
486
485
 
487
486
  :host([appearance='primary-blue']:active) {
488
487
  background: ${Re(Qe)};
489
- border: 1px solid ${Re(Ye)};
490
- color: ${Me(We)};
488
+ border: 1px solid ${Re(_e)};
489
+ color: ${Fe(We)};
491
490
  }
492
491
  `,Je=s.css`
493
492
  :host([appearance='primary-purple']) {
494
- background: ${Ee(Ye)};
493
+ background: ${Ee(_e)};
495
494
  border: 1px solid ${ne.purple};
496
495
  }
497
496
 
@@ -501,8 +500,8 @@
501
500
 
502
501
  :host([appearance='primary-purple']:active) {
503
502
  background: ${Ee(Qe)};
504
- border: 1px solid ${Ee(Ye)};
505
- color: ${Me(We)};
503
+ border: 1px solid ${Ee(_e)};
504
+ color: ${Fe(We)};
506
505
  }
507
506
  `,Ze=s.css`
508
507
  :host {
@@ -534,17 +533,17 @@
534
533
  :host([appearance='primary-gradient']:active) {
535
534
  background-image: linear-gradient(
536
535
  var(--primary-gradient-angle),
537
- ${Re(Ye)},
538
- ${Ee(Ye)}
536
+ ${Re(_e)},
537
+ ${Ee(_e)}
539
538
  );
540
539
  background-origin: border-box;
541
540
  border: solid 1px transparent;
542
541
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 30%) inset;
543
- color: ${Me(We)};
542
+ color: ${Fe(We)};
544
543
  }
545
544
  `,Ke=s.css`
546
545
  :host([appearance='secondary-orange']) {
547
- background: ${Be(Ye)};
546
+ background: ${Be(_e)};
548
547
  border: 1px solid ${le.orange};
549
548
  }
550
549
 
@@ -554,12 +553,12 @@
554
553
 
555
554
  :host([appearance='secondary-orange']:active) {
556
555
  background: ${Be(Qe)};
557
- border: 1px solid ${Be(Ye)};
558
- color: ${Me(We)};
556
+ border: 1px solid ${Be(_e)};
557
+ color: ${Fe(We)};
559
558
  }
560
559
  `,Xe=s.css`
561
560
  :host([appearance='secondary-teal']) {
562
- background: ${Ge(Ye)};
561
+ background: ${Ge(_e)};
563
562
  border: 1px solid ${le.teal};
564
563
  }
565
564
 
@@ -569,8 +568,8 @@
569
568
 
570
569
  :host([appearance='secondary-teal']:active) {
571
570
  background: ${Ge(Qe)};
572
- border: 1px solid ${Ge(Ye)};
573
- color: ${Me(We)};
571
+ border: 1px solid ${Ge(_e)};
572
+ color: ${Fe(We)};
574
573
  }
575
574
  `,ea=s.css`
576
575
  :host([appearance='neutral-grey']) {
@@ -628,22 +627,22 @@
628
627
  box-shadow: unset;
629
628
  background: linear-gradient(
630
629
  var(--primary-gradient-angle),
631
- ${Re(Ye)} 0%,
632
- ${Ee(Ye)} 100%
630
+ ${Re(_e)} 0%,
631
+ ${Ee(_e)} 100%
633
632
  )
634
633
  top/100% 1px,
635
634
  linear-gradient(
636
635
  var(--primary-gradient-angle),
637
- ${Re(Ye)} 0%,
638
- ${Ee(Ye)} 100%
636
+ ${Re(_e)} 0%,
637
+ ${Ee(_e)} 100%
639
638
  )
640
639
  bottom/100% 1px;
641
640
  background-origin: border-box;
642
641
  background-repeat: no-repeat;
643
642
  border: 1px solid transparent;
644
- border-right-color: ${Re(Ye)};
645
- border-left-color: ${Ee(Ye)};
646
- color: ${Me(We)};
643
+ border-right-color: ${Re(_e)};
644
+ border-left-color: ${Ee(_e)};
645
+ color: ${Fe(We)};
647
646
  }
648
647
  `,ra=s.css`
649
648
  :host([appearance='outline-secondary-orange']) {
@@ -652,13 +651,13 @@
652
651
  }
653
652
 
654
653
  :host([appearance='outline-secondary-orange']:hover) {
655
- background: ${Be(Ye)};
654
+ background: ${Be(_e)};
656
655
  }
657
656
 
658
657
  :host([appearance='outline-secondary-orange']:active) {
659
658
  background: transparent;
660
- border: 1px solid ${Be(Ye)};
661
- color: ${Me(We)};
659
+ border: 1px solid ${Be(_e)};
660
+ color: ${Fe(We)};
662
661
  }
663
662
  `,ta=s.css`
664
663
  :host([appearance='outline-secondary-teal']) {
@@ -667,13 +666,13 @@
667
666
  }
668
667
 
669
668
  :host([appearance='outline-secondary-teal']:hover) {
670
- background: ${Ge(Ye)};
669
+ background: ${Ge(_e)};
671
670
  }
672
671
 
673
672
  :host([appearance='outline-secondary-teal']:active) {
674
673
  background: transparent;
675
- border: 1px solid ${Ge(Ye)};
676
- color: ${Me(We)};
674
+ border: 1px solid ${Ge(_e)};
675
+ color: ${Fe(We)};
677
676
  }
678
677
  `,oa=(e,a)=>s.css`
679
678
  ${(0,$.foundationButtonStyles)(e,a)}
@@ -682,7 +681,7 @@
682
681
  margin: 5px;
683
682
  }
684
683
  `}
685
- `.withBehaviors(_e("primary-blue",qe),_e("primary-purple",Je),_e("primary-gradient",Ze),_e("secondary-orange",Ke),_e("secondary-teal",Xe),_e("neutral-grey",ea),_e("outline-primary-gradient",aa),_e("outline-secondary-orange",ra),_e("outline-secondary-teal",ta));class ia extends $.Anchor{}const na=ia.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,$.foundationAnchorTemplate)(e,a),styles:(e,a)=>s.css`
684
+ `.withBehaviors(Ye("primary-blue",qe),Ye("primary-purple",Je),Ye("primary-gradient",Ze),Ye("secondary-orange",Ke),Ye("secondary-teal",Xe),Ye("neutral-grey",ea),Ye("outline-primary-gradient",aa),Ye("outline-secondary-orange",ra),Ye("outline-secondary-teal",ta));class ia extends $.Anchor{}const na=ia.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,$.foundationAnchorTemplate)(e,a),styles:(e,a)=>s.css`
686
685
  ${(0,$.foundationAnchorStyles)(e,a)}
687
686
  ${oa(e,a)}
688
687
  `.withBehaviors(...oa(e,a).behaviors),shadowOptions:$.foundationAnchorShadowOptions},$.defaultAnchorConfig));class la extends $.Badge{}const ga=la.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,$.foundationBadgeTemplate)(e,a),styles:(e,a)=>s.css`
@@ -743,7 +742,7 @@
743
742
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 20%) inset;
744
743
  border-radius: calc(var(--control-corner-radius) * 1px);
745
744
  }
746
- `,shadowOptions:$.foundationCheckboxShadowOptions},$.defaultCheckboxConfig)),ka=(0,Te.parseColorHexRGB)("#F1F1F1"),Sa=De(ka,1),Ca=(0,Te.parseColorHexRGB)("#879BA6"),Aa=De(Ca,.06),Ta=(0,Te.parseColorHexRGB)("#879BA6"),Da=De(Ta,1),La=(0,Te.parseColorHexRGB)("#121212"),Ma=De(La,1),Fa=(0,Te.parseColorHexRGB)("#2e3339"),Oa=De(Fa,1);var Na;!function(e){e.PrimaryBlue="primary-blue",e.PrimaryPurple="primary-purple",e.PrimaryGradient="primary-gradient",e.SecondaryOrange="secondary-orange",e.SecondaryTeal="secondary-teal",e.NeutralGrey="neutral-grey",e.OutlinePrimaryGradient="outline-primary-gradient",e.OutlineSecondaryOrange="outline-secondary-orange",e.OutlineSecondaryTeal="outline-secondary-teal"}(Na||(Na={}));Object.values(Na);class $a extends $.Combobox{}const Ra=$a.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,$.foundationComboboxTemplate)(e,a),styles:(e,a)=>s.css`
745
+ `,shadowOptions:$.foundationCheckboxShadowOptions},$.defaultCheckboxConfig)),ka=(0,Te.parseColorHexRGB)("#F1F1F1"),Sa=Le(ka,1),Ca=(0,Te.parseColorHexRGB)("#879BA6"),Aa=Le(Ca,.06),Ta=(0,Te.parseColorHexRGB)("#879BA6"),La=Le(Ta,1),Da=(0,Te.parseColorHexRGB)("#121212"),Fa=Le(Da,1),Ma=(0,Te.parseColorHexRGB)("#2e3339"),Oa=Le(Ma,1);var Na;!function(e){e.PrimaryBlue="primary-blue",e.PrimaryPurple="primary-purple",e.PrimaryGradient="primary-gradient",e.SecondaryOrange="secondary-orange",e.SecondaryTeal="secondary-teal",e.NeutralGrey="neutral-grey",e.OutlinePrimaryGradient="outline-primary-gradient",e.OutlineSecondaryOrange="outline-secondary-orange",e.OutlineSecondaryTeal="outline-secondary-teal"}(Na||(Na={}));Object.values(Na);class $a extends $.Combobox{}const Ra=$a.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,$.foundationComboboxTemplate)(e,a),styles:(e,a)=>s.css`
747
746
  ${(0,$.foundationComboboxStyles)(e,a)}
748
747
  :host {
749
748
  --primary-gradient-angle: -113.5deg;
@@ -786,7 +785,7 @@
786
785
  }
787
786
 
788
787
  :host([open]) .control {
789
- background: ${Ma};
788
+ background: ${Fa};
790
789
  }
791
790
 
792
791
  :host(:not([disabled])) .control:active {
@@ -802,7 +801,7 @@
802
801
  ::slotted(.header) {
803
802
  border-bottom-color: var(--neutral-color);
804
803
 
805
- --neutral-foreground-rest: ${Da};
804
+ --neutral-foreground-rest: ${La};
806
805
  }
807
806
 
808
807
  ::slotted([role='row']) {
@@ -832,12 +831,12 @@
832
831
  .month-day.current {
833
832
  color: ${ie.almostWhite};
834
833
  }
835
- `,shadowOptions:undefined},{}));var Va=r(37068);fe();const _a=s.css`
834
+ `,shadowOptions:undefined},{}));var Va=r(37068);fe();const Ya=s.css`
836
835
  ${(0,c.display)("flex")}
837
836
  :host {
838
837
  flex: 1;
839
838
  }
840
- `,Ya=s.css`
839
+ `,_a=s.css`
841
840
  :host {
842
841
  background-color: ${p.neutralFillStealthActive};
843
842
  }
@@ -864,14 +863,14 @@
864
863
  ${Qa(e,"5","2")}
865
864
  ${Qa(e,"6","1")}
866
865
  `)(e);return a.addStylesTo(document),s.css`
867
- ${_a}
868
866
  ${Ya}
867
+ ${_a}
869
868
  ${a}
870
869
  :host * {
871
870
  color: ${p.neutralForegroundRest};
872
871
  ${ye()}
873
872
  }
874
- `}}),Ja=(0,Te.parseColorHexRGB)("#121212"),Za=De(Ja,1),Ka=s.css`
873
+ `}}),Ja=(0,Te.parseColorHexRGB)("#121212"),Za=Le(Ja,1),Ka=s.css`
875
874
  ${$.foundationDialogStyles}
876
875
  :host {
877
876
  --dialog-background: ${p.neutralLayer2};
@@ -926,11 +925,11 @@
926
925
  }
927
926
 
928
927
  .close-icon:hover svg {
929
- background-color: ${Me(.05)};
928
+ background-color: ${Fe(.05)};
930
929
  }
931
930
 
932
931
  .close-icon:hover svg g path {
933
- fill: ${Me(1)};
932
+ fill: ${Fe(1)};
934
933
  }
935
934
 
936
935
  .close-icon:active svg {
@@ -938,7 +937,7 @@
938
937
  }
939
938
 
940
939
  .close-icon:active svg g path {
941
- fill: ${Me(.33)};
940
+ fill: ${Fe(.33)};
942
941
  }
943
942
  `,Xa=$.defaultDialogConfig,er=$.foundationDialogTemplate,ar=$.foundationDialogShadowOptions;class rr extends $.Dialog{}const tr=rr.compose(Object.assign({baseName:"dialog",shadowOptions:ar,styles:Ka,template:er},Xa));class or extends $.Disclosure{}const ir=or.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,$.foundationDisclosureTemplate)(e,a),styles:(e,a)=>s.css`
944
943
  ${(0,$.foundationDisclosureStyles)(e,a)}
@@ -1033,27 +1032,27 @@
1033
1032
  placeholder="max"
1034
1033
  ></zero-text-field>
1035
1034
  </div>
1036
- `;function Dr(e){var a,r,t;return null!==(t=null===(r=null===(a=null==e?void 0:e.event)||void 0===a?void 0:a.target)||void 0===r?void 0:r.value)&&void 0!==t?t:"all"}const Lr=[{name:"All",value:"all",selected:!0},{name:"True",value:"true"},{name:"False",value:"false"},{name:"N/A",value:"null"}],Mr=s.html`
1035
+ `;function Lr(e){var a,r,t;return null!==(t=null===(r=null===(a=null==e?void 0:e.event)||void 0===a?void 0:a.target)||void 0===r?void 0:r.value)&&void 0!==t?t:"all"}const Dr=[{name:"All",value:"all",selected:!0},{name:"True",value:"true"},{name:"False",value:"false"},{name:"N/A",value:"null"}],Fr=s.html`
1037
1036
  <div class="flex-row">
1038
1037
  <div>${e=>e.label}</div>
1039
1038
  ${Sr}
1040
1039
  </div>
1041
1040
  <div class="flex-row">
1042
- <zero-select @change="${(e,a)=>e.onBooleanFilterSelection(Dr(a))}}">
1043
- ${(0,s.repeat)((()=>Lr),s.html`
1041
+ <zero-select @change="${(e,a)=>e.onBooleanFilterSelection(Lr(a))}}">
1042
+ ${(0,s.repeat)((()=>Dr),s.html`
1044
1043
  <zero-option value="${e=>e.value}" selected="${e=>e.selected}">
1045
1044
  ${e=>e.name}
1046
1045
  </zero-option>
1047
1046
  `)}
1048
1047
  </zero-select>
1049
1048
  </div>
1050
- `,Fr=s.html`
1049
+ `,Mr=s.html`
1051
1050
  <div class="flex-row">
1052
1051
  <div>${e=>e.label}</div>
1053
1052
  ${Sr}
1054
1053
  </div>
1055
1054
  <div class="flex-row">
1056
- <zero-select @change="${(e,a)=>e.onEnumFilterSelection(Dr(a))}}">
1055
+ <zero-select @change="${(e,a)=>e.onEnumFilterSelection(Lr(a))}}">
1057
1056
  ${(0,s.repeat)((e=>e.enumFilterOptions),s.html`
1058
1057
  <zero-option value="${e=>e.value}" selected="${e=>e.selected}">
1059
1058
  ${e=>e.name}
@@ -1062,7 +1061,7 @@
1062
1061
  </zero-select>
1063
1062
  </div>
1064
1063
  `,Or=s.html`
1065
- <div class="filter-wrapper">${e=>(e=>{switch(e.type){case"number":return Ar;case"date":return Tr;case"boolean":return Mr;case"enum":return Fr;default:return Cr}})(e)}</div>
1064
+ <div class="filter-wrapper">${e=>(e=>{switch(e.type){case"number":return Ar;case"date":return Tr;case"boolean":return Fr;case"enum":return Mr;default:return Cr}})(e)}</div>
1066
1065
  `;class Nr extends $.Filter{constructor(){super(...arguments),this.type=super.type,this.enumFilterOptions=super.enumFilterOptions}}(0,Va.__decorate)([s.attr],Nr.prototype,"fieldName",void 0),(0,Va.__decorate)([s.attr],Nr.prototype,"label",void 0),(0,Va.__decorate)([s.attr],Nr.prototype,"type",void 0),(0,Va.__decorate)([s.attr],Nr.prototype,"target",void 0),(0,Va.__decorate)([s.observable],Nr.prototype,"enumFilterOptions",void 0);const $r=Nr.compose({baseName:"filter",template:Or,styles:$.foundationFilterStyles});var Rr=r(9770);const jr=s.html`
1067
1066
  ${(0,s.when)((e=>e.collapsed),s.html`
1068
1067
  <zero-icon name="chevron-down"></zero-icon>
@@ -1128,7 +1127,7 @@
1128
1127
  ${ne.purple}
1129
1128
  );
1130
1129
  }
1131
- `,shadowOptions:$.foundationFlipperShadowOptions},$.defaultFlipperConfig)),_r=s.css`
1130
+ `,shadowOptions:$.foundationFlipperShadowOptions},$.defaultFlipperConfig)),Yr=s.css`
1132
1131
  ${$.foundationFlyoutStyles}
1133
1132
  div.flyout {
1134
1133
  background-color: ${p.neutralLayer2};
@@ -1155,7 +1154,7 @@
1155
1154
  background-color: ${p.neutralFillHover};
1156
1155
  border-radius: 3px;
1157
1156
  }
1158
- `,Yr=$.defaultFlyoutConfig,Qr=$.foundationFlyoutShadowOptions;class Wr extends $.Flyout{}const qr=Wr.compose(Object.assign({baseName:"flyout",shadowOptions:Qr,styles:_r,template:$.foundationFlyoutTemplate},Yr));class Jr extends $.GridLayout{}const Zr=Jr.compose(Object.assign({baseName:"grid-layout",shadowOptions:$.foundationGridLayoutShadowOptions,styles:$.foundationGridLayoutStyles,template:$.foundationGridLayoutTemplate},$.defaultGridLayoutConfig));class Kr extends $.GridLayoutItem{}const Xr=Kr.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:$.foundationGridLayoutItemShadowOptions,template:$.foundationGridLayoutItemTemplate},$.defaultGridLayoutItemConfig));class et extends $.Icon{}const at=$.defaultIconConfig,rt=$.foundationIconShadowOptions,tt=et.compose(Object.assign({baseName:"icon",template:$.foundationIconTemplate,styles:(e,a)=>s.css`
1157
+ `,_r=$.defaultFlyoutConfig,Qr=$.foundationFlyoutShadowOptions;class Wr extends $.Flyout{}const qr=Wr.compose(Object.assign({baseName:"flyout",shadowOptions:Qr,styles:Yr,template:$.foundationFlyoutTemplate},_r));class Jr extends $.GridLayout{}const Zr=Jr.compose(Object.assign({baseName:"grid-layout",shadowOptions:$.foundationGridLayoutShadowOptions,styles:$.foundationGridLayoutStyles,template:$.foundationGridLayoutTemplate},$.defaultGridLayoutConfig));class Kr extends $.GridLayoutItem{}const Xr=Kr.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:$.foundationGridLayoutItemShadowOptions,template:$.foundationGridLayoutItemTemplate},$.defaultGridLayoutItemConfig));class et extends $.Icon{}const at=$.defaultIconConfig,rt=$.foundationIconShadowOptions,tt=et.compose(Object.assign({baseName:"icon",template:$.foundationIconTemplate,styles:(e,a)=>s.css`
1159
1158
  ${(0,$.foundationIconStyles)(e,a)}
1160
1159
  `,shadowOptions:rt},at));class ot extends $.ListboxOption{}const it=ot.compose(Object.assign({baseName:"option",template:(e,a)=>(0,$.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>s.css`
1161
1160
  ${(0,$.foundationListboxOptionStyles)(e,a)}
@@ -1242,7 +1241,7 @@
1242
1241
  }
1243
1242
 
1244
1243
  .label {
1245
- color: ${Da};
1244
+ color: ${La};
1246
1245
  }
1247
1246
  `,wt=s.html`
1248
1247
  ${(0,$.getPrefixedMultiselect)("zero")}
@@ -1280,7 +1279,7 @@
1280
1279
  ${ne.purple} 100%
1281
1280
  )
1282
1281
  bottom/100% 1px;
1283
- background-color: ${Ma};
1282
+ background-color: ${Fa};
1284
1283
  background-origin: border-box;
1285
1284
  background-repeat: no-repeat;
1286
1285
  border: 1px solid transparent;
@@ -1290,15 +1289,15 @@
1290
1289
  }
1291
1290
 
1292
1291
  .label {
1293
- color: ${Da};
1292
+ color: ${La};
1294
1293
  margin: calc(var(--design-unit) * 2px) 0;
1295
1294
  }
1296
- `;class Ct extends $.NumberField{}const At=$.defaultNumberFieldConfig,Tt=$.foundationNumberFieldTemplate,Dt=$.foundationNumberFieldShadowOptions,Lt=Ct.compose(Object.assign({baseName:"number-field",template:Tt,styles:(e,a)=>s.css`
1295
+ `;class Ct extends $.NumberField{}const At=$.defaultNumberFieldConfig,Tt=$.foundationNumberFieldTemplate,Lt=$.foundationNumberFieldShadowOptions,Dt=Ct.compose(Object.assign({baseName:"number-field",template:Tt,styles:(e,a)=>s.css`
1297
1296
  :host .root {
1298
1297
  --focus-stroke-outer: transparent;
1299
1298
  }
1300
1299
  ${St(e,a)}
1301
- `,shadowOptions:Dt},At));class Mt extends $.Progress{}const Ft=Mt.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,$.foundationProgressTemplate)(e,a),styles:(e,a)=>s.css`
1300
+ `,shadowOptions:Lt},At));class Ft extends $.Progress{}const Mt=Ft.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,$.foundationProgressTemplate)(e,a),styles:(e,a)=>s.css`
1302
1301
  ${(0,$.foundationProgressStyles)(e,a)}
1303
1302
  :host([appearance="secondary-teal"]) {
1304
1303
  --accent-foreground-rest: ${le.teal};
@@ -1474,13 +1473,13 @@
1474
1473
  }
1475
1474
 
1476
1475
  :host([open]) .control {
1477
- background: ${Ma};
1476
+ background: ${Fa};
1478
1477
  }
1479
1478
 
1480
1479
  :host(:not([disabled])) .control:active {
1481
1480
  background: none;
1482
1481
  }
1483
- `,shadowOptions:$.foundationSelectShadowOptions},$.defaultSelectConfig));class _t extends $.Skeleton{}const Yt=_t.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,$.foundationSkeletonTemplate)(e,a),styles:(e,a)=>s.css`
1482
+ `,shadowOptions:$.foundationSelectShadowOptions},$.defaultSelectConfig));class Yt extends $.Skeleton{}const _t=Yt.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,$.foundationSkeletonTemplate)(e,a),styles:(e,a)=>s.css`
1484
1483
  ${(0,$.foundationSkeletonStyles)(e,a)}
1485
1484
  `,shadowOptions:$.foundationSkeletonShadowOptions},$.defaultSkeletonConfig));class Qt extends $.Slider{}const Wt=Qt.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,$.foundationSliderTemplate)(e,a),styles:(e,a)=>s.css`
1486
1485
  ${(0,$.foundationSliderStyles)(e,a)}
@@ -1722,12 +1721,12 @@
1722
1721
  border: 1px solid transparent;
1723
1722
  border-right-color: ${ne.blue};
1724
1723
  border-left-color: ${ne.purple};
1725
- background-color: ${Ma};
1724
+ background-color: ${Fa};
1726
1725
  box-shadow: none;
1727
1726
  }
1728
1727
 
1729
1728
  .label {
1730
- color: ${Da};
1729
+ color: ${La};
1731
1730
  margin: calc(var(--design-unit) * 2px) 0;
1732
1731
  }
1733
1732
  `,shadowOptions:$.foundationTextAreaShadowOptions},$.defaultTextAreaConfig));class co extends $.TextField{}const po=co.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,$.foundationTextFieldTemplate)(e,a),styles:St,shadowOptions:$.foundationTextFieldShadowOptions},$.defaultTextFieldConfig)),uo=s.css`
@@ -1797,7 +1796,7 @@
1797
1796
  <a class="url-input-link" href=${e=>e.value} target="_blank">${e=>e.value}</a>
1798
1797
  `)}
1799
1798
  </div>
1800
- `;class To extends $.TextField{constructor(){super(...arguments),this.value=""}saveUrl(e){this.value=e.startsWith("http")?e:"https://"+e,this.focused=!1}focus(){this.focused=!0}}(0,Va.__decorate)([s.observable],To.prototype,"value",void 0),(0,Va.__decorate)([s.observable],To.prototype,"focused",void 0);const Do={zeroActionsMenu:Ae,zeroAnchor:na,zeroBadge:ga,zeroBanner:pa,zeroBreadcrumbItem:va,zeroBreadcrumb:ha,zeroButton:fa,zeroCard:ya,zeroCheckbox:za,zeroCombobox:Ra,zeroConnectionIndicator:Ia,zeroDataGrid:Ua,zeroDesignSystemProvider:qa,zeroDialog:tr,zeroDatePicker:Ha,zeroDisclosure:ir,zeroDivider:lr,zeroDropdownMenu:dr,zeroErrorBoundary:mr,zeroErrorBanner:ur,zeroErrorDialog:br,zeroFileUpload:kr,zeroFilter:$r,zeroFilterBar:Br,zeroFlexLayout:Gr,zeroFlipper:Vr,zeroFlyout:qr,zeroGridLayout:Zr,zeroGridLayoutItem:Xr,zeroIcon:tt,zeroListboxOption:it,zeroMenu:gt,zeroMenuItem:ct,zeroModal:bt,zeroMultiselect:kt,zeroNumberField:Lt,zeroProgress:Ft,zeroProgressRing:$t,zeroRadio:jt,zeroRadioGroup:Et,zeroSegmentedControl:Bt,zeroSegmentedItem:Gt,zeroSelect:Vt,zeroSkeleton:Yt,zeroSlider:Wt,zeroSnackbar:Xt,zeroSwitch:ao,zeroTab:to,zeroTabPanel:io,zeroTabs:lo,zeroTextArea:so,zeroTextField:po,zeroToast:bo,zeroToolbar:wo,zeroTooltip:xo,zeroTreeItem:ko,zeroTreeView:Co,zeroUrlInput:To.compose(Object.assign({baseName:"url-input",template:Ao,styles:(e,a)=>s.css`
1799
+ `;class To extends $.TextField{constructor(){super(...arguments),this.value=""}saveUrl(e){this.value=e.startsWith("http")?e:"https://"+e,this.focused=!1}focus(){this.focused=!0}}(0,Va.__decorate)([s.observable],To.prototype,"value",void 0),(0,Va.__decorate)([s.observable],To.prototype,"focused",void 0);const Lo={zeroActionsMenu:Ae,zeroAnchor:na,zeroBadge:ga,zeroBanner:pa,zeroBreadcrumbItem:va,zeroBreadcrumb:ha,zeroButton:fa,zeroCard:ya,zeroCheckbox:za,zeroCombobox:Ra,zeroConnectionIndicator:Ia,zeroDataGrid:Ua,zeroDesignSystemProvider:qa,zeroDialog:tr,zeroDatePicker:Ha,zeroDisclosure:ir,zeroDivider:lr,zeroDropdownMenu:dr,zeroErrorBoundary:mr,zeroErrorBanner:ur,zeroErrorDialog:br,zeroFileUpload:kr,zeroFilter:$r,zeroFilterBar:Br,zeroFlexLayout:Gr,zeroFlipper:Vr,zeroFlyout:qr,zeroGridLayout:Zr,zeroGridLayoutItem:Xr,zeroIcon:tt,zeroListboxOption:it,zeroMenu:gt,zeroMenuItem:ct,zeroModal:bt,zeroMultiselect:kt,zeroNumberField:Dt,zeroProgress:Mt,zeroProgressRing:$t,zeroRadio:jt,zeroRadioGroup:Et,zeroSegmentedControl:Bt,zeroSegmentedItem:Gt,zeroSelect:Vt,zeroSkeleton:_t,zeroSlider:Wt,zeroSnackbar:Xt,zeroSwitch:ao,zeroTab:to,zeroTabPanel:io,zeroTabs:lo,zeroTextArea:so,zeroTextField:po,zeroToast:bo,zeroToolbar:wo,zeroTooltip:xo,zeroTreeItem:ko,zeroTreeView:Co,zeroUrlInput:To.compose(Object.assign({baseName:"url-input",template:Ao,styles:(e,a)=>s.css`
1801
1800
  ${(0,$.foundationUrlInputStyles)(e,a)}
1802
1801
  a {
1803
1802
  color: ${ne.blue};
@@ -1807,7 +1806,7 @@
1807
1806
  a:hover {
1808
1807
  opacity: 100%;
1809
1808
  }
1810
- `,shadowOptions:$.foundationUrlInputShadowOptions},$.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Lo=r(80249);const Mo=(0,g.createLogger)("grid-pro");class Fo extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return this.params=e,!0}isDisabled(e){var a;if("function"==typeof(null===(a=this.params)||void 0===a?void 0:a.isDisabled))try{return this.params.isDisabled(e)}catch(e){Mo.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Lo.__awaiter)(this,void 0,void 0,(function*(){this.pendingAction=!0,yield this.params.actionClick(this.params.data),this.pendingAction=!1}))}get dataTestId(){var e;if(this.params.dataTestId)return this.params.dataTestId+(null!==(e=this.params.data[this.params.uniqueFieldName])&&void 0!==e?e:"")}}(0,Lo.__decorate)([s.observable],Fo.prototype,"params",void 0),(0,Lo.__decorate)([s.observable],Fo.prototype,"pendingAction",void 0);const{create:Oo}=c.DesignToken,No=(Oo("action-height-multiplier").withDefault("0.6px"),s.css`
1809
+ `,shadowOptions:$.foundationUrlInputShadowOptions},$.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Do=r(80249);const Fo=(0,g.createLogger)("grid-pro");class Mo extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return this.params=e,!0}isDisabled(e){var a;if("function"==typeof(null===(a=this.params)||void 0===a?void 0:a.isDisabled))try{return this.params.isDisabled(e)}catch(e){Fo.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Do.__awaiter)(this,void 0,void 0,(function*(){this.pendingAction=!0,yield this.params.actionClick(this.params.data),this.pendingAction=!1}))}get dataTestId(){var e;if(this.params.dataTestId)return this.params.dataTestId+(null!==(e=this.params.data[this.params.uniqueFieldName])&&void 0!==e?e:"")}}(0,Do.__decorate)([s.observable],Mo.prototype,"params",void 0),(0,Do.__decorate)([s.observable],Mo.prototype,"pendingAction",void 0);const{create:Oo}=c.DesignToken,No=(Oo("action-height-multiplier").withDefault("0.6px"),s.css`
1811
1810
  .action-container {
1812
1811
  align-items: center;
1813
1812
  display: flex;
@@ -1822,7 +1821,7 @@
1822
1821
  var(--action-height-multiplier)
1823
1822
  );
1824
1823
  }
1825
- `),$o=Fo.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1824
+ `),$o=Mo.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1826
1825
  ${No}
1827
1826
  `,template:s.html`
1828
1827
  <div class="action-container" part="action-container">
@@ -1833,24 +1832,17 @@
1833
1832
  ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
1834
1833
  appearance="${e=>e.params.appearance}"
1835
1834
  @click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
1836
- </div>`});class Ro extends Fo{}const jo=Ro.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1835
+ </div>`});class Ro extends Mo{}const jo=Ro.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1837
1836
  ${No}
1838
1837
  `,template:s.html`
1839
1838
  <div class="action-container" part="action-container">
1840
- <zero-button
1841
- class="action-renderer"
1842
- part="action-renderer"
1843
- data-test-id="${e=>e.dataTestId}"
1844
- ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
1845
- appearance="${e=>e.params.appearance}"
1846
- @click=${e=>e.clickHandler()}
1847
- >
1848
- ${e=>e.params.contentTemplate?s.html`
1849
- ${e.params.contentTemplate}
1850
- `:e.params.actionName}
1851
- </zero-button>
1852
- </div>
1853
- `});class Io extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Lo.__decorate)([s.observable],Io.prototype,"params",void 0);const Eo=Io.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1839
+ <zero-button class="action-renderer"
1840
+ part="action-renderer"
1841
+ data-test-id="${e=>e.dataTestId}"
1842
+ ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
1843
+ appearance="${e=>e.params.appearance}"
1844
+ @click=${e=>e.clickHandler()}">${e=>e.params.actionName}</zero-button>
1845
+ </div>`});class Io extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Do.__decorate)([s.observable],Io.prototype,"params",void 0);const Eo=Io.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1854
1846
  <foundation-actions-menu
1855
1847
  name="${e=>e.params.headerName}"
1856
1848
  :definition=${e=>e.params}
@@ -1860,7 +1852,7 @@
1860
1852
  name="${e=>e.params.headerName}"
1861
1853
  :definition=${e=>e.params}
1862
1854
  ></zero-actions-menu>
1863
- `});class Uo extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Lo.__decorate)([s.observable],Uo.prototype,"params",void 0);const Go=s.css`
1855
+ `});class Uo extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Do.__decorate)([s.observable],Uo.prototype,"params",void 0);const Go=s.css`
1864
1856
  :host {
1865
1857
  align-center: center;
1866
1858
  display: flex;
@@ -1872,7 +1864,7 @@
1872
1864
  checked="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.value}}"
1873
1865
  readonly="${e=>{var a;return null===(a=e.params)||void 0===a?void 0:a.readonly}}"
1874
1866
  ></${a}>
1875
- `},Vo=Uo.compose({baseName:"boolean-renderer",styles:Go,template:Ho()});class _o extends Uo{}const Yo=_o.compose({baseName:"boolean-renderer",styles:Go,template:Ho("zero")}),Qo=(e,a)=>{if(a.indexOf(".")<0)return e[a];{const r=a.split(".");let t=e;for(;r.length>0&&t;){const e=r.shift();if(0===r.length)return t[e];t=t[e]}}};class Wo extends c.FoundationElement{constructor(){super(...arguments),this.textValue="",this.textChanged=e=>{this.textValue=e.target.value,this.params.onChange(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.textValue=""===this.textValue?Qo(null===(a=null==e?void 0:e.node)||void 0===a?void 0:a.data,e.accessor):this.textValue)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Lo.__decorate)([s.observable],Wo.prototype,"textValue",void 0),(0,Lo.__decorate)([s.observable],Wo.prototype,"params",void 0);const qo=s.css`
1867
+ `},Vo=Uo.compose({baseName:"boolean-renderer",styles:Go,template:Ho()});class Yo extends Uo{}const _o=Yo.compose({baseName:"boolean-renderer",styles:Go,template:Ho("zero")}),Qo=(e,a)=>{if(a.indexOf(".")<0)return e[a];{const r=a.split(".");let t=e;for(;r.length>0&&t;){const e=r.shift();if(0===r.length)return t[e];t=t[e]}}};class Wo extends c.FoundationElement{constructor(){super(...arguments),this.textValue="",this.textChanged=e=>{this.textValue=e.target.value,this.params.onChange(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.textValue=""===this.textValue?Qo(null===(a=null==e?void 0:e.node)||void 0===a?void 0:a.data,e.accessor):this.textValue)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Do.__decorate)([s.observable],Wo.prototype,"textValue",void 0),(0,Do.__decorate)([s.observable],Wo.prototype,"params",void 0);const qo=s.css`
1876
1868
  :host {
1877
1869
  display: flex;
1878
1870
  width: 100%;
@@ -1890,7 +1882,7 @@
1890
1882
  :value="${(0,g.sync)((e=>e.textValue))}"
1891
1883
  @change="${(e,a)=>e.textChanged(a.event)}"
1892
1884
  ></${a}>
1893
- `},Zo=Wo.compose({baseName:"grid-pro-text-renderer",styles:qo,template:Jo()});class Ko extends Wo{}const Xo=qo,ei=Jo,ai=Ko.compose({baseName:"grid-text-renderer",styles:Xo,template:ei()});const ri=class extends Ko{}.compose({baseName:"grid-text-renderer",styles:Xo,template:ei("zero")});class ti extends c.FoundationElement{constructor(){super(...arguments),this.selectionChanged=e=>{this.value=e.target.value,this.params.onSelect(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.value=Qo(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Lo.__decorate)([s.observable],ti.prototype,"params",void 0),(0,Lo.__decorate)([s.observable],ti.prototype,"value",void 0);const oi=s.css`
1885
+ `},Zo=Wo.compose({baseName:"grid-pro-text-renderer",styles:qo,template:Jo()});class Ko extends Wo{}const Xo=qo,ei=Jo,ai=Ko.compose({baseName:"grid-text-renderer",styles:Xo,template:ei()});const ri=class extends Ko{}.compose({baseName:"grid-text-renderer",styles:Xo,template:ei("zero")});class ti extends c.FoundationElement{constructor(){super(...arguments),this.selectionChanged=e=>{this.value=e.target.value,this.params.onSelect(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.value=Qo(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Do.__decorate)([s.observable],ti.prototype,"params",void 0),(0,Do.__decorate)([s.observable],ti.prototype,"value",void 0);const oi=s.css`
1894
1886
  :host,
1895
1887
  .select-renderer,
1896
1888
  zero-option,
@@ -1919,15 +1911,15 @@
1919
1911
  <template>
1920
1912
  <slot ${(0,s.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
1921
1913
  </template>
1922
- `;let ui=class extends c.FoundationElement{connectedCallback(){super.connectedCallback();const e=this.parentElement;this.renderer&&(e.definition.cellRenderer=this.renderer),this.rendererParams&&(e.definition.cellRendererParams=this.rendererParams)}init(e){this.rendererParams=e}getGui(){return"string"!=typeof this.renderer?this.renderer(this.rendererParams):this}destroy(){}refresh(e){return!1}slottedAgRendererChanged(){}};(0,Lo.__decorate)([s.observable],ui.prototype,"renderer",void 0),(0,Lo.__decorate)([s.observable],ui.prototype,"rendererParams",void 0),(0,Lo.__decorate)([s.observable],ui.prototype,"slottedRenderer",void 0),ui=(0,Lo.__decorate)([(0,s.customElement)({name:"grid-pro-cell",template:pi})],ui);const hi=s.html`
1914
+ `;let ui=class extends c.FoundationElement{connectedCallback(){super.connectedCallback();const e=this.parentElement;this.renderer&&(e.definition.cellRenderer=this.renderer),this.rendererParams&&(e.definition.cellRendererParams=this.rendererParams)}init(e){this.rendererParams=e}getGui(){return"string"!=typeof this.renderer?this.renderer(this.rendererParams):this}destroy(){}refresh(e){return!1}slottedAgRendererChanged(){}};(0,Do.__decorate)([s.observable],ui.prototype,"renderer",void 0),(0,Do.__decorate)([s.observable],ui.prototype,"rendererParams",void 0),(0,Do.__decorate)([s.observable],ui.prototype,"slottedRenderer",void 0),ui=(0,Do.__decorate)([(0,s.customElement)({name:"grid-pro-cell",template:pi})],ui);const hi=s.html`
1923
1915
  <template>
1924
1916
  <slot ${(0,s.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
1925
1917
  </template>
1926
- `;let mi=class extends c.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};var vi,bi;(0,Lo.__decorate)([s.observable],mi.prototype,"slottedAgCell",void 0),(0,Lo.__decorate)([s.observable],mi.prototype,"definition",void 0),mi=(0,Lo.__decorate)([(0,s.customElement)({name:"grid-pro-column",template:hi})],mi),function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(vi||(vi={})),function(e){e.alpine="ag-theme-alpine",e.alpineDark="ag-theme-alpine-dark",e.balham="ag-theme-balham",e.balhamDark="ag-theme-balham-dark",e.material="ag-theme-material"}(bi||(bi={}));const fi=e=>`${e}-token-map`,wi=(e,a)=>s.css`
1918
+ `;let mi=class extends c.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};var vi,bi;(0,Do.__decorate)([s.observable],mi.prototype,"slottedAgCell",void 0),(0,Do.__decorate)([s.observable],mi.prototype,"definition",void 0),mi=(0,Do.__decorate)([(0,s.customElement)({name:"grid-pro-column",template:hi})],mi),function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(vi||(vi={})),function(e){e.alpine="ag-theme-alpine",e.alpineDark="ag-theme-alpine-dark",e.balham="ag-theme-balham",e.balhamDark="ag-theme-balham-dark",e.material="ag-theme-material"}(bi||(bi={}));const fi=e=>`${e}-token-map`,wi=(e,a)=>s.css`
1927
1919
  .${fi(e)} {
1928
1920
  ${new $.CSSVarsTokenMapper(a)}
1929
1921
  }
1930
- `;var yi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.text="text",e.select="select"}(yi||(yi={}));const xi='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQ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R5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',zi='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6V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1zydidnXR28WrEeFIi0yuxUrpl4IRi3MfIwiYrpuUi5oJwD9i9Vg702P6wdUszdjktjwNxUZEt27XAj6sav9i+rXY/0MHfoMaTL9f/w6kVcMrknc1sXmjMda7CqsA0MfB2wR8AI2WBEFne8bZ0xzW2VXY1V/6706+BWjIkbQpN/tnTALgAc7vDgx1qfjJv5u2LAzD6BbU37mdkSLdSf0dxr/7wGZfCIRm4QAk+T/hPz4obRlcNVfMDRbivHnAf0dKvvBBU9agR+tgN2OI0gMN5QV7SP3X4k4KtnOEIWYAiOBM19wg2rAALFxAASYMHZFUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',ki={[bi.alpine]:xi,[bi.alpineDark]:xi,[bi.balham]:zi,[bi.balhamDark]:zi,[bi.material]:'\n @font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r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Si=xi;var Ci=r(82940),Ai=r(9162),Ti=r(5127),Di=r(83123),Li=r(32449),Mi=r(43752),Fi=r(26714),Oi=r(71452),Ni=r(99449),$i=r(30526);function Ri(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function ji({value:e}){return(0,g.formatDateTimestamp)(e)}function Ii({value:e}){return(0,g.formatDateTimeTimestamp)(e)}let Ei=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Ci.WJ.MAX_ROWS_250,this.maxView=Ci.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.rowId="ROW_REF",this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new Fi.X(new Map)}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.isConnectedSubject.subscribe((e=>{e&&this.agGrid.attributes["ds-disconnected"]&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.restart()),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}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected){const e=Object.assign({getRowId:e=>e.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},e),this.agGrid.addEventListener("onGridReady",(()=>(0,Lo.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const a=600;this.updateSub=this.update.pipe((0,Oi.T)(1),(0,Ni.b)(a),(0,$i.b)((e=>Mo.debug("filters (debounced): ",e)))).subscribe((e=>{this.loadResourceData(null)}))}else Mo.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.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.dataLogoff(),this.clearRowData(),this.criteriaFromFilters=new Map,this.update=new Fi.X(new Map)}restart(){this.deinit(),this.init()}refreshRows(){this.updateRowData(Array.from(this.rows.values()))}dataLogoff(){this.sourceRef&&(this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0)}clearRowData(){var e,a;this.rows=new Map,this.agTransaction=void 0,null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.setRowData([])}updateRowData(e){const a=this.getAgColumnDefs(this.datasource.fieldMetadata);a&&this.agGrid.gridApi.setColumnDefs(a);const r=this.rowDataMapper&&"function"==typeof this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.gridApi.setRowData(r),this.requiresFullRowDataAndColDefs=!1}loadResourceData(e=!0){return(0,Lo.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;a||(this.dataLogoff(),this.clearRowData());if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Mo.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.updateRowData(a)}}else Mo.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===Ai.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Ti.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Ti.$)(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,movingView:this.movingView}}handleStreamResult(e){if(!e)return;e.hasOwnProperty("REPLY")?this.applyRequestServerData(e):this.applyDataserverData(e)}applyRequestServerData(e){var a,r;if(!Array.isArray(e.REPLY)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Mo.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){"ROW_REF"!==this.rowId&&(null===(r=e.REPLY)||void 0===r||r.forEach((e=>{this.rows.set(e[this.rowId],e)})));const a=this.rows.size>0?Array.from(this.rows.values()):e.REPLY;return void this.updateRowData(a)}this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.REPLY);const t=Array.from(this.rows.values()).filter((a=>!e.REPLY.includes(a)));this.handleStreamDeletes(t);const o=this.rowDataMapper?this.mapTransaction(this.agTransaction):this.agTransaction;this.agGrid.gridApi.applyTransactionAsync(o)}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.updateRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.agGrid.gridApi.applyTransactionAsync(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 Di.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=yi.boolean);break;case Di.r.DATE:r.valueFormatter=ji;break;case Di.r.DATETIME:r.valueFormatter=Ii}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)}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Li.p)(a.join(" && "),";")}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,Li.p)(a,";");(r||t)&&(this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.loadResourceData(null))}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,Lo.__decorate)([l.lj],Ei.prototype,"connect",void 0),(0,Lo.__decorate)([Mi.Yh],Ei.prototype,"datasource",void 0),(0,Lo.__decorate)([s.observable],Ei.prototype,"deferredGridOptions",void 0),(0,Lo.__decorate)([s.attr],Ei.prototype,"criteria",void 0),(0,Lo.__decorate)([s.attr],Ei.prototype,"fields",void 0),(0,Lo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],Ei.prototype,"isSnapshot",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"max-rows"})],Ei.prototype,"maxRows",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"max-view"})],Ei.prototype,"maxView",void 0),(0,Lo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"moving-view"})],Ei.prototype,"movingView",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"order-by"})],Ei.prototype,"orderBy",void 0),(0,Lo.__decorate)([s.observable],Ei.prototype,"request",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"resource-name"})],Ei.prototype,"resourceName",void 0),(0,Lo.__decorate)([(0,s.attr)({mode:"boolean"})],Ei.prototype,"reverse",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"row-id"})],Ei.prototype,"rowId",void 0),(0,Lo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Ei.prototype,"restartOnReconnection",void 0),(0,Lo.__decorate)([s.observable],Ei.prototype,"rowDataMapper",void 0),Ei=(0,Lo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource"})],Ei);var Pi=r(66306),Bi=r(47546);class Ui{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,Lo.__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,Bi.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===Ai.Cs.LOGOFF_ACK||o===Ai.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,a.ROW){const e=(0,Ti.$)(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=>Mo.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,Lo.__decorate)([l.lj],Ui.prototype,"connect",void 0);let Gi=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Ci.WJ.MAX_ROWS_250,this.maxView=Ci.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,Li.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,Lo.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Mo.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Pi.C)(e);const a=(0,Pi.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new Ui({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});Mo.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));Mo.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 Mo.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,Lo.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Mo.debug(e)),(e=>Mo.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 Di.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=yi.boolean);break;case Di.r.DATE:r.valueFormatter=ji;break;case Di.r.DATETIME:r.valueFormatter=Ii}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:Ri(e.type),filter:(e.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(a)}};(0,Lo.__decorate)([l.lj],Gi.prototype,"connect",void 0),(0,Lo.__decorate)([s.attr],Gi.prototype,"criteria",void 0),(0,Lo.__decorate)([s.attr],Gi.prototype,"fields",void 0),(0,Lo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],Gi.prototype,"isSnapshot",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"max-rows"})],Gi.prototype,"maxRows",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"max-view"})],Gi.prototype,"maxView",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"moving-view"})],Gi.prototype,"movingView",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"order-by"})],Gi.prototype,"orderBy",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"resource-name"})],Gi.prototype,"resourceName",void 0),(0,Lo.__decorate)([(0,s.attr)({mode:"boolean"})],Gi.prototype,"pagination",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"row-id"})],Gi.prototype,"rowId",void 0),(0,Lo.__decorate)([(0,s.attr)({mode:"boolean"})],Gi.prototype,"reverse",void 0),Gi=(0,Lo.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource-next"})],Gi);const Hi=s.css`
1922
+ `;var yi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.text="text",e.select="select"}(yi||(yi={}));const xi='\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/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm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VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',zi='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcjBKQJJ/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKwiysi6oyClzCg99Ec8TxilXY4ea+YgngzqZGPlo74Ign50j7RGuKl8qDZ8x4lCYLQkLtAgHOb6bcEcrG9Rqe+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImHVEbzcilHcJDqJDa8BAVMXJkYOeTwgaNs7o82pMPXpmMUyRPppY3sk/PuiE8EKa81aEu4gXCqPuAbqTipcosW5xw2UMWVvgHdkq2K9b9Td/TDnZZsSenqFwS1wU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B4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',ki={[bi.alpine]:xi,[bi.alpineDark]:xi,[bi.balham]:zi,[bi.balhamDark]:zi,[bi.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/bNk2bB4wpAJyvJiygJTWLWk3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z9e0oKFsiISE7KsURfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Si=xi;var Ci=r(82940),Ai=r(9162),Ti=r(5127),Li=r(83123),Di=r(32449),Fi=r(43752),Mi=r(26714),Oi=r(71452),Ni=r(99449),$i=r(30526);function Ri(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function ji({value:e}){return(0,g.formatDateTimestamp)(e)}function Ii({value:e}){return(0,g.formatDateTimeTimestamp)(e)}let Ei=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Ci.WJ.MAX_ROWS_250,this.maxView=Ci.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.rowId="ROW_REF",this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new Mi.X(new Map)}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.isConnectedSubject.subscribe((e=>{e&&this.agGrid.attributes["ds-disconnected"]&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.restart()),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}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected){const e=Object.assign({getRowId:e=>e.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},e),this.agGrid.addEventListener("onGridReady",(()=>(0,Do.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const a=600;this.updateSub=this.update.pipe((0,Oi.T)(1),(0,Ni.b)(a),(0,$i.b)((e=>Fo.debug("filters (debounced): ",e)))).subscribe((e=>{this.loadResourceData(null)}))}else Fo.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.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.dataLogoff(),this.clearRowData(),this.criteriaFromFilters=new Map,this.update=new Mi.X(new Map)}restart(){this.deinit(),this.init()}dataLogoff(){this.sourceRef&&(this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0)}clearRowData(){var e,a;this.rows=new Map,this.agTransaction=void 0,null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.setRowData([])}updateRowData(e){const a=this.getAgColumnDefs(this.datasource.fieldMetadata);a&&this.agGrid.gridApi.setColumnDefs(a),this.agGrid.gridApi.setRowData(e),this.requiresFullRowDataAndColDefs=!1}loadResourceData(e=!0){return(0,Do.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;a||(this.dataLogoff(),this.clearRowData());if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Fo.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.updateRowData(a)}}else Fo.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===Ai.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Ti.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Ti.$)(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,movingView:this.movingView}}handleStreamResult(e){if(!e)return;e.hasOwnProperty("REPLY")?this.applyRequestServerData(e):this.applyDataserverData(e)}applyRequestServerData(e){var a,r;if(!Array.isArray(e.REPLY)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Fo.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){"ROW_REF"!==this.rowId&&(null===(r=e.REPLY)||void 0===r||r.forEach((e=>{this.rows.set(e[this.rowId],e)})));const a=this.rows.size>0?Array.from(this.rows.values()):e.REPLY;return void this.updateRowData(a)}this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.REPLY);const t=Array.from(this.rows.values()).filter((a=>!e.REPLY.includes(a)));this.handleStreamDeletes(t),this.agGrid.gridApi.applyTransaction(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.updateRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.agGrid.gridApi.applyTransaction(this.agTransaction)}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 Li.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=yi.boolean);break;case Li.r.DATE:r.valueFormatter=ji;break;case Li.r.DATETIME:r.valueFormatter=Ii}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)}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Di.p)(a.join(" && "),";")}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,Di.p)(a,";");(r||t)&&(this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.loadResourceData(null))}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,Do.__decorate)([l.lj],Ei.prototype,"connect",void 0),(0,Do.__decorate)([Fi.Yh],Ei.prototype,"datasource",void 0),(0,Do.__decorate)([s.observable],Ei.prototype,"deferredGridOptions",void 0),(0,Do.__decorate)([s.attr],Ei.prototype,"criteria",void 0),(0,Do.__decorate)([s.attr],Ei.prototype,"fields",void 0),(0,Do.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],Ei.prototype,"isSnapshot",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"max-rows"})],Ei.prototype,"maxRows",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"max-view"})],Ei.prototype,"maxView",void 0),(0,Do.__decorate)([(0,s.attr)({mode:"boolean",attribute:"moving-view"})],Ei.prototype,"movingView",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"order-by"})],Ei.prototype,"orderBy",void 0),(0,Do.__decorate)([s.observable],Ei.prototype,"request",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"resource-name"})],Ei.prototype,"resourceName",void 0),(0,Do.__decorate)([(0,s.attr)({mode:"boolean"})],Ei.prototype,"reverse",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"row-id"})],Ei.prototype,"rowId",void 0),(0,Do.__decorate)([(0,s.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Ei.prototype,"restartOnReconnection",void 0),Ei=(0,Do.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource"})],Ei);var Pi=r(66306),Bi=r(47546);class Ui{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,Do.__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,Bi.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===Ai.Cs.LOGOFF_ACK||o===Ai.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,a.ROW){const e=(0,Ti.$)(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=>Fo.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,Do.__decorate)([l.lj],Ui.prototype,"connect",void 0);let Gi=class extends((0,g.LifecycleMixin)(c.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Ci.WJ.MAX_ROWS_250,this.maxView=Ci.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,Di.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,Do.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Fo.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Pi.C)(e);const a=(0,Pi.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new Ui({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});Fo.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));Fo.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 Fo.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,Do.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Fo.debug(e)),(e=>Fo.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 Li.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=yi.boolean);break;case Li.r.DATE:r.valueFormatter=ji;break;case Li.r.DATETIME:r.valueFormatter=Ii}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:Ri(e.type),filter:(e.type,"agTextColumnFilter"),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.applyTemplateDefinitions(a)}};(0,Do.__decorate)([l.lj],Gi.prototype,"connect",void 0),(0,Do.__decorate)([s.attr],Gi.prototype,"criteria",void 0),(0,Do.__decorate)([s.attr],Gi.prototype,"fields",void 0),(0,Do.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],Gi.prototype,"isSnapshot",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"max-rows"})],Gi.prototype,"maxRows",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"max-view"})],Gi.prototype,"maxView",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"moving-view"})],Gi.prototype,"movingView",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"order-by"})],Gi.prototype,"orderBy",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"resource-name"})],Gi.prototype,"resourceName",void 0),(0,Do.__decorate)([(0,s.attr)({mode:"boolean"})],Gi.prototype,"pagination",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"row-id"})],Gi.prototype,"rowId",void 0),(0,Do.__decorate)([(0,s.attr)({mode:"boolean"})],Gi.prototype,"reverse",void 0),Gi=(0,Do.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource-next"})],Gi);const Hi=s.css`
1931
1923
  .ag-icon {
1932
1924
  font-family: var(--ag-icon-font-family);
1933
1925
  font-size: var(--ag-icon-size);
@@ -9108,7 +9100,7 @@
9108
9100
  overflow: hidden;
9109
9101
  text-overflow: ellipsis;
9110
9102
  }
9111
- `,_i=s.css`
9103
+ `,Yi=s.css`
9112
9104
  .ag-theme-alpine,
9113
9105
  .ag-theme-alpine-dark {
9114
9106
  --ag-alpine-active-color: #2196f3;
@@ -9558,7 +9550,7 @@
9558
9550
  .ag-theme-alpine-dark {
9559
9551
  color-scheme: dark;
9560
9552
  }
9561
- `,Yi=s.css`
9553
+ `,_i=s.css`
9562
9554
  .ag-theme-balham,
9563
9555
  .ag-theme-balham-dark {
9564
9556
  --ag-balham-active-color: #0091ea;
@@ -10096,8 +10088,8 @@
10096
10088
  `,Wi=s.css`
10097
10089
  ${Hi}
10098
10090
  ${Vi}
10099
- ${_i}
10100
10091
  ${Yi}
10092
+ ${_i}
10101
10093
  ${Qi}
10102
10094
  `,qi=s.css`
10103
10095
  ${Wi}
@@ -10134,7 +10126,7 @@
10134
10126
  <slot></slot>
10135
10127
  </span>
10136
10128
  </template>
10137
- `;di.O3h.registerModules([si.jM,gi.I]);const Zi=e=>e.replace("/([a-z])([A-Z])/g","$1-$2").toLowerCase();class Ki extends((0,g.LifecycleMixin)(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Rr.A)(fi(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.enabledRowFlashing=!1,this.enableCellFlashing=!1,this.gridAutosizingEnabled=!1,this.gridFontFace=Si,this.columnComponentName="grid-pro-column",this.theme=bi.alpine,this.rehydrationAttempted=!1,this.agAttributes={},this.agPropertiesMap=di.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Zi(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&(0,g.respondToVisibility)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&di.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(e.toLowerCase(),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={[yi.action]:Fo,[yi.actionsMenu]:Io,[yi.boolean]:Uo};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})))}serialiseStoreTableConfig(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.agGridOptions.columnApi.getColumnState();a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}rehydrateTableConfig(){if(this.rehydrationAttempted=!0,this.statePersistanceEnabled()&&this.session.getLocalStorageItem("gridOptions")){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions"));this.persistColumnStateKey in e&&this.agGridOptions.columnApi.applyColumnState({state:JSON.parse(e[this.persistColumnStateKey]),applyOrder:!0})}}get gridOptions(){return this.agGridOptions}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.serialiseStoreTableConfig.bind(this)(),this.debouncedColumnAutosize.bind(this)()},t=this.rehydrateTableConfig.bind(this);Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:o,components:i,onGridReady:n}=e,l=(0,Lo.__rest)(e,["columnDefs","components","onGridReady"]),g=Object.assign(Object.assign(Object.assign({defaultColDef:{filter:!0,resizable:!0,sortable:!0},columnDefs:this.applyTemplateDefinitions(o),components:this.combineAllGridComponents(i),suppressDragLeaveHidesColumns:!0},this.eventsAndCallbacks),{onGridReady:a=>{var r,o;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(o=e.columnApi)&&void 0!==o?o:a.columnApi,n&&n(a),this.$emit("onGridReady",{params:a,gridId:this.id}),t(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:()=>{this.enableFlashingRows.bind(this)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),l);this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),di.plv.copyAttributesToGridOptions(g,this.agAttributes));const d={globalEventListener:a};s.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new di.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}enableFlashingRows(){this.enabledRowFlashing&&this.gridApi.addEventListener(di.zW2.EVENT_ASYNC_TRANSACTIONS_FLUSHED,(e=>{e.results.forEach((e=>{e.add.length&&this.gridApi.flashCells({rowNodes:e.add})}))}))}applyTemplateDefinitions(e=[]){const a=this.querySelectorAll(this.columnComponentName),r=Array.from(a).map((e=>{var a;return null===(a=e.definition)||void 0===a?void 0:a.field}));if(0===a.length)return e;return[...e?e.filter((e=>!r.includes(e.field))):[],...Array.from(a).map((a=>{var r;if(this.enableCellFlashing&&void 0===a.definition.enableCellChangeFlash&&(a.definition.enableCellChangeFlash=!0),!this.autoCellRendererByType||a.definition.valueFormatter)return a.definition;const t=null===(r=null==e?void 0:e.find((e=>a.definition.field===e.field)))||void 0===r?void 0:r.valueFormatter;return t&&(a.definition.valueFormatter=t),a.definition}))]}get observedAttributes(){const e=di.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=di.plv.ALL_PROPERTIES.map((e=>Zi(e)));return e.concat(a)}agAttributeChangedCallback(e,a,r){if(a===r)return;const t=this.agPropertiesMap[e];if(t&&(this.agAttributes[t]=r,this.initialised)){const e={};e[t]={currentValue:r},di.plv.processOnChange(e,this.gridApi)}}globalEventListener(e,a){const r=e.toLowerCase(),t=new Event(r);t.agGridDetails=a,this.dispatchEvent(t);const o="on"+r;"function"==typeof this[o]&&this[o](t)}insertFontFace(e){const a=ki[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,Lo.__decorate)([s.observable],Ki.prototype,"columnApi",void 0),(0,Lo.__decorate)([s.observable],Ki.prototype,"gridApi",void 0),(0,Lo.__decorate)([ci.z],Ki.prototype,"session",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Ki.prototype,"autoCellRendererByType",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Ki.prototype,"onlyTemplateColDefs",void 0),(0,Lo.__decorate)([(0,s.attr)({mode:"boolean"})],Ki.prototype,"enabledRowFlashing",void 0),(0,Lo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Ki.prototype,"enableCellFlashing",void 0),(0,Lo.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],Ki.prototype,"persistColumnStateKey",void 0),(0,Lo.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],Ki.prototype,"gridAutosizingEnabled",void 0),(0,Lo.__decorate)([s.observable],Ki.prototype,"gridFontFace",void 0),(0,Lo.__decorate)([s.attr],Ki.prototype,"columnComponentName",void 0),(0,Lo.__decorate)([s.observable],Ki.prototype,"eventsAndCallbacks",void 0),(0,Lo.__decorate)([s.attr],Ki.prototype,"headerHeight",void 0),(0,Lo.__decorate)([s.attr],Ki.prototype,"rowHeight",void 0),(0,Lo.__decorate)([s.attr],Ki.prototype,"theme",void 0),(0,Lo.__decorate)([s.observable],Ki.prototype,"classNames",void 0),(0,Lo.__decorate)([s.observable],Ki.prototype,"agGrid",void 0),(0,Lo.__decorate)([s.observable],Ki.prototype,"gridSlot",void 0),(0,Lo.__decorate)([s.observable],Ki.prototype,"gridComponents",void 0);const Xi=void 0,en={shadowOptions:void 0},an=Ki.compose(Object.assign({baseName:"grid-pro",styles:qi,template:Ji,shadowOptions:Xi},en)),rn={foregroundSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#879ba6")),backgroundSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#1f2126")),borderSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#2e3339")),rowHoverSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#2b2e34"))},tn={foregroundSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#000000")),headerForegroundSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#181d1f")),backgroundSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#FFFFFF")),borderSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#babfc7")),rowHoverSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#2196f3"))},{create:on}=c.DesignToken,nn={backgroundColor:on("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?tn.backgroundSwatch:rn.backgroundSwatch)),borderColor:on("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?tn.borderSwatch:rn.borderSwatch)),foregroundColor:on("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?tn.foregroundSwatch:rn.foregroundSwatch)),headerForegroundColor:on("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?tn.headerForegroundSwatch:rn.headerForegroundSwatch)),rowHoverColor:on("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?tn.rowHoverSwatch:rn.rowHoverSwatch))},ln=s.css`
10129
+ `;di.O3h.registerModules([si.jM,gi.I]);const Zi=e=>e.replace("/([a-z])([A-Z])/g","$1-$2").toLowerCase();class Ki extends((0,g.LifecycleMixin)(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Rr.A)(fi(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.enabledRowFlashing=!1,this.enableCellFlashing=!1,this.gridAutosizingEnabled=!1,this.gridFontFace=Si,this.columnComponentName="grid-pro-column",this.theme=bi.alpine,this.rehydrationAttempted=!1,this.agAttributes={},this.agPropertiesMap=di.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Zi(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&(0,g.respondToVisibility)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&di.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(e.toLowerCase(),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={[yi.action]:Mo,[yi.actionsMenu]:Io,[yi.boolean]:Uo};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})))}serialiseStoreTableConfig(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.agGridOptions.columnApi.getColumnState();a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}rehydrateTableConfig(){if(this.rehydrationAttempted=!0,this.statePersistanceEnabled()&&this.session.getLocalStorageItem("gridOptions")){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions"));this.persistColumnStateKey in e&&this.agGridOptions.columnApi.applyColumnState({state:JSON.parse(e[this.persistColumnStateKey]),applyOrder:!0})}}get gridOptions(){return this.agGridOptions}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.serialiseStoreTableConfig.bind(this)(),this.debouncedColumnAutosize.bind(this)()},t=this.rehydrateTableConfig.bind(this);Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:o,components:i,onGridReady:n}=e,l=(0,Do.__rest)(e,["columnDefs","components","onGridReady"]),g=Object.assign(Object.assign(Object.assign({defaultColDef:{filter:!0,resizable:!0,sortable:!0},columnDefs:this.applyTemplateDefinitions(o),components:this.combineAllGridComponents(i),suppressDragLeaveHidesColumns:!0},this.eventsAndCallbacks),{onGridReady:a=>{var r,o;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(o=e.columnApi)&&void 0!==o?o:a.columnApi,n&&n(a),this.$emit("onGridReady",{params:a,gridId:this.id}),t(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:()=>{this.enableFlashingRows.bind(this)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),l);this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),di.plv.copyAttributesToGridOptions(g,this.agAttributes));const d={globalEventListener:a};s.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new di.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}enableFlashingRows(){this.enabledRowFlashing&&this.gridApi.addEventListener(di.zW2.EVENT_ASYNC_TRANSACTIONS_FLUSHED,(e=>{e.results.forEach((e=>{e.add.length&&this.gridApi.flashCells({rowNodes:e.add})}))}))}applyTemplateDefinitions(e=[]){const a=this.querySelectorAll(this.columnComponentName),r=Array.from(a).map((e=>{var a;return null===(a=e.definition)||void 0===a?void 0:a.field}));if(0===a.length)return e;return[...e?e.filter((e=>!r.includes(e.field))):[],...Array.from(a).map((a=>{var r;if(this.enableCellFlashing&&void 0===a.definition.enableCellChangeFlash&&(a.definition.enableCellChangeFlash=!0),!this.autoCellRendererByType||a.definition.valueFormatter)return a.definition;const t=null===(r=null==e?void 0:e.find((e=>a.definition.field===e.field)))||void 0===r?void 0:r.valueFormatter;return t&&(a.definition.valueFormatter=t),a.definition}))]}get observedAttributes(){const e=di.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=di.plv.ALL_PROPERTIES.map((e=>Zi(e)));return e.concat(a)}agAttributeChangedCallback(e,a,r){if(a===r)return;const t=this.agPropertiesMap[e];if(t&&(this.agAttributes[t]=r,this.initialised)){const e={};e[t]={currentValue:r},di.plv.processOnChange(e,this.gridApi)}}globalEventListener(e,a){const r=e.toLowerCase(),t=new Event(r);t.agGridDetails=a,this.dispatchEvent(t);const o="on"+r;"function"==typeof this[o]&&this[o](t)}insertFontFace(e){const a=ki[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,Do.__decorate)([s.observable],Ki.prototype,"columnApi",void 0),(0,Do.__decorate)([s.observable],Ki.prototype,"gridApi",void 0),(0,Do.__decorate)([ci.z],Ki.prototype,"session",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Ki.prototype,"autoCellRendererByType",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Ki.prototype,"onlyTemplateColDefs",void 0),(0,Do.__decorate)([(0,s.attr)({mode:"boolean"})],Ki.prototype,"enabledRowFlashing",void 0),(0,Do.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Ki.prototype,"enableCellFlashing",void 0),(0,Do.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],Ki.prototype,"persistColumnStateKey",void 0),(0,Do.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],Ki.prototype,"gridAutosizingEnabled",void 0),(0,Do.__decorate)([s.observable],Ki.prototype,"gridFontFace",void 0),(0,Do.__decorate)([s.attr],Ki.prototype,"columnComponentName",void 0),(0,Do.__decorate)([s.observable],Ki.prototype,"eventsAndCallbacks",void 0),(0,Do.__decorate)([s.attr],Ki.prototype,"headerHeight",void 0),(0,Do.__decorate)([s.attr],Ki.prototype,"rowHeight",void 0),(0,Do.__decorate)([s.attr],Ki.prototype,"theme",void 0),(0,Do.__decorate)([s.observable],Ki.prototype,"classNames",void 0),(0,Do.__decorate)([s.observable],Ki.prototype,"agGrid",void 0),(0,Do.__decorate)([s.observable],Ki.prototype,"gridSlot",void 0),(0,Do.__decorate)([s.observable],Ki.prototype,"gridComponents",void 0);const Xi=void 0,en={shadowOptions:void 0},an=Ki.compose(Object.assign({baseName:"grid-pro",styles:qi,template:Ji,shadowOptions:Xi},en)),rn={foregroundSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#879ba6")),backgroundSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#1f2126")),borderSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#2e3339")),rowHoverSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#2b2e34"))},tn={foregroundSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#000000")),headerForegroundSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#181d1f")),backgroundSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#FFFFFF")),borderSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#babfc7")),rowHoverSwatch:p.SwatchRGB.from((0,Te.parseColorHexRGB)("#2196f3"))},{create:on}=c.DesignToken,nn={backgroundColor:on("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?tn.backgroundSwatch:rn.backgroundSwatch)),borderColor:on("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?tn.borderSwatch:rn.borderSwatch)),foregroundColor:on("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?tn.foregroundSwatch:rn.foregroundSwatch)),headerForegroundColor:on("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?tn.headerForegroundSwatch:rn.headerForegroundSwatch)),rowHoverColor:on("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?tn.rowHoverSwatch:rn.rowHoverSwatch))},ln=s.css`
10138
10130
  .ag-theme-genesis-rapid,
10139
10131
  .ag-theme-genesis-rapid-dark {
10140
10132
  --ag-alpine-active-color: #2196f3;
@@ -10637,7 +10629,7 @@
10637
10629
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
10638
10630
  ${sn}
10639
10631
  ${pn}
10640
- `,hn=Ji,mn="ag-theme-genesis-rapid-dark";const vn=en,bn={zeroAgActionRenderer:jo,zeroAgActionsMenuRenderer:Bo,zeroAgBooleanRenderer:Yo,zeroAgTextRenderer:ri,zeroAgSelectRenderer:li,zeroGridPro:class extends Ki{constructor(){super(...arguments),this.theme=mn}themeChanged(e,a){(e||a===mn)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[yi.action]:Ro,[yi.actionsMenu]:Po,[yi.boolean]:_o};(this.theme===dn||this.theme===cn)&&(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:hn,styles:un,shadowOptions:undefined},vn)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},fn={foundationGridProActionRenderer:$o,foundationGridProActionsMenuRenderer:Eo,foundationAgBooleanRenderer:Vo,foundationAgTextRenderer:ai,foundationAgTextFieldRenderer:Zo,foundationAgSelectRenderer:ni,foundationGridPro:an,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var wn,yn=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(wn||(wn={}));const xn={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'},zn=xn["Segoe UI"],kn=s.css`
10632
+ `,hn=Ji,mn="ag-theme-genesis-rapid-dark";const vn=en,bn={zeroAgActionRenderer:jo,zeroAgActionsMenuRenderer:Bo,zeroAgBooleanRenderer:_o,zeroAgTextRenderer:ri,zeroAgSelectRenderer:li,zeroGridPro:class extends Ki{constructor(){super(...arguments),this.theme=mn}themeChanged(e,a){(e||a===mn)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[yi.action]:Ro,[yi.actionsMenu]:Po,[yi.boolean]:Yo};(this.theme===dn||this.theme===cn)&&(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:hn,styles:un,shadowOptions:undefined},vn)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},fn={foundationGridProActionRenderer:$o,foundationGridProActionsMenuRenderer:Eo,foundationAgBooleanRenderer:Vo,foundationAgTextRenderer:ai,foundationAgTextFieldRenderer:Zo,foundationAgSelectRenderer:ni,foundationGridPro:an,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var wn,yn=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(wn||(wn={}));const xn={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'},zn=xn["Segoe UI"],kn=s.css`
10641
10633
  ${(0,c.display)("block")} :host {
10642
10634
  width: 100%;
10643
10635
  display: inline-flex;
@@ -10983,7 +10975,7 @@
10983
10975
  <slot></slot>
10984
10976
  </div>
10985
10977
  </template>
10986
- `,Cn=({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(xn).find((a=>xn[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),An=Cn(Se),Tn={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},Dn=Cn(i.designTokens),Ln={zero:{prefix:"zero",tokenDefaults:An,buttons:Tn},alpha:{prefix:"alpha",tokenDefaults:Dn,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Tn}};let Mn=class extends s.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=An.luminance===p.StandardLuminance.DarkMode,this.luminance=An.luminance,this.neutralColor=An.neutralColor,this.accentColor=An.accentColor,this.bodyFont=An.bodyFont,this.density=An.density,this.borderRadius=An.borderRadius,this.strokeWidth=An.strokeWidth,this.designUnit=An.designUnit,this.baseFontSize=An.baseFontSize,this.baseLineHeight=An.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=Cn(a);Ln.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,yn.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Ln[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,yn.__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:Ln[this.ds].prefix,buttonAppearanceAccent:Ln[this.ds].buttons.accent,buttonAppearanceNeutral:Ln[this.ds].buttons.neutral,buttonAppearanceOutline:Ln[this.ds].buttons.outline};this.$emit(wn.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Ln[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:xn[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(wn.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(wn.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,yn.__decorate)([(0,s.attr)({mode:"boolean",attribute:"custom-design-mode"})],Mn.prototype,"customDesignMode",void 0),(0,yn.__decorate)([s.observable],Mn.prototype,"designSystems",void 0),(0,yn.__decorate)([s.observable],Mn.prototype,"ds",void 0),(0,yn.__decorate)([s.attr],Mn.prototype,"darkMode",void 0),(0,yn.__decorate)([s.observable],Mn.prototype,"neutralColor",void 0),(0,yn.__decorate)([s.observable],Mn.prototype,"accentColor",void 0),(0,yn.__decorate)([s.observable],Mn.prototype,"bodyFont",void 0),(0,yn.__decorate)([s.observable],Mn.prototype,"density",void 0),(0,yn.__decorate)([s.observable],Mn.prototype,"borderRadius",void 0),(0,yn.__decorate)([s.observable],Mn.prototype,"strokeWidth",void 0),(0,yn.__decorate)([s.observable],Mn.prototype,"designUnit",void 0),(0,yn.__decorate)([s.observable],Mn.prototype,"baseFontSize",void 0),(0,yn.__decorate)([s.observable],Mn.prototype,"baseLineHeight",void 0),(0,yn.__decorate)([s.observable],Mn.prototype,"preserveOptions",void 0),Mn=(0,yn.__decorate)([(0,s.customElement)({name:"design-system-editor",template:Sn,styles:kn})],Mn);const Fn=e=>{const a=(e=>{const a=(0,Te.parseColorHexRGB)(e);return a?p.SwatchRGB.from(a):null})(e);return a?p.PaletteRGB.create(a):null},On=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Nn=(e,a)=>{const r=Fn(e.neutralColor);p.neutralPalette.setValueFor(a,r);const t=Fn(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,On(p.typeRampBaseFontSize,g.TypeRampValues.minusOne,a)),p.typeRampMinus1LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.minusOne,a)),p.typeRampMinus2FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.minusTwo,a)),p.typeRampMinus2LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.minusTwo,a)),p.typeRampPlus1FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.plusOne,a)),p.typeRampPlus1LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.plusOne,a)),p.typeRampPlus2FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.plusTwo,a)),p.typeRampPlus2LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.plusTwo,a)),p.typeRampPlus3FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.plusThree,a)),p.typeRampPlus3LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.plusThree,a)),p.typeRampPlus4FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.plusFour,a)),p.typeRampPlus4LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.plusFour,a)),p.typeRampPlus5FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.plusFive,a)),p.typeRampPlus5LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.plusFive,a)),p.typeRampPlus6FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.plusSix,a)),p.typeRampPlus6LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.plusSix,a))},$n=s.css`
10978
+ `,Cn=({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(xn).find((a=>xn[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),An=Cn(Se),Tn={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},Ln=Cn(i.designTokens),Dn={zero:{prefix:"zero",tokenDefaults:An,buttons:Tn},alpha:{prefix:"alpha",tokenDefaults:Ln,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Tn}};let Fn=class extends s.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=An.luminance===p.StandardLuminance.DarkMode,this.luminance=An.luminance,this.neutralColor=An.neutralColor,this.accentColor=An.accentColor,this.bodyFont=An.bodyFont,this.density=An.density,this.borderRadius=An.borderRadius,this.strokeWidth=An.strokeWidth,this.designUnit=An.designUnit,this.baseFontSize=An.baseFontSize,this.baseLineHeight=An.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=Cn(a);Dn.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,yn.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Dn[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,yn.__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:Dn[this.ds].prefix,buttonAppearanceAccent:Dn[this.ds].buttons.accent,buttonAppearanceNeutral:Dn[this.ds].buttons.neutral,buttonAppearanceOutline:Dn[this.ds].buttons.outline};this.$emit(wn.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Dn[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:xn[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(wn.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(wn.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,yn.__decorate)([(0,s.attr)({mode:"boolean",attribute:"custom-design-mode"})],Fn.prototype,"customDesignMode",void 0),(0,yn.__decorate)([s.observable],Fn.prototype,"designSystems",void 0),(0,yn.__decorate)([s.observable],Fn.prototype,"ds",void 0),(0,yn.__decorate)([s.attr],Fn.prototype,"darkMode",void 0),(0,yn.__decorate)([s.observable],Fn.prototype,"neutralColor",void 0),(0,yn.__decorate)([s.observable],Fn.prototype,"accentColor",void 0),(0,yn.__decorate)([s.observable],Fn.prototype,"bodyFont",void 0),(0,yn.__decorate)([s.observable],Fn.prototype,"density",void 0),(0,yn.__decorate)([s.observable],Fn.prototype,"borderRadius",void 0),(0,yn.__decorate)([s.observable],Fn.prototype,"strokeWidth",void 0),(0,yn.__decorate)([s.observable],Fn.prototype,"designUnit",void 0),(0,yn.__decorate)([s.observable],Fn.prototype,"baseFontSize",void 0),(0,yn.__decorate)([s.observable],Fn.prototype,"baseLineHeight",void 0),(0,yn.__decorate)([s.observable],Fn.prototype,"preserveOptions",void 0),Fn=(0,yn.__decorate)([(0,s.customElement)({name:"design-system-editor",template:Sn,styles:kn})],Fn);const Mn=e=>{const a=(e=>{const a=(0,Te.parseColorHexRGB)(e);return a?p.SwatchRGB.from(a):null})(e);return a?p.PaletteRGB.create(a):null},On=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Nn=(e,a)=>{const r=Mn(e.neutralColor);p.neutralPalette.setValueFor(a,r);const t=Mn(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,On(p.typeRampBaseFontSize,g.TypeRampValues.minusOne,a)),p.typeRampMinus1LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.minusOne,a)),p.typeRampMinus2FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.minusTwo,a)),p.typeRampMinus2LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.minusTwo,a)),p.typeRampPlus1FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.plusOne,a)),p.typeRampPlus1LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.plusOne,a)),p.typeRampPlus2FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.plusTwo,a)),p.typeRampPlus2LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.plusTwo,a)),p.typeRampPlus3FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.plusThree,a)),p.typeRampPlus3LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.plusThree,a)),p.typeRampPlus4FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.plusFour,a)),p.typeRampPlus4LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.plusFour,a)),p.typeRampPlus5FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.plusFive,a)),p.typeRampPlus5LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.plusFive,a)),p.typeRampPlus6FontSize.setValueFor(a,On(p.typeRampBaseFontSize,g.TypeRampValues.plusSix,a)),p.typeRampPlus6LineHeight.setValueFor(a,On(p.typeRampBaseLineHeight,g.TypeRampValues.plusSix,a))},$n=s.css`
10987
10979
  :host {
10988
10980
  background: var(--fill-color);
10989
10981
  color: var(--neutral-foreground-rest);
@@ -11278,7 +11270,7 @@
11278
11270
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
11279
11271
  `)}
11280
11272
  </ul>
11281
- `;let Gn=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=Fn(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(wn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,yn.__decorate)([s.observable],Gn.prototype,"swatches",void 0),(0,yn.__decorate)([s.attr],Gn.prototype,"type",void 0),Gn=(0,yn.__decorate)([(0,s.customElement)({name:"color-palette",styles:Bn,template:Un})],Gn);const Hn=s.css`
11273
+ `;let Gn=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=Mn(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(wn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,yn.__decorate)([s.observable],Gn.prototype,"swatches",void 0),(0,yn.__decorate)([s.attr],Gn.prototype,"type",void 0),Gn=(0,yn.__decorate)([(0,s.customElement)({name:"color-palette",styles:Bn,template:Un})],Gn);const Hn=s.css`
11282
11274
  .preview {
11283
11275
  width: 40px;
11284
11276
  height: 40px;
@@ -11288,7 +11280,7 @@
11288
11280
  class="preview"
11289
11281
  style="background-color: ${e=>p[e.tokenName].createCSS()}"
11290
11282
  ></div>
11291
- `;let _n=class extends s.FASTElement{};(0,yn.__decorate)([s.attr],_n.prototype,"tokenName",void 0),_n=(0,yn.__decorate)([(0,s.customElement)({name:"color-token",styles:Hn,template:Vn})],_n);const Yn=s.css`
11283
+ `;let Yn=class extends s.FASTElement{};(0,yn.__decorate)([s.attr],Yn.prototype,"tokenName",void 0),Yn=(0,yn.__decorate)([(0,s.customElement)({name:"color-token",styles:Hn,template:Vn})],Yn);const _n=s.css`
11292
11284
  .container {
11293
11285
  display: flex;
11294
11286
  width: 100%;
@@ -11360,7 +11352,7 @@
11360
11352
  </div>
11361
11353
  `)}
11362
11354
  </div>
11363
- `;let Jn=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(wn.STYLES_CHANGED,(e=>{const a=e.detail;Nn(a,this.provider)}))}};(0,yn.__decorate)([s.observable],Jn.prototype,"provider",void 0),Jn=(0,yn.__decorate)([(0,s.customElement)({name:"color-tokens",template:qn,styles:Yn})],Jn);const Zn=s.css`
11355
+ `;let Jn=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(wn.STYLES_CHANGED,(e=>{const a=e.detail;Nn(a,this.provider)}))}};(0,yn.__decorate)([s.observable],Jn.prototype,"provider",void 0),Jn=(0,yn.__decorate)([(0,s.customElement)({name:"color-tokens",template:qn,styles:_n})],Jn);const Zn=s.css`
11364
11356
  table {
11365
11357
  background: var(--neutral-fill-rest);
11366
11358
  color: var(--neutral-foreground-rest);
@@ -11691,5 +11683,5 @@
11691
11683
  </${a}-design-system-provider>
11692
11684
  </template>
11693
11685
  `;var a}}
11694
- `;let dl=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=ol,this.uischema=tl,this.jsonSchemaArray=nl,this.uiSchemaArray=il,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(wn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(wn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(zn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Nn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,yn.__decorate)([s.observable],dl.prototype,"jsonSchema",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"uischema",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"jsonSchemaArray",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"uiSchemaArray",void 0),(0,yn.__decorate)([s.attr],dl.prototype,"prefix",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"provider",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"editedEntity",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"editedEntityArray",void 0),dl=(0,yn.__decorate)([(0,s.customElement)({name:"preview-form",template:gl,styles:ll})],dl),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(Do,bn),(0,i.provideDesignSystem)().register(i.baseComponents,fn)}}]);
11695
- //# sourceMappingURL=635.715a86f15ffa1f7564564b1aaa5c9a9b.js.map
11686
+ `;let dl=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=ol,this.uischema=tl,this.jsonSchemaArray=nl,this.uiSchemaArray=il,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(wn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(wn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(zn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Nn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,yn.__decorate)([s.observable],dl.prototype,"jsonSchema",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"uischema",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"jsonSchemaArray",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"uiSchemaArray",void 0),(0,yn.__decorate)([s.attr],dl.prototype,"prefix",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"provider",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"editedEntity",void 0),(0,yn.__decorate)([s.observable],dl.prototype,"editedEntityArray",void 0),dl=(0,yn.__decorate)([(0,s.customElement)({name:"preview-form",template:gl,styles:ll})],dl),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(Lo,bn),(0,i.provideDesignSystem)().register(i.baseComponents,fn)}}]);
11687
+ //# sourceMappingURL=635.7adb9d97ca33660d0cc0545cc9bed845.js.map