@genesislcap/design-system-configurator 14.153.0 → 14.154.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/{166.166.c009b8e56e60f8f8967e.js → 166.166.850d94a0f92bb12b00b0.js} +872 -862
- package/dist/166.386d1d66e6b09df8ee645bbdb7f1eeff.js.map +1 -0
- package/dist/{200.200.e5f635209b401b7c2230.js → 200.200.bbe41738ad9525b011a6.js} +1 -1
- package/dist/{394.394.a441f4db016ef035a31a.js → 394.394.9934ce33e96af795e535.js} +1 -1
- package/dist/461.461.723925a5bde9aa35846f.js +2 -0
- package/dist/461.8db5f05dd186acb5bbef1493bce4d773.js.map +1 -0
- package/dist/{752.752.47b79fbacd128271c1a3.js → 752.752.fd2a338445b45034ca1b.js} +1 -1
- package/dist/755.755.56ecb4c797a40baac097.js +2 -0
- package/dist/{755.a3cac47cc4cd6e213d2b372c956c558b.js.map → 755.9a7aecd6f809d3501c72cb59e24e35af.js.map} +1 -1
- package/dist/{8.8.3abfe522a7d9dc0cec8c.js → 8.8.3cc37f93021e76f03fb3.js} +1 -1
- package/dist/designSystemConfigurator.0a233c71cd797fc8baa0f2df79e4ed76.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/main.15610da78b1906fac722cab37bd4f6ee.js.map +1 -0
- package/dist/main.f2e2781e718e7dee5b9b.js +2 -0
- package/dist/npm.json-schema-tools.141.444cc04cd767d536fea2.js +2 -0
- package/dist/npm.json-schema-tools.181f54b3f09ef804ac1e0d10122bbbb9.js.map +1 -0
- package/dist/npm.jsonforms.832.4588d0d8489041bf4ca7.js +2 -0
- package/dist/npm.jsonforms.993e04cc63524e99ee4c6395a10884a1.js.map +1 -0
- package/dist/npm.lodash.1460b2ca1d394235bbfdaf3d90884ce5.js.map +1 -0
- package/dist/npm.lodash.913.118ad493316103ca6e4d.js +2 -0
- package/dist/remoteEntry.js +2 -2
- package/package.json +12 -12
- package/dist/166.15af2e6baa27db3885b28027e551308c.js.map +0 -1
- package/dist/755.755.97e65d70da46d933cfa4.js +0 -2
- package/dist/962.851c748777f449b1391192f1dc5df2a8.js.map +0 -1
- package/dist/962.962.374fd45cd8c8388d9a1c.js +0 -2
- package/dist/designSystemConfigurator.81fcb47a0af249874f7af4492d235354.js.map +0 -1
- package/dist/main.624df247efc57c963221.js +0 -2
- package/dist/main.ce1f3dc86e3b818d3d568d32b4f2b958.js.map +0 -1
- package/dist/npm.jsonforms.832.241277fc24201a4e44f1.js +0 -2
- package/dist/npm.jsonforms.cca0ef5b7d2652be78928586f2dcf86d.js.map +0 -1
- package/dist/npm.lodash.22759d4b6fec48a8b24f6a06b134b1ab.js.map +0 -1
- package/dist/npm.lodash.913.d264c63c00ee3a0ea033.js +0 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[166],{68566:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Wh,ColorToken:()=>Zh,ColorTokens:()=>rm,DesignSystemEditor:()=>Mh,DesignSystemExport:()=>Vh,DesignSystemPreview:()=>gm,EventName:()=>kh,PreviewComponents:()=>Uh,PreviewForm:()=>mm,PreviewGrid:()=>fm,TypographyTokens:()=>im,defaultBodyFont:()=>Ch,fontFamilies:()=>Sh});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:()=>$e,baseLayerLuminanceValue:()=>Fe,bodyFontValue:()=>Pe,controlCornerRadiusValue:()=>Re,densityValue:()=>Ne,designTokens:()=>Ue,designUnitValue:()=>Le,directionValue:()=>Oe,neutralPaletteValue:()=>Ae,strokeWidthValue:()=>De,typeRampBaseFontSizeValue:()=>Be,typeRampBaseLineHeightValue:()=>Ge});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:()=>Mg,controlCornerRadius:()=>u.controlCornerRadius,defaultBuyColor:()=>Lg,defaultErrorColor:()=>Cg,defaultSellColor:()=>jg,defaultSuccessColor:()=>Fg,defaultWarningColor:()=>Dg,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>$g,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:()=>Eg,strokeWidth:()=>u.strokeWidth,successColor:()=>Tg,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:()=>Rg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Hg,accentFillFocusDeltaValue:()=>Vg,accentFillHoverDeltaValue:()=>_g,accentFillRestDeltaValue:()=>Ug,accentForegroundActiveDeltaValue:()=>Wg,accentForegroundFocusDeltaValue:()=>qg,accentForegroundHoverDeltaValue:()=>Qg,accentForegroundRestDeltaValue:()=>Yg,accentPaletteValue:()=>Pg,baseHeightMultiplierValue:()=>zs,baseLayerLuminanceValue:()=>Gg,bodyFontValue:()=>As,controlCornerRadiusValue:()=>Ss,densityValue:()=>Cs,designTokens:()=>Ys,designUnitValue:()=>$s,directionValue:()=>ws,disabledOpacityValue:()=>ys,focusStrokeWidthValue:()=>ks,neutralFillActiveDeltaValue:()=>Kg,neutralFillFocusDeltaValue:()=>Xg,neutralFillHoverDeltaValue:()=>Zg,neutralFillInputActiveDeltaValue:()=>rs,neutralFillInputFocusDeltaValue:()=>ts,neutralFillInputHoverDeltaValue:()=>as,neutralFillInputRestDeltaValue:()=>es,neutralFillLayerRestDeltaValue:()=>ps,neutralFillRestDeltaValue:()=>Jg,neutralFillStealthActiveDeltaValue:()=>ns,neutralFillStealthFocusDeltaValue:()=>ls,neutralFillStealthHoverDeltaValue:()=>is,neutralFillStealthRestDeltaValue:()=>os,neutralFillStrongActiveDeltaValue:()=>ds,neutralFillStrongFocusDeltaValue:()=>cs,neutralFillStrongHoverDeltaValue:()=>ss,neutralFillStrongRestDeltaValue:()=>gs,neutralPaletteValue:()=>Bg,neutralStrokeActiveDeltaValue:()=>ms,neutralStrokeDividerRestDeltaValue:()=>vs,neutralStrokeFocusDeltaValue:()=>bs,neutralStrokeHoverDeltaValue:()=>hs,neutralStrokeRestDeltaValue:()=>us,prefix:()=>fs,strokeWidthValue:()=>xs,typeRampBaseFontSizeValue:()=>Fs,typeRampBaseLineHeightValue:()=>Ts,typeRampMinus1FontSizeValue:()=>Os,typeRampMinus1LineHeightValue:()=>Ds,typeRampMinus2FontSizeValue:()=>Rs,typeRampMinus2LineHeightValue:()=>Ns,typeRampPlus1FontSizeValue:()=>Ls,typeRampPlus1LineHeightValue:()=>Ms,typeRampPlus2FontSizeValue:()=>Is,typeRampPlus2LineHeightValue:()=>js,typeRampPlus3FontSizeValue:()=>Es,typeRampPlus3LineHeightValue:()=>Ps,typeRampPlus4FontSizeValue:()=>Bs,typeRampPlus4LineHeightValue:()=>Gs,typeRampPlus5FontSizeValue:()=>Us,typeRampPlus5LineHeightValue:()=>_s,typeRampPlus6FontSizeValue:()=>Hs,typeRampPlus6LineHeightValue:()=>Vs});var l=r(82506),g=r(92592),s=r(66526),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([[166],{68566:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Zh,ColorToken:()=>em,ColorTokens:()=>im,DesignSystemEditor:()=>Eh,DesignSystemExport:()=>Wh,DesignSystemPreview:()=>cm,EventName:()=>Ch,PreviewComponents:()=>Vh,PreviewForm:()=>fm,PreviewGrid:()=>xm,TypographyTokens:()=>gm,defaultBodyFont:()=>Fh,fontFamilies:()=>Ah});var t={};r.r(t),r.d(t,{accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,bodyFont:()=>m.bodyFont,controlCornerRadius:()=>m.controlCornerRadius,defaultErrorColor:()=>Se,defaultSuccessColor:()=>Ae,density:()=>m.density,designUnit:()=>m.designUnit,direction:()=>m.direction,disabledOpacity:()=>m.disabledOpacity,errorColor:()=>Ce,fillColor:()=>m.fillColor,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,strokeWidth:()=>m.strokeWidth,successColor:()=>Fe,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Te,baseLayerLuminanceValue:()=>De,bodyFontValue:()=>Ue,controlCornerRadiusValue:()=>Me,densityValue:()=>Ie,designTokens:()=>Ve,designUnitValue:()=>je,directionValue:()=>Ne,neutralPaletteValue:()=>Oe,strokeWidthValue:()=>Le,typeRampBaseFontSizeValue:()=>_e,typeRampBaseLineHeightValue:()=>He});var i={};r.r(i),r.d(i,{accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,bodyFont:()=>m.bodyFont,buyColor:()=>Eg,controlCornerRadius:()=>m.controlCornerRadius,defaultBuyColor:()=>jg,defaultErrorColor:()=>Fg,defaultSellColor:()=>Bg,defaultSuccessColor:()=>Dg,defaultWarningColor:()=>Lg,density:()=>m.density,designUnit:()=>m.designUnit,direction:()=>m.direction,disabledOpacity:()=>m.disabledOpacity,errorColor:()=>Tg,fillColor:()=>m.fillColor,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,sellColor:()=>Gg,strokeWidth:()=>m.strokeWidth,successColor:()=>Rg,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight,warningColor:()=>Mg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Qg,accentFillFocusDeltaValue:()=>Wg,accentFillHoverDeltaValue:()=>Yg,accentFillRestDeltaValue:()=>Vg,accentForegroundActiveDeltaValue:()=>Zg,accentForegroundFocusDeltaValue:()=>Kg,accentForegroundHoverDeltaValue:()=>Jg,accentForegroundRestDeltaValue:()=>qg,accentPaletteValue:()=>Ug,baseHeightMultiplierValue:()=>$s,baseLayerLuminanceValue:()=>Hg,bodyFontValue:()=>Os,controlCornerRadiusValue:()=>As,densityValue:()=>Fs,designTokens:()=>qs,designUnitValue:()=>Ts,directionValue:()=>ks,disabledOpacityValue:()=>zs,focusStrokeWidthValue:()=>Cs,neutralFillActiveDeltaValue:()=>as,neutralFillFocusDeltaValue:()=>rs,neutralFillHoverDeltaValue:()=>es,neutralFillInputActiveDeltaValue:()=>is,neutralFillInputFocusDeltaValue:()=>ns,neutralFillInputHoverDeltaValue:()=>os,neutralFillInputRestDeltaValue:()=>ts,neutralFillLayerRestDeltaValue:()=>ms,neutralFillRestDeltaValue:()=>Xg,neutralFillStealthActiveDeltaValue:()=>ss,neutralFillStealthFocusDeltaValue:()=>ds,neutralFillStealthHoverDeltaValue:()=>gs,neutralFillStealthRestDeltaValue:()=>ls,neutralFillStrongActiveDeltaValue:()=>us,neutralFillStrongFocusDeltaValue:()=>hs,neutralFillStrongHoverDeltaValue:()=>ps,neutralFillStrongRestDeltaValue:()=>cs,neutralPaletteValue:()=>_g,neutralStrokeActiveDeltaValue:()=>fs,neutralStrokeDividerRestDeltaValue:()=>ys,neutralStrokeFocusDeltaValue:()=>ws,neutralStrokeHoverDeltaValue:()=>vs,neutralStrokeRestDeltaValue:()=>bs,prefix:()=>xs,strokeWidthValue:()=>Ss,typeRampBaseFontSizeValue:()=>Ds,typeRampBaseLineHeightValue:()=>Rs,typeRampMinus1FontSizeValue:()=>Ns,typeRampMinus1LineHeightValue:()=>Ls,typeRampMinus2FontSizeValue:()=>Ms,typeRampMinus2LineHeightValue:()=>Is,typeRampPlus1FontSizeValue:()=>js,typeRampPlus1LineHeightValue:()=>Es,typeRampPlus2FontSizeValue:()=>Ps,typeRampPlus2LineHeightValue:()=>Bs,typeRampPlus3FontSizeValue:()=>Gs,typeRampPlus3LineHeightValue:()=>Us,typeRampPlus4FontSizeValue:()=>_s,typeRampPlus4LineHeightValue:()=>Hs,typeRampPlus5FontSizeValue:()=>Vs,typeRampPlus5LineHeightValue:()=>Ys,typeRampPlus6FontSizeValue:()=>Qs,typeRampPlus6LineHeightValue:()=>Ws});var l=r(84551),g=r(92592),s=r(66526),d=r(86776),c=r.n(d),p=r(60724),u=r(79292),h=r(99667),m=r(41663),b=r(67973);const v=u.css`
|
|
2
2
|
:host {
|
|
3
|
-
border: calc(${
|
|
3
|
+
border: calc(${m.strokeWidth} * 1px) solid transparent;
|
|
4
4
|
margin: 0;
|
|
5
|
-
border-radius: calc(${
|
|
6
|
-
padding: calc(${
|
|
5
|
+
border-radius: calc(${m.controlCornerRadius} * 1px);
|
|
6
|
+
padding: calc(${m.designUnit} * 1px);
|
|
7
7
|
min-width: 64px;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.form-controls {
|
|
11
11
|
display: grid;
|
|
12
|
-
grid-gap: calc(${
|
|
13
|
-
grid-column-gap: calc(${
|
|
12
|
+
grid-gap: calc(${m.designUnit} * 1px);
|
|
13
|
+
grid-column-gap: calc(${m.designUnit} * 7px);
|
|
14
14
|
grid-template-columns: repeat(2, 1fr);
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.label {
|
|
28
|
-
font-size: calc(${
|
|
28
|
+
font-size: calc(${m.designUnit} * 1px + 0.7vmin);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.actions {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
flex-direction: row;
|
|
34
34
|
align-items: flex-end;
|
|
35
35
|
justify-content: flex-end;
|
|
36
|
-
padding: calc(${
|
|
36
|
+
padding: calc(${m.designUnit} * 2px);
|
|
37
37
|
gap: 10px;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -45,19 +45,19 @@
|
|
|
45
45
|
width: 70px;
|
|
46
46
|
margin: 0;
|
|
47
47
|
}
|
|
48
|
-
`.withBehaviors((0,
|
|
48
|
+
`.withBehaviors((0,h.forcedColorsStylesheetBehavior)(u.css`
|
|
49
49
|
:host {
|
|
50
|
-
background: ${
|
|
51
|
-
border-color: ${
|
|
50
|
+
background: ${b.H.Canvas};
|
|
51
|
+
border-color: ${b.H.CanvasText};
|
|
52
52
|
}
|
|
53
|
-
`)),
|
|
53
|
+
`)),f={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var w=r(44284);const y=(0,w.createLogger)("foundation-form"),x=u.html`
|
|
54
54
|
<template>
|
|
55
|
-
${(0,
|
|
55
|
+
${(0,u.when)((e=>!1),u.html`
|
|
56
56
|
<zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
|
|
57
57
|
Copy autogenerated UI Schema
|
|
58
58
|
</zero-button>
|
|
59
59
|
`)}
|
|
60
|
-
${(0,
|
|
60
|
+
${(0,u.when)((e=>e.jsonforms&&e.dispatch&&e.props),u.html`
|
|
61
61
|
<dispatch-renderer
|
|
62
62
|
:jsonforms=${e=>e.jsonforms}
|
|
63
63
|
:dispatch=${e=>e.dispatch}
|
|
@@ -67,11 +67,15 @@
|
|
|
67
67
|
/>
|
|
68
68
|
`)}
|
|
69
69
|
</template>
|
|
70
|
-
`,
|
|
70
|
+
`,k=(e,a,r)=>{var t,o,i,n;return null!==(n=null===(i=null===(o=null===(t=null==r?void 0:r.options)||void 0===t?void 0:t.i18n)||void 0===o?void 0:o.error)||void 0===i?void 0:i[e.keyword])&&void 0!==n?n:((e,a,r)=>{var t;return"pattern"===(null==e?void 0:e.keyword)?null!==(t=f[e.params.pattern])&&void 0!==t?t:"Invalid pattern.":(0,p.zjv)(e,a,r)})(e,a,r)};let z=class extends u.FASTElement{constructor(){super(...arguments),this.dispatch=e=>{this.jsonforms=Object.assign(Object.assign({},this.jsonforms),{core:(0,p.mpn)(this.jsonforms.core,e)}),this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})},this.validate=e=>{var a,r,t;const o=null===(r=null===(a=this.jsonforms)||void 0===a?void 0:a.core)||void 0===r?void 0:r.data;if(!o)return[];const i=[];return null===(t=null==e?void 0:e.elements)||void 0===t||t.forEach((e=>{var a,r,t,n;const l=null===(a=null==e?void 0:e.options)||void 0===a?void 0:a.validateFn;if("function"!=typeof l)return;const g=null===(t=null===(r=null==e?void 0:e.scope)||void 0===r?void 0:r.split("/"))||void 0===t?void 0:t.pop(),s=null==e?void 0:e.label;let d=null!==(n=l(o,g,s))&&void 0!==n?n:[];Array.isArray(d)||(d=[d]),i.push(...d)})),i}}prefixChanged(){this.schemaChanged()}schemaChanged(){var e,a,r,t;if(!this.schema)return;this.uichemaToUse=null!==(e=this.uischema)&&void 0!==e?e:p.Iiz.uiSchema(this.schema),this.uischema||y.debug("UI schema not provided. Auto generated schema:",this.uichemaToUse);const o=this.validate(this.uichemaToUse);this.jsonforms={core:(()=>{const e={data:this.data,schema:this.schema,uischema:this.uichemaToUse};return(0,p.mpn)(e,p.eXO.init(this.data,this.schema,this.uichemaToUse,{validationMode:this.validationMode||"ValidateAndShow",ajv:this.ajv,additionalErrors:o}))})(),config:(0,p.LsR)(void 0,p.eXO.setConfig(this.config)),i18n:(0,p.YC9)(this.i18n,p.eXO.updateI18n(null===(a=this.i18n)||void 0===a?void 0:a.locale,null===(r=this.i18n)||void 0===r?void 0:r.translate,(null===(t=this.i18n)||void 0===t?void 0:t.translateError)||k)),renderers:this.renderers,readonly:this.readonly},this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})}uischemaChanged(){this.schemaChanged()}dataChanged(){this.schemaChanged()}renderersChanged(){this.schemaChanged()}validationModeChanged(){this.schemaChanged()}ajvChanged(){this.schemaChanged()}readonlyChanged(){this.schemaChanged()}configChanged(){this.schemaChanged()}get props(){var e;if(!this.schema&&!this.uischema)return;const a=null!==(e=this.uischema)&&void 0!==e?e:p.Iiz.uiSchema(this.schema);return{uischema:Object.assign(Object.assign({},a),{elements:a.elements.map((e=>"#/properties/TIMESTAMP"===e.scope?Object.assign(Object.assign({},e),{options:{hidden:!0}}):e))}),schema:this.schema,path:"",enabled:!0,visible:!0}}copyUISchemaToClipboard(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){try{yield navigator.clipboard.writeText(JSON.stringify(this.uichemaToUse)),y.debug("Autogenerated UI schema copied to clipboard")}catch(e){y.error("Failed to copy autogenerated UI schema: ",e)}}))}};(0,g.__decorate)([(0,u.attr)({mode:"boolean"})],z.prototype,"submitted",void 0),(0,g.__decorate)([u.observable],z.prototype,"prefix",void 0),(0,g.__decorate)([u.observable],z.prototype,"jsonforms",void 0),(0,g.__decorate)([u.observable],z.prototype,"i18n",void 0),(0,g.__decorate)([u.observable],z.prototype,"uichemaToUse",void 0),(0,g.__decorate)([u.observable],z.prototype,"schema",void 0),(0,g.__decorate)([u.observable],z.prototype,"uischema",void 0),(0,g.__decorate)([u.observable],z.prototype,"data",void 0),(0,g.__decorate)([u.observable],z.prototype,"renderers",void 0),(0,g.__decorate)([u.observable],z.prototype,"validationMode",void 0),(0,g.__decorate)([u.observable],z.prototype,"ajv",void 0),(0,g.__decorate)([(0,u.attr)({mode:"boolean"})],z.prototype,"readonly",void 0),(0,g.__decorate)([u.observable],z.prototype,"config",void 0),z=(0,g.__decorate)([(0,u.customElement)({name:"json-forms",template:x,styles:u.css`
|
|
71
71
|
.clipboard-button {
|
|
72
72
|
display: flex;
|
|
73
73
|
}
|
|
74
|
-
`})],
|
|
74
|
+
`})],z);const S=u.css`
|
|
75
|
+
:host {
|
|
76
|
+
padding-left: calc(${m.designUnit} * 1px);
|
|
77
|
+
}
|
|
78
|
+
|
|
75
79
|
.array-list {
|
|
76
80
|
display: flex;
|
|
77
81
|
align-items: center;
|
|
@@ -84,22 +88,22 @@
|
|
|
84
88
|
.item-control-btn:hover {
|
|
85
89
|
color: var(--accent-foreground-hover);
|
|
86
90
|
}
|
|
87
|
-
`;let
|
|
88
|
-
${e=>((e="zero")=>
|
|
91
|
+
`;let C=class extends u.FASTElement{controlChanged(){if(this.control.uischema.options)return void(this.uiSchema=this.control.uischema.options.childUiSchema);this.schema=this.control.schema;const e=p.Iiz.uiSchema(this.schema);this.uiSchema=Object.assign(Object.assign({},e),{type:"HorizontalLayout"}),y.debug("Auto generated uiSchema for layout array:",this.uiSchema)}addItem(){this.control.addItem(this.control.path,(0,p.XuX)(this.control.schema,this.control.rootSchema))()}deleteItem(e){this.control.removeItems(this.control.path,[e])()}};(0,g.__decorate)([u.observable],C.prototype,"form",void 0),(0,g.__decorate)([u.observable],C.prototype,"control",void 0),(0,g.__decorate)([u.observable],C.prototype,"schema",void 0),(0,g.__decorate)([u.observable],C.prototype,"uiSchema",void 0),C=(0,g.__decorate)([(0,u.customElement)({name:"array-list-wrapper",styles:S,template:u.html`
|
|
92
|
+
${e=>((e="zero")=>u.html`
|
|
89
93
|
<template>
|
|
90
|
-
${(0,
|
|
94
|
+
${(0,u.repeat)((e=>Array(e.control.data)),u.html`
|
|
91
95
|
<div class="array-list">
|
|
92
96
|
<dispatch-renderer
|
|
93
97
|
?submitted=${(e,a)=>a.parent.form.submitted}
|
|
94
98
|
:dispatch=${(e,a)=>a.parent.form.dispatch}
|
|
95
99
|
:jsonforms=${(e,a)=>a.parent.form.jsonforms}
|
|
96
100
|
:prefix=${(e,a)=>a.parent.form.prefix}
|
|
97
|
-
:props=${(e,a)=>({uischema:a.parent.uiSchema,schema:a.parent.schema,renderers:a.parent.control.renderers,path:(0,
|
|
101
|
+
:props=${(e,a)=>({uischema:a.parent.uiSchema,schema:a.parent.schema,renderers:a.parent.control.renderers,path:(0,p.ZBw)(a.parent.control.path,`${a.index}`),enabled:a.parent.control.enabled})}
|
|
98
102
|
></dispatch-renderer>
|
|
99
103
|
<${e}-button
|
|
100
104
|
appearance="lightweight"
|
|
101
105
|
class="item-control-btn"
|
|
102
|
-
data-test-id=${(e,a)=>`${a.parent.
|
|
106
|
+
data-test-id=${(e,a)=>`${a.parent.control.path}-${a.index}-delete-item`}
|
|
103
107
|
@click=${(e,a)=>a.parent.deleteItem(a.index)}
|
|
104
108
|
>
|
|
105
109
|
<${e}-icon name="trash"></${e}-icon>
|
|
@@ -109,7 +113,7 @@
|
|
|
109
113
|
<${e}-button
|
|
110
114
|
appearance="lightweight"
|
|
111
115
|
class="item-control-btn"
|
|
112
|
-
data-test-id=${e=>`${e.
|
|
116
|
+
data-test-id=${e=>`${e.control.path}-add-item`}
|
|
113
117
|
@click=${e=>e.addItem()}
|
|
114
118
|
>
|
|
115
119
|
<${e}-icon name="plus"></${e}-icon>
|
|
@@ -117,7 +121,7 @@
|
|
|
117
121
|
</${e}-button>
|
|
118
122
|
</template>
|
|
119
123
|
`)(e.form.prefix)}
|
|
120
|
-
`})],
|
|
124
|
+
`})],C);const $=u.css`
|
|
121
125
|
.tabs-container::part(tablist) {
|
|
122
126
|
background-color: transparent;
|
|
123
127
|
border-bottom: none;
|
|
@@ -130,16 +134,16 @@
|
|
|
130
134
|
.tab-panel-control {
|
|
131
135
|
margin-top: 10px;
|
|
132
136
|
}
|
|
133
|
-
`;let
|
|
134
|
-
${e=>((e="zero")=>
|
|
137
|
+
`;let A=class extends u.FASTElement{};(0,g.__decorate)([u.observable],A.prototype,"form",void 0),(0,g.__decorate)([u.observable],A.prototype,"control",void 0),A=(0,g.__decorate)([(0,u.customElement)({name:"categorization-wrapper",styles:$,template:u.html`
|
|
138
|
+
${e=>((e="zero")=>u.html`
|
|
135
139
|
<template>
|
|
136
140
|
<${e}-tabs class="tabs-container">
|
|
137
|
-
${(0,
|
|
141
|
+
${(0,u.repeat)((e=>e.control.uischema.elements),u.html`
|
|
138
142
|
<${e}-tab class="tab-control">${(e,a)=>{var r;return null!==(r=e.label)&&void 0!==r?r:`Category ${a.index+1}`}}</${e}-tab>
|
|
139
143
|
`,{positioning:!0})}
|
|
140
|
-
${(0,
|
|
144
|
+
${(0,u.repeat)((e=>e.control.uischema.elements),u.html`
|
|
141
145
|
<${e}-tab-panel class="tab-panel-control">
|
|
142
|
-
${(0,
|
|
146
|
+
${(0,u.repeat)((e=>e.options.childElements),u.html`
|
|
143
147
|
<dispatch-renderer
|
|
144
148
|
?submitted=${(e,a)=>a.parentContext.parent.form.submitted}
|
|
145
149
|
:dispatch=${(e,a)=>a.parentContext.parent.form.dispatch}
|
|
@@ -153,9 +157,9 @@
|
|
|
153
157
|
</${e}-tabs>
|
|
154
158
|
</template>
|
|
155
159
|
`)(e.form.prefix)}
|
|
156
|
-
`})],
|
|
160
|
+
`})],A);const F=u.html`
|
|
157
161
|
<template>
|
|
158
|
-
${(0,
|
|
162
|
+
${(0,u.when)((e=>{var a;return null===(a=e.control)||void 0===a?void 0:a.visible}),u.html`
|
|
159
163
|
<div
|
|
160
164
|
class="wrapperRoot"
|
|
161
165
|
id=${e=>e.control.path+"-wrapper"}
|
|
@@ -173,14 +177,14 @@
|
|
|
173
177
|
</div>
|
|
174
178
|
`)}
|
|
175
179
|
</template>
|
|
176
|
-
`,
|
|
180
|
+
`,T=u.css`
|
|
177
181
|
.wrapperRoot {
|
|
178
|
-
margin-bottom:
|
|
182
|
+
margin-bottom: calc(var(--design-unit) * 4px);
|
|
179
183
|
}
|
|
180
184
|
|
|
181
185
|
.label {
|
|
182
186
|
color: rgb(135, 155, 166);
|
|
183
|
-
margin-bottom:
|
|
187
|
+
margin-bottom: calc(var(--design-unit) * 1px);
|
|
184
188
|
display: flex;
|
|
185
189
|
justify-content: space-between;
|
|
186
190
|
}
|
|
@@ -196,31 +200,31 @@
|
|
|
196
200
|
width: 100%;
|
|
197
201
|
align-items: center;
|
|
198
202
|
}
|
|
199
|
-
`;let
|
|
203
|
+
`;let O=class extends u.FASTElement{get showDescription(){return!(0,p.tg6)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,p.lgi)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,g.__decorate)([u.observable],O.prototype,"control",void 0),(0,g.__decorate)([u.observable],O.prototype,"touched",void 0),(0,g.__decorate)([u.volatile],O.prototype,"showDescription",null),(0,g.__decorate)([u.volatile],O.prototype,"computedLabel",null),O=(0,g.__decorate)([(0,u.customElement)({name:"control-wrapper",styles:T,template:F})],O);var D=r(80340),R=r.n(D);const N=u.html`
|
|
200
204
|
<template>${e=>e.determinedRenderer.renderer}</template>
|
|
201
|
-
`,
|
|
205
|
+
`,L=u.css``;let M=class extends u.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,p.Q8v)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,g.__rest)(e,["rootSchema"]);this.renderer=r,this.control=((e,a,r,t,o)=>{var i;const n=Object.assign({},t({jsonforms:a},e)),l=null===(i=o||p.AZl)||void 0===i?void 0:i(r);return Object.assign(Object.assign({},n),l)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper,this.determinedRenderer.dispatchMapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}prefixChanged(){this.createRenderer()}onBlur(){this.touched=!0}get determinedRenderer(){const e=R()(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)?(y.error("UnknownRenderer this.renderer.uischema",this.renderer.uischema),{renderer:"UnknownRenderer"}):e}disconnectedCallback(){super.disconnectedCallback(),this.touched=!1,this.submitted=!1}};(0,g.__decorate)([u.observable],M.prototype,"jsonforms",void 0),(0,g.__decorate)([u.observable],M.prototype,"props",void 0),(0,g.__decorate)([u.observable],M.prototype,"touched",void 0),(0,g.__decorate)([(0,u.attr)({mode:"boolean"})],M.prototype,"submitted",void 0),(0,g.__decorate)([u.observable],M.prototype,"dispatch",void 0),(0,g.__decorate)([u.observable],M.prototype,"control",void 0),(0,g.__decorate)([u.observable],M.prototype,"renderer",void 0),(0,g.__decorate)([u.observable],M.prototype,"prefix",void 0),M=(0,g.__decorate)([(0,u.customElement)({name:"dispatch-renderer",template:N,styles:L})],M);const I=u.css`
|
|
202
206
|
.tabs-container::part(stepper-panel-container) {
|
|
203
207
|
display: flex;
|
|
204
208
|
justify-content: flex-start;
|
|
205
209
|
align-items: flex-start;
|
|
206
210
|
}
|
|
207
|
-
`;let
|
|
208
|
-
${e=>((e="zero")=>
|
|
211
|
+
`;let j=class extends u.FASTElement{connectedCallback(){super.connectedCallback(),this.propertyNames=this.control.uischema.elements.map((e=>e.scope.split("/").pop())),this.validation=this.propertyNames.map(((e,a)=>({isValid:()=>0===(0,p.qiS)(e,this.control.schema)(this.form).length&&Object.keys(this.control.data)[a]===e})))}submit(){this.$emit("submit-button-clicked")}nextStep(){this.$emit("submit-part");const e=this.propertyNames[this.stepper.activeTabIndex];this.control.data[e]||this.$emit("data-change",{data:Object.assign(Object.assign({},this.control.data),{[e]:{}})})}resetValidation(){this.$emit("reset-form")}};(0,g.__decorate)([u.observable],j.prototype,"form",void 0),(0,g.__decorate)([u.observable],j.prototype,"control",void 0),(0,g.__decorate)([u.observable],j.prototype,"validation",void 0),(0,g.__decorate)([u.observable],j.prototype,"stepper",void 0),(0,g.__decorate)([u.observable],j.prototype,"propertyNames",void 0),j=(0,g.__decorate)([(0,u.customElement)({name:"stepper-wrapper",styles:I,template:u.html`
|
|
212
|
+
${e=>((e="zero")=>u.html`
|
|
209
213
|
<template>
|
|
210
214
|
<${e}-stepper
|
|
211
215
|
class="tabs-container"
|
|
212
|
-
${(0,
|
|
216
|
+
${(0,u.ref)("stepper")}
|
|
213
217
|
orientation="${e=>{var a;return(null===(a=e.control.uischema.options)||void 0===a?void 0:a.orientation)?e.control.uischema.options.orientation:"vertical"}}"
|
|
214
218
|
@next-step=${e=>e.nextStep()}
|
|
215
219
|
@validation-success=${e=>e.resetValidation()}
|
|
216
220
|
@submit=${e=>e.submit()}
|
|
217
221
|
:validation=${e=>e.validation}>
|
|
218
|
-
${(0,
|
|
222
|
+
${(0,u.repeat)((e=>e.control.uischema.elements),u.html`
|
|
219
223
|
<${e}-stepper-tab class="tab-control">${(e,a)=>{var r;return null!==(r=e.label)&&void 0!==r?r:`Step ${a.index+1}`}}</${e}-stepper-tab>
|
|
220
224
|
`,{positioning:!0})}
|
|
221
|
-
${(0,
|
|
225
|
+
${(0,u.repeat)((e=>e.control.uischema.elements),u.html`
|
|
222
226
|
<${e}-stepper-tab-panel class="tab-panel-control">
|
|
223
|
-
${(0,
|
|
227
|
+
${(0,u.repeat)((e=>e.options.childElements),u.html`
|
|
224
228
|
<dispatch-renderer
|
|
225
229
|
?submitted=${(e,a)=>a.parentContext.parent.form.submitted}
|
|
226
230
|
:dispatch=${(e,a)=>a.parentContext.parent.form.dispatch}
|
|
@@ -234,8 +238,8 @@
|
|
|
234
238
|
</${e}-stepper>
|
|
235
239
|
</template>
|
|
236
240
|
`)(e.form.prefix)}
|
|
237
|
-
`})],
|
|
238
|
-
${e=>(e=>
|
|
241
|
+
`})],j);const E=u.html`
|
|
242
|
+
${e=>(e=>u.html`
|
|
239
243
|
<template>
|
|
240
244
|
<json-forms
|
|
241
245
|
@submit-button-clicked=${e=>e._submit()}
|
|
@@ -250,7 +254,7 @@
|
|
|
250
254
|
:prefix=${e=>e.prefix}
|
|
251
255
|
@data-change=${(e,a)=>e.onChange(a.event)}
|
|
252
256
|
></json-forms>
|
|
253
|
-
${(0,
|
|
257
|
+
${(0,u.when)((e=>e.isSubmitHidden),u.html`
|
|
254
258
|
<slot name="userActions" part="userActions" class="actions">
|
|
255
259
|
<${e}-button
|
|
256
260
|
@click="${e=>e._submit()}"
|
|
@@ -264,8 +268,8 @@
|
|
|
264
268
|
`)}
|
|
265
269
|
</template>
|
|
266
270
|
`)(e.prefix)}
|
|
267
|
-
`,
|
|
268
|
-
${e=>((e="zero")=>
|
|
271
|
+
`,P=(0,p.or)(p.KmX,(0,p.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,p.ndu)(e,"boolean")))))),B={renderer:u.html`
|
|
272
|
+
${e=>((e="zero")=>u.html`
|
|
269
273
|
<template>
|
|
270
274
|
<control-wrapper
|
|
271
275
|
:control=${e=>e.control}
|
|
@@ -284,8 +288,8 @@
|
|
|
284
288
|
</control-wrapper>
|
|
285
289
|
</template>
|
|
286
290
|
`)(e.prefix)}
|
|
287
|
-
`,tester:(0,
|
|
288
|
-
${e=>((e="zero")=>
|
|
291
|
+
`,tester:(0,p.yMz)(3,P),mapper:p.xq9};var G=r(95026);const U=e=>a=>{if(!a||!(0,p.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},_=(0,p.xDy)(U("allOptionsResourceName"),(0,p.or)((0,p.wcO)((e=>(0,p.ndu)(e,"array"))),(0,p.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,p.ndu)(e,"array")))))));G.MultiselectDatasource;const H={renderer:u.html`
|
|
292
|
+
${e=>((e="zero")=>u.html`
|
|
289
293
|
<template>
|
|
290
294
|
<control-wrapper
|
|
291
295
|
:control=${e=>e.control}
|
|
@@ -310,8 +314,8 @@
|
|
|
310
314
|
</control-wrapper>
|
|
311
315
|
</template>
|
|
312
316
|
`)(e.prefix)}
|
|
313
|
-
`,tester:(0,
|
|
314
|
-
${e=>((e="zero")=>
|
|
317
|
+
`,tester:(0,p.yMz)(4,_),mapper:p.xq9};G.OptionsDatasource;const V={renderer:u.html`
|
|
318
|
+
${e=>((e="zero")=>u.html`
|
|
315
319
|
<template>
|
|
316
320
|
<control-wrapper
|
|
317
321
|
:control=${e=>e.control}
|
|
@@ -340,8 +344,8 @@
|
|
|
340
344
|
</control-wrapper>
|
|
341
345
|
</template>
|
|
342
346
|
`)(e.prefix)}
|
|
343
|
-
`,tester:(0,
|
|
344
|
-
${e=>((e="zero")=>
|
|
347
|
+
`,tester:(0,p.yMz)(4,(0,p.or)(U("allOptionsResourceName"),U("data"))),mapper:p.xq9},Y=(0,p.wcO)((e=>"org.joda.time.DateTime"===e.description)),Q=(0,p.or)(Y,(0,p.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>"org.joda.time.DateTime"===e.description))))),W={renderer:u.html`
|
|
348
|
+
${e=>((e="zero")=>u.html`
|
|
345
349
|
<template>
|
|
346
350
|
<control-wrapper
|
|
347
351
|
:control=${e=>e.control}
|
|
@@ -361,8 +365,8 @@
|
|
|
361
365
|
</control-wrapper>
|
|
362
366
|
</template>
|
|
363
367
|
`)(e.prefix)}
|
|
364
|
-
`,tester:(0,
|
|
365
|
-
${e=>((e="zero")=>
|
|
368
|
+
`,tester:(0,p.yMz)(4,Q),mapper:p.xq9},q=(0,p.or)(p.UvK,(0,p.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>e.hasOwnProperty("enum")))))),J={renderer:u.html`
|
|
369
|
+
${e=>((e="zero")=>u.html`
|
|
366
370
|
<template>
|
|
367
371
|
<control-wrapper
|
|
368
372
|
:control=${e=>e.control}
|
|
@@ -377,14 +381,14 @@
|
|
|
377
381
|
id=${e=>e.control.path}
|
|
378
382
|
data-test-id=${e=>e.control.path}
|
|
379
383
|
>
|
|
380
|
-
${(0,
|
|
384
|
+
${(0,u.repeat)((e=>e.control.options),u.html`
|
|
381
385
|
<${e}-option>${e=>e.label}</${e}-option>
|
|
382
386
|
`)}
|
|
383
387
|
</${e}-combobox>
|
|
384
388
|
</control-wrapper>
|
|
385
389
|
</template>
|
|
386
390
|
`)(e.prefix)}
|
|
387
|
-
`,tester:(0,
|
|
391
|
+
`,tester:(0,p.yMz)(3,q),mapper:(e,a)=>{const r=(0,p.xq9)(e,a),t=a.options||(r.schema.enum||r.schema.oneOf.find((e=>e.hasOwnProperty("enum"))).enum).map((a=>(0,p.vld)(a,(0,p.Ty2)()(e),(0,p.B49)(r.schema,r.uischema,r.path))))||r.schema.const&&[(0,p.vld)(r.schema.const,(0,p.Ty2)()(e),(0,p.B49)(r.schema,r.uischema,r.path))];return Object.assign(Object.assign({},r),{options:t})}},Z={renderer:u.html`
|
|
388
392
|
<template>
|
|
389
393
|
<pre
|
|
390
394
|
:value=${e=>e.control.data||""}
|
|
@@ -393,18 +397,24 @@
|
|
|
393
397
|
style="display: none"
|
|
394
398
|
></pre>
|
|
395
399
|
</template>
|
|
396
|
-
`,tester:(0,
|
|
400
|
+
`,tester:(0,p.yMz)(5,((e,a,r)=>{var t,o;return null!==(o=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.hidden)&&void 0!==o&&o})),mapper:p.xq9},K=e=>(0,p.ndu)(e,"array")&&e.hasOwnProperty("items")&&"object"==e.items.type,X=(0,p.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some(K)||K(e))),ee={renderer:u.html`
|
|
397
401
|
<template>
|
|
398
|
-
<
|
|
402
|
+
<control-wrapper
|
|
403
|
+
:control=${e=>e.control}
|
|
404
|
+
:touched=${e=>e.touched}
|
|
405
|
+
?submitted=${e=>e.submitted}
|
|
406
|
+
>
|
|
407
|
+
<array-list-wrapper :form=${e=>e} :control=${e=>e.control}></array-list-wrapper>
|
|
408
|
+
</control-wrapper>
|
|
399
409
|
</template>
|
|
400
|
-
`,tester:(0,
|
|
410
|
+
`,tester:(0,p.yMz)(2,X),mapper:p.OmS,dispatchMapper:p.mpi},ae={renderer:u.html`
|
|
401
411
|
<template>
|
|
402
412
|
<categorization-wrapper :form=${e=>e} :control=${e=>e.control}></categorization-wrapper>
|
|
403
413
|
</template>
|
|
404
|
-
`,tester:(0,
|
|
414
|
+
`,tester:(0,p.yMz)(2,(e=>"Categorization"===e.type)),mapper:p.NFL},re={renderer:u.html`
|
|
405
415
|
<template>
|
|
406
416
|
<div>
|
|
407
|
-
${(0,
|
|
417
|
+
${(0,u.when)((e=>e.control.label),u.html`
|
|
408
418
|
<div
|
|
409
419
|
for="${e=>e.control.path+"-wrapper"}"
|
|
410
420
|
style="color: rgb(135, 155, 166);
|
|
@@ -415,7 +425,7 @@
|
|
|
415
425
|
${e=>e.control.label}
|
|
416
426
|
</div>
|
|
417
427
|
`)}
|
|
418
|
-
${(0,
|
|
428
|
+
${(0,u.repeat)((e=>e.control.uischema.options.childElements),u.html`
|
|
419
429
|
<dispatch-renderer
|
|
420
430
|
?submitted=${(e,a)=>a.parent.submitted}
|
|
421
431
|
:dispatch=${(e,a)=>a.parent.dispatch}
|
|
@@ -426,7 +436,7 @@
|
|
|
426
436
|
`)}
|
|
427
437
|
</div>
|
|
428
438
|
</template>
|
|
429
|
-
`,tester:(0,
|
|
439
|
+
`,tester:(0,p.yMz)(2,p.tyy),mapper:p.NFL},te={renderer:u.html`
|
|
430
440
|
<template>
|
|
431
441
|
<div
|
|
432
442
|
style="
|
|
@@ -434,7 +444,7 @@
|
|
|
434
444
|
flex-direction: row;
|
|
435
445
|
gap: 10px"
|
|
436
446
|
>
|
|
437
|
-
${(0,
|
|
447
|
+
${(0,u.repeat)((e=>e.control.uischema.elements),u.html`
|
|
438
448
|
<dispatch-renderer
|
|
439
449
|
?submitted=${(e,a)=>a.parent.submitted}
|
|
440
450
|
:dispatch=${(e,a)=>a.parent.dispatch}
|
|
@@ -445,10 +455,10 @@
|
|
|
445
455
|
`)}
|
|
446
456
|
</div>
|
|
447
457
|
</template>
|
|
448
|
-
`,tester:(0,
|
|
458
|
+
`,tester:(0,p.yMz)(2,(e=>"HorizontalLayout"===e.type)),mapper:p.NFL},oe={renderer:u.html`
|
|
449
459
|
<template>
|
|
450
460
|
<div>
|
|
451
|
-
${(0,
|
|
461
|
+
${(0,u.repeat)((e=>e.control.uischema.elements),u.html`
|
|
452
462
|
<dispatch-renderer
|
|
453
463
|
?submitted=${(e,a)=>a.parent.submitted}
|
|
454
464
|
:dispatch=${(e,a)=>a.parent.dispatch}
|
|
@@ -459,11 +469,11 @@
|
|
|
459
469
|
`)}
|
|
460
470
|
</div>
|
|
461
471
|
</template>
|
|
462
|
-
`,tester:(0,
|
|
472
|
+
`,tester:(0,p.yMz)(2,p.Lki),mapper:p.NFL},ie={renderer:u.html`
|
|
463
473
|
<template>
|
|
464
474
|
<stepper-wrapper :form=${e=>e} :control=${e=>e.control}></stepper-wrapper>
|
|
465
475
|
</template>
|
|
466
|
-
`,tester:(0,
|
|
476
|
+
`,tester:(0,p.yMz)(3,(e=>"Stepper"===e.type)),mapper:p.NFL},ne={renderer:u.html`
|
|
467
477
|
<template>
|
|
468
478
|
<div
|
|
469
479
|
style="
|
|
@@ -472,7 +482,7 @@
|
|
|
472
482
|
flex-wrap: wrap;
|
|
473
483
|
justify-content: space-between;"
|
|
474
484
|
>
|
|
475
|
-
${(0,
|
|
485
|
+
${(0,u.repeat)((e=>e.control.uischema.elements),u.html`
|
|
476
486
|
<div style="width: 49%">
|
|
477
487
|
<dispatch-renderer
|
|
478
488
|
?submitted=${(e,a)=>a.parent.submitted}
|
|
@@ -485,8 +495,8 @@
|
|
|
485
495
|
`)}
|
|
486
496
|
</div>
|
|
487
497
|
</template>
|
|
488
|
-
`,tester:(0,
|
|
489
|
-
${e=>((e="zero")=>
|
|
498
|
+
`,tester:(0,p.yMz)(2,(e=>"LayoutVertical2Columns"===e.type)),mapper:p.NFL},le=e=>(0,p.ndu)(e,"number")||(0,p.ndu)(e,"integer"),ge=(0,p.wcO)((e=>le(e)||e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>le(e))))),se={renderer:u.html`
|
|
499
|
+
${e=>((e="zero")=>u.html`
|
|
490
500
|
<template>
|
|
491
501
|
<control-wrapper
|
|
492
502
|
:control=${e=>e.control}
|
|
@@ -510,19 +520,19 @@
|
|
|
510
520
|
</control-wrapper>
|
|
511
521
|
</template>
|
|
512
522
|
`)(e.prefix)}
|
|
513
|
-
`,tester:(0,
|
|
514
|
-
${e=>((e="zero")=>
|
|
523
|
+
`,tester:(0,p.yMz)(3,ge),mapper:p.xq9};var de=r(55509);function ce(e,a){const r=a.event.target.value;e.control.handleChange(e.control.path,""===r?null:r)}const pe=u.html`
|
|
524
|
+
${e=>((e="zero")=>u.html`
|
|
515
525
|
<template>
|
|
516
526
|
<control-wrapper
|
|
517
527
|
:control=${e=>e.control}
|
|
518
528
|
:touched=${e=>e.touched}
|
|
519
529
|
?submitted=${e=>e.submitted}
|
|
520
530
|
>
|
|
521
|
-
${(0,
|
|
531
|
+
${(0,de.l)((e=>{var a,r;return!(null===(r=null===(a=e.control.uischema)||void 0===a?void 0:a.options)||void 0===r?void 0:r.textarea)}),u.html`
|
|
522
532
|
<${e}-text-field
|
|
523
533
|
type=${e=>{var a,r;return(null===(r=null===(a=e.control.uischema)||void 0===a?void 0:a.options)||void 0===r?void 0:r.isPassword)?"password":"text"}}
|
|
524
534
|
:value=${e=>e.control.data||""}
|
|
525
|
-
@change=${
|
|
535
|
+
@change=${ce}
|
|
526
536
|
placeholder=${e=>e.control.uischema.placeholder||e.control.label}
|
|
527
537
|
id=${e=>e.control.path}
|
|
528
538
|
data-test-id=${e=>e.control.path}
|
|
@@ -530,10 +540,10 @@
|
|
|
530
540
|
?disabled=${e=>!e.control.enabled}
|
|
531
541
|
style="width: 100%"
|
|
532
542
|
@blur=${e=>e.onBlur()}
|
|
533
|
-
></${e}-text-field>`,
|
|
543
|
+
></${e}-text-field>`,u.html`
|
|
534
544
|
<${e}-text-area
|
|
535
545
|
:value=${e=>e.control.data||""}
|
|
536
|
-
@change=${
|
|
546
|
+
@change=${ce}
|
|
537
547
|
placeholder=${e=>e.control.uischema.placeholder||e.control.label}
|
|
538
548
|
id=${e=>e.control.path}
|
|
539
549
|
data-test-id=${e=>e.control.path}
|
|
@@ -546,11 +556,11 @@
|
|
|
546
556
|
</control-wrapper>
|
|
547
557
|
</template>
|
|
548
558
|
`)(e.prefix)}
|
|
549
|
-
`,
|
|
550
|
-
${(0,
|
|
551
|
-
`,shadowOptions:
|
|
552
|
-
${(0,
|
|
553
|
-
`,shadowOptions:
|
|
559
|
+
`,ue={renderer:pe,tester:(0,p.yMz)(2,p.Wdb),mapper:p.xq9},he=[{renderer:pe,tester:(0,p.yMz)(1,p.DRl),mapper:p.xq9},ue,B,ee,ae,re,te,ne,oe,ie,se,H,J,V,W,Z];let me=class extends h.FoundationElement{constructor(){super(...arguments),this.prefix="zero",this.renderers=he,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const a=yield this.connect.getJSONSchema(this.resourceName);if(!a)return;const r=new(c())(a.INBOUND);this.jsonSchema=null===(e=(yield r.resolve()).properties)||void 0===e?void 0:e.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,y.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 u.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(y.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){y.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,u.attr)({attribute:"design-system-prefix"})],me.prototype,"prefix",void 0),(0,g.__decorate)([u.attr],me.prototype,"resourceName",void 0),(0,g.__decorate)([u.observable],me.prototype,"uischema",void 0),(0,g.__decorate)([u.observable],me.prototype,"renderers",void 0),(0,g.__decorate)([u.observable],me.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.lj],me.prototype,"connect",void 0),(0,g.__decorate)([u.observable],me.prototype,"data",void 0),(0,g.__decorate)([u.observable],me.prototype,"submitting",void 0),(0,g.__decorate)([u.observable],me.prototype,"submitted",void 0),(0,g.__decorate)([(0,u.attr)({mode:"boolean"})],me.prototype,"readonly",void 0),(0,g.__decorate)([(0,u.attr)({attribute:"hide-submit-button",mode:"boolean"})],me.prototype,"hideSubmit",void 0),(0,g.__decorate)([u.volatile],me.prototype,"isSubmitHidden",null),me=(0,g.__decorate)([(0,u.customElement)({name:"foundation-form",template:E,styles:v})],me);var be,ve,fe,we,ye,xe=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"}(be||(be={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ve||(ve={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(fe||(fe={})),function(e){e.grey="#7c909b"}(we||(we={})),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"}(ye||(ye={}));const{create:ke}=h.DesignToken,ze=(0,xe.parseColorHexRGB)(be.error),Se=m.SwatchRGB.create(ze.r,ze.g,ze.b),Ce=ke("error-color").withDefault(Se),$e=(0,xe.parseColorHexRGB)(be.success),Ae=m.SwatchRGB.create($e.r,$e.g,$e.b),Fe=ke("success-color").withDefault(Ae),Te=(0,G.paletteFromHex)(ve.blue),Oe=(0,G.paletteFromHex)(we.grey),De=m.StandardLuminance.DarkMode;var Re=r(5598);const Ne=Re.N.ltr,Le=m.strokeWidth.getValueFor(m.strokeWidth.appliedTo[0]),Me=4,Ie=m.density.getValueFor(m.density.appliedTo[0]),je=4;var Ee=r(47823);const Pe=()=>{(0,Ee.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")},Be='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Ge=(e=Ee.Hd.Normal,a=Ee.U9.Regular)=>(0,Ee.py)(Be,e,a),Ue=Be,_e=m.typeRampBaseFontSize.getValueFor(m.typeRampBaseFontSize.appliedTo[0]),He=m.typeRampBaseLineHeight.getValueFor(m.typeRampBaseLineHeight.appliedTo[0]),Ve={design_tokens:{color:{accent:{$value:Te.source.toColorString(),$type:"color"},neutral:{$value:Oe.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Ue,$type:"fontFamily"}},typography:{baseFontSize:{$value:_e,$type:"dimension"},baseLineHeight:{$value:He,$type:"dimension"}},mode:{luminance:{$value:De,$type:"number"}},style:{density:{$value:Ie,$type:"number"},borderRadius:{$value:Me,$type:"number"},strokeWidth:{$value:Le,$type:"number"}},space:{designUnit:{$value:je,$type:"number"}}}};class Ye extends G.Accordion{}const Qe=Ye.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,G.foundationAccordionTemplate)(e,a),styles:(e,a)=>u.css`
|
|
560
|
+
${(0,G.foundationAccordionStyles)(e,a)}
|
|
561
|
+
`,shadowOptions:G.foundationAccordionShadowOptions},G.defaultAccordionConfig));class We extends G.AccordionItem{}const qe=We.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,G.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>u.css`
|
|
562
|
+
${(0,G.foundationAccordionItemStyles)(e,a)};
|
|
563
|
+
`,shadowOptions:G.foundationAccordionItemShadowOptions},G.defaultAccordionItemConfig));class Je extends G.ActionsMenu{}const Ze=Je.compose({baseName:"actions-menu",styles:(e,a)=>u.css`
|
|
554
564
|
:host {
|
|
555
565
|
--actions-opener-heigght-multiplier: 0.6px;
|
|
556
566
|
--menu-item-height-multiplier: 0.5px;
|
|
@@ -574,38 +584,38 @@
|
|
|
574
584
|
pointer-events: none;
|
|
575
585
|
}
|
|
576
586
|
|
|
577
|
-
${(0,
|
|
578
|
-
`,template:
|
|
587
|
+
${(0,G.actionsMenuBaseStyles)(e,a)}
|
|
588
|
+
`,template:G.foundationActionsMenuTemplate}),Ke=(e,a=1)=>new xe.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),Xe=(0,xe.parseColorHexRGB)(be.white),ea=(e=1)=>Ke(Xe,e),aa=((0,xe.parseColorHexRGB)(be.black),(0,xe.parseColorHexRGB)("#585858")),ra=(m.SwatchRGB.create(aa.r,aa.g,aa.b),(0,xe.parseColorHexRGB)("#202126")),ta=m.SwatchRGB.create(ra.r,ra.g,ra.b),oa=(m.PaletteRGB.from(ta),(0,xe.parseColorHexRGB)(ve.blue)),ia=(e=1)=>Ke(oa,e),na=m.SwatchRGB.create(oa.r,oa.g,oa.b),la=(m.PaletteRGB.from(na),(0,xe.parseColorHexRGB)(ve.purple)),ga=(e=1)=>Ke(la,e),sa=(0,xe.parseColorHexRGB)(fe.orange),da=(e=1)=>Ke(sa,e),ca=(0,xe.parseColorHexRGB)(fe.teal),pa=(e=1)=>Ke(ca,e),ua=((0,xe.parseColorHexRGB)(ye.longGreen),(0,xe.parseColorHexRGB)(ye.chartPink),(0,xe.parseColorHexRGB)(ye.warningYellow)),ha=(0,xe.parseColorHexRGB)(ye.chartPink),ma=(e=1)=>Ke(ha,e);function ba(e,a){return new h.PropertyStyleSheetBehavior("appearance",e,a)}const va=.3,fa=.1,wa=.5,ya=u.css`
|
|
579
589
|
:host([appearance='primary-blue']) {
|
|
580
|
-
background: ${
|
|
581
|
-
border: 1px solid ${
|
|
590
|
+
background: ${ia(va)};
|
|
591
|
+
border: 1px solid ${ve.blue};
|
|
582
592
|
}
|
|
583
593
|
|
|
584
594
|
:host([appearance='primary-blue']:hover) {
|
|
585
|
-
background: ${
|
|
595
|
+
background: ${ve.blue};
|
|
586
596
|
}
|
|
587
597
|
|
|
588
598
|
:host([appearance='primary-blue']:active) {
|
|
589
|
-
background: ${
|
|
590
|
-
border: 1px solid ${
|
|
591
|
-
color: ${
|
|
599
|
+
background: ${ia(fa)};
|
|
600
|
+
border: 1px solid ${ia(va)};
|
|
601
|
+
color: ${ea(wa)};
|
|
592
602
|
}
|
|
593
|
-
`,
|
|
603
|
+
`,xa=u.css`
|
|
594
604
|
:host([appearance='primary-purple']) {
|
|
595
|
-
background: ${
|
|
596
|
-
border: 1px solid ${
|
|
605
|
+
background: ${ga(va)};
|
|
606
|
+
border: 1px solid ${ve.purple};
|
|
597
607
|
}
|
|
598
608
|
|
|
599
609
|
:host([appearance='primary-purple']:hover) {
|
|
600
|
-
background: ${
|
|
610
|
+
background: ${ve.purple};
|
|
601
611
|
}
|
|
602
612
|
|
|
603
613
|
:host([appearance='primary-purple']:active) {
|
|
604
|
-
background: ${
|
|
605
|
-
border: 1px solid ${
|
|
606
|
-
color: ${
|
|
614
|
+
background: ${ga(fa)};
|
|
615
|
+
border: 1px solid ${ga(va)};
|
|
616
|
+
color: ${ea(wa)};
|
|
607
617
|
}
|
|
608
|
-
`,
|
|
618
|
+
`,ka=u.css`
|
|
609
619
|
:host {
|
|
610
620
|
--primary-gradient-angle: -113.5deg;
|
|
611
621
|
}
|
|
@@ -613,8 +623,8 @@
|
|
|
613
623
|
:host([appearance='primary-gradient']) {
|
|
614
624
|
background-image: linear-gradient(
|
|
615
625
|
var(--primary-gradient-angle),
|
|
616
|
-
${
|
|
617
|
-
${
|
|
626
|
+
${ve.blue},
|
|
627
|
+
${ve.purple}
|
|
618
628
|
);
|
|
619
629
|
background-origin: border-box;
|
|
620
630
|
border: solid 1px transparent;
|
|
@@ -624,8 +634,8 @@
|
|
|
624
634
|
:host([appearance='primary-gradient']:hover) {
|
|
625
635
|
background-image: linear-gradient(
|
|
626
636
|
var(--primary-gradient-angle),
|
|
627
|
-
${
|
|
628
|
-
${
|
|
637
|
+
${ve.blue},
|
|
638
|
+
${ve.purple}
|
|
629
639
|
);
|
|
630
640
|
background-origin: border-box;
|
|
631
641
|
border: solid 1px transparent;
|
|
@@ -635,60 +645,60 @@
|
|
|
635
645
|
:host([appearance='primary-gradient']:active) {
|
|
636
646
|
background-image: linear-gradient(
|
|
637
647
|
var(--primary-gradient-angle),
|
|
638
|
-
${
|
|
639
|
-
${
|
|
648
|
+
${ia(va)},
|
|
649
|
+
${ga(va)}
|
|
640
650
|
);
|
|
641
651
|
background-origin: border-box;
|
|
642
652
|
border: solid 1px transparent;
|
|
643
653
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 30%) inset;
|
|
644
|
-
color: ${
|
|
654
|
+
color: ${ea(wa)};
|
|
645
655
|
}
|
|
646
|
-
`,
|
|
656
|
+
`,za=u.css`
|
|
647
657
|
:host([appearance='secondary-orange']) {
|
|
648
|
-
background: ${
|
|
649
|
-
border: 1px solid ${
|
|
658
|
+
background: ${da(va)};
|
|
659
|
+
border: 1px solid ${fe.orange};
|
|
650
660
|
}
|
|
651
661
|
|
|
652
662
|
:host([appearance='secondary-orange']:hover) {
|
|
653
|
-
background: ${
|
|
663
|
+
background: ${fe.orange};
|
|
654
664
|
}
|
|
655
665
|
|
|
656
666
|
:host([appearance='secondary-orange']:active) {
|
|
657
|
-
background: ${
|
|
658
|
-
border: 1px solid ${
|
|
659
|
-
color: ${
|
|
667
|
+
background: ${da(fa)};
|
|
668
|
+
border: 1px solid ${da(va)};
|
|
669
|
+
color: ${ea(wa)};
|
|
660
670
|
}
|
|
661
|
-
`,
|
|
671
|
+
`,Sa=u.css`
|
|
662
672
|
:host([appearance='secondary-teal']) {
|
|
663
|
-
background: ${
|
|
664
|
-
border: 1px solid ${
|
|
673
|
+
background: ${pa(va)};
|
|
674
|
+
border: 1px solid ${fe.teal};
|
|
665
675
|
}
|
|
666
676
|
|
|
667
677
|
:host([appearance='secondary-teal']:hover) {
|
|
668
|
-
background: ${
|
|
678
|
+
background: ${fe.teal};
|
|
669
679
|
}
|
|
670
680
|
|
|
671
681
|
:host([appearance='secondary-teal']:active) {
|
|
672
|
-
background: ${
|
|
673
|
-
border: 1px solid ${
|
|
674
|
-
color: ${
|
|
682
|
+
background: ${pa(fa)};
|
|
683
|
+
border: 1px solid ${pa(va)};
|
|
684
|
+
color: ${ea(wa)};
|
|
675
685
|
}
|
|
676
|
-
`,
|
|
686
|
+
`,Ca=u.css`
|
|
677
687
|
:host([appearance='neutral-grey']) {
|
|
678
|
-
background: ${
|
|
679
|
-
border: 1px solid ${
|
|
688
|
+
background: ${m.neutralFillRest};
|
|
689
|
+
border: 1px solid ${m.neutralStrokeRest};
|
|
680
690
|
}
|
|
681
691
|
|
|
682
692
|
:host([appearance='neutral-grey']:hover) {
|
|
683
|
-
background: ${
|
|
693
|
+
background: ${m.neutralFillHover};
|
|
684
694
|
}
|
|
685
695
|
|
|
686
696
|
:host([appearance='neutral-grey']:active) {
|
|
687
|
-
background: ${
|
|
688
|
-
border: 1px solid ${
|
|
689
|
-
color: ${
|
|
697
|
+
background: ${m.neutralFillActive};
|
|
698
|
+
border: 1px solid ${m.neutralStrokeActive};
|
|
699
|
+
color: ${m.neutralForegroundRest};
|
|
690
700
|
}
|
|
691
|
-
|
|
701
|
+
`,$a=u.css`
|
|
692
702
|
:host {
|
|
693
703
|
--primary-gradient-angle: -113.5deg;
|
|
694
704
|
}
|
|
@@ -697,21 +707,21 @@
|
|
|
697
707
|
background:
|
|
698
708
|
linear-gradient(
|
|
699
709
|
var(--primary-gradient-angle),
|
|
700
|
-
${
|
|
701
|
-
${
|
|
710
|
+
${ve.blue} 0%,
|
|
711
|
+
${ve.purple} 100%
|
|
702
712
|
)
|
|
703
713
|
top/100% 1px,
|
|
704
714
|
linear-gradient(
|
|
705
715
|
var(--primary-gradient-angle),
|
|
706
|
-
${
|
|
707
|
-
${
|
|
716
|
+
${ve.blue} 0%,
|
|
717
|
+
${ve.purple} 100%
|
|
708
718
|
)
|
|
709
719
|
bottom/100% 1px;
|
|
710
720
|
background-origin: border-box;
|
|
711
721
|
background-repeat: no-repeat;
|
|
712
722
|
border: 1px solid transparent;
|
|
713
|
-
border-right-color: ${
|
|
714
|
-
border-left-color: ${
|
|
723
|
+
border-right-color: ${ve.blue};
|
|
724
|
+
border-left-color: ${ve.purple};
|
|
715
725
|
}
|
|
716
726
|
|
|
717
727
|
:host([appearance='outline-primary-gradient']:hover) {
|
|
@@ -719,8 +729,8 @@
|
|
|
719
729
|
background-repeat: unset;
|
|
720
730
|
background-image: linear-gradient(
|
|
721
731
|
var(--primary-gradient-angle),
|
|
722
|
-
${
|
|
723
|
-
${
|
|
732
|
+
${ve.blue},
|
|
733
|
+
${ve.purple}
|
|
724
734
|
);
|
|
725
735
|
background-origin: border-box;
|
|
726
736
|
box-shadow: 1px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
@@ -731,90 +741,90 @@
|
|
|
731
741
|
background:
|
|
732
742
|
linear-gradient(
|
|
733
743
|
var(--primary-gradient-angle),
|
|
734
|
-
${
|
|
735
|
-
${
|
|
744
|
+
${ia(va)} 0%,
|
|
745
|
+
${ga(va)} 100%
|
|
736
746
|
)
|
|
737
747
|
top/100% 1px,
|
|
738
748
|
linear-gradient(
|
|
739
749
|
var(--primary-gradient-angle),
|
|
740
|
-
${
|
|
741
|
-
${
|
|
750
|
+
${ia(va)} 0%,
|
|
751
|
+
${ga(va)} 100%
|
|
742
752
|
)
|
|
743
753
|
bottom/100% 1px;
|
|
744
754
|
background-origin: border-box;
|
|
745
755
|
background-repeat: no-repeat;
|
|
746
756
|
border: 1px solid transparent;
|
|
747
|
-
border-right-color: ${
|
|
748
|
-
border-left-color: ${
|
|
749
|
-
color: ${
|
|
757
|
+
border-right-color: ${ia(va)};
|
|
758
|
+
border-left-color: ${ga(va)};
|
|
759
|
+
color: ${ea(wa)};
|
|
750
760
|
}
|
|
751
|
-
`,
|
|
761
|
+
`,Aa=u.css`
|
|
752
762
|
:host([appearance='outline-secondary-orange']) {
|
|
753
763
|
background: transparent;
|
|
754
|
-
border: 1px solid ${
|
|
764
|
+
border: 1px solid ${fe.orange};
|
|
755
765
|
}
|
|
756
766
|
|
|
757
767
|
:host([appearance='outline-secondary-orange']:hover) {
|
|
758
|
-
background: ${
|
|
768
|
+
background: ${da(va)};
|
|
759
769
|
}
|
|
760
770
|
|
|
761
771
|
:host([appearance='outline-secondary-orange']:active) {
|
|
762
772
|
background: transparent;
|
|
763
|
-
border: 1px solid ${
|
|
764
|
-
color: ${
|
|
773
|
+
border: 1px solid ${da(va)};
|
|
774
|
+
color: ${ea(wa)};
|
|
765
775
|
}
|
|
766
|
-
`,
|
|
776
|
+
`,Fa=u.css`
|
|
767
777
|
:host([appearance='outline-secondary-teal']) {
|
|
768
778
|
background: transparent;
|
|
769
|
-
border: 1px solid ${
|
|
779
|
+
border: 1px solid ${fe.teal};
|
|
770
780
|
}
|
|
771
781
|
|
|
772
782
|
:host([appearance='outline-secondary-teal']:hover) {
|
|
773
|
-
background: ${
|
|
783
|
+
background: ${pa(va)};
|
|
774
784
|
}
|
|
775
785
|
|
|
776
786
|
:host([appearance='outline-secondary-teal']:active) {
|
|
777
787
|
background: transparent;
|
|
778
|
-
border: 1px solid ${
|
|
779
|
-
color: ${
|
|
788
|
+
border: 1px solid ${pa(va)};
|
|
789
|
+
color: ${ea(wa)};
|
|
780
790
|
}
|
|
781
|
-
|
|
782
|
-
${(0,
|
|
783
|
-
${
|
|
791
|
+
`,Ta=(e,a)=>u.css`
|
|
792
|
+
${(0,G.foundationButtonStyles)(e,a)}
|
|
793
|
+
${u.css`
|
|
784
794
|
:host {
|
|
785
795
|
margin: 5px;
|
|
786
796
|
}
|
|
787
797
|
`}
|
|
788
|
-
`.withBehaviors(
|
|
789
|
-
${(0,
|
|
790
|
-
${
|
|
791
|
-
`.withBehaviors(
|
|
792
|
-
${(0,
|
|
793
|
-
`,shadowOptions:
|
|
794
|
-
${(0,
|
|
795
|
-
`,shadowOptions:
|
|
796
|
-
${(0,
|
|
798
|
+
`.withBehaviors(ba("primary-blue",ya),ba("primary-purple",xa),ba("primary-gradient",ka),ba("secondary-orange",za),ba("secondary-teal",Sa),ba("neutral-grey",Ca),ba("outline-primary-gradient",$a),ba("outline-secondary-orange",Aa),ba("outline-secondary-teal",Fa));class Oa extends G.Anchor{}const Da=Oa.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,G.foundationAnchorTemplate)(e,a),styles:(e,a)=>u.css`
|
|
799
|
+
${(0,G.foundationAnchorStyles)(e,a)}
|
|
800
|
+
${Ta(e,a)}
|
|
801
|
+
`.withBehaviors(...Ta(e,a).behaviors),shadowOptions:G.foundationAnchorShadowOptions},G.defaultAnchorConfig));class Ra extends G.AnchoredRegion{}const Na=Ra.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,G.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>u.css`
|
|
802
|
+
${(0,G.foundationAnchoredRegionStyles)(e,a)}
|
|
803
|
+
`,shadowOptions:G.foundationAnchoredRegionShadowOptions},G.defaultAnchoredRegionConfig));class La extends G.Avatar{}const Ma=La.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,G.foundationAvatarTemplate)(e,a),styles:(e,a)=>u.css`
|
|
804
|
+
${(0,G.foundationAvatarStyles)(e,a)}
|
|
805
|
+
`,shadowOptions:G.foundationAvatarShadowOptions},G.defaultAvatarConfig));class Ia extends G.Badge{}const ja=Ia.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,G.foundationBadgeTemplate)(e,a),styles:(e,a)=>u.css`
|
|
806
|
+
${(0,G.foundationBadgeStyles)(e,a)}
|
|
797
807
|
:host {
|
|
798
|
-
--badge-fill-primary: ${
|
|
799
|
-
--badge-fill-secondary: ${
|
|
800
|
-
--badge-fill-pink: ${
|
|
808
|
+
--badge-fill-primary: ${ia()};
|
|
809
|
+
--badge-fill-secondary: ${pa()};
|
|
810
|
+
--badge-fill-pink: ${ma()};
|
|
801
811
|
--badge-fill-transparent: transparent;
|
|
802
812
|
--badge-color-black: #000;
|
|
803
813
|
--badge-color-white: #fff;
|
|
804
814
|
}
|
|
805
815
|
|
|
806
816
|
:host .control {
|
|
807
|
-
padding: calc(${
|
|
817
|
+
padding: calc(${m.designUnit} * 1px) calc(${m.designUnit} * 2px);
|
|
808
818
|
}
|
|
809
|
-
`,shadowOptions:
|
|
810
|
-
${
|
|
819
|
+
`,shadowOptions:G.foundationBadgeShadowOptions},G.defaultBadgeConfig)),Ea=u.css`
|
|
820
|
+
${G.foundationBannerStyles}
|
|
811
821
|
.banner {
|
|
812
|
-
background-color: ${
|
|
822
|
+
background-color: ${m.neutralLayer1};
|
|
813
823
|
}
|
|
814
|
-
`,
|
|
815
|
-
${(0,
|
|
816
|
-
`,shadowOptions:undefined},{}));class
|
|
817
|
-
${(0,
|
|
824
|
+
`,Pa=G.foundationBannerShadowOptions;class Ba extends G.Banner{}const Ga=Ba.compose({baseName:"banner",shadowOptions:Pa,styles:Ea,template:G.foundationBannerTemplate});class Ua extends G.Breadcrumb{}const _a=Ua.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,G.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>u.css`
|
|
825
|
+
${(0,G.foundationBreadcrumbStyles)(e,a)}
|
|
826
|
+
`,shadowOptions:undefined},{}));class Ha extends G.BreadcrumbItem{}const Va=Ha.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,G.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>u.css`
|
|
827
|
+
${(0,G.foundationBreadcrumbItemStyles)(e,a)}
|
|
818
828
|
:host {
|
|
819
829
|
--neutral-foreground-rest: #18b2e3;
|
|
820
830
|
--accent-foreground-rest: #f1f1f1;
|
|
@@ -824,110 +834,110 @@
|
|
|
824
834
|
.separator {
|
|
825
835
|
color: var(--neutral-stroke-rest);
|
|
826
836
|
}
|
|
827
|
-
`,shadowOptions:
|
|
828
|
-
${(0,
|
|
829
|
-
`,shadowOptions:
|
|
830
|
-
${(0,
|
|
837
|
+
`,shadowOptions:G.foundationBreadcrumbItemShadowOptions},G.defaultBreadcrumbItemConfig));class Ya extends G.Button{}const Qa=Ya.compose(Object.assign({baseName:"button",template:(e,a)=>(0,G.foundationButtonTemplate)(e,a),styles:Ta,shadowOptions:G.foundationButtonShadowOptions},G.defaultButtonConfig));class Wa extends G.Calendar{}const qa=Wa.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,G.foundationCalendarTemplate)(e,a),styles:()=>u.css`
|
|
838
|
+
${(0,G.foundationCalendarStyles)()}
|
|
839
|
+
`,shadowOptions:G.foundationCalendarShadowOptions},G.defaultCalendarConfig));class Ja extends G.Card{}const Za=Ja.compose(Object.assign({baseName:"card",template:(e,a)=>(0,G.foundationCardTemplate)(e,a),styles:(e,a)=>u.css`
|
|
840
|
+
${(0,G.foundationCardStyles)(e,a)}
|
|
831
841
|
:host {
|
|
832
842
|
background-color: var(--zero-card-fill-color, var(--neutral-layer-2));
|
|
833
|
-
color: ${
|
|
843
|
+
color: ${m.neutralForegroundRest};
|
|
834
844
|
}
|
|
835
|
-
`,shadowOptions:
|
|
836
|
-
${(0,
|
|
845
|
+
`,shadowOptions:G.foundationCardShadowOptions},G.defaultCardConfig));class Ka extends G.Checkbox{}const Xa=Ka.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,G.foundationCheckboxTemplate)(e,a),styles:(e,a)=>u.css`
|
|
846
|
+
${(0,G.foundationCheckboxStyles)(e,a)}
|
|
837
847
|
:host {
|
|
838
848
|
--primary-gradient-angle: -113.5deg;
|
|
839
|
-
--foreground-on-accent-rest: ${
|
|
840
|
-
--foreground-on-accent-hover: ${
|
|
841
|
-
--neutral-stroke-hover: ${
|
|
842
|
-
--foreground-on-accent-active: ${
|
|
849
|
+
--foreground-on-accent-rest: ${be.white};
|
|
850
|
+
--foreground-on-accent-hover: ${be.white};
|
|
851
|
+
--neutral-stroke-hover: ${be.white};
|
|
852
|
+
--foreground-on-accent-active: ${be.white};
|
|
843
853
|
}
|
|
844
854
|
|
|
845
855
|
.checked-indicator {
|
|
846
856
|
background-image: linear-gradient(
|
|
847
857
|
var(--primary-gradient-angle),
|
|
848
|
-
${
|
|
849
|
-
${
|
|
858
|
+
${ve.blue},
|
|
859
|
+
${ve.purple}
|
|
850
860
|
);
|
|
851
861
|
background-origin: border-box;
|
|
852
862
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 20%) inset;
|
|
853
863
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
854
864
|
}
|
|
855
|
-
`,shadowOptions:
|
|
856
|
-
${(0,
|
|
865
|
+
`,shadowOptions:G.foundationCheckboxShadowOptions},G.defaultCheckboxConfig)),er=(0,xe.parseColorHexRGB)("#F1F1F1"),ar=Ke(er,1),rr=(0,xe.parseColorHexRGB)("#879BA6"),tr=Ke(rr,.06),or=(0,xe.parseColorHexRGB)("#879BA6"),ir=Ke(or,1),nr=(0,xe.parseColorHexRGB)("#121212"),lr=Ke(nr,1),gr=(0,xe.parseColorHexRGB)("#2e3339"),sr=Ke(gr,1);var dr;!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"}(dr||(dr={}));Object.values(dr);class cr extends G.Combobox{}const pr=cr.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,G.foundationComboboxTemplate)(e,a),styles:(e,a)=>u.css`
|
|
866
|
+
${(0,G.foundationComboboxStyles)(e,a)}
|
|
857
867
|
:host {
|
|
858
868
|
--primary-gradient-angle: -113.5deg;
|
|
859
869
|
|
|
860
870
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
861
|
-
border-color: ${
|
|
862
|
-
background: ${
|
|
871
|
+
border-color: ${sr};
|
|
872
|
+
background: ${tr};
|
|
863
873
|
}
|
|
864
874
|
|
|
865
875
|
:host(:focus-within:not([disabled])) {
|
|
866
876
|
background:
|
|
867
877
|
linear-gradient(
|
|
868
878
|
var(--primary-gradient-angle),
|
|
869
|
-
${
|
|
870
|
-
${
|
|
879
|
+
${ve.blue} 0%,
|
|
880
|
+
${ve.purple} 100%
|
|
871
881
|
)
|
|
872
882
|
top/100% 1px,
|
|
873
883
|
linear-gradient(
|
|
874
884
|
var(--primary-gradient-angle),
|
|
875
|
-
${
|
|
876
|
-
${
|
|
885
|
+
${ve.blue} 0%,
|
|
886
|
+
${ve.purple} 100%
|
|
877
887
|
)
|
|
878
888
|
bottom/100% 1px;
|
|
879
889
|
background-origin: border-box;
|
|
880
890
|
background-repeat: no-repeat;
|
|
881
891
|
border: 1px solid transparent;
|
|
882
|
-
border-right-color: ${
|
|
883
|
-
border-left-color: ${
|
|
892
|
+
border-right-color: ${ve.blue};
|
|
893
|
+
border-left-color: ${ve.purple};
|
|
884
894
|
}
|
|
885
895
|
|
|
886
896
|
:host(:hover:not([disabled]):not([open])) {
|
|
887
|
-
border-color: ${
|
|
888
|
-
background: ${
|
|
897
|
+
border-color: ${ar};
|
|
898
|
+
background: ${tr};
|
|
889
899
|
}
|
|
890
900
|
|
|
891
901
|
:host([open][position='below']) .listbox {
|
|
892
902
|
padding: 0;
|
|
893
|
-
margin-top: calc(${
|
|
903
|
+
margin-top: calc(${m.designUnit} * 1px);
|
|
894
904
|
border-radius: 4px;
|
|
895
|
-
border: 1px solid ${
|
|
905
|
+
border: 1px solid ${be.lightGrey};
|
|
896
906
|
}
|
|
897
907
|
|
|
898
908
|
:host([open]) .control {
|
|
899
|
-
background: ${
|
|
909
|
+
background: ${lr};
|
|
900
910
|
}
|
|
901
911
|
|
|
902
912
|
:host(:not([disabled])) .control:active {
|
|
903
913
|
background: none;
|
|
904
914
|
}
|
|
905
|
-
`,shadowOptions:
|
|
906
|
-
${(0,
|
|
907
|
-
`,shadowOptions:
|
|
908
|
-
${(0,
|
|
909
|
-
`,shadowOptions:
|
|
910
|
-
${(0,
|
|
915
|
+
`,shadowOptions:G.foundationComboboxShadowOptions},G.defaultComboboxConfig));class ur extends G.ConnectionIndicator{}const hr=ur.compose({baseName:"connection-indicator",template:G.foundationConnectionIndicatorTemplate,styles:G.foundationConnectionIndicatorStyles});class mr extends G.DataGridCell{}mr.compose(Object.assign({baseName:"data-grid-cell",template:h.dataGridCellTemplate,styles:(e,a)=>u.css`
|
|
916
|
+
${(0,G.foundationDataGridCellStyles)(e,a)}
|
|
917
|
+
`,shadowOptions:G.foundationDataGridCellShadowOptions},G.defaultDataGridCellConfig));class br extends G.DataGridRow{}br.compose(Object.assign({baseName:"data-grid-row",template:h.dataGridRowTemplate,styles:(e,a)=>u.css`
|
|
918
|
+
${(0,G.foundationDataGridRowStyles)(e,a)}
|
|
919
|
+
`,shadowOptions:G.foundationDataGridRowShadowOptions},G.defaultDataGridRowConfig));class vr extends G.DataGrid{}const fr=vr.compose(Object.assign({baseName:"data-grid",template:(e,a)=>(0,G.foundationDataGridTemplate)(e,a),styles:(e,a)=>u.css`
|
|
920
|
+
${(0,G.foundationDataGridStyles)(e,a)}
|
|
911
921
|
::slotted(.sticky-header),
|
|
912
922
|
::slotted(.header) {
|
|
913
923
|
border-bottom-color: var(--neutral-color);
|
|
914
924
|
|
|
915
|
-
--neutral-foreground-rest: ${
|
|
925
|
+
--neutral-foreground-rest: ${ir};
|
|
916
926
|
}
|
|
917
927
|
|
|
918
928
|
::slotted([role='row']) {
|
|
919
929
|
background-color: #1f2126;
|
|
920
930
|
}
|
|
921
|
-
`,shadowOptions:
|
|
922
|
-
${(0,
|
|
923
|
-
`;class
|
|
924
|
-
${
|
|
931
|
+
`,shadowOptions:G.foundationDataGridShadowOptions},G.defaultDataGridConfig)),wr=u.html`
|
|
932
|
+
${(0,G.getPrefixedDatePicker)("zero")}
|
|
933
|
+
`;class yr extends G.DatePicker{}const xr=yr.compose(Object.assign({baseName:"date-picker",template:wr,styles:()=>u.css`
|
|
934
|
+
${G.foundationDatePickerStyles}
|
|
925
935
|
:host {
|
|
926
936
|
--primary-gradient-angle: -113.5deg;
|
|
927
937
|
}
|
|
928
938
|
|
|
929
939
|
.calendar-dropdown {
|
|
930
|
-
background: ${
|
|
940
|
+
background: ${be.mediumGrey};
|
|
931
941
|
}
|
|
932
942
|
|
|
933
943
|
.week-days,
|
|
@@ -941,7 +951,7 @@
|
|
|
941
951
|
}
|
|
942
952
|
|
|
943
953
|
.month-day.current {
|
|
944
|
-
color: ${
|
|
954
|
+
color: ${be.almostWhite};
|
|
945
955
|
}
|
|
946
956
|
|
|
947
957
|
.input-icon-container {
|
|
@@ -954,55 +964,55 @@
|
|
|
954
964
|
}
|
|
955
965
|
|
|
956
966
|
.input-icon-container:hover {
|
|
957
|
-
background-color: ${
|
|
967
|
+
background-color: ${be.mediumGrey};
|
|
958
968
|
}
|
|
959
969
|
|
|
960
970
|
.date-toggle::part(end) {
|
|
961
971
|
margin-inline-end: 4px;
|
|
962
972
|
}
|
|
963
|
-
`,shadowOptions:undefined},{}));var
|
|
964
|
-
${(0,
|
|
973
|
+
`,shadowOptions:undefined},{}));var kr=r(37068);Pe();const zr=u.css`
|
|
974
|
+
${(0,h.display)("flex")}
|
|
965
975
|
:host {
|
|
966
976
|
flex: 1;
|
|
967
977
|
}
|
|
968
|
-
`,
|
|
978
|
+
`,Sr=u.css`
|
|
969
979
|
:host {
|
|
970
|
-
background-color: ${
|
|
980
|
+
background-color: ${m.neutralFillStealthActive};
|
|
971
981
|
}
|
|
972
|
-
`.withBehaviors((0,
|
|
982
|
+
`.withBehaviors((0,h.forcedColorsStylesheetBehavior)(u.css`
|
|
973
983
|
:host {
|
|
974
|
-
background-color: ${
|
|
975
|
-
box-shadow: 0 0 0 1px ${
|
|
976
|
-
color: ${
|
|
984
|
+
background-color: ${b.H.ButtonFace};
|
|
985
|
+
box-shadow: 0 0 0 1px ${b.H.CanvasText};
|
|
986
|
+
color: ${b.H.ButtonText};
|
|
977
987
|
}
|
|
978
|
-
`)),
|
|
988
|
+
`)),Cr=(e,a,r)=>u.css`
|
|
979
989
|
${e.name} ${"h"+a} {
|
|
980
990
|
font-size: var(--type-ramp-plus-${r}-font-size);
|
|
981
991
|
line-height: var(--type-ramp-plus-${r}-line-height);
|
|
982
992
|
margin: 0;
|
|
983
|
-
${Ee
|
|
993
|
+
${Ge(Ee.Hd.Normal,Ee.U9.Bold)}
|
|
984
994
|
}
|
|
985
|
-
`;class
|
|
995
|
+
`;class $r extends m.DesignSystemProvider{constructor(){super(),(0,G.provideTokens)(t,o,this)}}(0,kr.__decorate)([(0,u.attr)({attribute:"card-fill-color",converter:G.swatchConverter}),(0,G.designToken)(m.neutralFillStealthRest)],$r.prototype,"cardFillColor",void 0),(0,kr.__decorate)([(0,u.attr)({attribute:"card-foreground-color",converter:G.swatchConverter}),(0,G.designToken)(m.neutralForegroundRest)],$r.prototype,"cardForegroundColor",void 0);const Ar=$r.compose({baseName:"design-system-provider",template:u.html`
|
|
986
996
|
<slot></slot>
|
|
987
|
-
`,styles:e=>{const a=(e=>
|
|
988
|
-
${
|
|
989
|
-
${
|
|
990
|
-
${
|
|
991
|
-
${
|
|
992
|
-
${
|
|
993
|
-
${
|
|
994
|
-
`)(e);return a.addStylesTo(document),
|
|
995
|
-
${
|
|
996
|
-
${
|
|
997
|
+
`,styles:e=>{const a=(e=>u.css`
|
|
998
|
+
${Cr(e,"1","6")}
|
|
999
|
+
${Cr(e,"2","5")}
|
|
1000
|
+
${Cr(e,"3","4")}
|
|
1001
|
+
${Cr(e,"4","3")}
|
|
1002
|
+
${Cr(e,"5","2")}
|
|
1003
|
+
${Cr(e,"6","1")}
|
|
1004
|
+
`)(e);return a.addStylesTo(document),u.css`
|
|
1005
|
+
${zr}
|
|
1006
|
+
${Sr}
|
|
997
1007
|
${a}
|
|
998
1008
|
:host * {
|
|
999
|
-
color: ${
|
|
1000
|
-
${
|
|
1009
|
+
color: ${m.neutralForegroundRest};
|
|
1010
|
+
${Ge()}
|
|
1001
1011
|
}
|
|
1002
|
-
`}}),
|
|
1003
|
-
${
|
|
1012
|
+
`}}),Fr=(0,xe.parseColorHexRGB)("#121212"),Tr=Ke(Fr,1),Or=u.css`
|
|
1013
|
+
${G.foundationDialogStyles}
|
|
1004
1014
|
:host {
|
|
1005
|
-
--dialog-background: ${
|
|
1015
|
+
--dialog-background: ${m.neutralLayer2};
|
|
1006
1016
|
}
|
|
1007
1017
|
|
|
1008
1018
|
dialog {
|
|
@@ -1011,7 +1021,7 @@
|
|
|
1011
1021
|
bottom: 0;
|
|
1012
1022
|
color: rgb(255 255 255 / 30%);
|
|
1013
1023
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
1014
|
-
border: 1px solid ${
|
|
1024
|
+
border: 1px solid ${be.lightGrey};
|
|
1015
1025
|
text-align: left;
|
|
1016
1026
|
line-height: normal;
|
|
1017
1027
|
box-shadow: 0 2px 15px 0 rgb(0 0 0 / 35%);
|
|
@@ -1021,7 +1031,7 @@
|
|
|
1021
1031
|
display: flex;
|
|
1022
1032
|
align-items: center;
|
|
1023
1033
|
justify-content: space-between;
|
|
1024
|
-
color: ${
|
|
1034
|
+
color: ${be.almostWhite};
|
|
1025
1035
|
margin-bottom: calc(var(--design-unit) * 2px);
|
|
1026
1036
|
}
|
|
1027
1037
|
|
|
@@ -1029,11 +1039,11 @@
|
|
|
1029
1039
|
display: flex;
|
|
1030
1040
|
flex-wrap: wrap;
|
|
1031
1041
|
justify-content: flex-end;
|
|
1032
|
-
color: ${
|
|
1042
|
+
color: ${be.almostWhite};
|
|
1033
1043
|
}
|
|
1034
1044
|
|
|
1035
1045
|
:host slot:first-of-type {
|
|
1036
|
-
color: ${
|
|
1046
|
+
color: ${m.neutralForegroundRest};
|
|
1037
1047
|
}
|
|
1038
1048
|
|
|
1039
1049
|
::slotted(zero-button) {
|
|
@@ -1054,30 +1064,30 @@
|
|
|
1054
1064
|
}
|
|
1055
1065
|
|
|
1056
1066
|
.close-icon:hover svg {
|
|
1057
|
-
background-color: ${
|
|
1067
|
+
background-color: ${ea(.05)};
|
|
1058
1068
|
}
|
|
1059
1069
|
|
|
1060
1070
|
.close-icon:hover svg g path {
|
|
1061
|
-
fill: ${
|
|
1071
|
+
fill: ${ea(1)};
|
|
1062
1072
|
}
|
|
1063
1073
|
|
|
1064
1074
|
.close-icon:active svg {
|
|
1065
|
-
background-color: ${
|
|
1075
|
+
background-color: ${Tr};
|
|
1066
1076
|
}
|
|
1067
1077
|
|
|
1068
1078
|
.close-icon:active svg g path {
|
|
1069
|
-
fill: ${
|
|
1070
|
-
}
|
|
1071
|
-
`,
|
|
1072
|
-
${(0,
|
|
1073
|
-
`,shadowOptions:
|
|
1074
|
-
${(0,
|
|
1075
|
-
`,shadowOptions:
|
|
1076
|
-
${(0,
|
|
1077
|
-
`,template:
|
|
1078
|
-
${(0,
|
|
1079
|
-
`,
|
|
1080
|
-
${
|
|
1079
|
+
fill: ${ea(.33)};
|
|
1080
|
+
}
|
|
1081
|
+
`,Dr=G.defaultDialogConfig,Rr=G.foundationDialogTemplate,Nr=G.foundationDialogShadowOptions;class Lr extends G.Dialog{}const Mr=Lr.compose(Object.assign({baseName:"dialog",shadowOptions:Nr,styles:Or,template:Rr},Dr));class Ir extends G.Disclosure{}const jr=Ir.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,G.foundationDisclosureTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1082
|
+
${(0,G.foundationDisclosureStyles)(e,a)}
|
|
1083
|
+
`,shadowOptions:G.foundationDialogShadowOptions},G.defaultDisclosureConfig));class Er extends G.Divider{}const Pr=Er.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,G.foundationDividerTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1084
|
+
${(0,G.foundationDividerStyles)(e,a)}
|
|
1085
|
+
`,shadowOptions:G.foundationDividerShadowOptions},G.defaultDividerConfig));class Br extends G.DropdownMenu{}const Gr=Br.compose({baseName:"dropdown-menu",styles:(e,a)=>u.css`
|
|
1086
|
+
${(0,G.dropdownMenuBaseStyles)("zero",e,a)}
|
|
1087
|
+
`,template:G.foundationDropdownMenuTemplate}),Ur=u.html`
|
|
1088
|
+
${(0,G.getPrefixedErrorBanner)("zero")}
|
|
1089
|
+
`,_r=G.foundationErrorBannerShadowOptions;class Hr extends G.ErrorBanner{}const Vr=Hr.compose({baseName:"error-banner",template:Ur,shadowOptions:_r});class Yr extends G.ErrorBoundary{}const Qr=Yr.compose({baseName:"error-boundary",template:G.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class Wr extends G.ErrorDialog{}const qr=Wr.compose({baseName:"error-dialog",styles:G.foundationErrorDialogStyles,template:G.errorDialogTemplate,shadowOptions:G.foundationErrorDialogShadowOptions}),Jr=u.css`
|
|
1090
|
+
${G.foundationFileUploadStyles}
|
|
1081
1091
|
::-webkit-scrollbar {
|
|
1082
1092
|
width: 12px;
|
|
1083
1093
|
}
|
|
@@ -1093,14 +1103,14 @@
|
|
|
1093
1103
|
background-color: var(--neutral-color);
|
|
1094
1104
|
border: 3px solid rgb(31 33 38);
|
|
1095
1105
|
}
|
|
1096
|
-
`,
|
|
1097
|
-
${(0,
|
|
1098
|
-
`,
|
|
1099
|
-
${(0,
|
|
1100
|
-
`;class
|
|
1101
|
-
${(0,
|
|
1102
|
-
`;class
|
|
1103
|
-
${(0,
|
|
1106
|
+
`,Zr=u.html`
|
|
1107
|
+
${(0,G.getPrefixedFileUpload)("zero")}
|
|
1108
|
+
`,Kr=G.defaultFileUploadConfig,Xr=G.foundationFileUploadShadowOptions;class et extends G.FileUpload{}const at=et.compose(Object.assign({baseName:"file-upload",shadowOptions:Xr,styles:Jr,template:Zr},Kr)),rt=u.html`
|
|
1109
|
+
${(0,G.getPrefixedFilterTemplate)("zero")}
|
|
1110
|
+
`;class tt extends G.Filter{}const ot=tt.compose({baseName:"filter",template:rt,styles:G.foundationFilterStyles}),it=u.html`
|
|
1111
|
+
${(0,G.filterBarTemplate)("zero")}
|
|
1112
|
+
`;class nt extends G.FilterBar{}const lt=nt.compose({baseName:"filter-bar",template:it,styles:(e,a)=>u.css`
|
|
1113
|
+
${(0,G.foundationFilterBarStyles)(e,a)}
|
|
1104
1114
|
.toggle,
|
|
1105
1115
|
.toggle-collapsed {
|
|
1106
1116
|
background: var(--ag-background-color, #181d1f);
|
|
@@ -1111,36 +1121,36 @@
|
|
|
1111
1121
|
.toggle-collapsed:hover {
|
|
1112
1122
|
color: var(--ag-alpine-active-color, #2196f3);
|
|
1113
1123
|
}
|
|
1114
|
-
`});class
|
|
1115
|
-
${(0,
|
|
1124
|
+
`});class gt extends G.FlexLayout{}const st=gt.compose(Object.assign({baseName:"flex-layout",shadowOptions:G.foundationFlexLayoutShadowOptions,styles:G.foundationFlexLayoutStyles,template:G.foundationFlexLayoutTemplate},G.defaultFlexLayoutConfig));class dt extends G.Flipper{}const ct=dt.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,G.foundationFlipperTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1125
|
+
${(0,G.foundationFlipperStyles)(e,a)}
|
|
1116
1126
|
:host {
|
|
1117
|
-
--foreground-on-accent-rest: ${
|
|
1118
|
-
--foreground-on-accent-hover: ${
|
|
1119
|
-
--foreground-on-accent-active: ${
|
|
1127
|
+
--foreground-on-accent-rest: ${be.white};
|
|
1128
|
+
--foreground-on-accent-hover: ${be.white};
|
|
1129
|
+
--foreground-on-accent-active: ${be.white};
|
|
1120
1130
|
--primary-gradient-angle: -113.5deg;
|
|
1121
1131
|
}
|
|
1122
1132
|
|
|
1123
1133
|
:host::before {
|
|
1124
1134
|
background: linear-gradient(
|
|
1125
1135
|
var(--primary-gradient-angle),
|
|
1126
|
-
${
|
|
1127
|
-
${
|
|
1136
|
+
${ia(.7)},
|
|
1137
|
+
${ga(.7)}
|
|
1128
1138
|
);
|
|
1129
1139
|
}
|
|
1130
1140
|
|
|
1131
1141
|
:host(:hover)::before {
|
|
1132
1142
|
background: linear-gradient(
|
|
1133
1143
|
var(--primary-gradient-angle),
|
|
1134
|
-
${
|
|
1135
|
-
${
|
|
1144
|
+
${ve.blue},
|
|
1145
|
+
${ve.purple}
|
|
1136
1146
|
);
|
|
1137
1147
|
}
|
|
1138
|
-
`,shadowOptions:
|
|
1139
|
-
${
|
|
1148
|
+
`,shadowOptions:G.foundationFlipperShadowOptions},G.defaultFlipperConfig)),pt=u.css`
|
|
1149
|
+
${G.foundationFlyoutStyles}
|
|
1140
1150
|
div.flyout {
|
|
1141
|
-
background-color: ${
|
|
1142
|
-
border-color: ${
|
|
1143
|
-
color: ${
|
|
1151
|
+
background-color: ${m.neutralLayer2};
|
|
1152
|
+
border-color: ${m.neutralFillHover};
|
|
1153
|
+
color: ${m.neutralForegroundRest};
|
|
1144
1154
|
}
|
|
1145
1155
|
|
|
1146
1156
|
:host([position='left']) div.flyout {
|
|
@@ -1159,73 +1169,73 @@
|
|
|
1159
1169
|
}
|
|
1160
1170
|
|
|
1161
1171
|
div.exit:hover {
|
|
1162
|
-
background-color: ${
|
|
1172
|
+
background-color: ${m.neutralFillHover};
|
|
1163
1173
|
border-radius: 3px;
|
|
1164
1174
|
}
|
|
1165
|
-
`,
|
|
1166
|
-
${(0,
|
|
1167
|
-
`,
|
|
1175
|
+
`,ut=u.html`
|
|
1176
|
+
${(0,G.getPrefixedFlyout)("zero")}
|
|
1177
|
+
`,ht=G.defaultFlyoutConfig,mt=G.foundationFlyoutShadowOptions;class bt extends G.Flyout{}const vt=bt.compose(Object.assign({baseName:"flyout",shadowOptions:mt,styles:pt,template:ut},ht));class ft extends G.GridLayout{}const wt=ft.compose(Object.assign({baseName:"grid-layout",shadowOptions:G.foundationGridLayoutShadowOptions,styles:G.foundationGridLayoutStyles,template:G.foundationGridLayoutTemplate},G.defaultGridLayoutConfig));class yt extends G.GridLayoutItem{}const xt=yt.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:G.foundationGridLayoutItemShadowOptions,template:G.foundationGridLayoutItemTemplate},G.defaultGridLayoutItemConfig));class kt extends G.HorizontalScroll{}const zt={nextFlipper:u.html`
|
|
1168
1178
|
<zero-flipper
|
|
1169
1179
|
@click="${e=>e.scrollToNext()}"
|
|
1170
1180
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
1171
1181
|
></zero-flipper>
|
|
1172
|
-
`,previousFlipper:
|
|
1182
|
+
`,previousFlipper:u.html`
|
|
1173
1183
|
<zero-flipper
|
|
1174
1184
|
@click="${e=>e.scrollToPrevious()}"
|
|
1175
1185
|
direction="previous"
|
|
1176
1186
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
1177
1187
|
></zero-flipper>
|
|
1178
|
-
`},
|
|
1179
|
-
${(0,
|
|
1180
|
-
`,shadowOptions:
|
|
1181
|
-
${(0,
|
|
1182
|
-
`,shadowOptions:
|
|
1183
|
-
${(0,
|
|
1188
|
+
`},St=kt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,G.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1189
|
+
${(0,G.foundationHorizontalScrollStyles)(e,a)}
|
|
1190
|
+
`,shadowOptions:G.foundationHorizontalScrollShadowOptions},zt));class Ct extends G.Icon{}const $t=G.defaultIconConfig,At=G.foundationIconShadowOptions,Ft=Ct.compose(Object.assign({baseName:"icon",template:G.foundationIconTemplate,styles:(e,a)=>u.css`
|
|
1191
|
+
${(0,G.foundationIconStyles)(e,a)}
|
|
1192
|
+
`,shadowOptions:At},$t));class Tt extends G.Listbox{}const Ot=Tt.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,G.foundationListboxTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1193
|
+
${(0,G.foundationListboxStyles)(e,a)}
|
|
1184
1194
|
|
|
1185
1195
|
:host {
|
|
1186
1196
|
background: #1f2126;
|
|
1187
1197
|
}
|
|
1188
|
-
`,shadowOptions:
|
|
1189
|
-
${(0,
|
|
1198
|
+
`,shadowOptions:G.foundationListboxShadowOptions},G.defaultListboxConfig));class Dt extends G.ListboxOption{}const Rt=Dt.compose(Object.assign({baseName:"option",template:(e,a)=>(0,G.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1199
|
+
${(0,G.foundationListboxOptionStyles)(e,a)}
|
|
1190
1200
|
:host {
|
|
1191
|
-
background-color: ${
|
|
1201
|
+
background-color: ${be.darkGrey};
|
|
1192
1202
|
margin: 0;
|
|
1193
1203
|
border-radius: 0;
|
|
1194
|
-
border: 1px solid ${
|
|
1204
|
+
border: 1px solid ${be.lightGrey};
|
|
1195
1205
|
}
|
|
1196
1206
|
|
|
1197
1207
|
:host(:hover:not([disabled])) {
|
|
1198
|
-
background-color: ${
|
|
1208
|
+
background-color: ${be.mediumGrey};
|
|
1199
1209
|
}
|
|
1200
1210
|
|
|
1201
1211
|
:host(.selected) {
|
|
1202
|
-
background-color: ${
|
|
1203
|
-
color: ${
|
|
1212
|
+
background-color: ${be.darkerGrey};
|
|
1213
|
+
color: ${ve.blue};
|
|
1204
1214
|
}
|
|
1205
|
-
`,shadowOptions:
|
|
1206
|
-
${(0,
|
|
1215
|
+
`,shadowOptions:G.foundationListboxOptionShadowOptions},G.defaultListboxOptionConfig)),Nt=G.foundationMenuShadowOptions;class Lt extends G.Menu{}const Mt=Lt.compose({baseName:"menu",template:G.foundationMenuTemplate,styles:(e,a)=>u.css`
|
|
1216
|
+
${(0,G.foundationMenuStyles)(e,a)}
|
|
1207
1217
|
|
|
1208
1218
|
:host {
|
|
1209
1219
|
padding: 0;
|
|
1210
1220
|
}
|
|
1211
|
-
`,shadowOptions:
|
|
1212
|
-
${(0,
|
|
1221
|
+
`,shadowOptions:Nt}),It=G.foundationMenuItemShadowOptions;class jt extends G.MenuItem{}const Et=jt.compose(Object.assign({baseName:"menu-item",template:G.foundationMenuItemTemplate,styles:(e,a)=>u.css`
|
|
1222
|
+
${(0,G.foundationMenuItemStyles)(e,a)}
|
|
1213
1223
|
|
|
1214
1224
|
:host {
|
|
1215
1225
|
background: none;
|
|
1216
1226
|
margin: 0;
|
|
1217
1227
|
}
|
|
1218
|
-
`,shadowOptions:
|
|
1219
|
-
${
|
|
1220
|
-
`,
|
|
1221
|
-
${
|
|
1228
|
+
`,shadowOptions:It},G.defaultMenuItemConfig)),Pt=u.css`
|
|
1229
|
+
${Or}
|
|
1230
|
+
`,Bt=G.defaultModalConfig,Gt=G.foundationModalTemplate,Ut=G.foundationModalShadowOptions;class _t extends G.Modal{}const Ht=_t.compose(Object.assign({baseName:"modal",shadowOptions:Ut,styles:Pt,template:Gt},Bt)),Vt=u.css`
|
|
1231
|
+
${G.multiselectStyles}
|
|
1222
1232
|
|
|
1223
1233
|
:host {
|
|
1224
1234
|
--primary-gradient-angle: -113.5deg;
|
|
1225
1235
|
}
|
|
1226
1236
|
|
|
1227
1237
|
#display-field {
|
|
1228
|
-
background: ${
|
|
1238
|
+
background: ${tr};
|
|
1229
1239
|
}
|
|
1230
1240
|
|
|
1231
1241
|
#display-field:focus {
|
|
@@ -1233,21 +1243,21 @@
|
|
|
1233
1243
|
background:
|
|
1234
1244
|
linear-gradient(
|
|
1235
1245
|
var(--primary-gradient-angle),
|
|
1236
|
-
${
|
|
1237
|
-
${
|
|
1246
|
+
${ve.blue} 0%,
|
|
1247
|
+
${ve.purple} 100%
|
|
1238
1248
|
)
|
|
1239
1249
|
top/100% 1px,
|
|
1240
1250
|
linear-gradient(
|
|
1241
1251
|
var(--primary-gradient-angle),
|
|
1242
|
-
${
|
|
1243
|
-
${
|
|
1252
|
+
${ve.blue} 0%,
|
|
1253
|
+
${ve.purple} 100%
|
|
1244
1254
|
)
|
|
1245
1255
|
bottom/100% 1px;
|
|
1246
1256
|
background-origin: border-box;
|
|
1247
1257
|
background-repeat: no-repeat;
|
|
1248
1258
|
border: 1px solid transparent;
|
|
1249
|
-
border-right-color: ${
|
|
1250
|
-
border-left-color: ${
|
|
1259
|
+
border-right-color: ${ve.blue};
|
|
1260
|
+
border-left-color: ${ve.purple};
|
|
1251
1261
|
}
|
|
1252
1262
|
|
|
1253
1263
|
::slotted(zero-checkbox),
|
|
@@ -1271,12 +1281,12 @@
|
|
|
1271
1281
|
}
|
|
1272
1282
|
|
|
1273
1283
|
.label {
|
|
1274
|
-
color: ${
|
|
1284
|
+
color: ${ir};
|
|
1275
1285
|
}
|
|
1276
|
-
`,
|
|
1277
|
-
${(0,
|
|
1278
|
-
`;class
|
|
1279
|
-
${(0,
|
|
1286
|
+
`,Yt=u.html`
|
|
1287
|
+
${(0,G.getPrefixedMultiselect)("zero")}
|
|
1288
|
+
`;class Qt extends G.Multiselect{}const Wt=G.defaultMultiselectConfig,qt=G.foundationMultiselectShadowOptions,Jt=Qt.compose(Object.assign({baseName:"multiselect",template:Yt,styles:Vt,shadowOptions:qt},Wt));class Zt extends G.NotificationListener{}const Kt=Zt.compose({baseName:"notification-listener",template:G.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Xt=(e,a)=>u.css`
|
|
1289
|
+
${(0,G.foundationTextFieldStyles)(e,a)}
|
|
1280
1290
|
:host {
|
|
1281
1291
|
--primary-gradient-angle: -113.5deg;
|
|
1282
1292
|
}
|
|
@@ -1287,12 +1297,12 @@
|
|
|
1287
1297
|
}
|
|
1288
1298
|
|
|
1289
1299
|
:host .root {
|
|
1290
|
-
border: calc(var(--stroke-width) * 1px) solid ${
|
|
1291
|
-
background-color: ${
|
|
1300
|
+
border: calc(var(--stroke-width) * 1px) solid ${sr};
|
|
1301
|
+
background-color: ${tr};
|
|
1292
1302
|
}
|
|
1293
1303
|
|
|
1294
1304
|
:host(:hover:not([disabled])) .root {
|
|
1295
|
-
border-color: ${
|
|
1305
|
+
border-color: ${ar};
|
|
1296
1306
|
background: none;
|
|
1297
1307
|
}
|
|
1298
1308
|
|
|
@@ -1300,44 +1310,44 @@
|
|
|
1300
1310
|
background:
|
|
1301
1311
|
linear-gradient(
|
|
1302
1312
|
var(--primary-gradient-angle),
|
|
1303
|
-
${
|
|
1304
|
-
${
|
|
1313
|
+
${ve.blue} 0%,
|
|
1314
|
+
${ve.purple} 100%
|
|
1305
1315
|
)
|
|
1306
1316
|
top/100% 1px,
|
|
1307
1317
|
linear-gradient(
|
|
1308
1318
|
var(--primary-gradient-angle),
|
|
1309
|
-
${
|
|
1310
|
-
${
|
|
1319
|
+
${ve.blue} 0%,
|
|
1320
|
+
${ve.purple} 100%
|
|
1311
1321
|
)
|
|
1312
1322
|
bottom/100% 1px;
|
|
1313
|
-
background-color: ${
|
|
1323
|
+
background-color: ${lr};
|
|
1314
1324
|
background-origin: border-box;
|
|
1315
1325
|
background-repeat: no-repeat;
|
|
1316
1326
|
border: 1px solid transparent;
|
|
1317
|
-
border-right-color: ${
|
|
1318
|
-
border-left-color: ${
|
|
1327
|
+
border-right-color: ${ve.blue};
|
|
1328
|
+
border-left-color: ${ve.purple};
|
|
1319
1329
|
box-shadow: none;
|
|
1320
1330
|
}
|
|
1321
1331
|
|
|
1322
1332
|
.label {
|
|
1323
|
-
color: ${
|
|
1333
|
+
color: ${ir};
|
|
1324
1334
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
1325
1335
|
}
|
|
1326
|
-
`;class
|
|
1336
|
+
`;class eo extends G.NumberField{}const ao=G.defaultNumberFieldConfig,ro=G.foundationNumberFieldTemplate,to=G.foundationNumberFieldShadowOptions,oo=eo.compose(Object.assign({baseName:"number-field",template:ro,styles:(e,a)=>u.css`
|
|
1327
1337
|
:host .root {
|
|
1328
1338
|
--focus-stroke-outer: transparent;
|
|
1329
1339
|
}
|
|
1330
|
-
${
|
|
1331
|
-
`,shadowOptions:
|
|
1332
|
-
${(0,
|
|
1340
|
+
${Xt(e,a)}
|
|
1341
|
+
`,shadowOptions:to},ao));class io extends G.Progress{}const no=io.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,G.foundationProgressTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1342
|
+
${(0,G.foundationProgressStyles)(e,a)}
|
|
1333
1343
|
:host([appearance="secondary-teal"]) {
|
|
1334
|
-
--accent-foreground-rest: ${
|
|
1344
|
+
--accent-foreground-rest: ${fe.teal};
|
|
1335
1345
|
}
|
|
1336
1346
|
|
|
1337
1347
|
:host([appearance='secondary-orange']) {
|
|
1338
|
-
--accent-foreground-rest: ${
|
|
1348
|
+
--accent-foreground-rest: ${fe.orange};
|
|
1339
1349
|
}
|
|
1340
|
-
`,shadowOptions:
|
|
1350
|
+
`,shadowOptions:G.foundationProgressShadowOptions},G.defaultProgressConfig));class lo extends G.ProgressRing{}const go={indeterminateIndicator:`\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <defs>\n <linearGradient id="linear">\n <stop offset="0%" stop-color="${ve.purple}"/>\n <stop offset="100%" stop-color="${ve.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 `},so=lo.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>u.html`
|
|
1341
1351
|
<template
|
|
1342
1352
|
role="progressbar"
|
|
1343
1353
|
aria-valuenow="${e=>e.value}"
|
|
@@ -1345,12 +1355,12 @@
|
|
|
1345
1355
|
aria-valuemax="${e=>e.max}"
|
|
1346
1356
|
class="${e=>e.paused?"paused":""}"
|
|
1347
1357
|
>
|
|
1348
|
-
${(0,
|
|
1358
|
+
${(0,u.when)((e=>"number"==typeof e.value),u.html`
|
|
1349
1359
|
<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate">
|
|
1350
1360
|
<defs>
|
|
1351
1361
|
<linearGradient id="linear">
|
|
1352
|
-
<stop offset="0%" stop-color="${
|
|
1353
|
-
<stop offset="60%" stop-color="${
|
|
1362
|
+
<stop offset="0%" stop-color="${ve.purple}" />
|
|
1363
|
+
<stop offset="60%" stop-color="${ve.blue}" />
|
|
1354
1364
|
</linearGradient>
|
|
1355
1365
|
</defs>
|
|
1356
1366
|
<circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle>
|
|
@@ -1364,19 +1374,19 @@
|
|
|
1364
1374
|
></circle>
|
|
1365
1375
|
</svg>
|
|
1366
1376
|
`)}
|
|
1367
|
-
${(0,
|
|
1377
|
+
${(0,u.when)((e=>"number"!=typeof e.value),u.html`
|
|
1368
1378
|
<slot name="indeterminate" slot="indeterminate">
|
|
1369
1379
|
${a.indeterminateIndicator||""}
|
|
1370
1380
|
</slot>
|
|
1371
1381
|
`)}
|
|
1372
1382
|
</template>
|
|
1373
|
-
`,styles:(e,a)=>
|
|
1374
|
-
${(0,
|
|
1383
|
+
`,styles:(e,a)=>u.css`
|
|
1384
|
+
${(0,G.foundationProgressRingStyles)(e,a)}
|
|
1375
1385
|
.indeterminate-indicator-1, .determinate {
|
|
1376
1386
|
stroke: ${"url(#linear)"};
|
|
1377
1387
|
}
|
|
1378
|
-
`,shadowOptions:
|
|
1379
|
-
${(0,
|
|
1388
|
+
`,shadowOptions:G.foundationProgressRingShadowOptions},go));class co extends G.Radio{}const po=co.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,G.foundationRadioTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1389
|
+
${(0,G.foundationRadioStyles)(e,a)}
|
|
1380
1390
|
:host {
|
|
1381
1391
|
--primary-gradient-angle: -113.5deg;
|
|
1382
1392
|
}
|
|
@@ -1403,63 +1413,63 @@
|
|
|
1403
1413
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
1404
1414
|
background: linear-gradient(
|
|
1405
1415
|
var(--primary-gradient-angle),
|
|
1406
|
-
${
|
|
1407
|
-
${
|
|
1416
|
+
${ve.blue},
|
|
1417
|
+
${ve.purple}
|
|
1408
1418
|
);
|
|
1409
1419
|
}
|
|
1410
|
-
`,shadowOptions:
|
|
1411
|
-
${(0,
|
|
1420
|
+
`,shadowOptions:G.foundationRadioShadowOptions},G.defaultRadioConfig));class uo extends G.RadioGroup{}const ho=uo.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,G.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1421
|
+
${(0,G.foundationRadioGroupStyles)(e,a)}
|
|
1412
1422
|
:host([appearance="accent"]) {
|
|
1413
1423
|
background: green;
|
|
1414
1424
|
}
|
|
1415
|
-
`,shadowOptions:
|
|
1416
|
-
${
|
|
1417
|
-
`,
|
|
1418
|
-
${(0,
|
|
1419
|
-
`;class
|
|
1420
|
-
${(0,
|
|
1425
|
+
`,shadowOptions:G.foundationRadioGroupShadowOptions},G.defaultRadioGroupConfig)),mo=u.css`
|
|
1426
|
+
${G.foundationSearchBarStyles}
|
|
1427
|
+
`,bo=u.html`
|
|
1428
|
+
${(0,G.getPrefixedSearchBar)("zero")}
|
|
1429
|
+
`;class vo extends G.SearchBar{constructor(){super(...arguments),this.appearance="neutral-grey"}}const fo=vo.compose(Object.assign({baseName:"search-bar",template:bo,styles:mo,shadowOptions:G.foundationSearchBarShadowOptions},G.defaultSearchBarConfig));class wo extends G.SearchBarCombobox{}const yo=wo.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,G.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1430
|
+
${(0,G.foundationSearchBarComboboxStyles)(e,a)}
|
|
1421
1431
|
|
|
1422
1432
|
:host {
|
|
1423
1433
|
--primary-gradient-angle: -113.5deg;
|
|
1424
1434
|
|
|
1425
1435
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
1426
|
-
border-color: ${
|
|
1427
|
-
background: ${
|
|
1436
|
+
border-color: ${sr};
|
|
1437
|
+
background: ${tr};
|
|
1428
1438
|
}
|
|
1429
1439
|
|
|
1430
1440
|
:host(:focus-within:not([disabled])) {
|
|
1431
1441
|
background:
|
|
1432
1442
|
linear-gradient(
|
|
1433
1443
|
var(--primary-gradient-angle),
|
|
1434
|
-
${
|
|
1435
|
-
${
|
|
1444
|
+
${ve.blue} 0%,
|
|
1445
|
+
${ve.purple} 100%
|
|
1436
1446
|
)
|
|
1437
1447
|
top/100% 1px,
|
|
1438
1448
|
linear-gradient(
|
|
1439
1449
|
var(--primary-gradient-angle),
|
|
1440
|
-
${
|
|
1441
|
-
${
|
|
1450
|
+
${ve.blue} 0%,
|
|
1451
|
+
${ve.purple} 100%
|
|
1442
1452
|
)
|
|
1443
1453
|
bottom/100% 1px;
|
|
1444
1454
|
background-origin: border-box;
|
|
1445
1455
|
background-repeat: no-repeat;
|
|
1446
1456
|
border: 1px solid transparent;
|
|
1447
|
-
border-right-color: ${
|
|
1448
|
-
border-left-color: ${
|
|
1457
|
+
border-right-color: ${ve.blue};
|
|
1458
|
+
border-left-color: ${ve.purple};
|
|
1449
1459
|
}
|
|
1450
1460
|
|
|
1451
1461
|
:host(:hover:not([disabled]):not([open])) {
|
|
1452
|
-
border-color: ${
|
|
1453
|
-
background: ${
|
|
1462
|
+
border-color: ${ar};
|
|
1463
|
+
background: ${tr};
|
|
1454
1464
|
}
|
|
1455
1465
|
|
|
1456
1466
|
:host([open][position='below']) .listbox {
|
|
1457
1467
|
padding: 0;
|
|
1458
1468
|
border-radius: 4px;
|
|
1459
|
-
border: 1px solid ${
|
|
1469
|
+
border: 1px solid ${be.lightGrey};
|
|
1460
1470
|
}
|
|
1461
|
-
`,shadowOptions:
|
|
1462
|
-
${(0,
|
|
1471
|
+
`,shadowOptions:G.foundationSearchBarComboboxShadowOptions},G.defaultSearchBarComboboxConfig));class xo extends G.SegmentedControl{}const ko=xo.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,G.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1472
|
+
${(0,G.foundationSegmentedControlStyles)(e,a)}
|
|
1463
1473
|
:host {
|
|
1464
1474
|
--primary-gradient-angle: -113.5deg;
|
|
1465
1475
|
}
|
|
@@ -1481,7 +1491,7 @@
|
|
|
1481
1491
|
}
|
|
1482
1492
|
|
|
1483
1493
|
:host ::slotted(*[aria-checked='true']) {
|
|
1484
|
-
background: ${
|
|
1494
|
+
background: ${m.neutralFillStealthRest};
|
|
1485
1495
|
background-origin: border-box;
|
|
1486
1496
|
border-color: transparent;
|
|
1487
1497
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
@@ -1490,77 +1500,77 @@
|
|
|
1490
1500
|
:host([appearance='primary']) ::slotted(*[aria-checked='true']) {
|
|
1491
1501
|
background: linear-gradient(
|
|
1492
1502
|
var(--primary-gradient-angle),
|
|
1493
|
-
${
|
|
1494
|
-
${
|
|
1503
|
+
${ve.blue},
|
|
1504
|
+
${ve.purple}
|
|
1495
1505
|
);
|
|
1496
1506
|
background-origin: border-box;
|
|
1497
1507
|
border-color: transparent;
|
|
1498
1508
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
1499
1509
|
}
|
|
1500
|
-
`,shadowOptions:undefined},{}));class
|
|
1501
|
-
${(0,
|
|
1510
|
+
`,shadowOptions:undefined},{}));class zo extends G.Radio{}const So=zo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,G.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1511
|
+
${(0,G.foundationSegmentedItemStyles)(e,a)}
|
|
1502
1512
|
:host {
|
|
1503
1513
|
color: var(--neutral-stroke-rest);
|
|
1504
1514
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
1505
1515
|
}
|
|
1506
1516
|
|
|
1507
1517
|
:host([aria-checked='true']) {
|
|
1508
|
-
color: ${
|
|
1518
|
+
color: ${be.white};
|
|
1509
1519
|
}
|
|
1510
|
-
`,shadowOptions:undefined},{}));class
|
|
1511
|
-
${(0,
|
|
1520
|
+
`,shadowOptions:undefined},{}));class Co extends G.Select{}const $o=Co.compose(Object.assign({baseName:"select",template:(e,a)=>(0,G.foundationSelectTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1521
|
+
${(0,G.foundationSelectStyles)(e,a)}
|
|
1512
1522
|
:host {
|
|
1513
1523
|
--primary-gradient-angle: -113.5deg;
|
|
1514
1524
|
|
|
1515
1525
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
1516
|
-
border-color: ${
|
|
1517
|
-
background: ${
|
|
1526
|
+
border-color: ${sr};
|
|
1527
|
+
background: ${tr};
|
|
1518
1528
|
}
|
|
1519
1529
|
|
|
1520
1530
|
:host(:focus-within:not([disabled])) {
|
|
1521
1531
|
background:
|
|
1522
1532
|
linear-gradient(
|
|
1523
1533
|
var(--primary-gradient-angle),
|
|
1524
|
-
${
|
|
1525
|
-
${
|
|
1534
|
+
${ve.blue} 0%,
|
|
1535
|
+
${ve.purple} 100%
|
|
1526
1536
|
)
|
|
1527
1537
|
top/100% 1px,
|
|
1528
1538
|
linear-gradient(
|
|
1529
1539
|
var(--primary-gradient-angle),
|
|
1530
|
-
${
|
|
1531
|
-
${
|
|
1540
|
+
${ve.blue} 0%,
|
|
1541
|
+
${ve.purple} 100%
|
|
1532
1542
|
)
|
|
1533
1543
|
bottom/100% 1px;
|
|
1534
1544
|
background-origin: border-box;
|
|
1535
1545
|
background-repeat: no-repeat;
|
|
1536
1546
|
border: 1px solid transparent;
|
|
1537
|
-
border-right-color: ${
|
|
1538
|
-
border-left-color: ${
|
|
1547
|
+
border-right-color: ${ve.blue};
|
|
1548
|
+
border-left-color: ${ve.purple};
|
|
1539
1549
|
}
|
|
1540
1550
|
|
|
1541
1551
|
:host(:hover:not([disabled]):not(.open)) {
|
|
1542
|
-
border-color: ${
|
|
1543
|
-
background: ${
|
|
1552
|
+
border-color: ${ar};
|
|
1553
|
+
background: ${tr};
|
|
1544
1554
|
}
|
|
1545
1555
|
|
|
1546
1556
|
:host([open][position='below']) .listbox {
|
|
1547
1557
|
padding: 0;
|
|
1548
|
-
margin-top: calc(${
|
|
1558
|
+
margin-top: calc(${m.designUnit} * 1px);
|
|
1549
1559
|
border-radius: 4px;
|
|
1550
|
-
border: 1px solid ${
|
|
1560
|
+
border: 1px solid ${be.lightGrey};
|
|
1551
1561
|
}
|
|
1552
1562
|
|
|
1553
1563
|
:host([open]) .control {
|
|
1554
|
-
background: ${
|
|
1564
|
+
background: ${lr};
|
|
1555
1565
|
}
|
|
1556
1566
|
|
|
1557
1567
|
:host(:not([disabled])) .control:active {
|
|
1558
1568
|
background: none;
|
|
1559
1569
|
}
|
|
1560
|
-
`,shadowOptions:
|
|
1561
|
-
${(0,
|
|
1562
|
-
`,shadowOptions:
|
|
1563
|
-
${(0,
|
|
1570
|
+
`,shadowOptions:G.foundationSelectShadowOptions},G.defaultSelectConfig));class Ao extends G.Skeleton{}const Fo=Ao.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,G.foundationSkeletonTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1571
|
+
${(0,G.foundationSkeletonStyles)(e,a)}
|
|
1572
|
+
`,shadowOptions:G.foundationSkeletonShadowOptions},G.defaultSkeletonConfig));class To extends G.Slider{}const Oo=To.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,G.foundationSliderTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1573
|
+
${(0,G.foundationSliderStyles)(e,a)}
|
|
1564
1574
|
:host {
|
|
1565
1575
|
--primary-gradient-angle: -113.5deg;
|
|
1566
1576
|
}
|
|
@@ -1568,8 +1578,8 @@
|
|
|
1568
1578
|
.thumb-cursor {
|
|
1569
1579
|
background: linear-gradient(
|
|
1570
1580
|
var(--primary-gradient-angle),
|
|
1571
|
-
${
|
|
1572
|
-
${
|
|
1581
|
+
${ve.blue},
|
|
1582
|
+
${ve.purple}
|
|
1573
1583
|
);
|
|
1574
1584
|
border-radius: calc(var(--control-corner-radius) * 2px);
|
|
1575
1585
|
}
|
|
@@ -1578,8 +1588,8 @@
|
|
|
1578
1588
|
.thumb-cursor:active {
|
|
1579
1589
|
background: linear-gradient(
|
|
1580
1590
|
var(--primary-gradient-angle),
|
|
1581
|
-
${
|
|
1582
|
-
${
|
|
1591
|
+
${ve.blue},
|
|
1592
|
+
${ve.purple}
|
|
1583
1593
|
);
|
|
1584
1594
|
border-radius: transparent;
|
|
1585
1595
|
}
|
|
@@ -1602,22 +1612,22 @@
|
|
|
1602
1612
|
}
|
|
1603
1613
|
|
|
1604
1614
|
.thumb-cursor:hover::after {
|
|
1605
|
-
background-color: ${
|
|
1615
|
+
background-color: ${ia(.1)};
|
|
1606
1616
|
}
|
|
1607
1617
|
|
|
1608
1618
|
.thumb-cursor:active::after {
|
|
1609
|
-
background-color: ${
|
|
1619
|
+
background-color: ${ia(.2)};
|
|
1610
1620
|
}
|
|
1611
1621
|
|
|
1612
1622
|
.track {
|
|
1613
|
-
background-color: ${
|
|
1623
|
+
background-color: ${be.mediumGrey};
|
|
1614
1624
|
}
|
|
1615
1625
|
|
|
1616
1626
|
.track-progress {
|
|
1617
1627
|
background-color: var(--neutral-stroke-rest);
|
|
1618
1628
|
}
|
|
1619
|
-
`,shadowOptions:
|
|
1620
|
-
${(0,
|
|
1629
|
+
`,shadowOptions:G.foundationSliderShadowOptions},G.defaultSliderConfig));class Do extends G.SliderLabel{}const Ro=Do.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,G.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1630
|
+
${(0,G.foundationSliderLabelStyles)(e,a)}
|
|
1621
1631
|
.label {
|
|
1622
1632
|
padding: 6px 8px;
|
|
1623
1633
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
@@ -1627,30 +1637,30 @@
|
|
|
1627
1637
|
text-align: center;
|
|
1628
1638
|
font-size: var(--type-ramp-minus-1-font-size, 12px);
|
|
1629
1639
|
}
|
|
1630
|
-
`,shadowOptions:
|
|
1631
|
-
${
|
|
1640
|
+
`,shadowOptions:G.foundationSliderLabelShadowOptions},G.defaultSliderLabelConfig)),No=u.css`
|
|
1641
|
+
${G.foundationSnackbarStyles}
|
|
1632
1642
|
.snackbar {
|
|
1633
|
-
border: calc(var(--stroke-width) * 1px) solid ${
|
|
1634
|
-
background-color: ${
|
|
1643
|
+
border: calc(var(--stroke-width) * 1px) solid ${m.neutralLayer2};
|
|
1644
|
+
background-color: ${m.neutralLayer1};
|
|
1635
1645
|
}
|
|
1636
1646
|
|
|
1637
1647
|
:host([type='error']) .snackbar::after {
|
|
1638
|
-
background-color: ${
|
|
1648
|
+
background-color: ${ma(1)};
|
|
1639
1649
|
}
|
|
1640
|
-
`,
|
|
1641
|
-
${(0,
|
|
1642
|
-
`,
|
|
1643
|
-
${
|
|
1650
|
+
`,Lo=u.html`
|
|
1651
|
+
${(0,G.getPrefixedSnackbar)("zero")}
|
|
1652
|
+
`,Mo=G.foundationSnackbarShadowOptions;class Io extends G.Snackbar{}const jo=Io.compose({baseName:"snackbar",shadowOptions:Mo,styles:No,template:Lo}),Eo=u.css`
|
|
1653
|
+
${G.foundationStepperStyles}
|
|
1644
1654
|
|
|
1645
1655
|
.stepper-tab {
|
|
1646
1656
|
background-color: var(--neutral-layer-3);
|
|
1647
1657
|
}
|
|
1648
|
-
`,
|
|
1649
|
-
${(0,
|
|
1650
|
-
`;class
|
|
1651
|
-
${(0,
|
|
1652
|
-
`;class
|
|
1653
|
-
${(0,
|
|
1658
|
+
`,Po=u.html`
|
|
1659
|
+
${(0,G.getPrefixedStepper)("zero")}
|
|
1660
|
+
`;class Bo extends G.Stepper{}const Go=Bo.compose(Object.assign({baseName:"stepper",template:Po,styles:Eo,shadowOptions:G.foundationStepperShadowOptions},G.defaultStepperConfig)),Uo=u.html`
|
|
1661
|
+
${(0,G.getPrefixedStepperTab)("zero")}
|
|
1662
|
+
`;class _o extends G.StepperTab{}const Ho=_o.compose(Object.assign({baseName:"stepper-tab",template:Uo,styles:(e,a)=>u.css`
|
|
1663
|
+
${(0,G.foundationStepperTabStyles)(e,a)}
|
|
1654
1664
|
|
|
1655
1665
|
zero-tree-item {
|
|
1656
1666
|
--design-unit: 2.5;
|
|
@@ -1661,23 +1671,23 @@
|
|
|
1661
1671
|
|
|
1662
1672
|
border-bottom: 1px solid var(--fill-color);
|
|
1663
1673
|
}
|
|
1664
|
-
`,shadowOptions:
|
|
1665
|
-
${(0,
|
|
1674
|
+
`,shadowOptions:G.foundationStepperTabShadowOptions},G.defaultStepperTabConfig));class Vo extends G.StepperTabPanel{}const Yo=Vo.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,G.foundationStepperTabPanelTemplate)(e,a),shadowOptions:G.foundationStepperTabPanelShadowOptions},G.defaultStepperTabPanelConfig));class Qo extends G.Switch{}const Wo=Qo.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,G.foundationSwitchTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1675
|
+
${(0,G.foundationSwitchStyles)(e,a)}
|
|
1666
1676
|
:host {
|
|
1667
1677
|
--primary-gradient-angle: -113.5deg;
|
|
1668
1678
|
}
|
|
1669
1679
|
|
|
1670
1680
|
.switch {
|
|
1671
1681
|
background: none;
|
|
1672
|
-
border-color: ${
|
|
1682
|
+
border-color: ${m.neutralFillStealthRest};
|
|
1673
1683
|
}
|
|
1674
1684
|
|
|
1675
1685
|
.checked-indicator {
|
|
1676
|
-
background: ${
|
|
1686
|
+
background: ${m.neutralFillStealthRest};
|
|
1677
1687
|
}
|
|
1678
1688
|
|
|
1679
1689
|
.switch:hover {
|
|
1680
|
-
border-color: ${
|
|
1690
|
+
border-color: ${be.white};
|
|
1681
1691
|
background: none;
|
|
1682
1692
|
}
|
|
1683
1693
|
|
|
@@ -1688,8 +1698,8 @@
|
|
|
1688
1698
|
:host([aria-checked='true']) .checked-indicator {
|
|
1689
1699
|
background: linear-gradient(
|
|
1690
1700
|
var(--primary-gradient-angle),
|
|
1691
|
-
${
|
|
1692
|
-
${
|
|
1701
|
+
${ve.blue},
|
|
1702
|
+
${ve.purple}
|
|
1693
1703
|
);
|
|
1694
1704
|
}
|
|
1695
1705
|
|
|
@@ -1702,24 +1712,24 @@
|
|
|
1702
1712
|
:host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
|
|
1703
1713
|
background: linear-gradient(
|
|
1704
1714
|
var(--primary-gradient-angle),
|
|
1705
|
-
${
|
|
1706
|
-
${
|
|
1715
|
+
${ve.blue},
|
|
1716
|
+
${ve.purple}
|
|
1707
1717
|
);
|
|
1708
1718
|
}
|
|
1709
|
-
`,shadowOptions:
|
|
1710
|
-
${(0,
|
|
1719
|
+
`,shadowOptions:G.foundationSwitchShadowOptions},G.defaultSwitchConfig));class qo extends G.Tab{}const Jo=qo.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,G.foundationTabTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1720
|
+
${(0,G.foundationTabStyles)(e,a)}
|
|
1711
1721
|
:host {
|
|
1712
|
-
background-color: ${
|
|
1722
|
+
background-color: ${m.neutralLayer2};
|
|
1713
1723
|
border-radius: calc(var(--control-corner-radius) * 2px) calc(var(--control-corner-radius) * 2px)
|
|
1714
1724
|
0 0;
|
|
1715
|
-
border: calc(var(--stroke-width) * 1px) solid ${
|
|
1725
|
+
border: calc(var(--stroke-width) * 1px) solid ${be.lightGrey};
|
|
1716
1726
|
box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
|
|
1717
1727
|
margin-right: 5px;
|
|
1718
1728
|
}
|
|
1719
1729
|
|
|
1720
1730
|
:host([aria-selected='true']),
|
|
1721
1731
|
:host([aria-selected='true']:hover) {
|
|
1722
|
-
background-color: ${
|
|
1732
|
+
background-color: ${m.neutralLayer4};
|
|
1723
1733
|
border-bottom: 1px solid var(--zero-card-fill-color);
|
|
1724
1734
|
}
|
|
1725
1735
|
|
|
@@ -1730,20 +1740,20 @@
|
|
|
1730
1740
|
margin-right: 0;
|
|
1731
1741
|
background-color: var(--zero-card-fill-color);
|
|
1732
1742
|
}
|
|
1733
|
-
`,shadowOptions:
|
|
1734
|
-
${(0,
|
|
1743
|
+
`,shadowOptions:G.foundationTabShadowOptions},G.defaultTabConfig));class Zo extends G.TabPanel{}const Ko=Zo.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,G.foundationTabPanelTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1744
|
+
${(0,G.foundationTabPanelStyles)(e,a)}
|
|
1735
1745
|
:host {
|
|
1736
1746
|
padding: 0;
|
|
1737
1747
|
}
|
|
1738
|
-
`,shadowOptions:
|
|
1739
|
-
${(0,
|
|
1748
|
+
`,shadowOptions:G.foundationTabPanelShadowOptions},G.defaultTabPanelConfig));class Xo extends G.Tabs{}const ei=Xo.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,G.foundationTabsTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1749
|
+
${(0,G.foundationTabsStyles)(e,a)}
|
|
1740
1750
|
:host .tablist {
|
|
1741
1751
|
padding: 0;
|
|
1742
1752
|
display: block;
|
|
1743
|
-
background-color: ${
|
|
1753
|
+
background-color: ${m.neutralLayer3};
|
|
1744
1754
|
width: 100%;
|
|
1745
1755
|
height: 42px;
|
|
1746
|
-
border-bottom: calc(var(--stroke-width) * 1px) solid ${
|
|
1756
|
+
border-bottom: calc(var(--stroke-width) * 1px) solid ${be.lightGrey};
|
|
1747
1757
|
}
|
|
1748
1758
|
|
|
1749
1759
|
:host .tabpanel {
|
|
@@ -1756,7 +1766,7 @@
|
|
|
1756
1766
|
height: calc(100% - 1px);
|
|
1757
1767
|
display: flex;
|
|
1758
1768
|
align-items: center;
|
|
1759
|
-
border-bottom: calc(var(--stroke-width) * 1px) solid ${
|
|
1769
|
+
border-bottom: calc(var(--stroke-width) * 1px) solid ${be.lightGrey};
|
|
1760
1770
|
background-color: var(--neutral-layer-3);
|
|
1761
1771
|
}
|
|
1762
1772
|
|
|
@@ -1764,8 +1774,8 @@
|
|
|
1764
1774
|
display: grid;
|
|
1765
1775
|
grid-template-columns: repeat(18, max-content);
|
|
1766
1776
|
background-color: var(--zero-card-fill-color);
|
|
1767
|
-
border-left: calc(var(--stroke-width) * 1px) solid ${
|
|
1768
|
-
border-right: calc(var(--stroke-width) * 1px) solid ${
|
|
1777
|
+
border-left: calc(var(--stroke-width) * 1px) solid ${be.lightGrey};
|
|
1778
|
+
border-right: calc(var(--stroke-width) * 1px) solid ${be.lightGrey};
|
|
1769
1779
|
}
|
|
1770
1780
|
|
|
1771
1781
|
/* We don't want to show the active indicator on the tabs */
|
|
@@ -1781,83 +1791,83 @@
|
|
|
1781
1791
|
height: 2px;
|
|
1782
1792
|
margin-top: 0;
|
|
1783
1793
|
}
|
|
1784
|
-
`,shadowOptions:
|
|
1785
|
-
${(0,
|
|
1794
|
+
`,shadowOptions:G.foundationTabsShadowOptions},G.defaultTabsConfig));class ai extends G.TextArea{}const ri=ai.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,G.foundationTextAreaTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1795
|
+
${(0,G.foundationTextAreaStyles)(e,a)}
|
|
1786
1796
|
:host {
|
|
1787
1797
|
--primary-gradient-angle: -113.5deg;
|
|
1788
1798
|
}
|
|
1789
1799
|
|
|
1790
1800
|
:host .control {
|
|
1791
1801
|
height: 100%;
|
|
1792
|
-
background-color: ${
|
|
1793
|
-
border: calc(var(--stroke-width) * 1px) solid ${
|
|
1802
|
+
background-color: ${tr};
|
|
1803
|
+
border: calc(var(--stroke-width) * 1px) solid ${sr};
|
|
1794
1804
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
1795
1805
|
}
|
|
1796
1806
|
|
|
1797
1807
|
:host(:hover:not([disabled])) .control {
|
|
1798
|
-
border-color: ${
|
|
1799
|
-
background: ${
|
|
1808
|
+
border-color: ${ar};
|
|
1809
|
+
background: ${tr};
|
|
1800
1810
|
}
|
|
1801
1811
|
|
|
1802
1812
|
:host(:focus-within:not([disabled])) .control {
|
|
1803
1813
|
background:
|
|
1804
1814
|
linear-gradient(
|
|
1805
1815
|
var(--primary-gradient-angle),
|
|
1806
|
-
${
|
|
1807
|
-
${
|
|
1816
|
+
${ve.blue} 0%,
|
|
1817
|
+
${ve.purple} 100%
|
|
1808
1818
|
)
|
|
1809
1819
|
top/100% 1px,
|
|
1810
1820
|
linear-gradient(
|
|
1811
1821
|
var(--primary-gradient-angle),
|
|
1812
|
-
${
|
|
1813
|
-
${
|
|
1822
|
+
${ve.blue} 0%,
|
|
1823
|
+
${ve.purple} 100%
|
|
1814
1824
|
)
|
|
1815
1825
|
bottom/100% 1px;
|
|
1816
1826
|
background-origin: border-box;
|
|
1817
1827
|
background-repeat: no-repeat;
|
|
1818
1828
|
border: 1px solid transparent;
|
|
1819
|
-
border-right-color: ${
|
|
1820
|
-
border-left-color: ${
|
|
1821
|
-
background-color: ${
|
|
1829
|
+
border-right-color: ${ve.blue};
|
|
1830
|
+
border-left-color: ${ve.purple};
|
|
1831
|
+
background-color: ${lr};
|
|
1822
1832
|
box-shadow: none;
|
|
1823
1833
|
}
|
|
1824
1834
|
|
|
1825
1835
|
.label {
|
|
1826
|
-
color: ${
|
|
1836
|
+
color: ${ir};
|
|
1827
1837
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
1828
1838
|
}
|
|
1829
|
-
`,shadowOptions:
|
|
1830
|
-
${
|
|
1839
|
+
`,shadowOptions:G.foundationTextAreaShadowOptions},G.defaultTextAreaConfig));class ti extends G.TextField{}const oi=ti.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,G.foundationTextFieldTemplate)(e,a),styles:Xt,shadowOptions:G.foundationTextFieldShadowOptions},G.defaultTextFieldConfig)),ii=u.css`
|
|
1840
|
+
${G.foundationToastStyles}
|
|
1831
1841
|
.toast {
|
|
1832
|
-
border: calc(var(--stroke-width) * 1px) solid ${
|
|
1833
|
-
background-color: ${
|
|
1842
|
+
border: calc(var(--stroke-width) * 1px) solid ${m.neutralLayer3};
|
|
1843
|
+
background-color: ${m.neutralLayer1};
|
|
1834
1844
|
}
|
|
1835
1845
|
|
|
1836
1846
|
.toast::after {
|
|
1837
|
-
background-color: ${
|
|
1847
|
+
background-color: ${ia(1)};
|
|
1838
1848
|
}
|
|
1839
1849
|
|
|
1840
1850
|
:host([notify='warning']) .toast::after {
|
|
1841
|
-
background-color: ${
|
|
1851
|
+
background-color: ${ma(1)};
|
|
1842
1852
|
}
|
|
1843
1853
|
|
|
1844
1854
|
:host([notify='success']) .toast::after {
|
|
1845
|
-
background-color: ${
|
|
1855
|
+
background-color: ${pa(1)};
|
|
1846
1856
|
}
|
|
1847
1857
|
|
|
1848
1858
|
:host([notify='critical']) .toast::after {
|
|
1849
|
-
background-color: ${((e=1)=>
|
|
1859
|
+
background-color: ${((e=1)=>Ke(ua,e))(1)};
|
|
1850
1860
|
}
|
|
1851
1861
|
|
|
1852
1862
|
:host([notify='serious']) .toast::after {
|
|
1853
|
-
background-color: ${
|
|
1854
|
-
}
|
|
1855
|
-
`,
|
|
1856
|
-
${(0,
|
|
1857
|
-
`,shadowOptions:
|
|
1858
|
-
${(0,
|
|
1859
|
-
`,shadowOptions:
|
|
1860
|
-
${(0,
|
|
1863
|
+
background-color: ${da(1)};
|
|
1864
|
+
}
|
|
1865
|
+
`,ni=G.defaultToastConfig,li=G.foundationToastShadowOptions;class gi extends G.Toast{}const si=gi.compose(Object.assign({baseName:"toast",shadowOptions:li,styles:ii,template:G.foundationToastTemplate},ni));class di extends G.Toolbar{}const ci=di.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,G.foundationToolbarTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1866
|
+
${(0,G.foundationToolbarStyles)(e,a)}
|
|
1867
|
+
`,shadowOptions:G.foundationToolbarShadowOptions},G.defaultToolbarConfig));class pi extends G.Tooltip{}const ui=pi.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,G.foundationTooltipTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1868
|
+
${(0,G.foundationTooltipStyles)(e,a)}
|
|
1869
|
+
`,shadowOptions:G.foundationTooltipShadowOptions},G.defaultTooltipConfig));class hi extends G.TreeItem{}const mi=hi.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,G.foundationTreeItemTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1870
|
+
${(0,G.foundationTreeItemStyles)(e,a)}
|
|
1861
1871
|
:host {
|
|
1862
1872
|
--primary-gradient-angle: -113.5deg;
|
|
1863
1873
|
--base-height-multiplier: 15;
|
|
@@ -1870,51 +1880,51 @@
|
|
|
1870
1880
|
background:
|
|
1871
1881
|
linear-gradient(
|
|
1872
1882
|
var(--primary-gradient-angle),
|
|
1873
|
-
${
|
|
1874
|
-
${
|
|
1883
|
+
${ve.blue} 10%,
|
|
1884
|
+
${ve.purple} 100%
|
|
1875
1885
|
)
|
|
1876
1886
|
top/100% 1px,
|
|
1877
1887
|
linear-gradient(
|
|
1878
1888
|
var(--primary-gradient-angle),
|
|
1879
|
-
${
|
|
1880
|
-
${
|
|
1889
|
+
${ve.blue} 10%,
|
|
1890
|
+
${ve.purple} 100%
|
|
1881
1891
|
)
|
|
1882
1892
|
bottom/100% 1px;
|
|
1883
1893
|
background-origin: border-box;
|
|
1884
1894
|
background-size: cover;
|
|
1885
1895
|
background-repeat: no-repeat;
|
|
1886
1896
|
}
|
|
1887
|
-
`,shadowOptions:
|
|
1888
|
-
${(0,
|
|
1889
|
-
`,shadowOptions:
|
|
1890
|
-
${(0,
|
|
1891
|
-
`;class
|
|
1892
|
-
${(0,
|
|
1897
|
+
`,shadowOptions:G.foundationTreeItemShadowOptions},G.defaultTreeItemConfig));class bi extends G.TreeView{}const vi=bi.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,G.foundationTreeViewTemplate)(e,a),styles:(e,a)=>u.css`
|
|
1898
|
+
${(0,G.foundationTreeViewStyles)(e,a)}
|
|
1899
|
+
`,shadowOptions:G.foundationTreeViewShadowOptions},G.defaultTreeViewConfig)),fi=u.html`
|
|
1900
|
+
${(0,G.getPrefixedUrlInput)("zero")}
|
|
1901
|
+
`;class wi extends G.UrlInput{}const yi={zeroAccordion:Qe,zeroAccordionItem:qe,zeroActionsMenu:Ze,zeroAnchor:Da,zeroAnchoredRegion:Na,zeroAvatar:Ma,zeroBadge:ja,zeroBanner:Ga,zeroBreadcrumbItem:Va,zeroBreadcrumb:_a,zeroButton:Qa,zeroCalendar:qa,zeroCard:Za,zeroCheckbox:Xa,zeroCombobox:pr,zeroConnectionIndicator:hr,zeroDataGrid:fr,zeroDesignSystemProvider:Ar,zeroDialog:Mr,zeroDatePicker:xr,zeroDisclosure:jr,zeroDivider:Pr,zeroDropdownMenu:Gr,zeroErrorBoundary:Qr,zeroNotificationListener:Kt,zeroErrorBanner:Vr,zeroErrorDialog:qr,zeroFileUpload:at,zeroFilter:ot,zeroFilterBar:lt,zeroFlexLayout:st,zeroFlipper:ct,zeroFlyout:vt,zeroGridLayout:wt,zeroGridLayoutItem:xt,zeroHorizontalScroll:St,zeroIcon:Ft,zeroListbox:Ot,zeroListboxOption:Rt,zeroMenu:Mt,zeroMenuItem:Et,zeroModal:Ht,zeroMultiselect:Jt,zeroNumberField:oo,zeroProgress:no,zeroProgressRing:so,zeroRadio:po,zeroRadioGroup:ho,zeroSearchBar:fo,zeroSearchBarCombobox:yo,zeroSegmentedControl:ko,zeroSegmentedItem:So,zeroSelect:$o,zeroSkeleton:Fo,zeroSlider:Oo,zeroSliderLabel:Ro,zeroSnackbar:jo,zeroStepper:Go,zeroStepperTab:Ho,zeroStepperTabPanel:Yo,zeroSwitch:Wo,zeroTab:Jo,zeroTabPanel:Ko,zeroTabs:ei,zeroTextArea:ri,zeroTextField:oi,zeroToast:si,zeroToolbar:ci,zeroTooltip:ui,zeroTreeItem:mi,zeroTreeView:vi,zeroUrlInput:wi.compose(Object.assign({baseName:"url-input",template:fi,styles:(e,a)=>u.css`
|
|
1902
|
+
${(0,G.foundationUrlInputStyles)(e,a)}
|
|
1893
1903
|
a {
|
|
1894
|
-
color: ${
|
|
1904
|
+
color: ${ve.blue};
|
|
1895
1905
|
opacity: 65%;
|
|
1896
1906
|
}
|
|
1897
1907
|
|
|
1898
1908
|
a:hover {
|
|
1899
1909
|
opacity: 100%;
|
|
1900
1910
|
}
|
|
1901
|
-
`,shadowOptions:
|
|
1902
|
-
.${
|
|
1903
|
-
${new
|
|
1911
|
+
`,shadowOptions:G.foundationUrlInputShadowOptions},G.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var xi,ki,zi=r(80249),Si=r(87530),Ci=r.n(Si),$i=r(79014),Ai=r.n($i);!function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(xi||(xi={})),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"}(ki||(ki={}));const Fi=e=>`${e}-token-map`,Ti=(e,a)=>u.css`
|
|
1912
|
+
.${Fi(e)} {
|
|
1913
|
+
${new G.CSSVarsTokenMapper(a)}
|
|
1904
1914
|
}
|
|
1905
|
-
`;var
|
|
1915
|
+
`;var Oi;!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"}(Oi||(Oi={}));const Di="__editedColumn",Ri="__errorColumn",Ni={},Li=h.DI.createInterface((e=>e.instance(Ni)));var Mi;!function(e){e.camelCase="camelCase",e.capitalCase="capitalCase",e.dotCase="dotCase",e.headerCase="headerCase",e.noCase="noCase",e.paramCase="paramCase",e.pascalCase="pascalCase",e.pathCase="pathCase",e.sentenceCase="sentenceCase",e.snakeCase="snakeCase"}(Mi||(Mi={})),Ci().extend(Ai());class Ii extends h.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.dateFormat=e.withTime?"YYYY-MM-DDTHH:mm":"YYYY-MM-DD",this.inputType=e.withTime?"datetime-local":"date",this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}changeHandler(e){const a=e.target.control.valueAsNumber;this.value=isNaN(a)?void 0:a}afterGuiAttached(){this.input.focus()}isCancelBeforeStart(){return!!this.params.data[Di]}}(0,zi.__decorate)([u.observable],Ii.prototype,"value",void 0),(0,zi.__decorate)([u.observable],Ii.prototype,"actualWidth",void 0);const ji=u.css`
|
|
1906
1916
|
:host {
|
|
1907
1917
|
display: flex;
|
|
1908
1918
|
}
|
|
1909
|
-
`,
|
|
1919
|
+
`,Ei=(e="foundation")=>u.html`
|
|
1910
1920
|
<${e}-text-field
|
|
1911
|
-
${(0,
|
|
1912
|
-
:value=${e=>void 0===e.value||null===e.value?"":
|
|
1921
|
+
${(0,u.ref)("input")}
|
|
1922
|
+
:value=${e=>void 0===e.value||null===e.value?"":Ci().utc(e.value).format(e.dateFormat)}
|
|
1913
1923
|
type=${e=>e.inputType}
|
|
1914
1924
|
@input=${(e,a)=>e.changeHandler(a.event)}
|
|
1915
1925
|
style="width: ${e=>e.actualWidth}px"
|
|
1916
1926
|
></${e}-text-field>
|
|
1917
|
-
`,Ii
|
|
1927
|
+
`,Pi=Ii.compose({baseName:"date-editor",styles:ji,template:Ei()});class Bi extends Ii{}const Gi=Bi.compose({baseName:"date-editor",styles:ji,template:Ei("zero")});class Ui extends h.FoundationElement{init(e){e&&(this.params=e,this.selectedOptions=e.value,this.params.selectedOptionsCallback&&this.params.selectedOptionsCallback(this.params.data).then((e=>{this.selectedOptions=e})),"string"==typeof e.value&&(this.selectedOptions=e.value.split(",")))}getGui(){return this}destroy(){}refresh(e){return!0}getValue(){return this.selectedOptions}isPopup(){return!0}changeHandler(e){this.selectedOptions=e.detail}isCancelBeforeStart(){return!!this.params.data[Di]}}(0,zi.__decorate)([u.observable],Ui.prototype,"params",void 0),(0,zi.__decorate)([u.observable],Ui.prototype,"selectedOptions",void 0);const _i=u.css``,Hi=(e="foundation")=>u.html`
|
|
1918
1928
|
<${e}-multiselect
|
|
1919
1929
|
style="width: 100%"
|
|
1920
1930
|
?async=${e=>e.params.async}
|
|
@@ -1928,10 +1938,10 @@
|
|
|
1928
1938
|
:datasourceConfig=${e=>e.params.datasourceOptions}
|
|
1929
1939
|
></multiselect-datasource>
|
|
1930
1940
|
</${e}-multiselect>
|
|
1931
|
-
`,Ui
|
|
1941
|
+
`,Vi=Ui.compose({baseName:"multiselect-editor",styles:_i,template:Hi()});class Yi extends Ui{}const Qi=Yi.compose({baseName:"multiselect-editor",styles:_i,template:Hi("zero")});class Wi extends h.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.combobox.open=!0}changeHandler(e){var a;this.value=null===(a=e.detail)||void 0===a?void 0:a.value}isCancelBeforeStart(){return!!this.params.data[Di]}}(0,zi.__decorate)([u.observable],Wi.prototype,"params",void 0),(0,zi.__decorate)([u.observable],Wi.prototype,"value",void 0),(0,zi.__decorate)([u.observable],Wi.prototype,"actualWidth",void 0);const qi=u.css``,Ji=(e="foundation")=>u.html`
|
|
1932
1942
|
<${e}-combobox
|
|
1933
1943
|
style="width: ${e=>e.actualWidth}px"
|
|
1934
|
-
${(0,
|
|
1944
|
+
${(0,u.ref)("combobox")}
|
|
1935
1945
|
?async=${e=>e.params.async}
|
|
1936
1946
|
@value-change=${(e,a)=>e.changeHandler(a.event)}
|
|
1937
1947
|
>
|
|
@@ -1945,13 +1955,13 @@
|
|
|
1945
1955
|
:initialSelectedValue=${e=>e.params.value}
|
|
1946
1956
|
></options-datasource>
|
|
1947
1957
|
</${e}-combobox>
|
|
1948
|
-
`,Wi
|
|
1958
|
+
`,Zi=Wi.compose({baseName:"select-editor",styles:qi,template:Ji()});class Ki extends Wi{}const Xi=Ki.compose({baseName:"select-editor",styles:qi,template:Ji("zero")});class en extends h.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){const a=parseFloat(e.target.value);this.value=isNaN(a)?void 0:a}isCancelBeforeStart(){return!!this.params.data[Di]}}(0,zi.__decorate)([u.observable],en.prototype,"params",void 0),(0,zi.__decorate)([u.observable],en.prototype,"value",void 0),(0,zi.__decorate)([u.observable],en.prototype,"actualWidth",void 0);const an=u.css`
|
|
1949
1959
|
:host {
|
|
1950
1960
|
display: flex;
|
|
1951
1961
|
}
|
|
1952
|
-
`,
|
|
1962
|
+
`,rn=(e="foundation")=>u.html`
|
|
1953
1963
|
<${e}-number-field
|
|
1954
|
-
${(0,
|
|
1964
|
+
${(0,u.ref)("input")}
|
|
1955
1965
|
withFormatting=${e=>e.params.withFormatting}
|
|
1956
1966
|
:options=${e=>e.params.formatOptions}
|
|
1957
1967
|
:value=${e=>void 0===e.value?"":String(e.value)}
|
|
@@ -1961,29 +1971,29 @@
|
|
|
1961
1971
|
hideStep
|
|
1962
1972
|
style="width: ${e=>e.actualWidth}px"
|
|
1963
1973
|
></${e}-number-field>
|
|
1964
|
-
`,en
|
|
1974
|
+
`,tn=en.compose({baseName:"number-editor",styles:an,template:rn()});class on extends en{}const nn=on.compose({baseName:"number-editor",styles:an,template:rn("zero")});class ln extends h.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){this.value=e.target.value}isCancelBeforeStart(){return!!this.params.data[Di]}}(0,zi.__decorate)([u.observable],ln.prototype,"params",void 0),(0,zi.__decorate)([u.observable],ln.prototype,"value",void 0),(0,zi.__decorate)([u.observable],ln.prototype,"actualWidth",void 0);const gn=u.css`
|
|
1965
1975
|
:host {
|
|
1966
1976
|
display: flex;
|
|
1967
1977
|
}
|
|
1968
|
-
`,
|
|
1978
|
+
`,sn=(e="foundation")=>u.html`
|
|
1969
1979
|
<${e}-text-field
|
|
1970
|
-
${(0,
|
|
1980
|
+
${(0,u.ref)("input")}
|
|
1971
1981
|
:value=${e=>void 0===e.value?"":e.value}
|
|
1972
1982
|
@input=${(e,a)=>{e.changeHandler(a.event)}}
|
|
1973
1983
|
placeholder=${e=>e.params.placeholder}
|
|
1974
1984
|
style="width: ${e=>e.actualWidth}px"
|
|
1975
1985
|
>
|
|
1976
1986
|
</${e}-text-field>
|
|
1977
|
-
`,ln
|
|
1987
|
+
`,dn=ln.compose({baseName:"string-editor",styles:gn,template:sn()});class cn extends ln{}const pn=cn.compose({baseName:"string-editor",styles:gn,template:sn("zero")});class un extends h.FoundationElement{init(e){e&&(this.valueFormatted=e.formatValue(e.value))}getGui(){return this}refresh(e){return this.valueFormatted=e.formatValue(e.value),!0}}(0,zi.__decorate)([u.observable],un.prototype,"valueFormatted",void 0);const hn=u.css`
|
|
1978
1988
|
:host {
|
|
1979
1989
|
display: flex;
|
|
1980
1990
|
justify-content: space-between;
|
|
1981
1991
|
align-items: center;
|
|
1982
1992
|
}
|
|
1983
|
-
`,
|
|
1993
|
+
`,mn=(e="foundation")=>u.html`
|
|
1984
1994
|
<span>${e=>e.valueFormatted}</span>
|
|
1985
1995
|
<${e}-progress-ring style="margin: 0; width: 20px; height: 20px"></${e}-progress-ring>
|
|
1986
|
-
`,un
|
|
1996
|
+
`,bn=un.compose({baseName:"editable-renderer",styles:hn,template:mn()});class vn extends un{}const fn=vn.compose({baseName:"editable-renderer",styles:hn,template:mn("zero")});var wn=r(59783);const yn=(0,w.createLogger)("grid-pro");class xn extends h.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===wn.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){yn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,zi.__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,zi.__decorate)([u.observable],xn.prototype,"params",void 0),(0,zi.__decorate)([u.observable],xn.prototype,"pendingAction",void 0);const{create:kn}=h.DesignToken,zn=(kn("action-height-multiplier").withDefault("0.6px"),u.css`
|
|
1987
1997
|
.action-container {
|
|
1988
1998
|
align-items: center;
|
|
1989
1999
|
display: flex;
|
|
@@ -1998,9 +2008,9 @@
|
|
|
1998
2008
|
var(--action-height-multiplier)
|
|
1999
2009
|
);
|
|
2000
2010
|
}
|
|
2001
|
-
`),xn
|
|
2002
|
-
${
|
|
2003
|
-
`,template:
|
|
2011
|
+
`),Sn=xn.compose({baseName:"grid-pro-action-renderer",styles:u.css`
|
|
2012
|
+
${zn}
|
|
2013
|
+
`,template:u.html`
|
|
2004
2014
|
<div class="action-container" part="action-container">
|
|
2005
2015
|
<foundation-button
|
|
2006
2016
|
class="action-renderer"
|
|
@@ -2009,9 +2019,9 @@
|
|
|
2009
2019
|
?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
|
|
2010
2020
|
appearance="${e=>e.params.appearance}"
|
|
2011
2021
|
@click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
|
|
2012
|
-
</div>`});class
|
|
2013
|
-
${
|
|
2014
|
-
`,template:
|
|
2022
|
+
</div>`});class Cn extends xn{}const $n=Cn.compose({baseName:"grid-pro-action-renderer",styles:u.css`
|
|
2023
|
+
${zn}
|
|
2024
|
+
`,template:u.html`
|
|
2015
2025
|
<div class="action-container" part="action-container">
|
|
2016
2026
|
<zero-button
|
|
2017
2027
|
class="action-renderer"
|
|
@@ -2022,34 +2032,34 @@
|
|
|
2022
2032
|
appearance="${e=>e.params.appearance}"
|
|
2023
2033
|
@click=${e=>e.clickHandler()}
|
|
2024
2034
|
>
|
|
2025
|
-
${e=>e.params.contentTemplate?
|
|
2035
|
+
${e=>e.params.contentTemplate?u.html`
|
|
2026
2036
|
${e.params.contentTemplate}
|
|
2027
2037
|
`:e.params.actionName}
|
|
2028
2038
|
</zero-button>
|
|
2029
2039
|
</div>
|
|
2030
|
-
`});class
|
|
2040
|
+
`});class An extends h.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,zi.__decorate)([u.observable],An.prototype,"params",void 0);const Fn=An.compose({baseName:"grid-pro-actions-menu-renderer",template:u.html`
|
|
2031
2041
|
<foundation-actions-menu
|
|
2032
2042
|
name="${e=>e.params.headerName}"
|
|
2033
2043
|
:definition=${e=>e.params}
|
|
2034
2044
|
></foundation-actions-menu>
|
|
2035
|
-
`});class
|
|
2045
|
+
`});class Tn extends An{}const On=Tn.compose({baseName:"grid-pro-actions-menu-renderer",template:u.html`
|
|
2036
2046
|
<zero-actions-menu
|
|
2037
2047
|
name="${e=>e.params.headerName}"
|
|
2038
2048
|
:definition=${e=>e.params}
|
|
2039
2049
|
></zero-actions-menu>
|
|
2040
|
-
`});class
|
|
2050
|
+
`});class Dn extends h.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:wn.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:wn.zW2.EVENT_CELL_EDITING_STOPPED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t,oldValue:t,newValue:this.selected,valueChanged:i};this.params.api.dispatchEvent(n)}}getGui(){return this}destroy(){}refresh(e){return this.selected=e.value,!0}getValue(){return this.selected}isCancelBeforeStart(){return!!this.params.data[Di]}}(0,zi.__decorate)([u.observable],Dn.prototype,"params",void 0),(0,zi.__decorate)([u.observable],Dn.prototype,"selected",void 0);const Rn=u.css`
|
|
2041
2051
|
:host {
|
|
2042
2052
|
align-center: center;
|
|
2043
2053
|
display: flex;
|
|
2044
2054
|
height: 100%;
|
|
2045
2055
|
}
|
|
2046
|
-
`,
|
|
2056
|
+
`,Nn=(e="foundation")=>{const a=`${e}-checkbox`;return u.html`
|
|
2047
2057
|
<${a}
|
|
2048
2058
|
@change=${(e,a)=>e.changeHandler(a.event)}
|
|
2049
2059
|
:checked=${e=>e.selected}
|
|
2050
2060
|
?disabled=${e=>!e.params.colDef.editable}
|
|
2051
2061
|
></${a}>
|
|
2052
|
-
`},Dn
|
|
2062
|
+
`},Ln=Dn.compose({baseName:"boolean-renderer",styles:Rn,template:Nn()});class Mn extends Dn{}const In=Mn.compose({baseName:"boolean-renderer",styles:Rn,template:Nn("zero")});var jn=r(18471);const En=(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 Pn extends h.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?En(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,zi.__decorate)([u.observable],Pn.prototype,"textValue",void 0),(0,zi.__decorate)([u.observable],Pn.prototype,"params",void 0);const Bn=u.css`
|
|
2053
2063
|
:host {
|
|
2054
2064
|
display: flex;
|
|
2055
2065
|
width: 100%;
|
|
@@ -2059,15 +2069,15 @@
|
|
|
2059
2069
|
.text-renderer {
|
|
2060
2070
|
width: 100%;
|
|
2061
2071
|
}
|
|
2062
|
-
`,
|
|
2072
|
+
`,Gn=(e="foundation")=>{const a=`${e}-text-field`;return u.html`
|
|
2063
2073
|
<${a}
|
|
2064
|
-
${(0,
|
|
2074
|
+
${(0,u.ref)("textField")}
|
|
2065
2075
|
type="text"
|
|
2066
2076
|
class="text-renderer"
|
|
2067
|
-
:value="${(0,
|
|
2077
|
+
:value="${(0,jn.Z)((e=>e.textValue))}"
|
|
2068
2078
|
@change="${(e,a)=>e.textChanged(a.event)}"
|
|
2069
2079
|
></${a}>
|
|
2070
|
-
`},Pn
|
|
2080
|
+
`},Un=Pn.compose({baseName:"grid-pro-text-renderer",styles:Bn,template:Gn()});class _n extends Pn{}const Hn=Bn,Vn=Gn,Yn=_n.compose({baseName:"grid-text-renderer",styles:Hn,template:Vn()});const Qn=class extends _n{}.compose({baseName:"grid-text-renderer",styles:Hn,template:Vn("zero")});class Wn extends h.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=En(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,zi.__decorate)([u.observable],Wn.prototype,"params",void 0),(0,zi.__decorate)([u.observable],Wn.prototype,"value",void 0);const qn=u.css`
|
|
2071
2081
|
:host,
|
|
2072
2082
|
.select-renderer,
|
|
2073
2083
|
zero-option,
|
|
@@ -2076,7 +2086,7 @@
|
|
|
2076
2086
|
max-width: var(--select-renderer-max-width);
|
|
2077
2087
|
min-width: 100%;
|
|
2078
2088
|
}
|
|
2079
|
-
`,
|
|
2089
|
+
`,Jn=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return u.html`
|
|
2080
2090
|
<${a}
|
|
2081
2091
|
class="select-renderer"
|
|
2082
2092
|
@change=${(e,a)=>e.selectionChanged(a.event)}
|
|
@@ -2088,19 +2098,19 @@
|
|
|
2088
2098
|
>
|
|
2089
2099
|
${e=>e.params.defaultValue||"Select option"}
|
|
2090
2100
|
</${r}>
|
|
2091
|
-
${(0,
|
|
2101
|
+
${(0,u.repeat)((e=>e.params.options(e.params.node.data)),u.html`
|
|
2092
2102
|
<${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
|
|
2093
2103
|
`)}
|
|
2094
2104
|
</${a}>
|
|
2095
|
-
`},Wn
|
|
2105
|
+
`},Zn=Wn.compose({baseName:"select-renderer",styles:qn,template:Jn()});const Kn=class extends Wn{}.compose({baseName:"select-renderer",styles:qn,template:Jn("zero")});var Xn=r(89861),el=r(86534),al=r(9492);const rl=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,al.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,al.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,al.__classPrivateFieldGet)(this,r,"f")._key&&!((0,al.__classPrivateFieldGet)(this,r,"f").dragging||!(0,al.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,al.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,al.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,al.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,al.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,al.__classPrivateFieldGet)(this,o,"f")&&((0,al.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,al.__classPrivateFieldGet)(this,r,"f").dragging||!(0,al.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,al.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,al.__classPrivateFieldGet)(this,r,"f")._key&&(0,al.__classPrivateFieldSet)(this,r,(0,al.__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,al.__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,al.__classPrivateFieldGet)(this,t,"f")!==(0,al.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,al.__classPrivateFieldSet)(this,t,null!==(a=(0,al.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,al.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,al.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,al.__classPrivateFieldSet)(this,t,null!==(o=(0,al.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,al.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[tl])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,al.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},tl=Symbol("layout-cache-document");var ol=r(75951),il=r(9770),nl=r(97025),ll=r(40001),gl=r.n(ll);const sl=u.html`
|
|
2096
2106
|
<template>
|
|
2097
|
-
<slot ${(0,
|
|
2107
|
+
<slot ${(0,u.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
|
|
2098
2108
|
</template>
|
|
2099
|
-
`;let
|
|
2109
|
+
`;let dl=class extends h.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,zi.__decorate)([u.observable],dl.prototype,"renderer",void 0),(0,zi.__decorate)([u.observable],dl.prototype,"rendererParams",void 0),(0,zi.__decorate)([u.observable],dl.prototype,"slottedRenderer",void 0),dl=(0,zi.__decorate)([(0,u.customElement)({name:"grid-pro-cell",template:sl})],dl);const cl=u.html`
|
|
2100
2110
|
<template>
|
|
2101
|
-
<slot ${(0,
|
|
2111
|
+
<slot ${(0,u.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
|
|
2102
2112
|
</template>
|
|
2103
|
-
`;let sl=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,yi.__decorate)([c.observable],sl.prototype,"slottedAgCell",void 0),(0,yi.__decorate)([c.observable],sl.prototype,"definition",void 0),sl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-column",template:gl})],sl);var dl,cl=r(82940),pl=r(32449),ul=r(9162),hl=r(5127),ml=r(83123),bl=r(35991),vl=r(6852),fl=r(26714),wl=r(2480),yl=r(71452),xl=r(99449),kl=r(30526),zl=r(61080);class Sl extends p.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=cl.WJ.MAX_ROWS_250,this.maxView=cl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?cl.WJ.REQUEST_SERVER_ROW_ID:cl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===cl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===cl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?cl.WJ.REQUEST_SERVER_ROW_ID:cl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}(0,yi.__decorate)([s.lj],Sl.prototype,"connect",void 0),(0,yi.__decorate)([c.observable],Sl.prototype,"deferredGridOptions",void 0),(0,yi.__decorate)([c.observable],Sl.prototype,"deferredColumnStates",void 0),(0,yi.__decorate)([c.observable],Sl.prototype,"rowDataMapper",void 0),(0,yi.__decorate)([c.attr],Sl.prototype,"criteria",void 0),(0,yi.__decorate)([c.attr],Sl.prototype,"fields",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"is-snapshot"})],Sl.prototype,"isSnapshot",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-rows"})],Sl.prototype,"maxRows",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-view"})],Sl.prototype,"maxView",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"moving-view"})],Sl.prototype,"movingView",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"order-by"})],Sl.prototype,"orderBy",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"resource-name"})],Sl.prototype,"resourceName",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean"})],Sl.prototype,"reverse",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"row-id"})],Sl.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(dl||(dl={}));class Cl extends Sl{constructor(){super(...arguments),this.dataSubWasLoggedOff=!1,this.rowData=new Map,this.agTransaction={add:[],remove:[],update:[]}}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rowData.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rowData.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.rowData.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.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rowData.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rowData.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rowData.set(e[this.rowId],a)}))}applyAllAgTransactions(){if(!this.agTransaction.add.length&&!this.agTransaction.update.length&&!this.agTransaction.remove.length)return this.agGrid.gridApi.hideOverlay(),void(0===this.rowData.size&&this.agGrid.gridApi.showNoRowsOverlay());this.agTransaction.add.length>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},dl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},dl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},dl.Update,this.agGrid.asyncUpdate)}flashAddedCells(e){this.agGrid.enableRowFlashing&&(null==e?void 0:e.length)&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}applyTransaction(e){throw new Error("Method not implemented.")}applyTransactionAsync(e,a){throw new Error("Method not implemented.")}mapTransaction(e,a=Object.values(dl)){if(!this.rowDataMapper)return e;const r={};return a.includes(dl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(dl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(dl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class $l{constructor(){this.rowData=new Map}}var Al=r(21607);function Fl({value:e}){return(0,Al.D_)(e)}function Tl({value:e}){return(0,Al.Lx)(e)}let Ol=class extends(Xn(Cl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=cl.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new fl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,pl.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}init(){return(0,yi.__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){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return vn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===cl._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,yi.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,yl.T)(1),(0,xl.b)(r),(0,kl.b)((e=>vn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else vn.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 fl.X(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rowData.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.rowData=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;return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),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,yi.__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.agGrid.removeAttribute("ds-disconnected"),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return vn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot)try{const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}}catch(e){e.receivedMessage&&this.handleErrors(e.receivedMessage)}else vn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,zl.K)((e=>(this.handleErrors(e.receivedMessage),wl.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===ul.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,hl.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,hl.$)(e).inserts:e.inserts}handleErrors(e){e.ERROR&&(this.agGrid.gridApi.setRowData([]),this.agGrid.setAttribute("ds-disconnected","ds-disconnected"))}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 vn.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const e=this.rowData.size>0?Array.from(this.rowData.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rowData.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.rowData.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.rowData.set(e[this.rowId],e)}));const r=Array.from(this.rowData.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}getAgColumnDefs(e){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case ml.r.DATE:case ml.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 ml.r.STRING:r.cellEditor=Ai.stringEditor;break;case ml.r.NUMBER:r.cellEditor=Ai.numberEditor,r.filter="agNumberColumnFilter";break;case ml.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case ml.r.DATE:r.valueFormatter=Fl,r.cellEditor=Ai.dateEditor,r.filter="agDateColumnFilter";break;case ml.r.DATETIME:r.valueFormatter=Tl,r.filter="agDateColumnFilter",r.cellEditor=Ai.dateEditor,r.cellEditorParams={withTime:!0};break;case ml.r.ENUM:e.enumOptions?(r.cellEditor=Ai.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):vn.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 yield 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,pl.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)}applyTransaction(e){return this.agGrid.gridApi.applyTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyTransactionAsync(e,a)}};(0,yi.__decorate)([bl.g],Ol.prototype,"auth",void 0),(0,yi.__decorate)([vl.Yh],Ol.prototype,"datasource",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"polling-interval"})],Ol.prototype,"pollingInterval",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"disable-polling"})],Ol.prototype,"disablePolling",void 0),(0,yi.__decorate)([c.observable],Ol.prototype,"request",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Ol.prototype,"restartOnReconnection",void 0),Ol=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-genesis-datasource"})],Ol);let Dl=class extends Ol{};Dl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-client-side-datasource"})],Dl);var Rl=r(66306),Nl=r(52078);function Ll(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 Il extends $l{constructor(e){super(),this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,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,r;return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const t=e.request.filterModel,o=Object.keys(t).length>0,i=0===Object.keys(t).length,n=JSON.stringify(t)!==JSON.stringify(this.currentFilterModel);if(n||o){if(i&&this.currentFilterModel)return this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,void(yield this.restartSubscription(e));if(n&&o)return this.currentFilterModel=t,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),void(yield this.restartSubscription(e))}const l=e.request.sortModel;if(l.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||l.length>0){if(0===l.length&&this.currentSortModel)return this.calculatedRowsCount=0,this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,void(yield this.restartSubscription(e));if(l.length>0){const a=l[0].colId,t=l[0].sort,o=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);if(!o){this.calculatedRowsCount=0;const a=function(e){const a=[];for(const[r]of e)r&&a.push(r);return a}(this.resourceIndexes),t=function(e){const a=[];function r(e){for(const r of e)null!==r&&a.push(r)}for(const[a,t]of e)null!==a&&null!==t&&r(t);return a}(this.resourceIndexes);return vn.warn("The FIELD/column (${coldIdBeingSorted}) being sorted is not part of an INDEX, required for the [orderBy] operation. See https://learn.genesis.global/docs/database/data-types/index-entities/"),vn.debug("Available indexes:",a),vn.debug("Columns that can be sorted with the available indexes:",t),null===(r=e.api)||void 0===r||r.refreshServerSide({purge:!0}),void e.fail()}if(JSON.stringify(l)!==JSON.stringify(this.currentSortModel))return this.currentSortModel=l,this.resourceParams.ORDER_BY=o.orderBy,this.resourceParams.REVERSE="desc"===t,void(yield this.restartSubscription(e))}}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,Nl.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===ul.Cs.LOGOFF_ACK||t===ul.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:[],rowCount:0};return void e.success(a)}{const e=(0,hl.$)(a);this.handleCurrentStreamLoad(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);const o={rowData:Array.from(this.sortMapByNumericKey(this.rowData).values()),rowCount:this.pagination&&!this.resourceParams.CRITERIA_MATCH?Math.min(this.server_ROWS_COUNT,this.maxView):void 0};this.calculatedRowsCount=this.client_ROWS_COUNT,0===this.calculatedRowsCount&&(this.calculatedRowsCount=e.request.endRow),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?o.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT?o.rowCount=this.server_ROWS_COUNT:!this.moreRows&&this.server_ROWS_COUNT>this.calculatedRowsCount&&(o.rowCount=this.calculatedRowsCount),e.success(o)}))}))}sortMapByNumericKey(e){const a=Array.from(e.entries()).sort((([e],[a])=>+a-+e));return new Map(a)}dataLogoff(){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){this.streamSourceRef&&this.auth.isLoggedIn&&(yield this.connect.dataLogoff(this.streamSourceRef)),this.streamSourceRef=void 0}))}restartSubscription(e){var a;return(0,yi.__awaiter)(this,void 0,void 0,(function*(){yield this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=void 0,this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>vn.error(e)),this.resourceParams),null===(a=e.api)||void 0===a||a.refreshServerSide({purge:!0}),e.fail()}))}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){return{orderBy:r,toBeSorted:[...t].splice(e,1)}}}}handleCurrentStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e[this.rowId],e)})),this.rowData=r}buildCriteriaMatchFromFilters(){this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.resourceParams.CRITERIA_MATCH&&"string"==typeof this.resourceParams.CRITERIA_MATCH&&(this.resourceParams.CRITERIA_MATCH=this.resourceParams.CRITERIA_MATCH.split(";")),this.resourceParams.CRITERIA_MATCH||(this.resourceParams.CRITERIA_MATCH=[]);return this.resourceParams.CRITERIA_MATCH.concat(this.criteriaFromFilters()).join(" && ")}criteriaFromFilters(){const e=[];return this.getFiltersByType("text").forEach((a=>{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,yi.__decorate)([bl.g],Il.prototype,"auth",void 0),(0,yi.__decorate)([s.lj],Il.prototype,"connect",void 0);let jl=class extends(Xn(Cl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,pl.p)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,yi.__awaiter)(this,void 0,void 0,(function*(){this.ssrmDatasource.dataLogoff(),this.clearRowData(null),this.ssrmDatasource=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0}),null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.showLoadingOverlay(),this.init()}))}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.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}deinit(){var e;this.clearRowData(),this.ssrmDatasource=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0})}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,getRowStyle(e){var a,r;if(null===(r=null===(a=e.data)||void 0===a?void 0:a.ROW_REF)||void 0===r?void 0:r.includes("_deleted"))return{color:"grey"}},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,yi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>vn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Rl.C)(e);const a=(0,Rl.i)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Il({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.ssrmDatasource)}))),{once:!0});vn.warn("Application not connected, falling back to local columnDefs/rowData")}restart(){this.deinit(),this.init()}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),this.agTransaction={remove:[]},null===(t=this.agGrid.gridApi)||void 0===t||t.forEachNode((e=>{this.agTransaction.remove.push(e.data)})),null===(o=this.agGrid.gridApi)||void 0===o||o.applyServerSideTransaction(this.agTransaction),this.agTransaction=void 0}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));vn.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 vn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,yi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===ul.Cs.QUERY_UPDATE&&e.ROW){const r=(0,hl.$)(e);if(this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(r.inserts),this.handleStreamDeletesTemp(r.deletes),this.handleStreamUpdates(r.updates),this.ssrmDatasource.client_ROWS_COUNT+=null!==(a=r.inserts.length)&&void 0!==a?a:0,e.SEQUENCE_ID>1){const e=yield this.connect.snapshot(this.resourceName,{MAX_ROWS:1,MAX_VIEW:1,CRITERIA_MATCH:this.criteria});this.ssrmDatasource.server_ROWS_COUNT=e.ROWS_COUNT}this.applyAllAgTransactions()}}))),(e=>vn.error(e)),null!=e?e:this.params)}))}handleStreamDeletesTemp(e){e&&e.forEach((e=>{const a=this.agGrid.gridApi.getRowNode(e.ROW_REF);a&&a.setData(Object.assign(Object.assign({},a.data),{ROW_REF:e.ROW_REF+"_deleted"}))}))}getAgColumnDefs(e){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case ml.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 ml.r.DATE:case ml.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 ml.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 ml.r.NUMBER:r.cellEditor=Ai.numberEditor;break;case ml.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case ml.r.DATE:r.valueFormatter=Fl;break;case ml.r.DATETIME:r.valueFormatter=Tl;break;case ml.r.ENUM:r.cellEditor=Ai.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:Ll(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}applyTransaction(e){return this.agGrid.gridApi.applyServerSideTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyServerSideTransactionAsync(e,a)}};(0,yi.__decorate)([(0,c.attr)({mode:"boolean"})],jl.prototype,"pagination",void 0),jl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-server-side-datasource"})],jl);const El='\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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style: normal;\n }\n',Pl='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcjBKQJJ/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKwiysi6oyClzCg99Ec8TxilXY4ea+YgngzqZGPlo74Ign50j7RGuKl8qDZ8x4lCYLQkLtAgHOb6bcEcrG9Rqe+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImHVEbzcilHcJDqJDa8BAVMXJkYOeTwgaNs7o82pMPXpmMUyRPppY3sk/PuiE8EKa81aEu4gXCqPuAbqTipcosW5xw2UMWVvgHdkq2K9b9Td/TDnZZsSenqFwS1wU7LpwQGYUJSCt8EW2ZKu7oar+BBS4UMLDEUesGK04CruqhLuSMFYxMOJ9k4TD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1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Bl={[wi.alpine]:El,[wi.alpineDark]:El,[wi.balham]:Pl,[wi.balhamDark]:Pl,[wi.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/bAzE4LLJqw2fOFLy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PWqb3X7VC73+TVp35H17D4ACTtvwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Gl=El,Ul=c.css`
|
|
2113
|
+
`;let pl=class extends h.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,zi.__decorate)([u.observable],pl.prototype,"slottedAgCell",void 0),(0,zi.__decorate)([u.observable],pl.prototype,"definition",void 0),pl=(0,zi.__decorate)([(0,u.customElement)({name:"grid-pro-column",template:cl})],pl);var ul,hl=r(82940),ml=r(32449),bl=r(9162),vl=r(5127),fl=r(83123),wl=r(35991),yl=r(6852),xl=r(26714),kl=r(2480),zl=r(71452),Sl=r(99449),Cl=r(30526),$l=r(61080);class Al extends h.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=hl.WJ.MAX_ROWS_250,this.maxView=hl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?hl.WJ.REQUEST_SERVER_ROW_ID:hl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===hl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===hl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?hl.WJ.REQUEST_SERVER_ROW_ID:hl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}(0,zi.__decorate)([s.lj],Al.prototype,"connect",void 0),(0,zi.__decorate)([u.observable],Al.prototype,"deferredGridOptions",void 0),(0,zi.__decorate)([u.observable],Al.prototype,"deferredColumnStates",void 0),(0,zi.__decorate)([u.observable],Al.prototype,"rowDataMapper",void 0),(0,zi.__decorate)([u.attr],Al.prototype,"criteria",void 0),(0,zi.__decorate)([u.attr],Al.prototype,"fields",void 0),(0,zi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"is-snapshot"})],Al.prototype,"isSnapshot",void 0),(0,zi.__decorate)([(0,u.attr)({attribute:"max-rows"})],Al.prototype,"maxRows",void 0),(0,zi.__decorate)([(0,u.attr)({attribute:"max-view"})],Al.prototype,"maxView",void 0),(0,zi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"moving-view"})],Al.prototype,"movingView",void 0),(0,zi.__decorate)([(0,u.attr)({attribute:"order-by"})],Al.prototype,"orderBy",void 0),(0,zi.__decorate)([(0,u.attr)({attribute:"resource-name"})],Al.prototype,"resourceName",void 0),(0,zi.__decorate)([(0,u.attr)({mode:"boolean"})],Al.prototype,"reverse",void 0),(0,zi.__decorate)([(0,u.attr)({attribute:"row-id"})],Al.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(ul||(ul={}));class Fl extends Al{constructor(){super(...arguments),this.dataSubWasLoggedOff=!1,this.rowData=new Map,this.agTransaction={add:[],remove:[],update:[]}}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rowData.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rowData.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.rowData.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.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rowData.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rowData.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rowData.set(e[this.rowId],a)}))}applyAllAgTransactions(){if(!this.agTransaction.add.length&&!this.agTransaction.update.length&&!this.agTransaction.remove.length)return this.agGrid.gridApi.hideOverlay(),void(0===this.rowData.size&&this.agGrid.gridApi.showNoRowsOverlay());this.agTransaction.add.length>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},ul.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},ul.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},ul.Update,this.agGrid.asyncUpdate)}flashAddedCells(e){this.agGrid.enableRowFlashing&&(null==e?void 0:e.length)&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}applyTransaction(e){throw new Error("Method not implemented.")}applyTransactionAsync(e,a){throw new Error("Method not implemented.")}mapTransaction(e,a=Object.values(ul)){if(!this.rowDataMapper)return e;const r={};return a.includes(ul.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(ul.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(ul.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class Tl{constructor(){this.rowData=new Map}}var Ol=r(21607);function Dl({value:e}){return(0,Ol.D_)(e)}function Rl({value:e}){return(0,Ol.Lx)(e)}let Nl=class extends(rl(Fl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=hl.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new xl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,ml.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;u.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;u.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}init(){return(0,zi.__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){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return yn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===hl._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,zi.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,zl.T)(1),(0,Sl.b)(r),(0,Cl.b)((e=>yn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else yn.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 xl.X(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rowData.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.rowData=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;return(0,zi.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),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,zi.__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.agGrid.removeAttribute("ds-disconnected"),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,zi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return yn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot)try{const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}}catch(e){e.receivedMessage&&this.handleErrors(e.receivedMessage)}else yn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,$l.K)((e=>(this.handleErrors(e.receivedMessage),kl.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===bl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,vl.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,vl.$)(e).inserts:e.inserts}handleErrors(e){e.ERROR&&(this.agGrid.gridApi.setRowData([]),this.agGrid.setAttribute("ds-disconnected","ds-disconnected"))}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 yn.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const e=this.rowData.size>0?Array.from(this.rowData.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rowData.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.rowData.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.rowData.set(e[this.rowId],e)}));const r=Array.from(this.rowData.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}getAgColumnDefs(e){return(0,zi.__awaiter)(this,void 0,void 0,(function*(){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case fl.r.DATE:case fl.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 fl.r.STRING:r.cellEditor=Oi.stringEditor;break;case fl.r.NUMBER:r.cellEditor=Oi.numberEditor,r.filter="agNumberColumnFilter";break;case fl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Oi.boolean,r.cellEditor=Oi.boolean);break;case fl.r.DATE:r.valueFormatter=Dl,r.cellEditor=Oi.dateEditor,r.filter="agDateColumnFilter";break;case fl.r.DATETIME:r.valueFormatter=Rl,r.filter="agDateColumnFilter",r.cellEditor=Oi.dateEditor,r.cellEditorParams={withTime:!0};break;case fl.r.ENUM:e.enumOptions?(r.cellEditor=Oi.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):yn.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 yield 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,ml.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)}applyTransaction(e){return this.agGrid.gridApi.applyTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyTransactionAsync(e,a)}};(0,zi.__decorate)([wl.g],Nl.prototype,"auth",void 0),(0,zi.__decorate)([yl.Yh],Nl.prototype,"datasource",void 0),(0,zi.__decorate)([(0,u.attr)({attribute:"polling-interval"})],Nl.prototype,"pollingInterval",void 0),(0,zi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"disable-polling"})],Nl.prototype,"disablePolling",void 0),(0,zi.__decorate)([u.observable],Nl.prototype,"request",void 0),(0,zi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Nl.prototype,"restartOnReconnection",void 0),Nl=(0,zi.__decorate)([(0,u.customElement)({name:"grid-pro-genesis-datasource"})],Nl);let Ll=class extends Nl{};Ll=(0,zi.__decorate)([(0,u.customElement)({name:"grid-pro-client-side-datasource"})],Ll);var Ml=r(66306),Il=r(52078);function jl(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 El(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 Pl extends Tl{constructor(e){super(),this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,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,r;return(0,zi.__awaiter)(this,void 0,void 0,(function*(){const t=e.request.filterModel,o=Object.keys(t).length>0,i=0===Object.keys(t).length,n=JSON.stringify(t)!==JSON.stringify(this.currentFilterModel);if(n||o){if(i&&this.currentFilterModel)return this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,void(yield this.restartSubscription(e));if(n&&o)return this.currentFilterModel=t,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),void(yield this.restartSubscription(e))}const l=e.request.sortModel;if(l.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||l.length>0){if(0===l.length&&this.currentSortModel)return this.calculatedRowsCount=0,this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,void(yield this.restartSubscription(e));if(l.length>0){const a=l[0].colId,t=l[0].sort,o=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);if(!o){this.calculatedRowsCount=0;const a=function(e){const a=[];for(const[r]of e)r&&a.push(r);return a}(this.resourceIndexes),t=function(e){const a=[];function r(e){for(const r of e)null!==r&&a.push(r)}for(const[a,t]of e)null!==a&&null!==t&&r(t);return a}(this.resourceIndexes);return yn.warn("The FIELD/column (${coldIdBeingSorted}) being sorted is not part of an INDEX, required for the [orderBy] operation. See https://learn.genesis.global/docs/database/data-types/index-entities/"),yn.debug("Available indexes:",a),yn.debug("Columns that can be sorted with the available indexes:",t),null===(r=e.api)||void 0===r||r.refreshServerSide({purge:!0}),void e.fail()}if(JSON.stringify(l)!==JSON.stringify(this.currentSortModel))return this.currentSortModel=l,this.resourceParams.ORDER_BY=o.orderBy,this.resourceParams.REVERSE="desc"===t,void(yield this.restartSubscription(e))}}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,Il.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===bl.Cs.LOGOFF_ACK||t===bl.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:[],rowCount:0};return void e.success(a)}{const e=(0,vl.$)(a);this.handleCurrentStreamLoad(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);const o={rowData:Array.from(this.sortMapByNumericKey(this.rowData).values()),rowCount:this.pagination&&!this.resourceParams.CRITERIA_MATCH?Math.min(this.server_ROWS_COUNT,this.maxView):void 0};this.calculatedRowsCount=this.client_ROWS_COUNT,0===this.calculatedRowsCount&&(this.calculatedRowsCount=e.request.endRow),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?o.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT?o.rowCount=this.server_ROWS_COUNT:!this.moreRows&&this.server_ROWS_COUNT>this.calculatedRowsCount&&(o.rowCount=this.calculatedRowsCount),e.success(o)}))}))}sortMapByNumericKey(e){const a=Array.from(e.entries()).sort((([e],[a])=>+a-+e));return new Map(a)}dataLogoff(){return(0,zi.__awaiter)(this,void 0,void 0,(function*(){this.streamSourceRef&&this.auth.isLoggedIn&&(yield this.connect.dataLogoff(this.streamSourceRef)),this.streamSourceRef=void 0}))}restartSubscription(e){var a;return(0,zi.__awaiter)(this,void 0,void 0,(function*(){yield this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=void 0,this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>yn.error(e)),this.resourceParams),null===(a=e.api)||void 0===a||a.refreshServerSide({purge:!0}),e.fail()}))}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){return{orderBy:r,toBeSorted:[...t].splice(e,1)}}}}handleCurrentStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e[this.rowId],e)})),this.rowData=r}buildCriteriaMatchFromFilters(){this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.resourceParams.CRITERIA_MATCH&&"string"==typeof this.resourceParams.CRITERIA_MATCH&&(this.resourceParams.CRITERIA_MATCH=this.resourceParams.CRITERIA_MATCH.split(";")),this.resourceParams.CRITERIA_MATCH||(this.resourceParams.CRITERIA_MATCH=[]);return this.resourceParams.CRITERIA_MATCH.concat(this.criteriaFromFilters()).join(" && ")}criteriaFromFilters(){const e=[];return this.getFiltersByType("text").forEach((a=>{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,zi.__decorate)([wl.g],Pl.prototype,"auth",void 0),(0,zi.__decorate)([s.lj],Pl.prototype,"connect",void 0);let Bl=class extends(rl(Fl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,ml.p)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,zi.__awaiter)(this,void 0,void 0,(function*(){this.ssrmDatasource.dataLogoff(),this.clearRowData(null),this.ssrmDatasource=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0}),null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.showLoadingOverlay(),this.init()}))}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;u.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;u.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}deinit(){var e;this.clearRowData(),this.ssrmDatasource=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0})}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,getRowStyle(e){var a,r;if(null===(r=null===(a=e.data)||void 0===a?void 0:a.ROW_REF)||void 0===r?void 0:r.includes("_deleted"))return{color:"grey"}},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,zi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>yn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Ml.C)(e);const a=(0,Ml.i)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Pl({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.ssrmDatasource)}))),{once:!0});yn.warn("Application not connected, falling back to local columnDefs/rowData")}restart(){this.deinit(),this.init()}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),this.agTransaction={remove:[]},null===(t=this.agGrid.gridApi)||void 0===t||t.forEachNode((e=>{this.agTransaction.remove.push(e.data)})),null===(o=this.agGrid.gridApi)||void 0===o||o.applyServerSideTransaction(this.agTransaction),this.agTransaction=void 0}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));yn.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 yn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,zi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,zi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===bl.Cs.QUERY_UPDATE&&e.ROW){const r=(0,vl.$)(e);if(this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(r.inserts),this.handleStreamDeletesTemp(r.deletes),this.handleStreamUpdates(r.updates),this.ssrmDatasource.client_ROWS_COUNT+=null!==(a=r.inserts.length)&&void 0!==a?a:0,e.SEQUENCE_ID>1){const e=yield this.connect.snapshot(this.resourceName,{MAX_ROWS:1,MAX_VIEW:1,CRITERIA_MATCH:this.criteria});this.ssrmDatasource.server_ROWS_COUNT=e.ROWS_COUNT}this.applyAllAgTransactions()}}))),(e=>yn.error(e)),null!=e?e:this.params)}))}handleStreamDeletesTemp(e){e&&e.forEach((e=>{const a=this.agGrid.gridApi.getRowNode(e.ROW_REF);a&&a.setData(Object.assign(Object.assign({},a.data),{ROW_REF:e.ROW_REF+"_deleted"}))}))}getAgColumnDefs(e){return(0,zi.__awaiter)(this,void 0,void 0,(function*(){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case fl.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 fl.r.DATE:case fl.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 fl.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 fl.r.NUMBER:r.cellEditor=Oi.numberEditor;break;case fl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Oi.boolean,r.cellEditor=Oi.boolean);break;case fl.r.DATE:r.valueFormatter=Dl;break;case fl.r.DATETIME:r.valueFormatter=Rl;break;case fl.r.ENUM:r.cellEditor=Oi.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:El(e.type),filter:jl(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}applyTransaction(e){return this.agGrid.gridApi.applyServerSideTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyServerSideTransactionAsync(e,a)}};(0,zi.__decorate)([(0,u.attr)({mode:"boolean"})],Bl.prototype,"pagination",void 0),Bl=(0,zi.__decorate)([(0,u.customElement)({name:"grid-pro-server-side-datasource"})],Bl);const Gl='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G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ihiSB7JUXB/oI+iZaGt9tQq2n9Q0derrnU/2o8lgXVDNY1oD9p6TyUb0YWZhdYyCKXNkXqpiKbholwui05d6ymOvr4rvfbvnEuD/2Lt6UJO/LtcDLUAjLO7+6TfmdLsqQ1oX9N1GBdZaqb1U6z/q75SrwQ8/Q0nP38sYCya/8Olal7o7hJgPz+nTjjmCEjw0ihgE3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ul='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAA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gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',_l={[ki.alpine]:Gl,[ki.alpineDark]:Gl,[ki.balham]:Ul,[ki.balhamDark]:Ul,[ki.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+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVY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xRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Hl=Gl,Vl=u.css`
|
|
2104
2114
|
.ag-icon {
|
|
2105
2115
|
font-family: var(--ag-icon-font-family);
|
|
2106
2116
|
font-size: var(--ag-icon-size);
|
|
@@ -9277,7 +9287,7 @@
|
|
|
9277
9287
|
input[class^='ag-'][type='range']:disabled {
|
|
9278
9288
|
opacity: 0.5;
|
|
9279
9289
|
}
|
|
9280
|
-
`,
|
|
9290
|
+
`,Yl=u.css`
|
|
9281
9291
|
.ag-dnd-ghost {
|
|
9282
9292
|
background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
|
|
9283
9293
|
border: solid 1px;
|
|
@@ -9294,7 +9304,7 @@
|
|
|
9294
9304
|
overflow: hidden;
|
|
9295
9305
|
text-overflow: ellipsis;
|
|
9296
9306
|
}
|
|
9297
|
-
`,
|
|
9307
|
+
`,Ql=u.css`
|
|
9298
9308
|
.ag-theme-alpine,
|
|
9299
9309
|
.ag-theme-alpine-dark {
|
|
9300
9310
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -9744,7 +9754,7 @@
|
|
|
9744
9754
|
.ag-theme-alpine-dark {
|
|
9745
9755
|
color-scheme: dark;
|
|
9746
9756
|
}
|
|
9747
|
-
`,
|
|
9757
|
+
`,Wl=u.css`
|
|
9748
9758
|
.ag-theme-balham,
|
|
9749
9759
|
.ag-theme-balham-dark {
|
|
9750
9760
|
--ag-balham-active-color: #0091ea;
|
|
@@ -10014,7 +10024,7 @@
|
|
|
10014
10024
|
.ag-theme-balham-dark {
|
|
10015
10025
|
color-scheme: dark;
|
|
10016
10026
|
}
|
|
10017
|
-
`,
|
|
10027
|
+
`,ql=u.css`
|
|
10018
10028
|
.ag-theme-material {
|
|
10019
10029
|
--ag-material-primary-color: #3f51b5;
|
|
10020
10030
|
--ag-material-accent-color: #ff4081;
|
|
@@ -10279,14 +10289,14 @@
|
|
|
10279
10289
|
.ag-theme-material .ag-picker-field-wrapper:focus {
|
|
10280
10290
|
box-shadow: 0 0 0 1px var(--ag-material-primary-color);
|
|
10281
10291
|
}
|
|
10282
|
-
`,
|
|
10283
|
-
${Ul}
|
|
10284
|
-
${_l}
|
|
10285
|
-
${Hl}
|
|
10292
|
+
`,Jl=u.css`
|
|
10286
10293
|
${Vl}
|
|
10287
10294
|
${Yl}
|
|
10288
|
-
`,Wl=c.css`
|
|
10289
10295
|
${Ql}
|
|
10296
|
+
${Wl}
|
|
10297
|
+
${ql}
|
|
10298
|
+
`,Zl=u.css`
|
|
10299
|
+
${Jl}
|
|
10290
10300
|
:host {
|
|
10291
10301
|
width: 100%;
|
|
10292
10302
|
height: 100%;
|
|
@@ -10313,14 +10323,14 @@
|
|
|
10313
10323
|
.ag-cell-inline-editing {
|
|
10314
10324
|
height: inherit !important;
|
|
10315
10325
|
}
|
|
10316
|
-
`,
|
|
10326
|
+
`,Kl=u.html`
|
|
10317
10327
|
<template>
|
|
10318
10328
|
<span part="grid" class="${e=>e.classNames}">
|
|
10319
|
-
<slot name="grid" ${(0,
|
|
10329
|
+
<slot name="grid" ${(0,u.ref)("gridSlot")}></slot>
|
|
10320
10330
|
<slot></slot>
|
|
10321
10331
|
</span>
|
|
10322
10332
|
</template>
|
|
10323
|
-
`;var Jl=r(75527);class Zl{getColumnState(e){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return[]}))}saveColumnState(e,a){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}}(0,yi.__decorate)([Jl.z],Zl.prototype,"session",void 0);const Kl=p.DI.createInterface((e=>e.singleton(Zl)));class Xl{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}}const eg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function ag(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}bn.O3h.registerModules([Zn.jM,Jn.I]);class rg extends(Xn(p.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,rl.A)(Ci(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=Gl,this.columnComponentName="grid-pro-column",this.theme=wi.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=bn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[eg(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),bn.plv.PUBLIC_EVENTS.includes(e)&&(this.gridApi?this.addGridEventListener(e):this.gridEventsQueue.push(e))}addGridEventListener(e){this.gridApi.addEventListener(e,(a=>{this.$emit(e,a)}))}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&&bn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(eg(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={[Ai.action]:fn,[Ai.actionsMenu]:Sn,[Ai.boolean]:Fn,[Ai.editable]:dn,[Ai.selectEditor]:Vi,[Ai.numberEditor]:Zi,[Ai.multiselectEditor]:Pi,[Ai.dateEditor]:Ni,[Ai.stringEditor]:tn};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(){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){let e=this.columnApi.getColumnState();if(e=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(e):e,0===e.length||JSON.stringify(e)===JSON.stringify(this.columnState))return;yield this.statePersistence.saveColumnState(this.persistColumnStateKey,e)}}))}getSavedColumnState(){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){return this.columnState=[],this.statePersistanceEnabled()&&(this.columnState=yield this.statePersistence.getColumnState(this.persistColumnStateKey)),this.columnState}))}restoreColumnState(){var e;return(0,yi.__awaiter)(this,void 0,void 0,(function*(){this.rehydrationAttempted=!0;const a=yield 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=il()(this.saveColumnState.bind(this),400),r=this.globalEventListener.bind(this),t=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:o,components:i,defaultColDef:n,onGridReady:l,onFirstDataRendered:g}=e,s=(0,yi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),d=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},n),components:this.combineAllGridComponents(i),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,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),l&&l(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.restoreCachedFilterConfig.bind(this)(),g&&g(e)},onColumnPinned:t,onColumnResized:t,onColumnMoved:t,onDisplayedColumnsChanged:t,onFilterChanged:t,onGridSizeChanged:t,onSortChanged:t}),s);this.gridProDatasource?(d.columnDefs=o,this.initGridOptions(d,r)):this.mergeAllColumnDefsAndStates(o).then((e=>{d.columnDefs=e,this.initGridOptions(d,r)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),bn.plv.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};c.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new bn.rjZ(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return vn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=tl[this.headerCaseType];a?e.headerName=a(e.field):vn.warn(`Invalid header-case-type attribute value: ${this.headerCaseType}. Please use one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.`)}}));const 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[Fi]===e.field)return{component:Ai.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Xl,e.tooltipValueGetter=a=>{const r=a.data[Ti];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Ti])||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=yield this.getSavedColumnState();if((null==e?void 0:e.length)>0)return ag(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return ag(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=bn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=bn.plv.ALL_PROPERTIES.map((e=>eg(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},bn.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=Bl[e]||this.gridFontFace;this.destroyFontFace();const r=(0,al.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,yi.__decorate)([c.observable],rg.prototype,"columnApi",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"gridApi",void 0),(0,yi.__decorate)([Kl],rg.prototype,"statePersistence",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],rg.prototype,"autoCellRendererByType",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"only-template-col-defs",mode:"boolean"})],rg.prototype,"onlyTemplateColDefs",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"grid-autosizing"})],rg.prototype,"gridAutosizingEnabled",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"add-index"})],rg.prototype,"addIndex",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-add"})],rg.prototype,"asyncAdd",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-remove"})],rg.prototype,"asyncRemove",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-update"})],rg.prototype,"asyncUpdate",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],rg.prototype,"enableCellFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],rg.prototype,"enabledRowFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-row-flashing"})],rg.prototype,"enableRowFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"persist-column-state-key"})],rg.prototype,"persistColumnStateKey",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"header-case-type"})],rg.prototype,"headerCaseType",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"gridFontFace",void 0),(0,yi.__decorate)([c.attr],rg.prototype,"columnComponentName",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"eventsAndCallbacks",void 0),(0,yi.__decorate)([c.attr],rg.prototype,"headerHeight",void 0),(0,yi.__decorate)([c.attr],rg.prototype,"rowHeight",void 0),(0,yi.__decorate)([c.attr],rg.prototype,"theme",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"classNames",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"agGrid",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"gridSlot",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"gridComponents",void 0),(0,yi.__decorate)([Di],rg.prototype,"gridOptionsConfig",void 0);const tg=void 0,og={shadowOptions:void 0},ig=rg.compose(Object.assign({baseName:"grid-pro",styles:Wl,template:ql,shadowOptions:tg},og)),ng={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"))},lg={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:gg}=p.DesignToken,sg={backgroundColor:gg("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?lg.backgroundSwatch:ng.backgroundSwatch)),borderColor:gg("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?lg.borderSwatch:ng.borderSwatch)),foregroundColor:gg("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?lg.foregroundSwatch:ng.foregroundSwatch)),headerForegroundColor:gg("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?lg.headerForegroundSwatch:ng.headerForegroundSwatch)),rowHoverColor:gg("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?lg.rowHoverSwatch:ng.rowHoverSwatch))},dg=c.css`
|
|
10333
|
+
`;var Xl=r(75527);class eg{getColumnState(e){return(0,zi.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return[]}))}saveColumnState(e,a){return(0,zi.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}}(0,zi.__decorate)([Xl.z],eg.prototype,"session",void 0);const ag=h.DI.createInterface((e=>e.singleton(eg)));class rg{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}}const tg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function og(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}wn.O3h.registerModules([el.jM,Xn.I]);class ig extends(rl(h.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,il.A)(Fi(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=Hl,this.columnComponentName="grid-pro-column",this.theme=ki.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=wn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[tg(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),wn.plv.PUBLIC_EVENTS.includes(e)&&(this.gridApi?this.addGridEventListener(e):this.gridEventsQueue.push(e))}addGridEventListener(e){this.gridApi.addEventListener(e,(a=>{this.$emit(e,a)}))}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&&wn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(tg(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={[Oi.action]:xn,[Oi.actionsMenu]:An,[Oi.boolean]:Dn,[Oi.editable]:un,[Oi.selectEditor]:Wi,[Oi.numberEditor]:en,[Oi.multiselectEditor]:Ui,[Oi.dateEditor]:Ii,[Oi.stringEditor]:ln};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(){return(0,zi.__awaiter)(this,void 0,void 0,(function*(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){let e=this.columnApi.getColumnState();if(e=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(e):e,0===e.length||JSON.stringify(e)===JSON.stringify(this.columnState))return;yield this.statePersistence.saveColumnState(this.persistColumnStateKey,e)}}))}getSavedColumnState(){return(0,zi.__awaiter)(this,void 0,void 0,(function*(){return this.columnState=[],this.statePersistanceEnabled()&&(this.columnState=yield this.statePersistence.getColumnState(this.persistColumnStateKey)),this.columnState}))}restoreColumnState(){var e;return(0,zi.__awaiter)(this,void 0,void 0,(function*(){this.rehydrationAttempted=!0;const a=yield 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=gl()(this.saveColumnState.bind(this),400),r=this.globalEventListener.bind(this),t=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:o,components:i,defaultColDef:n,onGridReady:l,onFirstDataRendered:g}=e,s=(0,zi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),d=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},n),components:this.combineAllGridComponents(i),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,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),l&&l(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.restoreCachedFilterConfig.bind(this)(),g&&g(e)},onColumnPinned:t,onColumnResized:t,onColumnMoved:t,onDisplayedColumnsChanged:t,onFilterChanged:t,onGridSizeChanged:t,onSortChanged:t}),s);this.gridProDatasource?(d.columnDefs=o,this.initGridOptions(d,r)):this.mergeAllColumnDefsAndStates(o).then((e=>{d.columnDefs=e,this.initGridOptions(d,r)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),wn.plv.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};u.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new wn.rjZ(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return yn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,zi.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=nl[this.headerCaseType];a?e.headerName=a(e.field):yn.warn(`Invalid header-case-type attribute value: ${this.headerCaseType}. Please use one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.`)}}));const o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[Di]===e.field)return{component:Oi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=rg,e.tooltipValueGetter=a=>{const r=a.data[Ri];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Ri])||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=yield this.getSavedColumnState();if((null==e?void 0:e.length)>0)return og(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return og(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=wn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=wn.plv.ALL_PROPERTIES.map((e=>tg(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},wn.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,ol.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,zi.__decorate)([u.observable],ig.prototype,"columnApi",void 0),(0,zi.__decorate)([u.observable],ig.prototype,"gridApi",void 0),(0,zi.__decorate)([ag],ig.prototype,"statePersistence",void 0),(0,zi.__decorate)([(0,u.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],ig.prototype,"autoCellRendererByType",void 0),(0,zi.__decorate)([(0,u.attr)({attribute:"only-template-col-defs",mode:"boolean"})],ig.prototype,"onlyTemplateColDefs",void 0),(0,zi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"grid-autosizing"})],ig.prototype,"gridAutosizingEnabled",void 0),(0,zi.__decorate)([(0,u.attr)({attribute:"add-index"})],ig.prototype,"addIndex",void 0),(0,zi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-add"})],ig.prototype,"asyncAdd",void 0),(0,zi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-remove"})],ig.prototype,"asyncRemove",void 0),(0,zi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-update"})],ig.prototype,"asyncUpdate",void 0),(0,zi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],ig.prototype,"enableCellFlashing",void 0),(0,zi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],ig.prototype,"enabledRowFlashing",void 0),(0,zi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enable-row-flashing"})],ig.prototype,"enableRowFlashing",void 0),(0,zi.__decorate)([(0,u.attr)({attribute:"persist-column-state-key"})],ig.prototype,"persistColumnStateKey",void 0),(0,zi.__decorate)([(0,u.attr)({attribute:"header-case-type"})],ig.prototype,"headerCaseType",void 0),(0,zi.__decorate)([u.observable],ig.prototype,"gridFontFace",void 0),(0,zi.__decorate)([u.attr],ig.prototype,"columnComponentName",void 0),(0,zi.__decorate)([u.observable],ig.prototype,"eventsAndCallbacks",void 0),(0,zi.__decorate)([u.attr],ig.prototype,"headerHeight",void 0),(0,zi.__decorate)([u.attr],ig.prototype,"rowHeight",void 0),(0,zi.__decorate)([u.attr],ig.prototype,"theme",void 0),(0,zi.__decorate)([u.observable],ig.prototype,"classNames",void 0),(0,zi.__decorate)([u.observable],ig.prototype,"agGrid",void 0),(0,zi.__decorate)([u.observable],ig.prototype,"gridSlot",void 0),(0,zi.__decorate)([u.observable],ig.prototype,"gridComponents",void 0),(0,zi.__decorate)([Li],ig.prototype,"gridOptionsConfig",void 0);const ng=void 0,lg={shadowOptions:void 0},gg=ig.compose(Object.assign({baseName:"grid-pro",styles:Zl,template:Kl,shadowOptions:ng},lg)),sg={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#879ba6")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#1f2126")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2b2e34"))},dg={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#000000")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#181d1f")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#FFFFFF")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2196f3"))},{create:cg}=h.DesignToken,pg={backgroundColor:cg("rapid-ag-background-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?dg.backgroundSwatch:sg.backgroundSwatch)),borderColor:cg("rapid-ag-border-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?dg.borderSwatch:sg.borderSwatch)),foregroundColor:cg("rapid-ag-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?dg.foregroundSwatch:sg.foregroundSwatch)),headerForegroundColor:cg("rapid-ag-header-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?dg.headerForegroundSwatch:sg.headerForegroundSwatch)),rowHoverColor:cg("rapid-ag-row-hover-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?dg.rowHoverSwatch:sg.rowHoverSwatch))},ug=u.css`
|
|
10324
10334
|
.ag-theme-genesis-rapid,
|
|
10325
10335
|
.ag-theme-genesis-rapid-dark {
|
|
10326
10336
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -10780,57 +10790,57 @@
|
|
|
10780
10790
|
.ag-theme-genesis-rapid-dark {
|
|
10781
10791
|
color-scheme: dark;
|
|
10782
10792
|
}
|
|
10783
|
-
`,
|
|
10784
|
-
${
|
|
10785
|
-
${
|
|
10793
|
+
`,hg={[xi.backgroundColor]:pg.backgroundColor,[xi.foregroundColor]:pg.foregroundColor,[xi.oddRowBackgroundColor]:pg.backgroundColor,[xi.headerBackgroundColor]:pg.backgroundColor,[xi.headerForegroundColor]:pg.headerForegroundColor,[xi.selectedRowBackgroundColor]:pg.rowHoverColor,[xi.rowHoverColor]:pg.rowHoverColor,[xi.borderColor]:pg.borderColor,[xi.rowBorderColor]:pg.rowHoverColor,[xi.modalOverlayBackgroundColor]:pg.backgroundColor,[xi.inputFocusBoxShadow]:pg.headerForegroundColor,[xi.inputFocusBorderColor]:pg.headerForegroundColor,[xi.headerColumnResizeHandleColor]:pg.headerForegroundColor},mg="ag-theme-genesis-rapid",bg=u.css`
|
|
10794
|
+
${ug}
|
|
10795
|
+
${Ti(mg,hg)}
|
|
10786
10796
|
|
|
10787
|
-
.${
|
|
10788
|
-
${
|
|
10797
|
+
.${mg} {
|
|
10798
|
+
${Ge()}
|
|
10789
10799
|
}
|
|
10790
10800
|
|
|
10791
|
-
.${
|
|
10801
|
+
.${mg} .ag-header {
|
|
10792
10802
|
border-bottom-color: var(--rapid-ag-header-foreground-color);
|
|
10793
10803
|
font-weight: bold;
|
|
10794
10804
|
}
|
|
10795
10805
|
|
|
10796
|
-
.${
|
|
10806
|
+
.${mg} .ag-root-wrapper {
|
|
10797
10807
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
10798
10808
|
}
|
|
10799
|
-
`,
|
|
10800
|
-
${
|
|
10801
|
-
${
|
|
10809
|
+
`,vg="ag-theme-genesis-rapid-dark",fg=u.css`
|
|
10810
|
+
${ug}
|
|
10811
|
+
${Ti(vg,hg)}
|
|
10802
10812
|
|
|
10803
|
-
.${
|
|
10804
|
-
${
|
|
10813
|
+
.${vg} {
|
|
10814
|
+
${Ge()}
|
|
10805
10815
|
}
|
|
10806
10816
|
|
|
10807
|
-
.${
|
|
10817
|
+
.${vg} .ag-header {
|
|
10808
10818
|
border-bottom-color: var(--rapid-ag-header-foreground-color);
|
|
10809
10819
|
font-weight: bold;
|
|
10810
10820
|
}
|
|
10811
10821
|
|
|
10812
|
-
.${
|
|
10822
|
+
.${vg} .ag-cell {
|
|
10813
10823
|
line-height: var(--ag-line-height, 32px);
|
|
10814
10824
|
}
|
|
10815
10825
|
|
|
10816
|
-
.${
|
|
10826
|
+
.${vg} .ag-root-wrapper {
|
|
10817
10827
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
10818
10828
|
}
|
|
10819
|
-
`,
|
|
10829
|
+
`,wg=u.css`
|
|
10820
10830
|
/* All the AG themes */
|
|
10821
|
-
${
|
|
10831
|
+
${Zl}
|
|
10822
10832
|
|
|
10823
10833
|
/* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
|
|
10824
|
-
${
|
|
10825
|
-
${
|
|
10834
|
+
${bg}
|
|
10835
|
+
${fg}
|
|
10826
10836
|
|
|
10827
10837
|
.error {
|
|
10828
|
-
border-color: ${
|
|
10838
|
+
border-color: ${ye.shortPink} !important;
|
|
10829
10839
|
}
|
|
10830
|
-
`,
|
|
10840
|
+
`,yg=Kl,xg="ag-theme-genesis-rapid-dark";const kg=lg,zg={zeroAgEditableRenderer:fn,zeroAgActionRenderer:$n,zeroAgActionsMenuRenderer:On,zeroAgBooleanRenderer:In,zeroAgTextRenderer:Qn,zeroAgSelectRenderer:Kn,zeroAgDateEditor:Gi,zeroAgMultiselectEditor:Qi,zeroAgSelectEditor:Xi,zeroAgNumberEditor:nn,zeroAgStringEditor:pn,zeroGridPro:class extends ig{constructor(){super(...arguments),this.theme=xg}themeChanged(e,a){(e||a===xg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Oi.action]:Cn,[Oi.actionsMenu]:Tn,[Oi.boolean]:Mn,[Oi.editable]:vn,[Oi.selectEditor]:Ki,[Oi.numberEditor]:on,[Oi.multiselectEditor]:Yi,[Oi.dateEditor]:Bi,[Oi.stringEditor]:cn};(this.theme===mg||this.theme===vg)&&(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:yg,styles:wg,shadowOptions:undefined},kg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Sg={foundationGridProActionRenderer:Sn,foundationGridProActionsMenuRenderer:Fn,foundationAgBooleanRenderer:Ln,foundationAgTextRenderer:Yn,foundationAgTextFieldRenderer:Un,foundationAgEditableRenderer:bn,foundationAgSelectRenderer:Zn,foundationGridPro:gg,foundationSelectEditor:Zi,foundationNumberEditor:tn,foundationDateEditor:Pi,foundationMultiselectEditor:Vi,foundationStringEditor:dn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Cg;!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"}(Cg||(Cg={}));const{create:$g}=h.DesignToken,Ag=(0,xe.parseColorHexRGB)(Cg.error),Fg=m.SwatchRGB.create(Ag.r,Ag.g,Ag.b),Tg=$g("error-color").withDefault(Fg),Og=(0,xe.parseColorHexRGB)(Cg.success),Dg=m.SwatchRGB.create(Og.r,Og.g,Og.b),Rg=$g("success-color").withDefault(Dg),Ng=(0,xe.parseColorHexRGB)(Cg.warning),Lg=m.SwatchRGB.create(Ng.r,Ng.g,Ng.b),Mg=$g("warning-color").withDefault(Lg),Ig=(0,xe.parseColorHexRGB)(Cg.buy),jg=m.SwatchRGB.create(Ig.r,Ig.g,Ig.b),Eg=$g("buy-color").withDefault(jg),Pg=(0,xe.parseColorHexRGB)(Cg.sell),Bg=m.SwatchRGB.create(Pg.r,Pg.g,Pg.b),Gg=$g("sell-color").withDefault(Bg),Ug=(0,G.paletteFromHex)(Cg.primary),_g=(0,G.paletteFromHex)(Cg.neutral),Hg=m.StandardLuminance.DarkMode,Vg=0,Yg=4,Qg=-5,Wg=0,qg=0,Jg=6,Zg=-4,Kg=0,Xg=7,es=10,as=5,rs=0,ts=0,os=0,is=0,ns=0,ls=0,gs=5,ss=3,ds=0,cs=0,ps=8,us=-5,hs=0,ms=3,bs=25,vs=40,fs=16,ws=25,ys=8,xs="rapid",ks=Re.N.ltr,zs=.3,Ss=1,Cs=2,$s=10,As=4,Fs=0,Ts=4,Os='"Segoe UI", Arial, Helvetica, sans-serif',Ds="14px",Rs="20px",Ns="12px",Ls="16px",Ms="10px",Is="16px",js="16px",Es="24px",Ps="20px",Bs="28px",Gs="28px",Us="36px",_s="34px",Hs="44px",Vs="46px",Ys="56px",Qs="60px",Ws="72px",qs={design_tokens:{color:{accent:{$value:Ug.source.toColorString(),$type:"color"},neutral:{$value:_g.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Os,$type:"fontFamily"}},typography:{baseFontSize:{$value:Ds,$type:"dimension"},baseLineHeight:{$value:Rs,$type:"dimension"}},mode:{luminance:{$value:Hg,$type:"number"}},style:{density:{$value:Fs,$type:"number"},borderRadius:{$value:As,$type:"number"},strokeWidth:{$value:Ss,$type:"number"}},space:{designUnit:{$value:Ts,$type:"number"}}}};class Js extends m.DesignSystemProvider{constructor(){super(),(0,G.provideTokens)(i,n,this)}}const Zs=Js.compose({baseName:"design-system-provider",template:u.html`
|
|
10831
10841
|
<slot></slot>
|
|
10832
|
-
`});class
|
|
10833
|
-
${(0,
|
|
10842
|
+
`});class Ks extends G.Accordion{}const Xs=Ks.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,G.foundationAccordionTemplate)(e,a),styles:(e,a)=>u.css`
|
|
10843
|
+
${(0,G.foundationAccordionStyles)(e,a)}
|
|
10834
10844
|
|
|
10835
10845
|
:host {
|
|
10836
10846
|
border-top: none;
|
|
@@ -10840,8 +10850,8 @@
|
|
|
10840
10850
|
.heading {
|
|
10841
10851
|
height: calc(var(--base-height-multiplier) * 4px);
|
|
10842
10852
|
}
|
|
10843
|
-
`,shadowOptions:
|
|
10844
|
-
${(0,
|
|
10853
|
+
`,shadowOptions:G.foundationAccordionShadowOptions},G.defaultAccordionConfig));class ed extends G.AccordionItem{}const ad=ed.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,G.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>u.css`
|
|
10854
|
+
${(0,G.foundationAccordionItemStyles)(e,a)}
|
|
10845
10855
|
|
|
10846
10856
|
:host {
|
|
10847
10857
|
--icon-container-calculator: calc(
|
|
@@ -10903,13 +10913,13 @@
|
|
|
10903
10913
|
grid-template-columns: auto 1fr auto;
|
|
10904
10914
|
align-items: center;
|
|
10905
10915
|
}
|
|
10906
|
-
`,shadowOptions:
|
|
10916
|
+
`,shadowOptions:G.foundationAccordionItemShadowOptions},G.defaultAccordionItemConfig));class rd extends G.ActionsMenu{}const td=rd.compose({baseName:"actions-menu",styles:(e,a)=>u.css`
|
|
10907
10917
|
:host {
|
|
10908
10918
|
--actions-opener-height-multiplier: 0.6px;
|
|
10909
10919
|
--menu-item-height-multiplier: 0.5px;
|
|
10910
10920
|
}
|
|
10911
10921
|
|
|
10912
|
-
${(0,
|
|
10922
|
+
${(0,G.actionsMenuBaseStyles)(e,a)}
|
|
10913
10923
|
|
|
10914
10924
|
rapid-menu-item {
|
|
10915
10925
|
display: flex;
|
|
@@ -10941,7 +10951,7 @@
|
|
|
10941
10951
|
.actions-vertical .menu-item:focus {
|
|
10942
10952
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
|
|
10943
10953
|
}
|
|
10944
|
-
`,template:
|
|
10954
|
+
`,template:G.foundationActionsMenuTemplate});function od(e,a){return new h.PropertyStyleSheetBehavior("appearance",e,a)}const id=u.css`
|
|
10945
10955
|
:host([appearance='primary']) {
|
|
10946
10956
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
|
|
10947
10957
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -10964,7 +10974,7 @@
|
|
|
10964
10974
|
background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
|
|
10965
10975
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
10966
10976
|
}
|
|
10967
|
-
`,
|
|
10977
|
+
`,nd=u.css`
|
|
10968
10978
|
:host([appearance='primary-outline']) {
|
|
10969
10979
|
background: none;
|
|
10970
10980
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
@@ -10982,7 +10992,7 @@
|
|
|
10982
10992
|
color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
|
|
10983
10993
|
opacity: 100%;
|
|
10984
10994
|
}
|
|
10985
|
-
`,
|
|
10995
|
+
`,ld=u.css`
|
|
10986
10996
|
:host([appearance='neutral-outline']) {
|
|
10987
10997
|
background: none;
|
|
10988
10998
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
|
|
@@ -11000,7 +11010,7 @@
|
|
|
11000
11010
|
color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
|
|
11001
11011
|
opacity: 100%;
|
|
11002
11012
|
}
|
|
11003
|
-
`,
|
|
11013
|
+
`,gd=u.css`
|
|
11004
11014
|
:host([appearance='link']) {
|
|
11005
11015
|
background: none;
|
|
11006
11016
|
border: none;
|
|
@@ -11023,9 +11033,9 @@
|
|
|
11023
11033
|
color: color-mix(in srgb, var(--accent-fill-rest), transparent 35%);
|
|
11024
11034
|
opacity: 100%;
|
|
11025
11035
|
}
|
|
11026
|
-
`,
|
|
11027
|
-
${(0,
|
|
11028
|
-
${
|
|
11036
|
+
`,sd=(e,a)=>u.css`
|
|
11037
|
+
${(0,G.foundationButtonStyles)(e,a)}
|
|
11038
|
+
${u.css`
|
|
11029
11039
|
:host {
|
|
11030
11040
|
font-weight: 500;
|
|
11031
11041
|
color: var(--neutral-foreground-rest);
|
|
@@ -11077,15 +11087,15 @@
|
|
|
11077
11087
|
opacity: 100%;
|
|
11078
11088
|
}
|
|
11079
11089
|
`}
|
|
11080
|
-
`.withBehaviors(
|
|
11081
|
-
${(0,
|
|
11082
|
-
${
|
|
11083
|
-
`.withBehaviors(...
|
|
11084
|
-
${(0,
|
|
11085
|
-
`,shadowOptions:
|
|
11086
|
-
${(0,
|
|
11087
|
-
`,shadowOptions:
|
|
11088
|
-
${(0,
|
|
11090
|
+
`.withBehaviors(od("primary",id),od("primary-outline",nd),od("neutral-outline",ld),od("link",gd));class dd extends G.Anchor{}const cd=dd.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,G.foundationAnchorTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11091
|
+
${(0,G.foundationAnchorStyles)(e,a)}
|
|
11092
|
+
${sd(e,a)}
|
|
11093
|
+
`.withBehaviors(...sd(e,a).behaviors),shadowOptions:G.foundationAnchorShadowOptions},G.defaultAnchorConfig));class pd extends G.AnchoredRegion{}const ud=pd.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,G.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11094
|
+
${(0,G.foundationAnchoredRegionStyles)(e,a)}
|
|
11095
|
+
`,shadowOptions:G.foundationAnchoredRegionShadowOptions},G.defaultAnchoredRegionConfig));class hd extends G.Avatar{}const md=hd.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,G.foundationAvatarTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11096
|
+
${(0,G.foundationAvatarStyles)(e,a)}
|
|
11097
|
+
`,shadowOptions:G.foundationAvatarShadowOptions},G.defaultAvatarConfig));class bd extends G.Badge{}const vd=bd.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,G.foundationBadgeTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11098
|
+
${(0,G.foundationBadgeStyles)(e,a)}
|
|
11089
11099
|
:host {
|
|
11090
11100
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
11091
11101
|
--badge-fill-neutral: var(--neutral-fill-rest);
|
|
@@ -11095,11 +11105,11 @@
|
|
|
11095
11105
|
}
|
|
11096
11106
|
|
|
11097
11107
|
:host .control {
|
|
11098
|
-
padding: calc(${
|
|
11108
|
+
padding: calc(${m.designUnit} * 1px) calc(${m.designUnit} * 2px);
|
|
11099
11109
|
border: none;
|
|
11100
11110
|
}
|
|
11101
|
-
`,shadowOptions:
|
|
11102
|
-
${
|
|
11111
|
+
`,shadowOptions:G.foundationBadgeShadowOptions},G.defaultBadgeConfig)),fd=u.css`
|
|
11112
|
+
${G.foundationBannerStyles}
|
|
11103
11113
|
:host {
|
|
11104
11114
|
--banner-height: calc(
|
|
11105
11115
|
((var(--design-unit) + 2) * var(--base-height-multiplier)) +
|
|
@@ -11118,10 +11128,10 @@
|
|
|
11118
11128
|
font-family: var(--body-font);
|
|
11119
11129
|
line-height: var(--type-ramp-base-line-height);
|
|
11120
11130
|
}
|
|
11121
|
-
`,
|
|
11122
|
-
${(0,
|
|
11123
|
-
`,shadowOptions:undefined},{}));class
|
|
11124
|
-
${(0,
|
|
11131
|
+
`,wd=G.foundationBannerShadowOptions;class yd extends G.Banner{}const xd=yd.compose({baseName:"banner",shadowOptions:wd,styles:fd,template:G.foundationBannerTemplate});class kd extends G.Breadcrumb{}const zd=kd.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,G.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11132
|
+
${(0,G.foundationBreadcrumbStyles)(e,a)}
|
|
11133
|
+
`,shadowOptions:undefined},{}));class Sd extends G.BreadcrumbItem{}const Cd=Sd.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,G.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11134
|
+
${(0,G.foundationBreadcrumbItemStyles)(e,a)}
|
|
11125
11135
|
.listitem {
|
|
11126
11136
|
color: var(--accent-foreground-rest);
|
|
11127
11137
|
}
|
|
@@ -11156,13 +11166,13 @@
|
|
|
11156
11166
|
.control:hover .start {
|
|
11157
11167
|
background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
|
|
11158
11168
|
}
|
|
11159
|
-
`,shadowOptions:
|
|
11160
|
-
${(0,
|
|
11161
|
-
`,shadowOptions:
|
|
11162
|
-
${(0,
|
|
11169
|
+
`,shadowOptions:G.foundationBreadcrumbItemShadowOptions},G.defaultBreadcrumbItemConfig));class $d extends G.Button{}const Ad=$d.compose(Object.assign({baseName:"button",template:(e,a)=>(0,G.foundationButtonTemplate)(e,a),styles:sd,shadowOptions:G.foundationButtonShadowOptions},G.defaultButtonConfig));class Fd extends G.Calendar{}const Td=Fd.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,G.foundationCalendarTemplate)(e,a),styles:()=>u.css`
|
|
11170
|
+
${(0,G.foundationCalendarStyles)()}
|
|
11171
|
+
`,shadowOptions:G.foundationCalendarShadowOptions},G.defaultCalendarConfig));class Od extends G.Card{}const Dd=Od.compose(Object.assign({baseName:"card",template:(e,a)=>(0,G.foundationCardTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11172
|
+
${(0,G.foundationCardStyles)(e,a)}
|
|
11163
11173
|
:host {
|
|
11164
11174
|
background: var(--neutral-layer-card-container);
|
|
11165
|
-
color: ${
|
|
11175
|
+
color: ${m.neutralForegroundRest};
|
|
11166
11176
|
border: 1px solid var(--neutral-stroke-rest); /** uses a token instead of #2E3339 value available in ux docs */
|
|
11167
11177
|
|
|
11168
11178
|
/* box-shadow and border-radius are being calculated at host
|
|
@@ -11172,8 +11182,8 @@
|
|
|
11172
11182
|
::slotted(rapid-card) {
|
|
11173
11183
|
background: var(--neutral-layer-3);
|
|
11174
11184
|
}
|
|
11175
|
-
`,shadowOptions:
|
|
11176
|
-
${(0,
|
|
11185
|
+
`,shadowOptions:G.foundationCardShadowOptions},G.defaultCardConfig));class Rd extends G.Checkbox{}const Nd=Rd.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,G.foundationCheckboxTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11186
|
+
${(0,G.foundationCheckboxStyles)(e,a)}
|
|
11177
11187
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
11178
11188
|
fill: var(--neutral-foreground-rest);
|
|
11179
11189
|
}
|
|
@@ -11187,8 +11197,8 @@
|
|
|
11187
11197
|
.label {
|
|
11188
11198
|
padding-inline-start: calc(var(--design-unit) * 2px);
|
|
11189
11199
|
}
|
|
11190
|
-
`,shadowOptions:
|
|
11191
|
-
${(0,
|
|
11200
|
+
`,shadowOptions:G.foundationCheckboxShadowOptions},G.defaultCheckboxConfig));class Ld extends G.Combobox{}const Md=Ld.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,G.foundationComboboxTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11201
|
+
${(0,G.foundationComboboxStyles)(e,a)}
|
|
11192
11202
|
:host {
|
|
11193
11203
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11194
11204
|
background-color: color-mix(in srgb, var(--neutral-fill-input-rest), transparent 94%);
|
|
@@ -11209,7 +11219,7 @@
|
|
|
11209
11219
|
|
|
11210
11220
|
:host([open][position='below']) .listbox {
|
|
11211
11221
|
padding: 0;
|
|
11212
|
-
margin-top: calc(${
|
|
11222
|
+
margin-top: calc(${m.designUnit} * 1px);
|
|
11213
11223
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11214
11224
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
11215
11225
|
}
|
|
@@ -11260,8 +11270,8 @@
|
|
|
11260
11270
|
::slotted([role='option']) {
|
|
11261
11271
|
margin: 0;
|
|
11262
11272
|
}
|
|
11263
|
-
`,shadowOptions:
|
|
11264
|
-
${(0,
|
|
11273
|
+
`,shadowOptions:G.foundationComboboxShadowOptions},G.defaultComboboxConfig));class Id extends G.ConnectionIndicator{}const jd=Id.compose({baseName:"connection-indicator",template:G.foundationConnectionIndicatorTemplate,styles:(e,a)=>u.css`
|
|
11274
|
+
${(0,G.foundationConnectionIndicatorStyles)(e,a)}
|
|
11265
11275
|
:host {
|
|
11266
11276
|
--light-size: calc(var(--design-unit) * 3px);
|
|
11267
11277
|
--red: var(--error-color);
|
|
@@ -11283,10 +11293,10 @@
|
|
|
11283
11293
|
font-size: var(--type-ramp-base-font-size);
|
|
11284
11294
|
color: var(--neutral-stroke-rest);
|
|
11285
11295
|
}
|
|
11286
|
-
`}),
|
|
11287
|
-
${(0,
|
|
11288
|
-
`;class
|
|
11289
|
-
${
|
|
11296
|
+
`}),Ed=["baseClass","baseName","shadowOptions","styles","template"],Pd=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=Ed)=>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:Bd,shadowOptions:Gd,styles:Ud,template:_d}=Pd(G.foundationDataGrid),{defaultConfig:Hd,shadowOptions:Vd,styles:Yd,template:Qd}=Pd(G.foundationDataGridCell),{defaultConfig:Wd,shadowOptions:qd,styles:Jd,template:Zd}=Pd(G.foundationDataGridRow),Kd=u.html`
|
|
11297
|
+
${(0,G.getPrefixedDatePicker)("rapid")}
|
|
11298
|
+
`;class Xd extends G.DatePicker{}const ec=Xd.compose(Object.assign({baseName:"date-picker",template:Kd,styles:()=>u.css`
|
|
11299
|
+
${G.foundationDatePickerStyles}
|
|
11290
11300
|
|
|
11291
11301
|
:host {
|
|
11292
11302
|
--primary-gradient-angle: -113.5deg;
|
|
@@ -11368,10 +11378,10 @@
|
|
|
11368
11378
|
.week-days span {
|
|
11369
11379
|
font-size: var(--type-ramp-minus-2-font-size);
|
|
11370
11380
|
}
|
|
11371
|
-
`,shadowOptions:undefined},{})),
|
|
11372
|
-
${
|
|
11381
|
+
`,shadowOptions:undefined},{})),ac=u.css`
|
|
11382
|
+
${G.foundationDialogStyles}
|
|
11373
11383
|
:host {
|
|
11374
|
-
--dialog-background: ${
|
|
11384
|
+
--dialog-background: ${m.neutralLayer2};
|
|
11375
11385
|
|
|
11376
11386
|
font-family: var(--body-font);
|
|
11377
11387
|
font-size: var(--type-ramp-base-font-size);
|
|
@@ -11406,7 +11416,7 @@
|
|
|
11406
11416
|
}
|
|
11407
11417
|
|
|
11408
11418
|
:host slot:first-of-type {
|
|
11409
|
-
color: ${
|
|
11419
|
+
color: ${m.neutralForegroundRest};
|
|
11410
11420
|
}
|
|
11411
11421
|
|
|
11412
11422
|
::slotted(rapid-button) {
|
|
@@ -11445,8 +11455,8 @@
|
|
|
11445
11455
|
.close-icon:active svg g path {
|
|
11446
11456
|
fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
|
|
11447
11457
|
}
|
|
11448
|
-
`,
|
|
11449
|
-
${(0,
|
|
11458
|
+
`,rc=G.defaultDialogConfig,tc=G.foundationDialogTemplate,oc=G.foundationDialogShadowOptions;class ic extends G.Dialog{}const nc=ic.compose(Object.assign({baseName:"dialog",shadowOptions:oc,styles:ac,template:tc},rc));class lc extends G.Disclosure{}const gc=lc.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,G.foundationDisclosureTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11459
|
+
${(0,G.foundationDisclosureStyles)(e,a)}
|
|
11450
11460
|
:host {
|
|
11451
11461
|
font-size: var(--type-ramp-base-font-size);
|
|
11452
11462
|
font-family: var(--body-font);
|
|
@@ -11462,10 +11472,10 @@
|
|
|
11462
11472
|
padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
|
|
11463
11473
|
text-align: center;
|
|
11464
11474
|
}
|
|
11465
|
-
`,shadowOptions:
|
|
11466
|
-
${(0,
|
|
11467
|
-
`,shadowOptions:
|
|
11468
|
-
${(0,
|
|
11475
|
+
`,shadowOptions:G.foundationDialogShadowOptions},G.defaultDisclosureConfig));class sc extends G.Divider{}const dc=sc.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,G.foundationDividerTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11476
|
+
${(0,G.foundationDividerStyles)(e,a)}
|
|
11477
|
+
`,shadowOptions:G.foundationDividerShadowOptions},G.defaultDividerConfig));class cc extends G.DropdownMenu{}const pc=cc.compose({baseName:"dropdown-menu",styles:(e,a)=>u.css`
|
|
11478
|
+
${(0,G.dropdownMenuBaseStyles)("rapid",e,a)}
|
|
11469
11479
|
|
|
11470
11480
|
.actions-menu {
|
|
11471
11481
|
border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
|
|
@@ -11479,8 +11489,8 @@
|
|
|
11479
11489
|
border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
|
|
11480
11490
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11481
11491
|
}
|
|
11482
|
-
`,template:
|
|
11483
|
-
${
|
|
11492
|
+
`,template:G.foundationDropdownMenuTemplate}),{defaultConfig:uc,shadowOptions:hc,styles:mc,template:bc}=Pd(G.foundationErrorBoundary),vc=u.css`
|
|
11493
|
+
${G.foundationFileUploadStyles}
|
|
11484
11494
|
::-webkit-scrollbar {
|
|
11485
11495
|
width: calc(var(--design-unit) * 3px);
|
|
11486
11496
|
}
|
|
@@ -11501,12 +11511,12 @@
|
|
|
11501
11511
|
:host::part(upload-file-button) {
|
|
11502
11512
|
margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
|
|
11503
11513
|
}
|
|
11504
|
-
`,
|
|
11505
|
-
${(0,
|
|
11506
|
-
`,
|
|
11507
|
-
${(0,
|
|
11508
|
-
`;class
|
|
11509
|
-
${
|
|
11514
|
+
`,fc=u.html`
|
|
11515
|
+
${(0,G.getPrefixedFileUpload)("rapid")}
|
|
11516
|
+
`,wc=G.defaultFileUploadConfig,yc=G.foundationFileUploadShadowOptions;class xc extends G.FileUpload{}const kc=xc.compose(Object.assign({baseName:"file-upload",shadowOptions:yc,styles:vc,template:fc},wc)),zc=u.html`
|
|
11517
|
+
${(0,G.getPrefixedFilterTemplate)("rapid")}
|
|
11518
|
+
`;class Sc extends G.Filter{}const Cc=Sc.compose({baseName:"filter",template:zc,styles:(e,a)=>u.css`
|
|
11519
|
+
${G.foundationFilterStyles}
|
|
11510
11520
|
.filter-wrapper {
|
|
11511
11521
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11512
11522
|
}
|
|
@@ -11532,10 +11542,10 @@
|
|
|
11532
11542
|
.flex-row rapid-select {
|
|
11533
11543
|
flex: 1;
|
|
11534
11544
|
}
|
|
11535
|
-
`})
|
|
11536
|
-
${(0,
|
|
11537
|
-
`;class
|
|
11538
|
-
${(0,
|
|
11545
|
+
`}),$c=u.html`
|
|
11546
|
+
${(0,G.filterBarTemplate)("rapid")}
|
|
11547
|
+
`;class Ac extends G.FilterBar{}const Fc=Ac.compose({baseName:"filter-bar",template:$c,styles:(e,a)=>u.css`
|
|
11548
|
+
${(0,G.foundationFilterBarStyles)(e,a)}
|
|
11539
11549
|
.toggle,
|
|
11540
11550
|
.toggle-collapsed {
|
|
11541
11551
|
background: var(--neutral-layer-4);
|
|
@@ -11554,8 +11564,8 @@
|
|
|
11554
11564
|
.filter-bar {
|
|
11555
11565
|
background: var(--neutral-layer-3);
|
|
11556
11566
|
}
|
|
11557
|
-
`}),{defaultConfig
|
|
11558
|
-
${(0,
|
|
11567
|
+
`}),{defaultConfig:Tc,shadowOptions:Oc,styles:Dc,template:Rc}=Pd(G.foundationFlexLayout);class Nc extends G.Flipper{}const Lc=Nc.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,G.foundationFlipperTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11568
|
+
${(0,G.foundationFlipperStyles)(e,a)}
|
|
11559
11569
|
:host {
|
|
11560
11570
|
color: var(--neutral-foreground-rest);
|
|
11561
11571
|
}
|
|
@@ -11574,8 +11584,8 @@
|
|
|
11574
11584
|
background: var(--accent-fill-rest);
|
|
11575
11585
|
color: var(--neutral-foreground-rest);
|
|
11576
11586
|
}
|
|
11577
|
-
`,shadowOptions:
|
|
11578
|
-
${
|
|
11587
|
+
`,shadowOptions:G.foundationFlipperShadowOptions},G.defaultFlipperConfig)),Mc=u.css`
|
|
11588
|
+
${G.foundationFlyoutStyles}
|
|
11579
11589
|
div.flyout {
|
|
11580
11590
|
background-color: var(--neutral-layer-2);
|
|
11581
11591
|
border-color: var(--neutral-fill-hover);
|
|
@@ -11622,25 +11632,25 @@
|
|
|
11622
11632
|
background-color: var(--neutral-fill-hover);
|
|
11623
11633
|
border-radius: calc(var(--stroke-width) * 3px);
|
|
11624
11634
|
}
|
|
11625
|
-
`,
|
|
11626
|
-
${(0,
|
|
11627
|
-
`,
|
|
11635
|
+
`,Ic=u.html`
|
|
11636
|
+
${(0,G.getPrefixedFlyout)("rapid")}
|
|
11637
|
+
`,jc=G.defaultFlyoutConfig,Ec=G.foundationFlyoutShadowOptions;class Pc extends G.Flyout{}const Bc=Pc.compose(Object.assign({baseName:"flyout",shadowOptions:Ec,styles:Mc,template:Ic},jc)),{defaultConfig:Gc,shadowOptions:Uc,styles:_c,template:Hc}=Pd(G.foundationGridLayout),{defaultConfig:Vc,shadowOptions:Yc,styles:Qc,template:Wc}=Pd(G.foundationGridLayoutItem);class qc extends G.HorizontalScroll{}const Jc={nextFlipper:u.html`
|
|
11628
11638
|
<rapid-flipper
|
|
11629
11639
|
@click="${e=>e.scrollToNext()}"
|
|
11630
11640
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
11631
11641
|
></rapid-flipper>
|
|
11632
|
-
`,previousFlipper:
|
|
11642
|
+
`,previousFlipper:u.html`
|
|
11633
11643
|
<rapid-flipper
|
|
11634
11644
|
@click="${e=>e.scrollToPrevious()}"
|
|
11635
11645
|
direction="previous"
|
|
11636
11646
|
aria-hidden="${e=>e.flippersHiddenFromAT}"
|
|
11637
11647
|
></rapid-flipper>
|
|
11638
|
-
`},
|
|
11639
|
-
${(0,
|
|
11640
|
-
`,shadowOptions:
|
|
11641
|
-
${(0,
|
|
11642
|
-
`,shadowOptions:
|
|
11643
|
-
${(0,
|
|
11648
|
+
`},Zc=qc.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,G.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11649
|
+
${(0,G.foundationHorizontalScrollStyles)(e,a)}
|
|
11650
|
+
`,shadowOptions:G.foundationHorizontalScrollShadowOptions},Jc));class Kc extends G.Icon{}const Xc=G.defaultIconConfig,ep=G.foundationIconShadowOptions,ap=Kc.compose(Object.assign({baseName:"icon",template:G.foundationIconTemplate,styles:(e,a)=>u.css`
|
|
11651
|
+
${(0,G.foundationIconStyles)(e,a)}
|
|
11652
|
+
`,shadowOptions:ep},Xc));class rp extends G.Listbox{}const tp=rp.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,G.foundationListboxTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11653
|
+
${(0,G.foundationListboxStyles)(e,a)}
|
|
11644
11654
|
|
|
11645
11655
|
:host {
|
|
11646
11656
|
padding: 0;
|
|
@@ -11650,8 +11660,8 @@
|
|
|
11650
11660
|
::slotted(*:last-child) {
|
|
11651
11661
|
border-bottom: none;
|
|
11652
11662
|
}
|
|
11653
|
-
`,shadowOptions:
|
|
11654
|
-
${(0,
|
|
11663
|
+
`,shadowOptions:G.foundationListboxShadowOptions},G.defaultListboxConfig));class op extends G.ListboxOption{}const ip=op.compose(Object.assign({baseName:"option",template:(e,a)=>(0,G.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11664
|
+
${(0,G.foundationListboxOptionStyles)(e,a)}
|
|
11655
11665
|
:host {
|
|
11656
11666
|
border-radius: 0;
|
|
11657
11667
|
padding: 0 calc(var(--design-unit) * 4px);
|
|
@@ -11667,15 +11677,15 @@
|
|
|
11667
11677
|
background: var(--neutral-layer-4);
|
|
11668
11678
|
color: var(--accent-fill-rest);
|
|
11669
11679
|
}
|
|
11670
|
-
`,shadowOptions:
|
|
11671
|
-
${(0,
|
|
11680
|
+
`,shadowOptions:G.foundationListboxOptionShadowOptions},G.defaultListboxOptionConfig));class np extends G.Menu{}const lp=np.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,G.foundationMenuTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11681
|
+
${(0,G.foundationMenuStyles)(e,a)}
|
|
11672
11682
|
:host {
|
|
11673
11683
|
border: calc(var(--focus-stroke-width) * 1px) solid
|
|
11674
|
-
color-mix(in srgb, ${
|
|
11684
|
+
color-mix(in srgb, ${m.neutralFillStealthHover}, transparent 15%);
|
|
11675
11685
|
padding: 0;
|
|
11676
11686
|
}
|
|
11677
|
-
`,shadowOptions:
|
|
11678
|
-
${(0,
|
|
11687
|
+
`,shadowOptions:G.foundationMenuShadowOptions},G.defaultMenuConfig)),gp=G.foundationMenuItemShadowOptions;class sp extends G.MenuItem{}const dp=sp.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,G.foundationMenuItemTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11688
|
+
${(0,G.foundationMenuItemStyles)(e,a)}
|
|
11679
11689
|
:host {
|
|
11680
11690
|
margin: 0;
|
|
11681
11691
|
|
|
@@ -11686,9 +11696,9 @@
|
|
|
11686
11696
|
}
|
|
11687
11697
|
|
|
11688
11698
|
:host(:hover) {
|
|
11689
|
-
background: color-mix(in srgb, ${
|
|
11699
|
+
background: color-mix(in srgb, ${m.neutralFillStealthHover}, transparent 15%);
|
|
11690
11700
|
border: calc(var(--focus-stroke-width) * 1px) solid
|
|
11691
|
-
color-mix(in srgb, ${
|
|
11701
|
+
color-mix(in srgb, ${m.neutralFillStealthHover}, transparent 15%);
|
|
11692
11702
|
}
|
|
11693
11703
|
|
|
11694
11704
|
:host(:focus) {
|
|
@@ -11707,13 +11717,13 @@
|
|
|
11707
11717
|
|
|
11708
11718
|
/*
|
|
11709
11719
|
tokens being used by fast
|
|
11710
|
-
background: ${
|
|
11711
|
-
color: ${
|
|
11720
|
+
background: ${m.neutralFillStealthHover}
|
|
11721
|
+
color: ${m.neutralForegroundRest}
|
|
11712
11722
|
*/
|
|
11713
|
-
`,shadowOptions:
|
|
11714
|
-
${
|
|
11715
|
-
`,
|
|
11716
|
-
${
|
|
11723
|
+
`,shadowOptions:gp},G.defaultMenuItemConfig)),cp=u.css`
|
|
11724
|
+
${ac}
|
|
11725
|
+
`,pp=G.defaultModalConfig,up=G.foundationModalTemplate,hp=G.foundationModalShadowOptions;class mp extends G.Modal{}const bp=mp.compose(Object.assign({baseName:"modal",shadowOptions:hp,styles:cp,template:up},pp)),vp=u.css`
|
|
11726
|
+
${G.multiselectStyles}
|
|
11717
11727
|
|
|
11718
11728
|
#display-field {
|
|
11719
11729
|
height: calc(
|
|
@@ -11788,9 +11798,9 @@
|
|
|
11788
11798
|
rapid-checkbox[disabled] {
|
|
11789
11799
|
cursor: not-allowed;
|
|
11790
11800
|
}
|
|
11791
|
-
`,
|
|
11792
|
-
${(0,
|
|
11793
|
-
`;class
|
|
11801
|
+
`,fp=u.html`
|
|
11802
|
+
${(0,G.getPrefixedMultiselect)("rapid")}
|
|
11803
|
+
`;class wp extends G.Multiselect{}const yp=G.defaultMultiselectConfig,xp=G.foundationMultiselectShadowOptions,kp=wp.compose(Object.assign({baseName:"multiselect",template:fp,styles:vp,shadowOptions:xp},yp));class zp extends G.NumberField{}const Sp=G.defaultNumberFieldConfig,Cp=G.foundationNumberFieldTemplate,$p=G.foundationNumberFieldShadowOptions,Ap=zp.compose(Object.assign({baseName:"number-field",template:Cp,styles:(e,a)=>u.css`
|
|
11794
11804
|
:host {
|
|
11795
11805
|
margin-bottom: calc(var(--design-unit) * 2px);
|
|
11796
11806
|
}
|
|
@@ -11875,12 +11885,12 @@
|
|
|
11875
11885
|
.control:focus-visible {
|
|
11876
11886
|
outline: none;
|
|
11877
11887
|
}
|
|
11878
|
-
`,shadowOptions
|
|
11879
|
-
${(0,
|
|
11880
|
-
`,shadowOptions:
|
|
11881
|
-
${(0,
|
|
11882
|
-
`,shadowOptions:
|
|
11883
|
-
${(0,
|
|
11888
|
+
`,shadowOptions:$p},Sp));class Fp extends G.Progress{}const Tp=Fp.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,G.foundationProgressTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11889
|
+
${(0,G.foundationProgressStyles)(e,a)}
|
|
11890
|
+
`,shadowOptions:G.foundationProgressShadowOptions},G.defaultProgressConfig));class Op extends G.ProgressRing{}const Dp=Op.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,G.foundationProgressRingTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11891
|
+
${(0,G.foundationProgressRingStyles)(e,a)}
|
|
11892
|
+
`,shadowOptions:G.foundationProgressRingShadowOptions},G.defaultProgressRingConfig));class Rp extends G.Radio{}const Np=Rp.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,G.foundationRadioTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11893
|
+
${(0,G.foundationRadioStyles)(e,a)}
|
|
11884
11894
|
:host {
|
|
11885
11895
|
margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
|
|
11886
11896
|
}
|
|
@@ -11911,14 +11921,14 @@
|
|
|
11911
11921
|
:host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
|
|
11912
11922
|
background: var(--accent-fill-rest);
|
|
11913
11923
|
}
|
|
11914
|
-
`,shadowOptions:
|
|
11915
|
-
${(0,
|
|
11916
|
-
`,shadowOptions:
|
|
11917
|
-
${
|
|
11918
|
-
`,
|
|
11919
|
-
${(0,
|
|
11920
|
-
`;class
|
|
11921
|
-
${(0,
|
|
11924
|
+
`,shadowOptions:G.foundationRadioShadowOptions},G.defaultRadioConfig));class Lp extends G.RadioGroup{}const Mp=Lp.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,G.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11925
|
+
${(0,G.foundationRadioGroupStyles)(e,a)}
|
|
11926
|
+
`,shadowOptions:G.foundationRadioGroupShadowOptions},G.defaultRadioGroupConfig)),Ip=u.css`
|
|
11927
|
+
${G.foundationSearchBarStyles}
|
|
11928
|
+
`,jp=u.html`
|
|
11929
|
+
${(0,G.getPrefixedSearchBar)("rapid")}
|
|
11930
|
+
`;class Ep extends G.SearchBar{}const Pp=Ep.compose(Object.assign({baseName:"search-bar",template:jp,styles:Ip,shadowOptions:G.foundationSearchBarShadowOptions},G.defaultSearchBarConfig));class Bp extends G.SearchBarCombobox{}const Gp=Bp.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,G.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11931
|
+
${(0,G.foundationSearchBarComboboxStyles)(e,a)}
|
|
11922
11932
|
|
|
11923
11933
|
:host {
|
|
11924
11934
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -11940,7 +11950,7 @@
|
|
|
11940
11950
|
|
|
11941
11951
|
:host([open][position='below']) .listbox {
|
|
11942
11952
|
padding: 0;
|
|
11943
|
-
margin-top: calc(${
|
|
11953
|
+
margin-top: calc(${G.designUnit} * 1px);
|
|
11944
11954
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
11945
11955
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
11946
11956
|
}
|
|
@@ -11948,8 +11958,8 @@
|
|
|
11948
11958
|
:host .listbox ::slotted(*:last-child) {
|
|
11949
11959
|
border-bottom: none;
|
|
11950
11960
|
}
|
|
11951
|
-
`,shadowOptions:
|
|
11952
|
-
${(0,
|
|
11961
|
+
`,shadowOptions:G.foundationSearchBarComboboxShadowOptions},G.defaultSearchBarComboboxConfig));class Up extends G.SegmentedControl{}const _p=Up.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,G.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11962
|
+
${(0,G.foundationSegmentedControlStyles)(e,a)}
|
|
11953
11963
|
:host {
|
|
11954
11964
|
font-family: var(--body-font);
|
|
11955
11965
|
}
|
|
@@ -11984,8 +11994,8 @@
|
|
|
11984
11994
|
border-color: transparent;
|
|
11985
11995
|
box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
|
|
11986
11996
|
}
|
|
11987
|
-
`,shadowOptions:undefined},{}));class
|
|
11988
|
-
${(0,
|
|
11997
|
+
`,shadowOptions:undefined},{}));class Hp extends G.Radio{}const Vp=Hp.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,G.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>u.css`
|
|
11998
|
+
${(0,G.foundationSegmentedItemStyles)(e,a)}
|
|
11989
11999
|
:host {
|
|
11990
12000
|
color: var(--neutral-fill-strong-rest);
|
|
11991
12001
|
font-size: var(--type-ramp-minus-2-font-size);
|
|
@@ -11996,8 +12006,8 @@
|
|
|
11996
12006
|
:host([aria-checked='true']) {
|
|
11997
12007
|
color: color-mix(in srgb, white, transparent 10%);
|
|
11998
12008
|
}
|
|
11999
|
-
`,shadowOptions:undefined},{}));class
|
|
12000
|
-
${(0,
|
|
12009
|
+
`,shadowOptions:undefined},{}));class Yp extends G.Select{}const Qp=Yp.compose(Object.assign({baseName:"select",template:(e,a)=>(0,G.foundationSelectTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12010
|
+
${(0,G.foundationSelectStyles)(e,a)}
|
|
12001
12011
|
:host {
|
|
12002
12012
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
12003
12013
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
@@ -12019,7 +12029,7 @@
|
|
|
12019
12029
|
|
|
12020
12030
|
:host([open][position='below']) .listbox {
|
|
12021
12031
|
padding: 0;
|
|
12022
|
-
margin-top: calc(${
|
|
12032
|
+
margin-top: calc(${m.designUnit} * 1px);
|
|
12023
12033
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
12024
12034
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
12025
12035
|
}
|
|
@@ -12068,15 +12078,15 @@
|
|
|
12068
12078
|
::slotted([role='option']) {
|
|
12069
12079
|
margin: 0;
|
|
12070
12080
|
}
|
|
12071
|
-
`,shadowOptions:
|
|
12072
|
-
${(0,
|
|
12081
|
+
`,shadowOptions:G.foundationSelectShadowOptions},G.defaultSelectConfig));class Wp extends G.Skeleton{}const qp=Wp.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,G.foundationSkeletonTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12082
|
+
${(0,G.foundationSkeletonStyles)(e,a)}
|
|
12073
12083
|
:host {
|
|
12074
12084
|
--skeleton-fill: var(
|
|
12075
12085
|
--neutral-fill-stealth-rest
|
|
12076
12086
|
); /** value in ux doc rgba(242 242 242 / 0.1) */
|
|
12077
12087
|
}
|
|
12078
|
-
`,shadowOptions:
|
|
12079
|
-
${(0,
|
|
12088
|
+
`,shadowOptions:G.foundationSkeletonShadowOptions},G.defaultSkeletonConfig));class Jp extends G.Slider{}const Zp=Jp.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,G.foundationSliderTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12089
|
+
${(0,G.foundationSliderStyles)(e,a)}
|
|
12080
12090
|
|
|
12081
12091
|
.thumb-cursor {
|
|
12082
12092
|
background: var(--accent-fill-rest);
|
|
@@ -12109,15 +12119,15 @@
|
|
|
12109
12119
|
}
|
|
12110
12120
|
|
|
12111
12121
|
.thumb-cursor:hover::after {
|
|
12112
|
-
background-color: color-mix(in srgb, ${
|
|
12122
|
+
background-color: color-mix(in srgb, ${m.accentFillRest}, transparent 90%);
|
|
12113
12123
|
}
|
|
12114
12124
|
|
|
12115
12125
|
.thumb-cursor:focus::after {
|
|
12116
|
-
background-color: color-mix(in srgb, ${
|
|
12126
|
+
background-color: color-mix(in srgb, ${m.accentFillRest}, transparent 80%);
|
|
12117
12127
|
}
|
|
12118
12128
|
|
|
12119
12129
|
.thumb-cursor:active::after {
|
|
12120
|
-
background-color: color-mix(in srgb, ${
|
|
12130
|
+
background-color: color-mix(in srgb, ${m.accentFillRest}, transparent 70%);
|
|
12121
12131
|
}
|
|
12122
12132
|
|
|
12123
12133
|
.track {
|
|
@@ -12133,8 +12143,8 @@
|
|
|
12133
12143
|
background-color: var(--neutral-stroke-rest);
|
|
12134
12144
|
width: calc((var(--track-width) + 2) * 1px) !important;
|
|
12135
12145
|
}
|
|
12136
|
-
`,shadowOptions:
|
|
12137
|
-
${(0,
|
|
12146
|
+
`,shadowOptions:G.foundationSliderShadowOptions},G.defaultSliderConfig));class Kp extends G.SliderLabel{}const Xp=Kp.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,G.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12147
|
+
${(0,G.foundationSliderLabelStyles)(e,a)}
|
|
12138
12148
|
.label {
|
|
12139
12149
|
padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
|
|
12140
12150
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
@@ -12144,8 +12154,8 @@
|
|
|
12144
12154
|
text-align: center;
|
|
12145
12155
|
font-size: var(--type-ramp-minus-1-font-size, 12px);
|
|
12146
12156
|
}
|
|
12147
|
-
`,shadowOptions:
|
|
12148
|
-
${
|
|
12157
|
+
`,shadowOptions:G.foundationSliderLabelShadowOptions},G.defaultSliderLabelConfig)),eu=u.css`
|
|
12158
|
+
${G.foundationSnackbarStyles}
|
|
12149
12159
|
.snackbar {
|
|
12150
12160
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
|
|
12151
12161
|
background-color: var(--neutral-layer-1);
|
|
@@ -12165,10 +12175,10 @@
|
|
|
12165
12175
|
.action {
|
|
12166
12176
|
gap: calc(var(--design-unit) * 2px);
|
|
12167
12177
|
}
|
|
12168
|
-
`,
|
|
12169
|
-
${(0,
|
|
12170
|
-
`,
|
|
12171
|
-
${
|
|
12178
|
+
`,au=u.html`
|
|
12179
|
+
${(0,G.getPrefixedSnackbar)("rapid")}
|
|
12180
|
+
`,ru=G.foundationSnackbarShadowOptions;class tu extends G.Snackbar{}const ou=tu.compose({baseName:"snackbar",shadowOptions:ru,styles:eu,template:au}),iu=u.css`
|
|
12181
|
+
${G.foundationStepperStyles}
|
|
12172
12182
|
|
|
12173
12183
|
:host {
|
|
12174
12184
|
font-family: var(--body-font);
|
|
@@ -12214,12 +12224,12 @@
|
|
|
12214
12224
|
padding: 0 calc(var(--design-unit) * 2px);
|
|
12215
12225
|
color: var(--neutral-foreground-hint);
|
|
12216
12226
|
}
|
|
12217
|
-
`,
|
|
12218
|
-
${(0,
|
|
12219
|
-
`;class
|
|
12220
|
-
${(0,
|
|
12221
|
-
`;class
|
|
12222
|
-
${(0,
|
|
12227
|
+
`,nu=u.html`
|
|
12228
|
+
${(0,G.getPrefixedStepper)("rapid")}
|
|
12229
|
+
`;class lu extends G.Stepper{}const gu=lu.compose(Object.assign({baseName:"stepper",template:nu,styles:iu,shadowOptions:G.foundationStepperShadowOptions},G.defaultStepperConfig)),su=u.html`
|
|
12230
|
+
${(0,G.getPrefixedStepperTab)("rapid")}
|
|
12231
|
+
`;class du extends G.StepperTab{}const cu=du.compose(Object.assign({baseName:"stepper-tab",template:su,styles:(e,a)=>u.css`
|
|
12232
|
+
${(0,G.foundationStepperTabStyles)(e,a)}
|
|
12223
12233
|
|
|
12224
12234
|
rapid-tree-item {
|
|
12225
12235
|
--design-unit: 2.5;
|
|
@@ -12278,8 +12288,8 @@
|
|
|
12278
12288
|
:host([error]) .step-title {
|
|
12279
12289
|
color: var(--error-color);
|
|
12280
12290
|
}
|
|
12281
|
-
`,shadowOptions:
|
|
12282
|
-
${(0,
|
|
12291
|
+
`,shadowOptions:G.foundationStepperTabShadowOptions},G.defaultStepperTabConfig));class pu extends G.StepperTabPanel{}const uu=pu.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,G.foundationStepperTabPanelTemplate)(e,a),shadowOptions:G.foundationStepperTabPanelShadowOptions},G.defaultStepperTabPanelConfig)),hu={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class mu extends G.Switch{}const bu=mu.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,G.foundationSwitchTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12292
|
+
${(0,G.foundationSwitchStyles)(e,a)}
|
|
12283
12293
|
:host {
|
|
12284
12294
|
--primary-gradient-angle: -113.5deg;
|
|
12285
12295
|
}
|
|
@@ -12315,10 +12325,10 @@
|
|
|
12315
12325
|
:host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
|
|
12316
12326
|
background: var(--accent-fill-rest);
|
|
12317
12327
|
}
|
|
12318
|
-
`,shadowOptions:
|
|
12319
|
-
${(0,
|
|
12328
|
+
`,shadowOptions:G.foundationSwitchShadowOptions},hu));class vu extends G.Tab{}const fu=vu.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,G.foundationTabTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12329
|
+
${(0,G.foundationTabStyles)(e,a)}
|
|
12320
12330
|
:host {
|
|
12321
|
-
background-color: ${
|
|
12331
|
+
background-color: ${m.neutralLayer2};
|
|
12322
12332
|
border-radius: calc(var(--control-corner-radius) * 2px) calc(var(--control-corner-radius) * 2px);
|
|
12323
12333
|
box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
|
|
12324
12334
|
margin-right: calc(var(--design-unit) * 5px);
|
|
@@ -12326,15 +12336,15 @@
|
|
|
12326
12336
|
|
|
12327
12337
|
:host([aria-selected='true']),
|
|
12328
12338
|
:host([aria-selected='true']:hover) {
|
|
12329
|
-
background-color: ${
|
|
12339
|
+
background-color: ${m.neutralLayer4};
|
|
12330
12340
|
}
|
|
12331
|
-
`,shadowOptions:
|
|
12332
|
-
${(0,
|
|
12341
|
+
`,shadowOptions:G.foundationTabShadowOptions},G.defaultTabConfig));class wu extends G.TabPanel{}const yu=wu.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,G.foundationTabPanelTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12342
|
+
${(0,G.foundationTabPanelStyles)(e,a)}
|
|
12333
12343
|
:host {
|
|
12334
12344
|
padding: 0;
|
|
12335
12345
|
}
|
|
12336
|
-
`,shadowOptions:
|
|
12337
|
-
${(0,
|
|
12346
|
+
`,shadowOptions:G.foundationTabPanelShadowOptions},G.defaultTabPanelConfig));class xu extends G.Tabs{}const ku=xu.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,G.foundationTabsTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12347
|
+
${(0,G.foundationTabsStyles)(e,a)}
|
|
12338
12348
|
:host {
|
|
12339
12349
|
--base-height-multiplier: 9;
|
|
12340
12350
|
|
|
@@ -12346,13 +12356,13 @@
|
|
|
12346
12356
|
:host .tablist {
|
|
12347
12357
|
padding: 0;
|
|
12348
12358
|
display: grid;
|
|
12349
|
-
border-bottom: calc(var(--stroke-width) * 1px) solid ${
|
|
12359
|
+
border-bottom: calc(var(--stroke-width) * 1px) solid ${m.neutralLayer3};
|
|
12350
12360
|
width: max-content;
|
|
12351
12361
|
}
|
|
12352
12362
|
|
|
12353
12363
|
:host .end,
|
|
12354
12364
|
:host .start {
|
|
12355
|
-
padding: 0 calc((16 + ${
|
|
12365
|
+
padding: 0 calc((16 + ${m.designUnit} * 2 * ${m.density}) * 1px);
|
|
12356
12366
|
height: calc(100% - 1px);
|
|
12357
12367
|
display: flex;
|
|
12358
12368
|
align-items: center;
|
|
@@ -12370,7 +12380,7 @@
|
|
|
12370
12380
|
background: var(--neutral-layer-3);
|
|
12371
12381
|
/* stylelint-disable color-function-notation */
|
|
12372
12382
|
box-shadow: 0 0 15px rgba(0, 0, 0, 35%);
|
|
12373
|
-
padding: 0 calc((16 + ${
|
|
12383
|
+
padding: 0 calc((16 + ${m.designUnit} * 2 * ${m.density}) * 1px);
|
|
12374
12384
|
margin-right: calc((var(--design-unit) -1) * 1px);
|
|
12375
12385
|
}
|
|
12376
12386
|
|
|
@@ -12408,8 +12418,8 @@
|
|
|
12408
12418
|
:host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
|
|
12409
12419
|
padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
12410
12420
|
}
|
|
12411
|
-
`,shadowOptions:
|
|
12412
|
-
${(0,
|
|
12421
|
+
`,shadowOptions:G.foundationTabsShadowOptions},G.defaultTabsConfig));class zu extends G.TextArea{}const Su=zu.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,G.foundationTextAreaTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12422
|
+
${(0,G.foundationTextAreaStyles)(e,a)}
|
|
12413
12423
|
|
|
12414
12424
|
:host .control {
|
|
12415
12425
|
height: 100%;
|
|
@@ -12434,8 +12444,8 @@
|
|
|
12434
12444
|
font-weight: 700;
|
|
12435
12445
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12436
12446
|
}
|
|
12437
|
-
`,shadowOptions:
|
|
12438
|
-
${(0,
|
|
12447
|
+
`,shadowOptions:G.foundationTextAreaShadowOptions},G.defaultTextAreaConfig));class Cu extends G.TextField{}const $u=Cu.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,G.foundationTextFieldTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12448
|
+
${(0,G.foundationTextFieldStyles)(e,a)}
|
|
12439
12449
|
|
|
12440
12450
|
:host {
|
|
12441
12451
|
margin-bottom: calc(var(--design-unit) * 2px);
|
|
@@ -12471,10 +12481,10 @@
|
|
|
12471
12481
|
font-weight: 700;
|
|
12472
12482
|
margin: calc(var(--design-unit) * 2px) 0;
|
|
12473
12483
|
}
|
|
12474
|
-
`,shadowOptions:
|
|
12475
|
-
${
|
|
12484
|
+
`,shadowOptions:G.foundationTextFieldShadowOptions},G.defaultTextFieldConfig)),Au=u.css`
|
|
12485
|
+
${G.foundationToastStyles}
|
|
12476
12486
|
.toast {
|
|
12477
|
-
background-color: ${
|
|
12487
|
+
background-color: ${m.neutralLayer1};
|
|
12478
12488
|
border-radius: calc(var(--control-corner-radius) * 2px) calc(var(--control-corner-radius) * 2px);
|
|
12479
12489
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
12480
12490
|
}
|
|
@@ -12526,8 +12536,8 @@
|
|
|
12526
12536
|
:host([notify='serious']) .toast::after {
|
|
12527
12537
|
background-color: var(--error-color);
|
|
12528
12538
|
}
|
|
12529
|
-
`,
|
|
12530
|
-
${(0,
|
|
12539
|
+
`,Fu=G.defaultToastConfig,Tu=G.foundationToastShadowOptions;class Ou extends G.Toast{}const Du=Ou.compose(Object.assign({baseName:"toast",shadowOptions:Tu,styles:Au,template:G.foundationToastTemplate},Fu));class Ru extends G.Toolbar{}const Nu=Ru.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,G.foundationToolbarTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12540
|
+
${(0,G.foundationToolbarStyles)(e,a)}
|
|
12531
12541
|
:host {
|
|
12532
12542
|
align-items: center;
|
|
12533
12543
|
color: var(--neutral-foreground-rest);
|
|
@@ -12536,8 +12546,8 @@
|
|
|
12536
12546
|
.positioning-region {
|
|
12537
12547
|
align-items: center;
|
|
12538
12548
|
}
|
|
12539
|
-
`,shadowOptions:
|
|
12540
|
-
${(0,
|
|
12549
|
+
`,shadowOptions:G.foundationToolbarShadowOptions},G.defaultToolbarConfig));class Lu extends G.Tooltip{}const Mu=Lu.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,G.foundationTooltipTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12550
|
+
${(0,G.foundationTooltipStyles)(e,a)}
|
|
12541
12551
|
|
|
12542
12552
|
:host {
|
|
12543
12553
|
visibility: visible;
|
|
@@ -12559,8 +12569,8 @@
|
|
|
12559
12569
|
alpha-anchored-region.bottom.right .tooltip {
|
|
12560
12570
|
margin-left: 0;
|
|
12561
12571
|
}
|
|
12562
|
-
`,shadowOptions:
|
|
12563
|
-
${(0,
|
|
12572
|
+
`,shadowOptions:G.foundationTooltipShadowOptions},G.defaultTooltipConfig));class Iu extends G.TreeItem{}const ju={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>'},Eu=Iu.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,G.foundationTreeItemTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12573
|
+
${(0,G.foundationTreeItemStyles)(e,a)}
|
|
12564
12574
|
:host {
|
|
12565
12575
|
font-size: var(--type-ramp-base-font-size);
|
|
12566
12576
|
color: var(--neutral-foreground-rest);
|
|
@@ -12598,12 +12608,12 @@
|
|
|
12598
12608
|
width: calc(var(--design-unit) * 3px);
|
|
12599
12609
|
height: calc(var(--design-unit) * 3px);
|
|
12600
12610
|
}
|
|
12601
|
-
`,shadowOptions:
|
|
12602
|
-
${(0,
|
|
12603
|
-
`,shadowOptions:
|
|
12604
|
-
${(0,
|
|
12605
|
-
`;class
|
|
12606
|
-
${(0,
|
|
12611
|
+
`,shadowOptions:G.foundationTreeItemShadowOptions},ju));class Pu extends G.TreeView{}const Bu=Pu.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,G.foundationTreeViewTemplate)(e,a),styles:(e,a)=>u.css`
|
|
12612
|
+
${(0,G.foundationTreeViewStyles)(e,a)}
|
|
12613
|
+
`,shadowOptions:G.foundationTreeViewShadowOptions},G.defaultTreeViewConfig)),Gu=u.html`
|
|
12614
|
+
${(0,G.getPrefixedUrlInput)("rapid")}
|
|
12615
|
+
`;class Uu extends G.UrlInput{}const _u={designSystemProvider:Zs,rapidAccordion:Xs,rapidAccordionItem:ad,rapidActionsMenu:td,rapidAnchor:cd,rapidAnchoredRegion:ud,rapidAvatar:md,rapidBadge:vd,rapidBanner:xd,rapidBreadcrumb:zd,rapidBreadcrumbItem:Cd,rapidButton:Ad,rapidCalendar:Td,rapidCard:Dd,rapidCheckbox:Nd,rapidCombobox:Md,rapidConnectionIndicator:jd,rapidDataGrid:()=>(0,G.foundationDataGrid)(),rapidDataGridCell:()=>(0,G.foundationDataGridCell)(),rapidDataGridRow:()=>(0,G.foundationDataGridRow)(),rapidDatePicker:ec,rapidDialog:nc,rapidDisclosure:gc,rapidDivider:dc,rapidDropdownMenu:pc,rapidErrorBoundary:()=>(0,G.foundationErrorBoundary)(),rapidFileUpload:kc,rapidFilter:Cc,rapidFilterBar:Fc,rapidFlexLayout:()=>(0,G.foundationFlexLayout)(),rapidFlipper:Lc,rapidFlyout:Bc,rapidGridLayout:()=>(0,G.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,G.foundationGridLayoutItem)(),rapidHorizontalScroll:Zc,rapidIcon:ap,rapidListbox:tp,rapidListboxOption:ip,rapidMenu:lp,rapidMenuItem:dp,rapidModal:bp,rapidMultiselect:kp,rapidNumberField:Ap,rapidProgress:Tp,rapidProgressRing:Dp,rapidRadio:Np,rapidRadioGroup:Mp,rapidSearchBar:Pp,rapidSearchBarCombobox:Gp,rapidSegmentedControl:_p,rapidSegmentedItem:Vp,rapidSelect:Qp,rapidSkeleton:qp,rapidSlider:Zp,rapidSliderLabel:Xp,rapidSnackbar:ou,rapidStepper:gu,rapidStepperTab:cu,rapidStepperTabPanel:uu,rapidSwitch:bu,rapidTab:fu,rapidTabPanel:yu,rapidTabs:ku,rapidTextArea:Su,rapidTextField:$u,rapidToast:Du,rapidToolbar:Nu,rapidTooltip:Mu,rapidTreeItem:Eu,rapidTreeView:Bu,rapidUrlInput:Uu.compose(Object.assign({baseName:"url-input",template:Gu,styles:(e,a)=>u.css`
|
|
12616
|
+
${(0,G.foundationUrlInputStyles)(e,a)}
|
|
12607
12617
|
a {
|
|
12608
12618
|
color: var(--accent-fill-rest);
|
|
12609
12619
|
opacity: 65%;
|
|
@@ -12618,9 +12628,9 @@
|
|
|
12618
12628
|
font-size: var(--type-ramp-base-font-size);
|
|
12619
12629
|
top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
|
|
12620
12630
|
}
|
|
12621
|
-
`,shadowOptions:
|
|
12622
|
-
${
|
|
12623
|
-
`,template:
|
|
12631
|
+
`,shadowOptions:G.foundationUrlInputShadowOptions},G.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class Hu extends Ii{}const Vu=Hu.compose({baseName:"date-editor",styles:ji,template:Ei("rapid")});class Yu extends Ui{}const Qu=Yu.compose({baseName:"multiselect-editor",styles:_i,template:Hi("rapid")});class Wu extends Wi{}const qu=Wu.compose({baseName:"select-editor",styles:qi,template:Ji("rapid")});class Ju extends en{}const Zu=Ju.compose({baseName:"number-editor",styles:an,template:rn("rapid")});class Ku extends ln{}const Xu=Ku.compose({baseName:"string-editor",styles:gn,template:sn("rapid")});class eh extends un{}const ah=eh.compose({baseName:"editable-renderer",styles:hn,template:mn("rapid")});class rh extends xn{}const th=rh.compose({baseName:"grid-pro-action-renderer",styles:u.css`
|
|
12632
|
+
${zn}
|
|
12633
|
+
`,template:u.html`
|
|
12624
12634
|
<div class="action-container" part="action-container">
|
|
12625
12635
|
<rapid-button
|
|
12626
12636
|
class="action-renderer"
|
|
@@ -12631,17 +12641,17 @@
|
|
|
12631
12641
|
appearance="${e=>e.params.appearance}"
|
|
12632
12642
|
@click=${e=>e.clickHandler()}
|
|
12633
12643
|
>
|
|
12634
|
-
${e=>e.params.contentTemplate?
|
|
12644
|
+
${e=>e.params.contentTemplate?u.html`
|
|
12635
12645
|
${e.params.contentTemplate}
|
|
12636
12646
|
`:e.params.actionName}
|
|
12637
12647
|
</rapid-button>
|
|
12638
12648
|
</div>
|
|
12639
|
-
`});class
|
|
12649
|
+
`});class oh extends An{}const ih=oh.compose({baseName:"grid-pro-actions-menu-renderer",template:u.html`
|
|
12640
12650
|
<rapid-actions-menu
|
|
12641
12651
|
name="${e=>e.params.headerName}"
|
|
12642
12652
|
:definition=${e=>e.params}
|
|
12643
12653
|
></rapid-actions-menu>
|
|
12644
|
-
`});class
|
|
12654
|
+
`});class nh extends Dn{}const lh=nh.compose({baseName:"boolean-renderer",styles:Rn,template:Nn("rapid")});const gh=class extends _n{}.compose({baseName:"grid-text-renderer",styles:Hn,template:Vn("rapid")});const sh=class extends Wn{}.compose({baseName:"select-renderer",styles:qn,template:Jn("rapid")}),dh={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#879ba6")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#1f2126")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2b2e34"))},ch={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#000000")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#181d1f")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#FFFFFF")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2196f3"))},{create:ph}=h.DesignToken,uh={backgroundColor:ph("rapid-ag-background-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?ch.backgroundSwatch:dh.backgroundSwatch)),borderColor:ph("rapid-ag-border-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?ch.borderSwatch:dh.borderSwatch)),foregroundColor:ph("rapid-ag-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?ch.foregroundSwatch:dh.foregroundSwatch)),headerForegroundColor:ph("rapid-ag-header-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?ch.headerForegroundSwatch:dh.headerForegroundSwatch)),rowHoverColor:ph("rapid-ag-row-hover-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?ch.rowHoverSwatch:dh.rowHoverSwatch))},hh=u.css`
|
|
12645
12655
|
.ag-theme-genesis-rapid,
|
|
12646
12656
|
.ag-theme-genesis-rapid-dark {
|
|
12647
12657
|
--ag-alpine-active-color: #2196f3;
|
|
@@ -13102,77 +13112,77 @@
|
|
|
13102
13112
|
.ag-theme-genesis-rapid-dark {
|
|
13103
13113
|
color-scheme: dark;
|
|
13104
13114
|
}
|
|
13105
|
-
`,
|
|
13106
|
-
${
|
|
13107
|
-
${
|
|
13115
|
+
`,mh={[xi.backgroundColor]:uh.backgroundColor,[xi.foregroundColor]:uh.foregroundColor,[xi.oddRowBackgroundColor]:uh.backgroundColor,[xi.headerBackgroundColor]:uh.backgroundColor,[xi.headerForegroundColor]:uh.headerForegroundColor,[xi.selectedRowBackgroundColor]:uh.rowHoverColor,[xi.rowHoverColor]:uh.rowHoverColor,[xi.borderColor]:uh.borderColor,[xi.rowBorderColor]:uh.rowHoverColor,[xi.modalOverlayBackgroundColor]:uh.backgroundColor,[xi.inputFocusBoxShadow]:uh.headerForegroundColor,[xi.inputFocusBorderColor]:uh.headerForegroundColor,[xi.headerColumnResizeHandleColor]:uh.headerForegroundColor},bh="ag-theme-genesis-rapid",vh=u.css`
|
|
13116
|
+
${hh}
|
|
13117
|
+
${Ti(bh,mh)}
|
|
13108
13118
|
|
|
13109
|
-
.${
|
|
13110
|
-
${
|
|
13119
|
+
.${bh} {
|
|
13120
|
+
${Ge()}
|
|
13111
13121
|
font-family: var(--body-font);
|
|
13112
13122
|
}
|
|
13113
13123
|
|
|
13114
|
-
.${
|
|
13115
|
-
.${
|
|
13116
|
-
.${
|
|
13124
|
+
.${bh} .ag-body .ag-body-viewport,
|
|
13125
|
+
.${bh} .ag-header,
|
|
13126
|
+
.${bh} .ag-row {
|
|
13117
13127
|
background-color: var(--neutral-layer-4);
|
|
13118
13128
|
}
|
|
13119
13129
|
|
|
13120
|
-
.${
|
|
13130
|
+
.${bh} .ag-header {
|
|
13121
13131
|
border-bottom-color: var(--neutral-stroke-rest);
|
|
13122
13132
|
font-weight: bold;
|
|
13123
13133
|
font-size: var(--type-ramp-base-font-size);
|
|
13124
13134
|
}
|
|
13125
13135
|
|
|
13126
|
-
.${
|
|
13136
|
+
.${bh} .ag-root-wrapper {
|
|
13127
13137
|
border-radius: calc(var(--ag-border-radius) * 1px);
|
|
13128
13138
|
border: 1px solid var(--rapid-ag-border-color);
|
|
13129
13139
|
}
|
|
13130
13140
|
|
|
13131
|
-
.${
|
|
13141
|
+
.${bh} .ag-cell {
|
|
13132
13142
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
13133
13143
|
}
|
|
13134
|
-
`,
|
|
13135
|
-
${
|
|
13136
|
-
${
|
|
13144
|
+
`,fh="ag-theme-genesis-rapid-dark",wh=u.css`
|
|
13145
|
+
${hh}
|
|
13146
|
+
${Ti(bh,mh)}
|
|
13137
13147
|
|
|
13138
|
-
.${
|
|
13139
|
-
${
|
|
13148
|
+
.${fh} {
|
|
13149
|
+
${Ge()}
|
|
13140
13150
|
font-family: var(--body-font);
|
|
13141
13151
|
}
|
|
13142
13152
|
|
|
13143
|
-
.${
|
|
13144
|
-
.${
|
|
13145
|
-
.${
|
|
13153
|
+
.${fh} .ag-body .ag-body-viewport,
|
|
13154
|
+
.${fh} .ag-header,
|
|
13155
|
+
.${fh} .ag-row {
|
|
13146
13156
|
background-color: var(--neutral-layer-4);
|
|
13147
13157
|
}
|
|
13148
13158
|
|
|
13149
|
-
.${
|
|
13159
|
+
.${fh} .ag-header {
|
|
13150
13160
|
border-bottom-color: var(--neutral-stroke-rest);
|
|
13151
13161
|
font-weight: bold;
|
|
13152
13162
|
font-size: var(--type-ramp-base-font-size);
|
|
13153
13163
|
}
|
|
13154
13164
|
|
|
13155
|
-
.${
|
|
13165
|
+
.${fh} .ag-root-wrapper {
|
|
13156
13166
|
border-radius: calc(var(--ag-border-radius) * 1px);
|
|
13157
13167
|
border: 1px solid var(--rapid-ag-border-color);
|
|
13158
13168
|
}
|
|
13159
13169
|
|
|
13160
|
-
.${
|
|
13170
|
+
.${fh} .ag-cell {
|
|
13161
13171
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
13162
13172
|
}
|
|
13163
|
-
`,
|
|
13173
|
+
`,yh=u.css`
|
|
13164
13174
|
/* All the AG themes */
|
|
13165
|
-
${
|
|
13175
|
+
${Zl}
|
|
13166
13176
|
|
|
13167
13177
|
/* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
|
|
13168
|
-
${
|
|
13169
|
-
${
|
|
13178
|
+
${vh}
|
|
13179
|
+
${wh}
|
|
13170
13180
|
|
|
13171
13181
|
.error {
|
|
13172
|
-
border-color: ${
|
|
13182
|
+
border-color: ${ye.shortPink} !important;
|
|
13173
13183
|
}
|
|
13174
|
-
`,
|
|
13175
|
-
${(0,
|
|
13184
|
+
`,xh=Kl,kh="ag-theme-genesis-rapid-dark";const zh=lg,Sh={rapidAgEditableRenderer:ah,rapidAgActionRenderer:th,rapidAgActionsMenuRenderer:ih,rapidAgBooleanRenderer:lh,rapidAgTextRenderer:gh,rapidAgSelectRenderer:sh,rapidAgDateEditor:Vu,rapidAgMultiselectEditor:Qu,rapidAgSelectEditor:qu,rapidAgNumberEditor:Zu,rapidAgStringEditor:Xu,rapidGridPro:class extends ig{constructor(){super(...arguments),this.theme=kh}themeChanged(e,a){(e||a===kh)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Oi.action]:rh,[Oi.actionsMenu]:oh,[Oi.boolean]:nh,[Oi.editable]:eh,[Oi.selectEditor]:Wu,[Oi.numberEditor]:Ju,[Oi.multiselectEditor]:Yu,[Oi.dateEditor]:Hu,[Oi.stringEditor]:Ku};(this.theme===bh||this.theme===fh)&&(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:xh,styles:yh,shadowOptions:undefined},zh)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Ch,$h=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Ch||(Ch={}));const Ah={Roboto:Be,"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'},Fh=Ah["Segoe UI"],Th=u.css`
|
|
13185
|
+
${(0,h.display)("block")} :host {
|
|
13176
13186
|
width: 100%;
|
|
13177
13187
|
display: inline-flex;
|
|
13178
13188
|
font-family: Roboto, 'Segoe UI', Arial, Helvetica, sans-serif;
|
|
@@ -13303,10 +13313,10 @@
|
|
|
13303
13313
|
alpha-button {
|
|
13304
13314
|
margin: 0;
|
|
13305
13315
|
}
|
|
13306
|
-
`,
|
|
13316
|
+
`,Oh=u.html`
|
|
13307
13317
|
<template>
|
|
13308
13318
|
<div class="configuration">
|
|
13309
|
-
${(0,
|
|
13319
|
+
${(0,u.when)((e=>!e.customDesignMode),u.html`
|
|
13310
13320
|
<div class="row" id="designSystem">
|
|
13311
13321
|
<div class="label">
|
|
13312
13322
|
<label for="body-font">Design System</label>
|
|
@@ -13316,7 +13326,7 @@
|
|
|
13316
13326
|
name="ds"
|
|
13317
13327
|
@change="${(e,a)=>e.changeHandler(a.event)}"
|
|
13318
13328
|
>
|
|
13319
|
-
${(0,
|
|
13329
|
+
${(0,u.repeat)((e=>e.designSystems),u.html`
|
|
13320
13330
|
<alpha-option value="${e=>e.value}">${e=>e.name}</alpha-option>
|
|
13321
13331
|
`)}
|
|
13322
13332
|
</alpha-select>
|
|
@@ -13510,8 +13520,8 @@
|
|
|
13510
13520
|
></alpha-slider>
|
|
13511
13521
|
</div>
|
|
13512
13522
|
</div>
|
|
13513
|
-
${(0,
|
|
13514
|
-
<alpha-checkbox :checked="${(0,
|
|
13523
|
+
${(0,u.when)((e=>!e.customDesignMode),u.html`
|
|
13524
|
+
<alpha-checkbox :checked="${(0,jn.Z)((e=>e.preserveOptions),"boolean")}">
|
|
13515
13525
|
Preserve selected options when changing design systems
|
|
13516
13526
|
</alpha-checkbox>
|
|
13517
13527
|
`)}
|
|
@@ -13526,7 +13536,7 @@
|
|
|
13526
13536
|
<slot></slot>
|
|
13527
13537
|
</div>
|
|
13528
13538
|
</template>
|
|
13529
|
-
`,
|
|
13539
|
+
`,Dh=({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(Ah).find((a=>Ah[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Rh=Dh(Ve),Nh={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Lh={accent:"primary",neutral:"secondary",font:"white"},Mh=Dh(l.designTokens),Ih=Dh(qs),jh={zero:{prefix:"zero",tokenDefaults:Rh,buttons:Nh,badge:Lh},alpha:{prefix:"alpha",tokenDefaults:Mh,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Ih,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Nh,badge:Lh}};let Eh=class extends u.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Rh.luminance===m.StandardLuminance.DarkMode,this.luminance=Rh.luminance,this.neutralColor=Rh.neutralColor,this.accentColor=Rh.accentColor,this.bodyFont=Rh.bodyFont,this.density=Rh.density,this.borderRadius=Rh.borderRadius,this.strokeWidth=Rh.strokeWidth,this.designUnit=Rh.designUnit,this.baseFontSize=Rh.baseFontSize,this.baseLineHeight=Rh.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof h.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof m.Combobox||e.target instanceof m.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof h.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?m.StandardLuminance.DarkMode:m.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&u.DOM.queueUpdate((()=>{const e=Dh(a);jh.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,$h.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(jh[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,$h.__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:jh[this.ds].prefix,buttonAppearanceAccent:jh[this.ds].buttons.accent,buttonAppearanceNeutral:jh[this.ds].buttons.neutral,buttonAppearanceOutline:jh[this.ds].buttons.outline,buttonAppearanceText:jh[this.ds].buttons.text,badgeAppearanceAccent:jh[this.ds].badge.accent,badgeAppearanceNeutral:jh[this.ds].badge.neutral,badgeText:jh[this.ds].badge.font};this.$emit(Ch.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(jh[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Ah[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(Ch.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===m.StandardLuminance.DarkMode,u.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={},Pe(),u.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(Ch.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,$h.__decorate)([(0,u.attr)({mode:"boolean",attribute:"custom-design-mode"})],Eh.prototype,"customDesignMode",void 0),(0,$h.__decorate)([u.observable],Eh.prototype,"designSystems",void 0),(0,$h.__decorate)([u.observable],Eh.prototype,"ds",void 0),(0,$h.__decorate)([u.attr],Eh.prototype,"darkMode",void 0),(0,$h.__decorate)([u.observable],Eh.prototype,"neutralColor",void 0),(0,$h.__decorate)([u.observable],Eh.prototype,"accentColor",void 0),(0,$h.__decorate)([u.observable],Eh.prototype,"bodyFont",void 0),(0,$h.__decorate)([u.observable],Eh.prototype,"density",void 0),(0,$h.__decorate)([u.observable],Eh.prototype,"borderRadius",void 0),(0,$h.__decorate)([u.observable],Eh.prototype,"strokeWidth",void 0),(0,$h.__decorate)([u.observable],Eh.prototype,"designUnit",void 0),(0,$h.__decorate)([u.observable],Eh.prototype,"baseFontSize",void 0),(0,$h.__decorate)([u.observable],Eh.prototype,"baseLineHeight",void 0),(0,$h.__decorate)([u.observable],Eh.prototype,"preserveOptions",void 0),Eh=(0,$h.__decorate)([(0,u.customElement)({name:"design-system-editor",template:Oh,styles:Th})],Eh);const Ph=(0,w.createLogger)("documentation-components"),Bh=e=>{const a=(e=>{const a=(0,xe.parseColorHexRGB)(e);return a?m.SwatchRGB.from(a):null})(e);return a?m.PaletteRGB.create(a):null},Gh=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Uh=(e,a)=>{const r=Bh(e.neutralColor);m.neutralPalette.setValueFor(a,r);const t=Bh(e.accentColor);m.accentPalette.setValueFor(a,t),m.baseLayerLuminance.setValueFor(a,e.luminance),m.density.setValueFor(a,e.density),m.controlCornerRadius.setValueFor(a,e.borderRadius),m.strokeWidth.setValueFor(a,e.strokeWidth),m.designUnit.setValueFor(a,e.designUnit),m.bodyFont.setValueFor(a,e.bodyFont),m.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),m.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),m.typeRampMinus1FontSize.setValueFor(a,Gh(m.typeRampBaseFontSize,Ee.Yd.minusOne,a)),m.typeRampMinus1LineHeight.setValueFor(a,Gh(m.typeRampBaseLineHeight,Ee.Yd.minusOne,a)),m.typeRampMinus2FontSize.setValueFor(a,Gh(m.typeRampBaseFontSize,Ee.Yd.minusTwo,a)),m.typeRampMinus2LineHeight.setValueFor(a,Gh(m.typeRampBaseLineHeight,Ee.Yd.minusTwo,a)),m.typeRampPlus1FontSize.setValueFor(a,Gh(m.typeRampBaseFontSize,Ee.Yd.plusOne,a)),m.typeRampPlus1LineHeight.setValueFor(a,Gh(m.typeRampBaseLineHeight,Ee.Yd.plusOne,a)),m.typeRampPlus2FontSize.setValueFor(a,Gh(m.typeRampBaseFontSize,Ee.Yd.plusTwo,a)),m.typeRampPlus2LineHeight.setValueFor(a,Gh(m.typeRampBaseLineHeight,Ee.Yd.plusTwo,a)),m.typeRampPlus3FontSize.setValueFor(a,Gh(m.typeRampBaseFontSize,Ee.Yd.plusThree,a)),m.typeRampPlus3LineHeight.setValueFor(a,Gh(m.typeRampBaseLineHeight,Ee.Yd.plusThree,a)),m.typeRampPlus4FontSize.setValueFor(a,Gh(m.typeRampBaseFontSize,Ee.Yd.plusFour,a)),m.typeRampPlus4LineHeight.setValueFor(a,Gh(m.typeRampBaseLineHeight,Ee.Yd.plusFour,a)),m.typeRampPlus5FontSize.setValueFor(a,Gh(m.typeRampBaseFontSize,Ee.Yd.plusFive,a)),m.typeRampPlus5LineHeight.setValueFor(a,Gh(m.typeRampBaseLineHeight,Ee.Yd.plusFive,a)),m.typeRampPlus6FontSize.setValueFor(a,Gh(m.typeRampBaseFontSize,Ee.Yd.plusSix,a)),m.typeRampPlus6LineHeight.setValueFor(a,Gh(m.typeRampBaseLineHeight,Ee.Yd.plusSix,a))},_h=u.css`
|
|
13530
13540
|
:host {
|
|
13531
13541
|
--badge-fill-primary: var(--accent-fill-rest);
|
|
13532
13542
|
--badge-fill-neutral: var(--neutral-fill-rest);
|
|
@@ -13622,10 +13632,10 @@
|
|
|
13622
13632
|
display: flex;
|
|
13623
13633
|
flex-direction: column;
|
|
13624
13634
|
}
|
|
13625
|
-
`,
|
|
13626
|
-
${e=>(e=>
|
|
13635
|
+
`,Hh=u.html`
|
|
13636
|
+
${e=>(e=>u.html`
|
|
13627
13637
|
<template>
|
|
13628
|
-
<${e}-design-system-provider ${(0,
|
|
13638
|
+
<${e}-design-system-provider ${(0,u.ref)("provider")}>
|
|
13629
13639
|
<div class="wrapper">
|
|
13630
13640
|
<div class="column">
|
|
13631
13641
|
<div class="row">
|
|
@@ -13786,7 +13796,7 @@
|
|
|
13786
13796
|
<${e}-button appearance="${e=>e.buttonAppearanceAccent}" @click="${e=>e.showDialog("dialog")}">Show Dialog</${e}-button>
|
|
13787
13797
|
<${e}-multiselect class="row-padding" name="Countries" :options="${e=>e.countries}" search=true>
|
|
13788
13798
|
</${e}-multiselect>
|
|
13789
|
-
<${e}-modal ${(0,
|
|
13799
|
+
<${e}-modal ${(0,u.ref)("modal")} style="--dialog-max-width:557px;">
|
|
13790
13800
|
<h5 slot="top">Modal Title</h5>
|
|
13791
13801
|
<p>
|
|
13792
13802
|
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quis similique iste ab sed
|
|
@@ -13797,7 +13807,7 @@
|
|
|
13797
13807
|
</p>
|
|
13798
13808
|
<${e}-button appearance="${e=>e.buttonAppearanceAccent}" slot="bottom" @click="${e=>e.closeDialog("modal")}">Close</${e}-button>
|
|
13799
13809
|
</${e}-modal>
|
|
13800
|
-
<${e}-dialog ${(0,
|
|
13810
|
+
<${e}-dialog ${(0,u.ref)("dialog")} style="--dialog-max-width:557px;">
|
|
13801
13811
|
<div slot="top">Dialog Title</div>
|
|
13802
13812
|
<p>Some Text in a Dialog</p>
|
|
13803
13813
|
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quis similique iste ab sed
|
|
@@ -13809,7 +13819,7 @@
|
|
|
13809
13819
|
Close this dialog
|
|
13810
13820
|
</${e}-button>
|
|
13811
13821
|
</${e}-dialog>
|
|
13812
|
-
<div ${(0,
|
|
13822
|
+
<div ${(0,u.ref)("errorDialogContainer")}></div>
|
|
13813
13823
|
</div>
|
|
13814
13824
|
</div>
|
|
13815
13825
|
</div>
|
|
@@ -13964,7 +13974,7 @@
|
|
|
13964
13974
|
<div class="row">
|
|
13965
13975
|
<div class="column">
|
|
13966
13976
|
<${e}-horizontal-scroll class="horizontal-scroll">
|
|
13967
|
-
${(0,
|
|
13977
|
+
${(0,u.repeat)((e=>e.cards),u.html`
|
|
13968
13978
|
<${e}-card class="card-padding">
|
|
13969
13979
|
Card number ${e=>e}
|
|
13970
13980
|
<${e}-button>A button</${e}-button>
|
|
@@ -13995,7 +14005,7 @@
|
|
|
13995
14005
|
</${e}-toolbar>
|
|
13996
14006
|
</div>
|
|
13997
14007
|
<div class="column">
|
|
13998
|
-
<${e}-banner ${(0,
|
|
14008
|
+
<${e}-banner ${(0,u.ref)("banner")}>
|
|
13999
14009
|
<div slot="content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet.
|
|
14000
14010
|
Lorem, ipsum dolor.</div>
|
|
14001
14011
|
<${e}-button slot="action" @click="${e=>e.dismissBanner()}" :appearance="${e=>e.buttonAppearanceText}">
|
|
@@ -14034,7 +14044,7 @@
|
|
|
14034
14044
|
</${e}-design-system-provider>
|
|
14035
14045
|
</template>
|
|
14036
14046
|
`)(e.prefix)}
|
|
14037
|
-
`;let
|
|
14047
|
+
`;let Vh=class extends u.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=>Ph.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>Ph.debug("DELETE!!!",e)},{name:"Edit",callback:e=>Ph.debug("EDIT!!!",e)},{name:"Wait",callback:e=>Ph.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(Ch.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Ch.DS_CHANGED,(e=>{this.handleDSChanges(e)})),u.DOM.queueUpdate((()=>{m.bodyFont.withDefault(Fh)}))}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{Uh(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,$h.__decorate)([u.observable],Vh.prototype,"modal",void 0),(0,$h.__decorate)([u.attr],Vh.prototype,"prefix",void 0),(0,$h.__decorate)([u.observable],Vh.prototype,"buttonAppearanceAccent",void 0),(0,$h.__decorate)([u.observable],Vh.prototype,"buttonAppearanceNeutral",void 0),(0,$h.__decorate)([u.observable],Vh.prototype,"buttonAppearanceOutline",void 0),(0,$h.__decorate)([u.observable],Vh.prototype,"buttonAppearanceText",void 0),(0,$h.__decorate)([u.observable],Vh.prototype,"badgeAppearanceAccent",void 0),(0,$h.__decorate)([u.observable],Vh.prototype,"badgeAppearanceNeutral",void 0),(0,$h.__decorate)([u.observable],Vh.prototype,"badgeText",void 0),(0,$h.__decorate)([u.observable],Vh.prototype,"cards",void 0),(0,$h.__decorate)([u.observable],Vh.prototype,"countries",void 0),(0,$h.__decorate)([u.observable],Vh.prototype,"menuActions",void 0),(0,$h.__decorate)([u.observable],Vh.prototype,"menuDefinition",void 0),(0,$h.__decorate)([u.observable],Vh.prototype,"dropDownMenuItems",void 0),(0,$h.__decorate)([u.observable],Vh.prototype,"provider",void 0),Vh=(0,$h.__decorate)([(0,u.customElement)({name:"preview-components",template:Hh,styles:_h})],Vh);const Yh=u.css`
|
|
14038
14048
|
.export {
|
|
14039
14049
|
display: flex;
|
|
14040
14050
|
justify-content: center;
|
|
@@ -14045,11 +14055,11 @@
|
|
|
14045
14055
|
display: flex;
|
|
14046
14056
|
justify-content: space-between;
|
|
14047
14057
|
}
|
|
14048
|
-
`,
|
|
14058
|
+
`,Qh=u.html`
|
|
14049
14059
|
<template>
|
|
14050
14060
|
<div class="export">
|
|
14051
14061
|
<alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
|
|
14052
|
-
<alpha-modal ${(0,
|
|
14062
|
+
<alpha-modal ${(0,u.ref)("modal")}>
|
|
14053
14063
|
<slot>
|
|
14054
14064
|
<textarea rows="26" cols="34" class="textarea" :value=${e=>e.value}></textarea>
|
|
14055
14065
|
</slot>
|
|
@@ -14057,7 +14067,7 @@
|
|
|
14057
14067
|
<alpha-button appearance="accent" @click="${e=>e.closeModal()}" slot="bottom">
|
|
14058
14068
|
Close
|
|
14059
14069
|
</alpha-button>
|
|
14060
|
-
${(0,
|
|
14070
|
+
${(0,u.when)((e=>e.tokensPath),u.html`
|
|
14061
14071
|
<alpha-button appearance="accent" @click="${e=>e.updateTokens()}" slot="bottom">
|
|
14062
14072
|
Save
|
|
14063
14073
|
</alpha-button>
|
|
@@ -14066,7 +14076,7 @@
|
|
|
14066
14076
|
</alpha-modal>
|
|
14067
14077
|
</div>
|
|
14068
14078
|
</template>
|
|
14069
|
-
`;let
|
|
14079
|
+
`;let Wh=class extends u.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=>{Ph.log("Tokens saved successfully:",e),this.$emit(Ch.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{Ph.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Ch.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,$h.__decorate)([u.attr],Wh.prototype,"value",void 0),(0,$h.__decorate)([u.attr],Wh.prototype,"tokensPath",void 0),Wh=(0,$h.__decorate)([(0,u.customElement)({name:"design-system-export",template:Qh,styles:Yh})],Wh);const qh=u.css`
|
|
14070
14080
|
.colors {
|
|
14071
14081
|
display: flex;
|
|
14072
14082
|
flex-wrap: wrap;
|
|
@@ -14079,23 +14089,23 @@
|
|
|
14079
14089
|
flex-grow: 1;
|
|
14080
14090
|
height: 20px;
|
|
14081
14091
|
}
|
|
14082
|
-
`,
|
|
14092
|
+
`,Jh=u.html`
|
|
14083
14093
|
<ul class="colors">
|
|
14084
|
-
${(0,
|
|
14094
|
+
${(0,u.repeat)((e=>e.swatches),u.html`
|
|
14085
14095
|
<li class="color" style="background-color: ${e=>e.toColorString()}"></li>
|
|
14086
14096
|
`)}
|
|
14087
14097
|
</ul>
|
|
14088
|
-
`;let
|
|
14098
|
+
`;let Zh=class extends u.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){m[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{const e=Bh(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Ch.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,$h.__decorate)([u.observable],Zh.prototype,"swatches",void 0),(0,$h.__decorate)([u.attr],Zh.prototype,"type",void 0),Zh=(0,$h.__decorate)([(0,u.customElement)({name:"color-palette",styles:qh,template:Jh})],Zh);const Kh=u.css`
|
|
14089
14099
|
.preview {
|
|
14090
14100
|
width: 40px;
|
|
14091
14101
|
height: 40px;
|
|
14092
14102
|
}
|
|
14093
|
-
`,
|
|
14103
|
+
`,Xh=u.html`
|
|
14094
14104
|
<div
|
|
14095
14105
|
class="preview"
|
|
14096
|
-
style="background-color: ${e=>
|
|
14106
|
+
style="background-color: ${e=>m[e.tokenName].createCSS()}"
|
|
14097
14107
|
></div>
|
|
14098
|
-
`;let
|
|
14108
|
+
`;let em=class extends u.FASTElement{};(0,$h.__decorate)([u.attr],em.prototype,"tokenName",void 0),em=(0,$h.__decorate)([(0,u.customElement)({name:"color-token",styles:Kh,template:Xh})],em);const am=u.css`
|
|
14099
14109
|
.container {
|
|
14100
14110
|
display: flex;
|
|
14101
14111
|
width: 100%;
|
|
@@ -14143,31 +14153,31 @@
|
|
|
14143
14153
|
.container > div:not(:last-child) {
|
|
14144
14154
|
border-right: 1px solid #fafafa;
|
|
14145
14155
|
}
|
|
14146
|
-
`,
|
|
14156
|
+
`,rm=[{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"}]}]}],tm=u.html`
|
|
14147
14157
|
<div class="row">
|
|
14148
14158
|
<div
|
|
14149
14159
|
class="preview"
|
|
14150
|
-
style="background-color: ${e=>
|
|
14160
|
+
style="background-color: ${e=>m[e.name].createCSS()}"
|
|
14151
14161
|
></div>
|
|
14152
14162
|
<!-- <div class="token-name" title=${e=>e.cssProperty}>${e=>e.cssProperty}</div> -->
|
|
14153
14163
|
<div class="token-name" title=${e=>e.cssProperty}>${e=>e.name}</div>
|
|
14154
14164
|
<div>
|
|
14155
|
-
${(e,a)=>
|
|
14165
|
+
${(e,a)=>m[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
|
|
14156
14166
|
</div>
|
|
14157
14167
|
</div>
|
|
14158
|
-
`,
|
|
14159
|
-
<div class="container" ${(0,
|
|
14160
|
-
${(0,
|
|
14168
|
+
`,om=u.html`
|
|
14169
|
+
<div class="container" ${(0,u.ref)("provider")}>
|
|
14170
|
+
${(0,u.repeat)((()=>rm),u.html`
|
|
14161
14171
|
<div class="column">
|
|
14162
14172
|
<h3 class="header-title">${e=>e.title}</h3>
|
|
14163
|
-
${(0,
|
|
14173
|
+
${(0,u.repeat)((e=>e.subcategories),u.html`
|
|
14164
14174
|
<h4>${e=>e.title}</h4>
|
|
14165
|
-
${(0,
|
|
14175
|
+
${(0,u.repeat)((e=>e.tokens),tm)}
|
|
14166
14176
|
`)}
|
|
14167
14177
|
</div>
|
|
14168
14178
|
`)}
|
|
14169
14179
|
</div>
|
|
14170
|
-
`;let
|
|
14180
|
+
`;let im=class extends u.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Ch.STYLES_CHANGED,(e=>{const a=e.detail;Uh(a,this.provider)}))}};(0,$h.__decorate)([u.observable],im.prototype,"provider",void 0),im=(0,$h.__decorate)([(0,u.customElement)({name:"color-tokens",template:om,styles:am})],im);const nm=u.css`
|
|
14171
14181
|
table {
|
|
14172
14182
|
background: var(--neutral-fill-rest);
|
|
14173
14183
|
color: var(--neutral-foreground-rest);
|
|
@@ -14176,8 +14186,8 @@
|
|
|
14176
14186
|
th {
|
|
14177
14187
|
text-align: left;
|
|
14178
14188
|
}
|
|
14179
|
-
`,
|
|
14180
|
-
<table ${(0,
|
|
14189
|
+
`,lm=u.html`
|
|
14190
|
+
<table ${(0,u.ref)("provider")} style="font-family: ${()=>m.bodyFont.createCSS()}">
|
|
14181
14191
|
<colgroup>
|
|
14182
14192
|
<col style="width: 15%;" />
|
|
14183
14193
|
<col style="width: 30%;" />
|
|
@@ -14203,17 +14213,17 @@
|
|
|
14203
14213
|
typeRampMinus2LineHeight
|
|
14204
14214
|
</td>
|
|
14205
14215
|
<td>
|
|
14206
|
-
${()=>
|
|
14216
|
+
${()=>m.typeRampMinus2FontSize.cssCustomProperty}
|
|
14207
14217
|
<br />
|
|
14208
|
-
${()=>
|
|
14218
|
+
${()=>m.typeRampMinus2LineHeight.cssCustomProperty}
|
|
14209
14219
|
</td>
|
|
14210
14220
|
<td>
|
|
14211
|
-
${e=>
|
|
14221
|
+
${e=>m.typeRampMinus2FontSize.getValueFor(e.provider)}
|
|
14212
14222
|
<br />
|
|
14213
|
-
${e=>
|
|
14223
|
+
${e=>m.typeRampMinus2LineHeight.getValueFor(e.provider)}
|
|
14214
14224
|
</td>
|
|
14215
14225
|
<td
|
|
14216
|
-
style="font-size: ${()=>
|
|
14226
|
+
style="font-size: ${()=>m.typeRampMinus2FontSize.createCSS()}; line-height: ${()=>m.typeRampMinus2LineHeight.createCSS()};"
|
|
14217
14227
|
>
|
|
14218
14228
|
The quick brown fox jumps over a lazy dog
|
|
14219
14229
|
</td>
|
|
@@ -14226,17 +14236,17 @@
|
|
|
14226
14236
|
typeRampMinus1LineHeight
|
|
14227
14237
|
</td>
|
|
14228
14238
|
<td>
|
|
14229
|
-
${()=>
|
|
14239
|
+
${()=>m.typeRampMinus1FontSize.cssCustomProperty}
|
|
14230
14240
|
<br />
|
|
14231
|
-
${()=>
|
|
14241
|
+
${()=>m.typeRampMinus1LineHeight.cssCustomProperty}
|
|
14232
14242
|
</td>
|
|
14233
14243
|
<td>
|
|
14234
|
-
${e=>
|
|
14244
|
+
${e=>m.typeRampMinus1FontSize.getValueFor(e.provider)}
|
|
14235
14245
|
<br />
|
|
14236
|
-
${e=>
|
|
14246
|
+
${e=>m.typeRampMinus1LineHeight.getValueFor(e.provider)}
|
|
14237
14247
|
</td>
|
|
14238
14248
|
<td
|
|
14239
|
-
style="font-size: ${()=>
|
|
14249
|
+
style="font-size: ${()=>m.typeRampMinus1FontSize.createCSS()}; line-height: ${()=>m.typeRampMinus1LineHeight.createCSS()};"
|
|
14240
14250
|
>
|
|
14241
14251
|
The quick brown fox jumps over a lazy dog
|
|
14242
14252
|
</td>
|
|
@@ -14249,17 +14259,17 @@
|
|
|
14249
14259
|
typeRampBaseLineHeight
|
|
14250
14260
|
</td>
|
|
14251
14261
|
<td>
|
|
14252
|
-
${()=>
|
|
14262
|
+
${()=>m.typeRampBaseFontSize.cssCustomProperty}
|
|
14253
14263
|
<br />
|
|
14254
|
-
${()=>
|
|
14264
|
+
${()=>m.typeRampBaseLineHeight.cssCustomProperty}
|
|
14255
14265
|
</td>
|
|
14256
14266
|
<td>
|
|
14257
|
-
${e=>
|
|
14267
|
+
${e=>m.typeRampBaseFontSize.getValueFor(e.provider)}
|
|
14258
14268
|
<br />
|
|
14259
|
-
${e=>
|
|
14269
|
+
${e=>m.typeRampBaseLineHeight.getValueFor(e.provider)}
|
|
14260
14270
|
</td>
|
|
14261
14271
|
<td
|
|
14262
|
-
style="font-size: ${()=>
|
|
14272
|
+
style="font-size: ${()=>m.typeRampBaseFontSize.createCSS()}; line-height: ${()=>m.typeRampBaseLineHeight.createCSS()};"
|
|
14263
14273
|
>
|
|
14264
14274
|
The quick brown fox jumps over a lazy dog
|
|
14265
14275
|
</td>
|
|
@@ -14272,17 +14282,17 @@
|
|
|
14272
14282
|
typeRampPlus1LineHeight
|
|
14273
14283
|
</td>
|
|
14274
14284
|
<td>
|
|
14275
|
-
${()=>
|
|
14285
|
+
${()=>m.typeRampPlus1FontSize.cssCustomProperty}
|
|
14276
14286
|
<br />
|
|
14277
|
-
${()=>
|
|
14287
|
+
${()=>m.typeRampPlus1LineHeight.cssCustomProperty}
|
|
14278
14288
|
</td>
|
|
14279
14289
|
<td>
|
|
14280
|
-
${e=>
|
|
14290
|
+
${e=>m.typeRampPlus1FontSize.getValueFor(e.provider)}
|
|
14281
14291
|
<br />
|
|
14282
|
-
${e=>
|
|
14292
|
+
${e=>m.typeRampPlus1LineHeight.getValueFor(e.provider)}
|
|
14283
14293
|
</td>
|
|
14284
14294
|
<td
|
|
14285
|
-
style="font-size: ${()=>
|
|
14295
|
+
style="font-size: ${()=>m.typeRampPlus1FontSize.createCSS()}; line-height: ${()=>m.typeRampPlus1LineHeight.createCSS()};"
|
|
14286
14296
|
>
|
|
14287
14297
|
The quick brown fox jumps over a lazy dog
|
|
14288
14298
|
</td>
|
|
@@ -14295,17 +14305,17 @@
|
|
|
14295
14305
|
typeRampPlus2LineHeight
|
|
14296
14306
|
</td>
|
|
14297
14307
|
<td>
|
|
14298
|
-
${()=>
|
|
14308
|
+
${()=>m.typeRampPlus2FontSize.cssCustomProperty}
|
|
14299
14309
|
<br />
|
|
14300
|
-
${()=>
|
|
14310
|
+
${()=>m.typeRampPlus2LineHeight.cssCustomProperty}
|
|
14301
14311
|
</td>
|
|
14302
14312
|
<td>
|
|
14303
|
-
${e=>
|
|
14313
|
+
${e=>m.typeRampPlus2FontSize.getValueFor(e.provider)}
|
|
14304
14314
|
<br />
|
|
14305
|
-
${e=>
|
|
14315
|
+
${e=>m.typeRampPlus2LineHeight.getValueFor(e.provider)}
|
|
14306
14316
|
</td>
|
|
14307
14317
|
<td
|
|
14308
|
-
style="font-size: ${()=>
|
|
14318
|
+
style="font-size: ${()=>m.typeRampPlus2FontSize.createCSS()}; line-height: ${()=>m.typeRampPlus2LineHeight.createCSS()};"
|
|
14309
14319
|
>
|
|
14310
14320
|
The quick brown fox jumps over a lazy dog
|
|
14311
14321
|
</td>
|
|
@@ -14318,17 +14328,17 @@
|
|
|
14318
14328
|
typeRampPlus3LineHeight
|
|
14319
14329
|
</td>
|
|
14320
14330
|
<td>
|
|
14321
|
-
${()=>
|
|
14331
|
+
${()=>m.typeRampPlus3FontSize.cssCustomProperty}
|
|
14322
14332
|
<br />
|
|
14323
|
-
${()=>
|
|
14333
|
+
${()=>m.typeRampPlus3LineHeight.cssCustomProperty}
|
|
14324
14334
|
</td>
|
|
14325
14335
|
<td>
|
|
14326
|
-
${e=>
|
|
14336
|
+
${e=>m.typeRampPlus3FontSize.getValueFor(e.provider)}
|
|
14327
14337
|
<br />
|
|
14328
|
-
${e=>
|
|
14338
|
+
${e=>m.typeRampPlus3LineHeight.getValueFor(e.provider)}
|
|
14329
14339
|
</td>
|
|
14330
14340
|
<td
|
|
14331
|
-
style="font-size: ${()=>
|
|
14341
|
+
style="font-size: ${()=>m.typeRampPlus3FontSize.createCSS()}; line-height: ${()=>m.typeRampPlus3LineHeight.createCSS()};"
|
|
14332
14342
|
>
|
|
14333
14343
|
The quick brown fox jumps over a lazy dog
|
|
14334
14344
|
</td>
|
|
@@ -14341,17 +14351,17 @@
|
|
|
14341
14351
|
typeRampPlus4LineHeight
|
|
14342
14352
|
</td>
|
|
14343
14353
|
<td>
|
|
14344
|
-
${()=>
|
|
14354
|
+
${()=>m.typeRampPlus4FontSize.cssCustomProperty}
|
|
14345
14355
|
<br />
|
|
14346
|
-
${()=>
|
|
14356
|
+
${()=>m.typeRampPlus4LineHeight.cssCustomProperty}
|
|
14347
14357
|
</td>
|
|
14348
14358
|
<td>
|
|
14349
|
-
${e=>
|
|
14359
|
+
${e=>m.typeRampPlus4FontSize.getValueFor(e.provider)}
|
|
14350
14360
|
<br />
|
|
14351
|
-
${e=>
|
|
14361
|
+
${e=>m.typeRampPlus4LineHeight.getValueFor(e.provider)}
|
|
14352
14362
|
</td>
|
|
14353
14363
|
<td
|
|
14354
|
-
style="font-size: ${()=>
|
|
14364
|
+
style="font-size: ${()=>m.typeRampPlus4FontSize.createCSS()}; line-height: ${()=>m.typeRampPlus4LineHeight.createCSS()};"
|
|
14355
14365
|
>
|
|
14356
14366
|
The quick brown fox jumps over a lazy dog
|
|
14357
14367
|
</td>
|
|
@@ -14364,17 +14374,17 @@
|
|
|
14364
14374
|
typeRampPlus5LineHeight
|
|
14365
14375
|
</td>
|
|
14366
14376
|
<td>
|
|
14367
|
-
${()=>
|
|
14377
|
+
${()=>m.typeRampPlus5FontSize.cssCustomProperty}
|
|
14368
14378
|
<br />
|
|
14369
|
-
${()=>
|
|
14379
|
+
${()=>m.typeRampPlus5LineHeight.cssCustomProperty}
|
|
14370
14380
|
</td>
|
|
14371
14381
|
<td>
|
|
14372
|
-
${e=>
|
|
14382
|
+
${e=>m.typeRampPlus5FontSize.getValueFor(e.provider)}
|
|
14373
14383
|
<br />
|
|
14374
|
-
${e=>
|
|
14384
|
+
${e=>m.typeRampPlus5LineHeight.getValueFor(e.provider)}
|
|
14375
14385
|
</td>
|
|
14376
14386
|
<td
|
|
14377
|
-
style="font-size: ${()=>
|
|
14387
|
+
style="font-size: ${()=>m.typeRampPlus5FontSize.createCSS()}; line-height: ${()=>m.typeRampPlus5LineHeight.createCSS()};"
|
|
14378
14388
|
>
|
|
14379
14389
|
The quick brown fox jumps over a lazy dog
|
|
14380
14390
|
</td>
|
|
@@ -14387,24 +14397,24 @@
|
|
|
14387
14397
|
typeRampPlus6LineHeight
|
|
14388
14398
|
</td>
|
|
14389
14399
|
<td>
|
|
14390
|
-
${()=>
|
|
14400
|
+
${()=>m.typeRampPlus6FontSize.cssCustomProperty}
|
|
14391
14401
|
<br />
|
|
14392
|
-
${()=>
|
|
14402
|
+
${()=>m.typeRampPlus6LineHeight.cssCustomProperty}
|
|
14393
14403
|
</td>
|
|
14394
14404
|
<td>
|
|
14395
|
-
${e=>
|
|
14405
|
+
${e=>m.typeRampPlus6FontSize.getValueFor(e.provider)}
|
|
14396
14406
|
<br />
|
|
14397
|
-
${e=>
|
|
14407
|
+
${e=>m.typeRampPlus6LineHeight.getValueFor(e.provider)}
|
|
14398
14408
|
</td>
|
|
14399
14409
|
<td
|
|
14400
|
-
style="font-size: ${()=>
|
|
14410
|
+
style="font-size: ${()=>m.typeRampPlus6FontSize.createCSS()}; line-height: ${()=>m.typeRampPlus6LineHeight.createCSS()};"
|
|
14401
14411
|
>
|
|
14402
14412
|
The quick brown fox jumps over a lazy dog
|
|
14403
14413
|
</td>
|
|
14404
14414
|
</tr>
|
|
14405
14415
|
</tbody>
|
|
14406
14416
|
</table>
|
|
14407
|
-
`;let
|
|
14417
|
+
`;let gm=class extends u.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Ch.STYLES_CHANGED,(e=>{const a=e.detail;Uh(a,this.provider)}))}};(0,$h.__decorate)([u.observable],gm.prototype,"provider",void 0),gm=(0,$h.__decorate)([(0,u.customElement)({name:"typography-tokens",template:lm,styles:nm})],gm);const sm=u.css`
|
|
14408
14418
|
:host {
|
|
14409
14419
|
background: var(--fill-color);
|
|
14410
14420
|
color: var(--neutral-foreground-rest);
|
|
@@ -14420,7 +14430,7 @@
|
|
|
14420
14430
|
margin-top: 24px;
|
|
14421
14431
|
padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
14422
14432
|
}
|
|
14423
|
-
`,
|
|
14433
|
+
`,dm=u.html`
|
|
14424
14434
|
<template>
|
|
14425
14435
|
<alpha-tabs>
|
|
14426
14436
|
<alpha-tab slot="tab">Components</alpha-tab>
|
|
@@ -14449,7 +14459,7 @@
|
|
|
14449
14459
|
</alpha-tab-panel>
|
|
14450
14460
|
</alpha-tabs>
|
|
14451
14461
|
</template>
|
|
14452
|
-
`;let
|
|
14462
|
+
`;let cm=class extends u.FASTElement{};cm=(0,$h.__decorate)([(0,u.customElement)({name:"design-system-preview",template:dm,styles:sm})],cm);const pm={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"}]}]}}]},um={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"]}}},hm={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"}]}}}]},mm={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"]}}}},bm=u.css`
|
|
14453
14463
|
:host {
|
|
14454
14464
|
background: var(--fill-color);
|
|
14455
14465
|
color: var(--neutral-foreground-rest);
|
|
@@ -14480,10 +14490,10 @@
|
|
|
14480
14490
|
zero-design-system-provider {
|
|
14481
14491
|
display: inline;
|
|
14482
14492
|
}
|
|
14483
|
-
`,
|
|
14484
|
-
${e=>(e=>
|
|
14493
|
+
`,vm=u.html`
|
|
14494
|
+
${e=>(e=>u.html`
|
|
14485
14495
|
<template>
|
|
14486
|
-
<${e}-design-system-provider ${(0,
|
|
14496
|
+
<${e}-design-system-provider ${(0,u.ref)("provider")}>
|
|
14487
14497
|
<div class="wrapper">
|
|
14488
14498
|
<div class="form-container">
|
|
14489
14499
|
<h2>Sample Form </h2>
|
|
@@ -14504,7 +14514,7 @@
|
|
|
14504
14514
|
</${e}-design-system-provider>
|
|
14505
14515
|
</template>
|
|
14506
14516
|
`)(e.prefix)}
|
|
14507
|
-
`;let
|
|
14517
|
+
`;let fm=class extends u.FASTElement{constructor(){super(...arguments),this.jsonSchema=um,this.uischema=pm,this.jsonSchemaArray=mm,this.uiSchemaArray=hm,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(Ch.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Ch.DS_CHANGED,(e=>{this.handleDSChanges(e)})),u.DOM.queueUpdate((()=>{m.bodyFont.withDefault(Fh)}))}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{Uh(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,$h.__decorate)([u.observable],fm.prototype,"jsonSchema",void 0),(0,$h.__decorate)([u.observable],fm.prototype,"uischema",void 0),(0,$h.__decorate)([u.observable],fm.prototype,"jsonSchemaArray",void 0),(0,$h.__decorate)([u.observable],fm.prototype,"uiSchemaArray",void 0),(0,$h.__decorate)([u.attr],fm.prototype,"prefix",void 0),(0,$h.__decorate)([u.observable],fm.prototype,"provider",void 0),(0,$h.__decorate)([u.observable],fm.prototype,"editedEntity",void 0),(0,$h.__decorate)([u.observable],fm.prototype,"editedEntityArray",void 0),fm=(0,$h.__decorate)([(0,u.customElement)({name:"preview-form",template:vm,styles:bm})],fm);const wm=u.css`
|
|
14508
14518
|
:host {
|
|
14509
14519
|
background: var(--fill-color);
|
|
14510
14520
|
color: var(--neutral-foreground-rest);
|
|
@@ -14519,15 +14529,15 @@
|
|
|
14519
14529
|
.grid-height {
|
|
14520
14530
|
height: 450px;
|
|
14521
14531
|
}
|
|
14522
|
-
`,
|
|
14523
|
-
${e=>(e=>
|
|
14532
|
+
`,ym=u.html`
|
|
14533
|
+
${e=>(e=>u.html`
|
|
14524
14534
|
<template>
|
|
14525
|
-
<${e}-design-system-provider ${(0,
|
|
14535
|
+
<${e}-design-system-provider ${(0,u.ref)("provider")}>
|
|
14526
14536
|
<div class="grid-height">
|
|
14527
|
-
<${e}-grid-pro ${(0,
|
|
14537
|
+
<${e}-grid-pro ${(0,u.ref)("grid")}></${e}-grid-pro>
|
|
14528
14538
|
</div>
|
|
14529
14539
|
</${e}-design-system-provider>
|
|
14530
14540
|
</template>
|
|
14531
14541
|
`)(e.prefix)}
|
|
14532
|
-
`;let
|
|
14533
|
-
//# sourceMappingURL=166.
|
|
14542
|
+
`;let xm=class extends u.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(Ch.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Ch.DS_CHANGED,(e=>{this.handleDSChanges(e)})),u.DOM.queueUpdate((()=>{this.setGridOptions(),m.bodyFont.withDefault(Fh)}))}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{Uh(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,u.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,$h.__decorate)([u.observable],xm.prototype,"grid",void 0),(0,$h.__decorate)([u.attr],xm.prototype,"prefix",void 0),(0,$h.__decorate)([u.observable],xm.prototype,"provider",void 0),(0,$h.__decorate)([u.observable],xm.prototype,"rowData",void 0),(0,$h.__decorate)([u.observable],xm.prototype,"columnDefs",void 0),(0,$h.__decorate)([u.observable],xm.prototype,"gridOptions",void 0),xm=(0,$h.__decorate)([(0,u.customElement)({name:"preview-grid",template:ym,styles:wm})],xm),((e,a="zero")=>{e&&(0,G.provideTokens)(t,o,e);const r=h.DesignSystem.getOrCreate(e).withPrefix(a);return(0,G.createDesignSystemProxy)(r)})().register(yi,zg),(0,l.provideDesignSystem)().register(l.baseComponents,Sg),((e,a="rapid")=>{e&&(0,G.provideTokens)(i,n,e);const r=h.DesignSystem.getOrCreate(e).withPrefix(a);return(0,G.createDesignSystemProxy)(r)})().register(_u,Sh)}}]);
|
|
14543
|
+
//# sourceMappingURL=166.386d1d66e6b09df8ee645bbdb7f1eeff.js.map
|