@genesislcap/design-system-configurator 14.115.1 → 14.116.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/{345.345.86166a569ad94efbcf95.js → 153.153.bee77dddd8cea3bb1520.js} +3 -3
  2. package/dist/{345.525359ca7b26f3e0b9bb5dd75045e860.js.map → 153.ed4de14c0d63c04b9410a297fd64327f.js.map} +1 -1
  3. package/dist/{153.153.6a2ae3bae3c9e36409d9.js → 180.180.90cb763a351b521e3bfa.js} +418 -409
  4. package/dist/180.7a3abe8ba8c6862a090a8a00af7acdef.js.map +1 -0
  5. package/dist/{200.200.6b10e13b17aac8598827.js → 200.200.b28c03312071e8482f76.js} +2 -2
  6. package/dist/{200.1154f62d1d6dabb8e7666899e9523f1f.js.map → 200.eae26e578da8554b6dc7a2d9aa9725cd.js.map} +1 -1
  7. package/dist/{269.269.6e42bf82f2e0a250be7e.js → 269.269.ed56838c8b3c6c11f393.js} +1 -1
  8. package/dist/{300.300.aa116afb3d5115fd1ddb.js → 300.300.0c070751ae10da710b08.js} +2 -2
  9. package/dist/645.0b8bd02cf23fa74029f3e78f8cde1529.js.map +1 -0
  10. package/dist/{645.645.1d17fc7455e5a8412c4e.js → 645.645.f129f9bf574f917b6fcd.js} +2 -2
  11. package/dist/755.755.b8e8a6968ea1262ad511.js +2 -0
  12. package/dist/{755.a3cac47cc4cd6e213d2b372c956c558b.js.map → 755.9a7aecd6f809d3501c72cb59e24e35af.js.map} +1 -1
  13. package/dist/{8.aab7d3cc543301610182da8470a00c42.js.map → 8.17fb5c725550f75ede773e6c9c1c4e98.js.map} +1 -1
  14. package/dist/{8.8.3177997e89bf250dbce2.js → 8.8.9ea668a332940a77ccef.js} +2 -2
  15. package/dist/designSystemConfigurator.e8b740e97dc81f369552586ac6024f1b.js.map +1 -0
  16. package/dist/index.html +1 -1
  17. package/dist/main.45aee4e838379093833b.js +2 -0
  18. package/dist/main.fe724e13409fa793254c24dd21b64088.js.map +1 -0
  19. package/dist/remoteEntry.js +2 -2
  20. package/package.json +7 -7
  21. package/dist/153.a2e687cd102186b8552ec63704bb6a04.js.map +0 -1
  22. package/dist/645.893fbd17620a2bb7a995f511a6efccca.js.map +0 -1
  23. package/dist/755.755.90f8ba4dd7fbb157f28b.js +0 -2
  24. package/dist/designSystemConfigurator.8f78ce38ed663c43820189b1f9530ba7.js.map +0 -1
  25. package/dist/main.77602d4b73d5275e05c4c7e3765406d1.js.map +0 -1
  26. package/dist/main.98e7e51858741d2ff1cd.js +0 -2
  27. /package/dist/{300.300.aa116afb3d5115fd1ddb.js.LICENSE.txt → 153.153.bee77dddd8cea3bb1520.js.LICENSE.txt} +0 -0
  28. /package/dist/{345.345.86166a569ad94efbcf95.js.LICENSE.txt → 300.300.0c070751ae10da710b08.js.LICENSE.txt} +0 -0
