@genesislcap/design-system-configurator 14.127.6 → 14.128.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.
- package/dist/{200.200.dc980576709d738f6427.js → 200.200.cecf8322e4c5ee4b4fa9.js} +1 -1
- package/dist/{269.269.a7167d8be5e4bfeca07c.js → 269.269.1091420f610f210cfd48.js} +1 -1
- package/dist/{645.645.b3c344ea5810dc8434fc.js → 495.495.c693599fa47304e394a5.js} +4 -4
- package/dist/495.7f0fb904020083214a41804cf5d99d9c.js.map +1 -0
- package/dist/644.2201d52f8ea6cd0639210ea0710cd219.js.map +1 -0
- package/dist/644.644.33957a4e7e2ace0acd79.js +3 -0
- package/dist/{92.92.ca44ca2aa185e89c8b93.js → 684.684.4190789897ea9cba9b06.js} +345 -345
- package/dist/684.8595897778fe33925394755e464342ed.js.map +1 -0
- package/dist/{755.755.d5e88e0da22374bbd806.js → 755.755.8441c6d00a5433f0a8b8.js} +1 -1
- package/dist/{8.17fb5c725550f75ede773e6c9c1c4e98.js.map → 8.5394062b4834c8f5d05d079dfd31f253.js.map} +1 -1
- package/dist/{8.8.2ad44c6a351973c49c7e.js → 8.8.7e31c6ed1e1df46aef5c.js} +2 -2
- package/dist/designSystemConfigurator.d5aaf2d41315e3f2140e9e3e6e5ee704.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/main.55c7266f320b572cd96653d6a8fd9dd1.js.map +1 -0
- package/dist/main.a2138e1cb884604318e4.js +2 -0
- package/dist/npm.analytics.343.79e1c5e4e199a7ab816c.js +2 -0
- package/dist/npm.analytics.37376e06e9e5aef70bd3e95f74782ad3.js.map +1 -0
- package/dist/{npm.microsoft.127.803e5c7223dce995d8e7.js → npm.microsoft.127.fb65bada17a525386c80.js} +84 -84
- package/dist/npm.microsoft.195d71c3cb4b532ac5f722f5b46f412b.js.map +1 -0
- package/dist/remoteEntry.js +2 -2
- package/package.json +7 -7
- package/dist/214.214.c71f4f228c490e425c07.js +0 -3
- package/dist/214.cf6192da538b4e2ee2d7d83521eee097.js.map +0 -1
- package/dist/645.b9f9880ff3f70c725af50279420b7b65.js.map +0 -1
- package/dist/92.50fb31298d6b1b795250c67d6266708d.js.map +0 -1
- package/dist/designSystemConfigurator.2b6ee1c42ef43c881299347228209bc8.js.map +0 -1
- package/dist/main.226526d4e4ebed0bf0916b05cae48f8b.js.map +0 -1
- package/dist/main.dcb3da760b5444c9efd2.js +0 -2
- package/dist/npm.microsoft.7abcec696b2d9a3b4ee8c706bf093c1f.js.map +0 -1
- /package/dist/{214.214.c71f4f228c490e425c07.js.LICENSE.txt → 644.644.33957a4e7e2ace0acd79.js.LICENSE.txt} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[92],{18092:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>ju,ColorToken:()=>Bu,ColorTokens:()=>Vu,DesignSystemEditor:()=>Cu,DesignSystemExport:()=>Lu,DesignSystemPreview:()=>Zu,EventName:()=>pu,PreviewComponents:()=>Du,PreviewForm:()=>oh,PreviewGrid:()=>lh,TypographyTokens:()=>Wu,defaultBodyFont:()=>mu,fontFamilies:()=>hu});var t={};r.r(t),r.d(t,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,controlCornerRadius:()=>u.controlCornerRadius,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,strokeWidth:()=>u.strokeWidth,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>fe,baseLayerLuminanceValue:()=>ye,bodyFontValue:()=>De,controlCornerRadiusValue:()=>Se,densityValue:()=>Ce,designTokens:()=>Le,designUnitValue:()=>$e,directionValue:()=>ke,neutralPaletteValue:()=>we,strokeWidthValue:()=>ze,typeRampBaseFontSizeValue:()=>Re,typeRampBaseLineHeightValue:()=>Ne});var i={};r.r(i),r.d(i,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,buyColor:()=>pg,controlCornerRadius:()=>u.controlCornerRadius,defaultBuyColor:()=>cg,defaultErrorColor:()=>rg,defaultSellColor:()=>hg,defaultSuccessColor:()=>ig,defaultWarningColor:()=>gg,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>tg,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,sellColor:()=>mg,strokeWidth:()=>u.strokeWidth,successColor:()=>ng,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight,warningColor:()=>sg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>xg,accentFillFocusDeltaValue:()=>kg,accentFillHoverDeltaValue:()=>yg,accentFillRestDeltaValue:()=>wg,accentForegroundActiveDeltaValue:()=>Cg,accentForegroundFocusDeltaValue:()=>$g,accentForegroundHoverDeltaValue:()=>Sg,accentForegroundRestDeltaValue:()=>zg,accentPaletteValue:()=>bg,baseHeightMultiplierValue:()=>es,baseLayerLuminanceValue:()=>fg,bodyFontValue:()=>os,controlCornerRadiusValue:()=>as,densityValue:()=>rs,designTokens:()=>zs,designUnitValue:()=>ts,directionValue:()=>Jg,disabledOpacityValue:()=>Zg,focusStrokeWidthValue:()=>Xg,neutralFillActiveDeltaValue:()=>Og,neutralFillFocusDeltaValue:()=>Tg,neutralFillHoverDeltaValue:()=>Fg,neutralFillInputActiveDeltaValue:()=>Ng,neutralFillInputFocusDeltaValue:()=>Lg,neutralFillInputHoverDeltaValue:()=>Rg,neutralFillInputRestDeltaValue:()=>Dg,neutralFillLayerRestDeltaValue:()=>Hg,neutralFillRestDeltaValue:()=>Ag,neutralFillStealthActiveDeltaValue:()=>jg,neutralFillStealthFocusDeltaValue:()=>Eg,neutralFillStealthHoverDeltaValue:()=>Ig,neutralFillStealthRestDeltaValue:()=>Mg,neutralFillStrongActiveDeltaValue:()=>Ug,neutralFillStrongFocusDeltaValue:()=>Gg,neutralFillStrongHoverDeltaValue:()=>Bg,neutralFillStrongRestDeltaValue:()=>Pg,neutralPaletteValue:()=>vg,neutralStrokeActiveDeltaValue:()=>Yg,neutralStrokeDividerRestDeltaValue:()=>Wg,neutralStrokeFocusDeltaValue:()=>Qg,neutralStrokeHoverDeltaValue:()=>Vg,neutralStrokeRestDeltaValue:()=>_g,prefix:()=>qg,strokeWidthValue:()=>Kg,typeRampBaseFontSizeValue:()=>is,typeRampBaseLineHeightValue:()=>ns,typeRampMinus1FontSizeValue:()=>ls,typeRampMinus1LineHeightValue:()=>gs,typeRampMinus2FontSizeValue:()=>ss,typeRampMinus2LineHeightValue:()=>ds,typeRampPlus1FontSizeValue:()=>cs,typeRampPlus1LineHeightValue:()=>ps,typeRampPlus2FontSizeValue:()=>us,typeRampPlus2LineHeightValue:()=>hs,typeRampPlus3FontSizeValue:()=>ms,typeRampPlus3LineHeightValue:()=>bs,typeRampPlus4FontSizeValue:()=>vs,typeRampPlus4LineHeightValue:()=>fs,typeRampPlus5FontSizeValue:()=>ws,typeRampPlus5LineHeightValue:()=>ys,typeRampPlus6FontSizeValue:()=>xs,typeRampPlus6LineHeightValue:()=>ks});var l=r(37329),g=r(92592),s=r(89074),d=r(60724),c=r(79292),p=r(99667),u=r(41663),h=r(67973);const m=c.css`
|
|
1
|
+
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[684],{9684:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>_u,ColorToken:()=>Qu,ColorTokens:()=>Ku,DesignSystemEditor:()=>Ru,DesignSystemExport:()=>Uu,DesignSystemPreview:()=>oh,EventName:()=>wu,PreviewComponents:()=>Eu,PreviewForm:()=>ch,PreviewGrid:()=>hh,TypographyTokens:()=>ah,defaultBodyFont:()=>ku,fontFamilies:()=>xu});var t={};r.r(t),r.d(t,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,controlCornerRadius:()=>u.controlCornerRadius,defaultErrorColor:()=>xe,defaultSuccessColor:()=>Se,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>ke,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,strokeWidth:()=>u.strokeWidth,successColor:()=>Ce,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Ae,baseLayerLuminanceValue:()=>Fe,bodyFontValue:()=>Pe,controlCornerRadiusValue:()=>Re,densityValue:()=>Ne,designTokens:()=>Ge,designUnitValue:()=>Le,directionValue:()=>Te,neutralPaletteValue:()=>$e,strokeWidthValue:()=>De,typeRampBaseFontSizeValue:()=>Be,typeRampBaseLineHeightValue:()=>Ue});var i={};r.r(i),r.d(i,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,buyColor:()=>wg,controlCornerRadius:()=>u.controlCornerRadius,defaultBuyColor:()=>fg,defaultErrorColor:()=>sg,defaultSellColor:()=>xg,defaultSuccessColor:()=>pg,defaultWarningColor:()=>mg,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>dg,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,sellColor:()=>kg,strokeWidth:()=>u.strokeWidth,successColor:()=>ug,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight,warningColor:()=>bg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Fg,accentFillFocusDeltaValue:()=>Og,accentFillHoverDeltaValue:()=>$g,accentFillRestDeltaValue:()=>Ag,accentForegroundActiveDeltaValue:()=>Rg,accentForegroundFocusDeltaValue:()=>Ng,accentForegroundHoverDeltaValue:()=>Dg,accentForegroundRestDeltaValue:()=>Tg,accentPaletteValue:()=>zg,baseHeightMultiplierValue:()=>ls,baseLayerLuminanceValue:()=>Cg,bodyFontValue:()=>cs,controlCornerRadiusValue:()=>gs,densityValue:()=>ss,designTokens:()=>Ts,designUnitValue:()=>ds,directionValue:()=>ts,disabledOpacityValue:()=>os,focusStrokeWidthValue:()=>ns,neutralFillActiveDeltaValue:()=>Ig,neutralFillFocusDeltaValue:()=>jg,neutralFillHoverDeltaValue:()=>Mg,neutralFillInputActiveDeltaValue:()=>Bg,neutralFillInputFocusDeltaValue:()=>Ug,neutralFillInputHoverDeltaValue:()=>Pg,neutralFillInputRestDeltaValue:()=>Eg,neutralFillLayerRestDeltaValue:()=>Jg,neutralFillRestDeltaValue:()=>Lg,neutralFillStealthActiveDeltaValue:()=>_g,neutralFillStealthFocusDeltaValue:()=>Vg,neutralFillStealthHoverDeltaValue:()=>Hg,neutralFillStealthRestDeltaValue:()=>Gg,neutralFillStrongActiveDeltaValue:()=>Wg,neutralFillStrongFocusDeltaValue:()=>qg,neutralFillStrongHoverDeltaValue:()=>Qg,neutralFillStrongRestDeltaValue:()=>Yg,neutralPaletteValue:()=>Sg,neutralStrokeActiveDeltaValue:()=>Xg,neutralStrokeDividerRestDeltaValue:()=>as,neutralStrokeFocusDeltaValue:()=>es,neutralStrokeHoverDeltaValue:()=>Kg,neutralStrokeRestDeltaValue:()=>Zg,prefix:()=>rs,strokeWidthValue:()=>is,typeRampBaseFontSizeValue:()=>ps,typeRampBaseLineHeightValue:()=>us,typeRampMinus1FontSizeValue:()=>hs,typeRampMinus1LineHeightValue:()=>ms,typeRampMinus2FontSizeValue:()=>bs,typeRampMinus2LineHeightValue:()=>vs,typeRampPlus1FontSizeValue:()=>fs,typeRampPlus1LineHeightValue:()=>ws,typeRampPlus2FontSizeValue:()=>ys,typeRampPlus2LineHeightValue:()=>xs,typeRampPlus3FontSizeValue:()=>ks,typeRampPlus3LineHeightValue:()=>zs,typeRampPlus4FontSizeValue:()=>Ss,typeRampPlus4LineHeightValue:()=>Cs,typeRampPlus5FontSizeValue:()=>As,typeRampPlus5LineHeightValue:()=>$s,typeRampPlus6FontSizeValue:()=>Fs,typeRampPlus6LineHeightValue:()=>Os});var l=r(9618),g=r(92592),s=r(89074),d=r(60724),c=r(79292),p=r(99667),u=r(41663),h=r(67973);const m=c.css`
|
|
2
2
|
:host {
|
|
3
3
|
border: calc(${u.strokeWidth} * 1px) solid transparent;
|
|
4
4
|
margin: 0;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
background: ${h.H.Canvas};
|
|
51
51
|
border-color: ${h.H.CanvasText};
|
|
52
52
|
}
|
|
53
|
-
`));var b=r(
|
|
53
|
+
`));var b=r(96974);const v=(0,b.createLogger)("foundation-form"),f={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"},w=c.html`
|
|
54
54
|
<template>
|
|
55
55
|
${(0,c.when)((e=>!1),c.html`
|
|
56
56
|
<zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
</${e}-tabs>
|
|
154
154
|
</template>
|
|
155
155
|
`)(e.form.prefix)}
|
|
156
|
-
`})],C);const
|
|
156
|
+
`})],C);const A=c.html`
|
|
157
157
|
<template>
|
|
158
158
|
${(0,c.when)((e=>{var a;return null===(a=e.control)||void 0===a?void 0:a.visible}),c.html`
|
|
159
159
|
<div
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
</div>
|
|
174
174
|
`)}
|
|
175
175
|
</template>
|
|
176
|
-
|
|
176
|
+
`,$=c.css`
|
|
177
177
|
.wrapperRoot {
|
|
178
178
|
margin-bottom: 20px;
|
|
179
179
|
}
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
width: 100%;
|
|
197
197
|
align-items: center;
|
|
198
198
|
}
|
|
199
|
-
`;let F=class extends c.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,g.__decorate)([c.observable],F.prototype,"control",void 0),(0,g.__decorate)([c.observable],F.prototype,"touched",void 0),(0,g.__decorate)([c.volatile],F.prototype,"showDescription",null),(0,g.__decorate)([c.volatile],F.prototype,"computedLabel",null),F=(0,g.__decorate)([(0,c.customElement)({name:"control-wrapper",styles:A
|
|
199
|
+
`;let F=class extends c.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,g.__decorate)([c.observable],F.prototype,"control",void 0),(0,g.__decorate)([c.observable],F.prototype,"touched",void 0),(0,g.__decorate)([c.volatile],F.prototype,"showDescription",null),(0,g.__decorate)([c.volatile],F.prototype,"computedLabel",null),F=(0,g.__decorate)([(0,c.customElement)({name:"control-wrapper",styles:$,template:A})],F);var O=r(80340),T=r.n(O);const D=c.html`
|
|
200
200
|
<template>${e=>e.determinedRenderer.renderer}</template>
|
|
201
201
|
`,R=c.css``;let N=class extends c.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,g.__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}prefixChanged(){this.createRenderer()}onBlur(){this.touched=!0}get determinedRenderer(){const e=T()(this.renderer.renderers,(e=>e.tester(this.renderer.uischema,this.renderer.schema)));return 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,g.__decorate)([c.observable],N.prototype,"jsonforms",void 0),(0,g.__decorate)([c.observable],N.prototype,"props",void 0),(0,g.__decorate)([c.observable],N.prototype,"touched",void 0),(0,g.__decorate)([(0,c.attr)({mode:"boolean"})],N.prototype,"submitted",void 0),(0,g.__decorate)([c.observable],N.prototype,"dispatch",void 0),(0,g.__decorate)([c.observable],N.prototype,"control",void 0),(0,g.__decorate)([c.observable],N.prototype,"renderer",void 0),(0,g.__decorate)([c.observable],N.prototype,"prefix",void 0),N=(0,g.__decorate)([(0,c.customElement)({name:"dispatch-renderer",template:D,styles:R})],N);const L=c.css`
|
|
202
202
|
.tabs-container::part(stepper-panel-container) {
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
</control-wrapper>
|
|
285
285
|
</template>
|
|
286
286
|
`)(e.prefix)}
|
|
287
|
-
`,tester:(0,d.yMz)(3,j),mapper:d.xq9};var P=r(
|
|
287
|
+
`,tester:(0,d.yMz)(3,j),mapper:d.xq9};var P=r(71072);const B=e=>a=>{if(!a||!(0,d.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},U=(0,d.xDy)(B("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")))))));P.MultiselectDatasource;const G={renderer:c.html`
|
|
288
288
|
${e=>((e="zero")=>c.html`
|
|
289
289
|
<template>
|
|
290
290
|
<control-wrapper
|
|
@@ -546,11 +546,11 @@
|
|
|
546
546
|
</control-wrapper>
|
|
547
547
|
</template>
|
|
548
548
|
`)(e.prefix)}
|
|
549
|
-
`,de={renderer:se,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},ce=[{renderer:se,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},de,E,Z,K,X,ee,te,ae,re,ne,G,W,H,Y,q];let pe=class extends p.FoundationElement{constructor(){super(...arguments),this.prefix="zero",this.renderers=ce,this.errors=[],this.data={}}resourceNameChanged(){var e,a;return(0,g.__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,v.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,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield c.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(v.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){v.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={})}};
|
|
549
|
+
`,de={renderer:se,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},ce=[{renderer:se,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},de,E,Z,K,X,ee,te,ae,re,ne,G,W,H,Y,q];let pe=class extends p.FoundationElement{constructor(){super(...arguments),this.prefix="zero",this.renderers=ce,this.errors=[],this.data={}}resourceNameChanged(){var e,a;return(0,g.__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,v.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,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield c.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(v.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){v.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={})}};(0,g.__decorate)([(0,c.attr)({attribute:"design-system-prefix"})],pe.prototype,"prefix",void 0),(0,g.__decorate)([c.attr],pe.prototype,"resourceName",void 0),(0,g.__decorate)([c.observable],pe.prototype,"uischema",void 0),(0,g.__decorate)([c.observable],pe.prototype,"renderers",void 0),(0,g.__decorate)([c.observable],pe.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.lj],pe.prototype,"connect",void 0),(0,g.__decorate)([c.observable],pe.prototype,"data",void 0),(0,g.__decorate)([c.observable],pe.prototype,"submitting",void 0),(0,g.__decorate)([c.observable],pe.prototype,"submitted",void 0),(0,g.__decorate)([(0,c.attr)({mode:"boolean"})],pe.prototype,"readonly",void 0),(0,g.__decorate)([(0,c.attr)({attribute:"hide-submit-button",mode:"boolean"})],pe.prototype,"hideSubmit",void 0),(0,g.__decorate)([c.volatile],pe.prototype,"isSubmitHidden",null),pe=(0,g.__decorate)([(0,c.customElement)({name:"foundation-form",template:I,styles:m})],pe);var ue,he,me,be,ve,fe=r(43556);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79"}(ue||(ue={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(he||(he={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(me||(me={})),function(e){e.grey="#7c909b"}(be||(be={})),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"}(ve||(ve={}));const{create:we}=p.DesignToken,ye=(0,fe.parseColorHexRGB)(ue.error),xe=u.SwatchRGB.create(ye.r,ye.g,ye.b),ke=we("error-color").withDefault(xe),ze=(0,fe.parseColorHexRGB)(ue.success),Se=u.SwatchRGB.create(ze.r,ze.g,ze.b),Ce=we("success-color").withDefault(Se),Ae=(0,P.paletteFromHex)(he.blue),$e=(0,P.paletteFromHex)(be.grey),Fe=u.StandardLuminance.DarkMode;var Oe=r(5598);const Te=Oe.N.ltr,De=u.strokeWidth.getValueFor(u.strokeWidth.appliedTo[0]),Re=4,Ne=u.density.getValueFor(u.density.appliedTo[0]),Le=4;var Me=r(47823);const Ie=()=>{(0,Me.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")},je='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Ee=(e=Me.Hd.Normal,a=Me.U9.Regular)=>(0,Me.py)(je,e,a),Pe=je,Be=u.typeRampBaseFontSize.getValueFor(u.typeRampBaseFontSize.appliedTo[0]),Ue=u.typeRampBaseLineHeight.getValueFor(u.typeRampBaseLineHeight.appliedTo[0]),Ge={design_tokens:{color:{accent:{$value:Ae.source.toColorString(),$type:"color"},neutral:{$value:$e.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Pe,$type:"fontFamily"}},typography:{baseFontSize:{$value:Be,$type:"dimension"},baseLineHeight:{$value:Ue,$type:"dimension"}},mode:{luminance:{$value:Fe,$type:"number"}},style:{density:{$value:Ne,$type:"number"},borderRadius:{$value:Re,$type:"number"},strokeWidth:{$value:De,$type:"number"}},space:{designUnit:{$value:Le,$type:"number"}}}};class He extends P.Accordion{}const _e=He.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,P.foundationAccordionTemplate)(e,a),styles:(e,a)=>c.css`
|
|
550
550
|
${(0,P.foundationAccordionStyles)(e,a)}
|
|
551
|
-
`,shadowOptions:P.foundationAccordionShadowOptions},P.defaultAccordionConfig));class
|
|
551
|
+
`,shadowOptions:P.foundationAccordionShadowOptions},P.defaultAccordionConfig));class Ve extends P.AccordionItem{}const Ye=Ve.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,P.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
552
552
|
${(0,P.foundationAccordionItemStyles)(e,a)};
|
|
553
|
-
`,shadowOptions:P.foundationAccordionItemShadowOptions},P.defaultAccordionItemConfig));class
|
|
553
|
+
`,shadowOptions:P.foundationAccordionItemShadowOptions},P.defaultAccordionItemConfig));class Qe extends P.ActionsMenu{}const We=Qe.compose({baseName:"actions-menu",styles:(e,a)=>c.css`
|
|
554
554
|
:host {
|
|
555
555
|
--actions-opener-heigght-multiplier: 0.6px;
|
|
556
556
|
--menu-item-height-multiplier: 0.5px;
|
|
@@ -575,9 +575,9 @@
|
|
|
575
575
|
}
|
|
576
576
|
|
|
577
577
|
${(0,P.actionsMenuBaseStyles)(e,a)}
|
|
578
|
-
`,template:P.foundationActionsMenuTemplate})
|
|
578
|
+
`,template:P.foundationActionsMenuTemplate}),qe=(e,a=1)=>new fe.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),Je=(0,fe.parseColorHexRGB)(ue.white),Ze=(e=1)=>qe(Je,e),Ke=((0,fe.parseColorHexRGB)(ue.black),(0,fe.parseColorHexRGB)("#585858")),Xe=(u.SwatchRGB.create(Ke.r,Ke.g,Ke.b),(0,fe.parseColorHexRGB)("#202126")),ea=u.SwatchRGB.create(Xe.r,Xe.g,Xe.b),aa=(u.PaletteRGB.from(ea),(0,fe.parseColorHexRGB)(he.blue)),ra=(e=1)=>qe(aa,e),ta=u.SwatchRGB.create(aa.r,aa.g,aa.b),oa=(u.PaletteRGB.from(ta),(0,fe.parseColorHexRGB)(he.purple)),ia=(e=1)=>qe(oa,e),na=(0,fe.parseColorHexRGB)(me.orange),la=(e=1)=>qe(na,e),ga=(0,fe.parseColorHexRGB)(me.teal),sa=(e=1)=>qe(ga,e),da=((0,fe.parseColorHexRGB)(ve.longGreen),(0,fe.parseColorHexRGB)(ve.chartPink),(0,fe.parseColorHexRGB)(ve.warningYellow)),ca=(0,fe.parseColorHexRGB)(ve.chartPink),pa=(e=1)=>qe(ca,e);function ua(e,a){return new p.PropertyStyleSheetBehavior("appearance",e,a)}const ha=.3,ma=.1,ba=.5,va=c.css`
|
|
579
579
|
:host([appearance='primary-blue']) {
|
|
580
|
-
background: ${
|
|
580
|
+
background: ${ra(ha)};
|
|
581
581
|
border: 1px solid ${he.blue};
|
|
582
582
|
}
|
|
583
583
|
|
|
@@ -586,13 +586,13 @@
|
|
|
586
586
|
}
|
|
587
587
|
|
|
588
588
|
:host([appearance='primary-blue']:active) {
|
|
589
|
-
background: ${
|
|
590
|
-
border: 1px solid ${
|
|
591
|
-
color: ${
|
|
589
|
+
background: ${ra(ma)};
|
|
590
|
+
border: 1px solid ${ra(ha)};
|
|
591
|
+
color: ${Ze(ba)};
|
|
592
592
|
}
|
|
593
|
-
`,
|
|
593
|
+
`,fa=c.css`
|
|
594
594
|
:host([appearance='primary-purple']) {
|
|
595
|
-
background: ${
|
|
595
|
+
background: ${ia(ha)};
|
|
596
596
|
border: 1px solid ${he.purple};
|
|
597
597
|
}
|
|
598
598
|
|
|
@@ -601,11 +601,11 @@
|
|
|
601
601
|
}
|
|
602
602
|
|
|
603
603
|
:host([appearance='primary-purple']:active) {
|
|
604
|
-
background: ${
|
|
605
|
-
border: 1px solid ${
|
|
606
|
-
color: ${
|
|
604
|
+
background: ${ia(ma)};
|
|
605
|
+
border: 1px solid ${ia(ha)};
|
|
606
|
+
color: ${Ze(ba)};
|
|
607
607
|
}
|
|
608
|
-
`,
|
|
608
|
+
`,wa=c.css`
|
|
609
609
|
:host {
|
|
610
610
|
--primary-gradient-angle: -113.5deg;
|
|
611
611
|
}
|
|
@@ -635,17 +635,17 @@
|
|
|
635
635
|
:host([appearance='primary-gradient']:active) {
|
|
636
636
|
background-image: linear-gradient(
|
|
637
637
|
var(--primary-gradient-angle),
|
|
638
|
-
${
|
|
639
|
-
${
|
|
638
|
+
${ra(ha)},
|
|
639
|
+
${ia(ha)}
|
|
640
640
|
);
|
|
641
641
|
background-origin: border-box;
|
|
642
642
|
border: solid 1px transparent;
|
|
643
643
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 30%) inset;
|
|
644
|
-
color: ${
|
|
644
|
+
color: ${Ze(ba)};
|
|
645
645
|
}
|
|
646
|
-
`,
|
|
646
|
+
`,ya=c.css`
|
|
647
647
|
:host([appearance='secondary-orange']) {
|
|
648
|
-
background: ${
|
|
648
|
+
background: ${la(ha)};
|
|
649
649
|
border: 1px solid ${me.orange};
|
|
650
650
|
}
|
|
651
651
|
|
|
@@ -654,13 +654,13 @@
|
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
:host([appearance='secondary-orange']:active) {
|
|
657
|
-
background: ${
|
|
658
|
-
border: 1px solid ${
|
|
659
|
-
color: ${
|
|
657
|
+
background: ${la(ma)};
|
|
658
|
+
border: 1px solid ${la(ha)};
|
|
659
|
+
color: ${Ze(ba)};
|
|
660
660
|
}
|
|
661
|
-
`,
|
|
661
|
+
`,xa=c.css`
|
|
662
662
|
:host([appearance='secondary-teal']) {
|
|
663
|
-
background: ${
|
|
663
|
+
background: ${sa(ha)};
|
|
664
664
|
border: 1px solid ${me.teal};
|
|
665
665
|
}
|
|
666
666
|
|
|
@@ -669,11 +669,11 @@
|
|
|
669
669
|
}
|
|
670
670
|
|
|
671
671
|
:host([appearance='secondary-teal']:active) {
|
|
672
|
-
background: ${
|
|
673
|
-
border: 1px solid ${
|
|
674
|
-
color: ${
|
|
672
|
+
background: ${sa(ma)};
|
|
673
|
+
border: 1px solid ${sa(ha)};
|
|
674
|
+
color: ${Ze(ba)};
|
|
675
675
|
}
|
|
676
|
-
`,
|
|
676
|
+
`,ka=c.css`
|
|
677
677
|
:host([appearance='neutral-grey']) {
|
|
678
678
|
background: ${u.neutralFillRest};
|
|
679
679
|
border: 1px solid ${u.neutralStrokeRest};
|
|
@@ -688,7 +688,7 @@
|
|
|
688
688
|
border: 1px solid ${u.neutralStrokeActive};
|
|
689
689
|
color: ${u.neutralForegroundRest};
|
|
690
690
|
}
|
|
691
|
-
`,
|
|
691
|
+
`,za=c.css`
|
|
692
692
|
:host {
|
|
693
693
|
--primary-gradient-angle: -113.5deg;
|
|
694
694
|
}
|
|
@@ -731,73 +731,73 @@
|
|
|
731
731
|
background:
|
|
732
732
|
linear-gradient(
|
|
733
733
|
var(--primary-gradient-angle),
|
|
734
|
-
${
|
|
735
|
-
${
|
|
734
|
+
${ra(ha)} 0%,
|
|
735
|
+
${ia(ha)} 100%
|
|
736
736
|
)
|
|
737
737
|
top/100% 1px,
|
|
738
738
|
linear-gradient(
|
|
739
739
|
var(--primary-gradient-angle),
|
|
740
|
-
${
|
|
741
|
-
${
|
|
740
|
+
${ra(ha)} 0%,
|
|
741
|
+
${ia(ha)} 100%
|
|
742
742
|
)
|
|
743
743
|
bottom/100% 1px;
|
|
744
744
|
background-origin: border-box;
|
|
745
745
|
background-repeat: no-repeat;
|
|
746
746
|
border: 1px solid transparent;
|
|
747
|
-
border-right-color: ${
|
|
748
|
-
border-left-color: ${
|
|
749
|
-
color: ${
|
|
747
|
+
border-right-color: ${ra(ha)};
|
|
748
|
+
border-left-color: ${ia(ha)};
|
|
749
|
+
color: ${Ze(ba)};
|
|
750
750
|
}
|
|
751
|
-
`,
|
|
751
|
+
`,Sa=c.css`
|
|
752
752
|
:host([appearance='outline-secondary-orange']) {
|
|
753
753
|
background: transparent;
|
|
754
754
|
border: 1px solid ${me.orange};
|
|
755
755
|
}
|
|
756
756
|
|
|
757
757
|
:host([appearance='outline-secondary-orange']:hover) {
|
|
758
|
-
background: ${
|
|
758
|
+
background: ${la(ha)};
|
|
759
759
|
}
|
|
760
760
|
|
|
761
761
|
:host([appearance='outline-secondary-orange']:active) {
|
|
762
762
|
background: transparent;
|
|
763
|
-
border: 1px solid ${
|
|
764
|
-
color: ${
|
|
763
|
+
border: 1px solid ${la(ha)};
|
|
764
|
+
color: ${Ze(ba)};
|
|
765
765
|
}
|
|
766
|
-
`,
|
|
766
|
+
`,Ca=c.css`
|
|
767
767
|
:host([appearance='outline-secondary-teal']) {
|
|
768
768
|
background: transparent;
|
|
769
769
|
border: 1px solid ${me.teal};
|
|
770
770
|
}
|
|
771
771
|
|
|
772
772
|
:host([appearance='outline-secondary-teal']:hover) {
|
|
773
|
-
background: ${
|
|
773
|
+
background: ${sa(ha)};
|
|
774
774
|
}
|
|
775
775
|
|
|
776
776
|
:host([appearance='outline-secondary-teal']:active) {
|
|
777
777
|
background: transparent;
|
|
778
|
-
border: 1px solid ${
|
|
779
|
-
color: ${
|
|
778
|
+
border: 1px solid ${sa(ha)};
|
|
779
|
+
color: ${Ze(ba)};
|
|
780
780
|
}
|
|
781
|
-
`,
|
|
781
|
+
`,Aa=(e,a)=>c.css`
|
|
782
782
|
${(0,P.foundationButtonStyles)(e,a)}
|
|
783
783
|
${c.css`
|
|
784
784
|
:host {
|
|
785
785
|
margin: 5px;
|
|
786
786
|
}
|
|
787
787
|
`}
|
|
788
|
-
`.withBehaviors(
|
|
788
|
+
`.withBehaviors(ua("primary-blue",va),ua("primary-purple",fa),ua("primary-gradient",wa),ua("secondary-orange",ya),ua("secondary-teal",xa),ua("neutral-grey",ka),ua("outline-primary-gradient",za),ua("outline-secondary-orange",Sa),ua("outline-secondary-teal",Ca));class $a extends P.Anchor{}const Fa=$a.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,P.foundationAnchorTemplate)(e,a),styles:(e,a)=>c.css`
|
|
789
789
|
${(0,P.foundationAnchorStyles)(e,a)}
|
|
790
|
-
${
|
|
791
|
-
`.withBehaviors(...
|
|
790
|
+
${Aa(e,a)}
|
|
791
|
+
`.withBehaviors(...Aa(e,a).behaviors),shadowOptions:P.foundationAnchorShadowOptions},P.defaultAnchorConfig));class Oa extends P.AnchoredRegion{}const Ta=Oa.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,P.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>c.css`
|
|
792
792
|
${(0,P.foundationAnchoredRegionStyles)(e,a)}
|
|
793
|
-
`,shadowOptions:P.foundationAnchoredRegionShadowOptions},P.defaultAnchoredRegionConfig));class
|
|
793
|
+
`,shadowOptions:P.foundationAnchoredRegionShadowOptions},P.defaultAnchoredRegionConfig));class Da extends P.Avatar{}const Ra=Da.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,P.foundationAvatarTemplate)(e,a),styles:(e,a)=>c.css`
|
|
794
794
|
${(0,P.foundationAvatarStyles)(e,a)}
|
|
795
|
-
`,shadowOptions:P.foundationAvatarShadowOptions},P.defaultAvatarConfig));class
|
|
795
|
+
`,shadowOptions:P.foundationAvatarShadowOptions},P.defaultAvatarConfig));class Na extends P.Badge{}const La=Na.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,P.foundationBadgeTemplate)(e,a),styles:(e,a)=>c.css`
|
|
796
796
|
${(0,P.foundationBadgeStyles)(e,a)}
|
|
797
797
|
:host {
|
|
798
|
-
--badge-fill-primary: ${
|
|
799
|
-
--badge-fill-secondary: ${
|
|
800
|
-
--badge-fill-pink: ${
|
|
798
|
+
--badge-fill-primary: ${ra()};
|
|
799
|
+
--badge-fill-secondary: ${sa()};
|
|
800
|
+
--badge-fill-pink: ${pa()};
|
|
801
801
|
--badge-fill-transparent: transparent;
|
|
802
802
|
--badge-color-black: #000;
|
|
803
803
|
--badge-color-white: #fff;
|
|
@@ -806,14 +806,14 @@
|
|
|
806
806
|
:host .control {
|
|
807
807
|
padding: calc(${u.designUnit} * 1px) calc(${u.designUnit} * 2px);
|
|
808
808
|
}
|
|
809
|
-
`,shadowOptions:P.foundationBadgeShadowOptions},P.defaultBadgeConfig)),
|
|
809
|
+
`,shadowOptions:P.foundationBadgeShadowOptions},P.defaultBadgeConfig)),Ma=c.css`
|
|
810
810
|
${P.foundationBannerStyles}
|
|
811
811
|
.banner {
|
|
812
812
|
background-color: ${u.neutralLayer1};
|
|
813
813
|
}
|
|
814
|
-
`,
|
|
814
|
+
`,Ia=P.foundationBannerShadowOptions;class ja extends P.Banner{}const Ea=ja.compose({baseName:"banner",shadowOptions:Ia,styles:Ma,template:P.foundationBannerTemplate});class Pa extends P.Breadcrumb{}const Ba=Pa.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,P.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>c.css`
|
|
815
815
|
${(0,P.foundationBreadcrumbStyles)(e,a)}
|
|
816
|
-
`,shadowOptions:undefined},{}));class
|
|
816
|
+
`,shadowOptions:undefined},{}));class Ua extends P.BreadcrumbItem{}const Ga=Ua.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,P.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
817
817
|
${(0,P.foundationBreadcrumbItemStyles)(e,a)}
|
|
818
818
|
:host {
|
|
819
819
|
--neutral-foreground-rest: #18b2e3;
|
|
@@ -824,15 +824,15 @@
|
|
|
824
824
|
.separator {
|
|
825
825
|
color: var(--neutral-stroke-rest);
|
|
826
826
|
}
|
|
827
|
-
`,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class
|
|
827
|
+
`,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class Ha extends P.Button{}const _a=Ha.compose(Object.assign({baseName:"button",template:(e,a)=>(0,P.foundationButtonTemplate)(e,a),styles:Aa,shadowOptions:P.foundationButtonShadowOptions},P.defaultButtonConfig));class Va extends P.Calendar{}const Ya=Va.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,P.foundationCalendarTemplate)(e,a),styles:()=>c.css`
|
|
828
828
|
${(0,P.foundationCalendarStyles)()}
|
|
829
|
-
`,shadowOptions:P.foundationCalendarShadowOptions},P.defaultCalendarConfig));class
|
|
829
|
+
`,shadowOptions:P.foundationCalendarShadowOptions},P.defaultCalendarConfig));class Qa extends P.Card{}const Wa=Qa.compose(Object.assign({baseName:"card",template:(e,a)=>(0,P.foundationCardTemplate)(e,a),styles:(e,a)=>c.css`
|
|
830
830
|
${(0,P.foundationCardStyles)(e,a)}
|
|
831
831
|
:host {
|
|
832
832
|
background-color: var(--zero-card-fill-color, var(--neutral-layer-2));
|
|
833
833
|
color: ${u.neutralForegroundRest};
|
|
834
834
|
}
|
|
835
|
-
`,shadowOptions:P.foundationCardShadowOptions},P.defaultCardConfig));class
|
|
835
|
+
`,shadowOptions:P.foundationCardShadowOptions},P.defaultCardConfig));class qa extends P.Checkbox{}const Ja=qa.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,P.foundationCheckboxTemplate)(e,a),styles:(e,a)=>c.css`
|
|
836
836
|
${(0,P.foundationCheckboxStyles)(e,a)}
|
|
837
837
|
:host {
|
|
838
838
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -852,14 +852,14 @@
|
|
|
852
852
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 20%) inset;
|
|
853
853
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
854
854
|
}
|
|
855
|
-
`,shadowOptions:P.foundationCheckboxShadowOptions},P.defaultCheckboxConfig)),
|
|
855
|
+
`,shadowOptions:P.foundationCheckboxShadowOptions},P.defaultCheckboxConfig)),Za=(0,fe.parseColorHexRGB)("#F1F1F1"),Ka=qe(Za,1),Xa=(0,fe.parseColorHexRGB)("#879BA6"),er=qe(Xa,.06),ar=(0,fe.parseColorHexRGB)("#879BA6"),rr=qe(ar,1),tr=(0,fe.parseColorHexRGB)("#121212"),or=qe(tr,1),ir=(0,fe.parseColorHexRGB)("#2e3339"),nr=qe(ir,1);var lr;!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"}(lr||(lr={}));Object.values(lr);class gr extends P.Combobox{}const sr=gr.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,P.foundationComboboxTemplate)(e,a),styles:(e,a)=>c.css`
|
|
856
856
|
${(0,P.foundationComboboxStyles)(e,a)}
|
|
857
857
|
:host {
|
|
858
858
|
--primary-gradient-angle: -113.5deg;
|
|
859
859
|
|
|
860
860
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
861
|
-
border-color: ${
|
|
862
|
-
background: ${
|
|
861
|
+
border-color: ${nr};
|
|
862
|
+
background: ${er};
|
|
863
863
|
}
|
|
864
864
|
|
|
865
865
|
:host(:focus-within:not([disabled])) {
|
|
@@ -884,8 +884,8 @@
|
|
|
884
884
|
}
|
|
885
885
|
|
|
886
886
|
:host(:hover:not([disabled]):not([open])) {
|
|
887
|
-
border-color: ${
|
|
888
|
-
background: ${
|
|
887
|
+
border-color: ${Ka};
|
|
888
|
+
background: ${er};
|
|
889
889
|
}
|
|
890
890
|
|
|
891
891
|
:host([open][position='below']) .listbox {
|
|
@@ -896,31 +896,31 @@
|
|
|
896
896
|
}
|
|
897
897
|
|
|
898
898
|
:host([open]) .control {
|
|
899
|
-
background: ${
|
|
899
|
+
background: ${or};
|
|
900
900
|
}
|
|
901
901
|
|
|
902
902
|
:host(:not([disabled])) .control:active {
|
|
903
903
|
background: none;
|
|
904
904
|
}
|
|
905
|
-
`,shadowOptions:P.foundationComboboxShadowOptions},P.defaultComboboxConfig));class
|
|
905
|
+
`,shadowOptions:P.foundationComboboxShadowOptions},P.defaultComboboxConfig));class dr extends P.ConnectionIndicator{}const cr=dr.compose({baseName:"connection-indicator",template:P.foundationConnectionIndicatorTemplate,styles:P.foundationConnectionIndicatorStyles});class pr extends P.DataGridCell{}pr.compose(Object.assign({baseName:"data-grid-cell",template:p.dataGridCellTemplate,styles:(e,a)=>c.css`
|
|
906
906
|
${(0,P.foundationDataGridCellStyles)(e,a)}
|
|
907
|
-
`,shadowOptions:P.foundationDataGridCellShadowOptions},P.defaultDataGridCellConfig));class
|
|
907
|
+
`,shadowOptions:P.foundationDataGridCellShadowOptions},P.defaultDataGridCellConfig));class ur extends P.DataGridRow{}ur.compose(Object.assign({baseName:"data-grid-row",template:p.dataGridRowTemplate,styles:(e,a)=>c.css`
|
|
908
908
|
${(0,P.foundationDataGridRowStyles)(e,a)}
|
|
909
|
-
`,shadowOptions:P.foundationDataGridRowShadowOptions},P.defaultDataGridRowConfig));class
|
|
909
|
+
`,shadowOptions:P.foundationDataGridRowShadowOptions},P.defaultDataGridRowConfig));class hr extends P.DataGrid{}const mr=hr.compose(Object.assign({baseName:"data-grid",template:(e,a)=>(0,P.foundationDataGridTemplate)(e,a),styles:(e,a)=>c.css`
|
|
910
910
|
${(0,P.foundationDataGridStyles)(e,a)}
|
|
911
911
|
::slotted(.sticky-header),
|
|
912
912
|
::slotted(.header) {
|
|
913
913
|
border-bottom-color: var(--neutral-color);
|
|
914
914
|
|
|
915
|
-
--neutral-foreground-rest: ${
|
|
915
|
+
--neutral-foreground-rest: ${rr};
|
|
916
916
|
}
|
|
917
917
|
|
|
918
918
|
::slotted([role='row']) {
|
|
919
919
|
background-color: #1f2126;
|
|
920
920
|
}
|
|
921
|
-
`,shadowOptions:P.foundationDataGridShadowOptions},P.defaultDataGridConfig)),
|
|
921
|
+
`,shadowOptions:P.foundationDataGridShadowOptions},P.defaultDataGridConfig)),br=c.html`
|
|
922
922
|
${(0,P.getPrefixedDatePicker)("zero")}
|
|
923
|
-
`;class
|
|
923
|
+
`;class vr extends P.DatePicker{}const fr=vr.compose(Object.assign({baseName:"date-picker",template:br,styles:()=>c.css`
|
|
924
924
|
${P.foundationDatePickerStyles}
|
|
925
925
|
:host {
|
|
926
926
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -960,12 +960,12 @@
|
|
|
960
960
|
.date-toggle::part(end) {
|
|
961
961
|
margin-inline-end: 4px;
|
|
962
962
|
}
|
|
963
|
-
`,shadowOptions:undefined},{}));var
|
|
963
|
+
`,shadowOptions:undefined},{}));var wr=r(37068);Ie();const yr=c.css`
|
|
964
964
|
${(0,p.display)("flex")}
|
|
965
965
|
:host {
|
|
966
966
|
flex: 1;
|
|
967
967
|
}
|
|
968
|
-
`,
|
|
968
|
+
`,xr=c.css`
|
|
969
969
|
:host {
|
|
970
970
|
background-color: ${u.neutralFillStealthActive};
|
|
971
971
|
}
|
|
@@ -975,31 +975,31 @@
|
|
|
975
975
|
box-shadow: 0 0 0 1px ${h.H.CanvasText};
|
|
976
976
|
color: ${h.H.ButtonText};
|
|
977
977
|
}
|
|
978
|
-
`)),
|
|
978
|
+
`)),kr=(e,a,r)=>c.css`
|
|
979
979
|
${e.name} ${"h"+a} {
|
|
980
980
|
font-size: var(--type-ramp-plus-${r}-font-size);
|
|
981
981
|
line-height: var(--type-ramp-plus-${r}-line-height);
|
|
982
982
|
margin: 0;
|
|
983
|
-
${
|
|
983
|
+
${Ee(Me.Hd.Normal,Me.U9.Bold)}
|
|
984
984
|
}
|
|
985
|
-
`;class
|
|
985
|
+
`;class zr extends u.DesignSystemProvider{constructor(){super(),(0,P.provideTokens)(t,o,this)}}(0,wr.__decorate)([(0,c.attr)({attribute:"card-fill-color",converter:P.swatchConverter}),(0,P.designToken)(u.neutralFillStealthRest)],zr.prototype,"cardFillColor",void 0),(0,wr.__decorate)([(0,c.attr)({attribute:"card-foreground-color",converter:P.swatchConverter}),(0,P.designToken)(u.neutralForegroundRest)],zr.prototype,"cardForegroundColor",void 0);const Sr=zr.compose({baseName:"design-system-provider",template:c.html`
|
|
986
986
|
<slot></slot>
|
|
987
987
|
`,styles:e=>{const a=(e=>c.css`
|
|
988
|
-
${
|
|
989
|
-
${
|
|
990
|
-
${
|
|
991
|
-
${
|
|
992
|
-
${
|
|
993
|
-
${
|
|
988
|
+
${kr(e,"1","6")}
|
|
989
|
+
${kr(e,"2","5")}
|
|
990
|
+
${kr(e,"3","4")}
|
|
991
|
+
${kr(e,"4","3")}
|
|
992
|
+
${kr(e,"5","2")}
|
|
993
|
+
${kr(e,"6","1")}
|
|
994
994
|
`)(e);return a.addStylesTo(document),c.css`
|
|
995
|
-
${
|
|
996
|
-
${
|
|
995
|
+
${yr}
|
|
996
|
+
${xr}
|
|
997
997
|
${a}
|
|
998
998
|
:host * {
|
|
999
999
|
color: ${u.neutralForegroundRest};
|
|
1000
|
-
${
|
|
1000
|
+
${Ee()}
|
|
1001
1001
|
}
|
|
1002
|
-
`}}),
|
|
1002
|
+
`}}),Cr=(0,fe.parseColorHexRGB)("#121212"),Ar=qe(Cr,1),$r=c.css`
|
|
1003
1003
|
${P.foundationDialogStyles}
|
|
1004
1004
|
:host {
|
|
1005
1005
|
--dialog-background: ${u.neutralLayer2};
|
|
@@ -1054,29 +1054,29 @@
|
|
|
1054
1054
|
}
|
|
1055
1055
|
|
|
1056
1056
|
.close-icon:hover svg {
|
|
1057
|
-
background-color: ${
|
|
1057
|
+
background-color: ${Ze(.05)};
|
|
1058
1058
|
}
|
|
1059
1059
|
|
|
1060
1060
|
.close-icon:hover svg g path {
|
|
1061
|
-
fill: ${
|
|
1061
|
+
fill: ${Ze(1)};
|
|
1062
1062
|
}
|
|
1063
1063
|
|
|
1064
1064
|
.close-icon:active svg {
|
|
1065
|
-
background-color: ${
|
|
1065
|
+
background-color: ${Ar};
|
|
1066
1066
|
}
|
|
1067
1067
|
|
|
1068
1068
|
.close-icon:active svg g path {
|
|
1069
|
-
fill: ${
|
|
1069
|
+
fill: ${Ze(.33)};
|
|
1070
1070
|
}
|
|
1071
|
-
`,
|
|
1071
|
+
`,Fr=P.defaultDialogConfig,Or=P.foundationDialogTemplate,Tr=P.foundationDialogShadowOptions;class Dr extends P.Dialog{}const Rr=Dr.compose(Object.assign({baseName:"dialog",shadowOptions:Tr,styles:$r,template:Or},Fr));class Nr extends P.Disclosure{}const Lr=Nr.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,P.foundationDisclosureTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1072
1072
|
${(0,P.foundationDisclosureStyles)(e,a)}
|
|
1073
|
-
`,shadowOptions:P.foundationDialogShadowOptions},P.defaultDisclosureConfig));class
|
|
1073
|
+
`,shadowOptions:P.foundationDialogShadowOptions},P.defaultDisclosureConfig));class Mr extends P.Divider{}const Ir=Mr.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,P.foundationDividerTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1074
1074
|
${(0,P.foundationDividerStyles)(e,a)}
|
|
1075
|
-
`,shadowOptions:P.foundationDividerShadowOptions},P.defaultDividerConfig));class
|
|
1075
|
+
`,shadowOptions:P.foundationDividerShadowOptions},P.defaultDividerConfig));class jr extends P.DropdownMenu{}const Er=jr.compose({baseName:"dropdown-menu",styles:(e,a)=>c.css`
|
|
1076
1076
|
${(0,P.dropdownMenuBaseStyles)("zero",e,a)}
|
|
1077
|
-
`,template:P.foundationDropdownMenuTemplate}),
|
|
1077
|
+
`,template:P.foundationDropdownMenuTemplate}),Pr=c.html`
|
|
1078
1078
|
${(0,P.getPrefixedErrorBanner)("zero")}
|
|
1079
|
-
`,
|
|
1079
|
+
`,Br=P.foundationErrorBannerShadowOptions;class Ur extends P.ErrorBanner{}const Gr=Ur.compose({baseName:"error-banner",template:Pr,shadowOptions:Br});class Hr extends P.ErrorBoundary{}const _r=Hr.compose({baseName:"error-boundary",template:P.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class Vr extends P.ErrorDialog{}const Yr=Vr.compose({baseName:"error-dialog",styles:P.foundationErrorDialogStyles,template:P.errorDialogTemplate,shadowOptions:P.foundationErrorDialogShadowOptions}),Qr=c.css`
|
|
1080
1080
|
${P.foundationFileUploadStyles}
|
|
1081
1081
|
::-webkit-scrollbar {
|
|
1082
1082
|
width: 12px;
|
|
@@ -1093,13 +1093,13 @@
|
|
|
1093
1093
|
background-color: var(--neutral-color);
|
|
1094
1094
|
border: 3px solid rgb(31 33 38);
|
|
1095
1095
|
}
|
|
1096
|
-
`,
|
|
1096
|
+
`,Wr=c.html`
|
|
1097
1097
|
${(0,P.getPrefixedFileUpload)("zero")}
|
|
1098
|
-
`,
|
|
1098
|
+
`,qr=P.defaultFileUploadConfig,Jr=P.foundationFileUploadShadowOptions;class Zr extends P.FileUpload{}const Kr=Zr.compose(Object.assign({baseName:"file-upload",shadowOptions:Jr,styles:Qr,template:Wr},qr)),Xr=c.html`
|
|
1099
1099
|
${(0,P.getPrefixedFilterTemplate)("zero")}
|
|
1100
|
-
`;class
|
|
1100
|
+
`;class et extends P.Filter{}const at=et.compose({baseName:"filter",template:Xr,styles:P.foundationFilterStyles}),rt=c.html`
|
|
1101
1101
|
${(0,P.filterBarTemplate)("zero")}
|
|
1102
|
-
`;class
|
|
1102
|
+
`;class tt extends P.FilterBar{}const ot=tt.compose({baseName:"filter-bar",template:rt,styles:(e,a)=>c.css`
|
|
1103
1103
|
${(0,P.foundationFilterBarStyles)(e,a)}
|
|
1104
1104
|
.toggle,
|
|
1105
1105
|
.toggle-collapsed {
|
|
@@ -1111,7 +1111,7 @@
|
|
|
1111
1111
|
.toggle-collapsed:hover {
|
|
1112
1112
|
color: var(--ag-alpine-active-color, #2196f3);
|
|
1113
1113
|
}
|
|
1114
|
-
`});class
|
|
1114
|
+
`});class it extends P.FlexLayout{}const nt=it.compose(Object.assign({baseName:"flex-layout",shadowOptions:P.foundationFlexLayoutShadowOptions,styles:P.foundationFlexLayoutStyles,template:P.foundationFlexLayoutTemplate},P.defaultFlexLayoutConfig));class lt extends P.Flipper{}const gt=lt.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,P.foundationFlipperTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1115
1115
|
${(0,P.foundationFlipperStyles)(e,a)}
|
|
1116
1116
|
:host {
|
|
1117
1117
|
--foreground-on-accent-rest: ${ue.white};
|
|
@@ -1123,8 +1123,8 @@
|
|
|
1123
1123
|
:host::before {
|
|
1124
1124
|
background: linear-gradient(
|
|
1125
1125
|
var(--primary-gradient-angle),
|
|
1126
|
-
${
|
|
1127
|
-
${
|
|
1126
|
+
${ra(.7)},
|
|
1127
|
+
${ia(.7)}
|
|
1128
1128
|
);
|
|
1129
1129
|
}
|
|
1130
1130
|
|
|
@@ -1135,7 +1135,7 @@
|
|
|
1135
1135
|
${he.purple}
|
|
1136
1136
|
);
|
|
1137
1137
|
}
|
|
1138
|
-
`,shadowOptions:P.foundationFlipperShadowOptions},P.defaultFlipperConfig)),
|
|
1138
|
+
`,shadowOptions:P.foundationFlipperShadowOptions},P.defaultFlipperConfig)),st=c.css`
|
|
1139
1139
|
${P.foundationFlyoutStyles}
|
|
1140
1140
|
div.flyout {
|
|
1141
1141
|
background-color: ${u.neutralLayer2};
|
|
@@ -1162,9 +1162,9 @@
|
|
|
1162
1162
|
background-color: ${u.neutralFillHover};
|
|
1163
1163
|
border-radius: 3px;
|
|
1164
1164
|
}
|
|
1165
|
-
`,
|
|
1165
|
+
`,dt=c.html`
|
|
1166
1166
|
${(0,P.getPrefixedFlyout)("zero")}
|
|
1167
|
-
`,
|
|
1167
|
+
`,ct=P.defaultFlyoutConfig,pt=P.foundationFlyoutShadowOptions;class ut extends P.Flyout{}const ht=ut.compose(Object.assign({baseName:"flyout",shadowOptions:pt,styles:st,template:dt},ct));class mt extends P.GridLayout{}const bt=mt.compose(Object.assign({baseName:"grid-layout",shadowOptions:P.foundationGridLayoutShadowOptions,styles:P.foundationGridLayoutStyles,template:P.foundationGridLayoutTemplate},P.defaultGridLayoutConfig));class vt extends P.GridLayoutItem{}const ft=vt.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:P.foundationGridLayoutItemShadowOptions,template:P.foundationGridLayoutItemTemplate},P.defaultGridLayoutItemConfig));class wt extends P.HorizontalScroll{}const yt={nextFlipper:c.html`
|
|
1168
1168
|
<zero-flipper
|
|
1169
1169
|
@click="${e=>e.scrollToNext()}"
|
|
1170
1170
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
@@ -1175,17 +1175,17 @@
|
|
|
1175
1175
|
direction="previous"
|
|
1176
1176
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
1177
1177
|
></zero-flipper>
|
|
1178
|
-
`},
|
|
1178
|
+
`},xt=wt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,P.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1179
1179
|
${(0,P.foundationHorizontalScrollStyles)(e,a)}
|
|
1180
|
-
`,shadowOptions:P.foundationHorizontalScrollShadowOptions},
|
|
1180
|
+
`,shadowOptions:P.foundationHorizontalScrollShadowOptions},yt));class kt extends P.Icon{}const zt=P.defaultIconConfig,St=P.foundationIconShadowOptions,Ct=kt.compose(Object.assign({baseName:"icon",template:P.foundationIconTemplate,styles:(e,a)=>c.css`
|
|
1181
1181
|
${(0,P.foundationIconStyles)(e,a)}
|
|
1182
|
-
`,shadowOptions:
|
|
1182
|
+
`,shadowOptions:St},zt));class At extends P.Listbox{}const $t=At.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,P.foundationListboxTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1183
1183
|
${(0,P.foundationListboxStyles)(e,a)}
|
|
1184
1184
|
|
|
1185
1185
|
:host {
|
|
1186
1186
|
background: #1f2126;
|
|
1187
1187
|
}
|
|
1188
|
-
`,shadowOptions:P.foundationListboxShadowOptions},P.defaultListboxConfig));class
|
|
1188
|
+
`,shadowOptions:P.foundationListboxShadowOptions},P.defaultListboxConfig));class Ft extends P.ListboxOption{}const Ot=Ft.compose(Object.assign({baseName:"option",template:(e,a)=>(0,P.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1189
1189
|
${(0,P.foundationListboxOptionStyles)(e,a)}
|
|
1190
1190
|
:host {
|
|
1191
1191
|
background-color: ${ue.darkGrey};
|
|
@@ -1202,22 +1202,22 @@
|
|
|
1202
1202
|
background-color: ${ue.darkerGrey};
|
|
1203
1203
|
color: ${he.blue};
|
|
1204
1204
|
}
|
|
1205
|
-
`,shadowOptions:P.foundationListboxOptionShadowOptions},P.defaultListboxOptionConfig)),
|
|
1205
|
+
`,shadowOptions:P.foundationListboxOptionShadowOptions},P.defaultListboxOptionConfig)),Tt=P.foundationMenuShadowOptions;class Dt extends P.Menu{}const Rt=Dt.compose({baseName:"menu",template:P.foundationMenuTemplate,styles:(e,a)=>c.css`
|
|
1206
1206
|
${(0,P.foundationMenuStyles)(e,a)}
|
|
1207
1207
|
|
|
1208
1208
|
:host {
|
|
1209
1209
|
padding: 0;
|
|
1210
1210
|
}
|
|
1211
|
-
`,shadowOptions:
|
|
1211
|
+
`,shadowOptions:Tt}),Nt=P.foundationMenuItemShadowOptions;class Lt extends P.MenuItem{}const Mt=Lt.compose(Object.assign({baseName:"menu-item",template:P.foundationMenuItemTemplate,styles:(e,a)=>c.css`
|
|
1212
1212
|
${(0,P.foundationMenuItemStyles)(e,a)}
|
|
1213
1213
|
|
|
1214
1214
|
:host {
|
|
1215
1215
|
background: none;
|
|
1216
1216
|
margin: 0;
|
|
1217
1217
|
}
|
|
1218
|
-
`,shadowOptions
|
|
1219
|
-
${
|
|
1220
|
-
`,
|
|
1218
|
+
`,shadowOptions:Nt},P.defaultMenuItemConfig)),It=c.css`
|
|
1219
|
+
${$r}
|
|
1220
|
+
`,jt=P.defaultModalConfig,Et=P.foundationModalTemplate,Pt=P.foundationModalShadowOptions;class Bt extends P.Modal{}const Ut=Bt.compose(Object.assign({baseName:"modal",shadowOptions:Pt,styles:It,template:Et},jt)),Gt=c.css`
|
|
1221
1221
|
${P.multiselectStyles}
|
|
1222
1222
|
|
|
1223
1223
|
:host {
|
|
@@ -1225,7 +1225,7 @@
|
|
|
1225
1225
|
}
|
|
1226
1226
|
|
|
1227
1227
|
#display-field {
|
|
1228
|
-
background: ${
|
|
1228
|
+
background: ${er};
|
|
1229
1229
|
}
|
|
1230
1230
|
|
|
1231
1231
|
#display-field:focus {
|
|
@@ -1271,11 +1271,11 @@
|
|
|
1271
1271
|
}
|
|
1272
1272
|
|
|
1273
1273
|
.label {
|
|
1274
|
-
color: ${
|
|
1274
|
+
color: ${rr};
|
|
1275
1275
|
}
|
|
1276
|
-
`,
|
|
1276
|
+
`,Ht=c.html`
|
|
1277
1277
|
${(0,P.getPrefixedMultiselect)("zero")}
|
|
1278
|
-
`;class
|
|
1278
|
+
`;class _t extends P.Multiselect{}const Vt=P.defaultMultiselectConfig,Yt=P.foundationMultiselectShadowOptions,Qt=_t.compose(Object.assign({baseName:"multiselect",template:Ht,styles:Gt,shadowOptions:Yt},Vt));class Wt extends P.NotificationListener{}const qt=Wt.compose({baseName:"notification-listener",template:P.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Jt=(e,a)=>c.css`
|
|
1279
1279
|
${(0,P.foundationTextFieldStyles)(e,a)}
|
|
1280
1280
|
:host {
|
|
1281
1281
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1287,12 +1287,12 @@
|
|
|
1287
1287
|
}
|
|
1288
1288
|
|
|
1289
1289
|
:host .root {
|
|
1290
|
-
border: calc(var(--stroke-width) * 1px) solid ${
|
|
1291
|
-
background-color: ${
|
|
1290
|
+
border: calc(var(--stroke-width) * 1px) solid ${nr};
|
|
1291
|
+
background-color: ${er};
|
|
1292
1292
|
}
|
|
1293
1293
|
|
|
1294
1294
|
:host(:hover:not([disabled])) .root {
|
|
1295
|
-
border-color: ${
|
|
1295
|
+
border-color: ${Ka};
|
|
1296
1296
|
background: none;
|
|
1297
1297
|
}
|
|
1298
1298
|
|
|
@@ -1310,7 +1310,7 @@
|
|
|
1310
1310
|
${he.purple} 100%
|
|
1311
1311
|
)
|
|
1312
1312
|
bottom/100% 1px;
|
|
1313
|
-
background-color: ${
|
|
1313
|
+
background-color: ${or};
|
|
1314
1314
|
background-origin: border-box;
|
|
1315
1315
|
background-repeat: no-repeat;
|
|
1316
1316
|
border: 1px solid transparent;
|
|
@@ -1320,15 +1320,15 @@
|
|
|
1320
1320
|
}
|
|
1321
1321
|
|
|
1322
1322
|
.label {
|
|
1323
|
-
color: ${
|
|
1323
|
+
color: ${rr};
|
|
1324
1324
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
1325
1325
|
}
|
|
1326
|
-
`;class
|
|
1326
|
+
`;class Zt extends P.NumberField{}const Kt=P.defaultNumberFieldConfig,Xt=P.foundationNumberFieldTemplate,eo=P.foundationNumberFieldShadowOptions,ao=Zt.compose(Object.assign({baseName:"number-field",template:Xt,styles:(e,a)=>c.css`
|
|
1327
1327
|
:host .root {
|
|
1328
1328
|
--focus-stroke-outer: transparent;
|
|
1329
1329
|
}
|
|
1330
|
-
${
|
|
1331
|
-
`,shadowOptions:
|
|
1330
|
+
${Jt(e,a)}
|
|
1331
|
+
`,shadowOptions:eo},Kt));class ro extends P.Progress{}const to=ro.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,P.foundationProgressTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1332
1332
|
${(0,P.foundationProgressStyles)(e,a)}
|
|
1333
1333
|
:host([appearance="secondary-teal"]) {
|
|
1334
1334
|
--accent-foreground-rest: ${me.teal};
|
|
@@ -1337,7 +1337,7 @@
|
|
|
1337
1337
|
:host([appearance='secondary-orange']) {
|
|
1338
1338
|
--accent-foreground-rest: ${me.orange};
|
|
1339
1339
|
}
|
|
1340
|
-
`,shadowOptions:P.foundationProgressShadowOptions},P.defaultProgressConfig));class
|
|
1340
|
+
`,shadowOptions:P.foundationProgressShadowOptions},P.defaultProgressConfig));class oo extends P.ProgressRing{}const io={indeterminateIndicator:`\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <defs>\n <linearGradient id="linear">\n <stop offset="0%" stop-color="${he.purple}"/>\n <stop offset="100%" stop-color="${he.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 `},no=oo.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>c.html`
|
|
1341
1341
|
<template
|
|
1342
1342
|
role="progressbar"
|
|
1343
1343
|
aria-valuenow="${e=>e.value}"
|
|
@@ -1375,7 +1375,7 @@
|
|
|
1375
1375
|
.indeterminate-indicator-1, .determinate {
|
|
1376
1376
|
stroke: ${"url(#linear)"};
|
|
1377
1377
|
}
|
|
1378
|
-
`,shadowOptions:P.foundationProgressRingShadowOptions},
|
|
1378
|
+
`,shadowOptions:P.foundationProgressRingShadowOptions},io));class lo extends P.Radio{}const go=lo.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,P.foundationRadioTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1379
1379
|
${(0,P.foundationRadioStyles)(e,a)}
|
|
1380
1380
|
:host {
|
|
1381
1381
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1407,12 +1407,12 @@
|
|
|
1407
1407
|
${he.purple}
|
|
1408
1408
|
);
|
|
1409
1409
|
}
|
|
1410
|
-
`,shadowOptions:P.foundationRadioShadowOptions},P.defaultRadioConfig));class
|
|
1410
|
+
`,shadowOptions:P.foundationRadioShadowOptions},P.defaultRadioConfig));class so extends P.RadioGroup{}const co=so.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,P.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1411
1411
|
${(0,P.foundationRadioGroupStyles)(e,a)}
|
|
1412
1412
|
:host([appearance="accent"]) {
|
|
1413
1413
|
background: green;
|
|
1414
1414
|
}
|
|
1415
|
-
`,shadowOptions:P.foundationRadioGroupShadowOptions},P.defaultRadioGroupConfig));class
|
|
1415
|
+
`,shadowOptions:P.foundationRadioGroupShadowOptions},P.defaultRadioGroupConfig));class po extends P.SegmentedControl{}const uo=po.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,P.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1416
1416
|
${(0,P.foundationSegmentedControlStyles)(e,a)}
|
|
1417
1417
|
:host {
|
|
1418
1418
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1451,7 +1451,7 @@
|
|
|
1451
1451
|
border-color: transparent;
|
|
1452
1452
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
1453
1453
|
}
|
|
1454
|
-
`,shadowOptions:undefined},{}));class
|
|
1454
|
+
`,shadowOptions:undefined},{}));class ho extends P.Radio{}const mo=ho.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,P.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1455
1455
|
${(0,P.foundationSegmentedItemStyles)(e,a)}
|
|
1456
1456
|
:host {
|
|
1457
1457
|
color: var(--neutral-stroke-rest);
|
|
@@ -1461,14 +1461,14 @@
|
|
|
1461
1461
|
:host([aria-checked='true']) {
|
|
1462
1462
|
color: ${ue.white};
|
|
1463
1463
|
}
|
|
1464
|
-
`,shadowOptions:undefined},{}));class
|
|
1464
|
+
`,shadowOptions:undefined},{}));class bo extends P.Select{}const vo=bo.compose(Object.assign({baseName:"select",template:(e,a)=>(0,P.foundationSelectTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1465
1465
|
${(0,P.foundationSelectStyles)(e,a)}
|
|
1466
1466
|
:host {
|
|
1467
1467
|
--primary-gradient-angle: -113.5deg;
|
|
1468
1468
|
|
|
1469
1469
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
1470
|
-
border-color: ${
|
|
1471
|
-
background: ${
|
|
1470
|
+
border-color: ${nr};
|
|
1471
|
+
background: ${er};
|
|
1472
1472
|
}
|
|
1473
1473
|
|
|
1474
1474
|
:host(:focus-within:not([disabled])) {
|
|
@@ -1493,8 +1493,8 @@
|
|
|
1493
1493
|
}
|
|
1494
1494
|
|
|
1495
1495
|
:host(:hover:not([disabled]):not(.open)) {
|
|
1496
|
-
border-color: ${
|
|
1497
|
-
background: ${
|
|
1496
|
+
border-color: ${Ka};
|
|
1497
|
+
background: ${er};
|
|
1498
1498
|
}
|
|
1499
1499
|
|
|
1500
1500
|
:host([open][position='below']) .listbox {
|
|
@@ -1505,15 +1505,15 @@
|
|
|
1505
1505
|
}
|
|
1506
1506
|
|
|
1507
1507
|
:host([open]) .control {
|
|
1508
|
-
background: ${
|
|
1508
|
+
background: ${or};
|
|
1509
1509
|
}
|
|
1510
1510
|
|
|
1511
1511
|
:host(:not([disabled])) .control:active {
|
|
1512
1512
|
background: none;
|
|
1513
1513
|
}
|
|
1514
|
-
`,shadowOptions:P.foundationSelectShadowOptions},P.defaultSelectConfig));class
|
|
1514
|
+
`,shadowOptions:P.foundationSelectShadowOptions},P.defaultSelectConfig));class fo extends P.Skeleton{}const wo=fo.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,P.foundationSkeletonTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1515
1515
|
${(0,P.foundationSkeletonStyles)(e,a)}
|
|
1516
|
-
`,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class
|
|
1516
|
+
`,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class yo extends P.Slider{}const xo=yo.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,P.foundationSliderTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1517
1517
|
${(0,P.foundationSliderStyles)(e,a)}
|
|
1518
1518
|
:host {
|
|
1519
1519
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1556,11 +1556,11 @@
|
|
|
1556
1556
|
}
|
|
1557
1557
|
|
|
1558
1558
|
.thumb-cursor:hover::after {
|
|
1559
|
-
background-color: ${
|
|
1559
|
+
background-color: ${ra(.1)};
|
|
1560
1560
|
}
|
|
1561
1561
|
|
|
1562
1562
|
.thumb-cursor:active::after {
|
|
1563
|
-
background-color: ${
|
|
1563
|
+
background-color: ${ra(.2)};
|
|
1564
1564
|
}
|
|
1565
1565
|
|
|
1566
1566
|
.track {
|
|
@@ -1570,7 +1570,7 @@
|
|
|
1570
1570
|
.track-progress {
|
|
1571
1571
|
background-color: var(--neutral-stroke-rest);
|
|
1572
1572
|
}
|
|
1573
|
-
`,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class
|
|
1573
|
+
`,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class ko extends P.SliderLabel{}const zo=ko.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,P.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1574
1574
|
${(0,P.foundationSliderLabelStyles)(e,a)}
|
|
1575
1575
|
.label {
|
|
1576
1576
|
padding: 6px 8px;
|
|
@@ -1581,7 +1581,7 @@
|
|
|
1581
1581
|
text-align: center;
|
|
1582
1582
|
font-size: var(--type-ramp-minus-1-font-size, 12px);
|
|
1583
1583
|
}
|
|
1584
|
-
`,shadowOptions:P.foundationSliderLabelShadowOptions},P.defaultSliderLabelConfig)),
|
|
1584
|
+
`,shadowOptions:P.foundationSliderLabelShadowOptions},P.defaultSliderLabelConfig)),So=c.css`
|
|
1585
1585
|
${P.foundationSnackbarStyles}
|
|
1586
1586
|
.snackbar {
|
|
1587
1587
|
border: calc(var(--stroke-width) * 1px) solid ${u.neutralLayer2};
|
|
@@ -1589,21 +1589,21 @@
|
|
|
1589
1589
|
}
|
|
1590
1590
|
|
|
1591
1591
|
:host([type='error']) .snackbar::after {
|
|
1592
|
-
background-color: ${
|
|
1592
|
+
background-color: ${pa(1)};
|
|
1593
1593
|
}
|
|
1594
|
-
`,
|
|
1594
|
+
`,Co=c.html`
|
|
1595
1595
|
${(0,P.getPrefixedSnackbar)("zero")}
|
|
1596
|
-
`,
|
|
1596
|
+
`,Ao=P.foundationSnackbarShadowOptions;class $o extends P.Snackbar{}const Fo=$o.compose({baseName:"snackbar",shadowOptions:Ao,styles:So,template:Co}),Oo=c.css`
|
|
1597
1597
|
${P.foundationStepperStyles}
|
|
1598
1598
|
|
|
1599
1599
|
.stepper-tab {
|
|
1600
1600
|
background-color: var(--neutral-layer-3);
|
|
1601
1601
|
}
|
|
1602
|
-
`,
|
|
1602
|
+
`,To=c.html`
|
|
1603
1603
|
${(0,P.getPrefixedStepper)("zero")}
|
|
1604
|
-
`;class
|
|
1604
|
+
`;class Do extends P.Stepper{}const Ro=Do.compose(Object.assign({baseName:"stepper",template:To,styles:Oo,shadowOptions:P.foundationStepperShadowOptions},P.defaultStepperConfig)),No=c.html`
|
|
1605
1605
|
${(0,P.getPrefixedStepperTab)("zero")}
|
|
1606
|
-
`;class
|
|
1606
|
+
`;class Lo extends P.StepperTab{}const Mo=Lo.compose(Object.assign({baseName:"stepper-tab",template:No,styles:(e,a)=>c.css`
|
|
1607
1607
|
${(0,P.foundationStepperTabStyles)(e,a)}
|
|
1608
1608
|
|
|
1609
1609
|
zero-tree-item {
|
|
@@ -1615,7 +1615,7 @@
|
|
|
1615
1615
|
|
|
1616
1616
|
border-bottom: 1px solid var(--fill-color);
|
|
1617
1617
|
}
|
|
1618
|
-
`,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class
|
|
1618
|
+
`,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class Io extends P.StepperTabPanel{}const jo=Io.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,P.foundationStepperTabPanelTemplate)(e,a),shadowOptions:P.foundationStepperTabPanelShadowOptions},P.defaultStepperTabPanelConfig));class Eo extends P.Switch{}const Po=Eo.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,P.foundationSwitchTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1619
1619
|
${(0,P.foundationSwitchStyles)(e,a)}
|
|
1620
1620
|
:host {
|
|
1621
1621
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1660,7 +1660,7 @@
|
|
|
1660
1660
|
${he.purple}
|
|
1661
1661
|
);
|
|
1662
1662
|
}
|
|
1663
|
-
`,shadowOptions:P.foundationSwitchShadowOptions},P.defaultSwitchConfig));class
|
|
1663
|
+
`,shadowOptions:P.foundationSwitchShadowOptions},P.defaultSwitchConfig));class Bo extends P.Tab{}const Uo=Bo.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,P.foundationTabTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1664
1664
|
${(0,P.foundationTabStyles)(e,a)}
|
|
1665
1665
|
:host {
|
|
1666
1666
|
background-color: ${u.neutralLayer2};
|
|
@@ -1684,12 +1684,12 @@
|
|
|
1684
1684
|
margin-right: 0;
|
|
1685
1685
|
background-color: var(--zero-card-fill-color);
|
|
1686
1686
|
}
|
|
1687
|
-
`,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class
|
|
1687
|
+
`,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class Go extends P.TabPanel{}const Ho=Go.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,P.foundationTabPanelTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1688
1688
|
${(0,P.foundationTabPanelStyles)(e,a)}
|
|
1689
1689
|
:host {
|
|
1690
1690
|
padding: 0;
|
|
1691
1691
|
}
|
|
1692
|
-
`,shadowOptions:P.foundationTabPanelShadowOptions},P.defaultTabPanelConfig));class
|
|
1692
|
+
`,shadowOptions:P.foundationTabPanelShadowOptions},P.defaultTabPanelConfig));class _o extends P.Tabs{}const Vo=_o.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,P.foundationTabsTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1693
1693
|
${(0,P.foundationTabsStyles)(e,a)}
|
|
1694
1694
|
:host .tablist {
|
|
1695
1695
|
padding: 0;
|
|
@@ -1735,7 +1735,7 @@
|
|
|
1735
1735
|
height: 2px;
|
|
1736
1736
|
margin-top: 0;
|
|
1737
1737
|
}
|
|
1738
|
-
`,shadowOptions:P.foundationTabsShadowOptions},P.defaultTabsConfig));class
|
|
1738
|
+
`,shadowOptions:P.foundationTabsShadowOptions},P.defaultTabsConfig));class Yo extends P.TextArea{}const Qo=Yo.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,P.foundationTextAreaTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1739
1739
|
${(0,P.foundationTextAreaStyles)(e,a)}
|
|
1740
1740
|
:host {
|
|
1741
1741
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1743,14 +1743,14 @@
|
|
|
1743
1743
|
|
|
1744
1744
|
:host .control {
|
|
1745
1745
|
height: 100%;
|
|
1746
|
-
background-color: ${
|
|
1747
|
-
border: calc(var(--stroke-width) * 1px) solid ${
|
|
1746
|
+
background-color: ${er};
|
|
1747
|
+
border: calc(var(--stroke-width) * 1px) solid ${nr};
|
|
1748
1748
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
1749
1749
|
}
|
|
1750
1750
|
|
|
1751
1751
|
:host(:hover:not([disabled])) .control {
|
|
1752
|
-
border-color: ${
|
|
1753
|
-
background: ${
|
|
1752
|
+
border-color: ${Ka};
|
|
1753
|
+
background: ${er};
|
|
1754
1754
|
}
|
|
1755
1755
|
|
|
1756
1756
|
:host(:focus-within:not([disabled])) .control {
|
|
@@ -1772,15 +1772,15 @@
|
|
|
1772
1772
|
border: 1px solid transparent;
|
|
1773
1773
|
border-right-color: ${he.blue};
|
|
1774
1774
|
border-left-color: ${he.purple};
|
|
1775
|
-
background-color: ${
|
|
1775
|
+
background-color: ${or};
|
|
1776
1776
|
box-shadow: none;
|
|
1777
1777
|
}
|
|
1778
1778
|
|
|
1779
1779
|
.label {
|
|
1780
|
-
color: ${
|
|
1780
|
+
color: ${rr};
|
|
1781
1781
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
1782
1782
|
}
|
|
1783
|
-
`,shadowOptions:P.foundationTextAreaShadowOptions},P.defaultTextAreaConfig));class
|
|
1783
|
+
`,shadowOptions:P.foundationTextAreaShadowOptions},P.defaultTextAreaConfig));class Wo extends P.TextField{}const qo=Wo.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,P.foundationTextFieldTemplate)(e,a),styles:Jt,shadowOptions:P.foundationTextFieldShadowOptions},P.defaultTextFieldConfig)),Jo=c.css`
|
|
1784
1784
|
${P.foundationToastStyles}
|
|
1785
1785
|
.toast {
|
|
1786
1786
|
border: calc(var(--stroke-width) * 1px) solid ${u.neutralLayer3};
|
|
@@ -1788,29 +1788,29 @@
|
|
|
1788
1788
|
}
|
|
1789
1789
|
|
|
1790
1790
|
.toast::after {
|
|
1791
|
-
background-color: ${
|
|
1791
|
+
background-color: ${ra(1)};
|
|
1792
1792
|
}
|
|
1793
1793
|
|
|
1794
1794
|
:host([notify='warning']) .toast::after {
|
|
1795
|
-
background-color: ${
|
|
1795
|
+
background-color: ${pa(1)};
|
|
1796
1796
|
}
|
|
1797
1797
|
|
|
1798
1798
|
:host([notify='success']) .toast::after {
|
|
1799
|
-
background-color: ${
|
|
1799
|
+
background-color: ${sa(1)};
|
|
1800
1800
|
}
|
|
1801
1801
|
|
|
1802
1802
|
:host([notify='critical']) .toast::after {
|
|
1803
|
-
background-color: ${((e=1)=>
|
|
1803
|
+
background-color: ${((e=1)=>qe(da,e))(1)};
|
|
1804
1804
|
}
|
|
1805
1805
|
|
|
1806
1806
|
:host([notify='serious']) .toast::after {
|
|
1807
|
-
background-color: ${
|
|
1807
|
+
background-color: ${la(1)};
|
|
1808
1808
|
}
|
|
1809
|
-
`,
|
|
1809
|
+
`,Zo=P.defaultToastConfig,Ko=P.foundationToastShadowOptions;class Xo extends P.Toast{}const ei=Xo.compose(Object.assign({baseName:"toast",shadowOptions:Ko,styles:Jo,template:P.foundationToastTemplate},Zo));class ai extends P.Toolbar{}const ri=ai.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,P.foundationToolbarTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1810
1810
|
${(0,P.foundationToolbarStyles)(e,a)}
|
|
1811
|
-
`,shadowOptions:P.foundationToolbarShadowOptions},P.defaultToolbarConfig));class
|
|
1811
|
+
`,shadowOptions:P.foundationToolbarShadowOptions},P.defaultToolbarConfig));class ti extends P.Tooltip{}const oi=ti.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,P.foundationTooltipTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1812
1812
|
${(0,P.foundationTooltipStyles)(e,a)}
|
|
1813
|
-
`,shadowOptions:P.foundationTooltipShadowOptions},P.defaultTooltipConfig));class
|
|
1813
|
+
`,shadowOptions:P.foundationTooltipShadowOptions},P.defaultTooltipConfig));class ii extends P.TreeItem{}const ni=ii.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,P.foundationTreeItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1814
1814
|
${(0,P.foundationTreeItemStyles)(e,a)}
|
|
1815
1815
|
:host {
|
|
1816
1816
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -1838,11 +1838,11 @@
|
|
|
1838
1838
|
background-size: cover;
|
|
1839
1839
|
background-repeat: no-repeat;
|
|
1840
1840
|
}
|
|
1841
|
-
`,shadowOptions:P.foundationTreeItemShadowOptions},P.defaultTreeItemConfig));class
|
|
1841
|
+
`,shadowOptions:P.foundationTreeItemShadowOptions},P.defaultTreeItemConfig));class li extends P.TreeView{}const gi=li.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,P.foundationTreeViewTemplate)(e,a),styles:(e,a)=>c.css`
|
|
1842
1842
|
${(0,P.foundationTreeViewStyles)(e,a)}
|
|
1843
|
-
`,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),
|
|
1843
|
+
`,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),si=c.html`
|
|
1844
1844
|
${(0,P.getPrefixedUrlInput)("zero")}
|
|
1845
|
-
`;class
|
|
1845
|
+
`;class di extends P.UrlInput{}const ci={zeroAccordion:_e,zeroAccordionItem:Ye,zeroActionsMenu:We,zeroAnchor:Fa,zeroAnchoredRegion:Ta,zeroAvatar:Ra,zeroBadge:La,zeroBanner:Ea,zeroBreadcrumbItem:Ga,zeroBreadcrumb:Ba,zeroButton:_a,zeroCalendar:Ya,zeroCard:Wa,zeroCheckbox:Ja,zeroCombobox:sr,zeroConnectionIndicator:cr,zeroDataGrid:mr,zeroDesignSystemProvider:Sr,zeroDialog:Rr,zeroDatePicker:fr,zeroDisclosure:Lr,zeroDivider:Ir,zeroDropdownMenu:Er,zeroErrorBoundary:_r,zeroNotificationListener:qt,zeroErrorBanner:Gr,zeroErrorDialog:Yr,zeroFileUpload:Kr,zeroFilter:at,zeroFilterBar:ot,zeroFlexLayout:nt,zeroFlipper:gt,zeroFlyout:ht,zeroGridLayout:bt,zeroGridLayoutItem:ft,zeroHorizontalScroll:xt,zeroIcon:Ct,zeroListbox:$t,zeroListboxOption:Ot,zeroMenu:Rt,zeroMenuItem:Mt,zeroModal:Ut,zeroMultiselect:Qt,zeroNumberField:ao,zeroProgress:to,zeroProgressRing:no,zeroRadio:go,zeroRadioGroup:co,zeroSegmentedControl:uo,zeroSegmentedItem:mo,zeroSelect:vo,zeroSkeleton:wo,zeroSlider:xo,zeroSliderLabel:zo,zeroSnackbar:Fo,zeroStepper:Ro,zeroStepperTab:Mo,zeroStepperTabPanel:jo,zeroSwitch:Po,zeroTab:Uo,zeroTabPanel:Ho,zeroTabs:Vo,zeroTextArea:Qo,zeroTextField:qo,zeroToast:ei,zeroToolbar:ri,zeroTooltip:oi,zeroTreeItem:ni,zeroTreeView:gi,zeroUrlInput:di.compose(Object.assign({baseName:"url-input",template:si,styles:(e,a)=>c.css`
|
|
1846
1846
|
${(0,P.foundationUrlInputStyles)(e,a)}
|
|
1847
1847
|
a {
|
|
1848
1848
|
color: ${he.blue};
|
|
@@ -1852,23 +1852,23 @@
|
|
|
1852
1852
|
a:hover {
|
|
1853
1853
|
opacity: 100%;
|
|
1854
1854
|
}
|
|
1855
|
-
`,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var
|
|
1856
|
-
.${
|
|
1855
|
+
`,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var pi,ui,hi=r(80249),mi=r(87530),bi=r.n(mi),vi=r(79014),fi=r.n(vi);!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"}(pi||(pi={})),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"}(ui||(ui={}));const wi=e=>`${e}-token-map`,yi=(e,a)=>c.css`
|
|
1856
|
+
.${wi(e)} {
|
|
1857
1857
|
${new P.CSSVarsTokenMapper(a)}
|
|
1858
1858
|
}
|
|
1859
|
-
`;var
|
|
1859
|
+
`;var xi;!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"}(xi||(xi={}));const ki="__editedColumn",zi="__errorColumn",Si={},Ci=p.DI.createInterface((e=>e.instance(Si)));bi().extend(fi());class Ai extends p.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[ki]}}(0,hi.__decorate)([c.observable],Ai.prototype,"value",void 0),(0,hi.__decorate)([c.observable],Ai.prototype,"actualWidth",void 0);const $i=c.css`
|
|
1860
1860
|
:host {
|
|
1861
1861
|
display: flex;
|
|
1862
1862
|
}
|
|
1863
|
-
`,
|
|
1863
|
+
`,Fi=(e="foundation")=>c.html`
|
|
1864
1864
|
<${e}-text-field
|
|
1865
1865
|
${(0,c.ref)("input")}
|
|
1866
|
-
:value=${e=>void 0===e.value||null===e.value?"":
|
|
1866
|
+
:value=${e=>void 0===e.value||null===e.value?"":bi().utc(e.value).format(e.dateFormat)}
|
|
1867
1867
|
type=${e=>e.inputType}
|
|
1868
1868
|
@input=${(e,a)=>e.changeHandler(a.event)}
|
|
1869
1869
|
style="width: ${e=>e.actualWidth}px"
|
|
1870
1870
|
></${e}-text-field>
|
|
1871
|
-
`,
|
|
1871
|
+
`,Oi=Ai.compose({baseName:"date-editor",styles:$i,template:Fi()});class Ti extends Ai{}const Di=Ti.compose({baseName:"date-editor",styles:$i,template:Fi("zero")});class Ri extends p.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[ki]}}(0,hi.__decorate)([c.observable],Ri.prototype,"params",void 0),(0,hi.__decorate)([c.observable],Ri.prototype,"selectedOptions",void 0);const Ni=c.css``,Li=(e="foundation")=>c.html`
|
|
1872
1872
|
<${e}-multiselect
|
|
1873
1873
|
style="width: 100%"
|
|
1874
1874
|
?async=${e=>e.params.async}
|
|
@@ -1882,7 +1882,7 @@
|
|
|
1882
1882
|
:datasourceConfig=${e=>e.params.datasourceOptions}
|
|
1883
1883
|
></multiselect-datasource>
|
|
1884
1884
|
</${e}-multiselect>
|
|
1885
|
-
`,
|
|
1885
|
+
`,Mi=Ri.compose({baseName:"multiselect-editor",styles:Ni,template:Li()});class Ii extends Ri{}const ji=Ii.compose({baseName:"multiselect-editor",styles:Ni,template:Li("zero")});class Ei extends p.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[ki]}}(0,hi.__decorate)([c.observable],Ei.prototype,"params",void 0),(0,hi.__decorate)([c.observable],Ei.prototype,"value",void 0),(0,hi.__decorate)([c.observable],Ei.prototype,"actualWidth",void 0);const Pi=c.css``,Bi=(e="foundation")=>c.html`
|
|
1886
1886
|
<${e}-combobox
|
|
1887
1887
|
style="width: ${e=>e.actualWidth}px"
|
|
1888
1888
|
${(0,c.ref)("combobox")}
|
|
@@ -1899,11 +1899,11 @@
|
|
|
1899
1899
|
:initialSelectedValue=${e=>e.params.value}
|
|
1900
1900
|
></options-datasource>
|
|
1901
1901
|
</${e}-combobox>
|
|
1902
|
-
`,
|
|
1902
|
+
`,Ui=Ei.compose({baseName:"select-editor",styles:Pi,template:Bi()});class Gi extends Ei{}const Hi=Gi.compose({baseName:"select-editor",styles:Pi,template:Bi("zero")});class _i extends p.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[ki]}}(0,hi.__decorate)([c.observable],_i.prototype,"params",void 0),(0,hi.__decorate)([c.observable],_i.prototype,"value",void 0),(0,hi.__decorate)([c.observable],_i.prototype,"actualWidth",void 0);const Vi=c.css`
|
|
1903
1903
|
:host {
|
|
1904
1904
|
display: flex;
|
|
1905
1905
|
}
|
|
1906
|
-
`,
|
|
1906
|
+
`,Yi=(e="foundation")=>c.html`
|
|
1907
1907
|
<${e}-number-field
|
|
1908
1908
|
${(0,c.ref)("input")}
|
|
1909
1909
|
withFormatting=${e=>e.params.withFormatting}
|
|
@@ -1915,11 +1915,11 @@
|
|
|
1915
1915
|
hideStep
|
|
1916
1916
|
style="width: ${e=>e.actualWidth}px"
|
|
1917
1917
|
></${e}-number-field>
|
|
1918
|
-
`,
|
|
1918
|
+
`,Qi=_i.compose({baseName:"number-editor",styles:Vi,template:Yi()});class Wi extends _i{}const qi=Wi.compose({baseName:"number-editor",styles:Vi,template:Yi("zero")});class Ji extends p.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[ki]}}(0,hi.__decorate)([c.observable],Ji.prototype,"params",void 0),(0,hi.__decorate)([c.observable],Ji.prototype,"value",void 0),(0,hi.__decorate)([c.observable],Ji.prototype,"actualWidth",void 0);const Zi=c.css`
|
|
1919
1919
|
:host {
|
|
1920
1920
|
display: flex;
|
|
1921
1921
|
}
|
|
1922
|
-
`,
|
|
1922
|
+
`,Ki=(e="foundation")=>c.html`
|
|
1923
1923
|
<${e}-text-field
|
|
1924
1924
|
${(0,c.ref)("input")}
|
|
1925
1925
|
:value=${e=>void 0===e.value?"":e.value}
|
|
@@ -1928,16 +1928,16 @@
|
|
|
1928
1928
|
style="width: ${e=>e.actualWidth}px"
|
|
1929
1929
|
>
|
|
1930
1930
|
</${e}-text-field>
|
|
1931
|
-
`,
|
|
1931
|
+
`,Xi=Ji.compose({baseName:"string-editor",styles:Zi,template:Ki()});class en extends Ji{}const an=en.compose({baseName:"string-editor",styles:Zi,template:Ki("zero")});class rn extends p.FoundationElement{init(e){e&&(this.valueFormatted=e.formatValue(e.value))}getGui(){return this}refresh(e){return this.valueFormatted=e.formatValue(e.value),!0}}(0,hi.__decorate)([c.observable],rn.prototype,"valueFormatted",void 0);const tn=c.css`
|
|
1932
1932
|
:host {
|
|
1933
1933
|
display: flex;
|
|
1934
1934
|
justify-content: space-between;
|
|
1935
1935
|
align-items: center;
|
|
1936
1936
|
}
|
|
1937
|
-
`,
|
|
1937
|
+
`,on=(e="foundation")=>c.html`
|
|
1938
1938
|
<span>${e=>e.valueFormatted}</span>
|
|
1939
1939
|
<${e}-progress-ring style="margin: 0; width: 20px; height: 20px"></${e}-progress-ring>
|
|
1940
|
-
`,
|
|
1940
|
+
`,nn=rn.compose({baseName:"editable-renderer",styles:tn,template:on()});class ln extends rn{}const gn=ln.compose({baseName:"editable-renderer",styles:tn,template:on("zero")});var sn=r(59783);const dn=(0,b.createLogger)("grid-pro");class cn extends p.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===sn.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){dn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,hi.__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,hi.__decorate)([c.observable],cn.prototype,"params",void 0),(0,hi.__decorate)([c.observable],cn.prototype,"pendingAction",void 0);const{create:pn}=p.DesignToken,un=(pn("action-height-multiplier").withDefault("0.6px"),c.css`
|
|
1941
1941
|
.action-container {
|
|
1942
1942
|
align-items: center;
|
|
1943
1943
|
display: flex;
|
|
@@ -1952,8 +1952,8 @@
|
|
|
1952
1952
|
var(--action-height-multiplier)
|
|
1953
1953
|
);
|
|
1954
1954
|
}
|
|
1955
|
-
`),
|
|
1956
|
-
${
|
|
1955
|
+
`),hn=cn.compose({baseName:"grid-pro-action-renderer",styles:c.css`
|
|
1956
|
+
${un}
|
|
1957
1957
|
`,template:c.html`
|
|
1958
1958
|
<div class="action-container" part="action-container">
|
|
1959
1959
|
<foundation-button
|
|
@@ -1963,8 +1963,8 @@
|
|
|
1963
1963
|
?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
|
|
1964
1964
|
appearance="${e=>e.params.appearance}"
|
|
1965
1965
|
@click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
|
|
1966
|
-
</div>`});class
|
|
1967
|
-
${
|
|
1966
|
+
</div>`});class mn extends cn{}const bn=mn.compose({baseName:"grid-pro-action-renderer",styles:c.css`
|
|
1967
|
+
${un}
|
|
1968
1968
|
`,template:c.html`
|
|
1969
1969
|
<div class="action-container" part="action-container">
|
|
1970
1970
|
<zero-button
|
|
@@ -1981,29 +1981,29 @@
|
|
|
1981
1981
|
`:e.params.actionName}
|
|
1982
1982
|
</zero-button>
|
|
1983
1983
|
</div>
|
|
1984
|
-
`});class
|
|
1984
|
+
`});class vn extends p.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,hi.__decorate)([c.observable],vn.prototype,"params",void 0);const fn=vn.compose({baseName:"grid-pro-actions-menu-renderer",template:c.html`
|
|
1985
1985
|
<foundation-actions-menu
|
|
1986
1986
|
name="${e=>e.params.headerName}"
|
|
1987
1987
|
:definition=${e=>e.params}
|
|
1988
1988
|
></foundation-actions-menu>
|
|
1989
|
-
`});class
|
|
1989
|
+
`});class wn extends vn{}const yn=wn.compose({baseName:"grid-pro-actions-menu-renderer",template:c.html`
|
|
1990
1990
|
<zero-actions-menu
|
|
1991
1991
|
name="${e=>e.params.headerName}"
|
|
1992
1992
|
:definition=${e=>e.params}
|
|
1993
1993
|
></zero-actions-menu>
|
|
1994
|
-
`});class
|
|
1994
|
+
`});class xn extends p.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:sn.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:sn.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[ki]}}(0,hi.__decorate)([c.observable],xn.prototype,"params",void 0),(0,hi.__decorate)([c.observable],xn.prototype,"selected",void 0);const kn=c.css`
|
|
1995
1995
|
:host {
|
|
1996
1996
|
align-center: center;
|
|
1997
1997
|
display: flex;
|
|
1998
1998
|
height: 100%;
|
|
1999
1999
|
}
|
|
2000
|
-
`,
|
|
2000
|
+
`,zn=(e="foundation")=>{const a=`${e}-checkbox`;return c.html`
|
|
2001
2001
|
<${a}
|
|
2002
2002
|
@change=${(e,a)=>e.changeHandler(a.event)}
|
|
2003
2003
|
:checked=${e=>e.selected}
|
|
2004
2004
|
?disabled=${e=>!e.params.colDef.editable}
|
|
2005
2005
|
></${a}>
|
|
2006
|
-
`},
|
|
2006
|
+
`},Sn=xn.compose({baseName:"boolean-renderer",styles:kn,template:zn()});class Cn extends xn{}const An=Cn.compose({baseName:"boolean-renderer",styles:kn,template:zn("zero")});var $n=r(18471);const Fn=(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 On extends p.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?Fn(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,hi.__decorate)([c.observable],On.prototype,"textValue",void 0),(0,hi.__decorate)([c.observable],On.prototype,"params",void 0);const Tn=c.css`
|
|
2007
2007
|
:host {
|
|
2008
2008
|
display: flex;
|
|
2009
2009
|
width: 100%;
|
|
@@ -2013,15 +2013,15 @@
|
|
|
2013
2013
|
.text-renderer {
|
|
2014
2014
|
width: 100%;
|
|
2015
2015
|
}
|
|
2016
|
-
`,
|
|
2016
|
+
`,Dn=(e="foundation")=>{const a=`${e}-text-field`;return c.html`
|
|
2017
2017
|
<${a}
|
|
2018
2018
|
${(0,c.ref)("textField")}
|
|
2019
2019
|
type="text"
|
|
2020
2020
|
class="text-renderer"
|
|
2021
|
-
:value="${(0
|
|
2021
|
+
:value="${(0,$n.Z)((e=>e.textValue))}"
|
|
2022
2022
|
@change="${(e,a)=>e.textChanged(a.event)}"
|
|
2023
2023
|
></${a}>
|
|
2024
|
-
`},
|
|
2024
|
+
`},Rn=On.compose({baseName:"grid-pro-text-renderer",styles:Tn,template:Dn()});class Nn extends On{}const Ln=Tn,Mn=Dn,In=Nn.compose({baseName:"grid-text-renderer",styles:Ln,template:Mn()});const jn=class extends Nn{}.compose({baseName:"grid-text-renderer",styles:Ln,template:Mn("zero")});class En extends p.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=Fn(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,hi.__decorate)([c.observable],En.prototype,"params",void 0),(0,hi.__decorate)([c.observable],En.prototype,"value",void 0);const Pn=c.css`
|
|
2025
2025
|
:host,
|
|
2026
2026
|
.select-renderer,
|
|
2027
2027
|
zero-option,
|
|
@@ -2030,7 +2030,7 @@
|
|
|
2030
2030
|
max-width: var(--select-renderer-max-width);
|
|
2031
2031
|
min-width: 100%;
|
|
2032
2032
|
}
|
|
2033
|
-
`,
|
|
2033
|
+
`,Bn=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return c.html`
|
|
2034
2034
|
<${a}
|
|
2035
2035
|
class="select-renderer"
|
|
2036
2036
|
@change=${(e,a)=>e.selectionChanged(a.event)}
|
|
@@ -2046,15 +2046,15 @@
|
|
|
2046
2046
|
<${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
|
|
2047
2047
|
`)}
|
|
2048
2048
|
</${a}>
|
|
2049
|
-
`},
|
|
2049
|
+
`},Un=En.compose({baseName:"select-renderer",styles:Pn,template:Bn()});const Gn=class extends En{}.compose({baseName:"select-renderer",styles:Pn,template:Bn("zero")});var Hn=r(89861),_n=r(86534),Vn=r(75527),Yn=r(9492);const Qn=e=>{var a,r,t,o,i,n,l,g,s;return s=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,Yn.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,Yn.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,Yn.__classPrivateFieldGet)(this,r,"f")._key&&!((0,Yn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Yn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Yn.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,Yn.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,Yn.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,Yn.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,Yn.__classPrivateFieldGet)(this,o,"f")&&((0,Yn.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,Yn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Yn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Yn.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,Yn.__classPrivateFieldGet)(this,r,"f")._key&&(0,Yn.__classPrivateFieldSet)(this,r,(0,Yn.__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,Yn.__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,Yn.__classPrivateFieldGet)(this,t,"f")!==(0,Yn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,Yn.__classPrivateFieldSet)(this,t,null!==(a=(0,Yn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,Yn.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,Yn.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,Yn.__classPrivateFieldSet)(this,t,null!==(o=(0,Yn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,Yn.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[Wn])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,Yn.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},Wn=Symbol("layout-cache-document");var qn=r(75951),Jn=r(9770);const Zn=c.html`
|
|
2050
2050
|
<template>
|
|
2051
2051
|
<slot ${(0,c.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
|
|
2052
2052
|
</template>
|
|
2053
|
-
`;let
|
|
2053
|
+
`;let Kn=class extends p.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,hi.__decorate)([c.observable],Kn.prototype,"renderer",void 0),(0,hi.__decorate)([c.observable],Kn.prototype,"rendererParams",void 0),(0,hi.__decorate)([c.observable],Kn.prototype,"slottedRenderer",void 0),Kn=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-cell",template:Zn})],Kn);const Xn=c.html`
|
|
2054
2054
|
<template>
|
|
2055
2055
|
<slot ${(0,c.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
|
|
2056
2056
|
</template>
|
|
2057
|
-
`;let Qn=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,li.__decorate)([c.observable],Qn.prototype,"slottedAgCell",void 0),(0,li.__decorate)([c.observable],Qn.prototype,"definition",void 0),Qn=(0,li.__decorate)([(0,c.customElement)({name:"grid-pro-column",template:Yn})],Qn);var Wn=r(82940),qn=r(32449),Jn=r(9162),Zn=r(5127),Kn=r(83123),Xn=r(35991),el=r(6852),al=r(26714),rl=r(71452),tl=r(99449),ol=r(30526);class il extends p.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Wn.WJ.MAX_ROWS_250,this.maxView=Wn.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1}}(0,li.__decorate)([s.lj],il.prototype,"connect",void 0),(0,li.__decorate)([c.observable],il.prototype,"deferredGridOptions",void 0),(0,li.__decorate)([c.observable],il.prototype,"deferredColumnStates",void 0),(0,li.__decorate)([c.attr],il.prototype,"criteria",void 0),(0,li.__decorate)([c.attr],il.prototype,"fields",void 0),(0,li.__decorate)([(0,c.attr)({mode:"boolean",attribute:"is-snapshot"})],il.prototype,"isSnapshot",void 0),(0,li.__decorate)([(0,c.attr)({attribute:"max-rows"})],il.prototype,"maxRows",void 0),(0,li.__decorate)([(0,c.attr)({attribute:"max-view"})],il.prototype,"maxView",void 0),(0,li.__decorate)([(0,c.attr)({mode:"boolean",attribute:"moving-view"})],il.prototype,"movingView",void 0),(0,li.__decorate)([(0,c.attr)({attribute:"order-by"})],il.prototype,"orderBy",void 0),(0,li.__decorate)([(0,c.attr)({attribute:"resource-name"})],il.prototype,"resourceName",void 0),(0,li.__decorate)([(0,c.attr)({mode:"boolean"})],il.prototype,"reverse",void 0);var nl=r(21607);function ll({value:e}){return(0,nl.D_)(e)}function gl({value:e}){return(0,nl.Lx)(e)}var sl;!function(e){e.Add="add",e.Update="update",e.Remove="remove"}(sl||(sl={}));let dl=class extends(Bn(il)){constructor(){super(...arguments),this.pollingInterval=Wn.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 al.X(new Map)}criteriaChanged(e,a){const r=e!==(0,qn.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;c.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;c.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?Wn.WJ.REQUEST_SERVER_ROW_ID:Wn.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===Wn.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===Wn.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?Wn.WJ.REQUEST_SERVER_ROW_ID:Wn.WJ.DATASERVER_ROW_ID}init(){return(0,li.__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);if(!e)return void rn.warn(`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`);this.isRequestServer=e.TYPE===Wn._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,li.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,rl.T)(1),(0,tl.b)(r),(0,ol.b)((e=>rn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else rn.warn("Application not connected or invalid resource name, datasource will not work. 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 al.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,li.__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,li.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return rn.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 rn.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===Jn.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Zn.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Zn.$)(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 rn.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},sl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},sl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},sl.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(sl)){if(!this.rowDataMapper)return e;const r={};return a.includes(sl.Add)&&(r.add=this.rowDataMapper(e.add,this.rows)),a.includes(sl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rows)),a.includes(sl.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=>{if(this.hasDefaultRowId||this.isRequestServer)this.agTransaction.remove.push({[this.rowId]:e[this.rowId]});else{const a=Object.values(Object.fromEntries(this.rows)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rows.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rows)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rows.set(e[this.rowId],a)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case Kn.r.DATE:case Kn.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 Kn.r.STRING:r.cellEditor=hi.stringEditor;break;case Kn.r.NUMBER:r.cellEditor=hi.numberEditor,r.filter="agNumberColumnFilter";break;case Kn.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=hi.boolean,r.cellEditor=hi.boolean);break;case Kn.r.DATE:r.valueFormatter=ll,r.cellEditor=hi.dateEditor,r.filter="agDateColumnFilter";break;case Kn.r.DATETIME:r.valueFormatter=gl,r.filter="agDateColumnFilter",r.cellEditor=hi.dateEditor,r.cellEditorParams={withTime:!0};break;case Kn.r.ENUM:e.enumOptions?(r.cellEditor=hi.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):rn.warn(`No enumOptions found for field ${e.name}. Default cell editor applied.`)}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,qn.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,li.__decorate)([Xn.g],dl.prototype,"auth",void 0),(0,li.__decorate)([el.Yh],dl.prototype,"datasource",void 0),(0,li.__decorate)([(0,c.attr)({attribute:"polling-interval"})],dl.prototype,"pollingInterval",void 0),(0,li.__decorate)([(0,c.attr)({mode:"boolean",attribute:"disable-polling"})],dl.prototype,"disablePolling",void 0),(0,li.__decorate)([c.observable],dl.prototype,"request",void 0),(0,li.__decorate)([(0,c.attr)({attribute:"row-id"})],dl.prototype,"rowIdAttr",void 0),(0,li.__decorate)([(0,c.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],dl.prototype,"restartOnReconnection",void 0),(0,li.__decorate)([c.observable],dl.prototype,"rowDataMapper",void 0),dl=(0,li.__decorate)([(0,c.customElement)({name:"grid-pro-genesis-datasource"})],dl);let cl=class extends dl{};cl=(0,li.__decorate)([(0,c.customElement)({name:"grid-pro-client-side-datasource"})],cl);var pl=r(66306),ul=r(47546);function hl(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 ml(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 bl{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,li.__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,ul.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===Jn.Cs.LOGOFF_ACK||o===Jn.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,Zn.$)(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=>rn.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,li.__decorate)([Xn.g],bl.prototype,"auth",void 0),(0,li.__decorate)([s.lj],bl.prototype,"connect",void 0);let vl=class extends(Bn(il)){constructor(){super(...arguments),this.pagination=!1,this.rowId="ROW_REF"}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,qn.p)(a,";");!r&&t&&this.restart()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;c.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;c.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,li.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>rn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,pl.C)(e);const a=(0,pl.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new bl({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});rn.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));rn.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 rn.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,li.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>rn.debug(e)),(e=>rn.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 Kn.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 Kn.r.DATE:case Kn.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 Kn.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 Kn.r.NUMBER:r.cellEditor=hi.numberEditor;break;case Kn.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=hi.boolean,r.cellEditor=hi.boolean);break;case Kn.r.DATE:r.valueFormatter=ll;break;case Kn.r.DATETIME:r.valueFormatter=gl;break;case Kn.r.ENUM:r.cellEditor=hi.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:ml(e.type),filter:hl(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}};(0,li.__decorate)([(0,c.attr)({mode:"boolean"})],vl.prototype,"pagination",void 0),(0,li.__decorate)([(0,c.attr)({attribute:"row-id"})],vl.prototype,"rowId",void 0),vl=(0,li.__decorate)([(0,c.customElement)({name:"grid-pro-server-side-datasource"})],vl);const fl='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLAyetqNuvUi9cwsEiSVfknTKJKFwXJEifKEg4TRaVoTf9KidqWxWTaM4Qhckx5sC9WV2VzEdYip117wlE4pFNoTH6pLaKlnSP3jkqCOWFb04+eok58yIR6Fp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1oX9N1GBdZaqb1U6z/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',wl='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiP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t/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',yl={[ni.alpine]:fl,[ni.alpineDark]:fl,[ni.balham]:wl,[ni.balhamDark]:wl,[ni.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+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNb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AQRjD+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'},xl=fl,kl=c.css`
|
|
2057
|
+
`;let el=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,hi.__decorate)([c.observable],el.prototype,"slottedAgCell",void 0),(0,hi.__decorate)([c.observable],el.prototype,"definition",void 0),el=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-column",template:Xn})],el);var al=r(82940),rl=r(32449),tl=r(9162),ol=r(5127),il=r(83123),nl=r(35991),ll=r(6852),gl=r(26714),sl=r(71452),dl=r(99449),cl=r(30526);class pl extends p.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=al.WJ.MAX_ROWS_250,this.maxView=al.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1}}(0,hi.__decorate)([s.lj],pl.prototype,"connect",void 0),(0,hi.__decorate)([c.observable],pl.prototype,"deferredGridOptions",void 0),(0,hi.__decorate)([c.observable],pl.prototype,"deferredColumnStates",void 0),(0,hi.__decorate)([c.attr],pl.prototype,"criteria",void 0),(0,hi.__decorate)([c.attr],pl.prototype,"fields",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"is-snapshot"})],pl.prototype,"isSnapshot",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"max-rows"})],pl.prototype,"maxRows",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"max-view"})],pl.prototype,"maxView",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"moving-view"})],pl.prototype,"movingView",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"order-by"})],pl.prototype,"orderBy",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"resource-name"})],pl.prototype,"resourceName",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean"})],pl.prototype,"reverse",void 0);var ul=r(21607);function hl({value:e}){return(0,ul.D_)(e)}function ml({value:e}){return(0,ul.Lx)(e)}var bl;!function(e){e.Add="add",e.Update="update",e.Remove="remove"}(bl||(bl={}));let vl=class extends(Qn(pl)){constructor(){super(...arguments),this.pollingInterval=al.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 gl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,rl.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;c.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;c.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?al.WJ.REQUEST_SERVER_ROW_ID:al.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===al.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===al.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?al.WJ.REQUEST_SERVER_ROW_ID:al.WJ.DATASERVER_ROW_ID}init(){return(0,hi.__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);if(!e)return void dn.warn(`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`);this.isRequestServer=e.TYPE===al._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,hi.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,sl.T)(1),(0,dl.b)(r),(0,cl.b)((e=>dn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else dn.warn("Application not connected or invalid resource name, datasource will not work. 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 gl.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,hi.__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,hi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return dn.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 dn.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===tl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,ol.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,ol.$)(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 dn.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},bl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},bl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},bl.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(bl)){if(!this.rowDataMapper)return e;const r={};return a.includes(bl.Add)&&(r.add=this.rowDataMapper(e.add,this.rows)),a.includes(bl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rows)),a.includes(bl.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=>{if(this.hasDefaultRowId||this.isRequestServer)this.agTransaction.remove.push({[this.rowId]:e[this.rowId]});else{const a=Object.values(Object.fromEntries(this.rows)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rows.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rows)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rows.set(e[this.rowId],a)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case il.r.DATE:case il.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 il.r.STRING:r.cellEditor=xi.stringEditor;break;case il.r.NUMBER:r.cellEditor=xi.numberEditor,r.filter="agNumberColumnFilter";break;case il.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=xi.boolean,r.cellEditor=xi.boolean);break;case il.r.DATE:r.valueFormatter=hl,r.cellEditor=xi.dateEditor,r.filter="agDateColumnFilter";break;case il.r.DATETIME:r.valueFormatter=ml,r.filter="agDateColumnFilter",r.cellEditor=xi.dateEditor,r.cellEditorParams={withTime:!0};break;case il.r.ENUM:e.enumOptions?(r.cellEditor=xi.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):dn.warn(`No enumOptions found for field ${e.name}. Default cell editor applied.`)}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,rl.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,hi.__decorate)([nl.g],vl.prototype,"auth",void 0),(0,hi.__decorate)([ll.Yh],vl.prototype,"datasource",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"polling-interval"})],vl.prototype,"pollingInterval",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"disable-polling"})],vl.prototype,"disablePolling",void 0),(0,hi.__decorate)([c.observable],vl.prototype,"request",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"row-id"})],vl.prototype,"rowIdAttr",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],vl.prototype,"restartOnReconnection",void 0),(0,hi.__decorate)([c.observable],vl.prototype,"rowDataMapper",void 0),vl=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-genesis-datasource"})],vl);let fl=class extends vl{};fl=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-client-side-datasource"})],fl);var wl=r(66306),yl=r(47546);function xl(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 kl(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 zl{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,hi.__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,yl.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===tl.Cs.LOGOFF_ACK||o===tl.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,ol.$)(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=>dn.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,hi.__decorate)([nl.g],zl.prototype,"auth",void 0),(0,hi.__decorate)([s.lj],zl.prototype,"connect",void 0);let Sl=class extends(Qn(pl)){constructor(){super(...arguments),this.pagination=!1,this.rowId="ROW_REF"}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,rl.p)(a,";");!r&&t&&this.restart()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;c.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;c.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,hi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>dn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,wl.C)(e);const a=(0,wl.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new zl({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});dn.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));dn.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 dn.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,hi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>dn.debug(e)),(e=>dn.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 il.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 il.r.DATE:case il.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 il.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 il.r.NUMBER:r.cellEditor=xi.numberEditor;break;case il.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=xi.boolean,r.cellEditor=xi.boolean);break;case il.r.DATE:r.valueFormatter=hl;break;case il.r.DATETIME:r.valueFormatter=ml;break;case il.r.ENUM:r.cellEditor=xi.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:kl(e.type),filter:xl(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}};(0,hi.__decorate)([(0,c.attr)({mode:"boolean"})],Sl.prototype,"pagination",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"row-id"})],Sl.prototype,"rowId",void 0),Sl=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-server-side-datasource"})],Sl);const Cl='\n @font-face {\n font-family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AvwE23tJm1M5r/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',Al='\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+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1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P9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',$l={[ui.alpine]:Cl,[ui.alpineDark]:Cl,[ui.balham]:Al,[ui.balhamDark]:Al,[ui.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+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU8jcamQigXK1UFkBoXGOSirP22bKJBeriEyKFKLF7ApHF2cslXcTZUOdQ9GypSIYfXSKoUsTiLtq2oYVCg9waGz9Gb0IKKzj0gNMtwgGptnTXVZcdTUqUJ9nII9zZYrIIqAaglVkSlOzY65X7msQ1WsjqE9Ze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VS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Fl=Cl,Ol=c.css`
|
|
2058
2058
|
.ag-icon {
|
|
2059
2059
|
font-family: var(--ag-icon-font-family);
|
|
2060
2060
|
font-size: var(--ag-icon-size);
|
|
@@ -9231,7 +9231,7 @@
|
|
|
9231
9231
|
input[class^='ag-'][type='range']:disabled {
|
|
9232
9232
|
opacity: 0.5;
|
|
9233
9233
|
}
|
|
9234
|
-
`,
|
|
9234
|
+
`,Tl=c.css`
|
|
9235
9235
|
.ag-dnd-ghost {
|
|
9236
9236
|
background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
|
|
9237
9237
|
border: solid 1px;
|
|
@@ -9248,7 +9248,7 @@
|
|
|
9248
9248
|
overflow: hidden;
|
|
9249
9249
|
text-overflow: ellipsis;
|
|
9250
9250
|
}
|
|
9251
|
-
`,
|
|
9251
|
+
`,Dl=c.css`
|
|
9252
9252
|
.ag-theme-alpine,
|
|
9253
9253
|
.ag-theme-alpine-dark {
|
|
9254
9254
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -9698,7 +9698,7 @@
|
|
|
9698
9698
|
.ag-theme-alpine-dark {
|
|
9699
9699
|
color-scheme: dark;
|
|
9700
9700
|
}
|
|
9701
|
-
`,
|
|
9701
|
+
`,Rl=c.css`
|
|
9702
9702
|
.ag-theme-balham,
|
|
9703
9703
|
.ag-theme-balham-dark {
|
|
9704
9704
|
--ag-balham-active-color: #0091ea;
|
|
@@ -9968,7 +9968,7 @@
|
|
|
9968
9968
|
.ag-theme-balham-dark {
|
|
9969
9969
|
color-scheme: dark;
|
|
9970
9970
|
}
|
|
9971
|
-
|
|
9971
|
+
`,Nl=c.css`
|
|
9972
9972
|
.ag-theme-material {
|
|
9973
9973
|
--ag-material-primary-color: #3f51b5;
|
|
9974
9974
|
--ag-material-accent-color: #ff4081;
|
|
@@ -10233,14 +10233,14 @@
|
|
|
10233
10233
|
.ag-theme-material .ag-picker-field-wrapper:focus {
|
|
10234
10234
|
box-shadow: 0 0 0 1px var(--ag-material-primary-color);
|
|
10235
10235
|
}
|
|
10236
|
-
`,
|
|
10237
|
-
${
|
|
10238
|
-
${
|
|
10239
|
-
${
|
|
10240
|
-
${
|
|
10241
|
-
${
|
|
10242
|
-
`,
|
|
10243
|
-
${
|
|
10236
|
+
`,Ll=c.css`
|
|
10237
|
+
${Ol}
|
|
10238
|
+
${Tl}
|
|
10239
|
+
${Dl}
|
|
10240
|
+
${Rl}
|
|
10241
|
+
${Nl}
|
|
10242
|
+
`,Ml=c.css`
|
|
10243
|
+
${Ll}
|
|
10244
10244
|
:host {
|
|
10245
10245
|
width: 100%;
|
|
10246
10246
|
height: 100%;
|
|
@@ -10267,14 +10267,14 @@
|
|
|
10267
10267
|
.ag-cell-inline-editing {
|
|
10268
10268
|
height: inherit !important;
|
|
10269
10269
|
}
|
|
10270
|
-
`,
|
|
10270
|
+
`,Il=c.html`
|
|
10271
10271
|
<template>
|
|
10272
10272
|
<span part="grid" class="${e=>e.classNames}">
|
|
10273
10273
|
<slot name="grid" ${(0,c.ref)("gridSlot")}></slot>
|
|
10274
10274
|
<slot></slot>
|
|
10275
10275
|
</span>
|
|
10276
10276
|
</template>
|
|
10277
|
-
`;class Tl{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 Dl(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}an.O3h.registerModules([jn.jM,In.I]);const Rl=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class Nl extends(Bn(p.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Hn.A)(pi(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=xl,this.columnComponentName="grid-pro-column",this.theme=ni.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=an.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Rl(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&&an.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Rl(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={[hi.action]:tn,[hi.actionsMenu]:dn,[hi.boolean]:hn,[hi.editable]:qi,[hi.selectEditor]:Di,[hi.numberEditor]:ji,[hi.multiselectEditor]:Ci,[hi.dateEditor]:wi,[hi.stringEditor]:Hi};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,li.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{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),an.plv.copyAttributesToGridOptions(s,this.agAttributes));const d={globalEventListener:a};c.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new an.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return rn.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[mi]===e.field)return{component:hi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Tl,e.tooltipValueGetter=a=>{const r=a.data[bi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[bi])||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 Dl(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Dl(n,this.gridProDatasource.deferredColumnStates)}return n}get observedAttributes(){const e=an.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=an.plv.ALL_PROPERTIES.map((e=>Rl(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},an.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=yl[e]||this.gridFontFace;this.destroyFontFace();const r=(0,Gn.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,li.__decorate)([c.observable],Nl.prototype,"columnApi",void 0),(0,li.__decorate)([c.observable],Nl.prototype,"gridApi",void 0),(0,li.__decorate)([En.z],Nl.prototype,"session",void 0),(0,li.__decorate)([(0,c.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Nl.prototype,"autoCellRendererByType",void 0),(0,li.__decorate)([(0,c.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Nl.prototype,"onlyTemplateColDefs",void 0),(0,li.__decorate)([(0,c.attr)({mode:"boolean",attribute:"grid-autosizing"})],Nl.prototype,"gridAutosizingEnabled",void 0),(0,li.__decorate)([(0,c.attr)({attribute:"add-index"})],Nl.prototype,"addIndex",void 0),(0,li.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-add"})],Nl.prototype,"asyncAdd",void 0),(0,li.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-remove"})],Nl.prototype,"asyncRemove",void 0),(0,li.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-update"})],Nl.prototype,"asyncUpdate",void 0),(0,li.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Nl.prototype,"enableCellFlashing",void 0),(0,li.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Nl.prototype,"enabledRowFlashing",void 0),(0,li.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Nl.prototype,"enableRowFlashing",void 0),(0,li.__decorate)([(0,c.attr)({attribute:"persist-column-state-key"})],Nl.prototype,"persistColumnStateKey",void 0),(0,li.__decorate)([c.observable],Nl.prototype,"gridFontFace",void 0),(0,li.__decorate)([c.attr],Nl.prototype,"columnComponentName",void 0),(0,li.__decorate)([c.observable],Nl.prototype,"eventsAndCallbacks",void 0),(0,li.__decorate)([c.attr],Nl.prototype,"headerHeight",void 0),(0,li.__decorate)([c.attr],Nl.prototype,"rowHeight",void 0),(0,li.__decorate)([c.attr],Nl.prototype,"theme",void 0),(0,li.__decorate)([c.observable],Nl.prototype,"classNames",void 0),(0,li.__decorate)([c.observable],Nl.prototype,"agGrid",void 0),(0,li.__decorate)([c.observable],Nl.prototype,"gridSlot",void 0),(0,li.__decorate)([c.observable],Nl.prototype,"gridComponents",void 0),(0,li.__decorate)([fi],Nl.prototype,"gridOptionsConfig",void 0);const Ll=void 0,Ml={shadowOptions:void 0},Il=Nl.compose(Object.assign({baseName:"grid-pro",styles:Fl,template:Ol,shadowOptions:Ll},Ml)),jl={foregroundSwatch:u.SwatchRGB.from((0,Ue.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:u.SwatchRGB.from((0,Ue.parseColorHexRGB)("#879ba6")),backgroundSwatch:u.SwatchRGB.from((0,Ue.parseColorHexRGB)("#1f2126")),borderSwatch:u.SwatchRGB.from((0,Ue.parseColorHexRGB)("#2e3339")),rowHoverSwatch:u.SwatchRGB.from((0,Ue.parseColorHexRGB)("#2b2e34"))},El={foregroundSwatch:u.SwatchRGB.from((0,Ue.parseColorHexRGB)("#000000")),headerForegroundSwatch:u.SwatchRGB.from((0,Ue.parseColorHexRGB)("#181d1f")),backgroundSwatch:u.SwatchRGB.from((0,Ue.parseColorHexRGB)("#FFFFFF")),borderSwatch:u.SwatchRGB.from((0,Ue.parseColorHexRGB)("#babfc7")),rowHoverSwatch:u.SwatchRGB.from((0,Ue.parseColorHexRGB)("#2196f3"))},{create:Pl}=p.DesignToken,Bl={backgroundColor:Pl("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?El.backgroundSwatch:jl.backgroundSwatch)),borderColor:Pl("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?El.borderSwatch:jl.borderSwatch)),foregroundColor:Pl("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?El.foregroundSwatch:jl.foregroundSwatch)),headerForegroundColor:Pl("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?El.headerForegroundSwatch:jl.headerForegroundSwatch)),rowHoverColor:Pl("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?El.rowHoverSwatch:jl.rowHoverSwatch))},Ul=c.css`
|
|
10277
|
+
`;class jl{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 El(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}sn.O3h.registerModules([_n.jM,Hn.I]);const Pl=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class Bl extends(Qn(p.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Jn.A)(wi(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=Fl,this.columnComponentName="grid-pro-column",this.theme=ui.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=sn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Pl(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&&sn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Pl(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={[xi.action]:cn,[xi.actionsMenu]:vn,[xi.boolean]:xn,[xi.editable]:rn,[xi.selectEditor]:Ei,[xi.numberEditor]:_i,[xi.multiselectEditor]:Ri,[xi.dateEditor]:Ai,[xi.stringEditor]:Ji};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,hi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{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),sn.plv.copyAttributesToGridOptions(s,this.agAttributes));const d={globalEventListener:a};c.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new sn.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return dn.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[ki]===e.field)return{component:xi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=jl,e.tooltipValueGetter=a=>{const r=a.data[zi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[zi])||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 El(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return El(n,this.gridProDatasource.deferredColumnStates)}return n}get observedAttributes(){const e=sn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=sn.plv.ALL_PROPERTIES.map((e=>Pl(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},sn.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=$l[e]||this.gridFontFace;this.destroyFontFace();const r=(0,qn.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,hi.__decorate)([c.observable],Bl.prototype,"columnApi",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"gridApi",void 0),(0,hi.__decorate)([Vn.z],Bl.prototype,"session",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Bl.prototype,"autoCellRendererByType",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Bl.prototype,"onlyTemplateColDefs",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"grid-autosizing"})],Bl.prototype,"gridAutosizingEnabled",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"add-index"})],Bl.prototype,"addIndex",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-add"})],Bl.prototype,"asyncAdd",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-remove"})],Bl.prototype,"asyncRemove",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-update"})],Bl.prototype,"asyncUpdate",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Bl.prototype,"enableCellFlashing",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Bl.prototype,"enabledRowFlashing",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Bl.prototype,"enableRowFlashing",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"persist-column-state-key"})],Bl.prototype,"persistColumnStateKey",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"gridFontFace",void 0),(0,hi.__decorate)([c.attr],Bl.prototype,"columnComponentName",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"eventsAndCallbacks",void 0),(0,hi.__decorate)([c.attr],Bl.prototype,"headerHeight",void 0),(0,hi.__decorate)([c.attr],Bl.prototype,"rowHeight",void 0),(0,hi.__decorate)([c.attr],Bl.prototype,"theme",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"classNames",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"agGrid",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"gridSlot",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"gridComponents",void 0),(0,hi.__decorate)([Ci],Bl.prototype,"gridOptionsConfig",void 0);const Ul=void 0,Gl={shadowOptions:void 0},Hl=Bl.compose(Object.assign({baseName:"grid-pro",styles:Ml,template:Il,shadowOptions:Ul},Gl)),_l={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#1f2126")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2b2e34"))},Vl={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2196f3"))},{create:Yl}=p.DesignToken,Ql={backgroundColor:Yl("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.backgroundSwatch:_l.backgroundSwatch)),borderColor:Yl("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.borderSwatch:_l.borderSwatch)),foregroundColor:Yl("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.foregroundSwatch:_l.foregroundSwatch)),headerForegroundColor:Yl("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.headerForegroundSwatch:_l.headerForegroundSwatch)),rowHoverColor:Yl("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.rowHoverSwatch:_l.rowHoverSwatch))},Wl=c.css`
|
|
10278
10278
|
.ag-theme-genesis-rapid,
|
|
10279
10279
|
.ag-theme-genesis-rapid-dark {
|
|
10280
10280
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -10734,56 +10734,56 @@
|
|
|
10734
10734
|
.ag-theme-genesis-rapid-dark {
|
|
10735
10735
|
color-scheme: dark;
|
|
10736
10736
|
}
|
|
10737
|
-
`,
|
|
10738
|
-
${
|
|
10739
|
-
${
|
|
10737
|
+
`,ql={[pi.backgroundColor]:Ql.backgroundColor,[pi.foregroundColor]:Ql.foregroundColor,[pi.oddRowBackgroundColor]:Ql.backgroundColor,[pi.headerBackgroundColor]:Ql.backgroundColor,[pi.headerForegroundColor]:Ql.headerForegroundColor,[pi.selectedRowBackgroundColor]:Ql.rowHoverColor,[pi.rowHoverColor]:Ql.rowHoverColor,[pi.borderColor]:Ql.borderColor,[pi.rowBorderColor]:Ql.rowHoverColor,[pi.modalOverlayBackgroundColor]:Ql.backgroundColor,[pi.inputFocusBoxShadow]:Ql.headerForegroundColor,[pi.inputFocusBorderColor]:Ql.headerForegroundColor,[pi.headerColumnResizeHandleColor]:Ql.headerForegroundColor},Jl="ag-theme-genesis-rapid",Zl=c.css`
|
|
10738
|
+
${Wl}
|
|
10739
|
+
${yi(Jl,ql)}
|
|
10740
10740
|
|
|
10741
|
-
.${
|
|
10742
|
-
${
|
|
10741
|
+
.${Jl} {
|
|
10742
|
+
${Ee()}
|
|
10743
10743
|
}
|
|
10744
10744
|
|
|
10745
|
-
.${
|
|
10745
|
+
.${Jl} .ag-header {
|
|
10746
10746
|
border-bottom-color: var(--rapid-ag-header-foreground-color);
|
|
10747
10747
|
font-weight: bold;
|
|
10748
10748
|
}
|
|
10749
10749
|
|
|
10750
|
-
.${
|
|
10750
|
+
.${Jl} .ag-root-wrapper {
|
|
10751
10751
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
10752
10752
|
}
|
|
10753
|
-
`,
|
|
10754
|
-
${
|
|
10755
|
-
${
|
|
10753
|
+
`,Kl="ag-theme-genesis-rapid-dark",Xl=c.css`
|
|
10754
|
+
${Wl}
|
|
10755
|
+
${yi(Kl,ql)}
|
|
10756
10756
|
|
|
10757
|
-
.${
|
|
10758
|
-
${
|
|
10757
|
+
.${Kl} {
|
|
10758
|
+
${Ee()}
|
|
10759
10759
|
}
|
|
10760
10760
|
|
|
10761
|
-
.${
|
|
10761
|
+
.${Kl} .ag-header {
|
|
10762
10762
|
border-bottom-color: var(--rapid-ag-header-foreground-color);
|
|
10763
10763
|
font-weight: bold;
|
|
10764
10764
|
}
|
|
10765
10765
|
|
|
10766
|
-
.${
|
|
10766
|
+
.${Kl} .ag-cell {
|
|
10767
10767
|
line-height: var(--ag-line-height, 32px);
|
|
10768
10768
|
}
|
|
10769
10769
|
|
|
10770
|
-
.${
|
|
10770
|
+
.${Kl} .ag-root-wrapper {
|
|
10771
10771
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
10772
10772
|
}
|
|
10773
|
-
`,
|
|
10773
|
+
`,eg=c.css`
|
|
10774
10774
|
/* All the AG themes */
|
|
10775
|
-
${
|
|
10775
|
+
${Ml}
|
|
10776
10776
|
|
|
10777
10777
|
/* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
|
|
10778
|
-
${
|
|
10779
|
-
${
|
|
10778
|
+
${Zl}
|
|
10779
|
+
${Xl}
|
|
10780
10780
|
|
|
10781
10781
|
.error {
|
|
10782
10782
|
border-color: ${ve.shortPink} !important;
|
|
10783
10783
|
}
|
|
10784
|
-
`,
|
|
10784
|
+
`,ag=Il,rg="ag-theme-genesis-rapid-dark";const tg=Gl,og={zeroAgEditableRenderer:gn,zeroAgActionRenderer:bn,zeroAgActionsMenuRenderer:yn,zeroAgBooleanRenderer:An,zeroAgTextRenderer:jn,zeroAgSelectRenderer:Gn,zeroAgDateEditor:Di,zeroAgMultiselectEditor:ji,zeroAgSelectEditor:Hi,zeroAgNumberEditor:qi,zeroAgStringEditor:an,zeroGridPro:class extends Bl{constructor(){super(...arguments),this.theme=rg}themeChanged(e,a){(e||a===rg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[xi.action]:mn,[xi.actionsMenu]:wn,[xi.boolean]:Cn,[xi.editable]:ln,[xi.selectEditor]:Gi,[xi.numberEditor]:Wi,[xi.multiselectEditor]:Ii,[xi.dateEditor]:Ti,[xi.stringEditor]:en};(this.theme===Jl||this.theme===Kl)&&(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:ag,styles:eg,shadowOptions:undefined},tg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},ig={foundationGridProActionRenderer:hn,foundationGridProActionsMenuRenderer:fn,foundationAgBooleanRenderer:Sn,foundationAgTextRenderer:In,foundationAgTextFieldRenderer:Rn,foundationAgEditableRenderer:nn,foundationAgSelectRenderer:Un,foundationGridPro:Hl,foundationSelectEditor:Ui,foundationNumberEditor:Qi,foundationDateEditor:Oi,foundationMultiselectEditor:Mi,foundationStringEditor:Xi,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var ng;!function(e){e.primary="#11C9FC",e.neutral="#7C909B",e.error="#F9644D",e.success="#7ACC79",e.warning="#FFB660",e.info="#11C9FC",e.buy="#7ACC79",e.sell="#F14376"}(ng||(ng={}));const{create:lg}=p.DesignToken,gg=(0,fe.parseColorHexRGB)(ng.error),sg=u.SwatchRGB.create(gg.r,gg.g,gg.b),dg=lg("error-color").withDefault(sg),cg=(0,fe.parseColorHexRGB)(ng.success),pg=u.SwatchRGB.create(cg.r,cg.g,cg.b),ug=lg("success-color").withDefault(pg),hg=(0,fe.parseColorHexRGB)(ng.warning),mg=u.SwatchRGB.create(hg.r,hg.g,hg.b),bg=lg("warning-color").withDefault(mg),vg=(0,fe.parseColorHexRGB)(ng.buy),fg=u.SwatchRGB.create(vg.r,vg.g,vg.b),wg=lg("buy-color").withDefault(fg),yg=(0,fe.parseColorHexRGB)(ng.sell),xg=u.SwatchRGB.create(yg.r,yg.g,yg.b),kg=lg("sell-color").withDefault(xg),zg=(0,P.paletteFromHex)(ng.primary),Sg=(0,P.paletteFromHex)(ng.neutral),Cg=u.StandardLuminance.DarkMode,Ag=0,$g=4,Fg=-5,Og=0,Tg=0,Dg=6,Rg=-4,Ng=0,Lg=7,Mg=10,Ig=5,jg=0,Eg=0,Pg=0,Bg=0,Ug=0,Gg=0,Hg=5,_g=3,Vg=0,Yg=0,Qg=8,Wg=-5,qg=0,Jg=3,Zg=25,Kg=40,Xg=16,es=25,as=8,rs="rapid",ts=Oe.N.ltr,os=.3,is=1,ns=2,ls=10,gs=4,ss=0,ds=4,cs='"Segoe UI", Arial, Helvetica, sans-serif',ps="14px",us="20px",hs="12px",ms="16px",bs="10px",vs="16px",fs="16px",ws="24px",ys="20px",xs="28px",ks="28px",zs="36px",Ss="34px",Cs="44px",As="46px",$s="56px",Fs="60px",Os="72px",Ts={design_tokens:{color:{accent:{$value:zg.source.toColorString(),$type:"color"},neutral:{$value:Sg.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:cs,$type:"fontFamily"}},typography:{baseFontSize:{$value:ps,$type:"dimension"},baseLineHeight:{$value:us,$type:"dimension"}},mode:{luminance:{$value:Cg,$type:"number"}},style:{density:{$value:ss,$type:"number"},borderRadius:{$value:gs,$type:"number"},strokeWidth:{$value:is,$type:"number"}},space:{designUnit:{$value:ds,$type:"number"}}}};class Ds extends u.DesignSystemProvider{constructor(){super(),(0,P.provideTokens)(i,n,this)}}const Rs=Ds.compose({baseName:"design-system-provider",template:c.html`
|
|
10785
10785
|
<slot></slot>
|
|
10786
|
-
`});class
|
|
10786
|
+
`});class Ns extends P.Accordion{}const Ls=Ns.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,P.foundationAccordionTemplate)(e,a),styles:(e,a)=>c.css`
|
|
10787
10787
|
${(0,P.foundationAccordionStyles)(e,a)}
|
|
10788
10788
|
|
|
10789
10789
|
:host {
|
|
@@ -10794,7 +10794,7 @@
|
|
|
10794
10794
|
.heading {
|
|
10795
10795
|
height: calc(var(--base-height-multiplier) * 4px);
|
|
10796
10796
|
}
|
|
10797
|
-
`,shadowOptions:P.foundationAccordionShadowOptions},P.defaultAccordionConfig));class
|
|
10797
|
+
`,shadowOptions:P.foundationAccordionShadowOptions},P.defaultAccordionConfig));class Ms extends P.AccordionItem{}const Is=Ms.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,P.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
10798
10798
|
${(0,P.foundationAccordionItemStyles)(e,a)}
|
|
10799
10799
|
|
|
10800
10800
|
:host {
|
|
@@ -10857,7 +10857,7 @@
|
|
|
10857
10857
|
grid-template-columns: auto 1fr auto;
|
|
10858
10858
|
align-items: center;
|
|
10859
10859
|
}
|
|
10860
|
-
`,shadowOptions:P.foundationAccordionItemShadowOptions},P.defaultAccordionItemConfig));class
|
|
10860
|
+
`,shadowOptions:P.foundationAccordionItemShadowOptions},P.defaultAccordionItemConfig));class js extends P.ActionsMenu{}const Es=js.compose({baseName:"actions-menu",styles:(e,a)=>c.css`
|
|
10861
10861
|
:host {
|
|
10862
10862
|
--actions-opener-height-multiplier: 0.6px;
|
|
10863
10863
|
--menu-item-height-multiplier: 0.5px;
|
|
@@ -10895,7 +10895,7 @@
|
|
|
10895
10895
|
.actions-vertical .menu-item:focus {
|
|
10896
10896
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
|
|
10897
10897
|
}
|
|
10898
|
-
`,template:P.foundationActionsMenuTemplate});function
|
|
10898
|
+
`,template:P.foundationActionsMenuTemplate});function Ps(e,a){return new p.PropertyStyleSheetBehavior("appearance",e,a)}const Bs=c.css`
|
|
10899
10899
|
:host([appearance='primary']) {
|
|
10900
10900
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
|
|
10901
10901
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -10918,7 +10918,7 @@
|
|
|
10918
10918
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
|
|
10919
10919
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
10920
10920
|
}
|
|
10921
|
-
`,
|
|
10921
|
+
`,Us=c.css`
|
|
10922
10922
|
:host([appearance='primary-outline']) {
|
|
10923
10923
|
background: none;
|
|
10924
10924
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -10936,7 +10936,7 @@
|
|
|
10936
10936
|
color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
|
|
10937
10937
|
opacity: 100%;
|
|
10938
10938
|
}
|
|
10939
|
-
`,
|
|
10939
|
+
`,Gs=c.css`
|
|
10940
10940
|
:host([appearance='neutral-outline']) {
|
|
10941
10941
|
background: none;
|
|
10942
10942
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
|
|
@@ -10954,7 +10954,7 @@
|
|
|
10954
10954
|
color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
|
|
10955
10955
|
opacity: 100%;
|
|
10956
10956
|
}
|
|
10957
|
-
`,
|
|
10957
|
+
`,Hs=c.css`
|
|
10958
10958
|
:host([appearance='link']) {
|
|
10959
10959
|
background: none;
|
|
10960
10960
|
border: none;
|
|
@@ -10977,7 +10977,7 @@
|
|
|
10977
10977
|
color: color-mix(in srgb, var(--accent-fill-rest), transparent 35%);
|
|
10978
10978
|
opacity: 100%;
|
|
10979
10979
|
}
|
|
10980
|
-
`,
|
|
10980
|
+
`,_s=(e,a)=>c.css`
|
|
10981
10981
|
${(0,P.foundationButtonStyles)(e,a)}
|
|
10982
10982
|
${c.css`
|
|
10983
10983
|
:host {
|
|
@@ -11031,14 +11031,14 @@
|
|
|
11031
11031
|
opacity: 100%;
|
|
11032
11032
|
}
|
|
11033
11033
|
`}
|
|
11034
|
-
`.withBehaviors(
|
|
11034
|
+
`.withBehaviors(Ps("primary",Bs),Ps("primary-outline",Us),Ps("neutral-outline",Gs),Ps("link",Hs));class Vs extends P.Anchor{}const Ys=Vs.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,P.foundationAnchorTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11035
11035
|
${(0,P.foundationAnchorStyles)(e,a)}
|
|
11036
|
-
${
|
|
11037
|
-
`.withBehaviors(...
|
|
11036
|
+
${_s(e,a)}
|
|
11037
|
+
`.withBehaviors(..._s(e,a).behaviors),shadowOptions:P.foundationAnchorShadowOptions},P.defaultAnchorConfig));class Qs extends P.AnchoredRegion{}const Ws=Qs.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,P.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11038
11038
|
${(0,P.foundationAnchoredRegionStyles)(e,a)}
|
|
11039
|
-
`,shadowOptions:P.foundationAnchoredRegionShadowOptions},P.defaultAnchoredRegionConfig));class
|
|
11039
|
+
`,shadowOptions:P.foundationAnchoredRegionShadowOptions},P.defaultAnchoredRegionConfig));class qs extends P.Avatar{}const Js=qs.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,P.foundationAvatarTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11040
11040
|
${(0,P.foundationAvatarStyles)(e,a)}
|
|
11041
|
-
`,shadowOptions:P.foundationAvatarShadowOptions},P.defaultAvatarConfig));class
|
|
11041
|
+
`,shadowOptions:P.foundationAvatarShadowOptions},P.defaultAvatarConfig));class Zs extends P.Badge{}const Ks=Zs.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,P.foundationBadgeTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11042
11042
|
${(0,P.foundationBadgeStyles)(e,a)}
|
|
11043
11043
|
:host {
|
|
11044
11044
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
@@ -11052,7 +11052,7 @@
|
|
|
11052
11052
|
padding: calc(${u.designUnit} * 1px) calc(${u.designUnit} * 2px);
|
|
11053
11053
|
border: none;
|
|
11054
11054
|
}
|
|
11055
|
-
`,shadowOptions:P.foundationBadgeShadowOptions},P.defaultBadgeConfig)),
|
|
11055
|
+
`,shadowOptions:P.foundationBadgeShadowOptions},P.defaultBadgeConfig)),Xs=c.css`
|
|
11056
11056
|
${P.foundationBannerStyles}
|
|
11057
11057
|
:host {
|
|
11058
11058
|
--banner-height: calc(
|
|
@@ -11072,9 +11072,9 @@
|
|
|
11072
11072
|
font-family: var(--body-font);
|
|
11073
11073
|
line-height: var(--type-ramp-base-line-height);
|
|
11074
11074
|
}
|
|
11075
|
-
`,
|
|
11075
|
+
`,ed=P.foundationBannerShadowOptions;class ad extends P.Banner{}const rd=ad.compose({baseName:"banner",shadowOptions:ed,styles:Xs,template:P.foundationBannerTemplate});class td extends P.Breadcrumb{}const od=td.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,P.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11076
11076
|
${(0,P.foundationBreadcrumbStyles)(e,a)}
|
|
11077
|
-
`,shadowOptions:undefined},{}));class
|
|
11077
|
+
`,shadowOptions:undefined},{}));class id extends P.BreadcrumbItem{}const nd=id.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,P.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11078
11078
|
${(0,P.foundationBreadcrumbItemStyles)(e,a)}
|
|
11079
11079
|
.listitem {
|
|
11080
11080
|
color: var(--accent-foreground-rest);
|
|
@@ -11110,9 +11110,9 @@
|
|
|
11110
11110
|
.control:hover .start {
|
|
11111
11111
|
background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
|
|
11112
11112
|
}
|
|
11113
|
-
`,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class
|
|
11113
|
+
`,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class ld extends P.Button{}const gd=ld.compose(Object.assign({baseName:"button",template:(e,a)=>(0,P.foundationButtonTemplate)(e,a),styles:_s,shadowOptions:P.foundationButtonShadowOptions},P.defaultButtonConfig));class sd extends P.Calendar{}const dd=sd.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,P.foundationCalendarTemplate)(e,a),styles:()=>c.css`
|
|
11114
11114
|
${(0,P.foundationCalendarStyles)()}
|
|
11115
|
-
`,shadowOptions:P.foundationCalendarShadowOptions},P.defaultCalendarConfig));class
|
|
11115
|
+
`,shadowOptions:P.foundationCalendarShadowOptions},P.defaultCalendarConfig));class cd extends P.Card{}const pd=cd.compose(Object.assign({baseName:"card",template:(e,a)=>(0,P.foundationCardTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11116
11116
|
${(0,P.foundationCardStyles)(e,a)}
|
|
11117
11117
|
:host {
|
|
11118
11118
|
background: var(--neutral-layer-card-container);
|
|
@@ -11126,7 +11126,7 @@
|
|
|
11126
11126
|
::slotted(rapid-card) {
|
|
11127
11127
|
background: var(--neutral-layer-3);
|
|
11128
11128
|
}
|
|
11129
|
-
`,shadowOptions:P.foundationCardShadowOptions},P.defaultCardConfig));class
|
|
11129
|
+
`,shadowOptions:P.foundationCardShadowOptions},P.defaultCardConfig));class ud extends P.Checkbox{}const hd=ud.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,P.foundationCheckboxTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11130
11130
|
${(0,P.foundationCheckboxStyles)(e,a)}
|
|
11131
11131
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
11132
11132
|
fill: var(--neutral-foreground-rest);
|
|
@@ -11141,7 +11141,7 @@
|
|
|
11141
11141
|
.label {
|
|
11142
11142
|
padding-inline-start: calc(var(--design-unit) * 2px);
|
|
11143
11143
|
}
|
|
11144
|
-
`,shadowOptions:P.foundationCheckboxShadowOptions},P.defaultCheckboxConfig));class
|
|
11144
|
+
`,shadowOptions:P.foundationCheckboxShadowOptions},P.defaultCheckboxConfig));class md extends P.Combobox{}const bd=md.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,P.foundationComboboxTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11145
11145
|
${(0,P.foundationComboboxStyles)(e,a)}
|
|
11146
11146
|
:host {
|
|
11147
11147
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -11214,7 +11214,7 @@
|
|
|
11214
11214
|
::slotted([role='option']) {
|
|
11215
11215
|
margin: 0;
|
|
11216
11216
|
}
|
|
11217
|
-
`,shadowOptions:P.foundationComboboxShadowOptions},P.defaultComboboxConfig));class
|
|
11217
|
+
`,shadowOptions:P.foundationComboboxShadowOptions},P.defaultComboboxConfig));class vd extends P.ConnectionIndicator{}const fd=vd.compose({baseName:"connection-indicator",template:P.foundationConnectionIndicatorTemplate,styles:(e,a)=>c.css`
|
|
11218
11218
|
${(0,P.foundationConnectionIndicatorStyles)(e,a)}
|
|
11219
11219
|
:host {
|
|
11220
11220
|
--light-size: calc(var(--design-unit) * 3px);
|
|
@@ -11237,9 +11237,9 @@
|
|
|
11237
11237
|
font-size: var(--type-ramp-base-font-size);
|
|
11238
11238
|
color: var(--neutral-stroke-rest);
|
|
11239
11239
|
}
|
|
11240
|
-
`}),
|
|
11240
|
+
`}),wd=["baseClass","baseName","shadowOptions","styles","template"],yd=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=wd)=>Object.keys(e).filter((e=>!a.includes(e))).reduce(((a,r)=>(a[r]=e[r],a)),{}))(a);return{shadowOptions:r,styles:t,template:o,defaultConfig:i}},{defaultConfig:xd,shadowOptions:kd,styles:zd,template:Sd}=yd(P.foundationDataGrid),{defaultConfig:Cd,shadowOptions:Ad,styles:$d,template:Fd}=yd(P.foundationDataGridCell),{defaultConfig:Od,shadowOptions:Td,styles:Dd,template:Rd}=yd(P.foundationDataGridRow),Nd=c.html`
|
|
11241
11241
|
${(0,P.getPrefixedDatePicker)("rapid")}
|
|
11242
|
-
`;class
|
|
11242
|
+
`;class Ld extends P.DatePicker{}const Md=Ld.compose(Object.assign({baseName:"date-picker",template:Nd,styles:()=>c.css`
|
|
11243
11243
|
${P.foundationDatePickerStyles}
|
|
11244
11244
|
|
|
11245
11245
|
:host {
|
|
@@ -11322,7 +11322,7 @@
|
|
|
11322
11322
|
.week-days span {
|
|
11323
11323
|
font-size: var(--type-ramp-minus-2-font-size);
|
|
11324
11324
|
}
|
|
11325
|
-
`,shadowOptions:undefined},{})),
|
|
11325
|
+
`,shadowOptions:undefined},{})),Id=c.css`
|
|
11326
11326
|
${P.foundationDialogStyles}
|
|
11327
11327
|
:host {
|
|
11328
11328
|
--dialog-background: ${u.neutralLayer2};
|
|
@@ -11399,7 +11399,7 @@
|
|
|
11399
11399
|
.close-icon:active svg g path {
|
|
11400
11400
|
fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
|
|
11401
11401
|
}
|
|
11402
|
-
`,
|
|
11402
|
+
`,jd=P.defaultDialogConfig,Ed=P.foundationDialogTemplate,Pd=P.foundationDialogShadowOptions;class Bd extends P.Dialog{}const Ud=Bd.compose(Object.assign({baseName:"dialog",shadowOptions:Pd,styles:Id,template:Ed},jd));class Gd extends P.Disclosure{}const Hd=Gd.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,P.foundationDisclosureTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11403
11403
|
${(0,P.foundationDisclosureStyles)(e,a)}
|
|
11404
11404
|
:host {
|
|
11405
11405
|
font-size: var(--type-ramp-base-font-size);
|
|
@@ -11416,9 +11416,9 @@
|
|
|
11416
11416
|
padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
|
|
11417
11417
|
text-align: center;
|
|
11418
11418
|
}
|
|
11419
|
-
`,shadowOptions:P.foundationDialogShadowOptions},P.defaultDisclosureConfig));class
|
|
11419
|
+
`,shadowOptions:P.foundationDialogShadowOptions},P.defaultDisclosureConfig));class _d extends P.Divider{}const Vd=_d.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,P.foundationDividerTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11420
11420
|
${(0,P.foundationDividerStyles)(e,a)}
|
|
11421
|
-
`,shadowOptions:P.foundationDividerShadowOptions},P.defaultDividerConfig));class
|
|
11421
|
+
`,shadowOptions:P.foundationDividerShadowOptions},P.defaultDividerConfig));class Yd extends P.DropdownMenu{}const Qd=Yd.compose({baseName:"dropdown-menu",styles:(e,a)=>c.css`
|
|
11422
11422
|
${(0,P.dropdownMenuBaseStyles)("rapid",e,a)}
|
|
11423
11423
|
|
|
11424
11424
|
.actions-menu {
|
|
@@ -11433,7 +11433,7 @@
|
|
|
11433
11433
|
border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
|
|
11434
11434
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11435
11435
|
}
|
|
11436
|
-
`,template:P.foundationDropdownMenuTemplate}),{defaultConfig:
|
|
11436
|
+
`,template:P.foundationDropdownMenuTemplate}),{defaultConfig:Wd,shadowOptions:qd,styles:Jd,template:Zd}=yd(P.foundationErrorBoundary),Kd=c.css`
|
|
11437
11437
|
${P.foundationFileUploadStyles}
|
|
11438
11438
|
::-webkit-scrollbar {
|
|
11439
11439
|
width: calc(var(--design-unit) * 3px);
|
|
@@ -11455,11 +11455,11 @@
|
|
|
11455
11455
|
:host::part(upload-file-button) {
|
|
11456
11456
|
margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
|
|
11457
11457
|
}
|
|
11458
|
-
`,
|
|
11458
|
+
`,Xd=c.html`
|
|
11459
11459
|
${(0,P.getPrefixedFileUpload)("rapid")}
|
|
11460
|
-
`,
|
|
11460
|
+
`,ec=P.defaultFileUploadConfig,ac=P.foundationFileUploadShadowOptions;class rc extends P.FileUpload{}const tc=rc.compose(Object.assign({baseName:"file-upload",shadowOptions:ac,styles:Kd,template:Xd},ec)),oc=c.html`
|
|
11461
11461
|
${(0,P.getPrefixedFilterTemplate)("rapid")}
|
|
11462
|
-
`;class
|
|
11462
|
+
`;class ic extends P.Filter{}const nc=ic.compose({baseName:"filter",template:oc,styles:(e,a)=>c.css`
|
|
11463
11463
|
${P.foundationFilterStyles}
|
|
11464
11464
|
.filter-wrapper {
|
|
11465
11465
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -11486,9 +11486,9 @@
|
|
|
11486
11486
|
.flex-row rapid-select {
|
|
11487
11487
|
flex: 1;
|
|
11488
11488
|
}
|
|
11489
|
-
`}),
|
|
11489
|
+
`}),lc=c.html`
|
|
11490
11490
|
${(0,P.filterBarTemplate)("rapid")}
|
|
11491
|
-
`;class
|
|
11491
|
+
`;class gc extends P.FilterBar{}const sc=gc.compose({baseName:"filter-bar",template:lc,styles:(e,a)=>c.css`
|
|
11492
11492
|
${(0,P.foundationFilterBarStyles)(e,a)}
|
|
11493
11493
|
.toggle,
|
|
11494
11494
|
.toggle-collapsed {
|
|
@@ -11508,7 +11508,7 @@
|
|
|
11508
11508
|
.filter-bar {
|
|
11509
11509
|
background: var(--neutral-layer-3);
|
|
11510
11510
|
}
|
|
11511
|
-
`}),{defaultConfig:
|
|
11511
|
+
`}),{defaultConfig:dc,shadowOptions:cc,styles:pc,template:uc}=yd(P.foundationFlexLayout);class hc extends P.Flipper{}const mc=hc.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,P.foundationFlipperTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11512
11512
|
${(0,P.foundationFlipperStyles)(e,a)}
|
|
11513
11513
|
:host {
|
|
11514
11514
|
color: var(--neutral-foreground-rest);
|
|
@@ -11528,7 +11528,7 @@
|
|
|
11528
11528
|
background: var(--accent-fill-rest);
|
|
11529
11529
|
color: var(--neutral-foreground-rest);
|
|
11530
11530
|
}
|
|
11531
|
-
`,shadowOptions:P.foundationFlipperShadowOptions},P.defaultFlipperConfig)),
|
|
11531
|
+
`,shadowOptions:P.foundationFlipperShadowOptions},P.defaultFlipperConfig)),bc=c.css`
|
|
11532
11532
|
${P.foundationFlyoutStyles}
|
|
11533
11533
|
div.flyout {
|
|
11534
11534
|
background-color: var(--neutral-layer-2);
|
|
@@ -11576,9 +11576,9 @@
|
|
|
11576
11576
|
background-color: var(--neutral-fill-hover);
|
|
11577
11577
|
border-radius: calc(var(--stroke-width) * 3px);
|
|
11578
11578
|
}
|
|
11579
|
-
`,
|
|
11579
|
+
`,vc=c.html`
|
|
11580
11580
|
${(0,P.getPrefixedFlyout)("rapid")}
|
|
11581
|
-
`,
|
|
11581
|
+
`,fc=P.defaultFlyoutConfig,wc=P.foundationFlyoutShadowOptions;class yc extends P.Flyout{}const xc=yc.compose(Object.assign({baseName:"flyout",shadowOptions:wc,styles:bc,template:vc},fc)),{defaultConfig:kc,shadowOptions:zc,styles:Sc,template:Cc}=yd(P.foundationGridLayout),{defaultConfig:Ac,shadowOptions:$c,styles:Fc,template:Oc}=yd(P.foundationGridLayoutItem);class Tc extends P.HorizontalScroll{}const Dc={nextFlipper:c.html`
|
|
11582
11582
|
<rapid-flipper
|
|
11583
11583
|
@click="${e=>e.scrollToNext()}"
|
|
11584
11584
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
@@ -11589,11 +11589,11 @@
|
|
|
11589
11589
|
direction="previous"
|
|
11590
11590
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
11591
11591
|
></rapid-flipper>
|
|
11592
|
-
`},
|
|
11592
|
+
`},Rc=Tc.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,P.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11593
11593
|
${(0,P.foundationHorizontalScrollStyles)(e,a)}
|
|
11594
|
-
`,shadowOptions:P.foundationHorizontalScrollShadowOptions},
|
|
11594
|
+
`,shadowOptions:P.foundationHorizontalScrollShadowOptions},Dc));class Nc extends P.Icon{}const Lc=P.defaultIconConfig,Mc=P.foundationIconShadowOptions,Ic=Nc.compose(Object.assign({baseName:"icon",template:P.foundationIconTemplate,styles:(e,a)=>c.css`
|
|
11595
11595
|
${(0,P.foundationIconStyles)(e,a)}
|
|
11596
|
-
`,shadowOptions:
|
|
11596
|
+
`,shadowOptions:Mc},Lc));class jc extends P.Listbox{}const Ec=jc.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,P.foundationListboxTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11597
11597
|
${(0,P.foundationListboxStyles)(e,a)}
|
|
11598
11598
|
|
|
11599
11599
|
:host {
|
|
@@ -11604,7 +11604,7 @@
|
|
|
11604
11604
|
::slotted(*:last-child) {
|
|
11605
11605
|
border-bottom: none;
|
|
11606
11606
|
}
|
|
11607
|
-
`,shadowOptions:P.foundationListboxShadowOptions},P.defaultListboxConfig));class
|
|
11607
|
+
`,shadowOptions:P.foundationListboxShadowOptions},P.defaultListboxConfig));class Pc extends P.ListboxOption{}const Bc=Pc.compose(Object.assign({baseName:"option",template:(e,a)=>(0,P.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11608
11608
|
${(0,P.foundationListboxOptionStyles)(e,a)}
|
|
11609
11609
|
:host {
|
|
11610
11610
|
border-radius: 0;
|
|
@@ -11621,14 +11621,14 @@
|
|
|
11621
11621
|
background: var(--neutral-layer-4);
|
|
11622
11622
|
color: var(--accent-fill-rest);
|
|
11623
11623
|
}
|
|
11624
|
-
`,shadowOptions:P.foundationListboxOptionShadowOptions},P.defaultListboxOptionConfig));class
|
|
11624
|
+
`,shadowOptions:P.foundationListboxOptionShadowOptions},P.defaultListboxOptionConfig));class Uc extends P.Menu{}const Gc=Uc.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,P.foundationMenuTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11625
11625
|
${(0,P.foundationMenuStyles)(e,a)}
|
|
11626
11626
|
:host {
|
|
11627
11627
|
border: calc(var(--focus-stroke-width) * 1px) solid
|
|
11628
11628
|
color-mix(in srgb, ${u.neutralFillStealthHover}, transparent 15%);
|
|
11629
11629
|
padding: 0;
|
|
11630
11630
|
}
|
|
11631
|
-
`,shadowOptions:P.foundationMenuShadowOptions},P.defaultMenuConfig)),
|
|
11631
|
+
`,shadowOptions:P.foundationMenuShadowOptions},P.defaultMenuConfig)),Hc=P.foundationMenuItemShadowOptions;class _c extends P.MenuItem{}const Vc=_c.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,P.foundationMenuItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11632
11632
|
${(0,P.foundationMenuItemStyles)(e,a)}
|
|
11633
11633
|
:host {
|
|
11634
11634
|
margin: 0;
|
|
@@ -11664,9 +11664,9 @@
|
|
|
11664
11664
|
background: ${u.neutralFillStealthHover}
|
|
11665
11665
|
color: ${u.neutralForegroundRest}
|
|
11666
11666
|
*/
|
|
11667
|
-
`,shadowOptions:
|
|
11668
|
-
${
|
|
11669
|
-
`,
|
|
11667
|
+
`,shadowOptions:Hc},P.defaultMenuItemConfig)),Yc=c.css`
|
|
11668
|
+
${Id}
|
|
11669
|
+
`,Qc=P.defaultModalConfig,Wc=P.foundationModalTemplate,qc=P.foundationModalShadowOptions;class Jc extends P.Modal{}const Zc=Jc.compose(Object.assign({baseName:"modal",shadowOptions:qc,styles:Yc,template:Wc},Qc)),Kc=c.css`
|
|
11670
11670
|
${P.multiselectStyles}
|
|
11671
11671
|
|
|
11672
11672
|
#display-field {
|
|
@@ -11742,9 +11742,9 @@
|
|
|
11742
11742
|
rapid-checkbox[disabled] {
|
|
11743
11743
|
cursor: not-allowed;
|
|
11744
11744
|
}
|
|
11745
|
-
`,
|
|
11745
|
+
`,Xc=c.html`
|
|
11746
11746
|
${(0,P.getPrefixedMultiselect)("rapid")}
|
|
11747
|
-
`;class
|
|
11747
|
+
`;class ep extends P.Multiselect{}const ap=P.defaultMultiselectConfig,rp=P.foundationMultiselectShadowOptions,tp=ep.compose(Object.assign({baseName:"multiselect",template:Xc,styles:Kc,shadowOptions:rp},ap));class op extends P.NumberField{}const ip=P.defaultNumberFieldConfig,np=P.foundationNumberFieldTemplate,lp=P.foundationNumberFieldShadowOptions,gp=op.compose(Object.assign({baseName:"number-field",template:np,styles:(e,a)=>c.css`
|
|
11748
11748
|
:host {
|
|
11749
11749
|
margin-bottom: calc(var(--design-unit) * 2px);
|
|
11750
11750
|
}
|
|
@@ -11829,11 +11829,11 @@
|
|
|
11829
11829
|
.control:focus-visible {
|
|
11830
11830
|
outline: none;
|
|
11831
11831
|
}
|
|
11832
|
-
`,shadowOptions:
|
|
11832
|
+
`,shadowOptions:lp},ip));class sp extends P.Progress{}const dp=sp.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,P.foundationProgressTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11833
11833
|
${(0,P.foundationProgressStyles)(e,a)}
|
|
11834
|
-
`,shadowOptions:P.foundationProgressShadowOptions},P.defaultProgressConfig));class
|
|
11834
|
+
`,shadowOptions:P.foundationProgressShadowOptions},P.defaultProgressConfig));class cp extends P.ProgressRing{}const pp=cp.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,P.foundationProgressRingTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11835
11835
|
${(0,P.foundationProgressRingStyles)(e,a)}
|
|
11836
|
-
`,shadowOptions:P.foundationProgressRingShadowOptions},P.defaultProgressRingConfig));class
|
|
11836
|
+
`,shadowOptions:P.foundationProgressRingShadowOptions},P.defaultProgressRingConfig));class up extends P.Radio{}const hp=up.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,P.foundationRadioTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11837
11837
|
${(0,P.foundationRadioStyles)(e,a)}
|
|
11838
11838
|
:host {
|
|
11839
11839
|
margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
|
|
@@ -11865,9 +11865,9 @@
|
|
|
11865
11865
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
11866
11866
|
background: var(--accent-fill-rest);
|
|
11867
11867
|
}
|
|
11868
|
-
`,shadowOptions:P.foundationRadioShadowOptions},P.defaultRadioConfig));class
|
|
11868
|
+
`,shadowOptions:P.foundationRadioShadowOptions},P.defaultRadioConfig));class mp extends P.RadioGroup{}const bp=mp.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,P.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11869
11869
|
${(0,P.foundationRadioGroupStyles)(e,a)}
|
|
11870
|
-
`,shadowOptions:P.foundationRadioGroupShadowOptions},P.defaultRadioGroupConfig));class
|
|
11870
|
+
`,shadowOptions:P.foundationRadioGroupShadowOptions},P.defaultRadioGroupConfig));class vp extends P.SegmentedControl{}const fp=vp.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,P.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11871
11871
|
${(0,P.foundationSegmentedControlStyles)(e,a)}
|
|
11872
11872
|
:host {
|
|
11873
11873
|
font-family: var(--body-font);
|
|
@@ -11903,7 +11903,7 @@
|
|
|
11903
11903
|
border-color: transparent;
|
|
11904
11904
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
11905
11905
|
}
|
|
11906
|
-
`,shadowOptions:undefined},{}));class
|
|
11906
|
+
`,shadowOptions:undefined},{}));class wp extends P.Radio{}const yp=wp.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,P.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11907
11907
|
${(0,P.foundationSegmentedItemStyles)(e,a)}
|
|
11908
11908
|
:host {
|
|
11909
11909
|
color: var(--neutral-fill-strong-rest);
|
|
@@ -11915,7 +11915,7 @@
|
|
|
11915
11915
|
:host([aria-checked='true']) {
|
|
11916
11916
|
color: color-mix(in srgb, white, transparent 10%);
|
|
11917
11917
|
}
|
|
11918
|
-
`,shadowOptions:undefined},{}));class
|
|
11918
|
+
`,shadowOptions:undefined},{}));class xp extends P.Select{}const kp=xp.compose(Object.assign({baseName:"select",template:(e,a)=>(0,P.foundationSelectTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11919
11919
|
${(0,P.foundationSelectStyles)(e,a)}
|
|
11920
11920
|
:host {
|
|
11921
11921
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
@@ -11987,14 +11987,14 @@
|
|
|
11987
11987
|
::slotted([role='option']) {
|
|
11988
11988
|
margin: 0;
|
|
11989
11989
|
}
|
|
11990
|
-
`,shadowOptions:P.foundationSelectShadowOptions},P.defaultSelectConfig));class
|
|
11990
|
+
`,shadowOptions:P.foundationSelectShadowOptions},P.defaultSelectConfig));class zp extends P.Skeleton{}const Sp=zp.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,P.foundationSkeletonTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11991
11991
|
${(0,P.foundationSkeletonStyles)(e,a)}
|
|
11992
11992
|
:host {
|
|
11993
11993
|
--skeleton-fill: var(
|
|
11994
11994
|
--neutral-fill-stealth-rest
|
|
11995
11995
|
); /** value in ux doc rgba(242 242 242 / 0.1) */
|
|
11996
11996
|
}
|
|
11997
|
-
`,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class
|
|
11997
|
+
`,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class Cp extends P.Slider{}const Ap=Cp.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,P.foundationSliderTemplate)(e,a),styles:(e,a)=>c.css`
|
|
11998
11998
|
${(0,P.foundationSliderStyles)(e,a)}
|
|
11999
11999
|
|
|
12000
12000
|
.thumb-cursor {
|
|
@@ -12052,7 +12052,7 @@
|
|
|
12052
12052
|
background-color: var(--neutral-stroke-rest);
|
|
12053
12053
|
width: calc((var(--track-width) + 2) * 1px) !important;
|
|
12054
12054
|
}
|
|
12055
|
-
`,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class
|
|
12055
|
+
`,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class $p extends P.SliderLabel{}const Fp=$p.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,P.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12056
12056
|
${(0,P.foundationSliderLabelStyles)(e,a)}
|
|
12057
12057
|
.label {
|
|
12058
12058
|
padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
|
|
@@ -12063,7 +12063,7 @@
|
|
|
12063
12063
|
text-align: center;
|
|
12064
12064
|
font-size: var(--type-ramp-minus-1-font-size, 12px);
|
|
12065
12065
|
}
|
|
12066
|
-
`,shadowOptions:P.foundationSliderLabelShadowOptions},P.defaultSliderLabelConfig)),
|
|
12066
|
+
`,shadowOptions:P.foundationSliderLabelShadowOptions},P.defaultSliderLabelConfig)),Op=c.css`
|
|
12067
12067
|
${P.foundationSnackbarStyles}
|
|
12068
12068
|
.snackbar {
|
|
12069
12069
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
|
|
@@ -12084,9 +12084,9 @@
|
|
|
12084
12084
|
.action {
|
|
12085
12085
|
gap: calc(var(--design-unit) * 2px);
|
|
12086
12086
|
}
|
|
12087
|
-
`,
|
|
12087
|
+
`,Tp=c.html`
|
|
12088
12088
|
${(0,P.getPrefixedSnackbar)("rapid")}
|
|
12089
|
-
`,
|
|
12089
|
+
`,Dp=P.foundationSnackbarShadowOptions;class Rp extends P.Snackbar{}const Np=Rp.compose({baseName:"snackbar",shadowOptions:Dp,styles:Op,template:Tp}),Lp=c.css`
|
|
12090
12090
|
${P.foundationStepperStyles}
|
|
12091
12091
|
|
|
12092
12092
|
:host {
|
|
@@ -12133,11 +12133,11 @@
|
|
|
12133
12133
|
padding: 0 calc(var(--design-unit) * 2px);
|
|
12134
12134
|
color: var(--neutral-foreground-hint);
|
|
12135
12135
|
}
|
|
12136
|
-
`,
|
|
12136
|
+
`,Mp=c.html`
|
|
12137
12137
|
${(0,P.getPrefixedStepper)("rapid")}
|
|
12138
|
-
`;class
|
|
12138
|
+
`;class Ip extends P.Stepper{}const jp=Ip.compose(Object.assign({baseName:"stepper",template:Mp,styles:Lp,shadowOptions:P.foundationStepperShadowOptions},P.defaultStepperConfig)),Ep=c.html`
|
|
12139
12139
|
${(0,P.getPrefixedStepperTab)("rapid")}
|
|
12140
|
-
`;class
|
|
12140
|
+
`;class Pp extends P.StepperTab{}const Bp=Pp.compose(Object.assign({baseName:"stepper-tab",template:Ep,styles:(e,a)=>c.css`
|
|
12141
12141
|
${(0,P.foundationStepperTabStyles)(e,a)}
|
|
12142
12142
|
|
|
12143
12143
|
rapid-tree-item {
|
|
@@ -12197,7 +12197,7 @@
|
|
|
12197
12197
|
:host([error]) .step-title {
|
|
12198
12198
|
color: var(--error-color);
|
|
12199
12199
|
}
|
|
12200
|
-
`,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class
|
|
12200
|
+
`,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class Up extends P.StepperTabPanel{}const Gp=Up.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,P.foundationStepperTabPanelTemplate)(e,a),shadowOptions:P.foundationStepperTabPanelShadowOptions},P.defaultStepperTabPanelConfig)),Hp={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class _p extends P.Switch{}const Vp=_p.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,P.foundationSwitchTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12201
12201
|
${(0,P.foundationSwitchStyles)(e,a)}
|
|
12202
12202
|
:host {
|
|
12203
12203
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -12234,7 +12234,7 @@
|
|
|
12234
12234
|
:host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
|
|
12235
12235
|
background: var(--accent-fill-rest);
|
|
12236
12236
|
}
|
|
12237
|
-
`,shadowOptions:P.foundationSwitchShadowOptions},
|
|
12237
|
+
`,shadowOptions:P.foundationSwitchShadowOptions},Hp));class Yp extends P.Tab{}const Qp=Yp.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,P.foundationTabTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12238
12238
|
${(0,P.foundationTabStyles)(e,a)}
|
|
12239
12239
|
:host {
|
|
12240
12240
|
background-color: ${u.neutralLayer2};
|
|
@@ -12247,12 +12247,12 @@
|
|
|
12247
12247
|
:host([aria-selected='true']:hover) {
|
|
12248
12248
|
background-color: ${u.neutralLayer4};
|
|
12249
12249
|
}
|
|
12250
|
-
`,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class
|
|
12250
|
+
`,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class Wp extends P.TabPanel{}const qp=Wp.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,P.foundationTabPanelTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12251
12251
|
${(0,P.foundationTabPanelStyles)(e,a)}
|
|
12252
12252
|
:host {
|
|
12253
12253
|
padding: 0;
|
|
12254
12254
|
}
|
|
12255
|
-
`,shadowOptions:P.foundationTabPanelShadowOptions},P.defaultTabPanelConfig));class
|
|
12255
|
+
`,shadowOptions:P.foundationTabPanelShadowOptions},P.defaultTabPanelConfig));class Jp extends P.Tabs{}const Zp=Jp.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,P.foundationTabsTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12256
12256
|
${(0,P.foundationTabsStyles)(e,a)}
|
|
12257
12257
|
:host {
|
|
12258
12258
|
--base-height-multiplier: 9;
|
|
@@ -12327,7 +12327,7 @@
|
|
|
12327
12327
|
:host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
|
|
12328
12328
|
padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
12329
12329
|
}
|
|
12330
|
-
`,shadowOptions:P.foundationTabsShadowOptions},P.defaultTabsConfig));class
|
|
12330
|
+
`,shadowOptions:P.foundationTabsShadowOptions},P.defaultTabsConfig));class Kp extends P.TextArea{}const Xp=Kp.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,P.foundationTextAreaTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12331
12331
|
${(0,P.foundationTextAreaStyles)(e,a)}
|
|
12332
12332
|
|
|
12333
12333
|
:host .control {
|
|
@@ -12353,7 +12353,7 @@
|
|
|
12353
12353
|
font-weight: 700;
|
|
12354
12354
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12355
12355
|
}
|
|
12356
|
-
`,shadowOptions:P.foundationTextAreaShadowOptions},P.defaultTextAreaConfig));class
|
|
12356
|
+
`,shadowOptions:P.foundationTextAreaShadowOptions},P.defaultTextAreaConfig));class eu extends P.TextField{}const au=eu.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,P.foundationTextFieldTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12357
12357
|
${(0,P.foundationTextFieldStyles)(e,a)}
|
|
12358
12358
|
|
|
12359
12359
|
:host {
|
|
@@ -12390,7 +12390,7 @@
|
|
|
12390
12390
|
font-weight: 700;
|
|
12391
12391
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12392
12392
|
}
|
|
12393
|
-
`,shadowOptions:P.foundationTextFieldShadowOptions},P.defaultTextFieldConfig)),
|
|
12393
|
+
`,shadowOptions:P.foundationTextFieldShadowOptions},P.defaultTextFieldConfig)),ru=c.css`
|
|
12394
12394
|
${P.foundationToastStyles}
|
|
12395
12395
|
.toast {
|
|
12396
12396
|
background-color: ${u.neutralLayer1};
|
|
@@ -12445,7 +12445,7 @@
|
|
|
12445
12445
|
:host([notify='serious']) .toast::after {
|
|
12446
12446
|
background-color: var(--error-color);
|
|
12447
12447
|
}
|
|
12448
|
-
`,
|
|
12448
|
+
`,tu=P.defaultToastConfig,ou=P.foundationToastShadowOptions;class iu extends P.Toast{}const nu=iu.compose(Object.assign({baseName:"toast",shadowOptions:ou,styles:ru,template:P.foundationToastTemplate},tu));class lu extends P.Toolbar{}const gu=lu.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,P.foundationToolbarTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12449
12449
|
${(0,P.foundationToolbarStyles)(e,a)}
|
|
12450
12450
|
:host {
|
|
12451
12451
|
align-items: center;
|
|
@@ -12455,7 +12455,7 @@
|
|
|
12455
12455
|
.positioning-region {
|
|
12456
12456
|
align-items: center;
|
|
12457
12457
|
}
|
|
12458
|
-
`,shadowOptions:P.foundationToolbarShadowOptions},P.defaultToolbarConfig));class
|
|
12458
|
+
`,shadowOptions:P.foundationToolbarShadowOptions},P.defaultToolbarConfig));class su extends P.Tooltip{}const du=su.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,P.foundationTooltipTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12459
12459
|
${(0,P.foundationTooltipStyles)(e,a)}
|
|
12460
12460
|
|
|
12461
12461
|
:host {
|
|
@@ -12478,7 +12478,7 @@
|
|
|
12478
12478
|
alpha-anchored-region.bottom.right .tooltip {
|
|
12479
12479
|
margin-left: 0;
|
|
12480
12480
|
}
|
|
12481
|
-
`,shadowOptions:P.foundationTooltipShadowOptions},P.defaultTooltipConfig));class
|
|
12481
|
+
`,shadowOptions:P.foundationTooltipShadowOptions},P.defaultTooltipConfig));class cu extends P.TreeItem{}const pu={expandCollapseGlyph:'\n <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="expand-collapse-glyph">\n <path d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"/>\n </svg>'},uu=cu.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,P.foundationTreeItemTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12482
12482
|
${(0,P.foundationTreeItemStyles)(e,a)}
|
|
12483
12483
|
:host {
|
|
12484
12484
|
font-size: var(--type-ramp-base-font-size);
|
|
@@ -12517,11 +12517,11 @@
|
|
|
12517
12517
|
width: calc(var(--design-unit) * 3px);
|
|
12518
12518
|
height: calc(var(--design-unit) * 3px);
|
|
12519
12519
|
}
|
|
12520
|
-
`,shadowOptions:P.foundationTreeItemShadowOptions},
|
|
12520
|
+
`,shadowOptions:P.foundationTreeItemShadowOptions},pu));class hu extends P.TreeView{}const mu=hu.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,P.foundationTreeViewTemplate)(e,a),styles:(e,a)=>c.css`
|
|
12521
12521
|
${(0,P.foundationTreeViewStyles)(e,a)}
|
|
12522
|
-
`,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),
|
|
12522
|
+
`,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),bu=c.html`
|
|
12523
12523
|
${(0,P.getPrefixedUrlInput)("rapid")}
|
|
12524
|
-
`;class
|
|
12524
|
+
`;class vu extends P.UrlInput{}const fu={designSystemProvider:Rs,rapidAccordion:Ls,rapidAccordionItem:Is,rapidActionsMenu:Es,rapidAnchor:Ys,rapidAnchoredRegion:Ws,rapidAvatar:Js,rapidBadge:Ks,rapidBanner:rd,rapidBreadcrumb:od,rapidBreadcrumbItem:nd,rapidButton:gd,rapidCalendar:dd,rapidCard:pd,rapidCheckbox:hd,rapidCombobox:bd,rapidConnectionIndicator:fd,rapidDataGrid:()=>(0,P.foundationDataGrid)(),rapidDataGridCell:()=>(0,P.foundationDataGridCell)(),rapidDataGridRow:()=>(0,P.foundationDataGridRow)(),rapidDatePicker:Md,rapidDialog:Ud,rapidDisclosure:Hd,rapidDivider:Vd,rapidDropdownMenu:Qd,rapidErrorBoundary:()=>(0,P.foundationErrorBoundary)(),rapidFileUpload:tc,rapidFilter:nc,rapidFilterBar:sc,rapidFlexLayout:()=>(0,P.foundationFlexLayout)(),rapidFlipper:mc,rapidFlyout:xc,rapidGridLayout:()=>(0,P.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,P.foundationGridLayoutItem)(),rapidHorizontalScroll:Rc,rapidIcon:Ic,rapidListbox:Ec,rapidListboxOption:Bc,rapidMenu:Gc,rapidMenuItem:Vc,rapidModal:Zc,rapidMultiselect:tp,rapidNumberField:gp,rapidProgress:dp,rapidProgressRing:pp,rapidRadio:hp,rapidRadioGroup:bp,rapidSegmentedControl:fp,rapidSegmentedItem:yp,rapidSelect:kp,rapidSkeleton:Sp,rapidSlider:Ap,rapidSliderLabel:Fp,rapidSnackbar:Np,rapidStepper:jp,rapidStepperTab:Bp,rapidStepperTabPanel:Gp,rapidSwitch:Vp,rapidTab:Qp,rapidTabPanel:qp,rapidTabs:Zp,rapidTextArea:Xp,rapidTextField:au,rapidToast:nu,rapidToolbar:gu,rapidTooltip:du,rapidTreeItem:uu,rapidTreeView:mu,rapidUrlInput:vu.compose(Object.assign({baseName:"url-input",template:bu,styles:(e,a)=>c.css`
|
|
12525
12525
|
${(0,P.foundationUrlInputStyles)(e,a)}
|
|
12526
12526
|
a {
|
|
12527
12527
|
color: var(--accent-fill-rest);
|
|
@@ -12537,7 +12537,7 @@
|
|
|
12537
12537
|
font-size: var(--type-ramp-base-font-size);
|
|
12538
12538
|
top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
|
|
12539
12539
|
}
|
|
12540
|
-
`,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var
|
|
12540
|
+
`,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var wu,yu=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(wu||(wu={}));const xu={Roboto:je,"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'},ku=xu["Segoe UI"],zu=c.css`
|
|
12541
12541
|
${(0,p.display)("block")} :host {
|
|
12542
12542
|
width: 100%;
|
|
12543
12543
|
display: inline-flex;
|
|
@@ -12669,7 +12669,7 @@
|
|
|
12669
12669
|
alpha-button {
|
|
12670
12670
|
margin: 0;
|
|
12671
12671
|
}
|
|
12672
|
-
`,
|
|
12672
|
+
`,Su=c.html`
|
|
12673
12673
|
<template>
|
|
12674
12674
|
<div class="configuration">
|
|
12675
12675
|
${(0,c.when)((e=>!e.customDesignMode),c.html`
|
|
@@ -12877,7 +12877,7 @@
|
|
|
12877
12877
|
</div>
|
|
12878
12878
|
</div>
|
|
12879
12879
|
${(0,c.when)((e=>!e.customDesignMode),c.html`
|
|
12880
|
-
<alpha-checkbox :checked="${(0
|
|
12880
|
+
<alpha-checkbox :checked="${(0,$n.Z)((e=>e.preserveOptions),"boolean")}">
|
|
12881
12881
|
Preserve selected options when changing design systems
|
|
12882
12882
|
</alpha-checkbox>
|
|
12883
12883
|
`)}
|
|
@@ -12892,7 +12892,7 @@
|
|
|
12892
12892
|
<slot></slot>
|
|
12893
12893
|
</div>
|
|
12894
12894
|
</template>
|
|
12895
|
-
`,
|
|
12895
|
+
`,Cu=({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(xu).find((a=>xu[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Au=Cu(Ge),$u={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Fu={accent:"primary",neutral:"secondary",font:"white"},Ou=Cu(l.designTokens),Tu=Cu(Ts),Du={zero:{prefix:"zero",tokenDefaults:Au,buttons:$u,badge:Fu},alpha:{prefix:"alpha",tokenDefaults:Ou,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Tu,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:$u,badge:Fu}};let Ru=class extends c.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Au.luminance===u.StandardLuminance.DarkMode,this.luminance=Au.luminance,this.neutralColor=Au.neutralColor,this.accentColor=Au.accentColor,this.bodyFont=Au.bodyFont,this.density=Au.density,this.borderRadius=Au.borderRadius,this.strokeWidth=Au.strokeWidth,this.designUnit=Au.designUnit,this.baseFontSize=Au.baseFontSize,this.baseLineHeight=Au.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof p.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof u.Combobox||e.target instanceof u.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof p.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?u.StandardLuminance.DarkMode:u.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&c.DOM.queueUpdate((()=>{const e=Cu(a);Du.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,yu.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Du[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,yu.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"},{name:"Rapid",value:"rapid"}];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:Du[this.ds].prefix,buttonAppearanceAccent:Du[this.ds].buttons.accent,buttonAppearanceNeutral:Du[this.ds].buttons.neutral,buttonAppearanceOutline:Du[this.ds].buttons.outline,buttonAppearanceText:Du[this.ds].buttons.text,badgeAppearanceAccent:Du[this.ds].badge.accent,badgeAppearanceNeutral:Du[this.ds].badge.neutral,badgeText:Du[this.ds].badge.font};this.$emit(wu.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Du[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:xu[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(wu.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===u.StandardLuminance.DarkMode,c.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={},Ie(),c.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(wu.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,yu.__decorate)([(0,c.attr)({mode:"boolean",attribute:"custom-design-mode"})],Ru.prototype,"customDesignMode",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"designSystems",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"ds",void 0),(0,yu.__decorate)([c.attr],Ru.prototype,"darkMode",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"neutralColor",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"accentColor",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"bodyFont",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"density",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"borderRadius",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"strokeWidth",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"designUnit",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"baseFontSize",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"baseLineHeight",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"preserveOptions",void 0),Ru=(0,yu.__decorate)([(0,c.customElement)({name:"design-system-editor",template:Su,styles:zu})],Ru);const Nu=e=>{const a=(e=>{const a=(0,fe.parseColorHexRGB)(e);return a?u.SwatchRGB.from(a):null})(e);return a?u.PaletteRGB.create(a):null},Lu=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Mu=(e,a)=>{const r=Nu(e.neutralColor);u.neutralPalette.setValueFor(a,r);const t=Nu(e.accentColor);u.accentPalette.setValueFor(a,t),u.baseLayerLuminance.setValueFor(a,e.luminance),u.density.setValueFor(a,e.density),u.controlCornerRadius.setValueFor(a,e.borderRadius),u.strokeWidth.setValueFor(a,e.strokeWidth),u.designUnit.setValueFor(a,e.designUnit),u.bodyFont.setValueFor(a,e.bodyFont),u.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),u.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),u.typeRampMinus1FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.minusOne,a)),u.typeRampMinus1LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.minusOne,a)),u.typeRampMinus2FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.minusTwo,a)),u.typeRampMinus2LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.minusTwo,a)),u.typeRampPlus1FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.plusOne,a)),u.typeRampPlus1LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.plusOne,a)),u.typeRampPlus2FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.plusTwo,a)),u.typeRampPlus2LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.plusTwo,a)),u.typeRampPlus3FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.plusThree,a)),u.typeRampPlus3LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.plusThree,a)),u.typeRampPlus4FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.plusFour,a)),u.typeRampPlus4LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.plusFour,a)),u.typeRampPlus5FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.plusFive,a)),u.typeRampPlus5LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.plusFive,a)),u.typeRampPlus6FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.plusSix,a)),u.typeRampPlus6LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.plusSix,a))},Iu=c.css`
|
|
12896
12896
|
:host {
|
|
12897
12897
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
12898
12898
|
--badge-fill-neutral: var(--neutral-fill-rest);
|
|
@@ -12988,7 +12988,7 @@
|
|
|
12988
12988
|
display: flex;
|
|
12989
12989
|
flex-direction: column;
|
|
12990
12990
|
}
|
|
12991
|
-
`,
|
|
12991
|
+
`,ju=c.html`
|
|
12992
12992
|
${e=>(e=>c.html`
|
|
12993
12993
|
<template>
|
|
12994
12994
|
<${e}-design-system-provider ${(0,c.ref)("provider")}>
|
|
@@ -13400,7 +13400,7 @@
|
|
|
13400
13400
|
</${e}-design-system-provider>
|
|
13401
13401
|
</template>
|
|
13402
13402
|
`)(e.prefix)}
|
|
13403
|
-
`;let
|
|
13403
|
+
`;let Eu=class extends c.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.buttonAppearanceAccent="primary-blue",this.buttonAppearanceNeutral="primary-grey",this.buttonAppearanceOutline="primary-gradient",this.buttonAppearanceText="lightweight",this.badgeAppearanceAccent="primary",this.badgeAppearanceNeutral="secondary",this.badgeText="white",this.cards=Array.from({length:8},((e,a)=>a+1)),this.countries=["Afghanistan","Aland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bhutan","Bolivia","Bonaire, Sint Eustatius and Saba","Cambodia","Cameroon","Canada"],this.menuActions=[{name:"View",callback:e=>console.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>console.debug("DELETE!!!",e)},{name:"Edit",callback:e=>console.debug("EDIT!!!",e)},{name:"Wait",callback:e=>console.debug("WAIT???",e)}],this.menuDefinition={actions:this.menuActions,buttonAppearance:"stealth",data:{name:"test"}},this.dropDownMenuItems=[{name:"Menu item 1",callback:()=>alert("Menu item 1 clicked"),icon:{name:"glasses"}},{name:"Menu item 2",callback:()=>alert("Menu item 2 clicked")},{name:"Menu item 3",callback:()=>alert("Menu item 3 clicked"),submenu:[{name:"Menu item 5",callback:()=>alert("Menu item 5 clicked"),icon:{name:"address-card"}},{name:"Menu item 6",callback:()=>alert("Menu item 6 clicked"),submenu:[{name:"Menu item 7",callback:()=>alert("Menu item 7 clicked"),color:"red",icon:{name:"address-card"}},{name:"Menu item 8",callback:()=>alert("Menu item 8 clicked"),isDisabled:()=>!0}]}]}]}connectedCallback(){super.connectedCallback(),document.body.addEventListener(wu.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(wu.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(ku)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Mu(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,this.buttonAppearanceText=e.detail.buttonAppearanceText,this.badgeAppearanceAccent=e.detail.badgeAppearanceAccent,this.badgeAppearanceNeutral=e.detail.badgeAppearanceNeutral,this.badgeText=e.detail.badgeText}showDialog(e){this[e].show()}closeDialog(e){this[e].close()}dismissBanner(){this.banner.dismiss()}};(0,yu.__decorate)([c.observable],Eu.prototype,"modal",void 0),(0,yu.__decorate)([c.attr],Eu.prototype,"prefix",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"buttonAppearanceAccent",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"buttonAppearanceNeutral",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"buttonAppearanceOutline",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"buttonAppearanceText",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"badgeAppearanceAccent",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"badgeAppearanceNeutral",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"badgeText",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"cards",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"countries",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"menuActions",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"menuDefinition",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"dropDownMenuItems",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"provider",void 0),Eu=(0,yu.__decorate)([(0,c.customElement)({name:"preview-components",template:ju,styles:Iu})],Eu);const Pu=c.css`
|
|
13404
13404
|
.export {
|
|
13405
13405
|
display: flex;
|
|
13406
13406
|
justify-content: center;
|
|
@@ -13411,7 +13411,7 @@
|
|
|
13411
13411
|
display: flex;
|
|
13412
13412
|
justify-content: space-between;
|
|
13413
13413
|
}
|
|
13414
|
-
`,
|
|
13414
|
+
`,Bu=c.html`
|
|
13415
13415
|
<template>
|
|
13416
13416
|
<div class="export">
|
|
13417
13417
|
<alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
|
|
@@ -13432,7 +13432,7 @@
|
|
|
13432
13432
|
</alpha-modal>
|
|
13433
13433
|
</div>
|
|
13434
13434
|
</template>
|
|
13435
|
-
`;let
|
|
13435
|
+
`;let Uu=class extends c.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(wu.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(wu.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,yu.__decorate)([c.attr],Uu.prototype,"value",void 0),(0,yu.__decorate)([c.attr],Uu.prototype,"tokensPath",void 0),Uu=(0,yu.__decorate)([(0,c.customElement)({name:"design-system-export",template:Bu,styles:Pu})],Uu);const Gu=c.css`
|
|
13436
13436
|
.colors {
|
|
13437
13437
|
display: flex;
|
|
13438
13438
|
flex-wrap: wrap;
|
|
@@ -13445,23 +13445,23 @@
|
|
|
13445
13445
|
flex-grow: 1;
|
|
13446
13446
|
height: 20px;
|
|
13447
13447
|
}
|
|
13448
|
-
`,
|
|
13448
|
+
`,Hu=c.html`
|
|
13449
13449
|
<ul class="colors">
|
|
13450
13450
|
${(0,c.repeat)((e=>e.swatches),c.html`
|
|
13451
13451
|
<li class="color" style="background-color: ${e=>e.toColorString()}"></li>
|
|
13452
13452
|
`)}
|
|
13453
13453
|
</ul>
|
|
13454
|
-
`;let
|
|
13454
|
+
`;let _u=class extends c.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){u[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{const e=Nu(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(wu.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,yu.__decorate)([c.observable],_u.prototype,"swatches",void 0),(0,yu.__decorate)([c.attr],_u.prototype,"type",void 0),_u=(0,yu.__decorate)([(0,c.customElement)({name:"color-palette",styles:Gu,template:Hu})],_u);const Vu=c.css`
|
|
13455
13455
|
.preview {
|
|
13456
13456
|
width: 40px;
|
|
13457
13457
|
height: 40px;
|
|
13458
13458
|
}
|
|
13459
|
-
`,
|
|
13459
|
+
`,Yu=c.html`
|
|
13460
13460
|
<div
|
|
13461
13461
|
class="preview"
|
|
13462
13462
|
style="background-color: ${e=>u[e.tokenName].createCSS()}"
|
|
13463
13463
|
></div>
|
|
13464
|
-
`;let
|
|
13464
|
+
`;let Qu=class extends c.FASTElement{};(0,yu.__decorate)([c.attr],Qu.prototype,"tokenName",void 0),Qu=(0,yu.__decorate)([(0,c.customElement)({name:"color-token",styles:Vu,template:Yu})],Qu);const Wu=c.css`
|
|
13465
13465
|
.container {
|
|
13466
13466
|
display: flex;
|
|
13467
13467
|
width: 100%;
|
|
@@ -13509,7 +13509,7 @@
|
|
|
13509
13509
|
.container > div:not(:last-child) {
|
|
13510
13510
|
border-right: 1px solid #fafafa;
|
|
13511
13511
|
}
|
|
13512
|
-
`,
|
|
13512
|
+
`,qu=[{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"}]}]}],Ju=c.html`
|
|
13513
13513
|
<div class="row">
|
|
13514
13514
|
<div
|
|
13515
13515
|
class="preview"
|
|
@@ -13521,19 +13521,19 @@
|
|
|
13521
13521
|
${(e,a)=>u[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
|
|
13522
13522
|
</div>
|
|
13523
13523
|
</div>
|
|
13524
|
-
`,
|
|
13524
|
+
`,Zu=c.html`
|
|
13525
13525
|
<div class="container" ${(0,c.ref)("provider")}>
|
|
13526
|
-
${(0,c.repeat)((()=>
|
|
13526
|
+
${(0,c.repeat)((()=>qu),c.html`
|
|
13527
13527
|
<div class="column">
|
|
13528
13528
|
<h3 class="header-title">${e=>e.title}</h3>
|
|
13529
13529
|
${(0,c.repeat)((e=>e.subcategories),c.html`
|
|
13530
13530
|
<h4>${e=>e.title}</h4>
|
|
13531
|
-
${(0,c.repeat)((e=>e.tokens),
|
|
13531
|
+
${(0,c.repeat)((e=>e.tokens),Ju)}
|
|
13532
13532
|
`)}
|
|
13533
13533
|
</div>
|
|
13534
13534
|
`)}
|
|
13535
13535
|
</div>
|
|
13536
|
-
`;let
|
|
13536
|
+
`;let Ku=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(wu.STYLES_CHANGED,(e=>{const a=e.detail;Mu(a,this.provider)}))}};(0,yu.__decorate)([c.observable],Ku.prototype,"provider",void 0),Ku=(0,yu.__decorate)([(0,c.customElement)({name:"color-tokens",template:Zu,styles:Wu})],Ku);const Xu=c.css`
|
|
13537
13537
|
table {
|
|
13538
13538
|
background: var(--neutral-fill-rest);
|
|
13539
13539
|
color: var(--neutral-foreground-rest);
|
|
@@ -13542,7 +13542,7 @@
|
|
|
13542
13542
|
th {
|
|
13543
13543
|
text-align: left;
|
|
13544
13544
|
}
|
|
13545
|
-
`,
|
|
13545
|
+
`,eh=c.html`
|
|
13546
13546
|
<table ${(0,c.ref)("provider")} style="font-family: ${()=>u.bodyFont.createCSS()}">
|
|
13547
13547
|
<colgroup>
|
|
13548
13548
|
<col style="width: 15%;" />
|
|
@@ -13770,7 +13770,7 @@
|
|
|
13770
13770
|
</tr>
|
|
13771
13771
|
</tbody>
|
|
13772
13772
|
</table>
|
|
13773
|
-
`;let
|
|
13773
|
+
`;let ah=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(wu.STYLES_CHANGED,(e=>{const a=e.detail;Mu(a,this.provider)}))}};(0,yu.__decorate)([c.observable],ah.prototype,"provider",void 0),ah=(0,yu.__decorate)([(0,c.customElement)({name:"typography-tokens",template:eh,styles:Xu})],ah);const rh=c.css`
|
|
13774
13774
|
:host {
|
|
13775
13775
|
background: var(--fill-color);
|
|
13776
13776
|
color: var(--neutral-foreground-rest);
|
|
@@ -13786,7 +13786,7 @@
|
|
|
13786
13786
|
margin-top: 24px;
|
|
13787
13787
|
padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
13788
13788
|
}
|
|
13789
|
-
`,
|
|
13789
|
+
`,th=c.html`
|
|
13790
13790
|
<template>
|
|
13791
13791
|
<alpha-tabs>
|
|
13792
13792
|
<alpha-tab slot="tab">Components</alpha-tab>
|
|
@@ -13815,7 +13815,7 @@
|
|
|
13815
13815
|
</alpha-tab-panel>
|
|
13816
13816
|
</alpha-tabs>
|
|
13817
13817
|
</template>
|
|
13818
|
-
`;let
|
|
13818
|
+
`;let oh=class extends c.FASTElement{};oh=(0,yu.__decorate)([(0,c.customElement)({name:"design-system-preview",template:th,styles:rh})],oh);const ih={type:"VerticalLayout",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"}]}]}}]},nh={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"]}}},lh={type:"VerticalLayout",elements:[{type:"Control",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"}]}}}]},gh={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"]}}}},sh=c.css`
|
|
13819
13819
|
:host {
|
|
13820
13820
|
background: var(--fill-color);
|
|
13821
13821
|
color: var(--neutral-foreground-rest);
|
|
@@ -13846,7 +13846,7 @@
|
|
|
13846
13846
|
zero-design-system-provider {
|
|
13847
13847
|
display: inline;
|
|
13848
13848
|
}
|
|
13849
|
-
`,
|
|
13849
|
+
`,dh=c.html`
|
|
13850
13850
|
${e=>(e=>c.html`
|
|
13851
13851
|
<template>
|
|
13852
13852
|
<${e}-design-system-provider ${(0,c.ref)("provider")}>
|
|
@@ -13870,7 +13870,7 @@
|
|
|
13870
13870
|
</${e}-design-system-provider>
|
|
13871
13871
|
</template>
|
|
13872
13872
|
`)(e.prefix)}
|
|
13873
|
-
`;let
|
|
13873
|
+
`;let ch=class extends c.FASTElement{constructor(){super(...arguments),this.jsonSchema=nh,this.uischema=ih,this.jsonSchemaArray=gh,this.uiSchemaArray=lh,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(wu.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(wu.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(ku)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Mu(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,yu.__decorate)([c.observable],ch.prototype,"jsonSchema",void 0),(0,yu.__decorate)([c.observable],ch.prototype,"uischema",void 0),(0,yu.__decorate)([c.observable],ch.prototype,"jsonSchemaArray",void 0),(0,yu.__decorate)([c.observable],ch.prototype,"uiSchemaArray",void 0),(0,yu.__decorate)([c.attr],ch.prototype,"prefix",void 0),(0,yu.__decorate)([c.observable],ch.prototype,"provider",void 0),(0,yu.__decorate)([c.observable],ch.prototype,"editedEntity",void 0),(0,yu.__decorate)([c.observable],ch.prototype,"editedEntityArray",void 0),ch=(0,yu.__decorate)([(0,c.customElement)({name:"preview-form",template:dh,styles:sh})],ch);const ph=c.css`
|
|
13874
13874
|
:host {
|
|
13875
13875
|
background: var(--fill-color);
|
|
13876
13876
|
color: var(--neutral-foreground-rest);
|
|
@@ -13885,7 +13885,7 @@
|
|
|
13885
13885
|
.grid-height {
|
|
13886
13886
|
height: 450px;
|
|
13887
13887
|
}
|
|
13888
|
-
`,
|
|
13888
|
+
`,uh=c.html`
|
|
13889
13889
|
${e=>(e=>c.html`
|
|
13890
13890
|
<template>
|
|
13891
13891
|
<${e}-design-system-provider ${(0,c.ref)("provider")}>
|
|
@@ -13895,5 +13895,5 @@
|
|
|
13895
13895
|
</${e}-design-system-provider>
|
|
13896
13896
|
</template>
|
|
13897
13897
|
`)(e.prefix)}
|
|
13898
|
-
`;let
|
|
13899
|
-
//# sourceMappingURL=
|
|
13898
|
+
`;let hh=class extends c.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(wu.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(wu.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{this.setGridOptions(),u.bodyFont.withDefault(ku)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Mu(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,c.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,yu.__decorate)([c.observable],hh.prototype,"grid",void 0),(0,yu.__decorate)([c.attr],hh.prototype,"prefix",void 0),(0,yu.__decorate)([c.observable],hh.prototype,"provider",void 0),(0,yu.__decorate)([c.observable],hh.prototype,"rowData",void 0),(0,yu.__decorate)([c.observable],hh.prototype,"columnDefs",void 0),(0,yu.__decorate)([c.observable],hh.prototype,"gridOptions",void 0),hh=(0,yu.__decorate)([(0,c.customElement)({name:"preview-grid",template:uh,styles:ph})],hh),((e,a="zero")=>{e&&(0,P.provideTokens)(t,o,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(ci,og),(0,l.provideDesignSystem)().register(l.baseComponents,ig),((e,a="rapid")=>{e&&(0,P.provideTokens)(i,n,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(fu,ig)}}]);
|
|
13899
|
+
//# sourceMappingURL=684.8595897778fe33925394755e464342ed.js.map
|