@@ -1,16 +1,16 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[153],{71153:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>hg,ColorToken:()=>bg,ColorTokens:()=>zg,DesignSystemEditor:()=>rg,DesignSystemExport:()=>cg,DesignSystemPreview:()=>Og,EventName:()=>Yl,PreviewComponents:()=>gg,PreviewForm:()=>Rg,PreviewGrid:()=>Eg,TypographyTokens:()=>Cg,defaultBodyFont:()=>Wl,fontFamilies:()=>Ql});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:()=>he,baseLayerLuminanceValue:()=>ve,bodyFontValue:()=>Ae,controlCornerRadiusValue:()=>we,densityValue:()=>ye,designTokens:()=>De,designUnitValue:()=>xe,directionValue:()=>be,neutralPaletteValue:()=>me,strokeWidthValue:()=>fe,typeRampBaseFontSizeValue:()=>Te,typeRampBaseLineHeightValue:()=>Oe});var i=r(77981),n=r(92592),l=r(89074),g=r(4035),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([[180],{34180:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>hg,ColorToken:()=>bg,ColorTokens:()=>zg,DesignSystemEditor:()=>rg,DesignSystemExport:()=>cg,DesignSystemPreview:()=>Og,EventName:()=>Yl,PreviewComponents:()=>gg,PreviewForm:()=>Rg,PreviewGrid:()=>Eg,TypographyTokens:()=>Cg,defaultBodyFont:()=>Wl,fontFamilies:()=>Ql});var t={};r.r(t),r.d(t,{accentFillActive:()=>c.accentFillActive,accentFillActiveDelta:()=>c.accentFillActiveDelta,accentFillFocus:()=>c.accentFillFocus,accentFillFocusDelta:()=>c.accentFillFocusDelta,accentFillHover:()=>c.accentFillHover,accentFillHoverDelta:()=>c.accentFillHoverDelta,accentFillRest:()=>c.accentFillRest,accentFillRestDelta:()=>c.accentFillRestDelta,accentForegroundActive:()=>c.accentForegroundActive,accentForegroundActiveDelta:()=>c.accentForegroundActiveDelta,accentForegroundFocus:()=>c.accentForegroundFocus,accentForegroundFocusDelta:()=>c.accentForegroundFocusDelta,accentForegroundHover:()=>c.accentForegroundHover,accentForegroundHoverDelta:()=>c.accentForegroundHoverDelta,accentForegroundRest:()=>c.accentForegroundRest,accentForegroundRestDelta:()=>c.accentForegroundRestDelta,accentPalette:()=>c.accentPalette,baseHeightMultiplier:()=>c.baseHeightMultiplier,baseLayerLuminance:()=>c.baseLayerLuminance,bodyFont:()=>c.bodyFont,controlCornerRadius:()=>c.controlCornerRadius,density:()=>c.density,designUnit:()=>c.designUnit,direction:()=>c.direction,disabledOpacity:()=>c.disabledOpacity,fillColor:()=>c.fillColor,focusStrokeInner:()=>c.focusStrokeInner,focusStrokeOuter:()=>c.focusStrokeOuter,focusStrokeWidth:()=>c.focusStrokeWidth,foregroundOnAccentActive:()=>c.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>c.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>c.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>c.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>c.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>c.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>c.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>c.foregroundOnAccentRestLarge,neutralFillActive:()=>c.neutralFillActive,neutralFillActiveDelta:()=>c.neutralFillActiveDelta,neutralFillFocus:()=>c.neutralFillFocus,neutralFillFocusDelta:()=>c.neutralFillFocusDelta,neutralFillHover:()=>c.neutralFillHover,neutralFillHoverDelta:()=>c.neutralFillHoverDelta,neutralFillInputActive:()=>c.neutralFillInputActive,neutralFillInputActiveDelta:()=>c.neutralFillInputActiveDelta,neutralFillInputFocus:()=>c.neutralFillInputFocus,neutralFillInputFocusDelta:()=>c.neutralFillInputFocusDelta,neutralFillInputHover:()=>c.neutralFillInputHover,neutralFillInputHoverDelta:()=>c.neutralFillInputHoverDelta,neutralFillInputRest:()=>c.neutralFillInputRest,neutralFillInputRestDelta:()=>c.neutralFillInputRestDelta,neutralFillLayerRest:()=>c.neutralFillLayerRest,neutralFillLayerRestDelta:()=>c.neutralFillLayerRestDelta,neutralFillRest:()=>c.neutralFillRest,neutralFillRestDelta:()=>c.neutralFillRestDelta,neutralFillStealthActive:()=>c.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>c.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>c.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>c.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>c.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>c.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>c.neutralFillStealthRest,neutralFillStealthRestDelta:()=>c.neutralFillStealthRestDelta,neutralFillStrongActive:()=>c.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>c.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>c.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>c.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>c.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>c.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>c.neutralFillStrongRest,neutralFillStrongRestDelta:()=>c.neutralFillStrongRestDelta,neutralForegroundHint:()=>c.neutralForegroundHint,neutralForegroundRest:()=>c.neutralForegroundRest,neutralLayer1:()=>c.neutralLayer1,neutralLayer2:()=>c.neutralLayer2,neutralLayer3:()=>c.neutralLayer3,neutralLayer4:()=>c.neutralLayer4,neutralLayerCardContainer:()=>c.neutralLayerCardContainer,neutralLayerFloating:()=>c.neutralLayerFloating,neutralPalette:()=>c.neutralPalette,neutralStrokeActive:()=>c.neutralStrokeActive,neutralStrokeActiveDelta:()=>c.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>c.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>c.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>c.neutralStrokeFocus,neutralStrokeFocusDelta:()=>c.neutralStrokeFocusDelta,neutralStrokeHover:()=>c.neutralStrokeHover,neutralStrokeHoverDelta:()=>c.neutralStrokeHoverDelta,neutralStrokeRest:()=>c.neutralStrokeRest,neutralStrokeRestDelta:()=>c.neutralStrokeRestDelta,strokeWidth:()=>c.strokeWidth,typeRampBaseFontSize:()=>c.typeRampBaseFontSize,typeRampBaseLineHeight:()=>c.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>c.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>c.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>c.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>c.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>c.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>c.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>c.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>c.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>c.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>c.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>c.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>c.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>c.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>c.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>c.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>c.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>he,baseLayerLuminanceValue:()=>ve,bodyFontValue:()=>Ae,controlCornerRadiusValue:()=>we,densityValue:()=>ye,designTokens:()=>De,designUnitValue:()=>xe,directionValue:()=>be,neutralPaletteValue:()=>me,strokeWidthValue:()=>fe,typeRampBaseFontSizeValue:()=>Te,typeRampBaseLineHeightValue:()=>Oe});var i=r(55868),n=r(92592),l=r(89074),g=r(60724),d=r(83147),s=r(75951),c=r(13896),p=r(67973);const u=d.css`
2
2
  :host {
3
- border: calc(${p.strokeWidth} * 1px) solid transparent;
3
+ border: calc(${c.strokeWidth} * 1px) solid transparent;
4
4
  margin: 0;
5
- border-radius: calc(${p.controlCornerRadius} * 1px);
6
- padding: calc(${p.designUnit} * 1px);
5
+ border-radius: calc(${c.controlCornerRadius} * 1px);
6
+ padding: calc(${c.designUnit} * 1px);
7
7
  min-width: 64px;
8
8
  }
9
9
 
10
10
  .form-controls {
11
11
  display: grid;
12
- grid-gap: calc(${p.designUnit} * 1px);
13
- grid-column-gap: calc(${p.designUnit} * 7px);
12
+ grid-gap: calc(${c.designUnit} * 1px);
13
+ grid-column-gap: calc(${c.designUnit} * 7px);
14
14
  grid-template-columns: repeat(2, 1fr);
15
15
  }
16
16
 
@@ -25,7 +25,7 @@
25
25
  }
26
26
 
27
27
  .label {
28
- font-size: calc(${p.designUnit} * 1px + 0.7vmin);
28
+ font-size: calc(${c.designUnit} * 1px + 0.7vmin);
29
29
  }
30
30
 
31
31
  .actions {
@@ -33,7 +33,7 @@
33
33
  flex-direction: row;
34
34
  align-items: flex-end;
35
35
  justify-content: flex-end;
36
- padding: calc(${p.designUnit} * 2px);
36
+ padding: calc(${c.designUnit} * 2px);
37
37
  gap: 10px;
38
38
  }
39
39
 
@@ -44,14 +44,19 @@
44
44
  .submit-button {
45
45
  width: 70px;
46
46
  }
47
- `.withBehaviors((0,c.forcedColorsStylesheetBehavior)(s.css`
47
+ `.withBehaviors((0,s.forcedColorsStylesheetBehavior)(d.css`
48
48
  :host {
49
- background: ${u.H.Canvas};
50
- border-color: ${u.H.CanvasText};
49
+ background: ${p.H.Canvas};
50
+ border-color: ${p.H.CanvasText};
51
51
  }
52
- `)),m={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"},v=s.html`
52
+ `));var h=r(75320);const m=(0,h.createLogger)("foundation-form"),v={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"},b=d.html`
53
53
  <template>
54
- ${(0,s.when)((e=>e.jsonforms&&e.dispatch&&e.props),s.html`
54
+ ${(0,d.when)((e=>!1),d.html`
55
+ <zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
56
+ Copy autogenerated UI Schema
57
+ </zero-button>
58
+ `)}
59
+ ${(0,d.when)((e=>e.jsonforms&&e.dispatch&&e.props),d.html`
55
60
  <dispatch-renderer
56
61
  :jsonforms=${e=>e.jsonforms}
57
62
  :dispatch=${e=>e.dispatch}
@@ -60,7 +65,11 @@
60
65
  />
61
66
  `)}
62
67
  </template>
63
- `,b=(e,a,r)=>{var t,o,i,n;return null!==(n=null===(i=null===(o=null===(t=null==r?void 0:r.options)||void 0===t?void 0:t.i18n)||void 0===o?void 0:o.error)||void 0===i?void 0:i[e.keyword])&&void 0!==n?n:((e,a,r)=>{var t;return"pattern"===(null==e?void 0:e.keyword)?null!==(t=m[e.params.pattern])&&void 0!==t?t:"Invalid pattern.":(0,d.zjv)(e,a,r)})(e,a,r)};let f=class extends s.FASTElement{constructor(){super(...arguments),this.dispatch=e=>{this.jsonforms=Object.assign(Object.assign({},this.jsonforms),{core:(0,d.mpn)(this.jsonforms.core,e)}),this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})},this.validate=e=>{var a,r,t;const o=null===(r=null===(a=this.jsonforms)||void 0===a?void 0:a.core)||void 0===r?void 0:r.data;if(!o)return[];const i=[];return null===(t=null==e?void 0:e.elements)||void 0===t||t.forEach((e=>{var a,r,t,n;const l=null===(a=null==e?void 0:e.options)||void 0===a?void 0:a.validateFn;if("function"!=typeof l)return;const g=null===(t=null===(r=null==e?void 0:e.scope)||void 0===r?void 0:r.split("/"))||void 0===t?void 0:t.pop(),d=null==e?void 0:e.label;let s=null!==(n=l(o,g,d))&&void 0!==n?n:[];Array.isArray(s)||(s=[s]),i.push(...s)})),i}}schemaChanged(){var e,a,r,t;if(!this.schema)return;const o=null!==(e=this.uischema)&&void 0!==e?e:d.Iiz.uiSchema(this.schema);this.uischema||console.log("UI schema not provided. Auto generated schema:",o);const i=this.validate(o);this.jsonforms={core:(()=>{const e={data:this.data,schema:this.schema,uischema:o};return(0,d.mpn)(e,d.eXO.init(this.data,this.schema,o,{validationMode:this.validationMode||"ValidateAndShow",ajv:this.ajv,additionalErrors:i}))})(),config:(0,d.LsR)(void 0,d.eXO.setConfig(this.config)),i18n:(0,d.YC9)(this.i18n,d.eXO.updateI18n(null===(a=this.i18n)||void 0===a?void 0:a.locale,null===(r=this.i18n)||void 0===r?void 0:r.translate,(null===(t=this.i18n)||void 0===t?void 0:t.translateError)||b)),renderers:this.renderers,readonly:this.readonly},this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})}uischemaChanged(){this.schemaChanged()}dataChanged(){this.schemaChanged()}renderersChanged(){this.schemaChanged()}validationModeChanged(){this.schemaChanged()}ajvChanged(){this.schemaChanged()}readonlyChanged(){this.schemaChanged()}configChanged(){this.schemaChanged()}get props(){var e;if(!this.schema&&!this.uischema)return;const a=null!==(e=this.uischema)&&void 0!==e?e:d.Iiz.uiSchema(this.schema);return{uischema:Object.assign(Object.assign({},a),{elements:a.elements.map((e=>"#/properties/TIMESTAMP"===e.scope?Object.assign(Object.assign({},e),{options:{hidden:!0}}):e))}),schema:this.schema,path:"",enabled:!0,visible:!0}}};(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],f.prototype,"submitted",void 0),(0,n.__decorate)([s.observable],f.prototype,"jsonforms",void 0),(0,n.__decorate)([s.observable],f.prototype,"i18n",void 0),(0,n.__decorate)([s.observable],f.prototype,"schema",void 0),(0,n.__decorate)([s.observable],f.prototype,"uischema",void 0),(0,n.__decorate)([s.observable],f.prototype,"data",void 0),(0,n.__decorate)([s.observable],f.prototype,"renderers",void 0),(0,n.__decorate)([s.observable],f.prototype,"validationMode",void 0),(0,n.__decorate)([s.observable],f.prototype,"ajv",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],f.prototype,"readonly",void 0),(0,n.__decorate)([s.observable],f.prototype,"config",void 0),f=(0,n.__decorate)([(0,s.customElement)({name:"json-forms",template:v})],f);const w=s.css`
68
+ `,f=(e,a,r)=>{var t,o,i,n;return null!==(n=null===(i=null===(o=null===(t=null==r?void 0:r.options)||void 0===t?void 0:t.i18n)||void 0===o?void 0:o.error)||void 0===i?void 0:i[e.keyword])&&void 0!==n?n:((e,a,r)=>{var t;return"pattern"===(null==e?void 0:e.keyword)?null!==(t=v[e.params.pattern])&&void 0!==t?t:"Invalid pattern.":(0,g.zjv)(e,a,r)})(e,a,r)};let w=class extends d.FASTElement{constructor(){super(...arguments),this.dispatch=e=>{this.jsonforms=Object.assign(Object.assign({},this.jsonforms),{core:(0,g.mpn)(this.jsonforms.core,e)}),this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})},this.validate=e=>{var a,r,t;const o=null===(r=null===(a=this.jsonforms)||void 0===a?void 0:a.core)||void 0===r?void 0:r.data;if(!o)return[];const i=[];return null===(t=null==e?void 0:e.elements)||void 0===t||t.forEach((e=>{var a,r,t,n;const l=null===(a=null==e?void 0:e.options)||void 0===a?void 0:a.validateFn;if("function"!=typeof l)return;const g=null===(t=null===(r=null==e?void 0:e.scope)||void 0===r?void 0:r.split("/"))||void 0===t?void 0:t.pop(),d=null==e?void 0:e.label;let s=null!==(n=l(o,g,d))&&void 0!==n?n:[];Array.isArray(s)||(s=[s]),i.push(...s)})),i}}schemaChanged(){var e,a,r,t;if(!this.schema)return;this.uichemaToUse=null!==(e=this.uischema)&&void 0!==e?e:g.Iiz.uiSchema(this.schema),this.uischema||console.log("UI schema not provided. Auto generated schema:",this.uichemaToUse);const o=this.validate(this.uichemaToUse);this.jsonforms={core:(()=>{const e={data:this.data,schema:this.schema,uischema:this.uichemaToUse};return(0,g.mpn)(e,g.eXO.init(this.data,this.schema,this.uichemaToUse,{validationMode:this.validationMode||"ValidateAndShow",ajv:this.ajv,additionalErrors:o}))})(),config:(0,g.LsR)(void 0,g.eXO.setConfig(this.config)),i18n:(0,g.YC9)(this.i18n,g.eXO.updateI18n(null===(a=this.i18n)||void 0===a?void 0:a.locale,null===(r=this.i18n)||void 0===r?void 0:r.translate,(null===(t=this.i18n)||void 0===t?void 0:t.translateError)||f)),renderers:this.renderers,readonly:this.readonly},this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})}uischemaChanged(){this.schemaChanged()}dataChanged(){this.schemaChanged()}renderersChanged(){this.schemaChanged()}validationModeChanged(){this.schemaChanged()}ajvChanged(){this.schemaChanged()}readonlyChanged(){this.schemaChanged()}configChanged(){this.schemaChanged()}get props(){var e;if(!this.schema&&!this.uischema)return;const a=null!==(e=this.uischema)&&void 0!==e?e:g.Iiz.uiSchema(this.schema);return{uischema:Object.assign(Object.assign({},a),{elements:a.elements.map((e=>"#/properties/TIMESTAMP"===e.scope?Object.assign(Object.assign({},e),{options:{hidden:!0}}):e))}),schema:this.schema,path:"",enabled:!0,visible:!0}}copyUISchemaToClipboard(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){try{yield navigator.clipboard.writeText(JSON.stringify(this.uichemaToUse)),m.debug("Autogenerated UI schema copied to clipboard")}catch(e){m.error("Failed to copy autogenerated UI schema: ",e)}}))}};(0,n.__decorate)([(0,d.attr)({mode:"boolean"})],w.prototype,"submitted",void 0),(0,n.__decorate)([d.observable],w.prototype,"jsonforms",void 0),(0,n.__decorate)([d.observable],w.prototype,"i18n",void 0),(0,n.__decorate)([d.observable],w.prototype,"uichemaToUse",void 0),(0,n.__decorate)([d.observable],w.prototype,"schema",void 0),(0,n.__decorate)([d.observable],w.prototype,"uischema",void 0),(0,n.__decorate)([d.observable],w.prototype,"data",void 0),(0,n.__decorate)([d.observable],w.prototype,"renderers",void 0),(0,n.__decorate)([d.observable],w.prototype,"validationMode",void 0),(0,n.__decorate)([d.observable],w.prototype,"ajv",void 0),(0,n.__decorate)([(0,d.attr)({mode:"boolean"})],w.prototype,"readonly",void 0),(0,n.__decorate)([d.observable],w.prototype,"config",void 0),w=(0,n.__decorate)([(0,d.customElement)({name:"json-forms",template:b,styles:d.css`
69
+ .clipboard-button {
70
+ display: flex;
71
+ }
72
+ `})],w);const y=d.css`
64
73
  .array-list {
65
74
  display: flex;
66
75
  align-items: center;
@@ -73,16 +82,16 @@
73
82
  .item-control-btn:hover {
74
83
  color: var(--accent-foreground-hover);
75
84
  }
76
- `;let y=class extends s.FASTElement{controlChanged(){if(this.pathName=Object.keys(this.control.schema.properties)[0],this.control.uischema.options)return void(this.uiSchema=this.control.uischema.options.childUiSchema);this.schema=this.control.schema.properties[this.pathName].items;const e=d.Iiz.uiSchema(this.schema);this.uiSchema=Object.assign(Object.assign({},e),{type:"HorizontalLayout"}),console.log("Auto generated uiSchema for layout array:",this.uiSchema)}addItem(){const e=this.control.data[this.pathName]&&0!==Object.keys(this.control.data[this.pathName]).length?[...this.control.data[this.pathName],{}]:[{}],a=Object.assign(Object.assign({},this.control.data),{[this.pathName]:e});this.$emit("data-change",{data:a})}deleteItem(e){const a=this.control.data[this.pathName],r=[a[e]],t=a.filter((e=>!r.includes(e))),o=Object.assign(Object.assign({},this.control.data),{[this.pathName]:t});this.$emit("data-change",{data:o})}};(0,n.__decorate)([s.observable],y.prototype,"form",void 0),(0,n.__decorate)([s.observable],y.prototype,"control",void 0),(0,n.__decorate)([s.observable],y.prototype,"pathName",void 0),(0,n.__decorate)([s.observable],y.prototype,"schema",void 0),(0,n.__decorate)([s.observable],y.prototype,"uiSchema",void 0),y=(0,n.__decorate)([(0,s.customElement)({name:"array-list-wrapper",styles:w,template:s.html`
77
- ${e=>((e="zero")=>s.html`
85
+ `;let x=class extends d.FASTElement{controlChanged(){if(this.pathName=Object.keys(this.control.schema.properties)[0],this.control.uischema.options)return void(this.uiSchema=this.control.uischema.options.childUiSchema);this.schema=this.control.schema.properties[this.pathName].items;const e=g.Iiz.uiSchema(this.schema);this.uiSchema=Object.assign(Object.assign({},e),{type:"HorizontalLayout"}),console.log("Auto generated uiSchema for layout array:",this.uiSchema)}addItem(){const e=this.control.data[this.pathName]&&0!==Object.keys(this.control.data[this.pathName]).length?[...this.control.data[this.pathName],{}]:[{}],a=Object.assign(Object.assign({},this.control.data),{[this.pathName]:e});this.$emit("data-change",{data:a})}deleteItem(e){const a=this.control.data[this.pathName],r=[a[e]],t=a.filter((e=>!r.includes(e))),o=Object.assign(Object.assign({},this.control.data),{[this.pathName]:t});this.$emit("data-change",{data:o})}};(0,n.__decorate)([d.observable],x.prototype,"form",void 0),(0,n.__decorate)([d.observable],x.prototype,"control",void 0),(0,n.__decorate)([d.observable],x.prototype,"pathName",void 0),(0,n.__decorate)([d.observable],x.prototype,"schema",void 0),(0,n.__decorate)([d.observable],x.prototype,"uiSchema",void 0),x=(0,n.__decorate)([(0,d.customElement)({name:"array-list-wrapper",styles:y,template:d.html`
86
+ ${e=>((e="zero")=>d.html`
78
87
  <template>
79
- ${(0,s.repeat)((e=>e.control.data[e.pathName]),s.html`
88
+ ${(0,d.repeat)((e=>e.control.data[e.pathName]),d.html`
80
89
  <div class="array-list">
81
90
  <dispatch-renderer
82
91
  ?submitted=${(e,a)=>a.parent.form.submitted}
83
92
  :dispatch=${(e,a)=>a.parent.form.dispatch}
84
93
  :jsonforms=${(e,a)=>a.parent.form.jsonforms}
85
- :props=${(e,a)=>({uischema:a.parent.uiSchema,schema:a.parent.schema,renderers:a.parent.control.renderers,path:(0,d.ZBw)(a.parent.pathName,`${a.index}`),enabled:a.parent.control.enabled})}
94
+ :props=${(e,a)=>({uischema:a.parent.uiSchema,schema:a.parent.schema,renderers:a.parent.control.renderers,path:(0,g.ZBw)(a.parent.pathName,`${a.index}`),enabled:a.parent.control.enabled})}
86
95
  :prefix=${(e,a)=>a.parent.form.jsonforms.core.uischema.dsPrefix}
87
96
  ></dispatch-renderer>
88
97
  <${e}-button
@@ -106,7 +115,7 @@
106
115
  </${e}-button>
107
116
  </template>
108
117
  `)(e.form.jsonforms.core.uischema.dsPrefix)}
109
- `})],y);const x=s.css`
118
+ `})],x);const z=d.css`
110
119
  .tabs-container::part(tablist) {
111
120
  background-color: transparent;
112
121
  border-bottom: none;
@@ -119,16 +128,16 @@
119
128
  .tab-panel-control {
120
129
  margin-top: 10px;
121
130
  }
122
- `;let z=class extends s.FASTElement{};(0,n.__decorate)([s.observable],z.prototype,"form",void 0),(0,n.__decorate)([s.observable],z.prototype,"control",void 0),z=(0,n.__decorate)([(0,s.customElement)({name:"categorization-wrapper",styles:x,template:s.html`
123
- ${e=>((e="zero")=>s.html`
131
+ `;let k=class extends d.FASTElement{};(0,n.__decorate)([d.observable],k.prototype,"form",void 0),(0,n.__decorate)([d.observable],k.prototype,"control",void 0),k=(0,n.__decorate)([(0,d.customElement)({name:"categorization-wrapper",styles:z,template:d.html`
132
+ ${e=>((e="zero")=>d.html`
124
133
  <template>
125
134
  <${e}-tabs class="tabs-container">
126
- ${(0,s.repeat)((e=>e.control.uischema.elements),s.html`
135
+ ${(0,d.repeat)((e=>e.control.uischema.elements),d.html`
127
136
  <${e}-tab class="tab-control">${(e,a)=>{var r;return null!==(r=e.label)&&void 0!==r?r:`Category ${a.index+1}`}}</${e}-tab>
128
137
  `,{positioning:!0})}
129
- ${(0,s.repeat)((e=>e.control.uischema.elements),s.html`
138
+ ${(0,d.repeat)((e=>e.control.uischema.elements),d.html`
130
139
  <${e}-tab-panel class="tab-panel-control">
131
- ${(0,s.repeat)((e=>e.options.childElements),s.html`
140
+ ${(0,d.repeat)((e=>e.options.childElements),d.html`
132
141
  <dispatch-renderer
133
142
  ?submitted=${(e,a)=>a.parentContext.parent.form.submitted}
134
143
  :dispatch=${(e,a)=>a.parentContext.parent.form.dispatch}
@@ -141,9 +150,9 @@
141
150
  </${e}-tabs>
142
151
  </template>
143
152
  `)(e.form.prefix)}
144
- `})],z);const k=s.html`
153
+ `})],k);const S=d.html`
145
154
  <template>
146
- ${(0,s.when)((e=>{var a;return null===(a=e.control)||void 0===a?void 0:a.visible}),s.html`
155
+ ${(0,d.when)((e=>{var a;return null===(a=e.control)||void 0===a?void 0:a.visible}),d.html`
147
156
  <div
148
157
  class="wrapperRoot"
149
158
  id=${e=>e.control.path+"-wrapper"}
@@ -161,7 +170,7 @@
161
170
  </div>
162
171
  `)}
163
172
  </template>
164
- `,S=s.css`
173
+ `,C=d.css`
165
174
  .wrapperRoot {
166
175
  margin-bottom: 20px;
167
176
  }
@@ -184,31 +193,31 @@
184
193
  width: 100%;
185
194
  align-items: center;
186
195
  }
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 O=s.html`
196
+ `;let A=class extends d.FASTElement{get showDescription(){return!(0,g.tg6)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,g.lgi)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,n.__decorate)([d.observable],A.prototype,"control",void 0),(0,n.__decorate)([d.observable],A.prototype,"touched",void 0),(0,n.__decorate)([d.volatile],A.prototype,"showDescription",null),(0,n.__decorate)([d.volatile],A.prototype,"computedLabel",null),A=(0,n.__decorate)([(0,d.customElement)({name:"control-wrapper",styles:C,template:S})],A);var T=r(80340),O=r.n(T);const D=d.html`
188
197
  <template>${e=>e.determinedRenderer.renderer}</template>
189
- `,D=s.css``;let N=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],N.prototype,"jsonforms",void 0),(0,n.__decorate)([s.observable],N.prototype,"props",void 0),(0,n.__decorate)([s.observable],N.prototype,"touched",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],N.prototype,"submitted",void 0),(0,n.__decorate)([s.observable],N.prototype,"dispatch",void 0),(0,n.__decorate)([s.observable],N.prototype,"control",void 0),(0,n.__decorate)([s.observable],N.prototype,"renderer",void 0),(0,n.__decorate)([s.observable],N.prototype,"prefix",void 0),N=(0,n.__decorate)([(0,s.customElement)({name:"dispatch-renderer",template:O,styles:D})],N);const F=s.css`
198
+ `,N=d.css``;let F=class extends d.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,g.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===g.AZl||void 0===g.AZl?void 0:(0,g.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=O()(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)([d.observable],F.prototype,"jsonforms",void 0),(0,n.__decorate)([d.observable],F.prototype,"props",void 0),(0,n.__decorate)([d.observable],F.prototype,"touched",void 0),(0,n.__decorate)([(0,d.attr)({mode:"boolean"})],F.prototype,"submitted",void 0),(0,n.__decorate)([d.observable],F.prototype,"dispatch",void 0),(0,n.__decorate)([d.observable],F.prototype,"control",void 0),(0,n.__decorate)([d.observable],F.prototype,"renderer",void 0),(0,n.__decorate)([d.observable],F.prototype,"prefix",void 0),F=(0,n.__decorate)([(0,d.customElement)({name:"dispatch-renderer",template:D,styles:N})],F);const $=d.css`
190
199
  .tabs-container::part(stepper-panel-container) {
191
200
  display: flex;
192
201
  justify-content: flex-start;
193
202
  align-items: flex-start;
194
203
  }
195
- `;let $=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),this.propertyNames=this.control.uischema.elements.map((e=>e.scope.split("/").pop())),this.validation=this.propertyNames.map(((e,a)=>({isValid:()=>0===(0,d.qiS)(e,this.control.schema)(this.form).length&&Object.keys(this.control.data)[a]===e})))}submit(){this.$emit("submit-button-clicked")}nextStep(){this.$emit("submit-part");const e=this.propertyNames[this.stepper.activeTabIndex];this.control.data[e]||this.$emit("data-change",{data:Object.assign(Object.assign({},this.control.data),{[e]:{}})})}resetValidation(){this.$emit("reset-form")}};(0,n.__decorate)([s.observable],$.prototype,"form",void 0),(0,n.__decorate)([s.observable],$.prototype,"control",void 0),(0,n.__decorate)([s.observable],$.prototype,"validation",void 0),(0,n.__decorate)([s.observable],$.prototype,"stepper",void 0),(0,n.__decorate)([s.observable],$.prototype,"propertyNames",void 0),$=(0,n.__decorate)([(0,s.customElement)({name:"stepper-wrapper",styles:F,template:s.html`
196
- ${e=>((e="zero")=>s.html`
204
+ `;let L=class extends d.FASTElement{connectedCallback(){super.connectedCallback(),this.propertyNames=this.control.uischema.elements.map((e=>e.scope.split("/").pop())),this.validation=this.propertyNames.map(((e,a)=>({isValid:()=>0===(0,g.qiS)(e,this.control.schema)(this.form).length&&Object.keys(this.control.data)[a]===e})))}submit(){this.$emit("submit-button-clicked")}nextStep(){this.$emit("submit-part");const e=this.propertyNames[this.stepper.activeTabIndex];this.control.data[e]||this.$emit("data-change",{data:Object.assign(Object.assign({},this.control.data),{[e]:{}})})}resetValidation(){this.$emit("reset-form")}};(0,n.__decorate)([d.observable],L.prototype,"form",void 0),(0,n.__decorate)([d.observable],L.prototype,"control",void 0),(0,n.__decorate)([d.observable],L.prototype,"validation",void 0),(0,n.__decorate)([d.observable],L.prototype,"stepper",void 0),(0,n.__decorate)([d.observable],L.prototype,"propertyNames",void 0),L=(0,n.__decorate)([(0,d.customElement)({name:"stepper-wrapper",styles:$,template:d.html`
205
+ ${e=>((e="zero")=>d.html`
197
206
  <template>
198
207
  <${e}-stepper
199
208
  class="tabs-container"
200
- ${(0,s.ref)("stepper")}
209
+ ${(0,d.ref)("stepper")}
201
210
  orientation="${e=>{var a;return(null===(a=e.control.uischema.options)||void 0===a?void 0:a.orientation)?e.control.uischema.options.orientation:"vertical"}}"
202
211
  @next-step=${e=>e.nextStep()}
203
212
  @validation-success=${e=>e.resetValidation()}
204
213
  @submit=${e=>e.submit()}
205
214
  :validation=${e=>e.validation}>
206
- ${(0,s.repeat)((e=>e.control.uischema.elements),s.html`
215
+ ${(0,d.repeat)((e=>e.control.uischema.elements),d.html`
207
216
  <${e}-stepper-tab class="tab-control">${(e,a)=>{var r;return null!==(r=e.label)&&void 0!==r?r:`Step ${a.index+1}`}}</${e}-stepper-tab>
208
217
  `,{positioning:!0})}
209
- ${(0,s.repeat)((e=>e.control.uischema.elements),s.html`
218
+ ${(0,d.repeat)((e=>e.control.uischema.elements),d.html`
210
219
  <${e}-stepper-tab-panel class="tab-panel-control">
211
- ${(0,s.repeat)((e=>e.options.childElements),s.html`
220
+ ${(0,d.repeat)((e=>e.options.childElements),d.html`
212
221
  <dispatch-renderer
213
222
  ?submitted=${(e,a)=>a.parentContext.parent.form.submitted}
214
223
  :dispatch=${(e,a)=>a.parentContext.parent.form.dispatch}
@@ -221,7 +230,7 @@
221
230
  </${e}-stepper>
222
231
  </template>
223
232
  `)(e.form.prefix)}
224
- `})],$);const L=s.html`
233
+ `})],L);const M=d.html`
225
234
  <template>
226
235
  <json-forms
227
236
  @submit-button-clicked=${e=>e._submit()}
@@ -235,7 +244,7 @@
235
244
  :data=${e=>e.data}
236
245
  @data-change=${(e,a)=>e.onChange(a.event)}
237
246
  ></json-forms>
238
- ${(0,s.when)((e=>e.isSubmitHidden),s.html`
247
+ ${(0,d.when)((e=>e.isSubmitHidden),d.html`
239
248
  <slot name="userActions" part="userActions" class="actions">
240
249
  <fast-button
241
250
  @click="${e=>e._submit()}"
@@ -248,8 +257,8 @@
248
257
  </slot>
249
258
  `)}
250
259
  </template>
251
- `,M=(0,d.or)(d.KmX,(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"boolean")))))),R={renderer:s.html`
252
- ${e=>((e="zero")=>s.html`
260
+ `,R=(0,g.or)(g.KmX,(0,g.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,g.ndu)(e,"boolean")))))),j={renderer:d.html`
261
+ ${e=>((e="zero")=>d.html`
253
262
  <template>
254
263
  <control-wrapper
255
264
  :control=${e=>e.control}
@@ -268,8 +277,8 @@
268
277
  </control-wrapper>
269
278
  </template>
270
279
  `)(e.prefix)}
271
- `,tester:(0,d.yMz)(3,M),mapper:d.xq9};var j=r(86175);const I=e=>a=>{if(!a||!(0,d.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},E=(0,d.xDy)(I("allOptionsResourceName"),(0,d.or)((0,d.wcO)((e=>(0,d.ndu)(e,"array"))),(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"array")))))));j.MultiselectDatasource;const P={renderer:s.html`
272
- ${e=>((e="zero")=>s.html`
280
+ `,tester:(0,g.yMz)(3,R),mapper:g.xq9};var I=r(29530);const E=e=>a=>{if(!a||!(0,g.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},P=(0,g.xDy)(E("allOptionsResourceName"),(0,g.or)((0,g.wcO)((e=>(0,g.ndu)(e,"array"))),(0,g.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,g.ndu)(e,"array")))))));I.MultiselectDatasource;const U={renderer:d.html`
281
+ ${e=>((e="zero")=>d.html`
273
282
  <template>
274
283
  <control-wrapper
275
284
  :control=${e=>e.control}
@@ -294,8 +303,8 @@
294
303
  </control-wrapper>
295
304
  </template>
296
305
  `)(e.prefix)}
297
- `,tester:(0,d.yMz)(4,E),mapper:d.xq9};j.OptionsDatasource;const U={renderer:s.html`
298
- ${e=>((e="zero")=>s.html`
306
+ `,tester:(0,g.yMz)(4,P),mapper:g.xq9};I.OptionsDatasource;const G={renderer:d.html`
307
+ ${e=>((e="zero")=>d.html`
299
308
  <template>
300
309
  <control-wrapper
301
310
  :control=${e=>e.control}
@@ -323,8 +332,8 @@
323
332
  </control-wrapper>
324
333
  </template>
325
334
  `)(e.prefix)}
326
- `,tester:(0,d.yMz)(4,(0,d.or)(I("allOptionsResourceName"),I("data"))),mapper:d.xq9},G=(0,d.wcO)((e=>"org.joda.time.DateTime"===e.description)),B=(0,d.or)(G,(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>"org.joda.time.DateTime"===e.description))))),_={renderer:s.html`
327
- ${e=>((e="zero")=>s.html`
335
+ `,tester:(0,g.yMz)(4,(0,g.or)(E("allOptionsResourceName"),E("data"))),mapper:g.xq9},B=(0,g.wcO)((e=>"org.joda.time.DateTime"===e.description)),_=(0,g.or)(B,(0,g.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>"org.joda.time.DateTime"===e.description))))),H={renderer:d.html`
336
+ ${e=>((e="zero")=>d.html`
328
337
  <template>
329
338
  <control-wrapper
330
339
  :control=${e=>e.control}
@@ -344,8 +353,8 @@
344
353
  </control-wrapper>
345
354
  </template>
346
355
  `)(e.prefix)}
347
- `,tester:(0,d.yMz)(4,B),mapper:d.xq9},H=(0,d.or)(d.UvK,(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>e.hasOwnProperty("enum")))))),Y={renderer:s.html`
348
- ${e=>((e="zero")=>s.html`
356
+ `,tester:(0,g.yMz)(4,_),mapper:g.xq9},Y=(0,g.or)(g.UvK,(0,g.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>e.hasOwnProperty("enum")))))),V={renderer:d.html`
357
+ ${e=>((e="zero")=>d.html`
349
358
  <template>
350
359
  <control-wrapper
351
360
  :control=${e=>e.control}
@@ -360,14 +369,14 @@
360
369
  id=${e=>e.control.path}
361
370
  data-test-id=${e=>e.control.path}
362
371
  >
363
- ${(0,s.repeat)((e=>e.control.options),s.html`
372
+ ${(0,d.repeat)((e=>e.control.options),d.html`
364
373
  <${e}-option>${e=>e.label}</${e}-option>
365
374
  `)}
366
375
  </${e}-combobox>
367
376
  </control-wrapper>
368
377
  </template>
369
378
  `)(e.prefix)}
370
- `,tester:(0,d.yMz)(3,H),mapper:(e,a)=>{const r=(0,d.xq9)(e,a),t=a.options||(r.schema.enum||r.schema.oneOf.find((e=>e.hasOwnProperty("enum"))).enum).map((a=>(0,d.vld)(a,(0,d.Ty2)()(e),(0,d.B49)(r.schema,r.uischema,r.path))))||r.schema.const&&[(0,d.vld)(r.schema.const,(0,d.Ty2)()(e),(0,d.B49)(r.schema,r.uischema,r.path))];return Object.assign(Object.assign({},r),{options:t})}},V={renderer:s.html`
379
+ `,tester:(0,g.yMz)(3,Y),mapper:(e,a)=>{const r=(0,g.xq9)(e,a),t=a.options||(r.schema.enum||r.schema.oneOf.find((e=>e.hasOwnProperty("enum"))).enum).map((a=>(0,g.vld)(a,(0,g.Ty2)()(e),(0,g.B49)(r.schema,r.uischema,r.path))))||r.schema.const&&[(0,g.vld)(r.schema.const,(0,g.Ty2)()(e),(0,g.B49)(r.schema,r.uischema,r.path))];return Object.assign(Object.assign({},r),{options:t})}},Q={renderer:d.html`
371
380
  <template>
372
381
  <pre
373
382
  :value=${e=>e.control.data||""}
@@ -376,18 +385,18 @@
376
385
  style="display: none"
377
386
  ></pre>
378
387
  </template>
379
- `,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},Q=(0,d.wcO)((e=>(0,d.ndu)(e,"array")&&e.hasOwnProperty("items")&&"object"==e.items.type)),W={renderer:s.html`
388
+ `,tester:(0,g.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:g.xq9},W=(0,g.wcO)((e=>(0,g.ndu)(e,"array")&&e.hasOwnProperty("items")&&"object"==e.items.type)),q={renderer:d.html`
380
389
  <template>
381
390
  <array-list-wrapper :form=${e=>e} :control=${e=>e.control}></array-list-wrapper>
382
391
  </template>
383
- `,tester:(0,d.yMz)(2,Q),mapper:d.NFL},q={renderer:s.html`
392
+ `,tester:(0,g.yMz)(2,W),mapper:g.NFL},J={renderer:d.html`
384
393
  <template>
385
394
  <categorization-wrapper :form=${e=>e} :control=${e=>e.control}></categorization-wrapper>
386
395
  </template>
387
- `,tester:(0,d.yMz)(2,(e=>"Categorization"===e.type)),mapper:d.NFL},J={renderer:s.html`
396
+ `,tester:(0,g.yMz)(2,(e=>"Categorization"===e.type)),mapper:g.NFL},Z={renderer:d.html`
388
397
  <template>
389
398
  <div>
390
- ${(0,s.when)((e=>e.control.label),s.html`
399
+ ${(0,d.when)((e=>e.control.label),d.html`
391
400
  <div
392
401
  for="${e=>e.control.path+"-wrapper"}"
393
402
  style="color: rgb(135, 155, 166);
@@ -398,7 +407,7 @@
398
407
  ${e=>e.control.label}
399
408
  </div>
400
409
  `)}
401
- ${(0,s.repeat)((e=>e.control.uischema.options.childElements),s.html`
410
+ ${(0,d.repeat)((e=>e.control.uischema.options.childElements),d.html`
402
411
  <dispatch-renderer
403
412
  ?submitted=${(e,a)=>a.parent.submitted}
404
413
  :dispatch=${(e,a)=>a.parent.dispatch}
@@ -408,7 +417,7 @@
408
417
  `)}
409
418
  </div>
410
419
  </template>
411
- `,tester:(0,d.yMz)(2,d.tyy),mapper:d.NFL},Z={renderer:s.html`
420
+ `,tester:(0,g.yMz)(2,g.tyy),mapper:g.NFL},K={renderer:d.html`
412
421
  <template>
413
422
  <div
414
423
  style="
@@ -416,7 +425,7 @@
416
425
  flex-direction: row;
417
426
  gap: 10px"
418
427
  >
419
- ${(0,s.repeat)((e=>e.control.uischema.elements),s.html`
428
+ ${(0,d.repeat)((e=>e.control.uischema.elements),d.html`
420
429
  <dispatch-renderer
421
430
  ?submitted=${(e,a)=>a.parent.submitted}
422
431
  :dispatch=${(e,a)=>a.parent.dispatch}
@@ -426,10 +435,10 @@
426
435
  `)}
427
436
  </div>
428
437
  </template>
429
- `,tester:(0,d.yMz)(2,(e=>"HorizontalLayout"===e.type)),mapper:d.NFL},K={renderer:s.html`
438
+ `,tester:(0,g.yMz)(2,(e=>"HorizontalLayout"===e.type)),mapper:g.NFL},X={renderer:d.html`
430
439
  <template>
431
440
  <div>
432
- ${(0,s.repeat)((e=>e.control.uischema.elements),s.html`
441
+ ${(0,d.repeat)((e=>e.control.uischema.elements),d.html`
433
442
  <dispatch-renderer
434
443
  ?submitted=${(e,a)=>a.parent.submitted}
435
444
  :dispatch=${(e,a)=>a.parent.dispatch}
@@ -439,11 +448,11 @@
439
448
  `)}
440
449
  </div>
441
450
  </template>
442
- `,tester:(0,d.yMz)(2,d.Lki),mapper:d.NFL},X={renderer:s.html`
451
+ `,tester:(0,g.yMz)(2,g.Lki),mapper:g.NFL},ee={renderer:d.html`
443
452
  <template>
444
453
  <stepper-wrapper :form=${e=>e} :control=${e=>e.control}></stepper-wrapper>
445
454
  </template>
446
- `,tester:(0,d.yMz)(3,(e=>"Stepper"===e.type)),mapper:d.NFL},ee={renderer:s.html`
455
+ `,tester:(0,g.yMz)(3,(e=>"Stepper"===e.type)),mapper:g.NFL},ae={renderer:d.html`
447
456
  <template>
448
457
  <div
449
458
  style="
@@ -452,7 +461,7 @@
452
461
  flex-wrap: wrap;
453
462
  justify-content: space-between;"
454
463
  >
455
- ${(0,s.repeat)((e=>e.control.uischema.elements),s.html`
464
+ ${(0,d.repeat)((e=>e.control.uischema.elements),d.html`
456
465
  <div style="width: 49%">
457
466
  <dispatch-renderer
458
467
  ?submitted=${(e,a)=>a.parent.submitted}
@@ -464,8 +473,8 @@
464
473
  `)}
465
474
  </div>
466
475
  </template>
467
- `,tester:(0,d.yMz)(2,(e=>"LayoutVertical2Columns"===e.type)),mapper:d.NFL},ae=e=>(0,d.ndu)(e,"number")||(0,d.ndu)(e,"integer"),re=(0,d.wcO)((e=>ae(e)||e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>ae(e))))),te={renderer:s.html`
468
- ${e=>((e="zero")=>s.html`
476
+ `,tester:(0,g.yMz)(2,(e=>"LayoutVertical2Columns"===e.type)),mapper:g.NFL},re=e=>(0,g.ndu)(e,"number")||(0,g.ndu)(e,"integer"),te=(0,g.wcO)((e=>re(e)||e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>re(e))))),oe={renderer:d.html`
477
+ ${e=>((e="zero")=>d.html`
469
478
  <template>
470
479
  <control-wrapper
471
480
  :control=${e=>e.control}
@@ -489,8 +498,8 @@
489
498
  </control-wrapper>
490
499
  </template>
491
500
  `)(e.prefix)}
492
- `,tester:(0,d.yMz)(3,re),mapper:d.xq9},oe=s.html`
493
- ${e=>((e="zero")=>s.html`
501
+ `,tester:(0,g.yMz)(3,te),mapper:g.xq9},ie=d.html`
502
+ ${e=>((e="zero")=>d.html`
494
503
  <template>
495
504
  <control-wrapper
496
505
  :control=${e=>e.control}
@@ -512,11 +521,11 @@
512
521
  </control-wrapper>
513
522
  </template>
514
523
  `)(e.prefix)}
515
- `,ie=(0,g.createLogger)("foundation-form"),ne={renderer:oe,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},le=[{renderer:oe,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},ne,R,W,q,J,Z,ee,K,X,te,P,Y,U,_,V];let ge=class extends c.FoundationElement{constructor(){super(...arguments),this.renderers=le,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,ie.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(ie.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})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}submitPart(e){this.submitted=!0}onChange(e){ie.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};var de,se,ce,pe,ue;(0,n.__decorate)([s.attr],ge.prototype,"resourceName",void 0),(0,n.__decorate)([s.observable],ge.prototype,"uischema",void 0),(0,n.__decorate)([s.observable],ge.prototype,"renderers",void 0),(0,n.__decorate)([s.observable],ge.prototype,"jsonSchema",void 0),(0,n.__decorate)([l.lj],ge.prototype,"connect",void 0),(0,n.__decorate)([s.observable],ge.prototype,"data",void 0),(0,n.__decorate)([s.observable],ge.prototype,"submitting",void 0),(0,n.__decorate)([s.observable],ge.prototype,"submitted",void 0),(0,n.__decorate)([(0,s.attr)({mode:"boolean"})],ge.prototype,"readonly",void 0),(0,n.__decorate)([(0,s.attr)({attribute:"hide-submit-button",mode:"boolean"})],ge.prototype,"hideSubmit",void 0),(0,n.__decorate)([s.volatile],ge.prototype,"isSubmitHidden",null),ge=(0,n.__decorate)([(0,s.customElement)({name:"foundation-form",template:L,styles:h})],ge),function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519"}(de||(de={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(se||(se={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(ce||(ce={})),function(e){e.grey="#7c909b"}(pe||(pe={})),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"}(ue||(ue={}));const he=(0,j.paletteFromHex)(se.blue),me=(0,j.paletteFromHex)(pe.grey),ve=p.StandardLuminance.DarkMode;const be=r(5598).N.ltr,fe=p.strokeWidth.getValueFor(p.strokeWidth.appliedTo[0]),we=4,ye=p.density.getValueFor(p.density.appliedTo[0]),xe=4;var ze=r(47823);const ke=()=>{(0,ze.sW)("\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")},Se='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Ce=(e=ze.Hd.Normal,a=ze.U9.Regular)=>(0,ze.py)(Se,e,a),Ae=Se,Te=p.typeRampBaseFontSize.getValueFor(p.typeRampBaseFontSize.appliedTo[0]),Oe=p.typeRampBaseLineHeight.getValueFor(p.typeRampBaseLineHeight.appliedTo[0]),De={design_tokens:{color:{accent:{$value:he.source.toColorString(),$type:"color"},neutral:{$value:me.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Ae,$type:"fontFamily"}},typography:{baseFontSize:{$value:Te,$type:"dimension"},baseLineHeight:{$value:Oe,$type:"dimension"}},mode:{luminance:{$value:ve,$type:"number"}},style:{density:{$value:ye,$type:"number"},borderRadius:{$value:we,$type:"number"},strokeWidth:{$value:fe,$type:"number"}},space:{designUnit:{$value:xe,$type:"number"}}}};class Ne extends j.Accordion{}const Fe=Ne.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,j.foundationAccordionTemplate)(e,a),styles:(e,a)=>s.css`
516
- ${(0,j.foundationAccordionStyles)(e,a)}
517
- `,shadowOptions:j.foundationAccordionShadowOptions},j.defaultAccordionConfig));class $e extends j.AccordionItem{}const Le=$e.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,j.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>s.css`
518
- ${(0,j.foundationAccordionItemStyles)(e,a)};
519
- `,shadowOptions:j.foundationAccordionItemShadowOptions},j.defaultAccordionItemConfig));class Me extends j.ActionsMenu{}const Re=Me.compose({baseName:"actions-menu",styles:(e,a)=>s.css`
524
+ `,ne={renderer:ie,tester:(0,g.yMz)(2,g.Wdb),mapper:g.xq9},le=[{renderer:ie,tester:(0,g.yMz)(1,g.DRl),mapper:g.xq9},ne,j,q,J,Z,K,ae,X,ee,oe,U,V,G,H,Q];let ge=class extends s.FoundationElement{constructor(){super(...arguments),this.renderers=le,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,m.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 d.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(m.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})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}submitPart(e){this.submitted=!0}onChange(e){m.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};var de,se,ce,pe,ue;(0,n.__decorate)([d.attr],ge.prototype,"resourceName",void 0),(0,n.__decorate)([d.observable],ge.prototype,"uischema",void 0),(0,n.__decorate)([d.observable],ge.prototype,"renderers",void 0),(0,n.__decorate)([d.observable],ge.prototype,"jsonSchema",void 0),(0,n.__decorate)([l.lj],ge.prototype,"connect",void 0),(0,n.__decorate)([d.observable],ge.prototype,"data",void 0),(0,n.__decorate)([d.observable],ge.prototype,"submitting",void 0),(0,n.__decorate)([d.observable],ge.prototype,"submitted",void 0),(0,n.__decorate)([(0,d.attr)({mode:"boolean"})],ge.prototype,"readonly",void 0),(0,n.__decorate)([(0,d.attr)({attribute:"hide-submit-button",mode:"boolean"})],ge.prototype,"hideSubmit",void 0),(0,n.__decorate)([d.volatile],ge.prototype,"isSubmitHidden",null),ge=(0,n.__decorate)([(0,d.customElement)({name:"foundation-form",template:M,styles:u})],ge),function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519"}(de||(de={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(se||(se={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(ce||(ce={})),function(e){e.grey="#7c909b"}(pe||(pe={})),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"}(ue||(ue={}));const he=(0,I.paletteFromHex)(se.blue),me=(0,I.paletteFromHex)(pe.grey),ve=c.StandardLuminance.DarkMode;const be=r(5598).N.ltr,fe=c.strokeWidth.getValueFor(c.strokeWidth.appliedTo[0]),we=4,ye=c.density.getValueFor(c.density.appliedTo[0]),xe=4;var ze=r(47823);const ke=()=>{(0,ze.sW)("\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")},Se='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Ce=(e=ze.Hd.Normal,a=ze.U9.Regular)=>(0,ze.py)(Se,e,a),Ae=Se,Te=c.typeRampBaseFontSize.getValueFor(c.typeRampBaseFontSize.appliedTo[0]),Oe=c.typeRampBaseLineHeight.getValueFor(c.typeRampBaseLineHeight.appliedTo[0]),De={design_tokens:{color:{accent:{$value:he.source.toColorString(),$type:"color"},neutral:{$value:me.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Ae,$type:"fontFamily"}},typography:{baseFontSize:{$value:Te,$type:"dimension"},baseLineHeight:{$value:Oe,$type:"dimension"}},mode:{luminance:{$value:ve,$type:"number"}},style:{density:{$value:ye,$type:"number"},borderRadius:{$value:we,$type:"number"},strokeWidth:{$value:fe,$type:"number"}},space:{designUnit:{$value:xe,$type:"number"}}}};class Ne extends I.Accordion{}const Fe=Ne.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,I.foundationAccordionTemplate)(e,a),styles:(e,a)=>d.css`
525
+ ${(0,I.foundationAccordionStyles)(e,a)}
526
+ `,shadowOptions:I.foundationAccordionShadowOptions},I.defaultAccordionConfig));class $e extends I.AccordionItem{}const Le=$e.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,I.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>d.css`
527
+ ${(0,I.foundationAccordionItemStyles)(e,a)};
528
+ `,shadowOptions:I.foundationAccordionItemShadowOptions},I.defaultAccordionItemConfig));class Me extends I.ActionsMenu{}const Re=Me.compose({baseName:"actions-menu",styles:(e,a)=>d.css`
520
529
  :host {
521
530
  --actions-opener-heigght-multiplier: 0.6px;
522
531
  --menu-item-height-multiplier: 0.5px;
@@ -540,8 +549,8 @@
540
549
  pointer-events: none;
541
550
  }
542
551
 
543
- ${(0,j.actionsMenuBaseStyles)(e,a)}
544
- `,template:j.foundationActionsMenuTemplate});var je=r(82694);const Ie=(e,a=1)=>new je.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),Ee=(0,je.parseColorHexRGB)(de.white),Pe=(e=1)=>Ie(Ee,e),Ue=((0,je.parseColorHexRGB)(de.black),(0,je.parseColorHexRGB)("#585858")),Ge=(p.SwatchRGB.create(Ue.r,Ue.g,Ue.b),(0,je.parseColorHexRGB)("#202126")),Be=p.SwatchRGB.create(Ge.r,Ge.g,Ge.b),_e=(p.PaletteRGB.from(Be),(0,je.parseColorHexRGB)(se.blue)),He=(e=1)=>Ie(_e,e),Ye=p.SwatchRGB.create(_e.r,_e.g,_e.b),Ve=(p.PaletteRGB.from(Ye),(0,je.parseColorHexRGB)(se.purple)),Qe=(e=1)=>Ie(Ve,e),We=(0,je.parseColorHexRGB)(ce.orange),qe=(e=1)=>Ie(We,e),Je=(0,je.parseColorHexRGB)(ce.teal),Ze=(e=1)=>Ie(Je,e),Ke=((0,je.parseColorHexRGB)(ue.longGreen),(0,je.parseColorHexRGB)(ue.chartPink),(0,je.parseColorHexRGB)(ue.warningYellow)),Xe=(0,je.parseColorHexRGB)(ue.chartPink),ea=(e=1)=>Ie(Xe,e);function aa(e,a){return new c.PropertyStyleSheetBehavior("appearance",e,a)}const ra=.3,ta=.1,oa=.5,ia=s.css`
552
+ ${(0,I.actionsMenuBaseStyles)(e,a)}
553
+ `,template:I.foundationActionsMenuTemplate});var je=r(82694);const Ie=(e,a=1)=>new je.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),Ee=(0,je.parseColorHexRGB)(de.white),Pe=(e=1)=>Ie(Ee,e),Ue=((0,je.parseColorHexRGB)(de.black),(0,je.parseColorHexRGB)("#585858")),Ge=(c.SwatchRGB.create(Ue.r,Ue.g,Ue.b),(0,je.parseColorHexRGB)("#202126")),Be=c.SwatchRGB.create(Ge.r,Ge.g,Ge.b),_e=(c.PaletteRGB.from(Be),(0,je.parseColorHexRGB)(se.blue)),He=(e=1)=>Ie(_e,e),Ye=c.SwatchRGB.create(_e.r,_e.g,_e.b),Ve=(c.PaletteRGB.from(Ye),(0,je.parseColorHexRGB)(se.purple)),Qe=(e=1)=>Ie(Ve,e),We=(0,je.parseColorHexRGB)(ce.orange),qe=(e=1)=>Ie(We,e),Je=(0,je.parseColorHexRGB)(ce.teal),Ze=(e=1)=>Ie(Je,e),Ke=((0,je.parseColorHexRGB)(ue.longGreen),(0,je.parseColorHexRGB)(ue.chartPink),(0,je.parseColorHexRGB)(ue.warningYellow)),Xe=(0,je.parseColorHexRGB)(ue.chartPink),ea=(e=1)=>Ie(Xe,e);function aa(e,a){return new s.PropertyStyleSheetBehavior("appearance",e,a)}const ra=.3,ta=.1,oa=.5,ia=d.css`
545
554
  :host([appearance='primary-blue']) {
546
555
  background: ${He(ra)};
547
556
  border: 1px solid ${se.blue};
@@ -556,7 +565,7 @@
556
565
  border: 1px solid ${He(ra)};
557
566
  color: ${Pe(oa)};
558
567
  }
559
- `,na=s.css`
568
+ `,na=d.css`
560
569
  :host([appearance='primary-purple']) {
561
570
  background: ${Qe(ra)};
562
571
  border: 1px solid ${se.purple};
@@ -571,7 +580,7 @@
571
580
  border: 1px solid ${Qe(ra)};
572
581
  color: ${Pe(oa)};
573
582
  }
574
- `,la=s.css`
583
+ `,la=d.css`
575
584
  :host {
576
585
  --primary-gradient-angle: -113.5deg;
577
586
  }
@@ -609,7 +618,7 @@
609
618
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 30%) inset;
610
619
  color: ${Pe(oa)};
611
620
  }
612
- `,ga=s.css`
621
+ `,ga=d.css`
613
622
  :host([appearance='secondary-orange']) {
614
623
  background: ${qe(ra)};
615
624
  border: 1px solid ${ce.orange};
@@ -624,7 +633,7 @@
624
633
  border: 1px solid ${qe(ra)};
625
634
  color: ${Pe(oa)};
626
635
  }
627
- `,da=s.css`
636
+ `,da=d.css`
628
637
  :host([appearance='secondary-teal']) {
629
638
  background: ${Ze(ra)};
630
639
  border: 1px solid ${ce.teal};
@@ -639,22 +648,22 @@
639
648
  border: 1px solid ${Ze(ra)};
640
649
  color: ${Pe(oa)};
641
650
  }
642
- `,sa=s.css`
651
+ `,sa=d.css`
643
652
  :host([appearance='neutral-grey']) {
644
- background: ${p.neutralFillRest};
645
- border: 1px solid ${p.neutralStrokeRest};
653
+ background: ${c.neutralFillRest};
654
+ border: 1px solid ${c.neutralStrokeRest};
646
655
  }
647
656
 
648
657
  :host([appearance='neutral-grey']:hover) {
649
- background: ${p.neutralFillHover};
658
+ background: ${c.neutralFillHover};
650
659
  }
651
660
 
652
661
  :host([appearance='neutral-grey']:active) {
653
- background: ${p.neutralFillActive};
654
- border: 1px solid ${p.neutralStrokeActive};
655
- color: ${p.neutralForegroundRest};
662
+ background: ${c.neutralFillActive};
663
+ border: 1px solid ${c.neutralStrokeActive};
664
+ color: ${c.neutralForegroundRest};
656
665
  }
657
- `,ca=s.css`
666
+ `,ca=d.css`
658
667
  :host {
659
668
  --primary-gradient-angle: -113.5deg;
660
669
  }
@@ -714,7 +723,7 @@
714
723
  border-left-color: ${Qe(ra)};
715
724
  color: ${Pe(oa)};
716
725
  }
717
- `,pa=s.css`
726
+ `,pa=d.css`
718
727
  :host([appearance='outline-secondary-orange']) {
719
728
  background: transparent;
720
729
  border: 1px solid ${ce.orange};
@@ -729,7 +738,7 @@
729
738
  border: 1px solid ${qe(ra)};
730
739
  color: ${Pe(oa)};
731
740
  }
732
- `,ua=s.css`
741
+ `,ua=d.css`
733
742
  :host([appearance='outline-secondary-teal']) {
734
743
  background: transparent;
735
744
  border: 1px solid ${ce.teal};
@@ -744,22 +753,22 @@
744
753
  border: 1px solid ${Ze(ra)};
745
754
  color: ${Pe(oa)};
746
755
  }
747
- `,ha=(e,a)=>s.css`
748
- ${(0,j.foundationButtonStyles)(e,a)}
749
- ${s.css`
756
+ `,ha=(e,a)=>d.css`
757
+ ${(0,I.foundationButtonStyles)(e,a)}
758
+ ${d.css`
750
759
  :host {
751
760
  margin: 5px;
752
761
  }
753
762
  `}
754
- `.withBehaviors(aa("primary-blue",ia),aa("primary-purple",na),aa("primary-gradient",la),aa("secondary-orange",ga),aa("secondary-teal",da),aa("neutral-grey",sa),aa("outline-primary-gradient",ca),aa("outline-secondary-orange",pa),aa("outline-secondary-teal",ua));class ma extends j.Anchor{}const va=ma.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,j.foundationAnchorTemplate)(e,a),styles:(e,a)=>s.css`
755
- ${(0,j.foundationAnchorStyles)(e,a)}
763
+ `.withBehaviors(aa("primary-blue",ia),aa("primary-purple",na),aa("primary-gradient",la),aa("secondary-orange",ga),aa("secondary-teal",da),aa("neutral-grey",sa),aa("outline-primary-gradient",ca),aa("outline-secondary-orange",pa),aa("outline-secondary-teal",ua));class ma extends I.Anchor{}const va=ma.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,I.foundationAnchorTemplate)(e,a),styles:(e,a)=>d.css`
764
+ ${(0,I.foundationAnchorStyles)(e,a)}
756
765
  ${ha(e,a)}
757
- `.withBehaviors(...ha(e,a).behaviors),shadowOptions:j.foundationAnchorShadowOptions},j.defaultAnchorConfig));class ba extends j.AnchoredRegion{}const fa=ba.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,j.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>s.css`
758
- ${(0,j.foundationAnchoredRegionStyles)(e,a)}
759
- `,shadowOptions:j.foundationAnchoredRegionShadowOptions},j.defaultAnchoredRegionConfig));class wa extends j.Avatar{}const ya=wa.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,j.foundationAvatarTemplate)(e,a),styles:(e,a)=>s.css`
760
- ${(0,j.foundationAvatarStyles)(e,a)}
761
- `,shadowOptions:j.foundationAvatarShadowOptions},j.defaultAvatarConfig));class xa extends j.Badge{}const za=xa.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,j.foundationBadgeTemplate)(e,a),styles:(e,a)=>s.css`
762
- ${(0,j.foundationBadgeStyles)(e,a)}
766
+ `.withBehaviors(...ha(e,a).behaviors),shadowOptions:I.foundationAnchorShadowOptions},I.defaultAnchorConfig));class ba extends I.AnchoredRegion{}const fa=ba.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,I.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>d.css`
767
+ ${(0,I.foundationAnchoredRegionStyles)(e,a)}
768
+ `,shadowOptions:I.foundationAnchoredRegionShadowOptions},I.defaultAnchoredRegionConfig));class wa extends I.Avatar{}const ya=wa.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,I.foundationAvatarTemplate)(e,a),styles:(e,a)=>d.css`
769
+ ${(0,I.foundationAvatarStyles)(e,a)}
770
+ `,shadowOptions:I.foundationAvatarShadowOptions},I.defaultAvatarConfig));class xa extends I.Badge{}const za=xa.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,I.foundationBadgeTemplate)(e,a),styles:(e,a)=>d.css`
771
+ ${(0,I.foundationBadgeStyles)(e,a)}
763
772
  :host {
764
773
  --badge-fill-primary: ${He()};
765
774
  --badge-fill-secondary: ${Ze()};
@@ -770,17 +779,17 @@
770
779
  }
771
780
 
772
781
  :host .control {
773
- padding: calc(${p.designUnit} * 1px) calc(${p.designUnit} * 2px);
782
+ padding: calc(${c.designUnit} * 1px) calc(${c.designUnit} * 2px);
774
783
  }
775
- `,shadowOptions:j.foundationBadgeShadowOptions},j.defaultBadgeConfig)),ka=s.css`
776
- ${j.foundationBannerStyles}
784
+ `,shadowOptions:I.foundationBadgeShadowOptions},I.defaultBadgeConfig)),ka=d.css`
785
+ ${I.foundationBannerStyles}
777
786
  .banner {
778
- background-color: ${p.neutralLayer1};
787
+ background-color: ${c.neutralLayer1};
779
788
  }
780
- `,Sa=j.foundationBannerShadowOptions;class Ca extends j.Banner{}const Aa=Ca.compose({baseName:"banner",shadowOptions:Sa,styles:ka,template:j.foundationBannerTemplate});class Ta extends j.Breadcrumb{}const Oa=Ta.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,j.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>s.css`
781
- ${(0,j.foundationBreadcrumbStyles)(e,a)}
782
- `,shadowOptions:undefined},{}));class Da extends j.BreadcrumbItem{}const Na=Da.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,j.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>s.css`
783
- ${(0,j.foundationBreadcrumbItemStyles)(e,a)}
789
+ `,Sa=I.foundationBannerShadowOptions;class Ca extends I.Banner{}const Aa=Ca.compose({baseName:"banner",shadowOptions:Sa,styles:ka,template:I.foundationBannerTemplate});class Ta extends I.Breadcrumb{}const Oa=Ta.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,I.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>d.css`
790
+ ${(0,I.foundationBreadcrumbStyles)(e,a)}
791
+ `,shadowOptions:undefined},{}));class Da extends I.BreadcrumbItem{}const Na=Da.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,I.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>d.css`
792
+ ${(0,I.foundationBreadcrumbItemStyles)(e,a)}
784
793
  :host {
785
794
  --neutral-foreground-rest: #18b2e3;
786
795
  --accent-foreground-rest: #f1f1f1;
@@ -790,16 +799,16 @@
790
799
  .separator {
791
800
  color: var(--neutral-stroke-rest);
792
801
  }
793
- `,shadowOptions:j.foundationBreadcrumbItemShadowOptions},j.defaultBreadcrumbItemConfig));class Fa extends j.Button{}const $a=Fa.compose(Object.assign({baseName:"button",template:(e,a)=>(0,j.foundationButtonTemplate)(e,a),styles:ha,shadowOptions:j.foundationButtonShadowOptions},j.defaultButtonConfig));class La extends j.Calendar{}const Ma=La.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,j.foundationCalendarTemplate)(e,a),styles:()=>s.css`
794
- ${(0,j.foundationCalendarStyles)()}
795
- `,shadowOptions:j.foundationCalendarShadowOptions},j.defaultCalendarConfig));class Ra extends j.Card{}const ja=Ra.compose(Object.assign({baseName:"card",template:(e,a)=>(0,j.foundationCardTemplate)(e,a),styles:(e,a)=>s.css`
796
- ${(0,j.foundationCardStyles)(e,a)}
802
+ `,shadowOptions:I.foundationBreadcrumbItemShadowOptions},I.defaultBreadcrumbItemConfig));class Fa extends I.Button{}const $a=Fa.compose(Object.assign({baseName:"button",template:(e,a)=>(0,I.foundationButtonTemplate)(e,a),styles:ha,shadowOptions:I.foundationButtonShadowOptions},I.defaultButtonConfig));class La extends I.Calendar{}const Ma=La.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,I.foundationCalendarTemplate)(e,a),styles:()=>d.css`
803
+ ${(0,I.foundationCalendarStyles)()}
804
+ `,shadowOptions:I.foundationCalendarShadowOptions},I.defaultCalendarConfig));class Ra extends I.Card{}const ja=Ra.compose(Object.assign({baseName:"card",template:(e,a)=>(0,I.foundationCardTemplate)(e,a),styles:(e,a)=>d.css`
805
+ ${(0,I.foundationCardStyles)(e,a)}
797
806
  :host {
798
807
  background-color: var(--zero-card-fill-color, var(--neutral-layer-2));
799
- color: ${p.neutralForegroundRest};
808
+ color: ${c.neutralForegroundRest};
800
809
  }
801
- `,shadowOptions:j.foundationCardShadowOptions},j.defaultCardConfig));class Ia extends j.Checkbox{}const Ea=Ia.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,j.foundationCheckboxTemplate)(e,a),styles:(e,a)=>s.css`
802
- ${(0,j.foundationCheckboxStyles)(e,a)}
810
+ `,shadowOptions:I.foundationCardShadowOptions},I.defaultCardConfig));class Ia extends I.Checkbox{}const Ea=Ia.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,I.foundationCheckboxTemplate)(e,a),styles:(e,a)=>d.css`
811
+ ${(0,I.foundationCheckboxStyles)(e,a)}
803
812
  :host {
804
813
  --primary-gradient-angle: -113.5deg;
805
814
  --foreground-on-accent-rest: ${de.white};
@@ -818,8 +827,8 @@
818
827
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 20%) inset;
819
828
  border-radius: calc(var(--control-corner-radius) * 1px);
820
829
  }
821
- `,shadowOptions:j.foundationCheckboxShadowOptions},j.defaultCheckboxConfig)),Pa=(0,je.parseColorHexRGB)("#F1F1F1"),Ua=Ie(Pa,1),Ga=(0,je.parseColorHexRGB)("#879BA6"),Ba=Ie(Ga,.06),_a=(0,je.parseColorHexRGB)("#879BA6"),Ha=Ie(_a,1),Ya=(0,je.parseColorHexRGB)("#121212"),Va=Ie(Ya,1),Qa=(0,je.parseColorHexRGB)("#2e3339"),Wa=Ie(Qa,1);var qa;!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"}(qa||(qa={}));Object.values(qa);class Ja extends j.Combobox{}const Za=Ja.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,j.foundationComboboxTemplate)(e,a),styles:(e,a)=>s.css`
822
- ${(0,j.foundationComboboxStyles)(e,a)}
830
+ `,shadowOptions:I.foundationCheckboxShadowOptions},I.defaultCheckboxConfig)),Pa=(0,je.parseColorHexRGB)("#F1F1F1"),Ua=Ie(Pa,1),Ga=(0,je.parseColorHexRGB)("#879BA6"),Ba=Ie(Ga,.06),_a=(0,je.parseColorHexRGB)("#879BA6"),Ha=Ie(_a,1),Ya=(0,je.parseColorHexRGB)("#121212"),Va=Ie(Ya,1),Qa=(0,je.parseColorHexRGB)("#2e3339"),Wa=Ie(Qa,1);var qa;!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"}(qa||(qa={}));Object.values(qa);class Ja extends I.Combobox{}const Za=Ja.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,I.foundationComboboxTemplate)(e,a),styles:(e,a)=>d.css`
831
+ ${(0,I.foundationComboboxStyles)(e,a)}
823
832
  :host {
824
833
  --primary-gradient-angle: -113.5deg;
825
834
 
@@ -856,7 +865,7 @@
856
865
 
857
866
  :host([open][position='below']) .listbox {
858
867
  padding: 0;
859
- margin-top: calc(${p.designUnit} * 1px);
868
+ margin-top: calc(${c.designUnit} * 1px);
860
869
  border-radius: 4px;
861
870
  border: 1px solid ${de.lightGrey};
862
871
  }
@@ -868,12 +877,12 @@
868
877
  :host(:not([disabled])) .control:active {
869
878
  background: none;
870
879
  }
871
- `,shadowOptions:j.foundationComboboxShadowOptions},j.defaultComboboxConfig));class Ka extends j.ConnectionIndicator{}const Xa=Ka.compose({baseName:"connection-indicator",template:j.foundationConnectionIndicatorTemplate,styles:j.foundationConnectionIndicatorStyles});class er extends j.DataGridCell{}er.compose(Object.assign({baseName:"data-grid-cell",template:c.dataGridCellTemplate,styles:(e,a)=>s.css`
872
- ${(0,j.foundationDataGridCellStyles)(e,a)}
873
- `,shadowOptions:j.foundationDataGridCellShadowOptions},j.defaultDataGridCellConfig));class ar extends j.DataGridRow{}ar.compose(Object.assign({baseName:"data-grid-row",template:c.dataGridRowTemplate,styles:(e,a)=>s.css`
874
- ${(0,j.foundationDataGridRowStyles)(e,a)}
875
- `,shadowOptions:j.foundationDataGridRowShadowOptions},j.defaultDataGridRowConfig));class rr extends j.DataGrid{}const tr=rr.compose(Object.assign({baseName:"data-grid",template:(e,a)=>(0,j.foundationDataGridTemplate)(e,a),styles:(e,a)=>s.css`
876
- ${(0,j.foundationDataGridStyles)(e,a)}
880
+ `,shadowOptions:I.foundationComboboxShadowOptions},I.defaultComboboxConfig));class Ka extends I.ConnectionIndicator{}const Xa=Ka.compose({baseName:"connection-indicator",template:I.foundationConnectionIndicatorTemplate,styles:I.foundationConnectionIndicatorStyles});class er extends I.DataGridCell{}er.compose(Object.assign({baseName:"data-grid-cell",template:s.dataGridCellTemplate,styles:(e,a)=>d.css`
881
+ ${(0,I.foundationDataGridCellStyles)(e,a)}
882
+ `,shadowOptions:I.foundationDataGridCellShadowOptions},I.defaultDataGridCellConfig));class ar extends I.DataGridRow{}ar.compose(Object.assign({baseName:"data-grid-row",template:s.dataGridRowTemplate,styles:(e,a)=>d.css`
883
+ ${(0,I.foundationDataGridRowStyles)(e,a)}
884
+ `,shadowOptions:I.foundationDataGridRowShadowOptions},I.defaultDataGridRowConfig));class rr extends I.DataGrid{}const tr=rr.compose(Object.assign({baseName:"data-grid",template:(e,a)=>(0,I.foundationDataGridTemplate)(e,a),styles:(e,a)=>d.css`
885
+ ${(0,I.foundationDataGridStyles)(e,a)}
877
886
  ::slotted(.sticky-header),
878
887
  ::slotted(.header) {
879
888
  border-bottom-color: var(--neutral-color);
@@ -884,10 +893,10 @@
884
893
  ::slotted([role='row']) {
885
894
  background-color: #1f2126;
886
895
  }
887
- `,shadowOptions:j.foundationDataGridShadowOptions},j.defaultDataGridConfig)),or=s.html`
888
- ${(0,j.getPrefixedDatePicker)("zero")}
889
- `;class ir extends j.DatePicker{}const nr=ir.compose(Object.assign({baseName:"date-picker",template:or,styles:()=>s.css`
890
- ${j.foundationDatePickerStyles}
896
+ `,shadowOptions:I.foundationDataGridShadowOptions},I.defaultDataGridConfig)),or=d.html`
897
+ ${(0,I.getPrefixedDatePicker)("zero")}
898
+ `;class ir extends I.DatePicker{}const nr=ir.compose(Object.assign({baseName:"date-picker",template:or,styles:()=>d.css`
899
+ ${I.foundationDatePickerStyles}
891
900
  :host {
892
901
  --primary-gradient-angle: -113.5deg;
893
902
  }
@@ -926,49 +935,49 @@
926
935
  .date-toggle::part(end) {
927
936
  margin-inline-end: 4px;
928
937
  }
929
- `,shadowOptions:undefined},{}));var lr=r(37068);ke();const gr=s.css`
930
- ${(0,c.display)("flex")}
938
+ `,shadowOptions:undefined},{}));var lr=r(37068);ke();const gr=d.css`
939
+ ${(0,s.display)("flex")}
931
940
  :host {
932
941
  flex: 1;
933
942
  }
934
- `,dr=s.css`
943
+ `,dr=d.css`
935
944
  :host {
936
- background-color: ${p.neutralFillStealthActive};
945
+ background-color: ${c.neutralFillStealthActive};
937
946
  }
938
- `.withBehaviors((0,c.forcedColorsStylesheetBehavior)(s.css`
947
+ `.withBehaviors((0,s.forcedColorsStylesheetBehavior)(d.css`
939
948
  :host {
940
- background-color: ${u.H.ButtonFace};
941
- box-shadow: 0 0 0 1px ${u.H.CanvasText};
942
- color: ${u.H.ButtonText};
949
+ background-color: ${p.H.ButtonFace};
950
+ box-shadow: 0 0 0 1px ${p.H.CanvasText};
951
+ color: ${p.H.ButtonText};
943
952
  }
944
- `)),sr=(e,a,r)=>s.css`
953
+ `)),sr=(e,a,r)=>d.css`
945
954
  ${e.name} ${"h"+a} {
946
955
  font-size: var(--type-ramp-plus-${r}-font-size);
947
956
  line-height: var(--type-ramp-plus-${r}-line-height);
948
957
  margin: 0;
949
958
  ${Ce(ze.Hd.Normal,ze.U9.Bold)}
950
959
  }
951
- `;class cr extends p.DesignSystemProvider{constructor(){super(),(0,j.provideTokens)(t,o,this)}}(0,lr.__decorate)([(0,s.attr)({attribute:"card-fill-color",converter:j.swatchConverter}),(0,j.designToken)(p.neutralFillStealthRest)],cr.prototype,"cardFillColor",void 0),(0,lr.__decorate)([(0,s.attr)({attribute:"card-foreground-color",converter:j.swatchConverter}),(0,j.designToken)(p.neutralForegroundRest)],cr.prototype,"cardForegroundColor",void 0);const pr=cr.compose({baseName:"design-system-provider",template:s.html`
960
+ `;class cr extends c.DesignSystemProvider{constructor(){super(),(0,I.provideTokens)(t,o,this)}}(0,lr.__decorate)([(0,d.attr)({attribute:"card-fill-color",converter:I.swatchConverter}),(0,I.designToken)(c.neutralFillStealthRest)],cr.prototype,"cardFillColor",void 0),(0,lr.__decorate)([(0,d.attr)({attribute:"card-foreground-color",converter:I.swatchConverter}),(0,I.designToken)(c.neutralForegroundRest)],cr.prototype,"cardForegroundColor",void 0);const pr=cr.compose({baseName:"design-system-provider",template:d.html`
952
961
  <slot></slot>
953
- `,styles:e=>{const a=(e=>s.css`
962
+ `,styles:e=>{const a=(e=>d.css`
954
963
  ${sr(e,"1","6")}
955
964
  ${sr(e,"2","5")}
956
965
  ${sr(e,"3","4")}
957
966
  ${sr(e,"4","3")}
958
967
  ${sr(e,"5","2")}
959
968
  ${sr(e,"6","1")}
960
- `)(e);return a.addStylesTo(document),s.css`
969
+ `)(e);return a.addStylesTo(document),d.css`
961
970
  ${gr}
962
971
  ${dr}
963
972
  ${a}
964
973
  :host * {
965
- color: ${p.neutralForegroundRest};
974
+ color: ${c.neutralForegroundRest};
966
975
  ${Ce()}
967
976
  }
968
- `}}),ur=(0,je.parseColorHexRGB)("#121212"),hr=Ie(ur,1),mr=s.css`
969
- ${j.foundationDialogStyles}
977
+ `}}),ur=(0,je.parseColorHexRGB)("#121212"),hr=Ie(ur,1),mr=d.css`
978
+ ${I.foundationDialogStyles}
970
979
  :host {
971
- --dialog-background: ${p.neutralLayer2};
980
+ --dialog-background: ${c.neutralLayer2};
972
981
  }
973
982
 
974
983
  dialog {
@@ -999,7 +1008,7 @@
999
1008
  }
1000
1009
 
1001
1010
  :host slot:first-of-type {
1002
- color: ${p.neutralForegroundRest};
1011
+ color: ${c.neutralForegroundRest};
1003
1012
  }
1004
1013
 
1005
1014
  ::slotted(zero-button) {
@@ -1034,16 +1043,16 @@
1034
1043
  .close-icon:active svg g path {
1035
1044
  fill: ${Pe(.33)};
1036
1045
  }
1037
- `,vr=j.defaultDialogConfig,br=j.foundationDialogTemplate,fr=j.foundationDialogShadowOptions;class wr extends j.Dialog{}const yr=wr.compose(Object.assign({baseName:"dialog",shadowOptions:fr,styles:mr,template:br},vr));class xr extends j.Disclosure{}const zr=xr.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,j.foundationDisclosureTemplate)(e,a),styles:(e,a)=>s.css`
1038
- ${(0,j.foundationDisclosureStyles)(e,a)}
1039
- `,shadowOptions:j.foundationDialogShadowOptions},j.defaultDisclosureConfig));class kr extends j.Divider{}const Sr=kr.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,j.foundationDividerTemplate)(e,a),styles:(e,a)=>s.css`
1040
- ${(0,j.foundationDividerStyles)(e,a)}
1041
- `,shadowOptions:j.foundationDividerShadowOptions},j.defaultDividerConfig));class Cr extends j.DropdownMenu{}const Ar=Cr.compose({baseName:"dropdown-menu",styles:(e,a)=>s.css`
1042
- ${(0,j.dropdownMenuBaseStyles)("zero",e,a)}
1043
- `,template:j.foundationDropdownMenuTemplate}),Tr=s.html`
1044
- ${(0,j.getPrefixedErrorBanner)("zero")}
1045
- `,Or=j.foundationErrorBannerShadowOptions;class Dr extends j.ErrorBanner{}const Nr=Dr.compose({baseName:"error-banner",template:Tr,shadowOptions:Or});class Fr extends j.ErrorBoundary{}const $r=Fr.compose({baseName:"error-boundary",template:j.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class Lr extends j.ErrorDialog{}const Mr=Lr.compose({baseName:"error-dialog",styles:j.foundationErrorDialogStyles,template:j.errorDialogTemplate,shadowOptions:j.foundationErrorDialogShadowOptions}),Rr=s.css`
1046
- ${j.foundationFileUploadStyles}
1046
+ `,vr=I.defaultDialogConfig,br=I.foundationDialogTemplate,fr=I.foundationDialogShadowOptions;class wr extends I.Dialog{}const yr=wr.compose(Object.assign({baseName:"dialog",shadowOptions:fr,styles:mr,template:br},vr));class xr extends I.Disclosure{}const zr=xr.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,I.foundationDisclosureTemplate)(e,a),styles:(e,a)=>d.css`
1047
+ ${(0,I.foundationDisclosureStyles)(e,a)}
1048
+ `,shadowOptions:I.foundationDialogShadowOptions},I.defaultDisclosureConfig));class kr extends I.Divider{}const Sr=kr.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,I.foundationDividerTemplate)(e,a),styles:(e,a)=>d.css`
1049
+ ${(0,I.foundationDividerStyles)(e,a)}
1050
+ `,shadowOptions:I.foundationDividerShadowOptions},I.defaultDividerConfig));class Cr extends I.DropdownMenu{}const Ar=Cr.compose({baseName:"dropdown-menu",styles:(e,a)=>d.css`
1051
+ ${(0,I.dropdownMenuBaseStyles)("zero",e,a)}
1052
+ `,template:I.foundationDropdownMenuTemplate}),Tr=d.html`
1053
+ ${(0,I.getPrefixedErrorBanner)("zero")}
1054
+ `,Or=I.foundationErrorBannerShadowOptions;class Dr extends I.ErrorBanner{}const Nr=Dr.compose({baseName:"error-banner",template:Tr,shadowOptions:Or});class Fr extends I.ErrorBoundary{}const $r=Fr.compose({baseName:"error-boundary",template:I.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class Lr extends I.ErrorDialog{}const Mr=Lr.compose({baseName:"error-dialog",styles:I.foundationErrorDialogStyles,template:I.errorDialogTemplate,shadowOptions:I.foundationErrorDialogShadowOptions}),Rr=d.css`
1055
+ ${I.foundationFileUploadStyles}
1047
1056
  ::-webkit-scrollbar {
1048
1057
  width: 12px;
1049
1058
  }
@@ -1059,14 +1068,14 @@
1059
1068
  background-color: var(--neutral-color);
1060
1069
  border: 3px solid rgb(31 33 38);
1061
1070
  }
1062
- `,jr=s.html`
1063
- ${(0,j.getPrefixedFileUpload)("zero")}
1064
- `,Ir=j.defaultFileUploadConfig,Er=j.foundationFileUploadShadowOptions;class Pr extends j.FileUpload{}const Ur=Pr.compose(Object.assign({baseName:"file-upload",shadowOptions:Er,styles:Rr,template:jr},Ir)),Gr=s.html`
1065
- ${(0,j.getPrefixedFilterTemplate)("zero")}
1066
- `;class Br extends j.Filter{}const _r=Br.compose({baseName:"filter",template:Gr,styles:j.foundationFilterStyles}),Hr=s.html`
1067
- ${(0,j.filterBarTemplate)("zero")}
1068
- `;class Yr extends j.FilterBar{}const Vr=Yr.compose({baseName:"filter-bar",template:Hr,styles:(e,a)=>s.css`
1069
- ${(0,j.foundationFilterBarStyles)(e,a)}
1071
+ `,jr=d.html`
1072
+ ${(0,I.getPrefixedFileUpload)("zero")}
1073
+ `,Ir=I.defaultFileUploadConfig,Er=I.foundationFileUploadShadowOptions;class Pr extends I.FileUpload{}const Ur=Pr.compose(Object.assign({baseName:"file-upload",shadowOptions:Er,styles:Rr,template:jr},Ir)),Gr=d.html`
1074
+ ${(0,I.getPrefixedFilterTemplate)("zero")}
1075
+ `;class Br extends I.Filter{}const _r=Br.compose({baseName:"filter",template:Gr,styles:I.foundationFilterStyles}),Hr=d.html`
1076
+ ${(0,I.filterBarTemplate)("zero")}
1077
+ `;class Yr extends I.FilterBar{}const Vr=Yr.compose({baseName:"filter-bar",template:Hr,styles:(e,a)=>d.css`
1078
+ ${(0,I.foundationFilterBarStyles)(e,a)}
1070
1079
  .toggle,
1071
1080
  .toggle-collapsed {
1072
1081
  background: var(--ag-background-color, #181d1f);
@@ -1077,8 +1086,8 @@
1077
1086
  .toggle-collapsed:hover {
1078
1087
  color: var(--ag-alpine-active-color, #2196f3);
1079
1088
  }
1080
- `});class Qr extends j.FlexLayout{}const Wr=Qr.compose(Object.assign({baseName:"flex-layout",shadowOptions:j.foundationFlexLayoutShadowOptions,styles:j.foundationFlexLayoutStyles,template:j.foundationFlexLayoutTemplate},j.defaultFlexLayoutConfig));class qr extends j.Flipper{}const Jr=qr.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,j.foundationFlipperTemplate)(e,a),styles:(e,a)=>s.css`
1081
- ${(0,j.foundationFlipperStyles)(e,a)}
1089
+ `});class Qr extends I.FlexLayout{}const Wr=Qr.compose(Object.assign({baseName:"flex-layout",shadowOptions:I.foundationFlexLayoutShadowOptions,styles:I.foundationFlexLayoutStyles,template:I.foundationFlexLayoutTemplate},I.defaultFlexLayoutConfig));class qr extends I.Flipper{}const Jr=qr.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,I.foundationFlipperTemplate)(e,a),styles:(e,a)=>d.css`
1090
+ ${(0,I.foundationFlipperStyles)(e,a)}
1082
1091
  :host {
1083
1092
  --foreground-on-accent-rest: ${de.white};
1084
1093
  --foreground-on-accent-hover: ${de.white};
@@ -1101,12 +1110,12 @@
1101
1110
  ${se.purple}
1102
1111
  );
1103
1112
  }
1104
- `,shadowOptions:j.foundationFlipperShadowOptions},j.defaultFlipperConfig)),Zr=s.css`
1105
- ${j.foundationFlyoutStyles}
1113
+ `,shadowOptions:I.foundationFlipperShadowOptions},I.defaultFlipperConfig)),Zr=d.css`
1114
+ ${I.foundationFlyoutStyles}
1106
1115
  div.flyout {
1107
- background-color: ${p.neutralLayer2};
1108
- border-color: ${p.neutralFillHover};
1109
- color: ${p.neutralForegroundRest};
1116
+ background-color: ${c.neutralLayer2};
1117
+ border-color: ${c.neutralFillHover};
1118
+ color: ${c.neutralForegroundRest};
1110
1119
  }
1111
1120
 
1112
1121
  :host([position='left']) div.flyout {
@@ -1125,23 +1134,23 @@
1125
1134
  }
1126
1135
 
1127
1136
  div.exit:hover {
1128
- background-color: ${p.neutralFillHover};
1137
+ background-color: ${c.neutralFillHover};
1129
1138
  border-radius: 3px;
1130
1139
  }
1131
- `,Kr=s.html`
1132
- ${(0,j.getPrefixedFlyout)("zero")}
1133
- `,Xr=j.defaultFlyoutConfig,et=j.foundationFlyoutShadowOptions;class at extends j.Flyout{}const rt=at.compose(Object.assign({baseName:"flyout",shadowOptions:et,styles:Zr,template:Kr},Xr));class tt extends j.GridLayout{}const ot=tt.compose(Object.assign({baseName:"grid-layout",shadowOptions:j.foundationGridLayoutShadowOptions,styles:j.foundationGridLayoutStyles,template:j.foundationGridLayoutTemplate},j.defaultGridLayoutConfig));class it extends j.GridLayoutItem{}const nt=it.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:j.foundationGridLayoutItemShadowOptions,template:j.foundationGridLayoutItemTemplate},j.defaultGridLayoutItemConfig));class lt extends j.HorizontalScroll{}const gt=lt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,j.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>s.css`
1134
- ${(0,j.foundationHorizontalScrollStyles)(e,a)}
1135
- `,shadowOptions:j.foundationHorizontalScrollShadowOptions},j.defaultHorizontalScrollConfig));class dt extends j.Icon{}const st=j.defaultIconConfig,ct=j.foundationIconShadowOptions,pt=dt.compose(Object.assign({baseName:"icon",template:j.foundationIconTemplate,styles:(e,a)=>s.css`
1136
- ${(0,j.foundationIconStyles)(e,a)}
1137
- `,shadowOptions:ct},st));class ut extends j.Listbox{}const ht=ut.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,j.foundationListboxTemplate)(e,a),styles:(e,a)=>s.css`
1138
- ${(0,j.foundationListboxStyles)(e,a)}
1140
+ `,Kr=d.html`
1141
+ ${(0,I.getPrefixedFlyout)("zero")}
1142
+ `,Xr=I.defaultFlyoutConfig,et=I.foundationFlyoutShadowOptions;class at extends I.Flyout{}const rt=at.compose(Object.assign({baseName:"flyout",shadowOptions:et,styles:Zr,template:Kr},Xr));class tt extends I.GridLayout{}const ot=tt.compose(Object.assign({baseName:"grid-layout",shadowOptions:I.foundationGridLayoutShadowOptions,styles:I.foundationGridLayoutStyles,template:I.foundationGridLayoutTemplate},I.defaultGridLayoutConfig));class it extends I.GridLayoutItem{}const nt=it.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:I.foundationGridLayoutItemShadowOptions,template:I.foundationGridLayoutItemTemplate},I.defaultGridLayoutItemConfig));class lt extends I.HorizontalScroll{}const gt=lt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,I.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>d.css`
1143
+ ${(0,I.foundationHorizontalScrollStyles)(e,a)}
1144
+ `,shadowOptions:I.foundationHorizontalScrollShadowOptions},I.defaultHorizontalScrollConfig));class dt extends I.Icon{}const st=I.defaultIconConfig,ct=I.foundationIconShadowOptions,pt=dt.compose(Object.assign({baseName:"icon",template:I.foundationIconTemplate,styles:(e,a)=>d.css`
1145
+ ${(0,I.foundationIconStyles)(e,a)}
1146
+ `,shadowOptions:ct},st));class ut extends I.Listbox{}const ht=ut.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,I.foundationListboxTemplate)(e,a),styles:(e,a)=>d.css`
1147
+ ${(0,I.foundationListboxStyles)(e,a)}
1139
1148
 
1140
1149
  :host {
1141
1150
  background: #1f2126;
1142
1151
  }
1143
- `,shadowOptions:j.foundationListboxShadowOptions},j.defaultListboxConfig));class mt extends j.ListboxOption{}const vt=mt.compose(Object.assign({baseName:"option",template:(e,a)=>(0,j.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>s.css`
1144
- ${(0,j.foundationListboxOptionStyles)(e,a)}
1152
+ `,shadowOptions:I.foundationListboxShadowOptions},I.defaultListboxConfig));class mt extends I.ListboxOption{}const vt=mt.compose(Object.assign({baseName:"option",template:(e,a)=>(0,I.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>d.css`
1153
+ ${(0,I.foundationListboxOptionStyles)(e,a)}
1145
1154
  :host {
1146
1155
  background-color: ${de.darkGrey};
1147
1156
  margin: 0;
@@ -1157,23 +1166,23 @@
1157
1166
  background-color: ${de.darkerGrey};
1158
1167
  color: ${se.blue};
1159
1168
  }
1160
- `,shadowOptions:j.foundationListboxOptionShadowOptions},j.defaultListboxOptionConfig)),bt=j.foundationMenuShadowOptions;class ft extends j.Menu{}const wt=ft.compose({baseName:"menu",template:j.foundationMenuTemplate,styles:(e,a)=>s.css`
1161
- ${(0,j.foundationMenuStyles)(e,a)}
1169
+ `,shadowOptions:I.foundationListboxOptionShadowOptions},I.defaultListboxOptionConfig)),bt=I.foundationMenuShadowOptions;class ft extends I.Menu{}const wt=ft.compose({baseName:"menu",template:I.foundationMenuTemplate,styles:(e,a)=>d.css`
1170
+ ${(0,I.foundationMenuStyles)(e,a)}
1162
1171
 
1163
1172
  :host {
1164
1173
  padding: 0;
1165
1174
  }
1166
- `,shadowOptions:bt}),yt=j.foundationMenuItemShadowOptions;class xt extends j.MenuItem{}const zt=xt.compose(Object.assign({baseName:"menu-item",template:j.foundationMenuItemTemplate,styles:(e,a)=>s.css`
1167
- ${(0,j.foundationMenuItemStyles)(e,a)}
1175
+ `,shadowOptions:bt}),yt=I.foundationMenuItemShadowOptions;class xt extends I.MenuItem{}const zt=xt.compose(Object.assign({baseName:"menu-item",template:I.foundationMenuItemTemplate,styles:(e,a)=>d.css`
1176
+ ${(0,I.foundationMenuItemStyles)(e,a)}
1168
1177
 
1169
1178
  :host {
1170
1179
  background: none;
1171
1180
  margin: 0;
1172
1181
  }
1173
- `,shadowOptions:yt},j.defaultMenuItemConfig)),kt=s.css`
1182
+ `,shadowOptions:yt},I.defaultMenuItemConfig)),kt=d.css`
1174
1183
  ${mr}
1175
- `,St=j.defaultModalConfig,Ct=j.foundationModalTemplate,At=j.foundationModalShadowOptions;class Tt extends j.Modal{}const Ot=Tt.compose(Object.assign({baseName:"modal",shadowOptions:At,styles:kt,template:Ct},St)),Dt=s.css`
1176
- ${j.multiselectStyles}
1184
+ `,St=I.defaultModalConfig,Ct=I.foundationModalTemplate,At=I.foundationModalShadowOptions;class Tt extends I.Modal{}const Ot=Tt.compose(Object.assign({baseName:"modal",shadowOptions:At,styles:kt,template:Ct},St)),Dt=d.css`
1185
+ ${I.multiselectStyles}
1177
1186
 
1178
1187
  :host {
1179
1188
  --primary-gradient-angle: -113.5deg;
@@ -1228,10 +1237,10 @@
1228
1237
  .label {
1229
1238
  color: ${Ha};
1230
1239
  }
1231
- `,Nt=s.html`
1232
- ${(0,j.getPrefixedMultiselect)("zero")}
1233
- `;class Ft extends j.Multiselect{}const $t=j.defaultMultiselectConfig,Lt=j.foundationMultiselectShadowOptions,Mt=Ft.compose(Object.assign({baseName:"multiselect",template:Nt,styles:Dt,shadowOptions:Lt},$t));class Rt extends j.NotificationListener{}const jt=Rt.compose({baseName:"notification-listener",template:j.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),It=(e,a)=>s.css`
1234
- ${(0,j.foundationTextFieldStyles)(e,a)}
1240
+ `,Nt=d.html`
1241
+ ${(0,I.getPrefixedMultiselect)("zero")}
1242
+ `;class Ft extends I.Multiselect{}const $t=I.defaultMultiselectConfig,Lt=I.foundationMultiselectShadowOptions,Mt=Ft.compose(Object.assign({baseName:"multiselect",template:Nt,styles:Dt,shadowOptions:Lt},$t));class Rt extends I.NotificationListener{}const jt=Rt.compose({baseName:"notification-listener",template:I.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),It=(e,a)=>d.css`
1243
+ ${(0,I.foundationTextFieldStyles)(e,a)}
1235
1244
  :host {
1236
1245
  --primary-gradient-angle: -113.5deg;
1237
1246
  }
@@ -1278,13 +1287,13 @@
1278
1287
  color: ${Ha};
1279
1288
  margin: calc(var(--design-unit) * 2px) 0;
1280
1289
  }
1281
- `;class Et extends j.NumberField{}const Pt=j.defaultNumberFieldConfig,Ut=j.foundationNumberFieldTemplate,Gt=j.foundationNumberFieldShadowOptions,Bt=Et.compose(Object.assign({baseName:"number-field",template:Ut,styles:(e,a)=>s.css`
1290
+ `;class Et extends I.NumberField{}const Pt=I.defaultNumberFieldConfig,Ut=I.foundationNumberFieldTemplate,Gt=I.foundationNumberFieldShadowOptions,Bt=Et.compose(Object.assign({baseName:"number-field",template:Ut,styles:(e,a)=>d.css`
1282
1291
  :host .root {
1283
1292
  --focus-stroke-outer: transparent;
1284
1293
  }
1285
1294
  ${It(e,a)}
1286
- `,shadowOptions:Gt},Pt));class _t extends j.Progress{}const Ht=_t.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,j.foundationProgressTemplate)(e,a),styles:(e,a)=>s.css`
1287
- ${(0,j.foundationProgressStyles)(e,a)}
1295
+ `,shadowOptions:Gt},Pt));class _t extends I.Progress{}const Ht=_t.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,I.foundationProgressTemplate)(e,a),styles:(e,a)=>d.css`
1296
+ ${(0,I.foundationProgressStyles)(e,a)}
1288
1297
  :host([appearance="secondary-teal"]) {
1289
1298
  --accent-foreground-rest: ${ce.teal};
1290
1299
  }
@@ -1292,7 +1301,7 @@
1292
1301
  :host([appearance='secondary-orange']) {
1293
1302
  --accent-foreground-rest: ${ce.orange};
1294
1303
  }
1295
- `,shadowOptions:j.foundationProgressShadowOptions},j.defaultProgressConfig));class Yt extends j.ProgressRing{}const Vt={indeterminateIndicator:`\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <defs>\n <linearGradient id="linear">\n <stop offset="0%" stop-color="${se.purple}"/>\n <stop offset="100%" stop-color="${se.blue}"/>\n </linearGradient>\n </defs>\n <circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle>\n <circle class="indeterminate-indicator-1" part="indeterminate-indicator-1" cx="8px" cy="8px" r="7px"></circle>\n </svg>\n `},Qt=Yt.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>s.html`
1304
+ `,shadowOptions:I.foundationProgressShadowOptions},I.defaultProgressConfig));class Yt extends I.ProgressRing{}const Vt={indeterminateIndicator:`\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <defs>\n <linearGradient id="linear">\n <stop offset="0%" stop-color="${se.purple}"/>\n <stop offset="100%" stop-color="${se.blue}"/>\n </linearGradient>\n </defs>\n <circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle>\n <circle class="indeterminate-indicator-1" part="indeterminate-indicator-1" cx="8px" cy="8px" r="7px"></circle>\n </svg>\n `},Qt=Yt.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>d.html`
1296
1305
  <template
1297
1306
  role="progressbar"
1298
1307
  aria-valuenow="${e=>e.value}"
@@ -1300,7 +1309,7 @@
1300
1309
  aria-valuemax="${e=>e.max}"
1301
1310
  class="${e=>e.paused?"paused":""}"
1302
1311
  >
1303
- ${(0,s.when)((e=>"number"==typeof e.value),s.html`
1312
+ ${(0,d.when)((e=>"number"==typeof e.value),d.html`
1304
1313
  <svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate">
1305
1314
  <defs>
1306
1315
  <linearGradient id="linear">
@@ -1319,19 +1328,19 @@
1319
1328
  ></circle>
1320
1329
  </svg>
1321
1330
  `)}
1322
- ${(0,s.when)((e=>"number"!=typeof e.value),s.html`
1331
+ ${(0,d.when)((e=>"number"!=typeof e.value),d.html`
1323
1332
  <slot name="indeterminate" slot="indeterminate">
1324
1333
  ${a.indeterminateIndicator||""}
1325
1334
  </slot>
1326
1335
  `)}
1327
1336
  </template>
1328
- `,styles:(e,a)=>s.css`
1329
- ${(0,j.foundationProgressRingStyles)(e,a)}
1337
+ `,styles:(e,a)=>d.css`
1338
+ ${(0,I.foundationProgressRingStyles)(e,a)}
1330
1339
  .indeterminate-indicator-1, .determinate {
1331
1340
  stroke: ${"url(#linear)"};
1332
1341
  }
1333
- `,shadowOptions:j.foundationProgressRingShadowOptions},Vt));class Wt extends j.Radio{}const qt=Wt.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,j.foundationRadioTemplate)(e,a),styles:(e,a)=>s.css`
1334
- ${(0,j.foundationRadioStyles)(e,a)}
1342
+ `,shadowOptions:I.foundationProgressRingShadowOptions},Vt));class Wt extends I.Radio{}const qt=Wt.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,I.foundationRadioTemplate)(e,a),styles:(e,a)=>d.css`
1343
+ ${(0,I.foundationRadioStyles)(e,a)}
1335
1344
  :host {
1336
1345
  --primary-gradient-angle: -113.5deg;
1337
1346
  }
@@ -1362,13 +1371,13 @@
1362
1371
  ${se.purple}
1363
1372
  );
1364
1373
  }
1365
- `,shadowOptions:j.foundationRadioShadowOptions},j.defaultRadioConfig));class Jt extends j.RadioGroup{}const Zt=Jt.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,j.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>s.css`
1366
- ${(0,j.foundationRadioGroupStyles)(e,a)}
1374
+ `,shadowOptions:I.foundationRadioShadowOptions},I.defaultRadioConfig));class Jt extends I.RadioGroup{}const Zt=Jt.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,I.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>d.css`
1375
+ ${(0,I.foundationRadioGroupStyles)(e,a)}
1367
1376
  :host([appearance="accent"]) {
1368
1377
  background: green;
1369
1378
  }
1370
- `,shadowOptions:j.foundationRadioGroupShadowOptions},j.defaultRadioGroupConfig));class Kt extends j.SegmentedControl{}const Xt=Kt.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,j.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>s.css`
1371
- ${(0,j.foundationSegmentedControlStyles)(e,a)}
1379
+ `,shadowOptions:I.foundationRadioGroupShadowOptions},I.defaultRadioGroupConfig));class Kt extends I.SegmentedControl{}const Xt=Kt.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,I.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>d.css`
1380
+ ${(0,I.foundationSegmentedControlStyles)(e,a)}
1372
1381
  :host {
1373
1382
  --primary-gradient-angle: -113.5deg;
1374
1383
  }
@@ -1390,7 +1399,7 @@
1390
1399
  }
1391
1400
 
1392
1401
  :host ::slotted(*[aria-checked='true']) {
1393
- background: ${p.neutralFillStealthRest};
1402
+ background: ${c.neutralFillStealthRest};
1394
1403
  background-origin: border-box;
1395
1404
  border-color: transparent;
1396
1405
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
@@ -1406,8 +1415,8 @@
1406
1415
  border-color: transparent;
1407
1416
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
1408
1417
  }
1409
- `,shadowOptions:undefined},{}));class eo extends j.Radio{}const ao=eo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,j.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>s.css`
1410
- ${(0,j.foundationSegmentedItemStyles)(e,a)}
1418
+ `,shadowOptions:undefined},{}));class eo extends I.Radio{}const ao=eo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,I.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>d.css`
1419
+ ${(0,I.foundationSegmentedItemStyles)(e,a)}
1411
1420
  :host {
1412
1421
  color: var(--neutral-stroke-rest);
1413
1422
  font-size: var(--type-ramp-minus-1-font-size);
@@ -1416,8 +1425,8 @@
1416
1425
  :host([aria-checked='true']) {
1417
1426
  color: ${de.white};
1418
1427
  }
1419
- `,shadowOptions:undefined},{}));class ro extends j.Select{}const to=ro.compose(Object.assign({baseName:"select",template:(e,a)=>(0,j.foundationSelectTemplate)(e,a),styles:(e,a)=>s.css`
1420
- ${(0,j.foundationSelectStyles)(e,a)}
1428
+ `,shadowOptions:undefined},{}));class ro extends I.Select{}const to=ro.compose(Object.assign({baseName:"select",template:(e,a)=>(0,I.foundationSelectTemplate)(e,a),styles:(e,a)=>d.css`
1429
+ ${(0,I.foundationSelectStyles)(e,a)}
1421
1430
  :host {
1422
1431
  --primary-gradient-angle: -113.5deg;
1423
1432
 
@@ -1454,7 +1463,7 @@
1454
1463
 
1455
1464
  :host([open][position='below']) .listbox {
1456
1465
  padding: 0;
1457
- margin-top: calc(${p.designUnit} * 1px);
1466
+ margin-top: calc(${c.designUnit} * 1px);
1458
1467
  border-radius: 4px;
1459
1468
  border: 1px solid ${de.lightGrey};
1460
1469
  }
@@ -1466,10 +1475,10 @@
1466
1475
  :host(:not([disabled])) .control:active {
1467
1476
  background: none;
1468
1477
  }
1469
- `,shadowOptions:j.foundationSelectShadowOptions},j.defaultSelectConfig));class oo extends j.Skeleton{}const io=oo.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,j.foundationSkeletonTemplate)(e,a),styles:(e,a)=>s.css`
1470
- ${(0,j.foundationSkeletonStyles)(e,a)}
1471
- `,shadowOptions:j.foundationSkeletonShadowOptions},j.defaultSkeletonConfig));class no extends j.Slider{}const lo=no.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,j.foundationSliderTemplate)(e,a),styles:(e,a)=>s.css`
1472
- ${(0,j.foundationSliderStyles)(e,a)}
1478
+ `,shadowOptions:I.foundationSelectShadowOptions},I.defaultSelectConfig));class oo extends I.Skeleton{}const io=oo.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,I.foundationSkeletonTemplate)(e,a),styles:(e,a)=>d.css`
1479
+ ${(0,I.foundationSkeletonStyles)(e,a)}
1480
+ `,shadowOptions:I.foundationSkeletonShadowOptions},I.defaultSkeletonConfig));class no extends I.Slider{}const lo=no.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,I.foundationSliderTemplate)(e,a),styles:(e,a)=>d.css`
1481
+ ${(0,I.foundationSliderStyles)(e,a)}
1473
1482
  :host {
1474
1483
  --primary-gradient-angle: -113.5deg;
1475
1484
  }
@@ -1525,8 +1534,8 @@
1525
1534
  .track-progress {
1526
1535
  background-color: var(--neutral-stroke-rest);
1527
1536
  }
1528
- `,shadowOptions:j.foundationSliderShadowOptions},j.defaultSliderConfig));class go extends j.SliderLabel{}const so=go.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,j.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>s.css`
1529
- ${(0,j.foundationSliderLabelStyles)(e,a)}
1537
+ `,shadowOptions:I.foundationSliderShadowOptions},I.defaultSliderConfig));class go extends I.SliderLabel{}const so=go.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,I.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>d.css`
1538
+ ${(0,I.foundationSliderLabelStyles)(e,a)}
1530
1539
  .label {
1531
1540
  padding: 6px 8px;
1532
1541
  border-radius: calc(var(--control-corner-radius) * 1px);
@@ -1536,32 +1545,32 @@
1536
1545
  text-align: center;
1537
1546
  font-size: var(--type-ramp-minus-1-font-size, 12px);
1538
1547
  }
1539
- `,shadowOptions:j.foundationSliderLabelShadowOptions},j.defaultSliderLabelConfig)),co=s.css`
1540
- ${j.foundationSnackbarStyles}
1548
+ `,shadowOptions:I.foundationSliderLabelShadowOptions},I.defaultSliderLabelConfig)),co=d.css`
1549
+ ${I.foundationSnackbarStyles}
1541
1550
  .snackbar {
1542
- border: calc(var(--stroke-width) * 1px) solid ${p.neutralLayer2};
1543
- background-color: ${p.neutralLayer1};
1551
+ border: calc(var(--stroke-width) * 1px) solid ${c.neutralLayer2};
1552
+ background-color: ${c.neutralLayer1};
1544
1553
  }
1545
1554
 
1546
1555
  :host([type='error']) .snackbar::after {
1547
1556
  background-color: ${ea(1)};
1548
1557
  }
1549
- `,po=s.html`
1550
- ${(0,j.getPrefixedSnackbar)("zero")}
1551
- `,uo=j.foundationSnackbarShadowOptions;class ho extends j.Snackbar{}const mo=ho.compose({baseName:"snackbar",shadowOptions:uo,styles:co,template:po}),vo=s.css`
1552
- ${j.foundationStepperStyles}
1558
+ `,po=d.html`
1559
+ ${(0,I.getPrefixedSnackbar)("zero")}
1560
+ `,uo=I.foundationSnackbarShadowOptions;class ho extends I.Snackbar{}const mo=ho.compose({baseName:"snackbar",shadowOptions:uo,styles:co,template:po}),vo=d.css`
1561
+ ${I.foundationStepperStyles}
1553
1562
 
1554
1563
  .stepper-tab {
1555
1564
  background-color: var(--neutral-layer-3);
1556
1565
  }
1557
- `,bo=s.html`
1558
- ${(0,j.getPrefixedStepper)("zero")}
1559
- `;class fo extends j.Stepper{}const wo=fo.compose(Object.assign({baseName:"stepper",template:bo,styles:vo,shadowOptions:j.foundationStepperShadowOptions},j.defaultStepperConfig));var yo=r(55509);class xo extends j.StepperTab{}const zo=xo.compose(Object.assign({baseName:"stepper-tab",template:(e,a)=>s.html`
1566
+ `,bo=d.html`
1567
+ ${(0,I.getPrefixedStepper)("zero")}
1568
+ `;class fo extends I.Stepper{}const wo=fo.compose(Object.assign({baseName:"stepper",template:bo,styles:vo,shadowOptions:I.foundationStepperShadowOptions},I.defaultStepperConfig));var yo=r(55509);class xo extends I.StepperTab{}const zo=xo.compose(Object.assign({baseName:"stepper-tab",template:(e,a)=>d.html`
1560
1569
  <template slot="tab" role="stepper-tab" aria-disabled="${e=>e.disabled}">
1561
- ${(0,c.startSlotTemplate)(e,a)}
1562
- ${(0,yo.l)((e=>e.orientation===c.TabsOrientation.vertical),s.html`
1563
- <zero-tree-item ${(0,s.ref)("treeItem")} class="tree-item">
1564
- ${(0,s.when)((e=>e.completed),s.html`
1570
+ ${(0,s.startSlotTemplate)(e,a)}
1571
+ ${(0,yo.l)((e=>e.orientation===s.TabsOrientation.vertical),d.html`
1572
+ <zero-tree-item ${(0,d.ref)("treeItem")} class="tree-item">
1573
+ ${(0,d.when)((e=>e.completed),d.html`
1565
1574
  <zero-icon
1566
1575
  name="check-circle"
1567
1576
  variant="regular"
@@ -1569,7 +1578,7 @@
1569
1578
  class="completed-icon"
1570
1579
  ></zero-icon>
1571
1580
  `)}
1572
- ${(0,s.when)((e=>e.error),s.html`
1581
+ ${(0,d.when)((e=>e.error),d.html`
1573
1582
  <zero-icon
1574
1583
  name="times-circle"
1575
1584
  variant="regular"
@@ -1579,11 +1588,11 @@
1579
1588
  `)}
1580
1589
  <slot></slot>
1581
1590
  </zero-tree-item>
1582
- `,s.html`
1591
+ `,d.html`
1583
1592
  <div class="step-number-container">
1584
1593
  <span class="step-number">${e=>e.tabPosition}</span>
1585
1594
  <slot class="step-title"></slot>
1586
- ${(0,s.when)((e=>!e.isLast),s.html`
1595
+ ${(0,d.when)((e=>!e.isLast),d.html`
1587
1596
  <zero-icon
1588
1597
  class="angle-icon"
1589
1598
  name="angle-right"
@@ -1593,10 +1602,10 @@
1593
1602
  `)}
1594
1603
  </div>
1595
1604
  `)}
1596
- ${(0,c.endSlotTemplate)(e,a)}
1605
+ ${(0,s.endSlotTemplate)(e,a)}
1597
1606
  </template>
1598
- `,styles:(e,a)=>s.css`
1599
- ${(0,j.foundationStepperTabStyles)(e,a)}
1607
+ `,styles:(e,a)=>d.css`
1608
+ ${(0,I.foundationStepperTabStyles)(e,a)}
1600
1609
 
1601
1610
  zero-tree-item {
1602
1611
  --design-unit: 2.5;
@@ -1611,19 +1620,19 @@
1611
1620
  zero-icon {
1612
1621
  margin-right: 5px;
1613
1622
  }
1614
- `,shadowOptions:j.foundationStepperTabShadowOptions},j.defaultStepperTabConfig));class ko extends j.StepperTabPanel{}const So=ko.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,j.foundationStepperTabPanelTemplate)(e,a),shadowOptions:j.foundationStepperTabPanelShadowOptions},j.defaultStepperTabPanelConfig));class Co extends j.Switch{}const Ao=Co.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,j.foundationSwitchTemplate)(e,a),styles:(e,a)=>s.css`
1615
- ${(0,j.foundationSwitchStyles)(e,a)}
1623
+ `,shadowOptions:I.foundationStepperTabShadowOptions},I.defaultStepperTabConfig));class ko extends I.StepperTabPanel{}const So=ko.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,I.foundationStepperTabPanelTemplate)(e,a),shadowOptions:I.foundationStepperTabPanelShadowOptions},I.defaultStepperTabPanelConfig));class Co extends I.Switch{}const Ao=Co.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,I.foundationSwitchTemplate)(e,a),styles:(e,a)=>d.css`
1624
+ ${(0,I.foundationSwitchStyles)(e,a)}
1616
1625
  :host {
1617
1626
  --primary-gradient-angle: -113.5deg;
1618
1627
  }
1619
1628
 
1620
1629
  .switch {
1621
1630
  background: none;
1622
- border-color: ${p.neutralFillStealthRest};
1631
+ border-color: ${c.neutralFillStealthRest};
1623
1632
  }
1624
1633
 
1625
1634
  .checked-indicator {
1626
- background: ${p.neutralFillStealthRest};
1635
+ background: ${c.neutralFillStealthRest};
1627
1636
  }
1628
1637
 
1629
1638
  .switch:hover {
@@ -1656,10 +1665,10 @@
1656
1665
  ${se.purple}
1657
1666
  );
1658
1667
  }
1659
- `,shadowOptions:j.foundationSwitchShadowOptions},j.defaultSwitchConfig));class To extends j.Tab{}const Oo=To.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,j.foundationTabTemplate)(e,a),styles:(e,a)=>s.css`
1660
- ${(0,j.foundationTabStyles)(e,a)}
1668
+ `,shadowOptions:I.foundationSwitchShadowOptions},I.defaultSwitchConfig));class To extends I.Tab{}const Oo=To.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,I.foundationTabTemplate)(e,a),styles:(e,a)=>d.css`
1669
+ ${(0,I.foundationTabStyles)(e,a)}
1661
1670
  :host {
1662
- background-color: ${p.neutralLayer2};
1671
+ background-color: ${c.neutralLayer2};
1663
1672
  border-radius: calc(var(--control-corner-radius) * 2px) calc(var(--control-corner-radius) * 2px)
1664
1673
  0 0;
1665
1674
  border: calc(var(--stroke-width) * 1px) solid ${de.lightGrey};
@@ -1669,7 +1678,7 @@
1669
1678
 
1670
1679
  :host([aria-selected='true']),
1671
1680
  :host([aria-selected='true']:hover) {
1672
- background-color: ${p.neutralLayer4};
1681
+ background-color: ${c.neutralLayer4};
1673
1682
  border-bottom: 1px solid var(--zero-card-fill-color);
1674
1683
  }
1675
1684
 
@@ -1680,17 +1689,17 @@
1680
1689
  margin-right: 0;
1681
1690
  background-color: var(--zero-card-fill-color);
1682
1691
  }
1683
- `,shadowOptions:j.foundationTabShadowOptions},j.defaultTabConfig));class Do extends j.TabPanel{}const No=Do.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,j.foundationTabPanelTemplate)(e,a),styles:(e,a)=>s.css`
1684
- ${(0,j.foundationTabPanelStyles)(e,a)}
1692
+ `,shadowOptions:I.foundationTabShadowOptions},I.defaultTabConfig));class Do extends I.TabPanel{}const No=Do.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,I.foundationTabPanelTemplate)(e,a),styles:(e,a)=>d.css`
1693
+ ${(0,I.foundationTabPanelStyles)(e,a)}
1685
1694
  :host {
1686
1695
  padding: 0;
1687
1696
  }
1688
- `,shadowOptions:j.foundationTabPanelShadowOptions},j.defaultTabPanelConfig));class Fo extends j.Tabs{}const $o=Fo.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,j.foundationTabsTemplate)(e,a),styles:(e,a)=>s.css`
1689
- ${(0,j.foundationTabsStyles)(e,a)}
1697
+ `,shadowOptions:I.foundationTabPanelShadowOptions},I.defaultTabPanelConfig));class Fo extends I.Tabs{}const $o=Fo.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,I.foundationTabsTemplate)(e,a),styles:(e,a)=>d.css`
1698
+ ${(0,I.foundationTabsStyles)(e,a)}
1690
1699
  :host .tablist {
1691
1700
  padding: 0;
1692
1701
  display: block;
1693
- background-color: ${p.neutralLayer3};
1702
+ background-color: ${c.neutralLayer3};
1694
1703
  width: 100%;
1695
1704
  height: 42px;
1696
1705
  border-bottom: calc(var(--stroke-width) * 1px) solid ${de.lightGrey};
@@ -1731,8 +1740,8 @@
1731
1740
  height: 2px;
1732
1741
  margin-top: 0;
1733
1742
  }
1734
- `,shadowOptions:j.foundationTabsShadowOptions},j.defaultTabsConfig));class Lo extends j.TextArea{}const Mo=Lo.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,j.foundationTextAreaTemplate)(e,a),styles:(e,a)=>s.css`
1735
- ${(0,j.foundationTextAreaStyles)(e,a)}
1743
+ `,shadowOptions:I.foundationTabsShadowOptions},I.defaultTabsConfig));class Lo extends I.TextArea{}const Mo=Lo.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,I.foundationTextAreaTemplate)(e,a),styles:(e,a)=>d.css`
1744
+ ${(0,I.foundationTextAreaStyles)(e,a)}
1736
1745
  :host {
1737
1746
  --primary-gradient-angle: -113.5deg;
1738
1747
  }
@@ -1776,11 +1785,11 @@
1776
1785
  color: ${Ha};
1777
1786
  margin: calc(var(--design-unit) * 2px) 0;
1778
1787
  }
1779
- `,shadowOptions:j.foundationTextAreaShadowOptions},j.defaultTextAreaConfig));class Ro extends j.TextField{}const jo=Ro.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,j.foundationTextFieldTemplate)(e,a),styles:It,shadowOptions:j.foundationTextFieldShadowOptions},j.defaultTextFieldConfig)),Io=s.css`
1780
- ${j.foundationToastStyles}
1788
+ `,shadowOptions:I.foundationTextAreaShadowOptions},I.defaultTextAreaConfig));class Ro extends I.TextField{}const jo=Ro.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,I.foundationTextFieldTemplate)(e,a),styles:It,shadowOptions:I.foundationTextFieldShadowOptions},I.defaultTextFieldConfig)),Io=d.css`
1789
+ ${I.foundationToastStyles}
1781
1790
  .toast {
1782
- border: calc(var(--stroke-width) * 1px) solid ${p.neutralLayer3};
1783
- background-color: ${p.neutralLayer1};
1791
+ border: calc(var(--stroke-width) * 1px) solid ${c.neutralLayer3};
1792
+ background-color: ${c.neutralLayer1};
1784
1793
  }
1785
1794
 
1786
1795
  .toast::after {
@@ -1802,12 +1811,12 @@
1802
1811
  :host([notify='serious']) .toast::after {
1803
1812
  background-color: ${qe(1)};
1804
1813
  }
1805
- `,Eo=j.defaultToastConfig,Po=j.foundationToastShadowOptions;class Uo extends j.Toast{}const Go=Uo.compose(Object.assign({baseName:"toast",shadowOptions:Po,styles:Io,template:j.foundationToastTemplate},Eo));class Bo extends j.Toolbar{}const _o=Bo.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,j.foundationToolbarTemplate)(e,a),styles:(e,a)=>s.css`
1806
- ${(0,j.foundationToolbarStyles)(e,a)}
1807
- `,shadowOptions:j.foundationToolbarShadowOptions},j.defaultToolbarConfig));class Ho extends j.Tooltip{}const Yo=Ho.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,j.foundationTooltipTemplate)(e,a),styles:(e,a)=>s.css`
1808
- ${(0,j.foundationTooltipStyles)(e,a)}
1809
- `,shadowOptions:j.foundationTooltipShadowOptions},j.defaultTooltipConfig));class Vo extends j.TreeItem{}const Qo=Vo.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,j.foundationTreeItemTemplate)(e,a),styles:(e,a)=>s.css`
1810
- ${(0,j.foundationTreeItemStyles)(e,a)}
1814
+ `,Eo=I.defaultToastConfig,Po=I.foundationToastShadowOptions;class Uo extends I.Toast{}const Go=Uo.compose(Object.assign({baseName:"toast",shadowOptions:Po,styles:Io,template:I.foundationToastTemplate},Eo));class Bo extends I.Toolbar{}const _o=Bo.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,I.foundationToolbarTemplate)(e,a),styles:(e,a)=>d.css`
1815
+ ${(0,I.foundationToolbarStyles)(e,a)}
1816
+ `,shadowOptions:I.foundationToolbarShadowOptions},I.defaultToolbarConfig));class Ho extends I.Tooltip{}const Yo=Ho.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,I.foundationTooltipTemplate)(e,a),styles:(e,a)=>d.css`
1817
+ ${(0,I.foundationTooltipStyles)(e,a)}
1818
+ `,shadowOptions:I.foundationTooltipShadowOptions},I.defaultTooltipConfig));class Vo extends I.TreeItem{}const Qo=Vo.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,I.foundationTreeItemTemplate)(e,a),styles:(e,a)=>d.css`
1819
+ ${(0,I.foundationTreeItemStyles)(e,a)}
1811
1820
  :host {
1812
1821
  --primary-gradient-angle: -113.5deg;
1813
1822
  --base-height-multiplier: 15;
@@ -1834,12 +1843,12 @@
1834
1843
  background-size: cover;
1835
1844
  background-repeat: no-repeat;
1836
1845
  }
1837
- `,shadowOptions:j.foundationTreeItemShadowOptions},j.defaultTreeItemConfig));class Wo extends j.TreeView{}const qo=Wo.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,j.foundationTreeViewTemplate)(e,a),styles:(e,a)=>s.css`
1838
- ${(0,j.foundationTreeViewStyles)(e,a)}
1839
- `,shadowOptions:j.foundationTreeViewShadowOptions},j.defaultTreeViewConfig)),Jo=s.html`
1840
- ${(0,j.getPrefixedUrlInput)("zero")}
1841
- `;class Zo extends j.UrlInput{}const Ko={zeroAccordion:Fe,zeroAccordionItem:Le,zeroActionsMenu:Re,zeroAnchor:va,zeroAnchoredRegion:fa,zeroAvatar:ya,zeroBadge:za,zeroBanner:Aa,zeroBreadcrumbItem:Na,zeroBreadcrumb:Oa,zeroButton:$a,zeroCalendar:Ma,zeroCard:ja,zeroCheckbox:Ea,zeroCombobox:Za,zeroConnectionIndicator:Xa,zeroDataGrid:tr,zeroDesignSystemProvider:pr,zeroDialog:yr,zeroDatePicker:nr,zeroDisclosure:zr,zeroDivider:Sr,zeroDropdownMenu:Ar,zeroErrorBoundary:$r,zeroNotificationListener:jt,zeroErrorBanner:Nr,zeroErrorDialog:Mr,zeroFileUpload:Ur,zeroFilter:_r,zeroFilterBar:Vr,zeroFlexLayout:Wr,zeroFlipper:Jr,zeroFlyout:rt,zeroGridLayout:ot,zeroGridLayoutItem:nt,zeroHorizontalScroll:gt,zeroIcon:pt,zeroListbox:ht,zeroListboxOption:vt,zeroMenu:wt,zeroMenuItem:zt,zeroModal:Ot,zeroMultiselect:Mt,zeroNumberField:Bt,zeroProgress:Ht,zeroProgressRing:Qt,zeroRadio:qt,zeroRadioGroup:Zt,zeroSegmentedControl:Xt,zeroSegmentedItem:ao,zeroSelect:to,zeroSkeleton:io,zeroSlider:lo,zeroSliderLabel:so,zeroSnackbar:mo,zeroStepper:wo,zeroStepperTab:zo,zeroStepperTabPanel:So,zeroSwitch:Ao,zeroTab:Oo,zeroTabPanel:No,zeroTabs:$o,zeroTextArea:Mo,zeroTextField:jo,zeroToast:Go,zeroToolbar:_o,zeroTooltip:Yo,zeroTreeItem:Qo,zeroTreeView:qo,zeroUrlInput:Zo.compose(Object.assign({baseName:"url-input",template:Jo,styles:(e,a)=>s.css`
1842
- ${(0,j.foundationUrlInputStyles)(e,a)}
1846
+ `,shadowOptions:I.foundationTreeItemShadowOptions},I.defaultTreeItemConfig));class Wo extends I.TreeView{}const qo=Wo.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,I.foundationTreeViewTemplate)(e,a),styles:(e,a)=>d.css`
1847
+ ${(0,I.foundationTreeViewStyles)(e,a)}
1848
+ `,shadowOptions:I.foundationTreeViewShadowOptions},I.defaultTreeViewConfig)),Jo=d.html`
1849
+ ${(0,I.getPrefixedUrlInput)("zero")}
1850
+ `;class Zo extends I.UrlInput{}const Ko={zeroAccordion:Fe,zeroAccordionItem:Le,zeroActionsMenu:Re,zeroAnchor:va,zeroAnchoredRegion:fa,zeroAvatar:ya,zeroBadge:za,zeroBanner:Aa,zeroBreadcrumbItem:Na,zeroBreadcrumb:Oa,zeroButton:$a,zeroCalendar:Ma,zeroCard:ja,zeroCheckbox:Ea,zeroCombobox:Za,zeroConnectionIndicator:Xa,zeroDataGrid:tr,zeroDesignSystemProvider:pr,zeroDialog:yr,zeroDatePicker:nr,zeroDisclosure:zr,zeroDivider:Sr,zeroDropdownMenu:Ar,zeroErrorBoundary:$r,zeroNotificationListener:jt,zeroErrorBanner:Nr,zeroErrorDialog:Mr,zeroFileUpload:Ur,zeroFilter:_r,zeroFilterBar:Vr,zeroFlexLayout:Wr,zeroFlipper:Jr,zeroFlyout:rt,zeroGridLayout:ot,zeroGridLayoutItem:nt,zeroHorizontalScroll:gt,zeroIcon:pt,zeroListbox:ht,zeroListboxOption:vt,zeroMenu:wt,zeroMenuItem:zt,zeroModal:Ot,zeroMultiselect:Mt,zeroNumberField:Bt,zeroProgress:Ht,zeroProgressRing:Qt,zeroRadio:qt,zeroRadioGroup:Zt,zeroSegmentedControl:Xt,zeroSegmentedItem:ao,zeroSelect:to,zeroSkeleton:io,zeroSlider:lo,zeroSliderLabel:so,zeroSnackbar:mo,zeroStepper:wo,zeroStepperTab:zo,zeroStepperTabPanel:So,zeroSwitch:Ao,zeroTab:Oo,zeroTabPanel:No,zeroTabs:$o,zeroTextArea:Mo,zeroTextField:jo,zeroToast:Go,zeroToolbar:_o,zeroTooltip:Yo,zeroTreeItem:Qo,zeroTreeView:qo,zeroUrlInput:Zo.compose(Object.assign({baseName:"url-input",template:Jo,styles:(e,a)=>d.css`
1851
+ ${(0,I.foundationUrlInputStyles)(e,a)}
1843
1852
  a {
1844
1853
  color: ${se.blue};
1845
1854
  opacity: 65%;
@@ -1848,23 +1857,23 @@
1848
1857
  a:hover {
1849
1858
  opacity: 100%;
1850
1859
  }
1851
- `,shadowOptions:j.foundationUrlInputShadowOptions},j.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Xo,ei,ai=r(80249),ri=r(87530),ti=r.n(ri),oi=r(79014),ii=r.n(oi);!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"}(Xo||(Xo={})),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"}(ei||(ei={}));const ni=e=>`${e}-token-map`,li=(e,a)=>s.css`
1860
+ `,shadowOptions:I.foundationUrlInputShadowOptions},I.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Xo,ei,ai=r(80249),ri=r(87530),ti=r.n(ri),oi=r(79014),ii=r.n(oi);!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"}(Xo||(Xo={})),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"}(ei||(ei={}));const ni=e=>`${e}-token-map`,li=(e,a)=>d.css`
1852
1861
  .${ni(e)} {
1853
- ${new j.CSSVarsTokenMapper(a)}
1862
+ ${new I.CSSVarsTokenMapper(a)}
1854
1863
  }
1855
- `;var gi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.editable="editable",e.text="text",e.select="select",e.dateEditor="dateEditor",e.selectEditor="selectEditor",e.numberEditor="numberEditor",e.stringEditor="stringEditor",e.multiselectEditor="multiselectEditor"}(gi||(gi={}));const di="__editedColumn",si="__errorColumn";ti().extend(ii());class ci extends c.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.dateFormat=e.withTime?"YYYY-MM-DDTHH:mm":"YYYY-MM-DD",this.inputType=e.withTime?"datetime-local":"date",this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}changeHandler(e){const a=e.target.control.valueAsNumber;this.value=isNaN(a)?void 0:a}afterGuiAttached(){this.input.focus()}isCancelBeforeStart(){return!!this.params.data[di]}}(0,ai.__decorate)([s.observable],ci.prototype,"value",void 0),(0,ai.__decorate)([s.observable],ci.prototype,"actualWidth",void 0);const pi=s.css`
1864
+ `;var gi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.editable="editable",e.text="text",e.select="select",e.dateEditor="dateEditor",e.selectEditor="selectEditor",e.numberEditor="numberEditor",e.stringEditor="stringEditor",e.multiselectEditor="multiselectEditor"}(gi||(gi={}));const di="__editedColumn",si="__errorColumn";ti().extend(ii());class ci extends s.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.dateFormat=e.withTime?"YYYY-MM-DDTHH:mm":"YYYY-MM-DD",this.inputType=e.withTime?"datetime-local":"date",this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}changeHandler(e){const a=e.target.control.valueAsNumber;this.value=isNaN(a)?void 0:a}afterGuiAttached(){this.input.focus()}isCancelBeforeStart(){return!!this.params.data[di]}}(0,ai.__decorate)([d.observable],ci.prototype,"value",void 0),(0,ai.__decorate)([d.observable],ci.prototype,"actualWidth",void 0);const pi=d.css`
1856
1865
  :host {
1857
1866
  display: flex;
1858
1867
  }
1859
- `,ui=(e="foundation")=>s.html`
1868
+ `,ui=(e="foundation")=>d.html`
1860
1869
  <${e}-text-field
1861
- ${(0,s.ref)("input")}
1870
+ ${(0,d.ref)("input")}
1862
1871
  :value=${e=>void 0===e.value||null===e.value?"":ti().utc(e.value).format(e.dateFormat)}
1863
1872
  type=${e=>e.inputType}
1864
1873
  @input=${(e,a)=>e.changeHandler(a.event)}
1865
1874
  style="width: ${e=>e.actualWidth}px"
1866
1875
  ></${e}-text-field>
1867
- `,hi=ci.compose({baseName:"date-editor",styles:pi,template:ui()});class mi extends ci{}const vi=mi.compose({baseName:"date-editor",styles:pi,template:ui("zero")});class bi extends c.FoundationElement{init(e){e&&(this.params=e,this.selectedOptions=e.value,this.params.selectedOptionsCallback&&this.params.selectedOptionsCallback(this.params.data).then((e=>{this.selectedOptions=e})),"string"==typeof e.value&&(this.selectedOptions=e.value.split(",")))}getGui(){return this}destroy(){}refresh(e){return!0}getValue(){return this.selectedOptions}isPopup(){return!0}changeHandler(e){this.selectedOptions=e.detail}isCancelBeforeStart(){return!!this.params.data[di]}}(0,ai.__decorate)([s.observable],bi.prototype,"params",void 0),(0,ai.__decorate)([s.observable],bi.prototype,"selectedOptions",void 0);const fi=s.css``,wi=(e="foundation")=>s.html`
1876
+ `,hi=ci.compose({baseName:"date-editor",styles:pi,template:ui()});class mi extends ci{}const vi=mi.compose({baseName:"date-editor",styles:pi,template:ui("zero")});class bi extends s.FoundationElement{init(e){e&&(this.params=e,this.selectedOptions=e.value,this.params.selectedOptionsCallback&&this.params.selectedOptionsCallback(this.params.data).then((e=>{this.selectedOptions=e})),"string"==typeof e.value&&(this.selectedOptions=e.value.split(",")))}getGui(){return this}destroy(){}refresh(e){return!0}getValue(){return this.selectedOptions}isPopup(){return!0}changeHandler(e){this.selectedOptions=e.detail}isCancelBeforeStart(){return!!this.params.data[di]}}(0,ai.__decorate)([d.observable],bi.prototype,"params",void 0),(0,ai.__decorate)([d.observable],bi.prototype,"selectedOptions",void 0);const fi=d.css``,wi=(e="foundation")=>d.html`
1868
1877
  <${e}-multiselect
1869
1878
  style="width: 100%"
1870
1879
  ?async=${e=>e.params.async}
@@ -1878,10 +1887,10 @@
1878
1887
  :datasourceConfig=${e=>e.params.datasourceOptions}
1879
1888
  ></multiselect-datasource>
1880
1889
  </${e}-multiselect>
1881
- `,yi=bi.compose({baseName:"multiselect-editor",styles:fi,template:wi()});class xi extends bi{}const zi=xi.compose({baseName:"multiselect-editor",styles:fi,template:wi("zero")});class ki extends c.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.combobox.open=!0}changeHandler(e){var a;this.value=null===(a=e.detail)||void 0===a?void 0:a.value}isCancelBeforeStart(){return!!this.params.data[di]}}(0,ai.__decorate)([s.observable],ki.prototype,"params",void 0),(0,ai.__decorate)([s.observable],ki.prototype,"value",void 0),(0,ai.__decorate)([s.observable],ki.prototype,"actualWidth",void 0);const Si=s.css``,Ci=(e="foundation")=>s.html`
1890
+ `,yi=bi.compose({baseName:"multiselect-editor",styles:fi,template:wi()});class xi extends bi{}const zi=xi.compose({baseName:"multiselect-editor",styles:fi,template:wi("zero")});class ki extends s.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.combobox.open=!0}changeHandler(e){var a;this.value=null===(a=e.detail)||void 0===a?void 0:a.value}isCancelBeforeStart(){return!!this.params.data[di]}}(0,ai.__decorate)([d.observable],ki.prototype,"params",void 0),(0,ai.__decorate)([d.observable],ki.prototype,"value",void 0),(0,ai.__decorate)([d.observable],ki.prototype,"actualWidth",void 0);const Si=d.css``,Ci=(e="foundation")=>d.html`
1882
1891
  <${e}-combobox
1883
1892
  style="width: ${e=>e.actualWidth}px"
1884
- ${(0,s.ref)("combobox")}
1893
+ ${(0,d.ref)("combobox")}
1885
1894
  ?async=${e=>e.params.async}
1886
1895
  @value-change=${(e,a)=>e.changeHandler(a.event)}
1887
1896
  >
@@ -1894,13 +1903,13 @@
1894
1903
  :initialSelectedValue=${e=>e.params.value}
1895
1904
  ></options-datasource>
1896
1905
  </${e}-combobox>
1897
- `,Ai=ki.compose({baseName:"select-editor",styles:Si,template:Ci()});class Ti extends ki{}const Oi=Ti.compose({baseName:"select-editor",styles:Si,template:Ci("zero")});class Di extends c.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){const a=parseFloat(e.target.value);this.value=isNaN(a)?void 0:a}isCancelBeforeStart(){return!!this.params.data[di]}}(0,ai.__decorate)([s.observable],Di.prototype,"params",void 0),(0,ai.__decorate)([s.observable],Di.prototype,"value",void 0),(0,ai.__decorate)([s.observable],Di.prototype,"actualWidth",void 0);const Ni=s.css`
1906
+ `,Ai=ki.compose({baseName:"select-editor",styles:Si,template:Ci()});class Ti extends ki{}const Oi=Ti.compose({baseName:"select-editor",styles:Si,template:Ci("zero")});class Di extends s.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){const a=parseFloat(e.target.value);this.value=isNaN(a)?void 0:a}isCancelBeforeStart(){return!!this.params.data[di]}}(0,ai.__decorate)([d.observable],Di.prototype,"params",void 0),(0,ai.__decorate)([d.observable],Di.prototype,"value",void 0),(0,ai.__decorate)([d.observable],Di.prototype,"actualWidth",void 0);const Ni=d.css`
1898
1907
  :host {
1899
1908
  display: flex;
1900
1909
  }
1901
- `,Fi=(e="foundation")=>s.html`
1910
+ `,Fi=(e="foundation")=>d.html`
1902
1911
  <${e}-number-field
1903
- ${(0,s.ref)("input")}
1912
+ ${(0,d.ref)("input")}
1904
1913
  withFormatting=${e=>e.params.withFormatting}
1905
1914
  :options=${e=>e.params.formatOptions}
1906
1915
  :value=${e=>void 0===e.value?"":String(e.value)}
@@ -1910,29 +1919,29 @@
1910
1919
  hideStep
1911
1920
  style="width: ${e=>e.actualWidth}px"
1912
1921
  ></${e}-number-field>
1913
- `,$i=Di.compose({baseName:"number-editor",styles:Ni,template:Fi()});class Li extends Di{}const Mi=Li.compose({baseName:"number-editor",styles:Ni,template:Fi("zero")});class Ri extends c.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){this.value=e.target.value}isCancelBeforeStart(){return!!this.params.data[di]}}(0,ai.__decorate)([s.observable],Ri.prototype,"params",void 0),(0,ai.__decorate)([s.observable],Ri.prototype,"value",void 0),(0,ai.__decorate)([s.observable],Ri.prototype,"actualWidth",void 0);const ji=s.css`
1922
+ `,$i=Di.compose({baseName:"number-editor",styles:Ni,template:Fi()});class Li extends Di{}const Mi=Li.compose({baseName:"number-editor",styles:Ni,template:Fi("zero")});class Ri extends s.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){this.value=e.target.value}isCancelBeforeStart(){return!!this.params.data[di]}}(0,ai.__decorate)([d.observable],Ri.prototype,"params",void 0),(0,ai.__decorate)([d.observable],Ri.prototype,"value",void 0),(0,ai.__decorate)([d.observable],Ri.prototype,"actualWidth",void 0);const ji=d.css`
1914
1923
  :host {
1915
1924
  display: flex;
1916
1925
  }
1917
- `,Ii=(e="foundation")=>s.html`
1926
+ `,Ii=(e="foundation")=>d.html`
1918
1927
  <${e}-text-field
1919
- ${(0,s.ref)("input")}
1928
+ ${(0,d.ref)("input")}
1920
1929
  :value=${e=>void 0===e.value?"":e.value}
1921
1930
  @input=${(e,a)=>{e.changeHandler(a.event)}}
1922
1931
  placeholder=${e=>e.params.placeholder}
1923
1932
  style="width: ${e=>e.actualWidth}px"
1924
1933
  >
1925
1934
  </${e}-text-field>
1926
- `,Ei=Ri.compose({baseName:"string-editor",styles:ji,template:Ii()});class Pi extends Ri{}const Ui=Pi.compose({baseName:"string-editor",styles:ji,template:Ii("zero")});class Gi extends c.FoundationElement{init(e){e&&(this.valueFormatted=e.formatValue(e.value))}getGui(){return this}refresh(e){return this.valueFormatted=e.formatValue(e.value),!0}}(0,ai.__decorate)([s.observable],Gi.prototype,"valueFormatted",void 0);const Bi=s.css`
1935
+ `,Ei=Ri.compose({baseName:"string-editor",styles:ji,template:Ii()});class Pi extends Ri{}const Ui=Pi.compose({baseName:"string-editor",styles:ji,template:Ii("zero")});class Gi extends s.FoundationElement{init(e){e&&(this.valueFormatted=e.formatValue(e.value))}getGui(){return this}refresh(e){return this.valueFormatted=e.formatValue(e.value),!0}}(0,ai.__decorate)([d.observable],Gi.prototype,"valueFormatted",void 0);const Bi=d.css`
1927
1936
  :host {
1928
1937
  display: flex;
1929
1938
  justify-content: space-between;
1930
1939
  align-items: center;
1931
1940
  }
1932
- `,_i=(e="foundation")=>s.html`
1941
+ `,_i=(e="foundation")=>d.html`
1933
1942
  <span>${e=>e.valueFormatted}</span>
1934
1943
  <${e}-progress-ring style="margin: 0; width: 20px; height: 20px"></${e}-progress-ring>
1935
- `,Hi=Gi.compose({baseName:"editable-renderer",styles:Bi,template:_i()});class Yi extends Gi{}const Vi=Yi.compose({baseName:"editable-renderer",styles:Bi,template:_i("zero")});var Qi=r(59783);const Wi=(0,g.createLogger)("grid-pro");class qi extends c.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===Qi.VDZ.ENTER&&this.clickHandler()})))}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){Wi.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,ai.__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,ai.__decorate)([s.observable],qi.prototype,"params",void 0),(0,ai.__decorate)([s.observable],qi.prototype,"pendingAction",void 0);const{create:Ji}=c.DesignToken,Zi=(Ji("action-height-multiplier").withDefault("0.6px"),s.css`
1944
+ `,Hi=Gi.compose({baseName:"editable-renderer",styles:Bi,template:_i()});class Yi extends Gi{}const Vi=Yi.compose({baseName:"editable-renderer",styles:Bi,template:_i("zero")});var Qi=r(59783);const Wi=(0,h.createLogger)("grid-pro");class qi extends s.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===Qi.VDZ.ENTER&&this.clickHandler()})))}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){Wi.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,ai.__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,ai.__decorate)([d.observable],qi.prototype,"params",void 0),(0,ai.__decorate)([d.observable],qi.prototype,"pendingAction",void 0);const{create:Ji}=s.DesignToken,Zi=(Ji("action-height-multiplier").withDefault("0.6px"),d.css`
1936
1945
  .action-container {
1937
1946
  align-items: center;
1938
1947
  display: flex;
@@ -1947,9 +1956,9 @@
1947
1956
  var(--action-height-multiplier)
1948
1957
  );
1949
1958
  }
1950
- `),Ki=qi.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1959
+ `),Ki=qi.compose({baseName:"grid-pro-action-renderer",styles:d.css`
1951
1960
  ${Zi}
1952
- `,template:s.html`
1961
+ `,template:d.html`
1953
1962
  <div class="action-container" part="action-container">
1954
1963
  <foundation-button
1955
1964
  class="action-renderer"
@@ -1958,9 +1967,9 @@
1958
1967
  ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
1959
1968
  appearance="${e=>e.params.appearance}"
1960
1969
  @click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
1961
- </div>`});class Xi extends qi{}const en=Xi.compose({baseName:"grid-pro-action-renderer",styles:s.css`
1970
+ </div>`});class Xi extends qi{}const en=Xi.compose({baseName:"grid-pro-action-renderer",styles:d.css`
1962
1971
  ${Zi}
1963
- `,template:s.html`
1972
+ `,template:d.html`
1964
1973
  <div class="action-container" part="action-container">
1965
1974
  <zero-button
1966
1975
  class="action-renderer"
@@ -1971,34 +1980,34 @@
1971
1980
  appearance="${e=>e.params.appearance}"
1972
1981
  @click=${e=>e.clickHandler()}
1973
1982
  >
1974
- ${e=>e.params.contentTemplate?s.html`
1983
+ ${e=>e.params.contentTemplate?d.html`
1975
1984
  ${e.params.contentTemplate}
1976
1985
  `:e.params.actionName}
1977
1986
  </zero-button>
1978
1987
  </div>
1979
- `});class an extends c.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,ai.__decorate)([s.observable],an.prototype,"params",void 0);const rn=an.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1988
+ `});class an extends s.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,ai.__decorate)([d.observable],an.prototype,"params",void 0);const rn=an.compose({baseName:"grid-pro-actions-menu-renderer",template:d.html`
1980
1989
  <foundation-actions-menu
1981
1990
  name="${e=>e.params.headerName}"
1982
1991
  :definition=${e=>e.params}
1983
1992
  ></foundation-actions-menu>
1984
- `});class tn extends an{}const on=tn.compose({baseName:"grid-pro-actions-menu-renderer",template:s.html`
1993
+ `});class tn extends an{}const on=tn.compose({baseName:"grid-pro-actions-menu-renderer",template:d.html`
1985
1994
  <zero-actions-menu
1986
1995
  name="${e=>e.params.headerName}"
1987
1996
  :definition=${e=>e.params}
1988
1997
  ></zero-actions-menu>
1989
- `});class nn extends c.FoundationElement{init(e){e&&(this.params=e,this.selected=e.value)}changeHandler(e){this.selected=e.target.checked;if(!!!this.params.api.getEditingCells().find((e=>e.rowIndex===this.params.rowIndex&&e.column.getInstanceId()===this.params.column.getInstanceId()))){const{column:e,node:a,rowIndex:r,value:t}=this.params,o={type:Qi.zW2.EVENT_CELL_EDITING_STARTED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t};this.params.api.dispatchEvent(o);const i=this.params.node.setDataValue(this.params.column,this.selected,"edit"),n={type:Qi.zW2.EVENT_CELL_EDITING_STOPPED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t,oldValue:t,newValue:this.selected,valueChanged:i};this.params.api.dispatchEvent(n)}}getGui(){return this}destroy(){}refresh(e){return this.selected=e.value,!0}getValue(){return this.selected}isCancelBeforeStart(){return!!this.params.data[di]}}(0,ai.__decorate)([s.observable],nn.prototype,"params",void 0),(0,ai.__decorate)([s.observable],nn.prototype,"selected",void 0);const ln=s.css`
1998
+ `});class nn extends s.FoundationElement{init(e){e&&(this.params=e,this.selected=e.value)}changeHandler(e){this.selected=e.target.checked;if(!!!this.params.api.getEditingCells().find((e=>e.rowIndex===this.params.rowIndex&&e.column.getInstanceId()===this.params.column.getInstanceId()))){const{column:e,node:a,rowIndex:r,value:t}=this.params,o={type:Qi.zW2.EVENT_CELL_EDITING_STARTED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t};this.params.api.dispatchEvent(o);const i=this.params.node.setDataValue(this.params.column,this.selected,"edit"),n={type:Qi.zW2.EVENT_CELL_EDITING_STOPPED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t,oldValue:t,newValue:this.selected,valueChanged:i};this.params.api.dispatchEvent(n)}}getGui(){return this}destroy(){}refresh(e){return this.selected=e.value,!0}getValue(){return this.selected}isCancelBeforeStart(){return!!this.params.data[di]}}(0,ai.__decorate)([d.observable],nn.prototype,"params",void 0),(0,ai.__decorate)([d.observable],nn.prototype,"selected",void 0);const ln=d.css`
1990
1999
  :host {
1991
2000
  align-center: center;
1992
2001
  display: flex;
1993
2002
  height: 100%;
1994
2003
  }
1995
- `,gn=(e="foundation")=>{const a=`${e}-checkbox`;return s.html`
2004
+ `,gn=(e="foundation")=>{const a=`${e}-checkbox`;return d.html`
1996
2005
  <${a}
1997
2006
  @change=${(e,a)=>e.changeHandler(a.event)}
1998
2007
  :checked=${e=>e.selected}
1999
2008
  ?disabled=${e=>!e.params.colDef.editable}
2000
2009
  ></${a}>
2001
- `},dn=nn.compose({baseName:"boolean-renderer",styles:ln,template:gn()});class sn extends nn{}const cn=sn.compose({baseName:"boolean-renderer",styles:ln,template:gn("zero")});var pn=r(18471);const un=(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 hn 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?un(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,ai.__decorate)([s.observable],hn.prototype,"textValue",void 0),(0,ai.__decorate)([s.observable],hn.prototype,"params",void 0);const mn=s.css`
2010
+ `},dn=nn.compose({baseName:"boolean-renderer",styles:ln,template:gn()});class sn extends nn{}const cn=sn.compose({baseName:"boolean-renderer",styles:ln,template:gn("zero")});var pn=r(18471);const un=(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 hn extends s.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?un(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,ai.__decorate)([d.observable],hn.prototype,"textValue",void 0),(0,ai.__decorate)([d.observable],hn.prototype,"params",void 0);const mn=d.css`
2002
2011
  :host {
2003
2012
  display: flex;
2004
2013
  width: 100%;
@@ -2008,15 +2017,15 @@
2008
2017
  .text-renderer {
2009
2018
  width: 100%;
2010
2019
  }
2011
- `,vn=(e="foundation")=>{const a=`${e}-text-field`;return s.html`
2020
+ `,vn=(e="foundation")=>{const a=`${e}-text-field`;return d.html`
2012
2021
  <${a}
2013
- ${(0,s.ref)("textField")}
2022
+ ${(0,d.ref)("textField")}
2014
2023
  type="text"
2015
2024
  class="text-renderer"
2016
2025
  :value="${(0,pn.Z)((e=>e.textValue))}"
2017
2026
  @change="${(e,a)=>e.textChanged(a.event)}"
2018
2027
  ></${a}>
2019
- `},bn=hn.compose({baseName:"grid-pro-text-renderer",styles:mn,template:vn()});class fn extends hn{}const wn=mn,yn=vn,xn=fn.compose({baseName:"grid-text-renderer",styles:wn,template:yn()});const zn=class extends fn{}.compose({baseName:"grid-text-renderer",styles:wn,template:yn("zero")});class kn 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=un(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,ai.__decorate)([s.observable],kn.prototype,"params",void 0),(0,ai.__decorate)([s.observable],kn.prototype,"value",void 0);const Sn=s.css`
2028
+ `},bn=hn.compose({baseName:"grid-pro-text-renderer",styles:mn,template:vn()});class fn extends hn{}const wn=mn,yn=vn,xn=fn.compose({baseName:"grid-text-renderer",styles:wn,template:yn()});const zn=class extends fn{}.compose({baseName:"grid-text-renderer",styles:wn,template:yn("zero")});class kn extends s.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=un(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,ai.__decorate)([d.observable],kn.prototype,"params",void 0),(0,ai.__decorate)([d.observable],kn.prototype,"value",void 0);const Sn=d.css`
2020
2029
  :host,
2021
2030
  .select-renderer,
2022
2031
  zero-option,
@@ -2025,7 +2034,7 @@
2025
2034
  max-width: var(--select-renderer-max-width);
2026
2035
  min-width: 100%;
2027
2036
  }
2028
- `,Cn=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return s.html`
2037
+ `,Cn=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return d.html`
2029
2038
  <${a}
2030
2039
  class="select-renderer"
2031
2040
  @change=${(e,a)=>e.selectionChanged(a.event)}
@@ -2037,19 +2046,19 @@
2037
2046
  >
2038
2047
  ${e=>e.params.defaultValue||"Select option"}
2039
2048
  </${r}>
2040
- ${(0,s.repeat)((e=>e.params.options(e.params.node.data)),s.html`
2049
+ ${(0,d.repeat)((e=>e.params.options(e.params.node.data)),d.html`
2041
2050
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
2042
2051
  `)}
2043
2052
  </${a}>
2044
- `},An=kn.compose({baseName:"select-renderer",styles:Sn,template:Cn()});const Tn=class extends kn{}.compose({baseName:"select-renderer",styles:Sn,template:Cn("zero")});var On=r(89861),Dn=r(86534),Nn=r(75527),Fn=r(9492);const $n=e=>{var a,r,t,o,i,n,l,g,d;return d=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,Fn.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,Fn.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,Fn.__classPrivateFieldGet)(this,r,"f")._key&&!((0,Fn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Fn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Fn.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,Fn.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,Fn.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,Fn.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,Fn.__classPrivateFieldGet)(this,o,"f")&&((0,Fn.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,Fn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Fn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Fn.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,Fn.__classPrivateFieldGet)(this,r,"f")._key&&(0,Fn.__classPrivateFieldSet)(this,r,(0,Fn.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,Fn.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,Fn.__classPrivateFieldGet)(this,t,"f")!==(0,Fn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,Fn.__classPrivateFieldSet)(this,t,null!==(a=(0,Fn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,Fn.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,Fn.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,Fn.__classPrivateFieldSet)(this,t,null!==(o=(0,Fn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,Fn.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[Ln])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(t=r.getRootNode())||void 0===t?void 0:t.host))return{_key:"dom"};const o=r.getRootNode().host;if("FoundationLayoutMain"===o.class){const e=o;return e._key="foundation-layout",e}return(0,Fn.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},d},Ln=Symbol("layout-cache-document");var Mn=r(88556),Rn=r(9770);const jn=s.html`
2053
+ `},An=kn.compose({baseName:"select-renderer",styles:Sn,template:Cn()});const Tn=class extends kn{}.compose({baseName:"select-renderer",styles:Sn,template:Cn("zero")});var On=r(89861),Dn=r(86534),Nn=r(75527),Fn=r(9492);const $n=e=>{var a,r,t,o,i,n,l,g,d;return d=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,Fn.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,Fn.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,Fn.__classPrivateFieldGet)(this,r,"f")._key&&!((0,Fn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Fn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Fn.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,Fn.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,Fn.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,Fn.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,Fn.__classPrivateFieldGet)(this,o,"f")&&((0,Fn.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,Fn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Fn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Fn.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,Fn.__classPrivateFieldGet)(this,r,"f")._key&&(0,Fn.__classPrivateFieldSet)(this,r,(0,Fn.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,Fn.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,Fn.__classPrivateFieldGet)(this,t,"f")!==(0,Fn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,Fn.__classPrivateFieldSet)(this,t,null!==(a=(0,Fn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,Fn.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,Fn.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,Fn.__classPrivateFieldSet)(this,t,null!==(o=(0,Fn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,Fn.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[Ln])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(t=r.getRootNode())||void 0===t?void 0:t.host))return{_key:"dom"};const o=r.getRootNode().host;if("FoundationLayoutMain"===o.class){const e=o;return e._key="foundation-layout",e}return(0,Fn.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},d},Ln=Symbol("layout-cache-document");var Mn=r(88556),Rn=r(9770);const jn=d.html`
2045
2054
  <template>
2046
- <slot ${(0,s.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
2055
+ <slot ${(0,d.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
2047
2056
  </template>
2048
- `;let In=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,ai.__decorate)([s.observable],In.prototype,"renderer",void 0),(0,ai.__decorate)([s.observable],In.prototype,"rendererParams",void 0),(0,ai.__decorate)([s.observable],In.prototype,"slottedRenderer",void 0),In=(0,ai.__decorate)([(0,s.customElement)({name:"grid-pro-cell",template:jn})],In);const En=s.html`
2057
+ `;let In=class extends s.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,ai.__decorate)([d.observable],In.prototype,"renderer",void 0),(0,ai.__decorate)([d.observable],In.prototype,"rendererParams",void 0),(0,ai.__decorate)([d.observable],In.prototype,"slottedRenderer",void 0),In=(0,ai.__decorate)([(0,d.customElement)({name:"grid-pro-cell",template:jn})],In);const En=d.html`
2049
2058
  <template>
2050
- <slot ${(0,s.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
2059
+ <slot ${(0,d.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
2051
2060
  </template>
2052
- `;let Pn=class extends c.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,ai.__decorate)([s.observable],Pn.prototype,"slottedAgCell",void 0),(0,ai.__decorate)([s.observable],Pn.prototype,"definition",void 0),Pn=(0,ai.__decorate)([(0,s.customElement)({name:"grid-pro-column",template:En})],Pn);var Un=r(82940),Gn=r(32449),Bn=r(9162),_n=r(5127),Hn=r(83123),Yn=r(35991),Vn=r(6852),Qn=r(26714),Wn=r(71452),qn=r(99449),Jn=r(30526);class Zn extends c.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Un.WJ.MAX_ROWS_250,this.maxView=Un.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1}}(0,ai.__decorate)([l.lj],Zn.prototype,"connect",void 0),(0,ai.__decorate)([s.observable],Zn.prototype,"deferredGridOptions",void 0),(0,ai.__decorate)([s.observable],Zn.prototype,"deferredColumnStates",void 0),(0,ai.__decorate)([s.attr],Zn.prototype,"criteria",void 0),(0,ai.__decorate)([s.attr],Zn.prototype,"fields",void 0),(0,ai.__decorate)([(0,s.attr)({mode:"boolean",attribute:"is-snapshot"})],Zn.prototype,"isSnapshot",void 0),(0,ai.__decorate)([(0,s.attr)({attribute:"max-rows"})],Zn.prototype,"maxRows",void 0),(0,ai.__decorate)([(0,s.attr)({attribute:"max-view"})],Zn.prototype,"maxView",void 0),(0,ai.__decorate)([(0,s.attr)({mode:"boolean",attribute:"moving-view"})],Zn.prototype,"movingView",void 0),(0,ai.__decorate)([(0,s.attr)({attribute:"order-by"})],Zn.prototype,"orderBy",void 0),(0,ai.__decorate)([(0,s.attr)({attribute:"resource-name"})],Zn.prototype,"resourceName",void 0),(0,ai.__decorate)([(0,s.attr)({mode:"boolean"})],Zn.prototype,"reverse",void 0);var Kn=r(21607);function Xn({value:e}){return(0,Kn.D_)(e)}function el({value:e}){return(0,Kn.Lx)(e)}var al;!function(e){e.Add="add",e.Update="update",e.Remove="remove"}(al||(al={}));let rl=class extends($n(Zn)){constructor(){super(...arguments),this.pollingInterval=Un.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new Qn.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Gn.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;s.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;s.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}get agGrid(){return this.parentElement}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Un.WJ.REQUEST_SERVER_ROW_ID:Un.WJ.DATASERVER_ROW_ID}init(){return(0,ai.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const e=yield this.connect.getMetadata(this.resourceName);this.isRequestServer=e.TYPE===Un._g.REQUEST_SERVER;const a=Object.assign({getRowId:e=>e.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},a),this.agGrid.addEventListener("onGridReady",(()=>(0,ai.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Wn.T)(1),(0,qn.b)(r),(0,Jn.b)((e=>Wi.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Wi.warn("Application not connected, falling back to local columnDefs/rowData")}))}deinit(){this.reset()}reset(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new Qn.X(new Map),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rows.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rows=new Map,this.agTransaction=void 0,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){var a;const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=this.getAgColumnDefs(this.datasource.fieldMetadata);e&&this.agGrid.gridApi.setColumnDefs(e)}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.gridApi.setRowData(t),this.requiresFullRowDataAndColDefs=!1}reloadResourceData(){var e,a;return(0,ai.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,ai.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Wi.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot){const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}}else Wi.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===Bn.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,_n.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,_n.$)(e).inserts:e.inserts}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,disablePolling:this.disablePolling,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=e.REPLY;if(!Array.isArray(r)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Wi.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rows.set(e[this.rowId],e)}));const e=this.rows.size>0?Array.from(this.rows.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rows.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rows.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.applyAllAgTransactions()}applyDataserverData(e){var a;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rows.set(e[this.rowId],e)}));const r=Array.from(this.rows.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}applyAllAgTransactions(){this.agTransaction.add.length||this.agTransaction.update.length||this.agTransaction.remove.length?(this.agTransaction.add.length>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},al.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},al.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},al.Update,this.agGrid.asyncUpdate)):this.agGrid.gridApi.showNoRowsOverlay()}flashAddedCells(e){this.agGrid.enableRowFlashing&&e.length&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.agGrid.gridApi.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.agGrid.gridApi.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}mapTransaction(e,a=Object.values(al)){if(!this.rowDataMapper)return e;const r={};return a.includes(al.Add)&&(r.add=this.rowDataMapper(e.add,this.rows)),a.includes(al.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rows)),a.includes(al.Update)&&(r.update=this.rowDataMapper(e.update,this.rows)),r}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rows.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rows.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{this.agTransaction.remove.push({[this.rowId]:e[this.rowId]}),this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r),this.rows.set(e[this.rowId],r)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case Hn.r.DATE:case Hn.r.DATETIME:return{comparator:function(e,a){if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0}}}(e.type),e.type){case Hn.r.STRING:r.cellEditor=gi.stringEditor;break;case Hn.r.NUMBER:r.cellEditor=gi.numberEditor,r.filter="agNumberColumnFilter";break;case Hn.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=gi.boolean,r.cellEditor=gi.boolean);break;case Hn.r.DATE:r.valueFormatter=Xn,r.cellEditor=gi.dateEditor,r.filter="agDateColumnFilter";break;case Hn.r.DATETIME:r.valueFormatter=el,r.filter="agDateColumnFilter",r.cellEditor=gi.dateEditor,r.cellEditorParams={withTime:!0};break;case Hn.r.ENUM:r.cellEditor=gi.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Gn.p)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}};(0,ai.__decorate)([Yn.g],rl.prototype,"auth",void 0),(0,ai.__decorate)([Vn.Yh],rl.prototype,"datasource",void 0),(0,ai.__decorate)([(0,s.attr)({attribute:"polling-interval"})],rl.prototype,"pollingInterval",void 0),(0,ai.__decorate)([(0,s.attr)({mode:"boolean",attribute:"disable-polling"})],rl.prototype,"disablePolling",void 0),(0,ai.__decorate)([s.observable],rl.prototype,"request",void 0),(0,ai.__decorate)([(0,s.attr)({attribute:"row-id"})],rl.prototype,"rowIdAttr",void 0),(0,ai.__decorate)([(0,s.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],rl.prototype,"restartOnReconnection",void 0),(0,ai.__decorate)([s.observable],rl.prototype,"rowDataMapper",void 0),rl=(0,ai.__decorate)([(0,s.customElement)({name:"grid-pro-genesis-datasource"})],rl);let tl=class extends rl{};tl=(0,ai.__decorate)([(0,s.customElement)({name:"grid-pro-client-side-datasource"})],tl);var ol=r(66306),il=r(47546);function nl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"agNumberColumnFilter";case"date":case"datetime":return"agDateColumnFilter";default:return"agTextColumnFilter"}}function ll(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn";case"date":case"datetime":return"dateColumn";default:return null}}class gl{constructor(e){this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=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,ai.__awaiter)(this,void 0,void 0,(function*(){const r=e.request.filterModel,t=Object.keys(r).length>0,o=0===Object.keys(r).length,i=JSON.stringify(r)!==JSON.stringify(this.currentFilterModel);(i||t)&&(o&&this.currentFilterModel?(this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.restartSubscription()):i&&t&&(this.currentFilterModel=r,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),this.restartSubscription()));const n=e.request.sortModel;if(n.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||n.length>0)if(0===n.length&&this.currentSortModel)this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,this.restartSubscription();else if(n.length>0){this.currentSortModel=n;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>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,il.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===Bn.Cs.LOGOFF_ACK||o===Bn.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:Array.from(this.rowData.values()),rowCount:0};return void e.success(a)}{const e=(0,_n.$)(a);this.handleInitialStreamLoad(e)}this.lastSequenceId=a.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=a.SOURCE_REF,this.server_ROWS_COUNT=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size),!this.moreRows&&this.server_ROWS_COUNT>=this.client_ROWS_COUNT?this.calculatedRowsCount=this.client_ROWS_COUNT: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.server_ROWS_COUNT,this.maxView)),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?i.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT&&(i.rowCount=this.server_ROWS_COUNT),e.success(i)}))}))}dataLogoff(){this.streamSourceRef&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.streamSourceRef),this.streamSourceRef=void 0}restartSubscription(){this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>Wi.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.client_ROWS_COUNT+=r.size,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=>{if(this.currentFilterModel[a].filter||"false"!==this.currentFilterModel[a].type&&"true"!==this.currentFilterModel[a].type)switch(this.currentFilterModel[a].type){case"equals":e.push(`${a} == '${this.currentFilterModel[a].filter}'`);break;case"contains":e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter}')`)}else e.push(`${a} == ${this.currentFilterModel[a].type}`)})),this.getFiltersByType("number").forEach((a=>{const r=this.currentFilterModel[a].filter;switch(this.currentFilterModel[a].type){case"equals":!isNaN(r)&&e.push(`${a} == ${r}`);break;case"lessThan":!isNaN(r)&&e.push(`${a} < ${r}`);break;case"greaterThan":!isNaN(r)&&e.push(`${a} > ${r}`)}})),this.getFiltersByType("date").forEach((a=>{const r=this.currentFilterModel[a].dateFrom.replace(/-/g,"").replace("T","-").split(" ")[0];switch(this.currentFilterModel[a].type){case"equals":e.push(`Expr.dateIsEqual(${a}, '${r}')`);break;case"lessThan":e.push(`Expr.dateIsBefore(${a}, '${r}')`);break;case"greaterThan":e.push(`Expr.dateIsAfter(${a}, '${r}')`)}})),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,ai.__decorate)([Yn.g],gl.prototype,"auth",void 0),(0,ai.__decorate)([l.lj],gl.prototype,"connect",void 0);let dl=class extends($n(Zn)){constructor(){super(...arguments),this.pagination=!1,this.rowId="ROW_REF"}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,Gn.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()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,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=>{}},this.deferredGridOptions),void this.agGrid.addEventListener("onGridReady",(()=>(0,ai.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Wi.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,ol.C)(e);const a=(0,ol.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new gl({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});Wi.warn("Application not connected, falling back to local columnDefs/rowData")}reset(){var e;this.clearRowData(),this.dataserverStream=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.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));Wi.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 Wi.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,ai.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Wi.debug(e)),(e=>Wi.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=function(e){switch(e){case Hn.r.BOOLEAN:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains",{displayKey:"true",displayName:"True",predicate:(e,a)=>"true"===a||!0===a,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,a)=>"false"===a||!1===a,numberOfInputs:0},{displayKey:"true-false",displayName:"True/False",predicate:(e,a)=>"true"===a||!0===a||"false"===a||!1===a,numberOfInputs:0}]};case Hn.r.DATE:case Hn.r.DATETIME:return{comparator:(e,a)=>{if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0,filterOptions:["equals","lessThan","greaterThan"]};case Hn.r.NUMBER:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["equals","lessThan","greaterThan"]};default:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains","equals"]}}}(e.type),e.type){case Hn.r.NUMBER:r.cellEditor=gi.numberEditor;break;case Hn.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=gi.boolean,r.cellEditor=gi.boolean);break;case Hn.r.DATE:r.valueFormatter=Xn;break;case Hn.r.DATETIME:r.valueFormatter=el;break;case Hn.r.ENUM:r.cellEditor=gi.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:ll(e.type),filter:nl(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}};(0,ai.__decorate)([(0,s.attr)({mode:"boolean"})],dl.prototype,"pagination",void 0),(0,ai.__decorate)([(0,s.attr)({attribute:"row-id"})],dl.prototype,"rowId",void 0),dl=(0,ai.__decorate)([(0,s.customElement)({name:"grid-pro-server-side-datasource"})],dl);const sl='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi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oE91TLEeIauP1xWe6rUM/pA81yOYpihiSB7JUXB/oI+iZaGt9tQq2n9Q0derrnU/2o8lgXVDNY1oD9p6TyUb0YWZhdYyCKXNkXqpiKbholwui05d6ymOvr4rvfbvnEuD/2Lt6UJO/LtcDLUAjLO7+6TfmdLsqQ1oX9N1GBdZaqb1U6z/q75SrwQ8/Q0nP38sYCya/8Olal7o7hJgPz+nTjjmCEjw0ihgE3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',cl='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgA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sqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',pl={[ei.alpine]:sl,[ei.alpineDark]:sl,[ei.balham]:cl,[ei.balhamDark]:cl,[ei.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaK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85pJMUZusvADGu0G1Xw/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'},ul=sl,hl=s.css`
2061
+ `;let Pn=class extends s.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,ai.__decorate)([d.observable],Pn.prototype,"slottedAgCell",void 0),(0,ai.__decorate)([d.observable],Pn.prototype,"definition",void 0),Pn=(0,ai.__decorate)([(0,d.customElement)({name:"grid-pro-column",template:En})],Pn);var Un=r(82940),Gn=r(32449),Bn=r(9162),_n=r(5127),Hn=r(83123),Yn=r(35991),Vn=r(6852),Qn=r(26714),Wn=r(71452),qn=r(99449),Jn=r(30526);class Zn extends s.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Un.WJ.MAX_ROWS_250,this.maxView=Un.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1}}(0,ai.__decorate)([l.lj],Zn.prototype,"connect",void 0),(0,ai.__decorate)([d.observable],Zn.prototype,"deferredGridOptions",void 0),(0,ai.__decorate)([d.observable],Zn.prototype,"deferredColumnStates",void 0),(0,ai.__decorate)([d.attr],Zn.prototype,"criteria",void 0),(0,ai.__decorate)([d.attr],Zn.prototype,"fields",void 0),(0,ai.__decorate)([(0,d.attr)({mode:"boolean",attribute:"is-snapshot"})],Zn.prototype,"isSnapshot",void 0),(0,ai.__decorate)([(0,d.attr)({attribute:"max-rows"})],Zn.prototype,"maxRows",void 0),(0,ai.__decorate)([(0,d.attr)({attribute:"max-view"})],Zn.prototype,"maxView",void 0),(0,ai.__decorate)([(0,d.attr)({mode:"boolean",attribute:"moving-view"})],Zn.prototype,"movingView",void 0),(0,ai.__decorate)([(0,d.attr)({attribute:"order-by"})],Zn.prototype,"orderBy",void 0),(0,ai.__decorate)([(0,d.attr)({attribute:"resource-name"})],Zn.prototype,"resourceName",void 0),(0,ai.__decorate)([(0,d.attr)({mode:"boolean"})],Zn.prototype,"reverse",void 0);var Kn=r(21607);function Xn({value:e}){return(0,Kn.D_)(e)}function el({value:e}){return(0,Kn.Lx)(e)}var al;!function(e){e.Add="add",e.Update="update",e.Remove="remove"}(al||(al={}));let rl=class extends($n(Zn)){constructor(){super(...arguments),this.pollingInterval=Un.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new Qn.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Gn.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;d.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;d.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}get agGrid(){return this.parentElement}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Un.WJ.REQUEST_SERVER_ROW_ID:Un.WJ.DATASERVER_ROW_ID}init(){return(0,ai.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const e=yield this.connect.getMetadata(this.resourceName);this.isRequestServer=e.TYPE===Un._g.REQUEST_SERVER;const a=Object.assign({getRowId:e=>e.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},a),this.agGrid.addEventListener("onGridReady",(()=>(0,ai.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Wn.T)(1),(0,qn.b)(r),(0,Jn.b)((e=>Wi.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Wi.warn("Application not connected, falling back to local columnDefs/rowData")}))}deinit(){this.reset()}reset(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new Qn.X(new Map),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rows.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rows=new Map,this.agTransaction=void 0,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){var a;const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=this.getAgColumnDefs(this.datasource.fieldMetadata);e&&this.agGrid.gridApi.setColumnDefs(e)}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.gridApi.setRowData(t),this.requiresFullRowDataAndColDefs=!1}reloadResourceData(){var e,a;return(0,ai.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,ai.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Wi.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot){const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}}else Wi.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===Bn.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,_n.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,_n.$)(e).inserts:e.inserts}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,disablePolling:this.disablePolling,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=e.REPLY;if(!Array.isArray(r)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Wi.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rows.set(e[this.rowId],e)}));const e=this.rows.size>0?Array.from(this.rows.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rows.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rows.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.applyAllAgTransactions()}applyDataserverData(e){var a;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rows.set(e[this.rowId],e)}));const r=Array.from(this.rows.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}applyAllAgTransactions(){this.agTransaction.add.length||this.agTransaction.update.length||this.agTransaction.remove.length?(this.agTransaction.add.length>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},al.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},al.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},al.Update,this.agGrid.asyncUpdate)):this.agGrid.gridApi.showNoRowsOverlay()}flashAddedCells(e){this.agGrid.enableRowFlashing&&e.length&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.agGrid.gridApi.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.agGrid.gridApi.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}mapTransaction(e,a=Object.values(al)){if(!this.rowDataMapper)return e;const r={};return a.includes(al.Add)&&(r.add=this.rowDataMapper(e.add,this.rows)),a.includes(al.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rows)),a.includes(al.Update)&&(r.update=this.rowDataMapper(e.update,this.rows)),r}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rows.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rows.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{this.agTransaction.remove.push({[this.rowId]:e[this.rowId]}),this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r),this.rows.set(e[this.rowId],r)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case Hn.r.DATE:case Hn.r.DATETIME:return{comparator:function(e,a){if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0}}}(e.type),e.type){case Hn.r.STRING:r.cellEditor=gi.stringEditor;break;case Hn.r.NUMBER:r.cellEditor=gi.numberEditor,r.filter="agNumberColumnFilter";break;case Hn.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=gi.boolean,r.cellEditor=gi.boolean);break;case Hn.r.DATE:r.valueFormatter=Xn,r.cellEditor=gi.dateEditor,r.filter="agDateColumnFilter";break;case Hn.r.DATETIME:r.valueFormatter=el,r.filter="agDateColumnFilter",r.cellEditor=gi.dateEditor,r.cellEditorParams={withTime:!0};break;case Hn.r.ENUM:r.cellEditor=gi.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,Gn.p)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}};(0,ai.__decorate)([Yn.g],rl.prototype,"auth",void 0),(0,ai.__decorate)([Vn.Yh],rl.prototype,"datasource",void 0),(0,ai.__decorate)([(0,d.attr)({attribute:"polling-interval"})],rl.prototype,"pollingInterval",void 0),(0,ai.__decorate)([(0,d.attr)({mode:"boolean",attribute:"disable-polling"})],rl.prototype,"disablePolling",void 0),(0,ai.__decorate)([d.observable],rl.prototype,"request",void 0),(0,ai.__decorate)([(0,d.attr)({attribute:"row-id"})],rl.prototype,"rowIdAttr",void 0),(0,ai.__decorate)([(0,d.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],rl.prototype,"restartOnReconnection",void 0),(0,ai.__decorate)([d.observable],rl.prototype,"rowDataMapper",void 0),rl=(0,ai.__decorate)([(0,d.customElement)({name:"grid-pro-genesis-datasource"})],rl);let tl=class extends rl{};tl=(0,ai.__decorate)([(0,d.customElement)({name:"grid-pro-client-side-datasource"})],tl);var ol=r(66306),il=r(47546);function nl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"agNumberColumnFilter";case"date":case"datetime":return"agDateColumnFilter";default:return"agTextColumnFilter"}}function ll(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn";case"date":case"datetime":return"dateColumn";default:return null}}class gl{constructor(e){this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=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,ai.__awaiter)(this,void 0,void 0,(function*(){const r=e.request.filterModel,t=Object.keys(r).length>0,o=0===Object.keys(r).length,i=JSON.stringify(r)!==JSON.stringify(this.currentFilterModel);(i||t)&&(o&&this.currentFilterModel?(this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.restartSubscription()):i&&t&&(this.currentFilterModel=r,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),this.restartSubscription()));const n=e.request.sortModel;if(n.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||n.length>0)if(0===n.length&&this.currentSortModel)this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,this.restartSubscription();else if(n.length>0){this.currentSortModel=n;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>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,il.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===Bn.Cs.LOGOFF_ACK||o===Bn.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:Array.from(this.rowData.values()),rowCount:0};return void e.success(a)}{const e=(0,_n.$)(a);this.handleInitialStreamLoad(e)}this.lastSequenceId=a.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=a.SOURCE_REF,this.server_ROWS_COUNT=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size),!this.moreRows&&this.server_ROWS_COUNT>=this.client_ROWS_COUNT?this.calculatedRowsCount=this.client_ROWS_COUNT: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.server_ROWS_COUNT,this.maxView)),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?i.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT&&(i.rowCount=this.server_ROWS_COUNT),e.success(i)}))}))}dataLogoff(){this.streamSourceRef&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.streamSourceRef),this.streamSourceRef=void 0}restartSubscription(){this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>Wi.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.client_ROWS_COUNT+=r.size,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=>{if(this.currentFilterModel[a].filter||"false"!==this.currentFilterModel[a].type&&"true"!==this.currentFilterModel[a].type)switch(this.currentFilterModel[a].type){case"equals":e.push(`${a} == '${this.currentFilterModel[a].filter}'`);break;case"contains":e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter}')`)}else e.push(`${a} == ${this.currentFilterModel[a].type}`)})),this.getFiltersByType("number").forEach((a=>{const r=this.currentFilterModel[a].filter;switch(this.currentFilterModel[a].type){case"equals":!isNaN(r)&&e.push(`${a} == ${r}`);break;case"lessThan":!isNaN(r)&&e.push(`${a} < ${r}`);break;case"greaterThan":!isNaN(r)&&e.push(`${a} > ${r}`)}})),this.getFiltersByType("date").forEach((a=>{const r=this.currentFilterModel[a].dateFrom.replace(/-/g,"").replace("T","-").split(" ")[0];switch(this.currentFilterModel[a].type){case"equals":e.push(`Expr.dateIsEqual(${a}, '${r}')`);break;case"lessThan":e.push(`Expr.dateIsBefore(${a}, '${r}')`);break;case"greaterThan":e.push(`Expr.dateIsAfter(${a}, '${r}')`)}})),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,ai.__decorate)([Yn.g],gl.prototype,"auth",void 0),(0,ai.__decorate)([l.lj],gl.prototype,"connect",void 0);let dl=class extends($n(Zn)){constructor(){super(...arguments),this.pagination=!1,this.rowId="ROW_REF"}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,Gn.p)(a,";");!r&&t&&this.restart()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;d.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;d.DOM.queueUpdate((()=>{e&&this.reset()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,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=>{}},this.deferredGridOptions),void this.agGrid.addEventListener("onGridReady",(()=>(0,ai.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Wi.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,ol.C)(e);const a=(0,ol.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new gl({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});Wi.warn("Application not connected, falling back to local columnDefs/rowData")}reset(){var e;this.clearRowData(),this.dataserverStream=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.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));Wi.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 Wi.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,ai.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>Wi.debug(e)),(e=>Wi.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=function(e){switch(e){case Hn.r.BOOLEAN:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains",{displayKey:"true",displayName:"True",predicate:(e,a)=>"true"===a||!0===a,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,a)=>"false"===a||!1===a,numberOfInputs:0},{displayKey:"true-false",displayName:"True/False",predicate:(e,a)=>"true"===a||!0===a||"false"===a||!1===a,numberOfInputs:0}]};case Hn.r.DATE:case Hn.r.DATETIME:return{comparator:(e,a)=>{if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0,filterOptions:["equals","lessThan","greaterThan"]};case Hn.r.NUMBER:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["equals","lessThan","greaterThan"]};default:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains","equals"]}}}(e.type),e.type){case Hn.r.NUMBER:r.cellEditor=gi.numberEditor;break;case Hn.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=gi.boolean,r.cellEditor=gi.boolean);break;case Hn.r.DATE:r.valueFormatter=Xn;break;case Hn.r.DATETIME:r.valueFormatter=el;break;case Hn.r.ENUM:r.cellEditor=gi.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:ll(e.type),filter:nl(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}};(0,ai.__decorate)([(0,d.attr)({mode:"boolean"})],dl.prototype,"pagination",void 0),(0,ai.__decorate)([(0,d.attr)({attribute:"row-id"})],dl.prototype,"rowId",void 0),dl=(0,ai.__decorate)([(0,d.customElement)({name:"grid-pro-server-side-datasource"})],dl);const sl='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL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Q3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',cl='\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/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKwiysi6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BWjIkbQpN/tnTALgAc7vDgx1qfjJv5u2LAzD6BbU37mdkSLdSf0dxr/7wGZfCIRm4QAk+T/hPz4obRlcNVfMDRbivHnAf0dKvvBBU9agR+tgN2OI0gMN5QV7SP3X4k4KtnOEIWYAiOBM19wg2rAALFxAASYMHZFUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',pl={[ei.alpine]:sl,[ei.alpineDark]:sl,[ei.balham]:cl,[ei.balhamDark]:cl,[ei.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zoz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  .ag-icon {
2054
2063
  font-family: var(--ag-icon-font-family);
2055
2064
  font-size: var(--ag-icon-size);
@@ -9226,7 +9235,7 @@
9226
9235
  input[class^='ag-'][type='range']:disabled {
9227
9236
  opacity: 0.5;
9228
9237
  }
9229
- `,ml=s.css`
9238
+ `,ml=d.css`
9230
9239
  .ag-dnd-ghost {
9231
9240
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9232
9241
  border: solid 1px;
@@ -9243,7 +9252,7 @@
9243
9252
  overflow: hidden;
9244
9253
  text-overflow: ellipsis;
9245
9254
  }
9246
- `,vl=s.css`
9255
+ `,vl=d.css`
9247
9256
  .ag-theme-alpine,
9248
9257
  .ag-theme-alpine-dark {
9249
9258
  --ag-alpine-active-color: #2196f3;
@@ -9693,7 +9702,7 @@
9693
9702
  .ag-theme-alpine-dark {
9694
9703
  color-scheme: dark;
9695
9704
  }
9696
- `,bl=s.css`
9705
+ `,bl=d.css`
9697
9706
  .ag-theme-balham,
9698
9707
  .ag-theme-balham-dark {
9699
9708
  --ag-balham-active-color: #0091ea;
@@ -9963,7 +9972,7 @@
9963
9972
  .ag-theme-balham-dark {
9964
9973
  color-scheme: dark;
9965
9974
  }
9966
- `,fl=s.css`
9975
+ `,fl=d.css`
9967
9976
  .ag-theme-material {
9968
9977
  --ag-material-primary-color: #3f51b5;
9969
9978
  --ag-material-accent-color: #ff4081;
@@ -10228,13 +10237,13 @@
10228
10237
  .ag-theme-material .ag-picker-field-wrapper:focus {
10229
10238
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10230
10239
  }
10231
- `,wl=s.css`
10240
+ `,wl=d.css`
10232
10241
  ${hl}
10233
10242
  ${ml}
10234
10243
  ${vl}
10235
10244
  ${bl}
10236
10245
  ${fl}
10237
- `,yl=s.css`
10246
+ `,yl=d.css`
10238
10247
  ${wl}
10239
10248
  :host {
10240
10249
  width: 100%;
@@ -10262,14 +10271,14 @@
10262
10271
  .ag-cell-inline-editing {
10263
10272
  height: inherit !important;
10264
10273
  }
10265
- `,xl=s.html`
10274
+ `,xl=d.html`
10266
10275
  <template>
10267
10276
  <span part="grid" class="${e=>e.classNames}">
10268
- <slot name="grid" ${(0,s.ref)("gridSlot")}></slot>
10277
+ <slot name="grid" ${(0,d.ref)("gridSlot")}></slot>
10269
10278
  <slot></slot>
10270
10279
  </span>
10271
10280
  </template>
10272
- `;class zl{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}function kl(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}Qi.O3h.registerModules([Dn.jM,On.I]);const Sl=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class Cl extends($n(c.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Rn.A)(ni(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.gridAutosizingEnabled=!1,this.addIndex=0,this.asyncAdd=!1,this.asyncRemove=!1,this.asyncUpdate=!0,this.enableCellFlashing=!1,this.enabledRowFlashing=!1,this.enableRowFlashing=!1,this.gridFontFace=ul,this.columnComponentName="grid-pro-column",this.theme=ei.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Qi.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Sl(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&((e,a)=>{const r={root:document.documentElement};new IntersectionObserver((e=>{e.forEach((e=>{a(e.intersectionRatio>0)}))}),r).observe(e)})(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&Qi.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Sl(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;this.cacheFilterConfig(),super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(this.initialised=!1,null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[gi.action]:qi,[gi.actionsMenu]:an,[gi.boolean]:nn,[gi.editable]:Gi,[gi.selectEditor]:ki,[gi.numberEditor]:Di,[gi.multiselectEditor]:bi,[gi.dateEditor]:ci,[gi.stringEditor]:Ri};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.columnApi.getColumnState();if(a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,0===a.length)return;e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}getSavedColumnState(){const e=this.session.getLocalStorageItem("gridOptions");if(this.statePersistanceEnabled()&&e){const a=JSON.parse(e);if(this.persistColumnStateKey in a)return JSON.parse(a[this.persistColumnStateKey])}return[]}restoreColumnState(){var e;this.rehydrationAttempted=!0;const a=this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}cacheFilterConfig(){var e;this.filterConfig=(null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0}restoreCachedFilterConfig(){var e,a;void 0!==this.filterConfig&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(this.filterConfig),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}get gridOptions(){return this.agGridOptions}get gridProDatasource(){return this.querySelector("grid-pro-genesis-datasource")||this.querySelector("grid-pro-client-side-datasource")||this.querySelector("grid-pro-server-side-datasource")}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.saveColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:t,components:o,defaultColDef:i,onGridReady:n,onFirstDataRendered:l}=e,g=(0,ai.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),d=Object.assign(Object.assign(Object.assign({defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},i),components:this.combineAllGridComponents(o),suppressDragLeaveHidesColumns:!0},this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,n&&n(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.restoreCachedFilterConfig.bind(this)(),l&&l(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),g);this.gridProDatasource?d.columnDefs=t:d.columnDefs=this.mergeAllColumnDefsAndStates(t),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Qi.plv.copyAttributesToGridOptions(d,this.agAttributes));const c={globalEventListener:a};s.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Qi.rjZ(this.gridSlot,this.agGridOptions,c),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Wi.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;const t=e||[],o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[di]===e.field)return{component:gi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=zl,e.tooltipValueGetter=a=>{const r=a.data[si];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[si])||void 0===a?void 0:a.column)===e.colDef.field}}));const a=t.find((a=>e.field===a.field));return Object.assign(Object.assign({},a),e)})),i=o.map((e=>e.field)),n=[...o,...this.onlyTemplateColDefs?[]:t.filter((e=>!i.includes(e.field)))];if(this.gridProDatasource&&a){const e=this.getSavedColumnState();if((null==e?void 0:e.length)>0)return kl(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return kl(n,this.gridProDatasource.deferredColumnStates)}return n}get observedAttributes(){const e=Qi.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Qi.plv.ALL_PROPERTIES.map((e=>Sl(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},Qi.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=pl[e]||this.gridFontFace;this.destroyFontFace();const r=(0,Mn.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,ai.__decorate)([s.observable],Cl.prototype,"columnApi",void 0),(0,ai.__decorate)([s.observable],Cl.prototype,"gridApi",void 0),(0,ai.__decorate)([Nn.z],Cl.prototype,"session",void 0),(0,ai.__decorate)([(0,s.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Cl.prototype,"autoCellRendererByType",void 0),(0,ai.__decorate)([(0,s.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Cl.prototype,"onlyTemplateColDefs",void 0),(0,ai.__decorate)([(0,s.attr)({mode:"boolean",attribute:"grid-autosizing"})],Cl.prototype,"gridAutosizingEnabled",void 0),(0,ai.__decorate)([(0,s.attr)({attribute:"add-index"})],Cl.prototype,"addIndex",void 0),(0,ai.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-add"})],Cl.prototype,"asyncAdd",void 0),(0,ai.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-remove"})],Cl.prototype,"asyncRemove",void 0),(0,ai.__decorate)([(0,s.attr)({mode:"boolean",attribute:"async-update"})],Cl.prototype,"asyncUpdate",void 0),(0,ai.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Cl.prototype,"enableCellFlashing",void 0),(0,ai.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Cl.prototype,"enabledRowFlashing",void 0),(0,ai.__decorate)([(0,s.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Cl.prototype,"enableRowFlashing",void 0),(0,ai.__decorate)([(0,s.attr)({attribute:"persist-column-state-key"})],Cl.prototype,"persistColumnStateKey",void 0),(0,ai.__decorate)([s.observable],Cl.prototype,"gridFontFace",void 0),(0,ai.__decorate)([s.attr],Cl.prototype,"columnComponentName",void 0),(0,ai.__decorate)([s.observable],Cl.prototype,"eventsAndCallbacks",void 0),(0,ai.__decorate)([s.attr],Cl.prototype,"headerHeight",void 0),(0,ai.__decorate)([s.attr],Cl.prototype,"rowHeight",void 0),(0,ai.__decorate)([s.attr],Cl.prototype,"theme",void 0),(0,ai.__decorate)([s.observable],Cl.prototype,"classNames",void 0),(0,ai.__decorate)([s.observable],Cl.prototype,"agGrid",void 0),(0,ai.__decorate)([s.observable],Cl.prototype,"gridSlot",void 0),(0,ai.__decorate)([s.observable],Cl.prototype,"gridComponents",void 0);const Al=void 0,Tl={shadowOptions:void 0},Ol=Cl.compose(Object.assign({baseName:"grid-pro",styles:yl,template:xl,shadowOptions:Al},Tl)),Dl={foregroundSwatch:p.SwatchRGB.from((0,je.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:p.SwatchRGB.from((0,je.parseColorHexRGB)("#879ba6")),backgroundSwatch:p.SwatchRGB.from((0,je.parseColorHexRGB)("#1f2126")),borderSwatch:p.SwatchRGB.from((0,je.parseColorHexRGB)("#2e3339")),rowHoverSwatch:p.SwatchRGB.from((0,je.parseColorHexRGB)("#2b2e34"))},Nl={foregroundSwatch:p.SwatchRGB.from((0,je.parseColorHexRGB)("#000000")),headerForegroundSwatch:p.SwatchRGB.from((0,je.parseColorHexRGB)("#181d1f")),backgroundSwatch:p.SwatchRGB.from((0,je.parseColorHexRGB)("#FFFFFF")),borderSwatch:p.SwatchRGB.from((0,je.parseColorHexRGB)("#babfc7")),rowHoverSwatch:p.SwatchRGB.from((0,je.parseColorHexRGB)("#2196f3"))},{create:Fl}=c.DesignToken,$l={backgroundColor:Fl("rapid-ag-background-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Nl.backgroundSwatch:Dl.backgroundSwatch)),borderColor:Fl("rapid-ag-border-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Nl.borderSwatch:Dl.borderSwatch)),foregroundColor:Fl("rapid-ag-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Nl.foregroundSwatch:Dl.foregroundSwatch)),headerForegroundColor:Fl("rapid-ag-header-foreground-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Nl.headerForegroundSwatch:Dl.headerForegroundSwatch)),rowHoverColor:Fl("rapid-ag-row-hover-color").withDefault((e=>p.baseLayerLuminance.getValueFor(e)===p.StandardLuminance.LightMode?Nl.rowHoverSwatch:Dl.rowHoverSwatch))},Ll=s.css`
10281
+ `;class zl{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}function kl(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}Qi.O3h.registerModules([Dn.jM,On.I]);const Sl=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class Cl extends($n(s.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Rn.A)(ni(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.gridAutosizingEnabled=!1,this.addIndex=0,this.asyncAdd=!1,this.asyncRemove=!1,this.asyncUpdate=!0,this.enableCellFlashing=!1,this.enabledRowFlashing=!1,this.enableRowFlashing=!1,this.gridFontFace=ul,this.columnComponentName="grid-pro-column",this.theme=ei.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Qi.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Sl(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&((e,a)=>{const r={root:document.documentElement};new IntersectionObserver((e=>{e.forEach((e=>{a(e.intersectionRatio>0)}))}),r).observe(e)})(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&Qi.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Sl(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;this.cacheFilterConfig(),super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(this.initialised=!1,null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[gi.action]:qi,[gi.actionsMenu]:an,[gi.boolean]:nn,[gi.editable]:Gi,[gi.selectEditor]:ki,[gi.numberEditor]:Di,[gi.multiselectEditor]:bi,[gi.dateEditor]:ci,[gi.stringEditor]:Ri};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.columnApi.getColumnState();if(a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,0===a.length)return;e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}getSavedColumnState(){const e=this.session.getLocalStorageItem("gridOptions");if(this.statePersistanceEnabled()&&e){const a=JSON.parse(e);if(this.persistColumnStateKey in a)return JSON.parse(a[this.persistColumnStateKey])}return[]}restoreColumnState(){var e;this.rehydrationAttempted=!0;const a=this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}cacheFilterConfig(){var e;this.filterConfig=(null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0}restoreCachedFilterConfig(){var e,a;void 0!==this.filterConfig&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(this.filterConfig),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}get gridOptions(){return this.agGridOptions}get gridProDatasource(){return this.querySelector("grid-pro-genesis-datasource")||this.querySelector("grid-pro-client-side-datasource")||this.querySelector("grid-pro-server-side-datasource")}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.saveColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:t,components:o,defaultColDef:i,onGridReady:n,onFirstDataRendered:l}=e,g=(0,ai.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),s=Object.assign(Object.assign(Object.assign({defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},i),components:this.combineAllGridComponents(o),suppressDragLeaveHidesColumns:!0},this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,n&&n(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.restoreCachedFilterConfig.bind(this)(),l&&l(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),g);this.gridProDatasource?s.columnDefs=t:s.columnDefs=this.mergeAllColumnDefsAndStates(t),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Qi.plv.copyAttributesToGridOptions(s,this.agAttributes));const c={globalEventListener:a};d.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Qi.rjZ(this.gridSlot,this.agGridOptions,c),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Wi.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;const t=e||[],o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[di]===e.field)return{component:gi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=zl,e.tooltipValueGetter=a=>{const r=a.data[si];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[si])||void 0===a?void 0:a.column)===e.colDef.field}}));const a=t.find((a=>e.field===a.field));return Object.assign(Object.assign({},a),e)})),i=o.map((e=>e.field)),n=[...o,...this.onlyTemplateColDefs?[]:t.filter((e=>!i.includes(e.field)))];if(this.gridProDatasource&&a){const e=this.getSavedColumnState();if((null==e?void 0:e.length)>0)return kl(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return kl(n,this.gridProDatasource.deferredColumnStates)}return n}get observedAttributes(){const e=Qi.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Qi.plv.ALL_PROPERTIES.map((e=>Sl(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},Qi.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=pl[e]||this.gridFontFace;this.destroyFontFace();const r=(0,Mn.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,ai.__decorate)([d.observable],Cl.prototype,"columnApi",void 0),(0,ai.__decorate)([d.observable],Cl.prototype,"gridApi",void 0),(0,ai.__decorate)([Nn.z],Cl.prototype,"session",void 0),(0,ai.__decorate)([(0,d.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Cl.prototype,"autoCellRendererByType",void 0),(0,ai.__decorate)([(0,d.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Cl.prototype,"onlyTemplateColDefs",void 0),(0,ai.__decorate)([(0,d.attr)({mode:"boolean",attribute:"grid-autosizing"})],Cl.prototype,"gridAutosizingEnabled",void 0),(0,ai.__decorate)([(0,d.attr)({attribute:"add-index"})],Cl.prototype,"addIndex",void 0),(0,ai.__decorate)([(0,d.attr)({mode:"boolean",attribute:"async-add"})],Cl.prototype,"asyncAdd",void 0),(0,ai.__decorate)([(0,d.attr)({mode:"boolean",attribute:"async-remove"})],Cl.prototype,"asyncRemove",void 0),(0,ai.__decorate)([(0,d.attr)({mode:"boolean",attribute:"async-update"})],Cl.prototype,"asyncUpdate",void 0),(0,ai.__decorate)([(0,d.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Cl.prototype,"enableCellFlashing",void 0),(0,ai.__decorate)([(0,d.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Cl.prototype,"enabledRowFlashing",void 0),(0,ai.__decorate)([(0,d.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Cl.prototype,"enableRowFlashing",void 0),(0,ai.__decorate)([(0,d.attr)({attribute:"persist-column-state-key"})],Cl.prototype,"persistColumnStateKey",void 0),(0,ai.__decorate)([d.observable],Cl.prototype,"gridFontFace",void 0),(0,ai.__decorate)([d.attr],Cl.prototype,"columnComponentName",void 0),(0,ai.__decorate)([d.observable],Cl.prototype,"eventsAndCallbacks",void 0),(0,ai.__decorate)([d.attr],Cl.prototype,"headerHeight",void 0),(0,ai.__decorate)([d.attr],Cl.prototype,"rowHeight",void 0),(0,ai.__decorate)([d.attr],Cl.prototype,"theme",void 0),(0,ai.__decorate)([d.observable],Cl.prototype,"classNames",void 0),(0,ai.__decorate)([d.observable],Cl.prototype,"agGrid",void 0),(0,ai.__decorate)([d.observable],Cl.prototype,"gridSlot",void 0),(0,ai.__decorate)([d.observable],Cl.prototype,"gridComponents",void 0);const Al=void 0,Tl={shadowOptions:void 0},Ol=Cl.compose(Object.assign({baseName:"grid-pro",styles:yl,template:xl,shadowOptions:Al},Tl)),Dl={foregroundSwatch:c.SwatchRGB.from((0,je.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:c.SwatchRGB.from((0,je.parseColorHexRGB)("#879ba6")),backgroundSwatch:c.SwatchRGB.from((0,je.parseColorHexRGB)("#1f2126")),borderSwatch:c.SwatchRGB.from((0,je.parseColorHexRGB)("#2e3339")),rowHoverSwatch:c.SwatchRGB.from((0,je.parseColorHexRGB)("#2b2e34"))},Nl={foregroundSwatch:c.SwatchRGB.from((0,je.parseColorHexRGB)("#000000")),headerForegroundSwatch:c.SwatchRGB.from((0,je.parseColorHexRGB)("#181d1f")),backgroundSwatch:c.SwatchRGB.from((0,je.parseColorHexRGB)("#FFFFFF")),borderSwatch:c.SwatchRGB.from((0,je.parseColorHexRGB)("#babfc7")),rowHoverSwatch:c.SwatchRGB.from((0,je.parseColorHexRGB)("#2196f3"))},{create:Fl}=s.DesignToken,$l={backgroundColor:Fl("rapid-ag-background-color").withDefault((e=>c.baseLayerLuminance.getValueFor(e)===c.StandardLuminance.LightMode?Nl.backgroundSwatch:Dl.backgroundSwatch)),borderColor:Fl("rapid-ag-border-color").withDefault((e=>c.baseLayerLuminance.getValueFor(e)===c.StandardLuminance.LightMode?Nl.borderSwatch:Dl.borderSwatch)),foregroundColor:Fl("rapid-ag-foreground-color").withDefault((e=>c.baseLayerLuminance.getValueFor(e)===c.StandardLuminance.LightMode?Nl.foregroundSwatch:Dl.foregroundSwatch)),headerForegroundColor:Fl("rapid-ag-header-foreground-color").withDefault((e=>c.baseLayerLuminance.getValueFor(e)===c.StandardLuminance.LightMode?Nl.headerForegroundSwatch:Dl.headerForegroundSwatch)),rowHoverColor:Fl("rapid-ag-row-hover-color").withDefault((e=>c.baseLayerLuminance.getValueFor(e)===c.StandardLuminance.LightMode?Nl.rowHoverSwatch:Dl.rowHoverSwatch))},Ll=d.css`
10273
10282
  .ag-theme-genesis-rapid,
10274
10283
  .ag-theme-genesis-rapid-dark {
10275
10284
  --ag-alpine-active-color: #2196f3;
@@ -10729,7 +10738,7 @@
10729
10738
  .ag-theme-genesis-rapid-dark {
10730
10739
  color-scheme: dark;
10731
10740
  }
10732
- `,Ml={[Xo.backgroundColor]:$l.backgroundColor,[Xo.foregroundColor]:$l.foregroundColor,[Xo.oddRowBackgroundColor]:$l.backgroundColor,[Xo.headerBackgroundColor]:$l.backgroundColor,[Xo.headerForegroundColor]:$l.headerForegroundColor,[Xo.selectedRowBackgroundColor]:$l.rowHoverColor,[Xo.rowHoverColor]:$l.rowHoverColor,[Xo.borderColor]:$l.borderColor,[Xo.rowBorderColor]:$l.rowHoverColor,[Xo.modalOverlayBackgroundColor]:$l.backgroundColor,[Xo.inputFocusBoxShadow]:$l.headerForegroundColor,[Xo.inputFocusBorderColor]:$l.headerForegroundColor,[Xo.headerColumnResizeHandleColor]:$l.headerForegroundColor},Rl="ag-theme-genesis-rapid",jl=s.css`
10741
+ `,Ml={[Xo.backgroundColor]:$l.backgroundColor,[Xo.foregroundColor]:$l.foregroundColor,[Xo.oddRowBackgroundColor]:$l.backgroundColor,[Xo.headerBackgroundColor]:$l.backgroundColor,[Xo.headerForegroundColor]:$l.headerForegroundColor,[Xo.selectedRowBackgroundColor]:$l.rowHoverColor,[Xo.rowHoverColor]:$l.rowHoverColor,[Xo.borderColor]:$l.borderColor,[Xo.rowBorderColor]:$l.rowHoverColor,[Xo.modalOverlayBackgroundColor]:$l.backgroundColor,[Xo.inputFocusBoxShadow]:$l.headerForegroundColor,[Xo.inputFocusBorderColor]:$l.headerForegroundColor,[Xo.headerColumnResizeHandleColor]:$l.headerForegroundColor},Rl="ag-theme-genesis-rapid",jl=d.css`
10733
10742
  ${Ll}
10734
10743
  ${li(Rl,Ml)}
10735
10744
 
@@ -10745,7 +10754,7 @@
10745
10754
  .${Rl} .ag-root-wrapper {
10746
10755
  border-radius: calc(var(--control-corner-radius) * 1px);
10747
10756
  }
10748
- `,Il="ag-theme-genesis-rapid-dark",El=s.css`
10757
+ `,Il="ag-theme-genesis-rapid-dark",El=d.css`
10749
10758
  ${Ll}
10750
10759
  ${li(Il,Ml)}
10751
10760
 
@@ -10765,7 +10774,7 @@
10765
10774
  .${Il} .ag-root-wrapper {
10766
10775
  border-radius: calc(var(--control-corner-radius) * 1px);
10767
10776
  }
10768
- `,Pl=s.css`
10777
+ `,Pl=d.css`
10769
10778
  /* All the AG themes */
10770
10779
  ${yl}
10771
10780
 
@@ -10776,8 +10785,8 @@
10776
10785
  .error {
10777
10786
  border-color: ${ue.shortPink} !important;
10778
10787
  }
10779
- `,Ul=xl,Gl="ag-theme-genesis-rapid-dark";const Bl=Tl,_l={zeroAgEditableRenderer:Vi,zeroAgActionRenderer:en,zeroAgActionsMenuRenderer:on,zeroAgBooleanRenderer:cn,zeroAgTextRenderer:zn,zeroAgSelectRenderer:Tn,zeroAgDateEditor:vi,zeroAgMultiselectEditor:zi,zeroAgSelectEditor:Oi,zeroAgNumberEditor:Mi,zeroAgStringEditor:Ui,zeroGridPro:class extends Cl{constructor(){super(...arguments),this.theme=Gl}themeChanged(e,a){(e||a===Gl)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[gi.action]:Xi,[gi.actionsMenu]:tn,[gi.boolean]:sn,[gi.editable]:Yi,[gi.selectEditor]:Ti,[gi.numberEditor]:Li,[gi.multiselectEditor]:xi,[gi.dateEditor]:mi,[gi.stringEditor]:Pi};(this.theme===Rl||this.theme===Il)&&(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:Ul,styles:Pl,shadowOptions:undefined},Bl)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Hl={foundationGridProActionRenderer:Ki,foundationGridProActionsMenuRenderer:rn,foundationAgBooleanRenderer:dn,foundationAgTextRenderer:xn,foundationAgTextFieldRenderer:bn,foundationAgEditableRenderer:Hi,foundationAgSelectRenderer:An,foundationGridPro:Ol,foundationSelectEditor:Ai,foundationNumberEditor:$i,foundationDateEditor:hi,foundationMultiselectEditor:yi,foundationStringEditor:Ei,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Yl,Vl=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Yl||(Yl={}));const Ql={Roboto:Se,"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'},Wl=Ql["Segoe UI"],ql=s.css`
10780
- ${(0,c.display)("block")} :host {
10788
+ `,Ul=xl,Gl="ag-theme-genesis-rapid-dark";const Bl=Tl,_l={zeroAgEditableRenderer:Vi,zeroAgActionRenderer:en,zeroAgActionsMenuRenderer:on,zeroAgBooleanRenderer:cn,zeroAgTextRenderer:zn,zeroAgSelectRenderer:Tn,zeroAgDateEditor:vi,zeroAgMultiselectEditor:zi,zeroAgSelectEditor:Oi,zeroAgNumberEditor:Mi,zeroAgStringEditor:Ui,zeroGridPro:class extends Cl{constructor(){super(...arguments),this.theme=Gl}themeChanged(e,a){(e||a===Gl)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[gi.action]:Xi,[gi.actionsMenu]:tn,[gi.boolean]:sn,[gi.editable]:Yi,[gi.selectEditor]:Ti,[gi.numberEditor]:Li,[gi.multiselectEditor]:xi,[gi.dateEditor]:mi,[gi.stringEditor]:Pi};(this.theme===Rl||this.theme===Il)&&(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:Ul,styles:Pl,shadowOptions:undefined},Bl)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Hl={foundationGridProActionRenderer:Ki,foundationGridProActionsMenuRenderer:rn,foundationAgBooleanRenderer:dn,foundationAgTextRenderer:xn,foundationAgTextFieldRenderer:bn,foundationAgEditableRenderer:Hi,foundationAgSelectRenderer:An,foundationGridPro:Ol,foundationSelectEditor:Ai,foundationNumberEditor:$i,foundationDateEditor:hi,foundationMultiselectEditor:yi,foundationStringEditor:Ei,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Yl,Vl=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Yl||(Yl={}));const Ql={Roboto:Se,"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'},Wl=Ql["Segoe UI"],ql=d.css`
10789
+ ${(0,s.display)("block")} :host {
10781
10790
  width: 100%;
10782
10791
  display: inline-flex;
10783
10792
  font-family: Roboto, 'Segoe UI', Arial, Helvetica, sans-serif;
@@ -10908,10 +10917,10 @@
10908
10917
  alpha-button {
10909
10918
  margin: 0;
10910
10919
  }
10911
- `,Jl=s.html`
10920
+ `,Jl=d.html`
10912
10921
  <template>
10913
10922
  <div class="configuration">
10914
- ${(0,s.when)((e=>!e.customDesignMode),s.html`
10923
+ ${(0,d.when)((e=>!e.customDesignMode),d.html`
10915
10924
  <div class="row" id="designSystem">
10916
10925
  <div class="label">
10917
10926
  <label for="body-font">Design System</label>
@@ -10921,7 +10930,7 @@
10921
10930
  name="ds"
10922
10931
  @change="${(e,a)=>e.changeHandler(a.event)}"
10923
10932
  >
10924
- ${(0,s.repeat)((e=>e.designSystems),s.html`
10933
+ ${(0,d.repeat)((e=>e.designSystems),d.html`
10925
10934
  <alpha-option value="${e=>e.value}">${e=>e.name}</alpha-option>
10926
10935
  `)}
10927
10936
  </alpha-select>
@@ -11115,7 +11124,7 @@
11115
11124
  ></alpha-slider>
11116
11125
  </div>
11117
11126
  </div>
11118
- ${(0,s.when)((e=>!e.customDesignMode),s.html`
11127
+ ${(0,d.when)((e=>!e.customDesignMode),d.html`
11119
11128
  <alpha-checkbox :checked="${(0,pn.Z)((e=>e.preserveOptions),"boolean")}">
11120
11129
  Preserve selected options when changing design systems
11121
11130
  </alpha-checkbox>
@@ -11131,7 +11140,7 @@
11131
11140
  <slot></slot>
11132
11141
  </div>
11133
11142
  </template>
11134
- `,Zl=({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(Ql).find((a=>Ql[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Kl=Zl(De),Xl={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},eg=Zl(i.designTokens),ag={zero:{prefix:"zero",tokenDefaults:Kl,buttons:Xl},alpha:{prefix:"alpha",tokenDefaults:eg,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Xl}};let rg=class extends s.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Kl.luminance===p.StandardLuminance.DarkMode,this.luminance=Kl.luminance,this.neutralColor=Kl.neutralColor,this.accentColor=Kl.accentColor,this.bodyFont=Kl.bodyFont,this.density=Kl.density,this.borderRadius=Kl.borderRadius,this.strokeWidth=Kl.strokeWidth,this.designUnit=Kl.designUnit,this.baseFontSize=Kl.baseFontSize,this.baseLineHeight=Kl.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=Zl(a);ag.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Vl.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(ag[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Vl.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:ag[this.ds].prefix,buttonAppearanceAccent:ag[this.ds].buttons.accent,buttonAppearanceNeutral:ag[this.ds].buttons.neutral,buttonAppearanceOutline:ag[this.ds].buttons.outline};this.$emit(Yl.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(ag[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Ql[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(Yl.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={},ke(),s.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(Yl.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Vl.__decorate)([(0,s.attr)({mode:"boolean",attribute:"custom-design-mode"})],rg.prototype,"customDesignMode",void 0),(0,Vl.__decorate)([s.observable],rg.prototype,"designSystems",void 0),(0,Vl.__decorate)([s.observable],rg.prototype,"ds",void 0),(0,Vl.__decorate)([s.attr],rg.prototype,"darkMode",void 0),(0,Vl.__decorate)([s.observable],rg.prototype,"neutralColor",void 0),(0,Vl.__decorate)([s.observable],rg.prototype,"accentColor",void 0),(0,Vl.__decorate)([s.observable],rg.prototype,"bodyFont",void 0),(0,Vl.__decorate)([s.observable],rg.prototype,"density",void 0),(0,Vl.__decorate)([s.observable],rg.prototype,"borderRadius",void 0),(0,Vl.__decorate)([s.observable],rg.prototype,"strokeWidth",void 0),(0,Vl.__decorate)([s.observable],rg.prototype,"designUnit",void 0),(0,Vl.__decorate)([s.observable],rg.prototype,"baseFontSize",void 0),(0,Vl.__decorate)([s.observable],rg.prototype,"baseLineHeight",void 0),(0,Vl.__decorate)([s.observable],rg.prototype,"preserveOptions",void 0),rg=(0,Vl.__decorate)([(0,s.customElement)({name:"design-system-editor",template:Jl,styles:ql})],rg);const tg=e=>{const a=(e=>{const a=(0,je.parseColorHexRGB)(e);return a?p.SwatchRGB.from(a):null})(e);return a?p.PaletteRGB.create(a):null},og=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},ig=(e,a)=>{const r=tg(e.neutralColor);p.neutralPalette.setValueFor(a,r);const t=tg(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,og(p.typeRampBaseFontSize,ze.Yd.minusOne,a)),p.typeRampMinus1LineHeight.setValueFor(a,og(p.typeRampBaseLineHeight,ze.Yd.minusOne,a)),p.typeRampMinus2FontSize.setValueFor(a,og(p.typeRampBaseFontSize,ze.Yd.minusTwo,a)),p.typeRampMinus2LineHeight.setValueFor(a,og(p.typeRampBaseLineHeight,ze.Yd.minusTwo,a)),p.typeRampPlus1FontSize.setValueFor(a,og(p.typeRampBaseFontSize,ze.Yd.plusOne,a)),p.typeRampPlus1LineHeight.setValueFor(a,og(p.typeRampBaseLineHeight,ze.Yd.plusOne,a)),p.typeRampPlus2FontSize.setValueFor(a,og(p.typeRampBaseFontSize,ze.Yd.plusTwo,a)),p.typeRampPlus2LineHeight.setValueFor(a,og(p.typeRampBaseLineHeight,ze.Yd.plusTwo,a)),p.typeRampPlus3FontSize.setValueFor(a,og(p.typeRampBaseFontSize,ze.Yd.plusThree,a)),p.typeRampPlus3LineHeight.setValueFor(a,og(p.typeRampBaseLineHeight,ze.Yd.plusThree,a)),p.typeRampPlus4FontSize.setValueFor(a,og(p.typeRampBaseFontSize,ze.Yd.plusFour,a)),p.typeRampPlus4LineHeight.setValueFor(a,og(p.typeRampBaseLineHeight,ze.Yd.plusFour,a)),p.typeRampPlus5FontSize.setValueFor(a,og(p.typeRampBaseFontSize,ze.Yd.plusFive,a)),p.typeRampPlus5LineHeight.setValueFor(a,og(p.typeRampBaseLineHeight,ze.Yd.plusFive,a)),p.typeRampPlus6FontSize.setValueFor(a,og(p.typeRampBaseFontSize,ze.Yd.plusSix,a)),p.typeRampPlus6LineHeight.setValueFor(a,og(p.typeRampBaseLineHeight,ze.Yd.plusSix,a))},ng=s.css`
11143
+ `,Zl=({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(Ql).find((a=>Ql[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Kl=Zl(De),Xl={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient"},eg=Zl(i.designTokens),ag={zero:{prefix:"zero",tokenDefaults:Kl,buttons:Xl},alpha:{prefix:"alpha",tokenDefaults:eg,buttons:{accent:"accent",neutral:"neutral",outline:"outline"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Xl}};let rg=class extends d.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Kl.luminance===c.StandardLuminance.DarkMode,this.luminance=Kl.luminance,this.neutralColor=Kl.neutralColor,this.accentColor=Kl.accentColor,this.bodyFont=Kl.bodyFont,this.density=Kl.density,this.borderRadius=Kl.borderRadius,this.strokeWidth=Kl.strokeWidth,this.designUnit=Kl.designUnit,this.baseFontSize=Kl.baseFontSize,this.baseLineHeight=Kl.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof s.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof c.Combobox||e.target instanceof c.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof s.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?c.StandardLuminance.DarkMode:c.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&d.DOM.queueUpdate((()=>{const e=Zl(a);ag.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Vl.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(ag[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Vl.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:ag[this.ds].prefix,buttonAppearanceAccent:ag[this.ds].buttons.accent,buttonAppearanceNeutral:ag[this.ds].buttons.neutral,buttonAppearanceOutline:ag[this.ds].buttons.outline};this.$emit(Yl.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(ag[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Ql[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(Yl.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===c.StandardLuminance.DarkMode,d.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={},ke(),d.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(Yl.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Vl.__decorate)([(0,d.attr)({mode:"boolean",attribute:"custom-design-mode"})],rg.prototype,"customDesignMode",void 0),(0,Vl.__decorate)([d.observable],rg.prototype,"designSystems",void 0),(0,Vl.__decorate)([d.observable],rg.prototype,"ds",void 0),(0,Vl.__decorate)([d.attr],rg.prototype,"darkMode",void 0),(0,Vl.__decorate)([d.observable],rg.prototype,"neutralColor",void 0),(0,Vl.__decorate)([d.observable],rg.prototype,"accentColor",void 0),(0,Vl.__decorate)([d.observable],rg.prototype,"bodyFont",void 0),(0,Vl.__decorate)([d.observable],rg.prototype,"density",void 0),(0,Vl.__decorate)([d.observable],rg.prototype,"borderRadius",void 0),(0,Vl.__decorate)([d.observable],rg.prototype,"strokeWidth",void 0),(0,Vl.__decorate)([d.observable],rg.prototype,"designUnit",void 0),(0,Vl.__decorate)([d.observable],rg.prototype,"baseFontSize",void 0),(0,Vl.__decorate)([d.observable],rg.prototype,"baseLineHeight",void 0),(0,Vl.__decorate)([d.observable],rg.prototype,"preserveOptions",void 0),rg=(0,Vl.__decorate)([(0,d.customElement)({name:"design-system-editor",template:Jl,styles:ql})],rg);const tg=e=>{const a=(e=>{const a=(0,je.parseColorHexRGB)(e);return a?c.SwatchRGB.from(a):null})(e);return a?c.PaletteRGB.create(a):null},og=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},ig=(e,a)=>{const r=tg(e.neutralColor);c.neutralPalette.setValueFor(a,r);const t=tg(e.accentColor);c.accentPalette.setValueFor(a,t),c.baseLayerLuminance.setValueFor(a,e.luminance),c.density.setValueFor(a,e.density),c.controlCornerRadius.setValueFor(a,e.borderRadius),c.strokeWidth.setValueFor(a,e.strokeWidth),c.designUnit.setValueFor(a,e.designUnit),c.bodyFont.setValueFor(a,e.bodyFont),c.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),c.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),c.typeRampMinus1FontSize.setValueFor(a,og(c.typeRampBaseFontSize,ze.Yd.minusOne,a)),c.typeRampMinus1LineHeight.setValueFor(a,og(c.typeRampBaseLineHeight,ze.Yd.minusOne,a)),c.typeRampMinus2FontSize.setValueFor(a,og(c.typeRampBaseFontSize,ze.Yd.minusTwo,a)),c.typeRampMinus2LineHeight.setValueFor(a,og(c.typeRampBaseLineHeight,ze.Yd.minusTwo,a)),c.typeRampPlus1FontSize.setValueFor(a,og(c.typeRampBaseFontSize,ze.Yd.plusOne,a)),c.typeRampPlus1LineHeight.setValueFor(a,og(c.typeRampBaseLineHeight,ze.Yd.plusOne,a)),c.typeRampPlus2FontSize.setValueFor(a,og(c.typeRampBaseFontSize,ze.Yd.plusTwo,a)),c.typeRampPlus2LineHeight.setValueFor(a,og(c.typeRampBaseLineHeight,ze.Yd.plusTwo,a)),c.typeRampPlus3FontSize.setValueFor(a,og(c.typeRampBaseFontSize,ze.Yd.plusThree,a)),c.typeRampPlus3LineHeight.setValueFor(a,og(c.typeRampBaseLineHeight,ze.Yd.plusThree,a)),c.typeRampPlus4FontSize.setValueFor(a,og(c.typeRampBaseFontSize,ze.Yd.plusFour,a)),c.typeRampPlus4LineHeight.setValueFor(a,og(c.typeRampBaseLineHeight,ze.Yd.plusFour,a)),c.typeRampPlus5FontSize.setValueFor(a,og(c.typeRampBaseFontSize,ze.Yd.plusFive,a)),c.typeRampPlus5LineHeight.setValueFor(a,og(c.typeRampBaseLineHeight,ze.Yd.plusFive,a)),c.typeRampPlus6FontSize.setValueFor(a,og(c.typeRampBaseFontSize,ze.Yd.plusSix,a)),c.typeRampPlus6LineHeight.setValueFor(a,og(c.typeRampBaseLineHeight,ze.Yd.plusSix,a))},ng=d.css`
11135
11144
  :host {
11136
11145
  background: var(--fill-color);
11137
11146
  color: var(--neutral-foreground-rest);
@@ -11174,10 +11183,10 @@
11174
11183
  zero-design-system-provider {
11175
11184
  display: inline;
11176
11185
  }
11177
- `,lg=s.html`
11178
- ${e=>{return a=e.prefix,s.html`
11186
+ `,lg=d.html`
11187
+ ${e=>{return a=e.prefix,d.html`
11179
11188
  <template>
11180
- <${a}-design-system-provider ${(0,s.ref)("provider")}>
11189
+ <${a}-design-system-provider ${(0,d.ref)("provider")}>
11181
11190
  <div class="wrapper">
11182
11191
  <div class="column">
11183
11192
  <div class="row">
@@ -11251,7 +11260,7 @@
11251
11260
  ></${a}-text-field>
11252
11261
  </div>
11253
11262
  <div class="column">
11254
- <${a}-button ${(0,s.ref)("showDialogTrigger")} appearance="${e=>e.buttonAppearanceAccent}">Show Modal</${a}-button>
11263
+ <${a}-button ${(0,d.ref)("showDialogTrigger")} appearance="${e=>e.buttonAppearanceAccent}">Show Modal</${a}-button>
11255
11264
  <${a}-flipper
11256
11265
  role="button"
11257
11266
  tabindex="-1"
@@ -11274,7 +11283,7 @@
11274
11283
  tabindex="0"
11275
11284
  ></${a}-switch>
11276
11285
 
11277
- <${a}-modal ${(0,s.ref)("modal")}>
11286
+ <${a}-modal ${(0,d.ref)("modal")}>
11278
11287
  <h5 slot="top">Modal Title</h5>
11279
11288
  <p>
11280
11289
  Lorem ipsum dolor sit amet consectetur adipisicing elit. Quis similique iste ab sed
@@ -11283,7 +11292,7 @@
11283
11292
  distinctio dolorum temporibus aperiam dolor consequatur perferendis aspernatur fugit
11284
11293
  repellendus asperiores, voluptas illo? Voluptatum, atque quidem?
11285
11294
  </p>
11286
- <${a}-button ${(0,s.ref)("closeDialogTrigger")} appearance="${e=>e.buttonAppearanceAccent}" slot="bottom">Close</${a}-button>
11295
+ <${a}-button ${(0,d.ref)("closeDialogTrigger")} appearance="${e=>e.buttonAppearanceAccent}" slot="bottom">Close</${a}-button>
11287
11296
  </${a}-modal>
11288
11297
  </div>
11289
11298
  </div>
@@ -11375,7 +11384,7 @@
11375
11384
  </${a}-design-system-provider>
11376
11385
  </template>
11377
11386
  `;var a}}
11378
- `;let gg=class extends s.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.buttonAppearanceAccent="primary-blue",this.buttonAppearanceNeutral="primary-grey",this.buttonAppearanceOutline="primary-gradient"}setDialogEventListeners(){this.showDialogTrigger.addEventListener("click",(()=>this.modal.show()),{passive:!0}),this.closeDialogTrigger.addEventListener("click",(()=>this.modal.close()),{passive:!0})}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Yl.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Yl.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setDialogEventListeners(),p.bodyFont.withDefault(Wl)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{ig(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.buttonAppearanceAccent=e.detail.buttonAppearanceAccent,this.buttonAppearanceNeutral=e.detail.buttonAppearanceNeutral,this.buttonAppearanceOutline=e.detail.buttonAppearanceOutline,s.DOM.queueUpdate((()=>{this.setDialogEventListeners()}))}};(0,Vl.__decorate)([s.observable],gg.prototype,"modal",void 0),(0,Vl.__decorate)([s.attr],gg.prototype,"prefix",void 0),(0,Vl.__decorate)([s.observable],gg.prototype,"buttonAppearanceAccent",void 0),(0,Vl.__decorate)([s.observable],gg.prototype,"buttonAppearanceNeutral",void 0),(0,Vl.__decorate)([s.observable],gg.prototype,"buttonAppearanceOutline",void 0),(0,Vl.__decorate)([s.observable],gg.prototype,"provider",void 0),gg=(0,Vl.__decorate)([(0,s.customElement)({name:"preview-components",template:lg,styles:ng})],gg);const dg=s.css`
11387
+ `;let gg=class extends d.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.buttonAppearanceAccent="primary-blue",this.buttonAppearanceNeutral="primary-grey",this.buttonAppearanceOutline="primary-gradient"}setDialogEventListeners(){this.showDialogTrigger.addEventListener("click",(()=>this.modal.show()),{passive:!0}),this.closeDialogTrigger.addEventListener("click",(()=>this.modal.close()),{passive:!0})}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Yl.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Yl.DS_CHANGED,(e=>{this.handleDSChanges(e)})),d.DOM.queueUpdate((()=>{this.setDialogEventListeners(),c.bodyFont.withDefault(Wl)}))}handleStyleChanges(e){const a=e.detail;a&&d.DOM.queueUpdate((()=>{ig(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.buttonAppearanceAccent=e.detail.buttonAppearanceAccent,this.buttonAppearanceNeutral=e.detail.buttonAppearanceNeutral,this.buttonAppearanceOutline=e.detail.buttonAppearanceOutline,d.DOM.queueUpdate((()=>{this.setDialogEventListeners()}))}};(0,Vl.__decorate)([d.observable],gg.prototype,"modal",void 0),(0,Vl.__decorate)([d.attr],gg.prototype,"prefix",void 0),(0,Vl.__decorate)([d.observable],gg.prototype,"buttonAppearanceAccent",void 0),(0,Vl.__decorate)([d.observable],gg.prototype,"buttonAppearanceNeutral",void 0),(0,Vl.__decorate)([d.observable],gg.prototype,"buttonAppearanceOutline",void 0),(0,Vl.__decorate)([d.observable],gg.prototype,"provider",void 0),gg=(0,Vl.__decorate)([(0,d.customElement)({name:"preview-components",template:lg,styles:ng})],gg);const dg=d.css`
11379
11388
  .export {
11380
11389
  display: flex;
11381
11390
  justify-content: center;
@@ -11386,11 +11395,11 @@
11386
11395
  display: flex;
11387
11396
  justify-content: space-between;
11388
11397
  }
11389
- `,sg=s.html`
11398
+ `,sg=d.html`
11390
11399
  <template>
11391
11400
  <div class="export">
11392
11401
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
11393
- <alpha-modal ${(0,s.ref)("modal")}>
11402
+ <alpha-modal ${(0,d.ref)("modal")}>
11394
11403
  <slot>
11395
11404
  <textarea rows="26" cols="34" class="textarea" :value=${e=>e.value}></textarea>
11396
11405
  </slot>
@@ -11398,7 +11407,7 @@
11398
11407
  <alpha-button appearance="accent" @click="${e=>e.closeModal()}" slot="bottom">
11399
11408
  Close
11400
11409
  </alpha-button>
11401
- ${(0,s.when)((e=>e.tokensPath),s.html`
11410
+ ${(0,d.when)((e=>e.tokensPath),d.html`
11402
11411
  <alpha-button appearance="accent" @click="${e=>e.updateTokens()}" slot="bottom">
11403
11412
  Save
11404
11413
  </alpha-button>
@@ -11407,7 +11416,7 @@
11407
11416
  </alpha-modal>
11408
11417
  </div>
11409
11418
  </template>
11410
- `;let cg=class extends s.FASTElement{constructor(){super(...arguments),this.formatValues=e=>{const a={design_tokens:{color:{accent:{$value:e.accentColor,$type:"color"},neutral:{$value:e.neutralColor,$type:"color"}},fontFamily:{bodyFont:{$value:e.bodyFont,$type:"fontFamily"}},typography:{baseFontSize:{$value:e.baseFontSize,$type:"dimension"},baseLineHeight:{$value:e.baseLineHeight,$type:"dimension"}},mode:{luminance:{$value:e.luminance,$type:"number"}},style:{density:{$value:e.density,$type:"number"},borderRadius:{$value:e.borderRadius,$type:"number"},strokeWidth:{$value:e.strokeWidth,$type:"number"}},space:{designUnit:{$value:e.designUnit,$type:"number"}}}};return JSON.stringify(a,null,3)},this.showModal=()=>this.modal.show(),this.closeModal=()=>this.modal.close(),this.updateTokens=()=>{fetch(`http://localhost:${location.port}/api/tokens`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:this.value})}).then((e=>{if(!e.ok)throw new Error(`API request failed with status ${e.status}`);return e.json()})).then((e=>{console.log("Tokens saved successfully:",e),this.$emit(Yl.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Yl.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Vl.__decorate)([s.attr],cg.prototype,"value",void 0),(0,Vl.__decorate)([s.attr],cg.prototype,"tokensPath",void 0),cg=(0,Vl.__decorate)([(0,s.customElement)({name:"design-system-export",template:sg,styles:dg})],cg);const pg=s.css`
11419
+ `;let cg=class extends d.FASTElement{constructor(){super(...arguments),this.formatValues=e=>{const a={design_tokens:{color:{accent:{$value:e.accentColor,$type:"color"},neutral:{$value:e.neutralColor,$type:"color"}},fontFamily:{bodyFont:{$value:e.bodyFont,$type:"fontFamily"}},typography:{baseFontSize:{$value:e.baseFontSize,$type:"dimension"},baseLineHeight:{$value:e.baseLineHeight,$type:"dimension"}},mode:{luminance:{$value:e.luminance,$type:"number"}},style:{density:{$value:e.density,$type:"number"},borderRadius:{$value:e.borderRadius,$type:"number"},strokeWidth:{$value:e.strokeWidth,$type:"number"}},space:{designUnit:{$value:e.designUnit,$type:"number"}}}};return JSON.stringify(a,null,3)},this.showModal=()=>this.modal.show(),this.closeModal=()=>this.modal.close(),this.updateTokens=()=>{fetch(`http://localhost:${location.port}/api/tokens`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:this.value})}).then((e=>{if(!e.ok)throw new Error(`API request failed with status ${e.status}`);return e.json()})).then((e=>{console.log("Tokens saved successfully:",e),this.$emit(Yl.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Yl.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Vl.__decorate)([d.attr],cg.prototype,"value",void 0),(0,Vl.__decorate)([d.attr],cg.prototype,"tokensPath",void 0),cg=(0,Vl.__decorate)([(0,d.customElement)({name:"design-system-export",template:sg,styles:dg})],cg);const pg=d.css`
11411
11420
  .colors {
11412
11421
  display: flex;
11413
11422
  flex-wrap: wrap;
@@ -11420,23 +11429,23 @@
11420
11429
  flex-grow: 1;
11421
11430
  height: 20px;
11422
11431
  }
11423
- `,ug=s.html`
11432
+ `,ug=d.html`
11424
11433
  <ul class="colors">
11425
- ${(0,s.repeat)((e=>e.swatches),s.html`
11434
+ ${(0,d.repeat)((e=>e.swatches),d.html`
11426
11435
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
11427
11436
  `)}
11428
11437
  </ul>
11429
- `;let hg=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=tg(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Yl.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Vl.__decorate)([s.observable],hg.prototype,"swatches",void 0),(0,Vl.__decorate)([s.attr],hg.prototype,"type",void 0),hg=(0,Vl.__decorate)([(0,s.customElement)({name:"color-palette",styles:pg,template:ug})],hg);const mg=s.css`
11438
+ `;let hg=class extends d.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){c[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&d.DOM.queueUpdate((()=>{const e=tg(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Yl.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Vl.__decorate)([d.observable],hg.prototype,"swatches",void 0),(0,Vl.__decorate)([d.attr],hg.prototype,"type",void 0),hg=(0,Vl.__decorate)([(0,d.customElement)({name:"color-palette",styles:pg,template:ug})],hg);const mg=d.css`
11430
11439
  .preview {
11431
11440
  width: 40px;
11432
11441
  height: 40px;
11433
11442
  }
11434
- `,vg=s.html`
11443
+ `,vg=d.html`
11435
11444
  <div
11436
11445
  class="preview"
11437
- style="background-color: ${e=>p[e.tokenName].createCSS()}"
11446
+ style="background-color: ${e=>c[e.tokenName].createCSS()}"
11438
11447
  ></div>
11439
- `;let bg=class extends s.FASTElement{};(0,Vl.__decorate)([s.attr],bg.prototype,"tokenName",void 0),bg=(0,Vl.__decorate)([(0,s.customElement)({name:"color-token",styles:mg,template:vg})],bg);const fg=s.css`
11448
+ `;let bg=class extends d.FASTElement{};(0,Vl.__decorate)([d.attr],bg.prototype,"tokenName",void 0),bg=(0,Vl.__decorate)([(0,d.customElement)({name:"color-token",styles:mg,template:vg})],bg);const fg=d.css`
11440
11449
  .container {
11441
11450
  display: flex;
11442
11451
  width: 100%;
@@ -11484,31 +11493,31 @@
11484
11493
  .container > div:not(:last-child) {
11485
11494
  border-right: 1px solid #fafafa;
11486
11495
  }
11487
- `,wg=[{title:"Fill",subcategories:[{title:"Fill Colour",tokens:[{name:"fillColor",cssProperty:"--fill-color"}]},{title:"Accent Fill",tokens:[{name:"accentFillRest",cssProperty:"--accent-fill-rest"},{name:"accentFillHover",cssProperty:"--accent-fill-hover"},{name:"accentFillActive",cssProperty:"--accent-fill-active"},{name:"accentFillFocus",cssProperty:"--accent-fill-focus"}]},{title:"Neutral Fill",tokens:[{name:"neutralFillRest",cssProperty:"--neutral-fill-rest"},{name:"neutralFillHover",cssProperty:"--neutral-fill-hover"},{name:"neutralFillActive",cssProperty:"--neutral-fill-active"},{name:"neutralFillFocus",cssProperty:"--neutral-fill-focus"}]},{title:"Neutral Fill Input",tokens:[{name:"neutralFillInputRest",cssProperty:"--neutral-fill-input-rest"},{name:"neutralFillInputHover",cssProperty:"--neutral-fill-input-hover"},{name:"neutralFillInputActive",cssProperty:"--neutral-fill-input-active"},{name:"neutralFillInputFocus",cssProperty:"--neutral-fill-input-focus"}]},{title:"Neutral Fill Stealth",tokens:[{name:"neutralFillStealthRest",cssProperty:"--neutral-fill-stealth-rest"},{name:"neutralFillStealthHover",cssProperty:"--neutral-fill-stealth-hover"},{name:"neutralFillStealthActive",cssProperty:"--neutral-fill-stealth-active"},{name:"neutralFillStealthFocus",cssProperty:"--neutral-fill-stealth-focus"}]},{title:"Neutral Fill Strong",tokens:[{name:"neutralFillStrongRest",cssProperty:"--neutral-fill-strong-rest"},{name:"neutralFillStrongHover",cssProperty:"--neutral-fill-strong-hover"},{name:"neutralFillStrongActive",cssProperty:"--neutral-fill-strong-active"},{name:"neutralFillStrongFocus",cssProperty:"--neutral-fill-strong-focus"}]}]},{title:"Foreground",subcategories:[{title:"Neutral Foreground",tokens:[{name:"neutralForegroundRest",cssProperty:"--neutral-foreground-rest"},{name:"neutralForegroundHint",cssProperty:"--neutral-foreground-hint"}]},{title:"Accent Foreground",tokens:[{name:"accentForegroundRest",cssProperty:"--accent-foreground-rest"},{name:"accentForegroundHover",cssProperty:"--accent-foreground-hover"},{name:"accentForegroundActive",cssProperty:"--accent-foreground-active"},{name:"accentForegroundFocus",cssProperty:"--accent-foreground-focus"}]},{title:"Foreground on Accent",tokens:[{name:"foregroundOnAccentRest",cssProperty:"--foreground-on-accent-rest"},{name:"foregroundOnAccentHover",cssProperty:"--foreground-on-accent-hover"},{name:"foregroundOnAccentActive",cssProperty:"--foreground-on-accent-active"},{name:"foregroundOnAccentFocus",cssProperty:"--foreground-on-accent-focus"}]},{title:"Foreground on accent large",tokens:[{name:"foregroundOnAccentRestLarge",cssProperty:"--foreground-on-accent-rest-large"},{name:"foregroundOnAccentHoverLarge",cssProperty:"--foreground-on-accent-hover-large"},{name:"foregroundOnAccentActiveLarge",cssProperty:"--foreground-on-accent-active-large"},{name:"foregroundOnAccentFocusLarge",cssProperty:"--foreground-on-accent-focus-large"}]}]},{title:"Stroke",subcategories:[{title:"Focus Stroke",tokens:[{name:"focusStrokeOuter",cssProperty:"--focus-stroke-outer"},{name:"focusStrokeInner",cssProperty:"--focus-stroke-inner"}]},{title:"Neutral Stroke",tokens:[{name:"neutralStrokeRest",cssProperty:"---neutral-stroke-rest"},{name:"neutralStrokeHover",cssProperty:"--neutral-stroke-hover"},{name:"neutralStrokeActive",cssProperty:"--neutral-stroke-active"},{name:"neutralStrokeFocus",cssProperty:"--neutral-stroke-focus"}]},{title:"Neutral stroke divider",tokens:[{name:"neutralStrokeDividerRest",cssProperty:"--neutral-stroke-divider-rest"}]}]},{title:"Layer",subcategories:[{title:"Neutral Layers",tokens:[{name:"neutralLayer1",cssProperty:"--neutral-layer-1"},{name:"neutralLayer2",cssProperty:"--neutral-layer-2"},{name:"neutralLayer3",cssProperty:"--neutral-layer-3"},{name:"neutralLayer4",cssProperty:"--neutral-layer-4"}]},{title:"Neutral Layer Card Container",tokens:[{name:"neutralLayerCardContainer",cssProperty:"--neutral-layer-card-container"}]},{title:"Neutral Fill Layer",tokens:[{name:"neutralFillLayerRest",cssProperty:"--neutral-fill-layer-rest"}]},{title:"Neutral Layer Floating",tokens:[{name:"neutralLayerFloating",cssProperty:"--neutral-layer-floating"}]}]}],yg=s.html`
11496
+ `,wg=[{title:"Fill",subcategories:[{title:"Fill Colour",tokens:[{name:"fillColor",cssProperty:"--fill-color"}]},{title:"Accent Fill",tokens:[{name:"accentFillRest",cssProperty:"--accent-fill-rest"},{name:"accentFillHover",cssProperty:"--accent-fill-hover"},{name:"accentFillActive",cssProperty:"--accent-fill-active"},{name:"accentFillFocus",cssProperty:"--accent-fill-focus"}]},{title:"Neutral Fill",tokens:[{name:"neutralFillRest",cssProperty:"--neutral-fill-rest"},{name:"neutralFillHover",cssProperty:"--neutral-fill-hover"},{name:"neutralFillActive",cssProperty:"--neutral-fill-active"},{name:"neutralFillFocus",cssProperty:"--neutral-fill-focus"}]},{title:"Neutral Fill Input",tokens:[{name:"neutralFillInputRest",cssProperty:"--neutral-fill-input-rest"},{name:"neutralFillInputHover",cssProperty:"--neutral-fill-input-hover"},{name:"neutralFillInputActive",cssProperty:"--neutral-fill-input-active"},{name:"neutralFillInputFocus",cssProperty:"--neutral-fill-input-focus"}]},{title:"Neutral Fill Stealth",tokens:[{name:"neutralFillStealthRest",cssProperty:"--neutral-fill-stealth-rest"},{name:"neutralFillStealthHover",cssProperty:"--neutral-fill-stealth-hover"},{name:"neutralFillStealthActive",cssProperty:"--neutral-fill-stealth-active"},{name:"neutralFillStealthFocus",cssProperty:"--neutral-fill-stealth-focus"}]},{title:"Neutral Fill Strong",tokens:[{name:"neutralFillStrongRest",cssProperty:"--neutral-fill-strong-rest"},{name:"neutralFillStrongHover",cssProperty:"--neutral-fill-strong-hover"},{name:"neutralFillStrongActive",cssProperty:"--neutral-fill-strong-active"},{name:"neutralFillStrongFocus",cssProperty:"--neutral-fill-strong-focus"}]}]},{title:"Foreground",subcategories:[{title:"Neutral Foreground",tokens:[{name:"neutralForegroundRest",cssProperty:"--neutral-foreground-rest"},{name:"neutralForegroundHint",cssProperty:"--neutral-foreground-hint"}]},{title:"Accent Foreground",tokens:[{name:"accentForegroundRest",cssProperty:"--accent-foreground-rest"},{name:"accentForegroundHover",cssProperty:"--accent-foreground-hover"},{name:"accentForegroundActive",cssProperty:"--accent-foreground-active"},{name:"accentForegroundFocus",cssProperty:"--accent-foreground-focus"}]},{title:"Foreground on Accent",tokens:[{name:"foregroundOnAccentRest",cssProperty:"--foreground-on-accent-rest"},{name:"foregroundOnAccentHover",cssProperty:"--foreground-on-accent-hover"},{name:"foregroundOnAccentActive",cssProperty:"--foreground-on-accent-active"},{name:"foregroundOnAccentFocus",cssProperty:"--foreground-on-accent-focus"}]},{title:"Foreground on accent large",tokens:[{name:"foregroundOnAccentRestLarge",cssProperty:"--foreground-on-accent-rest-large"},{name:"foregroundOnAccentHoverLarge",cssProperty:"--foreground-on-accent-hover-large"},{name:"foregroundOnAccentActiveLarge",cssProperty:"--foreground-on-accent-active-large"},{name:"foregroundOnAccentFocusLarge",cssProperty:"--foreground-on-accent-focus-large"}]}]},{title:"Stroke",subcategories:[{title:"Focus Stroke",tokens:[{name:"focusStrokeOuter",cssProperty:"--focus-stroke-outer"},{name:"focusStrokeInner",cssProperty:"--focus-stroke-inner"}]},{title:"Neutral Stroke",tokens:[{name:"neutralStrokeRest",cssProperty:"---neutral-stroke-rest"},{name:"neutralStrokeHover",cssProperty:"--neutral-stroke-hover"},{name:"neutralStrokeActive",cssProperty:"--neutral-stroke-active"},{name:"neutralStrokeFocus",cssProperty:"--neutral-stroke-focus"}]},{title:"Neutral stroke divider",tokens:[{name:"neutralStrokeDividerRest",cssProperty:"--neutral-stroke-divider-rest"}]}]},{title:"Layer",subcategories:[{title:"Neutral Layers",tokens:[{name:"neutralLayer1",cssProperty:"--neutral-layer-1"},{name:"neutralLayer2",cssProperty:"--neutral-layer-2"},{name:"neutralLayer3",cssProperty:"--neutral-layer-3"},{name:"neutralLayer4",cssProperty:"--neutral-layer-4"}]},{title:"Neutral Layer Card Container",tokens:[{name:"neutralLayerCardContainer",cssProperty:"--neutral-layer-card-container"}]},{title:"Neutral Fill Layer",tokens:[{name:"neutralFillLayerRest",cssProperty:"--neutral-fill-layer-rest"}]},{title:"Neutral Layer Floating",tokens:[{name:"neutralLayerFloating",cssProperty:"--neutral-layer-floating"}]}]}],yg=d.html`
11488
11497
  <div class="row">
11489
11498
  <div
11490
11499
  class="preview"
11491
- style="background-color: ${e=>p[e.name].createCSS()}"
11500
+ style="background-color: ${e=>c[e.name].createCSS()}"
11492
11501
  ></div>
11493
11502
  <!-- <div class="token-name" title=${e=>e.cssProperty}>${e=>e.cssProperty}</div> -->
11494
11503
  <div class="token-name" title=${e=>e.cssProperty}>${e=>e.name}</div>
11495
11504
  <div>
11496
- ${(e,a)=>p[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
11505
+ ${(e,a)=>c[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
11497
11506
  </div>
11498
11507
  </div>
11499
- `,xg=s.html`
11500
- <div class="container" ${(0,s.ref)("provider")}>
11501
- ${(0,s.repeat)((()=>wg),s.html`
11508
+ `,xg=d.html`
11509
+ <div class="container" ${(0,d.ref)("provider")}>
11510
+ ${(0,d.repeat)((()=>wg),d.html`
11502
11511
  <div class="column">
11503
11512
  <h3 class="header-title">${e=>e.title}</h3>
11504
- ${(0,s.repeat)((e=>e.subcategories),s.html`
11513
+ ${(0,d.repeat)((e=>e.subcategories),d.html`
11505
11514
  <h4>${e=>e.title}</h4>
11506
- ${(0,s.repeat)((e=>e.tokens),yg)}
11515
+ ${(0,d.repeat)((e=>e.tokens),yg)}
11507
11516
  `)}
11508
11517
  </div>
11509
11518
  `)}
11510
11519
  </div>
11511
- `;let zg=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Yl.STYLES_CHANGED,(e=>{const a=e.detail;ig(a,this.provider)}))}};(0,Vl.__decorate)([s.observable],zg.prototype,"provider",void 0),zg=(0,Vl.__decorate)([(0,s.customElement)({name:"color-tokens",template:xg,styles:fg})],zg);const kg=s.css`
11520
+ `;let zg=class extends d.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Yl.STYLES_CHANGED,(e=>{const a=e.detail;ig(a,this.provider)}))}};(0,Vl.__decorate)([d.observable],zg.prototype,"provider",void 0),zg=(0,Vl.__decorate)([(0,d.customElement)({name:"color-tokens",template:xg,styles:fg})],zg);const kg=d.css`
11512
11521
  table {
11513
11522
  background: var(--neutral-fill-rest);
11514
11523
  color: var(--neutral-foreground-rest);
@@ -11517,8 +11526,8 @@
11517
11526
  th {
11518
11527
  text-align: left;
11519
11528
  }
11520
- `,Sg=s.html`
11521
- <table ${(0,s.ref)("provider")} style="font-family: ${()=>p.bodyFont.createCSS()}">
11529
+ `,Sg=d.html`
11530
+ <table ${(0,d.ref)("provider")} style="font-family: ${()=>c.bodyFont.createCSS()}">
11522
11531
  <colgroup>
11523
11532
  <col style="width: 15%;" />
11524
11533
  <col style="width: 30%;" />
@@ -11544,17 +11553,17 @@
11544
11553
  typeRampMinus2LineHeight
11545
11554
  </td>
11546
11555
  <td>
11547
- ${()=>p.typeRampMinus2FontSize.cssCustomProperty}
11556
+ ${()=>c.typeRampMinus2FontSize.cssCustomProperty}
11548
11557
  <br />
11549
- ${()=>p.typeRampMinus2LineHeight.cssCustomProperty}
11558
+ ${()=>c.typeRampMinus2LineHeight.cssCustomProperty}
11550
11559
  </td>
11551
11560
  <td>
11552
- ${e=>p.typeRampMinus2FontSize.getValueFor(e.provider)}
11561
+ ${e=>c.typeRampMinus2FontSize.getValueFor(e.provider)}
11553
11562
  <br />
11554
- ${e=>p.typeRampMinus2LineHeight.getValueFor(e.provider)}
11563
+ ${e=>c.typeRampMinus2LineHeight.getValueFor(e.provider)}
11555
11564
  </td>
11556
11565
  <td
11557
- style="font-size: ${()=>p.typeRampMinus2FontSize.createCSS()}; line-height: ${()=>p.typeRampMinus2LineHeight.createCSS()};"
11566
+ style="font-size: ${()=>c.typeRampMinus2FontSize.createCSS()}; line-height: ${()=>c.typeRampMinus2LineHeight.createCSS()};"
11558
11567
  >
11559
11568
  The quick brown fox jumps over a lazy dog
11560
11569
  </td>
@@ -11567,17 +11576,17 @@
11567
11576
  typeRampMinus1LineHeight
11568
11577
  </td>
11569
11578
  <td>
11570
- ${()=>p.typeRampMinus1FontSize.cssCustomProperty}
11579
+ ${()=>c.typeRampMinus1FontSize.cssCustomProperty}
11571
11580
  <br />
11572
- ${()=>p.typeRampMinus1LineHeight.cssCustomProperty}
11581
+ ${()=>c.typeRampMinus1LineHeight.cssCustomProperty}
11573
11582
  </td>
11574
11583
  <td>
11575
- ${e=>p.typeRampMinus1FontSize.getValueFor(e.provider)}
11584
+ ${e=>c.typeRampMinus1FontSize.getValueFor(e.provider)}
11576
11585
  <br />
11577
- ${e=>p.typeRampMinus1LineHeight.getValueFor(e.provider)}
11586
+ ${e=>c.typeRampMinus1LineHeight.getValueFor(e.provider)}
11578
11587
  </td>
11579
11588
  <td
11580
- style="font-size: ${()=>p.typeRampMinus1FontSize.createCSS()}; line-height: ${()=>p.typeRampMinus1LineHeight.createCSS()};"
11589
+ style="font-size: ${()=>c.typeRampMinus1FontSize.createCSS()}; line-height: ${()=>c.typeRampMinus1LineHeight.createCSS()};"
11581
11590
  >
11582
11591
  The quick brown fox jumps over a lazy dog
11583
11592
  </td>
@@ -11590,17 +11599,17 @@
11590
11599
  typeRampBaseLineHeight
11591
11600
  </td>
11592
11601
  <td>
11593
- ${()=>p.typeRampBaseFontSize.cssCustomProperty}
11602
+ ${()=>c.typeRampBaseFontSize.cssCustomProperty}
11594
11603
  <br />
11595
- ${()=>p.typeRampBaseLineHeight.cssCustomProperty}
11604
+ ${()=>c.typeRampBaseLineHeight.cssCustomProperty}
11596
11605
  </td>
11597
11606
  <td>
11598
- ${e=>p.typeRampBaseFontSize.getValueFor(e.provider)}
11607
+ ${e=>c.typeRampBaseFontSize.getValueFor(e.provider)}
11599
11608
  <br />
11600
- ${e=>p.typeRampBaseLineHeight.getValueFor(e.provider)}
11609
+ ${e=>c.typeRampBaseLineHeight.getValueFor(e.provider)}
11601
11610
  </td>
11602
11611
  <td
11603
- style="font-size: ${()=>p.typeRampBaseFontSize.createCSS()}; line-height: ${()=>p.typeRampBaseLineHeight.createCSS()};"
11612
+ style="font-size: ${()=>c.typeRampBaseFontSize.createCSS()}; line-height: ${()=>c.typeRampBaseLineHeight.createCSS()};"
11604
11613
  >
11605
11614
  The quick brown fox jumps over a lazy dog
11606
11615
  </td>
@@ -11613,17 +11622,17 @@
11613
11622
  typeRampPlus1LineHeight
11614
11623
  </td>
11615
11624
  <td>
11616
- ${()=>p.typeRampPlus1FontSize.cssCustomProperty}
11625
+ ${()=>c.typeRampPlus1FontSize.cssCustomProperty}
11617
11626
  <br />
11618
- ${()=>p.typeRampPlus1LineHeight.cssCustomProperty}
11627
+ ${()=>c.typeRampPlus1LineHeight.cssCustomProperty}
11619
11628
  </td>
11620
11629
  <td>
11621
- ${e=>p.typeRampPlus1FontSize.getValueFor(e.provider)}
11630
+ ${e=>c.typeRampPlus1FontSize.getValueFor(e.provider)}
11622
11631
  <br />
11623
- ${e=>p.typeRampPlus1LineHeight.getValueFor(e.provider)}
11632
+ ${e=>c.typeRampPlus1LineHeight.getValueFor(e.provider)}
11624
11633
  </td>
11625
11634
  <td
11626
- style="font-size: ${()=>p.typeRampPlus1FontSize.createCSS()}; line-height: ${()=>p.typeRampPlus1LineHeight.createCSS()};"
11635
+ style="font-size: ${()=>c.typeRampPlus1FontSize.createCSS()}; line-height: ${()=>c.typeRampPlus1LineHeight.createCSS()};"
11627
11636
  >
11628
11637
  The quick brown fox jumps over a lazy dog
11629
11638
  </td>
@@ -11636,17 +11645,17 @@
11636
11645
  typeRampPlus2LineHeight
11637
11646
  </td>
11638
11647
  <td>
11639
- ${()=>p.typeRampPlus2FontSize.cssCustomProperty}
11648
+ ${()=>c.typeRampPlus2FontSize.cssCustomProperty}
11640
11649
  <br />
11641
- ${()=>p.typeRampPlus2LineHeight.cssCustomProperty}
11650
+ ${()=>c.typeRampPlus2LineHeight.cssCustomProperty}
11642
11651
  </td>
11643
11652
  <td>
11644
- ${e=>p.typeRampPlus2FontSize.getValueFor(e.provider)}
11653
+ ${e=>c.typeRampPlus2FontSize.getValueFor(e.provider)}
11645
11654
  <br />
11646
- ${e=>p.typeRampPlus2LineHeight.getValueFor(e.provider)}
11655
+ ${e=>c.typeRampPlus2LineHeight.getValueFor(e.provider)}
11647
11656
  </td>
11648
11657
  <td
11649
- style="font-size: ${()=>p.typeRampPlus2FontSize.createCSS()}; line-height: ${()=>p.typeRampPlus2LineHeight.createCSS()};"
11658
+ style="font-size: ${()=>c.typeRampPlus2FontSize.createCSS()}; line-height: ${()=>c.typeRampPlus2LineHeight.createCSS()};"
11650
11659
  >
11651
11660
  The quick brown fox jumps over a lazy dog
11652
11661
  </td>
@@ -11659,17 +11668,17 @@
11659
11668
  typeRampPlus3LineHeight
11660
11669
  </td>
11661
11670
  <td>
11662
- ${()=>p.typeRampPlus3FontSize.cssCustomProperty}
11671
+ ${()=>c.typeRampPlus3FontSize.cssCustomProperty}
11663
11672
  <br />
11664
- ${()=>p.typeRampPlus3LineHeight.cssCustomProperty}
11673
+ ${()=>c.typeRampPlus3LineHeight.cssCustomProperty}
11665
11674
  </td>
11666
11675
  <td>
11667
- ${e=>p.typeRampPlus3FontSize.getValueFor(e.provider)}
11676
+ ${e=>c.typeRampPlus3FontSize.getValueFor(e.provider)}
11668
11677
  <br />
11669
- ${e=>p.typeRampPlus3LineHeight.getValueFor(e.provider)}
11678
+ ${e=>c.typeRampPlus3LineHeight.getValueFor(e.provider)}
11670
11679
  </td>
11671
11680
  <td
11672
- style="font-size: ${()=>p.typeRampPlus3FontSize.createCSS()}; line-height: ${()=>p.typeRampPlus3LineHeight.createCSS()};"
11681
+ style="font-size: ${()=>c.typeRampPlus3FontSize.createCSS()}; line-height: ${()=>c.typeRampPlus3LineHeight.createCSS()};"
11673
11682
  >
11674
11683
  The quick brown fox jumps over a lazy dog
11675
11684
  </td>
@@ -11682,17 +11691,17 @@
11682
11691
  typeRampPlus4LineHeight
11683
11692
  </td>
11684
11693
  <td>
11685
- ${()=>p.typeRampPlus4FontSize.cssCustomProperty}
11694
+ ${()=>c.typeRampPlus4FontSize.cssCustomProperty}
11686
11695
  <br />
11687
- ${()=>p.typeRampPlus4LineHeight.cssCustomProperty}
11696
+ ${()=>c.typeRampPlus4LineHeight.cssCustomProperty}
11688
11697
  </td>
11689
11698
  <td>
11690
- ${e=>p.typeRampPlus4FontSize.getValueFor(e.provider)}
11699
+ ${e=>c.typeRampPlus4FontSize.getValueFor(e.provider)}
11691
11700
  <br />
11692
- ${e=>p.typeRampPlus4LineHeight.getValueFor(e.provider)}
11701
+ ${e=>c.typeRampPlus4LineHeight.getValueFor(e.provider)}
11693
11702
  </td>
11694
11703
  <td
11695
- style="font-size: ${()=>p.typeRampPlus4FontSize.createCSS()}; line-height: ${()=>p.typeRampPlus4LineHeight.createCSS()};"
11704
+ style="font-size: ${()=>c.typeRampPlus4FontSize.createCSS()}; line-height: ${()=>c.typeRampPlus4LineHeight.createCSS()};"
11696
11705
  >
11697
11706
  The quick brown fox jumps over a lazy dog
11698
11707
  </td>
@@ -11705,17 +11714,17 @@
11705
11714
  typeRampPlus5LineHeight
11706
11715
  </td>
11707
11716
  <td>
11708
- ${()=>p.typeRampPlus5FontSize.cssCustomProperty}
11717
+ ${()=>c.typeRampPlus5FontSize.cssCustomProperty}
11709
11718
  <br />
11710
- ${()=>p.typeRampPlus5LineHeight.cssCustomProperty}
11719
+ ${()=>c.typeRampPlus5LineHeight.cssCustomProperty}
11711
11720
  </td>
11712
11721
  <td>
11713
- ${e=>p.typeRampPlus5FontSize.getValueFor(e.provider)}
11722
+ ${e=>c.typeRampPlus5FontSize.getValueFor(e.provider)}
11714
11723
  <br />
11715
- ${e=>p.typeRampPlus5LineHeight.getValueFor(e.provider)}
11724
+ ${e=>c.typeRampPlus5LineHeight.getValueFor(e.provider)}
11716
11725
  </td>
11717
11726
  <td
11718
- style="font-size: ${()=>p.typeRampPlus5FontSize.createCSS()}; line-height: ${()=>p.typeRampPlus5LineHeight.createCSS()};"
11727
+ style="font-size: ${()=>c.typeRampPlus5FontSize.createCSS()}; line-height: ${()=>c.typeRampPlus5LineHeight.createCSS()};"
11719
11728
  >
11720
11729
  The quick brown fox jumps over a lazy dog
11721
11730
  </td>
@@ -11728,24 +11737,24 @@
11728
11737
  typeRampPlus6LineHeight
11729
11738
  </td>
11730
11739
  <td>
11731
- ${()=>p.typeRampPlus6FontSize.cssCustomProperty}
11740
+ ${()=>c.typeRampPlus6FontSize.cssCustomProperty}
11732
11741
  <br />
11733
- ${()=>p.typeRampPlus6LineHeight.cssCustomProperty}
11742
+ ${()=>c.typeRampPlus6LineHeight.cssCustomProperty}
11734
11743
  </td>
11735
11744
  <td>
11736
- ${e=>p.typeRampPlus6FontSize.getValueFor(e.provider)}
11745
+ ${e=>c.typeRampPlus6FontSize.getValueFor(e.provider)}
11737
11746
  <br />
11738
- ${e=>p.typeRampPlus6LineHeight.getValueFor(e.provider)}
11747
+ ${e=>c.typeRampPlus6LineHeight.getValueFor(e.provider)}
11739
11748
  </td>
11740
11749
  <td
11741
- style="font-size: ${()=>p.typeRampPlus6FontSize.createCSS()}; line-height: ${()=>p.typeRampPlus6LineHeight.createCSS()};"
11750
+ style="font-size: ${()=>c.typeRampPlus6FontSize.createCSS()}; line-height: ${()=>c.typeRampPlus6LineHeight.createCSS()};"
11742
11751
  >
11743
11752
  The quick brown fox jumps over a lazy dog
11744
11753
  </td>
11745
11754
  </tr>
11746
11755
  </tbody>
11747
11756
  </table>
11748
- `;let Cg=class extends s.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Yl.STYLES_CHANGED,(e=>{const a=e.detail;ig(a,this.provider)}))}};(0,Vl.__decorate)([s.observable],Cg.prototype,"provider",void 0),Cg=(0,Vl.__decorate)([(0,s.customElement)({name:"typography-tokens",template:Sg,styles:kg})],Cg);const Ag=s.css`
11757
+ `;let Cg=class extends d.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Yl.STYLES_CHANGED,(e=>{const a=e.detail;ig(a,this.provider)}))}};(0,Vl.__decorate)([d.observable],Cg.prototype,"provider",void 0),Cg=(0,Vl.__decorate)([(0,d.customElement)({name:"typography-tokens",template:Sg,styles:kg})],Cg);const Ag=d.css`
11749
11758
  :host {
11750
11759
  background: var(--fill-color);
11751
11760
  color: var(--neutral-foreground-rest);
@@ -11761,7 +11770,7 @@
11761
11770
  margin-top: 24px;
11762
11771
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
11763
11772
  }
11764
- `,Tg=s.html`
11773
+ `,Tg=d.html`
11765
11774
  <template>
11766
11775
  <alpha-tabs>
11767
11776
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -11790,7 +11799,7 @@
11790
11799
  </alpha-tab-panel>
11791
11800
  </alpha-tabs>
11792
11801
  </template>
11793
- `;let Og=class extends s.FASTElement{};Og=(0,Vl.__decorate)([(0,s.customElement)({name:"design-system-preview",template:Tg,styles:Ag})],Og);const Dg={type:"VerticalLayout",dsPrefix:"zero",elements:[{type:"Group",label:"Group 1",scope:"#/properties/group1",options:{childElements:[{type:"VerticalLayout",elements:[{type:"Control",scope:"#/properties/group1/properties/NAME",label:"Name"}]}]}},{type:"Group",label:"Group 2",scope:"#/properties/group2",options:{childElements:[{type:"LayoutVertical2Columns",elements:[{type:"Control",scope:"#/properties/group2/properties/QUANTITY",label:"Quantity"},{type:"Control",scope:"#/properties/group2/properties/PRICE",label:"Price"},{type:"Control",scope:"#/properties/group2/properties/COUNTERPARTY_ID",options:{data:[{name:"Genesis Global",value:"GENESIS"},{name:"Acme Global",value:"ACME"}],valueField:"value",labelField:"name"},label:"Counterparty"},{type:"Control",scope:"#/properties/group2/properties/INSTRUMENT_ID",options:{data:[{name:"Bond",value:"BOND"},{name:"Equity",value:"EQUITY"}],valueField:"value",labelField:"name"},label:"Instrument"},{type:"Control",scope:"#/properties/group2/properties/SIDE",label:"Side"},{type:"Control",scope:"#/properties/group2/properties/TRADE_DATE",label:"Trade Date"},{type:"Control",scope:"#/properties/group2/properties/ACTIVE",label:"Active"}]}]}}]},Ng={type:"object",properties:{group1:{type:"object",properties:{NAME:{type:"string"}}},group2:{type:"object",properties:{QUANTITY:{type:"number"},PRICE:{type:"number"},COUNTERPARTY_ID:{type:"string"},INSTRUMENT_ID:{type:"string"},SIDE:{type:"string",enum:["BUY","SELL"]},TRADE_DATE:{type:"number",format:"date",description:"org.joda.time.DateTime"},ACTIVE:{type:"boolean"}},required:["QUANTITY","PRICE"]}}},Fg={type:"VerticalLayout",dsPrefix:"zero",elements:[{type:"array",scope:"#/properties/users",options:{childUiSchema:{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/firstname",label:"First Name"},{type:"Control",scope:"#/properties/lastname",label:"Last Name"},{type:"Control",scope:"#/properties/email",label:"Email"}]}}}]},$g={type:"object",properties:{users:{type:"array",items:{type:"object",title:"Users",properties:{firstname:{type:"string"},lastname:{type:"string"},email:{type:"string",format:"email"}},required:["firstname"]}}}},Lg=s.css`
11802
+ `;let Og=class extends d.FASTElement{};Og=(0,Vl.__decorate)([(0,d.customElement)({name:"design-system-preview",template:Tg,styles:Ag})],Og);const Dg={type:"VerticalLayout",dsPrefix:"zero",elements:[{type:"Group",label:"Group 1",scope:"#/properties/group1",options:{childElements:[{type:"VerticalLayout",elements:[{type:"Control",scope:"#/properties/group1/properties/NAME",label:"Name"}]}]}},{type:"Group",label:"Group 2",scope:"#/properties/group2",options:{childElements:[{type:"LayoutVertical2Columns",elements:[{type:"Control",scope:"#/properties/group2/properties/QUANTITY",label:"Quantity"},{type:"Control",scope:"#/properties/group2/properties/PRICE",label:"Price"},{type:"Control",scope:"#/properties/group2/properties/COUNTERPARTY_ID",options:{data:[{name:"Genesis Global",value:"GENESIS"},{name:"Acme Global",value:"ACME"}],valueField:"value",labelField:"name"},label:"Counterparty"},{type:"Control",scope:"#/properties/group2/properties/INSTRUMENT_ID",options:{data:[{name:"Bond",value:"BOND"},{name:"Equity",value:"EQUITY"}],valueField:"value",labelField:"name"},label:"Instrument"},{type:"Control",scope:"#/properties/group2/properties/SIDE",label:"Side"},{type:"Control",scope:"#/properties/group2/properties/TRADE_DATE",label:"Trade Date"},{type:"Control",scope:"#/properties/group2/properties/ACTIVE",label:"Active"}]}]}}]},Ng={type:"object",properties:{group1:{type:"object",properties:{NAME:{type:"string"}}},group2:{type:"object",properties:{QUANTITY:{type:"number"},PRICE:{type:"number"},COUNTERPARTY_ID:{type:"string"},INSTRUMENT_ID:{type:"string"},SIDE:{type:"string",enum:["BUY","SELL"]},TRADE_DATE:{type:"number",format:"date",description:"org.joda.time.DateTime"},ACTIVE:{type:"boolean"}},required:["QUANTITY","PRICE"]}}},Fg={type:"VerticalLayout",dsPrefix:"zero",elements:[{type:"array",scope:"#/properties/users",options:{childUiSchema:{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/firstname",label:"First Name"},{type:"Control",scope:"#/properties/lastname",label:"Last Name"},{type:"Control",scope:"#/properties/email",label:"Email"}]}}}]},$g={type:"object",properties:{users:{type:"array",items:{type:"object",title:"Users",properties:{firstname:{type:"string"},lastname:{type:"string"},email:{type:"string",format:"email"}},required:["firstname"]}}}},Lg=d.css`
11794
11803
  :host {
11795
11804
  background: var(--fill-color);
11796
11805
  color: var(--neutral-foreground-rest);
@@ -11821,10 +11830,10 @@
11821
11830
  zero-design-system-provider {
11822
11831
  display: inline;
11823
11832
  }
11824
- `,Mg=s.html`
11825
- ${e=>{return a=e.prefix,s.html`
11833
+ `,Mg=d.html`
11834
+ ${e=>{return a=e.prefix,d.html`
11826
11835
  <template>
11827
- <${a}-design-system-provider ${(0,s.ref)("provider")}>
11836
+ <${a}-design-system-provider ${(0,d.ref)("provider")}>
11828
11837
  <div class="wrapper">
11829
11838
  <div class="form-container">
11830
11839
  <h2>Sample Form </h2>
@@ -11843,7 +11852,7 @@
11843
11852
  </${a}-design-system-provider>
11844
11853
  </template>
11845
11854
  `;var a}}
11846
- `;let Rg=class extends s.FASTElement{constructor(){super(...arguments),this.jsonSchema=Ng,this.uischema=Dg,this.jsonSchemaArray=$g,this.uiSchemaArray=Fg,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(Yl.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Yl.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{p.bodyFont.withDefault(Wl)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{ig(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,Vl.__decorate)([s.observable],Rg.prototype,"jsonSchema",void 0),(0,Vl.__decorate)([s.observable],Rg.prototype,"uischema",void 0),(0,Vl.__decorate)([s.observable],Rg.prototype,"jsonSchemaArray",void 0),(0,Vl.__decorate)([s.observable],Rg.prototype,"uiSchemaArray",void 0),(0,Vl.__decorate)([s.attr],Rg.prototype,"prefix",void 0),(0,Vl.__decorate)([s.observable],Rg.prototype,"provider",void 0),(0,Vl.__decorate)([s.observable],Rg.prototype,"editedEntity",void 0),(0,Vl.__decorate)([s.observable],Rg.prototype,"editedEntityArray",void 0),Rg=(0,Vl.__decorate)([(0,s.customElement)({name:"preview-form",template:Mg,styles:Lg})],Rg);const jg=s.css`
11855
+ `;let Rg=class extends d.FASTElement{constructor(){super(...arguments),this.jsonSchema=Ng,this.uischema=Dg,this.jsonSchemaArray=$g,this.uiSchemaArray=Fg,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(Yl.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Yl.DS_CHANGED,(e=>{this.handleDSChanges(e)})),d.DOM.queueUpdate((()=>{c.bodyFont.withDefault(Wl)}))}handleStyleChanges(e){const a=e.detail;a&&d.DOM.queueUpdate((()=>{ig(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.uischema.dsPrefix=e.detail.prefix,this.uiSchemaArray.dsPrefix=e.detail.prefix}};(0,Vl.__decorate)([d.observable],Rg.prototype,"jsonSchema",void 0),(0,Vl.__decorate)([d.observable],Rg.prototype,"uischema",void 0),(0,Vl.__decorate)([d.observable],Rg.prototype,"jsonSchemaArray",void 0),(0,Vl.__decorate)([d.observable],Rg.prototype,"uiSchemaArray",void 0),(0,Vl.__decorate)([d.attr],Rg.prototype,"prefix",void 0),(0,Vl.__decorate)([d.observable],Rg.prototype,"provider",void 0),(0,Vl.__decorate)([d.observable],Rg.prototype,"editedEntity",void 0),(0,Vl.__decorate)([d.observable],Rg.prototype,"editedEntityArray",void 0),Rg=(0,Vl.__decorate)([(0,d.customElement)({name:"preview-form",template:Mg,styles:Lg})],Rg);const jg=d.css`
11847
11856
  :host {
11848
11857
  background: var(--fill-color);
11849
11858
  color: var(--neutral-foreground-rest);
@@ -11858,15 +11867,15 @@
11858
11867
  .grid-height {
11859
11868
  height: 450px;
11860
11869
  }
11861
- `,Ig=s.html`
11862
- ${e=>{return a=e.prefix,s.html`
11870
+ `,Ig=d.html`
11871
+ ${e=>{return a=e.prefix,d.html`
11863
11872
  <template>
11864
- <${a}-design-system-provider ${(0,s.ref)("provider")}>
11873
+ <${a}-design-system-provider ${(0,d.ref)("provider")}>
11865
11874
  <div class="grid-height">
11866
- <${a}-grid-pro ${(0,s.ref)("grid")}></${a}-grid-pro>
11875
+ <${a}-grid-pro ${(0,d.ref)("grid")}></${a}-grid-pro>
11867
11876
  </div>
11868
11877
  </${a}-design-system-provider>
11869
11878
  </template>
11870
11879
  `;var a}}
11871
- `;let Eg=class extends s.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[{make:"Toyota",model:"Celica",price:35e3,creationDate:1617624494293,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494295,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1619637452397,isCool:!1},{make:"Audi",model:"A6",price:8e4,creationDate:1617624494293,isCool:!0},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494295,isCool:!0},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1619637452397,isCool:!1},{make:"BMW",model:"Z8",price:9e4,creationDate:1617624494293,isCool:!1},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494295,isCool:!1},{make:"Toyota",model:"Celica",price:35e3,creationDate:1619637452397,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494293,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1617624494295,isCool:!0},{make:"Audi",model:"A6",price:8e4,creationDate:1619637452397,isCool:!1},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494293,isCool:!1},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1617624494295,isCool:!0},{make:"BMW",model:"Z8",price:9e4,creationDate:1619637452397,isCool:!0},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494293,isCool:!0}],this.columnDefs=[{field:"make"},{field:"model"},{field:"price"},{field:"creationDate"},{field:"isCool"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Yl.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Yl.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setGridOptions(),p.bodyFont.withDefault(Wl)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{ig(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,s.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Vl.__decorate)([s.observable],Eg.prototype,"grid",void 0),(0,Vl.__decorate)([s.attr],Eg.prototype,"prefix",void 0),(0,Vl.__decorate)([s.observable],Eg.prototype,"provider",void 0),(0,Vl.__decorate)([s.observable],Eg.prototype,"rowData",void 0),(0,Vl.__decorate)([s.observable],Eg.prototype,"columnDefs",void 0),(0,Vl.__decorate)([s.observable],Eg.prototype,"gridOptions",void 0),Eg=(0,Vl.__decorate)([(0,s.customElement)({name:"preview-grid",template:Ig,styles:jg})],Eg),((e,a="zero")=>{e&&(0,j.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,j.createDesignSystemProxy)(r)})().register(Ko,_l),(0,i.provideDesignSystem)().register(i.baseComponents,Hl)}}]);
11872
- //# sourceMappingURL=153.a2e687cd102186b8552ec63704bb6a04.js.map
11880
+ `;let Eg=class extends d.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[{make:"Toyota",model:"Celica",price:35e3,creationDate:1617624494293,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494295,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1619637452397,isCool:!1},{make:"Audi",model:"A6",price:8e4,creationDate:1617624494293,isCool:!0},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494295,isCool:!0},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1619637452397,isCool:!1},{make:"BMW",model:"Z8",price:9e4,creationDate:1617624494293,isCool:!1},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494295,isCool:!1},{make:"Toyota",model:"Celica",price:35e3,creationDate:1619637452397,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494293,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1617624494295,isCool:!0},{make:"Audi",model:"A6",price:8e4,creationDate:1619637452397,isCool:!1},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494293,isCool:!1},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1617624494295,isCool:!0},{make:"BMW",model:"Z8",price:9e4,creationDate:1619637452397,isCool:!0},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494293,isCool:!0}],this.columnDefs=[{field:"make"},{field:"model"},{field:"price"},{field:"creationDate"},{field:"isCool"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Yl.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Yl.DS_CHANGED,(e=>{this.handleDSChanges(e)})),d.DOM.queueUpdate((()=>{this.setGridOptions(),c.bodyFont.withDefault(Wl)}))}handleStyleChanges(e){const a=e.detail;a&&d.DOM.queueUpdate((()=>{ig(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,d.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Vl.__decorate)([d.observable],Eg.prototype,"grid",void 0),(0,Vl.__decorate)([d.attr],Eg.prototype,"prefix",void 0),(0,Vl.__decorate)([d.observable],Eg.prototype,"provider",void 0),(0,Vl.__decorate)([d.observable],Eg.prototype,"rowData",void 0),(0,Vl.__decorate)([d.observable],Eg.prototype,"columnDefs",void 0),(0,Vl.__decorate)([d.observable],Eg.prototype,"gridOptions",void 0),Eg=(0,Vl.__decorate)([(0,d.customElement)({name:"preview-grid",template:Ig,styles:jg})],Eg),((e,a="zero")=>{e&&(0,I.provideTokens)(t,o,e);const r=s.DesignSystem.getOrCreate(e).withPrefix(a);return(0,I.createDesignSystemProxy)(r)})().register(Ko,_l),(0,i.provideDesignSystem)().register(i.baseComponents,Hl)}}]);
11881
+ //# sourceMappingURL=180.7a3abe8ba8c6862a090a8a00af7acdef.js.map